var Purs_EntryPoints_SchoolDetails=(()=>{var b8e=Object.create;var cS=Object.defineProperty,R8e=Object.defineProperties,w8e=Object.getOwnPropertyDescriptor,S8e=Object.getOwnPropertyDescriptors,E8e=Object.getOwnPropertyNames,pY=Object.getOwnPropertySymbols,C8e=Object.getPrototypeOf,mY=Object.prototype.hasOwnProperty,I8e=Object.prototype.propertyIsEnumerable;var dY=(e,n,t)=>n in e?cS(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,Ha=(e,n)=>{for(var t in n||(n={}))mY.call(n,t)&&dY(e,t,n[t]);if(pY)for(var t of pY(n))I8e.call(n,t)&&dY(e,t,n[t]);return e},mi=(e,n)=>R8e(e,S8e(n)),_Y=e=>cS(e,"__esModule",{value:!0});var T8e=(e,n)=>()=>(e&&(n=e(e=0)),n);var _e=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),GM=(e,n)=>{_Y(e);for(var t in n)cS(e,t,{get:n[t],enumerable:!0})},F8e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of E8e(n))!mY.call(e,a)&&a!=="default"&&cS(e,a,{get:()=>n[a],enumerable:!(t=w8e(n,a))||t.enumerable});return e},ya=e=>F8e(_Y(cS(e!=null?b8e(C8e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Pg={};GM(Pg,{Children:()=>jg,Component:()=>Ng,Fragment:()=>Yj,PureComponent:()=>ONe,Suspense:()=>kNe,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>jNe,cloneElement:()=>sE,createContext:()=>Qj,createElement:()=>Wa,createRef:()=>T2,default:()=>bt,forwardRef:()=>$c,isValidElement:()=>Xj,lazy:()=>NNe,memo:()=>PNe,useCallback:()=>fE,useContext:()=>UNe,useEffect:()=>Ar,useImperativeHandle:()=>qp,useLayoutEffect:()=>vE,useMemo:()=>pE,useReducer:()=>HNe,useRef:()=>Pa,useState:()=>zf,version:()=>BNe});var bt,jNe,jg,sE,Ng,Qj,Wa,T2,$c,Yj,Xj,NNe,PNe,ONe,kNe,fE,UNe,Ar,qp,vE,pE,HNe,Pa,zf,BNe,Jt=T8e(()=>{bt=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:jNe,Children:jg,cloneElement:sE,Component:Ng,createContext:Qj,createElement:Wa,createRef:T2,forwardRef:$c,Fragment:Yj,isValidElement:Xj,lazy:NNe,memo:PNe,PureComponent:ONe,Suspense:kNe,useCallback:fE,useContext:UNe,useEffect:Ar,useImperativeHandle:qp,useLayoutEffect:vE,useMemo:pE,useReducer:HNe,useRef:Pa,useState:zf,version:BNe}=window.React});var P2=_e((Aut,Zee)=>{"use strict";var Xee=Object.getOwnPropertySymbols,hPe=Object.prototype.hasOwnProperty,gPe=Object.prototype.propertyIsEnumerable;function DPe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function yPe(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var n={},t=0;t<10;t++)n["_"+String.fromCharCode(t)]=t;var a=Object.getOwnPropertyNames(n).map(function(o){return n[o]});if(a.join("")!=="0123456789")return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(o){r[o]=o}),Object.keys(Object.assign({},r)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}Zee.exports=yPe()?Object.assign:function(e,n){for(var t,a=DPe(e),r,o=1;o{"use strict";var t9=P2(),C1=60103,Kee=60106;Qa.Fragment=60107;Qa.StrictMode=60108;Qa.Profiler=60114;var ene=60109,nne=60110,tne=60112;Qa.Suspense=60113;var ane=60115,rne=60116;typeof Symbol=="function"&&Symbol.for&&(Js=Symbol.for,C1=Js("react.element"),Kee=Js("react.portal"),Qa.Fragment=Js("react.fragment"),Qa.StrictMode=Js("react.strict_mode"),Qa.Profiler=Js("react.profiler"),ene=Js("react.provider"),nne=Js("react.context"),tne=Js("react.forward_ref"),Qa.Suspense=Js("react.suspense"),ane=Js("react.memo"),rne=Js("react.lazy"));var Js,one=typeof Symbol=="function"&&Symbol.iterator;function bPe(e){return e===null||typeof e!="object"?null:(e=one&&e[one]||e["@@iterator"],typeof e=="function"?e:null)}function DE(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t{"use strict";dne.exports=mne()});var One=_e(T1=>{"use strict";var Vf=P2(),$p=Tl();function So(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tRE;RE++)Cu[RE]=RE+1;var Cu,RE;Cu[15]=0;var TPe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,Rne=Object.prototype.hasOwnProperty,wne={},Sne={};function Ene(e){return Rne.call(Sne,e)?!0:Rne.call(wne,e)?!1:TPe.test(e)?Sne[e]=!0:(wne[e]=!0,!1)}function FPe(e,n,t,a){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return a?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function MPe(e,n,t,a){if(n===null||typeof n=="undefined"||FPe(e,n,t,a))return!0;if(a)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function Fl(e,n,t,a,r,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var Iu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Iu[e]=new Fl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];Iu[n]=new Fl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Iu[e]=new Fl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Iu[e]=new Fl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Iu[e]=new Fl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Iu[e]=new Fl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Iu[e]=new Fl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Iu[e]=new Fl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Iu[e]=new Fl(e,5,!1,e.toLowerCase(),null,!1,!1)});var _9=/[\-:]([a-z])/g;function h9(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(_9,h9);Iu[n]=new Fl(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(_9,h9);Iu[n]=new Fl(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(_9,h9);Iu[n]=new Fl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Iu[e]=new Fl(e,1,!1,e.toLowerCase(),null,!1,!1)});Iu.xlinkHref=new Fl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Iu[e]=new Fl(e,1,!1,e.toLowerCase(),null,!0,!0)});var GPe=/["'&<>]/;function Hg(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=GPe.exec(e);if(n){var t="",a,r=0;for(a=n.index;aW2))throw Error(So(301));if(e===h0)if(q2=!0,e={action:t,next:null},Ud===null&&(Ud=new Map),t=Ud.get(n),t===void 0)Ud.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function D9(){}var Jg=null,NPe={readContext:function(e){var n=Jg.threadID;return bE(e,n),e[n]},useContext:function(e){Bg();var n=Jg.threadID;return bE(e,n),e[n]},useMemo:Gne,useReducer:Mne,useRef:function(e){h0=Bg(),Jr=g9();var n=Jr.memoizedState;return n===null?(e={current:e},Jr.memoizedState=e):n},useState:function(e){return Mne(Fne,e)},useLayoutEffect:function(){},useCallback:function(e,n){return Gne(function(){return e},n)},useImperativeHandle:D9,useEffect:D9,useDebugValue:D9,useDeferredValue:function(e){return Bg(),e},useTransition:function(){return Bg(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Jg.identifierPrefix||"")+"R:"+(Jg.uniqueID++).toString(36)},useMutableSource:function(e,n){return Bg(),n(e._source)}},Ane={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function xne(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}var Lne={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},PPe=Vf({menuitem:!0},Lne),SE={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},OPe=["Webkit","ms","Moz","O"];Object.keys(SE).forEach(function(e){OPe.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),SE[n]=SE[e]})});var kPe=/([A-Z])/g,UPe=/^ms-/,Hd=$p.Children.toArray,y9=CPe.ReactCurrentDispatcher,HPe={listing:!0,pre:!0,textarea:!0},BPe=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,jne={},b9={};function JPe(e){if(e==null)return e;var n="";return $p.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var qPe=Object.prototype.hasOwnProperty,WPe={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Nne(e,n){if(e===void 0)throw Error(So(152,yE(n)||"Component"))}function $Pe(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=IPe(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(M,P){f=!0,s=[P]},enqueueSetState:function(M,P){if(s===null)return null;s.push(P)}};if(l){if(l=new u(i.props,c,v),typeof u.getDerivedStateFromProps=="function"){var p=u.getDerivedStateFromProps.call(null,i.props,l.state);p!=null&&(l.state=Vf({},l.state,p))}}else if(h0={},l=u(i.props,c,v),l=Ine(u,i.props,l,c),l==null||l.render==null){e=l,Nne(e,u);return}if(l.props=i.props,l.context=c,l.updater=v,v=l.state,v===void 0&&(l.state=v=null),typeof l.UNSAFE_componentWillMount=="function"||typeof l.componentWillMount=="function")if(typeof l.componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&typeof u.getDerivedStateFromProps!="function"&&l.UNSAFE_componentWillMount(),s.length){v=s;var d=f;if(s=null,f=!1,d&&v.length===1)l.state=v[0];else{p=d?v[0]:l.state;var y=!0;for(d=d?1:0;d=u))throw Error(So(304));var l=new Uint16Array(u);for(l.set(i),Cu=l,Cu[0]=o+1,i=o;i=l.children.length){var c=l.footer;if(c!==""&&(this.previousWasTextNode=!1),this.stack.pop(),l.type==="select")this.currentSelectValue=null;else if(l.type!=null&&l.type.type!=null&&l.type.type.$$typeof===H2)this.popProvider(l.type);else if(l.type===B2){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(So(303));this.stack.push(f),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=s}o[this.suspenseDepth]+=c}else{var v=l.children[l.childIndex++],p="";try{p+=this.render(v,l.context,l.domNamespace)}catch(d){throw d!=null&&typeof d.then=="function"?Error(So(294)):d}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=p}}return o[0]}finally{y9.current=r,Jg=a,Tne()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?Hg(r):this.previousWasTextNode?""+Hg(r):(this.previousWasTextNode=!0,Hg(r));if(a=$Pe(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!$p.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===l9?So(257):So(258,r.toString()));return t=Hd(t),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}var o=t.type;if(typeof o=="string")return this.renderDOM(t,a,r);switch(o){case yne:case Dne:case c9:case s9:case p9:case U2:return t=Hd(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case B2:throw Error(So(294));case gne:throw Error(So(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case v9:h0={};var i=o.render(t.props,t.ref);return i=Ine(o.render,t.props,i,t.ref),i=Hd(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case m9:return t=[$p.createElement(o.type,Vf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case H2:return o=Hd(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case f9:o=t.type,i=t.props;var u=this.threadID;return bE(o,u),o=Hd(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case hne:throw Error(So(338));case d9:return o=t.type,i=o._init,o=i(o._payload),t=[$p.createElement(o,Vf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(So(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===Ane.html&&xne(o),!jne.hasOwnProperty(o)){if(!BPe.test(o))throw Error(So(65,o));jne[o]=!0}var i=t.props;if(o==="input")i=Vf({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var u=i.value;if(u==null){u=i.defaultValue;var l=i.children;if(l!=null){if(u!=null)throw Error(So(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(So(93));l=l[0]}u=""+l}u==null&&(u="")}i=Vf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Vf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=JPe(i.children);if(l!=null){var s=i.value!=null?i.value+"":c;if(u=!1,Array.isArray(l)){for(var f=0;f":(P+=">",u="");e:{if(l=i.dangerouslySetInnerHTML,l!=null){if(l.__html!=null){l=l.__html;break e}}else if(l=i.children,typeof l=="string"||typeof l=="number"){l=Hg(l);break e}l=null}return l!=null?(i=[],HPe.hasOwnProperty(o)&&l.charAt(0)===` `&&(P+=` `),P+=l):i=Hd(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?xne(t):r==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":r,this.stack.push({domNamespace:r,type:o,children:i,childIndex:0,context:a,footer:u}),this.previousWasTextNode=!1,P},e}();T1.renderToNodeStream=function(){throw Error(So(207))};T1.renderToStaticMarkup=function(e,n){e=new Pne(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};T1.renderToStaticNodeStream=function(){throw Error(So(208))};T1.renderToString=function(e,n){e=new Pne(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};T1.version="17.0.2"});var Une=_e((Nut,kne)=>{"use strict";kne.exports=One()});var Eue=_e((Noa,Sue)=>{"use strict";var gQe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Sue.exports=gQe});var Fue=_e((Poa,Tue)=>{"use strict";var DQe=Eue();function Cue(){}function Iue(){}Iue.resetWarningCache=Cue;Tue.exports=function(){function e(a,r,o,i,u,l){if(l!==DQe){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}e.isRequired=e;function n(){return e}var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:Iue,resetWarningCache:Cue};return t.PropTypes=t,t}});var vb=_e((Uoa,Mue)=>{Mue.exports=Fue()();var Ooa,koa});var BP=_e(pb=>{"use strict";Object.defineProperty(pb,"__esModule",{value:!0});var Gue=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],$4=Gue.join(","),Aue=typeof Element=="undefined",vD=Aue?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,UP=!Aue&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},xue=function(n,t,a){var r=Array.prototype.slice.apply(n.querySelectorAll($4));return t&&vD.call(n,$4)&&r.unshift(n),r=r.filter(a),r},Lue=function e(n,t,a){for(var r=[],o=Array.from(n);o.length;){var i=o.shift();if(i.tagName==="SLOT"){var u=i.assignedElements(),l=u.length?u:i.children,c=e(l,!0,a);a.flatten?r.push.apply(r,c):r.push({scope:i,candidates:c})}else{var s=vD.call(i,$4);s&&a.filter(i)&&(t||!n.includes(i))&&r.push(i);var f=i.shadowRoot||typeof a.getShadowRoot=="function"&&a.getShadowRoot(i),v=!a.shadowRootFilter||a.shadowRootFilter(i);if(f&&v){var p=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,p):r.push({scope:i,candidates:p})}else o.unshift.apply(o,i.children)}}return r},jue=function(n,t){return n.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(n.tagName)||n.isContentEditable)&&isNaN(parseInt(n.getAttribute("tabindex"),10))?0:n.tabIndex},yQe=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},Nue=function(n){return n.tagName==="INPUT"},bQe=function(n){return Nue(n)&&n.type==="hidden"},RQe=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(a){return a.tagName==="SUMMARY"});return t},wQe=function(n,t){for(var a=0;asummary:first-of-type"),i=o?n.parentElement:n;if(vD.call(i,"details:not([open]) *"))return!0;var u=UP(n).host,l=(u==null?void 0:u.ownerDocument.contains(u))||n.ownerDocument.contains(n);if(!a||a==="full"){if(typeof r=="function"){for(var c=n;n;){var s=n.parentElement,f=UP(n);if(s&&!s.shadowRoot&&r(s)===!0)return Pue(n);n.assignedSlot?n=n.assignedSlot:!s&&f!==n.ownerDocument?n=f.host:n=s}n=c}if(l)return!n.getClientRects().length}else if(a==="non-zero-area")return Pue(n);return!1},TQe=function(n){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(n.tagName))for(var t=n.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var a=0;a=0)},MQe=function e(n){var t=[],a=[];return n.forEach(function(r,o){var i=!!r.scope,u=i?r.scope:r,l=jue(u,i),c=i?e(r.candidates):u;l===0?i?t.push.apply(t,c):t.push(u):a.push({documentOrder:o,tabIndex:l,item:r,isScope:i,content:c})}),a.sort(yQe).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},GQe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Lue([n],t.includeContainer,{filter:HP.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:FQe}):a=xue(n,t.includeContainer,HP.bind(null,t)),MQe(a)},AQe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Lue([n],t.includeContainer,{filter:z4.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=xue(n,t.includeContainer,z4.bind(null,t)),a},xQe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return vD.call(n,$4)===!1?!1:HP(t,n)},LQe=Gue.concat("iframe").join(","),jQe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return vD.call(n,LQe)===!1?!1:z4(t,n)};pb.focusable=AQe;pb.isFocusable=jQe;pb.isTabbable=xQe;pb.tabbable=GQe});var Jue=_e(JP=>{"use strict";Object.defineProperty(JP,"__esModule",{value:!0});var Tm=BP();function Oue(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function kue(e){for(var n=1;n0){var a=e[e.length-1];a!==t&&a.pause()}var r=e.indexOf(t);r===-1||e.splice(r,1),e.push(t)},deactivateTrap:function(t){var a=e.indexOf(t);a!==-1&&e.splice(a,1),e.length>0&&e[e.length-1].unpause()}}}(),PQe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},OQe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},kQe=function(n){return n.key==="Tab"||n.keyCode===9},Hue=function(n){return setTimeout(n,0)},Bue=function(n,t){var a=-1;return n.every(function(r,o){return t(r)?(a=o,!1):!0}),a},jC=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r1?K-1:0),Te=1;Te=0)T=a.activeElement;else{var k=o.tabbableGroups[0],K=k&&k.firstTabbableNode;T=K||c("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(o.containerGroups=o.containers.map(function(T){var k=Tm.tabbable(T,r.tabbableOptions),K=Tm.focusable(T,r.tabbableOptions);return{container:T,tabbableNodes:k,focusableNodes:K,firstTabbableNode:k.length>0?k[0]:null,lastTabbableNode:k.length>0?k[k.length-1]:null,nextTabbableNode:function(Te){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,xe=K.findIndex(function(Se){return Se===Te});if(!(xe<0))return we?K.slice(xe+1).find(function(Se){return Tm.isTabbable(Se,r.tabbableOptions)}):K.slice(0,xe).reverse().find(function(Se){return Tm.isTabbable(Se,r.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(T){return T.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!c("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function O(T){if(T!==!1&&T!==a.activeElement){if(!T||!T.focus){O(s());return}T.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=T,PQe(T)&&T.select()}},p=function(T){var k=c("setReturnFocus",T);return k||(k===!1?!1:T)},d=function(T){var k=V4(T);if(!(l(k)>=0)){if(jC(r.clickOutsideDeactivates,T)){i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!Tm.isFocusable(k,r.tabbableOptions)});return}jC(r.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var k=V4(T),K=l(k)>=0;K||k instanceof Document?K&&(o.mostRecentlyFocusedNode=k):(T.stopImmediatePropagation(),v(o.mostRecentlyFocusedNode||s()))},h=function(T){var k=V4(T);f();var K=null;if(o.tabbableGroups.length>0){var oe=l(k),Te=oe>=0?o.containerGroups[oe]:void 0;if(oe<0)T.shiftKey?K=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:K=o.tabbableGroups[0].firstTabbableNode;else if(T.shiftKey){var we=Bue(o.tabbableGroups,function(Tn){var on=Tn.firstTabbableNode;return k===on});if(we<0&&(Te.container===k||Tm.isFocusable(k,r.tabbableOptions)&&!Tm.isTabbable(k,r.tabbableOptions)&&!Te.nextTabbableNode(k,!1))&&(we=oe),we>=0){var xe=we===0?o.tabbableGroups.length-1:we-1,Se=o.tabbableGroups[xe];K=Se.lastTabbableNode}}else{var Ce=Bue(o.tabbableGroups,function(Tn){var on=Tn.lastTabbableNode;return k===on});if(Ce<0&&(Te.container===k||Tm.isFocusable(k,r.tabbableOptions)&&!Tm.isTabbable(k,r.tabbableOptions)&&!Te.nextTabbableNode(k))&&(Ce=oe),Ce>=0){var Je=Ce===o.tabbableGroups.length-1?0:Ce+1,ue=o.tabbableGroups[Je];K=ue.firstTabbableNode}}}else K=c("fallbackFocus");K&&(T.preventDefault(),v(K))},g=function(T){if(OQe(T)&&jC(r.escapeDeactivates,T)!==!1){T.preventDefault(),i.deactivate();return}if(kQe(T)){h(T);return}},S=function(T){var k=V4(T);l(k)>=0||jC(r.clickOutsideDeactivates,T)||jC(r.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},M=function(){if(!!o.active)return Uue.activateTrap(i),o.delayInitialFocusTimer=r.delayInitialFocus?Hue(function(){v(s())}):v(s()),a.addEventListener("focusin",y,!0),a.addEventListener("mousedown",d,{capture:!0,passive:!1}),a.addEventListener("touchstart",d,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",g,{capture:!0,passive:!1}),i},P=function(){if(!!o.active)return a.removeEventListener("focusin",y,!0),a.removeEventListener("mousedown",d,!0),a.removeEventListener("touchstart",d,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",g,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(T){if(o.active)return this;var k=u(T,"onActivate"),K=u(T,"onPostActivate"),oe=u(T,"checkCanFocusTrap");oe||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=a.activeElement,k&&k();var Te=function(){oe&&f(),M(),K&&K()};return oe?(oe(o.containers.concat()).then(Te,Te),this):(Te(),this)},deactivate:function(T){if(!o.active)return this;var k=kue({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},T);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,P(),o.active=!1,o.paused=!1,Uue.deactivateTrap(i);var K=u(k,"onDeactivate"),oe=u(k,"onPostDeactivate"),Te=u(k,"checkCanReturnFocus"),we=u(k,"returnFocus","returnFocusOnDeactivate");K&&K();var xe=function(){Hue(function(){we&&v(p(o.nodeFocusedBeforeActivation)),oe&&oe()})};return we&&Te?(Te(p(o.nodeFocusedBeforeActivation)).then(xe,xe),this):(xe(),this)},pause:function(){return o.paused||!o.active?this:(o.paused=!0,P(),this)},unpause:function(){return!o.paused||!o.active?this:(o.paused=!1,f(),M(),this)},updateContainerElements:function(T){var k=[].concat(T).filter(Boolean);return o.containers=k.map(function(K){return typeof K=="string"?a.querySelector(K):K}),o.active&&f(),this}},i.updateContainerElements(n),i};JP.createFocusTrap=UQe});var $ue=_e((Joa,Wue)=>{"use strict";function qP(e){return qP=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},qP(e)}function HQe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function que(e,n){for(var t=0;t1?s-1:0),v=1;v element.");var i=function(c){var s=r.props.containerElements;o&&(typeof o.ref=="function"?o.ref(c):o.ref&&(o.ref.current=c)),r.focusTrapElements=s||[c]},u=Y4.cloneElement(o,{ref:i});return u}return null}}]),t}(Y4.Component),PC=typeof Element=="undefined"?Function:Element;$P.propTypes={active:ia.bool,paused:ia.bool,focusTrapOptions:ia.shape({document:ia.object,onActivate:ia.func,onPostActivate:ia.func,checkCanFocusTrap:ia.func,onDeactivate:ia.func,onPostDeactivate:ia.func,checkCanReturnFocus:ia.func,initialFocus:ia.oneOfType([ia.instanceOf(PC),ia.string,ia.bool,ia.func]),fallbackFocus:ia.oneOfType([ia.instanceOf(PC),ia.string,ia.func]),escapeDeactivates:ia.oneOfType([ia.bool,ia.func]),clickOutsideDeactivates:ia.oneOfType([ia.bool,ia.func]),returnFocusOnDeactivate:ia.bool,setReturnFocus:ia.oneOfType([ia.instanceOf(PC),ia.string,ia.bool,ia.func]),allowOutsideClick:ia.oneOfType([ia.bool,ia.func]),preventScroll:ia.bool,tabbableOptions:ia.shape({displayCheck:ia.oneOf(["full","non-zero-area","none"]),getShadowRoot:ia.oneOfType([ia.bool,ia.func])})}),containerElements:ia.arrayOf(ia.instanceOf(PC)),children:ia.oneOfType([ia.element,ia.instanceOf(PC)])};$P.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:QQe};Wue.exports=$P});var ope=_e(Cr=>{"use strict";var vu=typeof Symbol=="function"&&Symbol.for,dk=vu?Symbol.for("react.element"):60103,_k=vu?Symbol.for("react.portal"):60106,EA=vu?Symbol.for("react.fragment"):60107,CA=vu?Symbol.for("react.strict_mode"):60108,IA=vu?Symbol.for("react.profiler"):60114,TA=vu?Symbol.for("react.provider"):60109,FA=vu?Symbol.for("react.context"):60110,hk=vu?Symbol.for("react.async_mode"):60111,MA=vu?Symbol.for("react.concurrent_mode"):60111,GA=vu?Symbol.for("react.forward_ref"):60112,AA=vu?Symbol.for("react.suspense"):60113,Tnn=vu?Symbol.for("react.suspense_list"):60120,xA=vu?Symbol.for("react.memo"):60115,LA=vu?Symbol.for("react.lazy"):60116,Fnn=vu?Symbol.for("react.block"):60121,Mnn=vu?Symbol.for("react.fundamental"):60117,Gnn=vu?Symbol.for("react.responder"):60118,Ann=vu?Symbol.for("react.scope"):60119;function hs(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case dk:switch(e=e.type,e){case hk:case MA:case EA:case IA:case CA:case AA:return e;default:switch(e=e&&e.$$typeof,e){case FA:case GA:case LA:case xA:case TA:return e;default:return n}}case _k:return n}}}function rpe(e){return hs(e)===MA}Cr.AsyncMode=hk;Cr.ConcurrentMode=MA;Cr.ContextConsumer=FA;Cr.ContextProvider=TA;Cr.Element=dk;Cr.ForwardRef=GA;Cr.Fragment=EA;Cr.Lazy=LA;Cr.Memo=xA;Cr.Portal=_k;Cr.Profiler=IA;Cr.StrictMode=CA;Cr.Suspense=AA;Cr.isAsyncMode=function(e){return rpe(e)||hs(e)===hk};Cr.isConcurrentMode=rpe;Cr.isContextConsumer=function(e){return hs(e)===FA};Cr.isContextProvider=function(e){return hs(e)===TA};Cr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===dk};Cr.isForwardRef=function(e){return hs(e)===GA};Cr.isFragment=function(e){return hs(e)===EA};Cr.isLazy=function(e){return hs(e)===LA};Cr.isMemo=function(e){return hs(e)===xA};Cr.isPortal=function(e){return hs(e)===_k};Cr.isProfiler=function(e){return hs(e)===IA};Cr.isStrictMode=function(e){return hs(e)===CA};Cr.isSuspense=function(e){return hs(e)===AA};Cr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===EA||e===MA||e===IA||e===CA||e===AA||e===Tnn||typeof e=="object"&&e!==null&&(e.$$typeof===LA||e.$$typeof===xA||e.$$typeof===TA||e.$$typeof===FA||e.$$typeof===GA||e.$$typeof===Mnn||e.$$typeof===Gnn||e.$$typeof===Ann||e.$$typeof===Fnn)};Cr.typeOf=hs});var upe=_e((qxa,ipe)=>{"use strict";ipe.exports=ope()});var L_=_e((r7a,PA)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o{function gtn(){this.__data__=[],this.size=0}nme.exports=gtn});var Pk=_e((V5a,ame)=>{function Dtn(e,n){return e===n||e!==e&&n!==n}ame.exports=Dtn});var dI=_e((Q5a,rme)=>{var ytn=Pk();function btn(e,n){for(var t=e.length;t--;)if(ytn(e[t][0],n))return t;return-1}rme.exports=btn});var ime=_e((Y5a,ome)=>{var Rtn=dI(),wtn=Array.prototype,Stn=wtn.splice;function Etn(e){var n=this.__data__,t=Rtn(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():Stn.call(n,t,1),--this.size,!0}ome.exports=Etn});var lme=_e((X5a,ume)=>{var Ctn=dI();function Itn(e){var n=this.__data__,t=Ctn(n,e);return t<0?void 0:n[t][1]}ume.exports=Itn});var sme=_e((Z5a,cme)=>{var Ttn=dI();function Ftn(e){return Ttn(this.__data__,e)>-1}cme.exports=Ftn});var vme=_e((K5a,fme)=>{var Mtn=dI();function Gtn(e,n){var t=this.__data__,a=Mtn(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}fme.exports=Gtn});var _I=_e((e6a,pme)=>{var Atn=tme(),xtn=ime(),Ltn=lme(),jtn=sme(),Ntn=vme();function uR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Ptn=_I();function Otn(){this.__data__=new Ptn,this.size=0}mme.exports=Otn});var hme=_e((t6a,_me)=>{function ktn(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}_me.exports=ktn});var Dme=_e((a6a,gme)=>{function Utn(e){return this.__data__.get(e)}gme.exports=Utn});var bme=_e((r6a,yme)=>{function Htn(e){return this.__data__.has(e)}yme.exports=Htn});var Ok=_e((o6a,Rme)=>{var Btn=typeof global=="object"&&global&&global.Object===Object&&global;Rme.exports=Btn});var W0=_e((i6a,wme)=>{var Jtn=Ok(),qtn=typeof self=="object"&&self&&self.Object===Object&&self,Wtn=Jtn||qtn||Function("return this")();wme.exports=Wtn});var ox=_e((u6a,Sme)=>{var $tn=W0(),ztn=$tn.Symbol;Sme.exports=ztn});var Tme=_e((l6a,Ime)=>{var Eme=ox(),Cme=Object.prototype,Vtn=Cme.hasOwnProperty,Qtn=Cme.toString,hI=Eme?Eme.toStringTag:void 0;function Ytn(e){var n=Vtn.call(e,hI),t=e[hI];try{e[hI]=void 0;var a=!0}catch{}var r=Qtn.call(e);return a&&(n?e[hI]=t:delete e[hI]),r}Ime.exports=Ytn});var Mme=_e((c6a,Fme)=>{var Xtn=Object.prototype,Ztn=Xtn.toString;function Ktn(e){return Ztn.call(e)}Fme.exports=Ktn});var gI=_e((s6a,xme)=>{var Gme=ox(),ean=Tme(),nan=Mme(),tan="[object Null]",aan="[object Undefined]",Ame=Gme?Gme.toStringTag:void 0;function ran(e){return e==null?e===void 0?aan:tan:Ame&&Ame in Object(e)?ean(e):nan(e)}xme.exports=ran});var kk=_e((f6a,Lme)=>{function oan(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}Lme.exports=oan});var Uk=_e((v6a,jme)=>{var ian=gI(),uan=kk(),lan="[object AsyncFunction]",can="[object Function]",san="[object GeneratorFunction]",fan="[object Proxy]";function van(e){if(!uan(e))return!1;var n=ian(e);return n==can||n==san||n==lan||n==fan}jme.exports=van});var Pme=_e((p6a,Nme)=>{var pan=W0(),man=pan["__core-js_shared__"];Nme.exports=man});var Ume=_e((m6a,kme)=>{var Hk=Pme(),Ome=function(){var e=/[^.]+$/.exec(Hk&&Hk.keys&&Hk.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function dan(e){return!!Ome&&Ome in e}kme.exports=dan});var Bk=_e((d6a,Hme)=>{var _an=Function.prototype,han=_an.toString;function gan(e){if(e!=null){try{return han.call(e)}catch{}try{return e+""}catch{}}return""}Hme.exports=gan});var Jme=_e((_6a,Bme)=>{var Dan=Uk(),yan=Ume(),ban=kk(),Ran=Bk(),wan=/[\\^$.*+?()[\]{}|]/g,San=/^\[object .+?Constructor\]$/,Ean=Function.prototype,Can=Object.prototype,Ian=Ean.toString,Tan=Can.hasOwnProperty,Fan=RegExp("^"+Ian.call(Tan).replace(wan,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Man(e){if(!ban(e)||yan(e))return!1;var n=Dan(e)?Fan:San;return n.test(Ran(e))}Bme.exports=Man});var Wme=_e((h6a,qme)=>{function Gan(e,n){return e==null?void 0:e[n]}qme.exports=Gan});var ED=_e((g6a,$me)=>{var Aan=Jme(),xan=Wme();function Lan(e,n){var t=xan(e,n);return Aan(t)?t:void 0}$me.exports=Lan});var ix=_e((D6a,zme)=>{var jan=ED(),Nan=W0(),Pan=jan(Nan,"Map");zme.exports=Pan});var DI=_e((y6a,Vme)=>{var Oan=ED(),kan=Oan(Object,"create");Vme.exports=kan});var Xme=_e((b6a,Yme)=>{var Qme=DI();function Uan(){this.__data__=Qme?Qme(null):{},this.size=0}Yme.exports=Uan});var Kme=_e((R6a,Zme)=>{function Han(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}Zme.exports=Han});var nde=_e((w6a,ede)=>{var Ban=DI(),Jan="__lodash_hash_undefined__",qan=Object.prototype,Wan=qan.hasOwnProperty;function $an(e){var n=this.__data__;if(Ban){var t=n[e];return t===Jan?void 0:t}return Wan.call(n,e)?n[e]:void 0}ede.exports=$an});var ade=_e((S6a,tde)=>{var zan=DI(),Van=Object.prototype,Qan=Van.hasOwnProperty;function Yan(e){var n=this.__data__;return zan?n[e]!==void 0:Qan.call(n,e)}tde.exports=Yan});var ode=_e((E6a,rde)=>{var Xan=DI(),Zan="__lodash_hash_undefined__";function Kan(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=Xan&&n===void 0?Zan:n,this}rde.exports=Kan});var ude=_e((C6a,ide)=>{var ern=Xme(),nrn=Kme(),trn=nde(),arn=ade(),rrn=ode();function lR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var lde=ude(),orn=_I(),irn=ix();function urn(){this.size=0,this.__data__={hash:new lde,map:new(irn||orn),string:new lde}}cde.exports=urn});var vde=_e((T6a,fde)=>{function lrn(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}fde.exports=lrn});var yI=_e((F6a,pde)=>{var crn=vde();function srn(e,n){var t=e.__data__;return crn(n)?t[typeof n=="string"?"string":"hash"]:t.map}pde.exports=srn});var dde=_e((M6a,mde)=>{var frn=yI();function vrn(e){var n=frn(this,e).delete(e);return this.size-=n?1:0,n}mde.exports=vrn});var hde=_e((G6a,_de)=>{var prn=yI();function mrn(e){return prn(this,e).get(e)}_de.exports=mrn});var Dde=_e((A6a,gde)=>{var drn=yI();function _rn(e){return drn(this,e).has(e)}gde.exports=_rn});var bde=_e((x6a,yde)=>{var hrn=yI();function grn(e,n){var t=hrn(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}yde.exports=grn});var Jk=_e((L6a,Rde)=>{var Drn=sde(),yrn=dde(),brn=hde(),Rrn=Dde(),wrn=bde();function cR(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n{var Srn=_I(),Ern=ix(),Crn=Jk(),Irn=200;function Trn(e,n){var t=this.__data__;if(t instanceof Srn){var a=t.__data__;if(!Ern||a.length{var Frn=_I(),Mrn=dme(),Grn=hme(),Arn=Dme(),xrn=bme(),Lrn=Sde();function sR(e){var n=this.__data__=new Frn(e);this.size=n.size}sR.prototype.clear=Mrn;sR.prototype.delete=Grn;sR.prototype.get=Arn;sR.prototype.has=xrn;sR.prototype.set=Lrn;Ede.exports=sR});var Tde=_e((P6a,Ide)=>{var jrn="__lodash_hash_undefined__";function Nrn(e){return this.__data__.set(e,jrn),this}Ide.exports=Nrn});var Mde=_e((O6a,Fde)=>{function Prn(e){return this.__data__.has(e)}Fde.exports=Prn});var Ade=_e((k6a,Gde)=>{var Orn=Jk(),krn=Tde(),Urn=Mde();function ux(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new Orn;++n{function Hrn(e,n){for(var t=-1,a=e==null?0:e.length;++t{function Brn(e,n){return e.has(n)}jde.exports=Brn});var qk=_e((B6a,Pde)=>{var Jrn=Ade(),qrn=Lde(),Wrn=Nde(),$rn=1,zrn=2;function Vrn(e,n,t,a,r,o){var i=t&$rn,u=e.length,l=n.length;if(u!=l&&!(i&&l>u))return!1;var c=o.get(e),s=o.get(n);if(c&&s)return c==n&&s==e;var f=-1,v=!0,p=t&zrn?new Jrn:void 0;for(o.set(e,n),o.set(n,e);++f{var Qrn=W0(),Yrn=Qrn.Uint8Array;Ode.exports=Yrn});var Hde=_e((q6a,Ude)=>{function Xrn(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}Ude.exports=Xrn});var Jde=_e((W6a,Bde)=>{function Zrn(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}Bde.exports=Zrn});var Vde=_e(($6a,zde)=>{var qde=ox(),Wde=kde(),Krn=Pk(),eon=qk(),non=Hde(),ton=Jde(),aon=1,ron=2,oon="[object Boolean]",ion="[object Date]",uon="[object Error]",lon="[object Map]",con="[object Number]",son="[object RegExp]",fon="[object Set]",von="[object String]",pon="[object Symbol]",mon="[object ArrayBuffer]",don="[object DataView]",$de=qde?qde.prototype:void 0,Wk=$de?$de.valueOf:void 0;function _on(e,n,t,a,r,o,i){switch(t){case don:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case mon:return!(e.byteLength!=n.byteLength||!o(new Wde(e),new Wde(n)));case oon:case ion:case con:return Krn(+e,+n);case uon:return e.name==n.name&&e.message==n.message;case son:case von:return e==n+"";case lon:var u=non;case fon:var l=a&aon;if(u||(u=ton),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=ron,i.set(e,n);var s=eon(u(e),u(n),a,r,o,i);return i.delete(e),s;case pon:if(Wk)return Wk.call(e)==Wk.call(n)}return!1}zde.exports=_on});var Yde=_e((z6a,Qde)=>{function hon(e,n){for(var t=-1,a=n.length,r=e.length;++t{var gon=Array.isArray;Xde.exports=gon});var Kde=_e((Q6a,Zde)=>{var Don=Yde(),yon=lx();function bon(e,n,t){var a=n(e);return yon(e)?a:Don(a,t(e))}Zde.exports=bon});var n_e=_e((Y6a,e_e)=>{function Ron(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t{function won(){return[]}t_e.exports=won});var i_e=_e((Z6a,o_e)=>{var Son=n_e(),Eon=a_e(),Con=Object.prototype,Ion=Con.propertyIsEnumerable,r_e=Object.getOwnPropertySymbols,Ton=r_e?function(e){return e==null?[]:(e=Object(e),Son(r_e(e),function(n){return Ion.call(e,n)}))}:Eon;o_e.exports=Ton});var l_e=_e((K6a,u_e)=>{function Fon(e,n){for(var t=-1,a=Array(e);++t{function Mon(e){return e!=null&&typeof e=="object"}c_e.exports=Mon});var f_e=_e((n8a,s_e)=>{var Gon=gI(),Aon=bI(),xon="[object Arguments]";function Lon(e){return Aon(e)&&Gon(e)==xon}s_e.exports=Lon});var d_e=_e((t8a,m_e)=>{var v_e=f_e(),jon=bI(),p_e=Object.prototype,Non=p_e.hasOwnProperty,Pon=p_e.propertyIsEnumerable,Oon=v_e(function(){return arguments}())?v_e:function(e){return jon(e)&&Non.call(e,"callee")&&!Pon.call(e,"callee")};m_e.exports=Oon});var h_e=_e((a8a,__e)=>{function kon(){return!1}__e.exports=kon});var $k=_e((RI,fR)=>{var Uon=W0(),Hon=h_e(),g_e=typeof RI=="object"&&RI&&!RI.nodeType&&RI,D_e=g_e&&typeof fR=="object"&&fR&&!fR.nodeType&&fR,Bon=D_e&&D_e.exports===g_e,y_e=Bon?Uon.Buffer:void 0,Jon=y_e?y_e.isBuffer:void 0,qon=Jon||Hon;fR.exports=qon});var R_e=_e((r8a,b_e)=>{var Won=9007199254740991,$on=/^(?:0|[1-9]\d*)$/;function zon(e,n){var t=typeof e;return n=n==null?Won:n,!!n&&(t=="number"||t!="symbol"&&$on.test(e))&&e>-1&&e%1==0&&e{var Von=9007199254740991;function Qon(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Von}w_e.exports=Qon});var E_e=_e((i8a,S_e)=>{var Yon=gI(),Xon=zk(),Zon=bI(),Kon="[object Arguments]",ein="[object Array]",nin="[object Boolean]",tin="[object Date]",ain="[object Error]",rin="[object Function]",oin="[object Map]",iin="[object Number]",uin="[object Object]",lin="[object RegExp]",cin="[object Set]",sin="[object String]",fin="[object WeakMap]",vin="[object ArrayBuffer]",pin="[object DataView]",min="[object Float32Array]",din="[object Float64Array]",_in="[object Int8Array]",hin="[object Int16Array]",gin="[object Int32Array]",Din="[object Uint8Array]",yin="[object Uint8ClampedArray]",bin="[object Uint16Array]",Rin="[object Uint32Array]",no={};no[min]=no[din]=no[_in]=no[hin]=no[gin]=no[Din]=no[yin]=no[bin]=no[Rin]=!0;no[Kon]=no[ein]=no[vin]=no[nin]=no[pin]=no[tin]=no[ain]=no[rin]=no[oin]=no[iin]=no[uin]=no[lin]=no[cin]=no[sin]=no[fin]=!1;function win(e){return Zon(e)&&Xon(e.length)&&!!no[Yon(e)]}S_e.exports=win});var I_e=_e((u8a,C_e)=>{function Sin(e){return function(n){return e(n)}}C_e.exports=Sin});var F_e=_e((SI,vR)=>{var Ein=Ok(),T_e=typeof SI=="object"&&SI&&!SI.nodeType&&SI,wI=T_e&&typeof vR=="object"&&vR&&!vR.nodeType&&vR,Cin=wI&&wI.exports===T_e,Vk=Cin&&Ein.process,Iin=function(){try{var e=wI&&wI.require&&wI.require("util").types;return e||Vk&&Vk.binding&&Vk.binding("util")}catch{}}();vR.exports=Iin});var Qk=_e((l8a,A_e)=>{var Tin=E_e(),Fin=I_e(),M_e=F_e(),G_e=M_e&&M_e.isTypedArray,Min=G_e?Fin(G_e):Tin;A_e.exports=Min});var L_e=_e((c8a,x_e)=>{var Gin=l_e(),Ain=d_e(),xin=lx(),Lin=$k(),jin=R_e(),Nin=Qk(),Pin=Object.prototype,Oin=Pin.hasOwnProperty;function kin(e,n){var t=xin(e),a=!t&&Ain(e),r=!t&&!a&&Lin(e),o=!t&&!a&&!r&&Nin(e),i=t||a||r||o,u=i?Gin(e.length,String):[],l=u.length;for(var c in e)(n||Oin.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||jin(c,l)))&&u.push(c);return u}x_e.exports=kin});var N_e=_e((s8a,j_e)=>{var Uin=Object.prototype;function Hin(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||Uin;return e===t}j_e.exports=Hin});var O_e=_e((f8a,P_e)=>{function Bin(e,n){return function(t){return e(n(t))}}P_e.exports=Bin});var U_e=_e((v8a,k_e)=>{var Jin=O_e(),qin=Jin(Object.keys,Object);k_e.exports=qin});var B_e=_e((p8a,H_e)=>{var Win=N_e(),$in=U_e(),zin=Object.prototype,Vin=zin.hasOwnProperty;function Qin(e){if(!Win(e))return $in(e);var n=[];for(var t in Object(e))Vin.call(e,t)&&t!="constructor"&&n.push(t);return n}H_e.exports=Qin});var q_e=_e((m8a,J_e)=>{var Yin=Uk(),Xin=zk();function Zin(e){return e!=null&&Xin(e.length)&&!Yin(e)}J_e.exports=Zin});var $_e=_e((d8a,W_e)=>{var Kin=L_e(),eun=B_e(),nun=q_e();function tun(e){return nun(e)?Kin(e):eun(e)}W_e.exports=tun});var V_e=_e((_8a,z_e)=>{var aun=Kde(),run=i_e(),oun=$_e();function iun(e){return aun(e,oun,run)}z_e.exports=iun});var X_e=_e((h8a,Y_e)=>{var Q_e=V_e(),uun=1,lun=Object.prototype,cun=lun.hasOwnProperty;function sun(e,n,t,a,r,o){var i=t&uun,u=Q_e(e),l=u.length,c=Q_e(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:cun.call(n,v)))return!1}var p=o.get(e),d=o.get(n);if(p&&d)return p==n&&d==e;var y=!0;o.set(e,n),o.set(n,e);for(var h=i;++f{var fun=ED(),vun=W0(),pun=fun(vun,"DataView");Z_e.exports=pun});var nhe=_e((D8a,ehe)=>{var mun=ED(),dun=W0(),_un=mun(dun,"Promise");ehe.exports=_un});var ahe=_e((y8a,the)=>{var hun=ED(),gun=W0(),Dun=hun(gun,"Set");the.exports=Dun});var ohe=_e((b8a,rhe)=>{var yun=ED(),bun=W0(),Run=yun(bun,"WeakMap");rhe.exports=Run});var phe=_e((R8a,vhe)=>{var Yk=K_e(),Xk=ix(),Zk=nhe(),Kk=ahe(),eU=ohe(),ihe=gI(),pR=Bk(),uhe="[object Map]",wun="[object Object]",lhe="[object Promise]",che="[object Set]",she="[object WeakMap]",fhe="[object DataView]",Sun=pR(Yk),Eun=pR(Xk),Cun=pR(Zk),Iun=pR(Kk),Tun=pR(eU),CD=ihe;(Yk&&CD(new Yk(new ArrayBuffer(1)))!=fhe||Xk&&CD(new Xk)!=uhe||Zk&&CD(Zk.resolve())!=lhe||Kk&&CD(new Kk)!=che||eU&&CD(new eU)!=she)&&(CD=function(e){var n=ihe(e),t=n==wun?e.constructor:void 0,a=t?pR(t):"";if(a)switch(a){case Sun:return fhe;case Eun:return uhe;case Cun:return lhe;case Iun:return che;case Tun:return she}return n});vhe.exports=CD});var bhe=_e((w8a,yhe)=>{var nU=Cde(),Fun=qk(),Mun=Vde(),Gun=X_e(),mhe=phe(),dhe=lx(),_he=$k(),Aun=Qk(),xun=1,hhe="[object Arguments]",ghe="[object Array]",cx="[object Object]",Lun=Object.prototype,Dhe=Lun.hasOwnProperty;function jun(e,n,t,a,r,o){var i=dhe(e),u=dhe(n),l=i?ghe:mhe(e),c=u?ghe:mhe(n);l=l==hhe?cx:l,c=c==hhe?cx:c;var s=l==cx,f=c==cx,v=l==c;if(v&&_he(e)){if(!_he(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new nU),i||Aun(e)?Fun(e,n,t,a,r,o):Mun(e,n,l,t,a,r,o);if(!(t&xun)){var p=s&&Dhe.call(e,"__wrapped__"),d=f&&Dhe.call(n,"__wrapped__");if(p||d){var y=p?e.value():e,h=d?n.value():n;return o||(o=new nU),r(y,h,t,a,o)}}return v?(o||(o=new nU),Gun(e,n,t,a,r,o)):!1}yhe.exports=jun});var Ehe=_e((S8a,She)=>{var Nun=bhe(),Rhe=bI();function whe(e,n,t,a,r){return e===n?!0:e==null||n==null||!Rhe(e)&&!Rhe(n)?e!==e&&n!==n:Nun(e,n,t,a,whe,r)}She.exports=whe});var Ihe=_e((E8a,Che)=>{var Pun=Ehe();function Oun(e,n){return Pun(e,n)}Che.exports=Oun});var fge=_e((kja,vln)=>{vln.exports=`.rc-tooltip.rc-tooltip-zoom-appear, .rc-tooltip.rc-tooltip-zoom-enter { opacity: 0; } .rc-tooltip.rc-tooltip-zoom-enter, .rc-tooltip.rc-tooltip-zoom-leave { display: block; } .rc-tooltip-zoom-enter, .rc-tooltip-zoom-appear { opacity: 0; animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.18, 0.89, 0.32, 1.28); animation-play-state: paused; } .rc-tooltip-zoom-leave { animation-duration: 0.3s; animation-fill-mode: both; animation-timing-function: cubic-bezier(0.6, -0.3, 0.74, 0.05); animation-play-state: paused; } .rc-tooltip-zoom-enter.rc-tooltip-zoom-enter-active, .rc-tooltip-zoom-appear.rc-tooltip-zoom-appear-active { animation-name: rcToolTipZoomIn; animation-play-state: running; } .rc-tooltip-zoom-leave.rc-tooltip-zoom-leave-active { animation-name: rcToolTipZoomOut; animation-play-state: running; } @keyframes rcToolTipZoomIn { 0% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } 100% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } } @keyframes rcToolTipZoomOut { 0% { opacity: 1; transform-origin: 50% 50%; transform: scale(1, 1); } 100% { opacity: 0; transform-origin: 50% 50%; transform: scale(0, 0); } } .rc-tooltip { position: absolute; z-index: 1070; display: block; visibility: visible; line-height: 1.5; font-size: 12px; background-color: rgba(0, 0, 0, 0.05); padding: 1px; opacity: 0.9; } .rc-tooltip-hidden { display: none; } .rc-tooltip-inner { padding: 8px 10px; color: #333333; text-align: left; text-decoration: none; background-color: #ffffff; border-radius: 3px; min-height: 34px; border: 1px solid #b1b1b1; } .rc-tooltip-arrow, .rc-tooltip-arrow-inner { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .rc-tooltip-placement-top .rc-tooltip-arrow, .rc-tooltip-placement-topLeft .rc-tooltip-arrow, .rc-tooltip-placement-topRight .rc-tooltip-arrow { bottom: -5px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #b1b1b1; } .rc-tooltip-placement-top .rc-tooltip-arrow-inner, .rc-tooltip-placement-topLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-topRight .rc-tooltip-arrow-inner { bottom: 1px; margin-left: -6px; border-width: 6px 6px 0; border-top-color: #ffffff; } .rc-tooltip-placement-top .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-topLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-topRight .rc-tooltip-arrow { right: 15%; } .rc-tooltip-placement-right .rc-tooltip-arrow, .rc-tooltip-placement-rightTop .rc-tooltip-arrow, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { left: -5px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #b1b1b1; } .rc-tooltip-placement-right .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-rightBottom .rc-tooltip-arrow-inner { left: 1px; margin-top: -6px; border-width: 6px 6px 6px 0; border-right-color: #ffffff; } .rc-tooltip-placement-right .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-rightTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-rightBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-left .rc-tooltip-arrow, .rc-tooltip-placement-leftTop .rc-tooltip-arrow, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { right: -5px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #b1b1b1; } .rc-tooltip-placement-left .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftTop .rc-tooltip-arrow-inner, .rc-tooltip-placement-leftBottom .rc-tooltip-arrow-inner { right: 1px; margin-top: -6px; border-width: 6px 0 6px 6px; border-left-color: #ffffff; } .rc-tooltip-placement-left .rc-tooltip-arrow { top: 50%; } .rc-tooltip-placement-leftTop .rc-tooltip-arrow { top: 15%; margin-top: 0; } .rc-tooltip-placement-leftBottom .rc-tooltip-arrow { bottom: 15%; } .rc-tooltip-placement-bottom .rc-tooltip-arrow, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { top: -5px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #b1b1b1; } .rc-tooltip-placement-bottom .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow-inner, .rc-tooltip-placement-bottomRight .rc-tooltip-arrow-inner { top: 1px; margin-left: -6px; border-width: 0 6px 6px; border-bottom-color: #ffffff; } .rc-tooltip-placement-bottom .rc-tooltip-arrow { left: 50%; } .rc-tooltip-placement-bottomLeft .rc-tooltip-arrow { left: 15%; } .rc-tooltip-placement-bottomRight .rc-tooltip-arrow { right: 15%; } `});var Rx=_e(AI=>{"use strict";Object.defineProperty(AI,"__esModule",{value:!0});AI.Direction=void 0;var Mcn;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(Mcn=AI.Direction||(AI.Direction={}))});var AU=_e(Zt=>{"use strict";var xI=Zt&&Zt.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;ae)return l;if(c&&ca)return a;if(e=t)throw new RangeError("min (".concat(n,") is equal/bigger than max (").concat(t,")"));if(et)throw new RangeError("value (".concat(e,") is bigger than max (").concat(t,")"))}Zt.checkBoundaries=Ncn;function Pcn(e,n,t){return et?t:e}Zt.checkValuesAgainstBoundaries=Pcn;function Ocn(e){if(!(e.length<2)&&!e.slice(1).every(function(n,t){return e[t]<=n}))throw new RangeError("values={[".concat(e,"]} needs to be sorted when allowOverlap={false}"))}Zt.checkInitialOverlap=Ocn;function kcn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["margin-top"],10),bottom:parseInt(n["margin-bottom"],10),left:parseInt(n["margin-left"],10),right:parseInt(n["margin-right"],10)}}Zt.getMargin=kcn;function Ucn(e){var n=window.getComputedStyle(e);return{top:parseInt(n["padding-top"],10)+parseInt(n["border-top-width"],10),bottom:parseInt(n["padding-bottom"],10)+parseInt(n["border-bottom-width"],10),left:parseInt(n["padding-left"],10)+parseInt(n["border-left-width"],10),right:parseInt(n["padding-right"],10)+parseInt(n["border-right-width"],10)}}Zt.getPaddingAndBorder=Ucn;function Hcn(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return cDe(r,a*n[o].x,n[o].y)})}Zt.translateThumbs=Hcn;function Bcn(e,n,t,a){for(var r=0,o=fDe(e[0],n,t,a),i=1;ii?l:i},e.getBoundingClientRect().width));return o},Vcn=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=sDe(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,p){var d=v.x,y=sDe(t[p],a[p],r,o,i);c!==p&&(f>=d&&f<=d+y||f+s>=d&&f+s<=d+y)&&(u.includes(p)||(u.push(c),u.push(p),u=xI(xI([],u,!0),[c,p],!1),l(p)))})};return l(e),Array.from(new Set(u.sort()))},Qcn=function(e,n,t,a,r,o){a===void 0&&(a=.1),r===void 0&&(r=" - "),o===void 0&&(o=function(p){return p});var i=(0,Zt.getStepDecimals)(a),u=(0,GU.useState)({}),l=u[0],c=u[1],s=(0,GU.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,GU.useEffect)(function(){if(e){var p=e.getThumbs();if(p.length<1)return;var d={},y=e.getOffsets(),h=Vcn(t,y,p,n,r,i,o),g=o(n[t].toFixed(i));if(h.length){var S=h.reduce(function(k,K,oe,Te){return k.length?xI(xI([],k,!0),[y[Te[oe]].x],!1):[y[Te[oe]].x]},[]);if(Math.min.apply(Math,S)===y[t].x){var M=[];h.forEach(function(k){M.push(n[k].toFixed(i))}),g=Array.from(new Set(M.sort(function(k,K){return parseFloat(k)-parseFloat(K)}))).map(o).join(r);var P=Math.min.apply(Math,S),O=Math.max.apply(Math,S),T=p[h[S.indexOf(O)]].getBoundingClientRect().width;d.left="".concat(Math.abs(P-(O+T))/2,"px"),d.transform="translate(-50%, 0)"}else d.visibility="hidden"}v(g),c(d)}},[e,n]),[f,l]};Zt.useThumbOverlap=Qcn;function fDe(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return lDe(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var pDe=_e(gs=>{"use strict";var Ycn=gs&&gs.__extends||function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(a[o]=r[o])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function a(){this.constructor=n}n.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}}(),Xcn=gs&&gs.__createBinding||(Object.create?function(e,n,t,a){a===void 0&&(a=t);var r=Object.getOwnPropertyDescriptor(n,t);(!r||("get"in r?!n.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return n[t]}}),Object.defineProperty(e,a,r)}:function(e,n,t,a){a===void 0&&(a=t),e[a]=n[t]}),Zcn=gs&&gs.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),Kcn=gs&&gs.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&Xcn(n,e,t);return Zcn(n,e),n},vDe=gs&&gs.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;a1&&a.props.draggableTrack){if(a.thumbRefs.some(function(u){var l;return(l=u.current)===null||l===void 0?void 0:l.contains(r.target)}))return;a.setState({draggedTrackPos:[r.clientX,r.clientY]},function(){return a.onMove(r.clientX,r.clientY)})}else{var i=(0,Za.getClosestThumbIndex)(a.thumbRefs.map(function(u){return u.current}),r.clientX,r.clientY,a.props.direction);(o=a.thumbRefs[i].current)===null||o===void 0||o.focus(),a.setState({draggedThumbIndex:i},function(){return a.onMove(r.clientX,r.clientY)})}},a.onResize=function(){(0,Za.translateThumbs)(a.getThumbs(),a.getOffsets(),a.props.rtl),a.calculateMarkOffsets()},a.onTouchStartTrack=function(r){var o;if(r.persist(),a.addTouchEvents(r.nativeEvent),a.props.values.length>1&&a.props.draggableTrack){if(a.thumbRefs.some(function(u){var l;return(l=u.current)===null||l===void 0?void 0:l.contains(r.target)}))return;a.setState({draggedTrackPos:[r.touches[0].clientX,r.touches[0].clientY]},function(){return a.onMove(r.touches[0].clientX,r.touches[0].clientY)})}else{var i=(0,Za.getClosestThumbIndex)(a.thumbRefs.map(function(u){return u.current}),r.touches[0].clientX,r.touches[0].clientY,a.props.direction);(o=a.thumbRefs[i].current)===null||o===void 0||o.focus(),a.setState({draggedThumbIndex:i},function(){return a.onMove(r.touches[0].clientX,r.touches[0].clientY)})}},a.onMouseOrTouchStart=function(r){if(!a.props.disabled){var o=(0,Za.isTouchEvent)(r);if(!(!o&&r.button!==0)){var i=a.getTargetIndex(r);i!==-1&&(o?a.addTouchEvents(r):a.addMouseEvents(r),a.setState({draggedThumbIndex:i,thumbZIndexes:a.state.thumbZIndexes.map(function(u,l){return l===i?Math.max.apply(Math,a.state.thumbZIndexes):u<=a.state.thumbZIndexes[i]?u:u-1})}))}}},a.onMouseMove=function(r){r.preventDefault(),a.onMove(r.clientX,r.clientY)},a.onTouchMove=function(r){r.preventDefault(),a.onMove(r.touches[0].clientX,r.touches[0].clientY)},a.onKeyDown=function(r){var o=a.props,i=o.values,u=o.onChange,l=o.step,c=o.rtl,s=o.direction,f=a.state.isChanged,v=a.getTargetIndex(r.nativeEvent),p=c||s===Wi.Direction.Left||s===Wi.Direction.Down?-1:1;v!==-1&&(esn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Za.replaceAt)(i,v,a.normalizeValue(i[v]+p*(r.key==="PageUp"?l*10:l),v)))):nsn.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Za.replaceAt)(i,v,a.normalizeValue(i[v]-p*(r.key==="PageDown"?l*10:l),v)))):r.key==="Tab"?a.setState({draggedThumbIndex:-1},function(){f&&a.fireOnFinalChange()}):f&&a.fireOnFinalChange())},a.onKeyUp=function(r){var o=a.state.isChanged;a.setState({draggedThumbIndex:-1},function(){o&&a.fireOnFinalChange()})},a.onMove=function(r,o){var i=a.state,u=i.draggedThumbIndex,l=i.draggedTrackPos,c=a.props,s=c.direction,f=c.min,v=c.max,p=c.onChange,d=c.values,y=c.step,h=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var g=a.trackRef.current;if(!g)return null;var S=g.getBoundingClientRect(),M=(0,Za.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],O=o-l[1],T=0;switch(s){case Wi.Direction.Right:case Wi.Direction.Left:T=P/M*(v-f);break;case Wi.Direction.Down:case Wi.Direction.Up:T=O/M*(v-f);break;default:(0,Za.assertUnreachable)(s)}if(h&&(T*=-1),Math.abs(T)>=y/2){for(var k=0;kv?T=v-d[k]:K=y/2&&p((0,Za.replaceAt)(d,u,a.normalizeValue(Te,u)))}},a.normalizeValue=function(r,o){var i=a.props,u=i.min,l=i.max,c=i.step,s=i.allowOverlap,f=i.values;return(0,Za.normalizeValue)(r,o,u,l,c,s,f)},a.onEnd=function(r){if(r.preventDefault(),document.removeEventListener("mousemove",a.schdOnMouseMove),document.removeEventListener("touchmove",a.schdOnTouchMove),document.removeEventListener("mouseup",a.schdOnEnd),document.removeEventListener("touchend",a.schdOnEnd),document.removeEventListener("touchcancel",a.schdOnEnd),a.state.draggedThumbIndex===-1&&a.state.draggedTrackPos[0]===-1&&a.state.draggedTrackPos[1]===-1)return null;a.setState({draggedThumbIndex:-1,draggedTrackPos:[-1,-1]},function(){a.fireOnFinalChange()})},a.fireOnFinalChange=function(){a.setState({isChanged:!1});var r=a.props,o=r.onFinalChange,i=r.values;o&&o(i)},a.updateMarkRefs=function(r){if(!r.renderMark){a.numOfMarks=void 0,a.markRefs=void 0;return}a.numOfMarks=(r.max-r.min)/a.props.step,a.markRefs=[];for(var o=0;o-1?"grabbing":this.props.draggableTrack?(0,Za.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Za.voidFn:this.onMouseDownTrack,onTouchStart:v?Za.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:vDe(vDe([],h.map(function(g,S,M){return u({props:{style:t.props.direction===Wi.Direction.Left||t.props.direction===Wi.Direction.Right?{position:"absolute",left:"".concat(g[0],"px"),marginTop:"".concat(g[1],"px")}:{position:"absolute",top:"".concat(g[0],"px"),marginLeft:"".concat(g[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(g,S){var M=t.state.draggedThumbIndex===S;return o({index:S,value:g,isDragged:M,props:{style:{position:"absolute",zIndex:y[S],cursor:v?"inherit":M?"grabbing":"grab",userSelect:"none",touchAction:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none"},key:S,tabIndex:v?void 0:0,"aria-valuemax":f?s:l[S+1]||s,"aria-valuemin":f?c:l[S-1]||c,"aria-valuenow":g,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Za.voidFn:t.onKeyDown,onKeyUp:v?Za.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:Wi.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(wx.Component);gs.default=tsn});var mDe=_e(ol=>{"use strict";var asn=ol&&ol.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ol,"__esModule",{value:!0});ol.checkValuesAgainstBoundaries=ol.relativeValue=ol.useThumbOverlap=ol.Direction=ol.getTrackBackground=ol.Range=void 0;var rsn=asn(pDe());ol.Range=rsn.default;var Sx=AU();Object.defineProperty(ol,"getTrackBackground",{enumerable:!0,get:function(){return Sx.getTrackBackground}});Object.defineProperty(ol,"useThumbOverlap",{enumerable:!0,get:function(){return Sx.useThumbOverlap}});Object.defineProperty(ol,"relativeValue",{enumerable:!0,get:function(){return Sx.relativeValue}});Object.defineProperty(ol,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return Sx.checkValuesAgainstBoundaries}});var osn=Rx();Object.defineProperty(ol,"Direction",{enumerable:!0,get:function(){return osn.Direction}})});var DR=_e((zZa,EDe)=>{"use strict";var SDe=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function msn(e,n){return!!(e===n||SDe(e)&&SDe(n))}function dsn(e,n){if(e.length!==n.length)return!1;for(var t=0;t{function xU(e,n){return Pm.exports=xU=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,a){return t.__proto__=a,t},Pm.exports.__esModule=!0,Pm.exports.default=Pm.exports,xU(e,n)}Pm.exports=xU,Pm.exports.__esModule=!0,Pm.exports.default=Pm.exports});var jU=_e((QZa,jI)=>{var hsn=LU();function gsn(e,n){e.prototype=Object.create(n.prototype),e.prototype.constructor=e,hsn(e,n)}jI.exports=gsn,jI.exports.__esModule=!0,jI.exports.default=jI.exports});var PU=_e(NU=>{"use strict";Object.defineProperty(NU,"__esModule",{value:!0});function Dsn(e){if(e.sheet)return e.sheet;for(var n=0;n{"use strict";Object.defineProperty(OU,"__esModule",{value:!0});function Rsn(e){function n(x,Y,fe,he,U){for(var pe=0,V=0,je=0,Me=0,He,en,Ne=0,Fn=0,fn,tt=fn=He=0,In=0,at=0,gt=0,Gn=0,Gt=fe.length,rt=Gt-1,qn,vn="",vt="",Va="",Ee="",Qe;InHe)&&(Gn=(vn=vn.replace(" ",":")).length),0he&&(he=(Y=Y.trim()).charCodeAt(0)),he){case 38:return Y.replace(g,"$1"+x.trim());case 58:return x.trim()+Y.replace(g,"$1"+x.trim());default:if(0<1*fe&&0V.charCodeAt(8))break;case 115:U=U.replace(V,"-webkit-"+V)+";"+U;break;case 207:case 102:U=U.replace(V,"-webkit-"+(102fe.charCodeAt(0)&&(fe=fe.trim()),z=fe,fe=[z],0{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});var wsn=function(n){var t=new WeakMap;return function(a){if(t.has(a))return t.get(a);var r=n(a);return t.set(a,r),r}};kU.default=wsn});var Cx=_e(HU=>{"use strict";Object.defineProperty(HU,"__esModule",{value:!0});function Ssn(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Esn=PU(),Csn=Ssn(CDe());IDe();var UU="/*|*/",Isn=UU+"}";function Tsn(e){e&&Ex.current.insert(e+"}")}var Ex={current:null},Fsn=function(n,t,a,r,o,i,u,l,c,s){switch(n){case 1:{switch(t.charCodeAt(0)){case 64:return Ex.current.insert(t+";"),"";case 108:if(t.charCodeAt(2)===98)return""}break}case 2:{if(l===0)return t+UU;break}case 3:switch(l){case 102:case 112:return Ex.current.insert(a[0]+t),"";default:return t+(s===0?UU:"")}case-2:t.split(Isn).forEach(Tsn)}},Msn=function(n){n===void 0&&(n={});var t=n.key||"css",a;n.prefix!==void 0&&(a={prefix:n.prefix});var r=new Csn(a),o={},i;{i=n.container||document.head;var u=document.querySelectorAll("style[data-emotion-"+t+"]");Array.prototype.forEach.call(u,function(v){var p=v.getAttribute("data-emotion-"+t);p.split(" ").forEach(function(d){o[d]=!0}),v.parentNode!==i&&i.appendChild(v)})}var l;if(r.use(n.stylisPlugins)(Fsn),l=function(p,d,y,h){var g=d.name;if(Ex.current=y,!1)var S;r(p,d.styles),h&&(f.inserted[g]=!0)},!1)var c,s;var f={key:t,sheet:new Esn.StyleSheet({key:t,container:i,nonce:n.nonce,speedy:n.speedy}),nonce:n.nonce,inserted:o,registered:{},insert:l};return f};HU.default=Msn});var BU=_e(Ix=>{"use strict";Object.defineProperty(Ix,"__esModule",{value:!0});var Gsn=!0;function Asn(e,n,t){var a="";return t.split(" ").forEach(function(r){e[r]!==void 0?n.push(e[r]):a+=r+" "}),a}var xsn=function(n,t,a){var r=n.key+"-"+t.name;if((a===!1||Gsn===!1&&n.compat!==void 0)&&n.registered[r]===void 0&&(n.registered[r]=t.styles),n.inserted[t.name]===void 0){var o=t;do{var i=n.insert("."+r,o,n.sheet,!0);o=o.next}while(o!==void 0)}};Ix.getRegisteredStyles=Asn;Ix.insertStyles=xsn});var TDe=_e(JU=>{"use strict";Object.defineProperty(JU,"__esModule",{value:!0});function Lsn(e){for(var n=0,t,a=0,r=e.length;r>=4;++a,r-=4)t=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(r){case 3:n^=(e.charCodeAt(a+2)&255)<<16;case 2:n^=(e.charCodeAt(a+1)&255)<<8;case 1:n^=e.charCodeAt(a)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}JU.default=Lsn});var FDe=_e(qU=>{"use strict";Object.defineProperty(qU,"__esModule",{value:!0});var jsn={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};qU.default=jsn});var MDe=_e(WU=>{"use strict";Object.defineProperty(WU,"__esModule",{value:!0});function Nsn(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}WU.default=Nsn});var Tx=_e(VU=>{"use strict";Object.defineProperty(VU,"__esModule",{value:!0});function $U(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var Psn=$U(TDe()),Osn=$U(FDe()),ksn=$U(MDe()),Usn=/[A-Z]|^ms/g,Hsn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,GDe=function(n){return n.charCodeAt(1)===45},ADe=function(n){return n!=null&&typeof n!="boolean"},zU=ksn(function(e){return GDe(e)?e:e.replace(Usn,"-$&").toLowerCase()}),xDe=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(Hsn,function(a,r,o){return z0={name:r,styles:o,next:z0},r})}return Osn[n]!==1&&!GDe(n)&&typeof t=="number"&&t!==0?t+"px":t};function NI(e,n,t,a){if(t==null)return"";if(t.__emotion_styles!==void 0)return t;switch(typeof t){case"boolean":return"";case"object":{if(t.anim===1)return z0={name:t.name,styles:t.styles,next:z0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)z0={name:r.name,styles:r.styles,next:z0},r=r.next;var o=t.styles+";";return o}return Bsn(e,n,t)}case"function":{if(e!==void 0){var i=z0,u=t(e);return z0=i,NI(e,n,u,a)}break}case"string":if(!1)var l,c;break}if(n==null)return t;var s=n[t];return s!==void 0&&!a?s:t}function Bsn(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r{"use strict";jU();var Om=Tl(),qsn=Cx(),jDe=BU(),Wsn=Tx();function $sn(e){return e&&e.__esModule?e:{default:e}}var zsn=$sn(qsn),QU=Object.prototype.hasOwnProperty,NDe=Om.createContext(typeof HTMLElement!="undefined"?zsn.default():null),PDe=Om.createContext({}),Vsn=NDe.Provider,ODe=function(n){var t=function(r,o){return Om.createElement(NDe.Consumer,null,function(i){return n(r,i,o)})};return Om.forwardRef(t)},YU="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Qsn=function(n,t){var a={};for(var r in t)QU.call(t,r)&&(a[r]=t[r]);if(a[YU]=n,!1){var o;if(o.stack)var i}return a},Ysn=function(){return null},kDe=function(n,t,a,r){var o=a===null?t.css:t.css(a);typeof o=="string"&&n.registered[o]!==void 0&&(o=n.registered[o]);var i=t[YU],u=[o],l="";typeof t.className=="string"?l=jDe.getRegisteredStyles(n.registered,u,t.className):t.className!=null&&(l=t.className+" ");var c=Wsn.serializeStyles(u);if(!1)var s;var f=jDe.insertStyles(n,c,typeof i=="string");l+=n.key+"-"+c.name;var v={};for(var p in t)QU.call(t,p)&&p!=="css"&&p!==YU&&(v[p]=t[p]);v.ref=r,v.className=l;var d=Om.createElement(i,v),y=Om.createElement(Ysn,null);return Om.createElement(Om.Fragment,null,y,d)},Xsn=ODe(function(e,n,t){return typeof e.css=="function"?Om.createElement(PDe.Consumer,null,function(a){return kDe(n,e,a,t)}):kDe(n,e,null,t)});MD.CacheProvider=Vsn;MD.Emotion=Xsn;MD.ThemeContext=PDe;MD.createEmotionProps=Qsn;MD.hasOwnProperty=QU;MD.withEmotionCache=ODe});var V0=_e(XU=>{"use strict";Object.defineProperty(XU,"__esModule",{value:!0});var Zsn=Tx();function Ksn(){for(var e=arguments.length,n=new Array(e),t=0;t{"use strict";Object.defineProperty(Iv,"__esModule",{value:!0});var efn=jU(),Q0=Tl();Cx();var Y0=UDe(),ZU=BU(),KU=Tx(),nfn=PU(),tfn=V0();function HDe(e){return e&&e.__esModule?e:{default:e}}var afn=HDe(efn),BDe=HDe(tfn),JDe=function(n,t){var a=arguments;if(t==null||!Y0.hasOwnProperty.call(t,"css"))return Q0.createElement.apply(void 0,a);var r=a.length,o=new Array(r);o[0]=Y0.Emotion,o[1]=Y0.createEmotionProps(n,t);for(var i=2;i{"use strict";var yR,PI,Fx,eH;typeof performance=="object"&&typeof performance.now=="function"?(WDe=performance,yr.unstable_now=function(){return WDe.now()}):(nH=Date,$De=nH.now(),yr.unstable_now=function(){return nH.now()-$De});var WDe,nH,$De;typeof window=="undefined"||typeof MessageChannel!="function"?(bR=null,tH=null,aH=function(){if(bR!==null)try{var e=yr.unstable_now();bR(!0,e),bR=null}catch(n){throw setTimeout(aH,0),n}},yR=function(e){bR!==null?setTimeout(yR,0,e):(bR=e,setTimeout(aH,0))},PI=function(e,n){tH=setTimeout(e,n)},Fx=function(){clearTimeout(tH)},yr.unstable_shouldYield=function(){return!1},eH=yr.unstable_forceFrameRate=function(){}):(zDe=window.setTimeout,VDe=window.clearTimeout,typeof console!="undefined"&&(QDe=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof QDe!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),OI=!1,kI=null,Mx=-1,rH=5,oH=0,yr.unstable_shouldYield=function(){return yr.unstable_now()>=oH},eH=function(){},yr.unstable_forceFrameRate=function(e){0>e||125>>1,r=e[a];if(r!==void 0&&0xx(i,t))l!==void 0&&0>xx(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>xx(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function xx(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var X0=[],k_=[],sfn=1,df=null,il=3,Lx=!1,GD=!1,UI=!1;function lH(e){for(var n=Tv(k_);n!==null;){if(n.callback===null)Ax(k_);else if(n.startTime<=e)Ax(k_),n.sortIndex=n.expirationTime,uH(X0,n);else break;n=Tv(k_)}}function cH(e){if(UI=!1,lH(e),!GD)if(Tv(X0)!==null)GD=!0,yR(sH);else{var n=Tv(k_);n!==null&&PI(cH,n.startTime-e)}}function sH(e,n){GD=!1,UI&&(UI=!1,Fx()),Lx=!0;var t=il;try{for(lH(n),df=Tv(X0);df!==null&&(!(df.expirationTime>n)||e&&!yr.unstable_shouldYield());){var a=df.callback;if(typeof a=="function"){df.callback=null,il=df.priorityLevel;var r=a(df.expirationTime<=n);n=yr.unstable_now(),typeof r=="function"?df.callback=r:df===Tv(X0)&&Ax(X0),lH(n)}else Ax(X0);df=Tv(X0)}if(df!==null)var o=!0;else{var i=Tv(k_);i!==null&&PI(cH,i.startTime-n),o=!1}return o}finally{df=null,il=t,Lx=!1}}var ffn=eH;yr.unstable_IdlePriority=5;yr.unstable_ImmediatePriority=1;yr.unstable_LowPriority=4;yr.unstable_NormalPriority=3;yr.unstable_Profiling=null;yr.unstable_UserBlockingPriority=2;yr.unstable_cancelCallback=function(e){e.callback=null};yr.unstable_continueExecution=function(){GD||Lx||(GD=!0,yR(sH))};yr.unstable_getCurrentPriorityLevel=function(){return il};yr.unstable_getFirstCallbackNode=function(){return Tv(X0)};yr.unstable_next=function(e){switch(il){case 1:case 2:case 3:var n=3;break;default:n=il}var t=il;il=n;try{return e()}finally{il=t}};yr.unstable_pauseExecution=function(){};yr.unstable_requestPaint=ffn;yr.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=il;il=e;try{return n()}finally{il=t}};yr.unstable_scheduleCallback=function(e,n,t){var a=yr.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0a?(e.sortIndex=t,uH(k_,e),Tv(X0)===null&&e===Tv(k_)&&(UI?Fx():UI=!0,PI(cH,t-a))):(e.sortIndex=r,uH(X0,e),GD||Lx||(GD=!0,yR(sH))),e};yr.unstable_wrapCallback=function(e){var n=il;return function(){var t=il;il=n;try{return e.apply(this,arguments)}finally{il=t}}}});var ZDe=_e((cKa,XDe)=>{"use strict";XDe.exports=YDe()});var Obe=_e(bf=>{"use strict";var jx=Tl(),go=P2(),mu=ZDe();function Cn(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;tn}return!1}function Bl(e,n,t,a,r,o,i){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=i}var ju={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ju[e]=new Bl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ju[n]=new Bl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ju[e]=new Bl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ju[e]=new Bl(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ju[e]=new Bl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ju[e]=new Bl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ju[e]=new Bl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ju[e]=new Bl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ju[e]=new Bl(e,5,!1,e.toLowerCase(),null,!1,!1)});var fH=/[\-:]([a-z])/g;function vH(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(fH,vH);ju[n]=new Bl(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(fH,vH);ju[n]=new Bl(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(fH,vH);ju[n]=new Bl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ju[e]=new Bl(e,1,!1,e.toLowerCase(),null,!1,!1)});ju.xlinkHref=new Bl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ju[e]=new Bl(e,1,!1,e.toLowerCase(),null,!0,!0)});function pH(e,n,t,a){var r=ju.hasOwnProperty(n)?ju[n]:null,o=r!==null?r.type===0:a?!1:!(!(2u||r[i]!==o[u])return` `+r[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{wH=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?$I(e):""}function _fn(e){switch(e.tag){case 5:return $I(e.type);case 16:return $I("Lazy");case 13:return $I("Suspense");case 19:return $I("SuspenseList");case 0:case 2:case 15:return e=kx(e.type,!1),e;case 11:return e=kx(e.type.render,!1),e;case 22:return e=kx(e.type._render,!1),e;case 1:return e=kx(e.type,!0),e;default:return""}}function wR(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case U_:return"Fragment";case LD:return"Portal";case JI:return"Profiler";case mH:return"StrictMode";case qI:return"Suspense";case Px:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _H:return(e.displayName||"Context")+".Consumer";case dH:return(e._context.displayName||"Context")+".Provider";case Nx:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case Ox:return wR(e.type);case gH:return wR(e._render);case hH:n=e._payload,e=e._init;try{return wR(e(n))}catch{}}return null}function H_(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function oye(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function hfn(e){var n=oye(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),a=""+e[n];if(!e.hasOwnProperty(n)&&typeof t!="undefined"&&typeof t.get=="function"&&typeof t.set=="function"){var r=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return r.call(this)},set:function(i){a=""+i,o.call(this,i)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Ux(e){e._valueTracker||(e._valueTracker=hfn(e))}function iye(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=oye(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function Hx(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch{return e.body}}function SH(e,n){var t=n.checked;return go({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function uye(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=H_(n.value!=null?n.value:t),e._wrapperState={initialChecked:a,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function lye(e,n){n=n.checked,n!=null&&pH(e,"checked",n,!1)}function EH(e,n){lye(e,n);var t=H_(n.value),a=n.type;if(t!=null)a==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?CH(e,n.type,t):n.hasOwnProperty("defaultValue")&&CH(e,n.type,H_(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function cye(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var a=n.type;if(!(a!=="submit"&&a!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function CH(e,n,t){(n!=="number"||Hx(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function gfn(e){var n="";return jx.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function IH(e,n){return e=go({children:void 0},n),(n=gfn(n.children))&&(e.children=n),e}function SR(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r=t.length))throw Error(Cn(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:H_(t)}}function fye(e,n){var t=H_(n.value),a=H_(n.defaultValue);t!=null&&(t=""+t,t!==e.value&&(e.value=t),n.defaultValue==null&&e.defaultValue!==t&&(e.defaultValue=t)),a!=null&&(e.defaultValue=""+a)}function vye(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var FH={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function pye(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function MH(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?pye(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Bx,mye=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(n,t,a,r){MSApp.execUnsafeLocalFunction(function(){return e(n,t,a,r)})}:e}(function(e,n){if(e.namespaceURI!==FH.svg||"innerHTML"in e)e.innerHTML=n;else{for(Bx=Bx||document.createElement("div"),Bx.innerHTML=""+n.valueOf().toString()+"",n=Bx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function zI(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var VI={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Dfn=["Webkit","ms","Moz","O"];Object.keys(VI).forEach(function(e){Dfn.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),VI[n]=VI[e]})});function dye(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||VI.hasOwnProperty(e)&&VI[e]?(""+n).trim():n+"px"}function _ye(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=dye(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var yfn=go({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function GH(e,n){if(n){if(yfn[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(Cn(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(Cn(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(Cn(61))}if(n.style!=null&&typeof n.style!="object")throw Error(Cn(62))}}function AH(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xH(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var LH=null,ER=null,CR=null;function hye(e){if(e=vT(e)){if(typeof LH!="function")throw Error(Cn(280));var n=e.stateNode;n&&(n=c7(n),LH(e.stateNode,e.type,n))}}function gye(e){ER?CR?CR.push(e):CR=[e]:ER=e}function Dye(){if(ER){var e=ER,n=CR;if(CR=ER=null,hye(e),n)for(e=0;ea?0:1<t;t++)n.push(e);return n}function Qx(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-W_(n),e[n]=t}var W_=Math.clz32?Math.clz32:Nfn,Lfn=Math.log,jfn=Math.LN2;function Nfn(e){return e===0?32:31-(Lfn(e)/jfn|0)|0}var Pfn=mu.unstable_UserBlockingPriority,Ofn=mu.unstable_runWithPriority,Yx=!0;function kfn(e,n,t,a){jD||NH();var r=VH,o=jD;jD=!0;try{yye(r,e,n,t,a)}finally{(jD=o)||OH()}}function Ufn(e,n,t,a){Ofn(Pfn,VH.bind(null,e,n,t,a))}function VH(e,n,t,a){if(Yx){var r;if((r=(n&4)==0)&&0=oT),$ye=String.fromCharCode(32),zye=!1;function Vye(e,n){switch(e){case"keyup":return cvn.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qye(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var AR=!1;function fvn(e,n){switch(e){case"compositionend":return Qye(n);case"keypress":return n.which!==32?null:(zye=!0,$ye);case"textInput":return e=n.data,e===$ye&&zye?null:e;default:return null}}function vvn(e,n){if(AR)return e==="compositionend"||!tB&&Vye(e,n)?(e=Uye(),Xx=YH=$_=null,AR=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=a}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=n1e(t)}}function a1e(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?a1e(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function r1e(){for(var e=window,n=Hx();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Hx(e.document)}return n}function rB(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}var Rvn=Um&&"documentMode"in document&&11>=document.documentMode,xR=null,oB=null,cT=null,iB=!1;function o1e(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;iB||xR==null||xR!==Hx(a)||(a=xR,"selectionStart"in a&&rB(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),cT&&lT(cT,a)||(cT=a,a=o7(oB,"onSelect"),0OR||(e.current=pB[OR],pB[OR]=null,OR--)}function $o(e,n){OR++,pB[OR]=e.current,e.current=n}var Q_={},ul=V_(Q_),bc=V_(!1),OD=Q_;function kR(e,n){var t=e.type.contextTypes;if(!t)return Q_;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===n)return a.__reactInternalMemoizedMaskedChildContext;var r={},o;for(o in t)r[o]=n[o];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=r),r}function Rc(e){return e=e.childContextTypes,e!=null}function s7(){ao(bc),ao(ul)}function y1e(e,n,t){if(ul.current!==Q_)throw Error(Cn(168));$o(ul,n),$o(bc,t)}function b1e(e,n,t){var a=e.stateNode;if(e=n.childContextTypes,typeof a.getChildContext!="function")return t;a=a.getChildContext();for(var r in a)if(!(r in e))throw Error(Cn(108,wR(n)||"Unknown",r));return go({},t,a)}function f7(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Q_,OD=ul.current,$o(ul,e),$o(bc,bc.current),!0}function R1e(e,n,t){var a=e.stateNode;if(!a)throw Error(Cn(169));t?(e=b1e(e,n,OD),a.__reactInternalMemoizedMergedChildContext=e,ao(bc),ao(ul),$o(ul,e)):ao(bc),$o(bc,t)}var mB=null,kD=null,Evn=mu.unstable_runWithPriority,dB=mu.unstable_scheduleCallback,_B=mu.unstable_cancelCallback,Cvn=mu.unstable_shouldYield,w1e=mu.unstable_requestPaint,hB=mu.unstable_now,Ivn=mu.unstable_getCurrentPriorityLevel,v7=mu.unstable_ImmediatePriority,S1e=mu.unstable_UserBlockingPriority,E1e=mu.unstable_NormalPriority,C1e=mu.unstable_LowPriority,I1e=mu.unstable_IdlePriority,gB={},Tvn=w1e!==void 0?w1e:function(){},Hm=null,p7=null,DB=!1,T1e=hB(),ll=1e4>T1e?hB:function(){return hB()-T1e};function UR(){switch(Ivn()){case v7:return 99;case S1e:return 98;case E1e:return 97;case C1e:return 96;case I1e:return 95;default:throw Error(Cn(332))}}function F1e(e){switch(e){case 99:return v7;case 98:return S1e;case 97:return E1e;case 96:return C1e;case 95:return I1e;default:throw Error(Cn(332))}}function UD(e,n){return e=F1e(e),Evn(e,n)}function pT(e,n,t){return e=F1e(e),dB(e,n,t)}function K0(){if(p7!==null){var e=p7;p7=null,_B(e)}M1e()}function M1e(){if(!DB&&Hm!==null){DB=!0;var e=0;try{var n=Hm;UD(99,function(){for(;ek?(K=T,T=null):K=T.sibling;var oe=v(h,T,S[k],M);if(oe===null){T===null&&(T=K);break}e&&T&&oe.alternate===null&&n(h,T),g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe,T=K}if(k===S.length)return t(h,T),P;if(T===null){for(;kk?(K=T,T=null):K=T.sibling;var Te=v(h,T,oe.value,M);if(Te===null){T===null&&(T=K);break}e&&T&&Te.alternate===null&&n(h,T),g=o(Te,g,k),O===null?P=Te:O.sibling=Te,O=Te,T=K}if(oe.done)return t(h,T),P;if(T===null){for(;!oe.done;k++,oe=S.next())oe=f(h,oe.value,M),oe!==null&&(g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe);return P}for(T=a(h,T);!oe.done;k++,oe=S.next())oe=p(T,h,k,oe.value,M),oe!==null&&(e&&oe.alternate!==null&&T.delete(oe.key===null?k:oe.key),g=o(oe,g,k),O===null?P=oe:O.sibling=oe,O=oe);return e&&T.forEach(function(we){return n(h,we)}),P}return function(h,g,S,M){var P=typeof S=="object"&&S!==null&&S.type===U_&&S.key===null;P&&(S=S.props.children);var O=typeof S=="object"&&S!==null;if(O)switch(S.$$typeof){case BI:e:{for(O=S.key,P=g;P!==null;){if(P.key===O){switch(P.tag){case 7:if(S.type===U_){t(h,P.sibling),g=r(P,S.props.children),g.return=h,h=g;break e}break;default:if(P.elementType===S.type){t(h,P.sibling),g=r(P,S.props),g.ref=dT(h,P,S),g.return=h,h=g;break e}}t(h,P);break}else n(h,P);P=P.sibling}S.type===U_?(g=YR(S.props.children,h.mode,M,S.key),g.return=h,h=g):(M=O7(S.type,S.key,S.props,null,h.mode,M),M.ref=dT(h,g,S),M.return=h,h=M)}return i(h);case LD:e:{for(P=S.key;g!==null;){if(g.key===P)if(g.tag===4&&g.stateNode.containerInfo===S.containerInfo&&g.stateNode.implementation===S.implementation){t(h,g.sibling),g=r(g,S.children||[]),g.return=h,h=g;break e}else{t(h,g);break}else n(h,g);g=g.sibling}g=iJ(S,h.mode,M),g.return=h,h=g}return i(h)}if(typeof S=="string"||typeof S=="number")return S=""+S,g!==null&&g.tag===6?(t(h,g.sibling),g=r(g,S),g.return=h,h=g):(t(h,g),g=oJ(S,h.mode,M),g.return=h,h=g),i(h);if(D7(S))return d(h,g,S,M);if(WI(S))return y(h,g,S,M);if(O&&y7(h,S),typeof S=="undefined"&&!P)switch(h.tag){case 1:case 22:case 0:case 11:case 15:throw Error(Cn(152,wR(h.type)||"Component"))}return t(h,g)}}var b7=k1e(!0),U1e=k1e(!1),_T={},ep=V_(_T),hT=V_(_T),gT=V_(_T);function HD(e){if(e===_T)throw Error(Cn(174));return e}function SB(e,n){switch($o(gT,n),$o(hT,e),$o(ep,_T),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:MH(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=MH(n,e)}ao(ep),$o(ep,n)}function JR(){ao(ep),ao(hT),ao(gT)}function H1e(e){HD(gT.current);var n=HD(ep.current),t=MH(n,e.type);n!==t&&($o(hT,e),$o(ep,t))}function EB(e){hT.current===e&&(ao(ep),ao(hT))}var zo=V_(0);function R7(e){for(var n=e;n!==null;){if(n.tag===13){var t=n.memoizedState;if(t!==null&&(t=t.dehydrated,t===null||t.data==="$?"||t.data==="$!"))return n}else if(n.tag===19&&n.memoizedProps.revealOrder!==void 0){if((n.flags&64)!=0)return n}else if(n.child!==null){n.child.return=n,n=n.child;continue}if(n===e)break;for(;n.sibling===null;){if(n.return===null||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}return null}var Bm=null,K_=null,np=!1;function B1e(e,n){var t=yf(5,null,null,0);t.elementType="DELETED",t.type="DELETED",t.stateNode=n,t.return=e,t.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=t,e.lastEffect=t):e.firstEffect=e.lastEffect=t}function J1e(e,n){switch(e.tag){case 5:var t=e.type;return n=n.nodeType!==1||t.toLowerCase()!==n.nodeName.toLowerCase()?null:n,n!==null?(e.stateNode=n,!0):!1;case 6:return n=e.pendingProps===""||n.nodeType!==3?null:n,n!==null?(e.stateNode=n,!0):!1;case 13:return!1;default:return!1}}function CB(e){if(np){var n=K_;if(n){var t=n;if(!J1e(e,n)){if(n=jR(t.nextSibling),!n||!J1e(e,n)){e.flags=e.flags&-1025|2,np=!1,Bm=e;return}B1e(Bm,t)}Bm=e,K_=jR(n.firstChild)}else e.flags=e.flags&-1025|2,np=!1,Bm=e}}function q1e(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Bm=e}function w7(e){if(e!==Bm)return!1;if(!np)return q1e(e),np=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!sB(n,e.memoizedProps))for(n=K_;n;)B1e(e,n),n=jR(n.nextSibling);if(q1e(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(Cn(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){K_=jR(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}K_=null}}else K_=Bm?jR(e.stateNode.nextSibling):null;return!0}function IB(){K_=Bm=null,np=!1}var qR=[];function TB(){for(var e=0;eo))throw Error(Cn(301));o+=1,Nu=cl=null,n.updateQueue=null,DT.current=xvn,e=t(a,r)}while(bT)}if(DT.current=T7,n=cl!==null&&cl.next!==null,yT=0,Nu=cl=ci=null,S7=!1,n)throw Error(Cn(300));return e}function BD(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Nu===null?ci.memoizedState=Nu=e:Nu=Nu.next=e,Nu}function JD(){if(cl===null){var e=ci.alternate;e=e!==null?e.memoizedState:null}else e=cl.next;var n=Nu===null?ci.memoizedState:Nu.next;if(n!==null)Nu=n,cl=e;else{if(e===null)throw Error(Cn(310));cl=e,e={memoizedState:cl.memoizedState,baseState:cl.baseState,baseQueue:cl.baseQueue,queue:cl.queue,next:null},Nu===null?ci.memoizedState=Nu=e:Nu=Nu.next=e}return Nu}function tp(e,n){return typeof n=="function"?n(e):n}function RT(e){var n=JD(),t=n.queue;if(t===null)throw Error(Cn(311));t.lastRenderedReducer=e;var a=cl,r=a.baseQueue,o=t.pending;if(o!==null){if(r!==null){var i=r.next;r.next=o.next,o.next=i}a.baseQueue=r=o,t.pending=null}if(r!==null){r=r.next,a=a.baseState;var u=i=o=null,l=r;do{var c=l.lane;if((yT&c)===c)u!==null&&(u=u.next={lane:0,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),a=l.eagerReducer===e?l.eagerState:e(a,l.action);else{var s={lane:c,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};u===null?(i=u=s,o=a):u=u.next=s,ci.lanes|=c,CT|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,_f(a,n.memoizedState)||(Mv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function wT(e){var n=JD(),t=n.queue;if(t===null)throw Error(Cn(311));t.lastRenderedReducer=e;var a=t.dispatch,r=t.pending,o=n.memoizedState;if(r!==null){t.pending=null;var i=r=r.next;do o=e(o,i.action),i=i.next;while(i!==r);_f(o,n.memoizedState)||(Mv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function W1e(e,n,t){var a=n._getVersion;a=a(n._source);var r=n._workInProgressVersionPrimary;if(r!==null?e=r===a:(e=e.mutableReadLanes,(e=(yT&e)===e)&&(n._workInProgressVersionPrimary=a,qR.push(n))),e)return t(n._source);throw qR.push(n),Error(Cn(350))}function $1e(e,n,t,a){var r=Jl;if(r===null)throw Error(Cn(349));var o=n._getVersion,i=o(n._source),u=DT.current,l=u.useState(function(){return W1e(r,n,t)}),c=l[1],s=l[0];l=Nu;var f=e.memoizedState,v=f.refs,p=v.getSnapshot,d=f.source;f=f.subscribe;var y=ci;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var h=o(n._source);if(!_f(i,h)){h=t(n._source),_f(s,h)||(c(h),h=nh(y),r.mutableReadLanes|=h&r.pendingLanes),h=r.mutableReadLanes,r.entangledLanes|=h;for(var g=r.entanglements,S=h;0t?98:t,function(){e(!0)}),UD(97<\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=i.createElement(t,{is:a.is}):(e=i.createElement(t),t==="select"&&(i=e,a.multiple?i.multiple=!0:a.size&&(i.size=a.size))):e=i.createElementNS(e,t),e[z_]=n,e[l7]=a,pbe(e,n,!1,!1),n.stateNode=e,i=AH(t,a),t){case"dialog":to("cancel",e),to("close",e),r=a;break;case"iframe":case"object":case"embed":to("load",e),r=a;break;case"video":case"audio":for(r=0;rYB&&(n.flags|=64,o=!0,ET(a,!1),n.lanes=33554432)}else{if(!o)if(e=R7(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),ET(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!np)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*ll()-a.renderingStartTime>YB&&t!==1073741824&&(n.flags|=64,o=!0,ET(a,!1),n.lanes=33554432);a.isBackwards?(i.sibling=n.child,n.child=i):(t=a.last,t!==null?t.sibling=i:n.child=i,a.last=i)}return a.tail!==null?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.lastEffect=n.lastEffect,a.renderingStartTime=ll(),t.sibling=null,n=zo.current,$o(zo,o?n&1|2:n&1),t):null;case 23:case 24:return tJ(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(Cn(156,n.tag))}function Nvn(e){switch(e.tag){case 1:Rc(e.type)&&s7();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(JR(),ao(bc),ao(ul),TB(),n=e.flags,(n&64)!=0)throw Error(Cn(285));return e.flags=n&-4097|64,e;case 5:return EB(e),null;case 13:return ao(zo),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return ao(zo),null;case 4:return JR(),null;case 10:return bB(e),null;case 23:case 24:return tJ(),null;default:return null}}function UB(e,n){try{var t="",a=n;do t+=_fn(a),a=a.return;while(a);var r=t}catch(o){r=` Error generating stack: `+o.message+` `+o.stack}return{value:e,source:n,stack:r}}function HB(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var Pvn=typeof WeakMap=="function"?WeakMap:Map;function _be(e,n,t){t=X_(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){A7||(A7=!0,XB=a),HB(e,n)},t}function hbe(e,n,t){t=X_(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return HB(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(ap===null?ap=new Set([this]):ap.add(this),HB(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var Ovn=typeof WeakSet=="function"?WeakSet:Set;function gbe(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){rh(e,t)}else n.current=null}function kvn(e,n){switch(n.tag){case 0:case 11:case 15:case 22:return;case 1:if(n.flags&256&&e!==null){var t=e.memoizedProps,a=e.memoizedState;e=n.stateNode,n=e.getSnapshotBeforeUpdate(n.elementType===n.type?t:Fv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&fB(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(Cn(163))}function Uvn(e,n,t){switch(t.tag){case 0:case 11:case 15:case 22:if(n=t.updateQueue,n=n!==null?n.lastEffect:null,n!==null){e=n=n.next;do{if((e.tag&3)==3){var a=e.create;e.destroy=a()}e=e.next}while(e!==n)}if(n=t.updateQueue,n=n!==null?n.lastEffect:null,n!==null){e=n=n.next;do{var r=e;a=r.next,r=r.tag,(r&4)!=0&&(r&1)!=0&&(xbe(t,e),Vvn(t,e)),e=a}while(e!==n)}return;case 1:e=t.stateNode,t.flags&4&&(n===null?e.componentDidMount():(a=t.elementType===t.type?n.memoizedProps:Fv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&L1e(t,n,e);return;case 3:if(n=t.updateQueue,n!==null){if(e=null,t.child!==null)switch(t.child.tag){case 5:e=t.child.stateNode;break;case 1:e=t.child.stateNode}L1e(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&d1e(t.type,t.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:t.memoizedState===null&&(t=t.alternate,t!==null&&(t=t.memoizedState,t!==null&&(t=t.dehydrated,t!==null&&Aye(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(Cn(163))}function Dbe(e,n){for(var t=e;;){if(t.tag===5){var a=t.stateNode;if(n)a=a.style,typeof a.setProperty=="function"?a.setProperty("display","none","important"):a.display="none";else{a=t.stateNode;var r=t.memoizedProps.style;r=r!=null&&r.hasOwnProperty("display")?r.display:null,a.style.display=dye("display",r)}}else if(t.tag===6)t.stateNode.nodeValue=n?"":t.memoizedProps;else if((t.tag!==23&&t.tag!==24||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return;t=t.return}t.sibling.return=t.return,t=t.sibling}}function ybe(e,n){if(kD&&typeof kD.onCommitFiberUnmount=="function")try{kD.onCommitFiberUnmount(mB,n)}catch{}switch(n.tag){case 0:case 11:case 14:case 15:case 22:if(e=n.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var t=e=e.next;do{var a=t,r=a.destroy;if(a=a.tag,r!==void 0)if((a&4)!=0)xbe(n,t);else{a=n;try{r()}catch(o){rh(a,o)}}t=t.next}while(t!==e)}break;case 1:if(gbe(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){rh(n,o)}break;case 5:gbe(n);break;case 4:Sbe(e,n)}}function bbe(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Rbe(e){return e.tag===5||e.tag===3||e.tag===4}function wbe(e){e:{for(var n=e.return;n!==null;){if(Rbe(n))break e;n=n.return}throw Error(Cn(160))}var t=n;switch(n=t.stateNode,t.tag){case 5:var a=!1;break;case 3:n=n.containerInfo,a=!0;break;case 4:n=n.containerInfo,a=!0;break;default:throw Error(Cn(161))}t.flags&16&&(zI(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Rbe(t.return)){t=null;break e}t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue n;t.child.return=t,t=t.child}if(!(t.flags&2)){t=t.stateNode;break e}}a?BB(e,t,n):JB(e,t,n)}function BB(e,n,t){var a=e.tag,r=a===5||a===6;if(r)e=r?e.stateNode:e.stateNode.instance,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=i7));else if(a!==4&&(e=e.child,e!==null))for(BB(e,n,t),e=e.sibling;e!==null;)BB(e,n,t),e=e.sibling}function JB(e,n,t){var a=e.tag,r=a===5||a===6;if(r)e=r?e.stateNode:e.stateNode.instance,n?t.insertBefore(e,n):t.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(JB(e,n,t),e=e.sibling;e!==null;)JB(e,n,t),e=e.sibling}function Sbe(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(Cn(160));switch(r=a.stateNode,a.tag){case 5:o=!1;break e;case 3:r=r.containerInfo,o=!0;break e;case 4:r=r.containerInfo,o=!0;break e}a=a.return}a=!0}if(t.tag===5||t.tag===6){e:for(var i=e,u=t,l=u;;)if(ybe(i,l),l.child!==null&&l.tag!==4)l.child.return=l,l=l.child;else{if(l===u)break e;for(;l.sibling===null;){if(l.return===null||l.return===u)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}o?(i=r,u=t.stateNode,i.nodeType===8?i.parentNode.removeChild(u):i.removeChild(u)):r.removeChild(t.stateNode)}else if(t.tag===4){if(t.child!==null){r=t.stateNode.containerInfo,o=!0,t.child.return=t,t=t.child;continue}}else if(ybe(e,t),t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return,t.tag===4&&(a=!1)}t.sibling.return=t.return,t=t.sibling}}function qB(e,n){switch(n.tag){case 0:case 11:case 14:case 15:case 22:var t=n.updateQueue;if(t=t!==null?t.lastEffect:null,t!==null){var a=t=t.next;do(a.tag&3)==3&&(e=a.destroy,a.destroy=void 0,e!==void 0&&e()),a=a.next;while(a!==t)}return;case 1:return;case 5:if(t=n.stateNode,t!=null){a=n.memoizedProps;var r=e!==null?e.memoizedProps:a;e=n.type;var o=n.updateQueue;if(n.updateQueue=null,o!==null){for(t[l7]=a,e==="input"&&a.type==="radio"&&a.name!=null&&lye(t,a),AH(e,r),n=AH(e,a),r=0;rr&&(r=i),t&=~o}if(t=r,t=ll()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*Bvn(t/1960))-t,10 component higher in the tree to provide a loading indicator or placeholder to display.`)}Pu!==5&&(Pu=2),l=UB(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var O=_be(v,o,n);x1e(v,O);break e;case 1:o=l;var T=v.type,k=v.stateNode;if((v.flags&64)==0&&(typeof T.getDerivedStateFromError=="function"||k!==null&&typeof k.componentDidCatch=="function"&&(ap===null||!ap.has(k)))){v.flags|=4096,n&=-n,v.lanes|=n;var K=hbe(v,o,n);x1e(v,K);break e}}v=v.return}while(v!==null)}Abe(t)}catch(oe){n=oe,zi===t&&t!==null&&(zi=t=t.return);continue}break}while(1)}function Mbe(){var e=M7.current;return M7.current=T7,e===null?T7:e}function GT(e,n){var t=Kt;Kt|=16;var a=Mbe();Jl===e&&sl===n||QR(e,n);do try{qvn();break}catch(r){Fbe(e,r)}while(1);if(yB(),Kt=t,M7.current=a,zi!==null)throw Error(Cn(261));return Jl=null,sl=0,Pu}function qvn(){for(;zi!==null;)Gbe(zi)}function Wvn(){for(;zi!==null&&!Cvn();)Gbe(zi)}function Gbe(e){var n=jbe(e.alternate,e,qD);e.memoizedProps=e.pendingProps,n===null?Abe(e):zi=n,WB.current=null}function Abe(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=jvn(t,n,qD),t!==null){zi=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||(qD&1073741824)!=0||(t.mode&4)==0){for(var a=0,r=t.child;r!==null;)a|=r.lanes|r.childLanes,r=r.sibling;t.childLanes=a}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=n.firstEffect),n.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=n.firstEffect),e.lastEffect=n.lastEffect),1i&&(u=i,i=O,O=u),u=t1e(S,O),o=t1e(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(M=M.createRange(),M.setStart(u.node,u.offset),P.removeAllRanges(),O>i?(P.addRange(M),P.extend(o.node,o.offset)):(M.setEnd(o.node,o.offset),P.addRange(M)))))),M=[],P=S;P=P.parentNode;)P.nodeType===1&&M.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;Sll()-QB?QR(e,0):zB|=t),Df(e,n)}function Xvn(e,n){var t=e.stateNode;t!==null&&t.delete(n),n=0,n===0&&(n=e.mode,(n&2)==0?n=1:(n&4)==0?n=UR()===99?1:2:(Wm===0&&(Wm=WR),n=MR(62914560&~Wm),n===0&&(n=4194304))),t=ys(),e=N7(e,n),e!==null&&(Qx(e,n,t),Df(e,t))}var jbe;jbe=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||bc.current)Mv=!0;else if((t&a)!=0)Mv=(e.flags&16384)!=0;else{switch(Mv=!1,n.tag){case 3:ibe(n),IB();break;case 5:H1e(n);break;case 1:Rc(n.type)&&f7(n);break;case 4:SB(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;$o(m7,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?ube(e,n,t):($o(zo,zo.current&1),n=Jm(e,n,t),n!==null?n.sibling:null);$o(zo,zo.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return vbe(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),$o(zo,zo.current),a)break;return null;case 23:case 24:return n.lanes=0,jB(e,n,t)}return Jm(e,n,t)}else Mv=!1;switch(n.lanes=0,n.tag){case 2:if(a=n.type,e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,r=kR(n,ul.current),BR(n,t),r=MB(null,n,a,e,r,t),n.flags|=1,typeof r=="object"&&r!==null&&typeof r.render=="function"&&r.$$typeof===void 0){if(n.tag=1,n.memoizedState=null,n.updateQueue=null,Rc(a)){var o=!0;f7(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,RB(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&h7(n,a,i,e),r.updater=g7,n.stateNode=r,r._reactInternals=n,wB(n,a,e,t),n=PB(null,n,a,!0,o,t)}else n.tag=0,Sc(null,n,r,t),n=n.child;return n;case 16:r=n.elementType;e:{switch(e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),e=n.pendingProps,o=r._init,r=o(r._payload),n.type=r,o=n.tag=Kvn(r),e=Fv(r,e),o){case 0:n=NB(null,n,r,e,t);break e;case 1:n=obe(null,n,r,e,t);break e;case 11:n=nbe(null,n,r,e,t);break e;case 14:n=tbe(null,n,r,Fv(r.type,e),a,t);break e}throw Error(Cn(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:Fv(a,r),NB(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:Fv(a,r),obe(e,n,a,r,t);case 3:if(ibe(n),a=n.updateQueue,e===null||a===null)throw Error(Cn(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,A1e(e,n),mT(n,a,null,t),a=n.memoizedState.element,a===r)IB(),n=Jm(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(K_=jR(n.stateNode.containerInfo.firstChild),Bm=n,o=np=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r{"use strict";function kbe(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kbe)}catch(e){console.error(e)}}kbe(),Ube.exports=Obe()});var $D=_e(vJ=>{"use strict";Object.defineProperty(vJ,"__esModule",{value:!0});var sJ=Object.assign||function(e){for(var n=1;n=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function l0n(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function c0n(e,n){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n&&(typeof n=="object"||typeof n=="function")?n:e}function s0n(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof n);e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),n&&(Object.setPrototypeOf?Object.setPrototypeOf(e,n):e.__proto__=n)}var Wbe={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},f0n=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],v0n=function(n){return f0n.forEach(function(t){return delete n[t]}),n},$be=function(n,t){t.style.fontSize=n.fontSize,t.style.fontFamily=n.fontFamily,t.style.fontWeight=n.fontWeight,t.style.fontStyle=n.fontStyle,t.style.letterSpacing=n.letterSpacing,t.style.textTransform=n.textTransform},zbe=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Vbe=function(){return zbe?"_"+Math.random().toString(36).substr(2,12):void 0},fJ=function(e){s0n(n,e),Bbe(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||Vbe(),prevId:o}:null}}]);function n(t){l0n(this,n);var a=c0n(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));return a.inputRef=function(r){a.input=r,typeof a.props.inputRef=="function"&&a.props.inputRef(r)},a.placeHolderSizerRef=function(r){a.placeHolderSizer=r},a.sizerRef=function(r){a.sizer=r},a.state={inputWidth:t.minWidth,inputId:t.id||Vbe(),prevId:t.id},a}return Bbe(n,[{key:"componentDidMount",value:function(){this.mounted=!0,this.copyInputStyles(),this.updateInputWidth()}},{key:"componentDidUpdate",value:function(a,r){r.inputWidth!==this.state.inputWidth&&typeof this.props.onAutosize=="function"&&this.props.onAutosize(this.state.inputWidth),this.updateInputWidth()}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"copyInputStyles",value:function(){if(!(!this.mounted||!window.getComputedStyle)){var a=this.input&&window.getComputedStyle(this.input);!a||($be(a,this.sizer),this.placeHolderSizer&&$be(a,this.placeHolderSizer))}}},{key:"updateInputWidth",value:function(){if(!(!this.mounted||!this.sizer||typeof this.sizer.scrollWidth=="undefined")){var a=void 0;this.props.placeholder&&(!this.props.value||this.props.value&&this.props.placeholderIsMinWidth)?a=Math.max(this.sizer.scrollWidth,this.placeHolderSizer.scrollWidth)+2:a=this.sizer.scrollWidth+2;var r=this.props.type==="number"&&this.props.extraWidth===void 0?16:parseInt(this.props.extraWidth)||0;a+=r,a{(function(e,n){if(typeof define=="function"&&define.amd)define("react-list",["prop-types","react"],n);else if(typeof CJ!="undefined")n(vb(),(Jt(),Pg));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:CJ,function(e,n){"use strict";e=i(e),n=o(n);var t,a;function r(){if(typeof WeakMap!="function")return null;var x=new WeakMap;return r=function(){return x},x}function o(x){if(x&&x.__esModule)return x;if(x===null||u(x)!=="object"&&typeof x!="function")return{default:x};var Y=r();if(Y&&Y.has(x))return Y.get(x);var fe={},he=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in x)if(Object.prototype.hasOwnProperty.call(x,U)){var pe=he?Object.getOwnPropertyDescriptor(x,U):null;pe&&(pe.get||pe.set)?Object.defineProperty(fe,U,pe):fe[U]=x[U]}return fe.default=x,Y&&Y.set(x,fe),fe}function i(x){return x&&x.__esModule?x:{default:x}}function u(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(fe){return typeof fe}:u=function(fe){return fe&&typeof Symbol=="function"&&fe.constructor===Symbol&&fe!==Symbol.prototype?"symbol":typeof fe},u(x)}function l(x,Y){if(!(x instanceof Y))throw new TypeError("Cannot call a class as a function")}function c(x,Y){for(var fe=0;fehe&&(je=he),V=pe==="simple"||!V?0:Math.max(Math.min(V,he-je),0),(He=V%Me)&&(V-=He,je+=He),V===fe.from&&je==fe.size?fe:M(M({},fe),{},{from:V,size:je})};pwe.exports=(a=t=function(x){f(fe,x);var Y=p(fe);s(fe,null,[{key:"getDerivedStateFromProps",value:function(U,pe){var V=z(U,pe);return V===pe?null:V}}]);function fe(he){var U;return l(this,fe),U=Y.call(this,he),U.state=z(he,{itemsPerRow:1,from:he.initialIndex,size:0}),U.cache={},U.cachedScrollPosition=null,U.prevPrevState={},U.unstable=!1,U.updateCounter=0,U}return s(fe,[{key:"componentDidMount",value:function(){this.updateFrameAndClearCache=this.updateFrameAndClearCache.bind(this),window.addEventListener("resize",this.updateFrameAndClearCache),this.updateFrame(this.scrollTo.bind(this,this.props.initialIndex))}},{key:"componentDidUpdate",value:function(U){var pe=this;if(this.props.axis!==U.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>Tn)return this.unstable=!0,console.error(ue);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){pe.updateCounter=0,delete pe.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(U,pe){if(on(this.state,U))return pe();this.setState(U,pe)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Je),this.scrollParent.removeEventListener("mousewheel",Ce,Je)}},{key:"getOffset",value:function(U){var pe=this.props.axis,V=U[T[pe]]||0,je=oe[pe];do V+=U[je]||0;while(U=U.offsetParent);return V}},{key:"getEl",value:function(){return this.el||this.items}},{key:"getScrollPosition",value:function(){if(typeof this.cachedScrollPosition=="number")return this.cachedScrollPosition;var U=this.scrollParent,pe=this.props.axis,V=xe[pe],je=U===window?document.body[V]||document.documentElement[V]:U[V],Me=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(je,Me)),en=this.getEl();return this.cachedScrollPosition=this.getOffset(U)+He-this.getOffset(en),this.cachedScrollPosition}},{key:"setScroll",value:function(U){var pe=this.scrollParent,V=this.props.axis;if(U+=this.getOffset(this.getEl()),pe===window)return window.scrollTo(0,U);U-=this.getOffset(this.scrollParent),pe[xe[V]]=U}},{key:"getScrollSize",value:function(){var U=this.scrollParent,pe=document,V=pe.body,je=pe.documentElement,Me=we[this.props.axis];return U===window?Math.max(V[Me],je[Me]):U[Me]}},{key:"hasDeterminateSize",value:function(){var U=this.props,pe=U.itemSizeGetter,V=U.type;return V==="uniform"||pe}},{key:"getStartAndEnd",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,pe=this.getScrollPosition(),V=Math.max(0,pe-U),je=pe+this.props.scrollParentViewportSizeGetter(this)+U;return this.hasDeterminateSize()&&(je=Math.min(je,this.getSpaceBefore(this.props.length))),{start:V,end:je}}},{key:"getItemSizeAndItemsPerRow",value:function(){var U=this.props,pe=U.axis,V=U.useStaticSize,je=this.state,Me=je.itemSize,He=je.itemsPerRow;if(V&&Me&&He)return{itemSize:Me,itemsPerRow:He};var en=this.items.children;if(!en.length)return{};var Ne=en[0],Fn=Ne[K[pe]],fn=Math.abs(Fn-Me);if((isNaN(fn)||fn>=1)&&(Me=Fn),!Me)return{};var tt=oe[pe],In=Ne[tt];He=1;for(var at=en[He];at&&at[tt]===In;at=en[He])++He;return{itemSize:Me,itemsPerRow:He}}},{key:"clearSizeCache",value:function(){this.cachedScrollPosition=null}},{key:"updateFrameAndClearCache",value:function(U){return this.clearSizeCache(),this.updateFrame(U)}},{key:"updateFrame",value:function(U){switch(this.updateScrollParent(),typeof U!="function"&&(U=Ce),this.props.type){case"simple":return this.updateSimpleFrame(U);case"variable":return this.updateVariableFrame(U);case"uniform":return this.updateUniformFrame(U)}}},{key:"updateScrollParent",value:function(){var U=this.scrollParent;this.scrollParent=this.props.scrollParentGetter(this),U!==this.scrollParent&&(U&&(U.removeEventListener("scroll",this.updateFrameAndClearCache),U.removeEventListener("mousewheel",Ce)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Je),this.scrollParent.addEventListener("mousewheel",Ce,Je))}},{key:"updateSimpleFrame",value:function(U){var pe=this.getStartAndEnd(),V=pe.end,je=this.items.children,Me=0;if(je.length){var He=this.props.axis,en=je[0],Ne=je[je.length-1];Me=this.getOffset(Ne)+Ne[K[He]]-this.getOffset(en)}if(Me>V)return U();var Fn=this.props,fn=Fn.pageSize,tt=Fn.length,In=Math.min(this.state.size+fn,tt);this.maybeSetState({size:In},U)}},{key:"updateVariableFrame",value:function(U){this.props.itemSizeGetter||this.cacheSizes();for(var pe=this.getStartAndEnd(),V=pe.start,je=pe.end,Me=this.props,He=Me.length,en=Me.pageSize,Ne=0,Fn=0,fn=0,tt=He-1;FnV)break;Ne+=In,++Fn}for(var at=He-Fn;fn1&&arguments[1]!==void 0?arguments[1]:{};if(pe[U]!=null)return pe[U];var V=this.state,je=V.itemSize,Me=V.itemsPerRow;if(je)return pe[U]=Math.floor(U/Me)*je;for(var He=U;He>0&&pe[--He]==null;);for(var en=pe[He]||0,Ne=He;Ne=fn&&UHe)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var U=this.state,pe=U.from,V=U.size,je=this.getStartAndEnd(0),Me=je.start,He=je.end,en={},Ne,Fn,fn=pe;fnMe&&(Ne=fn),Ne!=null&&tt{function jpn(e,n){if(e==null)return{};var t={};for(var a in e)if({}.hasOwnProperty.call(e,a)){if(n.indexOf(a)!==-1)continue;t[a]=e[a]}return t}OT.exports=jpn,OT.exports.__esModule=!0,OT.exports.default=OT.exports});var VD=_e((ver,kT)=>{var Npn=dwe();function Ppn(e,n){if(e==null)return{};var t,a,r=Npn(e,n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a{function IJ(){return zm.exports=IJ=Object.assign?Object.assign.bind():function(e){for(var n=1;n{function Opn(e){if(Array.isArray(e))return e}UT.exports=Opn,UT.exports.__esModule=!0,UT.exports.default=UT.exports});var hwe=_e((der,HT)=>{function kpn(e,n){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var a,r,o,i,u=[],l=!0,c=!1;try{if(o=(t=t.call(e)).next,n===0){if(Object(t)!==t)return;l=!1}else for(;!(l=(a=o.call(t)).done)&&(u.push(a.value),u.length!==n);l=!0);}catch(s){c=!0,r=s}finally{try{if(!l&&t.return!=null&&(i=t.return(),Object(i)!==i))return}finally{if(c)throw r}}return u}}HT.exports=kpn,HT.exports.__esModule=!0,HT.exports.default=HT.exports});var TJ=_e((_er,BT)=>{function Upn(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,a=Array(n);t{var gwe=TJ();function Hpn(e,n){if(e){if(typeof e=="string")return gwe(e,n);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?gwe(e,n):void 0}}JT.exports=Hpn,JT.exports.__esModule=!0,JT.exports.default=JT.exports});var Dwe=_e((ger,qT)=>{function Bpn(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}qT.exports=Bpn,qT.exports.__esModule=!0,qT.exports.default=qT.exports});var $T=_e((Der,WT)=>{var Jpn=_we(),qpn=hwe(),Wpn=FJ(),$pn=Dwe();function zpn(e,n){return Jpn(e)||qpn(e,n)||Wpn(e,n)||$pn()}WT.exports=zpn,WT.exports.__esModule=!0,WT.exports.default=WT.exports});var ywe=_e((yer,zT)=>{var Vpn=TJ();function Qpn(e){if(Array.isArray(e))return Vpn(e)}zT.exports=Qpn,zT.exports.__esModule=!0,zT.exports.default=zT.exports});var bwe=_e((ber,VT)=>{function Ypn(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}VT.exports=Ypn,VT.exports.__esModule=!0,VT.exports.default=VT.exports});var Rwe=_e((Rer,QT)=>{function Xpn(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}QT.exports=Xpn,QT.exports.__esModule=!0,QT.exports.default=QT.exports});var XT=_e((wer,YT)=>{var Zpn=ywe(),Kpn=bwe(),emn=FJ(),nmn=Rwe();function tmn(e){return Zpn(e)||Kpn(e)||emn(e)||nmn()}YT.exports=tmn,YT.exports.__esModule=!0,YT.exports.default=YT.exports});var ih=_e((Ser,Vm)=>{function MJ(e){return Vm.exports=MJ=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Vm.exports.__esModule=!0,Vm.exports.default=Vm.exports,MJ(e)}Vm.exports=MJ,Vm.exports.__esModule=!0,Vm.exports.default=Vm.exports});var Swe=_e((Eer,ZT)=>{var wwe=ih().default;function amn(e,n){if(wwe(e)!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var a=t.call(e,n||"default");if(wwe(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(n==="string"?String:Number)(e)}ZT.exports=amn,ZT.exports.__esModule=!0,ZT.exports.default=ZT.exports});var GJ=_e((Cer,KT)=>{var rmn=ih().default,omn=Swe();function imn(e){var n=omn(e,"string");return rmn(n)=="symbol"?n:n+""}KT.exports=imn,KT.exports.__esModule=!0,KT.exports.default=KT.exports});var ZR=_e((Ier,eF)=>{var umn=GJ();function lmn(e,n,t){return(n=umn(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}eF.exports=lmn,eF.exports.__esModule=!0,eF.exports.default=eF.exports});var YD=_e((Ter,nF)=>{function cmn(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}nF.exports=cmn,nF.exports.__esModule=!0,nF.exports.default=nF.exports});var XD=_e((Fer,tF)=>{var smn=GJ();function Ewe(e,n){for(var t=0;t{function vmn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}aF.exports=vmn,aF.exports.__esModule=!0,aF.exports.default=aF.exports});var ZD=_e((Ger,rF)=>{var pmn=LU();function mmn(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&pmn(e,n)}rF.exports=mmn,rF.exports.__esModule=!0,rF.exports.default=rF.exports});var KD=_e((Aer,oF)=>{var dmn=ih().default,_mn=KR();function hmn(e,n){if(n&&(dmn(n)=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return _mn(e)}oF.exports=hmn,oF.exports.__esModule=!0,oF.exports.default=oF.exports});var ey=_e((xer,Qm)=>{function AJ(e){return Qm.exports=AJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},Qm.exports.__esModule=!0,Qm.exports.default=Qm.exports,AJ(e)}Qm.exports=AJ,Qm.exports.__esModule=!0,Qm.exports.default=Qm.exports});var uF=_e((Ler,iF)=>{function gmn(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}iF.exports=gmn,iF.exports.__esModule=!0,iF.exports.default=iF.exports});var lF=_e(ka=>{"use strict";function bs(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var xJ=bs(VD()),Qi=bs(QD()),Ec=bs(ZR()),Cwe=bs(YD()),Iwe=bs(XD()),Twe=bs(ZD()),Dmn=bs(KD()),Fwe=bs(ey()),Q7=Tl(),jer=bs(Q7),ma=km(),ymn=$m(),LJ=bs(ih()),bmn=bs(V0()),Rmn=bs(uF()),wmn=bs($D()),Mwe=function(){};function Smn(e,n){return n?n[0]==="-"?e+n:e+"__"+n:e}function Emn(e,n,t){var a=[t];if(n&&e)for(var r in n)n.hasOwnProperty(r)&&n[r]&&a.push("".concat(Smn(e,r)));return a.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var Cmn=function(e){return Array.isArray(e)?e.filter(Boolean):LJ(e)==="object"&&e!==null?[e]:[]};function Imn(e,n,t){if(t){var a=t(e,n);if(typeof a=="string")return a}return e}function jJ(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Gwe(e){return jJ(e)?window.pageYOffset:e.scrollTop}function Y7(e,n){jJ(e)?window.scrollTo(0,n):e.scrollTop=n}function Tmn(e){var n=getComputedStyle(e),t=n.position==="absolute",a=/(auto|scroll)/,r=document.documentElement;if(n.position==="fixed")return r;for(var o=e;o=o.parentElement;)if(n=getComputedStyle(o),(!t||n.position!=="static")&&a.test(n.overflow+n.overflowY+n.overflowX))return o;return r}function Fmn(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function X7(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Mwe,r=Gwe(e),o=n-r,i=10,u=0;function l(){var c=Fmn(u+=i,r,o,t);Y7(e,c),ut.bottom?Y7(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=p)return{placement:"bottom",maxHeight:n};if(k>=p&&!i)return o&&X7(l,K,160),{placement:"bottom",maxHeight:n};if(!i&&k>=a||i&&O>=a)return o&&X7(l,K,160),{placement:"bottom",maxHeight:i?O-S:k-S};if(r==="auto"||i){var Te=n,we=i?P:T;return we>=a&&(Te=Math.min(we-S-u.controlHeight,n)),{placement:"top",maxHeight:Te}}if(r==="bottom")return Y7(l,K),{placement:"bottom",maxHeight:n};break;case"top":if(P>=p)return{placement:"top",maxHeight:n};if(T>=p&&!i)return o&&X7(l,oe,160),{placement:"top",maxHeight:n};if(!i&&T>=a||i&&P>=a){var xe=n;return(!i&&T>=a||i&&P>=a)&&(xe=i?P-M:T-M),o&&X7(l,oe,160),{placement:"top",maxHeight:xe}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return c}function Nmn(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}var NJ=function(e){return e==="auto"?"bottom":e},Pmn=function(e){var n,t=e.placement,a=e.theme,r=a.borderRadius,o=a.spacing,i=a.colors;return Ec(n={label:"menu"},Nmn(t),"100%"),Ec(n,"backgroundColor",i.neutral0),Ec(n,"borderRadius",r),Ec(n,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Ec(n,"marginBottom",o.menuGutter),Ec(n,"marginTop",o.menuGutter),Ec(n,"position","absolute"),Ec(n,"width","100%"),Ec(n,"zIndex",1),n},jwe=Q7.createContext({getPortalPlacement:null}),Nwe=function(e){Twe(t,e);var n=Lwe(t);function t(){var a;Cwe(this,t);for(var r=arguments.length,o=new Array(r),i=0;i{"use strict";function Cc(e){return e&&typeof e=="object"&&"default"in e?e.default:e}for(Z7=Cc(VD()),Vo=Cc(QD()),HJ=Cc($T()),nSe=Cc(XT()),K7=Cc(ZR()),ew=Cc(YD()),nw=Cc(XD()),BJ=Cc(KR()),tw=Cc(ZD()),aw=Cc(KD()),Gv=Cc(ey()),ny=Tl(),za=Cc(ny),JJ=Cc(DR()),ty=km(),tSe=$m(),Ua=lF(),aSe=Cc(V0()),e5=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],rSe=new RegExp("["+e5.map(function(e){return e.letters}).join("")+"]","g"),qJ={},n5=0;n5-1}},Ldn={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},jdn=function(e){return ty.jsx("span",Vo({css:Ldn},e))};function Ndn(e){e.in,e.out,e.onExited,e.appear,e.enter,e.exit;var n=e.innerRef,t=(e.emotion,Z7(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]));return ty.jsx("input",Vo({ref:n},t,{css:aSe({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function Pdn(e){var n=Odn();return function(){var t,a=Gv(e);if(n){var r=Gv(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return aw(this,t)}}function Odn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var cSe=function(e){tw(t,e);var n=Pdn(t);function t(){return ew(this,t),n.apply(this,arguments)}return nw(t,[{key:"componentDidMount",value:function(){this.props.innerRef(tSe.findDOMNode(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(ny.Component),sSe=["boxSizing","height","overflow","paddingRight","position"],fSe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function vSe(e){e.preventDefault()}function pSe(e){e.stopPropagation()}function mSe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function dSe(){return"ontouchstart"in window||navigator.maxTouchPoints}function kdn(e){var n=Udn();return function(){var t,a=Gv(e);if(n){var r=Gv(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return aw(this,t)}}function Udn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var _Se=!(typeof window=="undefined"||!window.document||!window.document.createElement),cF=0,hSe=function(e){tw(t,e);var n=kdn(t);function t(){var a;ew(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=h-g-y,O=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(p&&p(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=h,O=!0,a.isBottom=!0):!M&&-l>y&&(v&&!a.isTop&&v(u),S.scrollTop=0,O=!0,a.isTop=!0),O&&a.cancelScroll(u)},a.onWheel=function(u){a.handleEventDelta(u,u.deltaY)},a.onTouchStart=function(u){a.touchStart=u.changedTouches[0].clientY},a.onTouchMove=function(u){var l=a.touchStart-u.changedTouches[0].clientY;a.handleEventDelta(u,l)},a.getScrollTarget=function(u){a.scrollTarget=u},a}return nw(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(a){a&&(typeof a.addEventListener=="function"&&a.addEventListener("wheel",this.onWheel,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchstart",this.onTouchStart,!1),typeof a.addEventListener=="function"&&a.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(a){a&&(typeof a.removeEventListener=="function"&&a.removeEventListener("wheel",this.onWheel,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchstart",this.onTouchStart,!1),typeof a.removeEventListener=="function"&&a.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return za.createElement(cSe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(ny.Component);function Vdn(e){var n=e.isEnabled,t=n===void 0||n,a=Z7(e,["isEnabled"]);return t?za.createElement(zdn,a):a.children}var Qdn=function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=n.isSearchable,a=n.isMulti,r=n.label,o=n.isDisabled,i=n.tabSelectsValue;switch(e){case"menu":return"Use Up and Down to choose options".concat(o?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(i?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(r||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(a?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},Ydn=function(e,n){var t=n.value,a=n.isDisabled;if(t)switch(e){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(t,", deselected.");case"select-option":return"option ".concat(t,a?" is disabled. Select another option.":", selected.")}},Xdn=function(e){var n=e.focusedValue,t=e.getOptionLabel,a=e.selectValue;return"value ".concat(t(n)," focused, ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},Zdn=function(e){var n=e.focusedOption,t=e.getOptionLabel,a=e.options;return"option ".concat(t(n)," focused").concat(n.isDisabled?" disabled":"",", ").concat(a.indexOf(n)+1," of ").concat(a.length,".")},Kdn=function(e){var n=e.inputValue,t=e.screenReaderMessage;return"".concat(t).concat(n?" for search term "+n:"",".")},e_n=function(e){return e.label},n_n=function(e){return e.label},t_n=function(e){return e.value},gSe=function(e){return!!e.isDisabled};function DSe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function a_n(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:{},t=a_n({},e);return Object.keys(n).forEach(function(a){e[a]?t[a]=function(r,o){return n[a](e[a](r,o),o)}:t[a]=n[a]}),t}var i_n={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},u_n=4,ySe=4,l_n=38,c_n=2*ySe,s_n={baseUnit:ySe,controlHeight:l_n,menuGutter:c_n},r5={borderRadius:u_n,colors:i_n,spacing:s_n};function bSe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function rw(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=r.props,v=f.closeMenuOnSelect,p=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!p,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(l,{action:c,option:s})},r.selectOption=function(l){var c=r.props,s=c.blurInputOnSelect,f=c.isMulti,v=r.state.selectValue;if(f)if(r.isOptionSelected(l,v)){var p=r.getOptionValue(l);r.setValue(v.filter(function(d){return r.getOptionValue(d)!==p}),"deselect-option",l),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(l)}})}else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue([].concat(nSe(v),[l]),"select-option",l),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue(l,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));s&&r.blurInput()},r.removeValue=function(l){var c=r.state.selectValue,s=r.getOptionValue(l),f=c.filter(function(v){return r.getOptionValue(v)!==s});r.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),r.announceAriaLiveSelection({event:"remove-value",context:{value:l?r.getOptionLabel(l):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var l=r.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:c?r.getOptionLabel(c):""}}),r.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;s5||v>5}},r.onTouchEnd=function(l){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(l.target)&&r.menuListRef&&!r.menuListRef.contains(l.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(l){r.userIsDragging||r.onControlMouseDown(l)},r.onClearIndicatorTouchEnd=function(l){r.userIsDragging||r.onClearIndicatorMouseDown(l)},r.onDropdownIndicatorTouchEnd=function(l){r.userIsDragging||r.onDropdownIndicatorMouseDown(l)},r.handleInputChange=function(l){var c=l.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(c,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(l){var c=r.props,s=c.isSearchable,f=c.isMulti;r.props.onFocus&&r.props.onFocus(l),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(l){r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(l),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(l){r.blockOptionHover||r.state.focusedOption===l||r.setState({focusedOption:l})},r.shouldHideSelectedOptions=function(){var l=r.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},r.onKeyDown=function(l){var c=r.props,s=c.isMulti,f=c.backspaceRemovesValue,v=c.escapeClearsValue,p=c.inputValue,d=c.isClearable,y=c.isDisabled,h=c.menuIsOpen,g=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,O=P.focusedOption,T=P.focusedValue,k=P.selectValue;if(!(y||typeof g=="function"&&(g(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||p)return;r.focusValue("previous");break;case"ArrowRight":if(!s||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)r.removeValue(T);else{if(!f)return;s?r.popValue():d&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!h||!S||!O||M&&r.isOptionSelected(O,k))return;r.selectOption(O);break;case"Enter":if(l.keyCode===229)break;if(h){if(!O||r.isComposing)return;r.selectOption(O);break}return;case"Escape":h?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):d&&v&&r.clearValue();break;case" ":if(p)return;if(!h){r.openMenu("first");break}if(!O)return;r.selectOption(O);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)return;r.focusOption("last");break;default:return}l.preventDefault()}},r.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,v=l.options,p=function(d,y){var h=r.isOptionDisabled(d,c),g=r.isOptionSelected(d,c),S=r.getOptionLabel(d),M=r.getOptionValue(d);if(!(r.shouldHideSelectedOptions()&&g||!r.filterOption({label:S,value:M,data:d},f))){var P=h?void 0:function(){return r.onOptionHover(d)},O=h?void 0:function(){return r.selectOption(d)},T="".concat(r.getElementId("option"),"-").concat(y);return{innerProps:{id:T,onClick:O,onMouseMove:P,onMouseOver:P,tabIndex:-1},data:d,isDisabled:h,isSelected:g,key:T,label:S,type:"option",value:M}}};return v.reduce(function(d,y,h){if(y.options){r.hasGroups||(r.hasGroups=!0);var g=y.options.map(function(P,O){var T=p(P,"".concat(h,"-").concat(O));return T&&d.focusable.push(P),T}).filter(Boolean);if(g.length){var S="".concat(r.getElementId("group"),"-").concat(h);d.render.push({type:"group",key:S,data:y,options:g})}}else{var M=p(y,"".concat(h));M&&(d.render.push(M),d.focusable.push(y))}return d},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=JJ(r.cacheComponents,Ua.exportedEqual).bind(BJ(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++p_n);var i=Ua.cleanValue(o);r.buildMenuOptions=JJ(r.buildMenuOptions,function(l,c){var s=HJ(l,2),f=s[0],v=s[1],p=HJ(c,2),d=p[0];return v===p[1]&&f.inputValue===d.inputValue&&f.options===d.options}).bind(BJ(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return nw(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(a){var r=this.props,o=r.options,i=r.value,u=r.menuIsOpen,l=r.inputValue;if(this.cacheComponents(a.components),a.value!==i||a.options!==o||a.menuIsOpen!==u||a.inputValue!==l){var c=Ua.cleanValue(a.value),s=a.menuIsOpen?this.buildMenuOptions(a,c):{render:[],focusable:[]},f=this.getNextFocusedValue(c),v=this.getNextFocusedOption(s.focusable);this.setState({menuOptions:s,selectValue:c,focusedOption:v,focusedValue:f})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(a){var r=this.props,o=r.isDisabled,i=r.menuIsOpen,u=this.state.isFocused;(u&&!o&&a.isDisabled||u&&i&&!a.menuIsOpen)&&this.focusInput(),u&&o&&!a.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Ua.scrollIntoView(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var a=this.props,r=a.isSearchable,o=a.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:r,isMulti:o}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(a,r){this.props.onInputChange(a,r)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(a){var r=this,o=this.state,i=o.selectValue,u=o.isFocused,l=this.buildMenuOptions(this.props,i),c=this.props,s=c.isMulti,f=c.tabSelectsValue,v=a==="first"?0:l.focusable.length-1;if(!s){var p=l.focusable.indexOf(i[0]);p>-1&&(v=p)}this.scrollToFocusedOptionOnUpdate=!(u&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:l,focusedValue:null,focusedOption:l.focusable[v]},function(){r.onMenuOpen(),r.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:f}})})}},{key:"focusValue",value:function(a){var r=this.props,o=r.isMulti,i=r.isSearchable,u=this.state,l=u.selectValue,c=u.focusedValue;if(o){this.setState({focusedOption:null});var s=l.indexOf(c);c||(s=-1,this.announceAriaLiveContext({event:"value"}));var f=l.length-1,v=-1;if(l.length){switch(a){case"previous":v=s===0?0:s===-1?f:s-1;break;case"next":s>-1&&s0&&arguments[0]!==void 0?arguments[0]:"first",r=this.props,o=r.pageSize,i=r.tabSelectsValue,u=this.state,l=u.focusedOption,c=u.menuOptions,s=c.focusable;if(s.length){var f=0,v=s.indexOf(l);l||(v=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:i}})),a==="up"?f=v>0?v-1:s.length-1:a==="down"?f=(v+1)%s.length:a==="pageup"?(f=v-o)<0&&(f=0):a==="pagedown"?(f=v+o)>s.length-1&&(f=s.length-1):a==="last"&&(f=s.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:s[f],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:gSe(s[f]),tabSelectsValue:i}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(r5):rw(rw({},r5),this.props.theme):r5}},{key:"getCommonProps",value:function(){var a=this.clearValue,r=this.cx,o=this.getStyles,i=this.getValue,u=this.setValue,l=this.selectOption,c=this.props,s=c.isMulti,f=c.isRtl,v=c.options;return{cx:r,clearValue:a,getStyles:o,getValue:i,hasValue:this.hasValue(),isMulti:s,isRtl:f,options:v,selectOption:l,setValue:u,selectProps:c,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(a){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var r=this.state,o=r.focusedValue,i=r.selectValue.indexOf(o);if(i>-1){if(a.indexOf(o)>-1)return o;if(i-1?r:a[0]}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var a=this.props,r=a.isClearable,o=a.isMulti;return r===void 0?o:r}},{key:"isOptionDisabled",value:function(a,r){return typeof this.props.isOptionDisabled=="function"&&this.props.isOptionDisabled(a,r)}},{key:"isOptionSelected",value:function(a,r){var o=this;if(r.indexOf(a)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(a,r);var i=this.getOptionValue(a);return r.some(function(u){return o.getOptionValue(u)===i})}},{key:"filterOption",value:function(a,r){return!this.props.filterOption||this.props.filterOption(a,r)}},{key:"formatOptionLabel",value:function(a,r){if(typeof this.props.formatOptionLabel=="function"){var o=this.props.inputValue,i=this.state.selectValue;return this.props.formatOptionLabel(a,{context:r,inputValue:o,selectValue:i})}return this.getOptionLabel(a)}},{key:"formatGroupLabel",value:function(a){return this.props.formatGroupLabel(a)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var a=this.state,r=a.ariaLiveContext,o=a.selectValue,i=a.focusedValue,u=a.focusedOption,l=this.props,c=l.options,s=l.menuIsOpen,f=l.inputValue,v=l.screenReaderStatus,p=i?Xdn({focusedValue:i,getOptionLabel:this.getOptionLabel,selectValue:o}):"",d=u&&s?Zdn({focusedOption:u,getOptionLabel:this.getOptionLabel,options:c}):"",y=Kdn({inputValue:f,screenReaderMessage:v({count:this.countOptions()})});return"".concat(p," ").concat(d," ").concat(y," ").concat(r)}},{key:"renderInput",value:function(){var a=this.props,r=a.isDisabled,o=a.isSearchable,i=a.inputId,u=a.inputValue,l=a.tabIndex,c=a.form,s=this.components.Input,f=this.state.inputIsHidden,v=i||this.getElementId("input"),p={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!o)return za.createElement(Ndn,Vo({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Ua.noop,onFocus:this.onInputFocus,readOnly:!0,disabled:r,tabIndex:l,form:c,value:""},p));var d=this.commonProps,y=d.cx,h=d.theme,g=d.selectProps;return za.createElement(s,Vo({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:y,getStyles:this.getStyles,id:v,innerRef:this.getInputRef,isDisabled:r,isHidden:f,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:g,spellCheck:"false",tabIndex:l,form:c,theme:h,type:"text",value:u},p))}},{key:"renderPlaceholderOrValue",value:function(){var a=this,r=this.components,o=r.MultiValue,i=r.MultiValueContainer,u=r.MultiValueLabel,l=r.MultiValueRemove,c=r.SingleValue,s=r.Placeholder,f=this.commonProps,v=this.props,p=v.controlShouldRenderValue,d=v.isDisabled,y=v.isMulti,h=v.inputValue,g=v.placeholder,S=this.state,M=S.selectValue,P=S.focusedValue,O=S.isFocused;if(!this.hasValue()||!p)return h?null:za.createElement(s,Vo({},f,{key:"placeholder",isDisabled:d,isFocused:O}),g);if(y)return M.map(function(k,K){var oe=k===P;return za.createElement(o,Vo({},f,{components:{Container:i,Label:u,Remove:l},isFocused:oe,isDisabled:d,key:"".concat(a.getOptionValue(k)).concat(K),index:K,removeProps:{onClick:function(){return a.removeValue(k)},onTouchEnd:function(){return a.removeValue(k)},onMouseDown:function(Te){Te.preventDefault(),Te.stopPropagation()}},data:k}),a.formatOptionLabel(k,"value"))});if(h)return null;var T=M[0];return za.createElement(c,Vo({},f,{data:T,isDisabled:d}),this.formatOptionLabel(T,"value"))}},{key:"renderClearIndicator",value:function(){var a=this.components.ClearIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,u=o.isLoading,l=this.state.isFocused;if(!this.isClearable()||!a||i||!this.hasValue()||u)return null;var c={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return za.createElement(a,Vo({},r,{innerProps:c,isFocused:l}))}},{key:"renderLoadingIndicator",value:function(){var a=this.components.LoadingIndicator,r=this.commonProps,o=this.props,i=o.isDisabled,u=o.isLoading,l=this.state.isFocused;return!a||!u?null:za.createElement(a,Vo({},r,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:l}))}},{key:"renderIndicatorSeparator",value:function(){var a=this.components,r=a.DropdownIndicator,o=a.IndicatorSeparator;if(!r||!o)return null;var i=this.commonProps,u=this.props.isDisabled,l=this.state.isFocused;return za.createElement(o,Vo({},i,{isDisabled:u,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var a=this.components.DropdownIndicator;if(!a)return null;var r=this.commonProps,o=this.props.isDisabled,i=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return za.createElement(a,Vo({},r,{innerProps:u,isDisabled:o,isFocused:i}))}},{key:"renderMenu",value:function(){var a=this,r=this.components,o=r.Group,i=r.GroupHeading,u=r.Menu,l=r.MenuList,c=r.MenuPortal,s=r.LoadingMessage,f=r.NoOptionsMessage,v=r.Option,p=this.commonProps,d=this.state,y=d.focusedOption,h=d.menuOptions,g=this.props,S=g.captureMenuScroll,M=g.inputValue,P=g.isLoading,O=g.loadingMessage,T=g.minMenuHeight,k=g.maxMenuHeight,K=g.menuIsOpen,oe=g.menuPlacement,Te=g.menuPosition,we=g.menuPortalTarget,xe=g.menuShouldBlockScroll,Se=g.menuShouldScrollIntoView,Ce=g.noOptionsMessage,Je=g.onMenuScrollToTop,ue=g.onMenuScrollToBottom;if(!K)return null;var Tn,on=function(Y){var fe=y===Y.data;return Y.innerRef=fe?a.getFocusedOptionRef:void 0,za.createElement(v,Vo({},p,Y,{isFocused:fe}),a.formatOptionLabel(Y.data,"menu"))};if(this.hasOptions())Tn=h.render.map(function(Y){if(Y.type==="group"){Y.type;var fe=Z7(Y,["type"]),he="".concat(Y.key,"-heading");return za.createElement(o,Vo({},p,fe,{Heading:i,headingProps:{id:he,data:Y.data},label:a.formatGroupLabel(Y.data)}),Y.options.map(function(U){return on(U)}))}if(Y.type==="option")return on(Y)});else if(P){var Et=O({inputValue:M});if(Et===null)return null;Tn=za.createElement(s,p,Et)}else{var mt=Ce({inputValue:M});if(mt===null)return null;Tn=za.createElement(f,p,mt)}var z={minMenuHeight:T,maxMenuHeight:k,menuPlacement:oe,menuPosition:Te,menuShouldScrollIntoView:Se},x=za.createElement(Ua.MenuPlacer,Vo({},p,z),function(Y){var fe=Y.ref,he=Y.placerProps,U=he.placement,pe=he.maxHeight;return za.createElement(u,Vo({},p,z,{innerRef:fe,innerProps:{onMouseDown:a.onMenuMouseDown,onMouseMove:a.onMenuMouseMove},isLoading:P,placement:U}),za.createElement(Vdn,{isEnabled:S,onTopArrive:Je,onBottomArrive:ue},za.createElement(qdn,{isEnabled:xe},za.createElement(l,Vo({},p,{innerRef:a.getMenuListRef,isLoading:P,maxHeight:pe}),Tn))))});return we||Te==="fixed"?za.createElement(c,Vo({},p,{appendTo:we,controlElement:this.controlRef,menuPlacement:oe,menuPosition:Te}),x):x}},{key:"renderFormField",value:function(){var a=this,r=this.props,o=r.delimiter,i=r.isDisabled,u=r.isMulti,l=r.name,c=this.state.selectValue;if(l&&!i){if(u){if(o){var s=c.map(function(p){return a.getOptionValue(p)}).join(o);return za.createElement("input",{name:l,type:"hidden",value:s})}var f=c.length>0?c.map(function(p,d){return za.createElement("input",{key:"i-".concat(d),name:l,type:"hidden",value:a.getOptionValue(p)})}):za.createElement("input",{name:l,type:"hidden"});return za.createElement("div",null,f)}var v=c[0]?this.getOptionValue(c[0]):"";return za.createElement("input",{name:l,type:"hidden",value:v})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?za.createElement(jdn,{"aria-live":"polite"},za.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),za.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var a=this.components,r=a.Control,o=a.IndicatorsContainer,i=a.SelectContainer,u=a.ValueContainer,l=this.props,c=l.className,s=l.id,f=l.isDisabled,v=l.menuIsOpen,p=this.state.isFocused,d=this.commonProps=this.getCommonProps();return za.createElement(i,Vo({},d,{className:c,innerProps:{id:s,onKeyDown:this.onKeyDown},isDisabled:f,isFocused:p}),this.renderLiveRegion(),za.createElement(r,Vo({},d,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:f,isFocused:p,menuIsOpen:v}),za.createElement(u,Vo({},d,{isDisabled:f}),this.renderPlaceholderOrValue(),this.renderInput()),za.createElement(o,Vo({},d,{isDisabled:f}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(ny.Component);wSe.defaultProps=RSe,ow.Select=wSe,ow.createFilter=lSe,ow.defaultProps=RSe,ow.defaultTheme=r5,ow.mergeStyles=o_n});var i5=_e(CSe=>{"use strict";function uh(e){return e&&typeof e=="object"&&"default"in e?e.default:e}var m_n=uh(VD()),d_n=uh(QD()),__n=uh(YD()),h_n=uh(XD()),g_n=uh(ZD()),D_n=uh(KD()),SSe=uh(ey()),ESe=Tl(),y_n=uh(ESe);function b_n(e){var n=R_n();return function(){var t,a=SSe(e);if(n){var r=SSe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return D_n(this,t)}}function R_n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var w_n={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},S_n=function(e){var n,t;return t=n=function(a){g_n(o,a);var r=b_n(o);function o(){var i;__n(this,o);for(var u=arguments.length,l=new Array(u),c=0;c1?l-1:0),s=1;s{"use strict";function Ym(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(sF,"__esModule",{value:!0}),VD();var E_n=Ym(QD());$T();var WJ=Ym(XT()),C_n=Ym(ZR()),I_n=Ym(YD()),T_n=Ym(XD());KR();var F_n=Ym(ZD()),M_n=Ym(KD()),ISe=Ym(ey()),TSe=Tl(),G_n=Ym(TSe);DR(),km(),$m(),ih();var FSe=lF(),A_n=o5();V0(),uF(),$D();var x_n=i5();function L_n(e){var n=j_n();return function(){var t,a=ISe(e);if(n){var r=ISe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return M_n(this,t)}}function j_n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function MSe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function N_n(e){for(var n=1;n0&&arguments[0]!==void 0?arguments[0]:"",n=arguments.length>1?arguments[1]:void 0,t=String(e).toLowerCase(),a=String(n.value).toLowerCase(),r=String(n.label).toLowerCase();return a===t||r===t},P_n={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,n,t){return!(!e||n.some(function(a){return GSe(e,a)})||t.some(function(a){return GSe(e,a)}))},getNewOptionData:function(e,n){return{label:n,value:e,__isNew__:!0}}},ASe=N_n({allowCreateWhileLoading:!1,createOptionPosition:"last"},P_n),xSe=function(e){var n,t;return t=n=function(a){F_n(o,a);var r=L_n(o);function o(i){var u;I_n(this,o),(u=r.call(this,i)).select=void 0,u.onChange=function(c,s){var f=u.props,v=f.getNewOptionData,p=f.inputValue,d=f.isMulti,y=f.onChange,h=f.onCreateOption,g=f.value,S=f.name;if(s.action!=="select-option")return y(c,s);var M=u.state.newOption,P=Array.isArray(c)?c:[c];if(P[P.length-1]!==M)y(c,s);else if(h)h(p);else{var O=v(p,p),T={action:"create-option",name:S};y(d?[].concat(WJ(FSe.cleanValue(g)),[O]):O,T)}};var l=i.options||[];return u.state={newOption:void 0,options:l},u}return T_n(o,[{key:"UNSAFE_componentWillReceiveProps",value:function(i){var u=i.allowCreateWhileLoading,l=i.createOptionPosition,c=i.formatCreateLabel,s=i.getNewOptionData,f=i.inputValue,v=i.isLoading,p=i.isValidNewOption,d=i.value,y=i.options||[],h=this.state.newOption;h=p(f,FSe.cleanValue(d),y)?s(f,c(f)):void 0,this.setState({newOption:h,options:!u&&v||!h?y:l==="first"?[h].concat(WJ(y)):[].concat(WJ(y),[h])})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var i=this,u=this.state.options;return G_n.createElement(e,E_n({},this.props,{ref:function(l){i.select=l},options:u,onChange:this.onChange}))}}]),o}(TSe.Component),n.defaultProps=ASe,t},O_n=xSe(A_n.Select),k_n=x_n.manageState(O_n);sF.default=k_n,sF.defaultProps=ASe,sF.makeCreatableSelect=xSe});var jSe=_e((Uer,LSe)=>{"use strict";LSe.exports=$J()});var zJ=_e(fF=>{"use strict";function lh(e){return e&&typeof e=="object"&&"default"in e?e.default:e}Object.defineProperty(fF,"__esModule",{value:!0});var U_n=lh(VD()),H_n=lh(QD());$T(),XT(),ZR();var B_n=lh(YD()),J_n=lh(XD());KR();var q_n=lh(ZD()),W_n=lh(KD()),NSe=lh(ey()),PSe=Tl(),$_n=lh(PSe);DR(),km(),$m(),ih();var z_n=lF(),V_n=o5();V0(),uF(),$D();var Q_n=i5();function Y_n(e){var n=X_n();return function(){var t,a=NSe(e);if(n){var r=NSe(this).constructor;t=Reflect.construct(a,arguments,r)}else t=a.apply(this,arguments);return W_n(this,t)}}function X_n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var OSe={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},kSe=function(e){var n,t;return t=n=function(a){q_n(o,a);var r=Y_n(o);function o(i){var u;return B_n(this,o),(u=r.call(this)).select=void 0,u.lastRequest=void 0,u.mounted=!1,u.optionsCache={},u.handleInputChange=function(l,c){var s=u.props,f=s.cacheOptions,v=s.onInputChange,p=z_n.handleInputChange(l,c,v);if(!p)return delete u.lastRequest,void u.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});if(f&&u.optionsCache[p])u.setState({inputValue:p,loadedInputValue:p,loadedOptions:u.optionsCache[p],isLoading:!1,passEmptyOptions:!1});else{var d=u.lastRequest={};u.setState({inputValue:p,isLoading:!0,passEmptyOptions:!u.state.loadedInputValue},function(){u.loadOptions(p,function(y){u.mounted&&(y&&(u.optionsCache[p]=y),d===u.lastRequest&&(delete u.lastRequest,u.setState({isLoading:!1,loadedInputValue:p,loadedOptions:y||[],passEmptyOptions:!1})))})})}return p},u.state={defaultOptions:Array.isArray(i.defaultOptions)?i.defaultOptions:void 0,inputValue:i.inputValue!==void 0?i.inputValue:"",isLoading:i.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},u}return J_n(o,[{key:"componentDidMount",value:function(){var i=this;this.mounted=!0;var u=this.props.defaultOptions,l=this.state.inputValue;u===!0&&this.loadOptions(l,function(c){if(i.mounted){var s=!!i.lastRequest;i.setState({defaultOptions:c||[],isLoading:s})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(i){i.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),i.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(i.defaultOptions)?i.defaultOptions:void 0})}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"loadOptions",value:function(i,u){var l=this.props.loadOptions;if(!l)return u();var c=l(i,u);c&&typeof c.then=="function"&&c.then(u,function(){return u()})}},{key:"render",value:function(){var i=this,u=this.props,l=(u.loadOptions,u.isLoading),c=U_n(u,["loadOptions","isLoading"]),s=this.state,f=s.defaultOptions,v=s.inputValue,p=s.isLoading,d=s.loadedInputValue,y=s.loadedOptions,h=s.passEmptyOptions?[]:v&&d?y:f||[];return $_n.createElement(e,H_n({},c,{ref:function(g){i.select=g},options:h,isLoading:p||l,onInputChange:this.handleInputChange}))}}]),o}(PSe.Component),n.defaultProps=OSe,t},Z_n=Q_n.manageState(V_n.Select),K_n=kSe(Z_n);fF.default=K_n,fF.defaultProps=OSe,fF.makeAsyncSelect=kSe});var HSe=_e((Ber,USe)=>{"use strict";USe.exports=zJ()});var BSe=_e(VJ=>{"use strict";Object.defineProperty(VJ,"__esModule",{value:!0}),VD(),QD(),$T(),XT(),ZR(),YD(),XD(),KR(),ZD(),KD(),ey(),Tl(),DR(),km(),$m(),ih(),lF();var ehn=o5();V0(),uF(),$D();var nhn=i5(),thn=zJ(),ahn=$J(),rhn=ahn.makeCreatableSelect(ehn.Select),ohn=nhn.manageState(rhn),ihn=thn.makeAsyncSelect(ohn);VJ.default=ihn});var qSe=_e((qer,JSe)=>{"use strict";JSe.exports=BSe()});var WFe=_e(UW=>{"use strict";Object.defineProperty(UW,"__esModule",{value:!0});var Cwn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xW=Object.assign||function(e){for(var n=1;n1?n-1:0),a=1;aa.height),Cf(p,this.animationStateClasses.animatingToHeightZero,g.height===0),Cf(p,this.animationStateClasses.animatingToHeightAuto,g.height==="auto"),Cf(p,this.animationStateClasses.animatingToHeightSpecific,g.height>0),p)),P=this.getStaticStateClasses(g.height);this.setState({animationStateClasses:M,height:h,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(g.shouldUseTransitions=!0,qFe(this.animationFrameIDs),this.animationFrameIDs=Nwn(function(){o.setState(g),u6(c,{newHeight:g.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(g.height),u6(l,{newHeight:g.height})},y)):(u6(c,{newHeight:h}),this.timeoutID=setTimeout(function(){g.animationStateClasses=P,g.shouldUseTransitions=!1,o.setState(g),u!=="auto"&&o.hideContent(h),u6(l,{newHeight:h})},y))}}},{key:"componentWillUnmount",value:function(){qFe(this.animationFrameIDs),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),this.timeoutID=null}},{key:"getTimings",value:function(){if(this.prefersReducedMotion)return{delay:0,duration:0};var a=this.props,r=a.delay,o=a.duration;return{delay:r,duration:o}}},{key:"showContent",value:function(a){a===0&&(this.contentElement.style.display="")}},{key:"hideContent",value:function(a){a===0&&(this.contentElement.style.display="none")}},{key:"getStaticStateClasses",value:function(a){var r;return(0,jW.default)((r={},Cf(r,this.animationStateClasses.static,!0),Cf(r,this.animationStateClasses.staticHeightZero,a===0),Cf(r,this.animationStateClasses.staticHeightSpecific,a>0),Cf(r,this.animationStateClasses.staticHeightAuto,a==="auto"),r))}},{key:"render",value:function(){var a,r=this,o=this.props,i=o.animateOpacity,u=o.applyInlineTransitions,l=o.children,c=o.className,s=o.contentClassName,f=o.easing,v=o.id,p=o.style,d=this.state,y=d.height,h=d.overflow,g=d.animationStateClasses,S=d.shouldUseTransitions,M=this.getTimings(),P=M.duration,O=M.delay,T=xW({},p,{height:y,overflow:h||p.overflow});S&&u&&(T.transition="height "+P+"ms "+f+" "+O+"ms",p.transition&&(T.transition=p.transition+", "+T.transition),T.WebkitTransition=T.transition);var k={};i&&(k.transition="opacity "+P+"ms "+f+" "+O+"ms",k.WebkitTransition=k.transition,y===0&&(k.opacity=0));var K=(0,jW.default)((a={},Cf(a,g,!0),Cf(a,c,c),a)),oe=typeof this.props["aria-hidden"]!="undefined",Te=oe?this.props["aria-hidden"]:y===0;return LW.default.createElement("div",xW({},jwn.apply(void 0,[this.props].concat(Lwn)),{"aria-hidden":Te,className:K,id:v,style:T}),LW.default.createElement("div",{className:s,style:k,ref:function(xe){return r.contentElement=xe}},l))}}]),n}(LW.default.Component),Pwn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||OW(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Cwn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};kW.propTypes={"aria-hidden":Tc.default.bool,animateOpacity:Tc.default.bool,animationStateClasses:Tc.default.object,applyInlineTransitions:Tc.default.bool,children:Tc.default.any.isRequired,className:Tc.default.string,contentClassName:Tc.default.string,delay:Tc.default.number,duration:Tc.default.number,easing:Tc.default.string,height:Pwn,id:Tc.default.string,onAnimationEnd:Tc.default.func,onAnimationStart:Tc.default.func,style:Tc.default.object};kW.defaultProps={animateOpacity:!1,animationStateClasses:JFe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};UW.default=kW});var uGe=_e((F6,h$)=>{(function(n,t){typeof F6=="object"&&typeof h$=="object"?h$.exports=t():typeof define=="function"&&define.amd?define([],t):typeof F6=="object"?F6.Pusher=t():n.Pusher=t()})(window,function(){return function(e){var n={};function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}return t.m=e,t.c=n,t.d=function(a,r,o){t.o(a,r)||Object.defineProperty(a,r,{enumerable:!0,get:o})},t.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},t.t=function(a,r){if(r&1&&(a=t(a)),r&8||r&4&&typeof a=="object"&&a&&a.__esModule)return a;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:a}),r&2&&typeof a!="string")for(var i in a)t.d(o,i,function(u){return a[u]}.bind(null,i));return o},t.n=function(a){var r=a&&a.__esModule?function(){return a.default}:function(){return a};return t.d(r,"a",r),r},t.o=function(a,r){return Object.prototype.hasOwnProperty.call(a,r)},t.p="",t(t.s=2)}([function(e,n,t){"use strict";var a=this&&this.__extends||function(){var p=function(d,y){return p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,g){h.__proto__=g}||function(h,g){for(var S in g)g.hasOwnProperty(S)&&(h[S]=g[S])},p(d,y)};return function(d,y){p(d,y);function h(){this.constructor=d}d.prototype=y===null?Object.create(y):(h.prototype=y.prototype,new h)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function p(d){d===void 0&&(d="="),this._paddingCharacter=d}return p.prototype.encodedLength=function(d){return this._paddingCharacter?(d+2)/3*4|0:(d*8+5)/6|0},p.prototype.encode=function(d){for(var y="",h=0;h>>3*6&63),y+=this._encodeByte(g>>>2*6&63),y+=this._encodeByte(g>>>1*6&63),y+=this._encodeByte(g>>>0*6&63)}var S=d.length-h;if(S>0){var g=d[h]<<16|(S===2?d[h+1]<<8:0);y+=this._encodeByte(g>>>3*6&63),y+=this._encodeByte(g>>>2*6&63),S===2?y+=this._encodeByte(g>>>1*6&63):y+=this._paddingCharacter||"",y+=this._paddingCharacter||""}return y},p.prototype.maxDecodedLength=function(d){return this._paddingCharacter?d/4*3|0:(d*6+7)/8|0},p.prototype.decodedLength=function(d){return this.maxDecodedLength(d.length-this._getPaddingLength(d))},p.prototype.decode=function(d){if(d.length===0)return new Uint8Array(0);for(var y=this._getPaddingLength(d),h=d.length-y,g=new Uint8Array(this.maxDecodedLength(h)),S=0,M=0,P=0,O=0,T=0,k=0,K=0;M>>4,g[S++]=T<<4|k>>>2,g[S++]=k<<6|K,P|=O&r,P|=T&r,P|=k&r,P|=K&r;if(M>>4,P|=O&r,P|=T&r),M>>2,P|=k&r),M>>8&0-65-26+97,y+=51-d>>>8&26-97-52+48,y+=61-d>>>8&52-48-62+43,y+=62-d>>>8&62-43-63+47,String.fromCharCode(y)},p.prototype._decodeChar=function(d){var y=r;return y+=(42-d&d-44)>>>8&-r+d-43+62,y+=(46-d&d-48)>>>8&-r+d-47+63,y+=(47-d&d-58)>>>8&-r+d-48+52,y+=(64-d&d-91)>>>8&-r+d-65+0,y+=(96-d&d-123)>>>8&-r+d-97+26,y},p.prototype._getPaddingLength=function(d){var y=0;if(this._paddingCharacter){for(var h=d.length-1;h>=0&&d[h]===this._paddingCharacter;h--)y++;if(d.length<4||y>2)throw new Error("Base64Coder: incorrect padding")}return y},p}();n.Coder=o;var i=new o;function u(p){return i.encode(p)}n.encode=u;function l(p){return i.decode(p)}n.decode=l;var c=function(p){a(d,p);function d(){return p!==null&&p.apply(this,arguments)||this}return d.prototype._encodeByte=function(y){var h=y;return h+=65,h+=25-y>>>8&0-65-26+97,h+=51-y>>>8&26-97-52+48,h+=61-y>>>8&52-48-62+45,h+=62-y>>>8&62-45-63+95,String.fromCharCode(h)},d.prototype._decodeChar=function(y){var h=r;return h+=(44-y&y-46)>>>8&-r+y-45+62,h+=(94-y&y-96)>>>8&-r+y-95+63,h+=(47-y&y-58)>>>8&-r+y-48+52,h+=(64-y&y-91)>>>8&-r+y-65+0,h+=(96-y&y-123)>>>8&-r+y-97+26,h},d}(o);n.URLSafeCoder=c;var s=new c;function f(p){return s.encode(p)}n.encodeURLSafe=f;function v(p){return s.decode(p)}n.decodeURLSafe=v,n.encodedLength=function(p){return i.encodedLength(p)},n.maxDecodedLength=function(p){return i.maxDecodedLength(p)},n.decodedLength=function(p){return i.decodedLength(p)}},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var a="utf8: invalid string",r="utf8: invalid source encoding";function o(l){for(var c=new Uint8Array(i(l)),s=0,f=0;f>6,c[s++]=128|v&63):v<55296?(c[s++]=224|v>>12,c[s++]=128|v>>6&63,c[s++]=128|v&63):(f++,v=(v&1023)<<10,v|=l.charCodeAt(f)&1023,v+=65536,c[s++]=240|v>>18,c[s++]=128|v>>12&63,c[s++]=128|v>>6&63,c[s++]=128|v&63)}return c}n.encode=o;function i(l){for(var c=0,s=0;s=l.length-1)throw new Error(a);s++,c+=4}else throw new Error(a)}return c}n.encodedLength=i;function u(l){for(var c=[],s=0;s=l.length)throw new Error(r);var p=l[++s];if((p&192)!=128)throw new Error(r);f=(f&31)<<6|p&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var p=l[++s],d=l[++s];if((p&192)!=128||(d&192)!=128)throw new Error(r);f=(f&15)<<12|(p&63)<<6|d&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var p=l[++s],d=l[++s],y=l[++s];if((p&192)!=128||(d&192)!=128||(y&192)!=128)throw new Error(r);f=(f&15)<<18|(p&63)<<12|(d&63)<<6|y&63,v=65536}else throw new Error(r);if(f=55296&&f<=57343)throw new Error(r);if(f>=65536){if(f>1114111)throw new Error(r);f-=65536,c.push(String.fromCharCode(55296|f>>10)),f=56320|f&1023}}c.push(String.fromCharCode(f))}return c.join("")}n.decode=u},function(e,n,t){e.exports=t(3).default},function(e,n,t){"use strict";t.r(n);var a=function(){function b(D,w){this.lastId=0,this.prefix=D,this.name=w}return b.prototype.create=function(D){this.lastId++;var w=this.lastId,F=this.prefix+w,A=this.name+"["+w+"]",re=!1,Oe=function(){re||(D.apply(null,arguments),re=!0)};return this[w]=Oe,{number:w,id:F,name:A,callback:Oe}},b.prototype.remove=function(D){delete this[D.number]},b}(),r=new a("_pusher_script_","Pusher.ScriptReceivers"),o={VERSION:"6.0.3",PROTOCOL:7,wsPort:80,wssPort:443,wsPath:"",httpHost:"sockjs.pusher.com",httpPort:80,httpsPort:443,httpPath:"/pusher",stats_host:"stats.pusher.com",authEndpoint:"/pusher/auth",authTransport:"ajax",activityTimeout:12e4,pongTimeout:3e4,unavailableTimeout:1e4,cluster:"mt1",cdn_http:"http://js.pusher.com",cdn_https:"https://js.pusher.com",dependency_suffix:""},i=o,u=function(){function b(D){this.options=D,this.receivers=D.receivers||r,this.loading={}}return b.prototype.load=function(D,w,F){var A=this;if(A.loading[D]&&A.loading[D].length>0)A.loading[D].push(F);else{A.loading[D]=[F];var re=Ta.createScriptRequest(A.getPath(D,w)),Oe=A.receivers.create(function(Nn){if(A.receivers.remove(Oe),A.loading[D]){var Bt=A.loading[D];delete A.loading[D];for(var pr=function(_l){_l||re.cleanup()},Ti=0;Ti>>6)+v(128|D&63):v(224|D>>>12&15)+v(128|D>>>6&63)+v(128|D&63)},S=function(b){return b.replace(/[^\x00-\x7F]/g,g)},M=function(b){var D=[0,2,1][b.length%3],w=b.charCodeAt(0)<<16|(b.length>1?b.charCodeAt(1):0)<<8|(b.length>2?b.charCodeAt(2):0),F=[p.charAt(w>>>18),p.charAt(w>>>12&63),D>=2?"=":p.charAt(w>>>6&63),D>=1?"=":p.charAt(w&63)];return F.join("")},P=window.btoa||function(b){return b.replace(/[\s\S]{1,3}/g,M)},O=function(){function b(D,w,F,A){var re=this;this.clear=w,this.timer=D(function(){re.timer&&(re.timer=A(re.timer))},F)}return b.prototype.isRunning=function(){return this.timer!==null},b.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},b}(),T=O,k=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}();function K(b){window.clearTimeout(b)}function oe(b){window.clearInterval(b)}var Te=function(b){k(D,b);function D(w,F){return b.call(this,setTimeout,K,w,function(A){return F(),null})||this}return D}(T),we=function(b){k(D,b);function D(w,F){return b.call(this,setInterval,oe,w,function(A){return F(),A})||this}return D}(T),xe={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(b){return new Te(0,b)},method:function(b){for(var D=[],w=1;w0)for(var A=0;A=1002&&b.code<=1004?"backoff":null:b.code===4e3?"tls_only":b.code<4100?"refused":b.code<4200?"backoff":b.code<4300?"retry":"refused"},getCloseError:function(b){return b.code!==1e3&&b.code!==1001?{type:"PusherError",data:{code:b.code,message:b.reason||b.message}}:null}},Jh=$Q,j5e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),N5e=function(b){j5e(D,b);function D(w,F){var A=b.call(this)||this;return A.id=w,A.transport=F,A.activityTimeout=F.activityTimeout,A.bindListeners(),A}return D.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},D.prototype.send=function(w){return this.transport.send(w)},D.prototype.send_event=function(w,F,A){var re={event:w,data:F};return A&&(re.channel=A),Ne.debug("Event sent",re),this.send(Jh.encodeMessage(re))},D.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},D.prototype.close=function(){this.transport.close()},D.prototype.bindListeners=function(){var w=this,F={message:function(re){var Oe;try{Oe=Jh.decodeMessage(re)}catch(Nn){w.emit("error",{type:"MessageParseError",error:Nn,data:re.data})}if(Oe!==void 0){switch(Ne.debug("Event recd",Oe),Oe.event){case"pusher:error":w.emit("error",{type:"PusherError",data:Oe.data});break;case"pusher:ping":w.emit("ping");break;case"pusher:pong":w.emit("pong");break}w.emit("message",Oe)}},activity:function(){w.emit("activity")},error:function(re){w.emit("error",{type:"WebSocketError",error:re})},closed:function(re){A(),re&&re.code&&w.handleCloseEvent(re),w.transport=null,w.emit("closed")}},A=function(){Tn(F,function(re,Oe){w.transport.unbind(Oe,re)})};Tn(F,function(re,Oe){w.transport.bind(Oe,re)})},D.prototype.handleCloseEvent=function(w){var F=Jh.getCloseAction(w),A=Jh.getCloseError(w);A&&this.emit("error",A),F&&this.emit(F,{action:F,error:A})},D}(Rr),P5e=N5e,O5e=function(){function b(D,w){this.transport=D,this.callback=w,this.bindListeners()}return b.prototype.close=function(){this.unbindListeners(),this.transport.close()},b.prototype.bindListeners=function(){var D=this;this.onMessage=function(w){D.unbindListeners();var F;try{F=Jh.processHandshake(w)}catch(A){D.finish("error",{error:A}),D.transport.close();return}F.action==="connected"?D.finish("connected",{connection:new P5e(F.id,D.transport),activityTimeout:F.activityTimeout}):(D.finish(F.action,{error:F.error}),D.transport.close())},this.onClosed=function(w){D.unbindListeners();var F=Jh.getCloseAction(w)||"backoff",A=Jh.getCloseError(w);D.finish(F,{error:A})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},b.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},b.prototype.finish=function(D,w){this.callback(Ce({transport:this.transport,action:D},w))},b}(),k5e=O5e,U5e=function(){function b(D,w){this.channel=D;var F=w.authTransport;if(typeof Ta.getAuthorizers()[F]=="undefined")throw"'"+F+"' is not a recognized auth transport";this.type=F,this.options=w,this.authOptions=w.auth||{}}return b.prototype.composeQuery=function(D){var w="socket_id="+encodeURIComponent(D)+"&channel_name="+encodeURIComponent(this.channel.name);for(var F in this.authOptions.params)w+="&"+encodeURIComponent(F)+"="+encodeURIComponent(this.authOptions.params[F]);return w},b.prototype.authorize=function(D,w){b.authorizers=b.authorizers||Ta.getAuthorizers(),b.authorizers[this.type].call(this,Ta,D,w)},b}(),H5e=U5e,B5e=function(){function b(D,w){this.timeline=D,this.options=w||{}}return b.prototype.send=function(D,w){this.timeline.isEmpty()||this.timeline.send(Ta.TimelineTransport.getAgent(this,D),w)},b}(),J5e=B5e,qh=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),q5e=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),W5e=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),$5e=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),z5e=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),zQ=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),V5e=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),VQ=function(b){qh(D,b);function D(w){var F=this.constructor,A=b.call(this,w)||this;return Object.setPrototypeOf(A,F.prototype),A}return D}(Error),Q5e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),Y5e=function(b){Q5e(D,b);function D(w,F){var A=b.call(this,function(re,Oe){Ne.debug("No callbacks on "+w+" for "+re)})||this;return A.name=w,A.pusher=F,A.subscribed=!1,A.subscriptionPending=!1,A.subscriptionCancelled=!1,A}return D.prototype.authorize=function(w,F){return F(!1,{auth:""})},D.prototype.trigger=function(w,F){if(w.indexOf("client-")!==0)throw new q5e("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var A=tt.buildLogSuffix("triggeringClientEvents");Ne.warn("Client event triggered before channel 'subscription_succeeded' event . "+A)}return this.pusher.send_event(w,F,this.name)},D.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},D.prototype.handleEvent=function(w){var F=w.event,A=w.data;if(F==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(F.indexOf("pusher_internal:")!==0){var re={};this.emit(F,A,re)}},D.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",w.data)},D.prototype.subscribe=function(){var w=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(F,A){F?(Ne.error(A),w.emit("pusher:subscription_error",A)):(A=A,w.pusher.send_event("pusher:subscribe",{auth:A.auth,channel_data:A.channel_data,channel:w.name}))}))},D.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},D.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},D.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},D}(Rr),QQ=Y5e,X5e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),Z5e=function(b){X5e(D,b);function D(){return b!==null&&b.apply(this,arguments)||this}return D.prototype.authorize=function(w,F){var A=Qv.createAuthorizer(this,this.pusher.config);return A.authorize(w,F)},D}(QQ),DL=Z5e,K5e=function(){function b(){this.reset()}return b.prototype.get=function(D){return Object.prototype.hasOwnProperty.call(this.members,D)?{id:D,info:this.members[D]}:null},b.prototype.each=function(D){var w=this;Tn(this.members,function(F,A){D(w.get(A))})},b.prototype.setMyID=function(D){this.myID=D},b.prototype.onSubscription=function(D){this.members=D.presence.hash,this.count=D.presence.count,this.me=this.get(this.myID)},b.prototype.addMember=function(D){return this.get(D.user_id)===null&&this.count++,this.members[D.user_id]=D.user_info,this.get(D.user_id)},b.prototype.removeMember=function(D){var w=this.get(D.user_id);return w&&(delete this.members[D.user_id],this.count--),w},b.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},b}(),e6e=K5e,n6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),t6e=function(b){n6e(D,b);function D(w,F){var A=b.call(this,w,F)||this;return A.members=new e6e,A}return D.prototype.authorize=function(w,F){var A=this;b.prototype.authorize.call(this,w,function(re,Oe){if(!re){if(Oe=Oe,Oe.channel_data===void 0){var Nn=tt.buildLogSuffix("authenticationEndpoint");Ne.error("Invalid auth response for channel '"+A.name+"',"+("expected 'channel_data' field. "+Nn)),F("Invalid auth response");return}var Bt=JSON.parse(Oe.channel_data);A.members.setMyID(Bt.user_id)}F(re,Oe)})},D.prototype.handleEvent=function(w){var F=w.event;if(F.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var A=w.data,re={};w.user_id&&(re.user_id=w.user_id),this.emit(F,A,re)}},D.prototype.handleInternalEvent=function(w){var F=w.event,A=w.data;switch(F){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var re=this.members.addMember(A);this.emit("pusher:member_added",re);break;case"pusher_internal:member_removed":var Oe=this.members.removeMember(A);Oe&&this.emit("pusher:member_removed",Oe);break}},D.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):(this.members.onSubscription(w.data),this.emit("pusher:subscription_succeeded",this.members))},D.prototype.disconnect=function(){this.members.reset(),b.prototype.disconnect.call(this)},D}(DL),a6e=t6e,YQ=t(1),yL=t(0),r6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),o6e=function(b){r6e(D,b);function D(w,F,A){var re=b.call(this,w,F)||this;return re.key=null,re.nacl=A,re}return D.prototype.authorize=function(w,F){var A=this;b.prototype.authorize.call(this,w,function(re,Oe){if(re){F(!0,Oe);return}var Nn=Oe.shared_secret;if(!Nn){var Bt="No shared_secret key in auth payload for encrypted channel: "+A.name;F(!0,Bt);return}A.key=Object(yL.decode)(Nn),delete Oe.shared_secret,F(!1,Oe)})},D.prototype.trigger=function(w,F){throw new zQ("Client events are not currently supported for encrypted channels")},D.prototype.handleEvent=function(w){var F=w.event,A=w.data;if(F.indexOf("pusher_internal:")===0||F.indexOf("pusher:")===0){b.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(F,A)},D.prototype.handleEncryptedEvent=function(w,F){var A=this;if(!this.key){Ne.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!F.ciphertext||!F.nonce){Ne.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+F);return}var re=Object(yL.decode)(F.ciphertext);if(re.length0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new Te(w||0,function(){F.disconnectInternally(),F.connect()})},D.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},D.prototype.setUnavailableTimer=function(){var w=this;this.unavailableTimer=new Te(this.options.unavailableTimeout,function(){w.updateState("unavailable")})},D.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},D.prototype.sendActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new Te(this.options.pongTimeout,function(){w.timeline.error({pong_timed_out:w.options.pongTimeout}),w.retryIn(0)})},D.prototype.resetActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new Te(this.activityTimeout,function(){w.sendActivityCheck()}))},D.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},D.prototype.buildConnectionCallbacks=function(w){var F=this;return Ce({},w,{message:function(A){F.resetActivityCheck(),F.emit("message",A)},ping:function(){F.send_event("pusher:pong",{})},activity:function(){F.resetActivityCheck()},error:function(A){F.emit("error",{type:"WebSocketError",error:A})},closed:function(){F.abandonConnection(),F.shouldRetry()&&F.retryIn(1e3)}})},D.prototype.buildHandshakeCallbacks=function(w){var F=this;return Ce({},w,{connected:function(A){F.activityTimeout=Math.min(F.options.activityTimeout,A.activityTimeout,A.connection.activityTimeout||1/0),F.clearUnavailableTimer(),F.setConnection(A.connection),F.socket_id=F.connection.id,F.updateState("connected",{socket_id:F.socket_id})}})},D.prototype.buildErrorCallbacks=function(){var w=this,F=function(A){return function(re){re.error&&w.emit("error",{type:"WebSocketError",error:re.error}),A(re)}};return{tls_only:F(function(){w.usingTLS=!0,w.updateStrategy(),w.retryIn(0)}),refused:F(function(){w.disconnect()}),backoff:F(function(){w.retryIn(1e3)}),retry:F(function(){w.retryIn(0)})}},D.prototype.setConnection=function(w){this.connection=w;for(var F in this.connectionCallbacks)this.connection.bind(F,this.connectionCallbacks[F]);this.resetActivityCheck()},D.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var w in this.connectionCallbacks)this.connection.unbind(w,this.connectionCallbacks[w]);var F=this.connection;return this.connection=null,F}},D.prototype.updateState=function(w,F){var A=this.state;if(this.state=w,A!==w){var re=w;re==="connected"&&(re+=" with new socket ID "+F.socket_id),Ne.debug("State changed",A+" -> "+re),this.timeline.info({state:w,params:F}),this.emit("state_change",{previous:A,current:w}),this.emit(w,F)}},D.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},D}(Rr),c6e=l6e,s6e=function(){function b(){this.channels={}}return b.prototype.add=function(D,w){return this.channels[D]||(this.channels[D]=v6e(D,w)),this.channels[D]},b.prototype.all=function(){return Et(this.channels)},b.prototype.find=function(D){return this.channels[D]},b.prototype.remove=function(D){var w=this.channels[D];return delete this.channels[D],w},b.prototype.disconnect=function(){Tn(this.channels,function(D){D.disconnect()})},b}(),f6e=s6e;function v6e(b,D){if(b.indexOf("private-encrypted-")===0){if(D.config.nacl)return Qv.createEncryptedChannel(b,D,D.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",F=tt.buildLogSuffix("encryptedChannelSupport");throw new zQ(w+". "+F)}else return b.indexOf("private-")===0?Qv.createPrivateChannel(b,D):b.indexOf("presence-")===0?Qv.createPresenceChannel(b,D):Qv.createChannel(b,D)}var p6e={createChannels:function(){return new f6e},createConnectionManager:function(b,D){return new c6e(b,D)},createChannel:function(b,D){return new QQ(b,D)},createPrivateChannel:function(b,D){return new DL(b,D)},createPresenceChannel:function(b,D){return new a6e(b,D)},createEncryptedChannel:function(b,D,w){return new i6e(b,D,w)},createTimelineSender:function(b,D){return new J5e(b,D)},createAuthorizer:function(b,D){return D.authorizer?D.authorizer(b,D):new H5e(b,D)},createHandshake:function(b,D){return new k5e(b,D)},createAssistantToTheTransportManager:function(b,D,w){return new L5e(b,D,w)}},Qv=p6e,m6e=function(){function b(D){this.options=D||{},this.livesLeft=this.options.lives||1/0}return b.prototype.getAssistant=function(D){return Qv.createAssistantToTheTransportManager(this,D,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},b.prototype.isAlive=function(){return this.livesLeft>0},b.prototype.reportDeath=function(){this.livesLeft-=1},b}(),XQ=m6e,d6e=function(){function b(D,w){this.strategies=D,this.loop=Boolean(w.loop),this.failFast=Boolean(w.failFast),this.timeout=w.timeout,this.timeoutLimit=w.timeoutLimit}return b.prototype.isSupported=function(){return U(this.strategies,Se.method("isSupported"))},b.prototype.connect=function(D,w){var F=this,A=this.strategies,re=0,Oe=this.timeout,Nn=null,Bt=function(pr,Ti){Ti?w(null,Ti):(re=re+1,F.loop&&(re=re%A.length),re0&&(re=new Te(F.timeout,function(){Oe.abort(),A(!0)})),Oe=D.connect(w,function(Nn,Bt){Nn&&re&&re.isRunning()&&!F.failFast||(re&&re.ensureAborted(),A(Nn,Bt))}),{abort:function(){re&&re.ensureAborted(),Oe.abort()},forceMinPriority:function(Nn){Oe.forceMinPriority(Nn)}}},b}(),Wh=d6e,_6e=function(){function b(D){this.strategies=D}return b.prototype.isSupported=function(){return U(this.strategies,Se.method("isSupported"))},b.prototype.connect=function(D,w){return h6e(this.strategies,D,function(F,A){return function(re,Oe){if(A[F].error=re,re){g6e(A)&&w(!0);return}mt(A,function(Nn){Nn.forceMinPriority(Oe.transport.priority)}),w(null,Oe)}})},b}(),bL=_6e;function h6e(b,D,w){var F=z(b,function(A,re,Oe,Nn){return A.connect(D,w(re,Nn))});return{abort:function(){mt(F,D6e)},forceMinPriority:function(A){mt(F,function(re){re.forceMinPriority(A)})}}}function g6e(b){return pe(b,function(D){return Boolean(D.error)})}function D6e(b){!b.error&&!b.aborted&&(b.abort(),b.aborted=!0)}var y6e=function(){function b(D,w,F){this.strategy=D,this.transports=w,this.ttl=F.ttl||1800*1e3,this.usingTLS=F.useTLS,this.timeline=F.timeline}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.usingTLS,A=R6e(F),re=[this.strategy];if(A&&A.timestamp+this.ttl>=Se.now()){var Oe=this.transports[A.transport];Oe&&(this.timeline.info({cached:!0,transport:A.transport,latency:A.latency}),re.push(new Wh([Oe],{timeout:A.latency*2+1e3,failFast:!0})))}var Nn=Se.now(),Bt=re.pop().connect(D,function pr(Ti,_l){Ti?(ZQ(F),re.length>0?(Nn=Se.now(),Bt=re.pop().connect(D,pr)):w(Ti)):(w6e(F,_l.transport.name,Se.now()-Nn),w(null,_l))});return{abort:function(){Bt.abort()},forceMinPriority:function(pr){D=pr,Bt&&Bt.forceMinPriority(pr)}}},b}(),b6e=y6e;function RL(b){return"pusherTransport"+(b?"TLS":"NonTLS")}function R6e(b){var D=Ta.getLocalStorage();if(D)try{var w=D[RL(b)];if(w)return JSON.parse(w)}catch{ZQ(b)}return null}function w6e(b,D,w){var F=Ta.getLocalStorage();if(F)try{F[RL(b)]=He({timestamp:Se.now(),transport:D,latency:w})}catch{}}function ZQ(b){var D=Ta.getLocalStorage();if(D)try{delete D[RL(b)]}catch{}}var S6e=function(){function b(D,w){var F=w.delay;this.strategy=D,this.options={delay:F}}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.strategy,A,re=new Te(this.options.delay,function(){A=F.connect(D,w)});return{abort:function(){re.ensureAborted(),A&&A.abort()},forceMinPriority:function(Oe){D=Oe,A&&A.forceMinPriority(Oe)}}},b}(),FM=S6e,E6e=function(){function b(D,w,F){this.test=D,this.trueBranch=w,this.falseBranch=F}return b.prototype.isSupported=function(){var D=this.test()?this.trueBranch:this.falseBranch;return D.isSupported()},b.prototype.connect=function(D,w){var F=this.test()?this.trueBranch:this.falseBranch;return F.connect(D,w)},b}(),uS=E6e,C6e=function(){function b(D){this.strategy=D}return b.prototype.isSupported=function(){return this.strategy.isSupported()},b.prototype.connect=function(D,w){var F=this.strategy.connect(D,function(A,re){re&&F.abort(),w(A,re)});return F},b}(),I6e=C6e;function lS(b){return function(){return b.isSupported()}}var T6e=function(b,D,w){var F={};function A(fY,h8e,g8e,D8e,y8e){var vY=w(b,fY,h8e,g8e,D8e,y8e);return F[fY]=vY,vY}var re=Object.assign({},D,{hostNonTLS:b.wsHost+":"+b.wsPort,hostTLS:b.wsHost+":"+b.wssPort,httpPath:b.wsPath}),Oe=Object.assign({},re,{useTLS:!0}),Nn=Object.assign({},D,{hostNonTLS:b.httpHost+":"+b.httpPort,hostTLS:b.httpHost+":"+b.httpsPort,httpPath:b.httpPath}),Bt={loop:!0,timeout:15e3,timeoutLimit:6e4},pr=new XQ({lives:2,minPingDelay:1e4,maxPingDelay:b.activityTimeout}),Ti=new XQ({lives:2,minPingDelay:1e4,maxPingDelay:b.activityTimeout}),_l=A("ws","ws",3,re,pr),Yv=A("wss","ws",3,Oe,pr),v8e=A("sockjs","sockjs",1,Nn),oY=A("xhr_streaming","xhr_streaming",1,Nn,Ti),p8e=A("xdr_streaming","xdr_streaming",1,Nn,Ti),iY=A("xhr_polling","xhr_polling",1,Nn),m8e=A("xdr_polling","xdr_polling",1,Nn),uY=new Wh([_l],Bt),d8e=new Wh([Yv],Bt),_8e=new Wh([v8e],Bt),lY=new Wh([new uS(lS(oY),oY,p8e)],Bt),cY=new Wh([new uS(lS(iY),iY,m8e)],Bt),sY=new Wh([new uS(lS(lY),new bL([lY,new FM(cY,{delay:4e3})]),cY)],Bt),CL=new uS(lS(sY),sY,_8e),IL;return D.useTLS?IL=new bL([uY,new FM(CL,{delay:2e3})]):IL=new bL([uY,new FM(d8e,{delay:2e3}),new FM(CL,{delay:5e3})]),new b6e(new I6e(new uS(lS(_l),IL,CL)),F,{ttl:18e5,timeline:D.timeline,useTLS:D.useTLS})},F6e=T6e,M6e=function(){var b=this;b.timeline.info(b.buildTimelineMessage({transport:b.name+(b.options.useTLS?"s":"")})),b.hooks.isInitialized()?b.changeState("initialized"):b.hooks.file?(b.changeState("initializing"),s.load(b.hooks.file,{useTLS:b.options.useTLS},function(D,w){b.hooks.isInitialized()?(b.changeState("initialized"),w(!0)):(D&&b.onError(D),b.onClose(),w(!1))})):b.onClose()},G6e={getRequest:function(b){var D=new window.XDomainRequest;return D.ontimeout=function(){b.emit("error",new W5e),b.close()},D.onerror=function(w){b.emit("error",w),b.close()},D.onprogress=function(){D.responseText&&D.responseText.length>0&&b.onChunk(200,D.responseText)},D.onload=function(){D.responseText&&D.responseText.length>0&&b.onChunk(200,D.responseText),b.emit("finished",200),b.close()},D},abortRequest:function(b){b.ontimeout=b.onerror=b.onprogress=b.onload=null,b.abort()}},A6e=G6e,x6e=function(){var b=function(D,w){return b=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(F,A){F.__proto__=A}||function(F,A){for(var re in A)A.hasOwnProperty(re)&&(F[re]=A[re])},b(D,w)};return function(D,w){b(D,w);function F(){this.constructor=D}D.prototype=w===null?Object.create(w):(F.prototype=w.prototype,new F)}}(),L6e=256*1024,j6e=function(b){x6e(D,b);function D(w,F,A){var re=b.call(this)||this;return re.hooks=w,re.method=F,re.url=A,re}return D.prototype.start=function(w){var F=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){F.close()},Ta.addUnloadListener(this.unloader),this.xhr.open(this.method,this.url,!0),this.xhr.setRequestHeader&&this.xhr.setRequestHeader("Content-Type","application/json"),this.xhr.send(w)},D.prototype.close=function(){this.unloader&&(Ta.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},D.prototype.onChunk=function(w,F){for(;;){var A=this.advanceBuffer(F);if(A)this.emit("chunk",{status:w,data:A});else break}this.isBufferTooLong(F)&&this.emit("buffer_too_long")},D.prototype.advanceBuffer=function(w){var F=w.slice(this.position),A=F.indexOf(` `);return A!==-1?(this.position+=A+1,F.slice(0,A)):null},D.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>L6e},D}(Rr),N6e=j6e,wL;(function(b){b[b.CONNECTING=0]="CONNECTING",b[b.OPEN=1]="OPEN",b[b.CLOSED=3]="CLOSED"})(wL||(wL={}));var $h=wL,P6e=1,O6e=function(){function b(D,w){this.hooks=D,this.session=eY(1e3)+"/"+B6e(8),this.location=k6e(w),this.readyState=$h.CONNECTING,this.openStream()}return b.prototype.send=function(D){return this.sendRaw(JSON.stringify([D]))},b.prototype.ping=function(){this.hooks.sendHeartbeat(this)},b.prototype.close=function(D,w){this.onClose(D,w,!0)},b.prototype.sendRaw=function(D){if(this.readyState===$h.OPEN)try{return Ta.createSocketRequest("POST",KQ(U6e(this.location,this.session))).start(D),!0}catch{return!1}else return!1},b.prototype.reconnect=function(){this.closeStream(),this.openStream()},b.prototype.onClose=function(D,w,F){this.closeStream(),this.readyState=$h.CLOSED,this.onclose&&this.onclose({code:D,reason:w,wasClean:F})},b.prototype.onChunk=function(D){if(D.status===200){this.readyState===$h.OPEN&&this.onActivity();var w,F=D.data.slice(0,1);switch(F){case"o":w=JSON.parse(D.data.slice(1)||"{}"),this.onOpen(w);break;case"a":w=JSON.parse(D.data.slice(1)||"[]");for(var A=0;A0&&b.onChunk(w.status,w.responseText);break;case 4:w.responseText&&w.responseText.length>0&&b.onChunk(w.status,w.responseText),b.emit("finished",w.status),b.close();break}},w},abortRequest:function(b){b.onreadystatechange=null,b.abort()}},Q6e=V6e,Y6e={createStreamingSocket:function(b){return this.createSocket(W6e,b)},createPollingSocket:function(b){return this.createSocket(z6e,b)},createSocket:function(b,D){return new J6e(b,D)},createXHR:function(b,D){return this.createRequest(Q6e,b,D)},createRequest:function(b,D,w){return new N6e(b,D,w)}},nY=Y6e;nY.createXDR=function(b,D){return this.createRequest(A6e,b,D)};var X6e=nY,Z6e={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:F6e,Transports:F5e,transportConnectionInitializer:M6e,HTTPFactory:X6e,TimelineTransport:Ee,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(b){var D=this;window.Pusher=b;var w=function(){D.onDocumentBody(b.ready)};window.JSON?w():s.load("json2",{},w)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:at,jsonp:Gn}},onDocumentBody:function(b){var D=this;document.body?b():setTimeout(function(){D.onDocumentBody(b)},0)},createJSONPRequest:function(b,D){return new vn(b,D)},createScriptRequest:function(b){return new rt(b)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var b=this.getXHRAPI();return new b},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return A5e},createWebSocket:function(b){var D=this.getWebSocketAPI();return new D(b)},createSocketRequest:function(b,D){if(this.isXHRSupported())return this.HTTPFactory.createXHR(b,D);if(this.isXDRSupported(D.indexOf("https:")===0))return this.HTTPFactory.createXDR(b,D);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var b=this.getXHRAPI();return Boolean(b)&&new b().withCredentials!==void 0},isXDRSupported:function(b){var D=b?"https:":"http:",w=this.getProtocol();return Boolean(window.XDomainRequest)&&w===D},addUnloadListener:function(b){window.addEventListener!==void 0?window.addEventListener("unload",b,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",b)},removeUnloadListener:function(b){window.addEventListener!==void 0?window.removeEventListener("unload",b,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",b)}},Ta=Z6e,SL;(function(b){b[b.ERROR=3]="ERROR",b[b.INFO=6]="INFO",b[b.DEBUG=7]="DEBUG"})(SL||(SL={}));var MM=SL,K6e=function(){function b(D,w,F){this.key=D,this.session=w,this.events=[],this.options=F||{},this.sent=0,this.uniqueID=0}return b.prototype.log=function(D,w){D<=this.options.level&&(this.events.push(Ce({},w,{timestamp:Se.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},b.prototype.error=function(D){this.log(MM.ERROR,D)},b.prototype.info=function(D){this.log(MM.INFO,D)},b.prototype.debug=function(D){this.log(MM.DEBUG,D)},b.prototype.isEmpty=function(){return this.events.length===0},b.prototype.send=function(D,w){var F=this,A=Ce({session:this.session,bundle:this.sent+1,key:this.key,lib:"js",version:this.options.version,cluster:this.options.cluster,features:this.options.features,timeline:this.events},this.options.params);return this.events=[],D(A,function(re,Oe){re||F.sent++,w&&w(re,Oe)}),!0},b.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},b}(),e8e=K6e,n8e=function(){function b(D,w,F,A){this.name=D,this.priority=w,this.transport=F,this.options=A||{}}return b.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},b.prototype.connect=function(D,w){var F=this;if(this.isSupported()){if(this.priority{UGe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var n4e=_e((O7r,e4e)=>{"use strict";var O6=Object.prototype.hasOwnProperty,zGe=Object.prototype.toString,VGe=Object.defineProperty,QGe=Object.getOwnPropertyDescriptor,YGe=function(n){return typeof Array.isArray=="function"?Array.isArray(n):zGe.call(n)==="[object Array]"},XGe=function(n){if(!n||zGe.call(n)!=="[object Object]")return!1;var t=O6.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&O6.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||O6.call(n,r)},ZGe=function(n,t){VGe&&t.name==="__proto__"?VGe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},KGe=function(n,t){if(t==="__proto__")if(O6.call(n,t)){if(QGe)return QGe(n,t).value}else return;return n[t]};e4e.exports=function e(){var n,t,a,r,o,i,u=arguments[0],l=1,c=arguments.length,s=!1;for(typeof u=="boolean"&&(s=u,u=arguments[1]||{},l=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});l{"use strict";var Mz=Symbol.for("react.element"),Gz=Symbol.for("react.portal"),s8=Symbol.for("react.fragment"),f8=Symbol.for("react.strict_mode"),v8=Symbol.for("react.profiler"),p8=Symbol.for("react.provider"),m8=Symbol.for("react.context"),$2n=Symbol.for("react.server_context"),d8=Symbol.for("react.forward_ref"),_8=Symbol.for("react.suspense"),h8=Symbol.for("react.suspense_list"),g8=Symbol.for("react.memo"),D8=Symbol.for("react.lazy"),z2n=Symbol.for("react.offscreen"),b3e;b3e=Symbol.for("react.module.reference");function Mf(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case Mz:switch(e=e.type,e){case s8:case v8:case f8:case _8:case h8:return e;default:switch(e=e&&e.$$typeof,e){case $2n:case m8:case d8:case D8:case g8:case p8:return e;default:return n}}case Gz:return n}}}Ir.ContextConsumer=m8;Ir.ContextProvider=p8;Ir.Element=Mz;Ir.ForwardRef=d8;Ir.Fragment=s8;Ir.Lazy=D8;Ir.Memo=g8;Ir.Portal=Gz;Ir.Profiler=v8;Ir.StrictMode=f8;Ir.Suspense=_8;Ir.SuspenseList=h8;Ir.isAsyncMode=function(){return!1};Ir.isConcurrentMode=function(){return!1};Ir.isContextConsumer=function(e){return Mf(e)===m8};Ir.isContextProvider=function(e){return Mf(e)===p8};Ir.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Mz};Ir.isForwardRef=function(e){return Mf(e)===d8};Ir.isFragment=function(e){return Mf(e)===s8};Ir.isLazy=function(e){return Mf(e)===D8};Ir.isMemo=function(e){return Mf(e)===g8};Ir.isPortal=function(e){return Mf(e)===Gz};Ir.isProfiler=function(e){return Mf(e)===v8};Ir.isStrictMode=function(e){return Mf(e)===f8};Ir.isSuspense=function(e){return Mf(e)===_8};Ir.isSuspenseList=function(e){return Mf(e)===h8};Ir.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===s8||e===v8||e===f8||e===_8||e===h8||e===z2n||typeof e=="object"&&e!==null&&(e.$$typeof===D8||e.$$typeof===g8||e.$$typeof===p8||e.$$typeof===m8||e.$$typeof===d8||e.$$typeof===b3e||e.getModuleId!==void 0)};Ir.typeOf=Mf});var S3e=_e((X9r,w3e)=>{"use strict";w3e.exports=R3e()});var x3e=_e((nNr,A3e)=>{var T3e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,V2n=/\n/g,Q2n=/^\s*/,Y2n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,X2n=/^:\s*/,Z2n=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,K2n=/^[;\s]*/,eGn=/^\s+|\s+$/g,nGn=` `,F3e="/",M3e="*",jy="",tGn="comment",aGn="declaration";A3e.exports=function(e,n){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];n=n||{};var t=1,a=1;function r(y){var h=y.match(V2n);h&&(t+=h.length);var g=y.lastIndexOf(nGn);a=~g?y.length-g:a+y.length}function o(){var y={line:t,column:a};return function(h){return h.position=new i(y),s(),h}}function i(y){this.start=y,this.end={line:t,column:a},this.source=n.source}i.prototype.content=e;var u=[];function l(y){var h=new Error(n.source+":"+t+":"+a+": "+y);if(h.reason=y,h.filename=n.source,h.line=t,h.column=a,h.source=e,n.silent)u.push(h);else throw h}function c(y){var h=y.exec(e);if(!!h){var g=h[0];return r(g),e=e.slice(g.length),h}}function s(){c(Q2n)}function f(y){var h;for(y=y||[];h=v();)h!==!1&&y.push(h);return y}function v(){var y=o();if(!(F3e!=e.charAt(0)||M3e!=e.charAt(1))){for(var h=2;jy!=e.charAt(h)&&(M3e!=e.charAt(h)||F3e!=e.charAt(h+1));)++h;if(h+=2,jy===e.charAt(h-1))return l("End of comment missing");var g=e.slice(2,h-2);return a+=2,r(g),e=e.slice(h),a+=2,y({type:tGn,comment:g})}}function p(){var y=o(),h=c(Y2n);if(!!h){if(v(),!c(X2n))return l("property missing ':'");var g=c(Z2n),S=y({type:aGn,property:G3e(h[0].replace(T3e,jy)),value:g?G3e(g[0].replace(T3e,jy)):jy});return c(K2n),S}}function d(){var y=[];f(y);for(var h;h=p();)h!==!1&&(y.push(h),f(y));return y}return s(),d()};function G3e(e){return e?e.replace(eGn,jy):jy}});var j3e=_e((tNr,Lz)=>{var rGn=x3e();function L3e(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=rGn(e),o=typeof n=="function",i,u,l=0,c=r.length;lb7n});var hY=typeof Array.prototype.flatMap=="function"?function(e){return function(n){return e.flatMap(n)}}:function(e){return function(n){for(var t=[],a=e.length,r=0;r="0"&&e[r]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},KY=function(e){return function(n){for(var t=[],a=0,r=n.length;a0?Math.floor(e/n):-Math.floor(e/-n)}},gX=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var OL={Ring0:function(){return Kv}};var bu=function(e){return e.mod};var tr={degree:_X,div:hX,mod:gX,CommutativeRing0:function(){return OL}},ur=function(e){return e.div};var kL={mempty:Re,Semigroup0:function(){return pS}},ft={mempty:"",Semigroup0:function(){return Ip}};var Rd={mempty:[],Semigroup0:function(){return da}};var fa=function(e){return e.mempty};var UL=function(e){return function(){return e}},DX=function(e){return function(n){return function(){return n(e())()}}};var HL=function(e){return function(n){return function(){for(var t=0,a=e.length;tn?-1:1,a=new Array(t*(n-e)+1),r=e,o=0;r!==n;)a[o++]=r,r+=t;return a[o]=r,a},Q8e=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},Y8e=function(e,n){for(var t=[],a=0,r=0;r=t.length?n:e(t[a])};var AX=function(e,n,t,a){for(var r=0,o=a.length;r=a.length)return n;var r=a.slice();return r.splice(t,1),e(r)},LX=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},Qy=function(e){return e.slice().reverse()},ag=function(e){if(e.length<=1e4)return Array.prototype.concat.apply([],e);for(var n=[],t=0,a=e.length;t>1),u-o>1&&e(n,t,r,a,o,u),i-u>1&&e(n,t,r,a,u,i),l=o,c=u,s=o;l0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l>1),u-o>1&&e(n,t,r,a,o,u),i-u>1&&e(n,t,r,a,u,i),l=o,c=u,s=o;l0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l=0;o--)a=e(t[o])(a);return a}}},tZ=function(e){return function(n){return function(t){for(var a=n,r=t.length,o=0;o=0;a--)t=e(n[a])(t);return t},HZ=function(e,n){for(var t=n[0],a=n.length,r=1;r0)return new _(JS(e));if(Fe)return E.value;throw new Error("Failed pattern match at Data.Array.NonEmpty (line 161, column 1 - line 161, column 58): "+[e.constructor.name])};var i1=function(e){return function(n){return JS(ri(e)(n))}};var VZ=function(e){return function(n){return qje(e(qu(n)))}},Gd=VZ(gi);var QZ=VZ(sj),YZ=function(e){return function(n){return e(qu(n))}};var qS=YZ(nu);var XZ=function(e){var n=YZ(e);return function(t){return JS(n(t))}},ZZ=function(e){return XZ(ri(e))};var KZ=function(e){var n=wl(e);return function(t){return XZ(n(t))}};var eK=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},ut=function(e){return e};var t2=isFinite;var a2=Math.abs;var wj=Math.cos;var u1=Math.floor,Sj=Math.log;var r2=function(e){return function(n){return Math.pow(e,n)}},yg=function(e){return function(n){return e%n}},bg=Math.round;var Ej=Math.sin;var c0=3.141592653589793;var nK=2.302585092994046;var tK=Ko(Jy),aK=ro(Jy);var s0=function(){return eK(_.create)(E.value)}(),rK=function(e){if(!t2(e))return 0;if(e>=ut(tK))return tK;if(e<=ut(aK))return aK;if(Fe)return be(0)(s0(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},Ps=function(e){return rK(bg(e))};var Zr=function(e){return rK(u1(e))},oK=function(e){return(e&1)==0};var Hr=function(){function e(){}return e.value=new e,e}(),Ca=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),o2=function(e){return e},i9e=function(e){return new Ca(e.value0,e.value1)};var u9e=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ca&&c.value1 instanceof Ca&&c.value1.value1 instanceof Ca){r=new Ca(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ca&&v.value1 instanceof Ca&&v.value1.value1 instanceof Hr?new Ca(e(v.value0),new Ca(e(v.value1.value0),Hr.value)):v instanceof Ca&&v.value1 instanceof Hr?new Ca(e(v.value0),Hr.value):Hr.value},f=function(v){return function(p){var d=v,y=!1,h;function g(S,M){if(S instanceof Ca&&S.value0 instanceof Ca&&S.value0.value1 instanceof Ca&&S.value0.value1.value1 instanceof Ca){d=S.value1,p=new Ca(e(S.value0.value0),new Ca(e(S.value0.value1.value0),new Ca(e(S.value0.value1.value1.value0),M)));return}return y=!0,M}for(;!y;)h=g(d,p);return h}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Hr.value)},uK={map:u9e};var Wu={foldr:function(e){return function(n){var t=function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){if(v instanceof Hr)return l=!0,f;if(v instanceof Ca){u=new Ca(v.value0,f),i=v.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[f.constructor.name,v.constructor.name])}for(;!l;)c=s(u,i);return c}};return r(Hr.value)}(),a=Na(Wu)(Nt(e))(n);return function(r){return a(t(r))}}},foldl:function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Hr)return o=!0,l;if(c instanceof Ca){r=e(l)(c.value0),a=c.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[c.constructor.name])}for(;!o;)i=u(r,a);return i}};return n},foldMap:function(e){var n=qe(e.Semigroup0()),t=fa(e);return function(a){return Na(Wu)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var l9e=_r(Wu);var i2={append:function(e){return function(n){return l9e(Ca.create)(n)(e)}}},lK=qe(i2);var Cj={append:function(e){return function(n){return new Jf(e.value0,lK(e.value1)(i9e(n)))}}};var cK={alt:lK,Functor0:function(){return uK}},Ij=function(){return{empty:Hr.value,Alt0:function(){return cK}}}();var _9e=j(B);var Tj=function(e){if(e instanceof Hr)return E.value;if(e instanceof Ca)return new _({head:e.value0,tail:e.value1});throw new Error("Failed pattern match at Data.List (line 259, column 1 - line 259, column 66): "+[e.constructor.name])},l2=function(e){return wu(e)(function(n){return _9e(function(t){return new Pe(t.head,t.tail)})(Tj(n))})};var Ad=function(e){return _r(e)(Ca.create)(Hr.value)};var vK=function(e){return e()};var pK=function(e){throw new Error(e)};var mK=function(){return pK};var h9e=mK(),g9e=vK,Hc=function(e){return g9e(function(){return h9e(e)})};var Fj=function(){var e=n2(Ij);return function(n){return o2(e(n))}}();var _K=function(e){return e.value0};var gK=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var Uo=function(){function e(){}return e.value=new e,e}(),Ho=function(){function e(n,t,a,r,o,i){this.value0=n,this.value1=t,this.value2=a,this.value3=r,this.value4=o,this.value5=i}return e.create=function(n){return function(t){return function(a){return function(r){return function(o){return function(i){return new e(n,t,a,r,o,i)}}}}}},e}(),DK=function(){function e(){}return e.value=new e,e}(),Mj=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),Gj=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),yK=function(){function e(){}return e.value=new e,e}(),Aj=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),c2=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}();var Os=function(e,n,t,a){if(t instanceof Uo){if(a instanceof Uo)return new Ho(1,1,e,n,t,a);if(a instanceof Ho)return new Ho(1+a.value0|0,1+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 702, column 5 - line 706, column 39): "+[a.constructor.name])}if(t instanceof Ho){if(a instanceof Uo)return new Ho(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof Ho)return new Ho(1+function(){var r=t.value0>a.value0;return r?t.value0:a.value0}()|0,(1+t.value1|0)+a.value1|0,e,n,t,a);throw new Error("Failed pattern match at Data.Map.Internal (line 708, column 5 - line 712, column 68): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 700, column 32 - line 712, column 68): "+[t.constructor.name])},WS=function(){return Nt(Gj.create)(DK.value)}(),w9e=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof DK)return o=!0,t(Re);if(l instanceof Mj)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof Gj){r=e(l.value1)(l.value0);return}throw new Error("Failed pattern match at Data.Map.Internal (line 940, column 8 - line 946, column 20): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}}};var Rg=function(e){return function(n){return new Ho(1,1,e,n,Uo.value,Uo.value)}},l1=function(){var e=function(a){if(a instanceof Uo)return 0;if(a instanceof Ho)return a.value0;throw new Error("Failed pattern match at Data.Map.Internal (line 757, column 12 - line 759, column 26): "+[a.constructor.name])},n=function(a,r,o,i,u,l,c){return l instanceof Ho&&l.value0>e(c)?Os(l.value2,l.value3,Os(a,r,o,l.value4),Os(i,u,l.value5,c)):Os(i,u,Os(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof Ho&&e(u)<=l.value0?Os(l.value2,l.value3,Os(o,i,u,l.value4),Os(a,r,l.value5,c)):Os(o,i,u,Os(a,r,l,c))};return function(a,r,o,i){if(o instanceof Uo)return i instanceof Uo?Rg(a)(r):i instanceof Ho&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):Os(a,r,o,i);if(o instanceof Ho){if(i instanceof Ho){if(i.value0>(o.value0+1|0))return n(a,r,o,i.value2,i.value3,i.value4,i.value5);if(o.value0>(i.value0+1|0))return t(a,r,o.value2,o.value3,o.value4,o.value5,i)}return i instanceof Uo&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):Os(a,r,o,i)}throw new Error("Failed pattern match at Data.Map.Internal (line 717, column 40 - line 738, column 34): "+[o.constructor.name])}}(),xj=gK("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Uo)return new c2(E.value,Uo.value,Uo.value);if(t instanceof Ho){var a=e(n)(t.value2);if(a instanceof De){var r=xj(793)(e,n,t.value4);return new c2(r.value0,r.value1,l1(t.value2,t.value3,r.value2,t.value5))}if(a instanceof ge){var r=xj(796)(e,n,t.value5);return new c2(r.value0,l1(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Ie)return new c2(new _(t.value3),t.value4,t.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 791, column 5 - line 799, column 30): "+[a.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 787, column 34 - line 799, column 30): "+[t.constructor.name])}}),S9e=xj(786);var Lj=gK("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Uo)return a;if(a instanceof Uo)return t;if(a instanceof Ho){var r=S9e(e,a.value2,t),o=Lj(809)(e,n,r.value1,a.value4),i=Lj(810)(e,n,r.value2,a.value5);if(r.value0 instanceof _)return l1(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof E)return l1(a.value2,a.value3,o,i);throw new Error("Failed pattern match at Data.Map.Internal (line 811, column 5 - line 815, column 46): "+[r.value0.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 804, column 42 - line 815, column 46): "+[t.constructor.name,a.constructor.name])}}),E9e=Lj(803),jj=function(e){var n=Ve(e);return function(t){return function(a){return function(r){return E9e(n,t,a,r)}}}},$S=function(e){return jj(e)(Ze)};var xd=function(e){var n=Ve(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Uo)return o=!0,E.value;if(l instanceof Ho){var c=n(t)(l.value2);if(c instanceof De){r=l.value4;return}if(c instanceof ge){r=l.value5;return}if(c instanceof Ie)return o=!0,new _(l.value3);throw new Error("Failed pattern match at Data.Map.Internal (line 283, column 7 - line 286, column 22): "+[c.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 280, column 8 - line 286, column 22): "+[l.constructor.name])}for(;!o;)i=u(r);return i};return a}};var C9e=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Uo)return r=!0,u;if(l instanceof Ho){if(l.value5 instanceof Uo){a=new Mj(l.value2,l.value3,u),t=l.value4;return}a=new Mj(l.value2,l.value3,new Gj(l.value5,u)),t=l.value4;return}throw new Error("Failed pattern match at Data.Map.Internal (line 951, column 13 - line 958, column 48): "+[l.constructor.name])}for(;!r;)o=i(a,t);return o}};return e}(),zS=w9e(C9e),bK=function(){return zS(function(e,n,t){return new Aj(e,n,t)})(Ze(yK.value))}(),I9e=function(e){var n=ve(e);return function(t){var a=ve(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var p=bK(f);if(p instanceof Aj){var d=bK(v);if(d instanceof Aj&&n(p.value0)(d.value0)&&a(p.value1)(d.value1)){u=p.value2,i=d.value2;return}return l=!0,!1}if(p instanceof yK)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 859, column 14 - line 868, column 13): "+[p.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var T9e=function(){var e=function(n,t,a){return new _(new Pe(new Pe(n,t),a))};return zS(e)(function(n){return E.value})}(),ks=function(e){var n=wu(e)(T9e);return function(t){return n(WS(t))}};var s2=function(e){return e instanceof Uo};var c1=function(e){var n=Ve(e);return function(t){return function(a){var r=function(o){if(o instanceof Uo)return Rg(t)(a);if(o instanceof Ho){var i=n(t)(o.value2);if(i instanceof De)return l1(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof ge)return l1(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Ie)return new Ho(o.value0,o.value1,t,a,o.value4,o.value5);throw new Error("Failed pattern match at Data.Map.Internal (line 471, column 7 - line 474, column 35): "+[i.constructor.name])}throw new Error("Failed pattern match at Data.Map.Internal (line 468, column 8 - line 474, column 35): "+[o.constructor.name])};return r}}};var f2=function(e){var n=I9e(e);return function(t){var a=ve(n(t));return{eq:function(r){return function(o){if(r instanceof Uo)return o instanceof Uo;if(r instanceof Ho)return o instanceof Ho&&r.value1===o.value1?a(WS(r))(WS(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var El=function(){return Uo.value}(),Su=function(e){var n=c1(e);return function(t){return Na(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(El)}};var RK=ko();var O9e=function(e){return RK($S(e))};var wK=function(e){return e};var SK=function(e){return Rg(e)(Re)};var EK=function(e){return{append:O9e(e)}};var CK=RK(s2);var IK=function(e){var n=c1(e);return function(t){return function(a){return n(t)(Re)(a)}}};var TK=function(e){var n=ve(f2(e)(Hy));return{eq:function(t){return function(a){return n(t)(a)}}}};var k9e=El,QS=function(e){var n=Na(e);return function(t){var a=IK(t);return n(function(r){return function(o){return a(o)(r)}})(k9e)}};var U9e=typeof Array.from=="function",FK=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",H9e=typeof String.prototype.fromCodePoint=="function",B9e=typeof String.prototype.codePointAt=="function",MK=function(e){return B9e?function(n){return n.codePointAt(0)}:e},GK=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=o.length;if(r<0||r>=i)return t;if(FK)for(var u=o[Symbol.iterator](),l=r;;--l){var c=u.next();if(c.done)return t;if(l===0)return n(a(c.value))}return e(r)(o)}}}}}};var AK=function(e){return H9e?String.fromCodePoint:e},xK=function(e){return function(n){return FK?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o=Ld(NK)&&e<=Ld(PK)?new _(jK(e)):E.value},J9e={succ:wg(Pj)(Ld),pred:Sg(Pj)(Ld),Ord0:function(){return jM}};var s1=function(){return{cardinality:Ld(PK)-Ld(NK)|0,toEnum:Pj,fromEnum:Ld,Bounded0:function(){return yd},Enum1:function(){return J9e}}}();var f1=function(e){return e.join("")},YS=function(e){return e.split("")},jd=function(e){return e},OK=function(e){return function(n){return function(t){return function(a){return t>=0&&t=0&&e1;if(t){var a=ZS(Bp(1)(e)),r=JK(a);return r?BK(n)(a):n}return n},kj=MK(eNe),Cg=LK(K9e)(kj),Br=function(e){return ha(Cg(e))};var Uj=function(){var e=Nj(s1)(ro(yd))(Ko(yd));return function(n){return jd(e(n))}}(),nNe=function(e){if(e<=65535)return Uj(e);var n=Q9e(e-65536|0)(1024)+55296|0,t=Y9e(e-65536|0)(1024)+56320|0;return Uj(n)+Uj(t)};var m1=AK(nNe),WK=function(e){return function(n){if(e<1)return"";var t=p1(n);return t instanceof _?m1(t.value0.head)+WK(e-1|0)(t.value0.tail):n}},Cl=xK(WK);var d2={eq:function(e){return function(n){return e===n}}},_2={compare:function(e){return function(n){return X9e(e)(n)}},Eq0:function(){return d2}},Ig=function(e){return function(n){return Hp(Us(Cl(e)(n)))(n)}};var tNe=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=p1(u);if(l instanceof _){var c=i===0;if(c)return a=!0,new _(l.value0.head);t=i-1|0,n=l.value0.tail;return}return a=!0,E.value}for(;!a;)r=o(t,n);return r}},d1=function(e){return function(n){return e<0?E.value:e===0&&n===""?E.value:e===0?new _(kj(n)):GK(tNe)(_.create)(E.value)(kj)(e)(n)}},aNe={bottom:0,top:1114111,Ord0:function(){return _2}},Nd=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.String.CodePoints (line 63, column 1 - line 68, column 26): "+[e.constructor.name])},Bounded0:function(){return aNe},Enum1:function(){return rNe(0)}}}(),rNe=$9e("enumCodePoint","Data.String.CodePoints",function(){return{succ:wg(wt(Nd))(dt(Nd)),pred:Sg(wt(Nd))(dt(Nd)),Ord0:function(){return _2}}});function g2(e,n){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);for(var r in e)({}).hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}var qf=function(){return function(){return function(e){return function(n){return g2(e,n)}}}};function KK(e){return typeof e=="string"}function Bj(e){return typeof e=="number"}function eee(e){return typeof e=="boolean"}function D2(e){return e instanceof Object}function nee(e){return e instanceof Function}function KS(e){return e===null?"":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}function Jj(e){return typeof e}function eE(e){return Object.prototype.toString.call(e).slice(8,-1)}function nE(e){return e===null}function Tg(e){return e===void 0}var h1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Wf(e){return new Error(e)}function g1(e){return e.message}function y2(e){return function(){throw e}}var aee=function(e){return y2(Wf(e))};var oi=function(e){return e.throwError};var ac=function(e){return e.catchError};var Jc=function(e){var n=ac(e),t=e.MonadThrow0().Monad0(),a=j(t.Bind1().Apply0().Functor0()),r=q(t.Applicative0());return function(o){return n(a(nn.create)(o))(function(i){return r(Ke.create(i))})}};var v0=function(e){return e.state};var p0=function(e){return e.tell};var Hs={liftEffect:$e(Xe),Monad0:function(){return r0}},Bn=function(e){return e.liftEffect};var dNe=j(bo);var qj=function(e){return e};var b2=function(e){return e};var R2=function(e){return function(n){return e(n)}},w2=function(e){var n=j(e);return{map:function(t){return R2(n(dNe(t)))}}};var oee=function(e){return{Applicative0:function(){return rc(e)},Bind1:function(){return qc(e)}}},qc=function(e){var n=Z(e.Bind1()),t=q(e.Applicative0());return{bind:function(a){return function(r){return n(a)(nr(function(o){return t(Ke.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return S2(e)}}},S2=function(e){var n=w2(e.Bind1().Apply0().Functor0());return{apply:yl(oee(e)),Functor0:function(){return n}}},rc=function(e){return{pure:function(){var n=q(e.Applicative0());return function(t){return qj(n(nn.create(t)))}}(),Apply0:function(){return S2(e)}}};var Wj=function(e){var n=oee(e);return{throwError:function(){var t=q(e.Applicative0());return function(a){return qj(t(Ke.create(a)))}}(),Monad0:function(){return n}}};var $j=function(e){var n=qe(e);return function(t){var a=t.Bind1(),r=Z(a),o=q(t.Applicative0()),i=w2(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof nn)return o(new nn(c.value0));if(c instanceof Ke)return r(l)(function(s){if(s instanceof nn)return o(new nn(s.value0));if(s instanceof Ke)return o(new Ke(n(c.value0)(s.value0)));throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 87, column 9 - line 89, column 49): "+[s.constructor.name])});throw new Error("Failed pattern match at Control.Monad.Except.Trans (line 83, column 5 - line 89, column 49): "+[c.constructor.name])})}},Functor0:function(){return i}}}};var _Ne=ne(wr),hNe=ne(Ye);var E2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oE=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),uee=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),lee=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),xa=Be,m0=Be;var iE=function(e){if(e instanceof E2)return e.value0;if(e instanceof uee)return"Error at array index "+(hNe(e.value0)+(": "+iE(e.value1)));if(e instanceof lee)return"Error at property "+(_Ne(e.value0)+(": "+iE(e.value1)));if(e instanceof oE)return"Type mismatch: expected "+(e.value0+(", found "+e.value1));throw new Error("Failed pattern match at Foreign (line 78, column 1 - line 78, column 45): "+[e.constructor.name])};var Mg=function(e){var n=oi(Wj(e));return function(t){return n(Fj(t))}},cee=function(e){var n=q(rc(e)),t=Mg(e);return function(a){if(h1(a))return n(m0(a));if(Fe)return t(new oE("array",eE(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},$f=function(e){var n=q(rc(e)),t=Mg(e);return function(a){return function(r){if(eE(r)===a)return n(m0(r));if(Fe)return t(new oE(a,eE(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var Gg=function(e){return $f(e)("String")};var see=lr(Qt),fee=Fa(see),gNe=FZ(r1),DNe=ne(Ye),yNe=LS(ft),tu=function(){function e(){}return e.value=new e,e}(),$u=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),de={validateJsRecord:function(e){return tu.value}},Od={validateForeignType:function(e){return tu.value}};var Ag=function(e){return function(n){return function(t){var a=n(t);return a?tu.value:new $u({path:"",got:t,expected:e})}}},uE={validateForeignType:Ag("Array")(h1)},$n={validateForeignType:Ag("Boolean")(eee)},vee={validateForeignType:Ag("Function")(nee)};var Ct={validateForeignType:Ag("Int")(Zl(see)(Bj)(function(e){return Dt(s0(m0(e)))}))};var Lt={validateForeignType:Ag("Number")(Bj)},C2={validateForeignType:Ag("Object")(D2)},ie={validateForeignType:Ag("String")(KK)},pee=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=pee(e);return{validateForeignType:function(t){if(D2(t))return n(t);if(Fe)return new $u({path:"",expected:"Object",got:t});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[t.constructor.name])}}}},xg=function(e){return e.validateForeignType},zn=function(e){var n=xg(e);return{validateForeignType:function(t){if(fee(h1)(t))return new $u({path:"",expected:"Array",got:t});if(Fe){var a=function(o){return function(i){var u=n(i);if(u instanceof tu)return E.value;if(u instanceof $u)return new _({idx:o,invalid:u.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[u.constructor.name])}},r=gNe(a)(m0(t));if(r instanceof E)return tu.value;if(r instanceof _)return new $u({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(DNe(r.value0.idx)+("]"+r.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[r.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[t.constructor.name])}}},Pn=function(e){var n=xg(e);return{validateForeignType:function(t){if(nE(t)||Tg(t))return tu.value;if(Fe){var a=n(t);if(a instanceof tu)return tu.value;if(a instanceof $u)return new $u({path:a.value0.path,got:a.value0.got,expected:function(){var r=a.value0.path==="";return r?"Nullable "+a.value0.expected:a.value0.expected}()});throw new Error("Failed pattern match at Elmish.Foreign (line 196, column 11 - line 198, column 123): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 192, column 1 - line 198, column 123): "+[t.constructor.name])}}},Lg=function(e){var n=xg(e);return{validateForeignType:function(t){if(fee(D2)(t))return new $u({path:"",expected:"Object",got:t});if(Fe){var a=function(r){return function(o){return function(i){if(r instanceof $u)return E.value;var u=n(i);if(u instanceof tu)return new _(tu.value);if(u instanceof $u)return new _(new $u({expected:u.value0.expected,got:u.value0.got,path:"['"+(o+("']"+u.value0.path))}));throw new Error("Failed pattern match at Elmish.Foreign (line 151, column 29 - line 153, column 97): "+[u.constructor.name])}}};return NZ(a)(tu.value)(m0(t))}throw new Error("Failed pattern match at Elmish.Foreign (line 145, column 6 - line 153, column 97): "+[t.constructor.name])}}};var C=function(e){var n=er(e);return function(t){var a=xg(t);return function(r){var o=pee(r);return{validateJsRecord:function(i){var u=n(yt.value),l=Gi(u)(m0(i)),c=a(l);if(c instanceof $u)return new $u({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof tu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},d0=function(e){var n=xg(e);return function(t){var a=n(t);if(a instanceof tu)return new nn(m0(t));if(a instanceof $u)return new Ke(yNe([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",KS(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},St=function(e){var n=d0(e);return function(t){return Bu(n(t))}};var mee=an(),bNe=Ve(Tt);var I2=function(e){return e};var zj={show:mee};var ji={show:mee};var RNe={eq:function(e){return function(n){return e===n}}},Vj={compare:function(e){return function(n){return bNe(e)(n)}},Eq0:function(){return RNe}},Wc={eq:function(e){return function(n){return e===n}}};var lE=ie,Bs=ie;var cE="";function dee(e){var n=e.split(` `);return n.reduce(function(t,a){var r=ENe(a)||INe(a)||MNe(a)||LNe(a)||ANe(a);return r&&t.push(r),t},[])}var wNe=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,SNe=/\((\S*)(?::(\d+))(?::(\d+))\)/;function ENe(e){var n=wNe.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=SNe.exec(n[2]);return a&&r!=null&&(n[2]=r[1],n[3]=r[2],n[4]=r[3]),{file:t?null:n[2],methodName:n[1]||cE,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var CNe=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function INe(e){var n=CNe.exec(e);return n?{file:n[2],methodName:n[1]||cE,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var TNe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,FNe=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function MNe(e){var n=TNe.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=FNe.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||cE,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var GNe=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function ANe(e){var n=GNe.exec(e);return n?{file:n[3],methodName:n[1]||cE,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var xNe=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function LNe(e){var n=xNe.exec(e);return n?{file:n[2],methodName:n[1]||cE,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function _ee({skipFrames:e,prefix:n}){let t=new Error().stack,r=dee(t)[e],o=hee(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=hee(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var hee=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Jt();var gee=function(){let e={};return function(n,t){let a=e[n]||(e[n]=bee(n));return t(a)}}();function Dee(e){return e(bee())}var yee=bt.createElement,mE=e=>()=>e.props.def;function bee(e){class n extends bt.Component{constructor(a){super(a);a.init&&a.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return n.displayName=e?"Elmish_"+e:"ElmishRoot",n}var F2=typeof module=="undefined"?void 0:module.require,Ztt=function(){try{return F2===void 0?void 0:F2("util")}catch{return}}();var Ktt=function(){var e;if(typeof performance!="undefined")e=performance;else if(F2)try{e=F2("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var oc=function(){var e={},n="Pure",t="Throw",a="Catch",r="Sync",o="Async",i="Bind",u="Bracket",l="Fork",c="Sequential",s="Map",f="Apply",v="Alt",p="Cons",d="Resume",y="Release",h="Finalizer",g="Finalized",S="Forked",M="Fiber",P="Thunk";function O(Y,fe,he,U){this.tag=Y,this._1=fe,this._2=he,this._3=U}function T(Y){var fe=function(he,U,pe){return new O(Y,he,U,pe)};return fe.tag=Y,fe}function k(Y){return new O(n,void 0)}function K(Y){try{Y()}catch(fe){setTimeout(function(){throw fe},0)}}function oe(Y,fe,he){try{return fe(he())}catch(U){return Y(U)}}function Te(Y,fe,he){try{return fe(he)()}catch(U){return he(Y(U))(),k}}var we=function(){var Y=1024,fe=0,he=0,U=new Array(Y),pe=!1;function V(){var je;for(pe=!0;fe!==0;)fe--,je=U[he],U[he]=void 0,he=(he+1)%Y,je();pe=!1}return{isDraining:function(){return pe},enqueue:function(je){var Me,He;fe===Y&&(He=pe,V(),pe=He),U[(he+fe)%Y]=je,fe++,pe||V()}}}();function xe(Y){var fe={},he=0,U=0;return{register:function(pe){var V=he++;pe.onComplete({rethrow:!0,handler:function(je){return function(){U--,delete fe[V]}}})(),fe[V]=pe,U++},isEmpty:function(){return U===0},killAll:function(pe,V){return function(){if(U===0)return V();var je=0,Me={};function He(Ne){Me[Ne]=fe[Ne].kill(pe,function(Fn){return function(){delete Me[Ne],je--,Y.isLeft(Fn)&&Y.fromLeft(Fn)&&setTimeout(function(){throw Y.fromLeft(Fn)},0),je===0&&V()}})()}for(var en in fe)fe.hasOwnProperty(en)&&(je++,He(en));return fe={},he=0,U=0,function(Ne){return new O(r,function(){for(var Fn in Me)Me.hasOwnProperty(Fn)&&Me[Fn]()})}}}}}var Se=0,Ce=1,Je=2,ue=3,Tn=4,on=5,Et=6;function mt(Y,fe,he){var U=0,pe=Se,V=he,je=null,Me=null,He=null,en=null,Ne=null,Fn=0,fn=0,tt=null,In=!0;function at(rt){for(var qn,vn,vt;;)switch(qn=null,vn=null,vt=null,pe){case Je:pe=Ce;try{V=He(V),en===null?He=null:(He=en._1,en=en._2)}catch(Ee){pe=on,je=Y.left(Ee),V=null}break;case ue:Y.isLeft(V)?(pe=on,je=V,V=null):He===null?pe=on:(pe=Je,V=Y.fromRight(V));break;case Ce:switch(V.tag){case i:He&&(en=new O(p,He,en)),He=V._2,pe=Ce,V=V._1;break;case n:He===null?(pe=on,V=Y.right(V._1)):(pe=Je,V=V._1);break;case r:pe=ue,V=oe(Y.left,Y.right,V._1);break;case o:pe=Tn,V=Te(Y.left,V._1,function(Ee){return function(){U===rt&&(U++,we.enqueue(function(){U===rt+1&&(pe=ue,V=Ee,at(U))}))}});return;case t:pe=on,je=Y.left(V._1),V=null;break;case a:He===null?Ne=new O(p,V,Ne,Me):Ne=new O(p,V,new O(p,new O(d,He,en),Ne,Me),Me),He=null,en=null,pe=Ce,V=V._1;break;case u:Fn++,He===null?Ne=new O(p,V,Ne,Me):Ne=new O(p,V,new O(p,new O(d,He,en),Ne,Me),Me),He=null,en=null,pe=Ce,V=V._1;break;case l:pe=ue,qn=mt(Y,fe,V._2),fe&&fe.register(qn),V._1&&qn.run(),V=Y.right(qn);break;case c:pe=Ce,V=x(Y,fe,V._1);break}break;case on:if(He=null,en=null,Ne===null)pe=Et,V=Me||je||V;else switch(qn=Ne._3,vt=Ne._1,Ne=Ne._2,vt.tag){case a:Me&&Me!==qn&&Fn===0?pe=on:je&&(pe=Ce,V=vt._2(Y.fromLeft(je)),je=null);break;case d:Me&&Me!==qn&&Fn===0||je?pe=on:(He=vt._1,en=vt._2,pe=Je,V=Y.fromRight(V));break;case u:Fn--,je===null&&(vn=Y.fromRight(V),Ne=new O(p,new O(y,vt._2,vn),Ne,qn),(Me===qn||Fn>0)&&(pe=Ce,V=vt._3(vn)));break;case y:Ne=new O(p,new O(g,V,je),Ne,Me),pe=Ce,Me&&Me!==qn&&Fn===0?V=vt._1.killed(Y.fromLeft(Me))(vt._2):je?V=vt._1.failed(Y.fromLeft(je))(vt._2):V=vt._1.completed(Y.fromRight(V))(vt._2),je=null,Fn++;break;case h:Fn++,Ne=new O(p,new O(g,V,je),Ne,Me),pe=Ce,V=vt._1;break;case g:Fn--,pe=on,V=vt._1,je=vt._2;break}break;case Et:for(var Va in tt)tt.hasOwnProperty(Va)&&(In=In&&tt[Va].rethrow,K(tt[Va].handler(V)));tt=null,Me&&je?setTimeout(function(){throw Y.fromLeft(je)},0):Y.isLeft(V)&&In&&setTimeout(function(){if(In)throw Y.fromLeft(V)},0);return;case Se:pe=Ce;break;case Tn:return}}function gt(rt){return function(){if(pe===Et)return In=In&&rt.rethrow,rt.handler(V)(),function(){};var qn=fn++;return tt=tt||{},tt[qn]=rt,function(){tt!==null&&delete tt[qn]}}}function Gn(rt,qn){return function(){if(pe===Et)return qn(Y.right(void 0))(),function(){};var vn=gt({rethrow:!1,handler:function(){return qn(Y.right(void 0))}})();switch(pe){case Se:Me=Y.left(rt),pe=Et,V=Me,at(U);break;case Tn:Me===null&&(Me=Y.left(rt)),Fn===0&&(pe===Tn&&(Ne=new O(p,new O(h,V(rt)),Ne,Me)),pe=on,V=null,je=null,at(++U));break;default:Me===null&&(Me=Y.left(rt)),Fn===0&&(pe=on,V=null,je=null)}return vn}}function Gt(rt){return function(){var qn=gt({rethrow:!1,handler:rt})();return pe===Se&&at(U),qn}}return{kill:Gn,join:Gt,onComplete:gt,isSuspended:function(){return pe===Se},run:function(){pe===Se&&(we.isDraining()?at(U):we.enqueue(function(){at(U)}))}}}function z(Y,fe,he,U){var pe=0,V={},je=0,Me={},He=new Error("[ParAff] Early exit"),en=null,Ne=e;function Fn(gt,Gn,Gt){var rt=Gn,qn=null,vn=null,vt=0,Va={},Ee,Qe;e:for(;;)switch(Ee=null,rt.tag){case S:if(rt._3===e&&(Ee=V[rt._1],Va[vt++]=Ee.kill(gt,function(At){return function(){vt--,vt===0&&Gt(At)()}})),qn===null)break e;rt=qn._2,vn===null?qn=null:(qn=vn._1,vn=vn._2);break;case s:rt=rt._2;break;case f:case v:qn&&(vn=new O(p,qn,vn)),qn=rt,rt=rt._1;break}if(vt===0)Gt(Y.right(void 0))();else for(Qe=0,Ee=vt;Qen[e],$ee=(e,n,t)=>t[e]=n;var kg=function(n){return function(t){return n(t)()}};var E1=function(n){return function(t){return function(){return n(t)}}},kd=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},Ug=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};var _Pe=ee(st),gE=function(){function e(){}return e.value=new e,e}(),Qee=function(){return function(e){var n=er(e);return function(t){return Ug($ee)(n(yt.value))}}},e9=function(e){var n=St(e);return function(t){var a=er(t);return function(r){return function(o){return _Pe(function(){return Wee(a(yt.value),o)})(n)}}}};var Il=null;function Yee(e,n,t){return e==null?n:t(e)}function uc(e){return e}var Ht=ke(Il)(uc),te=function(e){return Yee(e,E.value,_.create)};Jt();var zc=window.ReactDOM,{createPortal:n9,findDOMNode:Tut,flushSync:Fut,unstable_batchedUpdates:Mut}=window.ReactDOM;var R9=ya(Une());function Hne(e){return e.state&&e.state.s}function Bne(e,n,t){return e.setState({s:n},t)}function Jne(e,n){return e.state={s:n}}var qne=zc.render,Wne=zc.hydrate,w9=R9.default&&R9.default.renderToString||(e=>""),zPe=zc.unmountComponentAtNode,$ne=bt.Fragment;function zne(e,n,t){return bt.createElement.apply(null,[e,VPe(e,n)].concat(t))}function VPe(e,n){if(typeof e!="string"||n._data==null)return n;var t={_data:void 0};for(var a in n._data){var r=n._data[a];t["data-"+a]=r}return Object.assign({},n,t)}function Vne(e){return n=>e===n}var F1=function(e){return function(n){return function(t){var a=te(t);if(e instanceof E&&a instanceof E)return Re;if(e instanceof _&&a instanceof E)return Re;if(e instanceof _&&a instanceof _){if(Vne(e.value0)(a.value0))return Re;if(Fe)return n(new _(a.value0))()}return n(a)()}}};var L={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},W={asReactChildren:$e(Xe)};var X=Be,S9=Ug(Bne),Qne=kd(qne),Yne=kd(Wne),Xne=E1(Hne),cn=!1;var Zne=kd(Jne),qg=function(e){return e.asReactChildren},Vc=function(){return function(e){var n=qg(e);return function(t){return function(a){return function(r){return zne(t,a,n(r))}}}}},Kne=Vc()(W),lc=function(){return function(e){return function(n){return Kne(e)(n)([])}}},le=Kne($ne)({});var E9=j(st),QPe=q(ta),ete=function(e){return{initialize:function(n){return Zne(n)(e.initialState)},getState:function(n){return function(){var a=E9(te)(Xne(n))();return be(e.initialState)(a)}},setState:S9}},nte=function(){var e=function(n){return function(t){return{initialize:function(a){return Ap(new _(t.initialState))(n)},getState:function(a){return E9(be(t.initialState))(Gp(n))},setState:function(a){return function(r){return function(o){return function(){return Ap(new _(r))(n)(),S9(a)(r)(QPe(Re))(),o()}}}}}}};return E9(e)(wd(E.value))}();var tte=ee(me),ate=qe(da);var YPe=q(ta),rte=Qee(),ote={reflectSymbol:function(){return"__unmounted"}},XPe=rte(ote),ite={reflectSymbol:function(){return"__subscriptions"}},ZPe=rte(ite),$2=ee(st),KPe=e9($n)(ote),ute=j(st),eOe=e9(zn(vee))(ite),nOe=Hn(An),tOe=ct(ar),aOe=BM(ta)(Ae),rOe=nOe(Ut),lte=Bn(Hs),oOe=$y(r0),iOe=qe(mS(UM(pS))),C9=function(e){return e},Bd=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),uOe={map:function(e){return function(n){return new Bd(e(n.value0),n.value1)}}},Ni=function(e){return{bimap:function(n){return function(t){return function(a){return new Bd(t(a.value0),tte(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},cte={apply:function(e){return function(n){return new Bd(e.value0(n.value0),ate(e.value1)(n.value1))}},Functor0:function(){return uOe}},qt={bind:function(e){return function(n){var t=n(e.value0);return new Bd(t.value0,ate(e.value1)(t.value1))}},Apply0:function(){return cte}},_t={pure:function(e){return new Bd(e,[])},Apply0:function(){return cte}},ste={Applicative0:function(){return _t},Bind1:function(){return qt}};var fte=function(e){var n=Z(e);return function(t){var a=Bn(t);return function(r){return function(o){return new Bd(r,tte(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var g0=function(e){return new Bd(Re,[e])},cr=function(e){return g0(Ze(e))},Jd=function(e){var n=Z(e.Monad0().Bind1()),t=Bn(e);return function(a){return g0(function(r){return n(a)(function(o){return t(ke(YPe(Re))(r.dispatch)(o))})})}},qr=function(e){var n=fte(e.Monad0().Bind1())(e);return function(t){return n(Re)([t])}},vte=function(e){return function(n){var t=XPe(gE.value),a=ZPe(gE.value),r=function(p){return function(d){return function(y){return function(){var g=$2(mE(p))(function(S){return S.init})();return n({initialState:g.value0}).setState(p)(d)(y)()}}}},o=function(){var p=ute(be(!1)),d=KPe(gE.value);return function(y){return p(d(y))}}(),i=function(){var p=ute(be([])),d=eOe(gE.value);return function(y){return p(d(y))}}(),u=function(p){return function(){return tOe(aOe)(i(p))(),a([])(p)()}},l=function(p){return function(){var y=$2(mE(p))(function(h){return h.init})();return n({initialState:y.value0}).getState(p)()}},c=function(p){return function(d){return function(){var h=i(p)();return a(ri(hE(d))(h))(p)()}}},s=function(p){return function(d){var y=function(h){return hE(rOe(ic(0))(function(){return h({dispatch:function(){var g=f(d);return function(S){return lte(g(S))}}(),onStop:c(d)})}))};return HL(p)(y)}},f=function(p){return function(d){return oOe(o(p))(function(){var h=l(p)(),g=$2(mE(p))(function(M){return M.update})(),S=g(h)(d);return r(p)(S.value0)(s(S.value1)(p))()})}},v=function(p){return function(){var y=l(p)(),h=$2(mE(p))(function(g){return g.view})();return h(y)(f(p))}};return function(p){return yee(e,{def:p,init:n({initialState:p.init.value0}).initialize,render:v,componentDidMount:s(p.init.value1),componentWillUnmount:iOe(t(!0))(u)})}}},I9=function(e){return function(){var t=lte(nte)();return Dee(function(a){return vte(a)(t)(e)})}},zu=function(e){return function(n){return gee(e,function(t){var a=vte(t)(ete);return function(r){return a(n(r))}})}};var lOe=q(_t),cOe=$e(Xe),z2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sOe={map:function(e){return function(n){return new z2(function(t){return n.value0(function(a){return t(e(a))})})}}},pte=j(sOe);var T9=function(e){return C9(_ee(e))},Bo=function(e){return new z2(function(n){return n(e)})},Wg=function(e){return function(n){return new z2(function(t){return zu(e)(n)(t)})}},F9=function(e){return function(n){return zu(e)(function(t){return{init:lOe(Re),update:Ze(Cp),view:Ze(Ze(n.value0(cOe)))}})(Re)}},M1=function(e){var n=T9({skipFrames:3,prefix:"WithHook"});return function(t){return F9(n)(pte(t)(e))}},Eo=function(e){var n=T9({skipFrames:3,prefix:"WithHookCurried"});return function(t){return F9(n)(pte(Of(t))(e))}},au=function(e){var n=T9({skipFrames:3,prefix:"HooksComponent"});return F9(n)(e)},Jo=function(){return function(e){return function(n){return new z2(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},fOe=Jo(),qs=function(e){return function(){return fOe}};var dte=q(_t),vOe=$e(Xe);var pOe=function(e){return function(n){return function(t){return Wg(e)(function(a){return n({init:dte(t),update:function(r){return function(o){return dte(o)}},view:ug(a)})})}}},ra=function(e){return pOe("UseState")(vOe)(e)};var dn=function(){return{"genericTop'":se.value}}();var M9=function(e){return e["genericTop'"]},_n=function(e){return{"genericTop'":M9(e)}};var hn=function(){return{"genericBottom'":se.value}}();var EE=function(e){return e["genericBottom'"]},gn=function(e){return{"genericBottom'":EE(e)}};var Dn=function(e){return{"genericBottom'":new H(EE(e))}},_te=function(e){var n=eg(e);return function(t){return n(EE(t))}};var zp=j(B),V2=an();var G9=function(e){return e["genericToEnum'"]};var Q2=function(e){return e["genericSucc'"]},Y2=function(e){var n=eg(e),t=bd(e);return function(a){var r=zp(n),o=Q2(a);return function(i){return r(o(t(i)))}}},X2=function(e){return e["genericPred'"]},gte=function(e){var n=eg(e),t=bd(e);return function(a){var r=zp(n),o=X2(a);return function(i){return r(o(t(i)))}}},Z2=function(e){return e["genericFromEnum'"]},Dte=function(e){var n=bd(e);return function(t){var a=Z2(t);return function(r){return a(n(r))}}},yn=function(e){var n=X2(e),t=Q2(e);return function(a){var r=M9(a);return function(o){var i=X2(o),u=Q2(o);return function(l){var c=EE(l);return{"genericPred'":function(s){if(s instanceof H)return zp(H.create)(n(s.value0));if(s instanceof m){var f=i(s.value0);if(f instanceof E)return new _(new H(r));if(f instanceof _)return new _(new m(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 30, column 14 - line 32, column 31): "+[f.constructor.name])}throw new Error("Failed pattern match at Data.Enum.Generic (line 28, column 18 - line 32, column 31): "+[s.constructor.name])},"genericSucc'":function(s){if(s instanceof H){var f=t(s.value0);if(f instanceof E)return new _(new m(c));if(f instanceof _)return new _(new H(f.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 34, column 14 - line 36, column 31): "+[f.constructor.name])}if(s instanceof m)return zp(m.create)(u(s.value0));throw new Error("Failed pattern match at Data.Enum.Generic (line 33, column 18 - line 37, column 36): "+[s.constructor.name])}}}}}};var bn={"genericPred'":function(e){return E.value},"genericSucc'":function(e){return E.value}},Rn=function(e){var n=X2(e),t=Q2(e);return{"genericPred'":function(a){return zp(hS)(n(a))},"genericSucc'":function(a){return zp(hS)(t(a))}}};var A9=function(e){return e["genericCardinality'"]};var wn=function(e){var n=A9(e),t=G9(e),a=Z2(e);return function(r){var o=G9(r),i=Z2(r);return{"genericCardinality'":V2(n)+V2(A9(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&un=>t=>a=>{let r=hOe[e];if(typeof console!="undefined"&&console[r]&&console[r](n,t),typeof window!="undefined"){let o=new Error(n);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:t})}return a()},bte=(e,n)=>(n.__sentryFingerprint=e,n);var Rte=function(e){return Ru(bte)(e)};var Co="error";var K2={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof nn)return t.value0;if(t instanceof Ke)return so(Co)("Failed to parse "+e.diagnosticName)({error:t.value0,value:n})(function(a){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[t.constructor.name])}}},ot=function(e){return e.parseOrPanic},gOe=ot(K2),Yn=function(e){var n=ot(e);return function(t){var a=j(t);return function(r){return n({parse:function(o){return a(_.create)(r.parse(o))},default:E.value,diagnosticName:r.diagnosticName})}}},DOe=Yn(K2)(bo),G1=function(e){var n=d0(e);return function(t){return DOe({parse:n,diagnosticName:t})}},Le={parseOrPanic:function(e){return gOe({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=ke(new Ke(""))(nn.create);return function(t){return n(e.parse(t))}}()})}};var wte=ot(Le);var yOe=js(Ae);var qd={name:"United States of America",code:"US"},$g=function(e){return e.name},Wd=function(e){return e.code};var x9=function(){var e=function(n){return function(t){return{name:n,code:t}}};return[e("Alabama")("AL"),e("Alaska")("AK"),e("Arizona")("AZ"),e("Arkansas")("AR"),e("California")("CA"),e("Colorado")("CO"),e("Connecticut")("CT"),e("Delaware")("DE"),e("Washington DC")("DC"),e("Florida")("FL"),e("Georgia")("GA"),e("Hawaii")("HI"),e("Idaho")("ID"),e("Illinois")("IL"),e("Indiana")("IN"),e("Iowa")("IA"),e("Kansas")("KS"),e("Kentucky")("KY"),e("Louisiana")("LA"),e("Maine")("ME"),e("Maryland")("MD"),e("Massachusetts")("MA"),e("Michigan")("MI"),e("Minnesota")("MN"),e("Mississippi")("MS"),e("Missouri")("MO"),e("Montana")("MT"),e("Nebraska")("NE"),e("Nevada")("NV"),e("New Hampshire")("NH"),e("New Jersey")("NJ"),e("New Mexico")("NM"),e("New York")("NY"),e("North Carolina")("NC"),e("North Dakota")("ND"),e("Ohio")("OH"),e("Oklahoma")("OK"),e("Oregon")("OR"),e("Pennsylvania")("PA"),e("Puerto Rico")("PR"),e("Rhode Island")("RI"),e("South Carolina")("SC"),e("South Dakota")("SD"),e("Tennessee")("TN"),e("Texas")("TX"),e("Utah")("UT"),e("Vermont")("VT"),e("Virginia")("VA"),e("Washington")("WA"),e("West Virginia")("WV"),e("Wisconsin")("WI"),e("Wyoming")("WY")]}(),bOe=Ln(Wd)(x9),A1=wte({parse:bOe,default:{name:"",code:""},diagnosticName:"USState"}),Ste=wte({parse:Ln($g)(x9),default:{name:"",code:""},diagnosticName:"USState"}),Ete=[qd,{name:"Afghanistan",code:"AF"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"Andorra",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bonaire, Sint Eustatius and Saba",code:"BQ"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cabo Verde",code:"CV"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Democratic Republic of the Congo",code:"CD"},{name:"Congo",code:"CG"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cura\xE7ao",code:"CW"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"C\xF4te d'Ivoire",code:"CI"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Eswatini",code:"SZ"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and McDonald Islands",code:"HM"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:"North Korea",code:"KP"},{name:"South Korea",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:"Lao",code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia",code:"FM"},{name:"Moldova",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montenegro",code:"ME"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestine",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Republic of North Macedonia",code:"MK"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"Rwanda",code:"RW"},{name:"R\xE9union",code:"RE"},{name:"Saint Barth\xE9lemy",code:"BL"},{name:"Saint Helena, Ascension and Tristan da Cunha",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Martin (French part)",code:"MF"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia",code:"RS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Sint Maarten",code:"SX"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia",code:"GS"},{name:"South Sudan",code:"SS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela (Bolivarian Republic of)",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands (British)",code:"VG"},{name:"Virgin Islands (U.S.)",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"},{name:"\xC5land Islands",code:"AX"}],ROe=function(e){return yOe(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(Ete)},eG=Yn(Le)(B)({parse:ROe,diagnosticName:"Common.Geo.Country"});var wOe=function(e){return e};var x1=function(e){return e},CE=wOe;var Cte=ee(B),SOe=xt(Xr),EOe=xi(ft),cc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ml=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),IE=function(e){if(e instanceof cc)return $g(e.value0.state);if(e instanceof Ml)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 156, column 22 - line 158, column 41): "+[e.constructor.name])};var TE=function(e){if(e instanceof cc)return e.value0.region;if(e instanceof Ml)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 136, column 10 - line 138, column 29): "+[e.constructor.name])},COe=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:A1(e.state),location:CE(e.location)}},IOe=function(e){return{address:e.address,country:be(qd)(eG(e.country)),location:CE(e.location)}},Ite=function(e){var n=Cte(te(e.usAddress))(function(a){return new cc(COe(a))}),t=Cte(te(e.nonUSAddress))(function(a){return new Ml(IOe(a))});return gS(function(a){return so(Co)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new Ml({address:"",country:qd,location:CE({lat:-48.8766632,lng:-123.395522})})})})(SOe(n)(t))},FE=function(e){if(e instanceof cc||e instanceof Ml)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 131, column 12 - line 133, column 37): "+[e.constructor.name])},ME=function(e){if(e instanceof cc)return e.value0.city+(", "+$g(e.value0.state));if(e instanceof Ml)return e.value0.country.name;throw new Error("Failed pattern match at Common.Address (line 141, column 26 - line 143, column 41): "+[e.constructor.name])},L9=function(e){if(e instanceof cc)return EOe(" ")([e.value0.street,ME(e),e.value0.zip]);if(e instanceof Ml)return e.value0.address;throw new Error("Failed pattern match at Common.Address (line 120, column 18 - line 124, column 17): "+[e.constructor.name])};var TOe=ot(Le),Tte=Rn(bn),Fte=yn(Tte)(_n(dn)),Mte=gn(hn),Gte=Dn(Mte),Ate=En(Sn),xte=wn(Ate),nG=function(){function e(){}return e.value=new e,e}(),j9=function(){function e(){}return e.value=new e,e}(),N9=function(){function e(){}return e.value=new e,e}(),FOe={to:function(e){if(e instanceof H)return nG.value;if(e instanceof m&&e.value0 instanceof H)return j9.value;if(e instanceof m&&e.value0 instanceof m)return N9.value;throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])},from:function(e){if(e instanceof nG)return new H(se.value);if(e instanceof j9)return new m(new H(se.value));if(e instanceof N9)return new m(new m(se.value));throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])}},MOe=pn(FOe)(Fte(Fte(Tte)(Mte))(Gte))(xte(xte(Ate)))(Gte);var zg=function(e){if(e instanceof nG)return"Rural";if(e instanceof N9)return"Urban";if(e instanceof j9)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 21, column 8 - line 24, column 25): "+[e.constructor.name])},Lte=function(){return TOe({parse:Ln(zg)(MOe),default:nG.value,diagnosticName:"CampusSetting"})}();var jte=function(e){return function(n){return n.join(e)}};var GOe=qe(da),qo={genericShowArgs:function(e){return[]}};var AOe=function(e){return e.genericShowArgs};var fo=function(e){var n=AOe(e);return function(t){var a=er(t);return{"genericShow'":function(r){var o=a(yt.value),i=n(r);return i.length===0?o:"("+(jte(" ")(GOe([o])(i))+")")}}}},P9=function(e){return e["genericShow'"]};var Io=function(e){var n=P9(e);return function(t){var a=P9(t);return{"genericShow'":function(r){if(r instanceof H)return n(r.value0);if(r instanceof m)return a(r.value0);throw new Error("Failed pattern match at Data.Show.Generic (line 26, column 1 - line 28, column 40): "+[r.constructor.name])}}}},vo=function(e){var n=bd(e);return function(t){var a=P9(t);return function(r){return a(n(r))}}};var Ws=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},sc=function(e){return e()};var aG=function(e){var n=j(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Pe(t(o.value0),o.value1)})(a(r))}}}}};var L1=function(e){return{Applicative0:function(){return GE(e)},Bind1:function(){return rG(e)}}},rG=function(e){var n=Z(e.Bind1());return{bind:function(t){return function(a){return function(r){return n(t(r))(function(o){var i=a(o.value0);return i(o.value1)})}}},Apply0:function(){return oG(e)}}},oG=function(e){var n=aG(e.Bind1().Apply0().Functor0());return{apply:yl(L1(e)),Functor0:function(){return n}}},GE=function(e){var n=q(e.Applicative0());return{pure:function(t){return function(a){return n(new Pe(t,a))}},Apply0:function(){return oG(e)}}};var iG=function(e){var n=e.Monad0(),t=Z(n.Bind1()),a=q(n.Applicative0()),r=bl(e),o=L1(n);return{tailRecM:function(i){return function(u){var l=function(c){var s=i(c.value0);return t(s(c.value1))(function(f){return a(function(){if(f.value0 instanceof ei)return new ei(new Pe(f.value0.value0,f.value1));if(f.value0 instanceof ni)return new ni(new Pe(f.value0.value0,f.value1));throw new Error("Failed pattern match at Control.Monad.State.Trans (line 88, column 16 - line 90, column 40): "+[f.value0.constructor.name])}())})};return function(c){return r(l)(new Pe(u,c))}}},Monad0:function(){return o}}},j1=function(e){var n=q(e.Applicative0()),t=L1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var uG=function(e){return function(n){var t=e(n);return t.value0}};var BOe=bu(tr),JOe=Ba();var kte=function(e){return e};var qOe=1,J9=2147483647,WOe=function(){return J9-1|0}(),Ute=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=BOe(r)(o),u=it=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},SN=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),lre=()=>new Date,dUe=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var _Ue=(()=>{let e=new Date().toString(),n=(e.match(/\(([\w\s]+)\)$/)||[])[1];return n?/\s/.test(n)?(n.match(/\b(\w)/g)||[]).join(""):n:(n=(e.match(/(\w{3,4})\s\d{4}$/)||[])[1],n||(n=(e.match(/(UTC[\+\-]\d+)/)||[])[1],n)||(n=(e.match(/(GMT[\+\-]\d+)/)||[])[1],n)?n:"")})();var cre=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function sre(e,n,t,a){var r=cre(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function fre(e,n,t){return cre(e,n-1,t).getUTCDay()}var TG=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var ts=function(){function e(){}return e.value=new e,e}(),zs=function(){function e(){}return e.value=new e,e}(),Vs=function(){function e(){}return e.value=new e,e}(),Qs=function(){function e(){}return e.value=new e,e}(),Ys=function(){function e(){}return e.value=new e,e}(),Xs=function(){function e(){}return e.value=new e,e}(),lv=function(){function e(){}return e.value=new e,e}(),Vu=function(){function e(){}return e.value=new e,e}(),Gl=function(){function e(){}return e.value=new e,e}(),Qu=function(){function e(){}return e.value=new e,e}(),Al=function(){function e(){}return e.value=new e,e}(),xl=function(){function e(){}return e.value=new e,e}(),Yu=function(){function e(){}return e.value=new e,e}(),Xu=function(){function e(){}return e.value=new e,e}(),Ll=function(){function e(){}return e.value=new e,e}(),jl=function(){function e(){}return e.value=new e,e}(),Nl=function(){function e(){}return e.value=new e,e}(),Pl=function(){function e(){}return e.value=new e,e}(),vc=function(){function e(){}return e.value=new e,e}();var vre={show:function(e){if(e instanceof ts)return"Monday";if(e instanceof zs)return"Tuesday";if(e instanceof Vs)return"Wednesday";if(e instanceof Qs)return"Thursday";if(e instanceof Ys)return"Friday";if(e instanceof Xs)return"Saturday";if(e instanceof lv)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},EN={show:function(e){if(e instanceof Vu)return"January";if(e instanceof Gl)return"February";if(e instanceof Qu)return"March";if(e instanceof Al)return"April";if(e instanceof xl)return"May";if(e instanceof Yu)return"June";if(e instanceof Xu)return"July";if(e instanceof Ll)return"August";if(e instanceof jl)return"September";if(e instanceof Nl)return"October";if(e instanceof Pl)return"November";if(e instanceof vc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var FG=Rt,MG=Rt,pre=mr,hUe={eq:function(e){return function(n){return e instanceof ts&&n instanceof ts||e instanceof zs&&n instanceof zs||e instanceof Vs&&n instanceof Vs||e instanceof Qs&&n instanceof Qs||e instanceof Ys&&n instanceof Ys||e instanceof Xs&&n instanceof Xs||e instanceof lv&&n instanceof lv}}},mre={compare:function(e){return function(n){if(e instanceof ts&&n instanceof ts)return Ie.value;if(e instanceof ts)return De.value;if(n instanceof ts)return ge.value;if(e instanceof zs&&n instanceof zs)return Ie.value;if(e instanceof zs)return De.value;if(n instanceof zs)return ge.value;if(e instanceof Vs&&n instanceof Vs)return Ie.value;if(e instanceof Vs)return De.value;if(n instanceof Vs)return ge.value;if(e instanceof Qs&&n instanceof Qs)return Ie.value;if(e instanceof Qs)return De.value;if(n instanceof Qs)return ge.value;if(e instanceof Ys&&n instanceof Ys)return Ie.value;if(e instanceof Ys)return De.value;if(n instanceof Ys)return ge.value;if(e instanceof Xs&&n instanceof Xs)return Ie.value;if(e instanceof Xs)return De.value;if(n instanceof Xs)return ge.value;if(e instanceof lv&&n instanceof lv)return Ie.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return hUe}},CN={eq:function(e){return function(n){return e instanceof Vu&&n instanceof Vu||e instanceof Gl&&n instanceof Gl||e instanceof Qu&&n instanceof Qu||e instanceof Al&&n instanceof Al||e instanceof xl&&n instanceof xl||e instanceof Yu&&n instanceof Yu||e instanceof Xu&&n instanceof Xu||e instanceof Ll&&n instanceof Ll||e instanceof jl&&n instanceof jl||e instanceof Nl&&n instanceof Nl||e instanceof Pl&&n instanceof Pl||e instanceof vc&&n instanceof vc}}},H1={compare:function(e){return function(n){if(e instanceof Vu&&n instanceof Vu)return Ie.value;if(e instanceof Vu)return De.value;if(n instanceof Vu)return ge.value;if(e instanceof Gl&&n instanceof Gl)return Ie.value;if(e instanceof Gl)return De.value;if(n instanceof Gl)return ge.value;if(e instanceof Qu&&n instanceof Qu)return Ie.value;if(e instanceof Qu)return De.value;if(n instanceof Qu)return ge.value;if(e instanceof Al&&n instanceof Al)return Ie.value;if(e instanceof Al)return De.value;if(n instanceof Al)return ge.value;if(e instanceof xl&&n instanceof xl)return Ie.value;if(e instanceof xl)return De.value;if(n instanceof xl)return ge.value;if(e instanceof Yu&&n instanceof Yu)return Ie.value;if(e instanceof Yu)return De.value;if(n instanceof Yu)return ge.value;if(e instanceof Xu&&n instanceof Xu)return Ie.value;if(e instanceof Xu)return De.value;if(n instanceof Xu)return ge.value;if(e instanceof Ll&&n instanceof Ll)return Ie.value;if(e instanceof Ll)return De.value;if(n instanceof Ll)return ge.value;if(e instanceof jl&&n instanceof jl)return Ie.value;if(e instanceof jl)return De.value;if(n instanceof jl)return ge.value;if(e instanceof Nl&&n instanceof Nl)return Ie.value;if(e instanceof Nl)return De.value;if(n instanceof Nl)return ge.value;if(e instanceof Pl&&n instanceof Pl)return Ie.value;if(e instanceof Pl)return De.value;if(n instanceof Pl)return ge.value;if(e instanceof vc&&n instanceof vc)return Ie.value;throw new Error("Failed pattern match at Data.Date.Component (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return CN}},dre=mr,_re=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return FG}}}(),gUe=function(){return{bottom:ts.value,top:lv.value,Ord0:function(){return mre}}}(),hre=function(){return{bottom:Vu.value,top:vc.value,Ord0:function(){return H1}}}(),Ri={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Date.Component (line 35, column 1 - line 40, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return _re},Enum1:function(){return DUe(0)}},DUe=TG("enumYear","Data.Date.Component",function(){return{succ:function(){var e=wt(Ri),n=dt(Ri);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(Ri),n=dt(Ri);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return FG}}});var Kd={cardinality:7,toEnum:function(e){return e===1?new _(ts.value):e===2?new _(zs.value):e===3?new _(Vs.value):e===4?new _(Qs.value):e===5?new _(Ys.value):e===6?new _(Xs.value):e===7?new _(lv.value):E.value},fromEnum:function(e){if(e instanceof ts)return 1;if(e instanceof zs)return 2;if(e instanceof Vs)return 3;if(e instanceof Qs)return 4;if(e instanceof Ys)return 5;if(e instanceof Xs)return 6;if(e instanceof lv)return 7;throw new Error("Failed pattern match at Data.Date.Component (line 175, column 14 - line 182, column 16): "+[e.constructor.name])},Bounded0:function(){return gUe},Enum1:function(){return yUe(0)}},yUe=TG("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=wt(Kd),n=dt(Kd);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(Kd),n=dt(Kd);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return mre}}});var po={cardinality:12,toEnum:function(e){return e===1?new _(Vu.value):e===2?new _(Gl.value):e===3?new _(Qu.value):e===4?new _(Al.value):e===5?new _(xl.value):e===6?new _(Yu.value):e===7?new _(Xu.value):e===8?new _(Ll.value):e===9?new _(jl.value):e===10?new _(Nl.value):e===11?new _(Pl.value):e===12?new _(vc.value):E.value},fromEnum:function(e){if(e instanceof Vu)return 1;if(e instanceof Gl)return 2;if(e instanceof Qu)return 3;if(e instanceof Al)return 4;if(e instanceof xl)return 5;if(e instanceof Yu)return 6;if(e instanceof Xu)return 7;if(e instanceof Ll)return 8;if(e instanceof jl)return 9;if(e instanceof Nl)return 10;if(e instanceof Pl)return 11;if(e instanceof vc)return 12;throw new Error("Failed pattern match at Data.Date.Component (line 87, column 14 - line 99, column 19): "+[e.constructor.name])},Bounded0:function(){return hre},Enum1:function(){return bUe(0)}},bUe=TG("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=wt(po),n=dt(po);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(po),n=dt(po);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return H1}}});var IN={bottom:1,top:31,Ord0:function(){return MG}},Ol={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Date.Component (line 133, column 1 - line 138, column 23): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return IN},Enum1:function(){return RUe(0)}},RUe=TG("enumDay","Data.Date.Component",function(){return{succ:function(){var e=wt(Ol),n=dt(Ol);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(Ol),n=dt(Ol);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return MG}}});var gre=dt(po),TN=Ba(),Dre=wt(Kd);var SUe=ve(pre),EUe=ve(CN),CUe=ve(dre),IUe=Ve(FG),TUe=Ve(H1),FUe=Ve(MG);var MUe=wt(po);var yre=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),as=function(e){return e.value0},JE=function(e){var n=fre(e.value0,gre(e.value1),e.value2),t=n===0;return TN(Dre(t?7:n))};var rs=function(e){return e.value1};var AG={eq:function(e){return function(n){return SUe(e.value0)(n.value0)&&EUe(e.value1)(n.value1)&&CUe(e.value2)(n.value2)}}},GUe=ve(AG),bre={compare:function(e){return function(n){var t=IUe(e.value0)(n.value0);if(t instanceof De)return De.value;if(t instanceof ge)return ge.value;var a=TUe(e.value1)(n.value1);return a instanceof De?De.value:a instanceof ge?ge.value:FUe(e.value2)(n.value2)}},Eq0:function(){return AG}};var C0=function(e){return e.value2},e_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new yre(r,TN(MUe(o)),i)}}};return sre(a,e,gre(n),t)}}},xG=function(e){return function(n){return function(t){var a=new yre(e,n,t),r=GUe(e_(e)(n)(t))(a);return r?new _(a):E.value}}};var AUe=function(e,n,t,a,r,o,i){var u=new Date(Date.UTC(e,n,t,a,r,o,i));return e>=0&&e<100&&u.setUTCFullYear(e),u.getTime()};function Rre(e){return function(n){return function(t){return function(a){var r=AUe(a.year,a.month-1,a.day,a.hour,a.minute,a.second,a.millisecond),o=new Date(r+t);return isNaN(o.getTime())?n:e({year:o.getUTCFullYear(),month:o.getUTCMonth()+1,day:o.getUTCDate(),hour:o.getUTCHours(),minute:o.getUTCMinutes(),second:o.getUTCSeconds(),millisecond:o.getUTCMilliseconds()})}}}}var LG=function(e,n,t){var a=0,r;return function(o){if(a===2)return r;if(a===1)throw new ReferenceError(e+" was needed before it finished initializing (module "+n+", line "+o+")",n,o);return a=1,r=t(),a=2,r}};var jG=Rt,NG=Rt,PG=Rt,OG=Rt,wre=mr,Sre=mr,Ere=mr,Cre=mr,FN={bottom:0,top:59,Ord0:function(){return jG}},MN={bottom:0,top:59,Ord0:function(){return NG}},GN={bottom:0,top:999,Ord0:function(){return PG}},AN={bottom:0,top:23,Ord0:function(){return OG}},os={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Time.Component (line 90, column 1 - line 95, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return FN},Enum1:function(){return xUe(0)}},xUe=LG("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=wt(os),n=dt(os);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(os),n=dt(os);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return jG}}});var is={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Time.Component (line 61, column 1 - line 66, column 26): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return MN},Enum1:function(){return LUe(0)}},LUe=LG("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=wt(is),n=dt(is);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(is),n=dt(is);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return NG}}});var us={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Time.Component (line 120, column 1 - line 125, column 31): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return GN},Enum1:function(){return jUe(0)}},jUe=LG("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=wt(us),n=dt(us);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(us),n=dt(us);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return PG}}});var ls={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new _(e);if(Fe)return E.value;throw new Error("Failed pattern match at Data.Time.Component (line 32, column 1 - line 37, column 24): "+[e.constructor.name])},fromEnum:function(e){return e},Bounded0:function(){return AN},Enum1:function(){return NUe(0)}},NUe=LG("enumHour","Data.Time.Component",function(){return{succ:function(){var e=wt(ls),n=dt(ls);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=wt(ls),n=dt(ls);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return OG}}});var UUe=ve(Cre),HUe=ve(Sre),BUe=ve(wre),JUe=ve(Ere),qUe=Ve(OG),WUe=Ve(NG),$Ue=Ve(jG),zUe=Ve(PG);var n_=function(){function e(n,t,a,r){this.value0=n,this.value1=t,this.value2=a,this.value3=r}return e.create=function(n){return function(t){return function(a){return function(r){return new e(n,t,a,r)}}}},e}();var Xp=function(e){return e.value2},Zp=function(e){return e.value1},I0=function(e){return e.value3};var T0=function(e){return e.value0};var xN={eq:function(e){return function(n){return UUe(e.value0)(n.value0)&&HUe(e.value1)(n.value1)&&BUe(e.value2)(n.value2)&&JUe(e.value3)(n.value3)}}},Ire={compare:function(e){return function(n){var t=qUe(e.value0)(n.value0);if(t instanceof De)return De.value;if(t instanceof ge)return ge.value;var a=WUe(e.value1)(n.value1);if(a instanceof De)return De.value;if(a instanceof ge)return ge.value;var r=$Ue(e.value2)(n.value2);return r instanceof De?De.value:r instanceof ge?ge.value:zUe(e.value3)(n.value3)}},Eq0:function(){return xN}};var VUe=dt(Ri),QUe=dt(po),YUe=dt(Ol),XUe=dt(ls),ZUe=dt(is),KUe=dt(os),eHe=dt(us);var nHe=ve(AG),tHe=ve(xN),aHe=Ve(bre),rHe=Ve(Ire),oHe=Z(Ge),B1=On(Ja),jN=j(B),iHe=yu(Ge),uHe=wt(Ri),lHe=wt(po),cHe=wt(Ol),sHe=wt(ls),fHe=wt(is),vHe=wt(os),pHe=wt(us),F0=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),mHe=function(e){return{year:VUe(as(e.value0)),month:QUe(rs(e.value0)),day:YUe(C0(e.value0)),hour:XUe(T0(e.value1)),minute:ZUe(Zp(e.value1)),second:KUe(Xp(e.value1)),millisecond:eHe(I0(e.value1))}};var Tre={eq:function(e){return function(n){return nHe(e.value0)(n.value0)&&tHe(e.value1)(n.value1)}}},kG={compare:function(e){return function(n){var t=aHe(e.value0)(n.value0);return t instanceof De?De.value:t instanceof ge?ge.value:rHe(e.value1)(n.value1)}},Eq0:function(){return Tre}};var Fre=function(e){var n=x2(e);return function(t){return function(a){return oHe(Rre(_.create)(E.value)(n(t))(mHe(a)))(function(r){return B1(jN(F0.create)(iHe(B1(B1(jN(xG)(uHe(r.year)))(lHe(r.month)))(cHe(r.day)))))(B1(B1(B1(jN(n_.create)(sHe(r.hour)))(fHe(r.minute)))(vHe(r.second)))(pHe(r.millisecond)))})}}};function UG(e){return Math.round(e).toString()}var Mre=function(e){var n=qe(e.Semigroup0()),t=function(a){return function(r){return function(o){var i=a,u=r,l=!1,c;function s(f,v,p){if(p<1)return l=!0,f;i=n(f)(v),u=v,o=p-1|0}for(;!l;)c=s(i,u,o);return c}}};return t(fa(e))};var Gre=ne(Ye),dHe=qa(Rl),_He=fS(R0);var hHe=function(e){return"(line "+(Gre(e.line)+(", col "+(Gre(e.column)+")")))},gHe=function(e){return dN(e)+(" "+hHe(mN(e)))},NN=function(e){return function(n){return dHe(gHe)(Qae(n)(_He(e)(yN)))}};var J1=Z(w0);var wHe=q($s),SHe=t1(Zg)(O1);var EHe=mj(Zg)(O1),HG=Mre(ft),CHe=jp($s)(FS),IHe=j(B);var xre=Gs(Rt),THe=ur(tr),FHe=ne(Ye),MHe=ee(bo),GHe=ne(eu),AHe=$e(Xe);var xHe=J1(Kg(S0(E0("+"))))(function(e){return J1(SHe(E0("0")))(function(n){return J1(Kg(S0(E0(",0"))))(function(t){return J1(Kg(S0(E0("."))))(function(a){return J1(CHe(a)(function(r){return S0(EHe(E0("0")))}))(function(r){return J1(Kg(S0(E0("a"))))(function(o){return wHe({sign:Dt(e),before:ha(n),comma:Dt(t),after:be(0)(IHe(ha)(r)),abbreviations:Dt(o)})})})})})})}),LHe=NN(xHe);var Lre=function(e){return function(n){var t=a2(n),a=function(){if(t>0)return xre(Zr(Sj(t)/nK))(0);if(Fe)return 0;throw new Error("Failed pattern match at Data.Formatter.Number (line 100, column 5 - line 102, column 22): "+[])}();if(e.abbreviations){var r=THe(a)(3),o=function(){var g=r<1;return g?n:n/r2(1e3)(ut(r))}(),i=function(){if(r===0)return"";if(r===1)return"K";if(r===2)return"M";if(r===3)return"G";if(r===4)return"T";if(r===5)return"P";if(r===6)return"E";if(r===7)return"Z";if(r===8)return"Y";if(Fe)return"10e+"+FHe(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Lre({comma:e.comma,before:e.before,after:e.after,sign:e.sign,abbreviations:!1})(o)+i}var u=(e.before-a|0)-1|0,l=r2(10)(ut(xre(0)(e.after))),c=bg(t*l)/l,s=u1(c),f=c-s,v=bg(f*l),p=function(){var g=UG(v),S=Br(g),M=HG("0")(e.after-S|0);return M+g}(),d=function(){var g=e.after<1;return g?"":"."+(function(){var S=v===0;return S?HG("0")(e.after):""}()+function(){var S=v>0;return S?p:""}())}(),y=function(g){return function(S){return function(M){var P=g,O=S,T=!1,k;function K(oe,Te,we){var xe=mg(we);if(xe instanceof E)return T=!0,f1(oe);if(xe instanceof _&&Te<3){P=ri(xe.value0.head)(oe),O=Te+1|0,M=xe.value0.tail;return}P=ri(",")(oe),O=0,M=we}for(;!T;)k=K(P,O,M);return k}}},h=function(){return e.comma?y([])(0)(Qy(YS(HG("0")(u)+UG(s)))):HG("0")(u)+UG(s)}();return function(){var g=n<0;if(g)return"-";var S=n>0&&e.sign;return S?"+":""}()+(h+d)}},jHe=function(e){return function(n){return MHe(LHe(e))(Nt(Lre)(n))}},Kp=function(e){return function(n){return nr(Ze(GHe(n)))(AHe)(jHe(e)(n))}};var NHe=function(e,n,t,a,r,o,i){var u=new Date(Date.UTC(e,n,t,a,r,o,i));return e>=0&&e<100&&u.setUTCFullYear(e),u};function jre(e,n,t,a,r,o,i){return NHe(e,n-1,t,a,r,o,i).getTime()}function Nre(e){return function(n){var t=new Date(n);return e(t.getUTCFullYear())(t.getUTCMonth()+1)(t.getUTCDate())(t.getUTCHours())(t.getUTCMinutes())(t.getUTCSeconds())(t.getUTCMilliseconds())}}var PHe=Ba(),OHe=wt(po);var kHe=dt(po);var Pre=function(e){return e},BG=function(){var e=function(n){return function(t){return function(a){return function(r){return function(o){return function(i){return function(u){return new F0(e_(n)(PHe(OHe(t)))(a),new n_(r,o,i,u))}}}}}}};return Nre(e)}();var Ore=function(e){return jre(as(e.value0),kHe(rs(e.value0)),C0(e.value0),T0(e.value1),Zp(e.value1),Xp(e.value1),I0(e.value1))};function PN(){return Date.now()}var qHe=j(st);var ON=qHe(BG)(PN);var eTt=function(){function e(){this.head=null,this.last=null,this.size=0}function n(s,f){this.queue=s,this.value=f,this.next=null,this.prev=null}function t(s){this.draining=!1,this.error=null,this.value=s,this.takes=new e,this.reads=new e,this.puts=new e}var a={};function r(s){try{s()}catch(f){setTimeout(function(){throw f},0)}}function o(s,f){var v=new n(s,f);switch(s.size){case 0:s.head=v;break;case 1:v.prev=s.head,s.head.next=v,s.last=v;break;default:v.prev=s.last,s.last.next=v,s.last=v}return s.size++,v}function i(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.last,s.head.next=null,s.last=null;break;default:f=s.last,s.last=f.prev,s.last.next=null}return f.prev=null,f.queue=null,s.size--,f.value}function u(s){var f;switch(s.size){case 0:return null;case 1:f=s.head,s.head=null;break;case 2:f=s.head,s.last.prev=null,s.head=s.last,s.last=null;break;default:f=s.head,s.head=f.next,s.head.prev=null}return f.next=null,f.queue=null,s.size--,f.value}function l(s){if(s.queue!==null){if(s.queue.last===s){i(s.queue);return}if(s.queue.head===s){u(s.queue);return}s.prev&&(s.prev.next=s.next),s.next&&(s.next.prev=s.prev),s.queue.size--,s.queue=null,s.value=null,s.next=null,s.prev=null}}function c(s,f){if(!f.draining){var v=f.puts,p=f.takes,d=f.reads,y,h,g,S,M;for(f.draining=!0;;){if(y=null,h=null,g=null,S=f.value,M=d.size,f.error!==null){for(S=s.left(f.error);y=u(v);)r(y.cb(S));for(;h=u(d);)r(h(S));for(;g=u(p);)r(g(S));break}if(S===a&&(y=u(v))&&(f.value=S=y.value),S!==a){for(g=u(p);M--&&(h=u(d));)r(h(s.right(S)));g!==null&&(f.value=a,r(g(s.right(S))))}if(y!==null&&r(y.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&p.size===0)break}f.draining=!1}}return t.EMPTY=a,t.putLast=o,t.takeLast=i,t.takeHead=u,t.deleteCell=l,t.drainVar=c,t}();var WE=function(e){return S1(Gp(e))},$E=function(e){return S1(wd(e))};var tBe=q(ta),t_=Z(Ge),aBe=wt(Ri),rBe=wt(po),oBe=wt(Ol),iBe=wt(ls),uBe=wt(is),lBe=wt(os),cBe=wt(us),sBe=q(Jn),fBe=ct(ar),vBe=ee(B);var Bre=function(e){return t_(aBe(e.year))(function(n){return t_(rBe(e.month+1|0))(function(t){return t_(oBe(e.day))(function(a){return t_(iBe(e.hour))(function(r){return t_(uBe(e.minute))(function(o){return t_(lBe(e.second))(function(i){return t_(cBe(e.millisecond))(function(u){return sBe(new F0(e_(n)(t)(a),new n_(r,o,i,u)))})})})})})})})},pBe=function(e){var n=aee("Failed to obtain current time. This should never happen.");return ke(n)(tBe)(Bre(SN(e)))},a_=fBe(pBe)(lre);var em=function(e){return t_(vBe(ure({just:_.create,nothing:E.value})(e))(SN))(Bre)};var JG=function(){function e(){}return e.value=new e,e}(),hBe=function(){function e(){}return e.value=new e,e}(),gBe=function(){function e(){}return e.value=new e,e}();var Jre=function(e){if(e instanceof JG)return E.value;if(e instanceof gBe)return new _("open");if(e instanceof hBe)return new _("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 21, column 13 - line 24, column 22): "+[e.constructor.name])};var HN=void 0;var qre=Be;var q1=Be,zE=function(e){return Tg(e)};var Wre=function(e){return function(n){var t=zE(n);return t?HN:q1(e(qre(n)))}},xr=function(e){var n=zE(e);return n?E.value:new _(qre(e))};var kn=function(e){return function(n){var t=zE(e);return t?n:e}};var Ma=function(){return Be};var $re=q(ta),zre=ko(),Vre=function(e){return{handleMaybe:function(n){return function(t){return kg(function(){var a=ke($re(Re))(n);return function(r){return a(zre(t(r)))}}())}}}},qG=function(e){return{handleMaybe:function(n){return function(t){return function(a){return ke($re(Re))(n)(zre(t))()}}}}},mo={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},Tu={handleEffect:function(e){return kg(e)}},Sr={handleEffect:function(e){return kg(Ze(e))}},pt={handle:function(e){return function(n){return function(t){return e(n)()}}}},eD=function(e){return e.handleMaybe},pa=function(e){return e.handleEffect},xn=function(e){return e.handle};var BN=lc(),JN=Vc(),Qre=qf()(),DBe=HS();var W1=Be,Yre=function(e){return function(n){return BN(W1(e))(n)}},WG=function(e){var n=JN(e);return function(t){return function(a){return n(W1(t))(a)}}},cv=function(e){var n=JN(e);return function(t){return function(a){return function(r){return n(W1(t))(Qre(r)({className:a}))}}}},r_=function(e){return function(n){return function(t){return BN(W1(e))(Qre(t)({className:n}))}}},qN=function(e){return function(n){return BN(W1(e))({className:n})}},_o=function(e){return function(n){var t=JN(n);return function(a){return function(r){return t(W1(e))({className:a})(r)}}}};var mn=Be,$1=function(){return DBe};var z1=function(e){var n=cv(e);return function(){return function(){return n("ul")}}},sv=function(e){return _o("ul")(e)};var M0=function(e){return _o("tr")(e)};var V1=function(e){return _o("thead")(e)};var Q1=function(e){return _o("th")(e)};var pc=function(){return function(){return r_("textarea")}};var Zs=function(e){return _o("td")(e)};var G0=function(e){return _o("tbody")(e)};var A0=function(e){return _o("table")(e)},Ks=function(e){var n=cv(e);return function(){return function(){return n("svg")}}};var $G=function(e){return _o("sup")(e)};var Ga=function(e){return _o("strong")(e)},Y1=function(e){var n=cv(e);return function(){return function(){return n("span")}}},rn=function(e){return _o("span")(e)};var zG=function(e){var n=cv(e);return function(){return function(){return n("select")}}};var VG=function(e){return _o("section")(e)};var Vn=function(e){return _o("p")(e)};var QG=function(e){var n=cv(e);return function(){return function(){return n("option")}}};var YG=function(e){return _o("ol")(e)};var XG=function(){return function(){return r_("meta")}};var kl=function(e){return _o("li")(e)};var Fu=function(e){return _o("label")(e)};var ii=function(){return function(){return r_("input")}};var x0=function(){return function(){return r_("img")}};var L0=function(e){var n=cv(e);return function(){return function(){return n("iframe")}}};var oa=function(e){return _o("i")(e)};var Ya=qN("hr");var ef=function(e){return _o("h6")(e)};var Pr=function(e){return _o("h4")(e)};var Ft=function(e){return _o("h3")(e)};var Kn=function(e){return _o("h2")(e)};var cs=function(e){return _o("h1")(e)},ZG=function(e){var n=cv(e);return function(){return function(){return n("form")}}};var KG=function(e){return _o("em")(e)};var Xn=function(e){var n=cv(e);return function(){return function(){return n("div")}}},J=function(e){return _o("div")(e)};var e4=qN("br");var WN=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var Xre=function(e){var n=WG(e);return function(){return function(){return n("script")}}};var Zre=function(e){var n=WG(e);return function(){return function(){return n("button")}}},Kre=function(){return function(){return Yre("br")}};var eoe=function(e){var n=WG(e);return function(){return function(){return n("a")}}};function noe(e){return function(n){return function(){return n.getElementById(e)}}}var yBe=j(st),n4=function(e){var n=yBe(te),t=noe(e);return function(a){return n(t(a))}};var t4=function(e){return function(n){return function(){return n[e]}}},bBe=t4("children"),RBe=t4("firstElementChild"),wBe=t4("lastElementChild"),SBe=t4("childElementCount");var To=function(){return window};function toe(e,n,t,a){if(typeof window!="undefined"){var r=window[t];if(r!=null&&a instanceof r)return n(a)}for(var o=a;o!=null;){var i=Object.getPrototypeOf(o),u=i.constructor.name;if(u===t)return n(a);if(u==="Object")return e;o=i}return e}var it=function(e){return function(n){return toe(E.value,_.create,e,n)}};var aoe=Be;function roe(e){return e.body}var EBe=j(st);var a4=Be;var ooe=Be,ioe=Be;var uoe=function(e){return EBe(te)(function(){return roe(e)})};var loe=Be;function r4(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function $N(e){return function(n){return function(){n.href=e}}}function nm(e){return function(){return e.document}}function zN(e){return function(){return e.location}}function VE(e){return function(){return e.history}}function soe(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function X1(e){return function(){return e.localStorage}}var jBe=j(st);var foe=Be;var voe=function(e){return function(n){return function(t){return function(a){return jBe(te)(soe(e)(n)(t)(a))}}}};var NBe=j(me);var PBe=Kre()();var poe=Z(ar),OBe=ee(st);var ga=be(cn),We=Nt(ke(cn));var moe=function(e){return function(n){if(e)return cn;if(Fe)return n(Re);throw new Error("Failed pattern match at Utils.HTML (line 111, column 1 - line 111, column 65): "+[e.constructor.name,n.constructor.name])}},o4=function(e){return function(n){return moe(e)(Ze(n))}};var o_=function(e){return function(n){if(e)return n(Re);if(Fe)return cn;throw new Error("Failed pattern match at Utils.HTML (line 98, column 1 - line 98, column 61): "+[e.constructor.name,n.constructor.name])}},sn=function(e){return function(n){return o_(e)(Ze(n))}};var Z1=function(e){return le(Np(PBe({}))(NBe(X)(Di(` `)(e))))};var doe=function(e){return poe(OBe(poe(To)(nm))(a4))(n4(e))};var ss=ko(),kBe=ee(me),UBe=Md(Ro),_oe=l0(Ae),HBe=j(B),BBe=j(US);var VN=function(e){return function(n){return function(t){return Dj(function(a){return _.create(t(a))})(ss(e))(ss(n))}}};var i4=function(e){return function(n){return kS(ss(e))(n)}},u4=function(e){return function(n){return _oe(lo(function(t){return HBe(Pe.create(ss(t.value0)))(e(t.value1))})(UBe(n)))}},tm=function(e){return function(n){return BBe(e)(n)}},hoe=function(e){return function(n){return function(t){return OZ(function(a){return _.create(t(a))})(ss(e))(ss(n))}}},nf=function(e){return function(n){return Uc(ss(e))(ss(n))}};var nD=function(e){return function(n){return function(t){return kp(ss(e))(n)(ss(t))}}},QE=function(e){return function(n){return function(t){return _oe(kBe(t)(function(a){return new Pe(ss(e(a)),n(a))}))}}};var YE=Mp,goe=function(e){return function(n){return gj(ss(e))(ss(n))}};var Doe=Rn(bn),XE=yn(Doe)(_n(dn)),yoe=gn(hn),ZE=Dn(yoe),boe=En(Sn),KE=wn(boe),i_=function(){function e(){}return e.value=new e,e}(),eC=function(){function e(){}return e.value=new e,e}(),nC=function(){function e(){}return e.value=new e,e}(),tC=function(){function e(){}return e.value=new e,e}(),aC=function(){function e(){}return e.value=new e,e}(),rC=function(){function e(){}return e.value=new e,e}(),Roe={to:function(e){if(e instanceof H)return i_.value;if(e instanceof m&&e.value0 instanceof H)return eC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return nC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return tC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return aC.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m)return rC.value;throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])},from:function(e){if(e instanceof i_)return new H(se.value);if(e instanceof eC)return new m(new H(se.value));if(e instanceof nC)return new m(new m(new H(se.value)));if(e instanceof tC)return new m(new m(new m(new H(se.value))));if(e instanceof aC)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof rC)return new m(new m(new m(new m(new m(se.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])}};var QN=function(e){if(e instanceof i_)return"REGULAR";if(e instanceof eC)return"EARLY_ACTION";if(e instanceof nC)return"EARLY_DECISION_I";if(e instanceof tC)return"EARLY_DECISION_II";if(e instanceof aC)return"OUT_OF_STATE";if(e instanceof rC)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 45, column 13 - line 51, column 25): "+[e.constructor.name])};var l4=function(){return i_.value}(),woe=ot(Le)({parse:Ln(QN)(pn(Roe)(XE(XE(XE(XE(XE(Doe)(yoe))(ZE))(ZE))(ZE))(ZE))(KE(KE(KE(KE(KE(boe))))))(ZE)),default:l4,diagnosticName:"ApplicationRound"});var JBe=Z(Zv),qBe=ko(),WBe=q(Sp);var YN=Tt,$Be=Su(YN)(Ae);var c4=function(e){return $Be(JBe(qBe(e))(function(n){return WBe(new Pe(n.cipCode,n))}))},Soe=function(){var e=QM(Du(ve(sa))(function(t){return t.areaOfStudy})),n=wl(Tt)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var Eoe=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:te(e.acceptanceRate),cityState:te(e.cityState)}};var zBe=j(B);var Ia=function(){function e(){}return e.value=new e,e}(),Wt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gr=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fv={map:function(e){return function(n){if(n instanceof Ia)return Ia.value;if(n instanceof Wt)return new Wt(e(n.value0));if(n instanceof gr)return new gr(zBe(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var K1=function(e){if(e instanceof Ia)return new gr(E.value);if(e instanceof Wt)return new gr(new _(e.value0));if(e instanceof gr)return new gr(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 63, column 13 - line 66, column 25): "+[e.constructor.name])},Fo=function(e){if(e instanceof Ia)return E.value;if(e instanceof Wt)return new _(e.value0);if(e instanceof gr)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 48, column 11 - line 51, column 17): "+[e.constructor.name])},oC=function(e){return function(n){if(n instanceof gr&&n.value0 instanceof E)return new gr(E.value);var t=function(r){var o=function(u){return Ia.value};if(n instanceof Wt){var i=e(n.value0);return i instanceof _?new Wt(i.value0):o(!0)}return o(!0)};if(n instanceof gr&&n.value0 instanceof _){var a=e(n.value0.value0);return a instanceof _?new gr(new _(a.value0)):t(!0)}return t(!0)}};var VBe=ee(B),XN=Z(Ge);var QBe=jp(Jn)(_i),YBe=xd(YN);var ZN=function(e){return function(n){return be("")(nf(e)(n.schoolNotes))}},iC=function(e){return function(n){return nf(e)(n.schoolList)}};var uC=function(e){return function(n){return oC(nf(e))(n.schoolConnections)}};var s4=function(e){return function(n){return XN(Fo(n.all))(function(t){return nf(e)(t.table)})}};var KN=function(e){return function(n){return be([])(XN(s4(e)(n))(function(t){return QBe(t.majors)(function(a){return YBe(a)(n.majors)})}))}};var eb=function(e){return function(n){return oC(nf(e))(n.financials)}};var tD=function(e){return function(n){return XN(Fo(n.contentModules.content))(nf(e))}};var eP=function(e){return function(n){return be(l4)(VBe(iC(e)(n))(function(t){return t.applicationRound}))}};var Mu=ne(Ye);var XBe=ai(Wu),ZBe=XBe(ft);var KBe=OM(Rt)(Kv);var nP=dt(Ri),eJe=ne(EN),nJe=dt(po),Coe=dt(Ol),tJe=an(),aJe=dt(Kd),Ioe=ne(vre),tP=dt(ls),rJe=bu(tr),Toe=dt(is),Foe=dt(os),aP=dt(us),Moe=ur(tr);var f4=function(){function e(){}return e.value=new e,e}(),Goe=function(){function e(){}return e.value=new e,e}(),oJe=function(){function e(){}return e.value=new e,e}(),v4=function(){function e(){}return e.value=new e,e}(),lC=function(){function e(){}return e.value=new e,e}(),Aoe=function(){function e(){}return e.value=new e,e}(),p4=function(){function e(){}return e.value=new e,e}(),m4=function(){function e(){}return e.value=new e,e}(),iJe=function(){function e(){}return e.value=new e,e}(),uJe=function(){function e(){}return e.value=new e,e}(),rP=function(){function e(){}return e.value=new e,e}(),lJe=function(){function e(){}return e.value=new e,e}(),xoe=function(){function e(){}return e.value=new e,e}(),d4=function(){function e(){}return e.value=new e,e}(),_4=function(){function e(){}return e.value=new e,e}(),cJe=function(){function e(){}return e.value=new e,e}(),h4=function(){function e(){}return e.value=new e,e}(),sJe=function(){function e(){}return e.value=new e,e}(),Loe=function(){function e(){}return e.value=new e,e}(),fJe=function(){function e(){}return e.value=new e,e}(),vJe=function(){function e(){}return e.value=new e,e}(),pJe=function(){function e(){}return e.value=new e,e}(),am=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var mJe=function(e){if(e instanceof Vu)return"Jan";if(e instanceof Gl)return"Feb";if(e instanceof Qu)return"Mar";if(e instanceof Al)return"Apr";if(e instanceof xl)return"May";if(e instanceof Yu)return"Jun";if(e instanceof Xu)return"Jul";if(e instanceof Ll)return"Aug";if(e instanceof jl)return"Sep";if(e instanceof Nl)return"Oct";if(e instanceof Pl)return"Nov";if(e instanceof vc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var u_=function(e){if(e<0)return"-"+u_(-e|0);if(e<10)return"0"+Mu(e);if(Fe)return Mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},joe=function(e){if(e<0)return"-"+joe(-e|0);if(e<10)return"000"+Mu(e);if(e<100)return"00"+Mu(e);if(e<1e3)return"0"+Mu(e);if(Fe)return Mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},Noe=function(e){if(e<0)return"-"+Noe(-e|0);if(e<10)return"00"+Mu(e);if(e<100)return"0"+Mu(e);if(Fe)return Mu(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var dJe=function(e){var n=Mu(KBe(e)),t=Br(n);return t===1?"0"+n:t===2?n:Ig(t-2|0)(n)};var _Je=function(e){var n=e===0;return n?12:e},hJe=function(e){return function(n){if(n instanceof f4)return joe(nP(as(e.value0)));if(n instanceof Goe)return dJe(nP(as(e.value0)));if(n instanceof oJe)return Mu(nP(as(e.value0)));if(n instanceof v4)return eJe(rs(e.value0));if(n instanceof lC)return mJe(rs(e.value0));if(n instanceof Aoe)return u_(nJe(rs(e.value0)));if(n instanceof p4)return u_(Coe(C0(e.value0)));if(n instanceof m4)return Mu(Coe(C0(e.value0)));if(n instanceof iJe)return Mu(Zr(function(a){return a/1e3}(tJe(Pre(Ore(e))))));if(n instanceof uJe)return Mu(aJe(JE(e.value0)));if(n instanceof rP)return Ioe(JE(e.value0));if(n instanceof lJe)return Cl(3)(Ioe(JE(e.value0)));if(n instanceof xoe)return u_(tP(T0(e.value1)));if(n instanceof d4)return u_(_Je(rJe(tP(T0(e.value1)))(12)));if(n instanceof _4){var t=tP(T0(e.value1))>=12;return t?"PM":"AM"}if(n instanceof cJe)return Mu(Toe(Zp(e.value1)));if(n instanceof h4)return u_(Toe(Zp(e.value1)));if(n instanceof sJe)return Mu(Foe(Xp(e.value1)));if(n instanceof Loe)return u_(Foe(Xp(e.value1)));if(n instanceof fJe)return Noe(aP(I0(e.value1)));if(n instanceof vJe)return Mu(function(a){return Moe(a)(100)}(aP(I0(e.value1))));if(n instanceof pJe)return u_(function(a){return Moe(a)(10)}(aP(I0(e.value1))));if(n instanceof am)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},cC=function(e){return function(n){return ZBe(hJe(n))(e)}};var Poe=function(e){var n=function(o){return{month:te(o.satSubjectTestDeadlineMonth),day:te(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:te(o.satActDeadlineMonth),day:te(o.satActDeadlineDay)}},a=function(o){return{month:te(o.month),day:te(o.day),isContinuous:te(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:te(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:te(e.hasEarlyAdmission),hasEarlyAction:te(e.hasEarlyAction),hasEarlyDecision:te(e.hasEarlyDecision),fallFreshmenDates:r(e.fallFreshmenDates),outstateFallFreshmenDates:r(e.outstateFallFreshmenDates),fallTransfersDates:r(e.fallTransfersDates),earlyDecisionDates:r(e.earlyDecisionDates),otherEarlyDecisionDates:r(e.otherEarlyDecisionDates),earlyActionDates:r(e.earlyActionDates),satActDeadline:t(e),satSubjectTestDeadline:n(e)}};var Ooe=Rn(bn),oP=yn(Ooe)(_n(dn)),koe=gn(hn),iP=Dn(koe),Uoe=En(Sn),uP=wn(Uoe),l_=function(){function e(){}return e.value=new e,e}(),aD=function(){function e(){}return e.value=new e,e}(),rD=function(){function e(){}return e.value=new e,e}(),oD=function(){function e(){}return e.value=new e,e}(),gJe={to:function(e){if(e instanceof H)return l_.value;if(e instanceof m&&e.value0 instanceof H)return aD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return rD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m)return oD.value;throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])},from:function(e){if(e instanceof l_)return new H(se.value);if(e instanceof aD)return new m(new H(se.value));if(e instanceof rD)return new m(new m(new H(se.value)));if(e instanceof oD)return new m(new m(new m(se.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])}};var Hoe=function(e){if(e instanceof l_)return"reach";if(e instanceof aD)return"hard_target";if(e instanceof rD)return"target";if(e instanceof oD)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 36, column 13 - line 40, column 21): "+[e.constructor.name])},Boe=function(){return ot(Le)({parse:Ln(Hoe)(pn(gJe)(oP(oP(oP(Ooe)(koe))(iP))(iP))(uP(uP(uP(Uoe))))(iP)),default:l_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var nb=function(e){if(e instanceof l_)return"Reach";if(e instanceof aD)return"Hard Target";if(e instanceof rD)return"Target";if(e instanceof oD)return"Safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 43, column 9 - line 47, column 21): "+[e.constructor.name])};var Joe=function(e){if(e instanceof l_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof aD||e instanceof rD)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof oD)return"bg-soft-success bg-success-soft text-success-dark";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 64, column 9 - line 68, column 64): "+[e.constructor.name])};var qoe=Rn(bn),g4=yn(qoe)(_n(dn)),Woe=gn(hn),D4=Dn(Woe),$oe=En(Sn),y4=wn($oe),iD=function(){function e(){}return e.value=new e,e}(),rm=function(){function e(){}return e.value=new e,e}(),j0=function(){function e(){}return e.value=new e,e}(),uD=function(){function e(){}return e.value=new e,e}(),lD=function(){function e(){}return e.value=new e,e}(),DJe={to:function(e){if(e instanceof H)return iD.value;if(e instanceof m&&e.value0 instanceof H)return rm.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return j0.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return uD.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m)return lD.value;throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof iD)return new H(se.value);if(e instanceof rm)return new m(new H(se.value));if(e instanceof j0)return new m(new m(new H(se.value)));if(e instanceof uD)return new m(new m(new m(new H(se.value))));if(e instanceof lD)return new m(new m(new m(new m(se.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])}};var yJe=function(e){if(e instanceof iD)return"ArtOrMusicSchool";if(e instanceof rm)return"DisqualifiedGender";if(e instanceof j0)return"TestsRequiredButNoneGiven";if(e instanceof uD)return"SchoolAutoAdmission";if(e instanceof lD)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 33, column 13 - line 38, column 35): "+[e.constructor.name])},zoe=Yn(Le)(B)({parse:Ln(yJe)(pn(DJe)(g4(g4(g4(g4(qoe)(Woe))(D4))(D4))(D4))(y4(y4(y4(y4($oe)))))(D4)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var bJe=ne(Ye),RJe=ct(Ge),b4=function(e){return bJe(e)+"%"},wJe=function(e){return function(n){if(n instanceof iD)return new _("art or music school");if(n instanceof rm)return new _(Li(Vd(e.gender)));if(n instanceof j0)return E.value;if(n instanceof uD)return E.value;if(n instanceof lD)return new _("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 43, column 40 - line 48, column 41): "+[n.constructor.name])}},Voe=function(e){return function(n){var t=RJe(wJe(e))(n);if(t instanceof _)return"N/A ("+(t.value0+")");if(t instanceof E)return"N/A";throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 37, column 3 - line 39, column 21): "+[t.constructor.name])}},sC=function(e){return function(n){if(n.score instanceof _)return b4(n.score.value0);if(n.score instanceof E)return Voe(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 31, column 34 - line 33, column 61): "+[n.score.constructor.name])}},R4=function(e){return function(n){if(n.classification instanceof _)return nb(n.classification.value0);if(n.classification instanceof E)return Voe(e)(n.specialCase);throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 22, column 29 - line 24, column 61): "+[n.classification.constructor.name])}};var cD=function(){function e(){}return e.value=new e,e}(),tb=function(){function e(){}return e.value=new e,e}(),fC=function(){function e(){}return e.value=new e,e}(),c_=function(){function e(){}return e.value=new e,e}(),s_=function(){function e(){}return e.value=new e,e}(),f_=function(){function e(){}return e.value=new e,e}(),v_=function(){function e(){}return e.value=new e,e}();var Qoe={eq:function(e){return function(n){return e instanceof cD&&n instanceof cD||e instanceof tb&&n instanceof tb||e instanceof fC&&n instanceof fC||e instanceof c_&&n instanceof c_||e instanceof s_&&n instanceof s_||e instanceof f_&&n instanceof f_||e instanceof v_&&n instanceof v_}}};var lP=function(){return[cD.value,tb.value,fC.value,c_.value,s_.value,f_.value,v_.value]}(),vC=function(e){if(e instanceof cD)return"INTERESTED";if(e instanceof tb)return"APPLYING";if(e instanceof fC)return"APPLIED";if(e instanceof c_)return"WAITLISTED";if(e instanceof s_)return"ACCEPTED";if(e instanceof f_)return"DENIED";if(e instanceof v_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 36, column 13 - line 43, column 25): "+[e.constructor.name])},cP=function(){return ot(Le)({parse:Ln(vC)(lP),default:tb.value,diagnosticName:"SchoolListStatus"})}(),w4=function(e){if(e instanceof cD)return"Considering";if(e instanceof tb)return"Applying";if(e instanceof fC)return"Applied";if(e instanceof c_)return"Waitlisted";if(e instanceof s_)return"Accepted";if(e instanceof f_)return"Denied";if(e instanceof v_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 47, column 8 - line 54, column 25): "+[e.constructor.name])};var MZt=new Intl.NumberFormat("en-US",{notation:"compact",compactDisplay:"short",maximumFractionDigits:2});var pC=ne(Ye);var SJe=ur(tr);var mC=function(e){return pC(Ps(e*100))+"%"},Oa=function(e){return pC(Ps(e*100))+"%"};var Yoe=Kp("0,0"),Gu=function(e){return"$"+Yoe(e)};var tf=function(e){return Yoe(ut(e))};var p_=function(e){var n=function(){var a=yg(ut(e))(60),r=a<10;return r?"0"+pC(Zr(a)):pC(Zr(a))}(),t=pC(SJe(e)(60));return t+(":"+n)};function Xoe(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function Zoe(e,n,t){try{return n(Xoe(encodeURIComponent(t)))}catch(a){return e(a)}}function Koe(e,n,t){try{return n(Xoe(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var sP=function(){return u0(Zoe)(Ze(E.value))(_.create)}();var S4=function(){return u0(Koe)(Ze(E.value))(_.create)}();var eie=Ba();var CJe=$e(Xe);var E4=function(e){var n=function(o){return function(i){return be(i)(Eg(o)(i))}},t=function(o){return function(i){return be(i)(tc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},af=function(e){return function(n){var t=function(){var o=Bc("?")(n);return o?"&":"?"}(),a=eie(sP(e.value)),r=eie(sP(e.key));return n+(t+(r+("="+a)))}},om=function(e){if(e.value instanceof E)return CJe;if(e.value instanceof _)return af({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 50, column 1 - line 50, column 73): "+[e.constructor.name])};var C4=function(){function e(){}return e.value=new e,e}(),AJe=function(){function e(){}return e.value=new e,e}(),xJe=function(){function e(){}return e.value=new e,e}(),LJe=function(){function e(){}return e.value=new e,e}(),jJe=function(){function e(){}return e.value=new e,e}(),NJe=function(){function e(){}return e.value=new e,e}(),PJe=function(){function e(){}return e.value=new e,e}(),OJe=function(){function e(){}return e.value=new e,e}(),kJe=function(){function e(){}return e.value=new e,e}(),UJe=function(){function e(){}return e.value=new e,e}(),HJe=function(){function e(){}return e.value=new e,e}(),BJe=function(){function e(){}return e.value=new e,e}(),JJe=function(){function e(){}return e.value=new e,e}(),qJe=function(){function e(){}return e.value=new e,e}(),WJe=function(){function e(){}return e.value=new e,e}(),$Je=function(){function e(){}return e.value=new e,e}(),zJe=function(){function e(){}return e.value=new e,e}(),I4=function(){function e(){}return e.value=new e,e}(),VJe=function(){function e(){}return e.value=new e,e}(),QJe=function(){function e(){}return e.value=new e,e}(),nie=function(){function e(){}return e.value=new e,e}(),YJe=function(){function e(){}return e.value=new e,e}(),XJe=function(){function e(){}return e.value=new e,e}(),ZJe=function(){function e(){}return e.value=new e,e}(),tie=function(){function e(){}return e.value=new e,e}(),KJe=function(){function e(){}return e.value=new e,e}(),eqe=function(){function e(){}return e.value=new e,e}(),nqe=function(){function e(){}return e.value=new e,e}(),tqe=function(){function e(){}return e.value=new e,e}(),T4=function(){function e(){}return e.value=new e,e}(),aqe=function(){function e(){}return e.value=new e,e}(),rqe=function(){function e(){}return e.value=new e,e}(),oqe=function(){function e(){}return e.value=new e,e}(),iqe=function(){function e(){}return e.value=new e,e}(),uqe=function(){function e(){}return e.value=new e,e}(),F4=function(){function e(){}return e.value=new e,e}(),lqe=function(){function e(){}return e.value=new e,e}(),cqe=function(){function e(){}return e.value=new e,e}(),sqe=function(){function e(){}return e.value=new e,e}(),fqe=function(){function e(){}return e.value=new e,e}(),vqe=function(){function e(){}return e.value=new e,e}(),pqe=function(){function e(){}return e.value=new e,e}(),mqe=function(){function e(){}return e.value=new e,e}(),M4=function(){function e(){}return e.value=new e,e}(),dqe=function(){function e(){}return e.value=new e,e}(),aie=function(){function e(){}return e.value=new e,e}(),_qe=function(){function e(){}return e.value=new e,e}(),rie=function(){function e(){}return e.value=new e,e}(),hqe=function(){function e(){}return e.value=new e,e}(),G4=function(){function e(){}return e.value=new e,e}(),gqe=function(){function e(){}return e.value=new e,e}(),oie=function(){function e(){}return e.value=new e,e}(),Dqe=function(){function e(){}return e.value=new e,e}(),yqe=function(){function e(){}return e.value=new e,e}(),bqe=function(){function e(){}return e.value=new e,e}(),Rqe=function(){function e(){}return e.value=new e,e}();var It=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ul=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var wqe=function(e){return e instanceof C4?new _(` This is the percentage of accepted students vs. all students who apply. The lower this number is, the harder it typically is to get accepted to the school. `):e instanceof G4?new _(` The number of students per individual faculty member. A lower ratio can mean easier access to professors and more personal attention for each student \u2013 but can also indicate a smaller school with fewer overall resources. `):e instanceof tie?new _(` Percentage of a school\u2019s first-time, first-year undergraduate students who complete their program. Low 4-year graduation rates indicate that many students need additional time to complete their programs. You should look for schools with high graduation rates. `):e instanceof rie?new _(` Percentage of a school\u2019s first-time, first-year undergraduate students who complete their program. Low 6-year graduation rates indicate that many students drop out without completing their programs. You should look for schools with high graduation rates. `):e instanceof F4?new _(` Students who do not hold citizenship or permanent residence in the US. Schools do not report diversity data among international students. `):e instanceof I4?new _(` Schools that have a relatively high ratio of students who commute to campus vs. students who live on campus. Commuter colleges may have fewer social events and resources, be primarily academic in focus, and may have a wider age-range of attending undergraduates. `):e instanceof T4?new _(` Colleges established to serve black students prior to desegregation in 1964. HBCUs are open to students of all races, but will typically have a much higher proportion of black students and students of color than non-HBCU colleges. `):e instanceof nie?new _(` Filter your search to only schools that offer the major(s) or program(s) you select here. `):e instanceof M4?new _(` Most schools do not have a specific religious affiliation. Some will have a declared affiliation, but are still open to all students. Religious affiliation can somewhat affect campus culture, as well as the demographics of students who decide to attend. `):e instanceof aie?new _(` Policies change during COVID-19; please confirm by looking at school websites `):e instanceof oie?new _(` TOEFL policies are only applicable to international students `):E.value},N0=function(){var e=be("");return function(n){return e(wqe(n))}}();var iie=function(e){if(e instanceof It&&e.value0 instanceof C4)return"AcceptanceRate";if(e instanceof It&&e.value0 instanceof AJe)return"AcceptanceRateMen";if(e instanceof It&&e.value0 instanceof xJe)return"AcceptanceRateWomen";if(e instanceof It&&e.value0 instanceof LJe)return"Address";if(e instanceof It&&e.value0 instanceof jJe)return"AdmissionChances";if(e instanceof It&&e.value0 instanceof NJe)return"AdmissionDifficulty";if(e instanceof It&&e.value0 instanceof PJe)return"AdmissionsNotificationDate";if(e instanceof It&&e.value0 instanceof OJe)return"AdmissionsWebsite";if(e instanceof It&&e.value0 instanceof kJe)return"AppDeadlineIsRolling";if(e instanceof It&&e.value0 instanceof UJe)return"ApplicationEffort";if(e instanceof It&&e.value0 instanceof HJe)return"ApplicationRound";if(e instanceof It&&e.value0 instanceof BJe)return"BasketballConference";if(e instanceof It&&e.value0 instanceof JJe)return"CampusSetting";if(e instanceof It&&e.value0 instanceof qJe)return"City";if(e instanceof It&&e.value0 instanceof WJe)return"ClassRank";if(e instanceof It&&e.value0 instanceof $Je)return"CoEdSingleSex";if(e instanceof It&&e.value0 instanceof zJe)return"CollegeType";if(e instanceof It&&e.value0 instanceof I4)return"CommuterCollege";if(e instanceof It&&e.value0 instanceof VJe)return"Diversity";if(e instanceof It&&e.value0 instanceof QJe)return"DropoutRate";if(e instanceof It&&e.value0 instanceof YJe)return"FinancialAidWebsite";if(e instanceof It&&e.value0 instanceof XJe)return"FirstYearEnrollment";if(e instanceof It&&e.value0 instanceof ZJe)return"FootballConference";if(e instanceof It&&e.value0 instanceof tie)return"FourYearGraduationRate";if(e instanceof It&&e.value0 instanceof KJe)return"HasDivisionOneBasketball";if(e instanceof It&&e.value0 instanceof eqe)return"HasDivisionOneFootball";if(e instanceof It&&e.value0 instanceof nqe)return"HasMedicalSchool";if(e instanceof It&&e.value0 instanceof tqe)return"HasStudyAbroad";if(e instanceof It&&e.value0 instanceof T4)return"HBCU";if(e instanceof It&&e.value0 instanceof aqe)return"InListStatus";if(e instanceof It&&e.value0 instanceof rqe)return"MainWebsite";if(e instanceof It&&e.value0 instanceof nie)return"Majors";if(e instanceof It&&e.value0 instanceof oqe)return"Name";if(e instanceof It&&e.value0 instanceof iqe)return"NetCostEstimate";if(e instanceof It&&e.value0 instanceof uqe)return"Notes";if(e instanceof It&&e.value0 instanceof F4)return"PercentInternationalStudents";if(e instanceof It&&e.value0 instanceof lqe)return"Phone";if(e instanceof It&&e.value0 instanceof cqe)return"Photo";if(e instanceof It&&e.value0 instanceof sqe)return"Prestige";if(e instanceof It&&e.value0 instanceof fqe)return"ProgramLength";if(e instanceof It&&e.value0 instanceof vqe)return"PublicPrivate";if(e instanceof It&&e.value0 instanceof pqe)return"RecommendationLetters";if(e instanceof It&&e.value0 instanceof mqe)return"Region";if(e instanceof It&&e.value0 instanceof M4)return"ReligiousAffiliation";if(e instanceof It&&e.value0 instanceof dqe)return"SatActDeadline";if(e instanceof It&&e.value0 instanceof aie)return"SatActTestPolicy";if(e instanceof It&&e.value0 instanceof _qe)return"SatSubjectTestDeadline";if(e instanceof It&&e.value0 instanceof rie)return"SixYearGraduationRate";if(e instanceof It&&e.value0 instanceof hqe)return"State";if(e instanceof It&&e.value0 instanceof G4)return"StudentFacultyRatio";if(e instanceof It&&e.value0 instanceof gqe)return"SubmissionDeadline";if(e instanceof It&&e.value0 instanceof oie)return"TOEFLPolicy";if(e instanceof It&&e.value0 instanceof Dqe)return"TotalUndergrads";if(e instanceof It&&e.value0 instanceof yqe)return"TuitionInState";if(e instanceof It&&e.value0 instanceof bqe)return"TuitionOutOfState";if(e instanceof It&&e.value0 instanceof Rqe)return"YieldRate";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Qf)return"RankingArchitecture";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Yf)return"RankingBusiness";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Xf)return"RankingChemistry";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Zf)return"RankingComputerScience";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Kf)return"RankingCriminalJusticeAndCorrections";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof ev)return"RankingEconomics";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof nv)return"RankingEngineering";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof tv)return"RankingEnglish";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof av)return"RankingFilm";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof rv)return"RankingFinance";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof ov)return"RankingHistory";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof iv)return"RankingPoliticalScience";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof uv)return"RankingPreMed";if(e instanceof Ul&&e.value0 instanceof La&&e.value0.value0 instanceof Vp)return"RankingPsychology";if(e instanceof Ul&&e.value0 instanceof zd)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 305, column 6 - line 376, column 43): "+[e.constructor.name])};var cie=qf()(),eVe=function(e){return e},Ue=xa(Il),jn=function(e){var n=Zre(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(cie(r)({className:t,"aria-label":a}))(o)}}}}}}};var Dr=function(e){return eVe(xa(e))},la=function(e){var n=eoe(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(cie(r)({className:t,"aria-label":a}))(o)}}}}}}};var nVe=function(){function e(){}return e.value=new e,e}(),tVe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aVe=function(){function e(){}return e.value=new e,e}();var sie=function(e){if(e instanceof nVe)return"filters";if(e instanceof tVe)return"filter:"+iie(e.value0);if(e instanceof aVe)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 34, column 26 - line 37, column 39): "+[e.constructor.name])};function fie(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var rVe=Ma(),oVe=$e(Xe),iVe=HS(),A4=function(){return function(e){return function(n){var t=rVe(e);return function(){var a=xr(t.utmContent);if(a instanceof _)return af({key:"utm_content",value:a.value0});if(a instanceof E)return oVe;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(af({key:"utm_campaign",value:t.utmCampaign})(af({key:"utm_source",value:kn(t.utmSource)("collegevine.com")})(n)))}}},uVe=function(e){var n=Bn(e);return function(t){return function(a){return n(function(){return fie(t,a)})}}},dC=function(e){var n=uVe(e);return function(){return function(t){return function(a){return n(t)(iVe(a))}}}};var _C=function(){function e(){}return e.value=new e,e}(),lVe=function(){function e(){}return e.value=new e,e}(),cVe=function(){function e(){}return e.value=new e,e}(),sVe=function(){function e(){}return e.value=new e,e}(),vP=function(e){if(e instanceof _C)return"school-detail";if(e instanceof lVe)return"school-connections";if(e instanceof cVe)return"explore-schools";if(e instanceof sVe)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var vv=function(){function e(){}return e.value=new e,e}(),pv=function(){function e(){}return e.value=new e,e}(),im=function(){function e(){}return e.value=new e,e}(),x4={show:function(e){if(e instanceof vv)return"SAT";if(e instanceof pv)return"ACT";if(e instanceof im)return"SATAndACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.TestConfiguration (line 11, column 1 - line 14, column 31): "+[e.constructor.name])}};var hC=function(e){return e==="SAT"?new _(vv.value):e==="ACT"?new _(pv.value):e==="SATAndACT"?new _(im.value):E.value};function vie(e,n,t,a){return a==null?e:n(a[t])}var fVe=function(e){var n=Mg(e),t=q(rc(e));return function(a){return function(r){return vie(n(new oE("object",Jj(r))),t,a,r)}}},ab=function(e){return fVe(e)};var pVe=an();var rb=function(e){return pVe(b2(e))};var Mo=function(e){return Bu(rb(e))};var dVe=aa(Ae)(ft),_Ve=ne(x4);var ob=Z(Ge),pie=$f(_a),mP=Z(qc(_a)),dP=ab(_a),_P=Gg(_a),mie=Hn(An)(Ge),die=co(Oo),_ie=q(Jn),hVe=xt(Xr),gC=function(){function e(){}return e.value=new e,e}(),P0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hP={show:function(e){if(e instanceof gC)return"ATOStrongest";if(e instanceof P0)return dVe(["(ATOWithCloseTests ",_Ve(e.value0),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyTestOptionalGuidance (line 20, column 1 - line 26, column 6): "+[e.constructor.name])}};var gVe=function(e){return ob(Mo(pie("Object")(e)))(function(n){return ob(Mo(mP(dP("tag")(n))(_P)))(function(t){return mie(die(t==="ATOWithCloseTests"))(function(){return ob(ob(Mo(mP(dP("contents")(n))(_P)))(hC))(function(a){return _ie(new P0(a))})})})})},DVe=function(e){return ob(Mo(pie("Object")(e)))(function(n){return ob(Mo(mP(dP("tag")(n))(_P)))(function(t){return mie(die(t==="ATOStrongest"))(function(){return _ie(gC.value)})})})},hie=function(e){return hVe(DVe(e))(gVe(e))};var gie=Rn(bn),Die=yn(gie)(_n(dn)),yie=gn(hn),bie=Dn(yie),Rie=En(Sn),wie=wn(Rie),sr=function(){function e(){}return e.value=new e,e}(),Lr=function(){function e(){}return e.value=new e,e}(),Kr=function(){function e(){}return e.value=new e,e}(),yVe={to:function(e){if(e instanceof H)return sr.value;if(e instanceof m&&e.value0 instanceof H)return Lr.value;if(e instanceof m&&e.value0 instanceof m)return Kr.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])},from:function(e){if(e instanceof sr)return new H(se.value);if(e instanceof Lr)return new m(new H(se.value));if(e instanceof Kr)return new m(new m(se.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])}},ib={eq:function(e){return function(n){return e instanceof sr&&n instanceof sr||e instanceof Lr&&n instanceof Lr||e instanceof Kr&&n instanceof Kr}}},L4={compare:function(e){return function(n){if(e instanceof sr&&n instanceof sr)return Ie.value;if(e instanceof sr)return De.value;if(n instanceof sr)return ge.value;if(e instanceof Lr&&n instanceof Lr)return Ie.value;if(e instanceof Lr)return De.value;if(n instanceof Lr)return ge.value;if(e instanceof Kr&&n instanceof Kr)return Ie.value;throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return ib}},Sie=function(e){if(e instanceof sr)return"ApplyTestOptional";if(e instanceof Lr)return"ApplyWithSat";if(e instanceof Kr)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 21, column 13 - line 24, column 33): "+[e.constructor.name])},j4={show:Sie},N4=function(){return ot(Le)({default:sr.value,diagnosticName:"ApplicationStrategy",parse:Ln(Sie)(pn(yVe)(Die(Die(gie)(yie))(bie))(wie(wie(Rie)))(bie))})}();var Eie=ko(),wVe=j(i0);var SVe=function(e){var n=zS(function(r,o,i){return new _(new Pe(r,i))})(function(r){return E.value}),t=zS(function(r,o,i){return new Pe(r,i)})(function(r){return Hc("toUnfoldable1: impossible")}),a=Cd(e)(function(r){return wVe(n)(r)});return function(r){return a(t(WS(wK(Eie(r)))))}},EVe=SVe(e2);var ub=Eie(SK),Cie=function(e){var n=ne(qZ(e));return{show:function(t){return"(fromFoldable1 "+(n(EVe(t))+")")}}},CVe=function(e){return EK(e)};var IVe=function(e){var n=CK(e);return n?E.value:new _(e)};var Iie=function(e){var n=pg(e);return function(t){return n(CVe(t))(ub)}},gP=function(e){var n=QS(e);return function(t){var a=n(t);return function(r){return IVe(a(r))}}};var DP=function(e){return TK(e)};var Tie=ne(x4),TVe=aa(Ae)(ft),FVe=ne(Cie(j4));var mc=Z(Ge),Fie=$f(_a),P4=Z(qc(_a)),O4=ab(_a),DC=Gg(_a),Mie=Hn(An)(Ge),Gie=co(Oo),Aie=cee(_a),MVe=uo(_i)(rc(_a)),GVe=gP(Ae)(L4),AVe=j(me),xie=q(Jn),xVe=xt(Xr),rf=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fs=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),yP={show:function(e){if(e instanceof rf)return"(AWTStrongest "+(Tie(e.value0)+")");if(e instanceof fs)return TVe(["(AWTWithCloseStrategies ",Tie(e.value0)," ",FVe(e.value1),")"]);throw new Error("Failed pattern match at Chancing.Guidance.Types.ApplyWithTestGuidance (line 25, column 1 - line 33, column 6): "+[e.constructor.name])}};var LVe=function(e){return mc(Mo(Fie("Object")(e)))(function(n){return mc(Mo(P4(O4("tag")(n))(DC)))(function(t){return Mie(Gie(t==="AWTWithCloseStrategies"))(function(){return mc(mc(Mo(P4(O4("contents")(n))(Aie)))(Sl))(function(a){return mc(mc(Mo(DC(Gd(a))))(hC))(function(r){return mc(mc(qS(a)(1))(function(o){return Mo(Aie(o))}))(function(o){return mc(Mo(MVe(DC)(o)))(function(i){return mc(GVe(AVe(N4)(i)))(function(u){return xie(new fs(r,u))})})})})})})})})},jVe=function(e){return mc(Mo(Fie("Object")(e)))(function(n){return mc(Mo(P4(O4("tag")(n))(DC)))(function(t){return Mie(Gie(t==="AWTStrongest"))(function(){return mc(mc(Mo(P4(O4("contents")(n))(DC)))(hC))(function(a){return xie(new rf(a))})})})})},Lie=function(e){return xVe(jVe(e))(LVe(e))};var m_=Z(Ge),jie=$f(_a),Nie=Z(qc(_a)),k4=ab(_a),Pie=Gg(_a),Oie=Hn(An)(Ge),kie=co(Oo),Uie=q(Jn),NVe=xt(Xr),bP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),RP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var PVe=function(e){return m_(Mo(jie("Object")(e)))(function(n){return m_(Mo(Nie(k4("tag")(n))(Pie)))(function(t){return Oie(kie(t==="GuidanceApplyWithTest"))(function(){return m_(Mo(k4("contents")(n)))(function(a){return m_(Lie(a))(function(r){return Uie(new RP(r))})})})})})},OVe=function(e){return m_(Mo(jie("Object")(e)))(function(n){return m_(Mo(Nie(k4("tag")(n))(Pie)))(function(t){return Oie(kie(t==="GuidanceApplyTestOptional"))(function(){return m_(Mo(k4("contents")(n)))(function(a){return m_(hie(a))(function(r){return Uie(new bP(r))})})})})})},Hie=Yn(Le)(B)({parse:function(e){return NVe(OVe(e))(PVe(e))},diagnosticName:"Chancing Guidance"});var Bie=function(){function e(){}return e.value=new e,e}(),kVe=function(){function e(){}return e.value=new e,e}();var Jie=function(){return ot(Le)({default:Bie.value,parse:function(e){return e==="BelowAcademicThreshold"?new _(Bie.value):e==="AboveAcademicThreshold"?new _(kVe.value):E.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var wP=Z(Ge),UVe=q(Jn),um=function(){function e(){}return e.value=new e,e}(),lm=function(){function e(){}return e.value=new e,e}(),mv=function(){function e(){}return e.value=new e,e}(),vs=function(){function e(){}return e.value=new e,e}();var SP=function(){return ot(Le)({default:vs.value,parse:function(e){return e==="PSWeak"?new _(mv.value):e==="PSFair"?new _(lm.value):e==="PSStrong"?new _(um.value):E.value},diagnosticName:"Chancing.ScoreProgress"})}(),yC=function(e){var n=Kh(e);return function(t){return function(a){return be(vs.value)(wP(t)(function(r){return wP(a.p50)(function(o){return wP(a.p75)(function(i){return UVe(function(){var u=n(r)(o);if(u)return mv.value;var l=n(r)(i);return l?lm.value:um.value}())})})}))}}};var HVe=j(B),BVe=ct(Ge),EP=function(e){return{applicationStrategy:N4(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:HVe(Boe)(te(e.classification)),score:te(e.score),academicThresholdStatus:Jie(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:ke(vs.value)(SP)(te(e.ecStrength)),courseRigorStrength:ke(vs.value)(SP)(te(e.courseRigorStrength)),specialCase:BVe(zoe)(te(e.specialCase))}};var JVe=j(me),qVe=ct(Ge),d_=function(e){return{top:EP(e.top),all:JVe(EP)(e.all),guidance:qVe(Hie)(te(e.guidance)),sameDemographicStats:yae(te(e.sameDemographicStats))}};var WVe=Yr(gl),$Ve=On(Ja),qie=j(B),zVe=cg(Ae)(gl),VVe=Ns(_i)(Jn);var __=function(e){return $Ve(qie(WVe)(e.sat.readingWriting))(e.sat.math)};var QVe=function(e){return Ps(ut(zVe(e))/4)};var h_=function(e){return qie(QVe)(VVe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var bC=function(){function e(){}return e.value=new e,e}(),lb=function(){function e(){}return e.value=new e,e}();var cm=function(){function e(){}return e.value=new e,e}(),sm=function(){function e(){}return e.value=new e,e}(),fm=function(){function e(){}return e.value=new e,e}(),vm=function(){function e(){}return e.value=new e,e}(),pm=function(){function e(){}return e.value=new e,e}(),mm=function(){function e(){}return e.value=new e,e}(),dm=function(){function e(){}return e.value=new e,e}(),_m=function(){function e(){}return e.value=new e,e}(),hm=function(){function e(){}return e.value=new e,e}(),gm=function(){function e(){}return e.value=new e,e}(),Dm=function(){function e(){}return e.value=new e,e}(),ym=function(){function e(){}return e.value=new e,e}(),bm=function(){function e(){}return e.value=new e,e}(),Rm=function(){function e(){}return e.value=new e,e}(),wm=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(){}return e.value=new e,e}(),Em=function(){function e(){}return e.value=new e,e}(),Cm=function(){function e(){}return e.value=new e,e}(),O0=function(){function e(){}return e.value=new e,e}(),cb={show:function(e){if(e instanceof cm)return"Sports";if(e instanceof sm)return"CommService";if(e instanceof fm)return"Hobbies";if(e instanceof vm)return"NonArtComps";if(e instanceof pm)return"Politics";if(e instanceof mm)return"Drama";if(e instanceof dm)return"VisualArts";if(e instanceof _m)return"Music";if(e instanceof hm)return"Writing";if(e instanceof gm)return"HonorSocieties";if(e instanceof Dm)return"Employment";if(e instanceof ym)return"OwnInitiative";if(e instanceof bm)return"StudentGov";if(e instanceof Rm)return"InterestClubs";if(e instanceof wm)return"AffinityGroups";if(e instanceof Sm)return"Research";if(e instanceof Em)return"SummerPrograms";if(e instanceof Cm)return"Software";if(e instanceof O0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 36, column 1 - line 55, column 23): "+[e.constructor.name])}};var RC={eq:function(e){return function(n){return e instanceof cm&&n instanceof cm||e instanceof sm&&n instanceof sm||e instanceof fm&&n instanceof fm||e instanceof vm&&n instanceof vm||e instanceof pm&&n instanceof pm||e instanceof mm&&n instanceof mm||e instanceof dm&&n instanceof dm||e instanceof _m&&n instanceof _m||e instanceof hm&&n instanceof hm||e instanceof gm&&n instanceof gm||e instanceof Dm&&n instanceof Dm||e instanceof ym&&n instanceof ym||e instanceof bm&&n instanceof bm||e instanceof Rm&&n instanceof Rm||e instanceof wm&&n instanceof wm||e instanceof Sm&&n instanceof Sm||e instanceof Em&&n instanceof Em||e instanceof Cm&&n instanceof Cm||e instanceof O0&&n instanceof O0}}};var sb=function(e){return e==="Sports"?new _(cm.value):e==="CommService"?new _(sm.value):e==="Hobbies"?new _(fm.value):e==="NonArtComps"?new _(vm.value):e==="Politics"?new _(pm.value):e==="Drama"?new _(mm.value):e==="VisualArts"?new _(dm.value):e==="Music"?new _(_m.value):e==="Writing"?new _(hm.value):e==="HonorSocieties"?new _(gm.value):e==="Employment"?new _(Dm.value):e==="OwnInitiative"?new _(ym.value):e==="StudentGov"?new _(bm.value):e==="InterestClubs"?new _(Rm.value):e==="AffinityGroups"?new _(wm.value):e==="Research"?new _(Sm.value):e==="SummerPrograms"?new _(Em.value):e==="Software"?new _(Cm.value):e==="Other"?new _(O0.value):E.value};var g_=function(e){if(e instanceof cm)return"Sports";if(e instanceof sm)return"Community Service";if(e instanceof fm)return"Hobbies";if(e instanceof vm)return"Non-Art Competitions";if(e instanceof pm)return"Politics";if(e instanceof mm)return"Drama";if(e instanceof dm)return"Visual Arts";if(e instanceof _m)return"Music";if(e instanceof hm)return"Writing";if(e instanceof gm)return"Honor Societies";if(e instanceof Dm)return"Employment";if(e instanceof ym)return"Own Initiative";if(e instanceof bm)return"Student Government";if(e instanceof Rm)return"Interest Clubs";if(e instanceof wm)return"Affinity Groups";if(e instanceof Sm)return"Research";if(e instanceof Em)return"Summer Programs";if(e instanceof Cm)return"Software";if(e instanceof O0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},Wie=function(){return[cm.value,sm.value,fm.value,vm.value,pm.value,mm.value,dm.value,_m.value,hm.value,gm.value,Dm.value,ym.value,bm.value,Rm.value,wm.value,Sm.value,Em.value,Cm.value]}();var $ie=Rn(bn),dv=yn($ie)(_n(dn)),zie=gn(hn),_v=Dn(zie),CP=dv(dv(dv(dv(dv(dv(dv(dv(dv(dv(dv($ie)(zie))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v))(_v);var Vie=En(Sn),hv=wn(Vie),Qie=hv(hv(hv(hv(hv(hv(hv(hv(hv(hv(hv(Vie))))))))))),YVe=ee(B),XVe=j(me),wC=function(){function e(){}return e.value=new e,e}(),SC=function(){function e(){}return e.value=new e,e}(),EC=function(){function e(){}return e.value=new e,e}(),CC=function(){function e(){}return e.value=new e,e}(),ou=function(){function e(){}return e.value=new e,e}(),Or=function(){function e(){}return e.value=new e,e}(),Er=function(){function e(){}return e.value=new e,e}(),Wr=function(){function e(){}return e.value=new e,e}(),Go=function(){function e(){}return e.value=new e,e}(),jr=function(){function e(){}return e.value=new e,e}(),iu=function(){function e(){}return e.value=new e,e}(),wi=function(){function e(){}return e.value=new e,e}(),Bi=function(){function e(){}return e.value=new e,e}(),Ao=function(){function e(){}return e.value=new e,e}(),dc=function(){function e(){}return e.value=new e,e}(),Hl=function(){function e(){}return e.value=new e,e}(),D_={to:function(e){if(e instanceof H)return ou.value;if(e instanceof m&&e.value0 instanceof H)return Or.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return Er.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return Wr.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return Go.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof H)return jr.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof H)return iu.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return wi.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Bi.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ao.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return dc.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof m)return Hl.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])},from:function(e){if(e instanceof ou)return new H(se.value);if(e instanceof Or)return new m(new H(se.value));if(e instanceof Er)return new m(new m(new H(se.value)));if(e instanceof Wr)return new m(new m(new m(new H(se.value))));if(e instanceof Go)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof jr)return new m(new m(new m(new m(new m(new H(se.value))))));if(e instanceof iu)return new m(new m(new m(new m(new m(new m(new H(se.value)))))));if(e instanceof wi)return new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))));if(e instanceof Bi)return new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value)))))))));if(e instanceof Ao)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))))));if(e instanceof dc)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(new H(se.value)))))))))));if(e instanceof Hl)return new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(new m(se.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])}},of={eq:function(e){return function(n){return e instanceof ou&&n instanceof ou||e instanceof Or&&n instanceof Or||e instanceof Er&&n instanceof Er||e instanceof Wr&&n instanceof Wr||e instanceof Go&&n instanceof Go||e instanceof jr&&n instanceof jr||e instanceof iu&&n instanceof iu||e instanceof wi&&n instanceof wi||e instanceof Bi&&n instanceof Bi||e instanceof Ao&&n instanceof Ao||e instanceof dc&&n instanceof dc||e instanceof Hl&&n instanceof Hl}}},ZVe=ve(of),KVe={compare:function(e){return function(n){if(e instanceof ou&&n instanceof ou)return Ie.value;if(e instanceof ou)return De.value;if(n instanceof ou)return ge.value;if(e instanceof Or&&n instanceof Or)return Ie.value;if(e instanceof Or)return De.value;if(n instanceof Or)return ge.value;if(e instanceof Er&&n instanceof Er)return Ie.value;if(e instanceof Er)return De.value;if(n instanceof Er)return ge.value;if(e instanceof Wr&&n instanceof Wr)return Ie.value;if(e instanceof Wr)return De.value;if(n instanceof Wr)return ge.value;if(e instanceof Go&&n instanceof Go)return Ie.value;if(e instanceof Go)return De.value;if(n instanceof Go)return ge.value;if(e instanceof jr&&n instanceof jr)return Ie.value;if(e instanceof jr)return De.value;if(n instanceof jr)return ge.value;if(e instanceof iu&&n instanceof iu)return Ie.value;if(e instanceof iu)return De.value;if(n instanceof iu)return ge.value;if(e instanceof wi&&n instanceof wi)return Ie.value;if(e instanceof wi)return De.value;if(n instanceof wi)return ge.value;if(e instanceof Bi&&n instanceof Bi)return Ie.value;if(e instanceof Bi)return De.value;if(n instanceof Bi)return ge.value;if(e instanceof Ao&&n instanceof Ao)return Ie.value;if(e instanceof Ao)return De.value;if(n instanceof Ao)return ge.value;if(e instanceof dc&&n instanceof dc)return Ie.value;if(e instanceof dc)return De.value;if(n instanceof dc)return ge.value;if(e instanceof Hl&&n instanceof Hl)return Ie.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return of}},Yie={succ:Y2(D_)(CP),pred:gte(D_)(CP),Ord0:function(){return KVe}};var Xie=function(e){if(e instanceof ou)return"A";if(e instanceof Or)return"B";if(e instanceof Er)return"C";if(e instanceof Wr)return"D";if(e instanceof Go)return"E";if(e instanceof jr)return"F";if(e instanceof iu)return"G";if(e instanceof wi)return"H";if(e instanceof Bi)return"I";if(e instanceof Ao)return"J";if(e instanceof dc)return"K";if(e instanceof Hl)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},Zie={show:Xie},Kie=Ln(Xie)(pn(D_)(CP)(Qie)(_v)),IP=function(e){if(e instanceof ou)return{group:wC.value,subGroup:"a"};if(e instanceof Or)return{group:wC.value,subGroup:"b"};if(e instanceof Er)return{group:wC.value,subGroup:"c"};if(e instanceof Wr)return{group:SC.value,subGroup:"a"};if(e instanceof Go)return{group:SC.value,subGroup:"b"};if(e instanceof jr)return{group:SC.value,subGroup:"c"};if(e instanceof iu)return{group:EC.value,subGroup:"a"};if(e instanceof wi)return{group:EC.value,subGroup:"b"};if(e instanceof Bi)return{group:EC.value,subGroup:"c"};if(e instanceof Ao)return{group:CC.value,subGroup:"a"};if(e instanceof dc)return{group:CC.value,subGroup:"b"};if(e instanceof Hl)return{group:CC.value,subGroup:"c"};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 119, column 9 - line 131, column 44): "+[e.constructor.name])},eue=Dte(D_)(Qie),eQe=function(e){return function(n){if(n instanceof wC)return"1";if(n instanceof SC)return"2";if(n instanceof EC)return"3";if(n instanceof CC)return"4";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 87, column 43 - line 91, column 18): "+[n.constructor.name])}(function(n){return n.group}(IP(e)))},TP=function(e){return eQe(e)+IP(e).subGroup},fb=function(e){return TP(e)+(": "+function(){var n=IP(e).group;if(n instanceof wC)return"Exceptional";if(n instanceof SC)return"Very strong";if(n instanceof EC)return"Strong";if(n instanceof CC)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},nue=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof cm)return[e(ou.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Or.value)(["I play for a state-level team","I am a Top 100 athlete in this sport in the country for my age group","I won player of the year for this sport in my state"]),e(Er.value)(["I am a varsity athlete with some sort of state level recognition or accomplishment in this sport, e.g. I am all-state"]),e(Wr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(Go.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(jr.value)(["I'm a varsity athlete in this sport"]),e(wi.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(Ao.value)(["I'm a JV athlete in this sport"]),e(Hl.value)(["I play this sport recreationally"])];if(n instanceof sm)return[e(Or.value)(["I am on the national leadership board for this nationwide community service club","I led an initiative or drive that raised more than $100k","I led an initiative that attracted more than 3,500 participants"]),e(Er.value)(["I am the highest state level leader in a community service org","I led an initiative that raised more than $35k","I led an initiative that attracted more than 1,000 participants"]),e(Wr.value)(["I held state level leadership in a community service org","I led an initiative that raised more than $15k","I led an initiative that attracted more than 500 participants","I founded a large (>15 members) school community service organization or club"]),e(Go.value)(["I held the highest school level leadership in a large community service club (>15 members)","I led an initiative that raised more than $10k"]),e(jr.value)(["I held school-level leadership in a large (>15 members) community service club","I led an initiative that attracted more than 100 participants","I founded or was president of a small (<15 members) school community service org"]),e(wi.value)(["I won a community service award either in a school club or in an out of school organization"]),e(Bi.value)(["I was a key member in a community service club (e.g. I led specific club initiatives)","I led an initiative that raised $1k+","I led an initiative that attracted 10+ participants","I volunteered for 100+ hours at one activity for 6+ months"]),e(Ao.value)(["I led an initiative that raised more than $100","I was member of school community service club","I have more than 30 volunteer hours"]),e(Hl.value)(["I have less than 30 volunteer hours"])];if(n instanceof fm)return[e(Or.value)(["I achieved tangible real world recognition for this hobby or did something substantial with large numbers involved (e.g. I was quoted in WSJ about aviation multiple times; I climbed a 20,000 foot mountain; I built an online game with 15,000 users)"]),e(Er.value)(["I took substantial initiative with this hobby and have some sort of tangible accomplishment/documentation for it - e.g. I was an administrator for my knitting forum with 500 members","I built a 2000 piece model train set","I keep 1000 bees"]),e(jr.value)(["There's something tangible to prove my participation in this hobby e.g. I rebuilt a vintage car","I carved 5 dollhouses for my sister's friends out of wood","I built a game/published it online","I created a YouTube channel with multiple how-to videos"]),e(Ao.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof vm)return[e(ou.value)(["I won a highly prestigious national level individual competition e.g. Siemens Contest or Intel","I qualified for an international level competition with at least 2,000 people vying for 50 or fewer spots e.g. USAMO"]),e(Or.value)(["I placed in the top 20 overall in the highest individual competition for this activity in the country e.g. I placed 16th out of 20 at the Lincoln-Douglas Debate National Championship"]),e(Er.value)(["I won an individual event/award in this competition at the national level e.g. I won Road Scholar at the national Science Olympiad","I won Accounting II or Business Ethics at the FBLA Nationals","I was the highest level state leader of an organization"]),e(Wr.value)(["I founded a competition-based club at my school and grew it to 50+ members or was president/the highest leader","I was part of a team that reached the national competition","I held state-level leadership","I won the highest individual state-level award"]),e(Go.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(jr.value)(["I held school level leadership in this activity","I founded a competition based club at my school, for example Model United Nations, and grew it to 15+ members"]),e(iu.value)(["I was part of a team that reached the state level competition in this activity in a competitive process"]),e(Bi.value)(["I competed at the state or regional level in this activity","I won a school level award in this activity"]),e(dc.value)(["I competed at the local or school level in this activity"])];if(n instanceof pm)return[e(Or.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(Er.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Wr.value)(["I founded a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors,","I worked a substantial strategy role for a local political campaign"]),e(Go.value)(["I was president of a political advocacy group at my school, e.g. the Young Democrats, with more than 25 contributors","I founded a political advocacy group with fewer than 25 contributors"]),e(jr.value)(["I held a non-presidential leadership role of a political advocacy group at my school","I was president of a political advocacy group with fewer than 25 contributors"]),e(Ao.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(dc.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof mm)return[e(Er.value)(["I won a national level award for acting/writing","I was selected to play a lead role in a non-student play at a major theater in my city"]),e(Wr.value)(["I won a state level award for acting/writing","I was selected to an elite prestigious applicant only theater program e.g. Royal Academy of Sciences and Arts","I wrote a play that was performed by a non-student theater"]),e(Go.value)(["I held a top-billed lead role in a school play","The play that I wrote was performed by my school","I headed the stage crew","I was selected to an applicant only theater program"]),e(jr.value)(["I had a non-lead but highly important role in school play"]),e(iu.value)(["I performed a substantial role in a school play"]),e(wi.value)(["I performed a role in a non-student play at a theater in my city"]),e(Bi.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(dc.value)(["I was an extra in the school play"])];if(n instanceof dm)return[e(ou.value)(["I sold a piece of art for $5,000+","I got a film screened at a top international film festival like Cannes, Sundance, Tribeca, or TIFF","I have a substantial Youtube or video network presence consistently getting over a million views/video"]),e(Or.value)(["I won the Scholastic Art competition as a top submission in my class","I got a film screened at a top film festival like Austin Film Festival or NY Film Festival","I have a substantial video network presence consistently getting 100,000+ views/video"]),e(Er.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Wr.value)(["I have a substantial video network presence consistently getting 10,000+ views/video","I won a state-level art/film contest","I was the president of my school's art club/film club","I have a video production company that does work for local businesses"]),e(Go.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(jr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(wi.value)(["I produced at least 20 high quality YouTube or other video platform videos with at least 1,000 views per video","I won a school level art contest"]),e(Ao.value)(["I am a member of my school's art or film club"]),e(Hl.value)(["I draw, paint, or make videos for fun"])];if(n instanceof _m)return[e(ou.value)(["I am amongst the top 2-3 people at the national level at my instrument for my age group","I'm a music artist w/a record deal worth $100,000+","I'm a recording artist w/substantial, quantifiable internet traction e.g. 500,000 plays on Spotify on one song"]),e(Or.value)(["I have an accomplishment proving that I'm one of the 10-20 best in the country at my instrument","I'm a musician w/a record deal with a credible record company","I'm a recording artist with quantifiable internet traction (e.g. 75,000 plays on Spotify)"]),e(Er.value)(["I am first chair in my state band/orchestra/choir for my instrument","I made an all-national audition group,","I am a recording artist with substantial and numerically quantifiable traction on the internet e.g. 25,000 plays on Spotify on one song"]),e(Wr.value)(["I made an all-state level audition group","I achieved the highest level of certification for my instrument e.g. ABRSM grade","I am a recording artist with substantial, quantifiable traction on the internet e.g. 10,000 plays on Spotify on one song"]),e(Go.value)(["I made an all-regional/all-district audition group","I am the drum major/band captain in marching band","I am the music group leader"]),e(jr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e(iu.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(Ao.value)(["I am a member of a music group inside or outside school"]),e(Hl.value)(["I play an instrument or sing recreationally"])];if(n instanceof hm)return[e(ou.value)(["I got a book deal by a Big 4 publisher,","I am a writer for a top tier national publication (e.g. Forbes, Buzzfeed, NY Mag, Sports Illustrated)","I got a play/short story published in a tier 1 literary journal like New Yorker, Ploughsares or Tin House"]),e(Or.value)(["I got a book published in print by a recognizable publisher","I wrote multiple articles for a top national publication (e.g. Forbes, Business Insider, Buzzfeed, NY Mag, Sports Illustrated)","I got a creative piece published by a Top 20 literary journal"]),e(Er.value)(["I got an article published by a national publication","I was a writer at a second-tier publication","I won a top essay contest","I got published by a Top 100 lit journal","I founded my own publication w/non-local writers and 100,000+ words published"]),e(Wr.value)(["I self-published a book (>100 pages)","I wrote for a 2nd tier publication","I had a successful blog (>250,000 views)","I won a 2nd tier essay contest","I was published in a lit journal","I founded/was Editor-in-Chief of a school publication"]),e(Go.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(jr.value)(["I served as an associate editor or equivalent leader for a school publication","I had a large (volume wise) personal or topical blog with at least 50,000 words of content and a professional design"]),e(wi.value)(["I served as a staff writer for my school newspaper or publication, or contributed more than 10 articles to a school newspaper or publication ","I had a personal or topical blog with at least 10,000 words of content"]),e(Bi.value)(["I contributed an article to a single submission school publication (like a literary magazine)","I contributed 2-10 articles to a school newspaper or publication","I have a personal or topical blog with under 10,000 words of content"]),e(Ao.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(Hl.value)(["I write for fun"])];if(n instanceof gm)return[e(Or.value)(["I am a member of a national level honor society with 50-100 spots where more than 10,000 people apply for the position","I am the highest state level leader in a statewide program"]),e(Er.value)(["I held state level leadership in a statewide honor program","I was a member of a national level honor society with <1,000 spots where more than 20,000 people apply","I was a member of a state level honor society recognizing less than 5% of entrants"]),e(Wr.value)(["I was the president of a school or local level honor society"]),e(jr.value)(["I held leadership in school or local honor society"]),e(iu.value)(["I was a member of an honor society and had significant involvement e.g. I spent 25 hrs designing and implementing NHS tutoring at my school"]),e(wi.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(Bi.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof Dm)return[e(Or.value)(["I had a top tier paid internship i.e. a normal competitive college student level with a top tier US corporation like Facebook, Johnson & Johnson, or Goldman Sachs"]),e(Er.value)(["I was an intern or page for a US Senator or Congressperson","I had a paid internship with a major US corporation (again competitive with college students)"]),e(Wr.value)(["I had an unpaid internship at nonprofit or medium or larger sized business with substantial accomplishments (i.e. I led a project to upgrade payment processing or designed initiative that was actually used by the company)"]),e(jr.value)(["I had paid employment with substantial responsibility at local small business e.g. assistant manager at yogurt shop","I had an internship with state level politician"]),e(iu.value)(["I had an unpaid internship at a local small business or government office"]),e(Bi.value)(["I had hourly paid work at local business e.g. as a cashier, waitress, or secretary"])];if(n instanceof ym)return[e(ou.value)(["I started a business making $300k/year and/or with 10+ employees","I was the winner of a startup competition","I founded a venture-backed startup","I founded a startup backed on Shark Tank/equivalent","I started a nonprofit that raised at least $250k"]),e(Or.value)(["I started a business making $100k/year with at least 1-2 employees besides myself","I was the winner of a startup contest","I started an organization with 1000+ participants and multiple administrators/leaders","I started a nonprofit that raised $100k+"]),e(Er.value)(["I started a business making $50k per year","I started a nonprofit that raised at least $25k","I started a self built organization or initiative with more than 200 participants and multiple additional administrators or leaders"]),e(Wr.value)(["I started business making $20k per year","I started self built organization or initiative with more than 100 participants","I started a nonprofit that raised at least $10k"]),e(jr.value)(["I started a business making $10k per year","I started a self built organization or initiative with more than 25 participants","I started a nonprofit that raised at least $5k"]),e(wi.value)(["I started a business making $2k per year","I started a self built organization or initiative with more than 10 participants","I started a nonprofit that raised at least $1k"])];if(n instanceof bm)return[e(Wr.value)(["I was School President or Head Boy/Girl"]),e(Go.value)(["I was the president of Student Council","I was class president"]),e(jr.value)(["I was a class officer","I held student council leadership"]),e(wi.value)(["I was a member of Student Council"])];if(n instanceof Rm)return[e(Or.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(Er.value)(["I organized a statewide event or conference for this interest","I was the head of statewide interest group e.g. New York Super Smash Brothers Club"]),e(Wr.value)(["I was the president and/or founder of school level interest club","I organized a city or regional event or conference for this area interest"]),e(jr.value)(["I held leadership in a school-level interest club"]),e(Ao.value)(["I was a member of school level interest based club"])];if(n instanceof wm)return[e(Or.value)(["I was a leader or board member of a nationwide affinity group for high schoolers e.g. I was on the national board of the Black Students Association"]),e(Er.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Wr.value)(["I was the president and/or founder of school level affinity group","I held state level leadership of an affinity group for high schoolers e.g. Hispanic Students Association"]),e(jr.value)(["I held school-level leadership in an affinity group or club"]),e(Ao.value)(["I was a member of a school level affinity club"])];if(n instanceof Sm)return[e(ou.value)(["I had a major research breakthrough published or I will be published in a Top 10 Scientific journal with me as the lead on the experiment or study"]),e(Or.value)(["I had research that was published or will be published in a Top 30 scientific journal with me as a co-lead on the experiment or study"]),e(Er.value)(["I was selected for a formal, honorary application required research programs"]),e(Wr.value)(["I had research that was or will be published in a Top 250 scientific journal on which I am a co-author on the experiment or study"]),e(Go.value)(["I conducted research through a formal, application required program with an accredited university"]),e(jr.value)(["I had research that was or will be published"]),e(iu.value)(["I conducted independent research with a college level advisor that won't be published","I had a research internship with a private company"]),e(Bi.value)(["I paid money to participate in a research program"])];if(n instanceof Em)return[e(Or.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(Er.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(Go.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(jr.value)(["I attended any other free (for the full summer program, application fee and cost of living out of pocket okay), application required summer program associated with a university or reputable entity like NASA or a journalism foundation"]),e(Bi.value)(["I participated in study abroad through my school","I attended a paid summer program requiring an application"]),e(Ao.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof Cm)return[e(Or.value)(["I built an app with more than 500,000 downloads, I have a web app with more than 1 million visitors a year"]),e(Er.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(Go.value)(["I published an app with 10,000 downloads"]),e(wi.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(Ao.value)(["I write programs for fun"])];if(n instanceof O0)return[e(Er.value)([""]),e(iu.value)([""]),e(Ao.value)([""]),e(Hl.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),tue=function(e){return function(n){return YVe(vj(function(){var t=ZVe(n);return function(a){return t(function(r){return r.tier}(a))}}())(nue(e)))(function(t){return t.description})}},IC=function(e){return XVe(function(n){return n.tier})(nue(e))},aue=function(e){return gi(IC(e))},U4=function(e){return Fd(IC(e))};var oue=ne(cb),iue=ne(Zie),nQe=ne(As(wr)),tQe=ve(RC),aQe=ve(Pt(sa)),rQe=ve(Pt(mr)),oQe=ve(of),iQe=hg(of),uQe=v2(Yie),FP=Z(Ge),lQe=q(Jn),cQe=yu(Ge),MP=Rp(B),sQe=On(Ja),fQe=j(B);var vQe=Op(of);var GP={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(oue(e.category)+(", tier: "+(iue(e.tier)+(", description: "+(nQe(e.description)+" }"))))))))}};var uue={show:function(){var e=ne(Ye),n=an();return function(t){return e(n(t))}}()},AP={eq:function(e){return function(n){return e===n}}},pQe=ve(Pt(AP)),TC={eq:function(e){return function(n){return pQe(e.canonicalId)(n.canonicalId)&&tQe(e.category)(n.category)&&aQe(e.description)(n.description)&&rQe(e.id)(n.id)&&e.name===n.name&&oQe(e.tier)(n.tier)}}},FC=Ct;var _c=function(e){return e.tier},y_=function(e){return e.name},MC=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=IC(n),u=function(l){var c=!1,s;function f(v){if(iQe(v)(i))return c=!0,new _(v);var p=function(y){if(Fe)return gi(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 78, column 1 - line 78, column 105): "+[v.constructor.name])},d=uQe(v);if(d instanceof _){l=d.value0;return}return c=!0,p(!0)}for(;!c;)s=f(l);return s};return FP(u(t))(function(l){return lQe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},mQe=Yn(Le)(B)({diagnosticName:"EC Activity",parse:function(e){return cQe(MP(MP(MP(sQe(fQe(MC(e.name))(sb(e.category)))(Kie(e.tier)))(te(e.id)))(te(e.description)))(te(e.canonical_ec_activity_id)))}}),GC=lo(mQe);var H4=function(e){return e.id},lue=function(e){return function(n){var t=IC(n.category);return FP(vQe(n.tier)(t))(function(a){return FP(nu(t)(e(a)))(function(r){return MC(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},cue=lue(function(e){return e+1|0}),sue=lue(function(e){return e-1|0}),AC=function(e){return e.description},gv=function(e){return e.category},B4=function(e){return e.canonicalId},sD=j(me)(function(e){return{name:y_(e),category:oue(gv(e)),tier:iue(_c(e)),id:Ht(H4(e)),description:Ht(AC(e)),canonical_ec_activity_id:Ht(B4(e))}});var xP=q(Jn),dQe=xt(Xr);var xC=function(e){var n=__(e);if(n instanceof _&&e.psatPredictedCompositeSAT instanceof E)return xP(bC.value);if(n instanceof _&&e.psatPredictedCompositeSAT instanceof _)return xP(bC.value);if(n instanceof E&&e.psatPredictedCompositeSAT instanceof _)return xP(lb.value);if(n instanceof E&&e.psatPredictedCompositeSAT instanceof E)return E.value;throw new Error("Failed pattern match at Hub.Types.ChancingProfile (line 50, column 3 - line 58, column 14): "+[n.constructor.name,e.psatPredictedCompositeSAT.constructor.name])},fue=function(e){return{sat:{readingWriting:te(e.sat.readingWriting),math:te(e.sat.math)},psatPredictedCompositeSAT:te(e.psatPredictedCompositeSAT),act:{math:te(e.act.math),english:te(e.act.english),reading:te(e.act.reading),science:te(e.act.science)},gpa:te(e.gpa),courseRigor:{ap:te(e.courseRigor.ap),honors:te(e.courseRigor.honors),collegeClasses:te(e.courseRigor.collegeClasses)},ecScore:te(e.ecScore),ecActivities:GC(e.ecActivities)}};var LP=function(e){return dQe(__(e))(e.psatPredictedCompositeSAT)};var J4=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:te(e.estimatedMeritAid)}};var vue=tm(function(e){return{status:cP(e.status),applicationRound:woe(e.applicationRound)}}),jP=function(){return{status:cD.value,applicationRound:i_.value}}();var pue=tm($e(Xe)),q4=500;var Dv=function(){function e(){}return e.value=new e,e}(),fD=function(){function e(){}return e.value=new e,e}();var mue={eq:function(e){return function(n){return e instanceof Dv&&n instanceof Dv||e instanceof fD&&n instanceof fD}}};var Zu=function(e){if(e instanceof Dv)return _.create;if(e instanceof fD)return Ze(E.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},uf=function(e){if(e instanceof fD)return _.create;if(e instanceof Dv)return Ze(E.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},Im=function(){return _.create}();var due=Rn(bn),_ue=yn(due)(_n(dn)),hue=gn(hn),gue=Dn(hue),Due=En(Sn),yue=wn(Due),W4=function(){function e(){}return e.value=new e,e}(),NP=function(){function e(){}return e.value=new e,e}(),PP=function(){function e(){}return e.value=new e,e}(),_Qe={to:function(e){if(e instanceof H)return W4.value;if(e instanceof m&&e.value0 instanceof H)return NP.value;if(e instanceof m&&e.value0 instanceof m)return PP.value;throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])},from:function(e){if(e instanceof W4)return new H(se.value);if(e instanceof NP)return new m(new H(se.value));if(e instanceof PP)return new m(new m(se.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])}};var OP=function(){var e=function(n){if(n instanceof W4)return"ineligible";if(n instanceof NP)return"eligible";if(n instanceof PP)return"joined";throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 24, column 17 - line 27, column 25): "+[n.constructor.name])};return ot(Le)({parse:Ln(e)(pn(_Qe)(_ue(_ue(due)(hue))(gue))(yue(yue(Due)))(gue)),default:W4.value,diagnosticName:"Autopilot Status"})}();var bue=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,autopilot:OP(e.autopilot)}};var hQe=function(){function e(){}return e.value=new e,e}(),kP=function(){function e(){}return e.value=new e,e}(),LC=function(){function e(){}return e.value=new e,e}(),Rue=function(){function e(){}return e.value=new e,e}(),wue=function(e){if(e instanceof hQe)return"modal-sm";if(e instanceof kP)return"";if(e instanceof LC)return"modal-lg";if(e instanceof Rue)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[e.constructor.name])};var zue=ya($ue()),Vue=zue.default;var ZQe=Vc(),Que=function(e){var n=ZQe(e);return function(){return function(){return n(Vue)}}};var Yue=w1(_E);var Xue={map:function(e){return function(n){return Yue(Yue(e))(n)}}},KQe=ee(Xue),eYe=function(e){var n=Z(e.Monad0().Bind1()),t=Bn(e);return function(a){return g0(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},X4=function(e){var n=eYe(e);return function(t){return function(a){return n(KQe(a)(t))}}};var Zue=Hn(An)(qt),nYe=X4(Zn),tYe=$e(Xe),Kue=q(_t),OC=function(e){return function(n){return Wg("UseSubscription")(function(t){return{init:Zue(nYe(tYe)(e))(function(){return Kue(Re)}),update:function(a){return function(r){return Zue(cr(n(r)))(function(){return Kue(Re)})}},view:function(a){return function(r){return t(Re)}}}})}};function kC(e){return function(){return function(n){return e(n)()}}}function UC(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function zP(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var ele="message";var nle="hashchange";var tle="popstate";var ale="keyup",rle="keydown";var ole="mouseup";var ile="mousemove";var ule=Bn(Zn),lle=j(st),aYe=ct(ar),HC=function(){var e=function(a){return function(r){return function(o){return ule(function(){var u=r(),l=kC(function(c){return o(c)})();return UC(a)(l)(!1)(u)(),ule(zP(a)(l)(!1)(u))})}}},n=function(a){return e(a)(lle(foe)(To))},t=function(a){return e(a)(lle(ooe)(aYe(nm)(To)))};return{hashchange:n(nle),mousemove:n(ile),mouseup:n(ole),popstate:n(tle),resize:n("resize"),message:n(ele),keydown:t(rle),keyup:t(ale),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var BC=function(){return Be};var mb=J(ae),VP=Ma(),rYe=Que(ae)()(),oYe=Xn(ae)()(),iYe=Xn(W)()(),uYe=J(W),lYe=jn(L)()(),cYe=pa(Sr),sYe=Qr(Xt),fYe=Bn(Zn),cle=BC(),Z4=function(){return function(e){var n=mb("modal-backdrop fade show")(cn),t=VP(e),a=xr(t.footer),r=xr(t.header),o=kn(t.size)(kP.value),i=Gr(" ")([function(){var l=kn(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=kn(t.centered)(!0);return l?"modal-dialog-centered":""}(),wue(o),kn(t.dialogClass)("")]),u=rYe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(mb("modal fade show d-block")(oYe("modal-dialog "+i)({style:kn(t.dialogStyle)(mn({}))})(iYe("modal-content "+kn(t.contentClass)(""))({style:kn(t.contentStyle)(mn({}))})([We(r)(mb("modal-header "+kn(t.headerClass)(""))),mb("modal-body "+kn(t.bodyClass)(""))(t.body),We(a)(mb("modal-footer "+kn(t.footerClass)("")))]))));return le([u,n])}},sle=Z4(),Fm=function(){return function(e){var n=VP(e),t=uYe("d-flex w-100 justify-content-between align-items-center")([mb("mr-4")(kn(n.title)(cn)),lYe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+kn(n.dismissButtonClass)("text-body"))(Dr("Close"))({type:"button",onClick:cYe(n.onDismiss)})("")]),a=function(r){return sYe(r.key==="Escape")(fYe(n.onDismiss))};return M1(OC(HC.keyup)(a))(function(r){var o=kn(n.bodyScrollable)(!1);return sle(o?function(){var i=VP(cle(n));return{body:i.body,bodyClass:i.bodyClass,centered:i.centered,contentClass:i.contentClass,contentStyle:i.contentStyle,dialogClass:i.dialogClass,dialogStyle:i.dialogStyle,footer:i.footer,footerClass:i.footerClass,headerClass:i.headerClass,scrollable:i.scrollable,size:i.size,header:t}}():cle({bodyClass:n.bodyClass,bodyScrollable:n.bodyScrollable,centered:n.centered,contentClass:n.contentClass,contentStyle:n.contentStyle,dialogClass:n.dialogClass,dialogStyle:n.dialogStyle,dismissButtonClass:n.dismissButtonClass,footer:n.footer,footerClass:n.footerClass,headerClass:n.headerClass,onDismiss:n.onDismiss,scrollable:n.scrollable,size:n.size,title:n.title,body:le([t,n.body])}))})}};function fle(e){if(typeof auth0=="undefined")throw new Error("Tried to login with SSO in a context where `auth0` is not defined.");new auth0.WebAuth({domain:e.auth0Config.auth0Domain,clientID:e.auth0Config.auth0ClientId,redirectUri:e.auth0Config.auth0RedirectUri,responseType:"code"}).authorize({connection:e.connection,state:e.auth0Config.omniAuthState})}var vle=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function ple(e,n){let t=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return t||console.error("Missing `CV.apiEndpoint` function"),t&&t(e,n)}function mle(e,n,t,a,r){return function(o,i){var u=e.newXHR(),l=e.fixupUrl(r.url,u);if(u.open(r.method||"GET",l,!0,r.username,r.password),r.headers)try{for(var c=0,s;(s=r.headers[c])!=null;c++)u.setRequestHeader(s.field,s.value)}catch(v){o(v)}var f=function(v){return function(){o(new Error(v))}};return u.onerror=f(t),u.ontimeout=f(n),u.onload=function(){i({status:u.status,statusText:u.statusText,headers:u.getAllResponseHeaders().split(`\r `).filter(function(v){return v.length>0}).map(function(v){var p=v.indexOf(":");return a(v.substring(0,p))(v.substring(p+2))}),body:u.response})},u.responseType=r.responseType,u.withCredentials=r.withCredentials,u.timeout=r.timeout,u.send(r.content),function(v,p,d){try{u.abort()}catch(y){return p(y)}return d()}}}var K4="application/json",dle="application/x-www-form-urlencoded";var _le=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),e3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ble=function(e){return e instanceof QP?new _(dle):e instanceof e3?new _(K4):E.value};var Rle=function(){return e3.create}();var wle=an();var n3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),t3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),db=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),Sle=function(e){if(e instanceof n3||e instanceof t3)return wle(e.value0);if(e instanceof db)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var YP=function(e){if(e instanceof n3)return"Accept";if(e instanceof t3)return"Content-Type";if(e instanceof db)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var Ele=$e(Xe),XP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ZP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KP=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),a3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),o3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cle=function(e){if(e instanceof XP)return"arraybuffer";if(e instanceof ZP)return"blob";if(e instanceof KP)return"document";if(e instanceof a3||e instanceof r3)return"text";if(e instanceof o3)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},Ile=function(e){return e instanceof a3?new _(K4):E.value},Tle=function(){return new r3(Ele)}();var Fle=function(){return new o3(Ele)}();var Mle=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}();function Gle(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var i3=function(e){return Gle(Ke.create,nn.create,e)};var pYe=On(Ja),Ale=j(B),mYe=uo(_i)(Jn);var dYe=function(e){return e};var xle=function(){var e=function(a){if(a.value1 instanceof E)return S4(a.value0);if(a.value1 instanceof _)return pYe(Ale(function(r){return function(o){return r+("="+o)}})(S4(a.value0)))(S4(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=Ale(Gr("&")),t=mYe(e);return function(a){return n(t(dYe(a)))}}();var eO=function(){function e(){}return e.value=new e,e}(),b_=function(){function e(){}return e.value=new e,e}(),nO=function(){function e(){}return e.value=new e,e}(),Mm=function(){function e(){}return e.value=new e,e}(),u3=function(){function e(){}return e.value=new e,e}(),JC=function(){function e(){}return e.value=new e,e}(),tO=function(){function e(){}return e.value=new e,e}(),aO=function(){function e(){}return e.value=new e,e}(),rO=function(){function e(){}return e.value=new e,e}(),oO=function(){function e(){}return e.value=new e,e}(),iO=function(){function e(){}return e.value=new e,e}(),uO=function(){function e(){}return e.value=new e,e}(),lO=function(){function e(){}return e.value=new e,e}(),cO=function(){function e(){}return e.value=new e,e}(),sO=function(){function e(){}return e.value=new e,e}(),l3=function(){function e(){}return e.value=new e,e}();var _Ye=function(e){return e},hYe={show:function(e){if(e instanceof eO)return"OPTIONS";if(e instanceof b_)return"GET";if(e instanceof nO)return"HEAD";if(e instanceof Mm)return"POST";if(e instanceof u3)return"PUT";if(e instanceof JC)return"DELETE";if(e instanceof tO)return"TRACE";if(e instanceof aO)return"CONNECT";if(e instanceof rO)return"PROPFIND";if(e instanceof oO)return"PROPPATCH";if(e instanceof iO)return"MKCOL";if(e instanceof uO)return"COPY";if(e instanceof lO)return"MOVE";if(e instanceof cO)return"LOCK";if(e instanceof sO)return"UNLOCK";if(e instanceof l3)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var Lle=nr(ne(hYe))(_Ye);var jle={eq:function(e){return function(n){return e instanceof eO&&n instanceof eO||e instanceof b_&&n instanceof b_||e instanceof nO&&n instanceof nO||e instanceof Mm&&n instanceof Mm||e instanceof u3&&n instanceof u3||e instanceof JC&&n instanceof JC||e instanceof tO&&n instanceof tO||e instanceof aO&&n instanceof aO||e instanceof rO&&n instanceof rO||e instanceof oO&&n instanceof oO||e instanceof iO&&n instanceof iO||e instanceof uO&&n instanceof uO||e instanceof lO&&n instanceof lO||e instanceof cO&&n instanceof cO||e instanceof sO&&n instanceof sO||e instanceof l3&&n instanceof l3}}};var Nle=function(e){return Og(function(n){return function(){var a=e(function(r){return n(Ke.create(r))()},function(r){return n(nn.create(r))()});return function(r){return Og(function(o){return function(){return a(r,function(u){return o(Ke.create(u))()},function(u){return o(nn.create(u))()}),qee}})}}})};var fO=q(rc(_a)),gYe=Mg(_a),pD=$f(_a),Ple=xt($j(Cj)(_a)),DYe=Ep(qc(_a)),c3=j(B),yYe=Kl(Ae)(Qt),bYe=ve(sa),RYe=ct(Ge),wYe=j(me),SYe=ee(Yt),EYe=Jc(_0),CYe=q(Xt);var s3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),f3=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),v3=function(){function e(){}return e.value=new e,e}(),p3=function(){function e(){}return e.value=new e,e}(),m3=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ole=function(e){return function(n){var t=function(s){return s===""?fO(kZ):nr(function(f){return gYe(E2.create(f))})(fO)(i3(s))},a=function(){if(n.responseFormat instanceof XP)return pD("ArrayBuffer");if(n.responseFormat instanceof ZP)return pD("Blob");if(n.responseFormat instanceof KP)return function(s){return Ple(pD("Document")(s))(Ple(pD("XMLDocument")(s))(pD("HTMLDocument")(s)))};if(n.responseFormat instanceof a3)return DYe(function(s){return n.responseFormat.value0(t(s))})(pD("String"));if(n.responseFormat instanceof r3)return pD("String");if(n.responseFormat instanceof o3)return Ze(n.responseFormat.value0(fO(Re)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[n.responseFormat.constructor.name])}(),r=function(s){if(s instanceof _le)return new nn(s.value0(xa));if(s instanceof hle)return new nn(xa(s.value0));if(s instanceof gle)return new nn(xa(s.value0));if(s instanceof Dle)return new nn(xa(s.value0));if(s instanceof yle)return new nn(xa(s.value0));if(s instanceof QP)return t0("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(c3(xa)(xle(s.value0)));if(s instanceof e3)return new nn(xa(AM(s.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[s.constructor.name])},o=function(s){return function(f){return s instanceof _&&!yYe(Du(bYe)(YP)(s.value0))(f)?Ky(f)(s.value0):f}},i=function(s){return o(c3(t3.create)(RYe(ble)(s)))(o(c3(n3.create)(Ile(n.responseFormat)))(n.headers))},u=function(s){return{method:Lle(n.method),url:n.url,headers:wYe(function(f){return{field:YP(f),value:Sle(f)}})(i(n.content)),content:s,responseType:Cle(n.responseFormat),username:Ht(n.username),password:Ht(n.password),withCredentials:n.withCredentials,timeout:be(0)(c3(function(f){return f})(n.timeout))}},l=function(s){return SYe(EYe(Nle(mle(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",Mle.create,u(s)))))(function(f){if(f instanceof nn){var v=rb(a(f.value0.body));if(v instanceof Ke)return new Ke(new f3(_K(v.value0),f.value0));if(v instanceof nn)return new nn({headers:f.value0.headers,status:f.value0.status,statusText:f.value0.statusText,body:v.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[v.constructor.name])}if(f instanceof Ke)return new Ke(function(){var p=g1(f.value0),d=p==="AffjaxTimeoutErrorMessageIdent";if(d)return v3.value;var y=p==="AffjaxRequestFailedMessageIdent";return y?p3.value:new m3(f.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[f.constructor.name])})};if(n.content instanceof E)return l(Ht(E.value));if(n.content instanceof _){var c=r(n.content.value0);if(c instanceof nn)return l(Ht(new _(c.value0)));if(c instanceof Ke)return CYe(new Ke(new s3(c.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[c.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[n.content.constructor.name])}};var _b=function(){return{method:new Ke(b_.value),url:"/",headers:[],content:E.value,username:E.value,password:E.value,withCredentials:!1,responseFormat:Fle,timeout:E.value}}();var kle={eq:function(e){return function(n){return e===n}}};var vO={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var Ule=Ole(vO);function uce(e){return Buffer.from(e).toString("base64")}function lce(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var _O=typeof btoa=="function";function cce(e){let n=32768,t=[];for(let a=0;a1&&arguments[1]!==void 0?arguments[1]:1;tpe+=1;var t=tpe;function a(r){if(r===0)ape(t),e();else{var o=epe(function(){a(r-1)});mk.set(t,o)}}return a(n),t}_s.cancel=function(e){var n=mk.get(e);return ape(n),npe(n)};function wD(e,n){return e?e.contains(n):!1}function iI(e){return e instanceof HTMLElement?e:zc.findDOMNode(e)}var lpe=ya(upe());Jt();function gk(e,n){typeof e=="function"?e(n):kr(e)==="object"&&e&&"current"in e&&(e.current=n)}function jA(){for(var e=arguments.length,n=new Array(e),t=0;te.length)&&(n=e.length);for(var t=0,a=Array(n);t1&&arguments[1]!==void 0?arguments[1]:2;n();var o=_s(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return Ar(function(){return function(){n()}},[]),[t,n]};Jt();var Pnn=J0()?vE:Ar,BA=Pnn;var wpe=[cf,Lm,N_,HA],wk=!1,Spe=!0;function JA(e){return e===N_||e===HA}var Epe=function(e,n){var t=jm(Rk),a=rr(t,2),r=a[0],o=a[1],i=Rpe(),u=rr(i,2),l=u[0],c=u[1];function s(){o(cf,!0)}return BA(function(){if(r!==Rk&&r!==HA){var f=wpe.indexOf(r),v=wpe[f+1],p=n(r);p===wk?o(v,!0):l(function(d){function y(){d.isCanceled()||o(v,!0)}p===!0?y():Promise.resolve(p).then(y)})}},[e,r]),Ar(function(){return function(){c()}},[]),[s,r]};Jt();Jt();var Cpe=function(e){var n=Pa(),t=Pa(e);t.current=e;var a=fE(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(yk,a),i.removeEventListener(Dk,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(yk,a),i.addEventListener(Dk,a),n.current=i)}return Ar(function(){return function(){r(n.current)}},[]),[o,r]};function Sk(e,n,t,a){var r=a.motionEnter,o=r===void 0?!0:r,i=a.motionAppear,u=i===void 0?!0:i,l=a.motionLeave,c=l===void 0?!0:l,s=a.motionDeadline,f=a.motionLeaveImmediately,v=a.onAppearPrepare,p=a.onEnterPrepare,d=a.onLeavePrepare,y=a.onAppearStart,h=a.onEnterStart,g=a.onLeaveStart,S=a.onAppearActive,M=a.onEnterActive,P=a.onLeaveActive,O=a.onAppearEnd,T=a.onEnterEnd,k=a.onLeaveEnd,K=a.onVisibleChanged,oe=jm(),Te=rr(oe,2),we=Te[0],xe=Te[1],Se=jm(j_),Ce=rr(Se,2),Je=Ce[0],ue=Ce[1],Tn=jm(null),on=rr(Tn,2),Et=on[0],mt=on[1],z=Pa(!1),x=Pa(null);function Y(){return t()}var fe=Pa(!1);function he(In){var at=Y();if(!(In&&!In.deadline&&In.target!==at)){var gt=fe.current,Gn;Je===lI&>?Gn=O==null?void 0:O(at,In):Je===cI&>?Gn=T==null?void 0:T(at,In):Je===sI&>&&(Gn=k==null?void 0:k(at,In)),Je!==j_&>&&Gn!==!1&&(ue(j_,!0),mt(null,!0))}}var U=Cpe(he),pe=rr(U,1),V=pe[0],je=pE(function(){var In,at,gt;switch(Je){case lI:return In={},Xa(In,cf,v),Xa(In,Lm,y),Xa(In,N_,S),In;case cI:return at={},Xa(at,cf,p),Xa(at,Lm,h),Xa(at,N_,M),at;case sI:return gt={},Xa(gt,cf,d),Xa(gt,Lm,g),Xa(gt,N_,P),gt;default:return{}}},[Je]),Me=Epe(Je,function(In){if(In===cf){var at=je[cf];return at?at(Y()):wk}if(Ne in je){var gt;mt(((gt=je[Ne])===null||gt===void 0?void 0:gt.call(je,Y(),null))||null)}return Ne===N_&&(V(Y()),s>0&&(clearTimeout(x.current),x.current=setTimeout(function(){he({deadline:!0})},s))),Spe}),He=rr(Me,2),en=He[0],Ne=He[1],Fn=JA(Ne);fe.current=Fn,BA(function(){xe(n);var In=z.current;if(z.current=!0,!!e){var at;!In&&n&&u&&(at=lI),In&&n&&o&&(at=cI),(In&&!n&&c||!In&&f&&!n&&c)&&(at=sI),at&&(ue(at),en())}},[n]),Ar(function(){(Je===lI&&!u||Je===cI&&!o||Je===sI&&!c)&&ue(j_)},[u,o,c]),Ar(function(){return function(){z.current=!1,clearTimeout(x.current)}},[]);var fn=Pa(!1);Ar(function(){we&&(fn.current=!0),we!==void 0&&Je===j_&&((fn.current||we)&&(K==null||K(we)),fn.current=!0)},[we,Je]);var tt=Et;return je[cf]&&Ne===Lm&&(tt=zt({transition:"none"},tt)),[Je,Ne,tt,we!=null?we:n]}Jt();var Onn=function(e){fu(t,e);var n=rR(t);function t(){return cu(this,t),n.apply(this,arguments)}return su(t,[{key:"render",value:function(){return this.props.children}}]),t}(Ng),Ipe=Onn;function knn(e){var n=e;kr(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=$c(function(r,o){var i=r.visible,u=i===void 0?!0:i,l=r.removeOnLeave,c=l===void 0?!0:l,s=r.forceRender,f=r.children,v=r.motionName,p=r.leavedClassName,d=r.eventProps,y=t(r),h=Pa(),g=Pa();function S(){try{return h.current instanceof HTMLElement?h.current:iI(g.current)}catch{return null}}var M=Sk(y,u,S,r),P=rr(M,4),O=P[0],T=P[1],k=P[2],K=P[3],oe=Pa(K);K&&(oe.current=!0);var Te=fE(function(Tn){h.current=Tn,gk(o,Tn)},[o]),we,xe=zt(zt({},d),{},{visible:u});if(!f)we=null;else if(O===j_||!t(r))K?we=f(zt({},xe),Te):!c&&oe.current?we=f(zt(zt({},xe),{},{className:p}),Te):s?we=f(zt(zt({},xe),{},{style:{display:"none"}}),Te):we=null;else{var Se,Ce;T===cf?Ce="prepare":JA(T)?Ce="active":T===Lm&&(Ce="start"),we=f(zt(zt({},xe),{},{className:(0,Tpe.default)(bk(v,O),(Se={},Xa(Se,bk(v,"".concat(O,"-").concat(Ce)),Ce),Xa(Se,v,typeof v=="string"),Se)),style:k}),Te)}if(Xj(we)&&NA(we)){var Je=we,ue=Je.ref;ue||(we=sE(we,{ref:Te}))}return Wa(Ipe,{ref:g},we)});return a.displayName="CSSMotion",a}var qA=knn(UA);Jt();var WA="add",$A="keep",zA="remove",VA="removed";function Unn(e){var n;return e&&kr(e)==="object"&&"key"in e?n=e:n={key:e},zt(zt({},n),{},{key:String(n.key)})}function QA(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(Unn)}function Fpe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=[],a=0,r=n.length,o=QA(e),i=QA(n);o.forEach(function(c){for(var s=!1,f=a;f1});return l.forEach(function(c){t=t.filter(function(s){var f=s.key,v=s.status;return f!==c||v!==zA}),t.forEach(function(s){s.key===c&&(s.status=$A)})}),t}var Hnn=["component","children","onVisibleChanged","onAllRemoved"],Bnn=["status"],Jnn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function qnn(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qA,t=function(a){fu(o,a);var r=rR(o);function o(){var i;cu(this,o);for(var u=arguments.length,l=new Array(u),c=0;c=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}function mtn(e,n,t,a){var r=ca.clone(e),o={width:n.width,height:n.height};return a.adjustX&&r.left=t.left&&r.left+o.width>t.right&&(o.width-=r.left+o.width-t.right),a.adjustX&&r.left+o.width>t.right&&(r.left=Math.max(t.right-o.width,t.left)),a.adjustY&&r.top=t.top&&r.top+o.height>t.bottom&&(o.height-=r.top+o.height-t.bottom),a.adjustY&&r.top+o.height>t.bottom&&(r.top=Math.max(t.bottom-o.height,t.top)),ca.mix(r,o)}function Nk(e){var n,t,a;if(!ca.isWindow(e)&&e.nodeType!==9)n=ca.offset(e),t=ca.outerWidth(e),a=ca.outerHeight(e);else{var r=ca.getWindow(e);n={left:ca.getWindowScrollLeft(r),top:ca.getWindowScrollTop(r)},t=ca.viewportWidth(r),a=ca.viewportHeight(r)}return n.width=t,n.height=a,n}function Vpe(e,n){var t=n.charAt(0),a=n.charAt(1),r=e.width,o=e.height,i=e.left,u=e.top;return t==="c"?u+=o/2:t==="b"&&(u+=o),a==="c"?i+=r/2:a==="r"&&(i+=r),{left:i,top:u}}function nx(e,n,t,a,r){var o=Vpe(n,t[1]),i=Vpe(e,t[0]),u=[i.left-o.left,i.top-o.top];return{left:Math.round(e.left-u[0]+a[0]-r[0]),top:Math.round(e.top-u[1]+a[1]-r[1])}}function Qpe(e,n,t){return e.leftt.right}function Ype(e,n,t){return e.topt.bottom}function dtn(e,n,t){return e.left>t.right||e.left+n.widtht.bottom||e.top+n.height=t.right||a.top>=t.bottom}function rx(e,n,t){var a=t.target||n,r=Nk(a),o=!htn(a,t.overflow&&t.overflow.alwaysByViewport);return Kpe(e,r,t,o)}rx.__getOffsetParent=Lk;rx.__getVisibleRectForElement=jk;function eme(e,n,t){var a,r,o=ca.getDocument(e),i=o.defaultView||o.parentWindow,u=ca.getWindowScrollLeft(i),l=ca.getWindowScrollTop(i),c=ca.viewportWidth(i),s=ca.viewportHeight(i);"pageX"in n?a=n.pageX:a=u+n.clientX,"pageY"in n?r=n.pageY:r=l+n.clientY;var f={left:a,top:r,width:0,height:0},v=a>=0&&a<=u+c&&r>=0&&r<=l+s,p=[t.points[0],"cc"];return Kpe(e,f,xpe(xpe({},t),{},{points:p}),v)}var Ohe=ya(Ihe());var The=function(){if(typeof Map!="undefined")return Map;function e(n,t){var a=-1;return n.some(function(r,o){return r[0]===t?(a=o,!0):!1}),a}return function(){function n(){this.__entries__=[]}return Object.defineProperty(n.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),n.prototype.get=function(t){var a=e(this.__entries__,t),r=this.__entries__[a];return r&&r[1]},n.prototype.set=function(t,a){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=a:this.__entries__.push([t,a])},n.prototype.delete=function(t){var a=this.__entries__,r=e(a,t);~r&&a.splice(r,1)},n.prototype.has=function(t){return!!~e(this.__entries__,t)},n.prototype.clear=function(){this.__entries__.splice(0)},n.prototype.forEach=function(t,a){a===void 0&&(a=null);for(var r=0,o=this.__entries__;r0},e.prototype.connect_=function(){!tU||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),qun?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){!tU||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(n){var t=n.propertyName,a=t===void 0?"":t,r=Jun.some(function(o){return!!~a.indexOf(o)});r&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),Fhe=function(e,n){for(var t=0,a=Object.keys(n);t0},e}(),Ahe=typeof WeakMap!="undefined"?new WeakMap:new The,xhe=function(){function e(n){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=Wun.getInstance(),a=new nln(n,t,this);Ahe.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){xhe.prototype[e]=function(){var n;return(n=Ahe.get(this))[e].apply(n,arguments)}});var tln=function(){return typeof sx.ResizeObserver!="undefined"?sx.ResizeObserver:xhe}(),Lhe=tln;function jhe(e,n){return e===n?!0:!e||!n?!1:"pageX"in n&&"pageY"in n?e.pageX===n.pageX&&e.pageY===n.pageY:"clientX"in n&&"clientY"in n?e.clientX===n.clientX&&e.clientY===n.clientY:!1}function Nhe(e,n){e!==document.activeElement&&wD(n,e)&&typeof e.focus=="function"&&e.focus()}function aU(e,n){var t=null,a=null;function r(i){var u=rr(i,1),l=u[0].target;if(!!document.documentElement.contains(l)){var c=l.getBoundingClientRect(),s=c.width,f=c.height,v=Math.floor(s),p=Math.floor(f);(t!==v||a!==p)&&Promise.resolve().then(function(){n({width:v,height:p})}),t=v,a=p}}var o=new Lhe(r);return e&&o.observe(e),function(){o.disconnect()}}Jt();var Phe=function(e,n){var t=bt.useRef(!1),a=bt.useRef(null);function r(){window.clearTimeout(a.current)}function o(i){if(r(),!t.current||i===!0){if(e()===!1)return;t.current=!0,a.current=window.setTimeout(function(){t.current=!1},n)}else a.current=window.setTimeout(function(){t.current=!1,o()},n)}return[o,function(){t.current=!1,r()}]};function khe(e){return typeof e!="function"?null:e()}function Uhe(e){return kr(e)!=="object"||!e?null:e}var aln=function(n,t){var a=n.children,r=n.disabled,o=n.target,i=n.align,u=n.onAlign,l=n.monitorWindowResize,c=n.monitorBufferTime,s=c===void 0?0:c,f=bt.useRef({}),v=bt.useRef(),p=bt.Children.only(a),d=bt.useRef({});d.current.disabled=r,d.current.target=o,d.current.align=i,d.current.onAlign=u;var y=Phe(function(){var T=d.current,k=T.disabled,K=T.target,oe=T.align,Te=T.onAlign;if(!k&&K){var we=v.current,xe,Se=khe(K),Ce=Uhe(K);f.current.element=Se,f.current.point=Ce,f.current.align=oe;var Je=document,ue=Je.activeElement;return Se&&Gpe(Se)?xe=rx(we,Se,oe):Ce&&(xe=eme(we,Ce,oe)),Nhe(ue,we),Te&&xe&&Te(we,xe),!0}return!1},s),h=rr(y,2),g=h[0],S=h[1],M=bt.useRef({cancel:function(){}}),P=bt.useRef({cancel:function(){}});bt.useEffect(function(){var T=khe(o),k=Uhe(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=aU(v.current,g)),(f.current.element!==T||!jhe(f.current.point,k)||!(0,Ohe.default)(f.current.align,i))&&(g(),M.current.element!==T&&(M.current.cancel(),M.current.element=T,M.current.cancel=aU(T,g)))}),bt.useEffect(function(){r?S():g()},[r]);var O=bt.useRef(null);return bt.useEffect(function(){l?O.current||(O.current=x_(window,"resize",g)):O.current&&(O.current.remove(),O.current=null)},[l]),bt.useEffect(function(){return function(){M.current.cancel(),P.current.cancel(),O.current&&O.current.remove(),S()}},[]),bt.useImperativeHandle(t,function(){return{forceAlign:function(){return g(!0)}}}),bt.isValidElement(p)&&(p=bt.cloneElement(p,{ref:jA(p.ref,v)})),p},Hhe=bt.forwardRef(aln);Hhe.displayName="Align";var Bhe=Hhe;var Jhe=Bhe;Jt();var rln=J0()?vE:Ar,rU=rln;var Xhe=ya(L_());function px(e,n){this.v=e,this.k=n}function pu(e,n,t,a){var r=Object.defineProperty;try{r({},"",{})}catch{r=0}pu=function(i,u,l,c){function s(f,v){pu(i,f,function(p){return this._invoke(f,v,p)})}u?r?r(i,u,{value:l,enumerable:!c,configurable:!c,writable:!c}):i[u]=l:(s("next",0),s("throw",1),s("return",2))},pu(e,n,t,a)}function EI(){var e,n,t=typeof Symbol=="function"?Symbol:{},a=t.iterator||"@@iterator",r=t.toStringTag||"@@toStringTag";function o(p,d,y,h){var g=d&&d.prototype instanceof u?d:u,S=Object.create(g.prototype);return pu(S,"_invoke",function(M,P,O){var T,k,K,oe=0,Te=O||[],we=!1,xe={p:0,n:0,v:e,a:Se,f:Se.bind(e,4),d:function(Je,ue){return T=Je,k=0,K=e,xe.n=ue,i}};function Se(Ce,Je){for(k=Ce,K=Je,n=0;!we&&oe&&!ue&&n3?(ue=Et===Je)&&(K=Tn[(k=Tn[4])?5:(k=3,3)],Tn[4]=Tn[5]=e):Tn[0]<=on&&((ue=Ce<2&&onJe||Je>Et)&&(Tn[4]=Ce,Tn[5]=Je,xe.n=Et,k=0))}if(ue||Ce>1)return i;throw we=!0,Je}return function(Ce,Je,ue){if(oe>1)throw TypeError("Generator is already running");for(we&&Je===1&&Se(Je,ue),k=Je,K=ue;(n=k<2?e:K)||!we;){T||(k?k<3?(k>1&&(xe.n=-1),Se(k,K)):xe.n=K:xe.v=K);try{if(oe=2,T){if(k||(Ce="next"),n=T[Ce]){if(!(n=n.call(T,K)))throw TypeError("iterator result is not an object");if(!n.done)return n;K=n.value,k<2&&(k=0)}else k===1&&(n=T.return)&&n.call(T),k<2&&(K=TypeError("The iterator does not provide a '"+Ce+"' method"),k=1);T=e}else if((n=(we=xe.n<0)?K:M.call(P,xe))!==i)break}catch(Tn){T=e,k=1,K=Tn}finally{oe=1}}return{value:n,done:we}}}(p,y,h),!0),S}var i={};function u(){}function l(){}function c(){}n=Object.getPrototypeOf;var s=[][a]?n(n([][a]())):(pu(n={},a,function(){return this}),n),f=c.prototype=u.prototype=Object.create(s);function v(p){return Object.setPrototypeOf?Object.setPrototypeOf(p,c):(p.__proto__=c,pu(p,r,"GeneratorFunction")),p.prototype=Object.create(f),p}return l.prototype=c,pu(f,"constructor",c),pu(c,"constructor",l),l.displayName="GeneratorFunction",pu(c,r,"GeneratorFunction"),pu(f),pu(f,r,"Generator"),pu(f,a,function(){return this}),pu(f,"toString",function(){return"[object Generator]"}),(EI=function(){return{w:o,m:v}})()}function dR(e,n){function t(r,o,i,u){try{var l=e[r](o),c=l.value;return c instanceof px?n.resolve(c.v).then(function(s){t("next",s,i,u)},function(s){t("throw",s,i,u)}):n.resolve(c).then(function(s){l.value=s,i(l)},function(s){return t("throw",s,i,u)})}catch(s){u(s)}}var a;this.next||(pu(dR.prototype),pu(dR.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),pu(this,"_invoke",function(r,o,i){function u(){return new n(function(l,c){t(r,i,l,c)})}return a=a?a.then(u,u):u()},!0)}function mx(e,n,t,a,r){return new dR(EI().w(e,n,t,a),r||Promise)}function qhe(e,n,t,a,r){var o=mx(e,n,t,a,r);return o.next().then(function(i){return i.done?i.value:o.next()})}function Whe(e){var n=Object(e),t=[];for(var a in n)t.unshift(a);return function r(){for(;t.length;)if((a=t.pop())in n)return r.value=a,r.done=!1,r;return r.done=!0,r}}function oU(e){if(e!=null){var n=e[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],t=0;if(n)return n.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length))return{next:function(){return e&&t>=e.length&&(e=void 0),{value:e&&e[t++],done:!e}}}}throw new TypeError(kr(e)+" is not iterable")}function CI(){"use strict";var e=EI(),n=e.m(CI),t=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function a(i){var u=typeof i=="function"&&i.constructor;return!!u&&(u===t||(u.displayName||u.name)==="GeneratorFunction")}var r={throw:1,return:2,break:3,continue:3};function o(i){var u,l;return function(c){u||(u={stop:function(){return l(c.a,2)},catch:function(){return c.v},abrupt:function(f,v){return l(c.a,r[f],v)},delegateYield:function(f,v,p){return u.resultName=v,l(c.d,oU(f),p)},finish:function(f){return l(c.f,f)}},l=function(f,v,p){c.p=u.prev,c.n=u.next;try{return f(v,p)}finally{u.next=c.n}}),u.resultName&&(u[u.resultName]=c.v,u.resultName=void 0),u.sent=c.v,u.next=c.n;try{return i.call(this,u)}finally{c.p=u.prev,c.n=u.next}}}return(CI=function(){return{wrap:function(l,c,s,f){return e.w(o(l),c,s,f&&f.reverse())},isGeneratorFunction:a,mark:e.m,awrap:function(l,c){return new px(l,c)},AsyncIterator:dR,async:function(l,c,s,f,v){return(a(c)?mx:qhe)(o(l),c,s,f,v)},keys:Whe,values:oU}})()}function $he(e,n,t,a,r,o,i){try{var u=e[o](i),l=u.value}catch(c){return void t(c)}u.done?n(l):Promise.resolve(l).then(a,r)}function zhe(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){$he(o,a,r,i,u,"next",l)}function u(l){$he(o,a,r,i,u,"throw",l)}i(void 0)})}}Jt();var Vhe=["measure","alignPre","align",null,"motion"],Qhe=function(e,n){var t=jm(null),a=rr(t,2),r=a[0],o=a[1],i=Pa();function u(s){o(s,!0)}function l(){_s.cancel(i.current)}function c(s){l(),i.current=_s(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return Ar(function(){u("measure")},[e]),Ar(function(){switch(r){case"measure":n();break;default:}r&&(i.current=_s(zhe(CI().mark(function s(){var f,v;return CI().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:f=Vhe.indexOf(r),v=Vhe[f+1],v&&f!==-1&&u(v);case 3:case"end":return d.stop()}},s)}))))},[r]),Ar(function(){return function(){l()}},[]),[r,c]};Jt();var Yhe=function(e){var n=zf({width:0,height:0}),t=rr(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=pE(function(){var u={};if(e){var l=a.width,c=a.height;e.indexOf("height")!==-1&&c?u.height=c:e.indexOf("minHeight")!==-1&&c&&(u.minHeight=c),e.indexOf("width")!==-1&&l?u.width=l:e.indexOf("minWidth")!==-1&&l&&(u.minWidth=l)}return u},[e,a]);return[i,o]};var Zhe=$c(function(e,n){var t=e.visible,a=e.prefixCls,r=e.className,o=e.style,i=e.children,u=e.zIndex,l=e.stretch,c=e.destroyPopupOnHide,s=e.forceRender,f=e.align,v=e.point,p=e.getRootDomNode,d=e.getClassNameFromAlign,y=e.onAlign,h=e.onMouseEnter,g=e.onMouseLeave,S=e.onMouseDown,M=e.onTouchStart,P=e.onClick,O=Pa(),T=Pa(),k=zf(),K=rr(k,2),oe=K[0],Te=K[1],we=Yhe(l),xe=rr(we,2),Se=xe[0],Ce=xe[1];function Je(){l&&Ce(p())}var ue=Qhe(t,Je),Tn=rr(ue,2),on=Tn[0],Et=Tn[1],mt=zf(0),z=rr(mt,2),x=z[0],Y=z[1],fe=Pa();rU(function(){on==="alignPre"&&Y(0)},[on]);function he(){return v||p}function U(){var Ne;(Ne=O.current)===null||Ne===void 0||Ne.forceAlign()}function pe(Ne,Fn){var fn=d(Fn);oe!==fn&&Te(fn),Y(function(tt){return tt+1}),on==="align"&&(y==null||y(Ne,Fn))}rU(function(){on==="align"&&(x<2?U():Et(function(){var Ne;(Ne=fe.current)===null||Ne===void 0||Ne.call(fe)}))},[x]);var V=zt({},YA(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(Ne){var Fn=V[Ne];V[Ne]=function(fn,tt){return Et(),Fn==null?void 0:Fn(fn,tt)}});function je(){return new Promise(function(Ne){fe.current=Ne})}Ar(function(){!V.motionName&&on==="motion"&&Et()},[V.motionName,on]),qp(n,function(){return{forceAlign:U,getElement:function(){return T.current}}});var Me=zt(zt({},Se),{},{zIndex:u,opacity:on==="motion"||on==="stable"||!t?void 0:0,pointerEvents:!t&&on!=="stable"?"none":void 0},o),He=!0;(f==null?void 0:f.points)&&(on==="align"||on==="stable")&&(He=!1);var en=i;return jg.count(i)>1&&(en=Wa("div",{className:"".concat(a,"-content")},i)),Wa(oR,ht({visible:t,ref:T,leavedClassName:"".concat(a,"-hidden")},V,{onAppearPrepare:je,onEnterPrepare:je,removeOnLeave:c,forceRender:s}),function(Ne,Fn){var fn=Ne.className,tt=Ne.style,In=(0,Xhe.default)(a,r,oe,fn);return Wa(Jhe,{target:he(),key:"popup",ref:O,monitorWindowResize:!0,disabled:He,align:f,onAlign:pe},Wa("div",{ref:Fn,className:In,onMouseEnter:h,onMouseLeave:g,onMouseDownCapture:S,onTouchStartCapture:M,onClick:P,style:zt(zt({},tt),Me)},en))})});Zhe.displayName="PopupInner";var Khe=Zhe;Jt();var ege=ya(L_()),nge=$c(function(e,n){var t=e.prefixCls,a=e.visible,r=e.zIndex,o=e.children,i=e.mobile;i=i===void 0?{}:i;var u=i.popupClassName,l=i.popupStyle,c=i.popupMotion,s=c===void 0?{}:c,f=i.popupRender,v=e.onClick,p=Pa();qp(n,function(){return{forceAlign:function(){},getElement:function(){return p.current}}});var d=zt({zIndex:r},l),y=o;return jg.count(o)>1&&(y=Wa("div",{className:"".concat(t,"-content")},o)),f&&(y=f(y)),Wa(oR,ht({visible:a,ref:p,removeOnLeave:!0},s),function(h,g){var S=h.className,M=h.style,P=(0,ege.default)(t,u,S);return Wa("div",{ref:g,className:P,onClick:v,style:zt(zt({},M),d)},y)})});nge.displayName="MobilePopupInner";var tge=nge;var oln=["visible","mobile"],age=$c(function(e,n){var t=e.visible,a=e.mobile,r=xu(e,oln),o=zf(t),i=rr(o,2),u=i[0],l=i[1],c=zf(!1),s=rr(c,2),f=s[0],v=s[1],p=zt(zt({},r),{},{visible:u});Ar(function(){l(t),t&&a&&v(dpe())},[t,a]);var d=f?Wa(tge,ht({},p,{mobile:a,ref:n})):Wa(Khe,ht({},p,{ref:n}));return Wa("div",null,Wa(Ek,p),d)});age.displayName="Popup";var rge=age;Jt();var iln=Qj(null),iU=iln;function uU(){}function uln(){return""}function lln(e){return e?e.ownerDocument:window.document}var cln=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function sln(e){var n=function(t){fu(r,t);var a=rR(r);function r(o){var i;cu(this,r),i=a.call(this,o),i.popupRef=T2(),i.triggerRef=T2(),i.portalContainer=void 0,i.attachId=void 0,i.clickOutsideHandler=void 0,i.touchOutsideHandler=void 0,i.contextMenuOutsideHandler1=void 0,i.contextMenuOutsideHandler2=void 0,i.mouseDownTimeout=void 0,i.focusTime=void 0,i.preClickTime=void 0,i.preTouchTime=void 0,i.delayTimer=void 0,i.hasPopupMouseDown=void 0,i.onMouseEnter=function(l){var c=i.props.mouseEnterDelay;i.fireEvents("onMouseEnter",l),i.delaySetPopupVisible(!0,c,c?null:l)},i.onMouseMove=function(l){i.fireEvents("onMouseMove",l),i.setPoint(l)},i.onMouseLeave=function(l){i.fireEvents("onMouseLeave",l),i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onPopupMouseEnter=function(){i.clearDelayTimer()},i.onPopupMouseLeave=function(l){var c;l.relatedTarget&&!l.relatedTarget.setTimeout&&wD((c=i.popupRef.current)===null||c===void 0?void 0:c.getElement(),l.relatedTarget)||i.delaySetPopupVisible(!1,i.props.mouseLeaveDelay)},i.onFocus=function(l){i.fireEvents("onFocus",l),i.clearDelayTimer(),i.isFocusToShow()&&(i.focusTime=Date.now(),i.delaySetPopupVisible(!0,i.props.focusDelay))},i.onMouseDown=function(l){i.fireEvents("onMouseDown",l),i.preClickTime=Date.now()},i.onTouchStart=function(l){i.fireEvents("onTouchStart",l),i.preTouchTime=Date.now()},i.onBlur=function(l){i.fireEvents("onBlur",l),i.clearDelayTimer(),i.isBlurToHide()&&i.delaySetPopupVisible(!1,i.props.blurDelay)},i.onContextMenu=function(l){l.preventDefault(),i.fireEvents("onContextMenu",l),i.setPopupVisible(!0,l)},i.onContextMenuClose=function(){i.isContextMenuToShow()&&i.close()},i.onClick=function(l){if(i.fireEvents("onClick",l),i.focusTime){var c;if(i.preClickTime&&i.preTouchTime?c=Math.min(i.preClickTime,i.preTouchTime):i.preClickTime?c=i.preClickTime:i.preTouchTime&&(c=i.preTouchTime),Math.abs(c-i.focusTime)<20)return;i.focusTime=0}i.preClickTime=0,i.preTouchTime=0,i.isClickToShow()&&(i.isClickToHide()||i.isBlurToHide())&&l&&l.preventDefault&&l.preventDefault();var s=!i.state.popupVisible;(i.isClickToHide()&&!s||s&&i.isClickToShow())&&i.setPopupVisible(!i.state.popupVisible,l)},i.onPopupMouseDown=function(){if(i.hasPopupMouseDown=!0,clearTimeout(i.mouseDownTimeout),i.mouseDownTimeout=window.setTimeout(function(){i.hasPopupMouseDown=!1},0),i.context){var l;(l=i.context).onPopupMouseDown.apply(l,arguments)}},i.onDocumentClick=function(l){if(!(i.props.mask&&!i.props.maskClosable)){var c=l.target,s=i.getRootDomNode(),f=i.getPopupDomNode();(!wD(s,c)||i.isContextMenuOnly())&&!wD(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=iI(i.triggerRef.current);if(c)return c}catch{}return zc.findDOMNode(RD(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,v=s.builtinPlacements,p=s.prefixCls,d=s.alignPoint,y=s.getPopupClassNameFromAlign;return f&&v&&c.push(fpe(v,p,l,d)),y&&c.push(y(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,p=l.popupMotion,d=l.popupAnimation,y=l.popupTransitionName,h=l.popupStyle,g=l.mask,S=l.maskAnimation,M=l.maskTransitionName,P=l.maskMotion,O=l.zIndex,T=l.popup,k=l.stretch,K=l.alignPoint,oe=l.mobile,Te=l.forceRender,we=l.onPopupClick,xe=i.state,Se=xe.popupVisible,Ce=xe.point,Je=i.getPopupAlign(),ue={};return i.isMouseEnterToShow()&&(ue.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(ue.onMouseLeave=i.onPopupMouseLeave),ue.onMouseDown=i.onPopupMouseDown,ue.onTouchStart=i.onPopupMouseDown,Wa(rge,ht({prefixCls:c,destroyPopupOnHide:s,visible:Se,point:K&&Ce,className:f,align:Je,onAlign:v,animation:d,getClassNameFromAlign:i.getPopupClassNameFromAlign},ue,{stretch:k,getRootDomNode:i.getRootDomNode,style:h,mask:g,zIndex:O,transitionName:y,maskAnimation:S,maskTransitionName:M,maskMotion:P,ref:i.popupRef,motion:p,mobile:oe,forceRender:Te,onClick:we}),typeof T=="function"?T():T)},i.attachParent=function(l){_s.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,v=i.getRootDomNode(),p;s?(v||s.length===0)&&(p=s(v)):p=f(i.getRootDomNode()).body,p?p.appendChild(l):i.attachId=_s(function(){i.attachParent(l)})},i.getContainer=function(){if(!i.portalContainer){var l=i.props.getDocument,c=l(i.getRootDomNode()).createElement("div");c.style.position="absolute",c.style.top="0",c.style.left="0",c.style.width="100%",i.portalContainer=c}return i.attachParent(i.portalContainer),i.portalContainer},i.setPoint=function(l){var c=i.props.alignPoint;!c||!l||i.setState({point:{pageX:l.pageX,pageY:l.pageY}})},i.handlePortalUpdate=function(){i.state.prevPopupVisible!==i.state.popupVisible&&i.props.afterPopupVisibleChange(i.state.popupVisible)},i.triggerContextValue={onPopupMouseDown:i.onPopupMouseDown};var u;return"popupVisible"in o?u=!!o.popupVisible:u=!!o.defaultPopupVisible,i.state={prevPopupVisible:u,popupVisible:u},cln.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return su(r,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var i=this.props,u=this.state;if(u.popupVisible){var l;!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(l=i.getDocument(this.getRootDomNode()),this.clickOutsideHandler=x_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=x_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=x_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=x_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),_s.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var i;return((i=this.popupRef.current)===null||i===void 0?void 0:i.getElement())||null}},{key:"getPopupAlign",value:function(){var i=this.props,u=i.popupPlacement,l=i.popupAlign,c=i.builtinPlacements;return u&&c?spe(c,u,l):l}},{key:"setPopupVisible",value:function(i,u){var l=this.props.alignPoint,c=this.state.popupVisible;this.clearDelayTimer(),c!==i&&("popupVisible"in this.props||this.setState({popupVisible:i,prevPopupVisible:c}),this.props.onPopupVisibleChange(i)),l&&u&&i&&this.setPoint(u)}},{key:"delaySetPopupVisible",value:function(i,u,l){var c=this,s=u*1e3;if(this.clearDelayTimer(),s){var f=l?{pageX:l.pageX,pageY:l.pageY}:null;this.delayTimer=window.setTimeout(function(){c.setPopupVisible(i,f),c.clearDelayTimer()},s)}else this.setPopupVisible(i,l)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(i){var u=this.props.children.props,l=this.props;return u[i]&&l[i]?this["fire".concat(i)]:u[i]||l[i]}},{key:"isClickToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isContextMenuOnly",value:function(){var i=this.props.action;return i==="contextMenu"||i.length===1&&i[0]==="contextMenu"}},{key:"isContextMenuToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("contextMenu")!==-1||l.indexOf("contextMenu")!==-1}},{key:"isClickToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("click")!==-1||l.indexOf("click")!==-1}},{key:"isMouseEnterToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("hover")!==-1||l.indexOf("mouseEnter")!==-1}},{key:"isMouseLeaveToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("hover")!==-1||l.indexOf("mouseLeave")!==-1}},{key:"isFocusToShow",value:function(){var i=this.props,u=i.action,l=i.showAction;return u.indexOf("focus")!==-1||l.indexOf("focus")!==-1}},{key:"isBlurToHide",value:function(){var i=this.props,u=i.action,l=i.hideAction;return u.indexOf("focus")!==-1||l.indexOf("blur")!==-1}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var i;(i=this.popupRef.current)===null||i===void 0||i.forceAlign()}}},{key:"fireEvents",value:function(i,u){var l=this.props.children.props[i];l&&l(u);var c=this.props[i];c&&c(u)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var i=this.state.popupVisible,u=this.props,l=u.children,c=u.forceRender,s=u.alignPoint,f=u.className,v=u.autoDestroy,p=jg.only(l),d={key:"trigger"};this.isContextMenuToShow()?d.onContextMenu=this.onContextMenu:d.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(d.onClick=this.onClick,d.onMouseDown=this.onMouseDown,d.onTouchStart=this.onTouchStart):(d.onClick=this.createTwoChains("onClick"),d.onMouseDown=this.createTwoChains("onMouseDown"),d.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(d.onMouseEnter=this.onMouseEnter,s&&(d.onMouseMove=this.onMouseMove)):d.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?d.onMouseLeave=this.onMouseLeave:d.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(d.onFocus=this.onFocus,d.onBlur=this.onBlur):(d.onFocus=this.createTwoChains("onFocus"),d.onBlur=this.createTwoChains("onBlur"));var y=(0,oge.default)(p&&p.props&&p.props.className,f);y&&(d.className=y);var h=zt({},d);NA(p)&&(h.ref=jA(this.triggerRef,p.ref));var g=sE(p,h),S;return(i||this.popupRef.current||c)&&(S=Wa(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),Wa(iU.Provider,{value:this.triggerContextValue},g,S)}}],[{key:"getDerivedStateFromProps",value:function(i,u){var l=i.popupVisible,c={};return l!==void 0&&u.popupVisible!==l&&(c.popupVisible=l,c.prevPopupVisible=u.popupVisible),c}}]),r}(Ng);return n.contextType=iU,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:uln,getDocument:lln,onPopupVisibleChange:uU,afterPopupVisibleChange:uU,onPopupAlign:uU,popupClassName:"",mouseEnterDelay:0,mouseLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1},n}var ige=sln(cpe);var sf={adjustX:1,adjustY:1},ff=[0,0],uge={left:{points:["cr","cl"],overflow:sf,offset:[-4,0],targetOffset:ff},right:{points:["cl","cr"],overflow:sf,offset:[4,0],targetOffset:ff},top:{points:["bc","tc"],overflow:sf,offset:[0,-4],targetOffset:ff},bottom:{points:["tc","bc"],overflow:sf,offset:[0,4],targetOffset:ff},topLeft:{points:["bl","tl"],overflow:sf,offset:[0,-4],targetOffset:ff},leftTop:{points:["tr","tl"],overflow:sf,offset:[-4,0],targetOffset:ff},topRight:{points:["br","tr"],overflow:sf,offset:[0,-4],targetOffset:ff},rightTop:{points:["tl","tr"],overflow:sf,offset:[4,0],targetOffset:ff},bottomRight:{points:["tr","br"],overflow:sf,offset:[0,4],targetOffset:ff},rightBottom:{points:["bl","br"],overflow:sf,offset:[4,0],targetOffset:ff},bottomLeft:{points:["tl","bl"],overflow:sf,offset:[0,4],targetOffset:ff},leftBottom:{points:["br","bl"],overflow:sf,offset:[-4,0],targetOffset:ff}};Jt();var lge=ya(L_());function dx(e){var n=e.showArrow,t=e.arrowContent,a=e.children,r=e.prefixCls,o=e.id,i=e.overlayInnerStyle,u=e.className,l=e.style;return Wa("div",{className:(0,lge.default)("".concat(r,"-content"),u),style:l},n!==!1&&Wa("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),Wa("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var fln=function(n,t){var a=n.overlayClassName,r=n.trigger,o=r===void 0?["hover"]:r,i=n.mouseEnterDelay,u=i===void 0?0:i,l=n.mouseLeaveDelay,c=l===void 0?.1:l,s=n.overlayStyle,f=n.prefixCls,v=f===void 0?"rc-tooltip":f,p=n.children,d=n.onVisibleChange,y=n.afterVisibleChange,h=n.transitionName,g=n.animation,S=n.motion,M=n.placement,P=M===void 0?"right":M,O=n.align,T=O===void 0?{}:O,k=n.destroyTooltipOnHide,K=k===void 0?!1:k,oe=n.defaultVisible,Te=n.getTooltipContainer,we=n.overlayInnerStyle,xe=n.arrowContent,Se=n.overlay,Ce=n.id,Je=n.showArrow,ue=xu(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),Tn=Pa(null);qp(t,function(){return Tn.current});var on=zt({},ue);"visible"in n&&(on.popupVisible=n.visible);var Et=function(){return Wa(dx,{showArrow:Je,arrowContent:xe,key:"content",prefixCls:v,id:Ce,overlayInnerStyle:we},Se)},mt=!1,z=!1;if(typeof K=="boolean")mt=K;else if(K&&kr(K)==="object"){var x=K.keepParent;mt=x===!0,z=x===!1}return Wa(ige,ht({popupClassName:a,prefixCls:v,popup:Et,action:o,builtinPlacements:uge,popupPlacement:P,ref:Tn,popupAlign:T,getPopupContainer:Te,onPopupVisibleChange:d,afterPopupVisibleChange:y,popupTransitionName:h,popupAnimation:g,popupMotion:S,defaultPopupVisible:oe,destroyPopupOnHide:mt,autoDestroy:z,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},on),p)},cge=$c(fln);var sge=cge;var vge=e=>bt.createElement(sge,Object.assign({},e,{overlayClassName:`cv-tooltip ${e.overlayClassName}`,getTooltipContainer:e.tooltipContainerSelector?()=>document.querySelector(e.tooltipContainerSelector)||document.body:void 0}));if(typeof window!="undefined"&&typeof global=="undefined")try{Promise.resolve().then(()=>ya(fge())).then(e=>{let n=e.default,t=document.createElement("style");t.type="text/css",t.appendChild(document.createTextNode(n)),document.head.appendChild(t)})}catch(e){window.Sentry&&window.Sentry.captureException(e)}function pge(e){return function(n){return function(){return n.getItem(e)}}}function _R(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var pln=j(st);var _x=function(e){var n=pln(te),t=pge(e);return function(a){return n(t(a))}};var mln=Jo(),dln=qs(An)(),_ln=Bn(Zn),hR=ct(ar),hln=function(e){return function(n){return function(t){return mln(ra(E.value))(function(a){return dln(E3(_ln(function(){var o=hR(_x(n))(hR(e)(To))();if(o instanceof _)return a.value1(new _(o.value0))();if(o instanceof E)return a.value1(new _(t))(),hR(_R(n)(t))(hR(e)(To))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return Bo(new Pe(a.value0,function(r){return function(){return a.value1(new _(r))(),hR(_R(n)(r))(hR(e)(To))()}}))})})}}};var hx=hln(X1);var gln=Vc();var mge="hover",P_="click";var vf="top",Si=function(e){var n=gln(e);return function(){return function(){return n(vge)}}};var dge="right";var _ge="bottomRight";var II="bottom";var hge=e=>()=>e.preventDefault&&e.preventDefault(),gge=e=>()=>e.stopPropagation&&e.stopPropagation();var lU=function(){return gge},Ev=function(){return hge};var Dln=Qn();var cU=Z(Ge),sU=St(Dln(C({reflectSymbol:function(){return"value"}})(ie)(de))),fU=q(Jn);var pf=function(e){return be("")(cU(sU(xa(e.target)))(function(n){return fU(n.value)}))},Dge=function(e){return be("")(cU(sU(xa(e.target)))(function(n){return fU(n.value)}))},mf=function(e){return be("")(cU(sU(xa(e.target)))(function(n){return fU(n.value)}))};var yge="/network/connections";var bge=15;var yln=Si(ae)()(),bln=rn(W),Rln=function(){return"You\u2019ve hit the "+(ne(Ye)(bge)+`-connection limit, designed to encourage you to focus on building meaningful connections that lead to impactful opportunities. Remove an existing connection to make space for a new one that aligns with your goals. `)}(),wln=Ga(ae)("text-decoration-underline")(la(L)()()("text-dark")(Ue)({href:yge})("Manage my connections")),TI=function(e){return function(n){return yln({placement:e,trigger:P_,overlay:bln("")([X(Rln),wln]),overlayStyle:mn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var Sln=xi(ft),Rge=ne(Ye),Eln=aa(Ae)(ft),Cln=rn(L);var wge=25,vU=function(e){return Br(e)>=wge},Sge=function(e){var n=Br(e),t=n>0,a=Sln(" ")([function(){return t?Rge(n)+" characters":""}(),Eln(["(",Rge(wge),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=vU(e);return o?"text-success":""}();return Cln(r)(a)};var Iln=function(){function e(){}return e.value=new e,e}(),pU=function(){function e(){}return e.value=new e,e}(),Tln=function(){function e(){}return e.value=new e,e}(),Fln=function(){function e(){}return e.value=new e,e}(),Mln=function(){function e(){}return e.value=new e,e}(),gx=function(){function e(){}return e.value=new e,e}(),FI=function(){function e(){}return e.value=new e,e}(),mU=function(){function e(){}return e.value=new e,e}(),dU=function(){function e(){}return e.value=new e,e}();var Ege=function(e){if(e instanceof Iln)return"sheet-view";if(e instanceof pU)return"school-details";if(e instanceof Tln)return"network-gallery";if(e instanceof Fln)return"livestream-details";if(e instanceof Mln)return"card-view";throw new Error("Failed pattern match at Sem.Types.User (line 100, column 25 - line 105, column 26): "+[e.constructor.name])};var Aln=Number.MAX_SAFE_INTEGER;var hU=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(Fe)return e.first+(" "+e.last);throw new Error("Failed pattern match at Profile.Types.Name (line 11, column 1 - line 11, column 27): "+[e.constructor.name])};var zln=ve(nse);var Ige=function(e){return zln(e.publishScope)(k0.value)};var Zln=$r(Wo),Mge=ho(Zln),Gge=Z(Ut);var Age=Mge("profile_visibility_path")(function(e){return function(n){return Gge(e({visibility:{publish_scope:y3(n)}}))(Ku)}});var xge=Mge("profile_name_path")(function(e){return function(n){return Gge(e({name:n}))(Ku)}});var Kln=Fm(),ecn=Ft(L),ncn=Kn(L),gU=Vn(L),DU=Pr(L),O_=J(W),gR=jn(L)()(),yU=pa(Sr),tcn=Hn(An),bU=xn(pt),ID=J(ae),Lge=ps()(),acn=cs(L),rcn=aa(Ae)(ft),jge=ii()(),RU=xn(mo),ocn=pc()(),Nge=J(L),icn=sv(W),wU=kl(L),ucn=rn(L),lcn=Si(ae)()(),ccn=Vn(W),scn=la(L)()(),fcn=oa(L),TD=q(_t),Pge=tcn(qt),vcn=BC(),MI=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Oge=function(){function e(){}return e.value=new e,e}(),kge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Uge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Bge=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),GI=function(){function e(){}return e.value=new e,e}(),SU=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Jge=function(e){return function(n){var t=function(c){return Kln({body:c,title:ecn("my-0")(function(){return e.stage instanceof gx?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new $t(GI.value)),size:LC.value})},a=Ege(e.context),r=le([ncn("mt-3")("Review your message before you send it"),gU("mt-2")(` Because this is your first message to the counselor, we want to make sure you\u2019re ready to send. `),DU("mt-4")("Your message"),Z1(e.message),O_("d-flex mt-4 justify-content-start")([gR("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)(Ue)({onClick:yU(function(){return n(new $t(new SU({introMessage:e.message})))(),n(new et(new MI(dU.value)))()})})("Send"),gR("btn btn-lg btn-outline-primary ml-3 text-nowrap")(Ue)({onClick:bU(n)(new et(new MI(FI.value)))})("No, I need to edit something")])]),o=le([O_("text-center")([ID("")(Lge("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),acn("mt-4")("Connection request sent!"),gU("mx-md-4")(rcn(["You\u2019ve successfully demonstrated your interest to ",e.schoolName,". ","This counselor isn\u2019t part of the platform yet but we\u2019ve forwarded your message to them. ","You\u2019ll get an email notification when they respond."])),gR("btn btn-lg btn-outline-secondary mt-4")(Ue)({onClick:bU(n)(new $t(GI.value))})("Close")])]),i=gR("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)(Ue)({onClick:bU(n)(new $t(GI.value))})("Cancel"),u=function(){var c=vU(e.message)&&function(){if(e.profile.fullName instanceof _)return!0;if(e.profile.fullName instanceof E)return!yi(e.firstName)&&!yi(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 240, column 15 - line 244, column 88): "+[e.profile.fullName.constructor.name])}(),s=function(){if(e.vineBelowConnectionLimit instanceof _&&e.vineBelowConnectionLimit.value0)return!1;if(e.vineBelowConnectionLimit instanceof _&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof E)return!1;throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 233, column 13 - line 236, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return le([sn(dr(e.profile.fullName))(le([DU("mt-md-4")("Your preferred name"),O_("form-row mx-1")([jge("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:RU(n)(function(f){return et.create(Hge.create(mf(f)))}),placeholder:"First name"}),jge("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:RU(n)(function(f){return et.create(Bge.create(mf(f)))}),placeholder:"Last name"})])])),DU("mt-md-4")("Your message"),ocn("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:RU(n)(function(f){return et.create(Uge.create(pf(f)))}),placeholder:`Sample introductory message: Hi Jane, My name is Sam and I\u2019m a senior at Oak Ridge High School in Oak Ridge, MD. I\u2019m really excited to apply for CV University this fall, and I\u2019m hoping to study history there. Are there any upcoming virtual events I can register for? I\u2019m excited to stay in touch and learn more about your school. Thanks! `}),ID("mt-2")(Sge(e.message)),Nge("mt-3 mt-md-4 small")("The ideal connection message should include:"),icn("small")([wU("")("Your name, where you\u2019re from, and a bit about who you are"),wU("")("What you\u2019re interested in studying along with one or two insightful questions"),wU("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),O_("d-flex mt-4 justify-content-start")([TI(vf)(ID("")(gR("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)(Ue)({onClick:yU(function(){return function(){if(e.profile.fullName instanceof _)return Re;if(e.profile.fullName instanceof E)return n(new et(new kge({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 216, column 23 - line 220, column 113): "+[e.profile.fullName.constructor.name])}(),n(new et(new MI(mU.value)))()}),disabled:!c||s,style:mn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=O_("mx-md-7")([ID("border border-success rounded p-4 my-4")(O_("row align-items-center")([ID("col-12 col-md-auto text-center text-md-left")(Lge("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),ID("col text-center text-md-left")(ucn("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),O_("d-flex flex-nowrap align-items-center")([Nge("mr-4")("Publish your profile to join the CollegeVine Network"),lcn({placement:dge,overlay:ccn("")([X(` Your profile includes academics, extracurriculars, major interest, demographics and financial aid intent. By agreeing to publish, you will also be adding select preferences survey answers to `),scn("")(Ue)({href:xm})("your profile"),X(".")]),overlayStyle:mn({width:"15rem"})})(fcn("cursor-default text-secondary fe fe-info large")(""))]),gU("text-secondary small d-none d-md-block mt-4")("Joining the CollegeVine Network won\u2019t result in spam from colleges you don\u2019t want to hear from."),O_("d-flex mt-4 justify-content-start justify-content-md-center")([gR("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)(Ue)({onClick:yU(function(){return n(new et(Oge.value))(),n(new et(new MI(FI.value)))()})})("Publish profile"),i])]);return ID("t--network-sem-user-modal")(function(){if(e.stage instanceof gx)return t(l);if(e.stage instanceof FI)return t(u);if(e.stage instanceof mU)return t(r);if(e.stage instanceof dU)return t(o);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 96, column 5 - line 100, column 38): "+[e.stage.constructor.name])}())}},qge=function(e){return function(n){if(n instanceof et){if(n.value0 instanceof MI)return TD({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,profile:e.profile,schoolName:e.schoolName,vineBelowConnectionLimit:e.vineBelowConnectionLimit,stage:n.value0.value0});if(n.value0 instanceof Oge)return Pge(cr(Age(k0.value)))(function(){return TD({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,profile:{fullName:e.profile.fullName,publishScope:k0.value}})});if(n.value0 instanceof kge)return Pge(cr(xge(n.value0.value0)))(function(){return TD({context:e.context,firstName:e.firstName,lastName:e.lastName,message:e.message,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,profile:{publishScope:e.profile.publishScope,fullName:new _(hU(n.value0.value0))}})});if(n.value0 instanceof Uge)return TD({context:e.context,firstName:e.firstName,lastName:e.lastName,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,message:n.value0.value0});if(n.value0 instanceof Hge)return TD({context:e.context,lastName:e.lastName,message:e.message,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,firstName:n.value0.value0});if(n.value0 instanceof Bge)return TD({context:e.context,firstName:e.firstName,message:e.message,profile:e.profile,schoolName:e.schoolName,stage:e.stage,vineBelowConnectionLimit:e.vineBelowConnectionLimit,lastName:n.value0.value0});throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 75, column 31 - line 89, column 39): "+[n.value0.constructor.name])}if(n instanceof $t)return TD(e);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 74, column 1 - line 74, column 55): "+[e.constructor.name,n.constructor.name])}},pcn=function(e){var n=Ige(e);return n?FI.value:gx.value},Wge=function(e){return{firstName:"",lastName:"",message:"",profile:vcn(e.profile),stage:pcn(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var EU="support@collegevine.com";var Dx="https://www.collegevine.com/admissions-calculator";var CU=function(){function e(){}return e.value=new e,e}(),IU=function(){function e(){}return e.value=new e,e}();var TU=function(){function e(){}return e.value=new e,e}(),$ge=function(){function e(){}return e.value=new e,e}(),zge=function(){function e(){}return e.value=new e,e}(),Vge=function(){function e(){}return e.value=new e,e}();var Qge=Rn(bn),Yge=gn(hn),Xge=En(Sn),fr=function(){function e(){}return e.value=new e,e}(),$a=function(){function e(){}return e.value=new e,e}(),mcn={to:function(e){if(e instanceof H)return fr.value;if(e instanceof m)return $a.value;throw new Error("Failed pattern match at Utils.Expandable (line 27, column 1 - line 27, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof fr)return new H(se.value);if(e instanceof $a)return new m(se.value);throw new Error("Failed pattern match at Utils.Expandable (line 27, column 1 - line 27, column 32): "+[e.constructor.name])}},Nm={eq:function(e){return function(n){return e instanceof fr&&n instanceof fr||e instanceof $a&&n instanceof $a}}};var $0=function(e){if(e instanceof fr)return $a.value;if(e instanceof $a)return fr.value;throw new Error("Failed pattern match at Utils.Expandable (line 31, column 10 - line 33, column 24): "+[e.constructor.name])};var FU=function(e){if(e instanceof fr)return"Expanded";if(e instanceof $a)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 36, column 10 - line 38, column 27): "+[e.constructor.name])},Zge=Ln(FU)(pn(mcn)(yn(Qge)(_n(dn))(Qge)(Yge))(wn(Xge)(Xge))(Dn(Yge)));function Kge(e){return function(n){return function(){return e.item(n)}}}var dcn=j(st),eDe=function(e){var n=dcn(te),t=Kge(e);return function(a){return n(t(a))}};var _cn=ee(st),hcn=qe(da),yx=q(ta),gcn=ee(B),Dcn=aa(Ae)(ft),ycn=j(st),bcn=ct(ar),nDe=Ma(),tDe=Jo(),aDe=qs(An)(),Rcn=Gm(Nm),rDe=Bn(Zn),oDe=q(Xt),wcn=$y(r0),Scn=j(B),Ecn=Xn(W)()(),Ccn=eD(qG(y1)),MU=ve(Nm),Icn=jn(ae)()(),Tcn=xn(pt),iDe=ne(_S),uDe=function(){return function(e){return function(n){var t=function(s){var f=function(p){return function(d){return function(){var h=eDe(p)(d)();if(h instanceof _)return _cn(f(p)(d+1|0))(function(g){return hcn([h.value0])(g)})();if(h instanceof E)return[];throw new Error("Failed pattern match at Component.Dropdown (line 237, column 45 - line 239, column 31): "+[h.constructor.name])}}},v=gcn(Mce(s))(function(p){return function(){var y=yO(p)(),h=f(y)(0)();return Dcn(h)}});return ycn(Bc("-menu"))(be(yx(""))(v))},a=function(s){return function(f){if(s instanceof E||f instanceof E)return yx(!1);if(s instanceof _&&f instanceof _)return function(){var p=RO(s.value0)(f.value0)(),d=t(f.value0)();return p||d?!0:bcn(a(new _(s.value0)))(Ace(f.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 212, column 5 - line 212, column 42): "+[s.constructor.name,f.constructor.name])}},r=nDe(n),o=kn(r.direction)(TU.value),i=function(){if(o instanceof TU)return"dropdown";if(o instanceof $ge)return"dropup";if(o instanceof Vge)return"dropright";if(o instanceof zge)return"dropleft";throw new Error("Failed pattern match at Component.Dropdown (line 204, column 22 - line 208, column 35): "+[o.constructor.name])}(),u=kn(r.onClose)(yx(Re)),l=kn(r.alignment)(CU.value),c=function(){if(l instanceof CU)return"";if(l instanceof IU)return"dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 199, column 22 - line 201, column 47): "+[l.constructor.name])}();return au(tDe(ra($a.value))(function(s){return tDe(C3)(function(f){return aDe(Rcn(s.value0)(function(v){return v instanceof $a?rDe(u):oDe(Re)}))(function(){return aDe(OC(HC.mouseup)(function(v){if(s.value0 instanceof $a)return oDe(Re);if(s.value0 instanceof fr)return rDe(wcn(a(Scn(aoe)(f.value0))(new _(D3(v.target))))(s.value1($a.value)));throw new Error("Failed pattern match at Component.Dropdown (line 158, column 5 - line 164, column 29): "+[s.value0.constructor.name])}))(function(){var v=function(){if(s.value0 instanceof $a)return"";if(s.value0 instanceof fr)return"show";throw new Error("Failed pattern match at Component.Dropdown (line 166, column 25 - line 168, column 27): "+[s.value0.constructor.name])}();return Bo(Ecn(i+(" "+(v+(" "+e))))({onClick:Ccn(s.value1)(function(){var p=r.closeOnClick&&MU(s.value0)(fr.value);return p?new _($a.value):E.value}()),ref:f.value1})([Icn(r.toggleClass)(r.ariaLabelInput)({onClick:Tcn(s.value1)($0(s.value0)),"aria-expanded":iDe(MU(s.value0)(fr.value)),role:"combobox","aria-haspopup":"listbox","aria-controls":r.contentId})(r.toggleContent),r.content({ariaSelected:iDe,className:"dropdown-menu show "+c,closeDropdown:s.value1($a.value),contentId:r.contentId,role:"listbox",roleSelectOption:"option",visible:MU(s.value0)(fr.value)})]))})})})}))}}},Fcn=uDe(),bx=function(){return function(e){return function(n){var t=nDe(n);return Fcn(e)({ariaLabelInput:t.ariaLabelInput,contentId:t.contentId,direction:t.direction,toggleClass:` dropdown-toggle d-inline-flex align-items-center justify-content-center `+(" "+t.toggleClass),toggleContent:t.toggleContent,content:function(a){return sn(a.visible)(t.content({className:a.className,contentId:a.contentId,role:a.role,roleSelectOption:a.roleSelectOption,ariaSelected:a.ariaSelected}))},closeOnClick:!0})}}};Jt();var Cv={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var LI=ya(mDe()),dDe=4,isn=({trackColor:e,background:n})=>({props:t,children:a})=>bt.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${dDe}px`,borderRadius:`${dDe*2}px`,background:n||e})}),...a),usn=({horizontal:e})=>({props:n,isDragged:t})=>bt.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),bt.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?Cv.SECONDARY:Cv.WHITE,stroke:Cv.SECONDARY}),bt.createElement("path",{stroke:t?Cv.WHITE:Cv.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),bt.createElement("path",{stroke:t?Cv.WHITE:Cv.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),_De=e=>bt.createElement("div",{"aria-label":e.ariaLabel},bt.createElement(LI.Range,{step:e.step,min:e.min,max:e.max,values:[e.value],onChange:([n])=>e.onChange(n),onFinalChange:([n])=>e.onFinalChange&&e.onFinalChange(n),renderTrack:isn({trackColor:e.trackColor||Cv.GRAY_300,background:e.fillBefore?(0,LI.getTrackBackground)({values:[e.value],colors:[Cv.PRIMARY,Cv.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:usn({horizontal:!0})}));var lsn=lc(),hDe={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Lt}};var gDe=function(e){return function(){return function(){return lsn(_De)}}};var DDe=function(e){return function(n){return dr(n(e))}};var csn=Ma(),ssn=Si(ae)()(),fsn=rn(W),vsn=oa(L),psn=function(e){var n=qg(e);return function(){return function(t){return function(a){var r=csn(t);return ssn({placement:vf,overlay:le(n(a)),overlayStyle:kn(r.overlayStyle)(mn({width:"15rem"}))})(fsn("d-inline-flex align-items-center text-secondary "+r.className)([vsn("d-inline-block fe fe-help-circle "+function(){var o=r.anchorText==="";return o?"":"mr-2"}())(""),X(r.anchorText)]))}}}},Lu=function(e){var n=psn(e)();return function(t){return n({className:t,anchorText:""})}};Jt();function yDe(e){if(Array.isArray(e))return uI(e)}function bDe(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function RDe(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function wDe(e){return yDe(e)||bDe(e)||OA(e)||RDe()}var vwe=ya(Tl());var Apn=ya(km()),aer=ya($m());var NT=ya(Tl()),ea=ya(km()),Qbe=ya($m());var Ybe=ya(V0());function Hbe(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Xbe=ya($D()),pJ=function(){};function p0n(e,n){return n?n[0]==="-"?e+n:e+"__"+n:e}function Zbe(e,n,t){var a=[t];if(n&&e)for(var r in n)n.hasOwnProperty(r)&&n[r]&&a.push("".concat(p0n(e,r)));return a.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var mJ=function(n){return Array.isArray(n)?n.filter(Boolean):kr(n)==="object"&&n!==null?[n]:[]};function H7(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Kbe(e){return H7(e)?window.pageYOffset:e.scrollTop}function B7(e,n){if(H7(e)){window.scrollTo(0,n);return}e.scrollTop=n}function m0n(e){var n=getComputedStyle(e),t=n.position==="absolute",a=/(auto|scroll)/,r=document.documentElement;if(n.position==="fixed")return r;for(var o=e;o=o.parentElement;)if(n=getComputedStyle(o),!(t&&n.position==="static")&&a.test(n.overflow+n.overflowY+n.overflowX))return o;return r}function d0n(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function J7(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:pJ,r=Kbe(e),o=n-r,i=10,u=0;function l(){u+=i;var c=d0n(u,r,o,t);B7(e,c),ut.bottom?B7(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r=y)return{placement:"bottom",maxHeight:n};if(Te>=y&&!i)return o&&J7(c,we,Se),{placement:"bottom",maxHeight:n};if(!i&&Te>=a||i&&K>=a){o&&J7(c,we,Se);var Ce=i?K-O:Te-O;return{placement:"bottom",maxHeight:Ce}}if(r==="auto"||i){var Je=n,ue=i?k:oe;return ue>=a&&(Je=Math.min(ue-O-l.controlHeight,n)),{placement:"top",maxHeight:Je}}if(r==="bottom")return B7(c,we),{placement:"bottom",maxHeight:n};break;case"top":if(k>=y)return{placement:"top",maxHeight:n};if(oe>=y&&!i)return o&&J7(c,xe,Se),{placement:"top",maxHeight:n};if(!i&&oe>=a||i&&k>=a){var Tn=n;return(!i&&oe>=a||i&&k>=a)&&(Tn=i?k-T:oe-T),o&&J7(c,xe,Se),{placement:"top",maxHeight:Tn}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function D0n(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var _J=function(n){return n==="auto"?"bottom":n},oRe=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Xa(t,D0n(a),"100%"),Xa(t,"backgroundColor",u.neutral0),Xa(t,"borderRadius",o),Xa(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Xa(t,"marginBottom",i.menuGutter),Xa(t,"marginTop",i.menuGutter),Xa(t,"position","absolute"),Xa(t,"width","100%"),Xa(t,"zIndex",1),t},iRe=(0,NT.createContext)({getPortalPlacement:null}),hJ=function(e){fu(t,e);var n=rRe(t);function t(){var a;cu(this,t);for(var r=arguments.length,o=new Array(r),i=0;i-1}};var Y0n={name:"1laao21-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;"},X0n=function(n){return(0,zD.jsx)("span",ht({css:Y0n},n))};function Z0n(e){var n=e.in,t=e.out,a=e.onExited,r=e.appear,o=e.enter,i=e.exit,u=e.innerRef,l=e.emotion,c=xu(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return(0,zD.jsx)("input",ht({ref:u},c,{css:(0,VRe.default)({label:"dummyInput",background:0,border:0,fontSize:"inherit",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(0)"},"")}))}function K0n(e){var n=epn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return ds(this,r)}}function epn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var KRe=function(e){fu(t,e);var n=K0n(t);function t(){return cu(this,t),n.apply(this,arguments)}return su(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,zRe.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(ba.Component),ewe=["boxSizing","height","overflow","paddingRight","position"],nwe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function twe(e){e.preventDefault()}function awe(e){e.stopPropagation()}function rwe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function owe(){return"ontouchstart"in window||navigator.maxTouchPoints}function npn(e){var n=tpn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return ds(this,r)}}function tpn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var iwe=!!(window.document&&window.document.createElement),PT=0,uwe=function(e){fu(t,e);var n=npn(t);function t(){var a;cu(this,t);for(var r=arguments.length,o=new Array(r),i=0;i0,P=h-g-y,O=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),M&&a.isTop&&(p&&p(u),a.isTop=!1),M&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=h,O=!0,a.isBottom=!0):!M&&-l>y&&(v&&!a.isTop&&v(u),S.scrollTop=0,O=!0,a.isTop=!0),O&&a.cancelScroll(u)},a.onWheel=function(u){a.handleEventDelta(u,u.deltaY)},a.onTouchStart=function(u){a.touchStart=u.changedTouches[0].clientY},a.onTouchMove=function(u){var l=a.touchStart-u.changedTouches[0].clientY;a.handleEventDelta(u,l)},a.getScrollTarget=function(u){a.scrollTarget=u},a}return su(t,[{key:"componentDidMount",value:function(){this.startListening(this.scrollTarget)}},{key:"componentWillUnmount",value:function(){this.stopListening(this.scrollTarget)}},{key:"startListening",value:function(r){!r||(typeof r.addEventListener=="function"&&r.addEventListener("wheel",this.onWheel,!1),typeof r.addEventListener=="function"&&r.addEventListener("touchstart",this.onTouchStart,!1),typeof r.addEventListener=="function"&&r.addEventListener("touchmove",this.onTouchMove,!1))}},{key:"stopListening",value:function(r){!r||(typeof r.removeEventListener=="function"&&r.removeEventListener("wheel",this.onWheel,!1),typeof r.removeEventListener=="function"&&r.removeEventListener("touchstart",this.onTouchStart,!1),typeof r.removeEventListener=="function"&&r.removeEventListener("touchmove",this.onTouchMove,!1))}},{key:"render",value:function(){return ba.default.createElement(KRe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(ba.Component);function spn(e){var n=e.isEnabled,t=n===void 0?!0:n,a=xu(e,["isEnabled"]);return t?ba.default.createElement(cpn,a):a.children}var fpn=function(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=t.isSearchable,r=t.isMulti,o=t.label,i=t.isDisabled,u=t.tabSelectsValue;switch(n){case"menu":return"Use Up and Down to choose options".concat(i?"":", press Enter to select the currently focused option",", press Escape to exit the menu").concat(u?", press Tab to select the option and exit the menu":"",".");case"input":return"".concat(o||"Select"," is focused ").concat(a?",type to refine list":"",", press Down to open the menu, ").concat(r?" press left to focus selected values":"");case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value"}},vpn=function(n,t){var a=t.value,r=t.isDisabled;if(!!a)switch(n){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(a,", deselected.");case"select-option":return r?"option ".concat(a," is disabled. Select another option."):"option ".concat(a,", selected.")}},ppn=function(n){var t=n.focusedValue,a=n.getOptionLabel,r=n.selectValue;return"value ".concat(a(t)," focused, ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},mpn=function(n){var t=n.focusedOption,a=n.getOptionLabel,r=n.options;return"option ".concat(a(t)," focused").concat(t.isDisabled?" disabled":"",", ").concat(r.indexOf(t)+1," of ").concat(r.length,".")},dpn=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},_pn=function(n){return n.label},hpn=function(n){return n.label},gpn=function(n){return n.value},lwe=function(n){return!!n.isDisabled};var Dpn={clearIndicator:ERe,container:hRe,control:FRe,dropdownIndicator:SRe,group:GRe,groupHeading:ARe,indicatorsContainer:DRe,indicatorSeparator:CRe,input:LRe,loadingIndicator:IRe,loadingMessage:sRe,menu:oRe,menuList:uRe,menuPortal:pRe,multiValue:NRe,multiValueLabel:PRe,multiValueRemove:ORe,noOptionsMessage:cRe,option:HRe,placeholder:BRe,singleValue:JRe,valueContainer:gRe};var ypn={primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},bpn=4,cwe=4,Rpn=38,wpn=cwe*2,Spn={baseUnit:cwe,controlHeight:Rpn,menuGutter:wpn},SJ={borderRadius:bpn,colors:ypn,spacing:Spn};function swe(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);n&&(a=a.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,a)}return t}function XR(e){for(var n=1;n1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=r.props,v=f.closeMenuOnSelect,p=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!p,r.onMenuClose()),r.clearFocusValueOnUpdate=!0,r.onChange(l,{action:c,option:s})},r.selectOption=function(l){var c=r.props,s=c.blurInputOnSelect,f=c.isMulti,v=r.state.selectValue;if(f)if(r.isOptionSelected(l,v)){var p=r.getOptionValue(l);r.setValue(v.filter(function(d){return r.getOptionValue(d)!==p}),"deselect-option",l),r.announceAriaLiveSelection({event:"deselect-option",context:{value:r.getOptionLabel(l)}})}else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue([].concat(wDe(v),[l]),"select-option",l),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));else r.isOptionDisabled(l,v)?r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l),isDisabled:!0}}):(r.setValue(l,"select-option"),r.announceAriaLiveSelection({event:"select-option",context:{value:r.getOptionLabel(l)}}));s&&r.blurInput()},r.removeValue=function(l){var c=r.state.selectValue,s=r.getOptionValue(l),f=c.filter(function(v){return r.getOptionValue(v)!==s});r.onChange(f.length?f:null,{action:"remove-value",removedValue:l}),r.announceAriaLiveSelection({event:"remove-value",context:{value:l?r.getOptionLabel(l):""}}),r.focusInput()},r.clearValue=function(){r.onChange(null,{action:"clear"})},r.popValue=function(){var l=r.state.selectValue,c=l[l.length-1],s=l.slice(0,l.length-1);r.announceAriaLiveSelection({event:"pop-value",context:{value:c?r.getOptionLabel(c):""}}),r.onChange(s.length?s:null,{action:"pop-value",removedValue:c})},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var l=arguments.length,c=new Array(l),s=0;sp||v>p}},r.onTouchEnd=function(l){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(l.target)&&r.menuListRef&&!r.menuListRef.contains(l.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(l){r.userIsDragging||r.onControlMouseDown(l)},r.onClearIndicatorTouchEnd=function(l){r.userIsDragging||r.onClearIndicatorMouseDown(l)},r.onDropdownIndicatorTouchEnd=function(l){r.userIsDragging||r.onDropdownIndicatorMouseDown(l)},r.handleInputChange=function(l){var c=l.currentTarget.value;r.inputIsHiddenAfterUpdate=!1,r.onInputChange(c,{action:"input-change"}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(l){var c=r.props,s=c.isSearchable,f=c.isMulti;r.props.onFocus&&r.props.onFocus(l),r.inputIsHiddenAfterUpdate=!1,r.announceAriaLiveContext({event:"input",context:{isSearchable:s,isMulti:f}}),r.setState({isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(l){if(r.menuListRef&&r.menuListRef.contains(document.activeElement)){r.inputRef.focus();return}r.props.onBlur&&r.props.onBlur(l),r.onInputChange("",{action:"input-blur"}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1})},r.onOptionHover=function(l){r.blockOptionHover||r.state.focusedOption===l||r.setState({focusedOption:l})},r.shouldHideSelectedOptions=function(){var l=r.props,c=l.hideSelectedOptions,s=l.isMulti;return c===void 0?s:c},r.onKeyDown=function(l){var c=r.props,s=c.isMulti,f=c.backspaceRemovesValue,v=c.escapeClearsValue,p=c.inputValue,d=c.isClearable,y=c.isDisabled,h=c.menuIsOpen,g=c.onKeyDown,S=c.tabSelectsValue,M=c.openMenuOnFocus,P=r.state,O=P.focusedOption,T=P.focusedValue,k=P.selectValue;if(!y&&!(typeof g=="function"&&(g(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||p)return;r.focusValue("previous");break;case"ArrowRight":if(!s||p)return;r.focusValue("next");break;case"Delete":case"Backspace":if(p)return;if(T)r.removeValue(T);else{if(!f)return;s?r.popValue():d&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!h||!S||!O||M&&r.isOptionSelected(O,k))return;r.selectOption(O);break;case"Enter":if(l.keyCode===229)break;if(h){if(!O||r.isComposing)return;r.selectOption(O);break}return;case"Escape":h?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):d&&v&&r.clearValue();break;case" ":if(p)return;if(!h){r.openMenu("first");break}if(!O)return;r.selectOption(O);break;case"ArrowUp":h?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":h?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!h)return;r.focusOption("pageup");break;case"PageDown":if(!h)return;r.focusOption("pagedown");break;case"Home":if(!h)return;r.focusOption("first");break;case"End":if(!h)return;r.focusOption("last");break;default:return}l.preventDefault()}},r.buildMenuOptions=function(l,c){var s=l.inputValue,f=s===void 0?"":s,v=l.options,p=function(y,h){var g=r.isOptionDisabled(y,c),S=r.isOptionSelected(y,c),M=r.getOptionLabel(y),P=r.getOptionValue(y);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:M,value:P,data:y},f))){var O=g?void 0:function(){return r.onOptionHover(y)},T=g?void 0:function(){return r.selectOption(y)},k="".concat(r.getElementId("option"),"-").concat(h);return{innerProps:{id:k,onClick:T,onMouseMove:O,onMouseOver:O,tabIndex:-1},data:y,isDisabled:g,isSelected:S,key:k,label:M,type:"option",value:P}}};return v.reduce(function(d,y,h){if(y.options){r.hasGroups||(r.hasGroups=!0);var g=y.options,S=g.map(function(O,T){var k=p(O,"".concat(h,"-").concat(T));return k&&d.focusable.push(O),k}).filter(Boolean);if(S.length){var M="".concat(r.getElementId("group"),"-").concat(h);d.render.push({type:"group",key:M,data:y,options:S})}}else{var P=p(y,"".concat(h));P&&(d.render.push(P),d.focusable.push(y))}return d},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=(0,RJ.default)(r.cacheComponents,_Re).bind(RD(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++Tpn);var i=mJ(o);r.buildMenuOptions=(0,RJ.default)(r.buildMenuOptions,function(l,c){var s=l,f=rr(s,2),v=f[0],p=f[1],d=c,y=rr(d,2),h=y[0],g=y[1];return p===g&&v.inputValue===h.inputValue&&v.options===h.options}).bind(RD(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return su(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput()}},{key:"UNSAFE_componentWillReceiveProps",value:function(r){var o=this.props,i=o.options,u=o.value,l=o.menuIsOpen,c=o.inputValue;if(this.cacheComponents(r.components),r.value!==u||r.options!==i||r.menuIsOpen!==l||r.inputValue!==c){var s=mJ(r.value),f=r.menuIsOpen?this.buildMenuOptions(r,s):{render:[],focusable:[]},v=this.getNextFocusedValue(s),p=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:p,focusedValue:v})}this.inputIsHiddenAfterUpdate!=null&&(this.setState({inputIsHidden:this.inputIsHiddenAfterUpdate}),delete this.inputIsHiddenAfterUpdate)}},{key:"componentDidUpdate",value:function(r){var o=this.props,i=o.isDisabled,u=o.menuIsOpen,l=this.state.isFocused;(l&&!i&&r.isDisabled||l&&u&&!r.menuIsOpen)&&this.focusInput(),l&&i&&!r.isDisabled&&this.setState({isFocused:!1},this.onMenuClose),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(eRe(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){var r=this.props,o=r.isSearchable,i=r.isMulti;this.announceAriaLiveContext({event:"input",context:{isSearchable:o,isMulti:i}}),this.onInputChange("",{action:"menu-close"}),this.props.onMenuClose()}},{key:"onInputChange",value:function(r,o){this.props.onInputChange(r,o)}},{key:"focusInput",value:function(){!this.inputRef||this.inputRef.focus()}},{key:"blurInput",value:function(){!this.inputRef||this.inputRef.blur()}},{key:"openMenu",value:function(r){var o=this,i=this.state,u=i.selectValue,l=i.isFocused,c=this.buildMenuOptions(this.props,u),s=this.props,f=s.isMulti,v=s.tabSelectsValue,p=r==="first"?0:c.focusable.length-1;if(!f){var d=c.focusable.indexOf(u[0]);d>-1&&(p=d)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[p]},function(){o.onMenuOpen(),o.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:v}})})}},{key:"focusValue",value:function(r){var o=this.props,i=o.isMulti,u=o.isSearchable,l=this.state,c=l.selectValue,s=l.focusedValue;if(!!i){this.setState({focusedOption:null});var f=c.indexOf(s);s||(f=-1,this.announceAriaLiveContext({event:"value"}));var v=c.length-1,p=-1;if(!!c.length){switch(r){case"previous":f===0?p=0:f===-1?p=v:p=f-1;break;case"next":f>-1&&f0&&arguments[0]!==void 0?arguments[0]:"first",o=this.props,i=o.pageSize,u=o.tabSelectsValue,l=this.state,c=l.focusedOption,s=l.menuOptions,f=s.focusable;if(!!f.length){var v=0,p=f.indexOf(c);c||(p=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),r==="up"?v=p>0?p-1:f.length-1:r==="down"?v=(p+1)%f.length:r==="pageup"?(v=p-i,v<0&&(v=0)):r==="pagedown"?(v=p+i,v>f.length-1&&(v=f.length-1)):r==="last"&&(v=f.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:f[v],focusedValue:null}),this.announceAriaLiveContext({event:"menu",context:{isDisabled:lwe(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(SJ):XR(XR({},SJ),this.props.theme):SJ}},{key:"getCommonProps",value:function(){var r=this.clearValue,o=this.cx,i=this.getStyles,u=this.getValue,l=this.setValue,c=this.selectOption,s=this.props,f=s.isMulti,v=s.isRtl,p=s.options,d=this.hasValue();return{cx:o,clearValue:r,getStyles:i,getValue:u,hasValue:d,isMulti:f,isRtl:v,options:p,selectOption:c,setValue:l,selectProps:s,theme:this.getTheme()}}},{key:"getNextFocusedValue",value:function(r){if(this.clearFocusValueOnUpdate)return this.clearFocusValueOnUpdate=!1,null;var o=this.state,i=o.focusedValue,u=o.selectValue,l=u.indexOf(i);if(l>-1){var c=r.indexOf(i);if(c>-1)return i;if(l-1?o:r[0]}},{key:"hasValue",value:function(){var r=this.state.selectValue;return r.length>0}},{key:"hasOptions",value:function(){return!!this.state.menuOptions.render.length}},{key:"countOptions",value:function(){return this.state.menuOptions.focusable.length}},{key:"isClearable",value:function(){var r=this.props,o=r.isClearable,i=r.isMulti;return o===void 0?i:o}},{key:"isOptionDisabled",value:function(r,o){return typeof this.props.isOptionDisabled=="function"?this.props.isOptionDisabled(r,o):!1}},{key:"isOptionSelected",value:function(r,o){var i=this;if(o.indexOf(r)>-1)return!0;if(typeof this.props.isOptionSelected=="function")return this.props.isOptionSelected(r,o);var u=this.getOptionValue(r);return o.some(function(l){return i.getOptionValue(l)===u})}},{key:"filterOption",value:function(r,o){return this.props.filterOption?this.props.filterOption(r,o):!0}},{key:"formatOptionLabel",value:function(r,o){if(typeof this.props.formatOptionLabel=="function"){var i=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(r,{context:o,inputValue:i,selectValue:u})}else return this.getOptionLabel(r)}},{key:"formatGroupLabel",value:function(r){return this.props.formatGroupLabel(r)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"constructAriaLiveMessage",value:function(){var r=this.state,o=r.ariaLiveContext,i=r.selectValue,u=r.focusedValue,l=r.focusedOption,c=this.props,s=c.options,f=c.menuIsOpen,v=c.inputValue,p=c.screenReaderStatus,d=u?ppn({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",y=l&&f?mpn({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",h=dpn({inputValue:v,screenReaderMessage:p({count:this.countOptions()})});return"".concat(d," ").concat(y," ").concat(h," ").concat(o)}},{key:"renderInput",value:function(){var r=this.props,o=r.isDisabled,i=r.isSearchable,u=r.inputId,l=r.inputValue,c=r.tabIndex,s=r.form,f=this.components.Input,v=this.state.inputIsHidden,p=u||this.getElementId("input"),d={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return ba.default.createElement(Z0n,ht({id:p,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:pJ,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},d));var y=this.commonProps,h=y.cx,g=y.theme,S=y.selectProps;return ba.default.createElement(f,ht({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:h,getStyles:this.getStyles,id:p,innerRef:this.getInputRef,isDisabled:o,isHidden:v,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,selectProps:S,spellCheck:"false",tabIndex:c,form:s,theme:g,type:"text",value:l},d))}},{key:"renderPlaceholderOrValue",value:function(){var r=this,o=this.components,i=o.MultiValue,u=o.MultiValueContainer,l=o.MultiValueLabel,c=o.MultiValueRemove,s=o.SingleValue,f=o.Placeholder,v=this.commonProps,p=this.props,d=p.controlShouldRenderValue,y=p.isDisabled,h=p.isMulti,g=p.inputValue,S=p.placeholder,M=this.state,P=M.selectValue,O=M.focusedValue,T=M.isFocused;if(!this.hasValue()||!d)return g?null:ba.default.createElement(f,ht({},v,{key:"placeholder",isDisabled:y,isFocused:T}),S);if(h){var k=P.map(function(oe,Te){var we=oe===O;return ba.default.createElement(i,ht({},v,{components:{Container:u,Label:l,Remove:c},isFocused:we,isDisabled:y,key:"".concat(r.getOptionValue(oe)).concat(Te),index:Te,removeProps:{onClick:function(){return r.removeValue(oe)},onTouchEnd:function(){return r.removeValue(oe)},onMouseDown:function(Se){Se.preventDefault(),Se.stopPropagation()}},data:oe}),r.formatOptionLabel(oe,"value"))});return k}if(g)return null;var K=P[0];return ba.default.createElement(s,ht({},v,{data:K,isDisabled:y}),this.formatOptionLabel(K,"value"))}},{key:"renderClearIndicator",value:function(){var r=this.components.ClearIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!this.isClearable()||!r||u||!this.hasValue()||l)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return ba.default.createElement(r,ht({},o,{innerProps:s,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var r=this.components.LoadingIndicator,o=this.commonProps,i=this.props,u=i.isDisabled,l=i.isLoading,c=this.state.isFocused;if(!r||!l)return null;var s={"aria-hidden":"true"};return ba.default.createElement(r,ht({},o,{innerProps:s,isDisabled:u,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var r=this.components,o=r.DropdownIndicator,i=r.IndicatorSeparator;if(!o||!i)return null;var u=this.commonProps,l=this.props.isDisabled,c=this.state.isFocused;return ba.default.createElement(i,ht({},u,{isDisabled:l,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var r=this.components.DropdownIndicator;if(!r)return null;var o=this.commonProps,i=this.props.isDisabled,u=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return ba.default.createElement(r,ht({},o,{innerProps:l,isDisabled:i,isFocused:u}))}},{key:"renderMenu",value:function(){var r=this,o=this.components,i=o.Group,u=o.GroupHeading,l=o.Menu,c=o.MenuList,s=o.MenuPortal,f=o.LoadingMessage,v=o.NoOptionsMessage,p=o.Option,d=this.commonProps,y=this.state,h=y.focusedOption,g=y.menuOptions,S=this.props,M=S.captureMenuScroll,P=S.inputValue,O=S.isLoading,T=S.loadingMessage,k=S.minMenuHeight,K=S.maxMenuHeight,oe=S.menuIsOpen,Te=S.menuPlacement,we=S.menuPosition,xe=S.menuPortalTarget,Se=S.menuShouldBlockScroll,Ce=S.menuShouldScrollIntoView,Je=S.noOptionsMessage,ue=S.onMenuScrollToTop,Tn=S.onMenuScrollToBottom;if(!oe)return null;var on=function(he){var U=h===he.data;return he.innerRef=U?r.getFocusedOptionRef:void 0,ba.default.createElement(p,ht({},d,he,{isFocused:U}),r.formatOptionLabel(he.data,"menu"))},Et;if(this.hasOptions())Et=g.render.map(function(fe){if(fe.type==="group"){var he=fe.type,U=xu(fe,["type"]),pe="".concat(fe.key,"-heading");return ba.default.createElement(i,ht({},d,U,{Heading:u,headingProps:{id:pe,data:fe.data},label:r.formatGroupLabel(fe.data)}),fe.options.map(function(V){return on(V)}))}else if(fe.type==="option")return on(fe)});else if(O){var mt=T({inputValue:P});if(mt===null)return null;Et=ba.default.createElement(f,d,mt)}else{var z=Je({inputValue:P});if(z===null)return null;Et=ba.default.createElement(v,d,z)}var x={minMenuHeight:k,maxMenuHeight:K,menuPlacement:Te,menuPosition:we,menuShouldScrollIntoView:Ce},Y=ba.default.createElement(hJ,ht({},d,x),function(fe){var he=fe.ref,U=fe.placerProps,pe=U.placement,V=U.maxHeight;return ba.default.createElement(l,ht({},d,x,{innerRef:he,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:O,placement:pe}),ba.default.createElement(spn,{isEnabled:M,onTopArrive:ue,onBottomArrive:Tn},ba.default.createElement(ipn,{isEnabled:Se},ba.default.createElement(c,ht({},d,{innerRef:r.getMenuListRef,isLoading:O,maxHeight:V}),Et))))});return xe||we==="fixed"?ba.default.createElement(s,ht({},d,{appendTo:xe,controlElement:this.controlRef,menuPlacement:Te,menuPosition:we}),Y):Y}},{key:"renderFormField",value:function(){var r=this,o=this.props,i=o.delimiter,u=o.isDisabled,l=o.isMulti,c=o.name,s=this.state.selectValue;if(!(!c||u))if(l)if(i){var f=s.map(function(d){return r.getOptionValue(d)}).join(i);return ba.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(d,y){return ba.default.createElement("input",{key:"i-".concat(y),name:c,type:"hidden",value:r.getOptionValue(d)})}):ba.default.createElement("input",{name:c,type:"hidden"});return ba.default.createElement("div",null,v)}else{var p=s[0]?this.getOptionValue(s[0]):"";return ba.default.createElement("input",{name:c,type:"hidden",value:p})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?ba.default.createElement(X0n,{"aria-live":"polite"},ba.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),ba.default.createElement("span",{id:"aria-context"},"\xA0",this.constructAriaLiveMessage())):null}},{key:"render",value:function(){var r=this.components,o=r.Control,i=r.IndicatorsContainer,u=r.SelectContainer,l=r.ValueContainer,c=this.props,s=c.className,f=c.id,v=c.isDisabled,p=c.menuIsOpen,d=this.state.isFocused,y=this.commonProps=this.getCommonProps();return ba.default.createElement(u,ht({},y,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:d}),this.renderLiveRegion(),ba.default.createElement(o,ht({},y,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:d,menuIsOpen:p}),ba.default.createElement(l,ht({},y,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),ba.default.createElement(i,ht({},y,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(ba.Component);EJ.defaultProps=Ipn;var ier=ya(V0());var ler=ya($D());var z7=ya(Tl());function Fpn(e){var n=Mpn();return function(){var a=xo(e),r;if(n){var o=xo(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return ds(this,r)}}function Mpn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}var Gpn={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},fwe=function(n){var t,a;return a=t=function(r){fu(i,r);var o=Fpn(i);function i(){var u;cu(this,i);for(var l=arguments.length,c=new Array(l),s=0;s1?s-1:0),v=1;vt=>{var u;let a=(l,c)=>Object.assign({},l,c),r=l=>c=>a(c,l),o=!phn&&typeof document!="undefined",i=(u=t.hideDropdownIndicator)!=null?u:!1;return bt.createElement(e,mi(Ha({},t),{isMulti:n,components:a({MenuList:uhn},i?{DropdownIndicator:null}:{}),menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:VSe(t.options),value:VSe(t.value),getOptionLabel:YJ(t.getOptionLabel,l=>l.label),getOptionValue:YJ(t.getOptionValue,l=>l.value),formatOptionLabel:YJ(t.formatOptionLabel),loadOptions:t.loadOptions&&((...l)=>t.loadOptions(...l).then(iw)),onChange:(l,{action:c})=>{switch(c){case"select-option":l.__isNew__?t.onCreate&&t.onCreate(l.label):t.onSelect&&t.onSelect(iw(l));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(iw(l||[]));break;case"create-option":t.onCreate&&t.onCreate(l instanceof Array?l[l.length-1].label:l.label);break}},isOptionDisabled:t.isOptionDisabled&&(l=>!l.__isNew__&&t.isOptionDisabled(iw(l))),styles:{indicatorsContainer:r(t.indicatorsContainerStyle),control:r(t.controlStyle),menuList:r(t.menuListStyle),placeholder:r({color:"#B1C2D9"}),menu:r(a({zIndex:1e3},t.menuStyle)),menuPortal:r({zIndex:1e4}),option:(l,c)=>a(l,c.isFocused?t.focusedOptionStyle:{})}}))},uhn=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[bt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:iw(e.selectProps.options)})]),bt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},bt.createElement(WSe.default,{length:n.length,itemRenderer:(a,r)=>bt.createElement("div",{key:r},n[a])}),...t)};V7.displayName="ReactSelect";u5.default.displayName="ReactSelectCreatable";l5.default.displayName="ReactSelectAsync";QJ.default.displayName="ReactSelectAsyncCreatable";var $Se=ay({baseClass:V7,isMulti:!1}),lhn=ay({baseClass:u5.default,isMulti:!1}),chn=ay({baseClass:u5.default,isMulti:!0}),shn=ay({baseClass:V7,isMulti:!0}),zSe=ay({baseClass:l5.default,isMulti:!1}),fhn=ay({baseClass:QJ.default,isMulti:!1}),vhn=ay({baseClass:l5.default,isMulti:!0}),phn=0;var VSe=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},iw=e=>{let n=t=>t&&typeof t=="object"&&"__wrap"in t;return e instanceof Array?n(e[0])?e.map(t=>t.__wrap):e:n(e)?e.__wrap:e},YJ=(e,n)=>e&&(t=>t.__isNew__?n(t):e(iw(t)));var QSe=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var YSe=function(e){return QSe(function(n){return function(t){return Jee(nr(t)(n))(e)}})};var vF=ko(),mhn=St(Qn()(C({reflectSymbol:function(){return"inputValue"}})(ie)(de)));var dhn=j(Yt),_hn=j(B);var XSe=lc(),ZSe=Ma();var hhn=function(e){return e};var Ou=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ghn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var KSe=function(e){return function(n){if(e instanceof Ou){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t["aria-label"]=q1(e.value0),t}if(e instanceof ghn){var r={};for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);return r["aria-labelledby"]=q1(e.value0),r}throw new Error("Failed pattern match at Component.ReactSelect (line 213, column 3 - line 215, column 66): "+[e.constructor.name])}},c5=function(e){return vF(function(n){return We(mhn(n))(e)})};var s5=function(e){return function(n){return YSe(dhn(Be)(e(n)))()}};var eEe=function(e){return function(n){return Ht(e({inputValue:te(n.inputValue),options:n.options}))}};var nEe=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=Wre(function(a){return Ht(_hn(hhn)(a))})(e.value),n},Dhn=vF;var tEe=vF;var yhn=vF;var aEe=vF;var Rf=function(e){return function(){var n=XSe($Se),t=KSe(e);return function(a){return n(Dhn(nEe(tEe(t(aEe(ZSe(a)))))))}}},f5=function(e){return function(){var n=XSe(zSe),t=KSe(e);return function(a){return n(yhn(nEe(tEe(t(aEe(ZSe(a)))))))}}};var rEe="top";var oEe=ho($r(Wo)),bhn=ee(Yt),iEe=Z(Ut),Rhn=uu(zn(Qn()(C({reflectSymbol:function(){return"category"}})(ie)(C({reflectSymbol:function(){return"id"}})(FC)(C({reflectSymbol:function(){return"name"}})(ie)(de)))))),whn=ee(me),Shn=ee(B),Ehn=uu(ie),uEe=oEe("profile_search_extracurricular_activities_path")(function(e){return function(n){return bhn(iEe(e({search_term:n}))(eo(Rhn("Network.ECSelector.API"))))(function(t){return hr(whn(t)(function(a){return Shn(sb(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),lEe=oEe("profile_generate_ec_description_path")(function(e){return function(n){return iEe(e(n))(eo(Ehn("Profile.ECSelector.API.generateEcDescription response")))}});var Chn=ne(Ye),Ihn=aa(Ae)(ft),cEe=function(e){var n=cv(e);return function(){return function(){return n("text")}}};var XJ=function(){return function(){return r_("path")}},Thn=XJ()();var uw=function(e){var n=function(u){return Chn(Ps(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+wj(u),y:e.center.y-Ej(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>c0;return u?"1":"0"}();return Thn("")({d:Ihn([" M ",t(e.outerRadius)(o)," A ",n(e.outerRadius)," ",n(e.outerRadius)," 0 ",i," 0 ",t(e.outerRadius)(r)," L ",t(e.innerRadius)(r)," A ",n(e.innerRadius)," ",n(e.innerRadius)," 0 ",i," 1 ",t(e.innerRadius)(o)," Z"]),fill:e.fill,stroke:e.stroke.color,strokeWidth:e.stroke.width})},sEe=function(){return function(){return r_("circle")}};var fEe=Rn(bn),Av=yn(fEe)(_n(dn)),vEe=gn(hn),xv=Dn(vEe),pEe=En(Sn),Lv=wn(pEe),Fhn=XJ()(),Xm=ne(eu),Mhn=Si(ae)()(),pF=J(L),Ghn=Ks(W)()(),Ahn=ee(me),xhn=cEe(L)()(),Lhn=ne(Ye),jhn=jn(ae)()(),Nhn=xn(pt),Phn=oa(L),mF=J(W),lw=J(ae),mEe=ve(Pt(of)),Ohn=sv(W),khn=j(me),Uhn=kl(L),ZJ=function(){function e(){}return e.value=new e,e}(),KJ=function(){function e(){}return e.value=new e,e}(),dEe=function(e){return function(n){if(n instanceof KJ)return be(e)(cue(e));if(n instanceof ZJ)return be(e)(sue(e));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 23, column 1 - line 23, column 46): "+[e.constructor.name,n.constructor.name])}},_Ee=function(){return 100/ut(ha(pn(D_)(Av(Av(Av(Av(Av(Av(Av(Av(Av(Av(Av(fEe)(vEe))(xv))(xv))(xv))(xv))(xv))(xv))(xv))(xv))(xv))(xv))(Lv(Lv(Lv(Lv(Lv(Lv(Lv(Lv(Lv(Lv(Lv(pEe))))))))))))(xv)))}(),Hhn=function(e){var n=_c(e),t=eue(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return Fhn("")({d:Gr(" ")(["M",Xm(-s),Xm(l),"L",Xm(s),Xm(l),"L",Xm(c),Xm(u),"L",Xm(-c),Xm(u),"Z"]),fill:i})}}};return Mhn({overlay:le([pF("")("Use the arrows to choose"),pF("")("higher or lower levels")]),trigger:P_,placement:vf})(Ghn("")({viewBox:"-50 0 100 100",height:"100",width:"100"})([a(0)(25)("#6EF06B"),a(25)(50)("#B7EAB6"),a(50)(75)("#DEEDDE"),a(75)(100)("#EBEBEB"),a(ut(t)*_Ee)(ut(t+1|0)*_Ee)("#64A063"),le(Ahn(VM(1)(4))(function(r){return xhn("")({x:"0",y:Xm(25*ut(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Lhn(r))}))]))},hEe=function(e){return function(n){var t=_c(e),a=gv(e),r=function(o){var i=function(){if(o.msg instanceof ZJ)return"up";if(o.msg instanceof KJ)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 68, column 17 - line 70, column 33): "+[o.msg.constructor.name])}();return jhn("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))(Ue)({type:"button",onClick:Nhn(n)(o.msg),disabled:o.disabled})(Phn("x-large fe fe-arrow-"+i)(""))};return le([mF("d-flex justify-content-between align-items-center")([pF("font-weight-bold fw-bold")("Tier "+fb(t)),mF("d-flex align-items-center")([lw("mr-2")(r({msg:ZJ.value,disabled:mEe(new _(t))(aue(a))})),lw("")(r({msg:KJ.value,disabled:mEe(new _(t))(U4(a))}))])]),lw("card shadow-none")(lw("card-body")(mF("row align-items-start")([lw("col-12 col-md-7")(We(tue(a)(t))(function(o){return le([X("I did the equivalent of ANY of the following:"),Ohn("")(khn(Uhn(""))(o))])})),lw("col-12 col-md-5")(mF("row align-items-center")([mF("col-7 d-flex flex-column align-items-center")([pF("mb-2 small")("Exceptional"),Hhn(e),pF("mt-2 small")("Standard")])]))])))])}};var v5=q(_t),Bhn=Ma(),Jhn=Hn(An)(qt),qhn=qr(Zn),Whn=ee(Yt),$hn=Jc(_0),zhn=jn(ae)()(),gEe=J(L),DEe=xn(pt),eq=function(){function e(){}return e.value=new e,e}(),yEe=function(){function e(){}return e.value=new e,e}(),bEe=function(){function e(){}return e.value=new e,e}(),nq=function(){function e(){}return e.value=new e,e}(),REe=function(){function e(){}return e.value=new e,e}(),wEe=function(){function e(){}return e.value=new e,e}(),SEe=function(){var e=function(n){var t=v5(eq.value),a=Bhn(n),r=function(i){return function(u){if(u instanceof nq)return Jhn(qhn(Whn($hn(a.onClick))(nr(Ze(wEe.value))(Ze(REe.value)))))(function(){return v5(yEe.value)});if(u instanceof REe)return v5(eq.value);if(u instanceof wEe)return v5(bEe.value);throw new Error("Failed pattern match at Utils.EffectButton (line 69, column 9 - line 71, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return zhn(kn(a.buttonClass)("btn btn-primary px-4"))(Ue)({onClick:s,disabled:kn(a.disabled)(!1)})(kn(a.buttonContent)(X("Submit")))},c=kn(a.render)({idle:l,inFlight:function(s){return gEe(kn(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return le([l(s),gEe("invalid-feedback d-block")(kn(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof eq)return c.idle(DEe(u)(nq.value));if(i instanceof yEe)return c.inFlight(Re);if(i instanceof bEe)return c.erroredOut(DEe(u)(nq.value));throw new Error("Failed pattern match at Utils.EffectButton (line 49, column 11 - line 52, column 65): "+[i.constructor.name])}};return{init:t,view:o,update:r}};return zu("EffectButton")(e)};var EEe=function(){function e(){}return e.value=new e,e}(),CEe=function(){function e(){}return e.value=new e,e}(),cw=function(){function e(){}return e.value=new e,e}(),p5=function(){function e(){}return e.value=new e,e}(),IEe=function(){function e(){}return e.value=new e,e}(),TEe=function(){function e(){}return e.value=new e,e}(),sw=function(){function e(){}return e.value=new e,e}(),FEe=function(e){if(e instanceof EEe)return"avatar-xxs";if(e instanceof CEe)return"avatar-xs";if(e instanceof cw)return"avatar-sm";if(e instanceof p5)return"";if(e instanceof IEe)return"avatar-lg";if(e instanceof TEe)return"avatar-xl";if(e instanceof sw)return"avatar-xxl";throw new Error("Failed pattern match at Dashkit.Avatar.Size (line 16, column 13 - line 23, column 34): "+[e.constructor.name])};var m5=ve(Pt(sa)),Vhn=Ma(),Qhn=J(ae),Yhn=ps()(),tq=rn(L),aq=Xn(ae)()(),Xhn=oa(L),Zhn=Jo(),Khn=qs(An)(),egn=Bn(Zn),ngn=jn(W)()(),tgn=pa(Tu),agn=Ev(),rgn=ct(ar),ku=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ry=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MEe=function(){function e(){}return e.value=new e,e}(),ogn=function(){function e(){}return e.value=new e,e}(),ign={eq:function(e){return function(n){return e instanceof ku&&n instanceof ku?e.value0.url===n.value0.url:e instanceof ry&&n instanceof ry?m5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&m5(e.value0.textColorClass)(n.value0.textColorClass):e instanceof rq&&n instanceof rq?m5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof oq&&n instanceof oq?m5(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},ugn=Gm(ign),rp=function(){return function(e){var n=Vhn(e),t=function(){var r=kn(n.shape)(MEe.value);if(r instanceof MEe)return"rounded-circle";if(r instanceof ogn)return"rounded";throw new Error("Failed pattern match at Dashkit.Avatar (line 119, column 9 - line 121, column 37): "+[r.constructor.name])}(),a=function(r){return Qhn("avatar "+(FEe(kn(n.size)(p5.value))+(" "+kn(n.className)(""))))(function(){if(r instanceof ku)return Yhn("avatar-img img-fluid "+(t+(" "+kn(n.borderClassName)(""))))({src:r.value0.url,alt:kn(n.ariaLabel)("Avatar image")});if(r instanceof ry)return tq("avatar-title font-weight-bold fw-bold "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+(be("")(r.value0.textColorClass)+(" "+kn(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof rq)return aq("avatar-title "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+kn(n.borderClassName)(""))))))({"aria-label":kn(n.ariaLabel)("Avatar icon")})(Xhn(r.value0.iconClass)(""));if(r instanceof oq)return aq("avatar-title "+(t+(" "+(be("")(r.value0.backgroundColorClass)+(" "+kn(n.borderClassName)(""))))))({"aria-label":kn(n.ariaLabel)("Avatar icon")})(tq("material-symbol")(r.value0.name));throw new Error("Failed pattern match at Dashkit.Avatar (line 78, column 11 - line 116, column 46): "+[r.constructor.name])}())};return au(Zhn(ra(n.source))(function(r){return Khn(ugn(n.source)(function(o){return egn(r.value1(o))}))(function(){return Bo(le([a(r.value0),function(){return r.value0 instanceof ku?We(xr(n.hideAvatar))(function(o){return aq("hq-only-menu-item")({style:mn({marginTop:"-50px",marginLeft:"200px"})})(ngn("btn btn-sm btn-warning mb-4 t--hide-avatar")(Ue)({onClick:tgn(function(i){return function(){return agn(i)(),rgn(r.value1)(o)()}})})([tq("badge badge-info bg-info text-dark mr-2")("HQ"),X("Hide")]))}):cn}()]))})}))}};var lgn=rp();var cgn=function(e){return lgn({source:new ku({url:R_("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},fw=function(){return cgn({size:cw.value})}();var GEe=function(){var e=[lC.value,new am(" "),p4.value,new am(", "),d4.value,new am(":"),h4.value,new am(" "),_4.value],n=cC(Ad(Ae)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var Zm=J(W),sgn=rn(L),fgn=Lu(L),vgn=yu(Ge),iq=Rp(B),AEe=j(B),pgn=ee(B),mgn=ct(Ge),dgn=Ed(Ae)(Qt),uq=Hn(An)(Ge),lq=co(Oo),cq=Z(Ge),sq=Fu(L),xEe=pc()(),dF=xn(mo),oy=J(ae),LEe=jn(L)()(),fq=xn(pt),jEe=QG(L)()(),NEe=ne(cb),_gn=qe(da),hgn=j(me),ggn=ii()(),PEe=$1(),Dgn=zG(W)()(),OEe=ee(Yt),ygn=Jc(_0),bgn=hg(sa),Rgn=ee(me),wgn=Xn(L)()(),Sgn=ne(uue),Egn=On(Ja),kEe=J(L),Cgn=SEe(),Ign=Z(Ut),Tgn=Bn(Zn),iy=function(){function e(){}return e.value=new e,e}(),d5=function(){function e(){}return e.value=new e,e}(),uy=function(){function e(){}return e.value=new e,e}(),UEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),HEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),vq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),BEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qEe=function(){function e(){}return e.value=new e,e}(),WEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$Ee=function(){function e(){}return e.value=new e,e}(),zEe=function(){function e(){}return e.value=new e,e}(),VEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QEe={eq:function(e){return function(n){return e instanceof iy&&n instanceof iy||e instanceof d5&&n instanceof d5||e instanceof uy&&n instanceof uy}}},Fgn=function(e){return e.tierSelector instanceof _?E.value:new _({errorMessage:"Please select a tier."})},Mgn=function(e){if(e.name==="")return new _({errorMessage:"Please enter an activity name."});if(Fe)return E.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 321, column 1 - line 321, column 32): "+[e.constructor.name])},Ggn=function(e){if(dr(e.category))return new _({errorMessage:"Please select a category."});if(Fe)return E.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 326, column 1 - line 326, column 36): "+[e.constructor.name])},YEe=function(e){return function(n){return le([Zm("")([sgn("")("Level of achievement"),fgn("ml-3")(` Choose a description that ROUGHLY aligns with what you do. Use the arrows to choose higher or lower tiers. If you\u2019re torn between two tier descriptions, pick the one that\u2019s higher on the pyramid. `)]),hEe(n)(function(t){return e(BEe.create(t))})])}},XEe=function(e){return vgn(iq(iq(iq(AEe(MC("")(e))(U4(e)))(E.value))(E.value))(E.value))},ZEe=function(e){return function(n){if(n instanceof BEe)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,description:e.description,compactView:e.compactView,view:e.view,tierSelector:pgn(e.tierSelector)(function(t){return dEe(t)(n.value0)})};if(n instanceof UEe)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:e.view,name:n.value0};if(n instanceof HEe)return{isNew:e.isNew,name:e.name,id:e.id,canonicalId:e.canonicalId,description:e.description,compactView:e.compactView,view:e.view,category:n.value0,tierSelector:mgn(XEe)(n.value0)};if(n instanceof vq)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,compactView:e.compactView,view:e.view,description:n.value0};if(n instanceof JEe)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:n.value0.name,category:new _(n.value0.category),canonicalId:new _(n.value0.id),tierSelector:XEe(n.value0.category)};if(n instanceof qEe)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:E.value,canonicalId:E.value,tierSelector:E.value};if(n instanceof WEe)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:uy.value,name:n.value0.name};if(n instanceof $Ee)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:d5.value};if(n instanceof zEe)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:function(){if(e.canonicalId instanceof _)return iy.value;if(e.canonicalId instanceof E)return uy.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 305, column 9 - line 307, column 30): "+[e.canonicalId.constructor.name])}()};if(n instanceof VEe)return{isNew:e.isNew,name:e.name,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,compactView:e.compactView,description:n.value0,view:function(){if(e.canonicalId instanceof _)return iy.value;if(e.canonicalId instanceof E)return uy.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 313, column 9 - line 315, column 30): "+[e.canonicalId.constructor.name])}()};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 279, column 1 - line 279, column 36): "+[e.constructor.name,n.constructor.name])}},_F=function(e){return dgn(DDe(e))([Mgn,Ggn,Fgn])},_5=function(e){return function(n){if(n instanceof _){var t=be("")(AC(n.value0)),a=gv(n.value0);return{isNew:!1,name:y_(n.value0),category:new _(a),tierSelector:function(){return a instanceof O0?E.value:new _(n.value0)}(),id:H4(n.value0),canonicalId:B4(n.value0),description:t,compactView:e.compactView,view:function(){var r=Dt(B4(n.value0));return r?iy.value:uy.value}()}}if(n instanceof E)return{isNew:!0,name:"",category:E.value,tierSelector:E.value,id:E.value,canonicalId:E.value,description:"",compactView:e.compactView,view:iy.value};throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 72, column 1 - line 72, column 73): "+[e.constructor.name,n.constructor.name])}},h5=function(e){return uq(lq(_F(e)))(function(){return cq(e.tierSelector)(function(n){return cq(e.category)(function(t){return MC(e.name)(t)(_c(n))(e.id)(new _(e.description))(e.canonicalId)})})})},KEe="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",eCe=function(e){return function(n){return function(t){var a=le([sq("")("Description (optional)"),xEe("form-control mb-3 t--description")({placeholder:KEe,rows:2,maxLength:1e3,onChange:dF(t)(function(r){return vq.create(pf(r))}),value:n.description}),Zm("row")([oy("col-auto")(fw),sn(e.featureFlags.showGenerateEcDescription)(oy("col pl-0")(LEe("btn btn-outline-primary rounded-pill t--generate-description")(Ue)({onClick:fq(t)($Ee.value)})("Write description for me")))])]);return sn(!n.compactView)(a)}}},nCe=function(e){return function(n){return function(t){if(n.view instanceof uy){var a=function(u){return jEe("")({value:NEe(u)})(g_(u))},r=_gn([jEe("")({value:""})("Select category")])(hgn(a)(Wie));return le([Zm("row pb-4")([Zm("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([sq("font-weight-bold fw-bold")("Activity name *"),ggn("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:dF(t)(function(u){return UEe.create(mf(u))}),minLength:5,maxLength:50,required:!0,_data:PEe({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),Zm("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([sq("font-weight-bold fw-bold")("Category *"),Dgn("")({className:"form-control t--category",onChange:dF(t)(function(u){return HEe.create(sb(Dge(u)))}),value:ke("")(NEe)(n.category),_data:PEe({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),We(n.tierSelector)(YEe(t)),eCe(e)(n)(t)])}if(n.view instanceof iy){var o=function(u){return OEe(OEe(ygn(uEe(u)))(Bu))(be([]))},i=function(){var u=function(l){return Li(v1(l))};return eEe(function(l){return cq(l.inputValue)(function(c){return uq(lq(Br(c)>=3))(function(){return uq(lq(!bgn(u(c))(Rgn(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new _(wgn("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:fq(t)(new WEe({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return Zm("my-4 overflow-hidden ")([X("Activity name*"),f5(new Ou("Search for an activity"))()({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:s5(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return Sgn(function(l){return l.id}(u))},onSelect:dF(t)(JEe.create),useMenuPortal:!0,value:Egn(AEe(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(qEe.value),footerOption:i,menuPlacement:rEe,noOptionsMessage:c5(function(u){return X(function(){var l=Br(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),We(n.category)(function(u){return kEe("mt-2 text-muted t--ec-activity-category")("Category: "+g_(u))}),We(n.tierSelector)(function(){var u=oy("mt-4"),l=YEe(t);return function(c){return u(l(c))}}()),We(n.canonicalId)(function(u){return oy("mt-4")(eCe(e)(n)(t))})])}if(n.view instanceof d5)return Zm("my-4 overflow-hidden t--description-generator")([Zm("row")([oy("col-auto")(fw),kEe("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),xEe("form-control my-3 t--description")({placeholder:KEe,rows:5,maxLength:1e3,onChange:dF(t)(function(u){return vq.create(pf(u))}),value:n.description}),Zm("row")([oy("col-6")(LEe("btn btn-light btn-block")(Ue)({onClick:fq(t)(zEe.value)})("Cancel")),oy("col-6")(Cgn({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:X("Write description"),onClick:Ign(lEe({activity:n.name,category:ke("")(g_)(n.category),description:n.description}))(function(u){return Tgn(t(new VEe(u)))})}))])]);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 103, column 1 - line 103, column 78): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var Agn=Fm(),xgn=Kn(L),Lgn=J(W),tCe=J(ae),aCe=jn(L)()(),jgn=eD(qG(y1)),Ngn=Fi(B),Pgn=co(Oo),Ogn=Fa(lr(Qt)),kgn=xn(pt),pq=q(_t),rCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),g5=function(){function e(){}return e.value=new e,e}(),hF=function(){function e(){}return e.value=new e,e}(),mq=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Agn({onDismiss:t(hF.value),title:xgn("")(a+" activity"),size:LC.value,bodyClass:"t--ec-editor",body:le([nCe(e)(n)(function(r){return t(rCe.create(r))}),Ya(""),Lgn("row justify-content-between mt-n3")([tCe("col-12 col-md-3 mt-3")(aCe("btn btn-primary btn-block t--save-ec-activity")(Ue)({type:"button",onClick:jgn(t)(Ngn(Pgn(_F(n)))(g5.value)),disabled:Ogn(_F)(n)})("Save activity")),tCe("col-12 col-md-3 mt-3")(aCe("btn btn-outline-secondary btn-block")(Ue)({type:"button",onClick:kgn(t)(hF.value)})("Cancel"))])])})}}},dq=function(e){return function(n){if(n instanceof rCe)return pq(ZEe(e)(n.value0));if(n instanceof g5||n instanceof hF)return pq(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditModal (line 54, column 1 - line 54, column 69): "+[e.constructor.name,n.constructor.name])}};var Ugn=ve(TC),oCe=ve(Pt(AP)),iCe=ve(Pt(RC)),Hgn=ve(sa),uCe=ve(Pt(mr)),lCe=ve(Pt(TC)),cCe=ve(QEe),sCe=lr(Qt),fCe=Fa(sCe),Bgn=ct(Ge),Uu=q(_t),Jgn=n1(TC),vCe=qe(da),_q=Hn(An)(qt),pCe=qr(Zn),mCe=q(Xt),hq=Z(qt),dCe=qa(Ni(Yt)),Km=J(W),vw=Vn(L),_Ce=ne(Ye),qgn=Z(Zv),Wgn=q(Sp),wf=J(ae),$gn=jn(W)()(),zgn=rn(ae),Vgn=rn(L),Qgn=J(L),hCe=Zl(lr(sCe)),Ygn=ve(RC),Xgn=ve(of),Zgn=ii()(),Kgn=wv(),D5=jn(L)()(),gF=xn(pt),eDn=Xn(W)()(),nDn=$1(),tDn=Ga(L),aDn=Vn(W),rDn=Bn(Zn);var y5=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dq=function(){function e(){}return e.value=new e,e}(),b5=function(){function e(){}return e.value=new e,e}(),ly=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),cy=function(){function e(){}return e.value=new e,e}(),pw=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ch=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sh=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oDn={eq:function(e){return function(n){return e instanceof cy&&n instanceof cy?!0:e instanceof pw&&n instanceof pw?Ugn(e.value0.activity)(n.value0.activity):e instanceof ch&&n instanceof ch?e.value0.index===n.value0.index&&oCe(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&iCe(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&uCe(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&lCe(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&cCe(e.value0.state.view)(n.value0.state.view):e instanceof sh&&n instanceof sh?oCe(e.value0.canonicalId)(n.value0.canonicalId)&&iCe(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&uCe(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&lCe(e.value0.tierSelector)(n.value0.tierSelector)&&cCe(e.value0.view)(n.value0.view):!1}}},iDn=ve(oDn),uDn=function(e){return e.maxActivities-ha(e.activities)|0},gCe=function(e){if(e.editor instanceof cy||e.editor instanceof pw)return!1;if(e.editor instanceof sh||e.editor instanceof ch)return!0;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 352, column 15 - line 356, column 21): "+[e.editor.constructor.name])},lDn=function(e){return function(n){if(n instanceof y5&&fCe(gCe)(e)){var t=Bgn(nu(e.activities))(n.value0.index);if(n.value0.index instanceof _&&t instanceof _){var a=_5(e)(new _(t.value0));return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new ch({index:n.value0.index.value0,state:a})})}var a=_5(e)(E.value);return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new sh(a)})}if(n instanceof y5)return Uu(e);if(n instanceof gq&&fCe(gCe)(e))return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new pw({activity:n.value0.activity})});if(n instanceof gq)return Uu(e);if(n instanceof Dq)return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:cy.value});if(n instanceof b5){var r=function(l){return Uu({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:cy.value,activities:l(e.activities)})},o=function(l){return r(function(c){return be(c)(l(c))})};if(e.editor instanceof pw)return Uu({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:cy.value,activities:Jgn(e.editor.value0.activity)(e.activities),activitiesToDestroy:ri(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Uu(e)};if(e.editor instanceof sh){var s=h5(e.editor.value0);return s instanceof _?r(function(f){return vCe(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof ch){var i=h5(e.editor.value0.state);return i instanceof _?o(MS(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof ly&&n.value0 instanceof hF)return _q(pCe(mCe(Dq.value)))(function(){return Uu(e)});if(n instanceof ly&&n.value0 instanceof g5)return _q(pCe(mCe(b5.value)))(function(){return Uu(e)});if(n instanceof ly)return e.editor instanceof ch?hq(dCe(ly.create)(dq(e.editor.value0.state)(n.value0)))(function(u){return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new ch({index:e.editor.value0.index,state:u})})}):e.editor instanceof sh?hq(dCe(ly.create)(dq(e.editor.value0)(n.value0)))(function(u){return Uu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new sh(u)})}):Uu(e);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 292, column 1 - line 292, column 55): "+[e.constructor.name,n.constructor.name])}},cDn=function(e){return Km(function(){return e.compactView?"container-xs":""}())([vw("font-weight-bold fw-bold")("Add up to "+(_Ce(e.maxActivities)+" unique extracurricular activities")),Km("row")(qgn(vCe(e.activities)([e.addNewButton(uDn(e))(e.onStartEditing)]))(function(n){return Wgn(wf("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,sn(!e.compactView)(vw("text-secondary mt-4")(` Your chancing results might be lower if you don\u2019t enter all your activities. You can add and edit activities any time in your profile. `))])},sDn=10,fDn=function(e){return function(n){if(e>0)return wf("card")(Km("card-body")([wf("align-middle pb-2")($gn("btn btn-link p-0 t--add-new-ec")(Ue)({type:"button",onClick:n})([zgn("fe fe-plus")(cn),Vgn("")("Add new activity")])),Qgn("")("You can add "+(_Ce(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(Fe)return cn;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 142, column 1 - line 142, column 78): "+[e.constructor.name,n.constructor.name])}},vDn=function(e){return function(n){return function(t){var a=function(c){var s=hCe(Du(Hgn)(y_))(hCe(Du(Ygn)(gv))(Du(Xgn)(_c)));return function(f){return f>1}(ha(Mr(s(c))(n.activities)))},r=function(c){return Zgn("")({type:"hidden",name:c,value:Kgn(sD(n.activities))})},o=function(){return n.editor instanceof ch?yb("ec-editor-modal")(mq(e)(n.editor.value0.state)(function(c){return t(ly.create(c))})):n.editor instanceof sh?yb("ec-editor-modal")(mq(e)(n.editor.value0)(function(c){return t(ly.create(c))})):cn}(),i=function(c){return function(s){if(iDn(n.editor)(new pw({activity:s})))return wf("card mx-auto")(Km("card-body")([vw("")("Delete this activity?"),Km("row")([wf("col-12 col-sm-6 text-center")(D5("btn btn-secondary px-4 text-nowrap t--no-dont-remove")(Ue)({type:"button",onClick:gF(t)(Dq.value)})("Keep it")),wf("col-12 col-sm-6 text-center mt-2 mt-md-0")(D5("btn btn-danger px-4 text-nowrap t--yes-remove")(Ue)({type:"button",onClick:gF(t)(b5.value)})("Delete it"))])]));if(Fe){var f=function(d){return d===""?vw("text-muted")("No activity name yet"):vw("")(d)},v=function(){if(n.compactView)return"";if(Fe)return be("")(AC(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),p=function(){var d=Br(v)>100;return d?Cl(100)(v)+"\u2026":v}();return eDn("card d-flex w-100 t--ec-activity")({_data:nDn({"test-id":"ec-selector-activity-view"})})([wf("card-body pb-0")(Km("row")([Km("col-12")([sn(a(s))(wf("d-flex justify-content-end")(Km("badge badge-warning bg-warning text-dark")([tDn("")("Smart Alert: "),X("this activity appears twice")]))),f(y_(s)),aDn("")([X(g_(gv(s))),X(" | Tier "),X(fb(_c(s)))])]),wf("col-12 mt-n2")(vw("text-muted small")(p))])),wf("card-footer border-top-0 pt-0")(Km("row")([wf("col col-6 ml-sm-auto")(D5("btn btn-link p-0 t--edit")(Dr("Edit activity"))({type:"button",onClick:gF(t)(new y5({index:new _(c)}))})("Edit")),wf("col col-6 ml-sm-auto text-right")(D5("btn btn-link btn-secondary-outline p-0 t--remove")(Dr("Remove activity"))({type:"button",onClick:gF(t)(new gq({activity:s}))})("Remove"))]))])}throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 198, column 3 - line 269, column 69): "+[c.constructor.name,s.constructor.name])}},u=e1(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:We(n.attributesPath)(r),addNewButton:fDn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:gF(t)(new y5({index:E.value})),redirectUrlOverride:E.value};return le([n.defaultView(l),o])}}},DCe=zu("Extracurriculars")(function(e){return{init:Uu({activities:e.extracurriculars,attributesPath:E.value,attributesFormGroup:"",activitiesToDestroy:[],editor:cy.value,compactView:e.compactView,maxActivities:be(sDn)(e.maxActivities),defaultView:be(cDn)(e.defaultView)}),view:function(n){return vDn(e)({attributesPath:n.attributesPath,attributesFormGroup:n.attributesFormGroup,editor:n.editor,activitiesToDestroy:n.activitiesToDestroy,maxActivities:n.maxActivities,defaultView:n.defaultView,activities:e.extracurriculars,compactView:e.compactView})},update:function(n){return function(t){return hq(lDn(n)(t))(function(a){return _q(function(){return t instanceof b5?cr(rDn(e.onChange(a.activities))):Uu(Re)}())(function(){return Uu(a)})})}}}});var pDn=an(),mDn=ne(ji),dDn=Xn(W)()(),yCe=gDe(hDe)()(),bCe=PM(Ki),mw=J(W),DF=J(L),RCe=Z(Ut),_Dn=dD(zn(Qn()(C({reflectSymbol:function(){return"imageUrl"}})(ie)(C({reflectSymbol:function(){return"schoolId"}})(Bs)(C({reflectSymbol:function(){return"schoolName"}})(ie)(C({reflectSymbol:function(){return"score"}})(Lt)(de))))))),yq=ee(me);var bq=J(ae),hDn=ee(B),gDn=Hn(An),R5=gDn(qt),w5=qr(Zn),S5=q(Xt),fh=q(_t),DDn=Pr(L),Rq=la(L)()(),yDn=pa(Tu),bDn=Ev(),RDn=rn(ae),wDn=ne(cb),SDn=Fa(lr(Qt)),EDn=bx(),CDn=z1(W)()(),wCe=Rn(bn),wq=yn(wCe)(_n(dn)),SCe=gn(hn),Sq=Dn(SCe),ECe=En(Sn),Eq=wn(ECe),IDn=kl(ae),E5=pa(Sr),Cq=xn(mo),C5=function(){function e(){}return e.value=new e,e}(),I5=function(){function e(){}return e.value=new e,e}(),Iq=function(){function e(){}return e.value=new e,e}(),T5=function(){function e(){}return e.value=new e,e}(),TDn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),CCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ICe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sy=function(){function e(){}return e.value=new e,e}(),GCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FDn={to:function(e){if(e instanceof H)return C5.value;if(e instanceof m&&e.value0 instanceof H)return I5.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return Iq.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m)return T5.value;throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof C5)return new H(se.value);if(e instanceof I5)return new m(new H(se.value));if(e instanceof Iq)return new m(new m(new H(se.value)));if(e instanceof T5)return new m(new m(new m(se.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])}},MDn=pn(FDn)(wq(wq(wq(wCe)(SCe))(Sq))(Sq))(Eq(Eq(Eq(ECe))))(Sq),ACe=function(e){if(e instanceof C5)return"Female";if(e instanceof I5)return"Male";if(e instanceof Iq)return"Non-binary / third gender";if(e instanceof T5)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 88, column 20 - line 92, column 43): "+[e.constructor.name])},xCe=function(e){return be(e)(nu(Di("|")(e))(1))},LCe=function(e){return{label:e.name,value:pDn(e.slug)+("_"+mDn(e.id))}},GDn=function(){var e=Di("_");return function(n){return function(t){return nu(t)(1)}(e(function(t){return t.value}(n)))}}(),jCe=function(e){return dDn(e.className)({style:mn({flexBasis:"46%"})})([e.label,yCe({min:200,max:800,step:10,value:bCe(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),mw("mt-2 d-flex flex-row justify-content-between")([DF("")("200"),DF("")("800")])])},ADn=ho($r(Wo))("blog_lite_chancing_path")(function(e){return function(n){return RCe(e(n))(eo(function(t){return _Dn("Lite Chancing Response")(t)(function(a){return new _(yq(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new _(r.score)}}))})}))}});var xDn=function(e){return mw(e.className)([e.label,bq("t--lite-chancing-cta-left-sidebar-gpa")(yCe({min:1,max:4,step:.1,value:bCe(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),mw("mt-2 d-flex flex-row justify-content-between")([DF("")("1.0"),DF("")("4.0")])])},LDn=function(e){return e instanceof C5?"female":e instanceof I5?"male":"other"},NCe=function(e){return function(n){var t=lo(function(o){return hDn(GDn(o))(I2)})(e),a=LDn(n.genderOption),r=sD(n.ecs);return R5(w5(RCe(ADn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return S5(new et(new GCe(o)))})))(function(){return fh({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},PCe=function(e){return NCe(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:T5.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},OCe=function(e){return function(n){return function(t){if(t instanceof et&&t.value0 instanceof CCe)return R5(w5(S5(new et(sy.value))))(function(){return fh({chancingIsLoading:n.chancingIsLoading,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,ecs:t.value0.value0})});if(t instanceof et&&t.value0 instanceof TCe)return R5(w5(S5(new et(sy.value))))(function(){return fh({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,genderOption:t.value0.value0})});if(t instanceof et&&t.value0 instanceof ICe)return fh({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,gpa:t.value0.value0});if(t instanceof et&&t.value0 instanceof FCe)return fh({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satVerbal:n.satVerbal,satMath:t.value0.value0});if(t instanceof et&&t.value0 instanceof MCe)return fh({chancingIsLoading:n.chancingIsLoading,ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:t.value0.value0});if(t instanceof et&&t.value0 instanceof sy)return NCe(e.schools)(n);if(t instanceof et&&t.value0 instanceof GCe)return R5(w5(S5(new $t(new TDn(t.value0.value0)))))(function(){return fh({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof $t)return fh(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 157, column 21 - line 183, column 15): "+[t.constructor.name])}}},kCe=Dx,jDn=function(e){return function(n){return le([mw("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([DDn("mt-3")("Extracurriculars"),bq("")(sn(hi(n.ecActivities))(Rq("t--lite-chancing-mobile-and-left-sidebar-add-ec")(Dr("Add extracurriculars"))({href:"#",onClick:yDn(function(t){return function(){return bDn(t)(),n.onStartEditing(t)}})})("+ add")))]),mw("mt-0 pb-3 mb-2")(yq(n.ecActivities)(function(t){return RDn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+g_(gv(t))))(X(wDn(gv(t))))})),sn(SDn(hi)(n.ecActivities))(bq("card bg-white border-dashed")(mw("card-body "+e.className)([X("To add more ECs & see chances for 1,500 schools, "),Rq("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")(Ue)({href:be(kCe)(e.redirectUrlOverride)})("create a full profile")]))),DF("mb-2")("")])}};var UCe=function(e){return function(n){return function(t){return t({redirectUrl:be(kCe)(e.redirectUrlOverride),ecSelector:function(a){return DCe({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new et(new CCe(r)))(),a.onChange()}},maxActivities:new _(1),defaultView:new _(jDn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return EDn("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:X(ACe(e.genderOption)),contentId:"gender-dropdown-options-1",content:function(r){return CDn(r.className+" dropdown-menu shadow")({id:r.contentId})(yq(MDn)(function(o){return IDn("hover-bg-light")(Rq("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")(Ue)({onClick:E5(function(){return n(new et(new TCe(o)))(),a.onChange()})})(ACe(o)))}))},ariaLabelInput:Dr("Gender dropdown")})},gpaSlider:function(a){return xDn({gpa:e.gpa,className:a.className,onChange:Cq(n)(function(r){return et.create(ICe.create(r))}),onFinalChange:E5(function(){return n(new et(sy.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new et(sy.value)),satMathScoreSlider:function(a){return jCe({score:e.satMath,onChange:Cq(n)(function(r){return et.create(FCe.create(r))}),onFinalChange:E5(function(){return n(new et(sy.value))(),a.onChange()}),label:a.label(Zr(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return jCe({score:e.satVerbal,onChange:Cq(n)(function(r){return et.create(MCe.create(r))}),onFinalChange:E5(function(){return n(new et(sy.value))(),a.onChange()}),label:a.label(Zr(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var Tq=function(){function e(){}return e.value=new e,e}(),Fq=function(){function e(){}return e.value=new e,e}(),Mq=function(){function e(){}return e.value=new e,e}(),Gq=function(){function e(){}return e.value=new e,e}(),Aq=function(){function e(){}return e.value=new e,e}();var fy=function(e){if(e instanceof Tq)return"much lower than average";if(e instanceof Fq)return"lower than average";if(e instanceof Mq)return"about average";if(e instanceof Gq)return"above average";if(e instanceof Aq)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 28, column 15 - line 33, column 28): "+[e.constructor.name])},vh=function(e){if(e<.2)return Tq.value;if(e<.4)return Fq.value;if(e<.6)return Mq.value;if(e<.8)return Gq.value;if(Fe)return Aq.value;throw new Error("Failed pattern match at Common.Quintile (line 19, column 1 - line 19, column 37): "+[e.constructor.name])};var NDn=la(W)()(),PDn=ee(B),ODn=jn(W)()(),kDn=pa(Sr),xq=oa(L),UDn=Z(Zv),HDn=q(Sp),HCe=J(W),BCe=Lu(L),JCe=J(ae),BDn=Si(ae)()(),JDn=rn(L),qDn=rn(W),qCe=J(L);var WDn=ur(tr),$Dn=function(e){return function(n){var t=function(a){if(n instanceof UO)return NDn(a)(Ue)({href:Rve(PDn(n.value0)(function(r){return{slug:r.slug,tab:lu.value}}))});if(n instanceof dve)return ODn(a)(Ue)({onClick:kDn(n.value0)});throw new Error("Failed pattern match at SchoolDetails.Utils (line 158, column 15 - line 166, column 46): "+[n.constructor.name])};return t(e)([xq("material-symbol mr-2")("tune"),X(" Simulate chances")])}},WCe=$Dn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),ph=function(e){var n=J(e);return function(t){var a=J(t);return function(r){return le(ag(UDn(r)(function(o){return HDn([HCe("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Ya("")])})))}}},vy=function(e){return J(e)("t--subtitle")},zDn=vy(W),dw=function(e){var n=qg(e);return function(t){return function(a){return zDn([le(n(t)),X(" "),BCe("text-secondary")(a)])}}},$Ce=function(e){var n=J(e);return function(t){return function(a){return function(r){return HCe("row "+a)([JCe("col-auto")(xq(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},Lq=function(e){var n=$Ce(e);return function(t){return n(t)("mb-3")("")}},zCe=function(e){var n=$Ce(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},VCe="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",yF=function(e){return function(n){return JCe(VCe)(BDn({placement:vf,overlay:JDn("text-secondary")(n),overlayStyle:mn({width:"15rem"})})(qDn("d-inline-flex align-items-center")([X(e),xq("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},ql=qCe(VCe);var or=function(e){return qCe("x-large "+e)};var F5=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(Fe)return tf(WDn(e.totalUndergrads)(100)*100|0);throw new Error("Failed pattern match at SchoolDetails.Utils (line 140, column 1 - line 140, column 71): "+[e.constructor.name])};var M5=BCe("text-secondary ml-2")(` Our calculator evaluates your profile like the way an admissions officer does \u2014 first, minimum academic requirements based on your demographic, then a holistic review. `);var VDn=oa(ae),QDn=la(ae)()(),_w=function(){function e(){}return e.value=new e,e}(),jq=function(){function e(){}return e.value=new e,e}(),bF=function(){function e(){}return e.value=new e,e}(),op=function(e){return function(n){var t=function(o){return VDn("fe fe-external-link "+o)(cn)},a=E4(n),r=be(a.siteName)(e.text);return QDn(e.className)(Dr(r))({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof _w)return X(r);if(e.icon instanceof jq)return le([t("mr-1 large"),X(r)]);if(e.icon instanceof bF)return le([X(r),t("ml-1")]);throw new Error("Failed pattern match at SchoolDetails.Website (line 26, column 5 - line 29, column 61): "+[e.icon.constructor.name])}())}},QCe=function(){return op({className:"text-body mt-1 d-inline-block",icon:_w.value,text:E.value})}();var KDn=J(W),eyn=la(L)()(),Oq=function(e){return e.chancing.endorsed?cn:KDn("my-1 ml-1 small text-gray-800")([X("Chancing is not endorsed by "),X(e.name),X("."),We(e.chancing.moreInfoLink)(function(n){return le([X(" If interested in applying, learn more about "),eyn("")(Ue)({href:n})("how to prepare ")])})])};var kq=ee(B),XCe=jn(L)()(),Uq=xn(pt),cyn=jn(ae)()(),syn=J(W),ZCe=rn(L);var mh=function(){function e(){}return e.value=new e,e}(),hw=function(){function e(){}return e.value=new e,e}(),gw=function(){function e(){}return e.value=new e,e}(),dh=function(){function e(){}return e.value=new e,e}(),Dw=function(){function e(){}return e.value=new e,e}(),yw=function(){function e(){}return e.value=new e,e}(),bw=function(){function e(){}return e.value=new e,e}(),Rw=function(){function e(){}return e.value=new e,e}(),_h=function(){function e(){}return e.value=new e,e}(),KCe={to:function(e){if(e instanceof H)return mh.value;if(e instanceof m&&e.value0 instanceof H)return hw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof H)return gw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof H)return dh.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof H)return Dw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof H)return yw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof H)return bw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Rw.value;if(e instanceof m&&e.value0 instanceof m&&e.value0.value0 instanceof m&&e.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0 instanceof m&&e.value0.value0.value0.value0.value0.value0.value0 instanceof m)return _h.value;throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])},from:function(e){if(e instanceof mh)return new H(se.value);if(e instanceof hw)return new m(new H(se.value));if(e instanceof gw)return new m(new m(new H(se.value)));if(e instanceof dh)return new m(new m(new m(new H(se.value))));if(e instanceof Dw)return new m(new m(new m(new m(new H(se.value)))));if(e instanceof yw)return new m(new m(new m(new m(new m(new H(se.value))))));if(e instanceof bw)return new m(new m(new m(new m(new m(new m(new H(se.value)))))));if(e instanceof Rw)return new m(new m(new m(new m(new m(new m(new m(new H(se.value))))))));if(e instanceof _h)return new m(new m(new m(new m(new m(new m(new m(new m(se.value))))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},eIe=function(e){return!(e instanceof _h)},G5=function(e){if(e instanceof mh)return"Basic Info";if(e instanceof gw)return"Admissions";if(e instanceof dh)return"Costs";if(e instanceof Dw)return"Enrollment";if(e instanceof yw)return"Application Requirements";if(e instanceof bw)return"Academic Offerings";if(e instanceof Rw)return"Chancing";if(e instanceof hw)return"Header Image";if(e instanceof _h)return"Message from the College";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 148, column 16 - line 157, column 40): "+[e.constructor.name])},CF=function(e){if(e instanceof mh)return"basic";if(e instanceof gw)return"admissions";if(e instanceof dh)return"costs";if(e instanceof Dw)return"enrollment";if(e instanceof yw)return"admission-requirements";if(e instanceof bw)return"academic-offerings";if(e instanceof Rw)return"chancing";if(e instanceof hw)return"header-image";if(e instanceof _h)return"message-from-college";throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 160, column 13 - line 169, column 36): "+[e.constructor.name])},Hq=function(e){return Dr("Edit "+G5(e))},nIe=function(e){return function(n){return function(t){return kq(e)(function(a){return XCe("btn btn-outline-primary t--text-edit-"+CF(n))(Hq(n))({onClick:Uq(a)(n)})(t)})}}},tIe=function(e){return function(n){return kq(e)(function(t){return cyn("btn btn-outline-primary t--edit-"+CF(n))(Hq(n))({onClick:Uq(t)(n)})(syn("d-flex align-content-center")([ZCe("material-symbol x-large")("edit"),ZCe("ml-2")("Edit")]))})}},Ei=function(e){return function(n){return kq(e)(function(t){return XCe("btn btn-link p-0 material-symbol x-large t--edit-"+CF(n))(Hq(n))({onClick:Uq(t)(n)})("edit")})}};var fyn=ve(Pt(Kte)),vyn=Hn(An)(Ge),pyn=co(Oo),myn=ec(Ae)(SG),aIe=Z(Ge),dyn=q(Jn),jv=J(W),rIe=Ft(L),_yn=Lu(L),oIe=rn(L),iIe=J(ae),uIe=Xn(L)()(),hyn=oa(L),gyn=Kn(L),Dyn=j(me),Bq=function(e){var n=fyn(e.school.appGroup)(new _(nae)),t=function(){if(e.school.admissions.reqClassRank instanceof E||e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof bi)return!1;if(e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof fc||e.school.admissions.reqClassRank instanceof _&&e.school.admissions.reqClassRank.value0 instanceof ns)return!0;throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 61, column 26 - line 65, column 28): "+[e.school.admissions.reqClassRank.constructor.name])}(),a=be(fc.value)(e.school.admissions.reqStandardTests),r=le([ga(vyn(pyn(myn(a)([fc.value,ns.value])))(function(){return aIe(e.school.admissions.fracSubmittedSat)(function(o){return aIe(e.school.admissions.fracSubmittedAct)(function(i){return dyn(jv("row mb-4")([jv("col-12 text-nowrap mb1")([jv("d-flex align-items-center mb-4")([rIe("mr-2 mb-0")("Tests typically submitted"),_yn("")(` If there is a significant gap between the number of students submitting one test vs. another, submitting the more common test might give you a very slight chancing boost. Note: some students may submit both or neither test. `)]),jv("")([X("SAT: "),oIe("font-weight-semibold")(Oa(o))]),iIe("progress progress-md mt-3 mt-2")(uIe("progress-bar")({style:mn({width:mC(o)})})("")),Ya(""),jv("")([X("ACT: "),oIe("font-weight-semibold")(Oa(i))]),iIe("progress progress-md mt-3")(uIe("progress-bar")({style:mn({width:mC(i)})})(""))])]))})})})),jv("d-flex align-items-center")([hyn("fe fe-info large pr-2")(""),jv("")([X(" Policies can change. Please confirm by looking at "),op({className:"",icon:_w.value,text:new _("this school\u2019s website.")})(e.school.urls.main)])])]);return jv("card")([jv("card-body")([jv("d-flex align-items-center justify-content-between mb-4")([gyn("my-0 mr-3 flex-grow-1")("Applications"),ga(Ei(e.onEdit)(yw.value))]),rIe("mb-4")("How to apply"),jv("mb-4")(Dyn(ql)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),Hae(a),function(){var o=be(fc.value)(e.school.admissions.reqRecLetters);if(o instanceof bi)return"Rec letters not used";if(o instanceof fc)return"Rec letters optional";if(o instanceof ns)return"Rec letters required";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 42, column 9 - line 45, column 45): "+[o.constructor.name])}(),function(){return t?"Considers class rank":"Doesn\u2019t consider class rank"}(),function(){var o=be(fc.value)(e.school.admissions.reqToefl);if(o instanceof bi)return"TOEFL not used (international applicants)";if(o instanceof fc)return"TOEFL optional (international applicants)";if(o instanceof ns)return"TOEFL required (international applicants)";throw new Error("Failed pattern match at SchoolDetails.Overview.Applications (line 49, column 9 - line 52, column 66): "+[o.constructor.name])}()])),r])])},lIe=function(e){return Bq(e)};var cIe=ur(tr),yyn=Yr(AL()(LM({reflectSymbol:function(){return"p25"}})()(LM({reflectSymbol:function(){return"p75"}})()(GL)(gl))(gl))),Yi=J(W),hh=J(ae),sIe=Ft(L),Nv=Vn(L),fIe=On(Ja),vIe=j(B),A5=ef(L),byn=function(e){return cIe(e.p25+e.p75|0)(2)},pIe=function(e){if(e instanceof _)return Oa(e.value0);if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},Jq=function(e){return Jp(",")("")(e)},ww=function(e){if(e instanceof _)return Jq(tf(e.value0.p25)+(" - "+tf(e.value0.p75)));if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},Ryn=function(e){return function(n){return byn(yyn(e)(n))}},wyn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},Syn=le([Yi("row")([hh("col-12 col-md-7")(Pr(L)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),hh(" col-12 col-md-5 my-4")(d3()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Eyn=function(e){if(e instanceof _)return Jq(tf(cIe(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof E)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},Cyn=function(e){var n=function(t){return hh("card bg-white")(Yi("card-body")(t))};return hh("row")(Yi("col-12")([n([sIe("")("SAT"),Yi("row")([Yi("col col-md-6")([Nv("")("Average SAT "),or("")(Jq(ke("Not Reported")(tf)(fIe(vIe(Ryn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Yi("col col-md-6")([Nv("")("SAT 25th-75th"),or("")(ww(fIe(vIe(wyn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Yi("row")([Yi("col col-md-6")([Nv("mt-5")("Students Submitting SAT"),or("")(pIe(e.admissions.fracSubmittedSat))])]),Yi("row")([Yi("col col-md-6")([Nv("mt-5")("Math"),A5("text-muted")("Average (25th - 75th)"),or("")(ww(e.admissions.satMath))]),Yi("col col-md-6")([Nv("mt-5 text-nowrap")("Reading and Writing"),A5("text-muted")("Average (25th - 75th)"),or("")(ww(e.admissions.satVerbal))])])]),n([sIe("")("ACT"),Yi("row")([Yi("col col-md-6")([Nv("")("Average ACT"),or("")(Eyn(e.admissions.actComposite))]),Yi("col col-md-6")([Nv("")("ACT 25th-75th"),or("")(ww(e.admissions.actComposite))])]),hh("row")(Yi("col col-md-6")([Nv("mt-5")("Students Submitting ACT"),or("")(pIe(e.admissions.fracSubmittedAct))])),Yi("row")([Yi("col col-md-6")([Nv("mt-5")("Math"),A5("text-muted")("Average (25th - 75th)"),or("")(ww(e.admissions.actMath))]),Yi("col col-md-6")([Nv("mt-5")("English"),A5("text-muted")("Average (25th - 75th)"),or("")(ww(e.admissions.actVerbal))])])])]))},Iyn=function(e){return hh("card")(Yi("card-body")([Nv("")("Acceptance Rate"),or("")(ke("Not reported")(function(n){return Oa(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Tyn=function(e){return hh("row")(hh("col-12")(Iyn(e)))},mIe=function(e){return le([Tyn(e.school),Cyn(e.school),Syn,Bq(e)])};var Fyn=rn(L),Myn=ne(j4),qq=function(e){var n=function(t){return function(a){return Fyn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof sr&&e.testPolicy instanceof _&&e.testPolicy.value0 instanceof bi)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof _&&e.testPolicy.value0 instanceof bi)return so(Co)("Received strategy, "+(Myn(e.strategy)+", in chancing response for a test-blind school"))({})(function(t){return n("badge-apply-test-optional")("Test-blind admissions")});if(e.strategy instanceof sr)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof Lr&&e.satOrigin instanceof _&&e.satOrigin.value0 instanceof lb)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof Lr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof Kr)return n("badge-apply-with-act")("Apply with ACT");throw new Error("Failed pattern match at Chancing.ApplicationStrategy (line 21, column 13 - line 37, column 51): "+[e.strategy.constructor.name,e.satOrigin.constructor.name,e.testPolicy.constructor.name])};var Gyn=j(fv),Ayn=On(Ja),xyn=j(B),Wq=J(ae),dIe=J(W),_Ie=Ft(L),Lyn=Ks(ae)()(),$q=rn(L),hIe=ne(Ye),gIe=oa(L),jyn=an(),DIe=ee(B),Nyn=ee(fv);var zq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yIe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Vq=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Sw=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),Ew=function(){function e(){}return e.value=new e,e}(),Cw=function(){function e(){}return e.value=new e,e}(),Iw=function(){function e(){}return e.value=new e,e}(),Pyn=function(e){return e};var x5={map:function(e){return function(n){return Gyn(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},bIe=function(e){return oC(function(n){return Ayn(xyn(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},IF=function(e){return Wq("card")(Wq("card-body")(dIe("row")([Wq("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(_Ie("")("Chancing for this school is coming soon")),dIe("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Lyn("")({viewBox:"-100 -100 200 100"})(uw({center:{x:0,y:0},angle0:0,angle1:c0,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),_Ie("text-muted mt-2")("N/A")])])))};var L5=function(e){if(e instanceof zq)return new _(e.value0);if(e instanceof yIe)return Fo(e.value0);if(e instanceof Vq)return new _(be(e.value0.regular)(Fo(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 52, column 19 - line 55, column 101): "+[e.constructor.name])};var RIe=function(e){return function(n){return function(t){if(t instanceof Wt&&t.value0>0)return $q("text-success "+e)("+"+(hIe(t.value0)+"%"));if(t instanceof Wt&&t.value0<0)return $q("text-danger "+e)("-"+(hIe(-t.value0|0)+"%"));if(t instanceof Wt)return cn;if(t instanceof Ia)return cn;if(t instanceof gr)return $q("spinner-border spinner-border-sm text-primary "+e)("");throw new Error("Failed pattern match at Hub.Chancing (line 177, column 51 - line 182, column 85): "+[t.constructor.name])}(bIe(n))}},wIe=function(e){return function(n){return function(t){if(t instanceof Wt&&t.value0>0)return gIe("fe fe-arrow-up text-success "+e)("");if(t instanceof Wt&&t.value0<0)return gIe("fe fe-arrow-down text-danger "+e)("");if(t instanceof Wt)return cn;if(t instanceof Ia)return cn;if(t instanceof gr)return cn;throw new Error("Failed pattern match at Hub.Chancing (line 169, column 46 - line 174, column 25): "+[t.constructor.name])}(bIe(n))}},j5=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof _)return new Sw(e.chancingState.simulation.value0.effectiveProfile,new Vq({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof E)return new Sw(jyn(a),new zq(r));throw new Error("Failed pattern match at Hub.Chancing (line 117, column 7 - line 121, column 62): "+[e.chancingState.simulation.constructor.name])}},t=function(a){return so(Co)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return Iw.value})};if(!e.school.chancing.canChance)return Iw.value;if(e.currentUser instanceof E||e.chancingState.permanentProfile instanceof E)return Cw.value;if(e.chancingState.permanentProfile instanceof _){if(e.chancingState.chances instanceof Ia)return t(Re);if(e.chancingState.chances instanceof gr&&e.chancingState.chances.value0 instanceof E)return Ew.value;if(e.chancingState.chances instanceof gr&&e.chancingState.chances.value0 instanceof _)return be(Ew.value)(DIe(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof Wt)return gS(t)(DIe(e.chancingState.chances.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));throw new Error("Failed pattern match at Hub.Chancing (line 100, column 36 - line 108, column 83): "+[e.chancingState.chances.constructor.name])}throw new Error("Failed pattern match at Hub.Chancing (line 88, column 21 - line 108, column 83): "+[e.constructor.name])},N5=function(e){return Pyn(function(n){if(n instanceof zq)return Ia.value;if(n instanceof yIe)return Ia.value;if(n instanceof Vq)return Nyn(n.value0.simulated)(function(t){return{regular:n.value0.regular,simulated:t}});throw new Error("Failed pattern match at Hub.Chancing (line 154, column 29 - line 160, column 44): "+[n.constructor.name])}(e))};var Oyn=j(me),kyn=Vn(L),SIe=function(e){var n=[` At a target school, your admissions profile is similar to that of the average admitted student from your demographic background. `,` Improving either your academic or extracurricular profile will increase your admissions chances at this school. `],t=[` At a safety school, your admissions profile is much stronger than that of the average admitted student from your demographic background. `,` You have a strong admissions profile for this school. Writing strong essays and improving your profile further can help you win merit scholarships. `],a=[` At a reach school, your admissions profile is weaker than that of the average admitted student from your demographic background. `,` Improving either your academic or extracurricular profile will increase your admissions chances at this school. `],r=function(){if(e instanceof l_)return a;if(e instanceof aD||e instanceof rD)return n;if(e instanceof oD)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return le(Oyn(kyn(""))(r))};var Tw=J(ae),Qq=oa(L),Uyn=Xn(L)()(),Hyn=ur(tr),Byn=xt(Xr),Jyn=On(Ja),qyn=j(B),Yq=J(W),Wyn=rn(W),$yn=rn(L),zyn=jn(W)()(),Vyn=pa(Sr),Fw=Tw("col-auto")(la(W)()()("")(Ue)({href:xm})([Qq("fe fe-edit-2")(""),X(" edit")])),Mw=function(e){if(e instanceof um)return"success";if(e instanceof lm)return"primary";if(e instanceof mv)return"warning";if(e instanceof vs)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},my=function(e){return function(n){return function(t){return Tw("progress progress-"+e)(Uyn("progress-bar bg-"+n)({style:mn({width:mC(t)})})(""))}}},EIe=function(e){var n=function(t){return function(a){return Hyn(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:Byn(e.p50)(Jyn(qyn(n)(e.p25))(e.p75))}},gh=function(e){return function(n){var t=Mw(n),a=function(r){return function(o){return Yq("d-flex large font-weight-bold fw-bold mb-3")([Qq("mr-3 fe fe-"+(o+(" text-"+t)))(""),Wyn("")([X(e),$yn("text-"+t)(" \u2013 "+r)])])}};if(n instanceof um)return a("above average")("check-circle");if(n instanceof lm)return a("about average")("thumbs-up");if(n instanceof mv)return a("below average")("trending-down");if(n instanceof vs)return a("N/A")("refresh-ccw");throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 91, column 3 - line 95, column 45): "+[n.constructor.name])}},Xq=function(e){if(e.expanded){var n=zyn("btn btn-link px-0 t--show-less")(Ue)({onClick:Vyn(e.onCollapse)})([X("show less "),Qq("fe fe-chevron-up")("")]);return Tw("card bg-very-light-grey mt-3")(Yq("card-body "+e.card.testClass)([Yq("row")([Tw("col")(e.card.title),Tw("col-auto d-none d-md-block")(n)]),e.card.content,Tw("d-md-none d-flex justify-content-end mt-3")(n)]))}if(Fe)return e.card.title;throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 41, column 1 - line 41, column 89): "+[e.constructor.name])},CIe=function(e){return Dt(e.p25)&&Dt(e.p50)&&Dt(e.p75)};var IIe=J(W),TIe=J(L),FIe=Vn(W),MIe=Ga(L),Qyn=ne(Ye),Yyn=la(L)()(),GIe=function(e){return function(n){var t=IIe("row mb-2")([TIe("col-auto pr-0 large")("Your coursework"),sn(e.showUpdateLinks)(Fw)]),a=FIe("")([X("Coursework rigor is "),MIe("")("very important"),X(` for your admissions chances. Admissions officers will evaluate your coursework based on the classes available at your school, so don\u2019t worry if few or no AP or Honors classes are offered. `)]),r=function(u){return function(l){return le([MIe("")(Qyn(be(0)(u))),X(" "+(l+" "))])}},o=TIe("mb-3 large font-weight-bold fw-bold text-"+Mw(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof vs)return"";if(n.chances.courseRigorStrength instanceof mv)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof lm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof um)return"Your coursework is above average for this school";throw new Error("Failed pattern match at SchoolDetails.Chancing.CourseRigor (line 44, column 9 - line 48, column 82): "+[n.chances.courseRigorStrength.constructor.name])}()),i=FIe("mb-0")([X("Read about what "),Yyn("")(Ue)({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),X(".")]);return{title:gh("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:le([t,IIe("")([r(n.chancingProfile.courseRigor.ap)("AP / IB classes + "),r(n.chancingProfile.courseRigor.honors)("Honors classes + "),r(n.chancingProfile.courseRigor.collegeClasses)("College course taken at a local four-year or community college = ")]),o,a,i])}}};var du=function(){function e(){}return e.value=new e,e}(),_u=function(){function e(){}return e.value=new e,e}(),AIe={show:function(e){if(e instanceof du)return"SAT";if(e instanceof _u)return"ACT";throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 14, column 1 - line 16, column 19): "+[e.constructor.name])}};var xIe=function(e){if(e instanceof du)return _u.value;if(e instanceof _u)return du.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 24, column 1 - line 24, column 46): "+[e.constructor.name])};var Xyn=xi(ft),LIe=function(){function e(){}return e.value=new e,e}(),jIe=function(){function e(){}return e.value=new e,e}(),NIe=function(e){return function(n){var t=function(){if(e instanceof LIe)return"and";if(e instanceof jIe)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=QZ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):Xyn(", ")(a.init)+(", "+(t+(" "+a.last)))}},PIe=function(){return NIe(LIe.value)}(),OIe=function(){return NIe(jIe.value)}();var Sf=aa(Ae)(ft),kIe=j(Up),fl=ne(Ye),hu=q(Jn),P5=ne(hP),O5=n0()(),UIe=di({reflectSymbol:function(){return"math"}}),Pv=As(Ye),HIe=As(eu),Ov=ne(O5(di({reflectSymbol:function(){return"act"}})(di({reflectSymbol:function(){return"courseRigor"}})(di({reflectSymbol:function(){return"ecActivities"}})(di({reflectSymbol:function(){return"ecScore"}})(di({reflectSymbol:function(){return"gpa"}})(di({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(Pc({reflectSymbol:function(){return"sat"}})(O5(UIe(Pc({reflectSymbol:function(){return"readingWriting"}})(Pv))(Pv))))(Pv))(HIe))(HIe))(Dl(GP)))(O5(di({reflectSymbol:function(){return"ap"}})(di({reflectSymbol:function(){return"collegeClasses"}})(Pc({reflectSymbol:function(){return"honors"}})(Pv))(Pv))(Pv))))(O5(di({reflectSymbol:function(){return"english"}})(UIe(di({reflectSymbol:function(){return"reading"}})(Pc({reflectSymbol:function(){return"science"}})(Pv))(Pv))(Pv))(Pv))))),dy=ne(AIe),Zyn=Iie(BS)(L4),Dh=ne(yP),Gw=ve(DP(ib)),BIe=ne(Pv),k5=ee(B),Kyn=la(L)()(),e1n=Ft(L),n1n=Vn(ae),t1n=Vn(W),a1n=Ga(L),r1n=function(e){return e},o1n=function(e){return e},Zq=function(e){if(e instanceof du)return Lr.value;if(e instanceof _u)return Kr.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},i1n=function(e){if(e instanceof Lr)return"with SAT";if(e instanceof Kr)return"with ACT";if(e instanceof sr)return"with a test-optional application";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 545, column 17 - line 548, column 58): "+[e.constructor.name])},TF=function(e){return function(n){return Sf(["Your simulated chances of admission ",PIe(kIe(i1n)(ZZ(e)(n)))," are very close."])}},JIe=60,kv=function(e){return function(n){return so(Co)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return E.value})}},qIe=3,FF=Lu(L)("text-secondary ml-1")(Sf(["If your SAT or ACT scores fall within ",fl(JIe)," points of the 25th percentile score (SAT) or ",fl(qIe)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),U5=function(e){return le([X(Sf([TF(sr.value)(Dg(Zq(e.standardizedTest)))," But because your score ",fl(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof Lr||e.recommendedStrategy instanceof Kr)return"higher";if(e.recommendedStrategy instanceof sr)return"lower";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 490, column 7 - line 493, column 37): "+[e.recommendedStrategy.constructor.name])}()," than ",fl(e.guidanceScore)])),FF,X(Sf([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof Lr)return"with SAT";if(e.recommendedStrategy instanceof Kr)return"with ACT";if(e.recommendedStrategy instanceof sr)return"test-optional";throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 500, column 7 - line 503, column 45): "+[e.recommendedStrategy.constructor.name])}(),"."]))])},u1n=function(e){return function(n){return function(t){return function(a){var r=LP(n),o=h_(n);if(e instanceof P0&&e.value0 instanceof im&&r instanceof _&&o instanceof _)return hu({title:"Applying test-optional should be best for you",body:le([X(Sf([TF(sr.value)(i1(Lr.value)([Kr.value]))," But because your SAT score ",fl(r.value0)," is lower than ",fl(t)])),FF,X(Sf([" and your ACT score ",fl(o.value0)," is lower than ",fl(a)])),FF,X(", we recommend you apply test-optional.")])});if(e instanceof P0&&e.value0 instanceof im)return kv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:P5(e),profile:Ov(n)});if(e instanceof P0&&r instanceof E&&o instanceof E)return kv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:P5(e),profile:Ov(n)});if(e instanceof P0&&e.value0 instanceof vv&&r instanceof _)return hu({title:"Applying test-optional should be best for you",body:U5({standardizedTest:du.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:sr.value})});if(e instanceof P0&&e.value0 instanceof vv&&r instanceof E)return kv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:P5(e),profile:Ov(n)});if(e instanceof P0&&e.value0 instanceof pv&&o instanceof _)return hu({title:"Applying test-optional should be best for you",body:U5({standardizedTest:_u.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:sr.value})});if(e instanceof P0&&e.value0 instanceof pv&&o instanceof E)return kv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:P5(e),profile:Ov(n)});if(e instanceof gC&&r instanceof E&&o instanceof E)return hu({title:"Applying test-optional should be best for you",body:X(Sf(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",fl(t),"+ for SAT or ",fl(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof gC)return hu({title:"Applying test-optional should be best for you",body:X(Sf(["Your simulated chances of admission with a test-optional"," application are significantly higher than with ",function(){if(r instanceof _&&o instanceof _)return"SAT and ACT";if(r instanceof _&&o instanceof E)return"SAT";if(r instanceof E&&o instanceof _)return"ACT";if(r instanceof E&&o instanceof E)return Hc("SchoolDetails.Chancing.Guidance: No tests reported.");throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 182, column 13 - line 191, column 86): "+[r.constructor.name,o.constructor.name])}(),"."]))});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 94, column 3 - line 194, column 10): "+[e.constructor.name,r.constructor.name,o.constructor.name])}}}},l1n=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(dy(f)+" should be best for you")},o=function(f){return le([X(Sf([Of(TF)(function(){return f.includeTestOptional?new Pe(sr.value,i1(Lr.value)([Kr.value])):new Pe(Zq(f.stronger.test),kIe(Zq)(Dg(f.weaker.test)))}())," But because your ",dy(f.stronger.test)," score ",fl(f.stronger.actualScore)," is higher than ",fl(f.stronger.guidanceScore)])),FF,X(Sf([" and your ",dy(f.weaker.test)," score ",fl(f.weaker.actualScore)," is lower than ",fl(f.weaker.guidanceScore)])),FF,X(Sf([", we recommend you apply with ",dy(f.stronger.test),"."]))])},i=LP(n),u=h_(n),l=function(f){return function(v){return Zyn(i1(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(dy(f)+(" are significantly higher than with a test-optional"+(" application and with "+(dy(xIe(f))+"."))))},s=function(f){return X("Your simulated chances of admission with "+(dy(f)+" are significantly higher than with a test-optional application."))};if(e instanceof fs&&e.value0 instanceof im&&i instanceof _&&u instanceof _)return hu({title:"You can apply with either SAT or ACT, or submit both of them",body:X(Gr(" ")([TF(sr.value)(i1(Lr.value)([Kr.value])),` We recommend you submit the score with a higher percentile. If they have the same percentile, submit the one you took fewer attempts. If you\u2019ve taken both exams the same number of times, use the exam where your strongest score was achieved earliest. `]))});if(e instanceof fs&&e.value0 instanceof im)return kv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:Dh(e),profile:Ov(n)});if(e instanceof rf&&e.value0 instanceof im&&i instanceof _&&u instanceof _)return hu({title:"You can apply with either SAT or ACT, or submit both of them",body:X(Gr(" ")([TF(Lr.value)(Dg(Kr.value)),` We recommend you submit the score with a higher percentile. If they have the same percentile, submit the one you took fewer attempts. If you\u2019ve taken both exams the same number of times, use the exam where your strongest score was achieved earliest. `]))});if(e instanceof rf&&e.value0 instanceof im)return kv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:Dh(e),profile:Ov(n)});if(e instanceof fs&&i instanceof E&&u instanceof E)return kv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:Dh(e),profile:Ov(n)});if(e instanceof fs&&e.value0 instanceof vv&&i instanceof _&&Gw(e.value1)(ub(sr.value)))return hu({title:r(du.value),body:U5({standardizedTest:du.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:Lr.value})});if(e instanceof fs&&e.value0 instanceof pv&&u instanceof _&&Gw(e.value1)(ub(sr.value)))return hu({title:r(_u.value),body:U5({standardizedTest:_u.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:Kr.value})});if(e instanceof fs&&e.value0 instanceof vv&&i instanceof _&&u instanceof _&&Gw(e.value1)(l(Kr.value)(sr.value)))return hu({title:r(du.value),body:o({stronger:{test:du.value,actualScore:i.value0,guidanceScore:t},weaker:{test:_u.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof fs&&e.value0 instanceof pv&&i instanceof _&&u instanceof _&&Gw(e.value1)(l(Lr.value)(sr.value)))return hu({title:r(_u.value),body:o({stronger:{test:_u.value,actualScore:u.value0,guidanceScore:a},weaker:{test:du.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof fs&&e.value0 instanceof vv&&i instanceof _&&u instanceof _&&Gw(e.value1)(ub(Kr.value)))return hu({title:r(du.value),body:o({stronger:{test:du.value,actualScore:i.value0,guidanceScore:t},weaker:{test:_u.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof fs&&e.value0 instanceof pv&&i instanceof _&&u instanceof _&&Gw(e.value1)(ub(Lr.value)))return hu({title:r(_u.value),body:o({stronger:{test:_u.value,actualScore:u.value0,guidanceScore:a},weaker:{test:du.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof fs)return kv(Sf(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",Dh(e),", SAT: ",BIe(i),", ACT: ",BIe(u),", SAT guidance: ",fl(t),", ACT guidance: ",fl(a)]))({guidance:Dh(e),profile:Ov(n)});if(e instanceof rf&&i instanceof E&&u instanceof E)return kv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:Dh(e),profile:Ov(n)});if(e instanceof rf&&e.value0 instanceof vv&&i instanceof _&&u instanceof _)return hu({title:r(du.value),body:X(c(du.value))});if(e instanceof rf&&e.value0 instanceof pv&&i instanceof _&&u instanceof _)return hu({title:r(_u.value),body:X(c(_u.value))});if(e instanceof rf&&e.value0 instanceof vv&&i instanceof _&&u instanceof E)return hu({title:r(du.value),body:s(du.value)});if(e instanceof rf&&e.value0 instanceof vv&&i instanceof E&&u instanceof _)return kv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:Dh(e),profile:Ov(n)});if(e instanceof rf&&e.value0 instanceof pv&&i instanceof E&&u instanceof _)return hu({title:r(_u.value),body:s(_u.value)});if(e instanceof rf&&e.value0 instanceof pv&&i instanceof _&&u instanceof E)return kv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:Dh(e),profile:Ov(n)});throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 207, column 3 - line 390, column 59): "+[e.constructor.name,i.constructor.name,u.constructor.name])}}}},c1n=function(e){return function(n){return function(t){var a=k5(k5(t.sat.p25)(function(o){return o-JIe|0}))(r1n),r=k5(k5(t.act.p25)(function(o){return o-qIe|0}))(o1n);if(a instanceof _&&r instanceof _){if(e instanceof bP)return u1n(e.value0)(n)(a.value0)(r.value0);if(e instanceof RP)return l1n(e.value0)(n)(a.value0)(r.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 67, column 7 - line 71, column 85): "+[e.constructor.name])}return hu({title:"We\u2019re still collecting detailed guidance data\u2026",body:le([X("Learn more about the "),Kyn("")(Ue)({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),X(".")])})}}},WIe=function(e){return function(n){return function(t){var a=c1n(e)(n)(t);return We(a)(function(r){return le([e1n("")("Recommendation: "+r.title),n1n("")(r.body),function(){var o=xC(n);if(o instanceof _&&o.value0 instanceof lb)return t1n("")([a1n("")("Note:"),X(" "),X("Your SAT score is projected based on your PSAT score.")]);if(o instanceof _&&o.value0 instanceof bC)return cn;if(o instanceof E)return cn;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var s1n=jn(W)()(),f1n=xn(pt),$Ie=ve(Nm),v1n=oa(L),zIe=J(W),p1n=ef(L),MF=Vn(L),VIe=Ft(L),m1n=Pr(L),QIe=J(ae),d1n=J(L),GF=function(e){var n=function(a){return s1n("btn btn-link p-0 ml-2 d-flex align-items-center")(Ue)({onClick:f1n(a.value1)($0(a.value0))})([X(function(){var r=$Ie(a.value0)(fr.value);return r?"show less ":"show more "}()),v1n("fe fe-chevron-"+function(){var r=$Ie(a.value0)(fr.value);return r?"up":"down"}())("")])},t=function(a){return zIe("card-body pb-3")([p1n("text-uppercase text-secondary")("Learn about chancing"),MF("")("Colleges evaluate profiles using both academic and holistic reasons."),VIe("my-2")("We evaluate your profile like colleges do, considering all factors."),MF("")("Most websites only consider GPA and test scores when determining what sort of applicant you are. We consider your coursework, GPA, extracurriculars, demographics, intended major, class rank, and test scores (if you have them)."),VIe("my-2")("Academics are more than just grades, which we take into account."),MF("")("Grades matter, but so does the difficulty of the classes you took. Extracurricular activities count, both in terms of what positions you have held and how you have improved your community."),Ya("border-gray-500"),m1n("")("How does the chancing calculator help me without counting in all the holistic factors?"),MF("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),MF("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),We(a)(function(r){return QIe("d-flex justify-content-end")(n(r))})])};return QIe("card bg-light t--sidebar")(function(){return e.mobileLayout?M1(ra($a.value))(function(a){var r=oo(a);if(r instanceof $a)return zIe("card-body pb-3 d-flex align-items-center justify-content-between")([d1n("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof fr)return t(new _(a));throw new Error("Failed pattern match at SchoolDetails.Chancing.Sidebar (line 14, column 49 - line 21, column 34): "+[r.constructor.name])}):t(E.value)}())};var YIe=Rn(bn),Uv=yn(YIe)(_n(dn)),XIe=gn(hn),Hv=Dn(XIe),ZIe=En(Sn),Bv=wn(ZIe),_1n=ee(B),h1n=js(Ae),g1n=ve(of),D1n=A0(W),y1n=V1(ae),KIe=M0(W),Kq=Q1(L),b1n=G0(W),R1n=ee(me),w1n=wl(Ki),S1n=Zs(L),E1n=Zs(W),eTe=rn(L),C1n=Zs(ae),I1n=J(W),T1n=J(L),F1n=function(){var e=pn(D_)(Uv(Uv(Uv(Uv(Uv(Uv(Uv(Uv(Uv(Uv(Uv(YIe)(XIe))(Hv))(Hv))(Hv))(Hv))(Hv))(Hv))(Hv))(Hv))(Hv))(Hv))(Bv(Bv(Bv(Bv(Bv(Bv(Bv(Bv(Bv(Bv(Bv(ZIe))))))))))))(Hv),n=ut(ha(e));return nc(Hf)(function(t){return function(a){return{tier:a,strength:1-ut(t)/n}}})(e)}(),nTe=function(e){return function(n){return function(t){var a=function(c){return be(0)(_1n(h1n(function(s){return g1n(s.tier)(c)})(F1n))(function(s){return s.strength}))},r=D1n("table border border-light border-3")([y1n("")(KIe("")([Kq("")("Activity"),Kq("")("Tier"),Kq("")("Strength")])),b1n("bg-white")(R1n(w1n(function(c){return-a(_c(c))})(n.ecActivities))(function(c){return KIe("")([S1n("")(y_(c)),E1n("")([eTe("d-none d-md-inline")(fb(_c(c))),eTe("d-md-none")(TP(_c(c)))]),C1n("pt-4")(my("sm")("primary")(a(_c(c))))])}))]),o=hi(n.ecActivities),i=function(){if(o)return vs.value;if(Fe)return t.ecStrength;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 29, column 5 - line 31, column 39): "+[])}(),u=function(){if(i instanceof mv)return X("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof lm)return X("A typical student from your demographic background at this school has a similar resume.");if(i instanceof um)return X("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof vs)return cn;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 63, column 26 - line 71, column 16): "+[i.constructor.name])}(),l=I1n("row mb-2")([T1n("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),sn(e.showUpdateLinks)(Fw)]);return{title:gh("Extracurriculars")(i),testClass:"t--extracurriculars",content:le([l,sn(!o)(r),u])}}}};var AF=function(e){var n=hr(e);return n.length===0?E.value:new _(le(n))};var tTe=Z(Ge),aTe=q(Jn),rTe=dw(L),M1n=Ks(W)()(),xF=J(ae),eW=ne(Ye),oTe=ur(tr),_y=J(W),iTe=Ft(L),uTe=ph(L)(L),lTe=rn(L),G1n=Xn(L)()(),A1n=On(Ja),Aw=j(B),x1n=aa(Ae)(ft),L1n=j(Hu),j1n=an(),N1n=Kn(L),P1n=function(e){var n=function(t){return fy(vh(function(a){return a.percentile}(t)))};return tTe(e.admissions.yieldRate)(function(t){return aTe(le([rTe("Yield rate - overall")(` Yield rates are typically higher at the most prestigious schools, and are a major factor in rankings and prestige. Compared to other schools on CollegeVine, `+(Oa(t.value)+(" is "+(n(t)+`. `)))),or("mr-1")(Oa(t.value))]))})},cTe=function(e){return function(n){var t=function(){if(n<=.1)return" is an extremely competitive school";if(n<=.3)return" is a very competitive school";if(n<=.5)return" is a competitive school";if(n<=.7)return" is a somewhat competitive school";if(Fe)return" is less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 126, column 7 - line 131, column 63): "+[])}();return e+t}},xw=function(e){var n=function(r){return function(o){return function(i){return uw({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=ga(tTe(e.score)(function(r){var o=c0*(1-ut(r)/100);return aTe(n(o)(c0)("#008CFD"))})),a=n(0)(c0)("#EDF2F9");return M1n("")({viewBox:"-100 -100 200 100"})([a,t])},O1n=function(e){return xF("t--admissions-website")(op({className:"d-flex align-items-center",icon:jq.value,text:E.value})(be(e.urls.main)(e.urls.admissions)))},nW=function(e){var n=function(o){return function(i){var u=function(l){return eW(oTe(l(i)*100|0)(l(o)))+"%"};return _y("mb-4")([iTe("mb-4")("Acceptance rate breakdown"),uTe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return le([iTe("mb-4")("Applicant breakdown"),uTe([{title:"Total number of applicants",value:tf(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=oTe(o.women*100|0)(i),l=eW(100-u|0)+"%",c=eW(u)+"%";return le([_y("row mb-3")([_y("col")([X("Women: "),lTe("font-weight-semibold")(c)]),_y("col-auto")([X("Men: "),lTe("font-weight-semibold")(l)])]),xF("progress progress-md bg-warning")(G1n("progress-bar")({style:mn({width:c})})(""))])},r=hr([A1n(Aw(n)(e.admissions.applicants))(e.admissions.admitted),Aw(t)(e.admissions.totalApplicants),Aw(a)(e.admissions.applicants)]);return r.length===0?E.value:new _(le(r))},hy=function(e){var n=function(a){if(a<=.1)return"extremely competitive";if(a<=.3)return"very competitive";if(a<=.5)return"competitive";if(a<=.7)return"somewhat competitive";if(Fe)return"less competitive than most schools";throw new Error("Failed pattern match at SchoolDetails.Overview.Admissions (line 115, column 5 - line 120, column 57): "+[a.constructor.name])},t=ke("")(function(a){return x1n([Oa(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return N0(C4.value)+t},sTe=function(e){return function(n){var t=function(r){return le([rTe("Overall acceptance rate")(hy(n)),or("mr-1")(Oa(r.value))])},a=AF([Aw(xF("row"))(AF([Aw(L1n(xF("col-12 col-md-6 mb-4"))(t))(j1n(n).admissions.acceptanceRate),Aw(xF("col-12 col-md-6 mb-4"))(P1n(n))])),nW(n)]);return _y("card t--admission-stats")([_y("card-body")([_y("d-flex mb-4 align-items-center")([N1n("mb-0 flex-grow-1")("Admissions"),ga(Ei(e.onEdit)(gw.value))]),We(a)(function(r){return le([r,Ya("")])}),O1n(n)])])}};var Rs=J(W),tW=rn(L),ed=Ga(L),gy=Z(Ge),fTe=q(Jn),aW=yC(Rt),vTe=J(L),Lw=ne(Ye),pTe=J(ae),k1n=ee(B),mTe=Vn(W),U1n=Vn(L),H1n=$G(L),B1n=la(L)()(),J1n=yC(Ki),rW=function(e){return function(n){return Rs("row align-items-center mb-2")([Rs("col-auto pr-0")([tW("mr-2")("You:"),function(){if(n.score instanceof E)return tW("text-secondary")("N/A");if(n.score instanceof _)return ed("")(n.showScore(n.score.value0));throw new Error("Failed pattern match at SchoolDetails.TestScores (line 198, column 7 - line 200, column 49): "+[n.score.constructor.name])}(),sn(n.simulated)(tW("text-muted ml-2")("(simulated)"))]),sn(e.showUpdateLinks)(Fw)])}},dTe=function(e){var n=yC(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof mv?We(a.percentiles.p50)(function(o){return Rs("mt-3")([X("Improving your "+(t+" can help your chances, especially if you can earn a ")),ed("")(a.showScore(o)),X(" or higher.")])}):cn}}},q1n=dTe(Ki),_Te=dTe(Rt),hTe=function(e){var n=yC(e);return function(t){if(t.score instanceof E)return cn;if(t.score instanceof _){var a=my("md")(Mw(n(new _(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=ga(gy(t.percentiles.p25)(function(o){return gy(t.percentiles.p75)(function(i){return gy(t.percentiles.p50)(function(u){return fTe(le([Rs("mb-2 mt-3")([X("Typical accepted student: "),ed("")(t.showScore(u)),X(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),my("md")("secondary")(t.normalizeScore(u))]))})})}));return Rs("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 218, column 1 - line 218, column 72): "+[t.constructor.name])}},W1n=hTe(Ki),gTe=hTe(Rt),DTe=Rs("mt-3")([X("Standardized tests are "),ed("")("important"),X(" for your admissions chances.")]),H5=function(e){var n=EIe(e.percentiles),t=aW(e.score)(n);return be(cn)(gy(e.score)(function(a){return gy(n.p25)(function(r){return gy(n.p50)(function(o){return gy(n.p75)(function(i){return fTe(Rs("col-6 my-3")([vTe("large mb-2")(e.title),Rs("")([X("You: "),ed("")(Lw(a))]),pTe("my-2")(my("sm")(Mw(t))(e.normalizeScore(a))),pTe("mb-2 mt-3")(my("sm")("secondary")(e.normalizeScore(o))),Rs("small")([X("Typical accepted: "),ed("")(Lw(o)),X(" ("+(Lw(r)+("\u2013"+(Lw(i)+")"))))])]))})})})}))},oW=function(e){return function(n){return be(!1)(k1n(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},iW=vTe("d-flex align-items-center mb-2 large"),$1n=function(e){return function(n){return function(t){return le([iW("Notes on Test Optional"),mTe("")([ed("")("Our take: consider applying test optional for this school.")]),U1n("")("We ran a couple of scenarios behind the scenes and we think someone in your situation applying to this school would actually benefit from applying test optional."),sn(CIe(t.percentiles))(We(t.percentiles.p25)(function(a){return mTe("")([X("For reference, we estimate that the 25"),H1n("")("th"),X(" percentile "+(n+" score at this school is ")),ed("")(t.showScore(a)),X(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},yTe=$1n(Rt),uW=function(e){return function(n){return Rs("my-3")([X("Read about "),B1n("")(Ue)({href:n,target:"_blank"})(e),X(".")])}},bTe=function(e){return function(n){var t=Rs("mt-4")([X("GPA is "),ed("")("very important"),X(" for your admissions chances.")]),a={score:n.chancingProfile.gpa,percentiles:n.schoolStats.gpa.all,normalizeScore:function(r){return r/4.5},showScore:Kp("0.00"),simulated:oW(e)(Ove.value)};return{title:gh("GPA")(J1n(a.score)(a.percentiles)),testClass:"t--gpa",content:le([rW(e)(a),W1n(a),t,q1n("GPA")(a),uW("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},RTe=function(e){return function(n){var t=Rs("row")([H5({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return ut(u)/800}}),H5({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return ut(u)/800}})]),a=gh("SAT"),r={score:__(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return ut(u)/1600},showScore:Lw,simulated:oW(e)(kve.value)},o=le([sn(Dt(r.score))(iW("SAT Composite score")),rW(e)(r),gTe(r),t,DTe,_Te("SAT score")(r),uW("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=aW(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:le([yTe("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},wTe=function(e){return function(n){var t=gh("ACT"),a={score:h_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return ut(u)/36},showScore:Lw,simulated:oW(e)(Uve.value)},r=Rs("row")([H5({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),H5({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=le([sn(Dt(a.score))(iW("ACT Composite score")),rW(e)(a),gTe(a),r,DTe,_Te("ACT score")(a),uW("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=aW(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:le([yTe("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Qo=J(W),yh=J(L),gu=J(ae),lW=jn(W)()(),cW=xn(pt),LF=oa(L),sW=Pr(L),STe=Ft(W),B5=rn(L),ETe=Z(Ge),z1n=Lu(L),CTe=la(L)()(),ITe=Vn(ae),V1n=Ga(L),TTe=vy(L),Dy=ve(Nm),FTe=jc(Pt(SG)),Q1n=aa(Ae)(ft),Y1n=js(Ae),X1n=ve(ib),Z1n=oa(ae),K1n=Xn(L)()(),ebn=j(me),nbn=ee(me),tbn=Ft(ae),abn=Kn(W),rbn=Lu(ae),obn=j(Up),ibn=Vn(W),ubn=Vn(L),J5=Kn(L),lbn=ee(x5),cbn=rn(ae),MTe=function(e){return Qo("row")([yh("col")(""),gu("col-auto")(lW("btn btn-link t--show-more")(Ue)({onClick:cW(e)(fr.value)})([X("show more "),LF("fe fe-chevron-down")("")]))])},GTe=function(e){return function(n){return function(t){return Qo("row align-items-center mb-3")([gu("col-12 col-lg-6")(Qo("row")([Qo("col-6 order-1 order-lg-2 my-auto")([sW("font-weight-normal fw-normal")("Your chances"),STe("mb-0 t--chancing-percentage-label d-flex align-items-center")([B5("mr-1")(sC(e)({score:ETe(t)(function(a){return a.score}),specialCase:E.value})),M5,B5("mx-2")(""),wIe("")(n),RIe("")(n)])]),gu("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(xw({score:ETe(t)(function(a){return a.score})}))])),Qo("col-12 col-lg-6 py-3 my-auto")([sW("font-weight-normal fw-normal")("Overall acceptance rate"),STe("text-gray-800 mb-0")([X(ke("\u2014")(function(a){return Oa(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),z1n("text-secondary ml-2")(hy(e))])])])}}},ATe=function(e){return le([X(e),X(" requires standardized tests, but currently "),CTe("")(Ue)({href:xm})("your profile"),X(" indicates that you do not have test scores.")])},sbn=function(e){return le([yh("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),GTe(e)(Ia.value)(E.value),ITe("")(ATe(e.name))])},xTe=function(e){return function(n){return function(t){return function(a){var r=Qo("row")([gu("col-auto pr-0")(LF("fe fe-info large text-secondary mt-3")("")),Qo("col")([Qo("large")([V1n("")("Recommendation letters "),B5("text-secondary")("are often required.")]),yh("text-secondary mt-2")(` Having a great recommendation sometimes improves your chances, but it\u2019s most important to make sure that you\u2019re not disqualified because one is missing. `)])]);return Eo(ra(fr.value))(function(o){return function(i){return gu("card")(Qo("card-body t--phase2")([TTe("Your chancing: Phase 2"),sn(Dy(o)($a.value))(yh("mb-4")("")),Xq({card:nTe(e)(t)(a),expanded:Dy(o)(fr.value),onCollapse:i($a.value)}),sn(FTe(n.admissions.reqRecLetters)(new _(bi.value)))(r),sn(Dy(o)($a.value))(MTe(i))]))}})}}}},LTe=function(e){return function(n){return function(t){return function(a){var r=FTe(n.admissions.reqStandardTests)(new _(bi.value)),o=Dt(h_(t))&&r,i=Dt(__(t))&&r,u=function(l){return function(c){return Xq({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:Dy(l.value0)(fr.value),onCollapse:l.value1($a.value)})}};return M1(ra(fr.value))(function(l){return gu("card")(Qo("card-body t--phase1")([TTe("Your chancing: Phase 1"),sn(Dy(l.value0)($a.value))(yh("mb-4")("")),u(l)(bTe),u(l)(GIe),sn(i)(u(l)(RTe)),sn(o)(u(l)(wTe)),sn(Dy(l.value0)($a.value))(MTe(l.value1))]))})}}}},fbn=function(e){return X(Q1n(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},vbn=function(e){return le([X("You\u2019re likely not eligible for admission at "),X(e.name),X(" because it is an "),X(Li(Vd(e.gender))),X(" school. This conclusion is based on the gender information you entered in your "),CTe("")(Ue)({href:xm})("profile"),X(".")])},pbn=function(e){return le([X("Chancing is not available for "),X(e.name),X(` because admission decisions rely heavily on art or music portfolios and auditions. We recommend that you reach out to the admissions department at this school to learn if they can assist with a pre-application portfolio review or audition. `)])},mbn=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof sr)return"test-optional";if(c instanceof Lr)return"with SAT";if(c instanceof Kr)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 290, column 21 - line 293, column 33): "+[c.constructor.name])},i=function(c){var s=Y1n(function(v){return X1n(v.applicationStrategy)(c)})(r.all),f=qq({strategy:c,satOrigin:xC(t),testPolicy:n.admissions.reqStandardTests});return Qo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof _)return[Qo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,sn(s.value0.isRecommendedStrategy)(Z1n("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(cn))]),gu("col-auto pl-md-0")(B5("badge badge-light bg-light text-dark")(R4(n)(s.value0))),yh("col-auto col-md-auto pl-md-0")(sC(n)(s.value0)),gu("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof _)return gu("progress progress-md")(K1n("progress-bar")({style:mn({width:b4(s.value0.score.value0)})})(""));if(s.value0.score instanceof E)return yh("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 308, column 46 - line 313, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof E)return[gu("col pr-0 d-flex align-items-end")(f),yh("col-auto text-gray-800")(function(){if(c instanceof sr)return"";if(c instanceof Lr)return"No SAT score";if(c instanceof Kr)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 320, column 19 - line 323, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 297, column 11 - line 324, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?so(Co)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(ebn(function(s){return s.applicationStrategy})(Mr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return Eo(ra($a.value))(function(s){return function(f){return le([Qo("row mb-2 justify-content-between")([Qo("col")(nbn(u)(function(v){return tbn("d-inline-block mr-2")(qq({strategy:v,satOrigin:xC(t),testPolicy:n.admissions.reqStandardTests}))})),gu("col-auto")(lW("btn btn-link p-0 d-flex align-items-center")(Ue)({onClick:cW(f)($0(s))})(function(){if(s instanceof $a)return[X("See why"),LF("fe fe-chevron-down ml-2")("")];if(s instanceof fr)return[X("Show less"),LF("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 209, column 15 - line 211, column 92): "+[s.constructor.name])}()))]),We(r.top.classification)(function(v){return abn("")([X(n.name+(" is a "+nb(v))),rbn("ml-1 text-secondary h2 mb-0")(SIe(v)),function(){if(n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof bi)return cn;if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof j0)return cn;var p=function(y){return cn},d=Sl(u);return d instanceof _?X(" if you apply "+OIe(obn(o)(d.value0))):p(!0)}()])}),GTe(n)(a)(new _(r.top)),sn(Dy(s)(fr.value))(le([Ya("mb-4"),Qo("")([ibn("")([X("Test policies may change in the future so be sure to check "),op({className:"",text:new _("this school\u2019s website"),icon:bF.value})(be(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof bi?ubn("font-weight-bold fw-bold")(` This school is test-blind, meaning they do not consider your standardized test scores even if you submit them. `):r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof j0?ITe("font-weight-bold fw-bold")(ATe(n.name)):le([sW("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof ns?cn:i(sr.value)}(),i(Lr.value),i(Kr.value)])}()]),function(){return n.admissions.reqStandardTests instanceof _&&n.admissions.reqStandardTests.value0 instanceof bi?cn:r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof j0?cn:We(r.guidance)(function(v){return gu("mt-4")(WIe(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof _?le([Ya(""),lW("btn btn-link t--chancing-breakdown-cta p-0")(Dr("See chancing explanation"))({onClick:cW(e.onSwitchTab.value0)(lu.value)})([LF("material-symbol x-large align-middle pr-2")("format_list_bulleted"),X("See chancing explanation")])]):cn}()])}})};if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof iD)return pbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof rm)return vbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof j0)return sbn(n);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof uD)return l(Re);if(r.top.specialCase instanceof _&&r.top.specialCase.value0 instanceof lD)return fbn(n);if(r.top.specialCase instanceof E)return l(Re);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},jw=function(e){return function(n){return function(t){return function(a){return function(r){return Qo("mb-4")([gu("card mb-0 t--chancing")(Qo("card-body t--chancing-overview")([J5("")("Chancing"),mbn(e)(n)(t)(a)(r)])),Oq(n)])}}}}},dbn=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){return o.top.specialCase instanceof _&&o.top.specialCase.value0 instanceof rm&&e.mobileLayout?jw(n)(t)(a)(r)(o):o.top.specialCase instanceof _&&o.top.specialCase.value0 instanceof rm?gu("row")(gu("col-8")(jw(n)(t)(a)(r)(o))):e.mobileLayout?le([jw(n)(t)(a)(r)(o),J5("")("Detailed profile breakdown"),LTe(e)(t)(a)(o.top),xTe(e)(t)(a)(o.top),GF(e)]):Qo("row")([Qo("col-8")([jw(n)(t)(a)(r)(o),J5("")("Detailed profile breakdown"),LTe(e)(t)(a)(o.top),xTe(e)(t)(a)(o.top)]),Qo("col-4")([We(e.currentUser)(function(i){return gu("mb-3")(WCe(e.whatificatorLink))}),GF(e)])])}}}}}},jTe=function(e){return function(n){return function(t){var a=function(i){return so(Co)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return cn})},r=function(i){return We(nW(e))(function(u){return le([J5("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return le([IF({narrowLayout:!0}),GF(n),r(Re)]);if(Fe)return Qo("row")([Qo("col-8")([IF({narrowLayout:!1}),r(Re)]),gu("col-4")(GF(n))]);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 98, column 5 - line 113, column 12): "+[i.constructor.name])};return function(i){if(i instanceof Sw)return We(L5(i.value1))(dbn(n)(t)(e)(i.value0)(lbn(N5(i.value1))(function(u){return u.top})));if(i instanceof Cw)return a(Re);if(i instanceof Iw)return o(Re);if(i instanceof Ew)return gu("text-center p-6")(cbn("spinner-border spinner-border-sm text-primary")(cn));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(j5({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var NTe=function(e){return function(n){return cn}};var PTe=bv(),yy=J(W)("d-flex")([PTe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:_D}),PTe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:yv})]);var _bn=J(W),OTe=J(ae),hbn=Pr(L),gbn=jn(W)()(),Dbn=pa(Sr),ybn=oa(L),fW=Vn(W),kTe=J(L),vW=Ga(L),bbn=rn(W),UTe=la(L)()(),Rbn=kl(W),HTe=Z4(),pW=Vn(L),wbn=YG(W),BTe=function(e){return function(n){return _bn("row align-items-center w-100")([OTe("col")(hbn("my-0")(n)),OTe("col-auto pr-0")(gbn("btn btn-link p-0 d-flex align-items-center")(Ue)({onClick:Dbn(e)})([X("Cancel "),ybn("fe fe-x ml-2 large")("")]))])}},JTe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return le([fW("mb-1")([kTe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),vW("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),bbn("")([X("(you can always "),UTe("")(Ue)({href:o})("update it"),X(" to make sure)")])]);if(!i)return le([fW("")([kTe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),vW("text-danger")("Your "+(r+" profile is incomplete."))]),UTe("btn btn-primary px-4")(Ue)({href:o})("Complete "+(r+" profile"))]);throw new Error("Failed pattern match at SchoolDetails.Finances.Modal (line 54, column 5 - line 64, column 8): "+[r.constructor.name,o.constructor.name,i.constructor.name])}}},a=function(r){return Rbn("mb-4")([fW("mb-1")([vW("")("Your "+(r.name+" profile,")),X(r.description)]),t(r.name)(r.url)(r.isComplete)])};return HTe({header:BTe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:le([pW("")("Your college cost depends on two types of information:"),wbn("")([a({name:"chancing",url:xm,isComplete:Dt(e.chancingState.effectiveProfile),description:` which includes academics and extracurriculars. This determines your chances of admission to a college, and also whether you\u2019re likely to be eligible for merit-based scholarships. `}),a({name:"financial",url:aA,isComplete:e.hasFinancialProfile,description:` which includes information that colleges will use to determine your financial need. `})])])})}},qTe=function(e){return HTe({header:BTe(e.close)("Please log in to get your personalized cost estimate"),body:le([pW("")(` You need a CollegeVine account to estimate your cost. You\u2019ll enter your information once and unlock estimates for all schools on CollegeVine! `),pW("")("Please log in or sign up to continue:"),yy])})};var Yo=J(W),q5=Kn(L),Ef=J(ae),WTe=Pr(L),mW=Vn(W),$Te=J(L),dW=Ga(L),_W=ph(L)(L),jF=Vn(L),zTe=Ft(W),VTe=Lu(L),Sbn=j(B),Ebn=jn(W)()(),QTe=xn(pt),Cbn=oa(L),YTe=vy(L),Ibn=jn(L)()(),XTe=cs(L),Tbn=la(L)()(),Fbn=Ft(L),Nw=function(){function e(){}return e.value=new e,e}(),W5=function(){function e(){}return e.value=new e,e}(),ZTe=function(){function e(){}return e.value=new e,e}(),NF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hW=function(){function e(){}return e.value=new e,e}(),$5=function(){function e(){}return e.value=new e,e}(),z5=function(e){return function(n){return Yo("card t--financials-zero-cost")([Yo("d-flex align-items-center justify-content-between card-header")([q5("flex-grow-1 my-0")("Cost & scholarships"),We(e.editButton)(Ef("flex-grow-0"))]),Yo("card-body")([WTe("")("The cost to students is zero"),mW("small text-muted mb-0")([X("Some schools do not charge tuition, or they cover the full cost for students. Always check "),op({className:"",icon:_w.value,text:new _("the school\u2019s website")})(n.urls.main),X(` to understand the type of commitment you\u2019re making, or conditions you must satisfy, in order to qualify for the no-cost program. `)])])])}},V5=function(e){return function(n){return function(t){var a=t(new NF(Nw.value));if(n instanceof Nw)return cn;if(n instanceof W5)return JTe(e)({close:a});if(n instanceof ZTe)return qTe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 330, column 3 - line 333, column 45): "+[n.constructor.name])}}},gW=function(e){var n=function(t){return function(a){return{title:a,value:Gu(t)}}};return le([Yo("row py-3")([$Te("col font-weight-semibold")("Income"),Ef("col-auto")(dW("")("Average net cost"))]),Ya("mt-0"),Ef("mt-4")(_W([n(e.quintile1)("$0\u201330,000"),n(e.quintile2)("$30,001\u201348,000"),n(e.quintile3)("$48,001\u201375,000"),n(e.quintile4)("$75,001\u2013110,000"),n(e.quintile5)("Over $110,000")]))])},Q5=function(e){var n=function(a){return function(r){return op({className:"",icon:bF.value,text:new _(r)})(a)}},t=function(){if(e.finAid instanceof _&&e.priceCalculator instanceof _)return le([n(e.finAid.value0)("financial aid website"),X(" or their "),n(e.priceCalculator.value0)("net price calculator")]);if(e.finAid instanceof _&&e.priceCalculator instanceof E)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof E&&e.priceCalculator instanceof _)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof E&&e.priceCalculator instanceof E)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 230, column 16 - line 241, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return le([jF("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),mW("small text-gray-800")([X(` Be sure to confirm your costs and other requirements on the school\u2019s website. Visit the school\u2019s `),t,X(" to learn more.")])])},Mbn=Ef("")(zTe("mb-4")([X("Cost before aid "),VTe("text-secondary")(` The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board. `)])),KTe=jF("")(` Published costs and averages can be misleading: they don\u2019t fully account for your family\u2019s finances (for financial aid) or your academic profile (for scholarships). `),PF=le([KTe,jF("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),DW=zTe("mb-3 mt-4")([X("Average net cost after aid "),VTe("text-secondary")(` The average of the amount actually paid by students, per family income range. `)]),yW=function(e){return le([Ef("")(DW),Ya("mb-0"),Ef("mb-4")(gW(e))])},bW=function(e){return function(n){return Yo("card t--financials-cost-before-aid")([Yo("card-body")([Yo("d-flex align-items-center justify-content-between mb-5")([q5("my-0 mr-3 flex-grow-1")("Cost & scholarships"),ga(Ei(n.onEdit)(dh.value))]),Mbn,_W([{title:"In-state total cost",value:ke("unknown")(function(t){return Gu(ut(t))})(Yp(n.school))},{title:"Out-of-state total cost",value:ke("unknown")(function(t){return Gu(ut(t))})(kE(n.school))}]),be(cn)(Sbn(yW)(n.school.averageNetPrice)),sn(n.showCta)(le([PF,Ebn("btn btn-link t--estimate-my-cost p-0")(Ue)({onClick:QTe(e)(new NF(W5.value))})([Cbn("material-symbol x-large align-middle pr-2")("calculate"),X("Estimate my personalized net cost")])]))])])}},RW=function(e){return function(n){var t=function(o){return function(i){return Yo("col-12 mt-2 col-md-6 mt-md-0")([YTe(i),or("")(ke("unknown")(function(u){return Gu(ut(u))})(o))])}},a=Yo("row")([Yo("col-12 col-md mb-2 mb-md-4")([YTe("Your estimated net cost"),$Te("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),sn(n.showCta)(Ef("col-12 col-md-auto mb-3 mb-md-0")(Ibn("btn btn-primary px-4 t--estimate-my-cost")(Ue)({onClick:QTe(e)(new NF(ZTe.value))})("Estimate my cost")))]),r=le([XTe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),mW("")([X("What does it cost to attend "+(n.school.name+("? Below we\u2019ve mapped out the tuition, fees, and room and board that"+(" will help you understand how much you will pay for "+(n.school.name+`. We\u2019ve also included financial aid information to help you pay for college. If you\u2019d like to get a personal estimated cost of attendance based on your situation, use our `))))),Tbn("")(Ue)({href:aA})("free cost calculator"),X(".")])]);return Yo("card border border-light rounded p-4 mx-2 mb-4")([sn(n.showExtended)(r),a,Yo("row")([t(Yp(n.school))("In-state"),t(kE(n.school))("Out-of-state")])])}},OF=function(e){return function(n){return function(t){return function(a){if(a instanceof hW){var r=Yo("d-flex align-items-center justify-content-between mb-3")([q5("my-0 mr-3")("Cost & scholarships"),ga(e.editButton)]);return le([Yo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof E)return[Yo("card-body")([r,RW(n)({school:t,showCta:e.showCta,showExtended:!1}),PF,yy])];if(t.averageNetPrice instanceof _)return[Yo("card-body")([q5("")("Cost & scholarships"),RW(n)({school:t,showCta:e.showCta,showExtended:!1}),DW,gW(t.averageNetPrice.value0),Yo("px-3")([PF,yy])])];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 80, column 5 - line 100, column 10): "+[t.averageNetPrice.constructor.name])}())])}if(a instanceof $5){var o=function(){var i=function(u){return function(l){return{title:l,value:ke("unknown")(function(c){return Gu(ut(c))})(u)}}};return le([Yo("row mx-0 py-3 border-bottom")([Ef("col pl-0")(dW("")("Type")),Ef("col-auto pr-0")(dW("")("Annual Cost"))]),Ef("mt-4")(_W([i(t.tuitionInState)("In-state tuition"),i(t.feesInState)("In-state fees"),i(t.tuitionOutOfState)("Out-of-state tuition"),i(t.feesOutOfState)("Out-of-state fees"),i(t.costRoomBoard)("Room and board")]))])}();return le([RW(n)({school:t,showCta:e.showCta,showExtended:!0}),Ef("card")(Yo("card-body")([XTe("mb-4")("What does it cost to attend "+(t.name+"?")),WTe("")("Net Price Breakdown"),jF("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),Yo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof E)return[PF,yy];if(t.averageNetPrice instanceof _)return[DW,gW(t.averageNetPrice.value0),function(){return e.showCta?Yo("")([PF,yy]):KTe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Ef("card")(Yo("card-body")([Fbn("mb-4")("Sticker Price Breakdown"),jF("")(` The sticker price is the advertised price of the school. You may not have to pay the full sticker price if you get financial aid or scholarships. `),o]))])}throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 77, column 1 - line 77, column 139): "+[e.constructor.name,n.constructor.name,t.constructor.name,a.constructor.name])}}}};var Gbn=q(_t),Abn=an(),kF=J(ae),ws=J(W),eFe=cs(L),by=Vn(L),xbn=la(W)()(),wW=rn(L),nFe=J(L),tFe=Ga(L),Lbn=xi(Rd),jbn=j(me),Nbn=Kn(L),Pbn=Ft(ae),Obn=vy(L),kbn=j(B),Ubn=jn(W)()(),Hbn=xn(pt),Bbn=oa(L),Jbn=ve(Pt(mr)),aFe=function(e){return function(n){return Gbn(n.value0)}},rFe=function(){return Nw.value}(),SW=function(e){var n=function(){var a=Abn(e.id);return a==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?{grants:!0,loans:!1,scholarships:!1,workStudy:!0}:{grants:!0,loans:!0,scholarships:!0,workStudy:!0}}(),t=function(a){return function(r){return function(o){return sn(a)(kF("card")(ws("card-body")([eFe("")(r),o])))}}};return ws("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(le([by("")("Grants can be given out by the federal government, your state, or the college and are based on your financial need. Grants do not need to be repaid."),X("% of undergraduates that receive Pell grants"),or("")(Oa(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(by("mb-2")("Scholarships are awarded based on your your financial need or academic achievements. They do not need to be repaid but you may have to reapply for them each year.")),t(n.loans)("Student loans")(le([by("")("Student loans are sums of money given to students to help them pay for college now. You must pay this money back later with interest."),ws("row")([ws("col")([X("% of full-time first-time undergraduates awarded federal student loans"),or("")(Oa(e.fracLoans))]),ws("col")([X("Avg. amount of federal student loans awarded to full-time first-time undergrads"),or("")(Gu(ut(be(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(le([by("")("Work-study is when you work during the school year, typically an on-campus job. The money you make pays a part of the tuition. It\u2019s a great opportunity, but it\u2019s not free."),xbn("d-flex align-items-center")(Ue)({href:wve,target:"_blank"})([wW("material-symbol pr-2")("open_in_new"),wW("")("Learn more about how it works and what types of jobs are available")])]))])},qbn=function(e){return function(n){var t=function(l){return[ws("row align-items-center")([kF("col")(l.title),kF("col-auto")(l.value)])]},a=le([by("mb-1")("Your estimated net cost"),or("")(Gu(n.estimatedNetCost)+" / year *")]),r=be(0)(n.estimatedMeritAid),o=le([nFe("mb-3")("Scholarships"),nFe("small text-gray-800")(function(){var l=r>0;return l?` Based on your profile and this school's historical data, we think you could get a merit scholarship of this amount. `:` Based on your profile and the amount of need-based aid projected, it seems unlikely that you\u2019ll receive additional merit scholarships at this college. `}())]),i=function(l){var c=l>0;return c?tFe("")("-"+Gu(l)):wW("text-muted")("Unlikely")},u=ws("mb-2")(Lbn([Ya("mt-3 mb-3")])(jbn(t)([{title:X("Cost (tuition, fees, room and board)"),value:tFe("")(Gu(n.stickerPrice))},{title:X("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return le([kF("card t--financials-personal-estimate-breakdown")(ws("card-body")([Nbn("mb-5")("Cost & scholarships"),a,Ya("mb-4 mt-2"),Pbn("mb-4 mt-2")(Obn("Your estimated net cost breakdown")),u,Ya("mt-3 mb-3"),kF("mb-n3")(Q5(e.urls))])),SW(e)])}},Wbn=function(e){return function(n){var t=ws("row mb-4")([ws("col-12 col-md-6")([by("mb-1")("In-state total cost"),or("")(ke("unknown")(function(a){return Gu(ut(a))})(Yp(n)))]),ws("col-12 col-md-6")([by("mb-1")("Out-of-state total cost"),or("")(ke("unknown")(function(a){return Gu(ut(a))})(kE(n)))])]);return ws("card t--financials-cost-before-aid")([ws("card-body")([eFe("fw-normal font-weight-normal")("Cost"),t,be(cn)(kbn(yW)(n.averageNetPrice)),Ubn("btn btn-link t--estimate-my-cost p-0")(Ue)({onClick:Hbn(e)(new NF(W5.value))})([Bbn("material-symbol x-large align-middle pr-2")("calculate"),X("Estimate my personalized net cost")])])])}},oFe=function(e){return function(n){return function(t){return function(a){return function(r){return le([V5(n)(a)(r),function(){var o=Jbn(Yp(e))(new _(0));if(o)return z5({editButton:E.value})(e);var i=dr(n.currentUser);if(i)return le([ga(uf(n.configuration)(OF({showCta:!1,editButton:E.value})(r)(e)($5.value))),ga(Zu(n.configuration)(OF({showCta:!0,editButton:E.value})(r)(e)($5.value))),SW(e)]);var u=Dt(t);return u?We(t)(qbn(e)):le([Wbn(r)(e),SW(e)])}()])}}}}};var $bn=an(),iFe=jn(L)()(),uFe=pa(Sr),Y5=J(W),EW=J(ae),zbn=Jo(),Vbn=ve(Pt(R3)),CW=ee(B),Qbn=ve(Pt(b3)),lFe=oa(L),Ybn=J(L),cFe=rn(L),Xbn=Si(ae)()(),sFe=function(e){var n=$bn(e.school),t=function(u){return iFe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)(Ue)({onClick:uFe(e.onIgnoreInvitation)})("Ignore")},a="fe fe-link bg-ocean mr-3 line-height-1 rounded-circle "+function(){return e.mobileLayout?"p-2":"p-3 large"}(),r=Fo(uC(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return Y5("card-footer bg-white "+u);var l=EW("container card"),c=Y5("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return iFe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)(Ue)({onClick:uFe(e.onAcceptInvitation)})("Accept")};return au(zbn(ra(Vbn(CW(r)(function(u){return u.status}))(new _(ui.value))&&Qbn(CW(r)(function(u){return u.initiator}))(new _(Ji.value))))(function(u){return Bo(o_(u.value0)(function(l){return We(CW(r)(function(c){return c.status}))(function(c){return EW("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([Y5("d-flex flex-nowrap align-items-center mr-md-3")([lFe(a)(""),Ybn("")(n.name+" wants to connect!")]),EW("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof ui&&e.mobileLayout)return le([i("mr-3"),t("")]);if(c instanceof ui)return le([t("mr-3"),i("")]);if(c instanceof hc)return cFe("text-success")("Connected");if(c instanceof el)return cFe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),Y5("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([X("What is a connection?"),Xbn({placement:vf,overlay:X(` A connection means a school is interested in your profile and accomplishments and wants to share more about their school. A connection does not mean you\u2019ve been accepted to the college. However, it\u2019s a great way to build relationships and find out if it\u2019s the right school for you! `),overlayStyle:mn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?P_:mge}()})(lFe("fe fe-info pl-2")(""))])]))})}))}))};var up=` (min-width: 1200px) 1140px, (min-width: 992px) 960px, (min-width: 768px) 720px, (min-width: 576px) 540px `;Jt();var IW=class extends bt.Component{constructor(){super()}componentDidMount(){let n=document.querySelector("."+this.props.containerClassName);!n||(this.props.onMountShowContainer&&(n.style.display="block"),this.flickity=new Flickity(n,{cellAlign:"left",contain:!0,imagesLoaded:!0,pageDots:!!this.props.pageDots,prevNextButtons:!0,wrapAround:!0}))}render(){return null}componentWillUnmount(){this.flickity&&this.flickity.destroy()}};var Zbn=lc(),Ic=function(){return function(){return Zbn(IW)}};var Kbn=an(),fFe=oa(L),vFe=rn(L),TW=J(ae),eRn=J(W),nRn=Kn(L),tRn=ps()(),aRn=xn(pt),wa=function(e){var n=function(){return e.module.isLiked?"t--content-module-liked-icon":"t--content-module-not-liked-icon"}(),t=function(){var o=function(u){return u.gender}(Kbn(e.school)),i=Sv(e.module.data);return i instanceof U0&&o instanceof N1?"Alumni spotlight":i instanceof U0&&o instanceof P1?"Alumnae spotlight":i instanceof U0&&o instanceof Vg?"Alumni spotlight":w_(Sv(e.module.data))}(),a=sn(e.isUserHq)(function(){return e.isPublished?le([fFe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),vFe("text-success")("Live")]):le([fFe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),vFe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return TW("card-header")(eRn("row align-items-center")([nRn("col-auto mb-0")(t),TW("col d-flex align-items-center justify-content-end")(a),sn(e.showLikeButton)(TW("col-auto")(tRn("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:aRn(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new _(rI.value):new _(aI.value)}(),moduleId:e.module.id})})))]))};var rRn=Ma(),X5=ee(B),UF=ne(Ye),oRn=aa(Ae)(ft),iRn=xi(ft),uRn=ee(me),lRn=x0()(),cRn=qe(da)(wu(Ro)(function(e){var n=e>=5120;return n?E.value:new _(new Pe(e,e*1.16))})(640))([5120]),Xo=function(){return function(e){return function(n){var t=rRn(n),a=af({key:"auto",value:kn(t.auto)("format")})(om({key:"q",value:X5(xr(t.q))(UF)})(om({key:"dpr",value:X5(xr(t.dpr))(UF)})(om({key:"ar",value:xr(t.ar)})(om({key:"crop",value:xr(t.crop)})(om({key:"fit",value:xr(t.fit)})(om({key:"h",value:X5(xr(t.h))(UF)})(om({key:"w",value:X5(xr(t.w))(UF)})(be(t.src)(Eg("?")(t.src)))))))))),r=function(i){var u=UF(Zr(i));return oRn([a,"&w=",u," ",u,"w"])},o=function(){if(zE(t.w))return iRn(",")(uRn(cRn)(r));if(Fe)return"";throw new Error("Failed pattern match at Utils.Imgix (line 61, column 5 - line 65, column 13): "+[])}();return lRn(e)({src:a,srcSet:o,style:kn(t.style)(mn({})),alt:kn(t.alt)(""),sizes:kn(t.sizes)("")})}}};var sRn=ne(ji),pFe=J(W),fRn=Xn(W)()(),vRn=ee(me),pRn=Xo(),mRn=Ic()(),mFe=function(e){var n="t--academic-photo-gallery-carousel-"+sRn(va(e.school));return pFe("card")([wa(e),pFe("card-body")([fRn("flickity-viewport-visible mb-4 "+n)({style:mn({display:"none"})})(vRn(e.photos)(function(t){return pRn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:up})})),mRn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var dRn=J(ae),_Rn=rp(),Z5=J(W),hRn=Xn(W)()(),gRn=ee(me),DRn=Kn(L),dFe=J(L),yRn=Ic()(),_Fe=function(e){var n=function(t){return We(t)(function(a){return dRn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(_Rn({source:new ku({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:sw.value}))})};return Z5("card")([wa(e),Z5("card-body mb-4")([hRn("flickity-viewport-visible t--alumni-spotlight-carousel")({style:mn({display:"none"})})(gRn(e.props.alumni)(function(t){return Z5("row py-3 px-5 w-100")([n(t.avatarURL),Z5("col-12 col-md ml-2")([DRn("mb-1")(t.name),dFe("small text-secondary")(t.degreeGraduationYear),dFe("mt-3")(t.bio)])])})),yRn({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var K5=J(W),bRn=ee(me),RRn=J(ae),wRn=L0(L)()(),SRn=Ft(L),ERn=Vn(L),hFe=function(e){return K5("card")([wa(e),K5("card-body")(bRn(e.videos)(function(n){return K5("row mb-4 align-items-center text-center text-md-left")([RRn("col-12 col-md-auto")(wRn("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),K5("col mt-2 mt-md-0")([SRn("")(n.title),ERn("")(p_(n.duration))])])}))])};var CRn=an(),gFe=aa(Ae)(ft),e6=ne(eu),DFe=zCe(W),FW=J(L),yFe=J(W),IRn=x0()(),TRn=ph(L)(ae),bFe=function(e){var n=CRn(e.school),t=x1(FE(n.address)).lng,a=x1(FE(n.address)).lat,r=function(i){return gFe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",e6(t),",",e6(a)+")/",e6(t),",",e6(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof cc)return DFe({icon:"map-pin",body:[FW("")(i.value0.street),FW("")(gFe([i.value0.city,", ",Wd(i.value0.state)," ",i.value0.zip]))]});if(i instanceof Ml)return DFe({icon:"map-pin",body:[FW("")(i.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.ContentModules.CampusLocation (line 40, column 15 - line 55, column 10): "+[i.constructor.name])};return yFe("card")([wa(e),yFe("card-body")([IRn("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),TRn([{title:"Campus Setting",value:X(zg(n.setting))},{title:"Region",value:X(TE(n.address))}]),o(n.address)])])};var FRn=ne(ji),RFe=J(W),MRn=Xn(W)()(),GRn=ee(me),ARn=Xo(),xRn=Ic()(),wFe=function(e){var n="t--campus-photo-gallery-carousel-"+FRn(va(e.school));return RFe("card")([wa(e),RFe("card-body")([MRn("flickity-viewport-visible mb-4 "+n)({style:mn({display:"none"})})(GRn(e.photos)(function(t){return ARn("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:up})})),xRn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var n6=J(W),LRn=ee(me),jRn=J(ae),NRn=L0(L)()(),PRn=Ft(L),ORn=Vn(L),SFe=function(e){return n6("card")([wa(e),n6("card-body")(LRn(e.videos)(function(n){return n6("row mb-4 align-items-center text-center text-md-left")([jRn("col-12 col-md-auto")(NRn("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),n6("col mt-2 mt-md-0")([PRn("")(n.title),ORn("")(p_(n.duration))])])}))])};var EFe=Jo(),kRn=Xn(ae)()(),HF=J(W),URn=Kn(L),t6=J(ae),HRn=ii()(),CFe=xn(mo),BRn=rn(L),IFe=$e(Xe),JRn=ee(me),bh=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return Mr(function(l){return r(u)(e.filter.toValue(l))})(o)};return ke(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:Mr(function(o){return Bc(Li(a))(Li(e.search.toTerm(o)))})(r)}};return au(EFe(ra(""))(function(a){return EFe(ra(E.value))(function(r){return Bo(kRn("")({style:mn({marginBottom:"10rem"})})(HF("card")([URn("card-header")(e.title),HF("card-body")([HF("form-row")([t6("col-12 col-md-6")(HF("input-group input-group-merge")([HRn("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:CFe(a.value1)(mf)}),t6("input-group-prepend")(t6("input-group-text")(BRn("fe fe-search font-weight-bold fw-bold")("")))])),t6("col-12 col-md-6 mt-2 mt-md-0")(Rf(new Ou("Search"))()({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:IFe,getOptionValue:IFe,onSelect:CFe(r.value1)(_.create),isClearable:!0,onClear:r.value1(E.value),placeholder:e.filter.placeholder}))]),HF("mt-5")(JRn(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var qRn=j(AE);var TFe=function(e){return function(n){return function(t){return Wte(qRn(dg(n))(zte(t)))({newSeed:e,size:n})}}};var BF=J(W),JF=J(ae),WRn=Y1(L)()(),$Rn=an(),zRn=Kn(L),FFe=Vn(L),MFe=J(L),VRn=ne(Ye),GFe=ve(sa),QRn=Id(Tt),AFe=Pp(Tt),MW=ee(me),xFe=$e(Xe),YRn=xn(mo),XRn=jn(L)()(),ZRn=xn(pt),LFe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return le([BF("row no-gutters g-0")([JF("col-auto")(WRn("mr-3 fe fe-book-open xx-large")({style:mn({color:be("")(function(l){return l.colors.primary}($Rn(e.school)))})})("")),BF("col mt-3 pr-5")([zRn("")(n(u)),We(u.description)(function(l){return FFe("")(l)}),We(u.size)(function(l){return MFe("mt-2 text-secondary")("Expected class size: "+VRn(l))}),We(u.instructors)(function(l){return MFe("mt-2 text-secondary")("Taught by: "+l)})])]),Ya("")])},a=function(u){var l=Mr(function(){var c=GFe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return TFe(e.randomSeed)(2)(l)},r=QRn(AFe(MW(e.props.courses)(function(u){return u.department}))),o=AFe(MW(e.props.courses)(function(u){return u.department})),i=bh({title:w_(Sv(e.module.data)),items:e.props.courses,renderItem:function(u){return JF("mb-5")(t(u))},search:{className:"t--course-name-search",placeholder:"Search a course",toTerm:n},filter:{className:"t--course-location-selector",placeholder:"All departments",toValue:function(u){return u.department},items:r,predicate:GFe}});return Eo(ra(gi(o)))(function(u){return function(l){return BF("card")([wa(e),BF("card-body")([JF("w-50")(Rf(new Ou("Select Department"))()({options:o,getOptionLabel:xFe,getOptionValue:xFe,onSelect:YRn(l)(_.create),value:u})),We(u)(function(c){return le([BF("mt-4")([FFe("text-secondary")("A sample of courses for this department"),le(MW(a(c))(t))]),JF("row mt-4")(JF("col-6 offset-3")(XRn("btn btn-outline-primary btn-block")(Ue)({onClick:ZRn(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var KRn=xi(ft),qF=J(W),ewn=Kn(L),jFe=Vn(L),nwn=J(L),a6=J(ae),NFe=$e(Xe),twn=xn(mo),awn=ee(me),rwn=jn(L)()(),own=xn(pt),PFe=function(e){var n=function(u){return function(l){return u?new _(l):E.value}},t=function(u){return KRn(", ")(hr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=Mr(function(c){return Bc(u)(t(c))})(e.props.degrees);return dg(3)(l)},r=function(u){return le([qF("row no-gutters g-0")([qF("col mt-3 pr-5")([ewn("")(u.name),jFe("")(u.description),nwn("mt-2 text-secondary")("Offerings: "+t(u))])]),Ya("")])},o=["Major","Minor","Concentration"],i=bh({title:w_(Sv(e.module.data)),items:e.props.degrees,renderItem:function(u){return a6("mb-5")(r(u))},search:{className:"t--degree-name-search",placeholder:"Search a degree option",toTerm:function(u){return u.name}},filter:{className:"t--degree-location-selector",placeholder:"All offerings",toValue:function(u){return t(u)},items:o,predicate:function(u){return Bc(u)}}});return Eo(ra(gi(o)))(function(u){return function(l){return qF("card")([wa(e),qF("card-body")([a6("w-50")(Rf(new Ou("Select Degree Option"))()({options:o,getOptionLabel:NFe,getOptionValue:NFe,onSelect:twn(l)(_.create),value:u})),We(u)(function(c){return le([qF("mt-4")([jFe("text-secondary")("A sample of degree options for this offering"),le(awn(a(c))(r))]),a6("row mt-4")(a6("col-6 offset-3")(rwn("btn btn-outline-primary btn-block")(Ue)({onClick:own(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var iwn=ne(ji),uwn=J(ae),lwn=rp(),r6=J(W),cwn=Xn(W)()(),swn=ee(me),fwn=Kn(L),OFe=J(L),vwn=Ic()(),kFe=function(e){var n="t--faculty-spotlight-carousel-"+iwn(va(e.school)),t=function(a){return We(a)(function(r){return uwn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(lwn({source:new ku({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:sw.value}))})};return r6("card")([wa(e),r6("card-body mb-4")([cwn("flickity-viewport-visible "+n)({style:mn({display:"none"})})(swn(e.faculty)(function(a){return r6("row py-3 px-5 w-100")([t(a.avatarUrl),r6("col-12 col-md ml-2")([fwn("mb-1")(a.name),OFe("small text-secondary")(a.department),OFe("mt-3")(a.bio)])])})),vwn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var pwn=Xn(L)()(),GW=ee(me),Ry=J(W),o6=J(L),mwn=Si(ae)()(),dwn=Ks(W)()(),_wn=Ma(),hwn=Kn(L),WF=J(ae),gwn=function(e){return function(n){var t=function(c){return pwn("rounded")({style:mn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=le(GW(e)(function(c){return Ry("d-flex align-items-center mt-2")([t(c.color),o6("ml-2")(c.name+(": "+c.pct))])})),r=le(GW(e)(function(c){return le([Ry("row align-items-center")([Ry("col text-nowrap")([Ry("d-flex align-items-center")([t(c.color),o6("ml-2")(c.name)])]),o6("col-auto font-weight-semibold")(c.pct)]),Ya("my-3")])})),o=function(){return n?r:a}(),i=function(c){return Ry("d-flex flex-column align-items-center")([X(c.name),Ry("d-flex align-items-center")([t(c.color),o6("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*c0*s.value;return{angle:f,visual:mwn({overlay:i(s)})(uw({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=dwn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(GW(zM(u)({angle:0,visual:cn})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},i6=function(){return function(e){var n=_wn(e),t=gwn(n.segments)(n.tableLegend),a=We(xr(n.title))(hwn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return WF("col-12 text-center col-md mb-3 mb-md-0")(WF("bg-very-light-grey py-4")(o));if(Fe)return WF("col-12 text-center col-md-4")(o);throw new Error("Failed pattern match at Component.PieChart (line 57, column 5 - line 62, column 52): "+[o.constructor.name])};return n.stackLegend?le([a,t.chart,t.legend]):le([WF("ml-4")(a),Ry("row align-items-center justify-content-center")([r(t.chart),WF("col")(t.legend)])])}};var Dwn=ee(me),ywn=i6(),bwn=J(W),Rwn=J(ae),UFe=function(e){var n=function(){var t=Dwn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:Oa(a.percentage)}});return ywn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return bwn("card")([wa(e),Rwn("card-body")(n)])};var AW=J(W),HFe=J(ae),wwn=L0(L)()(),Swn=Ft(L),Ewn=Vn(L),BFe=function(e){return AW("card")([wa(e),HFe("card-body")(AW("row mb-4 align-items-center text-center text-md-left")([HFe("col-12 col-md-auto")(wwn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),AW("col mt-2 mt-md-0")([Swn("")(e.video.title),Ewn("")(p_(e.video.duration))])]))])};var HW=ya(WFe());var Own=Vc(),kwn=function(e){return e},Uwn=function(e){return e};var $Fe=function(e){var n=Own(e);return function(){return function(){return n(HW.default)}}},zFe=function(e){return kwn(xa(e))};var VFe=Uwn,QFe=xa("auto");var Hwn=$Fe(ae)()(),l6=J(W),Bwn=Xn(W)()(),Jwn=xn(pt),qwn=Ft(L),YFe=J(L),Wwn=la(L)()(),$wn=j(me),zwn=function(e){var n=function(a){return Hwn({duration:VFe(350),height:function(){if(a instanceof $a)return zFe(0);if(a instanceof fr)return QFe;throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 43, column 19 - line 45, column 43): "+[a.constructor.name])}()})},t=function(a){if(a instanceof $a)return"down";if(a instanceof fr)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 38, column 5 - line 38, column 31): "+[a.constructor.name])};return Eo(ra($a.value))(function(a){return function(r){return l6("")([Bwn("row border-bottom align-items-center mb-4")({onClick:Jwn(r)($0(a))})([qwn("mb-4 mx-2")(e.name),YFe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(l6("mb-4")([YFe("mb-3")(e.description),Wwn("")(Ue)({href:e.url,target:"_blank"})("Learn more here")]))])}})},XFe=function(e){return l6("card")([wa(e),l6("card-body")($wn(zwn)(e.props.grantsAndScholarships))])};var Vwn=ne(ji),$F=J(W),Qwn=cs(L),ZFe=Vn(L),Ywn=Xn(W)()(),KFe=ee(me),Xwn=Xo(),Zwn=Ic()(),Kwn=ef(L),eSn=Kn(L),eMe=function(e){var n="t--local-area-spotlight-carousel-"+Vwn(va(e.school));return $F("card")([wa(e),$F("card-body")([Qwn("")(e.area.name),ZFe("")(e.area.description),$F("mb-4")([Ywn("flickity-viewport-visible "+n)({style:mn({display:"none"})})(KFe(e.area.images)(function(t){return Xwn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:up})})),Zwn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),Kwn("small text-uppercase mt-6 mb-4")("Top things to do"),$F("row")(KFe(e.activities)(function(t){return $F("col-12 col-md-6")([eSn("")(t.name),ZFe("")(t.description)])}))])])};var nSn=jn(L)()(),tSn=ve(Wfe),aSn=xn(pt),rSn=ne(ji),BW=J(W),nMe=Vn(L),oSn=A0(ae),iSn=G0(W),tMe=ee(me),uSn=M0(W),aMe=Zs(L),lSn=Pr(L),cSn=xi(ft),sSn=Xn(W)()(),fSn=Xo(),vSn=Ic()(),rMe=function(e){var n=function(r){return function(o){return function(i){return We(r)(function(u){return nSn("btn "+function(){var l=tSn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())(Ue)({onClick:aSn(i)(u)})($fe(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(rSn(va(e.school))+("-"+ke("")(A3)(r)))},a=function(r){if(r instanceof H0)return e.residence;if(r instanceof S_)return e.athletic;if(r instanceof Am)return e.dining;throw new Error("Failed pattern match at SchoolDetails.ContentModules.NonAcademicFacilities (line 73, column 18 - line 76, column 32): "+[r.constructor.name])};return Eo(ra(H0.value))(function(r){return function(o){return BW("card")([wa(e),BW("card-body")([BW("btn-group btn-group-toggle w-100 mb-4")([n(e.residence.id)(r)(o),n(e.athletic.id)(r)(o),n(e.dining.id)(r)(o)]),nMe("")(a(r).description),oSn("table table-lg")(iSn("")(tMe(a(r).information)(function(i){return uSn("")([aMe("")(i.name),aMe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),We(a(r).list)(function(i){return le([lSn("uppercase text-secondary")(be("")(zfe(a(r).id))),nMe("")(cSn(", ")(i))])}),sSn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:mn({display:"none"})})(tMe(function(i){return i.photos}(a(r)))(function(i){return fSn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:up})})),vSn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:A3(be(H0.value)(a(r).id))})])])}})};var pSn=J(W),mSn=J(ae),dSn=A0(ae),_Sn=G0(W),hSn=ee(me),gSn=M0(W),oMe=Zs(L),iMe=function(e){return pSn("card")([wa(e),mSn("card-body")(dSn("table table-lg")(_Sn("")(hSn(e.props.costs)(function(n){return We(n.description)(function(t){return gSn("")([oMe("")(n.name),oMe("text-right w-50")(t)])})}))))])};var Pw=J(W),DSn=J(ae),ySn=Xo(),bSn=Ft(L),uMe=Vn(L),RSn=Ga(L),wSn=ef(L),SSn=j(me),lMe=function(e){var n=function(t){return Pw("row mb-4 align-items-center text-center text-md-left")([DSn("col-12 col-md-3")(ySn("rounded img-fluid")({src:t.url,fit:"crop",crop:"edges",ar:"3:2",sizes:` (min-width: 1200px) 285px, (min-width: 992px) 215px, (min-width: 768px) 180px, (min-width: 576px) 540px `})),Pw("col mt-2 mt-md-0")([bSn("")(t.name)])])};return Pw("card")([wa(e),Pw("card-body")([uMe("")(e.description),Pw("row pt-5 mx-1 border-bottom")([uMe("col-6 px-0")("Religious affiliation"),RSn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),wSn("small text-uppercase my-5")("Sacred spaces and religious facilities"),Pw("")(SSn(n)(e.locations))])])};var zF=J(W),JW=Vn(L),ESn=Ga(L),CSn=J(ae),ISn=L0(L)()(),TSn=Ft(L),FSn=Xo(),cMe=function(e){return zF("card")([wa(e),zF("card-body")([JW("")(e.spectatorSports.description),zF("row pt-5 mx-1 border-bottom")([JW("")("Conference affiliation"),ESn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),zF("row my-4 align-items-center")([CSn("col-12 col-md-auto")(ISn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),zF("col mt-2 mt-md-0")([TSn("")(e.spectatorSports.video.title),JW("")(p_(e.spectatorSports.video.duration))])]),We(e.spectatorSports.photoUrl)(function(n){return FSn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:up})})])])};var wy=J(W),sMe=Kn(L),qW=Vn(L),MSn=Id(Tt),GSn=Pp(Tt),WW=ee(me),ASn=ne(ji),VF=J(ae),xSn=ve(sa),LSn=Xn(W)()(),jSn=Xo(),NSn=Ic()(),fMe=rn(L),PSn=ne(Ye),OSn=jn(L)()(),kSn=xn(pt),vMe=function(e){var n=function(o){return le([wy("col mt-3 pr-5")([sMe("mb-2")(o.name),qW("text-secondary")(o.category),We(o.description)(function(i){return qW("")(i)})]),Ya("")])},t=MSn(GSn(WW(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+ASn(va(e.school)),r=bh({title:w_(Sv(e.module.data)),items:e.props.groups,renderItem:function(o){return VF("mb-5")(n(o))},search:{className:"t--student-group-search",placeholder:"Search a student group",toTerm:function(o){return o.name}},filter:{className:"t--student-group-category-selector",placeholder:"All categories",toValue:function(o){return o.category},items:t,predicate:xSn}});return wy("card")([wa(e),wy("card-body")([wy("mb-4")([LSn("flickity-viewport-visible "+a)({style:mn({display:"none"})})(WW(e.props.photos)(function(o){return jSn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),NSn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),wy("row mt-6")([VF("col")(fMe("large")("Student-run groups and organizations")),VF("col-auto")(fMe("large")(PSn(ha(e.props.groups))))]),Ya(""),wy("row")(WW(Mr(function(o){return o.isFeatured})(e.props.groups))(function(o){return wy("col-12 col-md-6")([sMe("mt-4 mb-2")(o.name),qW("text-secondary small")(o.category)])})),VF("row mt-4")(VF("col-6 offset-3")(OSn("btn btn-outline-primary btn-block")(Ue)({onClick:kSn(e.showOverlay)(r)})("All student groups")))])])};var USn=Id(Tt),HSn=Pp(Tt),BSn=ee(me),QF=J(W),JSn=Xo(),pMe=Kn(L),mMe=Vn(L),Ow=J(L),qSn=ve(sa),WSn=VG(W),$Sn=Pr(L),zSn=j(me),dMe=J(ae),VSn=jn(L)()(),QSn=xn(pt),_Me=function(e){var n=function(o){return o.city+(", "+o.country)},t=USn(HSn(BSn(e.props.programs)(n))),a=function(o){return QF("col-12 mb-4 col-md-6 mb-md-0")([We(o.imageURL)(function(i){return JSn("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),pMe("mt-3")(o.name),We(o.description)(function(i){return mMe("")(i)}),Ow("mt-n2 text-secondary")("Location: "+n(o)),We(o.duration)(function(i){return Ow("text-secondary mt-2")("Program length: "+i)})])},r=bh({title:"All programs",items:e.props.programs,renderItem:function(o){return QF("mb-5")([pMe("")(o.name),We(o.description)(function(i){return mMe("")(i)}),Ow("mt-n2 text-secondary")("Location: "+n(o)),We(o.region)(function(i){return Ow("text-secondary mt-2")("Region: "+i)}),We(o.duration)(function(i){return Ow("text-secondary mt-2")("Program length: "+i)})])},search:{className:"t--program-name-search",placeholder:"Search a program",toTerm:function(o){return o.name}},filter:{className:"t--program-location-selector",placeholder:"All locations",toValue:n,items:t,predicate:qSn}});return QF("card")([wa(e),QF("card-body")([We(e.props.description)(function(o){return Ow("mb-4")(o)}),WSn("")([$Sn("")("Featured programs"),QF("row mt-4")(zSn(a)(e.props.featuredPrograms))]),dMe("row mt-4")(dMe("col-6 offset-3")(VSn("btn btn-outline-primary btn-block")(Ue)({onClick:QSn(e.showOverlay)(r)})("All programs")))])])};var $W=J(W),hMe=J(ae),YSn=ee(me),XSn=Xo(),ZSn=Kn(L),KSn=Vn(L),gMe=function(e){return $W("card")([wa(e),hMe("card-body")(le(YSn(e.traditions)(function(n){return $W("row mb-4")([We(n.photoUrl)(function(t){return hMe("col-12 col-md mb-4 mb-md-0")(XSn("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),$W("col")([ZSn("")(n.name),KSn("")(n.description)])])})))])};var eEn=J(ae),nEn=Xn(ae)()(),tEn=J(L),aEn=J(W),rEn=ee(me),Ci=qf()(),oEn=xn(pt),iEn=jn(W)()(),uEn=rn(L),lEn=Hn(An)(qt),cEn=Bn(Zn),zW=q(_t),DMe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yMe=function(){function e(){}return e.value=new e,e}(),bMe=function(e){return function(n){return function(t){var a=eEn("text-center p-4")(nEn("spinner-border text-primary")({role:"status"})(tEn("sr-only")("Loading\u2026"))),r=function(u){return t(DMe.create(u))},o=function(u){var l=Bf(Du(cve)(function(s){return Sv(s.data)})),c=function(s){return{isPublished:s.isPublished,isUserHq:e.isUserHq,module:s,onContentModuleInteraction:e.onContentModuleInteraction,showLikeButton:e.showLikeButton,school:e.school,schoolDb:e.schoolDb}};return aEn("pb-5 "+function(){var s=Dt(n.overlay);return s?"d-none":""}())(rEn(l(u))(function(s){if(s.data instanceof L3)return mFe(Ci(c(s))(s.data.value0));if(s.data instanceof j3)return _Fe(Ci(c(s))({props:s.data.value0}));if(s.data instanceof N3)return hFe(Ci(c(s))(s.data.value0));if(s.data instanceof P3)return bFe(Ci(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof O3)return wFe(Ci(c(s))(s.data.value0));if(s.data instanceof k3)return SFe(Ci(c(s))(s.data.value0));if(s.data instanceof U3)return LFe(Ci(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof H3)return PFe(Ci(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof B3)return kFe(Ci(c(s))(s.data.value0));if(s.data instanceof J3)return UFe(Ci(c(s))({props:s.data.value0}));if(s.data instanceof q3)return BFe(Ci(c(s))(s.data.value0));if(s.data instanceof W3)return XFe(Ci(c(s))({props:s.data.value0}));if(s.data instanceof $3)return eMe(Ci(c(s))(s.data.value0));if(s.data instanceof z3)return rMe(Ci(c(s))(s.data.value0));if(s.data instanceof V3)return iMe(Ci(c(s))({props:s.data.value0}));if(s.data instanceof Q3)return lMe(Ci(c(s))(s.data.value0));if(s.data instanceof Y3)return cMe(Ci(c(s))(s.data.value0));if(s.data instanceof X3)return vMe(Ci(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof Z3)return _Me(Ci(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof K3)return gMe(Ci(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 116, column 47 - line 185, column 48): "+[s.data.constructor.name])}))},i=oEn(t)(yMe.value);return le([ke(a)(o)(Fo(e.contentModules)),We(n.overlay)(function(u){return le([iEn("btn btn-link px-0")(Dr("Back"))({onClick:i})([uEn("fe fe-chevron-left mr-1")(""),X("Back")]),u])})])}}},RMe=function(e){return function(n){if(n instanceof DMe)return lEn(cr(cEn(WN)))(function(){return zW({overlay:new _(n.value0)})});if(n instanceof yMe)return zW({overlay:E.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},wMe=function(){return zW({overlay:E.value})}();var sEn=pa(Tu),fEn=Ev(),vEn=lU(),pEn=function(e){var n=la(e)()();return function(t){return function(a){return function(r){return n(t)(a)({href:r.href,onClick:sEn(function(o){return function(){return fEn(o)(),vEn(o)(),r.onClick()}})})}}}},SMe=function(e){var n=pEn(e);return function(t){return n(t)(Ue)}};var mEn=jn(L)()(),EMe=xn(pt),dEn=jn(W)()(),_En=rn(L),hEn=NS(Qoe),gEn=Ma(),DEn=bx(),yEn=Xn(W)()(),bEn=qe(da),REn=j(me),wEn=function(e){return function(n){return n instanceof _&&n.value0 instanceof s_?"btn-success":n instanceof _&&n.value0 instanceof f_?"btn-danger":n instanceof _&&n.value0 instanceof c_?"btn-secondary":n instanceof _&&n.value0 instanceof v_||n instanceof E&&e.primary?"btn-primary":n instanceof E?"btn-outline-primary":"btn-light"}},SEn=function(e){return e instanceof s_?"badge-soft-success bg-success-soft":e instanceof f_?"badge-soft-danger bg-danger-soft":e instanceof c_?"badge-secondary bg-secondary":e instanceof v_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},CMe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+Li(vC(v))},r=function(v){return mEn("dropdown-item mb-1 "+(SEn(v)+a(v)))(Ue)({onClick:EMe(t)(new _(v))})(w4(v))},o=function(){var v=function(p){if(Fe)return[dEn("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")(Ue)({onClick:EMe(t)(E.value)})([_En("fe fe-x mr-2")(""),X("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 25, column 1 - line 30, column 15): "+[])};return n instanceof E?[]:v(!0)}(),i=hEn(lP)(ke([])(Td)(n)),u=gEn(e),l=kn(u.buttonContent)(X(ke("Add to my list")(w4)(n))),c=kn(u.primary)(!1),s=kn(u.small)(!1),f=kn(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return DEn("")({toggleClass:f+(" t--school-list-status-selector "+wEn({primary:c})(n)),toggleContent:l,contentId:"school-list-status-selector-dropdown-options",content:function(v){return yEn(kn(u.menuClass)("")+(" "+v.className))({id:v.contentId})(bEn(REn(r)(i))(o))},ariaLabelInput:Dr("School list selector dropdown")})}}}};var EEn=an(),CEn=xn(mo),IMe=function(e){return Rf(new Ou(e.placeholder))()({options:Q0e(e.schoolDb),getOptionLabel:UE,getOptionValue:function(n){return EEn(va(n))},onSelect:CEn(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:c5(function(n){return X("No schools found")}),classNamePrefix:e.classNamePrefix})};var TMe="/messages";var c6=jn(L)()(),VW=pa(Sr),s6=J(ae),LEn=J(W),jEn=la(L)()(),f6=function(e){var n=c6("btn btn-block btn-outline-secondary t--sdp-connection-pending")(Ue)({disabled:!0,title:"Your connection request has been sent to the school"})("Requested"),t=function(){if(e.shortText)return"Ignore";if(Fe)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 111, column 5 - line 113, column 40): "+[])}(),a=function(){if(e.vineBelowConnectionLimit instanceof _&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof _&&e.vineBelowConnectionLimit.value0||e.vineBelowConnectionLimit instanceof E)return!1;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 116, column 7 - line 119, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=c6("btn btn-block btn-primary px-4 t--sdp-connection-invite")(Ue)({onClick:VW(e.onInviteSchool),disabled:a,style:mn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?TI(II)(s6("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(Fe)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 107, column 5 - line 109, column 40): "+[])}(),u=c6("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")(Ue)({onClick:VW(e.onAcceptInvitation),disabled:a,style:mn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=LEn("form-row")([s6("col-6 pr-2")(function(){return a?TI(II)(s6("t--sdp-connection-accept-wrapper")(u)):u}()),s6("col-6 pl-2")(c6("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")(Ue)({onClick:VW(e.onIgnoreInvitation)})(t))]),c=uC(va(e.school))(e.schoolDb);if(c instanceof Wt&&c.value0.status instanceof hc)return jEn("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")(Ue)({href:TMe})("Message");if(c instanceof Wt&&c.value0.status instanceof ui&&c.value0.initiator instanceof Ji)return l;if(c instanceof Wt&&c.value0.status instanceof el&&c.value0.initiator instanceof Ji)return o;if(c instanceof Wt&&c.value0.status instanceof ui&&c.value0.initiator instanceof lf||c instanceof Wt&&c.value0.status instanceof el&&c.value0.initiator instanceof lf)return n;if(c instanceof Ia)return o;if(c instanceof gr)return cn;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 33, column 3 - line 56, column 14): "+[c.constructor.name])};var NEn=ho($r(Wo)),FMe=Z(Ut),PEn=Ma(),OEn=uu(zn(Qn()(C({reflectSymbol:function(){return"id"}})(ie)(C({reflectSymbol:function(){return"imageUrl"}})(ie)(C({reflectSymbol:function(){return"name"}})(ie)(C({reflectSymbol:function(){return"slug"}})(ie)(de))))))),kEn=q(Xt),UEn=ee(me),MMe=kf(),HEn=function(){return NEn("schools_search_path")(function(e){return function(n){return FMe(function(){var t=PEn(n);return e({term:t.term,only_ui_discoverable:kn(t.onlyUiDiscoverable)(!0)})}())(eo(function(t){return FMe(OEn("School Search Results")(t))(function(a){return kEn(UEn(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:MMe(r.id),slug:MMe(r.slug)}}))})}))}})},BEn=HEn(),GMe=function(e){return BEn({term:e})};var AMe=ee(Yt),JEn=Jc(_0),xMe=function(){var e=function(t){return AMe(AMe(JEn(GMe(t)))(Bu))(be([]))},n=function(t){return tA(B0(li.value)(t.slug))};return f5(new Ou("Search school"))()({loadOptions:s5(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=ne(ji);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:pa(Tu)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var qEn=sv(W),WEn=ee(me),$En=kl(ae),zEn=SMe(L),VEn=ve(_ve),LMe=an(),QEn=bv(),YEn=ee(B),XEn=CMe(),Ss=J(ae),ZEn=Xo(),nd=J(W),KEn=J(L),QW=j(B),eCn=Xn(ae)()(),nCn=cs(L),tCn=rn(L),aCn=function(e){return function(n){var t=Mr(nA({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([nl.value,li.value,lu.value,tl.value,gc.value,Dc.value,yc.value]),a=function(o){if(o instanceof li)return"Overview";if(o instanceof nl)return"For you";if(o instanceof lu)return"Chancing";if(o instanceof tl)return"Cost & scholarships";if(o instanceof gc)return"Majors";if(o instanceof Dc)return"Admissions";if(o instanceof yc)return"Essay prompt";throw new Error("Failed pattern match at SchoolDetails.Header (line 183, column 15 - line 190, column 43): "+[o.constructor.name])},r=function(){if(n.mobileLayout)return"px-4 pb-0 mx-n3 bg-white nav-sm flex-nowrap overflow-x-auto overflow-y-hidden";if(Fe)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 192, column 5 - line 196, column 13): "+[])}();return sn(e.showNav)(qEn("nav nav-tabs overflow-visible border-bottom-0 "+r)(WEn(t)(function(o){return $En("nav-item text-nowrap")(zEn("cursor-pointer py-3 nav-link t--sdp-tab-"+(XC(o)+function(){var i=VEn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:B0(o)(function(i){return i.slug}(LMe(e.school)))})(a(o)))})))}},rCn=function(e){return function(n){if(n.currentUser instanceof E)return QEn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:yv});if(n.currentUser instanceof _){var t=YEn(iC(va(e.school))(e.schoolDb))(function(a){return a.status});return XEn({small:!1,primary:!1})(t)(e.onListStatusChange)}throw new Error("Failed pattern match at SchoolDetails.Header (line 138, column 33 - line 150, column 34): "+[n.currentUser.constructor.name])}},jMe=function(e){return function(n){var t=Ss("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=ha(e.schoolDb.searchOptions)<10;return i?xMe:IMe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=LMe(e.school),r=function(){if(a.publicPrivate instanceof Yd)return"Public";if(a.publicPrivate instanceof Xd)return"Private";throw new Error("Failed pattern match at SchoolDetails.Header (line 105, column 21 - line 107, column 33): "+[a.publicPrivate.constructor.name])}(),o=function(i){return ZEn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:mn({height:i,width:"100%",objectFit:"cover"})})};return nd("header mb-3 mx-n3 mx-md-0")([nd("row pr-3 my-3")([Ss("col pr-0")(ga(n.backButton)),ga(Zu(e.configuration)(t)),KEn("col")("")]),nd("position-relative mx-3 mx-lg-0")([Ss("d-md-none")(o("15rem")),Ss("d-none d-md-block")(o("20rem")),ga(QW(eCn("position-absolute d-inline bg-gray-100 rounded")({style:mn({top:"1.5rem",right:"1.5rem"})}))(tIe(e.onEdit)(hw.value)))]),Ss("container px-lg-0")(nd("pb-0 pb-md-3")([nd("row align-items-end mt-4")([nd("col mb-3")([nd("row align-items-center")([Ss("col-auto")(nCn("header-title")(a.name)),ga(QW(Ss("col-auto pl-0"))(Ei(e.onEdit)(mh.value)))]),Ss("row")(nd("col small")(Np(tCn("mx-2")("\u2022"))(lo(QW(X))([new _(ME(a.address)),vN(a),new _(r)]))))]),Ss("col-12 col-lg-auto my-0 mb-lg-3")(nd("row no-gutters g-0 align-items-center")([sn(e.showConnectButton)(Ss("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(f6({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),ga(Zu(e.configuration)(Ss("col-12 col-lg-auto")(rCn(e)(n))))]))]),Ss("row border-bottom mx-1")(Ss("col col-lg-auto mt-3 mt-lg-0 px-0")(aCn(e)(n)))]))])}};var NMe=J(ae),oCn=rn(L),iCn=ne(Ye),uCn=Kn(L),v6=J(W),PMe=A0(W),OMe=V1(ae),p6=M0(ae),kMe=Q1(L),UMe=G0(W),YW=ee(me),HMe=Zs(L),lCn=Pr(L),cCn=Nc(Tt),sCn=function(e){return NMe("card bg-white")(NMe("card-body")(oCn("")(e.name+(" has "+(iCn(ha(e.majors))+" different majors")))))},fCn=function(e){return le([uCn("")("Most popular majors"),v6("card")([v6("table-responsive")([PMe("table table-sm table-nowrap card-table")([OMe("")(p6("")(kMe("")("Major"))),UMe("list")(YW(e)(function(n){return p6("")(HMe("")(n.name))}))])])])])},vCn=function(e){return function(n){var t=KN(n.id)(e),a=YW(Soe(t))(function(r){var o=Gd(r).areaOfStudy;return le([v6("card")([lCn("card-header")(o),v6("table-responsive")([PMe("table table-sm table-nowrap card-table")([OMe("")(p6("")(kMe("")("Major"))),UMe("list")(YW(Bf(cCn(function(i){return i.name}))(qu(r)))(function(i){return p6("")(HMe("")(i.name))}))])])])])});return le(a)}},BMe=function(e){return function(n){var t=[{name:"Economics"},{name:"Biology"},{name:"Math"},{name:"Political Science"},{name:"English"},{name:"Psychology"},{name:"Computer Science"},{name:"Chemistry"},{name:"Art"}];return le([sCn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?fCn(t):cn}(),vCn(e)(n)])}};var JMe=q(_t),qMe=Ni(Yt),pCn=Fr(qMe),mCn=Z(qt),dCn=qa(qMe),lp=J(W),m6=Xn(ae)()(),WMe=Ft(L),XW=J(L),d6=J(ae),_Cn=Kn(L),hCn=Pr(L),ZW=rn(L),gCn=rn(ae),KW=Ga(L),DCn=ne(eu),$Me=ne(Ye),yCn=Xn(L)()(),bCn=la(L)()(),e$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zMe=function(e){return function(n){if(n.value0 instanceof $t)return JMe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=gi(n.value0.value0.value0);if(t instanceof _)return new Wt(t.value0);if(t instanceof E)return Ia.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 57, column 11 - line 59, column 30): "+[t.constructor.name])}()});if(n.value0 instanceof et)return pCn(e$.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(OCe({schools:e.schools})(e.liteChancing)(n.value0));throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 52, column 16 - line 63, column 55): "+[n.constructor.name])}},VMe=A4()({utmCampaign:"uaq-38-sdp"})(Dx),QMe=function(e){var n=[LCe(e)];return mCn(dCn(e$.create)(PCe({schoolItems:n,redirectUrlOverride:new _(VMe)})))(function(t){return JMe({schools:n,chancedSchool:new gr(E.value),liteChancing:t})})},YMe=function(e){return function(n){return function(t){return function(a){var r=function(l){return We(l.score)(function(c){return lp("row align-items-center mb-3")([m6("col-12 col-lg-auto")({style:mn({minHeight:"140px",minWidth:"280px"})})(xw({score:new _(Zr(c*100))})),lp("col-12 col-lg py-3 my-auto")([WMe("font-weight-normal fw-normal")("Your chances"),XW("h3 text-gray-800 mb-0 large")(Oa(c))])])})},o=function(l){return Dve(l)},i=function(l){return e.liteChancing.chancingIsLoading?m6("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(XW("sr-only")("Loading\u2026")):r(l)},u=function(l){return UCe(e.liteChancing)(function(c){return n(e$.create(c))})(function(c){return d6("mt-2 mb-0 lite-chancing-cta")(d6("card h-100")(lp("card-body overflow-auto mh-100")([lp("d-flex align-items-center mb-4")([_Cn("my-0 mr-3")("Chancing"),ga(Ei(a)(Rw.value))]),lp("row")([lp("col-12 col-lg-6")([WMe("")("What are your chances of acceptance?"),i(l)]),lp("col-12 col-lg-6")([hCn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return le([ZW("mb-2")("Unweighted GPA:"),gCn("gpa")(KW("")(" "+DCn(s)))])},onChange:o(c.redirectUrl)}),lp("mb-3 d-flex flex-row justify-content-between")([c.satMathScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-math",label:function(s){return le([X("SAT: "),KW("")($Me(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return le([X(" | "),KW("")($Me(s)+" verbal")])},onChange:o(c.redirectUrl)})]),d6("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),lp("")([lp("mb-1 small")([ZW("text-danger")("Low accuracy"),ZW("text-muted")(" (4 of 18 factors)")]),m6("progress")({style:mn({backgroundColor:"#95aac9",height:"3px"})})(yCn("progress-bar bg-danger")({role:"progressbar",style:mn({width:"15%"})})(""))]),d6("mt-4")(bCn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")(Ue)({href:af({key:"utm_content",value:"add-more-factors"})(VMe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof gr)return m6("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(XW("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof Ia)return t;if(e.chancedSchool instanceof Wt)return u(e.chancedSchool.value0);throw new Error("Failed pattern match at SchoolDetails.Chancing.LiteChancingCta (line 67, column 3 - line 79, column 32): "+[e.chancedSchool.constructor.name])}}}};var XMe=dw(L),RCn=aa(Ae)(ft),ZMe=ne(Ye),wCn=Kn(ae),SCn=Ft(L),_6=J(W),h6=J(ae),ECn=Kn(L),CCn=function(e){var n=fy(vh(e.studentsPerFaculty.percentile));return le([XMe("Student faculty ratio")(RCn([N0(G4.value),ZMe(e.studentsPerFaculty.value),":1 is ",n,"."])),or("")(ZMe(e.studentsPerFaculty.value)+":1")])},ICn=function(e){return le([XMe("Calendar system")(` While most colleges use the semester system (2 terms), some use quarters or trimesters. Quarters and trimesters compress typical semesters into a faster-paced schedule, but allow for more classes to be taken. Some schools also use quarters/trimesters to facilitate co-op programs. `),or("mr-1")(uae(e.calendarSystem))])},TCn=function(e){var n=function(t){return wCn("d-inline-block mb-2")(ql(t))};return le([SCn("mb-4 mt-5 mt-md-4")("Special academic offering"),_6("")([sn(e.academicOfferings.studyAbroad)(n("Study abroad")),function(){if(e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for AP and IB exams");if(e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return n("Credit for AP exams");if(!e.academicOfferings.creditForApExams&&e.academicOfferings.creditForIbExams)return n("Credit for IB exams");if(!e.academicOfferings.creditForApExams&&!e.academicOfferings.creditForIbExams)return cn;throw new Error("Failed pattern match at SchoolDetails.Overview.Academics (line 72, column 7 - line 76, column 32): "+[e.academicOfferings.creditForApExams.constructor.name,e.academicOfferings.creditForIbExams.constructor.name])}(),sn(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),sn(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},KMe=function(e){return h6("card t--academics mt-5")(h6("card-body d-flex align-items-start")(_6("flex-grow-1 mr-4")([_6("d-flex align-items-center mb-5")([ECn("my-0 mr-3 flex-grow-1")("Academics"),ga(Ei(e.onEdit)(bw.value))]),_6("row")([h6("col-12 col-md-6")(CCn(e.school)),h6("col-12 col-md-6")(ICn(e.school))]),TCn(e.school)])))};var g6=J(W),kw=J(ae),FCn=ef(L),MCn=Ft(W),GCn=Lu(L),ACn=Kn(ae),xCn=Pr(L),LCn=Vn(L),jCn=d3(),NCn=q(Jn),PCn=ee(x5),OCn=Kn(L),kCn=rn(ae),UCn=an(),HCn=function(e){return We(e.admissions.acceptanceRate)(function(n){return g6("row align-items-center mb-3")([kw("col-12 col-lg-6")(kw("row")(kw("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(xw({score:new _(Zr(100*n.value))})))),g6("col-12 col-lg-6 py-3 my-auto")([FCn("text-uppercase text-muted")("Overall acceptance rate"),MCn("text-gray-800 mb-0")([X(Oa(n.value)),GCn("text-secondary ml-2")(hy(e))])])])})},BCn=function(e){return kw("card t--chancing")(g6("card-body")([ACn("")(X(function(){if(e.admissions.acceptanceRate instanceof _)return cTe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof E)return e.name;throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 69, column 26 - line 71, column 31): "+[e.admissions.acceptanceRate.constructor.name])}())),HCn(e),xCn("")("Want to see your real chances?"),LCn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),jCn({text:"Calculate my chances",className:"btn btn-primary"})]))},e2e=function(e){return function(n){return function(t){var a=BCn(e.school);return function(r){if(r instanceof Sw)return We(L5(r.value1))(jw({onSwitchTab:NCn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(PCn(N5(r.value1))(function(o){return o.top})));if(r instanceof Cw)return YMe(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof Iw)return IF({narrowLayout:n.mobileLayout});if(r instanceof Ew)return kw("card")(g6("card-body")([OCn("mr-3")("Chancing"),kw("p-6 text-center")(kCn("spinner-border spinner-border-sm text-primary")(cn))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(j5({currentUser:n.currentUser,chancingState:n.chancingState,school:UCn(e.school)}))}}};var D6="/recruit/verify-profile";var JCn=ct(Ge),qCn=ee(B),WCn=ve(Wc),$Cn=la(W)()(),zCn=rn(L),y6=J(W),n$=J(L),n2e=la(L)()(),VCn=J(ae),QCn=Kn(L),YCn=Vn(L),t$=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?E.value:JCn(Zu(e.configuration))(function(){var t=qCn(e.currentUser)(function(a){return a.role});return t instanceof E?new _(n(Re)):t instanceof _&&t.value0 instanceof EO&&WCn(t.value0.value0.schoolId)(va(e.school))?new _(n(Re)):E.value}()):E.value}},t2e=function(e){return t$(e)(function(n){return $Cn("d-flex align-items-center")(Ue)({href:D6})([zCn("material-symbol large mr-2")("verified"),y6("d-flex flex-column flex-md-row")([n$("mr-md-2")("Work at "+(UE(e.school)+"?")),n$("")("Verify your profile")])])})},a2e=function(e){return t$(e)(function(n){return y6("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([n$("mr-md-2")("Do you work at a school?"),n2e("")(Ue)({href:D6})("Verify your profile")])})},r2e=function(e){return t$(e)(function(n){return VCn("card bg-cv-green-50")(y6("card-body d-flex align-items-center")([Db("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),y6("")([QCn("")("Do you work at "+(UE(e.school)+"?")),YCn("")(` Verify your profile\xA0to keep your college's data up to date, get insights on user activity and connect with hand raiser students `),n2e("")(Ue)({href:D6})("Verify your profile")])]))})};var XCn=ve(Wc),a$=J(W),ZCn=Fu(L),KCn=pc()(),eIn=xn(mo),nIn=oa(L),tIn=J(ae),aIn=rn(L),o2e=ne(Ye),YF=q(_t),i2e=Hn(An),u2e=i2e(qt),r$=qr(Zn),o$=q(Xt),rIn=i2e(Ut),i$=function(){function e(){}return e.value=new e,e}(),l2e=function(){function e(){}return e.value=new e,e}(),c2e=function(){function e(){}return e.value=new e,e}(),s2e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),f2e=function(){function e(){}return e.value=new e,e}(),v2e=function(){function e(){}return e.value=new e,e}(),p2e=function(e){return function(n){return function(t){var a=va(e.school),r=function(){return n.stagedNotes instanceof _&&XCn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:ZN(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof i$)return"hidden";if(n.savedIndicator instanceof l2e)return"";if(n.savedIndicator instanceof c2e)return"fade-out";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 88, column 27 - line 91, column 27): "+[n.savedIndicator.constructor.name])}(),i=ut(q4),u=function(c){if(c{let e=null,n=0,t=()=>{if(!cp||!cp.key)return cp||console.error("Pusher config is missing in global context"),new HTn;let a={auth:{headers:{"X-CSRF-Token":cp.authToken}},authEndpoint:cp.authPath,cluster:cp.cluster};return cp.dev&&Object.assign(a,{wsHost:cp.dev.wsHost,wsPort:cp.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new lGe.default(cp.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e&&e.disconnect(),e=null)}}})(),cGe=e=>{let n=kTn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),UTn()}};function HTn(){typeof document!="undefined"&&(document.mockPusher=this),this.localObject={},this.channels=[],this.disconnect=function(){document.mockPusher=null},this.subscribe=function(e){let n=this.channels.find(a=>a.name===e);if(n)return n;let t=new BTn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function BTn(e){this.name=e,this.handlers={},this.triggered=[],this.disconnect=()=>{},this.bind=function(n,t){this.handlers[n]=t},this.unbind=function(n,t){this.handlers[n]===t&&(this.handlers[n]=null)},this.trigger=function(n,t){this.triggered.push({eventName:n,eventData:t})}}var JTn=aa(Ae)(ft),qTn=io(ta)(ti);var WTn={show:function(e){return e}},$Tn=ne(WTn);var g$=ie;var sGe=function(e){var n=G1(e);return function(t){return function(a){return function(r){var o=JTn(["Pusher event ",a," over channel ",$Tn(t)]),i=function(u){return qTn(n(o)(u))(r)()};return function(){return cGe({channel:t,event:a,handler:i})}}}}};var D$=ie;var fGe=$r(Wo),vGe=Z(Ut),pGe=Qn(),zTn=uu(pGe(C({reflectSymbol:function(){return"failureReason"}})(ie)(C({reflectSymbol:function(){return"success"}})($n)(de)))),VTn=uu(pGe(C({reflectSymbol:function(){return"conversationId"}})(D$)(C({reflectSymbol:function(){return"pusherChannel"}})(g$)(de)))),mGe=ho($r($r(fGe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return vGe(e({conversationId:t,message:a,presetTopic:hi,vault:n}))(eo(zTn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),dGe=ho(fGe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return vGe(e({school_id:n}))(eo(function(t){return VTn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var QTn=an();var _Ge=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+QTn(e)};var hGe="active";var y$=sEe()(),M6=Ks(W)()()("")({style:mn({height:40,width:40})})([y$("blink")({cx:10,cy:20,r:3,style:mn({fill:"grey"})}),y$("blink")({cx:20,cy:20,r:3,style:mn({fill:"grey",animationDelay:"250ms"})}),y$("blink")({cx:30,cy:20,r:3,style:mn({fill:"grey",animationDelay:"500ms"})})]);var YTn=ee(st);var gGe=function(e){return YTn(bO(e.currentTarget))(function(n){return kn(q1(n))(0)})};var DGe=Ba(),XTn=qe(gN),ZTn=LS(ft),b$=ne(Ye),KTn=yu(Ge),eFn=Z(Ge);var G6=function(){var e=DGe(Bu(U1("\\s+")(XTn(IG)(nre)))),n=Mr(function(a){return a!==""}),t=hN(e);return function(a){return ha(n(t(a)))}}(),yGe=function(e){return function(n){var t=G6(n);return ZTn([b$(t),"/",b$(e)," words"])}},bGe=function(e){return function(n){var t=function(i){return DGe(Bu(U1("^(?:[\\w-]+[^\\w-]+){"+(b$(i)+"}[\\w-]+"))(ere)))},a=function(i){return function(u){var l=KTn(eFn(DN(t(i-1|0))(u))(Nt(qS)(0)));return be(u)(l)}},r=pf(n),o=G6(r)0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=oFn(e);return le([iFn("flex-grow-1")([uFn("form-control t--new-message-body "+kn(r.className)(""))({autoFocus:kn(r.autoFocus)(!0),placeholder:r.placeholder,style:mn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof E)return"";if(n.messageHeight instanceof _)return lFn(n.messageHeight.value0)+"px";throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 87, column 19 - line 89, column 37): "+[n.messageHeight.constructor.name])}(),background:"none"}),rows:1,value:n.message,onChange:function(o){var i=bGe(1e3)(o),u=hFn(o)(),l=function(){var c=Br(i)<5;return c?E.value:new _(u)}();return t(et.create(mFn.create({message:i,messageHeight:l})))()},onKeyPress:cFn(function(o){return wGe(o.key==="Enter"&&!o.shiftKey)(function(){return sFn(o)(),wGe(n.message!==""&&_Fn(r.sendButtonStatus)(Ch.value))(t($t.create(R$.create(n.message))))()})})}),sn(G6(n.message)>=fFn(1e3)(2))(vFn("pl-3 pb-3 text-muted small")(yGe(1e3)(n.message)))]),pFn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof Ch)return a(!0);if(r.sendButtonStatus instanceof Ey)return a(!1);if(r.sendButtonStatus instanceof Ih)return M6;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var A6=function(){return{message:"",messageHeight:E.value}}();var gFn=an();var DFn=function(e){return gFn(M2(e))};var SGe=function(e){return Tr(DFn(e))};var yFn=$S(Tt),bFn=ks(Ro),RFn=Z(ar),EGe=Bn(Hs),CGe=q(ta),wFn=jp(ta)(_i),SFn=sGe(Od),EFn=$e(Xe),CFn=aa(Ae)(JL(kL)),IFn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),x6=function(){function e(){}return e.value=new e,e}(),L6=function(){function e(){}return e.value=new e,e}();var E$={append:function(e){return function(n){return yFn(n)(e)}}},TFn={mempty:El,Semigroup0:function(){return E$}},FFn=p0(A2(TFn)(_a)),IGe=function(e){return e.value0.disconnect},TGe=function(e){return function(n){var t=SGe(n),a=bFn(t);return function(){var o=EGe(wd(CGe(Re)))(),i=wFn(a)(function(l){return SFn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof x6)return Re;if(f instanceof L6)return RFn(Gp(o))(EFn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 73, column 23 - line 75, column 66): "+[f.constructor.name])}})})(),u=CFn(i);return EGe(Ap(u)(o))(),new IFn({disconnect:u})}}},j6=function(e){var n=d0(e);return function(t){return function(a){return FFn(Rg(t)(function(r){var o=n(r);if(o instanceof nn)return a(o.value0);if(o instanceof Ke)return so(Co)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return CGe(x6.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 35, column 65 - line 37, column 122): "+[o.constructor.name])}))}}};var Cy=function(){function e(){}return e.value=new e,e}(),tM=function(){function e(){}return e.value=new e,e}();var If=function(){function e(){}return e.value=new e,e}(),Es=function(){function e(){}return e.value=new e,e}();var C$={eq:function(e){return function(n){return e instanceof If&&n instanceof If||e instanceof Es&&n instanceof Es}}};var I$=function(){function e(){}return e.value=new e,e}(),T$=function(){function e(){}return e.value=new e,e}(),F$=function(){function e(){}return e.value=new e,e}();var M$=function(e){return e==="moderation_failure"?I$.value:e==="llm_failure"?T$.value:F$.value},FGe=function(e){if(e instanceof I$||e instanceof T$)return!0;if(e instanceof F$)return!1;throw new Error("Failed pattern match at Vinai.Types.FailureReason (line 34, column 11 - line 37, column 26): "+[e.constructor.name])},G$=function(e){if(e instanceof I$)return"AI-generated response was flagged due to not meeting our content standards.";if(e instanceof T$)return"We received an error from our language model provider.";if(e instanceof F$)return"Something went wrong.";throw new Error("Failed pattern match at Vinai.Types.FailureReason (line 19, column 11 - line 22, column 44): "+[e.constructor.name])};var xFn={reflectSymbol:function(){return"timestamp"}};var A$=Hn(An),aM=A$(qt),x$=Z(Ut),rM=Bn(Zn),MGe=A$(b1(E$)(NL)),L$=Qn(),GGe=C({reflectSymbol:function(){return"id"}})(ie),LFn=j6(L$(C({reflectSymbol:function(){return"delta"}})(ie)(GGe(C(xFn)(ie)(de))))),jFn=j6(L$(C({reflectSymbol:function(){return"body"}})(ie)(GGe(de)))),NFn=j6(L$(C({reflectSymbol:function(){return"reason"}})(ie)(de))),j$=A$(Ut),N6=q(Xt),N$=qr(Zn),PFn=xi(ft),OFn=ai(yj)(ft),Jv=q(_t),AGe=qe(da),kFn=KZ(kG),UFn=io(_t)(ti),qv=function(){function e(){}return e.value=new e,e}(),ad=function(){function e(){}return e.value=new e,e}(),rd=function(){function e(){}return e.value=new e,e}(),Cs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sp=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),P6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xGe=function(){function e(){}return e.value=new e,e}(),P$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),O$=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),LGe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),jGe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),NGe=function(){function e(n,t){this.value0=n,this.value1=t}return e.create=function(n){return function(t){return new e(n,t)}},e}(),HFn=function(){function e(){}return e.value=new e,e}();var BFn=function(e){return{delta:e.delta,id:e.id,timestamp:em(e.timestamp)}},PGe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:tM.value,sentAt:a,id:new _(r.id)}}};return aM(g0(function(a){return x$(rM(TGe(e.receiveChannelName)(MGe(LFn("chat-completion-chunk")(function(r){return function(){var i=a_();return a.dispatch(new NGe(i,BFn(r)))(),x6.value}}))(function(){return MGe(jFn("chat-completion-message-received")(function(r){return function(){var i=a_();return a.dispatch(new O$(t(i)(r)))(),L6.value}}))(function(){return NFn("chat-completion-failed")(function(r){return function(){return a.dispatch(new P$(new _(M$(r.reason))))(),L6.value}})})}))))(function(r){return j$(rM(a.dispatch(new jGe(r))))(function(){return x$(e.sendMessage(n))(function(o){return o.success?N6(Re):rM(a.dispatch(new P$(new _(M$(o.failureReason)))))})})})}))(function(){return N$(j$(ic(200))(function(){return N6(xGe.value)}))})}},JFn=function(e){return function(n){return aM(N$(x$(rM(a_))(function(t){return N6(new LGe({sender:Cy.value,body:n,sentAt:t,id:E.value}))})))(function(){return PGe(e)(n)})}},k$=function(e){var n=function(t){var a=Di("$$")(t),r=oK(ha(a));return r?PFn("$$")(AS(0)(ha(a)-1|0)(a)):t};return{sender:tM.value,body:n(OFn(function(t){return t.content})(e.deltas)),sentAt:Gd(e.deltas).timestamp,id:new _(e.id)}},qFn=function(e){if(e.receivingResponse instanceof E)return Jv(Re);if(e.receivingResponse instanceof _)return e.sendingState instanceof Cs?N$(j$(rM(IGe(e.receivingResponse.value0)))(function(){return N6(new O$(k$(e.sendingState.value0)))})):Jv(Re);throw new Error("Failed pattern match at Vinai.Chatbot (line 292, column 1 - line 292, column 51): "+[e.constructor.name])},U$=function(e){return function(n){if(n instanceof P6)return aM(JFn(e)(n.value0))(function(){return Jv(e)});if(n instanceof xGe)return Jv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof qv)return qv.value;if(e.sendingState instanceof ad||e.sendingState instanceof rd)return rd.value;if(e.sendingState instanceof Cs)return new Cs(e.sendingState.value0);if(e.sendingState instanceof sp)return new sp(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 160, column 9 - line 165, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof P$)return Jv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new sp(n.value0),receivingResponse:E.value});if(n instanceof O$)return Jv({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:AGe(e.messages)([n.value0]),sendingState:qv.value,receivingResponse:E.value});if(n instanceof LGe)return Jv({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:AGe(e.messages)([n.value0]),sendingState:ad.value});if(n instanceof jGe)return Jv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new _(n.value0)});if(n instanceof NGe)return Jv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Cs&&n.value1.id===e.sendingState.value0.id)return new Cs({id:e.sendingState.value0.id,deltas:kFn(function(t){return t.timestamp})(zZ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Cs)return e.sendingState;if(e.sendingState instanceof rd)return new Cs({deltas:Dg({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof ad)return new Cs({deltas:Dg({content:n.value1.delta,timestamp:be(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof qv||e.sendingState instanceof sp)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 180, column 22 - line 202, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof HFn)return aM(qFn(e))(function(){return Jv(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 153, column 1 - line 153, column 55): "+[e.constructor.name,n.constructor.name])}},H$=function(e){var n={messages:e.messages,receivingResponse:E.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof E)return qv.value;if(e.initialMessageBody instanceof _)return ad.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 147, column 23 - line 149, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return aM(UFn(e.initialMessageBody)(PGe(n)))(function(){return Jv(n)})};Jt();var OGe=["http","https","mailto","tel"];function kGe(e){let n=(e||"").trim(),t=n.charAt(0);if(t==="#"||t==="/")return n;let a=n.indexOf(":");if(a===-1)return n;let r=-1;for(;++rr||(r=n.indexOf("#"),r!==-1&&a>r)?n:"javascript:void(0)"}Jt();var WGe=ya(J$());function Th(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?HGe(e.position):"start"in e||"end"in e?HGe(e):"line"in e||"column"in e?q$(e):""}function q$(e){return BGe(e&&e.line)+":"+BGe(e&&e.column)}function HGe(e){return q$(e&&e.start)+"-"+q$(e&&e.end)}function BGe(e){return e&&typeof e=="number"?e:1}var Wl=class extends Error{constructor(n,t,a){let r=[null,null],o={start:{line:null,column:null},end:{line:null,column:null}};super();if(typeof t=="string"&&(a=t,t=void 0),typeof a=="string"){let i=a.indexOf(":");i===-1?r[1]=a:(r[0]=a.slice(0,i),r[1]=a.slice(i+1))}t&&("type"in t||"position"in t?t.position&&(o=t.position):"start"in t||"end"in t?o=t:("line"in t||"column"in t)&&(o.start=t)),this.name=Th(t)||"1:1",this.message=typeof n=="object"?n.message:n,this.stack="",typeof n=="object"&&n.stack&&(this.stack=n.stack),this.reason=this.message,this.fatal,this.line=o.start.line,this.column=o.start.column,this.position=o,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note}};Wl.prototype.file="";Wl.prototype.name="";Wl.prototype.reason="";Wl.prototype.message="";Wl.prototype.stack="";Wl.prototype.fatal=null;Wl.prototype.column=null;Wl.prototype.line=null;Wl.prototype.source=null;Wl.prototype.ruleId=null;Wl.prototype.position=null;var Wv={basename:WFn,dirname:$Fn,extname:zFn,join:VFn,sep:"/"};function WFn(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');oM(e);let t=0,a=-1,r=e.length,o;if(n===void 0||n.length===0||n.length>e.length){for(;r--;)if(e.charCodeAt(r)===47){if(o){t=r+1;break}}else a<0&&(o=!0,a=r+1);return a<0?"":e.slice(t,a)}if(n===e)return"";let i=-1,u=n.length-1;for(;r--;)if(e.charCodeAt(r)===47){if(o){t=r+1;break}}else i<0&&(o=!0,i=r+1),u>-1&&(e.charCodeAt(r)===n.charCodeAt(u--)?u<0&&(a=r):(u=-1,a=i));return t===a?a=i:a<0&&(a=e.length),e.slice(t,a)}function $Fn(e){if(oM(e),e.length===0)return".";let n=-1,t=e.length,a;for(;--t;)if(e.charCodeAt(t)===47){if(a){n=t;break}}else a||(a=!0);return n<0?e.charCodeAt(0)===47?"/":".":n===1&&e.charCodeAt(0)===47?"//":e.slice(0,n)}function zFn(e){oM(e);let n=e.length,t=-1,a=0,r=-1,o=0,i;for(;n--;){let u=e.charCodeAt(n);if(u===47){if(i){a=n+1;break}continue}t<0&&(i=!0,t=n+1),u===46?r<0?r=n:o!==1&&(o=1):r>-1&&(o=-1)}return r<0||t<0||o===0||o===1&&r===t-1&&r===a+1?"":e.slice(r,t)}function VFn(...e){let n=-1,t;for(;++n0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function YFn(e,n){let t="",a=0,r=-1,o=0,i=-1,u,l;for(;++i<=e.length;){if(i2){if(l=t.lastIndexOf("/"),l!==t.length-1){l<0?(t="",a=0):(t=t.slice(0,l),a=t.length-1-t.lastIndexOf("/")),r=i,o=0;continue}}else if(t.length>0){t="",a=0,r=i,o=0;continue}}n&&(t=t.length>0?t+"/..":"..",a=2)}else t.length>0?t+="/"+e.slice(r+1,i):t=e.slice(r+1,i),a=i-r-1;r=i,o=0}else u===46&&o>-1?o++:o=-1}return t}function oM(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var JGe={cwd:XFn};function XFn(){return"/"}function Hw(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function qGe(e){if(typeof e=="string")e=new URL(e);else if(!Hw(e)){let n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if(e.protocol!=="file:"){let n=new TypeError("The URL must be of scheme file");throw n.code="ERR_INVALID_URL_SCHEME",n}return ZFn(e)}function ZFn(e){if(e.hostname!==""){let a=new TypeError('File URL host must be "localhost" or empty on darwin');throw a.code="ERR_INVALID_FILE_URL_HOST",a}let n=e.pathname,t=-1;for(;++ti.length,l;u&&i.push(r);try{l=e.apply(this,i)}catch(c){let s=c;if(u&&t)throw s;return r(s)}u||(l instanceof Promise?l.then(o,r):l instanceof Error?r(l):o(l))}function r(i,...u){t||(t=!0,n(i,...u))}function o(i){r(null,i)}}var Y$=o4e().freeze(),r4e={}.hasOwnProperty;function o4e(){let e=t4e(),n=[],t={},a,r=-1;return o.data=i,o.Parser=void 0,o.Compiler=void 0,o.freeze=u,o.attachers=n,o.use=l,o.parse=c,o.stringify=s,o.run=f,o.runSync=v,o.process=p,o.processSync=d,o;function o(){let y=o4e(),h=-1;for(;++h{if(T||!k||!K)O(T);else{let oe=o.stringify(k,K);oe==null||(aMn(oe)?K.value=oe:K.result=oe),O(T,K)}});function O(T,k){T||!k?M(T):S?S(k):h(null,k)}}}function d(y){let h;o.freeze(),X$("processSync",o.Parser),Z$("processSync",o.Compiler);let g=uM(y);return o.process(g,S),l4e("processSync","process",h),g;function S(M){h=!0,V$(M)}}}function i4e(e,n){return typeof e=="function"&&e.prototype&&(nMn(e.prototype)||n in e.prototype)}function nMn(e){let n;for(n in e)if(r4e.call(e,n))return!0;return!1}function X$(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function Z$(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function K$(e,n){if(n)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function u4e(e){if(!iM(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function l4e(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function uM(e){return tMn(e)?e:new Bw(e)}function tMn(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function aMn(e){return typeof e=="string"||(0,a4e.default)(e)}function ez(e,n){let t=(n||{}).includeImageAlt;return c4e(e,typeof t=="boolean"?t:!0)}function c4e(e,n){return rMn(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&s4e(e.children,n))||Array.isArray(e)&&s4e(e,n)||""}function s4e(e,n){let t=[],a=-1;for(;++ar?0:r+n:n=n>r?r:n,t=t>0?t:0,a.length<1e4)i=Array.from(a),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);o0?(si(e,e.length,0,n),e):n}var f4e={}.hasOwnProperty;function k6(e){let n={},t=-1;for(;++ti))return;let k=n.events.length,K=k,oe,Te;for(;K--;)if(n.events[K][0]==="exit"&&n.events[K][1].type==="chunkFlow"){if(oe){Te=n.events[K][1].end;break}oe=!0}for(g(a),T=k;TM;){let O=t[P];n.containerState=O[1],O[0].exit.call(n,e)}t.length=M}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function cMn(e,n,t){return jt(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Jw(e){if(e===null||ir(e)||Ty(e))return 1;if(Fy(e))return 2}function Gh(e,n,t){let a=[],r=-1;for(;++r1&&e[t][1].end.offset-e[t][1].start.offset>1?2:1;let f=Object.assign({},e[a][1].end),v=Object.assign({},e[t][1].start);g4e(f,-l),g4e(v,l),i={type:l>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[a][1].end)},u={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[t][1].start),end:v},o={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[a][1].end),end:Object.assign({},e[t][1].start)},r={type:l>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},u.end)},e[a][1].end=Object.assign({},i.start),e[t][1].start=Object.assign({},u.end),c=[],e[a][1].end.offset-e[a][1].start.offset&&(c=$l(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=$l(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=$l(c,Gh(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=$l(c,[["exit",o,n],["enter",u,n],["exit",u,n],["exit",r,n]]),e[t][1].end.offset-e[t][1].start.offset?(s=2,c=$l(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,si(e,a-1,t-a+3,c),t=a+c.length-s-2;break}}for(t=-1;++t=4?i(c):t(c)}function i(c){return c===null?l(c):Un(c)?e.attempt(yMn,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||Un(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function RMn(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):Un(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):jt(e,o,"linePrefix",4+1)(i)}function o(i){let u=a.events[a.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?n(i):Un(i)?r(i):t(i)}}var az={name:"codeText",tokenize:EMn,resolve:wMn,previous:SMn};function wMn(e){let n=e.length-4,t=3,a,r;if((e[t][1].type==="lineEnding"||e[t][1].type==="space")&&(e[n][1].type==="lineEnding"||e[n][1].type==="space")){for(a=t;++a=4?n(i):e.interrupt(a.parser.constructs.flow,t,n)(i)}}function W6(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(g){return g===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(g),e.exit(o),v):g===null||g===41||Fh(g)?t(g):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(g))}function v(g){return g===62?(e.enter(o),e.consume(g),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),p(g))}function p(g){return g===62?(e.exit("chunkString"),e.exit(u),v(g)):g===null||g===60||Un(g)?t(g):(e.consume(g),g===92?d:p)}function d(g){return g===60||g===62||g===92?(e.consume(g),p):p(g)}function y(g){return g===40?++s>c?t(g):(e.consume(g),y):g===41?s--?(e.consume(g),y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(g)):g===null||ir(g)?s?t(g):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(g)):Fh(g)?t(g):(e.consume(g),g===92?h:y)}function h(g){return g===40||g===41||g===92?(e.consume(g),y):y(g)}}function $6(e,n,t,a,r,o){let i=this,u=0,l;return c;function c(p){return e.enter(a),e.enter(r),e.consume(p),e.exit(r),e.enter(o),s}function s(p){return p===null||p===91||p===93&&!l||p===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?t(p):p===93?(e.exit(o),e.enter(r),e.consume(p),e.exit(r),e.exit(a),n):Un(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(p))}function f(p){return p===null||p===91||p===93||Un(p)||u++>999?(e.exit("chunkString"),s(p)):(e.consume(p),l=l||!Aa(p),p===92?v:f)}function v(p){return p===91||p===92||p===93?(e.consume(p),u++,f):f(p)}}function z6(e,n,t,a,r,o){let i;return u;function u(v){return e.enter(a),e.enter(r),e.consume(v),e.exit(r),i=v===40?41:v,l}function l(v){return v===i?(e.enter(r),e.consume(v),e.exit(r),e.exit(a),n):(e.enter(o),c(v))}function c(v){return v===i?(e.exit(o),l(i)):v===null?t(v):Un(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),jt(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||Un(v)?(e.exit("chunkString"),c(v)):(e.consume(v),v===92?f:s)}function f(v){return v===i||v===92?(e.consume(v),s):s(v)}}function My(e,n){let t;return a;function a(r){return Un(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Aa(r)?jt(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function pl(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var oz={name:"definition",tokenize:AMn},GMn={tokenize:xMn,partial:!0};function AMn(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),$6.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=pl(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),My(e,W6(e,e.attempt(GMn,jt(e,u,"whitespace"),jt(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||Un(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function xMn(e,n,t){return a;function a(i){return ir(i)?My(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?z6(e,jt(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||Un(i)?n(i):t(i)}}var iz={name:"hardBreakEscape",tokenize:LMn};function LMn(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return Un(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var uz={name:"headingAtx",tokenize:NMn,resolve:jMn};function jMn(e,n){let t=e.length-2,a=3,r,o;return e[a][1].type==="whitespace"&&(a+=2),t-2>a&&e[t][1].type==="whitespace"&&(t-=2),e[t][1].type==="atxHeadingSequence"&&(a===t-1||t-4>a&&e[t-2][1].type==="whitespace")&&(t-=a+1===t?2:4),t>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[t][1].end},o={type:"chunkText",start:e[a][1].start,end:e[t][1].end,contentType:"text"},si(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function NMn(e,n,t){let a=this,r=0;return o;function o(s){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(s)}function i(s){return s===35&&r++<6?(e.consume(s),i):s===null||ir(s)?(e.exit("atxHeadingSequence"),a.interrupt?n(s):u(s)):t(s)}function u(s){return s===35?(e.enter("atxHeadingSequence"),l(s)):s===null||Un(s)?(e.exit("atxHeading"),n(s)):Aa(s)?jt(e,u,"whitespace")(s):(e.enter("atxHeadingText"),c(s))}function l(s){return s===35?(e.consume(s),l):(e.exit("atxHeadingSequence"),u(s))}function c(s){return s===null||s===35||ir(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var y4e=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],lz=["pre","script","style","textarea"];var cz={name:"htmlFlow",tokenize:kMn,resolveTo:OMn,concrete:!0},PMn={tokenize:UMn,partial:!0};function OMn(e){let n=e.length;for(;n--&&!(e[n][0]==="enter"&&e[n][1].type==="htmlFlow"););return n>1&&e[n-2][1].type==="linePrefix"&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2)),e}function kMn(e,n,t){let a=this,r,o,i,u,l;return c;function c(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),s}function s(x){return x===33?(e.consume(x),f):x===47?(e.consume(x),d):x===63?(e.consume(x),r=3,a.interrupt?n:Et):vl(x)?(e.consume(x),i=String.fromCharCode(x),o=!0,y):t(x)}function f(x){return x===45?(e.consume(x),r=2,v):x===91?(e.consume(x),r=5,i="CDATA[",u=0,p):vl(x)?(e.consume(x),r=4,a.interrupt?n:Et):t(x)}function v(x){return x===45?(e.consume(x),a.interrupt?n:Et):t(x)}function p(x){return x===i.charCodeAt(u++)?(e.consume(x),u===i.length?a.interrupt?n:we:p):t(x)}function d(x){return vl(x)?(e.consume(x),i=String.fromCharCode(x),y):t(x)}function y(x){return x===null||x===47||x===62||ir(x)?x!==47&&o&&lz.includes(i.toLowerCase())?(r=1,a.interrupt?n(x):we(x)):y4e.includes(i.toLowerCase())?(r=6,x===47?(e.consume(x),h):a.interrupt?n(x):we(x)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(x):o?S(x):g(x)):x===45||fi(x)?(e.consume(x),i+=String.fromCharCode(x),y):t(x)}function h(x){return x===62?(e.consume(x),a.interrupt?n:we):t(x)}function g(x){return Aa(x)?(e.consume(x),g):oe(x)}function S(x){return x===47?(e.consume(x),oe):x===58||x===95||vl(x)?(e.consume(x),M):Aa(x)?(e.consume(x),S):oe(x)}function M(x){return x===45||x===46||x===58||x===95||fi(x)?(e.consume(x),M):P(x)}function P(x){return x===61?(e.consume(x),O):Aa(x)?(e.consume(x),P):S(x)}function O(x){return x===null||x===60||x===61||x===62||x===96?t(x):x===34||x===39?(e.consume(x),l=x,T):Aa(x)?(e.consume(x),O):(l=null,k(x))}function T(x){return x===null||Un(x)?t(x):x===l?(e.consume(x),K):(e.consume(x),T)}function k(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||ir(x)?P(x):(e.consume(x),k)}function K(x){return x===47||x===62||Aa(x)?S(x):t(x)}function oe(x){return x===62?(e.consume(x),Te):t(x)}function Te(x){return Aa(x)?(e.consume(x),Te):x===null||Un(x)?we(x):t(x)}function we(x){return x===45&&r===2?(e.consume(x),Je):x===60&&r===1?(e.consume(x),ue):x===62&&r===4?(e.consume(x),mt):x===63&&r===3?(e.consume(x),Et):x===93&&r===5?(e.consume(x),on):Un(x)&&(r===6||r===7)?e.check(PMn,mt,xe)(x):x===null||Un(x)?xe(x):(e.consume(x),we)}function xe(x){return e.exit("htmlFlowData"),Se(x)}function Se(x){return x===null?z(x):Un(x)?e.attempt({tokenize:Ce,partial:!0},Se,z)(x):(e.enter("htmlFlowData"),we(x))}function Ce(x,Y,fe){return he;function he(pe){return x.enter("lineEnding"),x.consume(pe),x.exit("lineEnding"),U}function U(pe){return a.parser.lazy[a.now().line]?fe(pe):Y(pe)}}function Je(x){return x===45?(e.consume(x),Et):we(x)}function ue(x){return x===47?(e.consume(x),i="",Tn):we(x)}function Tn(x){return x===62&&lz.includes(i.toLowerCase())?(e.consume(x),mt):vl(x)&&i.length<8?(e.consume(x),i+=String.fromCharCode(x),Tn):we(x)}function on(x){return x===93?(e.consume(x),Et):we(x)}function Et(x){return x===62?(e.consume(x),mt):x===45&&r===2?(e.consume(x),Et):we(x)}function mt(x){return x===null||Un(x)?(e.exit("htmlFlowData"),z(x)):(e.consume(x),mt)}function z(x){return e.exit("htmlFlow"),n(x)}}function UMn(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(fp,n,t)}}var sz={name:"htmlText",tokenize:HMn};function HMn(e,n,t){let a=this,r,o,i,u;return l;function l(z){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(z),c}function c(z){return z===33?(e.consume(z),s):z===47?(e.consume(z),k):z===63?(e.consume(z),O):vl(z)?(e.consume(z),Te):t(z)}function s(z){return z===45?(e.consume(z),f):z===91?(e.consume(z),o="CDATA[",i=0,h):vl(z)?(e.consume(z),P):t(z)}function f(z){return z===45?(e.consume(z),v):t(z)}function v(z){return z===null||z===62?t(z):z===45?(e.consume(z),p):d(z)}function p(z){return z===null||z===62?t(z):d(z)}function d(z){return z===null?t(z):z===45?(e.consume(z),y):Un(z)?(u=d,on(z)):(e.consume(z),d)}function y(z){return z===45?(e.consume(z),mt):d(z)}function h(z){return z===o.charCodeAt(i++)?(e.consume(z),i===o.length?g:h):t(z)}function g(z){return z===null?t(z):z===93?(e.consume(z),S):Un(z)?(u=g,on(z)):(e.consume(z),g)}function S(z){return z===93?(e.consume(z),M):g(z)}function M(z){return z===62?mt(z):z===93?(e.consume(z),M):g(z)}function P(z){return z===null||z===62?mt(z):Un(z)?(u=P,on(z)):(e.consume(z),P)}function O(z){return z===null?t(z):z===63?(e.consume(z),T):Un(z)?(u=O,on(z)):(e.consume(z),O)}function T(z){return z===62?mt(z):O(z)}function k(z){return vl(z)?(e.consume(z),K):t(z)}function K(z){return z===45||fi(z)?(e.consume(z),K):oe(z)}function oe(z){return Un(z)?(u=oe,on(z)):Aa(z)?(e.consume(z),oe):mt(z)}function Te(z){return z===45||fi(z)?(e.consume(z),Te):z===47||z===62||ir(z)?we(z):t(z)}function we(z){return z===47?(e.consume(z),mt):z===58||z===95||vl(z)?(e.consume(z),xe):Un(z)?(u=we,on(z)):Aa(z)?(e.consume(z),we):mt(z)}function xe(z){return z===45||z===46||z===58||z===95||fi(z)?(e.consume(z),xe):Se(z)}function Se(z){return z===61?(e.consume(z),Ce):Un(z)?(u=Se,on(z)):Aa(z)?(e.consume(z),Se):we(z)}function Ce(z){return z===null||z===60||z===61||z===62||z===96?t(z):z===34||z===39?(e.consume(z),r=z,Je):Un(z)?(u=Ce,on(z)):Aa(z)?(e.consume(z),Ce):(e.consume(z),r=void 0,Tn)}function Je(z){return z===r?(e.consume(z),ue):z===null?t(z):Un(z)?(u=Je,on(z)):(e.consume(z),Je)}function ue(z){return z===62||z===47||ir(z)?we(z):t(z)}function Tn(z){return z===null||z===34||z===39||z===60||z===61||z===96?t(z):z===62||ir(z)?we(z):(e.consume(z),Tn)}function on(z){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(z),e.exit("lineEnding"),jt(e,Et,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Et(z){return e.enter("htmlTextData"),u(z)}function mt(z){return z===62?(e.consume(z),e.exit("htmlTextData"),e.exit("htmlText"),n):t(z)}}var Gy={name:"labelEnd",tokenize:zMn,resolveTo:$Mn,resolveAll:WMn},BMn={tokenize:VMn},JMn={tokenize:QMn},qMn={tokenize:YMn};function WMn(e){let n=-1,t;for(;++n-1&&(i[0]=i[0].slice(a)),o>0&&i.push(e[r].slice(0,o))),i}function p2n(e,n){let t=-1,a=[],r;for(;++tb2n,contentInitial:()=>d2n,disable:()=>R2n,document:()=>m2n,flow:()=>h2n,flowInitial:()=>_2n,insideSpan:()=>y2n,string:()=>g2n,text:()=>D2n});var m2n={[42]:ml,[43]:ml,[45]:ml,[48]:ml,[49]:ml,[50]:ml,[51]:ml,[52]:ml,[53]:ml,[54]:ml,[55]:ml,[56]:ml,[57]:ml,[62]:U6},d2n={[91]:oz},_2n={[-2]:cM,[-1]:cM,[32]:cM},h2n={[35]:uz,[42]:Ay,[45]:[V6,Ay],[60]:cz,[61]:V6,[95]:Ay,[96]:J6,[126]:J6},g2n={[38]:B6,[92]:H6},D2n={[-5]:sM,[-4]:sM,[-3]:sM,[33]:fz,[38]:B6,[42]:lM,[60]:[tz,sz],[91]:vz,[92]:[iz,H6],[93]:Gy,[95]:lM,[96]:az},y2n={null:[lM,R4e]},b2n={null:[42,95]},R2n={null:[]};function T4e(e={}){let n=k6([pz].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(d4e),document:a(_4e),flow:a(b4e),string:a(w4e),text:a(S4e)};return t;function a(r){return o;function o(i){return I4e(t,r,i)}}}var F4e=/[\0\t\n\r]/g;function M4e(){let e=1,n="",t=!0,a;return r;function r(o,i,u){let l=[],c,s,f,v,p;for(o=n+o.toString(i),f=0,n="",t&&(o.charCodeAt(0)===65279&&f++,t=void 0);f13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||(t&65535)==65535||(t&65535)==65534||t>1114111?"\uFFFD":String.fromCharCode(t)}var w2n=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Y6(e){return e.replace(w2n,S2n)}function S2n(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return Q6(t.slice(o?2:1),o?16:10)}return qw(t)||e}var A4e={}.hasOwnProperty,mz=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),E2n(t)(G4e(T4e(t).document().write(M4e()(e,n,!0))))};function E2n(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Gn),autolinkProtocol:we,autolinkEmail:we,atxHeading:u(tt),blockQuote:u(He),characterEscape:we,characterReference:we,codeFenced:u(en),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(en,l),codeText:u(Ne,l),codeTextData:we,data:we,codeFlowValue:we,definition:u(Fn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(fn),hardBreakEscape:u(In),hardBreakTrailing:u(In),htmlFlow:u(at,l),htmlFlowData:we,htmlText:u(at,l),htmlTextData:we,image:u(gt),label:l,link:u(Gn),listItem:u(rt),listItemValue:d,listOrdered:u(Gt,p),listUnordered:u(Gt),paragraph:u(qn),reference:he,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(tt),strong:u(vn),thematicBreak:u(Va)},exit:{atxHeading:s(),atxHeadingSequence:k,autolink:s(),autolinkEmail:Me,autolinkProtocol:je,blockQuote:s(),characterEscapeValue:xe,characterReferenceMarkerHexadecimal:pe,characterReferenceMarkerNumeric:pe,characterReferenceValue:V,codeFenced:s(S),codeFencedFence:g,codeFencedFenceInfo:y,codeFencedFenceMeta:h,codeFlowValue:xe,codeIndented:s(M),codeText:s(Tn),codeTextData:xe,data:xe,definition:s(),definitionDestinationString:T,definitionLabelString:P,definitionTitleString:O,emphasis:s(),hardBreakEscape:s(Ce),hardBreakTrailing:s(Ce),htmlFlow:s(Je),htmlFlowData:xe,htmlText:s(ue),htmlTextData:xe,image:s(Et),label:z,labelText:mt,lineEnding:Se,link:s(on),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:x,resourceTitleString:Y,resource:fe,setextHeading:s(Te),setextHeadingLineSequence:oe,setextHeadingText:K,strong:s(),thematicBreak:s()}};x4e(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ee){let Qe={type:"root",children:[]},At={stack:[Qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},vr=[],br=-1;for(;++br0){let Lc=At.tokenStack[At.tokenStack.length-1];(Lc[1]||L4e).call(At,void 0,Lc[0])}for(Qe.position={start:Ah(Ee.length>0?Ee[0][1].start:{line:1,column:1,offset:0}),end:Ah(Ee.length>0?Ee[Ee.length-2][1].end:{line:1,column:1,offset:0})},br=-1;++br{let a=this.data("settings");return mz(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function j4e(e,n){let t={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(n),!0)};return e.patch(n,t),e.applyData(n,t)}function N4e(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:` `}]}function P4e(e,n){let t=n.value?n.value+` `:"",a=n.lang?n.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,r={};a&&(r.className=["language-"+a]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:t}]};return n.meta&&(o.data={meta:n.meta}),e.patch(n,o),o=e.applyData(n,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(n,o),o}function O4e(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function k4e(e,n){let t={type:"element",tagName:"em",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function Tf(e){let n=[],t=-1,a=0,r=0;for(;++t55295&&o<57344){let u=e.charCodeAt(t+1);o<56320&&u>56319&&u<57344?(i=String.fromCharCode(o,u),r=1):i="\uFFFD"}else i=String.fromCharCode(o);i&&(n.push(e.slice(a,t),encodeURIComponent(i)),a=t+r+1,i=""),r&&(t+=r,r=0)}return n.join("")+e.slice(a)}function Z6(e,n){let t=String(n.identifier).toUpperCase(),a=Tf(t.toLowerCase()),r=e.footnoteOrder.indexOf(t),o;r===-1?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,o=e.footnoteOrder.length):(e.footnoteCounts[t]++,o=r+1);let i=e.footnoteCounts[t],u={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fn-"+a,id:e.clobberPrefix+"fnref-"+a+(i>1?"-"+i:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(o)}]};e.patch(n,u);let l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(n,l),e.applyData(n,l)}function U4e(e,n){let t=e.footnoteById,a=1;for(;a in t;)a++;let r=String(a);return t[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:n.children}],position:n.position},Z6(e,{type:"footnoteReference",identifier:r,position:n.position})}function H4e(e,n){let t={type:"element",tagName:"h"+n.depth,properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function B4e(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function K6(e,n){let t=n.referenceType,a="]";if(t==="collapsed"?a+="[]":t==="full"&&(a+="["+(n.label||n.identifier)+"]"),n.type==="imageReference")return{type:"text",value:"!["+n.alt+a};let r=e.all(n),o=r[0];o&&o.type==="text"?o.value="["+o.value:r.unshift({type:"text",value:"["});let i=r[r.length-1];return i&&i.type==="text"?i.value+=a:r.push({type:"text",value:a}),r}function J4e(e,n){let t=e.definition(n.identifier);if(!t)return K6(e,n);let a={src:Tf(t.url||""),alt:n.alt};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"img",properties:a,children:[]};return e.patch(n,r),e.applyData(n,r)}function q4e(e,n){let t={src:Tf(n.url)};n.alt!==null&&n.alt!==void 0&&(t.alt=n.alt),n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"img",properties:t,children:[]};return e.patch(n,a),e.applyData(n,a)}function W4e(e,n){let t={type:"text",value:n.value.replace(/\r?\n|\r/g," ")};e.patch(n,t);let a={type:"element",tagName:"code",properties:{},children:[t]};return e.patch(n,a),e.applyData(n,a)}function $4e(e,n){let t=e.definition(n.identifier);if(!t)return K6(e,n);let a={href:Tf(t.url||"")};t.title!==null&&t.title!==void 0&&(a.title=t.title);let r={type:"element",tagName:"a",properties:a,children:e.all(n)};return e.patch(n,r),e.applyData(n,r)}function z4e(e,n){let t={href:Tf(n.url)};n.title!==null&&n.title!==void 0&&(t.title=n.title);let a={type:"element",tagName:"a",properties:t,children:e.all(n)};return e.patch(n,a),e.applyData(n,a)}function V4e(e,n,t){let a=e.all(n),r=t?I2n(t):Q4e(n),o={},i=[];if(typeof n.checked=="boolean"){let s=a[0],f;s&&s.type==="element"&&s.tagName==="p"?f=s:(f={type:"element",tagName:"p",properties:{},children:[]},a.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:n.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let u=-1;for(;++u1:n}function Y4e(e,n){let t={},a=e.all(n),r=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++r-1?a.offset:null}}}function n3e(e,n){let t=e.all(n),a=t.shift(),r=[];if(a){let i={type:"element",tagName:"thead",properties:{},children:e.wrap([a],!0)};e.patch(n.children[0],i),r.push(i)}if(t.length>0){let i={type:"element",tagName:"tbody",properties:{},children:e.wrap(t,!0)},u=Ww(n.children[1]),l=$w(n.children[n.children.length-1]);u.line&&l.line&&(i.position={start:u,end:l}),r.push(i)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(r,!0)};return e.patch(n,o),e.applyData(n,o)}function t3e(e,n,t){let a=t?t.children:void 0,o=(a?a.indexOf(n):1)===0?"th":"td",i=t&&t.type==="table"?t.align:void 0,u=i?i.length:n.children.length,l=-1,c=[];for(;++l0,!0),a[0]),r=a.index+a[0].length,a=t.exec(n);return o.push(u3e(n.slice(r),r>0,!1)),o.join("")}function u3e(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===r3e||o===o3e;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===r3e||o===o3e;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function l3e(e,n){let t={type:"text",value:i3e(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function c3e(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var s3e={blockquote:j4e,break:N4e,code:P4e,delete:O4e,emphasis:k4e,footnoteReference:Z6,footnote:U4e,heading:H4e,html:B4e,imageReference:J4e,image:q4e,inlineCode:W4e,linkReference:$4e,link:z4e,listItem:V4e,list:Y4e,paragraph:X4e,root:Z4e,strong:K4e,table:n3e,tableCell:a3e,tableRow:t3e,text:l3e,thematicBreak:c3e,toml:e8,yaml:e8,definition:e8,footnoteDefinition:e8};function e8(){return null}var fM=function(e){if(e==null)return G2n;if(typeof e=="string")return M2n(e);if(typeof e=="object")return Array.isArray(e)?T2n(e):F2n(e);if(typeof e=="function")return n8(e);throw new Error("Expected function, string, or object as test")};function T2n(e){let n=[],t=-1;for(;++t":""))+")"})}return f;function f(){let v=[],p,d,y;if((!n||r(u,l,c[c.length-1]||null))&&(v=A2n(t(u,c)),v[0]===t8))return v;if(u.children&&v[0]!==hz)for(d=(a?u.children.length:-1)+o,y=c.concat(u);d>-1&&d{let r=p3e(a.identifier);r&&!v3e.call(n,r)&&(n[r]=a)}),t;function t(a){let r=p3e(a);return r&&v3e.call(n,r)?n[r]:null}}function p3e(e){return String(e||"").toUpperCase()}var a8={}.hasOwnProperty;function m3e(e,n){let t=n||{},a=t.allowDangerousHtml||!1,r={};return i.dangerous=a,i.clobberPrefix=t.clobberPrefix===void 0||t.clobberPrefix===null?"user-content-":t.clobberPrefix,i.footnoteLabel=t.footnoteLabel||"Footnotes",i.footnoteLabelTagName=t.footnoteLabelTagName||"h2",i.footnoteLabelProperties=t.footnoteLabelProperties||{className:["sr-only"]},i.footnoteBackLabel=t.footnoteBackLabel||"Back to content",i.unknownHandler=t.unknownHandler,i.passThrough=t.passThrough,i.handlers=Ha(Ha({},s3e),t.handlers),i.definition=Dz(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=x2n,i.applyData=L2n,i.one=u,i.all=l,i.wrap=N2n,i.augment=o,xy(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();a8.call(r,s)||(r[s]=c)}),i;function o(c,s){if(c&&"data"in c&&c.data){let f=c.data;f.hName&&(s.type!=="element"&&(s={type:"element",tagName:"",properties:{},children:[]}),s.tagName=f.hName),s.type==="element"&&f.hProperties&&(s.properties=Ha(Ha({},s.properties),f.hProperties)),"children"in s&&s.children&&f.hChildren&&(s.children=f.hChildren)}if(c){let f="type"in c?c:{position:c};gz(f)||(s.position={start:Ww(f),end:$w(f)})}return s}function i(c,s,f,v){return Array.isArray(f)&&(v=f,f={}),o(c,{type:"element",tagName:s,properties:f||{},children:v||[]})}function u(c,s){return d3e(i,c,s)}function l(c){return yz(i,c)}}function x2n(e,n){e.position&&(n.position=dz(e))}function L2n(e,n){let t=n;if(e&&e.data){let a=e.data.hName,r=e.data.hChildren,o=e.data.hProperties;typeof a=="string"&&(t.type==="element"?t.tagName=a:t={type:"element",tagName:a,properties:{},children:[]}),t.type==="element"&&o&&(t.properties=Ha(Ha({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function d3e(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return a8.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?mi(Ha({},n),{children:yz(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):j2n(e,n)}function yz(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r0&&t.push({type:"text",value:` `}),t}function _3e(e){let n=[],t=-1;for(;++t1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21A9"}]};u>1&&f.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),l.length>0&&l.push({type:"text",value:" "}),l.push(f)}let c=r[r.length-1];if(c&&c.type==="element"&&c.tagName==="p"){let f=c.children[c.children.length-1];f&&f.type==="text"?f.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...l)}else r.push(...l);let s={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+i},children:e.wrap(r,!0)};e.patch(a,s),n.push(s)}if(n.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:e.footnoteLabelTagName,properties:mi(Ha({},JSON.parse(JSON.stringify(e.footnoteLabelProperties))),{id:"footnote-label"}),children:[{type:"text",value:e.footnoteLabel}]},{type:"text",value:` `},{type:"element",tagName:"ol",properties:{},children:e.wrap(n,!0)},{type:"text",value:` `}]}}function r8(e,n){let t=m3e(e,n),a=t.one(e,null),r=_3e(t);return r&&a.children.push({type:"text",value:` `},r),Array.isArray(a)?{type:"root",children:a}:a}var P2n=function(e,n){return e&&"run"in e?O2n(e,n):k2n(e||n)},bz=P2n;function O2n(e,n){return(t,a,r)=>{e.run(r8(t,n),a,o=>{r(o)})}}function k2n(e){return n=>r8(n,e)}var ua=ya(vb());var xh=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};xh.prototype.property={};xh.prototype.normal={};xh.prototype.space=null;function Rz(e,n){let t={},a={},r=-1;for(;++rDa,booleanish:()=>Zo,commaOrSpaceSeparated:()=>Fc,commaSeparated:()=>Lh,number:()=>un,overloadedBoolean:()=>wz,spaceSeparated:()=>Nr});var U2n=0,Da=Ly(),Zo=Ly(),wz=Ly(),un=Ly(),Nr=Ly(),Lh=Ly(),Fc=Ly();function Ly(){return 2**++U2n}var Sz=Object.keys(pM),zw=class extends zl{constructor(n,t,a,r){let o=-1;super(n,t);if(h3e(this,"space",r),typeof a=="number")for(;++o4&&t.slice(0,4)==="data"&&B2n.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(y3e,W2n);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!y3e.test(o)){let i=o.replace(J2n,q2n);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=zw}return new r(a,n)}function q2n(e){return"-"+e.toLowerCase()}function W2n(e){return e.charAt(1).toUpperCase()}var u8={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var l8=Rz([Cz,Ez,Iz,Tz,g3e],"html"),c8=Rz([Cz,Ez,Iz,Tz,D3e],"svg");function Fz(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{xy(n,"element",(t,a,r)=>{let o=r,i;if(e.allowedElements?i=!e.allowedElements.includes(t.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(t.tagName)),!i&&e.allowElement&&typeof a=="number"&&(i=!e.allowElement(t,a,o)),i&&typeof a=="number")return e.unwrapDisallowed&&t.children?o.children.splice(a,1,...t.children):o.children.splice(a,1),a})}}Jt();var O3e=ya(S3e());function E3e(e){let n=e&&typeof e=="object"&&e.type==="text"?e.value||"":e;return typeof n=="string"&&n.replace(/[ \t\n\f\r]/g,"")===""}function Az(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function C3e(e){return e.join(" ").trim()}function xz(e){let n=[],t=String(e||""),a=t.indexOf(","),r=0,o=!1;for(;!o;){a===-1&&(a=t.length,o=!0);let i=t.slice(r,a).trim();(i||!o)&&n.push(i),r=a+1,a=t.indexOf(",",r)}return n}function I3e(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var N3e=ya(j3e()),P3e=N3e.default;var jz={}.hasOwnProperty,oGn=new Set(["table","thead","tbody","tfoot","tr"]);function Nz(e,n){let t=[],a=-1,r;for(;++a0?bt.createElement(p,l,f):bt.createElement(p,l)}function uGn(e){let n=-1;for(;++n for more info)`),delete y8[o]}let n=Y$().use(X6).use(e.remarkPlugins||[]).use(bz,mi(Ha({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(Fz,e),t=new Bw;typeof e.children=="string"?t.value=e.children:e.children!==void 0&&e.children!==null&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);let a=n.runSync(n.parse(t),t);if(a.type!=="root")throw new TypeError("Expected a `root` node");let r=bt.createElement(bt.Fragment,{},Nz({options:e,schema:l8,listDepth:0},a));return e.className&&(r=bt.createElement("div",{className:e.className},r)),r}b8.propTypes={children:ua.default.string,className:ua.default.string,allowElement:ua.default.func,allowedElements:ua.default.arrayOf(ua.default.string),disallowedElements:ua.default.arrayOf(ua.default.string),unwrapDisallowed:ua.default.bool,remarkPlugins:ua.default.arrayOf(ua.default.oneOfType([ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.oneOfType([ua.default.bool,ua.default.string,ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.any)]))])),rehypePlugins:ua.default.arrayOf(ua.default.oneOfType([ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.oneOfType([ua.default.bool,ua.default.string,ua.default.object,ua.default.func,ua.default.arrayOf(ua.default.any)]))])),sourcePos:ua.default.bool,rawSourcePos:ua.default.bool,skipHtml:ua.default.bool,includeElementIndex:ua.default.bool,transformLinkUri:ua.default.oneOfType([ua.default.func,ua.default.bool]),linkTarget:ua.default.oneOfType([ua.default.func,ua.default.string]),transformImageUri:ua.default.func,components:ua.default.object};var U3e=/[#.]/g;function Oz(e,n){let t=e||"",a={},r=0,o,i;for(;rl&&(l=c):c&&(l!==void 0&&l>-1&&u.push(` `.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function Z3e(e,n,t){return e.type==="element"?NGn(e,n,t):e.type==="text"?t.whitespace==="normal"?K3e(e,t):PGn(e):[]}function NGn(e,n,t){let a=eAe(e,t),r=e.children||[],o=-1,i=[];if(jGn(e))return i;let u,l;for($z(e)||Y3e(e)&&E8(n,e,Y3e)?l=` `:LGn(e)?(u=2,l=2):X3e(e)&&(u=1,l=1);++o15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15":">","<":"<",'"':""","'":"'"},zGn=/[&><"']/g;function VGn(e){return String(e).replace(zGn,n=>$Gn[n])}var nAe=function e(n){return n.type==="ordgroup"||n.type==="color"?n.body.length===1?e(n.body[0]):n:n.type==="font"?e(n.body):n},QGn=function(n){var t=nAe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},YGn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},XGn=function(n){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(n);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Mt={contains:BGn,deflt:JGn,escape:VGn,hyphenate:WGn,getBaseElem:nAe,isCharacterBox:QGn,protocolFromUrl:XGn},C8={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,n)=>(n.push(e),n)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand ",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function ZGn(e){if(e.default)return e.default;var n=e.type,t=Array.isArray(n)?n[0]:n;if(typeof t!="string")return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var I8=class{constructor(n){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,n=n||{};for(var t in C8)if(C8.hasOwnProperty(t)){var a=C8[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:ZGn(a)}}reportNonstrict(n,t,a){var r=this.strict;if(typeof r=="function"&&(r=r(n,t,a)),!(!r||r==="ignore")){if(r===!0||r==="error")throw new ln("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" ["+n+"]"),a);r==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+n+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+n+"]"))}}useStrictBehavior(n,t,a){var r=this.strict;if(typeof r=="function")try{r=r(n,t,a)}catch{r="error"}return!r||r==="ignore"?!1:r===!0||r==="error"?!0:r==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" ["+n+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+r+"': "+t+" ["+n+"]")),!1)}isTrusted(n){if(n.url&&!n.protocol){var t=Mt.protocolFromUrl(n.url);if(t==null)return!1;n.protocol=t}var a=typeof this.trust=="function"?this.trust(n):this.trust;return Boolean(a)}},ud=class{constructor(n,t,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=n,this.size=t,this.cramped=a}sup(){return vp[KGn[this.id]]}sub(){return vp[e4n[this.id]]}fracNum(){return vp[n4n[this.id]]}fracDen(){return vp[t4n[this.id]]}cramp(){return vp[a4n[this.id]]}text(){return vp[r4n[this.id]]}isTight(){return this.size>=2}},Vz=0,T8=1,Vw=2,ld=3,dM=4,Gf=5,Qw=6,Vl=7,vp=[new ud(Vz,0,!1),new ud(T8,0,!0),new ud(Vw,1,!1),new ud(ld,1,!0),new ud(dM,2,!1),new ud(Gf,2,!0),new ud(Qw,3,!1),new ud(Vl,3,!0)],KGn=[dM,Gf,dM,Gf,Qw,Vl,Qw,Vl],e4n=[Gf,Gf,Gf,Gf,Vl,Vl,Vl,Vl],n4n=[Vw,ld,dM,Gf,Qw,Vl,Qw,Vl],t4n=[ld,ld,Gf,Gf,Vl,Vl,Vl,Vl],a4n=[T8,T8,ld,ld,Gf,Gf,Vl,Vl],r4n=[Vz,T8,Vw,ld,Vw,ld,Vw,ld],Ot={DISPLAY:vp[Vz],TEXT:vp[Vw],SCRIPT:vp[dM],SCRIPTSCRIPT:vp[Qw]},Qz=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function o4n(e){for(var n=0;n=r[0]&&e<=r[1])return t.name}return null}var F8=[];Qz.forEach(e=>e.blocks.forEach(n=>F8.push(...n)));function tAe(e){for(var n=0;n=F8[n]&&e<=F8[n+1])return!0;return!1}var Yw=80,i4n=function(n,t){return"M95,"+(622+n+t)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 l`+n/2.075+" -"+n+` c5.3,-9.3,12,-14,20,-14 H400000v`+(40+n)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z M`+(834+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},u4n=function(n,t){return"M263,"+(601+n+t)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+n/2.084+" -"+n+` c4.7,-7.3,11,-11,19,-11 H40000v`+(40+n)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z M`+(1001+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},l4n=function(n,t){return"M983 "+(10+n+t)+` l`+n/3.13+" -"+n+` c4,-6.7,10,-10,18,-10 H400000v`+(40+n)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z M`+(1001+n)+" "+t+"h400000v"+(40+n)+"h-400000z"},c4n=function(n,t){return"M424,"+(2398+n+t)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 l`+n/4.223+" -"+n+`c4,-6.7,10,-10,18,-10 H400000 v`+(40+n)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+n)+" "+t+` h400000v`+(40+n)+"h-400000z"},s4n=function(n,t){return"M473,"+(2713+n+t)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+n/5.298+" -"+n+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+n)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, 606zM`+(1001+n)+" "+t+"h400000v"+(40+n)+"H1017.7z"},f4n=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},v4n=function(n,t,a){var r=a-54-t-n;return"M702 "+(n+t)+"H400000"+(40+n)+` H742v`+r+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 219 661 l218 661zM702 `+t+"H400000v"+(40+n)+"H742z"},p4n=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=i4n(t,Yw);break;case"sqrtSize1":r=u4n(t,Yw);break;case"sqrtSize2":r=l4n(t,Yw);break;case"sqrtSize3":r=c4n(t,Yw);break;case"sqrtSize4":r=s4n(t,Yw);break;case"sqrtTall":r=v4n(t,Yw,a)}return r},m4n=function(n,t){switch(n){case"\u239C":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z"+("M367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z");case"\u239F":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23A2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23A5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23AA":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23D0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257z"+("M478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z");default:return""}},aAe={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87 -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7 -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88 -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68 -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18 -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782 c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3 -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8 -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247 c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202 l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117 -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7 -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80 H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0 435 0h399565z`,leftgroupunder:`M400000 262 H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3 -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5 -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7 -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3 -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7 -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667 -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7 -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0 v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5 -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3 -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23 -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8 c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334 c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14 -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214 c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0 -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6 -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8 -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2 c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6 -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8 -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1 c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128 -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85 -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5 s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1 c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237 -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3 -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2 -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11 -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5 -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95 -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3 -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0 -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32 -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142 -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69 -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3 -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19 -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167 c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333 -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7 -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128 -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418 -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114 c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457 -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696 -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345 -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409 -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63 -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1 -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59 H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359 c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22 c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10 -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1, -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10, -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202 c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5 c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130 s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6 s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11 c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32 -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39 -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5 -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5 -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17 c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21 c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40 c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11 c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9, 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7, -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0 c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},d4n=function(n,t){switch(n){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z M367 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15 c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+` v1715 h263 v84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+` v1799 H0 v-84 H319z MM319 602 V0 H403 V602 v`+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+` v602 h84z M403 1759 V0 H319 V1759 v`+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+` v602 h84z M347 1759 V0 h-84 V1759 v`+t+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1 c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349, -36,557 l0,`+(t+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210, 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9 c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5, -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189 l0,-`+(t+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3, -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3, 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5 c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(t+9)+` c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664 c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},Xw=class{constructor(n){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=n,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(n){return Mt.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;tt.toText();return this.children.map(n).join("")}},pp={"AMS-Regular":{"32":[0,0,0,0,.25],"65":[0,.68889,0,0,.72222],"66":[0,.68889,0,0,.66667],"67":[0,.68889,0,0,.72222],"68":[0,.68889,0,0,.72222],"69":[0,.68889,0,0,.66667],"70":[0,.68889,0,0,.61111],"71":[0,.68889,0,0,.77778],"72":[0,.68889,0,0,.77778],"73":[0,.68889,0,0,.38889],"74":[.16667,.68889,0,0,.5],"75":[0,.68889,0,0,.77778],"76":[0,.68889,0,0,.66667],"77":[0,.68889,0,0,.94445],"78":[0,.68889,0,0,.72222],"79":[.16667,.68889,0,0,.77778],"80":[0,.68889,0,0,.61111],"81":[.16667,.68889,0,0,.77778],"82":[0,.68889,0,0,.72222],"83":[0,.68889,0,0,.55556],"84":[0,.68889,0,0,.66667],"85":[0,.68889,0,0,.72222],"86":[0,.68889,0,0,.72222],"87":[0,.68889,0,0,1],"88":[0,.68889,0,0,.72222],"89":[0,.68889,0,0,.72222],"90":[0,.68889,0,0,.66667],"107":[0,.68889,0,0,.55556],"160":[0,0,0,0,.25],"165":[0,.675,.025,0,.75],"174":[.15559,.69224,0,0,.94666],"240":[0,.68889,0,0,.55556],"295":[0,.68889,0,0,.54028],"710":[0,.825,0,0,2.33334],"732":[0,.9,0,0,2.33334],"770":[0,.825,0,0,2.33334],"771":[0,.9,0,0,2.33334],"989":[.08167,.58167,0,0,.77778],"1008":[0,.43056,.04028,0,.66667],"8245":[0,.54986,0,0,.275],"8463":[0,.68889,0,0,.54028],"8487":[0,.68889,0,0,.72222],"8498":[0,.68889,0,0,.55556],"8502":[0,.68889,0,0,.66667],"8503":[0,.68889,0,0,.44445],"8504":[0,.68889,0,0,.66667],"8513":[0,.68889,0,0,.63889],"8592":[-.03598,.46402,0,0,.5],"8594":[-.03598,.46402,0,0,.5],"8602":[-.13313,.36687,0,0,1],"8603":[-.13313,.36687,0,0,1],"8606":[.01354,.52239,0,0,1],"8608":[.01354,.52239,0,0,1],"8610":[.01354,.52239,0,0,1.11111],"8611":[.01354,.52239,0,0,1.11111],"8619":[0,.54986,0,0,1],"8620":[0,.54986,0,0,1],"8621":[-.13313,.37788,0,0,1.38889],"8622":[-.13313,.36687,0,0,1],"8624":[0,.69224,0,0,.5],"8625":[0,.69224,0,0,.5],"8630":[0,.43056,0,0,1],"8631":[0,.43056,0,0,1],"8634":[.08198,.58198,0,0,.77778],"8635":[.08198,.58198,0,0,.77778],"8638":[.19444,.69224,0,0,.41667],"8639":[.19444,.69224,0,0,.41667],"8642":[.19444,.69224,0,0,.41667],"8643":[.19444,.69224,0,0,.41667],"8644":[.1808,.675,0,0,1],"8646":[.1808,.675,0,0,1],"8647":[.1808,.675,0,0,1],"8648":[.19444,.69224,0,0,.83334],"8649":[.1808,.675,0,0,1],"8650":[.19444,.69224,0,0,.83334],"8651":[.01354,.52239,0,0,1],"8652":[.01354,.52239,0,0,1],"8653":[-.13313,.36687,0,0,1],"8654":[-.13313,.36687,0,0,1],"8655":[-.13313,.36687,0,0,1],"8666":[.13667,.63667,0,0,1],"8667":[.13667,.63667,0,0,1],"8669":[-.13313,.37788,0,0,1],"8672":[-.064,.437,0,0,1.334],"8674":[-.064,.437,0,0,1.334],"8705":[0,.825,0,0,.5],"8708":[0,.68889,0,0,.55556],"8709":[.08167,.58167,0,0,.77778],"8717":[0,.43056,0,0,.42917],"8722":[-.03598,.46402,0,0,.5],"8724":[.08198,.69224,0,0,.77778],"8726":[.08167,.58167,0,0,.77778],"8733":[0,.69224,0,0,.77778],"8736":[0,.69224,0,0,.72222],"8737":[0,.69224,0,0,.72222],"8738":[.03517,.52239,0,0,.72222],"8739":[.08167,.58167,0,0,.22222],"8740":[.25142,.74111,0,0,.27778],"8741":[.08167,.58167,0,0,.38889],"8742":[.25142,.74111,0,0,.5],"8756":[0,.69224,0,0,.66667],"8757":[0,.69224,0,0,.66667],"8764":[-.13313,.36687,0,0,.77778],"8765":[-.13313,.37788,0,0,.77778],"8769":[-.13313,.36687,0,0,.77778],"8770":[-.03625,.46375,0,0,.77778],"8774":[.30274,.79383,0,0,.77778],"8776":[-.01688,.48312,0,0,.77778],"8778":[.08167,.58167,0,0,.77778],"8782":[.06062,.54986,0,0,.77778],"8783":[.06062,.54986,0,0,.77778],"8785":[.08198,.58198,0,0,.77778],"8786":[.08198,.58198,0,0,.77778],"8787":[.08198,.58198,0,0,.77778],"8790":[0,.69224,0,0,.77778],"8791":[.22958,.72958,0,0,.77778],"8796":[.08198,.91667,0,0,.77778],"8806":[.25583,.75583,0,0,.77778],"8807":[.25583,.75583,0,0,.77778],"8808":[.25142,.75726,0,0,.77778],"8809":[.25142,.75726,0,0,.77778],"8812":[.25583,.75583,0,0,.5],"8814":[.20576,.70576,0,0,.77778],"8815":[.20576,.70576,0,0,.77778],"8816":[.30274,.79383,0,0,.77778],"8817":[.30274,.79383,0,0,.77778],"8818":[.22958,.72958,0,0,.77778],"8819":[.22958,.72958,0,0,.77778],"8822":[.1808,.675,0,0,.77778],"8823":[.1808,.675,0,0,.77778],"8828":[.13667,.63667,0,0,.77778],"8829":[.13667,.63667,0,0,.77778],"8830":[.22958,.72958,0,0,.77778],"8831":[.22958,.72958,0,0,.77778],"8832":[.20576,.70576,0,0,.77778],"8833":[.20576,.70576,0,0,.77778],"8840":[.30274,.79383,0,0,.77778],"8841":[.30274,.79383,0,0,.77778],"8842":[.13597,.63597,0,0,.77778],"8843":[.13597,.63597,0,0,.77778],"8847":[.03517,.54986,0,0,.77778],"8848":[.03517,.54986,0,0,.77778],"8858":[.08198,.58198,0,0,.77778],"8859":[.08198,.58198,0,0,.77778],"8861":[.08198,.58198,0,0,.77778],"8862":[0,.675,0,0,.77778],"8863":[0,.675,0,0,.77778],"8864":[0,.675,0,0,.77778],"8865":[0,.675,0,0,.77778],"8872":[0,.69224,0,0,.61111],"8873":[0,.69224,0,0,.72222],"8874":[0,.69224,0,0,.88889],"8876":[0,.68889,0,0,.61111],"8877":[0,.68889,0,0,.61111],"8878":[0,.68889,0,0,.72222],"8879":[0,.68889,0,0,.72222],"8882":[.03517,.54986,0,0,.77778],"8883":[.03517,.54986,0,0,.77778],"8884":[.13667,.63667,0,0,.77778],"8885":[.13667,.63667,0,0,.77778],"8888":[0,.54986,0,0,1.11111],"8890":[.19444,.43056,0,0,.55556],"8891":[.19444,.69224,0,0,.61111],"8892":[.19444,.69224,0,0,.61111],"8901":[0,.54986,0,0,.27778],"8903":[.08167,.58167,0,0,.77778],"8905":[.08167,.58167,0,0,.77778],"8906":[.08167,.58167,0,0,.77778],"8907":[0,.69224,0,0,.77778],"8908":[0,.69224,0,0,.77778],"8909":[-.03598,.46402,0,0,.77778],"8910":[0,.54986,0,0,.76042],"8911":[0,.54986,0,0,.76042],"8912":[.03517,.54986,0,0,.77778],"8913":[.03517,.54986,0,0,.77778],"8914":[0,.54986,0,0,.66667],"8915":[0,.54986,0,0,.66667],"8916":[0,.69224,0,0,.66667],"8918":[.0391,.5391,0,0,.77778],"8919":[.0391,.5391,0,0,.77778],"8920":[.03517,.54986,0,0,1.33334],"8921":[.03517,.54986,0,0,1.33334],"8922":[.38569,.88569,0,0,.77778],"8923":[.38569,.88569,0,0,.77778],"8926":[.13667,.63667,0,0,.77778],"8927":[.13667,.63667,0,0,.77778],"8928":[.30274,.79383,0,0,.77778],"8929":[.30274,.79383,0,0,.77778],"8934":[.23222,.74111,0,0,.77778],"8935":[.23222,.74111,0,0,.77778],"8936":[.23222,.74111,0,0,.77778],"8937":[.23222,.74111,0,0,.77778],"8938":[.20576,.70576,0,0,.77778],"8939":[.20576,.70576,0,0,.77778],"8940":[.30274,.79383,0,0,.77778],"8941":[.30274,.79383,0,0,.77778],"8994":[.19444,.69224,0,0,.77778],"8995":[.19444,.69224,0,0,.77778],"9416":[.15559,.69224,0,0,.90222],"9484":[0,.69224,0,0,.5],"9488":[0,.69224,0,0,.5],"9492":[0,.37788,0,0,.5],"9496":[0,.37788,0,0,.5],"9585":[.19444,.68889,0,0,.88889],"9586":[.19444,.74111,0,0,.88889],"9632":[0,.675,0,0,.77778],"9633":[0,.675,0,0,.77778],"9650":[0,.54986,0,0,.72222],"9651":[0,.54986,0,0,.72222],"9654":[.03517,.54986,0,0,.77778],"9660":[0,.54986,0,0,.72222],"9661":[0,.54986,0,0,.72222],"9664":[.03517,.54986,0,0,.77778],"9674":[.11111,.69224,0,0,.66667],"9733":[.19444,.69224,0,0,.94445],"10003":[0,.69224,0,0,.83334],"10016":[0,.69224,0,0,.83334],"10731":[.11111,.69224,0,0,.66667],"10846":[.19444,.75583,0,0,.61111],"10877":[.13667,.63667,0,0,.77778],"10878":[.13667,.63667,0,0,.77778],"10885":[.25583,.75583,0,0,.77778],"10886":[.25583,.75583,0,0,.77778],"10887":[.13597,.63597,0,0,.77778],"10888":[.13597,.63597,0,0,.77778],"10889":[.26167,.75726,0,0,.77778],"10890":[.26167,.75726,0,0,.77778],"10891":[.48256,.98256,0,0,.77778],"10892":[.48256,.98256,0,0,.77778],"10901":[.13667,.63667,0,0,.77778],"10902":[.13667,.63667,0,0,.77778],"10933":[.25142,.75726,0,0,.77778],"10934":[.25142,.75726,0,0,.77778],"10935":[.26167,.75726,0,0,.77778],"10936":[.26167,.75726,0,0,.77778],"10937":[.26167,.75726,0,0,.77778],"10938":[.26167,.75726,0,0,.77778],"10949":[.25583,.75583,0,0,.77778],"10950":[.25583,.75583,0,0,.77778],"10955":[.28481,.79383,0,0,.77778],"10956":[.28481,.79383,0,0,.77778],"57350":[.08167,.58167,0,0,.22222],"57351":[.08167,.58167,0,0,.38889],"57352":[.08167,.58167,0,0,.77778],"57353":[0,.43056,.04028,0,.66667],"57356":[.25142,.75726,0,0,.77778],"57357":[.25142,.75726,0,0,.77778],"57358":[.41951,.91951,0,0,.77778],"57359":[.30274,.79383,0,0,.77778],"57360":[.30274,.79383,0,0,.77778],"57361":[.41951,.91951,0,0,.77778],"57366":[.25142,.75726,0,0,.77778],"57367":[.25142,.75726,0,0,.77778],"57368":[.25142,.75726,0,0,.77778],"57369":[.25142,.75726,0,0,.77778],"57370":[.13597,.63597,0,0,.77778],"57371":[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{"32":[0,0,0,0,.25],"65":[0,.68333,0,.19445,.79847],"66":[0,.68333,.03041,.13889,.65681],"67":[0,.68333,.05834,.13889,.52653],"68":[0,.68333,.02778,.08334,.77139],"69":[0,.68333,.08944,.11111,.52778],"70":[0,.68333,.09931,.11111,.71875],"71":[.09722,.68333,.0593,.11111,.59487],"72":[0,.68333,.00965,.11111,.84452],"73":[0,.68333,.07382,0,.54452],"74":[.09722,.68333,.18472,.16667,.67778],"75":[0,.68333,.01445,.05556,.76195],"76":[0,.68333,0,.13889,.68972],"77":[0,.68333,0,.13889,1.2009],"78":[0,.68333,.14736,.08334,.82049],"79":[0,.68333,.02778,.11111,.79611],"80":[0,.68333,.08222,.08334,.69556],"81":[.09722,.68333,0,.11111,.81667],"82":[0,.68333,0,.08334,.8475],"83":[0,.68333,.075,.13889,.60556],"84":[0,.68333,.25417,0,.54464],"85":[0,.68333,.09931,.08334,.62583],"86":[0,.68333,.08222,0,.61278],"87":[0,.68333,.08222,.08334,.98778],"88":[0,.68333,.14643,.13889,.7133],"89":[.09722,.68333,.08222,.08334,.66834],"90":[0,.68333,.07944,.13889,.72473],"160":[0,0,0,0,.25]},"Fraktur-Regular":{"32":[0,0,0,0,.25],"33":[0,.69141,0,0,.29574],"34":[0,.69141,0,0,.21471],"38":[0,.69141,0,0,.73786],"39":[0,.69141,0,0,.21201],"40":[.24982,.74947,0,0,.38865],"41":[.24982,.74947,0,0,.38865],"42":[0,.62119,0,0,.27764],"43":[.08319,.58283,0,0,.75623],"44":[0,.10803,0,0,.27764],"45":[.08319,.58283,0,0,.75623],"46":[0,.10803,0,0,.27764],"47":[.24982,.74947,0,0,.50181],"48":[0,.47534,0,0,.50181],"49":[0,.47534,0,0,.50181],"50":[0,.47534,0,0,.50181],"51":[.18906,.47534,0,0,.50181],"52":[.18906,.47534,0,0,.50181],"53":[.18906,.47534,0,0,.50181],"54":[0,.69141,0,0,.50181],"55":[.18906,.47534,0,0,.50181],"56":[0,.69141,0,0,.50181],"57":[.18906,.47534,0,0,.50181],"58":[0,.47534,0,0,.21606],"59":[.12604,.47534,0,0,.21606],"61":[-.13099,.36866,0,0,.75623],"63":[0,.69141,0,0,.36245],"65":[0,.69141,0,0,.7176],"66":[0,.69141,0,0,.88397],"67":[0,.69141,0,0,.61254],"68":[0,.69141,0,0,.83158],"69":[0,.69141,0,0,.66278],"70":[.12604,.69141,0,0,.61119],"71":[0,.69141,0,0,.78539],"72":[.06302,.69141,0,0,.7203],"73":[0,.69141,0,0,.55448],"74":[.12604,.69141,0,0,.55231],"75":[0,.69141,0,0,.66845],"76":[0,.69141,0,0,.66602],"77":[0,.69141,0,0,1.04953],"78":[0,.69141,0,0,.83212],"79":[0,.69141,0,0,.82699],"80":[.18906,.69141,0,0,.82753],"81":[.03781,.69141,0,0,.82699],"82":[0,.69141,0,0,.82807],"83":[0,.69141,0,0,.82861],"84":[0,.69141,0,0,.66899],"85":[0,.69141,0,0,.64576],"86":[0,.69141,0,0,.83131],"87":[0,.69141,0,0,1.04602],"88":[0,.69141,0,0,.71922],"89":[.18906,.69141,0,0,.83293],"90":[.12604,.69141,0,0,.60201],"91":[.24982,.74947,0,0,.27764],"93":[.24982,.74947,0,0,.27764],"94":[0,.69141,0,0,.49965],"97":[0,.47534,0,0,.50046],"98":[0,.69141,0,0,.51315],"99":[0,.47534,0,0,.38946],"100":[0,.62119,0,0,.49857],"101":[0,.47534,0,0,.40053],"102":[.18906,.69141,0,0,.32626],"103":[.18906,.47534,0,0,.5037],"104":[.18906,.69141,0,0,.52126],"105":[0,.69141,0,0,.27899],"106":[0,.69141,0,0,.28088],"107":[0,.69141,0,0,.38946],"108":[0,.69141,0,0,.27953],"109":[0,.47534,0,0,.76676],"110":[0,.47534,0,0,.52666],"111":[0,.47534,0,0,.48885],"112":[.18906,.52396,0,0,.50046],"113":[.18906,.47534,0,0,.48912],"114":[0,.47534,0,0,.38919],"115":[0,.47534,0,0,.44266],"116":[0,.62119,0,0,.33301],"117":[0,.47534,0,0,.5172],"118":[0,.52396,0,0,.5118],"119":[0,.52396,0,0,.77351],"120":[.18906,.47534,0,0,.38865],"121":[.18906,.47534,0,0,.49884],"122":[.18906,.47534,0,0,.39054],"160":[0,0,0,0,.25],"8216":[0,.69141,0,0,.21471],"8217":[0,.69141,0,0,.21471],"58112":[0,.62119,0,0,.49749],"58113":[0,.62119,0,0,.4983],"58114":[.18906,.69141,0,0,.33328],"58115":[.18906,.69141,0,0,.32923],"58116":[.18906,.47534,0,0,.50343],"58117":[0,.69141,0,0,.33301],"58118":[0,.62119,0,0,.33409],"58119":[0,.47534,0,0,.50073]},"Main-Bold":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.35],"34":[0,.69444,0,0,.60278],"35":[.19444,.69444,0,0,.95833],"36":[.05556,.75,0,0,.575],"37":[.05556,.75,0,0,.95833],"38":[0,.69444,0,0,.89444],"39":[0,.69444,0,0,.31944],"40":[.25,.75,0,0,.44722],"41":[.25,.75,0,0,.44722],"42":[0,.75,0,0,.575],"43":[.13333,.63333,0,0,.89444],"44":[.19444,.15556,0,0,.31944],"45":[0,.44444,0,0,.38333],"46":[0,.15556,0,0,.31944],"47":[.25,.75,0,0,.575],"48":[0,.64444,0,0,.575],"49":[0,.64444,0,0,.575],"50":[0,.64444,0,0,.575],"51":[0,.64444,0,0,.575],"52":[0,.64444,0,0,.575],"53":[0,.64444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[0,.64444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[0,.64444,0,0,.575],"58":[0,.44444,0,0,.31944],"59":[.19444,.44444,0,0,.31944],"60":[.08556,.58556,0,0,.89444],"61":[-.10889,.39111,0,0,.89444],"62":[.08556,.58556,0,0,.89444],"63":[0,.69444,0,0,.54305],"64":[0,.69444,0,0,.89444],"65":[0,.68611,0,0,.86944],"66":[0,.68611,0,0,.81805],"67":[0,.68611,0,0,.83055],"68":[0,.68611,0,0,.88194],"69":[0,.68611,0,0,.75555],"70":[0,.68611,0,0,.72361],"71":[0,.68611,0,0,.90416],"72":[0,.68611,0,0,.9],"73":[0,.68611,0,0,.43611],"74":[0,.68611,0,0,.59444],"75":[0,.68611,0,0,.90138],"76":[0,.68611,0,0,.69166],"77":[0,.68611,0,0,1.09166],"78":[0,.68611,0,0,.9],"79":[0,.68611,0,0,.86388],"80":[0,.68611,0,0,.78611],"81":[.19444,.68611,0,0,.86388],"82":[0,.68611,0,0,.8625],"83":[0,.68611,0,0,.63889],"84":[0,.68611,0,0,.8],"85":[0,.68611,0,0,.88472],"86":[0,.68611,.01597,0,.86944],"87":[0,.68611,.01597,0,1.18888],"88":[0,.68611,0,0,.86944],"89":[0,.68611,.02875,0,.86944],"90":[0,.68611,0,0,.70277],"91":[.25,.75,0,0,.31944],"92":[.25,.75,0,0,.575],"93":[.25,.75,0,0,.31944],"94":[0,.69444,0,0,.575],"95":[.31,.13444,.03194,0,.575],"97":[0,.44444,0,0,.55902],"98":[0,.69444,0,0,.63889],"99":[0,.44444,0,0,.51111],"100":[0,.69444,0,0,.63889],"101":[0,.44444,0,0,.52708],"102":[0,.69444,.10903,0,.35139],"103":[.19444,.44444,.01597,0,.575],"104":[0,.69444,0,0,.63889],"105":[0,.69444,0,0,.31944],"106":[.19444,.69444,0,0,.35139],"107":[0,.69444,0,0,.60694],"108":[0,.69444,0,0,.31944],"109":[0,.44444,0,0,.95833],"110":[0,.44444,0,0,.63889],"111":[0,.44444,0,0,.575],"112":[.19444,.44444,0,0,.63889],"113":[.19444,.44444,0,0,.60694],"114":[0,.44444,0,0,.47361],"115":[0,.44444,0,0,.45361],"116":[0,.63492,0,0,.44722],"117":[0,.44444,0,0,.63889],"118":[0,.44444,.01597,0,.60694],"119":[0,.44444,.01597,0,.83055],"120":[0,.44444,0,0,.60694],"121":[.19444,.44444,.01597,0,.60694],"122":[0,.44444,0,0,.51111],"123":[.25,.75,0,0,.575],"124":[.25,.75,0,0,.31944],"125":[.25,.75,0,0,.575],"126":[.35,.34444,0,0,.575],"160":[0,0,0,0,.25],"163":[0,.69444,0,0,.86853],"168":[0,.69444,0,0,.575],"172":[0,.44444,0,0,.76666],"176":[0,.69444,0,0,.86944],"177":[.13333,.63333,0,0,.89444],"184":[.17014,0,0,0,.51111],"198":[0,.68611,0,0,1.04166],"215":[.13333,.63333,0,0,.89444],"216":[.04861,.73472,0,0,.89444],"223":[0,.69444,0,0,.59722],"230":[0,.44444,0,0,.83055],"247":[.13333,.63333,0,0,.89444],"248":[.09722,.54167,0,0,.575],"305":[0,.44444,0,0,.31944],"338":[0,.68611,0,0,1.16944],"339":[0,.44444,0,0,.89444],"567":[.19444,.44444,0,0,.35139],"710":[0,.69444,0,0,.575],"711":[0,.63194,0,0,.575],"713":[0,.59611,0,0,.575],"714":[0,.69444,0,0,.575],"715":[0,.69444,0,0,.575],"728":[0,.69444,0,0,.575],"729":[0,.69444,0,0,.31944],"730":[0,.69444,0,0,.86944],"732":[0,.69444,0,0,.575],"733":[0,.69444,0,0,.575],"915":[0,.68611,0,0,.69166],"916":[0,.68611,0,0,.95833],"920":[0,.68611,0,0,.89444],"923":[0,.68611,0,0,.80555],"926":[0,.68611,0,0,.76666],"928":[0,.68611,0,0,.9],"931":[0,.68611,0,0,.83055],"933":[0,.68611,0,0,.89444],"934":[0,.68611,0,0,.83055],"936":[0,.68611,0,0,.89444],"937":[0,.68611,0,0,.83055],"8211":[0,.44444,.03194,0,.575],"8212":[0,.44444,.03194,0,1.14999],"8216":[0,.69444,0,0,.31944],"8217":[0,.69444,0,0,.31944],"8220":[0,.69444,0,0,.60278],"8221":[0,.69444,0,0,.60278],"8224":[.19444,.69444,0,0,.51111],"8225":[.19444,.69444,0,0,.51111],"8242":[0,.55556,0,0,.34444],"8407":[0,.72444,.15486,0,.575],"8463":[0,.69444,0,0,.66759],"8465":[0,.69444,0,0,.83055],"8467":[0,.69444,0,0,.47361],"8472":[.19444,.44444,0,0,.74027],"8476":[0,.69444,0,0,.83055],"8501":[0,.69444,0,0,.70277],"8592":[-.10889,.39111,0,0,1.14999],"8593":[.19444,.69444,0,0,.575],"8594":[-.10889,.39111,0,0,1.14999],"8595":[.19444,.69444,0,0,.575],"8596":[-.10889,.39111,0,0,1.14999],"8597":[.25,.75,0,0,.575],"8598":[.19444,.69444,0,0,1.14999],"8599":[.19444,.69444,0,0,1.14999],"8600":[.19444,.69444,0,0,1.14999],"8601":[.19444,.69444,0,0,1.14999],"8636":[-.10889,.39111,0,0,1.14999],"8637":[-.10889,.39111,0,0,1.14999],"8640":[-.10889,.39111,0,0,1.14999],"8641":[-.10889,.39111,0,0,1.14999],"8656":[-.10889,.39111,0,0,1.14999],"8657":[.19444,.69444,0,0,.70277],"8658":[-.10889,.39111,0,0,1.14999],"8659":[.19444,.69444,0,0,.70277],"8660":[-.10889,.39111,0,0,1.14999],"8661":[.25,.75,0,0,.70277],"8704":[0,.69444,0,0,.63889],"8706":[0,.69444,.06389,0,.62847],"8707":[0,.69444,0,0,.63889],"8709":[.05556,.75,0,0,.575],"8711":[0,.68611,0,0,.95833],"8712":[.08556,.58556,0,0,.76666],"8715":[.08556,.58556,0,0,.76666],"8722":[.13333,.63333,0,0,.89444],"8723":[.13333,.63333,0,0,.89444],"8725":[.25,.75,0,0,.575],"8726":[.25,.75,0,0,.575],"8727":[-.02778,.47222,0,0,.575],"8728":[-.02639,.47361,0,0,.575],"8729":[-.02639,.47361,0,0,.575],"8730":[.18,.82,0,0,.95833],"8733":[0,.44444,0,0,.89444],"8734":[0,.44444,0,0,1.14999],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.31944],"8741":[.25,.75,0,0,.575],"8743":[0,.55556,0,0,.76666],"8744":[0,.55556,0,0,.76666],"8745":[0,.55556,0,0,.76666],"8746":[0,.55556,0,0,.76666],"8747":[.19444,.69444,.12778,0,.56875],"8764":[-.10889,.39111,0,0,.89444],"8768":[.19444,.69444,0,0,.31944],"8771":[.00222,.50222,0,0,.89444],"8773":[.027,.638,0,0,.894],"8776":[.02444,.52444,0,0,.89444],"8781":[.00222,.50222,0,0,.89444],"8801":[.00222,.50222,0,0,.89444],"8804":[.19667,.69667,0,0,.89444],"8805":[.19667,.69667,0,0,.89444],"8810":[.08556,.58556,0,0,1.14999],"8811":[.08556,.58556,0,0,1.14999],"8826":[.08556,.58556,0,0,.89444],"8827":[.08556,.58556,0,0,.89444],"8834":[.08556,.58556,0,0,.89444],"8835":[.08556,.58556,0,0,.89444],"8838":[.19667,.69667,0,0,.89444],"8839":[.19667,.69667,0,0,.89444],"8846":[0,.55556,0,0,.76666],"8849":[.19667,.69667,0,0,.89444],"8850":[.19667,.69667,0,0,.89444],"8851":[0,.55556,0,0,.76666],"8852":[0,.55556,0,0,.76666],"8853":[.13333,.63333,0,0,.89444],"8854":[.13333,.63333,0,0,.89444],"8855":[.13333,.63333,0,0,.89444],"8856":[.13333,.63333,0,0,.89444],"8857":[.13333,.63333,0,0,.89444],"8866":[0,.69444,0,0,.70277],"8867":[0,.69444,0,0,.70277],"8868":[0,.69444,0,0,.89444],"8869":[0,.69444,0,0,.89444],"8900":[-.02639,.47361,0,0,.575],"8901":[-.02639,.47361,0,0,.31944],"8902":[-.02778,.47222,0,0,.575],"8968":[.25,.75,0,0,.51111],"8969":[.25,.75,0,0,.51111],"8970":[.25,.75,0,0,.51111],"8971":[.25,.75,0,0,.51111],"8994":[-.13889,.36111,0,0,1.14999],"8995":[-.13889,.36111,0,0,1.14999],"9651":[.19444,.69444,0,0,1.02222],"9657":[-.02778,.47222,0,0,.575],"9661":[.19444,.69444,0,0,1.02222],"9667":[-.02778,.47222,0,0,.575],"9711":[.19444,.69444,0,0,1.14999],"9824":[.12963,.69444,0,0,.89444],"9825":[.12963,.69444,0,0,.89444],"9826":[.12963,.69444,0,0,.89444],"9827":[.12963,.69444,0,0,.89444],"9837":[0,.75,0,0,.44722],"9838":[.19444,.69444,0,0,.44722],"9839":[.19444,.69444,0,0,.44722],"10216":[.25,.75,0,0,.44722],"10217":[.25,.75,0,0,.44722],"10815":[0,.68611,0,0,.9],"10927":[.19667,.69667,0,0,.89444],"10928":[.19667,.69667,0,0,.89444],"57376":[.19444,.69444,0,0,0]},"Main-BoldItalic":{"32":[0,0,0,0,.25],"33":[0,.69444,.11417,0,.38611],"34":[0,.69444,.07939,0,.62055],"35":[.19444,.69444,.06833,0,.94444],"37":[.05556,.75,.12861,0,.94444],"38":[0,.69444,.08528,0,.88555],"39":[0,.69444,.12945,0,.35555],"40":[.25,.75,.15806,0,.47333],"41":[.25,.75,.03306,0,.47333],"42":[0,.75,.14333,0,.59111],"43":[.10333,.60333,.03306,0,.88555],"44":[.19444,.14722,0,0,.35555],"45":[0,.44444,.02611,0,.41444],"46":[0,.14722,0,0,.35555],"47":[.25,.75,.15806,0,.59111],"48":[0,.64444,.13167,0,.59111],"49":[0,.64444,.13167,0,.59111],"50":[0,.64444,.13167,0,.59111],"51":[0,.64444,.13167,0,.59111],"52":[.19444,.64444,.13167,0,.59111],"53":[0,.64444,.13167,0,.59111],"54":[0,.64444,.13167,0,.59111],"55":[.19444,.64444,.13167,0,.59111],"56":[0,.64444,.13167,0,.59111],"57":[0,.64444,.13167,0,.59111],"58":[0,.44444,.06695,0,.35555],"59":[.19444,.44444,.06695,0,.35555],"61":[-.10889,.39111,.06833,0,.88555],"63":[0,.69444,.11472,0,.59111],"64":[0,.69444,.09208,0,.88555],"65":[0,.68611,0,0,.86555],"66":[0,.68611,.0992,0,.81666],"67":[0,.68611,.14208,0,.82666],"68":[0,.68611,.09062,0,.87555],"69":[0,.68611,.11431,0,.75666],"70":[0,.68611,.12903,0,.72722],"71":[0,.68611,.07347,0,.89527],"72":[0,.68611,.17208,0,.8961],"73":[0,.68611,.15681,0,.47166],"74":[0,.68611,.145,0,.61055],"75":[0,.68611,.14208,0,.89499],"76":[0,.68611,0,0,.69777],"77":[0,.68611,.17208,0,1.07277],"78":[0,.68611,.17208,0,.8961],"79":[0,.68611,.09062,0,.85499],"80":[0,.68611,.0992,0,.78721],"81":[.19444,.68611,.09062,0,.85499],"82":[0,.68611,.02559,0,.85944],"83":[0,.68611,.11264,0,.64999],"84":[0,.68611,.12903,0,.7961],"85":[0,.68611,.17208,0,.88083],"86":[0,.68611,.18625,0,.86555],"87":[0,.68611,.18625,0,1.15999],"88":[0,.68611,.15681,0,.86555],"89":[0,.68611,.19803,0,.86555],"90":[0,.68611,.14208,0,.70888],"91":[.25,.75,.1875,0,.35611],"93":[.25,.75,.09972,0,.35611],"94":[0,.69444,.06709,0,.59111],"95":[.31,.13444,.09811,0,.59111],"97":[0,.44444,.09426,0,.59111],"98":[0,.69444,.07861,0,.53222],"99":[0,.44444,.05222,0,.53222],"100":[0,.69444,.10861,0,.59111],"101":[0,.44444,.085,0,.53222],"102":[.19444,.69444,.21778,0,.4],"103":[.19444,.44444,.105,0,.53222],"104":[0,.69444,.09426,0,.59111],"105":[0,.69326,.11387,0,.35555],"106":[.19444,.69326,.1672,0,.35555],"107":[0,.69444,.11111,0,.53222],"108":[0,.69444,.10861,0,.29666],"109":[0,.44444,.09426,0,.94444],"110":[0,.44444,.09426,0,.64999],"111":[0,.44444,.07861,0,.59111],"112":[.19444,.44444,.07861,0,.59111],"113":[.19444,.44444,.105,0,.53222],"114":[0,.44444,.11111,0,.50167],"115":[0,.44444,.08167,0,.48694],"116":[0,.63492,.09639,0,.385],"117":[0,.44444,.09426,0,.62055],"118":[0,.44444,.11111,0,.53222],"119":[0,.44444,.11111,0,.76777],"120":[0,.44444,.12583,0,.56055],"121":[.19444,.44444,.105,0,.56166],"122":[0,.44444,.13889,0,.49055],"126":[.35,.34444,.11472,0,.59111],"160":[0,0,0,0,.25],"168":[0,.69444,.11473,0,.59111],"176":[0,.69444,0,0,.94888],"184":[.17014,0,0,0,.53222],"198":[0,.68611,.11431,0,1.02277],"216":[.04861,.73472,.09062,0,.88555],"223":[.19444,.69444,.09736,0,.665],"230":[0,.44444,.085,0,.82666],"248":[.09722,.54167,.09458,0,.59111],"305":[0,.44444,.09426,0,.35555],"338":[0,.68611,.11431,0,1.14054],"339":[0,.44444,.085,0,.82666],"567":[.19444,.44444,.04611,0,.385],"710":[0,.69444,.06709,0,.59111],"711":[0,.63194,.08271,0,.59111],"713":[0,.59444,.10444,0,.59111],"714":[0,.69444,.08528,0,.59111],"715":[0,.69444,0,0,.59111],"728":[0,.69444,.10333,0,.59111],"729":[0,.69444,.12945,0,.35555],"730":[0,.69444,0,0,.94888],"732":[0,.69444,.11472,0,.59111],"733":[0,.69444,.11472,0,.59111],"915":[0,.68611,.12903,0,.69777],"916":[0,.68611,0,0,.94444],"920":[0,.68611,.09062,0,.88555],"923":[0,.68611,0,0,.80666],"926":[0,.68611,.15092,0,.76777],"928":[0,.68611,.17208,0,.8961],"931":[0,.68611,.11431,0,.82666],"933":[0,.68611,.10778,0,.88555],"934":[0,.68611,.05632,0,.82666],"936":[0,.68611,.10778,0,.88555],"937":[0,.68611,.0992,0,.82666],"8211":[0,.44444,.09811,0,.59111],"8212":[0,.44444,.09811,0,1.18221],"8216":[0,.69444,.12945,0,.35555],"8217":[0,.69444,.12945,0,.35555],"8220":[0,.69444,.16772,0,.62055],"8221":[0,.69444,.07939,0,.62055]},"Main-Italic":{"32":[0,0,0,0,.25],"33":[0,.69444,.12417,0,.30667],"34":[0,.69444,.06961,0,.51444],"35":[.19444,.69444,.06616,0,.81777],"37":[.05556,.75,.13639,0,.81777],"38":[0,.69444,.09694,0,.76666],"39":[0,.69444,.12417,0,.30667],"40":[.25,.75,.16194,0,.40889],"41":[.25,.75,.03694,0,.40889],"42":[0,.75,.14917,0,.51111],"43":[.05667,.56167,.03694,0,.76666],"44":[.19444,.10556,0,0,.30667],"45":[0,.43056,.02826,0,.35778],"46":[0,.10556,0,0,.30667],"47":[.25,.75,.16194,0,.51111],"48":[0,.64444,.13556,0,.51111],"49":[0,.64444,.13556,0,.51111],"50":[0,.64444,.13556,0,.51111],"51":[0,.64444,.13556,0,.51111],"52":[.19444,.64444,.13556,0,.51111],"53":[0,.64444,.13556,0,.51111],"54":[0,.64444,.13556,0,.51111],"55":[.19444,.64444,.13556,0,.51111],"56":[0,.64444,.13556,0,.51111],"57":[0,.64444,.13556,0,.51111],"58":[0,.43056,.0582,0,.30667],"59":[.19444,.43056,.0582,0,.30667],"61":[-.13313,.36687,.06616,0,.76666],"63":[0,.69444,.1225,0,.51111],"64":[0,.69444,.09597,0,.76666],"65":[0,.68333,0,0,.74333],"66":[0,.68333,.10257,0,.70389],"67":[0,.68333,.14528,0,.71555],"68":[0,.68333,.09403,0,.755],"69":[0,.68333,.12028,0,.67833],"70":[0,.68333,.13305,0,.65277],"71":[0,.68333,.08722,0,.77361],"72":[0,.68333,.16389,0,.74333],"73":[0,.68333,.15806,0,.38555],"74":[0,.68333,.14028,0,.525],"75":[0,.68333,.14528,0,.76888],"76":[0,.68333,0,0,.62722],"77":[0,.68333,.16389,0,.89666],"78":[0,.68333,.16389,0,.74333],"79":[0,.68333,.09403,0,.76666],"80":[0,.68333,.10257,0,.67833],"81":[.19444,.68333,.09403,0,.76666],"82":[0,.68333,.03868,0,.72944],"83":[0,.68333,.11972,0,.56222],"84":[0,.68333,.13305,0,.71555],"85":[0,.68333,.16389,0,.74333],"86":[0,.68333,.18361,0,.74333],"87":[0,.68333,.18361,0,.99888],"88":[0,.68333,.15806,0,.74333],"89":[0,.68333,.19383,0,.74333],"90":[0,.68333,.14528,0,.61333],"91":[.25,.75,.1875,0,.30667],"93":[.25,.75,.10528,0,.30667],"94":[0,.69444,.06646,0,.51111],"95":[.31,.12056,.09208,0,.51111],"97":[0,.43056,.07671,0,.51111],"98":[0,.69444,.06312,0,.46],"99":[0,.43056,.05653,0,.46],"100":[0,.69444,.10333,0,.51111],"101":[0,.43056,.07514,0,.46],"102":[.19444,.69444,.21194,0,.30667],"103":[.19444,.43056,.08847,0,.46],"104":[0,.69444,.07671,0,.51111],"105":[0,.65536,.1019,0,.30667],"106":[.19444,.65536,.14467,0,.30667],"107":[0,.69444,.10764,0,.46],"108":[0,.69444,.10333,0,.25555],"109":[0,.43056,.07671,0,.81777],"110":[0,.43056,.07671,0,.56222],"111":[0,.43056,.06312,0,.51111],"112":[.19444,.43056,.06312,0,.51111],"113":[.19444,.43056,.08847,0,.46],"114":[0,.43056,.10764,0,.42166],"115":[0,.43056,.08208,0,.40889],"116":[0,.61508,.09486,0,.33222],"117":[0,.43056,.07671,0,.53666],"118":[0,.43056,.10764,0,.46],"119":[0,.43056,.10764,0,.66444],"120":[0,.43056,.12042,0,.46389],"121":[.19444,.43056,.08847,0,.48555],"122":[0,.43056,.12292,0,.40889],"126":[.35,.31786,.11585,0,.51111],"160":[0,0,0,0,.25],"168":[0,.66786,.10474,0,.51111],"176":[0,.69444,0,0,.83129],"184":[.17014,0,0,0,.46],"198":[0,.68333,.12028,0,.88277],"216":[.04861,.73194,.09403,0,.76666],"223":[.19444,.69444,.10514,0,.53666],"230":[0,.43056,.07514,0,.71555],"248":[.09722,.52778,.09194,0,.51111],"338":[0,.68333,.12028,0,.98499],"339":[0,.43056,.07514,0,.71555],"710":[0,.69444,.06646,0,.51111],"711":[0,.62847,.08295,0,.51111],"713":[0,.56167,.10333,0,.51111],"714":[0,.69444,.09694,0,.51111],"715":[0,.69444,0,0,.51111],"728":[0,.69444,.10806,0,.51111],"729":[0,.66786,.11752,0,.30667],"730":[0,.69444,0,0,.83129],"732":[0,.66786,.11585,0,.51111],"733":[0,.69444,.1225,0,.51111],"915":[0,.68333,.13305,0,.62722],"916":[0,.68333,0,0,.81777],"920":[0,.68333,.09403,0,.76666],"923":[0,.68333,0,0,.69222],"926":[0,.68333,.15294,0,.66444],"928":[0,.68333,.16389,0,.74333],"931":[0,.68333,.12028,0,.71555],"933":[0,.68333,.11111,0,.76666],"934":[0,.68333,.05986,0,.71555],"936":[0,.68333,.11111,0,.76666],"937":[0,.68333,.10257,0,.71555],"8211":[0,.43056,.09208,0,.51111],"8212":[0,.43056,.09208,0,1.02222],"8216":[0,.69444,.12417,0,.30667],"8217":[0,.69444,.12417,0,.30667],"8220":[0,.69444,.1685,0,.51444],"8221":[0,.69444,.06961,0,.51444],"8463":[0,.68889,0,0,.54028]},"Main-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.27778],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.77778],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.19444,.10556,0,0,.27778],"45":[0,.43056,0,0,.33333],"46":[0,.10556,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.64444,0,0,.5],"49":[0,.64444,0,0,.5],"50":[0,.64444,0,0,.5],"51":[0,.64444,0,0,.5],"52":[0,.64444,0,0,.5],"53":[0,.64444,0,0,.5],"54":[0,.64444,0,0,.5],"55":[0,.64444,0,0,.5],"56":[0,.64444,0,0,.5],"57":[0,.64444,0,0,.5],"58":[0,.43056,0,0,.27778],"59":[.19444,.43056,0,0,.27778],"60":[.0391,.5391,0,0,.77778],"61":[-.13313,.36687,0,0,.77778],"62":[.0391,.5391,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.77778],"65":[0,.68333,0,0,.75],"66":[0,.68333,0,0,.70834],"67":[0,.68333,0,0,.72222],"68":[0,.68333,0,0,.76389],"69":[0,.68333,0,0,.68056],"70":[0,.68333,0,0,.65278],"71":[0,.68333,0,0,.78472],"72":[0,.68333,0,0,.75],"73":[0,.68333,0,0,.36111],"74":[0,.68333,0,0,.51389],"75":[0,.68333,0,0,.77778],"76":[0,.68333,0,0,.625],"77":[0,.68333,0,0,.91667],"78":[0,.68333,0,0,.75],"79":[0,.68333,0,0,.77778],"80":[0,.68333,0,0,.68056],"81":[.19444,.68333,0,0,.77778],"82":[0,.68333,0,0,.73611],"83":[0,.68333,0,0,.55556],"84":[0,.68333,0,0,.72222],"85":[0,.68333,0,0,.75],"86":[0,.68333,.01389,0,.75],"87":[0,.68333,.01389,0,1.02778],"88":[0,.68333,0,0,.75],"89":[0,.68333,.025,0,.75],"90":[0,.68333,0,0,.61111],"91":[.25,.75,0,0,.27778],"92":[.25,.75,0,0,.5],"93":[.25,.75,0,0,.27778],"94":[0,.69444,0,0,.5],"95":[.31,.12056,.02778,0,.5],"97":[0,.43056,0,0,.5],"98":[0,.69444,0,0,.55556],"99":[0,.43056,0,0,.44445],"100":[0,.69444,0,0,.55556],"101":[0,.43056,0,0,.44445],"102":[0,.69444,.07778,0,.30556],"103":[.19444,.43056,.01389,0,.5],"104":[0,.69444,0,0,.55556],"105":[0,.66786,0,0,.27778],"106":[.19444,.66786,0,0,.30556],"107":[0,.69444,0,0,.52778],"108":[0,.69444,0,0,.27778],"109":[0,.43056,0,0,.83334],"110":[0,.43056,0,0,.55556],"111":[0,.43056,0,0,.5],"112":[.19444,.43056,0,0,.55556],"113":[.19444,.43056,0,0,.52778],"114":[0,.43056,0,0,.39167],"115":[0,.43056,0,0,.39445],"116":[0,.61508,0,0,.38889],"117":[0,.43056,0,0,.55556],"118":[0,.43056,.01389,0,.52778],"119":[0,.43056,.01389,0,.72222],"120":[0,.43056,0,0,.52778],"121":[.19444,.43056,.01389,0,.52778],"122":[0,.43056,0,0,.44445],"123":[.25,.75,0,0,.5],"124":[.25,.75,0,0,.27778],"125":[.25,.75,0,0,.5],"126":[.35,.31786,0,0,.5],"160":[0,0,0,0,.25],"163":[0,.69444,0,0,.76909],"167":[.19444,.69444,0,0,.44445],"168":[0,.66786,0,0,.5],"172":[0,.43056,0,0,.66667],"176":[0,.69444,0,0,.75],"177":[.08333,.58333,0,0,.77778],"182":[.19444,.69444,0,0,.61111],"184":[.17014,0,0,0,.44445],"198":[0,.68333,0,0,.90278],"215":[.08333,.58333,0,0,.77778],"216":[.04861,.73194,0,0,.77778],"223":[0,.69444,0,0,.5],"230":[0,.43056,0,0,.72222],"247":[.08333,.58333,0,0,.77778],"248":[.09722,.52778,0,0,.5],"305":[0,.43056,0,0,.27778],"338":[0,.68333,0,0,1.01389],"339":[0,.43056,0,0,.77778],"567":[.19444,.43056,0,0,.30556],"710":[0,.69444,0,0,.5],"711":[0,.62847,0,0,.5],"713":[0,.56778,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.66786,0,0,.27778],"730":[0,.69444,0,0,.75],"732":[0,.66786,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.68333,0,0,.625],"916":[0,.68333,0,0,.83334],"920":[0,.68333,0,0,.77778],"923":[0,.68333,0,0,.69445],"926":[0,.68333,0,0,.66667],"928":[0,.68333,0,0,.75],"931":[0,.68333,0,0,.72222],"933":[0,.68333,0,0,.77778],"934":[0,.68333,0,0,.72222],"936":[0,.68333,0,0,.77778],"937":[0,.68333,0,0,.72222],"8211":[0,.43056,.02778,0,.5],"8212":[0,.43056,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5],"8224":[.19444,.69444,0,0,.44445],"8225":[.19444,.69444,0,0,.44445],"8230":[0,.123,0,0,1.172],"8242":[0,.55556,0,0,.275],"8407":[0,.71444,.15382,0,.5],"8463":[0,.68889,0,0,.54028],"8465":[0,.69444,0,0,.72222],"8467":[0,.69444,0,.11111,.41667],"8472":[.19444,.43056,0,.11111,.63646],"8476":[0,.69444,0,0,.72222],"8501":[0,.69444,0,0,.61111],"8592":[-.13313,.36687,0,0,1],"8593":[.19444,.69444,0,0,.5],"8594":[-.13313,.36687,0,0,1],"8595":[.19444,.69444,0,0,.5],"8596":[-.13313,.36687,0,0,1],"8597":[.25,.75,0,0,.5],"8598":[.19444,.69444,0,0,1],"8599":[.19444,.69444,0,0,1],"8600":[.19444,.69444,0,0,1],"8601":[.19444,.69444,0,0,1],"8614":[.011,.511,0,0,1],"8617":[.011,.511,0,0,1.126],"8618":[.011,.511,0,0,1.126],"8636":[-.13313,.36687,0,0,1],"8637":[-.13313,.36687,0,0,1],"8640":[-.13313,.36687,0,0,1],"8641":[-.13313,.36687,0,0,1],"8652":[.011,.671,0,0,1],"8656":[-.13313,.36687,0,0,1],"8657":[.19444,.69444,0,0,.61111],"8658":[-.13313,.36687,0,0,1],"8659":[.19444,.69444,0,0,.61111],"8660":[-.13313,.36687,0,0,1],"8661":[.25,.75,0,0,.61111],"8704":[0,.69444,0,0,.55556],"8706":[0,.69444,.05556,.08334,.5309],"8707":[0,.69444,0,0,.55556],"8709":[.05556,.75,0,0,.5],"8711":[0,.68333,0,0,.83334],"8712":[.0391,.5391,0,0,.66667],"8715":[.0391,.5391,0,0,.66667],"8722":[.08333,.58333,0,0,.77778],"8723":[.08333,.58333,0,0,.77778],"8725":[.25,.75,0,0,.5],"8726":[.25,.75,0,0,.5],"8727":[-.03472,.46528,0,0,.5],"8728":[-.05555,.44445,0,0,.5],"8729":[-.05555,.44445,0,0,.5],"8730":[.2,.8,0,0,.83334],"8733":[0,.43056,0,0,.77778],"8734":[0,.43056,0,0,1],"8736":[0,.69224,0,0,.72222],"8739":[.25,.75,0,0,.27778],"8741":[.25,.75,0,0,.5],"8743":[0,.55556,0,0,.66667],"8744":[0,.55556,0,0,.66667],"8745":[0,.55556,0,0,.66667],"8746":[0,.55556,0,0,.66667],"8747":[.19444,.69444,.11111,0,.41667],"8764":[-.13313,.36687,0,0,.77778],"8768":[.19444,.69444,0,0,.27778],"8771":[-.03625,.46375,0,0,.77778],"8773":[-.022,.589,0,0,.778],"8776":[-.01688,.48312,0,0,.77778],"8781":[-.03625,.46375,0,0,.77778],"8784":[-.133,.673,0,0,.778],"8801":[-.03625,.46375,0,0,.77778],"8804":[.13597,.63597,0,0,.77778],"8805":[.13597,.63597,0,0,.77778],"8810":[.0391,.5391,0,0,1],"8811":[.0391,.5391,0,0,1],"8826":[.0391,.5391,0,0,.77778],"8827":[.0391,.5391,0,0,.77778],"8834":[.0391,.5391,0,0,.77778],"8835":[.0391,.5391,0,0,.77778],"8838":[.13597,.63597,0,0,.77778],"8839":[.13597,.63597,0,0,.77778],"8846":[0,.55556,0,0,.66667],"8849":[.13597,.63597,0,0,.77778],"8850":[.13597,.63597,0,0,.77778],"8851":[0,.55556,0,0,.66667],"8852":[0,.55556,0,0,.66667],"8853":[.08333,.58333,0,0,.77778],"8854":[.08333,.58333,0,0,.77778],"8855":[.08333,.58333,0,0,.77778],"8856":[.08333,.58333,0,0,.77778],"8857":[.08333,.58333,0,0,.77778],"8866":[0,.69444,0,0,.61111],"8867":[0,.69444,0,0,.61111],"8868":[0,.69444,0,0,.77778],"8869":[0,.69444,0,0,.77778],"8872":[.249,.75,0,0,.867],"8900":[-.05555,.44445,0,0,.5],"8901":[-.05555,.44445,0,0,.27778],"8902":[-.03472,.46528,0,0,.5],"8904":[.005,.505,0,0,.9],"8942":[.03,.903,0,0,.278],"8943":[-.19,.313,0,0,1.172],"8945":[-.1,.823,0,0,1.282],"8968":[.25,.75,0,0,.44445],"8969":[.25,.75,0,0,.44445],"8970":[.25,.75,0,0,.44445],"8971":[.25,.75,0,0,.44445],"8994":[-.14236,.35764,0,0,1],"8995":[-.14236,.35764,0,0,1],"9136":[.244,.744,0,0,.412],"9137":[.244,.745,0,0,.412],"9651":[.19444,.69444,0,0,.88889],"9657":[-.03472,.46528,0,0,.5],"9661":[.19444,.69444,0,0,.88889],"9667":[-.03472,.46528,0,0,.5],"9711":[.19444,.69444,0,0,1],"9824":[.12963,.69444,0,0,.77778],"9825":[.12963,.69444,0,0,.77778],"9826":[.12963,.69444,0,0,.77778],"9827":[.12963,.69444,0,0,.77778],"9837":[0,.75,0,0,.38889],"9838":[.19444,.69444,0,0,.38889],"9839":[.19444,.69444,0,0,.38889],"10216":[.25,.75,0,0,.38889],"10217":[.25,.75,0,0,.38889],"10222":[.244,.744,0,0,.412],"10223":[.244,.745,0,0,.412],"10229":[.011,.511,0,0,1.609],"10230":[.011,.511,0,0,1.638],"10231":[.011,.511,0,0,1.859],"10232":[.024,.525,0,0,1.609],"10233":[.024,.525,0,0,1.638],"10234":[.024,.525,0,0,1.858],"10236":[.011,.511,0,0,1.638],"10815":[0,.68333,0,0,.75],"10927":[.13597,.63597,0,0,.77778],"10928":[.13597,.63597,0,0,.77778],"57376":[.19444,.69444,0,0,0]},"Math-BoldItalic":{"32":[0,0,0,0,.25],"48":[0,.44444,0,0,.575],"49":[0,.44444,0,0,.575],"50":[0,.44444,0,0,.575],"51":[.19444,.44444,0,0,.575],"52":[.19444,.44444,0,0,.575],"53":[.19444,.44444,0,0,.575],"54":[0,.64444,0,0,.575],"55":[.19444,.44444,0,0,.575],"56":[0,.64444,0,0,.575],"57":[.19444,.44444,0,0,.575],"65":[0,.68611,0,0,.86944],"66":[0,.68611,.04835,0,.8664],"67":[0,.68611,.06979,0,.81694],"68":[0,.68611,.03194,0,.93812],"69":[0,.68611,.05451,0,.81007],"70":[0,.68611,.15972,0,.68889],"71":[0,.68611,0,0,.88673],"72":[0,.68611,.08229,0,.98229],"73":[0,.68611,.07778,0,.51111],"74":[0,.68611,.10069,0,.63125],"75":[0,.68611,.06979,0,.97118],"76":[0,.68611,0,0,.75555],"77":[0,.68611,.11424,0,1.14201],"78":[0,.68611,.11424,0,.95034],"79":[0,.68611,.03194,0,.83666],"80":[0,.68611,.15972,0,.72309],"81":[.19444,.68611,0,0,.86861],"82":[0,.68611,.00421,0,.87235],"83":[0,.68611,.05382,0,.69271],"84":[0,.68611,.15972,0,.63663],"85":[0,.68611,.11424,0,.80027],"86":[0,.68611,.25555,0,.67778],"87":[0,.68611,.15972,0,1.09305],"88":[0,.68611,.07778,0,.94722],"89":[0,.68611,.25555,0,.67458],"90":[0,.68611,.06979,0,.77257],"97":[0,.44444,0,0,.63287],"98":[0,.69444,0,0,.52083],"99":[0,.44444,0,0,.51342],"100":[0,.69444,0,0,.60972],"101":[0,.44444,0,0,.55361],"102":[.19444,.69444,.11042,0,.56806],"103":[.19444,.44444,.03704,0,.5449],"104":[0,.69444,0,0,.66759],"105":[0,.69326,0,0,.4048],"106":[.19444,.69326,.0622,0,.47083],"107":[0,.69444,.01852,0,.6037],"108":[0,.69444,.0088,0,.34815],"109":[0,.44444,0,0,1.0324],"110":[0,.44444,0,0,.71296],"111":[0,.44444,0,0,.58472],"112":[.19444,.44444,0,0,.60092],"113":[.19444,.44444,.03704,0,.54213],"114":[0,.44444,.03194,0,.5287],"115":[0,.44444,0,0,.53125],"116":[0,.63492,0,0,.41528],"117":[0,.44444,0,0,.68102],"118":[0,.44444,.03704,0,.56666],"119":[0,.44444,.02778,0,.83148],"120":[0,.44444,0,0,.65903],"121":[.19444,.44444,.03704,0,.59028],"122":[0,.44444,.04213,0,.55509],"160":[0,0,0,0,.25],"915":[0,.68611,.15972,0,.65694],"916":[0,.68611,0,0,.95833],"920":[0,.68611,.03194,0,.86722],"923":[0,.68611,0,0,.80555],"926":[0,.68611,.07458,0,.84125],"928":[0,.68611,.08229,0,.98229],"931":[0,.68611,.05451,0,.88507],"933":[0,.68611,.15972,0,.67083],"934":[0,.68611,0,0,.76666],"936":[0,.68611,.11653,0,.71402],"937":[0,.68611,.04835,0,.8789],"945":[0,.44444,0,0,.76064],"946":[.19444,.69444,.03403,0,.65972],"947":[.19444,.44444,.06389,0,.59003],"948":[0,.69444,.03819,0,.52222],"949":[0,.44444,0,0,.52882],"950":[.19444,.69444,.06215,0,.50833],"951":[.19444,.44444,.03704,0,.6],"952":[0,.69444,.03194,0,.5618],"953":[0,.44444,0,0,.41204],"954":[0,.44444,0,0,.66759],"955":[0,.69444,0,0,.67083],"956":[.19444,.44444,0,0,.70787],"957":[0,.44444,.06898,0,.57685],"958":[.19444,.69444,.03021,0,.50833],"959":[0,.44444,0,0,.58472],"960":[0,.44444,.03704,0,.68241],"961":[.19444,.44444,0,0,.6118],"962":[.09722,.44444,.07917,0,.42361],"963":[0,.44444,.03704,0,.68588],"964":[0,.44444,.13472,0,.52083],"965":[0,.44444,.03704,0,.63055],"966":[.19444,.44444,0,0,.74722],"967":[.19444,.44444,0,0,.71805],"968":[.19444,.69444,.03704,0,.75833],"969":[0,.44444,.03704,0,.71782],"977":[0,.69444,0,0,.69155],"981":[.19444,.69444,0,0,.7125],"982":[0,.44444,.03194,0,.975],"1009":[.19444,.44444,0,0,.6118],"1013":[0,.44444,0,0,.48333],"57649":[0,.44444,0,0,.39352],"57911":[.19444,.44444,0,0,.43889]},"Math-Italic":{"32":[0,0,0,0,.25],"48":[0,.43056,0,0,.5],"49":[0,.43056,0,0,.5],"50":[0,.43056,0,0,.5],"51":[.19444,.43056,0,0,.5],"52":[.19444,.43056,0,0,.5],"53":[.19444,.43056,0,0,.5],"54":[0,.64444,0,0,.5],"55":[.19444,.43056,0,0,.5],"56":[0,.64444,0,0,.5],"57":[.19444,.43056,0,0,.5],"65":[0,.68333,0,.13889,.75],"66":[0,.68333,.05017,.08334,.75851],"67":[0,.68333,.07153,.08334,.71472],"68":[0,.68333,.02778,.05556,.82792],"69":[0,.68333,.05764,.08334,.7382],"70":[0,.68333,.13889,.08334,.64306],"71":[0,.68333,0,.08334,.78625],"72":[0,.68333,.08125,.05556,.83125],"73":[0,.68333,.07847,.11111,.43958],"74":[0,.68333,.09618,.16667,.55451],"75":[0,.68333,.07153,.05556,.84931],"76":[0,.68333,0,.02778,.68056],"77":[0,.68333,.10903,.08334,.97014],"78":[0,.68333,.10903,.08334,.80347],"79":[0,.68333,.02778,.08334,.76278],"80":[0,.68333,.13889,.08334,.64201],"81":[.19444,.68333,0,.08334,.79056],"82":[0,.68333,.00773,.08334,.75929],"83":[0,.68333,.05764,.08334,.6132],"84":[0,.68333,.13889,.08334,.58438],"85":[0,.68333,.10903,.02778,.68278],"86":[0,.68333,.22222,0,.58333],"87":[0,.68333,.13889,0,.94445],"88":[0,.68333,.07847,.08334,.82847],"89":[0,.68333,.22222,0,.58056],"90":[0,.68333,.07153,.08334,.68264],"97":[0,.43056,0,0,.52859],"98":[0,.69444,0,0,.42917],"99":[0,.43056,0,.05556,.43276],"100":[0,.69444,0,.16667,.52049],"101":[0,.43056,0,.05556,.46563],"102":[.19444,.69444,.10764,.16667,.48959],"103":[.19444,.43056,.03588,.02778,.47697],"104":[0,.69444,0,0,.57616],"105":[0,.65952,0,0,.34451],"106":[.19444,.65952,.05724,0,.41181],"107":[0,.69444,.03148,0,.5206],"108":[0,.69444,.01968,.08334,.29838],"109":[0,.43056,0,0,.87801],"110":[0,.43056,0,0,.60023],"111":[0,.43056,0,.05556,.48472],"112":[.19444,.43056,0,.08334,.50313],"113":[.19444,.43056,.03588,.08334,.44641],"114":[0,.43056,.02778,.05556,.45116],"115":[0,.43056,0,.05556,.46875],"116":[0,.61508,0,.08334,.36111],"117":[0,.43056,0,.02778,.57246],"118":[0,.43056,.03588,.02778,.48472],"119":[0,.43056,.02691,.08334,.71592],"120":[0,.43056,0,.02778,.57153],"121":[.19444,.43056,.03588,.05556,.49028],"122":[0,.43056,.04398,.05556,.46505],"160":[0,0,0,0,.25],"915":[0,.68333,.13889,.08334,.61528],"916":[0,.68333,0,.16667,.83334],"920":[0,.68333,.02778,.08334,.76278],"923":[0,.68333,0,.16667,.69445],"926":[0,.68333,.07569,.08334,.74236],"928":[0,.68333,.08125,.05556,.83125],"931":[0,.68333,.05764,.08334,.77986],"933":[0,.68333,.13889,.05556,.58333],"934":[0,.68333,0,.08334,.66667],"936":[0,.68333,.11,.05556,.61222],"937":[0,.68333,.05017,.08334,.7724],"945":[0,.43056,.0037,.02778,.6397],"946":[.19444,.69444,.05278,.08334,.56563],"947":[.19444,.43056,.05556,0,.51773],"948":[0,.69444,.03785,.05556,.44444],"949":[0,.43056,0,.08334,.46632],"950":[.19444,.69444,.07378,.08334,.4375],"951":[.19444,.43056,.03588,.05556,.49653],"952":[0,.69444,.02778,.08334,.46944],"953":[0,.43056,0,.05556,.35394],"954":[0,.43056,0,0,.57616],"955":[0,.69444,0,0,.58334],"956":[.19444,.43056,0,.02778,.60255],"957":[0,.43056,.06366,.02778,.49398],"958":[.19444,.69444,.04601,.11111,.4375],"959":[0,.43056,0,.05556,.48472],"960":[0,.43056,.03588,0,.57003],"961":[.19444,.43056,0,.08334,.51702],"962":[.09722,.43056,.07986,.08334,.36285],"963":[0,.43056,.03588,0,.57141],"964":[0,.43056,.1132,.02778,.43715],"965":[0,.43056,.03588,.02778,.54028],"966":[.19444,.43056,0,.08334,.65417],"967":[.19444,.43056,0,.05556,.62569],"968":[.19444,.69444,.03588,.11111,.65139],"969":[0,.43056,.03588,0,.62245],"977":[0,.69444,0,.08334,.59144],"981":[.19444,.69444,0,.08334,.59583],"982":[0,.43056,.02778,0,.82813],"1009":[.19444,.43056,0,.08334,.51702],"1013":[0,.43056,0,.05556,.4059],"57649":[0,.43056,0,.02778,.32246],"57911":[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.36667],"34":[0,.69444,0,0,.55834],"35":[.19444,.69444,0,0,.91667],"36":[.05556,.75,0,0,.55],"37":[.05556,.75,0,0,1.02912],"38":[0,.69444,0,0,.83056],"39":[0,.69444,0,0,.30556],"40":[.25,.75,0,0,.42778],"41":[.25,.75,0,0,.42778],"42":[0,.75,0,0,.55],"43":[.11667,.61667,0,0,.85556],"44":[.10556,.13056,0,0,.30556],"45":[0,.45833,0,0,.36667],"46":[0,.13056,0,0,.30556],"47":[.25,.75,0,0,.55],"48":[0,.69444,0,0,.55],"49":[0,.69444,0,0,.55],"50":[0,.69444,0,0,.55],"51":[0,.69444,0,0,.55],"52":[0,.69444,0,0,.55],"53":[0,.69444,0,0,.55],"54":[0,.69444,0,0,.55],"55":[0,.69444,0,0,.55],"56":[0,.69444,0,0,.55],"57":[0,.69444,0,0,.55],"58":[0,.45833,0,0,.30556],"59":[.10556,.45833,0,0,.30556],"61":[-.09375,.40625,0,0,.85556],"63":[0,.69444,0,0,.51945],"64":[0,.69444,0,0,.73334],"65":[0,.69444,0,0,.73334],"66":[0,.69444,0,0,.73334],"67":[0,.69444,0,0,.70278],"68":[0,.69444,0,0,.79445],"69":[0,.69444,0,0,.64167],"70":[0,.69444,0,0,.61111],"71":[0,.69444,0,0,.73334],"72":[0,.69444,0,0,.79445],"73":[0,.69444,0,0,.33056],"74":[0,.69444,0,0,.51945],"75":[0,.69444,0,0,.76389],"76":[0,.69444,0,0,.58056],"77":[0,.69444,0,0,.97778],"78":[0,.69444,0,0,.79445],"79":[0,.69444,0,0,.79445],"80":[0,.69444,0,0,.70278],"81":[.10556,.69444,0,0,.79445],"82":[0,.69444,0,0,.70278],"83":[0,.69444,0,0,.61111],"84":[0,.69444,0,0,.73334],"85":[0,.69444,0,0,.76389],"86":[0,.69444,.01528,0,.73334],"87":[0,.69444,.01528,0,1.03889],"88":[0,.69444,0,0,.73334],"89":[0,.69444,.0275,0,.73334],"90":[0,.69444,0,0,.67223],"91":[.25,.75,0,0,.34306],"93":[.25,.75,0,0,.34306],"94":[0,.69444,0,0,.55],"95":[.35,.10833,.03056,0,.55],"97":[0,.45833,0,0,.525],"98":[0,.69444,0,0,.56111],"99":[0,.45833,0,0,.48889],"100":[0,.69444,0,0,.56111],"101":[0,.45833,0,0,.51111],"102":[0,.69444,.07639,0,.33611],"103":[.19444,.45833,.01528,0,.55],"104":[0,.69444,0,0,.56111],"105":[0,.69444,0,0,.25556],"106":[.19444,.69444,0,0,.28611],"107":[0,.69444,0,0,.53056],"108":[0,.69444,0,0,.25556],"109":[0,.45833,0,0,.86667],"110":[0,.45833,0,0,.56111],"111":[0,.45833,0,0,.55],"112":[.19444,.45833,0,0,.56111],"113":[.19444,.45833,0,0,.56111],"114":[0,.45833,.01528,0,.37222],"115":[0,.45833,0,0,.42167],"116":[0,.58929,0,0,.40417],"117":[0,.45833,0,0,.56111],"118":[0,.45833,.01528,0,.5],"119":[0,.45833,.01528,0,.74445],"120":[0,.45833,0,0,.5],"121":[.19444,.45833,.01528,0,.5],"122":[0,.45833,0,0,.47639],"126":[.35,.34444,0,0,.55],"160":[0,0,0,0,.25],"168":[0,.69444,0,0,.55],"176":[0,.69444,0,0,.73334],"180":[0,.69444,0,0,.55],"184":[.17014,0,0,0,.48889],"305":[0,.45833,0,0,.25556],"567":[.19444,.45833,0,0,.28611],"710":[0,.69444,0,0,.55],"711":[0,.63542,0,0,.55],"713":[0,.63778,0,0,.55],"728":[0,.69444,0,0,.55],"729":[0,.69444,0,0,.30556],"730":[0,.69444,0,0,.73334],"732":[0,.69444,0,0,.55],"733":[0,.69444,0,0,.55],"915":[0,.69444,0,0,.58056],"916":[0,.69444,0,0,.91667],"920":[0,.69444,0,0,.85556],"923":[0,.69444,0,0,.67223],"926":[0,.69444,0,0,.73334],"928":[0,.69444,0,0,.79445],"931":[0,.69444,0,0,.79445],"933":[0,.69444,0,0,.85556],"934":[0,.69444,0,0,.79445],"936":[0,.69444,0,0,.85556],"937":[0,.69444,0,0,.79445],"8211":[0,.45833,.03056,0,.55],"8212":[0,.45833,.03056,0,1.10001],"8216":[0,.69444,0,0,.30556],"8217":[0,.69444,0,0,.30556],"8220":[0,.69444,0,0,.55834],"8221":[0,.69444,0,0,.55834]},"SansSerif-Italic":{"32":[0,0,0,0,.25],"33":[0,.69444,.05733,0,.31945],"34":[0,.69444,.00316,0,.5],"35":[.19444,.69444,.05087,0,.83334],"36":[.05556,.75,.11156,0,.5],"37":[.05556,.75,.03126,0,.83334],"38":[0,.69444,.03058,0,.75834],"39":[0,.69444,.07816,0,.27778],"40":[.25,.75,.13164,0,.38889],"41":[.25,.75,.02536,0,.38889],"42":[0,.75,.11775,0,.5],"43":[.08333,.58333,.02536,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,.01946,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,.13164,0,.5],"48":[0,.65556,.11156,0,.5],"49":[0,.65556,.11156,0,.5],"50":[0,.65556,.11156,0,.5],"51":[0,.65556,.11156,0,.5],"52":[0,.65556,.11156,0,.5],"53":[0,.65556,.11156,0,.5],"54":[0,.65556,.11156,0,.5],"55":[0,.65556,.11156,0,.5],"56":[0,.65556,.11156,0,.5],"57":[0,.65556,.11156,0,.5],"58":[0,.44444,.02502,0,.27778],"59":[.125,.44444,.02502,0,.27778],"61":[-.13,.37,.05087,0,.77778],"63":[0,.69444,.11809,0,.47222],"64":[0,.69444,.07555,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,.08293,0,.66667],"67":[0,.69444,.11983,0,.63889],"68":[0,.69444,.07555,0,.72223],"69":[0,.69444,.11983,0,.59722],"70":[0,.69444,.13372,0,.56945],"71":[0,.69444,.11983,0,.66667],"72":[0,.69444,.08094,0,.70834],"73":[0,.69444,.13372,0,.27778],"74":[0,.69444,.08094,0,.47222],"75":[0,.69444,.11983,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,.08094,0,.875],"78":[0,.69444,.08094,0,.70834],"79":[0,.69444,.07555,0,.73611],"80":[0,.69444,.08293,0,.63889],"81":[.125,.69444,.07555,0,.73611],"82":[0,.69444,.08293,0,.64584],"83":[0,.69444,.09205,0,.55556],"84":[0,.69444,.13372,0,.68056],"85":[0,.69444,.08094,0,.6875],"86":[0,.69444,.1615,0,.66667],"87":[0,.69444,.1615,0,.94445],"88":[0,.69444,.13372,0,.66667],"89":[0,.69444,.17261,0,.66667],"90":[0,.69444,.11983,0,.61111],"91":[.25,.75,.15942,0,.28889],"93":[.25,.75,.08719,0,.28889],"94":[0,.69444,.0799,0,.5],"95":[.35,.09444,.08616,0,.5],"97":[0,.44444,.00981,0,.48056],"98":[0,.69444,.03057,0,.51667],"99":[0,.44444,.08336,0,.44445],"100":[0,.69444,.09483,0,.51667],"101":[0,.44444,.06778,0,.44445],"102":[0,.69444,.21705,0,.30556],"103":[.19444,.44444,.10836,0,.5],"104":[0,.69444,.01778,0,.51667],"105":[0,.67937,.09718,0,.23889],"106":[.19444,.67937,.09162,0,.26667],"107":[0,.69444,.08336,0,.48889],"108":[0,.69444,.09483,0,.23889],"109":[0,.44444,.01778,0,.79445],"110":[0,.44444,.01778,0,.51667],"111":[0,.44444,.06613,0,.5],"112":[.19444,.44444,.0389,0,.51667],"113":[.19444,.44444,.04169,0,.51667],"114":[0,.44444,.10836,0,.34167],"115":[0,.44444,.0778,0,.38333],"116":[0,.57143,.07225,0,.36111],"117":[0,.44444,.04169,0,.51667],"118":[0,.44444,.10836,0,.46111],"119":[0,.44444,.10836,0,.68334],"120":[0,.44444,.09169,0,.46111],"121":[.19444,.44444,.10836,0,.46111],"122":[0,.44444,.08752,0,.43472],"126":[.35,.32659,.08826,0,.5],"160":[0,0,0,0,.25],"168":[0,.67937,.06385,0,.5],"176":[0,.69444,0,0,.73752],"184":[.17014,0,0,0,.44445],"305":[0,.44444,.04169,0,.23889],"567":[.19444,.44444,.04169,0,.26667],"710":[0,.69444,.0799,0,.5],"711":[0,.63194,.08432,0,.5],"713":[0,.60889,.08776,0,.5],"714":[0,.69444,.09205,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,.09483,0,.5],"729":[0,.67937,.07774,0,.27778],"730":[0,.69444,0,0,.73752],"732":[0,.67659,.08826,0,.5],"733":[0,.69444,.09205,0,.5],"915":[0,.69444,.13372,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,.07555,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,.12816,0,.66667],"928":[0,.69444,.08094,0,.70834],"931":[0,.69444,.11983,0,.72222],"933":[0,.69444,.09031,0,.77778],"934":[0,.69444,.04603,0,.72222],"936":[0,.69444,.09031,0,.77778],"937":[0,.69444,.08293,0,.72222],"8211":[0,.44444,.08616,0,.5],"8212":[0,.44444,.08616,0,1],"8216":[0,.69444,.07816,0,.27778],"8217":[0,.69444,.07816,0,.27778],"8220":[0,.69444,.14205,0,.5],"8221":[0,.69444,.00316,0,.5]},"SansSerif-Regular":{"32":[0,0,0,0,.25],"33":[0,.69444,0,0,.31945],"34":[0,.69444,0,0,.5],"35":[.19444,.69444,0,0,.83334],"36":[.05556,.75,0,0,.5],"37":[.05556,.75,0,0,.83334],"38":[0,.69444,0,0,.75834],"39":[0,.69444,0,0,.27778],"40":[.25,.75,0,0,.38889],"41":[.25,.75,0,0,.38889],"42":[0,.75,0,0,.5],"43":[.08333,.58333,0,0,.77778],"44":[.125,.08333,0,0,.27778],"45":[0,.44444,0,0,.33333],"46":[0,.08333,0,0,.27778],"47":[.25,.75,0,0,.5],"48":[0,.65556,0,0,.5],"49":[0,.65556,0,0,.5],"50":[0,.65556,0,0,.5],"51":[0,.65556,0,0,.5],"52":[0,.65556,0,0,.5],"53":[0,.65556,0,0,.5],"54":[0,.65556,0,0,.5],"55":[0,.65556,0,0,.5],"56":[0,.65556,0,0,.5],"57":[0,.65556,0,0,.5],"58":[0,.44444,0,0,.27778],"59":[.125,.44444,0,0,.27778],"61":[-.13,.37,0,0,.77778],"63":[0,.69444,0,0,.47222],"64":[0,.69444,0,0,.66667],"65":[0,.69444,0,0,.66667],"66":[0,.69444,0,0,.66667],"67":[0,.69444,0,0,.63889],"68":[0,.69444,0,0,.72223],"69":[0,.69444,0,0,.59722],"70":[0,.69444,0,0,.56945],"71":[0,.69444,0,0,.66667],"72":[0,.69444,0,0,.70834],"73":[0,.69444,0,0,.27778],"74":[0,.69444,0,0,.47222],"75":[0,.69444,0,0,.69445],"76":[0,.69444,0,0,.54167],"77":[0,.69444,0,0,.875],"78":[0,.69444,0,0,.70834],"79":[0,.69444,0,0,.73611],"80":[0,.69444,0,0,.63889],"81":[.125,.69444,0,0,.73611],"82":[0,.69444,0,0,.64584],"83":[0,.69444,0,0,.55556],"84":[0,.69444,0,0,.68056],"85":[0,.69444,0,0,.6875],"86":[0,.69444,.01389,0,.66667],"87":[0,.69444,.01389,0,.94445],"88":[0,.69444,0,0,.66667],"89":[0,.69444,.025,0,.66667],"90":[0,.69444,0,0,.61111],"91":[.25,.75,0,0,.28889],"93":[.25,.75,0,0,.28889],"94":[0,.69444,0,0,.5],"95":[.35,.09444,.02778,0,.5],"97":[0,.44444,0,0,.48056],"98":[0,.69444,0,0,.51667],"99":[0,.44444,0,0,.44445],"100":[0,.69444,0,0,.51667],"101":[0,.44444,0,0,.44445],"102":[0,.69444,.06944,0,.30556],"103":[.19444,.44444,.01389,0,.5],"104":[0,.69444,0,0,.51667],"105":[0,.67937,0,0,.23889],"106":[.19444,.67937,0,0,.26667],"107":[0,.69444,0,0,.48889],"108":[0,.69444,0,0,.23889],"109":[0,.44444,0,0,.79445],"110":[0,.44444,0,0,.51667],"111":[0,.44444,0,0,.5],"112":[.19444,.44444,0,0,.51667],"113":[.19444,.44444,0,0,.51667],"114":[0,.44444,.01389,0,.34167],"115":[0,.44444,0,0,.38333],"116":[0,.57143,0,0,.36111],"117":[0,.44444,0,0,.51667],"118":[0,.44444,.01389,0,.46111],"119":[0,.44444,.01389,0,.68334],"120":[0,.44444,0,0,.46111],"121":[.19444,.44444,.01389,0,.46111],"122":[0,.44444,0,0,.43472],"126":[.35,.32659,0,0,.5],"160":[0,0,0,0,.25],"168":[0,.67937,0,0,.5],"176":[0,.69444,0,0,.66667],"184":[.17014,0,0,0,.44445],"305":[0,.44444,0,0,.23889],"567":[.19444,.44444,0,0,.26667],"710":[0,.69444,0,0,.5],"711":[0,.63194,0,0,.5],"713":[0,.60889,0,0,.5],"714":[0,.69444,0,0,.5],"715":[0,.69444,0,0,.5],"728":[0,.69444,0,0,.5],"729":[0,.67937,0,0,.27778],"730":[0,.69444,0,0,.66667],"732":[0,.67659,0,0,.5],"733":[0,.69444,0,0,.5],"915":[0,.69444,0,0,.54167],"916":[0,.69444,0,0,.83334],"920":[0,.69444,0,0,.77778],"923":[0,.69444,0,0,.61111],"926":[0,.69444,0,0,.66667],"928":[0,.69444,0,0,.70834],"931":[0,.69444,0,0,.72222],"933":[0,.69444,0,0,.77778],"934":[0,.69444,0,0,.72222],"936":[0,.69444,0,0,.77778],"937":[0,.69444,0,0,.72222],"8211":[0,.44444,.02778,0,.5],"8212":[0,.44444,.02778,0,1],"8216":[0,.69444,0,0,.27778],"8217":[0,.69444,0,0,.27778],"8220":[0,.69444,0,0,.5],"8221":[0,.69444,0,0,.5]},"Script-Regular":{"32":[0,0,0,0,.25],"65":[0,.7,.22925,0,.80253],"66":[0,.7,.04087,0,.90757],"67":[0,.7,.1689,0,.66619],"68":[0,.7,.09371,0,.77443],"69":[0,.7,.18583,0,.56162],"70":[0,.7,.13634,0,.89544],"71":[0,.7,.17322,0,.60961],"72":[0,.7,.29694,0,.96919],"73":[0,.7,.19189,0,.80907],"74":[.27778,.7,.19189,0,1.05159],"75":[0,.7,.31259,0,.91364],"76":[0,.7,.19189,0,.87373],"77":[0,.7,.15981,0,1.08031],"78":[0,.7,.3525,0,.9015],"79":[0,.7,.08078,0,.73787],"80":[0,.7,.08078,0,1.01262],"81":[0,.7,.03305,0,.88282],"82":[0,.7,.06259,0,.85],"83":[0,.7,.19189,0,.86767],"84":[0,.7,.29087,0,.74697],"85":[0,.7,.25815,0,.79996],"86":[0,.7,.27523,0,.62204],"87":[0,.7,.27523,0,.80532],"88":[0,.7,.26006,0,.94445],"89":[0,.7,.2939,0,.70961],"90":[0,.7,.24037,0,.8212],"160":[0,0,0,0,.25]},"Size1-Regular":{"32":[0,0,0,0,.25],"40":[.35001,.85,0,0,.45834],"41":[.35001,.85,0,0,.45834],"47":[.35001,.85,0,0,.57778],"91":[.35001,.85,0,0,.41667],"92":[.35001,.85,0,0,.57778],"93":[.35001,.85,0,0,.41667],"123":[.35001,.85,0,0,.58334],"125":[.35001,.85,0,0,.58334],"160":[0,0,0,0,.25],"710":[0,.72222,0,0,.55556],"732":[0,.72222,0,0,.55556],"770":[0,.72222,0,0,.55556],"771":[0,.72222,0,0,.55556],"8214":[-99e-5,.601,0,0,.77778],"8593":[1e-5,.6,0,0,.66667],"8595":[1e-5,.6,0,0,.66667],"8657":[1e-5,.6,0,0,.77778],"8659":[1e-5,.6,0,0,.77778],"8719":[.25001,.75,0,0,.94445],"8720":[.25001,.75,0,0,.94445],"8721":[.25001,.75,0,0,1.05556],"8730":[.35001,.85,0,0,1],"8739":[-.00599,.606,0,0,.33333],"8741":[-.00599,.606,0,0,.55556],"8747":[.30612,.805,.19445,0,.47222],"8748":[.306,.805,.19445,0,.47222],"8749":[.306,.805,.19445,0,.47222],"8750":[.30612,.805,.19445,0,.47222],"8896":[.25001,.75,0,0,.83334],"8897":[.25001,.75,0,0,.83334],"8898":[.25001,.75,0,0,.83334],"8899":[.25001,.75,0,0,.83334],"8968":[.35001,.85,0,0,.47222],"8969":[.35001,.85,0,0,.47222],"8970":[.35001,.85,0,0,.47222],"8971":[.35001,.85,0,0,.47222],"9168":[-99e-5,.601,0,0,.66667],"10216":[.35001,.85,0,0,.47222],"10217":[.35001,.85,0,0,.47222],"10752":[.25001,.75,0,0,1.11111],"10753":[.25001,.75,0,0,1.11111],"10754":[.25001,.75,0,0,1.11111],"10756":[.25001,.75,0,0,.83334],"10758":[.25001,.75,0,0,.83334]},"Size2-Regular":{"32":[0,0,0,0,.25],"40":[.65002,1.15,0,0,.59722],"41":[.65002,1.15,0,0,.59722],"47":[.65002,1.15,0,0,.81111],"91":[.65002,1.15,0,0,.47222],"92":[.65002,1.15,0,0,.81111],"93":[.65002,1.15,0,0,.47222],"123":[.65002,1.15,0,0,.66667],"125":[.65002,1.15,0,0,.66667],"160":[0,0,0,0,.25],"710":[0,.75,0,0,1],"732":[0,.75,0,0,1],"770":[0,.75,0,0,1],"771":[0,.75,0,0,1],"8719":[.55001,1.05,0,0,1.27778],"8720":[.55001,1.05,0,0,1.27778],"8721":[.55001,1.05,0,0,1.44445],"8730":[.65002,1.15,0,0,1],"8747":[.86225,1.36,.44445,0,.55556],"8748":[.862,1.36,.44445,0,.55556],"8749":[.862,1.36,.44445,0,.55556],"8750":[.86225,1.36,.44445,0,.55556],"8896":[.55001,1.05,0,0,1.11111],"8897":[.55001,1.05,0,0,1.11111],"8898":[.55001,1.05,0,0,1.11111],"8899":[.55001,1.05,0,0,1.11111],"8968":[.65002,1.15,0,0,.52778],"8969":[.65002,1.15,0,0,.52778],"8970":[.65002,1.15,0,0,.52778],"8971":[.65002,1.15,0,0,.52778],"10216":[.65002,1.15,0,0,.61111],"10217":[.65002,1.15,0,0,.61111],"10752":[.55001,1.05,0,0,1.51112],"10753":[.55001,1.05,0,0,1.51112],"10754":[.55001,1.05,0,0,1.51112],"10756":[.55001,1.05,0,0,1.11111],"10758":[.55001,1.05,0,0,1.11111]},"Size3-Regular":{"32":[0,0,0,0,.25],"40":[.95003,1.45,0,0,.73611],"41":[.95003,1.45,0,0,.73611],"47":[.95003,1.45,0,0,1.04445],"91":[.95003,1.45,0,0,.52778],"92":[.95003,1.45,0,0,1.04445],"93":[.95003,1.45,0,0,.52778],"123":[.95003,1.45,0,0,.75],"125":[.95003,1.45,0,0,.75],"160":[0,0,0,0,.25],"710":[0,.75,0,0,1.44445],"732":[0,.75,0,0,1.44445],"770":[0,.75,0,0,1.44445],"771":[0,.75,0,0,1.44445],"8730":[.95003,1.45,0,0,1],"8968":[.95003,1.45,0,0,.58334],"8969":[.95003,1.45,0,0,.58334],"8970":[.95003,1.45,0,0,.58334],"8971":[.95003,1.45,0,0,.58334],"10216":[.95003,1.45,0,0,.75],"10217":[.95003,1.45,0,0,.75]},"Size4-Regular":{"32":[0,0,0,0,.25],"40":[1.25003,1.75,0,0,.79167],"41":[1.25003,1.75,0,0,.79167],"47":[1.25003,1.75,0,0,1.27778],"91":[1.25003,1.75,0,0,.58334],"92":[1.25003,1.75,0,0,1.27778],"93":[1.25003,1.75,0,0,.58334],"123":[1.25003,1.75,0,0,.80556],"125":[1.25003,1.75,0,0,.80556],"160":[0,0,0,0,.25],"710":[0,.825,0,0,1.8889],"732":[0,.825,0,0,1.8889],"770":[0,.825,0,0,1.8889],"771":[0,.825,0,0,1.8889],"8730":[1.25003,1.75,0,0,1],"8968":[1.25003,1.75,0,0,.63889],"8969":[1.25003,1.75,0,0,.63889],"8970":[1.25003,1.75,0,0,.63889],"8971":[1.25003,1.75,0,0,.63889],"9115":[.64502,1.155,0,0,.875],"9116":[1e-5,.6,0,0,.875],"9117":[.64502,1.155,0,0,.875],"9118":[.64502,1.155,0,0,.875],"9119":[1e-5,.6,0,0,.875],"9120":[.64502,1.155,0,0,.875],"9121":[.64502,1.155,0,0,.66667],"9122":[-99e-5,.601,0,0,.66667],"9123":[.64502,1.155,0,0,.66667],"9124":[.64502,1.155,0,0,.66667],"9125":[-99e-5,.601,0,0,.66667],"9126":[.64502,1.155,0,0,.66667],"9127":[1e-5,.9,0,0,.88889],"9128":[.65002,1.15,0,0,.88889],"9129":[.90001,0,0,0,.88889],"9130":[0,.3,0,0,.88889],"9131":[1e-5,.9,0,0,.88889],"9132":[.65002,1.15,0,0,.88889],"9133":[.90001,0,0,0,.88889],"9143":[.88502,.915,0,0,1.05556],"10216":[1.25003,1.75,0,0,.80556],"10217":[1.25003,1.75,0,0,.80556],"57344":[-.00499,.605,0,0,1.05556],"57345":[-.00499,.605,0,0,1.05556],"57680":[0,.12,0,0,.45],"57681":[0,.12,0,0,.45],"57682":[0,.12,0,0,.45],"57683":[0,.12,0,0,.45]},"Typewriter-Regular":{"32":[0,0,0,0,.525],"33":[0,.61111,0,0,.525],"34":[0,.61111,0,0,.525],"35":[0,.61111,0,0,.525],"36":[.08333,.69444,0,0,.525],"37":[.08333,.69444,0,0,.525],"38":[0,.61111,0,0,.525],"39":[0,.61111,0,0,.525],"40":[.08333,.69444,0,0,.525],"41":[.08333,.69444,0,0,.525],"42":[0,.52083,0,0,.525],"43":[-.08056,.53055,0,0,.525],"44":[.13889,.125,0,0,.525],"45":[-.08056,.53055,0,0,.525],"46":[0,.125,0,0,.525],"47":[.08333,.69444,0,0,.525],"48":[0,.61111,0,0,.525],"49":[0,.61111,0,0,.525],"50":[0,.61111,0,0,.525],"51":[0,.61111,0,0,.525],"52":[0,.61111,0,0,.525],"53":[0,.61111,0,0,.525],"54":[0,.61111,0,0,.525],"55":[0,.61111,0,0,.525],"56":[0,.61111,0,0,.525],"57":[0,.61111,0,0,.525],"58":[0,.43056,0,0,.525],"59":[.13889,.43056,0,0,.525],"60":[-.05556,.55556,0,0,.525],"61":[-.19549,.41562,0,0,.525],"62":[-.05556,.55556,0,0,.525],"63":[0,.61111,0,0,.525],"64":[0,.61111,0,0,.525],"65":[0,.61111,0,0,.525],"66":[0,.61111,0,0,.525],"67":[0,.61111,0,0,.525],"68":[0,.61111,0,0,.525],"69":[0,.61111,0,0,.525],"70":[0,.61111,0,0,.525],"71":[0,.61111,0,0,.525],"72":[0,.61111,0,0,.525],"73":[0,.61111,0,0,.525],"74":[0,.61111,0,0,.525],"75":[0,.61111,0,0,.525],"76":[0,.61111,0,0,.525],"77":[0,.61111,0,0,.525],"78":[0,.61111,0,0,.525],"79":[0,.61111,0,0,.525],"80":[0,.61111,0,0,.525],"81":[.13889,.61111,0,0,.525],"82":[0,.61111,0,0,.525],"83":[0,.61111,0,0,.525],"84":[0,.61111,0,0,.525],"85":[0,.61111,0,0,.525],"86":[0,.61111,0,0,.525],"87":[0,.61111,0,0,.525],"88":[0,.61111,0,0,.525],"89":[0,.61111,0,0,.525],"90":[0,.61111,0,0,.525],"91":[.08333,.69444,0,0,.525],"92":[.08333,.69444,0,0,.525],"93":[.08333,.69444,0,0,.525],"94":[0,.61111,0,0,.525],"95":[.09514,0,0,0,.525],"96":[0,.61111,0,0,.525],"97":[0,.43056,0,0,.525],"98":[0,.61111,0,0,.525],"99":[0,.43056,0,0,.525],"100":[0,.61111,0,0,.525],"101":[0,.43056,0,0,.525],"102":[0,.61111,0,0,.525],"103":[.22222,.43056,0,0,.525],"104":[0,.61111,0,0,.525],"105":[0,.61111,0,0,.525],"106":[.22222,.61111,0,0,.525],"107":[0,.61111,0,0,.525],"108":[0,.61111,0,0,.525],"109":[0,.43056,0,0,.525],"110":[0,.43056,0,0,.525],"111":[0,.43056,0,0,.525],"112":[.22222,.43056,0,0,.525],"113":[.22222,.43056,0,0,.525],"114":[0,.43056,0,0,.525],"115":[0,.43056,0,0,.525],"116":[0,.55358,0,0,.525],"117":[0,.43056,0,0,.525],"118":[0,.43056,0,0,.525],"119":[0,.43056,0,0,.525],"120":[0,.43056,0,0,.525],"121":[.22222,.43056,0,0,.525],"122":[0,.43056,0,0,.525],"123":[.08333,.69444,0,0,.525],"124":[.08333,.69444,0,0,.525],"125":[.08333,.69444,0,0,.525],"126":[0,.61111,0,0,.525],"127":[0,.61111,0,0,.525],"160":[0,0,0,0,.525],"176":[0,.61111,0,0,.525],"184":[.19445,0,0,0,.525],"305":[0,.43056,0,0,.525],"567":[.22222,.43056,0,0,.525],"711":[0,.56597,0,0,.525],"713":[0,.56555,0,0,.525],"714":[0,.61111,0,0,.525],"715":[0,.61111,0,0,.525],"728":[0,.61111,0,0,.525],"730":[0,.61111,0,0,.525],"770":[0,.61111,0,0,.525],"771":[0,.61111,0,0,.525],"776":[0,.61111,0,0,.525],"915":[0,.61111,0,0,.525],"916":[0,.61111,0,0,.525],"920":[0,.61111,0,0,.525],"923":[0,.61111,0,0,.525],"926":[0,.61111,0,0,.525],"928":[0,.61111,0,0,.525],"931":[0,.61111,0,0,.525],"933":[0,.61111,0,0,.525],"934":[0,.61111,0,0,.525],"936":[0,.61111,0,0,.525],"937":[0,.61111,0,0,.525],"8216":[0,.61111,0,0,.525],"8217":[0,.61111,0,0,.525],"8242":[0,.61111,0,0,.525],"9251":[.11111,.21944,0,0,.525]}},M8={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},rAe={\u00C5:"A",\u00D0:"D",\u00DE:"o",\u00E5:"a",\u00F0:"d",\u00FE:"o",\u0410:"A",\u0411:"B",\u0412:"B",\u0413:"F",\u0414:"A",\u0415:"E",\u0416:"K",\u0417:"3",\u0418:"N",\u0419:"N",\u041A:"K",\u041B:"N",\u041C:"M",\u041D:"H",\u041E:"O",\u041F:"N",\u0420:"P",\u0421:"C",\u0422:"T",\u0423:"y",\u0424:"O",\u0425:"X",\u0426:"U",\u0427:"h",\u0428:"W",\u0429:"W",\u042A:"B",\u042B:"X",\u042C:"B",\u042D:"3",\u042E:"X",\u042F:"R",\u0430:"a",\u0431:"b",\u0432:"a",\u0433:"r",\u0434:"y",\u0435:"e",\u0436:"m",\u0437:"e",\u0438:"n",\u0439:"n",\u043A:"n",\u043B:"n",\u043C:"m",\u043D:"n",\u043E:"o",\u043F:"n",\u0440:"p",\u0441:"c",\u0442:"o",\u0443:"y",\u0444:"b",\u0445:"x",\u0446:"n",\u0447:"n",\u0448:"w",\u0449:"w",\u044A:"a",\u044B:"m",\u044C:"a",\u044D:"e",\u044E:"m",\u044F:"r"};function _4n(e,n){pp[e]=n}function Yz(e,n,t){if(!pp[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=pp[n][a];if(!r&&e[0]in rAe&&(a=rAe[e[0]].charCodeAt(0),r=pp[n][a]),!r&&t==="text"&&tAe(a)&&(r=pp[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var Xz={};function h4n(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!Xz[n]){var t=Xz[n]={cssEmPerMu:M8.quad[n]/18};for(var a in M8)M8.hasOwnProperty(a)&&(t[a]=M8[a][n])}return Xz[n]}var g4n=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],oAe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],iAe=function(n,t){return t.size<2?n:g4n[n-1][t.size-1]},mp=class{constructor(n){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=n.style,this.color=n.color,this.size=n.size||mp.BASESIZE,this.textSize=n.textSize||this.size,this.phantom=!!n.phantom,this.font=n.font||"",this.fontFamily=n.fontFamily||"",this.fontWeight=n.fontWeight||"",this.fontShape=n.fontShape||"",this.sizeMultiplier=oAe[this.size-1],this.maxSize=n.maxSize,this.minRuleThickness=n.minRuleThickness,this._fontMetrics=void 0}extend(n){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a]);return new mp(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:iAe(this.textSize,n)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(n){return this.size===n&&this.textSize===n?this:this.extend({style:this.style.text(),size:n,textSize:n,sizeMultiplier:oAe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=iAe(mp.BASESIZE,n);return this.size===t&&this.textSize===mp.BASESIZE&&this.style===n?this:this.extend({style:n,size:t})}havingBaseSizing(){var n;switch(this.style.id){case 4:case 5:n=3;break;case 6:case 7:n=1;break;default:n=6}return this.extend({style:this.style.text(),size:n})}withColor(n){return this.extend({color:n})}withPhantom(){return this.extend({phantom:!0})}withFont(n){return this.extend({font:n})}withTextFontFamily(n){return this.extend({fontFamily:n,font:""})}withTextFontWeight(n){return this.extend({fontWeight:n,font:""})}withTextFontShape(n){return this.extend({fontShape:n,font:""})}sizingClasses(n){return n.size!==this.size?["sizing","reset-size"+n.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==mp.BASESIZE?["sizing","reset-size"+this.size,"size"+mp.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=h4n(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};mp.BASESIZE=6;var Zz={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},D4n={ex:!0,em:!0,mu:!0},uAe=function(n){return typeof n!="string"&&(n=n.unit),n in Zz||n in D4n||n==="ex"},Lo=function(n,t){var a;if(n.unit in Zz)a=Zz[n.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if(n.unit==="mu")a=t.fontMetrics().cssEmPerMu;else{var r;if(t.style.isTight()?r=t.havingStyle(t.style.text()):r=t,n.unit==="ex")a=r.fontMetrics().xHeight;else if(n.unit==="em")a=r.fontMetrics().quad;else throw new ln("Invalid unit: '"+n.unit+"'");r!==t&&(a*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(n.number*a,t.maxSize)},Mn=function(n){return+n.toFixed(4)+"em"},jh=function(n){return n.filter(t=>t).join(" ")},lAe=function(n,t,a){if(this.classes=n||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},t){t.style.isTight()&&this.classes.push("mtight");var r=t.getColor();r&&(this.style.color=r)}},cAe=function(n){var t=document.createElement(n);t.className=jh(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(t.style[a]=this.style[a]);for(var r in this.attributes)this.attributes.hasOwnProperty(r)&&t.setAttribute(r,this.attributes[r]);for(var o=0;o/=\x00-\x1f]/,sAe=function(n){var t="<"+n;this.classes.length&&(t+=' class="'+Mt.escape(jh(this.classes))+'"');var a="";for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Mt.hyphenate(r)+":"+this.style[r]+";");a&&(t+=' style="'+Mt.escape(a)+'"');for(var o in this.attributes)if(this.attributes.hasOwnProperty(o)){if(y4n.test(o))throw new ln("Invalid attribute name '"+o+"'");t+=" "+o+'="'+Mt.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i",t},Zw=class{constructor(n,t,a,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,lAe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Mt.contains(this.classes,n)}toNode(){return cAe.call(this,"span")}toMarkup(){return sAe.call(this,"span")}},G8=class{constructor(n,t,a,r){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,lAe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Mt.contains(this.classes,n)}toNode(){return cAe.call(this,"a")}toMarkup(){return sAe.call(this,"a")}},fAe=class{constructor(n,t,a){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=n,this.classes=["mord"],this.style=a}hasClass(n){return Mt.contains(this.classes,n)}toNode(){var n=document.createElement("img");n.src=this.src,n.alt=this.alt,n.className="mord";for(var t in this.style)this.style.hasOwnProperty(t)&&(n.style[t]=this.style[t]);return n}toMarkup(){var n=''+Mt.escape(this.alt)+'0&&(t=document.createElement("span"),t.style.marginRight=Mn(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=jh(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(t=t||document.createElement("span"),t.style[a]=this.style[a]);return t?(t.appendChild(n),t):n}toMarkup(){var n=!1,t="0&&(a+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Mt.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+Mt.escape(a)+'"');var o=Mt.escape(this.text);return n?(t+=">",t+=o,t+="",t):o}},dp=class{constructor(n,t){this.children=void 0,this.attributes=void 0,this.children=n||[],this.attributes=t||{}}toNode(){var n="http://www.w3.org/2000/svg",t=document.createElementNS(n,"svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);for(var r=0;r':''}},A8=class{constructor(n){this.attributes=void 0,this.attributes=n||{}}toNode(){var n="http://www.w3.org/2000/svg",t=document.createElementNS(n,"line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&t.setAttribute(a,this.attributes[a]);return t}toMarkup(){var n=" but got "+String(e)+".")}var w4n={bin:1,close:1,inner:1,open:1,punct:1,rel:1},S4n={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Vr={math:{},text:{}};function R(e,n,t,a,r,o){Vr[e][r]={font:n,group:t,replace:a},o&&a&&(Vr[e][a]=Vr[e][r])}var I="math",ze="text",G="main",$="ams",Do="accent-token",nt="bin",Ql="close",Kw="inner",kt="mathord",Ii="op-token",Fs="open",x8="punct",Q="rel",sd="spacing",ce="textord";R(I,G,Q,"\u2261","\\equiv",!0);R(I,G,Q,"\u227A","\\prec",!0);R(I,G,Q,"\u227B","\\succ",!0);R(I,G,Q,"\u223C","\\sim",!0);R(I,G,Q,"\u22A5","\\perp");R(I,G,Q,"\u2AAF","\\preceq",!0);R(I,G,Q,"\u2AB0","\\succeq",!0);R(I,G,Q,"\u2243","\\simeq",!0);R(I,G,Q,"\u2223","\\mid",!0);R(I,G,Q,"\u226A","\\ll",!0);R(I,G,Q,"\u226B","\\gg",!0);R(I,G,Q,"\u224D","\\asymp",!0);R(I,G,Q,"\u2225","\\parallel");R(I,G,Q,"\u22C8","\\bowtie",!0);R(I,G,Q,"\u2323","\\smile",!0);R(I,G,Q,"\u2291","\\sqsubseteq",!0);R(I,G,Q,"\u2292","\\sqsupseteq",!0);R(I,G,Q,"\u2250","\\doteq",!0);R(I,G,Q,"\u2322","\\frown",!0);R(I,G,Q,"\u220B","\\ni",!0);R(I,G,Q,"\u221D","\\propto",!0);R(I,G,Q,"\u22A2","\\vdash",!0);R(I,G,Q,"\u22A3","\\dashv",!0);R(I,G,Q,"\u220B","\\owns");R(I,G,x8,".","\\ldotp");R(I,G,x8,"\u22C5","\\cdotp");R(I,G,ce,"#","\\#");R(ze,G,ce,"#","\\#");R(I,G,ce,"&","\\&");R(ze,G,ce,"&","\\&");R(I,G,ce,"\u2135","\\aleph",!0);R(I,G,ce,"\u2200","\\forall",!0);R(I,G,ce,"\u210F","\\hbar",!0);R(I,G,ce,"\u2203","\\exists",!0);R(I,G,ce,"\u2207","\\nabla",!0);R(I,G,ce,"\u266D","\\flat",!0);R(I,G,ce,"\u2113","\\ell",!0);R(I,G,ce,"\u266E","\\natural",!0);R(I,G,ce,"\u2663","\\clubsuit",!0);R(I,G,ce,"\u2118","\\wp",!0);R(I,G,ce,"\u266F","\\sharp",!0);R(I,G,ce,"\u2662","\\diamondsuit",!0);R(I,G,ce,"\u211C","\\Re",!0);R(I,G,ce,"\u2661","\\heartsuit",!0);R(I,G,ce,"\u2111","\\Im",!0);R(I,G,ce,"\u2660","\\spadesuit",!0);R(I,G,ce,"\xA7","\\S",!0);R(ze,G,ce,"\xA7","\\S");R(I,G,ce,"\xB6","\\P",!0);R(ze,G,ce,"\xB6","\\P");R(I,G,ce,"\u2020","\\dag");R(ze,G,ce,"\u2020","\\dag");R(ze,G,ce,"\u2020","\\textdagger");R(I,G,ce,"\u2021","\\ddag");R(ze,G,ce,"\u2021","\\ddag");R(ze,G,ce,"\u2021","\\textdaggerdbl");R(I,G,Ql,"\u23B1","\\rmoustache",!0);R(I,G,Fs,"\u23B0","\\lmoustache",!0);R(I,G,Ql,"\u27EF","\\rgroup",!0);R(I,G,Fs,"\u27EE","\\lgroup",!0);R(I,G,nt,"\u2213","\\mp",!0);R(I,G,nt,"\u2296","\\ominus",!0);R(I,G,nt,"\u228E","\\uplus",!0);R(I,G,nt,"\u2293","\\sqcap",!0);R(I,G,nt,"\u2217","\\ast");R(I,G,nt,"\u2294","\\sqcup",!0);R(I,G,nt,"\u25EF","\\bigcirc",!0);R(I,G,nt,"\u2219","\\bullet",!0);R(I,G,nt,"\u2021","\\ddagger");R(I,G,nt,"\u2240","\\wr",!0);R(I,G,nt,"\u2A3F","\\amalg");R(I,G,nt,"&","\\And");R(I,G,Q,"\u27F5","\\longleftarrow",!0);R(I,G,Q,"\u21D0","\\Leftarrow",!0);R(I,G,Q,"\u27F8","\\Longleftarrow",!0);R(I,G,Q,"\u27F6","\\longrightarrow",!0);R(I,G,Q,"\u21D2","\\Rightarrow",!0);R(I,G,Q,"\u27F9","\\Longrightarrow",!0);R(I,G,Q,"\u2194","\\leftrightarrow",!0);R(I,G,Q,"\u27F7","\\longleftrightarrow",!0);R(I,G,Q,"\u21D4","\\Leftrightarrow",!0);R(I,G,Q,"\u27FA","\\Longleftrightarrow",!0);R(I,G,Q,"\u21A6","\\mapsto",!0);R(I,G,Q,"\u27FC","\\longmapsto",!0);R(I,G,Q,"\u2197","\\nearrow",!0);R(I,G,Q,"\u21A9","\\hookleftarrow",!0);R(I,G,Q,"\u21AA","\\hookrightarrow",!0);R(I,G,Q,"\u2198","\\searrow",!0);R(I,G,Q,"\u21BC","\\leftharpoonup",!0);R(I,G,Q,"\u21C0","\\rightharpoonup",!0);R(I,G,Q,"\u2199","\\swarrow",!0);R(I,G,Q,"\u21BD","\\leftharpoondown",!0);R(I,G,Q,"\u21C1","\\rightharpoondown",!0);R(I,G,Q,"\u2196","\\nwarrow",!0);R(I,G,Q,"\u21CC","\\rightleftharpoons",!0);R(I,$,Q,"\u226E","\\nless",!0);R(I,$,Q,"\uE010","\\@nleqslant");R(I,$,Q,"\uE011","\\@nleqq");R(I,$,Q,"\u2A87","\\lneq",!0);R(I,$,Q,"\u2268","\\lneqq",!0);R(I,$,Q,"\uE00C","\\@lvertneqq");R(I,$,Q,"\u22E6","\\lnsim",!0);R(I,$,Q,"\u2A89","\\lnapprox",!0);R(I,$,Q,"\u2280","\\nprec",!0);R(I,$,Q,"\u22E0","\\npreceq",!0);R(I,$,Q,"\u22E8","\\precnsim",!0);R(I,$,Q,"\u2AB9","\\precnapprox",!0);R(I,$,Q,"\u2241","\\nsim",!0);R(I,$,Q,"\uE006","\\@nshortmid");R(I,$,Q,"\u2224","\\nmid",!0);R(I,$,Q,"\u22AC","\\nvdash",!0);R(I,$,Q,"\u22AD","\\nvDash",!0);R(I,$,Q,"\u22EA","\\ntriangleleft");R(I,$,Q,"\u22EC","\\ntrianglelefteq",!0);R(I,$,Q,"\u228A","\\subsetneq",!0);R(I,$,Q,"\uE01A","\\@varsubsetneq");R(I,$,Q,"\u2ACB","\\subsetneqq",!0);R(I,$,Q,"\uE017","\\@varsubsetneqq");R(I,$,Q,"\u226F","\\ngtr",!0);R(I,$,Q,"\uE00F","\\@ngeqslant");R(I,$,Q,"\uE00E","\\@ngeqq");R(I,$,Q,"\u2A88","\\gneq",!0);R(I,$,Q,"\u2269","\\gneqq",!0);R(I,$,Q,"\uE00D","\\@gvertneqq");R(I,$,Q,"\u22E7","\\gnsim",!0);R(I,$,Q,"\u2A8A","\\gnapprox",!0);R(I,$,Q,"\u2281","\\nsucc",!0);R(I,$,Q,"\u22E1","\\nsucceq",!0);R(I,$,Q,"\u22E9","\\succnsim",!0);R(I,$,Q,"\u2ABA","\\succnapprox",!0);R(I,$,Q,"\u2246","\\ncong",!0);R(I,$,Q,"\uE007","\\@nshortparallel");R(I,$,Q,"\u2226","\\nparallel",!0);R(I,$,Q,"\u22AF","\\nVDash",!0);R(I,$,Q,"\u22EB","\\ntriangleright");R(I,$,Q,"\u22ED","\\ntrianglerighteq",!0);R(I,$,Q,"\uE018","\\@nsupseteqq");R(I,$,Q,"\u228B","\\supsetneq",!0);R(I,$,Q,"\uE01B","\\@varsupsetneq");R(I,$,Q,"\u2ACC","\\supsetneqq",!0);R(I,$,Q,"\uE019","\\@varsupsetneqq");R(I,$,Q,"\u22AE","\\nVdash",!0);R(I,$,Q,"\u2AB5","\\precneqq",!0);R(I,$,Q,"\u2AB6","\\succneqq",!0);R(I,$,Q,"\uE016","\\@nsubseteqq");R(I,$,nt,"\u22B4","\\unlhd");R(I,$,nt,"\u22B5","\\unrhd");R(I,$,Q,"\u219A","\\nleftarrow",!0);R(I,$,Q,"\u219B","\\nrightarrow",!0);R(I,$,Q,"\u21CD","\\nLeftarrow",!0);R(I,$,Q,"\u21CF","\\nRightarrow",!0);R(I,$,Q,"\u21AE","\\nleftrightarrow",!0);R(I,$,Q,"\u21CE","\\nLeftrightarrow",!0);R(I,$,Q,"\u25B3","\\vartriangle");R(I,$,ce,"\u210F","\\hslash");R(I,$,ce,"\u25BD","\\triangledown");R(I,$,ce,"\u25CA","\\lozenge");R(I,$,ce,"\u24C8","\\circledS");R(I,$,ce,"\xAE","\\circledR");R(ze,$,ce,"\xAE","\\circledR");R(I,$,ce,"\u2221","\\measuredangle",!0);R(I,$,ce,"\u2204","\\nexists");R(I,$,ce,"\u2127","\\mho");R(I,$,ce,"\u2132","\\Finv",!0);R(I,$,ce,"\u2141","\\Game",!0);R(I,$,ce,"\u2035","\\backprime");R(I,$,ce,"\u25B2","\\blacktriangle");R(I,$,ce,"\u25BC","\\blacktriangledown");R(I,$,ce,"\u25A0","\\blacksquare");R(I,$,ce,"\u29EB","\\blacklozenge");R(I,$,ce,"\u2605","\\bigstar");R(I,$,ce,"\u2222","\\sphericalangle",!0);R(I,$,ce,"\u2201","\\complement",!0);R(I,$,ce,"\xF0","\\eth",!0);R(ze,G,ce,"\xF0","\xF0");R(I,$,ce,"\u2571","\\diagup");R(I,$,ce,"\u2572","\\diagdown");R(I,$,ce,"\u25A1","\\square");R(I,$,ce,"\u25A1","\\Box");R(I,$,ce,"\u25CA","\\Diamond");R(I,$,ce,"\xA5","\\yen",!0);R(ze,$,ce,"\xA5","\\yen",!0);R(I,$,ce,"\u2713","\\checkmark",!0);R(ze,$,ce,"\u2713","\\checkmark");R(I,$,ce,"\u2136","\\beth",!0);R(I,$,ce,"\u2138","\\daleth",!0);R(I,$,ce,"\u2137","\\gimel",!0);R(I,$,ce,"\u03DD","\\digamma",!0);R(I,$,ce,"\u03F0","\\varkappa");R(I,$,Fs,"\u250C","\\@ulcorner",!0);R(I,$,Ql,"\u2510","\\@urcorner",!0);R(I,$,Fs,"\u2514","\\@llcorner",!0);R(I,$,Ql,"\u2518","\\@lrcorner",!0);R(I,$,Q,"\u2266","\\leqq",!0);R(I,$,Q,"\u2A7D","\\leqslant",!0);R(I,$,Q,"\u2A95","\\eqslantless",!0);R(I,$,Q,"\u2272","\\lesssim",!0);R(I,$,Q,"\u2A85","\\lessapprox",!0);R(I,$,Q,"\u224A","\\approxeq",!0);R(I,$,nt,"\u22D6","\\lessdot");R(I,$,Q,"\u22D8","\\lll",!0);R(I,$,Q,"\u2276","\\lessgtr",!0);R(I,$,Q,"\u22DA","\\lesseqgtr",!0);R(I,$,Q,"\u2A8B","\\lesseqqgtr",!0);R(I,$,Q,"\u2251","\\doteqdot");R(I,$,Q,"\u2253","\\risingdotseq",!0);R(I,$,Q,"\u2252","\\fallingdotseq",!0);R(I,$,Q,"\u223D","\\backsim",!0);R(I,$,Q,"\u22CD","\\backsimeq",!0);R(I,$,Q,"\u2AC5","\\subseteqq",!0);R(I,$,Q,"\u22D0","\\Subset",!0);R(I,$,Q,"\u228F","\\sqsubset",!0);R(I,$,Q,"\u227C","\\preccurlyeq",!0);R(I,$,Q,"\u22DE","\\curlyeqprec",!0);R(I,$,Q,"\u227E","\\precsim",!0);R(I,$,Q,"\u2AB7","\\precapprox",!0);R(I,$,Q,"\u22B2","\\vartriangleleft");R(I,$,Q,"\u22B4","\\trianglelefteq");R(I,$,Q,"\u22A8","\\vDash",!0);R(I,$,Q,"\u22AA","\\Vvdash",!0);R(I,$,Q,"\u2323","\\smallsmile");R(I,$,Q,"\u2322","\\smallfrown");R(I,$,Q,"\u224F","\\bumpeq",!0);R(I,$,Q,"\u224E","\\Bumpeq",!0);R(I,$,Q,"\u2267","\\geqq",!0);R(I,$,Q,"\u2A7E","\\geqslant",!0);R(I,$,Q,"\u2A96","\\eqslantgtr",!0);R(I,$,Q,"\u2273","\\gtrsim",!0);R(I,$,Q,"\u2A86","\\gtrapprox",!0);R(I,$,nt,"\u22D7","\\gtrdot");R(I,$,Q,"\u22D9","\\ggg",!0);R(I,$,Q,"\u2277","\\gtrless",!0);R(I,$,Q,"\u22DB","\\gtreqless",!0);R(I,$,Q,"\u2A8C","\\gtreqqless",!0);R(I,$,Q,"\u2256","\\eqcirc",!0);R(I,$,Q,"\u2257","\\circeq",!0);R(I,$,Q,"\u225C","\\triangleq",!0);R(I,$,Q,"\u223C","\\thicksim");R(I,$,Q,"\u2248","\\thickapprox");R(I,$,Q,"\u2AC6","\\supseteqq",!0);R(I,$,Q,"\u22D1","\\Supset",!0);R(I,$,Q,"\u2290","\\sqsupset",!0);R(I,$,Q,"\u227D","\\succcurlyeq",!0);R(I,$,Q,"\u22DF","\\curlyeqsucc",!0);R(I,$,Q,"\u227F","\\succsim",!0);R(I,$,Q,"\u2AB8","\\succapprox",!0);R(I,$,Q,"\u22B3","\\vartriangleright");R(I,$,Q,"\u22B5","\\trianglerighteq");R(I,$,Q,"\u22A9","\\Vdash",!0);R(I,$,Q,"\u2223","\\shortmid");R(I,$,Q,"\u2225","\\shortparallel");R(I,$,Q,"\u226C","\\between",!0);R(I,$,Q,"\u22D4","\\pitchfork",!0);R(I,$,Q,"\u221D","\\varpropto");R(I,$,Q,"\u25C0","\\blacktriangleleft");R(I,$,Q,"\u2234","\\therefore",!0);R(I,$,Q,"\u220D","\\backepsilon");R(I,$,Q,"\u25B6","\\blacktriangleright");R(I,$,Q,"\u2235","\\because",!0);R(I,$,Q,"\u22D8","\\llless");R(I,$,Q,"\u22D9","\\gggtr");R(I,$,nt,"\u22B2","\\lhd");R(I,$,nt,"\u22B3","\\rhd");R(I,$,Q,"\u2242","\\eqsim",!0);R(I,G,Q,"\u22C8","\\Join");R(I,$,Q,"\u2251","\\Doteq",!0);R(I,$,nt,"\u2214","\\dotplus",!0);R(I,$,nt,"\u2216","\\smallsetminus");R(I,$,nt,"\u22D2","\\Cap",!0);R(I,$,nt,"\u22D3","\\Cup",!0);R(I,$,nt,"\u2A5E","\\doublebarwedge",!0);R(I,$,nt,"\u229F","\\boxminus",!0);R(I,$,nt,"\u229E","\\boxplus",!0);R(I,$,nt,"\u22C7","\\divideontimes",!0);R(I,$,nt,"\u22C9","\\ltimes",!0);R(I,$,nt,"\u22CA","\\rtimes",!0);R(I,$,nt,"\u22CB","\\leftthreetimes",!0);R(I,$,nt,"\u22CC","\\rightthreetimes",!0);R(I,$,nt,"\u22CF","\\curlywedge",!0);R(I,$,nt,"\u22CE","\\curlyvee",!0);R(I,$,nt,"\u229D","\\circleddash",!0);R(I,$,nt,"\u229B","\\circledast",!0);R(I,$,nt,"\u22C5","\\centerdot");R(I,$,nt,"\u22BA","\\intercal",!0);R(I,$,nt,"\u22D2","\\doublecap");R(I,$,nt,"\u22D3","\\doublecup");R(I,$,nt,"\u22A0","\\boxtimes",!0);R(I,$,Q,"\u21E2","\\dashrightarrow",!0);R(I,$,Q,"\u21E0","\\dashleftarrow",!0);R(I,$,Q,"\u21C7","\\leftleftarrows",!0);R(I,$,Q,"\u21C6","\\leftrightarrows",!0);R(I,$,Q,"\u21DA","\\Lleftarrow",!0);R(I,$,Q,"\u219E","\\twoheadleftarrow",!0);R(I,$,Q,"\u21A2","\\leftarrowtail",!0);R(I,$,Q,"\u21AB","\\looparrowleft",!0);R(I,$,Q,"\u21CB","\\leftrightharpoons",!0);R(I,$,Q,"\u21B6","\\curvearrowleft",!0);R(I,$,Q,"\u21BA","\\circlearrowleft",!0);R(I,$,Q,"\u21B0","\\Lsh",!0);R(I,$,Q,"\u21C8","\\upuparrows",!0);R(I,$,Q,"\u21BF","\\upharpoonleft",!0);R(I,$,Q,"\u21C3","\\downharpoonleft",!0);R(I,G,Q,"\u22B6","\\origof",!0);R(I,G,Q,"\u22B7","\\imageof",!0);R(I,$,Q,"\u22B8","\\multimap",!0);R(I,$,Q,"\u21AD","\\leftrightsquigarrow",!0);R(I,$,Q,"\u21C9","\\rightrightarrows",!0);R(I,$,Q,"\u21C4","\\rightleftarrows",!0);R(I,$,Q,"\u21A0","\\twoheadrightarrow",!0);R(I,$,Q,"\u21A3","\\rightarrowtail",!0);R(I,$,Q,"\u21AC","\\looparrowright",!0);R(I,$,Q,"\u21B7","\\curvearrowright",!0);R(I,$,Q,"\u21BB","\\circlearrowright",!0);R(I,$,Q,"\u21B1","\\Rsh",!0);R(I,$,Q,"\u21CA","\\downdownarrows",!0);R(I,$,Q,"\u21BE","\\upharpoonright",!0);R(I,$,Q,"\u21C2","\\downharpoonright",!0);R(I,$,Q,"\u21DD","\\rightsquigarrow",!0);R(I,$,Q,"\u21DD","\\leadsto");R(I,$,Q,"\u21DB","\\Rrightarrow",!0);R(I,$,Q,"\u21BE","\\restriction");R(I,G,ce,"\u2018","`");R(I,G,ce,"$","\\$");R(ze,G,ce,"$","\\$");R(ze,G,ce,"$","\\textdollar");R(I,G,ce,"%","\\%");R(ze,G,ce,"%","\\%");R(I,G,ce,"_","\\_");R(ze,G,ce,"_","\\_");R(ze,G,ce,"_","\\textunderscore");R(I,G,ce,"\u2220","\\angle",!0);R(I,G,ce,"\u221E","\\infty",!0);R(I,G,ce,"\u2032","\\prime");R(I,G,ce,"\u25B3","\\triangle");R(I,G,ce,"\u0393","\\Gamma",!0);R(I,G,ce,"\u0394","\\Delta",!0);R(I,G,ce,"\u0398","\\Theta",!0);R(I,G,ce,"\u039B","\\Lambda",!0);R(I,G,ce,"\u039E","\\Xi",!0);R(I,G,ce,"\u03A0","\\Pi",!0);R(I,G,ce,"\u03A3","\\Sigma",!0);R(I,G,ce,"\u03A5","\\Upsilon",!0);R(I,G,ce,"\u03A6","\\Phi",!0);R(I,G,ce,"\u03A8","\\Psi",!0);R(I,G,ce,"\u03A9","\\Omega",!0);R(I,G,ce,"A","\u0391");R(I,G,ce,"B","\u0392");R(I,G,ce,"E","\u0395");R(I,G,ce,"Z","\u0396");R(I,G,ce,"H","\u0397");R(I,G,ce,"I","\u0399");R(I,G,ce,"K","\u039A");R(I,G,ce,"M","\u039C");R(I,G,ce,"N","\u039D");R(I,G,ce,"O","\u039F");R(I,G,ce,"P","\u03A1");R(I,G,ce,"T","\u03A4");R(I,G,ce,"X","\u03A7");R(I,G,ce,"\xAC","\\neg",!0);R(I,G,ce,"\xAC","\\lnot");R(I,G,ce,"\u22A4","\\top");R(I,G,ce,"\u22A5","\\bot");R(I,G,ce,"\u2205","\\emptyset");R(I,$,ce,"\u2205","\\varnothing");R(I,G,kt,"\u03B1","\\alpha",!0);R(I,G,kt,"\u03B2","\\beta",!0);R(I,G,kt,"\u03B3","\\gamma",!0);R(I,G,kt,"\u03B4","\\delta",!0);R(I,G,kt,"\u03F5","\\epsilon",!0);R(I,G,kt,"\u03B6","\\zeta",!0);R(I,G,kt,"\u03B7","\\eta",!0);R(I,G,kt,"\u03B8","\\theta",!0);R(I,G,kt,"\u03B9","\\iota",!0);R(I,G,kt,"\u03BA","\\kappa",!0);R(I,G,kt,"\u03BB","\\lambda",!0);R(I,G,kt,"\u03BC","\\mu",!0);R(I,G,kt,"\u03BD","\\nu",!0);R(I,G,kt,"\u03BE","\\xi",!0);R(I,G,kt,"\u03BF","\\omicron",!0);R(I,G,kt,"\u03C0","\\pi",!0);R(I,G,kt,"\u03C1","\\rho",!0);R(I,G,kt,"\u03C3","\\sigma",!0);R(I,G,kt,"\u03C4","\\tau",!0);R(I,G,kt,"\u03C5","\\upsilon",!0);R(I,G,kt,"\u03D5","\\phi",!0);R(I,G,kt,"\u03C7","\\chi",!0);R(I,G,kt,"\u03C8","\\psi",!0);R(I,G,kt,"\u03C9","\\omega",!0);R(I,G,kt,"\u03B5","\\varepsilon",!0);R(I,G,kt,"\u03D1","\\vartheta",!0);R(I,G,kt,"\u03D6","\\varpi",!0);R(I,G,kt,"\u03F1","\\varrho",!0);R(I,G,kt,"\u03C2","\\varsigma",!0);R(I,G,kt,"\u03C6","\\varphi",!0);R(I,G,nt,"\u2217","*",!0);R(I,G,nt,"+","+");R(I,G,nt,"\u2212","-",!0);R(I,G,nt,"\u22C5","\\cdot",!0);R(I,G,nt,"\u2218","\\circ",!0);R(I,G,nt,"\xF7","\\div",!0);R(I,G,nt,"\xB1","\\pm",!0);R(I,G,nt,"\xD7","\\times",!0);R(I,G,nt,"\u2229","\\cap",!0);R(I,G,nt,"\u222A","\\cup",!0);R(I,G,nt,"\u2216","\\setminus",!0);R(I,G,nt,"\u2227","\\land");R(I,G,nt,"\u2228","\\lor");R(I,G,nt,"\u2227","\\wedge",!0);R(I,G,nt,"\u2228","\\vee",!0);R(I,G,ce,"\u221A","\\surd");R(I,G,Fs,"\u27E8","\\langle",!0);R(I,G,Fs,"\u2223","\\lvert");R(I,G,Fs,"\u2225","\\lVert");R(I,G,Ql,"?","?");R(I,G,Ql,"!","!");R(I,G,Ql,"\u27E9","\\rangle",!0);R(I,G,Ql,"\u2223","\\rvert");R(I,G,Ql,"\u2225","\\rVert");R(I,G,Q,"=","=");R(I,G,Q,":",":");R(I,G,Q,"\u2248","\\approx",!0);R(I,G,Q,"\u2245","\\cong",!0);R(I,G,Q,"\u2265","\\ge");R(I,G,Q,"\u2265","\\geq",!0);R(I,G,Q,"\u2190","\\gets");R(I,G,Q,">","\\gt",!0);R(I,G,Q,"\u2208","\\in",!0);R(I,G,Q,"\uE020","\\@not");R(I,G,Q,"\u2282","\\subset",!0);R(I,G,Q,"\u2283","\\supset",!0);R(I,G,Q,"\u2286","\\subseteq",!0);R(I,G,Q,"\u2287","\\supseteq",!0);R(I,$,Q,"\u2288","\\nsubseteq",!0);R(I,$,Q,"\u2289","\\nsupseteq",!0);R(I,G,Q,"\u22A8","\\models");R(I,G,Q,"\u2190","\\leftarrow",!0);R(I,G,Q,"\u2264","\\le");R(I,G,Q,"\u2264","\\leq",!0);R(I,G,Q,"<","\\lt",!0);R(I,G,Q,"\u2192","\\rightarrow",!0);R(I,G,Q,"\u2192","\\to");R(I,$,Q,"\u2271","\\ngeq",!0);R(I,$,Q,"\u2270","\\nleq",!0);R(I,G,sd,"\xA0","\\ ");R(I,G,sd,"\xA0","\\space");R(I,G,sd,"\xA0","\\nobreakspace");R(ze,G,sd,"\xA0","\\ ");R(ze,G,sd,"\xA0"," ");R(ze,G,sd,"\xA0","\\space");R(ze,G,sd,"\xA0","\\nobreakspace");R(I,G,sd,null,"\\nobreak");R(I,G,sd,null,"\\allowbreak");R(I,G,x8,",",",");R(I,G,x8,";",";");R(I,$,nt,"\u22BC","\\barwedge",!0);R(I,$,nt,"\u22BB","\\veebar",!0);R(I,G,nt,"\u2299","\\odot",!0);R(I,G,nt,"\u2295","\\oplus",!0);R(I,G,nt,"\u2297","\\otimes",!0);R(I,G,ce,"\u2202","\\partial",!0);R(I,G,nt,"\u2298","\\oslash",!0);R(I,$,nt,"\u229A","\\circledcirc",!0);R(I,$,nt,"\u22A1","\\boxdot",!0);R(I,G,nt,"\u25B3","\\bigtriangleup");R(I,G,nt,"\u25BD","\\bigtriangledown");R(I,G,nt,"\u2020","\\dagger");R(I,G,nt,"\u22C4","\\diamond");R(I,G,nt,"\u22C6","\\star");R(I,G,nt,"\u25C3","\\triangleleft");R(I,G,nt,"\u25B9","\\triangleright");R(I,G,Fs,"{","\\{");R(ze,G,ce,"{","\\{");R(ze,G,ce,"{","\\textbraceleft");R(I,G,Ql,"}","\\}");R(ze,G,ce,"}","\\}");R(ze,G,ce,"}","\\textbraceright");R(I,G,Fs,"{","\\lbrace");R(I,G,Ql,"}","\\rbrace");R(I,G,Fs,"[","\\lbrack",!0);R(ze,G,ce,"[","\\lbrack",!0);R(I,G,Ql,"]","\\rbrack",!0);R(ze,G,ce,"]","\\rbrack",!0);R(I,G,Fs,"(","\\lparen",!0);R(I,G,Ql,")","\\rparen",!0);R(ze,G,ce,"<","\\textless",!0);R(ze,G,ce,">","\\textgreater",!0);R(I,G,Fs,"\u230A","\\lfloor",!0);R(I,G,Ql,"\u230B","\\rfloor",!0);R(I,G,Fs,"\u2308","\\lceil",!0);R(I,G,Ql,"\u2309","\\rceil",!0);R(I,G,ce,"\\","\\backslash");R(I,G,ce,"\u2223","|");R(I,G,ce,"\u2223","\\vert");R(ze,G,ce,"|","\\textbar",!0);R(I,G,ce,"\u2225","\\|");R(I,G,ce,"\u2225","\\Vert");R(ze,G,ce,"\u2225","\\textbardbl");R(ze,G,ce,"~","\\textasciitilde");R(ze,G,ce,"\\","\\textbackslash");R(ze,G,ce,"^","\\textasciicircum");R(I,G,Q,"\u2191","\\uparrow",!0);R(I,G,Q,"\u21D1","\\Uparrow",!0);R(I,G,Q,"\u2193","\\downarrow",!0);R(I,G,Q,"\u21D3","\\Downarrow",!0);R(I,G,Q,"\u2195","\\updownarrow",!0);R(I,G,Q,"\u21D5","\\Updownarrow",!0);R(I,G,Ii,"\u2210","\\coprod");R(I,G,Ii,"\u22C1","\\bigvee");R(I,G,Ii,"\u22C0","\\bigwedge");R(I,G,Ii,"\u2A04","\\biguplus");R(I,G,Ii,"\u22C2","\\bigcap");R(I,G,Ii,"\u22C3","\\bigcup");R(I,G,Ii,"\u222B","\\int");R(I,G,Ii,"\u222B","\\intop");R(I,G,Ii,"\u222C","\\iint");R(I,G,Ii,"\u222D","\\iiint");R(I,G,Ii,"\u220F","\\prod");R(I,G,Ii,"\u2211","\\sum");R(I,G,Ii,"\u2A02","\\bigotimes");R(I,G,Ii,"\u2A01","\\bigoplus");R(I,G,Ii,"\u2A00","\\bigodot");R(I,G,Ii,"\u222E","\\oint");R(I,G,Ii,"\u222F","\\oiint");R(I,G,Ii,"\u2230","\\oiiint");R(I,G,Ii,"\u2A06","\\bigsqcup");R(I,G,Ii,"\u222B","\\smallint");R(ze,G,Kw,"\u2026","\\textellipsis");R(I,G,Kw,"\u2026","\\mathellipsis");R(ze,G,Kw,"\u2026","\\ldots",!0);R(I,G,Kw,"\u2026","\\ldots",!0);R(I,G,Kw,"\u22EF","\\@cdots",!0);R(I,G,Kw,"\u22F1","\\ddots",!0);R(I,G,ce,"\u22EE","\\varvdots");R(ze,G,ce,"\u22EE","\\varvdots");R(I,G,Do,"\u02CA","\\acute");R(I,G,Do,"\u02CB","\\grave");R(I,G,Do,"\xA8","\\ddot");R(I,G,Do,"~","\\tilde");R(I,G,Do,"\u02C9","\\bar");R(I,G,Do,"\u02D8","\\breve");R(I,G,Do,"\u02C7","\\check");R(I,G,Do,"^","\\hat");R(I,G,Do,"\u20D7","\\vec");R(I,G,Do,"\u02D9","\\dot");R(I,G,Do,"\u02DA","\\mathring");R(I,G,kt,"\uE131","\\@imath");R(I,G,kt,"\uE237","\\@jmath");R(I,G,ce,"\u0131","\u0131");R(I,G,ce,"\u0237","\u0237");R(ze,G,ce,"\u0131","\\i",!0);R(ze,G,ce,"\u0237","\\j",!0);R(ze,G,ce,"\xDF","\\ss",!0);R(ze,G,ce,"\xE6","\\ae",!0);R(ze,G,ce,"\u0153","\\oe",!0);R(ze,G,ce,"\xF8","\\o",!0);R(ze,G,ce,"\xC6","\\AE",!0);R(ze,G,ce,"\u0152","\\OE",!0);R(ze,G,ce,"\xD8","\\O",!0);R(ze,G,Do,"\u02CA","\\'");R(ze,G,Do,"\u02CB","\\`");R(ze,G,Do,"\u02C6","\\^");R(ze,G,Do,"\u02DC","\\~");R(ze,G,Do,"\u02C9","\\=");R(ze,G,Do,"\u02D8","\\u");R(ze,G,Do,"\u02D9","\\.");R(ze,G,Do,"\xB8","\\c");R(ze,G,Do,"\u02DA","\\r");R(ze,G,Do,"\u02C7","\\v");R(ze,G,Do,"\xA8",'\\"');R(ze,G,Do,"\u02DD","\\H");R(ze,G,Do,"\u25EF","\\textcircled");var pAe={"--":!0,"---":!0,"``":!0,"''":!0};R(ze,G,ce,"\u2013","--",!0);R(ze,G,ce,"\u2013","\\textendash");R(ze,G,ce,"\u2014","---",!0);R(ze,G,ce,"\u2014","\\textemdash");R(ze,G,ce,"\u2018","`",!0);R(ze,G,ce,"\u2018","\\textquoteleft");R(ze,G,ce,"\u2019","'",!0);R(ze,G,ce,"\u2019","\\textquoteright");R(ze,G,ce,"\u201C","``",!0);R(ze,G,ce,"\u201C","\\textquotedblleft");R(ze,G,ce,"\u201D","''",!0);R(ze,G,ce,"\u201D","\\textquotedblright");R(I,G,ce,"\xB0","\\degree",!0);R(ze,G,ce,"\xB0","\\degree");R(ze,G,ce,"\xB0","\\textdegree",!0);R(I,G,ce,"\xA3","\\pounds");R(I,G,ce,"\xA3","\\mathsterling",!0);R(ze,G,ce,"\xA3","\\pounds");R(ze,G,ce,"\xA3","\\textsterling",!0);R(I,$,ce,"\u2720","\\maltese");R(ze,$,ce,"\u2720","\\maltese");var mAe='0123456789/@."';for(L8=0;L80)return $v(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var p=I4n(o,r,t,i,a);f=p.fontName,v=[p.fontClass]}else u?(f=DAe[l].fontName,v=[l]):(f=H8(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(U8(o,f,r).metrics)return $v(o,f,r,t,i.concat(v));if(pAe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var d=[],y=0;y{if(jh(e.classes)!==jh(n.classes)||e.skew!==n.skew||e.maxFontSize!==n.maxFontSize)return!1;if(e.classes.length===1){var t=e.classes[0];if(t==="mbin"||t==="mord")return!1}for(var a in e.style)if(e.style.hasOwnProperty(a)&&e.style[a]!==n.style[a])return!1;for(var r in n.style)if(n.style.hasOwnProperty(r)&&e.style[r]!==n.style[r])return!1;return!0},M4n=e=>{for(var n=0;nt&&(t=i.height),i.depth>a&&(a=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}n.height=t,n.depth=a,n.maxFontSize=r},Gc=function(n,t,a,r){var o=new Zw(n,t,a,r);return tV(o),o},hAe=(e,n,t,a)=>new Zw(e,n,t,a),G4n=function(n,t,a){var r=Gc([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Mn(r.height),r.maxFontSize=1,r},A4n=function(n,t,a,r){var o=new G8(n,t,a,r);return tV(o),o},gAe=function(n){var t=new Xw(n);return tV(t),t},x4n=function(n,t){return n instanceof Xw?Gc([],[n],t):n},L4n=function(n){if(n.positionType==="individualShift"){for(var t=n.children,a=[t[0]],r=-t[0].shift-t[0].elem.depth,o=r,i=1;i{var t=Gc(["mspace"],[],n),a=Lo(e,n);return t.style.marginRight=Mn(a),t},H8=function(n,t,a){var r="";switch(n){case"amsrm":r="AMS";break;case"textrm":r="Main";break;case"textsf":r="SansSerif";break;case"texttt":r="Typewriter";break;default:r=n}var o;return t==="textbf"&&a==="textit"?o="BoldItalic":t==="textbf"?o="Bold":t==="textit"?o="Italic":o="Regular",r+"-"+o},DAe={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},yAe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},P4n=function(n,t){var[a,r,o]=yAe[n],i=new cd(a),u=new dp([i],{width:Mn(r),height:Mn(o),style:"width:"+Mn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=hAe(["overlay"],[u],t);return l.height=o,l.style.height=Mn(o),l.style.width=Mn(r),l},ye={fontMap:DAe,makeSymbol:$v,mathsym:C4n,makeSpan:Gc,makeSvgSpan:hAe,makeLineSpan:G4n,makeAnchor:A4n,makeFragment:gAe,wrapFragment:x4n,makeVList:j4n,makeOrd:T4n,makeGlue:N4n,staticSvg:P4n,svgData:yAe,tryCombineChars:M4n},No={number:3,unit:"mu"},Ny={number:4,unit:"mu"},vd={number:5,unit:"mu"},O4n={mord:{mop:No,mbin:Ny,mrel:vd,minner:No},mop:{mord:No,mop:No,mrel:vd,minner:No},mbin:{mord:Ny,mop:Ny,mopen:Ny,minner:Ny},mrel:{mord:vd,mop:vd,mopen:vd,minner:vd},mopen:{},mclose:{mop:No,mbin:Ny,mrel:vd,minner:No},mpunct:{mord:No,mop:No,mrel:vd,mopen:No,mclose:No,mpunct:No,minner:No},minner:{mord:No,mop:No,mbin:Ny,mrel:vd,mopen:No,mpunct:No,minner:No}},k4n={mord:{mop:No},mop:{mord:No,mop:No},mbin:{},mrel:{},mopen:{},mclose:{mop:No},mpunct:{},minner:{mop:No}},bAe={},B8={},J8={};function Wn(e){for(var{type:n,names:t,props:a,handler:r,htmlBuilder:o,mathmlBuilder:i}=e,u={type:n,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:r},l=0;l{var h=y.classes[0],g=d.classes[0];h==="mbin"&&Mt.contains(H4n,g)?y.classes[0]="mord":g==="mbin"&&Mt.contains(U4n,h)&&(d.classes[0]="mord")},{node:f},v,p),RAe(o,(d,y)=>{var h=aV(y),g=aV(d),S=h&&g?d.hasClass("mtight")?k4n[h][g]:O4n[h][g]:null;if(S)return ye.makeGlue(S,c)},{node:f},v,p),o},RAe=function e(n,t,a,r,o){r&&n.push(r);for(var i=0;iv=>{n.splice(f+1,0,v),i++})(i)}r&&n.pop()},wAe=function(n){return n instanceof Xw||n instanceof G8||n instanceof Zw&&n.hasClass("enclosing")?n:null},q4n=function e(n,t){var a=wAe(n);if(a){var r=a.children;if(r.length){if(t==="right")return e(r[r.length-1],"right");if(t==="left")return e(r[0],"left")}}return n},aV=function(n,t){return n?(t&&(n=q4n(n,t)),J4n[n.classes[0]]||null):null},gM=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return pd(t.concat(a))},Ka=function(n,t,a){if(!n)return pd();if(B8[n.type]){var r=B8[n.type](n,t);if(a&&t.size!==a.size){r=pd(t.sizingClasses(a),[r],t);var o=t.sizeMultiplier/a.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new ln("Got group of unknown type: '"+n.type+"'")};function W8(e,n){var t=pd(["base"],e,n),a=pd(["strut"]);return a.style.height=Mn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Mn(-t.depth)),t.children.unshift(a),t}function rV(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=Xi(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u0&&(o.push(W8(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(W8(i,n));var c;t?(c=W8(Xi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=pd(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Mn(s.height+s.depth),s.depth&&(f.style.verticalAlign=Mn(-s.depth))}return s}function SAe(e){return new Xw(e)}var Ac=class{constructor(n,t,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=n,this.attributes={},this.children=t||[],this.classes=a||[]}setAttribute(n,t){this.attributes[n]=t}getAttribute(n){return this.attributes[n]}toNode(){var n=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&n.setAttribute(t,this.attributes[t]);this.classes.length>0&&(n.className=jh(this.classes));for(var a=0;a0&&(n+=' class ="'+Mt.escape(jh(this.classes))+'"'),n+=">";for(var a=0;a",n}toText(){return this.children.map(n=>n.toText()).join("")}},zv=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return Mt.escape(this.toText())}toText(){return this.text}},EAe=class{constructor(n){this.width=void 0,this.character=void 0,this.width=n,n>=.05555&&n<=.05556?this.character="\u200A":n>=.1666&&n<=.1667?this.character="\u2009":n>=.2222&&n<=.2223?this.character="\u2005":n>=.2777&&n<=.2778?this.character="\u2005\u200A":n>=-.05556&&n<=-.05555?this.character="\u200A\u2063":n>=-.1667&&n<=-.1666?this.character="\u2009\u2063":n>=-.2223&&n<=-.2222?this.character="\u205F\u2063":n>=-.2778&&n<=-.2777?this.character="\u2005\u2063":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var n=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return n.setAttribute("width",Mn(this.width)),n}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}},tn={MathNode:Ac,TextNode:zv,SpaceNode:EAe,newDocumentFragment:SAe},Af=function(n,t,a){return Vr[t][n]&&Vr[t][n].replace&&n.charCodeAt(0)!==55349&&!(pAe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Vr[t][n].replace),new tn.TextNode(n)},oV=function(n){return n.length===1?n[0]:new tn.MathNode("mrow",n)},iV=function(n,t){if(t.fontFamily==="texttt")return"monospace";if(t.fontFamily==="textsf")return t.fontShape==="textit"&&t.fontWeight==="textbf"?"sans-serif-bold-italic":t.fontShape==="textit"?"sans-serif-italic":t.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(t.fontShape==="textit"&&t.fontWeight==="textbf")return"bold-italic";if(t.fontShape==="textit")return"italic";if(t.fontWeight==="textbf")return"bold";var a=t.font;if(!a||a==="mathnormal")return null;var r=n.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return n.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathsfit")return"sans-serif-italic";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var o=n.text;if(Mt.contains(["\\imath","\\jmath"],o))return null;Vr[r][o]&&Vr[r][o].replace&&(o=Vr[r][o].replace);var i=ye.fontMap[a].fontName;return Yz(o,i,r)?ye.fontMap[a].variant:null};function uV(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var n=e.children[0];return n instanceof zv&&n.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var t=e.children[0];return t instanceof zv&&t.text===","}else return!1}var xc=function(n,t,a){if(n.length===1){var r=Ur(n[0],t);return a&&r instanceof Ac&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],i,u=0;u=1&&(i.type==="mn"||uV(i))){var c=l.children[0];c instanceof Ac&&c.type==="mn"&&(c.children=[...i.children,...c.children],o.pop())}else if(i.type==="mi"&&i.children.length===1){var s=i.children[0];if(s instanceof zv&&s.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof zv&&f.text.length>0&&(f.text=f.text.slice(0,1)+"\u0338"+f.text.slice(1),o.pop())}}}o.push(l),i=l}return o},Ph=function(n,t,a){return oV(xc(n,t,a))},Ur=function(n,t){if(!n)return new tn.MathNode("mrow");if(J8[n.type]){var a=J8[n.type](n,t);return a}else throw new ln("Got group of unknown type: '"+n.type+"'")};function CAe(e,n,t,a,r){var o=xc(e,t),i;o.length===1&&o[0]instanceof Ac&&Mt.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new tn.MathNode("mrow",o);var u=new tn.MathNode("annotation",[new tn.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new tn.MathNode("semantics",[i,u]),c=new tn.MathNode("math",[l]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&c.setAttribute("display","block");var s=r?"katex":"katex-mathml";return ye.makeSpan([s],[c])}var IAe=function(n){return new mp({style:n.displayMode?Ot.DISPLAY:Ot.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},TAe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=ye.makeSpan(a,[n])}return n},W4n=function(n,t,a){var r=IAe(a),o;if(a.output==="mathml")return CAe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=rV(n,r);o=ye.makeSpan(["katex"],[i])}else{var u=CAe(n,t,r,a.displayMode,!1),l=rV(n,r);o=ye.makeSpan(["katex"],[u,l])}return TAe(o,a)},$4n=function(n,t,a){var r=IAe(a),o=rV(n,r),i=ye.makeSpan(["katex"],[o]);return TAe(i,a)},z4n={widehat:"^",widecheck:"\u02C7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23DF",overbrace:"\u23DE",overgroup:"\u23E0",undergroup:"\u23E1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21D2",xRightarrow:"\u21D2",overleftharpoon:"\u21BC",xleftharpoonup:"\u21BC",overrightharpoon:"\u21C0",xrightharpoonup:"\u21C0",xLeftarrow:"\u21D0",xLeftrightarrow:"\u21D4",xhookleftarrow:"\u21A9",xhookrightarrow:"\u21AA",xmapsto:"\u21A6",xrightharpoondown:"\u21C1",xleftharpoondown:"\u21BD",xrightleftharpoons:"\u21CC",xleftrightharpoons:"\u21CB",xtwoheadleftarrow:"\u219E",xtwoheadrightarrow:"\u21A0",xlongequal:"=",xtofrom:"\u21C4",xrightleftarrows:"\u21C4",xrightequilibrium:"\u21CC",xleftequilibrium:"\u21CB","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},V4n=function(n){var t=new tn.MathNode("mo",[new tn.TextNode(z4n[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Q4n={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},Y4n=function(n){return n.type==="ordgroup"?n.body.length:1},X4n=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(Mt.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=Y4n(c.base),f,v,p;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,p=.42,v=l+"4"):(f=312,u=2340,p=.34,v="tilde4");else{var d=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][d],f=[0,239,300,360,420][d],p=[0,.24,.3,.3,.36,.42][d],v=l+d):(u=[0,600,1033,2339,2340][d],f=[0,260,286,306,312][d],p=[0,.26,.286,.3,.306,.34][d],v="tilde"+d)}var y=new cd(v),h=new dp([y],{width:"100%",height:Mn(p),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:ye.makeSvgSpan([],[h],t),minWidth:0,height:p}}else{var g=[],S=Q4n[l],[M,P,O]=S,T=O/1e3,k=M.length,K,oe;if(k===1){var Te=S[3];K=["hide-tail"],oe=[Te]}else if(k===2)K=["halfarrow-left","halfarrow-right"],oe=["xMinYMin","xMaxYMin"];else if(k===3)K=["brace-left","brace-center","brace-right"],oe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support `+k+" children.");for(var we=0;we0&&(r.style.minWidth=Mn(o)),r},Z4n=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=ye.makeSpan(["stretchy",t],[],o),t==="fbox"){var l=o.color&&o.getColor();l&&(i.style.borderColor=l)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new A8({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new A8({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new dp(c,{width:"100%",height:Mn(u)});i=ye.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Mn(u),i},md={encloseSpan:Z4n,mathMLnode:V4n,svgSpan:X4n};function Ra(e,n){if(!e||e.type!==n)throw new Error("Expected node of type "+n+", but got "+(e?"node of type "+e.type:String(e)));return e}function lV(e){var n=$8(e);if(!n)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return n}function $8(e){return e&&(e.type==="atom"||S4n.hasOwnProperty(e.type))?e:null}var cV=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=Ra(e.base,"accent"),t=a.base,e.base=t,r=R4n(Ka(e,n)),e.base=a):(a=Ra(e,"accent"),t=a.base);var o=Ka(t,n.havingCrampedStyle()),i=a.isShifty&&Mt.isCharacterBox(t),u=0;if(i){var l=Mt.getBaseElem(t),c=Ka(l,n.havingCrampedStyle());u=vAe(c).skew}var s=a.label==="\\c",f=s?o.height+o.depth:Math.min(o.height,n.fontMetrics().xHeight),v;if(a.isStretchy)v=md.svgSpan(a,n),v=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Mn(2*u)+")",marginLeft:Mn(2*u)}:void 0}]},n);else{var p,d;a.label==="\\vec"?(p=ye.staticSvg("vec",n),d=ye.svgData.vec[1]):(p=ye.makeOrd({mode:a.mode,text:a.label},n,"textord"),p=vAe(p),p.italic=0,d=p.width,s&&(f+=p.depth)),v=ye.makeSpan(["accent-body"],[p]);var y=a.label==="\\textcircled";y&&(v.classes.push("accent-full"),f=o.height);var h=u;y||(h-=d/2),v.style.left=Mn(h),a.label==="\\textcircled"&&(v.style.top=".2em"),v=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var g=ye.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=g,r.height=Math.max(g.height,r.height),r.classes[0]="mord",r):g},FAe=(e,n)=>{var t=e.isStretchy?md.mathMLnode(e.label):new tn.MathNode("mo",[Af(e.label,e.mode)]),a=new tn.MathNode("mover",[Ur(e.base,n),t]);return a.setAttribute("accent","true"),a},K4n=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Wn({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,n)=>{var t=q8(n[0]),a=!K4n.test(e.funcName),r=!a||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:a,isShifty:r,base:t}},htmlBuilder:cV,mathmlBuilder:FAe});Wn({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,n)=>{var t=n[0],a=e.parser.mode;return a==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:e.funcName,isStretchy:!1,isShifty:!0,base:t}},htmlBuilder:cV,mathmlBuilder:FAe});Wn({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"accentUnder",mode:t.mode,label:a,base:r}},htmlBuilder:(e,n)=>{var t=Ka(e.base,n),a=md.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=ye.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return ye.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=md.mathMLnode(e.label),a=new tn.MathNode("munder",[Ur(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var z8=e=>{var n=new tn.MathNode("mpadded",e?[e]:[]);return n.setAttribute("width","+0.6em"),n.setAttribute("lspace","0.3em"),n};Wn({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a,funcName:r}=e;return{type:"xArrow",mode:a.mode,label:r,body:n[0],below:t[0]}},htmlBuilder(e,n){var t=n.style,a=n.havingStyle(t.sup()),r=ye.wrapFragment(Ka(e.body,a,n),n),o=e.label.slice(0,2)==="\\x"?"x":"cd";r.classes.push(o+"-arrow-pad");var i;e.below&&(a=n.havingStyle(t.sub()),i=ye.wrapFragment(Ka(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=md.svgSpan(e,n),l=-n.fontMetrics().axisHeight+.5*u.height,c=-n.fontMetrics().axisHeight-.5*u.height-.111;(r.depth>.25||e.label==="\\xleftequilibrium")&&(c-=r.depth);var s;if(i){var f=-n.fontMetrics().axisHeight+i.height+.5*u.height+.111;s=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:i,shift:f}]},n)}else s=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:c},{type:"elem",elem:u,shift:l}]},n);return s.children[0].children[0].children[1].classes.push("svg-align"),ye.makeSpan(["mrel","x-arrow"],[s],n)},mathmlBuilder(e,n){var t=md.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=z8(Ur(e.body,n));if(e.below){var o=z8(Ur(e.below,n));a=new tn.MathNode("munderover",[t,o,r])}else a=new tn.MathNode("mover",[t,r])}else if(e.below){var i=z8(Ur(e.below,n));a=new tn.MathNode("munder",[t,i])}else a=z8(),a=new tn.MathNode("mover",[t,a]);return a}});var e3n=ye.makeSpan;function MAe(e,n){var t=Xi(e.body,n,!0);return e3n([e.mclass],t,n)}function GAe(e,n){var t,a=xc(e.body,n);return e.mclass==="minner"?t=new tn.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new tn.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new tn.MathNode("mo",a),e.mclass==="mbin"?(t.attributes.lspace="0.22em",t.attributes.rspace="0.22em"):e.mclass==="mpunct"?(t.attributes.lspace="0em",t.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(t.attributes.lspace="0em",t.attributes.rspace="0em"):e.mclass==="minner"&&(t.attributes.lspace="0.0556em",t.attributes.width="+0.1111em")),t}Wn({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"mclass",mode:t.mode,mclass:"m"+a.slice(5),body:vi(r),isCharacterBox:Mt.isCharacterBox(r)}},htmlBuilder:MAe,mathmlBuilder:GAe});var V8=e=>{var n=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return n.type==="atom"&&(n.family==="bin"||n.family==="rel")?"m"+n.family:"mord"};Wn({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,n){var{parser:t}=e;return{type:"mclass",mode:t.mode,mclass:V8(n[0]),body:vi(n[1]),isCharacterBox:Mt.isCharacterBox(n[1])}}});Wn({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,n){var{parser:t,funcName:a}=e,r=n[1],o=n[0],i;a!=="\\stackrel"?i=V8(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:vi(r)},l={type:"supsub",mode:o.mode,base:u,sup:a==="\\underset"?null:o,sub:a==="\\underset"?o:null};return{type:"mclass",mode:t.mode,mclass:i,body:[l],isCharacterBox:Mt.isCharacterBox(l)}},htmlBuilder:MAe,mathmlBuilder:GAe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:V8(n[0]),body:vi(n[0])}},htmlBuilder(e,n){var t=Xi(e.body,n,!0),a=ye.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=xc(e.body,n),a=new tn.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var n3n={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},AAe=()=>({type:"styling",body:[],mode:"math",style:"display"}),xAe=e=>e.type==="textord"&&e.text==="@",t3n=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function a3n(e,n,t){var a=n3n[e];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return t.callFunction(a,[n[0]],[n[1]]);case"\\uparrow":case"\\downarrow":{var r=t.callFunction("\\\\cdleft",[n[0]],[]),o={type:"atom",text:a,mode:"math",family:"rel"},i=t.callFunction("\\Big",[o],[]),u=t.callFunction("\\\\cdright",[n[1]],[]),l={type:"ordgroup",mode:"math",body:[r,i,u]};return t.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return t.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var c={type:"textord",text:"\\Vert",mode:"math"};return t.callFunction("\\Big",[c],[])}default:return{type:"textord",text:" ",mode:"math"}}}function r3n(e){var n=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){n.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var t=e.fetch().text;if(t==="&"||t==="\\\\")e.consume();else if(t==="\\end"){n[n.length-1].length===0&&n.pop();break}else throw new ln("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],r=[a],o=0;o-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var v=!0,p=l+1;pAV=|." after @',i[l]);var d=a3n(c,s,e),y={type:"styling",body:[d],mode:"math",style:"display"};a.push(y),u=AAe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var h=new Array(r[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:r,arraystretch:1,addJot:!0,rowGaps:[null],cols:h,colSeparationType:"CD",hLinesBeforeRow:new Array(r.length+1).fill([])}}Wn({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"cdlabel",mode:t.mode,side:a.slice(4),label:n[0]}},htmlBuilder(e,n){var t=n.havingStyle(n.style.sup()),a=ye.wrapFragment(Ka(e.label,t,n),n);return a.classes.push("cd-label-"+e.side),a.style.bottom=Mn(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,n){var t=new tn.MathNode("mrow",[Ur(e.label,n)]);return t=new tn.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new tn.MathNode("mstyle",[t]),t.setAttribute("displaystyle","false"),t.setAttribute("scriptlevel","1"),t}});Wn({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,n){var{parser:t}=e;return{type:"cdlabelparent",mode:t.mode,fragment:n[0]}},htmlBuilder(e,n){var t=ye.wrapFragment(Ka(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new tn.MathNode("mrow",[Ur(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=Ra(n[0],"ordgroup"),r=a.body,o="",i=0;i=1114111)throw new ln("\\@char with invalid code point "+o);return l<=65535?c=String.fromCharCode(l):(l-=65536,c=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:t.mode,text:c}}});var LAe=(e,n)=>{var t=Xi(e.body,n.withColor(e.color),!1);return ye.makeFragment(t)},jAe=(e,n)=>{var t=xc(e.body,n.withColor(e.color)),a=new tn.MathNode("mstyle",t);return a.setAttribute("mathcolor",e.color),a};Wn({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,n){var{parser:t}=e,a=Ra(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:vi(r)}},htmlBuilder:LAe,mathmlBuilder:jAe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=Ra(n[0],"color-token").color;t.gullet.macros.set("\\current@color",r);var o=t.parseExpression(!0,a);return{type:"color",mode:t.mode,color:r,body:o}},htmlBuilder:LAe,mathmlBuilder:jAe});Wn({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,n,t){var{parser:a}=e,r=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,o=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:o,size:r&&Ra(r,"size").value}},htmlBuilder(e,n){var t=ye.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Mn(Lo(e.size,n)))),t},mathmlBuilder(e,n){var t=new tn.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Mn(Lo(e.size,n)))),t}});var sV={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},NAe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new ln("Expected a control sequence",e);return n},o3n=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},PAe=(e,n,t,a)=>{var r=e.gullet.macros.get(t.text);r==null&&(t.noexpand=!0,r={tokens:[t],numArgs:0,unexpandable:!e.gullet.isExpandable(t.text)}),e.gullet.macros.set(n,r,a)};Wn({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n,funcName:t}=e;n.consumeSpaces();var a=n.fetch();if(sV[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=sV[a.text]),Ra(n.parseFunction(),"internal");throw new ln("Invalid token after macro prefix",a)}});Wn({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=n.gullet.popToken(),r=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(r))throw new ln("Expected a control sequence",a);for(var o=0,i,u=[[]];n.gullet.future().text!=="{";)if(a=n.gullet.popToken(),a.text==="#"){if(n.gullet.future().text==="{"){i=n.gullet.future(),u[o].push("{");break}if(a=n.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new ln('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new ln('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new ln("Expected a macro definition");u[o].push(a.text)}var{tokens:l}=n.gullet.consumeArg();return i&&l.unshift(i),(t==="\\edef"||t==="\\xdef")&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(r,{tokens:l,numArgs:o,delimiters:u},t===sV[t]),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=NAe(n.gullet.popToken());n.gullet.consumeSpaces();var r=o3n(n);return PAe(n,a,r,t==="\\\\globallet"),{type:"internal",mode:n.mode}}});Wn({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:n,funcName:t}=e,a=NAe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return PAe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var DM=function(n,t,a){var r=Vr.math[n]&&Vr.math[n].replace,o=Yz(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},fV=function(n,t,a,r){var o=a.havingBaseStyle(t),i=ye.makeSpan(r.concat(o.sizingClasses(a)),[n],a),u=o.sizeMultiplier/a.sizeMultiplier;return i.height*=u,i.depth*=u,i.maxFontSize=o.sizeMultiplier,i},OAe=function(n,t,a){var r=t.havingBaseStyle(a),o=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;n.classes.push("delimcenter"),n.style.top=Mn(o),n.height-=o,n.depth+=o},i3n=function(n,t,a,r,o,i){var u=ye.makeSymbol(n,"Main-Regular",o,r),l=fV(u,t,r,i);return a&&OAe(l,r,t),l},u3n=function(n,t,a,r){return ye.makeSymbol(n,"Size"+t+"-Regular",a,r)},kAe=function(n,t,a,r,o,i){var u=u3n(n,t,o,r),l=fV(ye.makeSpan(["delimsizing","size"+t],[u],r),Ot.TEXT,r,i);return a&&OAe(l,r,Ot.TEXT),l},vV=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=ye.makeSpan(["delimsizinginner",r],[ye.makeSpan([],[ye.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},pV=function(n,t,a){var r=pp["Size4-Regular"][n.charCodeAt(0)]?pp["Size4-Regular"][n.charCodeAt(0)][4]:pp["Size1-Regular"][n.charCodeAt(0)][4],o=new cd("inner",m4n(n,Math.round(1e3*t))),i=new dp([o],{width:Mn(r),height:Mn(t),style:"width:"+Mn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=ye.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Mn(t),u.style.width=Mn(r),{type:"elem",elem:u}},mV=.008,Q8={type:"kern",size:-1*mV},l3n=["|","\\lvert","\\rvert","\\vert"],c3n=["\\|","\\lVert","\\rVert","\\Vert"],UAe=function(n,t,a,r,o,i){var u,l,c,s,f="",v=0;u=c=s=n,l=null;var p="Size1-Regular";n==="\\uparrow"?c=s="\u23D0":n==="\\Uparrow"?c=s="\u2016":n==="\\downarrow"?u=c="\u23D0":n==="\\Downarrow"?u=c="\u2016":n==="\\updownarrow"?(u="\\uparrow",c="\u23D0",s="\\downarrow"):n==="\\Updownarrow"?(u="\\Uparrow",c="\u2016",s="\\Downarrow"):Mt.contains(l3n,n)?(c="\u2223",f="vert",v=333):Mt.contains(c3n,n)?(c="\u2225",f="doublevert",v=556):n==="["||n==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",p="Size4-Regular",f="lbrack",v=667):n==="]"||n==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",p="Size4-Regular",f="rbrack",v=667):n==="\\lfloor"||n==="\u230A"?(c=u="\u23A2",s="\u23A3",p="Size4-Regular",f="lfloor",v=667):n==="\\lceil"||n==="\u2308"?(u="\u23A1",c=s="\u23A2",p="Size4-Regular",f="lceil",v=667):n==="\\rfloor"||n==="\u230B"?(c=u="\u23A5",s="\u23A6",p="Size4-Regular",f="rfloor",v=667):n==="\\rceil"||n==="\u2309"?(u="\u23A4",c=s="\u23A5",p="Size4-Regular",f="rceil",v=667):n==="("||n==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",p="Size4-Regular",f="lparen",v=875):n===")"||n==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",p="Size4-Regular",f="rparen",v=875):n==="\\{"||n==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",p="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",p="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",p="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",p="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",p="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",p="Size4-Regular");var d=DM(u,p,o),y=d.height+d.depth,h=DM(c,p,o),g=h.height+h.depth,S=DM(s,p,o),M=S.height+S.depth,P=0,O=1;if(l!==null){var T=DM(l,p,o);P=T.height+T.depth,O=2}var k=y+M+P,K=Math.max(0,Math.ceil((t-k)/(O*g))),oe=k+K*O*g,Te=r.fontMetrics().axisHeight;a&&(Te*=r.sizeMultiplier);var we=oe/2-Te,xe=[];if(f.length>0){var Se=oe-y-M,Ce=Math.round(oe*1e3),Je=d4n(f,Math.round(Se*1e3)),ue=new cd(f,Je),Tn=(v/1e3).toFixed(3)+"em",on=(Ce/1e3).toFixed(3)+"em",Et=new dp([ue],{width:Tn,height:on,viewBox:"0 0 "+v+" "+Ce}),mt=ye.makeSvgSpan([],[Et],r);mt.height=Ce/1e3,mt.style.width=Tn,mt.style.height=on,xe.push({type:"elem",elem:mt})}else{if(xe.push(vV(s,p,o)),xe.push(Q8),l===null){var z=oe-y-M+2*mV;xe.push(pV(c,z,r))}else{var x=(oe-y-M-P)/2+2*mV;xe.push(pV(c,x,r)),xe.push(Q8),xe.push(vV(l,p,o)),xe.push(Q8),xe.push(pV(c,x,r))}xe.push(Q8),xe.push(vV(u,p,o))}var Y=r.havingBaseStyle(Ot.TEXT),fe=ye.makeVList({positionType:"bottom",positionData:we,children:xe},Y);return fV(ye.makeSpan(["delimsizing","mult"],[fe],Y),Ot.TEXT,r,i)},dV=80,_V=.08,hV=function(n,t,a,r,o){var i=p4n(n,r,a),u=new cd(n,i),l=new dp([u],{width:"400em",height:Mn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return ye.makeSvgSpan(["hide-tail"],[l],o)},s3n=function(n,t){var a=t.havingBaseSizing(),r=qAe("\\surd",n*a.sizeMultiplier,JAe,a),o=a.sizeMultiplier,i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u,l=0,c=0,s=0,f;return r.type==="small"?(s=1e3+1e3*i+dV,n<1?o=1:n<1.4&&(o=.7),l=(1+i+_V)/o,c=(1+i)/o,u=hV("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+dV)*yM[r.size],c=(yM[r.size]+i)/o,l=(yM[r.size]+i+_V)/o,u=hV("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+_V,c=n+i,s=Math.floor(1e3*n+i)+dV,u=hV("sqrtTall",l,s,i,t),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Mn(l),{span:u,advanceWidth:f,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},HAe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],f3n=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],BAe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],yM=[0,1.2,1.8,2.4,3],v3n=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Mt.contains(HAe,n)||Mt.contains(BAe,n))return kAe(n,t,!1,a,r,o);if(Mt.contains(f3n,n))return UAe(n,yM[t],!1,a,r,o);throw new ln("Illegal delimiter: '"+n+"'")},p3n=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],m3n=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"stack"}],JAe=[{type:"small",style:Ot.SCRIPTSCRIPT},{type:"small",style:Ot.SCRIPT},{type:"small",style:Ot.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],d3n=function(n){if(n.type==="small")return"Main-Regular";if(n.type==="large")return"Size"+n.size+"-Regular";if(n.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+n.type+"' here.")},qAe=function(n,t,a,r){for(var o=Math.min(2,3-r.style.size),i=o;it)return a[i]}return a[a.length-1]},WAe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;Mt.contains(BAe,n)?u=p3n:Mt.contains(HAe,n)?u=JAe:u=m3n;var l=qAe(n,t,u,r);return l.type==="small"?i3n(n,l.style,a,r,o,i):l.type==="large"?kAe(n,l.size,a,r,o,i):UAe(n,t,a,r,o,i)},_3n=function(n,t,a,r,o,i){var u=r.fontMetrics().axisHeight*r.sizeMultiplier,l=901,c=5/r.fontMetrics().ptPerEm,s=Math.max(t-u,a+u),f=Math.max(s/500*l,2*s-c);return WAe(n,f,!0,r,o,i)},dd={sqrtImage:s3n,sizedDelim:v3n,sizeToMaxHeight:yM,customSizedDelim:WAe,leftRightDelim:_3n},$Ae={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},h3n=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27E8","\\rangle","\u27E9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Y8(e,n){var t=$8(e);if(t&&Mt.contains(h3n,t.text))return t;throw t?new ln("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new ln("Invalid delimiter type '"+e.type+"'",e)}Wn({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,n)=>{var t=Y8(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:$Ae[e.funcName].size,mclass:$Ae[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?ye.makeSpan([e.mclass]):dd.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(Af(e.delim,e.mode));var t=new tn.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Mn(dd.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function zAe(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Wn({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=e.parser.gullet.macros.get("\\current@color");if(t&&typeof t!="string")throw new ln("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Y8(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=Y8(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=Ra(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{zAe(e);for(var t=Xi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i{zAe(e);var t=xc(e.body,n);if(e.left!=="."){var a=new tn.MathNode("mo",[Af(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new tn.MathNode("mo",[Af(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return oV(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=Y8(n[0],e);if(!e.parser.leftrightDepth)throw new ln("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,n)=>{var t;if(e.delim===".")t=gM(n,[]);else{t=dd.sizedDelim(e.delim,1,n,e.mode,[]);var a={delim:e.delim,options:n};t.isMiddle=a}return t},mathmlBuilder:(e,n)=>{var t=e.delim==="\\vert"||e.delim==="|"?Af("|","text"):Af(e.delim,e.mode),a=new tn.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var gV=(e,n)=>{var t=ye.wrapFragment(Ka(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=Mt.isCharacterBox(e.body);if(a==="sout")o=ye.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=Lo({number:.6,unit:"pt"},n),c=Lo({number:.35,unit:"ex"},n),s=n.havingBaseSizing();r=r/s.sizeMultiplier;var f=t.height+t.depth+l+c;t.style.paddingLeft=Mn(f/2+l);var v=Math.floor(1e3*f*r),p=f4n(v),d=new dp([new cd("phase",p)],{width:"400em",height:Mn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=ye.makeSvgSpan(["hide-tail"],[d],n),o.style.height=Mn(f),i=t.depth+l+c}else{/cancel/.test(a)?u||t.classes.push("cancel-pad"):a==="angl"?t.classes.push("anglpad"):t.classes.push("boxpad");var y=0,h=0,g=0;/box/.test(a)?(g=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),y=n.fontMetrics().fboxsep+(a==="colorbox"?0:g),h=y):a==="angl"?(g=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),y=4*g,h=Math.max(0,.25-t.depth)):(y=u?.2:0,h=y),o=md.encloseSpan(t,a,y,h,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Mn(g)):a==="angl"&&g!==.049&&(o.style.borderTopWidth=Mn(g),o.style.borderRightWidth=Mn(g)),i=t.depth+h,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var M=/cancel|phase/.test(a)?["svg-align"]:[];S=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:M}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?ye.makeSpan(["mord","cancel-lap"],[S],n):ye.makeSpan(["mord"],[S],n)},DV=(e,n)=>{var t=0,a=new tn.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Ur(e.body,n)]);switch(e.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(t=n.fontMetrics().fboxsep*n.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*t+"pt"),a.setAttribute("height","+"+2*t+"pt"),a.setAttribute("lspace",t+"pt"),a.setAttribute("voffset",t+"pt"),e.label==="\\fcolorbox"){var r=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness);a.setAttribute("style","border: "+r+"em solid "+String(e.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&a.setAttribute("mathbackground",e.backgroundColor),a};Wn({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=Ra(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:gV,mathmlBuilder:DV});Wn({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,n,t){var{parser:a,funcName:r}=e,o=Ra(n[0],"color-token").color,i=Ra(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:gV,mathmlBuilder:DV});Wn({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\fbox",body:n[0]}}});Wn({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"enclose",mode:t.mode,label:a,body:r}},htmlBuilder:gV,mathmlBuilder:DV});Wn({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"enclose",mode:t.mode,label:"\\angl",body:n[0]}}});var VAe={};function _p(e){for(var{type:n,names:t,props:a,handler:r,htmlBuilder:o,mathmlBuilder:i}=e,u={type:n,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:r},l=0;l{var n=e.parser.settings;if(!n.displayMode)throw new ln("{"+e.envName+"} can be used only in display mode.")};function yV(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Oh(e,n,t){var{hskipBeforeAndAfter:a,addJot:r,cols:o,arraystretch:i,colSeparationType:u,autoTag:l,singleRow:c,emptySingleRow:s,maxNumCols:f,leqno:v}=n;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!i){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)i=1;else if(i=parseFloat(p),!i||i<0)throw new ln("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var d=[],y=[d],h=[],g=[],S=l!=null?[]:void 0;function M(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Is("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(M(),g.push(YAe(e));;){var O=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),O={type:"ordgroup",mode:e.mode,body:O},t&&(O={type:"styling",mode:e.mode,style:t,body:[O]}),d.push(O);var T=e.fetch().text;if(T==="&"){if(f&&d.length===f){if(c||u)throw new ln("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(T==="\\end"){P(),d.length===1&&O.type==="styling"&&O.body[0].body.length===0&&(y.length>1||!s)&&y.pop(),g.length0&&(M+=.25),c.push({pos:M,isDashed:at[gt]})}for(P(i[0]),a=0;a0&&(we+=S,kat))for(a=0;a=u)){var pe=void 0;(r>0||n.hskipBeforeAndAfter)&&(pe=Mt.deflt(x.pregap,v),pe!==0&&(Je=ye.makeSpan(["arraycolsep"],[]),Je.style.width=Mn(pe),Ce.push(Je)));var V=[];for(a=0;a0){for(var en=ye.makeLineSpan("hline",t,s),Ne=ye.makeLineSpan("hdashline",t,s),Fn=[{type:"elem",elem:l,shift:0}];c.length>0;){var fn=c.pop(),tt=fn.pos-xe;fn.isDashed?Fn.push({type:"elem",elem:Ne,shift:tt}):Fn.push({type:"elem",elem:en,shift:tt})}l=ye.makeVList({positionType:"individualShift",children:Fn},t)}if(Tn.length===0)return ye.makeSpan(["mord"],[l],t);var In=ye.makeVList({positionType:"individualShift",children:Tn},t);return In=ye.makeSpan(["tag"],[In],t),ye.makeFragment([l,In])},g3n={c:"center ",l:"left ",r:"right "},gp=function(n,t){for(var a=[],r=new tn.MathNode("mtd",[],["mtr-glue"]),o=new tn.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var d=n.cols,y="",h=!1,g=0,S=d.length;d[0].type==="separator"&&(v+="top ",g=1),d[d.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var M=g;M0?"left ":"",v+=K[K.length-1].length>0?"right ":"";for(var oe=1;oe-1?"alignat":"align",o=n.envName==="split",i=Oh(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:yV(n.envName),emptySingleRow:!0,colSeparationType:r,maxNumCols:o?2:void 0,leqno:n.parser.settings.leqno},"display"),u,l=0,c={type:"ordgroup",mode:n.mode,body:[]};if(t[0]&&t[0].type==="ordgroup"){for(var s="",f=0;f0&&p&&(h=1),a[d]={type:"align",align:y,pregap:h,postgap:0}}return i.colSeparationType=p?"align":"alignat",i};_p({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=$8(n[0]),a=t?[n[0]]:Ra(n[0],"ordgroup").body,r=a.map(function(i){var u=lV(i),l=u.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new ln("Unknown column alignment: "+l,i)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Oh(e.parser,o,bV(e.envName))},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var n={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],t="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:t}]};if(e.envName.charAt(e.envName.length-1)==="*"){var r=e.parser;if(r.consumeSpaces(),r.fetch().text==="["){if(r.consume(),r.consumeSpaces(),t=r.fetch().text,"lcr".indexOf(t)===-1)throw new ln("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),a.cols=[{type:"align",align:t}]}}var o=Oh(e.parser,a,bV(e.envName)),i=Math.max(0,...o.body.map(u=>u.length));return o.cols=new Array(i).fill({type:"align",align:t}),n?{type:"leftright",mode:e.mode,body:[o],left:n[0],right:n[1],rightColor:void 0}:o},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=Oh(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=$8(n[0]),a=t?[n[0]]:Ra(n[0],"ordgroup").body,r=a.map(function(i){var u=lV(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new ln("Unknown column alignment: "+l,i)});if(r.length>1)throw new ln("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Oh(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new ln("{subarray} can contain only one column");return o},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var n={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},t=Oh(e.parser,n,bV(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:XAe,htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Mt.contains(["gather","gather*"],e.envName)&&X8(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yV(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Oh(e.parser,n,"display")},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:XAe,htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){X8(e);var n={autoTag:yV(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Oh(e.parser,n,"display")},htmlBuilder:hp,mathmlBuilder:gp});_p({type:"array",names:["CD"],props:{numArgs:0},handler(e){return X8(e),r3n(e.parser)},htmlBuilder:hp,mathmlBuilder:gp});N("\\nonumber","\\gdef\\@eqnsw{0}");N("\\notag","\\nonumber");Wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,n){throw new ln(e.funcName+" valid only within array environment")}});var ZAe=VAe;Wn({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];if(r.type!=="ordgroup")throw new ln("Invalid environment name",r);for(var o="",i=0;i{var t=e.font,a=n.withFont(t);return Ka(e.body,a)},exe=(e,n)=>{var t=e.font,a=n.withFont(t);return Ur(e.body,a)},nxe={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Wn({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=q8(n[0]),o=a;return o in nxe&&(o=nxe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:KAe,mathmlBuilder:exe});Wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=Mt.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:V8(a),body:[{type:"font",mode:t.mode,font:"boldsymbol",body:a}],isCharacterBox:r}}});Wn({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a,breakOnTokenText:r}=e,{mode:o}=t,i=t.parseExpression(!0,r),u="math"+a.slice(1);return{type:"font",mode:o,font:u,body:{type:"ordgroup",mode:t.mode,body:i}}},htmlBuilder:KAe,mathmlBuilder:exe});var txe=(e,n)=>{var t=n;return e==="display"?t=t.id>=Ot.SCRIPT.id?t.text():Ot.DISPLAY:e==="text"&&t.size===Ot.DISPLAY.size?t=Ot.TEXT:e==="script"?t=Ot.SCRIPT:e==="scriptscript"&&(t=Ot.SCRIPTSCRIPT),t},RV=(e,n)=>{var t=txe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=Ka(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height0?d=3*v:d=7*v,y=n.fontMetrics().denom1):(f>0?(p=n.fontMetrics().num2,d=v):(p=n.fontMetrics().num3,d=3*v),y=n.fontMetrics().denom2);var h;if(s){var S=n.fontMetrics().axisHeight;p-i.depth-(S+.5*f){var t=new tn.MathNode("mfrac",[Ur(e.numer,n),Ur(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=Lo(e.barSize,n);t.setAttribute("linethickness",Mn(a))}var r=txe(e.size,n.style);if(r.size!==n.style.size){t=new tn.MathNode("mstyle",[t]);var o=r.size===Ot.DISPLAY.size?"true":"false";t.setAttribute("displaystyle",o),t.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var u=new tn.MathNode("mo",[new tn.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new tn.MathNode("mo",[new tn.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return oV(i)}return t};Wn({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1],i,u=null,l=null,c="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,u="(",l=")";break;case"\\\\bracefrac":i=!1,u="\\{",l="\\}";break;case"\\\\brackfrac":i=!1,u="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":c="display";break;case"\\tfrac":case"\\tbinom":c="text";break}return{type:"genfrac",mode:t.mode,continued:!1,numer:r,denom:o,hasBarLine:i,leftDelim:u,rightDelim:l,size:c,barSize:null}},htmlBuilder:RV,mathmlBuilder:wV});Wn({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=n[1];return{type:"genfrac",mode:t.mode,continued:!0,numer:r,denom:o,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});Wn({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:n,funcName:t,token:a}=e,r;switch(t){case"\\over":r="\\frac";break;case"\\choose":r="\\binom";break;case"\\atop":r="\\\\atopfrac";break;case"\\brace":r="\\\\bracefrac";break;case"\\brack":r="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:n.mode,replaceWith:r,token:a}}});var axe=["display","text","script","scriptscript"],rxe=function(n){var t=null;return n.length>0&&(t=n,t=t==="."?null:t),t};Wn({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,n){var{parser:t}=e,a=n[4],r=n[5],o=q8(n[0]),i=o.type==="atom"&&o.family==="open"?rxe(o.text):null,u=q8(n[1]),l=u.type==="atom"&&u.family==="close"?rxe(u.text):null,c=Ra(n[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var v="auto",p=n[3];if(p.type==="ordgroup"){if(p.body.length>0){var d=Ra(p.body[0],"textord");v=axe[Number(d.text)]}}else p=Ra(p,"textord"),v=axe[Number(p.text)];return{type:"genfrac",mode:t.mode,numer:a,denom:r,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:v}},htmlBuilder:RV,mathmlBuilder:wV});Wn({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,n){var{parser:t,funcName:a,token:r}=e;return{type:"infix",mode:t.mode,replaceWith:"\\\\abovefrac",size:Ra(n[0],"size").value,token:r}}});Wn({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0],o=YGn(Ra(n[1],"infix").size),i=n[2],u=o.number>0;return{type:"genfrac",mode:t.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:o,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:RV,mathmlBuilder:wV});var oxe=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?Ka(e.sup,n.havingStyle(t.sup()),n):Ka(e.sub,n.havingStyle(t.sub()),n),r=Ra(e.base,"horizBrace")):r=Ra(e,"horizBrace");var o=Ka(r.base,n.havingBaseStyle(Ot.DISPLAY)),i=md.svgSpan(r,n),u;if(r.isOver?(u=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},n),u.children[0].children[0].children[1].classes.push("svg-align")):(u=ye.makeVList({positionType:"bottom",positionData:o.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},n),u.children[0].children[0].children[0].classes.push("svg-align")),a){var l=ye.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=ye.makeVList({positionType:"bottom",positionData:l.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:l}]},n)}return ye.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},D3n=(e,n)=>{var t=md.mathMLnode(e.label);return new tn.MathNode(e.isOver?"mover":"munder",[Ur(e.base,n),t])};Wn({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,n){var{parser:t,funcName:a}=e;return{type:"horizBrace",mode:t.mode,label:a,isOver:/^\\over/.test(a),base:n[0]}},htmlBuilder:oxe,mathmlBuilder:D3n});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=Ra(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:vi(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=Xi(e.body,n,!1);return ye.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=Ph(e.body,n);return t instanceof Ac||(t=new Ac("mrow",[t])),t.setAttribute("href",e.href),t}});Wn({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=Ra(n[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var r=[],o=0;o{var{parser:t,funcName:a,token:r}=e,o=Ra(n[0],"raw").string,i=n[1];t.settings.strict&&t.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,l={};switch(a){case"\\htmlClass":l.class=o,u={command:"\\htmlClass",class:o};break;case"\\htmlId":l.id=o,u={command:"\\htmlId",id:o};break;case"\\htmlStyle":l.style=o,u={command:"\\htmlStyle",style:o};break;case"\\htmlData":{for(var c=o.split(","),s=0;s{var t=Xi(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=ye.makeSpan(a,t,n);for(var o in e.attributes)o!=="class"&&e.attributes.hasOwnProperty(o)&&r.setAttribute(o,e.attributes[o]);return r},mathmlBuilder:(e,n)=>Ph(e.body,n)});Wn({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"htmlmathml",mode:t.mode,html:vi(n[0]),mathml:vi(n[1])}},htmlBuilder:(e,n)=>{var t=Xi(e.html,n,!1);return ye.makeFragment(t)},mathmlBuilder:(e,n)=>Ph(e.mathml,n)});var SV=function(n){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(n))return{number:+n,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n);if(!t)throw new ln("Invalid size: '"+n+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!uAe(a))throw new ln("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};Wn({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,n,t)=>{var{parser:a}=e,r={number:0,unit:"em"},o={number:.9,unit:"em"},i={number:0,unit:"em"},u="";if(t[0])for(var l=Ra(t[0],"raw").string,c=l.split(","),s=0;s{var t=Lo(e.height,n),a=0;e.totalheight.number>0&&(a=Lo(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=Lo(e.width,n));var o={height:Mn(t+a)};r>0&&(o.width=Mn(r)),a>0&&(o.verticalAlign=Mn(-a));var i=new fAe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new tn.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=Lo(e.height,n),r=0;if(e.totalheight.number>0&&(r=Lo(e.totalheight,n)-a,t.setAttribute("valign",Mn(-r))),t.setAttribute("height",Mn(a+r)),e.width.number>0){var o=Lo(e.width,n);t.setAttribute("width",Mn(o))}return t.setAttribute("src",e.src),t}});Wn({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=Ra(n[0],"size");if(t.settings.strict){var o=a[1]==="m",i=r.value.unit==="mu";o?(i||t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+r.value.unit+" units")),t.mode!=="math"&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):i&&t.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:t.mode,dimension:r.value}},htmlBuilder(e,n){return ye.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=Lo(e.dimension,n);return new tn.SpaceNode(t)}});Wn({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"lap",mode:t.mode,alignment:a.slice(5),body:r}},htmlBuilder:(e,n)=>{var t;e.alignment==="clap"?(t=ye.makeSpan([],[Ka(e.body,n)]),t=ye.makeSpan(["inner"],[t],n)):t=ye.makeSpan(["inner"],[Ka(e.body,n)]);var a=ye.makeSpan(["fix"],[]),r=ye.makeSpan([e.alignment],[t,a],n),o=ye.makeSpan(["strut"]);return o.style.height=Mn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Mn(-r.depth)),r.children.unshift(o),r=ye.makeSpan(["thinbox"],[r],n),ye.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new tn.MathNode("mpadded",[Ur(e.body,n)]);if(e.alignment!=="rlap"){var a=e.alignment==="llap"?"-1":"-0.5";t.setAttribute("lspace",a+"width")}return t.setAttribute("width","0px"),t}});Wn({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){var{funcName:t,parser:a}=e,r=a.mode;a.switchMode("math");var o=t==="\\("?"\\)":"$",i=a.parseExpression(!1,o);return a.expect(o),a.switchMode(r),{type:"styling",mode:a.mode,style:"text",body:i}}});Wn({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,n){throw new ln("Mismatched "+e.funcName)}});var ixe=(e,n)=>{switch(n.style.size){case Ot.DISPLAY.size:return e.display;case Ot.TEXT.size:return e.text;case Ot.SCRIPT.size:return e.script;case Ot.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Wn({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,n)=>{var{parser:t}=e;return{type:"mathchoice",mode:t.mode,display:vi(n[0]),text:vi(n[1]),script:vi(n[2]),scriptscript:vi(n[3])}},htmlBuilder:(e,n)=>{var t=ixe(e,n),a=Xi(t,n,!1);return ye.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=ixe(e,n);return Ph(t,n)}});var uxe=(e,n,t,a,r,o,i)=>{e=ye.makeSpan([],[e]);var u=t&&Mt.isCharacterBox(t),l,c;if(n){var s=Ka(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=Ka(t,a.havingStyle(r.sub()),a);l={elem:f,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-f.height)}}var v;if(c&&l){var p=a.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;v=ye.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Mn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Mn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(l){var d=e.height-i;v=ye.makeVList({positionType:"top",positionData:d,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Mn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},a)}else if(c){var y=e.depth+i;v=ye.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Mn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var h=[v];if(l&&o!==0&&!u){var g=ye.makeSpan(["mspace"],[],a);g.style.marginRight=Mn(o),h.unshift(g)}return ye.makeSpan(["mop","op-limits"],h,a)},lxe=["\\smallint"],eS=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=Ra(e.base,"op"),r=!0):o=Ra(e,"op");var i=n.style,u=!1;i.size===Ot.DISPLAY.size&&o.symbol&&!Mt.contains(lxe,o.name)&&(u=!0);var l;if(o.symbol){var c=u?"Size2-Regular":"Size1-Regular",s="";if((o.name==="\\oiint"||o.name==="\\oiiint")&&(s=o.name.slice(1),o.name=s==="oiint"?"\\iint":"\\iiint"),l=ye.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=ye.staticSvg(s+"Size"+(u?"2":"1"),n);l=ye.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:v,shift:u?.08:0}]},n),o.name="\\"+s,l.classes.unshift("mop"),l.italic=f}}else if(o.body){var p=Xi(o.body,n,!0);p.length===1&&p[0]instanceof Ts?(l=p[0],l.classes[0]="mop"):l=ye.makeSpan(["mop"],p,n)}else{for(var d=[],y=1;y{var t;if(e.symbol)t=new Ac("mo",[Af(e.name,e.mode)]),Mt.contains(lxe,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new Ac("mo",xc(e.body,n));else{t=new Ac("mi",[new zv(e.name.slice(1))]);var a=new Ac("mo",[Af("\u2061","text")]);e.parentIsSupSub?t=new Ac("mrow",[t,a]):t=SAe([t,a])}return t},y3n={"\u220F":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22C0":"\\bigwedge","\u22C1":"\\bigvee","\u22C2":"\\bigcap","\u22C3":"\\bigcup","\u2A00":"\\bigodot","\u2A01":"\\bigoplus","\u2A02":"\\bigotimes","\u2A04":"\\biguplus","\u2A06":"\\bigsqcup"};Wn({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220F","\u2210","\u2211","\u22C0","\u22C1","\u22C2","\u22C3","\u2A00","\u2A01","\u2A02","\u2A04","\u2A06"],props:{numArgs:0},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=a;return r.length===1&&(r=y3n[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:eS,mathmlBuilder:bM});Wn({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:vi(a)}},htmlBuilder:eS,mathmlBuilder:bM});var b3n={"\u222B":"\\int","\u222C":"\\iint","\u222D":"\\iiint","\u222E":"\\oint","\u222F":"\\oiint","\u2230":"\\oiiint"};Wn({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:eS,mathmlBuilder:bM});Wn({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e;return{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:t}},htmlBuilder:eS,mathmlBuilder:bM});Wn({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222B","\u222C","\u222D","\u222E","\u222F","\u2230"],props:{numArgs:0},handler(e){var{parser:n,funcName:t}=e,a=t;return a.length===1&&(a=b3n[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:eS,mathmlBuilder:bM});var cxe=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=Ra(e.base,"operatorname"),r=!0):o=Ra(e,"operatorname");var i;if(o.body.length>0){for(var u=o.body.map(f=>{var v=f.text;return typeof v=="string"?{type:"textord",mode:f.mode,text:v}:f}),l=Xi(u,n.withFont("mathrm"),!0),c=0;c{for(var t=xc(e.body,n.withFont("mathrm")),a=!0,r=0;rs.toText()).join("");t=[new tn.TextNode(u)]}var l=new tn.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new tn.MathNode("mo",[Af("\u2061","text")]);return e.parentIsSupSub?new tn.MathNode("mrow",[l,c]):tn.newDocumentFragment([l,c])};Wn({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,n)=>{var{parser:t,funcName:a}=e,r=n[0];return{type:"operatorname",mode:t.mode,body:vi(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:cxe,mathmlBuilder:R3n});N("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Py({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?ye.makeFragment(Xi(e.body,n,!1)):ye.makeSpan(["mord"],Xi(e.body,n,!0),n)},mathmlBuilder(e,n){return Ph(e.body,n,!0)}});Wn({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,n){var{parser:t}=e,a=n[0];return{type:"overline",mode:t.mode,body:a}},htmlBuilder(e,n){var t=Ka(e.body,n.havingCrampedStyle()),a=ye.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return ye.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[new tn.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new tn.MathNode("mover",[Ur(e.body,n),t]);return a.setAttribute("accent","true"),a}});Wn({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"phantom",mode:t.mode,body:vi(a)}},htmlBuilder:(e,n)=>{var t=Xi(e.body,n.withPhantom(),!1);return ye.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=xc(e.body,n);return new tn.MathNode("mphantom",t)}});Wn({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"hphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=ye.makeSpan([],[Ka(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a{var t=xc(vi(e.body),n),a=new tn.MathNode("mphantom",t),r=new tn.MathNode("mpadded",[a]);return r.setAttribute("height","0px"),r.setAttribute("depth","0px"),r}});Wn({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[0];return{type:"vphantom",mode:t.mode,body:a}},htmlBuilder:(e,n)=>{var t=ye.makeSpan(["inner"],[Ka(e.body,n.withPhantom())]),a=ye.makeSpan(["fix"],[]);return ye.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=xc(vi(e.body),n),a=new tn.MathNode("mphantom",t),r=new tn.MathNode("mpadded",[a]);return r.setAttribute("width","0px"),r}});Wn({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,n){var{parser:t}=e,a=Ra(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=Ka(e.body,n),a=Lo(e.dy,n);return ye.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new tn.MathNode("mpadded",[Ur(e.body,n)]),a=e.dy.number+e.dy.unit;return t.setAttribute("voffset",a),t}});Wn({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:n}=e;return{type:"internal",mode:n.mode}}});Wn({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,n,t){var{parser:a}=e,r=t[0],o=Ra(n[0],"size"),i=Ra(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&Ra(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=ye.makeSpan(["mord","rule"],[],n),a=Lo(e.width,n),r=Lo(e.height,n),o=e.shift?Lo(e.shift,n):0;return t.style.borderRightWidth=Mn(a),t.style.borderTopWidth=Mn(r),t.style.bottom=Mn(o),t.width=a,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*n.sizeMultiplier,t},mathmlBuilder(e,n){var t=Lo(e.width,n),a=Lo(e.height,n),r=e.shift?Lo(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new tn.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Mn(t)),i.setAttribute("height",Mn(a));var u=new tn.MathNode("mpadded",[i]);return r>=0?u.setAttribute("height",Mn(r)):(u.setAttribute("height",Mn(r)),u.setAttribute("depth",Mn(-r))),u.setAttribute("voffset",Mn(r)),u}});function sxe(e,n,t){for(var a=Xi(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o{var t=n.havingSize(e.size);return sxe(e.body,t,n)};Wn({type:"sizing",names:fxe,props:{numArgs:0,allowedInText:!0},handler:(e,n)=>{var{breakOnTokenText:t,funcName:a,parser:r}=e,o=r.parseExpression(!1,t);return{type:"sizing",mode:r.mode,size:fxe.indexOf(a)+1,body:o}},htmlBuilder:w3n,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=xc(e.body,t),r=new tn.MathNode("mstyle",a);return r.setAttribute("mathsize",Mn(t.sizeMultiplier)),r}});Wn({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,n,t)=>{var{parser:a}=e,r=!1,o=!1,i=t[0]&&Ra(t[0],"ordgroup");if(i)for(var u="",l=0;l{var t=ye.makeSpan([],[Ka(e.body,n)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var a=0;a{var t=new tn.MathNode("mpadded",[Ur(e.body,n)]);return e.smashHeight&&t.setAttribute("height","0px"),e.smashDepth&&t.setAttribute("depth","0px"),t}});Wn({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,n,t){var{parser:a}=e,r=t[0],o=n[0];return{type:"sqrt",mode:a.mode,body:o,index:r}},htmlBuilder(e,n){var t=Ka(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=ye.wrapFragment(t,n);var a=n.fontMetrics(),r=a.defaultRuleThickness,o=r;n.style.idt.height+t.depth+i&&(i=(i+f-t.height-t.depth)/2);var v=l.height-t.height-i-c;t.style.paddingLeft=Mn(s);var p=ye.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t,wrapperClasses:["svg-align"]},{type:"kern",size:-(t.height+v)},{type:"elem",elem:l},{type:"kern",size:c}]},n);if(e.index){var d=n.havingStyle(Ot.SCRIPTSCRIPT),y=Ka(e.index,d,n),h=.6*(p.height-p.depth),g=ye.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:y}]},n),S=ye.makeSpan(["root"],[g]);return ye.makeSpan(["mord","sqrt"],[S,p],n)}else return ye.makeSpan(["mord","sqrt"],[p],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new tn.MathNode("mroot",[Ur(t,n),Ur(a,n)]):new tn.MathNode("msqrt",[Ur(t,n)])}});var vxe={display:Ot.DISPLAY,text:Ot.TEXT,script:Ot.SCRIPT,scriptscript:Ot.SCRIPTSCRIPT};Wn({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,n){var{breakOnTokenText:t,funcName:a,parser:r}=e,o=r.parseExpression(!0,t),i=a.slice(1,a.length-5);return{type:"styling",mode:r.mode,style:i,body:o}},htmlBuilder(e,n){var t=vxe[e.style],a=n.havingStyle(t).withFont("");return sxe(e.body,a,n)},mathmlBuilder(e,n){var t=vxe[e.style],a=n.havingStyle(t),r=xc(e.body,a),o=new tn.MathNode("mstyle",r),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=i[e.style];return o.setAttribute("scriptlevel",u[0]),o.setAttribute("displaystyle",u[1]),o}});var S3n=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===Ot.DISPLAY.size||a.alwaysHandleSupSub);return r?eS:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===Ot.DISPLAY.size||a.limits);return o?cxe:null}else{if(a.type==="accent")return Mt.isCharacterBox(a.base)?cV:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?oxe:null}else return null}else return null};Py({type:"supsub",htmlBuilder(e,n){var t=S3n(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=Ka(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&Mt.isCharacterBox(a);if(r){var p=n.havingStyle(n.style.sup());u=Ka(r,p,n),v||(s=i.height-p.fontMetrics().supDrop*p.sizeMultiplier/n.sizeMultiplier)}if(o){var d=n.havingStyle(n.style.sub());l=Ka(o,d,n),v||(f=i.depth+d.fontMetrics().subDrop*d.sizeMultiplier/n.sizeMultiplier)}var y;n.style===Ot.DISPLAY?y=c.sup1:n.style.cramped?y=c.sup3:y=c.sup2;var h=n.sizeMultiplier,g=Mn(.5/c.ptPerEm/h),S=null;if(l){var M=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Ts||M)&&(S=Mn(-i.italic))}var P;if(u&&l){s=Math.max(s,y,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var O=c.defaultRuleThickness,T=4*O;if(s-u.depth-(l.height-f)0&&(s+=k,f-=k)}var K=[{type:"elem",elem:l,shift:f,marginRight:g,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:g}];P=ye.makeVList({positionType:"individualShift",children:K},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var oe=[{type:"elem",elem:l,marginLeft:S,marginRight:g}];P=ye.makeVList({positionType:"shift",positionData:f,children:oe},n)}else if(u)s=Math.max(s,y,u.depth+.25*c.xHeight),P=ye.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:g}]},n);else throw new Error("supsub must have either sup or sub.");var Te=aV(i,"right")||"mord";return ye.makeSpan([Te],[i,ye.makeSpan(["msupsub"],[P])],n)},mathmlBuilder(e,n){var t=!1,a,r;e.base&&e.base.type==="horizBrace"&&(r=!!e.sup,r===e.base.isOver&&(t=!0,a=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var o=[Ur(e.base,n)];e.sub&&o.push(Ur(e.sub,n)),e.sup&&o.push(Ur(e.sup,n));var i;if(t)i=a?"mover":"munder";else if(e.sub)if(e.sup){var c=e.base;c&&c.type==="op"&&c.limits&&n.style===Ot.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===Ot.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===Ot.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===Ot.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===Ot.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===Ot.DISPLAY)?i="mover":i="msup"}return new tn.MathNode(i,o)}});Py({type:"atom",htmlBuilder(e,n){return ye.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[Af(e.text,e.mode)]);if(e.family==="bin"){var a=iV(e,n);a==="bold-italic"&&t.setAttribute("mathvariant",a)}else e.family==="punct"?t.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&t.setAttribute("stretchy","false");return t}});var pxe={mi:"italic",mn:"normal",mtext:"normal"};Py({type:"mathord",htmlBuilder(e,n){return ye.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new tn.MathNode("mi",[Af(e.text,e.mode,n)]),a=iV(e,n)||"italic";return a!==pxe[t.type]&&t.setAttribute("mathvariant",a),t}});Py({type:"textord",htmlBuilder(e,n){return ye.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=Af(e.text,e.mode,n),a=iV(e,n)||"normal",r;return e.mode==="text"?r=new tn.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new tn.MathNode("mn",[t]):e.text==="\\prime"?r=new tn.MathNode("mo",[t]):r=new tn.MathNode("mi",[t]),a!==pxe[r.type]&&r.setAttribute("mathvariant",a),r}});var EV={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},IV={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Py({type:"spacing",htmlBuilder(e,n){if(IV.hasOwnProperty(e.text)){var t=IV[e.text].className||"";if(e.mode==="text"){var a=ye.makeOrd(e,n,"textord");return a.classes.push(t),a}else return ye.makeSpan(["mspace",t],[ye.mathsym(e.text,e.mode,n)],n)}else{if(EV.hasOwnProperty(e.text))return ye.makeSpan(["mspace",EV[e.text]],[],n);throw new ln('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(IV.hasOwnProperty(e.text))t=new tn.MathNode("mtext",[new tn.TextNode("\xA0")]);else{if(EV.hasOwnProperty(e.text))return new tn.MathNode("mspace");throw new ln('Unknown type of space "'+e.text+'"')}return t}});var mxe=()=>{var e=new tn.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Py({type:"tag",mathmlBuilder(e,n){var t=new tn.MathNode("mtable",[new tn.MathNode("mtr",[mxe(),new tn.MathNode("mtd",[Ph(e.body,n)]),mxe(),new tn.MathNode("mtd",[Ph(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var dxe={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},_xe={"\\textbf":"textbf","\\textmd":"textmd"},E3n={"\\textit":"textit","\\textup":"textup"},hxe=(e,n)=>{var t=e.font;if(t){if(dxe[t])return n.withTextFontFamily(dxe[t]);if(_xe[t])return n.withTextFontWeight(_xe[t]);if(t==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(E3n[t])};Wn({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,n){var{parser:t,funcName:a}=e,r=n[0];return{type:"text",mode:t.mode,body:vi(r),font:a}},htmlBuilder(e,n){var t=hxe(e,n),a=Xi(e.body,t,!0);return ye.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=hxe(e,n);return Ph(e.body,t)}});Wn({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"underline",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=Ka(e.body,n),a=ye.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=ye.makeVList({positionType:"top",positionData:t.height,children:[{type:"kern",size:r},{type:"elem",elem:a},{type:"kern",size:3*r},{type:"elem",elem:t}]},n);return ye.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new tn.MathNode("mo",[new tn.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new tn.MathNode("munder",[Ur(e.body,n),t]);return a.setAttribute("accentunder","true"),a}});Wn({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,n){var{parser:t}=e;return{type:"vcenter",mode:t.mode,body:n[0]}},htmlBuilder(e,n){var t=Ka(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return ye.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new tn.MathNode("mpadded",[Ur(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new ln("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=gxe(e),a=[],r=n.havingStyle(n.style.text()),o=0;oe.body.replace(/ /g,e.star?"\u2423":"\xA0"),kh=bAe,Dxe=`[ \r ]`,C3n="\\\\[a-zA-Z@]+",I3n="\\\\[^\uD800-\uDFFF]",T3n="("+C3n+")"+Dxe+"*",F3n=`\\\\( |[ \r ]+ ?)[ \r ]*`,TV="[\u0300-\u036F]",M3n=new RegExp(TV+"+$"),G3n="("+Dxe+"+)|"+(F3n+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(TV+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(TV+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+T3n)+("|"+I3n+")"),FV=class{constructor(n,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=n,this.settings=t,this.tokenRegex=new RegExp(G3n,"g"),this.catcodes={"%":14,"~":13}}setCatcode(n,t){this.catcodes[n]=t}lex(){var n=this.input,t=this.tokenRegex.lastIndex;if(t===n.length)return new Is("EOF",new Mc(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new ln("Unexpected character: '"+n[t]+"'",new Is(n[t],new Mc(this,t,t+1)));var r=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[r]===14){var o=n.indexOf(` `,this.tokenRegex.lastIndex);return o===-1?(this.tokenRegex.lastIndex=n.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new Is(r,new Mc(this,t,this.tokenRegex.lastIndex))}},yxe=class{constructor(n,t){n===void 0&&(n={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=t,this.builtins=n,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ln("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var n=this.undefStack.pop();for(var t in n)n.hasOwnProperty(t)&&(n[t]==null?delete this.current[t]:this.current[t]=n[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(n){return this.current.hasOwnProperty(n)||this.builtins.hasOwnProperty(n)}get(n){return this.current.hasOwnProperty(n)?this.current[n]:this.builtins[n]}set(n,t,a){if(a===void 0&&(a=!1),a){for(var r=0;r0&&(this.undefStack[this.undefStack.length-1][n]=t)}else{var o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(n)&&(o[n]=this.current[n])}t==null?delete this.current[n]:this.current[n]=t}},A3n=QAe;N("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});N("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});N("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});N("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});N("\\@ifnextchar",function(e){var n=e.consumeArgs(3);e.consumeSpaces();var t=e.future();return n[0].length===1&&n[0][0].text===t.text?{tokens:n[1],numArgs:0}:{tokens:n[2],numArgs:0}});N("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");N("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var bxe={"0":0,"1":1,"2":2,"3":3,"4":4,"5":5,"6":6,"7":7,"8":8,"9":9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};N("\\char",function(e){var n=e.popToken(),t,a="";if(n.text==="'")t=8,n=e.popToken();else if(n.text==='"')t=16,n=e.popToken();else if(n.text==="`")if(n=e.popToken(),n.text[0]==="\\")a=n.text.charCodeAt(1);else{if(n.text==="EOF")throw new ln("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=bxe[n.text],a==null||a>=t)throw new ln("Invalid base-"+t+" digit "+n.text);for(var r;(r=bxe[e.future().text])!=null&&r{var r=e.consumeArg().tokens;if(r.length!==1)throw new ln("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!n)throw new ln("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!t)throw new ln("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");var u=0;if(r=e.consumeArg().tokens,r.length===1&&r[0].text==="["){for(var l="",c=e.expandNextToken();c.text!=="]"&&c.text!=="EOF";)l+=c.text,c=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new ln("Invalid number of arguments: "+l);u=parseInt(l),r=e.consumeArg().tokens}return i&&a||e.macros.set(o,{tokens:r,numArgs:u}),""};N("\\newcommand",e=>MV(e,!1,!0,!1));N("\\renewcommand",e=>MV(e,!0,!1,!1));N("\\providecommand",e=>MV(e,!0,!0,!0));N("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});N("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});N("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),kh[t],Vr.math[t],Vr.text[t]),""});N("\\bgroup","{");N("\\egroup","}");N("~","\\nobreakspace");N("\\lq","`");N("\\rq","'");N("\\aa","\\r a");N("\\AA","\\r A");N("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");N("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");N("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");N("\u212C","\\mathscr{B}");N("\u2130","\\mathscr{E}");N("\u2131","\\mathscr{F}");N("\u210B","\\mathscr{H}");N("\u2110","\\mathscr{I}");N("\u2112","\\mathscr{L}");N("\u2133","\\mathscr{M}");N("\u211B","\\mathscr{R}");N("\u212D","\\mathfrak{C}");N("\u210C","\\mathfrak{H}");N("\u2128","\\mathfrak{Z}");N("\\Bbbk","\\Bbb{k}");N("\xB7","\\cdotp");N("\\llap","\\mathllap{\\textrm{#1}}");N("\\rlap","\\mathrlap{\\textrm{#1}}");N("\\clap","\\mathclap{\\textrm{#1}}");N("\\mathstrut","\\vphantom{(}");N("\\underbar","\\underline{\\text{#1}}");N("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');N("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");N("\\ne","\\neq");N("\u2260","\\neq");N("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");N("\u2209","\\notin");N("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");N("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");N("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");N("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");N("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");N("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");N("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");N("\u27C2","\\perp");N("\u203C","\\mathclose{!\\mkern-0.8mu!}");N("\u220C","\\notni");N("\u231C","\\ulcorner");N("\u231D","\\urcorner");N("\u231E","\\llcorner");N("\u231F","\\lrcorner");N("\xA9","\\copyright");N("\xAE","\\textregistered");N("\uFE0F","\\textregistered");N("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');N("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');N("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');N("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');N("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");N("\u22EE","\\vdots");N("\\varGamma","\\mathit{\\Gamma}");N("\\varDelta","\\mathit{\\Delta}");N("\\varTheta","\\mathit{\\Theta}");N("\\varLambda","\\mathit{\\Lambda}");N("\\varXi","\\mathit{\\Xi}");N("\\varPi","\\mathit{\\Pi}");N("\\varSigma","\\mathit{\\Sigma}");N("\\varUpsilon","\\mathit{\\Upsilon}");N("\\varPhi","\\mathit{\\Phi}");N("\\varPsi","\\mathit{\\Psi}");N("\\varOmega","\\mathit{\\Omega}");N("\\substack","\\begin{subarray}{c}#1\\end{subarray}");N("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");N("\\boxed","\\fbox{$\\displaystyle{#1}$}");N("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");N("\\implies","\\DOTSB\\;\\Longrightarrow\\;");N("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");N("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");N("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var Rxe={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};N("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in Rxe?n=Rxe[t]:(t.slice(0,4)==="\\not"||t in Vr.math&&Mt.contains(["bin","rel"],Vr.math[t].group))&&(n="\\dotsb"),n});var GV={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};N("\\dotso",function(e){var n=e.future().text;return n in GV?"\\ldots\\,":"\\ldots"});N("\\dotsc",function(e){var n=e.future().text;return n in GV&&n!==","?"\\ldots\\,":"\\ldots"});N("\\cdots",function(e){var n=e.future().text;return n in GV?"\\@cdots\\,":"\\@cdots"});N("\\dotsb","\\cdots");N("\\dotsm","\\cdots");N("\\dotsi","\\!\\cdots");N("\\dotsx","\\ldots\\,");N("\\DOTSI","\\relax");N("\\DOTSB","\\relax");N("\\DOTSX","\\relax");N("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");N("\\,","\\tmspace+{3mu}{.1667em}");N("\\thinspace","\\,");N("\\>","\\mskip{4mu}");N("\\:","\\tmspace+{4mu}{.2222em}");N("\\medspace","\\:");N("\\;","\\tmspace+{5mu}{.2777em}");N("\\thickspace","\\;");N("\\!","\\tmspace-{3mu}{.1667em}");N("\\negthinspace","\\!");N("\\negmedspace","\\tmspace-{4mu}{.2222em}");N("\\negthickspace","\\tmspace-{5mu}{.277em}");N("\\enspace","\\kern.5em ");N("\\enskip","\\hskip.5em\\relax");N("\\quad","\\hskip1em\\relax");N("\\qquad","\\hskip2em\\relax");N("\\tag","\\@ifstar\\tag@literal\\tag@paren");N("\\tag@paren","\\tag@literal{({#1})}");N("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ln("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});N("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");N("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");N("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");N("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");N("\\newline","\\\\\\relax");N("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var wxe=Mn(pp["Main-Regular"]["T".charCodeAt(0)][1]-.7*pp["Main-Regular"]["A".charCodeAt(0)][1]);N("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+wxe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");N("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+wxe+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");N("\\hspace","\\@ifstar\\@hspacer\\@hspace");N("\\@hspace","\\hskip #1\\relax");N("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");N("\\ordinarycolon",":");N("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");N("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');N("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');N("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');N("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');N("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');N("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');N("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');N("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');N("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');N("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');N("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');N("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');N("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');N("\u2237","\\dblcolon");N("\u2239","\\eqcolon");N("\u2254","\\coloneqq");N("\u2255","\\eqqcolon");N("\u2A74","\\Coloneqq");N("\\ratio","\\vcentcolon");N("\\coloncolon","\\dblcolon");N("\\colonequals","\\coloneqq");N("\\coloncolonequals","\\Coloneqq");N("\\equalscolon","\\eqqcolon");N("\\equalscoloncolon","\\Eqqcolon");N("\\colonminus","\\coloneq");N("\\coloncolonminus","\\Coloneq");N("\\minuscolon","\\eqcolon");N("\\minuscoloncolon","\\Eqcolon");N("\\coloncolonapprox","\\Colonapprox");N("\\coloncolonsim","\\Colonsim");N("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");N("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");N("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");N("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");N("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");N("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");N("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");N("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");N("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");N("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");N("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");N("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");N("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");N("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");N("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");N("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");N("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");N("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");N("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");N("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");N("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");N("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");N("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");N("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");N("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");N("\\imath","\\html@mathml{\\@imath}{\u0131}");N("\\jmath","\\html@mathml{\\@jmath}{\u0237}");N("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");N("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");N("\u27E6","\\llbracket");N("\u27E7","\\rrbracket");N("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");N("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");N("\u2983","\\lBrace");N("\u2984","\\rBrace");N("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");N("\u29B5","\\minuso");N("\\darr","\\downarrow");N("\\dArr","\\Downarrow");N("\\Darr","\\Downarrow");N("\\lang","\\langle");N("\\rang","\\rangle");N("\\uarr","\\uparrow");N("\\uArr","\\Uparrow");N("\\Uarr","\\Uparrow");N("\\N","\\mathbb{N}");N("\\R","\\mathbb{R}");N("\\Z","\\mathbb{Z}");N("\\alef","\\aleph");N("\\alefsym","\\aleph");N("\\Alpha","\\mathrm{A}");N("\\Beta","\\mathrm{B}");N("\\bull","\\bullet");N("\\Chi","\\mathrm{X}");N("\\clubs","\\clubsuit");N("\\cnums","\\mathbb{C}");N("\\Complex","\\mathbb{C}");N("\\Dagger","\\ddagger");N("\\diamonds","\\diamondsuit");N("\\empty","\\emptyset");N("\\Epsilon","\\mathrm{E}");N("\\Eta","\\mathrm{H}");N("\\exist","\\exists");N("\\harr","\\leftrightarrow");N("\\hArr","\\Leftrightarrow");N("\\Harr","\\Leftrightarrow");N("\\hearts","\\heartsuit");N("\\image","\\Im");N("\\infin","\\infty");N("\\Iota","\\mathrm{I}");N("\\isin","\\in");N("\\Kappa","\\mathrm{K}");N("\\larr","\\leftarrow");N("\\lArr","\\Leftarrow");N("\\Larr","\\Leftarrow");N("\\lrarr","\\leftrightarrow");N("\\lrArr","\\Leftrightarrow");N("\\Lrarr","\\Leftrightarrow");N("\\Mu","\\mathrm{M}");N("\\natnums","\\mathbb{N}");N("\\Nu","\\mathrm{N}");N("\\Omicron","\\mathrm{O}");N("\\plusmn","\\pm");N("\\rarr","\\rightarrow");N("\\rArr","\\Rightarrow");N("\\Rarr","\\Rightarrow");N("\\real","\\Re");N("\\reals","\\mathbb{R}");N("\\Reals","\\mathbb{R}");N("\\Rho","\\mathrm{P}");N("\\sdot","\\cdot");N("\\sect","\\S");N("\\spades","\\spadesuit");N("\\sub","\\subset");N("\\sube","\\subseteq");N("\\supe","\\supseteq");N("\\Tau","\\mathrm{T}");N("\\thetasym","\\vartheta");N("\\weierp","\\wp");N("\\Zeta","\\mathrm{Z}");N("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");N("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");N("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");N("\\bra","\\mathinner{\\langle{#1}|}");N("\\ket","\\mathinner{|{#1}\\rangle}");N("\\braket","\\mathinner{\\langle{#1}\\rangle}");N("\\Bra","\\left\\langle#1\\right|");N("\\Ket","\\left|#1\\right\\rangle");var Sxe=e=>n=>{var t=n.consumeArg().tokens,a=n.consumeArg().tokens,r=n.consumeArg().tokens,o=n.consumeArg().tokens,i=n.macros.get("|"),u=n.macros.get("\\|");n.macros.beginGroup();var l=f=>v=>{e&&(v.macros.set("|",i),r.length&&v.macros.set("\\|",u));var p=f;if(!f&&r.length){var d=v.future();d.text==="|"&&(v.popToken(),p=!0)}return{tokens:p?r:a,numArgs:0}};n.macros.set("|",l(!1)),r.length&&n.macros.set("\\|",l(!0));var c=n.consumeArg().tokens,s=n.expandTokens([...o,...c,...t]);return n.macros.endGroup(),{tokens:s.reverse(),numArgs:0}};N("\\bra@ket",Sxe(!1));N("\\bra@set",Sxe(!0));N("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");N("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");N("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");N("\\angln","{\\angl n}");N("\\blue","\\textcolor{##6495ed}{#1}");N("\\orange","\\textcolor{##ffa500}{#1}");N("\\pink","\\textcolor{##ff00af}{#1}");N("\\red","\\textcolor{##df0030}{#1}");N("\\green","\\textcolor{##28ae7b}{#1}");N("\\gray","\\textcolor{gray}{#1}");N("\\purple","\\textcolor{##9d38bd}{#1}");N("\\blueA","\\textcolor{##ccfaff}{#1}");N("\\blueB","\\textcolor{##80f6ff}{#1}");N("\\blueC","\\textcolor{##63d9ea}{#1}");N("\\blueD","\\textcolor{##11accd}{#1}");N("\\blueE","\\textcolor{##0c7f99}{#1}");N("\\tealA","\\textcolor{##94fff5}{#1}");N("\\tealB","\\textcolor{##26edd5}{#1}");N("\\tealC","\\textcolor{##01d1c1}{#1}");N("\\tealD","\\textcolor{##01a995}{#1}");N("\\tealE","\\textcolor{##208170}{#1}");N("\\greenA","\\textcolor{##b6ffb0}{#1}");N("\\greenB","\\textcolor{##8af281}{#1}");N("\\greenC","\\textcolor{##74cf70}{#1}");N("\\greenD","\\textcolor{##1fab54}{#1}");N("\\greenE","\\textcolor{##0d923f}{#1}");N("\\goldA","\\textcolor{##ffd0a9}{#1}");N("\\goldB","\\textcolor{##ffbb71}{#1}");N("\\goldC","\\textcolor{##ff9c39}{#1}");N("\\goldD","\\textcolor{##e07d10}{#1}");N("\\goldE","\\textcolor{##a75a05}{#1}");N("\\redA","\\textcolor{##fca9a9}{#1}");N("\\redB","\\textcolor{##ff8482}{#1}");N("\\redC","\\textcolor{##f9685d}{#1}");N("\\redD","\\textcolor{##e84d39}{#1}");N("\\redE","\\textcolor{##bc2612}{#1}");N("\\maroonA","\\textcolor{##ffbde0}{#1}");N("\\maroonB","\\textcolor{##ff92c6}{#1}");N("\\maroonC","\\textcolor{##ed5fa6}{#1}");N("\\maroonD","\\textcolor{##ca337c}{#1}");N("\\maroonE","\\textcolor{##9e034e}{#1}");N("\\purpleA","\\textcolor{##ddd7ff}{#1}");N("\\purpleB","\\textcolor{##c6b9fc}{#1}");N("\\purpleC","\\textcolor{##aa87ff}{#1}");N("\\purpleD","\\textcolor{##7854ab}{#1}");N("\\purpleE","\\textcolor{##543b78}{#1}");N("\\mintA","\\textcolor{##f5f9e8}{#1}");N("\\mintB","\\textcolor{##edf2df}{#1}");N("\\mintC","\\textcolor{##e0e5cc}{#1}");N("\\grayA","\\textcolor{##f6f7f7}{#1}");N("\\grayB","\\textcolor{##f0f1f2}{#1}");N("\\grayC","\\textcolor{##e3e5e6}{#1}");N("\\grayD","\\textcolor{##d6d8da}{#1}");N("\\grayE","\\textcolor{##babec2}{#1}");N("\\grayF","\\textcolor{##888d93}{#1}");N("\\grayG","\\textcolor{##626569}{#1}");N("\\grayH","\\textcolor{##3b3e40}{#1}");N("\\grayI","\\textcolor{##21242c}{#1}");N("\\kaBlue","\\textcolor{##314453}{#1}");N("\\kaGreen","\\textcolor{##71B307}{#1}");var Exe={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Cxe=class{constructor(n,t,a){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(n),this.macros=new yxe(A3n,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new FV(n,this.settings)}switchMode(n){this.mode=n}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(n){this.stack.push(n)}pushTokens(n){this.stack.push(...n)}scanArgument(n){var t,a,r;if(n){if(this.consumeSpaces(),this.future().text!=="[")return null;t=this.popToken(),{tokens:r,end:a}=this.consumeArg(["]"])}else({tokens:r,start:t,end:a}=this.consumeArg());return this.pushToken(new Is("EOF",a.loc)),this.pushTokens(r),t.range(a,"")}consumeSpaces(){for(;;){var n=this.future();if(n.text===" ")this.stack.pop();else break}}consumeArg(n){var t=[],a=n&&n.length>0;a||this.consumeSpaces();var r=this.future(),o,i=0,u=0;do{if(o=this.popToken(),t.push(o),o.text==="{")++i;else if(o.text==="}"){if(--i,i===-1)throw new ln("Extra }",o)}else if(o.text==="EOF")throw new ln("Unexpected end of input in a macro argument, expected '"+(n&&a?n[u]:"}")+"'",o);if(n&&a)if((i===0||i===1&&n[u]==="{")&&o.text===n[u]){if(++u,u===n.length){t.splice(-u,u);break}}else u=0}while(i!==0||a);return r.text==="{"&&t[t.length-1].text==="}"&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:r,end:o}}consumeArgs(n,t){if(t){if(t.length!==n+1)throw new ln("The length of delimiters doesn't match the number of args!");for(var a=t[0],r=0;rthis.settings.maxExpand)throw new ln("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(n){var t=this.popToken(),a=t.text,r=t.noexpand?null:this._getExpansion(a);if(r==null||n&&r.unexpandable){if(n&&r==null&&a[0]==="\\"&&!this.isDefined(a))throw new ln("Undefined control sequence: "+a);return this.pushToken(t),!1}this.countExpansion(1);var o=r.tokens,i=this.consumeArgs(r.numArgs,r.delimiters);if(r.numArgs){o=o.slice();for(var u=o.length-1;u>=0;--u){var l=o[u];if(l.text==="#"){if(u===0)throw new ln("Incomplete placeholder at end of macro body",l);if(l=o[--u],l.text==="#")o.splice(u+1,1);else if(/^[1-9]$/.test(l.text))o.splice(u,2,...i[+l.text-1]);else throw new ln("Not a valid argument number",l)}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var n=this.stack.pop();return n.treatAsRelax&&(n.text="\\relax"),n}throw new Error}expandMacro(n){return this.macros.has(n)?this.expandTokens([new Is(n)]):void 0}expandTokens(n){var t=[],a=this.stack.length;for(this.pushTokens(n);this.stack.length>a;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&(r.noexpand=!1,r.treatAsRelax=!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(n){var t=this.expandMacro(n);return t&&t.map(a=>a.text).join("")}_getExpansion(n){var t=this.macros.get(n);if(t==null)return t;if(n.length===1){var a=this.lexer.catcodes[n];if(a!=null&&a!==13)return}var r=typeof t=="function"?t(this):t;if(typeof r=="string"){var o=0;if(r.indexOf("#")!==-1)for(var i=r.replace(/##/g,"");i.indexOf("#"+(o+1))!==-1;)++o;for(var u=new FV(r,this.settings),l=[],c=u.lex();c.text!=="EOF";)l.push(c),c=u.lex();l.reverse();var s={tokens:l,numArgs:o};return s}return r}isDefined(n){return this.macros.has(n)||kh.hasOwnProperty(n)||Vr.math.hasOwnProperty(n)||Vr.text.hasOwnProperty(n)||Exe.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:kh.hasOwnProperty(n)&&!kh[n].primitive}},Ixe=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Z8=Object.freeze({"\u208A":"+","\u208B":"-","\u208C":"=","\u208D":"(","\u208E":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1D62":"i","\u2C7C":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209A":"p","\u1D63":"r","\u209B":"s","\u209C":"t","\u1D64":"u","\u1D65":"v","\u2093":"x","\u1D66":"\u03B2","\u1D67":"\u03B3","\u1D68":"\u03C1","\u1D69":"\u03D5","\u1D6A":"\u03C7","\u207A":"+","\u207B":"-","\u207C":"=","\u207D":"(","\u207E":")","\u2070":"0","\xB9":"1","\xB2":"2","\xB3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1D2C":"A","\u1D2E":"B","\u1D30":"D","\u1D31":"E","\u1D33":"G","\u1D34":"H","\u1D35":"I","\u1D36":"J","\u1D37":"K","\u1D38":"L","\u1D39":"M","\u1D3A":"N","\u1D3C":"O","\u1D3E":"P","\u1D3F":"R","\u1D40":"T","\u1D41":"U","\u2C7D":"V","\u1D42":"W","\u1D43":"a","\u1D47":"b","\u1D9C":"c","\u1D48":"d","\u1D49":"e","\u1DA0":"f","\u1D4D":"g",\u02B0:"h","\u2071":"i",\u02B2:"j","\u1D4F":"k",\u02E1:"l","\u1D50":"m",\u207F:"n","\u1D52":"o","\u1D56":"p",\u02B3:"r",\u02E2:"s","\u1D57":"t","\u1D58":"u","\u1D5B":"v",\u02B7:"w",\u02E3:"x",\u02B8:"y","\u1DBB":"z","\u1D5D":"\u03B2","\u1D5E":"\u03B3","\u1D5F":"\u03B4","\u1D60":"\u03D5","\u1D61":"\u03C7","\u1DBF":"\u03B8"}),AV={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030C":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030A":{text:"\\r",math:"\\mathring"},"\u030B":{text:"\\H"},"\u0327":{text:"\\c"}},Txe={\u00E1:"a\u0301",\u00E0:"a\u0300",\u00E4:"a\u0308",\u01DF:"a\u0308\u0304",\u00E3:"a\u0303",\u0101:"a\u0304",\u0103:"a\u0306",\u1EAF:"a\u0306\u0301",\u1EB1:"a\u0306\u0300",\u1EB5:"a\u0306\u0303",\u01CE:"a\u030C",\u00E2:"a\u0302",\u1EA5:"a\u0302\u0301",\u1EA7:"a\u0302\u0300",\u1EAB:"a\u0302\u0303",\u0227:"a\u0307",\u01E1:"a\u0307\u0304",\u00E5:"a\u030A",\u01FB:"a\u030A\u0301",\u1E03:"b\u0307",\u0107:"c\u0301",\u1E09:"c\u0327\u0301",\u010D:"c\u030C",\u0109:"c\u0302",\u010B:"c\u0307",\u00E7:"c\u0327",\u010F:"d\u030C",\u1E0B:"d\u0307",\u1E11:"d\u0327",\u00E9:"e\u0301",\u00E8:"e\u0300",\u00EB:"e\u0308",\u1EBD:"e\u0303",\u0113:"e\u0304",\u1E17:"e\u0304\u0301",\u1E15:"e\u0304\u0300",\u0115:"e\u0306",\u1E1D:"e\u0327\u0306",\u011B:"e\u030C",\u00EA:"e\u0302",\u1EBF:"e\u0302\u0301",\u1EC1:"e\u0302\u0300",\u1EC5:"e\u0302\u0303",\u0117:"e\u0307",\u0229:"e\u0327",\u1E1F:"f\u0307",\u01F5:"g\u0301",\u1E21:"g\u0304",\u011F:"g\u0306",\u01E7:"g\u030C",\u011D:"g\u0302",\u0121:"g\u0307",\u0123:"g\u0327",\u1E27:"h\u0308",\u021F:"h\u030C",\u0125:"h\u0302",\u1E23:"h\u0307",\u1E29:"h\u0327",\u00ED:"i\u0301",\u00EC:"i\u0300",\u00EF:"i\u0308",\u1E2F:"i\u0308\u0301",\u0129:"i\u0303",\u012B:"i\u0304",\u012D:"i\u0306",\u01D0:"i\u030C",\u00EE:"i\u0302",\u01F0:"j\u030C",\u0135:"j\u0302",\u1E31:"k\u0301",\u01E9:"k\u030C",\u0137:"k\u0327",\u013A:"l\u0301",\u013E:"l\u030C",\u013C:"l\u0327",\u1E3F:"m\u0301",\u1E41:"m\u0307",\u0144:"n\u0301",\u01F9:"n\u0300",\u00F1:"n\u0303",\u0148:"n\u030C",\u1E45:"n\u0307",\u0146:"n\u0327",\u00F3:"o\u0301",\u00F2:"o\u0300",\u00F6:"o\u0308",\u022B:"o\u0308\u0304",\u00F5:"o\u0303",\u1E4D:"o\u0303\u0301",\u1E4F:"o\u0303\u0308",\u022D:"o\u0303\u0304",\u014D:"o\u0304",\u1E53:"o\u0304\u0301",\u1E51:"o\u0304\u0300",\u014F:"o\u0306",\u01D2:"o\u030C",\u00F4:"o\u0302",\u1ED1:"o\u0302\u0301",\u1ED3:"o\u0302\u0300",\u1ED7:"o\u0302\u0303",\u022F:"o\u0307",\u0231:"o\u0307\u0304",\u0151:"o\u030B",\u1E55:"p\u0301",\u1E57:"p\u0307",\u0155:"r\u0301",\u0159:"r\u030C",\u1E59:"r\u0307",\u0157:"r\u0327",\u015B:"s\u0301",\u1E65:"s\u0301\u0307",\u0161:"s\u030C",\u1E67:"s\u030C\u0307",\u015D:"s\u0302",\u1E61:"s\u0307",\u015F:"s\u0327",\u1E97:"t\u0308",\u0165:"t\u030C",\u1E6B:"t\u0307",\u0163:"t\u0327",\u00FA:"u\u0301",\u00F9:"u\u0300",\u00FC:"u\u0308",\u01D8:"u\u0308\u0301",\u01DC:"u\u0308\u0300",\u01D6:"u\u0308\u0304",\u01DA:"u\u0308\u030C",\u0169:"u\u0303",\u1E79:"u\u0303\u0301",\u016B:"u\u0304",\u1E7B:"u\u0304\u0308",\u016D:"u\u0306",\u01D4:"u\u030C",\u00FB:"u\u0302",\u016F:"u\u030A",\u0171:"u\u030B",\u1E7D:"v\u0303",\u1E83:"w\u0301",\u1E81:"w\u0300",\u1E85:"w\u0308",\u0175:"w\u0302",\u1E87:"w\u0307",\u1E98:"w\u030A",\u1E8D:"x\u0308",\u1E8B:"x\u0307",\u00FD:"y\u0301",\u1EF3:"y\u0300",\u00FF:"y\u0308",\u1EF9:"y\u0303",\u0233:"y\u0304",\u0177:"y\u0302",\u1E8F:"y\u0307",\u1E99:"y\u030A",\u017A:"z\u0301",\u017E:"z\u030C",\u1E91:"z\u0302",\u017C:"z\u0307",\u00C1:"A\u0301",\u00C0:"A\u0300",\u00C4:"A\u0308",\u01DE:"A\u0308\u0304",\u00C3:"A\u0303",\u0100:"A\u0304",\u0102:"A\u0306",\u1EAE:"A\u0306\u0301",\u1EB0:"A\u0306\u0300",\u1EB4:"A\u0306\u0303",\u01CD:"A\u030C",\u00C2:"A\u0302",\u1EA4:"A\u0302\u0301",\u1EA6:"A\u0302\u0300",\u1EAA:"A\u0302\u0303",\u0226:"A\u0307",\u01E0:"A\u0307\u0304",\u00C5:"A\u030A",\u01FA:"A\u030A\u0301",\u1E02:"B\u0307",\u0106:"C\u0301",\u1E08:"C\u0327\u0301",\u010C:"C\u030C",\u0108:"C\u0302",\u010A:"C\u0307",\u00C7:"C\u0327",\u010E:"D\u030C",\u1E0A:"D\u0307",\u1E10:"D\u0327",\u00C9:"E\u0301",\u00C8:"E\u0300",\u00CB:"E\u0308",\u1EBC:"E\u0303",\u0112:"E\u0304",\u1E16:"E\u0304\u0301",\u1E14:"E\u0304\u0300",\u0114:"E\u0306",\u1E1C:"E\u0327\u0306",\u011A:"E\u030C",\u00CA:"E\u0302",\u1EBE:"E\u0302\u0301",\u1EC0:"E\u0302\u0300",\u1EC4:"E\u0302\u0303",\u0116:"E\u0307",\u0228:"E\u0327",\u1E1E:"F\u0307",\u01F4:"G\u0301",\u1E20:"G\u0304",\u011E:"G\u0306",\u01E6:"G\u030C",\u011C:"G\u0302",\u0120:"G\u0307",\u0122:"G\u0327",\u1E26:"H\u0308",\u021E:"H\u030C",\u0124:"H\u0302",\u1E22:"H\u0307",\u1E28:"H\u0327",\u00CD:"I\u0301",\u00CC:"I\u0300",\u00CF:"I\u0308",\u1E2E:"I\u0308\u0301",\u0128:"I\u0303",\u012A:"I\u0304",\u012C:"I\u0306",\u01CF:"I\u030C",\u00CE:"I\u0302",\u0130:"I\u0307",\u0134:"J\u0302",\u1E30:"K\u0301",\u01E8:"K\u030C",\u0136:"K\u0327",\u0139:"L\u0301",\u013D:"L\u030C",\u013B:"L\u0327",\u1E3E:"M\u0301",\u1E40:"M\u0307",\u0143:"N\u0301",\u01F8:"N\u0300",\u00D1:"N\u0303",\u0147:"N\u030C",\u1E44:"N\u0307",\u0145:"N\u0327",\u00D3:"O\u0301",\u00D2:"O\u0300",\u00D6:"O\u0308",\u022A:"O\u0308\u0304",\u00D5:"O\u0303",\u1E4C:"O\u0303\u0301",\u1E4E:"O\u0303\u0308",\u022C:"O\u0303\u0304",\u014C:"O\u0304",\u1E52:"O\u0304\u0301",\u1E50:"O\u0304\u0300",\u014E:"O\u0306",\u01D1:"O\u030C",\u00D4:"O\u0302",\u1ED0:"O\u0302\u0301",\u1ED2:"O\u0302\u0300",\u1ED6:"O\u0302\u0303",\u022E:"O\u0307",\u0230:"O\u0307\u0304",\u0150:"O\u030B",\u1E54:"P\u0301",\u1E56:"P\u0307",\u0154:"R\u0301",\u0158:"R\u030C",\u1E58:"R\u0307",\u0156:"R\u0327",\u015A:"S\u0301",\u1E64:"S\u0301\u0307",\u0160:"S\u030C",\u1E66:"S\u030C\u0307",\u015C:"S\u0302",\u1E60:"S\u0307",\u015E:"S\u0327",\u0164:"T\u030C",\u1E6A:"T\u0307",\u0162:"T\u0327",\u00DA:"U\u0301",\u00D9:"U\u0300",\u00DC:"U\u0308",\u01D7:"U\u0308\u0301",\u01DB:"U\u0308\u0300",\u01D5:"U\u0308\u0304",\u01D9:"U\u0308\u030C",\u0168:"U\u0303",\u1E78:"U\u0303\u0301",\u016A:"U\u0304",\u1E7A:"U\u0304\u0308",\u016C:"U\u0306",\u01D3:"U\u030C",\u00DB:"U\u0302",\u016E:"U\u030A",\u0170:"U\u030B",\u1E7C:"V\u0303",\u1E82:"W\u0301",\u1E80:"W\u0300",\u1E84:"W\u0308",\u0174:"W\u0302",\u1E86:"W\u0307",\u1E8C:"X\u0308",\u1E8A:"X\u0307",\u00DD:"Y\u0301",\u1EF2:"Y\u0300",\u0178:"Y\u0308",\u1EF8:"Y\u0303",\u0232:"Y\u0304",\u0176:"Y\u0302",\u1E8E:"Y\u0307",\u0179:"Z\u0301",\u017D:"Z\u030C",\u1E90:"Z\u0302",\u017B:"Z\u0307",\u03AC:"\u03B1\u0301",\u1F70:"\u03B1\u0300",\u1FB1:"\u03B1\u0304",\u1FB0:"\u03B1\u0306",\u03AD:"\u03B5\u0301",\u1F72:"\u03B5\u0300",\u03AE:"\u03B7\u0301",\u1F74:"\u03B7\u0300",\u03AF:"\u03B9\u0301",\u1F76:"\u03B9\u0300",\u03CA:"\u03B9\u0308",\u0390:"\u03B9\u0308\u0301",\u1FD2:"\u03B9\u0308\u0300",\u1FD1:"\u03B9\u0304",\u1FD0:"\u03B9\u0306",\u03CC:"\u03BF\u0301",\u1F78:"\u03BF\u0300",\u03CD:"\u03C5\u0301",\u1F7A:"\u03C5\u0300",\u03CB:"\u03C5\u0308",\u03B0:"\u03C5\u0308\u0301",\u1FE2:"\u03C5\u0308\u0300",\u1FE1:"\u03C5\u0304",\u1FE0:"\u03C5\u0306",\u03CE:"\u03C9\u0301",\u1F7C:"\u03C9\u0300",\u038E:"\u03A5\u0301",\u1FEA:"\u03A5\u0300",\u03AB:"\u03A5\u0308",\u1FE9:"\u03A5\u0304",\u1FE8:"\u03A5\u0306",\u038F:"\u03A9\u0301",\u1FFA:"\u03A9\u0300"},RM=class{constructor(n,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Cxe(n,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(n,t){if(t===void 0&&(t=!0),this.fetch().text!==n)throw new ln("Expected '"+n+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(n){this.mode=n,this.gullet.switchMode(n)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var n=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),n}finally{this.gullet.endGroups()}}subparse(n){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Is("}")),this.gullet.pushTokens(n);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,a}parseExpression(n,t){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var r=this.fetch();if(RM.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&kh[r.text]&&kh[r.text].infix)break;var o=this.parseAtom(t);if(o){if(o.type==="internal")continue}else break;a.push(o)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(n){for(var t=-1,a,r=0;r=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',n);var u=Vr[this.mode][t].group,l=Mc.range(n),c;if(w4n.hasOwnProperty(u)){var s=u;c={type:"atom",mode:this.mode,family:s,loc:l,text:t}}else c={type:u,mode:this.mode,loc:l,text:t};i=c}else if(t.charCodeAt(0)>=128)this.settings.strict&&(tAe(t.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',n):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'"'+(" ("+t.charCodeAt(0)+")"),n)),i={type:"textord",mode:"text",loc:Mc.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f":""))+")"})}return v;function v(){let p=Axe,d,y,h;if((!n||o(l,c,s[s.length-1]||void 0))&&(p=J3n(t(l,s)),p[0]===NV))return p;if("children"in l&&l.children){let g=l;if(g.children&&p[0]!==nL)for(y=(a?g.children.length:-1)+i,h=s.concat(g);y>-1&&y0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var nAn={tokenize:lAn,partial:!0};function BV(){return{document:{[91]:{tokenize:oAn,continuation:{tokenize:iAn},exit:uAn}},text:{[91]:{tokenize:rAn},[93]:{add:"after",tokenize:tAn,resolveTo:aAn}}}}function tAn(e,n,t){let a=this,r=a.events.length,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),i;for(;r--;){let l=a.events[r][1];if(l.type==="labelImage"){i=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return u;function u(l){if(!i||!i._balanced)return t(l);let c=pl(a.sliceSerialize({start:i.end,end:a.now()}));return c.charCodeAt(0)!==94||!o.includes(c.slice(1))?t(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),n(l))}}function aAn(e,n){let t=e.length,a;for(;t--;)if(e[t][1].type==="labelImage"&&e[t][0]==="enter"){a=e[t][1];break}e[t+1][1].type="data",e[t+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[t+3][1].start),end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",start:Object.assign({},e[t+3][1].end),end:Object.assign({},e[t+3][1].end)};o.end.column++,o.end.offset++,o.end._bufferIndex++;let i={type:"gfmFootnoteCallString",start:Object.assign({},o.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},l=[e[t+1],e[t+2],["enter",r,n],e[t+3],e[t+4],["enter",o,n],["exit",o,n],["enter",i,n],["enter",u,n],["exit",u,n],["exit",i,n],e[e.length-2],e[e.length-1],["exit",r,n]];return e.splice(t,e.length-t+1,...l),e}function rAn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o=0,i;return u;function u(v){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(v),e.exit("gfmFootnoteCallLabelMarker"),l}function l(v){return v!==94?t(v):(e.enter("gfmFootnoteCallMarker"),e.consume(v),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(v){let p;return v===null||v===91||o++>999?t(v):v===93?i?(e.exit("chunkString"),p=e.exit("gfmFootnoteCallString"),r.includes(pl(a.sliceSerialize(p)))?f(v):t(v)):t(v):(e.consume(v),ir(v)||(i=!0),v===92?s:c)}function s(v){return v===91||v===92||v===93?(e.consume(v),o++,c):c(v)}function f(v){return e.enter("gfmFootnoteCallLabelMarker"),e.consume(v),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),n}}function oAn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(y){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(y){return y===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):t(y)}function s(y){let h;return y===null||y===91||i>999?t(y):y===93?u?(h=e.exit("gfmFootnoteDefinitionLabelString"),o=pl(a.sliceSerialize(h)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(y),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p):t(y):Un(y)?(e.enter("lineEnding"),e.consume(y),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(y))}function f(y){return y===null||Un(y)||y===91||y===93||i>999?(e.exit("chunkString"),s(y)):(ir(y)||(u=!0),i++,e.consume(y),y===92?v:f)}function v(y){return y===91||y===92||y===93?(e.consume(y),i++,f):f(y)}function p(y){return y===58?(e.enter("definitionMarker"),e.consume(y),e.exit("definitionMarker"),jt(e,d,"gfmFootnoteDefinitionWhitespace")):t(y)}function d(y){return r.includes(o)||r.push(o),n(y)}}function iAn(e,n,t){return e.check(fp,n,e.attempt(nAn,n,t))}function uAn(e){e.exit("gfmFootnoteDefinition")}function lAn(e,n,t){let a=this;return jt(e,r,"gfmFootnoteDefinitionIndent",4+1);function r(o){let i=a.events[a.events.length-1];return i&&i[1].type==="gfmFootnoteDefinitionIndent"&&i[2].sliceSerialize(i[1],!0).length===4?n(o):t(o)}}function JV(e={}){let n=e.singleTilde,t={tokenize:r,resolveAll:a};return n==null&&(n=!0),{text:{[126]:t},insideSpan:{null:[t]},attentionMarkers:{null:[126]}};function a(o,i){let u=-1;for(;++u1?u(p):(o.consume(p),s++,v);if(s<2&&!n)return u(p);let y=o.exit("strikethroughSequenceTemporary"),h=Jw(p);return y._open=!h||h===2&&Boolean(d),y._close=!d||d===2&&Boolean(h),i(p)}}}var qV={flow:{null:{tokenize:sAn,resolve:cAn}}},Jxe={tokenize:fAn,partial:!0};function cAn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t=4?on(z):(a._gfmTableDynamicInterruptHack=!0,ue.check(a.parser.constructs.flow,function(Y){return a._gfmTableDynamicInterruptHack=!1,on(Y)},function(Y){return a._gfmTableDynamicInterruptHack=!1,Tn(Y)})(z))}}}function fAn(e,n,t){let a=0;return r;function r(i){return e.enter("check"),e.consume(i),o}function o(i){return i===-1||i===32?(e.consume(i),a++,a===4?n:o):i===null||ir(i)?n(i):t(i)}}var vAn={tokenize:pAn},WV={text:{[91]:vAn}};function pAn(e,n,t){let a=this;return r;function r(u){return a.previous!==null||!a._gfmTasklistFirstContentOfListItem?t(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),o)}function o(u){return ir(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),i):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),i):t(u)}function i(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),e.check({tokenize:mAn},n,t)):t(u)}}function mAn(e,n,t){let a=this;return jt(e,r,"whitespace");function r(o){let i=a.events[a.events.length-1];return(i&&i[1].type==="whitespace"||Un(o))&&o!==null?n(o):t(o)}}function qxe(e){return k6([OV,BV(),JV(e),qV,WV])}function $V(e,n){let t=String(e);if(typeof n!="string")throw new TypeError("Expected character");let a=0,r=t.indexOf(n);for(;r!==-1;)a++,r=t.indexOf(n,r+n.length);return a}function zV(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var dAn={}.hasOwnProperty,VV=function(e,n,t,a){let r,o;typeof n=="string"||n instanceof RegExp?(o=[[n,t]],r=a):(o=n,r=t),r||(r={});let i=fM(r.ignore||[]),u=_An(o),l=-1;for(;++l0?{type:"text",value:k}:void 0),k!==!1&&(h!==P&&M.push({type:"text",value:f.value.slice(h,P)}),Array.isArray(k)?M.push(...k):k&&M.push(k),h=P+O[0].length,S=!0),!d.global)break;O=d.exec(f.value)}return S?(he}var QV="phrasing",YV=["autolink","link","image","label"],XV={transforms:[RAn],enter:{literalAutolink:hAn,literalAutolinkEmail:KV,literalAutolinkHttp:KV,literalAutolinkWww:KV},exit:{literalAutolink:bAn,literalAutolinkEmail:yAn,literalAutolinkHttp:gAn,literalAutolinkWww:DAn}},ZV={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:QV,notInConstruct:YV},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:QV,notInConstruct:YV},{character:":",before:"[ps]",after:"\\/",inConstruct:QV,notInConstruct:YV}]};function hAn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function KV(e){this.config.enter.autolinkProtocol.call(this,e)}function gAn(e){this.config.exit.autolinkProtocol.call(this,e)}function DAn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function yAn(e){this.config.exit.autolinkEmail.call(this,e)}function bAn(e){this.exit(e)}function RAn(e){VV(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,wAn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,SAn]],{ignore:["link","linkReference"]})}function wAn(e,n,t,a,r){let o="";if(!zxe(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!EAn(t)))return!1;let i=CAn(t+a);if(!i[0])return!1;let u={type:"link",title:null,url:o+n+i[0],children:[{type:"text",value:n+i[0]}]};return i[1]?[u,{type:"text",value:i[1]}]:u}function SAn(e,n,t,a){return!zxe(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function EAn(e){let n=e.split(".");return!(n.length<2||n[n.length-1]&&(/_/.test(n[n.length-1])||!/[a-zA-Z\d]/.test(n[n.length-1]))||n[n.length-2]&&(/_/.test(n[n.length-2])||!/[a-zA-Z\d]/.test(n[n.length-2])))}function CAn(e){let n=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!n)return[e,void 0];e=e.slice(0,n.index);let t=n[0],a=t.indexOf(")"),r=$V(e,"("),o=$V(e,")");for(;a!==-1&&r>o;)e+=t.slice(0,a+1),t=t.slice(a+1),a=t.indexOf(")"),o++;return[e,t]}function zxe(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||Ty(t)||Fy(t))&&(!n||t!==47)}function eQ(e){return e.label||!e.identifier?e.label||"":Y6(e.identifier)}function Vxe(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u `}return` `}var TAn=/\r?\n|\r/g;function Qxe(e,n){let t=[],a=0,r=0,o;for(;o=TAn.exec(e);)i(e.slice(a,o.index)),t.push(o[0]),a=o.index+o[0].length,r++;return i(e.slice(a)),t.join("");function i(u){t.push(n(u,r,!u))}}function aL(e){if(!e._compiled){let n=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((n?"("+n+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function Yxe(e,n){return Xxe(e,n.inConstruct,!0)&&!Xxe(e,n.notInConstruct,!1)}function Xxe(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let a=-1;for(;++a=c||s+10?" ":"")),r.shift(4),o+=r.move(Qxe(Vxe(e,t,r.current()),UAn)),i(),o}function UAn(e,n,t){return n===0?e:(t?"":" ")+e}function rL(e,n,t){let a=n.indexStack,r=e.children||[],o=[],i=-1,u=t.before;a.push(-1);let l=n.createTracker(t);for(;++i0&&(u==="\r"||u===` `)&&c.type==="html"&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),u=" ",l=n.createTracker(t),l.move(o.join(""))),o.push(l.move(n.handle(c,e,n,mi(Ha({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var HAn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];e7e.peek=qAn;var rQ={canContainEols:["delete"],enter:{strikethrough:BAn},exit:{strikethrough:JAn}},oQ={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:HAn}],handlers:{delete:e7e}};function BAn(e){this.enter({type:"delete",children:[]},e)}function JAn(e){this.exit(e)}function e7e(e,n,t,a){let r=ky(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=rL(e,t,mi(Ha({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function qAn(){return"~"}iQ.peek=WAn;function iQ(e,n,t){let a=e.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(a);)r+="`";for(/[^ \r\n]/.test(a)&&(/^[ \r\n]/.test(a)&&/[ \r\n]$/.test(a)||/^`|`$/.test(a))&&(a=" "+a+" ");++ol&&(l=e[c].length);++hu[h])&&(u[h]=S)}d.push(g)}o[c]=d,i[c]=y}let s=-1;if(typeof t=="object"&&"length"in t)for(;++su[s]&&(u[s]=g),v[s]=g),f[s]=S}o.splice(1,0,f),i.splice(1,0,v),c=-1;let p=[];for(;++ct==="none"?null:t),children:[]},e),this.setData("inTable",!0)}function QAn(e){this.exit(e),this.setData("inTable")}function YAn(e){this.enter({type:"tableRow",children:[]},e)}function lQ(e){this.exit(e)}function a7e(e){this.enter({type:"tableCell",children:[]},e)}function XAn(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,ZAn));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function ZAn(e,n){return n==="|"?n:e}function cQ(e){let n=e||{},t=n.tableCellPadding,a=n.tablePipeAlign,r=n.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{table:i,tableRow:u,tableCell:l,inlineCode:v}};function i(p,d,y,h){return c(s(p,y,h),p.align)}function u(p,d,y,h){let g=f(p,y,h),S=c([g]);return S.slice(0,S.indexOf(` `))}function l(p,d,y,h){let g=y.enter("tableCell"),S=y.enter("phrasing"),M=rL(p,y,mi(Ha({},h),{before:o,after:o}));return S(),g(),M}function c(p,d){return n7e(p,{align:d,alignDelimiters:a,padding:t,stringLength:r})}function s(p,d,y){let h=p.children,g=-1,S=[],M=d.enter("table");for(;++g-1?n.start:1)+(t.options.incrementListMarker===!1?0:n.children.indexOf(e))+o);let i=o.length+1;(r==="tab"||r==="mixed"&&(n&&n.type==="list"&&n.spread||e.spread))&&(i=Math.ceil(i/4)*4);let u=t.createTracker(a);u.move(o+" ".repeat(i-o.length)),u.shift(i);let l=t.enter("listItem"),c=t.indentLines(t.containerFlow(e,u.current()),s);return l(),c;function s(f,v,p){return v?(p?"":" ".repeat(i))+f:(p?o:o+" ".repeat(i-o.length))+f}}var sQ={exit:{taskListCheckValueChecked:u7e,taskListCheckValueUnchecked:u7e,paragraph:KAn}},fQ={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:exn}};function u7e(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function KAn(e){let n=this.stack[this.stack.length-2];if(n&&n.type==="listItem"&&typeof n.checked=="boolean"){let t=this.stack[this.stack.length-1],a=t.children[0];if(a&&a.type==="text"){let r=n.children,o=-1,i;for(;++oi&&(i=o):o=1,r=a+n.length,a=t.indexOf(n,r);return i}function mQ(){return{enter:{mathFlow:e,mathFlowFenceMeta:n,mathText:o},exit:{mathFlow:r,mathFlowFence:a,mathFlowFenceMeta:t,mathFlowValue:u,mathText:i,mathTextData:u}};function e(l){let c={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[c]}},l)}function n(){this.buffer()}function t(){let l=this.resume(),c=this.stack[this.stack.length-1];tS(c.type==="math"),c.meta=l}function a(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function r(l){let c=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),s=this.stack[this.stack.length-1];tS(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];tS(f.type==="element"),tS(f.tagName==="code"),f.children.push({type:"text",value:c}),this.data.mathFlowInside=void 0}function o(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function i(l){let c=this.resume(),s=this.stack[this.stack.length-1];tS(s.type==="inlineMath"),this.exit(l),s.value=c,s.data.hChildren.push({type:"text",value:c})}function u(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function dQ(e){let n=(e||{}).singleDollarTextMath;return n==null&&(n=!0),a.peek=r,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:` `,inConstruct:"mathFlowMeta"},{character:"$",after:n?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:t,inlineMath:a}};function t(o,i,u,l){let c=o.value||"",s=u.createTracker(l),f="$".repeat(Math.max(l7e(c,"$")+1,2)),v=u.enter("mathFlow"),p=s.move(f);if(o.meta){let d=u.enter("mathFlowMeta");p+=s.move(u.safe(o.meta,Ha({after:` `,before:p,encode:["$"]},s.current()))),d()}return p+=s.move(` `),c&&(p+=s.move(c+` `)),p+=s.move(f),v(),p}function a(o,i,u){let l=o.value||"",c=1;for(n||c++;new RegExp("(^|[^$])"+"\\$".repeat(c)+"([^$]|$)").test(l);)c++;let s="$".repeat(c);/[^ \r\n]/.test(l)&&(/^[ \r\n]/.test(l)&&/[ \r\n]$/.test(l)||/^\$|\$$/.test(l))&&(l=" "+l+" ");let f=-1;for(;++f-1&&e.test(String.fromCharCode(t))}}function wM(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return _Q(l)?(e.enter(t),u(l)):n(l)}function u(l){return _Q(l)&&o++bt.createElement("table",{className:"table table-bordered table-sm",children:e.children}),p7e=[iL,{singleDollarTextMath:!1}],m7e=[tL,{throwOnError:!1}];var d7e=e=>{try{return b8(e)}catch{return e.fallback}};Jt();var _7e=class extends bt.Component{constructor(n){super(n);this.state={error:null}}static getDerivedStateFromError(n){return{error:n}}componentDidCatch(n,t){this.props.componentDidCatch(n,t)}render(){return this.props.render(this.state)}},h7e=_7e;var ixn=lc(),uxn=q(ta);var lxn=function(){return function(){return ixn(h7e)}},cxn=lxn()(),g7e=function(e){return cxn({render:function(n){return e({hasError:Dt(te(n.error))})},componentDidCatch:function(n,t){return so(Co)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return uxn(Re)})()}})};var sxn=lc(),fxn=qe(da),vxn=function(e){return function(n){var t=Z1(e);return g7e(function(a){return a.hasError?t:sxn(d7e)({children:e,rehypePlugins:fxn([m7e])(n),remarkPlugins:[oL,p7e],components:{table:v7e},fallback:t})})}},D7e=function(e){return vxn(e)([])};var pxn=ve(Pt(sa)),gQ=J(ae),mxn=J(W),dxn=jn(ae)()(),_xn=xn(pt),hxn=rn(ae),DQ=function(e){return Eo(hx(e.key)("false"))(function(n){return function(t){return sn(pxn(n)(new _("false")))(gQ("alert rounded-0 bg-light")(mxn("row")([gQ("col")(e.label),gQ("col-auto")(dxn("btn btn-sm p-0")(Dr("Dismiss banner"))({onClick:_xn(t)("true")})(hxn("fe fe-x")(cn)))])))}})};var uL=J(ae),y7e=Fa(lr(Qt)),gxn=aa(Ae)(ft),lL=rn(L),Dxn=KG(L),yxn=rp(),b7e=ve(Pt(C$)),bxn=jn(ae)()(),Rxn=pa(Sr),wxn=q(ta),cL=J(W),Sxn=j(me),Exn=kf(),Cxn=Si(ae)()(),Ixn=la(L)()(),R7e=bv(),Txn=Xn(W)()(),Fxn=ee(me),Mxn=Xn(L)()(),yQ=function(e){var n=e.chatMessage(ae),t=e.chatMessage(W),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=uL("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(y7e(yi)(e.bannedReason))return c(X(gxn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",EU," for more information."])));if(s instanceof E)return cn;if(s instanceof _)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 174, column 26 - line 183, column 24): "+[s.constructor.name])}}(),o=a(uL("my-auto")(M6)),i=function(c){return a(uL("my-auto")(function(){if(c instanceof E)return lL("text-danger")("Something went wrong. Try resending your message.");if(c instanceof _&&FGe(c.value0))return Dxn("text-secondary")(G$(c.value0)+" Try resending your message.");if(c instanceof _)return lL("text-danger")(G$(c.value0)+" Try resending your message.");throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 190, column 11 - line 199, column 79): "+[c.constructor.name])}()))},u=yxn({source:function(){return e.user instanceof _&&e.user.value0.avatarUrl instanceof _?new ku({url:e.user.value0.avatarUrl.value0}):e.user instanceof _&&e.user.value0.initials instanceof _?new ry({initials:e.user.value0.initials.value0,backgroundColorClass:E.value,textColorClass:E.value}):new ku({url:R_("/img/smiley-grey.svg")})}(),size:cw.value}),l=function(c){var s=function(p){return function(d){return p instanceof If&&b7e(d)(new _(p))||p instanceof Es&&b7e(d)(new _(p))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(p){return function(d){return function(y){return function(h){return bxn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(p)(d))(Dr(function(){if(p instanceof If)return"Helpful";if(p instanceof Es)return"Not helpful";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 27 - line 144, column 44): "+[p.constructor.name])}()))({onClick:Rxn(function(){if(c.id instanceof E)return wxn(Re);if(c.id instanceof _&&p instanceof If&&d instanceof _&&d.value0 instanceof If)return function(){return y(E.value)(),h({messageId:c.id.value0,reaction:E.value})()};if(c.id instanceof _&&p instanceof Es&&d instanceof _&&d.value0 instanceof Es)return function(){return y(E.value)(),h({messageId:c.id.value0,reaction:E.value})()};if(c.id instanceof _&&p instanceof If)return function(){return y(new _(If.value))(),h({messageId:c.id.value0,reaction:new _(If.value)})()};if(c.id instanceof _&&p instanceof Es)return function(){return y(new _(Es.value))(),h({messageId:c.id.value0,reaction:new _(Es.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 147, column 17 - line 161, column 76): "+[c.id.constructor.name,p.constructor.name,d.constructor.name])}())})(lL("material-symbol")(function(){if(p instanceof If)return"thumb_up";if(p instanceof Es)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 164, column 15 - line 166, column 43): "+[p.constructor.name])}()))}}}};if(c.sender instanceof Cy)return n(u)(cL("t--ai-chatbot-user-message")(Np(e4(""))(Sxn(lL(""))(Di(Exn(` `))(c.body)))));if(c.sender instanceof tM){var v=Cxn({placement:_ge,overlay:X(GEe(c))})(e.chatbotAvatar);return t(v)([uL("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+be("")(c.id)))(D7e(c.body)),We(e.onReaction)(function(p){return Eo(ra(E.value))(function(d){return function(y){return cL("d-flex mt-3")([f(If.value)(d)(y)(p),f(Es.value)(d)(y)(p)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 112, column 7 - line 136, column 36): "+[c.sender.constructor.name])};return cL("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([sn(e.showAddStudentProfileBanner)(DQ({key:"ai-no-profile-banner-dismissed",label:le([X("For more personalized responses "),Ixn("")(Ue)({href:e.chancingWizardPath})("add a student profile"),X(".")])})),sn(e.showLogInBanner)(DQ({key:"ai-anonymous-banner-dismissed",label:le([X("For more personalized responses "),R7e({text:"log in",className:"btn btn-link p-0 align-baseline"}),X(" or "),R7e({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:yv}),X(".")])})),Txn("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([cL("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof _&&y7e(hi)(e.chatbotState.value0.messages)?le(Fxn(e.chatbotState.value0.messages)(l)):cn}(),function(){if(e.messageSendingState instanceof rd)return o;if(e.messageSendingState instanceof Cs)return l(k$(e.messageSendingState.value0));if(e.messageSendingState instanceof ad)return cn;if(e.messageSendingState instanceof qv)return cn;if(e.messageSendingState instanceof sp)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 93, column 9 - line 104, column 45): "+[e.messageSendingState.constructor.name])}()]),ga(e.footer),Mxn("")({id:"chat-anchor",style:mn({overflowAnchor:"auto",height:"1px"})})("")])])};function sL(e){return function(){document.getElementById(e).scrollIntoView()}}var bQ=function(e){return ke(qv.value)(function(n){return n.sendingState})(e)};var Uxn=j(B),Hxn=S$(),Bxn=Fa(lr(Qt)),Jxn=J(W),RQ=J(ae),qxn=Xn(W)()(),fL=q(_t),Wxn=Z(qt),w7e=Ni(Yt),$xn=qa(w7e),S7e=Fr(w7e),E7e=Hn(An)(qt),zxn=Qr(_t),Vxn=qr(Zn),Qxn=q(Xt),Yxn=Z(Ut),C7e=Bn(Zn),Xxn=j(Yt),SM=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),I7e=function(){function e(n,t,a){this.value0=n,this.value1=t,this.value2=a}return e.create=function(n){return function(t){return function(a){return new e(n,t,a)}}},e}(),vL=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Zxn=function(e){return function(n){return function(t){return yQ({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:E.value,messageSendingState:bQ(n.chatbot),onReaction:E.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:Uxn(X)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},Kxn=function(e){return function(n){return function(t){return Hxn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=Bxn(yi)(e.bannedReason);if(a)return Ey.value;var r=bQ(n.chatbot);if(r instanceof qv)return Ch.value;if(r instanceof ad)return Ih.value;if(r instanceof rd)return Ih.value;if(r instanceof Cs)return Ih.value;var o=function(i){if(r instanceof sp&&Fe)return Ey.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 149, column 1 - line 149, column 72): "+[r.constructor.name])};return r instanceof sp&&r.value0 instanceof E?Ch.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(vL.create(a))})}}},e7n=function(e){return function(n){return function(t){var a=function(){return n.authorChatMessage.messageHeight instanceof _&&n.authorChatMessage.messageHeight.value0>40?"rounded-lg":"rounded-pill"}(),r=function(o){var i=J(o);return function(u){return function(l){return Jxn("d-flex justify-content-end mb-4")([RQ("d-flex align-self-start bg-white rounded-pill shadow pointer-events-auto mx-3 mt-1")(u),i("d-flex border border-gray-500 bg-white rounded-lg p-3 shadow pointer-events-auto")(l)])}}};return qxn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:mn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([Zxn(e)(n)(function(o){return r(o)}),RQ("pb-3 px-3 border-0")(RQ("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(Kxn(e)(n)(t)))])}}},n7n=function(e){return function(n){return function(t){var a=function(r){if(t instanceof SM)return fL(n);if(t instanceof I7e)return Wxn($xn(SM.create)(H$({initialMessageBody:new _(t.value1),messages:[{sender:Cy.value,body:t.value1,sentAt:t.value0,id:E.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return fL({authorChatMessage:n.authorChatMessage,chatbot:new _(o)})});if(t instanceof vL&&t.value0 instanceof et)return S7e(vL.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(w$(n.authorChatMessage)(t.value0));if(t instanceof vL&&t.value0 instanceof $t)return E7e(zxn(yi(e.bannedReason))(Vxn(function(){if(n.chatbot instanceof _)return Qxn(new SM(new P6(t.value0.value0.value0)));if(n.chatbot instanceof E)return Yxn(C7e(a_))(function(o){return Xxn(I7e.create(o)(t.value0.value0.value0))(e.createConversation(Re))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 94, column 9 - line 99, column 79): "+[n.chatbot.constructor.name])}())))(function(){return fL({chatbot:n.chatbot,authorChatMessage:A6})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 58, column 1 - line 58, column 64): "+[t.constructor.name])};return t instanceof SM&&n.chatbot instanceof _?E7e(cr(C7e(sL("chat-anchor"))))(function(){return S7e(SM.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new _(r)}})(U$(n.chatbot.value0)(t.value0))}):a(!0)}}},t7n=function(){return{authorChatMessage:A6,chatbot:E.value}}(),T7e=function(e){return zu("FloatingChatbot"+e)(function(n){return{init:fL(t7n),view:e7n(n),update:n7n(n)}})};var wQ=Z(Ge),a7n=q(Jn),F7e=ee(B),r7n=Hn(An),o7n=Qr(ta),i7n=Bn(Hs),u7n=Fi(B),M7e=ct(Ge),l7n=J(W),G7e=J(ae),SQ=an(),pL=q(_t),A7e=Ni(Yt),EQ=Fr(A7e),c7n=r7n(qt),s7n=qr(Zn),f7n=q(Xt),x7e=Z(qt),CQ=qa(A7e),v7n=Uf(_t)(Ae),p7n=ve(Pt(Wc)),IQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),mL=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aS=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hh=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),FQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dL=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),L7e=function(e){return function(n){return function(t){return function(a){var r=wQ(n.recommendedSchools)(function(g){return a7n(E6({recommendedSchools:g,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new $t(new MQ(pU.value))),i=a(new $t(new Hh(new M_(va(e.school))))),u=function(g){return a(new $t(new Hh(new C_(va(e.school),g))))},l=function(){a(new $t(new Hh(new T_(va(e.school)))))();var S=F7e(wQ(Fo(e.schoolDb.schoolConnections))(nf(va(e.school))))(function(M){return M.schoolUsesAiRecruiter});return o7n(be(!1)(S))(i7n(tA(_Ge(va(e.school)))))(),Re},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(g){return a($t.create(dL.create(g)))},onViewSchool:e.onViewSchool,onEdit:e.onEdit,featureFlags:n.featureFlags,recommendedSchools:n.recommendedSchools,onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,vineBelowConnectionLimit:n.vineBelowConnectionLimit,showConnectButton:n.showNetworkCard},s=function(){return n.showNetworkCard?u7n(n.currentUser)(S6(c)({user:M7e(gD)(n.currentUser),featureFlags:n.featureFlags})):E.value}(),f=function(g){var S=M7e(Zu(n.configuration))(AF([s,r]));return l7n("row")([G7e("col"+function(){var M=Dt(S);return M?" col-md-8":""}())(g),We(S)(G7e("col col-md-4 d-none d-md-block"))])},v=function(){var g=nA({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return g?e.activeTab:li.value}(),p=jMe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(g){return a($t.create(dL.create(g)))},onListStatusChange:function(g){return a($t.create(TQ.create(g)))},onSelectSchool:function(g){return a($t.create(FQ.create(g)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),d=F7e(wQ(n.currentUser)(gD))(function(g){return{avatarUrl:g.avatarUrl,initials:g.initials}}),y="Hi! I'm Sage. Ask me anything about "+xCe(SQ(e.school).name),h=function(){if(v instanceof li)return iGe(c)(n)(t.overview)(function(S){return a(et.create(aS.create(S)))});if(v instanceof nl)return We(tD(va(e.school))(e.schoolDb))(function(S){return f(bMe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:Dt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:ke(!1)(function(M){return M.isHq})(n.currentUser)})(t.forYou)(function(M){return a(et.create(mL.create(M)))}))});if(v instanceof tl){var g=Fo(eb(va(e.school))(e.schoolDb));return f(oFe(e.school)(n)(g)(t.finances)(function(S){return a(et.create(IQ.create(S)))}))}if(v instanceof lu)return jTe(e.school)(n)({onSwitchTab:E.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof gc)return f(BMe(e.schoolDb)(e.school));if(v instanceof Dc)return f(mIe({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof yc)return NTe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return le([p,h,o_(n.showNetworkCard)(function(g){return sFe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),sn(n.featureFlags.app18667SageOnSdp)(T7e(SQ(e.school).name)({bannedReason:"",welcomeMessage:new _(y),user:d,createConversation:function(g){return dGe(SQ(e.school).id)},sendMessage:mGe(hGe),chatbotAvatar:fw}))])}}}},j7e=function(e){return function(n){return function(t){if(t instanceof $t)return pL(n);if(t instanceof et){if(t.value0 instanceof IQ)return EQ(function(a){return et.create(IQ.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(aFe(n.finances)(t.value0.value0));if(t.value0 instanceof mL)return EQ(function(a){return et.create(mL.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(RMe(n.forYou)(t.value0.value0));if(t.value0 instanceof aS&&t.value0.value0 instanceof Sy&&t.value0.value0.value0 instanceof $t)return c7n(s7n(f7n(new $t(new Hh(t.value0.value0.value0.value0)))))(function(){return pL(n)});if(t.value0 instanceof aS)return EQ(function(a){return et.create(aS.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(rGe(e)(n.overview)(t.value0.value0));throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 100, column 44 - line 112, column 62): "+[t.value0.constructor.name])}throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 98, column 1 - line 98, column 75): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},N7e=function(e){return x7e(CQ(function(n){return et.create(aS.create(n))})(oGe(e)))(function(n){return x7e(CQ(function(t){return et.create(mL.create(t))})(wMe))(function(t){return pL({finances:rFe,forYou:t,overview:n})})})},P7e=function(e){return v7n(function(n){return n instanceof fk&&p7n(S0e(n.value0))(new _(va(e.school)))?CQ(function(t){return et.create(aS.create(Sy.create(t)))})(E2e(n.value0)):pL(Re)})};var m7n=dC(Hs)(),d7n=ne(ji),O7e=function(e){var n=Bn(e);return function(t){return n(m7n("SDP: Viewed page")({tab:XC(t.tab),school_name:t.school.name,school_id:d7n(t.school.id)}))}};var k7e=Z(qt),U7e=Ni(Yt),GQ=qa(U7e),H7e=Hn(An),EM=H7e(qt),B7e=O7e(Zn),_L=an(),gd=q(_t),_7n=zO(),hL=ee(B),AQ=Fr(U7e),h7n=H7e(Ut),g7n=Bn(Zn),J7e=Z(ar),q7e=qr(Zn),W7e=q(Xt),D7n=Z(Ge),$7e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xQ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xf=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rS=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),z7e=function(e){return function(n){return function(t){return function(a){return le([L7e({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:E.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(xf.create(r))}),We(t.modal)(function(r){return Jge(r.value0)(function(o){return a(rS.create(o))})})])}}}},V7e=function(e){return function(n){return k7e(GQ(xf.create)(N7e(e.school)))(function(t){return EM(cr(B7e({tab:e.tab,school:_L(e.school),featureFlags:n.featureFlags})))(function(){return gd({school:e.school,activeTab:e.tab,schoolDb:_7n({schools:new gr(new _([e.school])),majors:e.majors,chances:ke(Ia.value)(Wt.create)(hL(e.chances)(i4(va(e.school)))),contentModules:ke([])(function(a){return[{schoolId:va(e.school),modules:a}]})(e.contentModules),financials:ke(Ia.value)(Wt.create)(hL(e.financials)(i4(va(e.school)))),schoolConnections:be(YE)(hL(e.schoolConnection)(i4(va(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:E.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},y7n=function(e){return function(n){return AQ(xQ.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(vk(n)(e.schoolDb))}},Q7e=function(e){return function(n){var t=_L(n.school);return function(a){if(a instanceof xf&&a.value0 instanceof $t&&a.value0.value0 instanceof Hh)return y7n(n)(a.value0.value0.value0);if(a instanceof xf&&a.value0 instanceof $t&&a.value0.value0 instanceof dL)return EM(cr(h7n(B7e({tab:a.value0.value0.value0,school:_L(n.school),featureFlags:e.featureFlags}))(function(){return g7n(J7e(J7e(To)(VE))(r4(xa(Il))(t.name+" | CollegeVine")(B0(a.value0.value0.value0)(t.slug))))})))(function(){return gd({modal:n.modal,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,activeTab:a.value0.value0.value0})});if(a instanceof xf&&a.value0 instanceof $t&&a.value0.value0 instanceof TQ)return EM(q7e(function(){var o=new E_(t.id,a.value0.value0.value0,_C.value,eP(t.id)(n.schoolDb));return W7e(new xf(new $t(new Hh(o))))}()))(function(){return gd(n)});if(a instanceof xf&&a.value0 instanceof $t&&a.value0.value0 instanceof FQ)return gd(n);if(a instanceof xf&&a.value0 instanceof $t&&a.value0.value0 instanceof MQ)return gd({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:hL(D7n(e.currentUser)(gD))(function(o){return new $7e(Wge({schoolName:function(i){return i.name}(_L(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof xf&&a.value0 instanceof et)return AQ(xf.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(j7e(n)(n.page)(a.value0));if(a instanceof xQ)return k7e(GQ(xQ.create)(V0e(n.schoolDb)(a.value0)))(function(o){return EM(GQ(xf.create)(P7e(n)(o.events)))(function(){return gd({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:be(n.school)(s4(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof rS&&a.value0 instanceof $t&&a.value0.value0 instanceof SU)return EM(q7e(W7e(new xf(new $t(new Hh(new F_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return gd(n)});if(a instanceof rS&&a.value0 instanceof $t&&a.value0.value0 instanceof GI)return gd({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:E.value});var r=function(o){if(a instanceof rS&&a.value0 instanceof et&&Fe)return gd(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof rS&&a.value0 instanceof et&&n.modal instanceof _?AQ(rS.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new _(new $7e(o))}})(qge(n.modal.value0.value0)(new et(a.value0.value0))):r(!0)}}};var na=Qn(),LQ=C({reflectSymbol:function(){return"all"}}),Po=Pn(ie),pi=Pn(Ct),Y7e=na(C({reflectSymbol:function(){return"academicThresholdStatus"}})(ie)(C({reflectSymbol:function(){return"applicationStrategy"}})(ie)(C({reflectSymbol:function(){return"classification"}})(Po)(C({reflectSymbol:function(){return"courseRigorStrength"}})(Po)(C({reflectSymbol:function(){return"ecStrength"}})(Po)(C({reflectSymbol:function(){return"isRecommendedStrategy"}})($n)(C({reflectSymbol:function(){return"score"}})(pi)(C({reflectSymbol:function(){return"shouldApplyTestOptional"}})($n)(C({reflectSymbol:function(){return"specialCase"}})(Po)(de)))))))))),jQ=C({reflectSymbol:function(){return"act"}}),NQ=C({reflectSymbol:function(){return"p25"}}),X7e=C({reflectSymbol:function(){return"p50"}}),PQ=C({reflectSymbol:function(){return"p75"}}),oS=na(NQ(pi)(X7e(pi)(PQ(pi)(de)))),OQ=C({reflectSymbol:function(){return"gpa"}}),yp=Pn(Lt),Z7e=na(NQ(yp)(X7e(yp)(PQ(yp)(de)))),kQ=C({reflectSymbol:function(){return"sat"}}),K7e=C({reflectSymbol:function(){return"english"}}),e5e=C({reflectSymbol:function(){return"math"}}),n5e=e5e(pi),t5e=C({reflectSymbol:function(){return"id"}}),gL=C({reflectSymbol:function(){return"name"}})(ie),a5e=C({reflectSymbol:function(){return"readingWriting"}}),r5e=C({reflectSymbol:function(){return"majors"}}),o5e=gL(de),i5e=C({reflectSymbol:function(){return"acceptanceRate"}}),u5e=t5e(Bs),l5e=C({reflectSymbol:function(){return"slug"}})(lE),c5e=C({reflectSymbol:function(){return"status"}})(ie)(de),s5e=C({reflectSymbol:function(){return"address"}}),f5e=C({reflectSymbol:function(){return"location"}})(na(C({reflectSymbol:function(){return"lat"}})(Lt)(C({reflectSymbol:function(){return"lng"}})(Lt)(de)))),v5e=C({reflectSymbol:function(){return"admissions"}}),p5e=C({reflectSymbol:function(){return"percentile"}})(Lt),m5e=C({reflectSymbol:function(){return"value"}}),CM=Pn(na(p5e(m5e(Lt)(de)))),IM=Pn(na(NQ(Ct)(PQ(Ct)(de)))),UQ=Pn(na(C({reflectSymbol:function(){return"men"}})(Ct)(C({reflectSymbol:function(){return"women"}})(Ct)(de)))),d5e=na(p5e(m5e(Ct)(de))),_5e=Pn(d5e),h5e=na(C({reflectSymbol:function(){return"conference"}})(Pn(na(C({reflectSymbol:function(){return"group"}})(ie)(o5e))))(C({reflectSymbol:function(){return"division1"}})($n)(de))),g5e=LQ(oS),D5e=e5e(oS),b7n=function(){var e=function(n){var t=hve(Dv.value)(n),a=function(r){return function(o){return le([z7e({onEdit:E.value})(t.value1)(r)(o),Eo(ra(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return We(i)(function(l){if(l instanceof zC)return Yce({origin:B0(r.activeTab)(fN(r.school)),onDismiss:u(E.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof VC)return Xce({origin:t.value0.originUrl,onDismiss:u(E.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:E.value,school:r.school});throw new Error("Failed pattern match at EntryPoints.SchoolDetails (line 27, column 34 - line 45, column 20): "+[l.constructor.name])})}})])}};return new _({init:V7e(t.value0)(t.value1),update:Q7e(t.value1),view:a})};return FO(na(C({reflectSymbol:function(){return"auth0Config"}})(na(C({reflectSymbol:function(){return"auth0ClientId"}})(ie)(C({reflectSymbol:function(){return"auth0Domain"}})(ie)(C({reflectSymbol:function(){return"auth0RedirectUri"}})(ie)(C({reflectSymbol:function(){return"omniAuthState"}})(ie)(de))))))(C({reflectSymbol:function(){return"chances"}})(Pn(na(LQ(zn(Y7e))(C({reflectSymbol:function(){return"guidance"}})(Pn(Od))(C({reflectSymbol:function(){return"sameDemographicStats"}})(Pn(na(jQ(oS)(OQ(Z7e)(kQ(oS)(de))))))(C({reflectSymbol:function(){return"top"}})(Y7e)(de)))))))(C({reflectSymbol:function(){return"chancingProfile"}})(Pn(na(jQ(na(K7e(pi)(n5e(C({reflectSymbol:function(){return"reading"}})(pi)(C({reflectSymbol:function(){return"science"}})(pi)(de))))))(C({reflectSymbol:function(){return"courseRigor"}})(na(C({reflectSymbol:function(){return"ap"}})(pi)(C({reflectSymbol:function(){return"collegeClasses"}})(pi)(C({reflectSymbol:function(){return"honors"}})(pi)(de)))))(C({reflectSymbol:function(){return"ecActivities"}})(zn(na(C({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Pn(FC))(C({reflectSymbol:function(){return"category"}})(ie)(C({reflectSymbol:function(){return"description"}})(Po)(t5e(pi)(gL(C({reflectSymbol:function(){return"tier"}})(ie)(de)))))))))(C({reflectSymbol:function(){return"ecScore"}})(yp)(OQ(yp)(C({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(pi)(kQ(na(n5e(a5e(pi)(de))))(de))))))))))(C({reflectSymbol:function(){return"contentModules"}})(Pn(uE))(C({reflectSymbol:function(){return"currentUser"}})(Pn(na(C({reflectSymbol:function(){return"cvid"}})(ie)(C({reflectSymbol:function(){return"isHq"}})($n)(C({reflectSymbol:function(){return"role"}})(na(C({reflectSymbol:function(){return"counselor"}})(Pn(na(de)))(C({reflectSymbol:function(){return"semUser"}})(Pn(na(C({reflectSymbol:function(){return"schoolId"}})(Bs)(de))))(C({reflectSymbol:function(){return"vine"}})(Pn(na(C({reflectSymbol:function(){return"admissionYear"}})(pi)(C({reflectSymbol:function(){return"avatarUrl"}})(Po)(C({reflectSymbol:function(){return"fullName"}})(Po)(C({reflectSymbol:function(){return"homeState"}})(Po)(C({reflectSymbol:function(){return"initials"}})(Po)(C({reflectSymbol:function(){return"publishScope"}})(ie)(de)))))))))(de)))))(de))))))(C({reflectSymbol:function(){return"featureFlags"}})(na(C({reflectSymbol:function(){return"app18667SageOnSdp"}})($n)(C({reflectSymbol:function(){return"autopilot"}})(ie)(C({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})($n)(de)))))(C({reflectSymbol:function(){return"financials"}})(Pn(na(C({reflectSymbol:function(){return"estimatedMeritAid"}})(yp)(C({reflectSymbol:function(){return"estimatedNetCost"}})(Lt)(C({reflectSymbol:function(){return"financialAid"}})(Lt)(C({reflectSymbol:function(){return"stickerPrice"}})(Lt)(de)))))))(C({reflectSymbol:function(){return"hasFinancialProfile"}})($n)(C({reflectSymbol:function(){return"initialTab"}})(ie)(r5e(zn(na(C({reflectSymbol:function(){return"areaOfStudy"}})(ie)(C({reflectSymbol:function(){return"cipCode"}})(ie)(C({reflectSymbol:function(){return"compressedName"}})(ie)(o5e))))))(C({reflectSymbol:function(){return"mapboxAccessToken"}})(Sve)(C({reflectSymbol:function(){return"mobileLayout"}})($n)(C({reflectSymbol:function(){return"originUrl"}})(ie)(C({reflectSymbol:function(){return"randomSeed"}})(Ct)(C({reflectSymbol:function(){return"recommendedSchools"}})(Pn(zn(na(i5e(yp)(C({reflectSymbol:function(){return"cityState"}})(Po)(u5e(C({reflectSymbol:function(){return"imgixImageUrl"}})(ie)(gL(l5e(de))))))))))(C({reflectSymbol:function(){return"schoolConnection"}})(Pn(na(C({reflectSymbol:function(){return"initiator"}})(ie)(C({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})($n)(c5e)))))(C({reflectSymbol:function(){return"schoolList"}})(Lg(na(C({reflectSymbol:function(){return"applicationRound"}})(ie)(c5e))))(C({reflectSymbol:function(){return"schoolNotes"}})(Lg(ie))(C({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ie)(C({reflectSymbol:function(){return"showNetworkCard"}})($n)(C({reflectSymbol:function(){return"staticSchool"}})(na(C({reflectSymbol:function(){return"academicOfferings"}})(na(C({reflectSymbol:function(){return"careerCounseling"}})($n)(C({reflectSymbol:function(){return"creditForApExams"}})($n)(C({reflectSymbol:function(){return"creditForIbExams"}})($n)(C({reflectSymbol:function(){return"hasMedicalSchool"}})($n)(C({reflectSymbol:function(){return"offersGradDegree"}})($n)(C({reflectSymbol:function(){return"specialFocus"}})(Po)(C({reflectSymbol:function(){return"studyAbroad"}})($n)(de)))))))))(s5e(na(C({reflectSymbol:function(){return"nonUSAddress"}})(Pn(na(s5e(ie)(C({reflectSymbol:function(){return"country"}})(ie)(f5e(de))))))(C({reflectSymbol:function(){return"usAddress"}})(Pn(na(C({reflectSymbol:function(){return"city"}})(ie)(C({reflectSymbol:function(){return"county"}})(ie)(f5e(C({reflectSymbol:function(){return"region"}})(ie)(C({reflectSymbol:function(){return"state"}})(ie)(C({reflectSymbol:function(){return"street"}})(ie)(C({reflectSymbol:function(){return"zip"}})(ie)(de))))))))))(de))))(v5e(na(i5e(CM)(C({reflectSymbol:function(){return"actComposite"}})(IM)(C({reflectSymbol:function(){return"actMath"}})(IM)(C({reflectSymbol:function(){return"actVerbal"}})(IM)(C({reflectSymbol:function(){return"admitted"}})(UQ)(C({reflectSymbol:function(){return"applicants"}})(UQ)(C({reflectSymbol:function(){return"enrolled"}})(UQ)(C({reflectSymbol:function(){return"fracSubmittedAct"}})(yp)(C({reflectSymbol:function(){return"fracSubmittedSat"}})(yp)(C({reflectSymbol:function(){return"reqClassRank"}})(Po)(C({reflectSymbol:function(){return"reqRecLetters"}})(Po)(C({reflectSymbol:function(){return"reqStandardTests"}})(Po)(C({reflectSymbol:function(){return"reqToefl"}})(Po)(C({reflectSymbol:function(){return"satMath"}})(IM)(C({reflectSymbol:function(){return"satVerbal"}})(IM)(C({reflectSymbol:function(){return"totalApplicants"}})(_5e)(C({reflectSymbol:function(){return"yieldRate"}})(CM)(de)))))))))))))))))))(C({reflectSymbol:function(){return"appGroup"}})(Po)(C({reflectSymbol:function(){return"applicationTimeHours"}})(Ct)(C({reflectSymbol:function(){return"averageFederalLoan"}})(pi)(C({reflectSymbol:function(){return"averageNetPrice"}})(Pn(na(C({reflectSymbol:function(){return"quintile1"}})(Lt)(C({reflectSymbol:function(){return"quintile2"}})(Lt)(C({reflectSymbol:function(){return"quintile3"}})(Lt)(C({reflectSymbol:function(){return"quintile4"}})(Lt)(C({reflectSymbol:function(){return"quintile5"}})(Lt)(de))))))))(C({reflectSymbol:function(){return"basketball"}})(h5e)(C({reflectSymbol:function(){return"calendarSystem"}})(ie)(C({reflectSymbol:function(){return"chancing"}})(na(C({reflectSymbol:function(){return"canChance"}})($n)(C({reflectSymbol:function(){return"endorsed"}})($n)(C({reflectSymbol:function(){return"moreInfoLink"}})(Po)(de)))))(C({reflectSymbol:function(){return"colors"}})(na(C({reflectSymbol:function(){return"primary"}})(Po)(C({reflectSymbol:function(){return"secondary"}})(Po)(de))))(C({reflectSymbol:function(){return"costRoomBoard"}})(pi)(C({reflectSymbol:function(){return"diversity"}})(ie)(C({reflectSymbol:function(){return"dropOutRate"}})(Ct)(C({reflectSymbol:function(){return"feesInState"}})(pi)(C({reflectSymbol:function(){return"feesOutOfState"}})(pi)(C({reflectSymbol:function(){return"football"}})(h5e)(C({reflectSymbol:function(){return"fourYearGradRate"}})(yp)(C({reflectSymbol:function(){return"fracInternationalStudents"}})(CM)(C({reflectSymbol:function(){return"fracLoans"}})(Lt)(C({reflectSymbol:function(){return"fracPellGrants"}})(Lt)(C({reflectSymbol:function(){return"gender"}})(ie)(C({reflectSymbol:function(){return"hasFourYearProgram"}})($n)(C({reflectSymbol:function(){return"hasOnCampusHousing"}})($n)(C({reflectSymbol:function(){return"hasTwoYearProgram"}})($n)(C({reflectSymbol:function(){return"hbcu"}})($n)(u5e(C({reflectSymbol:function(){return"imgixPath"}})(ie)(C({reflectSymbol:function(){return"ipedsUnitId"}})(Po)(C({reflectSymbol:function(){return"isCommuterCollege"}})($n)(C({reflectSymbol:function(){return"isForProfit"}})($n)(C({reflectSymbol:function(){return"isPublic"}})($n)(r5e(zn(ie))(C({reflectSymbol:function(){return"message"}})(ie)(gL(C({reflectSymbol:function(){return"numFreshmen"}})(_5e)(C({reflectSymbol:function(){return"phone"}})(ie)(C({reflectSymbol:function(){return"prestige"}})(ie)(C({reflectSymbol:function(){return"profileClaimed"}})($n)(C({reflectSymbol:function(){return"racialBreakdown"}})(Pn(na(C({reflectSymbol:function(){return"asian"}})(Lt)(C({reflectSymbol:function(){return"black"}})(Lt)(C({reflectSymbol:function(){return"hispanic"}})(Lt)(C({reflectSymbol:function(){return"nativeAmerican"}})(Lt)(C({reflectSymbol:function(){return"white"}})(Lt)(de))))))))(C({reflectSymbol:function(){return"rankings"}})(zn(na(C({reflectSymbol:function(){return"bucket"}})(ie)(C({reflectSymbol:function(){return"key"}})(ie)(C({reflectSymbol:function(){return"order"}})(Ct)(de))))))(C({reflectSymbol:function(){return"religiousAffiliation"}})(ie)(C({reflectSymbol:function(){return"retentionRate"}})(CM)(C({reflectSymbol:function(){return"schoolType"}})(ie)(C({reflectSymbol:function(){return"setting"}})(ie)(C({reflectSymbol:function(){return"sixYearGradRate"}})(CM)(l5e(C({reflectSymbol:function(){return"studentsPerFaculty"}})(d5e)(C({reflectSymbol:function(){return"testScoreStats"}})(Pn(na(jQ(na(g5e(K7e(oS)(D5e(de)))))(OQ(na(LQ(Z7e)(de)))(kQ(na(g5e(D5e(a5e(oS)(de)))))(de))))))(C({reflectSymbol:function(){return"totalUndergrads"}})(Ct)(C({reflectSymbol:function(){return"tuitionInState"}})(pi)(C({reflectSymbol:function(){return"tuitionOutOfState"}})(pi)(C({reflectSymbol:function(){return"urls"}})(na(v5e(Po)(C({reflectSymbol:function(){return"finAid"}})(Po)(C({reflectSymbol:function(){return"main"}})(ie)(C({reflectSymbol:function(){return"priceCalculator"}})(Po)(de))))))(de)))))))))))))))))))))))))))))))))))))))))))))))))))))))(C({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Pn($n))(de))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return R7n;})(); /* object-assign (c) Sindre Sorhus @license MIT */ /*! Copyright (c) 2018 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ /*! * Pusher JavaScript Library v6.0.3 * https://pusher.com/ * * Copyright 2020, Pusher * Released under the MIT licence. */ /*! * focus-trap 6.9.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */ /*! * tabbable 5.3.3 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ /** * @license React * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v0.20.2 * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */