var Purs_EntryPoints_SchoolDetails=(()=>{var M3e=Object.create;var QR=Object.defineProperty,G3e=Object.defineProperties,A3e=Object.getOwnPropertyDescriptor,x3e=Object.getOwnPropertyDescriptors,L3e=Object.getOwnPropertyNames,u$=Object.getOwnPropertySymbols,j3e=Object.getPrototypeOf,l$=Object.prototype.hasOwnProperty,N3e=Object.prototype.propertyIsEnumerable;var c$=(e,n,t)=>n in e?QR(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t,ja=(e,n)=>{for(var t in n||(n={}))l$.call(n,t)&&c$(e,t,n[t]);if(u$)for(var t of u$(n))N3e.call(n,t)&&c$(e,t,n[t]);return e},ii=(e,n)=>G3e(e,x3e(n)),s$=e=>QR(e,"__esModule",{value:!0});var P3e=(e,n)=>()=>(e&&(n=e(e=0)),n);var Pe=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),YT=(e,n)=>{s$(e);for(var t in n)QR(e,t,{get:n[t],enumerable:!0})},k3e=(e,n,t)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of L3e(n))!l$.call(e,a)&&a!=="default"&&QR(e,a,{get:()=>n[a],enumerable:!(t=A3e(n,a))||t.enumerable});return e},ba=e=>k3e(s$(QR(e!=null?M3e(j3e(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Nh={};YT(Nh,{Children:()=>Lh,Component:()=>jh,Fragment:()=>B8,Suspense:()=>L5e,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>A5e,cloneElement:()=>nS,createContext:()=>H8,createElement:()=>ka,createRef:()=>BF,default:()=>wt,forwardRef:()=>hc,isValidElement:()=>J8,lazy:()=>x5e,useCallback:()=>tS,useContext:()=>j5e,useEffect:()=>br,useImperativeHandle:()=>pm,useLayoutEffect:()=>aS,useMemo:()=>rS,useReducer:()=>N5e,useRef:()=>Aa,useState:()=>Ff,version:()=>P5e});var wt,A5e,Lh,nS,jh,H8,ka,BF,hc,B8,J8,x5e,L5e,tS,j5e,br,pm,aS,rS,N5e,Aa,Ff,P5e,Wt=P3e(()=>{wt=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:A5e,Children:Lh,cloneElement:nS,Component:jh,createContext:H8,createElement:ka,createRef:BF,forwardRef:hc,Fragment:B8,isValidElement:J8,lazy:x5e,Suspense:L5e,useCallback:tS,useContext:j5e,useEffect:br,useImperativeHandle:pm,useLayoutEffect:aS,useMemo:rS,useReducer:N5e,useRef:Aa,useState:Ff,version:P5e}=window.React});var XF=Pe((TXn,YX)=>{"use strict";var QX=Object.getOwnPropertySymbols,p6e=Object.prototype.hasOwnProperty,_6e=Object.prototype.propertyIsEnumerable;function d6e(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function h6e(){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}}YX.exports=h6e()?Object.assign:function(e,n){for(var t,a=d6e(e),r,o=1;o<arguments.length;o++){t=Object(arguments[o]);for(var i in t)p6e.call(t,i)&&(a[i]=t[i]);if(QX){r=QX(t);for(var u=0;u<r.length;u++)_6e.call(t,r[u])&&(a[r[u]]=t[r[u]])}}return a}});var vZ=Pe(Ha=>{"use strict";var V8=XF(),D1=60103,XX=60106;Ha.Fragment=60107;Ha.StrictMode=60108;Ha.Profiler=60114;var ZX=60109,KX=60110,eZ=60112;Ha.Suspense=60113;var nZ=60115,tZ=60116;typeof Symbol=="function"&&Symbol.for&&(hs=Symbol.for,D1=hs("react.element"),XX=hs("react.portal"),Ha.Fragment=hs("react.fragment"),Ha.StrictMode=hs("react.strict_mode"),Ha.Profiler=hs("react.profiler"),ZX=hs("react.provider"),KX=hs("react.context"),eZ=hs("react.forward_ref"),Ha.Suspense=hs("react.suspense"),nZ=hs("react.memo"),tZ=hs("react.lazy"));var hs,aZ=typeof Symbol=="function"&&Symbol.iterator;function g6e(e){return e===null||typeof e!="object"?null:(e=aZ&&e[aZ]||e["@@iterator"],typeof e=="function"?e:null)}function vS(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var rZ={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},oZ={};function y1(e,n,t){this.props=e,this.context=n,this.refs=oZ,this.updater=t||rZ}y1.prototype.isReactComponent={};y1.prototype.setState=function(e,n){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(vS(85));this.updater.enqueueSetState(this,e,n,"setState")};y1.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function iZ(){}iZ.prototype=y1.prototype;function Q8(e,n,t){this.props=e,this.context=n,this.refs=oZ,this.updater=t||rZ}var Y8=Q8.prototype=new iZ;Y8.constructor=Q8;V8(Y8,y1.prototype);Y8.isPureReactComponent=!0;var X8={current:null},uZ=Object.prototype.hasOwnProperty,lZ={key:!0,ref:!0,__self:!0,__source:!0};function cZ(e,n,t){var a,r={},o=null,i=null;if(n!=null)for(a in n.ref!==void 0&&(i=n.ref),n.key!==void 0&&(o=""+n.key),n)uZ.call(n,a)&&!lZ.hasOwnProperty(a)&&(r[a]=n[a]);var u=arguments.length-2;if(u===1)r.children=t;else if(1<u){for(var l=Array(u),c=0;c<u;c++)l[c]=arguments[c+2];r.children=l}if(e&&e.defaultProps)for(a in u=e.defaultProps,u)r[a]===void 0&&(r[a]=u[a]);return{$$typeof:D1,type:e,key:o,ref:i,props:r,_owner:X8.current}}function D6e(e,n){return{$$typeof:D1,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Z8(e){return typeof e=="object"&&e!==null&&e.$$typeof===D1}function y6e(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var sZ=/\/+/g;function K8(e,n){return typeof e=="object"&&e!==null&&e.key!=null?y6e(""+e.key):n.toString(36)}function ZF(e,n,t,a,r){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var i=!1;if(e===null)i=!0;else switch(o){case"string":case"number":i=!0;break;case"object":switch(e.$$typeof){case D1:case XX:i=!0}}if(i)return i=e,r=r(i),e=a===""?"."+K8(i,0):a,Array.isArray(r)?(t="",e!=null&&(t=e.replace(sZ,"$&/")+"/"),ZF(r,n,t,"",function(c){return c})):r!=null&&(Z8(r)&&(r=D6e(r,t+(!r.key||i&&i.key===r.key?"":(""+r.key).replace(sZ,"$&/")+"/")+e)),n.push(r)),1;if(i=0,a=a===""?".":a+":",Array.isArray(e))for(var u=0;u<e.length;u++){o=e[u];var l=a+K8(o,u);i+=ZF(o,n,t,l,r)}else if(l=g6e(e),typeof l=="function")for(e=l.call(e),u=0;!(o=e.next()).done;)o=o.value,l=a+K8(o,u++),i+=ZF(o,n,t,l,r);else if(o==="object")throw n=""+e,Error(vS(31,n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n));return i}function KF(e,n,t){if(e==null)return e;var a=[],r=0;return ZF(e,a,"","",function(o){return n.call(t,o,r++)}),a}function b6e(e){if(e._status===-1){var n=e._result;n=n(),e._status=0,e._result=n,n.then(function(t){e._status===0&&(t=t.default,e._status=1,e._result=t)},function(t){e._status===0&&(e._status=2,e._result=t)})}if(e._status===1)return e._result;throw e._result}var fZ={current:null};function _m(){var e=fZ.current;if(e===null)throw Error(vS(321));return e}var R6e={ReactCurrentDispatcher:fZ,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:X8,IsSomeRendererActing:{current:!1},assign:V8};Ha.Children={map:KF,forEach:function(e,n,t){KF(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return KF(e,function(){n++}),n},toArray:function(e){return KF(e,function(n){return n})||[]},only:function(e){if(!Z8(e))throw Error(vS(143));return e}};Ha.Component=y1;Ha.PureComponent=Q8;Ha.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R6e;Ha.cloneElement=function(e,n,t){if(e==null)throw Error(vS(267,e));var a=V8({},e.props),r=e.key,o=e.ref,i=e._owner;if(n!=null){if(n.ref!==void 0&&(o=n.ref,i=X8.current),n.key!==void 0&&(r=""+n.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(l in n)uZ.call(n,l)&&!lZ.hasOwnProperty(l)&&(a[l]=n[l]===void 0&&u!==void 0?u[l]:n[l])}var l=arguments.length-2;if(l===1)a.children=t;else if(1<l){u=Array(l);for(var c=0;c<l;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:D1,type:e.type,key:r,ref:o,props:a,_owner:i}};Ha.createContext=function(e,n){return n===void 0&&(n=null),e={$$typeof:KX,_calculateChangedBits:n,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:ZX,_context:e},e.Consumer=e};Ha.createElement=cZ;Ha.createFactory=function(e){var n=cZ.bind(null,e);return n.type=e,n};Ha.createRef=function(){return{current:null}};Ha.forwardRef=function(e){return{$$typeof:eZ,render:e}};Ha.isValidElement=Z8;Ha.lazy=function(e){return{$$typeof:tZ,_payload:{_status:-1,_result:e},_init:b6e}};Ha.memo=function(e,n){return{$$typeof:nZ,type:e,compare:n===void 0?null:n}};Ha.useCallback=function(e,n){return _m().useCallback(e,n)};Ha.useContext=function(e,n){return _m().useContext(e,n)};Ha.useDebugValue=function(){};Ha.useEffect=function(e,n){return _m().useEffect(e,n)};Ha.useImperativeHandle=function(e,n,t){return _m().useImperativeHandle(e,n,t)};Ha.useLayoutEffect=function(e,n){return _m().useLayoutEffect(e,n)};Ha.useMemo=function(e,n){return _m().useMemo(e,n)};Ha.useReducer=function(e,n,t){return _m().useReducer(e,n,t)};Ha.useRef=function(e){return _m().useRef(e)};Ha.useState=function(e){return _m().useState(e)};Ha.version="17.0.2"});var Mf=Pe((MXn,mZ)=>{"use strict";mZ.exports=vZ()});var NZ=Pe(b1=>{"use strict";var Gf=XF(),dm=Mf();function fo(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var eL=60106,e2=60107,nL=60108,tL=60114,n2=60109,aL=60110,rL=60112,t2=60113,oL=60120,iL=60115,uL=60116,pZ=60121,_Z=60117,dZ=60119,hZ=60129,gZ=60131;typeof Symbol=="function"&&Symbol.for&&(su=Symbol.for,eL=su("react.portal"),e2=su("react.fragment"),nL=su("react.strict_mode"),tL=su("react.profiler"),n2=su("react.provider"),aL=su("react.context"),rL=su("react.forward_ref"),t2=su("react.suspense"),oL=su("react.suspense_list"),iL=su("react.memo"),uL=su("react.lazy"),pZ=su("react.block"),_Z=su("react.fundamental"),dZ=su("react.scope"),hZ=su("react.debug_trace_mode"),gZ=su("react.legacy_hidden"));var su;function mS(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 e2:return"Fragment";case eL:return"Portal";case tL:return"Profiler";case nL:return"StrictMode";case t2:return"Suspense";case oL:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case aL:return(e.displayName||"Context")+".Consumer";case n2:return(e._context.displayName||"Context")+".Provider";case rL:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case iL:return mS(e.type);case pZ:return mS(e._render);case uL:n=e._payload,e=e._init;try{return mS(e(n))}catch{}}return null}var w6e=dm.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,DZ={};function pS(e,n){for(var t=e._threadCount|0;t<=n;t++)e[t]=e._currentValue2,e._threadCount=t+1}function S6e(e,n,t,a){if(a&&(a=e.contextType,typeof a=="object"&&a!==null))return pS(a,t),a[t];if(e=e.contextTypes){t={};for(var r in e)t[r]=n[r];n=t}else n=DZ;return n}for(fu=new Uint16Array(16),_S=0;15>_S;_S++)fu[_S]=_S+1;var fu,_S;fu[15]=0;var E6e=/^[: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]*$/,yZ=Object.prototype.hasOwnProperty,bZ={},RZ={};function wZ(e){return yZ.call(RZ,e)?!0:yZ.call(bZ,e)?!1:E6e.test(e)?RZ[e]=!0:(bZ[e]=!0,!1)}function C6e(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 I6e(e,n,t,a){if(n===null||typeof n=="undefined"||C6e(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 nl(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 vu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){vu[e]=new nl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];vu[n]=new nl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){vu[e]=new nl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){vu[e]=new nl(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){vu[e]=new nl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){vu[e]=new nl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){vu[e]=new nl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){vu[e]=new nl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){vu[e]=new nl(e,5,!1,e.toLowerCase(),null,!1,!1)});var lL=/[\-:]([a-z])/g;function cL(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(lL,cL);vu[n]=new nl(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(lL,cL);vu[n]=new nl(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(lL,cL);vu[n]=new nl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){vu[e]=new nl(e,1,!1,e.toLowerCase(),null,!1,!1)});vu.xlinkHref=new nl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){vu[e]=new nl(e,1,!1,e.toLowerCase(),null,!0,!0)});var T6e=/["'&<>]/;function Uh(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var n=T6e.exec(e);if(n){var t="",a,r=0;for(a=n.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}r!==a&&(t+=e.substring(r,a)),r=a+1,t+=n}e=r!==a?t+e.substring(r,a):t}return e}function F6e(e,n){var t=vu.hasOwnProperty(e)?vu[e]:null,a;return(a=e!=="style")&&(a=t!==null?t.type===0:!(!(2<e.length)||e[0]!=="o"&&e[0]!=="O"||e[1]!=="n"&&e[1]!=="N")),a||I6e(e,n,t,!1)?"":t!==null?(e=t.attributeName,a=t.type,a===3||a===4&&n===!0?e+'=""':(t.sanitizeURL&&(n=""+n),e+'="'+(Uh(n)+'"'))):wZ(e)?e+'="'+(Uh(n)+'"'):""}function M6e(e,n){return e===n&&(e!==0||1/e==1/n)||e!==e&&n!==n}var G6e=typeof Object.is=="function"?Object.is:M6e,Zv=null,a2=null,jr=null,dS=!1,r2=!1,Zp=null,o2=0;function Hh(){if(Zv===null)throw Error(fo(321));return Zv}function SZ(){if(0<o2)throw Error(fo(312));return{memoizedState:null,queue:null,next:null}}function sL(){return jr===null?a2===null?(dS=!1,a2=jr=SZ()):(dS=!0,jr=a2):jr.next===null?(dS=!1,jr=jr.next=SZ()):(dS=!0,jr=jr.next),jr}function EZ(e,n,t,a){for(;r2;)r2=!1,o2+=1,jr=null,t=e(n,a);return CZ(),t}function CZ(){Zv=null,r2=!1,a2=null,o2=0,jr=Zp=null}function IZ(e,n){return typeof n=="function"?n(e):n}function TZ(e,n,t){if(Zv=Hh(),jr=sL(),dS){var a=jr.queue;if(n=a.dispatch,Zp!==null&&(t=Zp.get(a),t!==void 0)){Zp.delete(a),a=jr.memoizedState;do a=e(a,t.action),t=t.next;while(t!==null);return jr.memoizedState=a,[a,n]}return[jr.memoizedState,n]}return e=e===IZ?typeof n=="function"?n():n:t!==void 0?t(n):n,jr.memoizedState=e,e=jr.queue={last:null,dispatch:null},e=e.dispatch=A6e.bind(null,Zv,e),[jr.memoizedState,e]}function FZ(e,n){if(Zv=Hh(),jr=sL(),n=n===void 0?null:n,jr!==null){var t=jr.memoizedState;if(t!==null&&n!==null){var a=t[1];e:if(a===null)a=!1;else{for(var r=0;r<a.length&&r<n.length;r++)if(!G6e(n[r],a[r])){a=!1;break e}a=!0}if(a)return t[0]}}return e=e(),jr.memoizedState=[e,n],e}function A6e(e,n,t){if(!(25>o2))throw Error(fo(301));if(e===Zv)if(r2=!0,e={action:t,next:null},Zp===null&&(Zp=new Map),t=Zp.get(n),t===void 0)Zp.set(n,e);else{for(n=t;n.next!==null;)n=n.next;n.next=e}}function fL(){}var Bh=null,x6e={readContext:function(e){var n=Bh.threadID;return pS(e,n),e[n]},useContext:function(e){Hh();var n=Bh.threadID;return pS(e,n),e[n]},useMemo:FZ,useReducer:TZ,useRef:function(e){Zv=Hh(),jr=sL();var n=jr.memoizedState;return n===null?(e={current:e},jr.memoizedState=e):n},useState:function(e){return TZ(IZ,e)},useLayoutEffect:function(){},useCallback:function(e,n){return FZ(function(){return e},n)},useImperativeHandle:fL,useEffect:fL,useDebugValue:fL,useDeferredValue:function(e){return Hh(),e},useTransition:function(){return Hh(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(Bh.identifierPrefix||"")+"R:"+(Bh.uniqueID++).toString(36)},useMutableSource:function(e,n){return Hh(),n(e._source)}},MZ={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function GZ(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 AZ={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},L6e=Gf({menuitem:!0},AZ),hS={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},j6e=["Webkit","ms","Moz","O"];Object.keys(hS).forEach(function(e){j6e.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),hS[n]=hS[e]})});var N6e=/([A-Z])/g,P6e=/^ms-/,Kp=dm.Children.toArray,vL=w6e.ReactCurrentDispatcher,k6e={listing:!0,pre:!0,textarea:!0},O6e=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xZ={},mL={};function U6e(e){if(e==null)return e;var n="";return dm.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}var H6e=Object.prototype.hasOwnProperty,B6e={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function LZ(e,n){if(e===void 0)throw Error(fo(152,mS(n)||"Component"))}function J6e(e,n,t){function a(i,u){var l=u.prototype&&u.prototype.isReactComponent,c=S6e(u,n,t,l),s=[],f=!1,v={isMounted:function(){return!1},enqueueForceUpdate:function(){if(s===null)return null},enqueueReplaceState:function(G,P){f=!0,s=[P]},enqueueSetState:function(G,P){if(s===null)return null;s.push(P)}};if(l){if(l=new u(i.props,c,v),typeof u.getDerivedStateFromProps=="function"){var m=u.getDerivedStateFromProps.call(null,i.props,l.state);m!=null&&(l.state=Gf({},l.state,m))}}else if(Zv={},l=u(i.props,c,v),l=EZ(u,i.props,l,c),l==null||l.render==null){e=l,LZ(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 _=f;if(s=null,f=!1,_&&v.length===1)l.state=v[0];else{m=_?v[0]:l.state;var R=!0;for(_=_?1:0;_<v.length;_++){var D=v[_];D=typeof D=="function"?D.call(l,m,i.props,c):D,D!=null&&(R?(R=!1,m=Gf({},m,D)):Gf(m,D))}l.state=m}}else s=null;if(e=l.render(),LZ(e,u),typeof l.getChildContext=="function"&&(i=u.childContextTypes,typeof i=="object")){var y=l.getChildContext();for(var S in y)if(!(S in i))throw Error(fo(108,mS(u)||"Unknown",S))}y&&(n=Gf({},n,y))}for(;dm.isValidElement(e);){var r=e,o=r.type;if(typeof o!="function")break;a(r,o)}return{child:e,context:n}}var jZ=function(){function e(t,a,r){dm.isValidElement(t)?t.type!==e2?t=[t]:(t=t.props.children,t=dm.isValidElement(t)?[t]:Kp(t)):t=Kp(t),t={type:null,domNamespace:MZ.html,children:t,childIndex:0,context:DZ,footer:""};var o=fu[0];if(o===0){var i=fu;o=i.length;var u=2*o;if(!(65536>=u))throw Error(fo(304));var l=new Uint16Array(u);for(l.set(i),fu=l,fu[0]=o+1,i=o;i<u-1;i++)fu[i]=i+1;fu[u-1]=0}else fu[0]=fu[o];this.threadID=o,this.stack=[t],this.exhausted=!1,this.currentSelectValue=null,this.previousWasTextNode=!1,this.makeStaticMarkup=a,this.suspenseDepth=0,this.contextIndex=-1,this.contextStack=[],this.contextValueStack=[],this.uniqueID=0,this.identifierPrefix=r&&r.identifierPrefix||""}var n=e.prototype;return n.destroy=function(){if(!this.exhausted){this.exhausted=!0,this.clearProviders();var t=this.threadID;fu[t]=fu[0],fu[0]=t}},n.pushProvider=function(t){var a=++this.contextIndex,r=t.type._context,o=this.threadID;pS(r,o);var i=r[o];this.contextStack[a]=r,this.contextValueStack[a]=i,r[o]=t.props.value},n.popProvider=function(){var t=this.contextIndex,a=this.contextStack[t],r=this.contextValueStack[t];this.contextStack[t]=null,this.contextValueStack[t]=null,this.contextIndex--,a[this.threadID]=r},n.clearProviders=function(){for(var t=this.contextIndex;0<=t;t--)this.contextStack[t][this.threadID]=this.contextValueStack[t]},n.read=function(t){if(this.exhausted)return null;var a=Bh;Bh=this;var r=vL.current;vL.current=x6e;try{for(var o=[""],i=!1;o[0].length<t;){if(this.stack.length===0){this.exhausted=!0;var u=this.threadID;fu[u]=fu[0],fu[0]=u;break}var l=this.stack[this.stack.length-1];if(i||l.childIndex>=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===n2)this.popProvider(l.type);else if(l.type===t2){this.suspenseDepth--;var s=o.pop();if(i){i=!1;var f=l.fallbackFrame;if(!f)throw Error(fo(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++],m="";try{m+=this.render(v,l.context,l.domNamespace)}catch(_){throw _!=null&&typeof _.then=="function"?Error(fo(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=m}}return o[0]}finally{vL.current=r,Bh=a,CZ()}},n.render=function(t,a,r){if(typeof t=="string"||typeof t=="number")return r=""+t,r===""?"":this.makeStaticMarkup?Uh(r):this.previousWasTextNode?"<!-- -->"+Uh(r):(this.previousWasTextNode=!0,Uh(r));if(a=J6e(t,a,this.threadID),t=a.child,a=a.context,t===null||t===!1)return"";if(!dm.isValidElement(t)){if(t!=null&&t.$$typeof!=null)throw r=t.$$typeof,Error(r===eL?fo(257):fo(258,r.toString()));return t=Kp(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 gZ:case hZ:case nL:case tL:case oL:case e2:return t=Kp(t.props.children),this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case t2:throw Error(fo(294));case dZ:throw Error(fo(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case rL:Zv={};var i=o.render(t.props,t.ref);return i=EZ(o.render,t.props,i,t.ref),i=Kp(i),this.stack.push({type:null,domNamespace:r,children:i,childIndex:0,context:a,footer:""}),"";case iL:return t=[dm.createElement(o.type,Gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),"";case n2:return o=Kp(t.props.children),r={type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""},this.pushProvider(t),this.stack.push(r),"";case aL:o=t.type,i=t.props;var u=this.threadID;return pS(o,u),o=Kp(i.children(o[u])),this.stack.push({type:t,domNamespace:r,children:o,childIndex:0,context:a,footer:""}),"";case _Z:throw Error(fo(338));case uL:return o=t.type,i=o._init,o=i(o._payload),t=[dm.createElement(o,Gf({ref:t.ref},t.props))],this.stack.push({type:null,domNamespace:r,children:t,childIndex:0,context:a,footer:""}),""}throw Error(fo(130,o==null?o:typeof o,""))},n.renderDOM=function(t,a,r){var o=t.type.toLowerCase();if(r===MZ.html&&GZ(o),!xZ.hasOwnProperty(o)){if(!O6e.test(o))throw Error(fo(65,o));xZ[o]=!0}var i=t.props;if(o==="input")i=Gf({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(fo(92));if(Array.isArray(l)){if(!(1>=l.length))throw Error(fo(93));l=l[0]}u=""+l}u==null&&(u="")}i=Gf({},i,{value:void 0,children:""+u})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=Gf({},i,{value:void 0});else if(o==="option"){l=this.currentSelectValue;var c=U6e(i.children);if(l!=null){var s=i.value!=null?i.value+"":c;if(u=!1,Array.isArray(l)){for(var f=0;f<l.length;f++)if(""+l[f]===s){u=!0;break}}else u=""+l===s;i=Gf({selected:void 0,children:void 0},i,{selected:u,children:c})}}if(u=i){if(L6e[o]&&(u.children!=null||u.dangerouslySetInnerHTML!=null))throw Error(fo(137,o));if(u.dangerouslySetInnerHTML!=null){if(u.children!=null)throw Error(fo(60));if(!(typeof u.dangerouslySetInnerHTML=="object"&&"__html"in u.dangerouslySetInnerHTML))throw Error(fo(61))}if(u.style!=null&&typeof u.style!="object")throw Error(fo(62))}u=i,l=this.makeStaticMarkup,c=this.stack.length===1,s="<"+t.type;e:if(o.indexOf("-")===-1)f=typeof u.is=="string";else switch(o){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":f=!1;break e;default:f=!0}for(P in u)if(H6e.call(u,P)){var v=u[P];if(v!=null){if(P==="style"){var m=void 0,_="",R="";for(m in v)if(v.hasOwnProperty(m)){var D=m.indexOf("--")===0,y=v[m];if(y!=null){if(D)var S=m;else if(S=m,mL.hasOwnProperty(S))S=mL[S];else{var G=S.replace(N6e,"-$1").toLowerCase().replace(P6e,"-ms-");S=mL[S]=G}_+=R+S+":",R=m,D=y==null||typeof y=="boolean"||y===""?"":D||typeof y!="number"||y===0||hS.hasOwnProperty(R)&&hS[R]?(""+y).trim():y+"px",_+=D,R=";"}}v=_||null}m=null,f?B6e.hasOwnProperty(P)||(m=P,m=wZ(m)&&v!=null?m+'="'+(Uh(v)+'"'):""):m=F6e(P,v),m&&(s+=" "+m)}}l||c&&(s+=' data-reactroot=""');var P=s;u="",AZ.hasOwnProperty(o)?P+="/>":(P+=">",u="</"+t.type+">");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=Uh(l);break e}l=null}return l!=null?(i=[],k6e.hasOwnProperty(o)&&l.charAt(0)===`
`&&(P+=`
`),P+=l):i=Kp(i.children),t=t.type,r=r==null||r==="http://www.w3.org/1999/xhtml"?GZ(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}();b1.renderToNodeStream=function(){throw Error(fo(207))};b1.renderToStaticMarkup=function(e,n){e=new jZ(e,!0,n);try{return e.read(1/0)}finally{e.destroy()}};b1.renderToStaticNodeStream=function(){throw Error(fo(208))};b1.renderToString=function(e,n){e=new jZ(e,!1,n);try{return e.read(1/0)}finally{e.destroy()}};b1.version="17.0.2"});var kZ=Pe((AXn,PZ)=>{"use strict";PZ.exports=NZ()});var _re=Pe((rQt,pre)=>{"use strict";var HOe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";pre.exports=HOe});var Dre=Pe((oQt,gre)=>{"use strict";var BOe=_re();function dre(){}function hre(){}hre.resetWarningCache=dre;gre.exports=function(){function e(a,r,o,i,u,l){if(l!==BOe){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:hre,resetWarningCache:dre};return t.PropTypes=t,t}});var ry=Pe((lQt,yre)=>{yre.exports=Dre()();var iQt,uQt});var Ej=Pe(oy=>{"use strict";Object.defineProperty(oy,"__esModule",{value:!0});var bre=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],iG=bre.join(","),Rre=typeof Element=="undefined",mg=Rre?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wj=!Rre&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},wre=function(n,t,a){var r=Array.prototype.slice.apply(n.querySelectorAll(iG));return t&&mg.call(n,iG)&&r.unshift(n),r=r.filter(a),r},Sre=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=mg.call(i,iG);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 m=e(f===!0?i.children:f.children,!0,a);a.flatten?r.push.apply(r,m):r.push({scope:i,candidates:m})}else o.unshift.apply(o,i.children)}}return r},Ere=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},JOe=function(n,t){return n.tabIndex===t.tabIndex?n.documentOrder-t.documentOrder:n.tabIndex-t.tabIndex},Cre=function(n){return n.tagName==="INPUT"},WOe=function(n){return Cre(n)&&n.type==="hidden"},qOe=function(n){var t=n.tagName==="DETAILS"&&Array.prototype.slice.apply(n.children).some(function(a){return a.tagName==="SUMMARY"});return t},zOe=function(n,t){for(var a=0;a<n.length;a++)if(n[a].checked&&n[a].form===t)return n[a]},$Oe=function(n){if(!n.name)return!0;var t=n.form||wj(n),a=function(u){return t.querySelectorAll('input[type="radio"][name="'+u+'"]')},r;if(typeof window!="undefined"&&typeof window.CSS!="undefined"&&typeof window.CSS.escape=="function")r=a(window.CSS.escape(n.name));else try{r=a(n.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=zOe(r,n.form);return!o||o===n},VOe=function(n){return Cre(n)&&n.type==="radio"},QOe=function(n){return VOe(n)&&!$Oe(n)},Ire=function(n){var t=n.getBoundingClientRect(),a=t.width,r=t.height;return a===0&&r===0},YOe=function(n,t){var a=t.displayCheck,r=t.getShadowRoot;if(getComputedStyle(n).visibility==="hidden")return!0;var o=mg.call(n,"details>summary:first-of-type"),i=o?n.parentElement:n;if(mg.call(i,"details:not([open]) *"))return!0;var u=wj(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=wj(n);if(s&&!s.shadowRoot&&r(s)===!0)return Ire(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 Ire(n);return!1},XOe=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<t.children.length;a++){var r=t.children.item(a);if(r.tagName==="LEGEND")return mg.call(t,"fieldset[disabled] *")?!0:!r.contains(n)}return!0}t=t.parentElement}return!1},uG=function(n,t){return!(t.disabled||WOe(t)||YOe(t,n)||qOe(t)||XOe(t))},Sj=function(n,t){return!(QOe(t)||Ere(t)<0||!uG(n,t))},ZOe=function(n){var t=parseInt(n.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},KOe=function e(n){var t=[],a=[];return n.forEach(function(r,o){var i=!!r.scope,u=i?r.scope:r,l=Ere(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(JOe).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(t)},eUe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Sre([n],t.includeContainer,{filter:Sj.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ZOe}):a=wre(n,t.includeContainer,Sj.bind(null,t)),KOe(a)},nUe=function(n,t){t=t||{};var a;return t.getShadowRoot?a=Sre([n],t.includeContainer,{filter:uG.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):a=wre(n,t.includeContainer,uG.bind(null,t)),a},tUe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mg.call(n,iG)===!1?!1:Sj(t,n)},aUe=bre.concat("iframe").join(","),rUe=function(n,t){if(t=t||{},!n)throw new Error("No node provided");return mg.call(n,aUe)===!1?!1:uG(t,n)};oy.focusable=nUe;oy.isFocusable=rUe;oy.isTabbable=tUe;oy.tabbable=eUe});var xre=Pe(Cj=>{"use strict";Object.defineProperty(Cj,"__esModule",{value:!0});var Qm=Ej();function Tre(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 Fre(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Tre(Object(t),!0).forEach(function(a){oUe(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Tre(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function oUe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Mre=function(){var e=[];return{activateTrap:function(t){if(e.length>0){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()}}}(),iUe=function(n){return n.tagName&&n.tagName.toLowerCase()==="input"&&typeof n.select=="function"},uUe=function(n){return n.key==="Escape"||n.key==="Esc"||n.keyCode===27},lUe=function(n){return n.key==="Tab"||n.keyCode===9},Gre=function(n){return setTimeout(n,0)},Are=function(n,t){var a=-1;return n.every(function(r,o){return t(r)?(a=o,!1):!0}),a},FE=function(n){for(var t=arguments.length,a=new Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];return typeof n=="function"?n.apply(void 0,a):n},lG=function(n){return n.target.shadowRoot&&typeof n.composedPath=="function"?n.composedPath()[0]:n.target},cUe=function(n,t){var a=(t==null?void 0:t.document)||document,r=Fre({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),o={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},i,u=function(M,O,oe){return M&&M[O]!==void 0?M[O]:r[oe||O]},l=function(M){return o.containerGroups.findIndex(function(O){var oe=O.container,le=O.tabbableNodes;return oe.contains(M)||le.find(function(ve){return ve===M})})},c=function(M){var O=r[M];if(typeof O=="function"){for(var oe=arguments.length,le=new Array(oe>1?oe-1:0),ve=1;ve<oe;ve++)le[ve-1]=arguments[ve];O=O.apply(void 0,le)}if(O===!0&&(O=void 0),!O){if(O===void 0||O===!1)return O;throw new Error("`".concat(M,"` was specified but was not a node, or did not return a node"))}var X=O;if(typeof O=="string"&&(X=a.querySelector(O),!X))throw new Error("`".concat(M,"` as selector refers to no known node"));return X},s=function(){var M=c("initialFocus");if(M===!1)return!1;if(M===void 0)if(l(a.activeElement)>=0)M=a.activeElement;else{var O=o.tabbableGroups[0],oe=O&&O.firstTabbableNode;M=oe||c("fallbackFocus")}if(!M)throw new Error("Your focus-trap needs to have at least one focusable element");return M},f=function(){if(o.containerGroups=o.containers.map(function(M){var O=Qm.tabbable(M,r.tabbableOptions),oe=Qm.focusable(M,r.tabbableOptions);return{container:M,tabbableNodes:O,focusableNodes:oe,firstTabbableNode:O.length>0?O[0]:null,lastTabbableNode:O.length>0?O[O.length-1]:null,nextTabbableNode:function(ve){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,be=oe.findIndex(function(pe){return pe===ve});if(!(be<0))return X?oe.slice(be+1).find(function(pe){return Qm.isTabbable(pe,r.tabbableOptions)}):oe.slice(0,be).reverse().find(function(pe){return Qm.isTabbable(pe,r.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(M){return M.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 k(M){if(M!==!1&&M!==a.activeElement){if(!M||!M.focus){k(s());return}M.focus({preventScroll:!!r.preventScroll}),o.mostRecentlyFocusedNode=M,iUe(M)&&M.select()}},m=function(M){var O=c("setReturnFocus",M);return O||(O===!1?!1:M)},_=function(M){var O=lG(M);if(!(l(O)>=0)){if(FE(r.clickOutsideDeactivates,M)){i.deactivate({returnFocus:r.returnFocusOnDeactivate&&!Qm.isFocusable(O,r.tabbableOptions)});return}FE(r.allowOutsideClick,M)||M.preventDefault()}},R=function(M){var O=lG(M),oe=l(O)>=0;oe||O instanceof Document?oe&&(o.mostRecentlyFocusedNode=O):(M.stopImmediatePropagation(),v(o.mostRecentlyFocusedNode||s()))},D=function(M){var O=lG(M);f();var oe=null;if(o.tabbableGroups.length>0){var le=l(O),ve=le>=0?o.containerGroups[le]:void 0;if(le<0)M.shiftKey?oe=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:oe=o.tabbableGroups[0].firstTabbableNode;else if(M.shiftKey){var X=Are(o.tabbableGroups,function(jn){var Ve=jn.firstTabbableNode;return O===Ve});if(X<0&&(ve.container===O||Qm.isFocusable(O,r.tabbableOptions)&&!Qm.isTabbable(O,r.tabbableOptions)&&!ve.nextTabbableNode(O,!1))&&(X=le),X>=0){var be=X===0?o.tabbableGroups.length-1:X-1,pe=o.tabbableGroups[be];oe=pe.lastTabbableNode}}else{var De=Are(o.tabbableGroups,function(jn){var Ve=jn.lastTabbableNode;return O===Ve});if(De<0&&(ve.container===O||Qm.isFocusable(O,r.tabbableOptions)&&!Qm.isTabbable(O,r.tabbableOptions)&&!ve.nextTabbableNode(O))&&(De=le),De>=0){var Ne=De===o.tabbableGroups.length-1?0:De+1,ie=o.tabbableGroups[Ne];oe=ie.firstTabbableNode}}}else oe=c("fallbackFocus");oe&&(M.preventDefault(),v(oe))},y=function(M){if(uUe(M)&&FE(r.escapeDeactivates,M)!==!1){M.preventDefault(),i.deactivate();return}if(lUe(M)){D(M);return}},S=function(M){var O=lG(M);l(O)>=0||FE(r.clickOutsideDeactivates,M)||FE(r.allowOutsideClick,M)||(M.preventDefault(),M.stopImmediatePropagation())},G=function(){if(!!o.active)return Mre.activateTrap(i),o.delayInitialFocusTimer=r.delayInitialFocus?Gre(function(){v(s())}):v(s()),a.addEventListener("focusin",R,!0),a.addEventListener("mousedown",_,{capture:!0,passive:!1}),a.addEventListener("touchstart",_,{capture:!0,passive:!1}),a.addEventListener("click",S,{capture:!0,passive:!1}),a.addEventListener("keydown",y,{capture:!0,passive:!1}),i},P=function(){if(!!o.active)return a.removeEventListener("focusin",R,!0),a.removeEventListener("mousedown",_,!0),a.removeEventListener("touchstart",_,!0),a.removeEventListener("click",S,!0),a.removeEventListener("keydown",y,!0),i};return i={get active(){return o.active},get paused(){return o.paused},activate:function(M){if(o.active)return this;var O=u(M,"onActivate"),oe=u(M,"onPostActivate"),le=u(M,"checkCanFocusTrap");le||f(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=a.activeElement,O&&O();var ve=function(){le&&f(),G(),oe&&oe()};return le?(le(o.containers.concat()).then(ve,ve),this):(ve(),this)},deactivate:function(M){if(!o.active)return this;var O=Fre({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},M);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,P(),o.active=!1,o.paused=!1,Mre.deactivateTrap(i);var oe=u(O,"onDeactivate"),le=u(O,"onPostDeactivate"),ve=u(O,"checkCanReturnFocus"),X=u(O,"returnFocus","returnFocusOnDeactivate");oe&&oe();var be=function(){Gre(function(){X&&v(m(o.nodeFocusedBeforeActivation)),le&&le()})};return X&&ve?(ve(m(o.nodeFocusedBeforeActivation)).then(be,be),this):(be(),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(),G(),this)},updateContainerElements:function(M){var O=[].concat(M).filter(Boolean);return o.containers=O.map(function(oe){return typeof oe=="string"?a.querySelector(oe):oe}),o.active&&f(),this}},i.updateContainerElements(n),i};Cj.createFocusTrap=cUe});var Nre=Pe((fQt,jre)=>{"use strict";function Ij(e){return Ij=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},Ij(e)}function sUe(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Lre(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function fUe(e,n,t){return n&&Lre(e.prototype,n),t&&Lre(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function vUe(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&&Tj(e,n)}function Tj(e,n){return Tj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},Tj(e,n)}function mUe(e){var n=_Ue();return function(){var a=cG(e),r;if(n){var o=cG(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return pUe(this,r)}}function pUe(e,n){if(n&&(Ij(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ME(e)}function ME(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _Ue(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function cG(e){return cG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},cG(e)}function dUe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var sG=(Wt(),Nh),aa=ry(),hUe=xre(),gUe=hUe.createFocusTrap,DUe=Ej(),yUe=DUe.isFocusable,Fj=function(e){vUe(t,e);var n=mUe(t);function t(a){var r;sUe(this,t),r=n.call(this,a),dUe(ME(r),"getNodeForOption",function(u){var l,c=(l=this.internalOptions[u])!==null&&l!==void 0?l:this.originalOptions[u];if(typeof c=="function"){for(var s=arguments.length,f=new Array(s>1?s-1:0),v=1;v<s;v++)f[v-1]=arguments[v];c=c.apply(void 0,f)}if(c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw new Error("`".concat(u,"` was specified but was not a node, or did not return a node"))}var m=c;if(typeof c=="string"){var _;if(m=(_=this.getDocument())===null||_===void 0?void 0:_.querySelector(c),!m)throw new Error("`".concat(u,"` as selector refers to no known node"))}return m}),r.handleDeactivate=r.handleDeactivate.bind(ME(r)),r.handlePostDeactivate=r.handlePostDeactivate.bind(ME(r)),r.handleClickOutsideDeactivates=r.handleClickOutsideDeactivates.bind(ME(r)),r.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:r.handleDeactivate,onPostDeactivate:r.handlePostDeactivate,clickOutsideDeactivates:r.handleClickOutsideDeactivates},r.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=a.focusTrapOptions;for(var i in o)if(!!Object.prototype.hasOwnProperty.call(o,i)){if(i==="returnFocusOnDeactivate"||i==="onDeactivate"||i==="onPostDeactivate"||i==="checkCanReturnFocus"||i==="clickOutsideDeactivates"){r.originalOptions[i]=o[i];continue}r.internalOptions[i]=o[i]}return r.outsideClick=null,r.focusTrapElements=a.containerElements||[],r.updatePreviousElement(),r}return fUe(t,[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||(typeof document!="undefined"?document:void 0)}},{key:"getReturnFocusNode",value:function(){var r=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return r||(r===!1?!1:this.previouslyFocusedElement)}},{key:"updatePreviousElement",value:function(){var r=this.getDocument();r&&(this.previouslyFocusedElement=r.activeElement)}},{key:"deactivateTrap",value:function(){!this.focusTrap||!this.focusTrap.active||this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(r){var o=typeof this.originalOptions.clickOutsideDeactivates=="function"?this.originalOptions.clickOutsideDeactivates.call(null,r):this.originalOptions.clickOutsideDeactivates;return o&&(this.outsideClick={target:r.target,allowDeactivation:o}),o}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var r=this,o=function(){var u=r.getReturnFocusNode(),l=!!(r.originalOptions.returnFocusOnDeactivate&&u!==null&&u!==void 0&&u.focus&&(!r.outsideClick||r.outsideClick.allowDeactivation&&!yUe(r.outsideClick.target,r.internalOptions.tabbableOptions))),c=r.internalOptions.preventScroll,s=c===void 0?!1:c;l&&u.focus({preventScroll:s}),r.originalOptions.onPostDeactivate&&r.originalOptions.onPostDeactivate.call(null),r.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(o,o):o()}},{key:"setupFocusTrap",value:function(){if(this.focusTrap)this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause());else{var r=this.focusTrapElements.some(Boolean);r&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(r){if(this.focusTrap){r.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var o=!r.active&&this.props.active,i=r.active&&!this.props.active,u=!r.paused&&this.props.paused,l=r.paused&&!this.props.paused;if(o&&(this.updatePreviousElement(),this.focusTrap.activate()),i){this.deactivateTrap();return}u&&this.focusTrap.pause(),l&&this.focusTrap.unpause()}else r.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var r=this,o=this.props.children?sG.Children.only(this.props.children):void 0;if(o){if(o.type&&o.type===sG.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> 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=sG.cloneElement(o,{ref:i});return u}return null}}]),t}(sG.Component),GE=typeof Element=="undefined"?Function:Element;Fj.propTypes={active:aa.bool,paused:aa.bool,focusTrapOptions:aa.shape({document:aa.object,onActivate:aa.func,onPostActivate:aa.func,checkCanFocusTrap:aa.func,onDeactivate:aa.func,onPostDeactivate:aa.func,checkCanReturnFocus:aa.func,initialFocus:aa.oneOfType([aa.instanceOf(GE),aa.string,aa.bool,aa.func]),fallbackFocus:aa.oneOfType([aa.instanceOf(GE),aa.string,aa.func]),escapeDeactivates:aa.oneOfType([aa.bool,aa.func]),clickOutsideDeactivates:aa.oneOfType([aa.bool,aa.func]),returnFocusOnDeactivate:aa.bool,setReturnFocus:aa.oneOfType([aa.instanceOf(GE),aa.string,aa.bool,aa.func]),allowOutsideClick:aa.oneOfType([aa.bool,aa.func]),preventScroll:aa.bool,tabbableOptions:aa.shape({displayCheck:aa.oneOf(["full","non-zero-area","none"]),getShadowRoot:aa.oneOfType([aa.bool,aa.func])})}),containerElements:aa.arrayOf(aa.instanceOf(GE)),children:aa.oneOfType([aa.element,aa.instanceOf(GE)])};Fj.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:gUe};jre.exports=Fj});var Wce=Pe(dr=>{"use strict";var eu=typeof Symbol=="function"&&Symbol.for,$N=eu?Symbol.for("react.element"):60103,VN=eu?Symbol.for("react.portal"):60106,M4=eu?Symbol.for("react.fragment"):60107,G4=eu?Symbol.for("react.strict_mode"):60108,A4=eu?Symbol.for("react.profiler"):60114,x4=eu?Symbol.for("react.provider"):60109,L4=eu?Symbol.for("react.context"):60110,QN=eu?Symbol.for("react.async_mode"):60111,j4=eu?Symbol.for("react.concurrent_mode"):60111,N4=eu?Symbol.for("react.forward_ref"):60112,P4=eu?Symbol.for("react.suspense"):60113,wVe=eu?Symbol.for("react.suspense_list"):60120,k4=eu?Symbol.for("react.memo"):60115,O4=eu?Symbol.for("react.lazy"):60116,SVe=eu?Symbol.for("react.block"):60121,EVe=eu?Symbol.for("react.fundamental"):60117,CVe=eu?Symbol.for("react.responder"):60118,IVe=eu?Symbol.for("react.scope"):60119;function Jc(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case $N:switch(e=e.type,e){case QN:case j4:case M4:case A4:case G4:case P4:return e;default:switch(e=e&&e.$$typeof,e){case L4:case N4:case O4:case k4:case x4:return e;default:return n}}case VN:return n}}}function Jce(e){return Jc(e)===j4}dr.AsyncMode=QN;dr.ConcurrentMode=j4;dr.ContextConsumer=L4;dr.ContextProvider=x4;dr.Element=$N;dr.ForwardRef=N4;dr.Fragment=M4;dr.Lazy=O4;dr.Memo=k4;dr.Portal=VN;dr.Profiler=A4;dr.StrictMode=G4;dr.Suspense=P4;dr.isAsyncMode=function(e){return Jce(e)||Jc(e)===QN};dr.isConcurrentMode=Jce;dr.isContextConsumer=function(e){return Jc(e)===L4};dr.isContextProvider=function(e){return Jc(e)===x4};dr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===$N};dr.isForwardRef=function(e){return Jc(e)===N4};dr.isFragment=function(e){return Jc(e)===M4};dr.isLazy=function(e){return Jc(e)===O4};dr.isMemo=function(e){return Jc(e)===k4};dr.isPortal=function(e){return Jc(e)===VN};dr.isProfiler=function(e){return Jc(e)===A4};dr.isStrictMode=function(e){return Jc(e)===G4};dr.isSuspense=function(e){return Jc(e)===P4};dr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===M4||e===j4||e===A4||e===G4||e===P4||e===wVe||typeof e=="object"&&e!==null&&(e.$$typeof===O4||e.$$typeof===k4||e.$$typeof===x4||e.$$typeof===L4||e.$$typeof===N4||e.$$typeof===EVe||e.$$typeof===CVe||e.$$typeof===IVe||e.$$typeof===SVe)};dr.typeOf=Jc});var zce=Pe((opa,qce)=>{"use strict";qce.exports=Wce()});var z_=Pe((Dpa,B4)=>{(function(){"use strict";var e={}.hasOwnProperty;function n(){for(var r="",o=0;o<arguments.length;o++){var i=arguments[o];i&&(r=a(r,t(i)))}return r}function t(r){if(typeof r=="string"||typeof r=="number")return r;if(typeof r!="object")return"";if(Array.isArray(r))return n.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var o="";for(var i in r)e.call(r,i)&&r[i]&&(o=a(o,i));return o}function a(r,o){return o?r?r+" "+o:r+o:r}typeof B4!="undefined"&&B4.exports?(n.default=n,B4.exports=n):typeof define=="function"&&typeof define.amd=="object"&&define.amd?define("classnames",[],function(){return n}):window.classNames=n})()});var kse=Pe((lda,Pse)=>{function mQe(){this.__data__=[],this.size=0}Pse.exports=mQe});var gP=Pe((cda,Ose)=>{function pQe(e,n){return e===n||e!==e&&n!==n}Ose.exports=pQe});var lC=Pe((sda,Use)=>{var _Qe=gP();function dQe(e,n){for(var t=e.length;t--;)if(_Qe(e[t][0],n))return t;return-1}Use.exports=dQe});var Bse=Pe((fda,Hse)=>{var hQe=lC(),gQe=Array.prototype,DQe=gQe.splice;function yQe(e){var n=this.__data__,t=hQe(n,e);if(t<0)return!1;var a=n.length-1;return t==a?n.pop():DQe.call(n,t,1),--this.size,!0}Hse.exports=yQe});var Wse=Pe((vda,Jse)=>{var bQe=lC();function RQe(e){var n=this.__data__,t=bQe(n,e);return t<0?void 0:n[t][1]}Jse.exports=RQe});var zse=Pe((mda,qse)=>{var wQe=lC();function SQe(e){return wQe(this.__data__,e)>-1}qse.exports=SQe});var Vse=Pe((pda,$se)=>{var EQe=lC();function CQe(e,n){var t=this.__data__,a=EQe(t,e);return a<0?(++this.size,t.push([e,n])):t[a][1]=n,this}$se.exports=CQe});var cC=Pe((_da,Qse)=>{var IQe=kse(),TQe=Bse(),FQe=Wse(),MQe=zse(),GQe=Vse();function Zy(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}Zy.prototype.clear=IQe;Zy.prototype.delete=TQe;Zy.prototype.get=FQe;Zy.prototype.has=MQe;Zy.prototype.set=GQe;Qse.exports=Zy});var Xse=Pe((dda,Yse)=>{var AQe=cC();function xQe(){this.__data__=new AQe,this.size=0}Yse.exports=xQe});var Kse=Pe((hda,Zse)=>{function LQe(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t}Zse.exports=LQe});var nfe=Pe((gda,efe)=>{function jQe(e){return this.__data__.get(e)}efe.exports=jQe});var afe=Pe((Dda,tfe)=>{function NQe(e){return this.__data__.has(e)}tfe.exports=NQe});var DP=Pe((yda,rfe)=>{var PQe=typeof global=="object"&&global&&global.Object===Object&&global;rfe.exports=PQe});var E0=Pe((bda,ofe)=>{var kQe=DP(),OQe=typeof self=="object"&&self&&self.Object===Object&&self,UQe=kQe||OQe||Function("return this")();ofe.exports=UQe});var c3=Pe((Rda,ife)=>{var HQe=E0(),BQe=HQe.Symbol;ife.exports=BQe});var sfe=Pe((wda,cfe)=>{var ufe=c3(),lfe=Object.prototype,JQe=lfe.hasOwnProperty,WQe=lfe.toString,sC=ufe?ufe.toStringTag:void 0;function qQe(e){var n=JQe.call(e,sC),t=e[sC];try{e[sC]=void 0;var a=!0}catch{}var r=WQe.call(e);return a&&(n?e[sC]=t:delete e[sC]),r}cfe.exports=qQe});var vfe=Pe((Sda,ffe)=>{var zQe=Object.prototype,$Qe=zQe.toString;function VQe(e){return $Qe.call(e)}ffe.exports=VQe});var fC=Pe((Eda,_fe)=>{var mfe=c3(),QQe=sfe(),YQe=vfe(),XQe="[object Null]",ZQe="[object Undefined]",pfe=mfe?mfe.toStringTag:void 0;function KQe(e){return e==null?e===void 0?ZQe:XQe:pfe&&pfe in Object(e)?QQe(e):YQe(e)}_fe.exports=KQe});var yP=Pe((Cda,dfe)=>{function eYe(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}dfe.exports=eYe});var bP=Pe((Ida,hfe)=>{var nYe=fC(),tYe=yP(),aYe="[object AsyncFunction]",rYe="[object Function]",oYe="[object GeneratorFunction]",iYe="[object Proxy]";function uYe(e){if(!tYe(e))return!1;var n=nYe(e);return n==rYe||n==oYe||n==aYe||n==iYe}hfe.exports=uYe});var Dfe=Pe((Tda,gfe)=>{var lYe=E0(),cYe=lYe["__core-js_shared__"];gfe.exports=cYe});var Rfe=Pe((Fda,bfe)=>{var RP=Dfe(),yfe=function(){var e=/[^.]+$/.exec(RP&&RP.keys&&RP.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function sYe(e){return!!yfe&&yfe in e}bfe.exports=sYe});var wP=Pe((Mda,wfe)=>{var fYe=Function.prototype,vYe=fYe.toString;function mYe(e){if(e!=null){try{return vYe.call(e)}catch{}try{return e+""}catch{}}return""}wfe.exports=mYe});var Efe=Pe((Gda,Sfe)=>{var pYe=bP(),_Ye=Rfe(),dYe=yP(),hYe=wP(),gYe=/[\\^$.*+?()[\]{}|]/g,DYe=/^\[object .+?Constructor\]$/,yYe=Function.prototype,bYe=Object.prototype,RYe=yYe.toString,wYe=bYe.hasOwnProperty,SYe=RegExp("^"+RYe.call(wYe).replace(gYe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function EYe(e){if(!dYe(e)||_Ye(e))return!1;var n=pYe(e)?SYe:DYe;return n.test(hYe(e))}Sfe.exports=EYe});var Ife=Pe((Ada,Cfe)=>{function CYe(e,n){return e==null?void 0:e[n]}Cfe.exports=CYe});var Ig=Pe((xda,Tfe)=>{var IYe=Efe(),TYe=Ife();function FYe(e,n){var t=TYe(e,n);return IYe(t)?t:void 0}Tfe.exports=FYe});var s3=Pe((Lda,Ffe)=>{var MYe=Ig(),GYe=E0(),AYe=MYe(GYe,"Map");Ffe.exports=AYe});var vC=Pe((jda,Mfe)=>{var xYe=Ig(),LYe=xYe(Object,"create");Mfe.exports=LYe});var xfe=Pe((Nda,Afe)=>{var Gfe=vC();function jYe(){this.__data__=Gfe?Gfe(null):{},this.size=0}Afe.exports=jYe});var jfe=Pe((Pda,Lfe)=>{function NYe(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}Lfe.exports=NYe});var Pfe=Pe((kda,Nfe)=>{var PYe=vC(),kYe="__lodash_hash_undefined__",OYe=Object.prototype,UYe=OYe.hasOwnProperty;function HYe(e){var n=this.__data__;if(PYe){var t=n[e];return t===kYe?void 0:t}return UYe.call(n,e)?n[e]:void 0}Nfe.exports=HYe});var Ofe=Pe((Oda,kfe)=>{var BYe=vC(),JYe=Object.prototype,WYe=JYe.hasOwnProperty;function qYe(e){var n=this.__data__;return BYe?n[e]!==void 0:WYe.call(n,e)}kfe.exports=qYe});var Hfe=Pe((Uda,Ufe)=>{var zYe=vC(),$Ye="__lodash_hash_undefined__";function VYe(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=zYe&&n===void 0?$Ye:n,this}Ufe.exports=VYe});var Jfe=Pe((Hda,Bfe)=>{var QYe=xfe(),YYe=jfe(),XYe=Pfe(),ZYe=Ofe(),KYe=Hfe();function Ky(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}Ky.prototype.clear=QYe;Ky.prototype.delete=YYe;Ky.prototype.get=XYe;Ky.prototype.has=ZYe;Ky.prototype.set=KYe;Bfe.exports=Ky});var zfe=Pe((Bda,qfe)=>{var Wfe=Jfe(),eXe=cC(),nXe=s3();function tXe(){this.size=0,this.__data__={hash:new Wfe,map:new(nXe||eXe),string:new Wfe}}qfe.exports=tXe});var Vfe=Pe((Jda,$fe)=>{function aXe(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}$fe.exports=aXe});var mC=Pe((Wda,Qfe)=>{var rXe=Vfe();function oXe(e,n){var t=e.__data__;return rXe(n)?t[typeof n=="string"?"string":"hash"]:t.map}Qfe.exports=oXe});var Xfe=Pe((qda,Yfe)=>{var iXe=mC();function uXe(e){var n=iXe(this,e).delete(e);return this.size-=n?1:0,n}Yfe.exports=uXe});var Kfe=Pe((zda,Zfe)=>{var lXe=mC();function cXe(e){return lXe(this,e).get(e)}Zfe.exports=cXe});var nve=Pe(($da,eve)=>{var sXe=mC();function fXe(e){return sXe(this,e).has(e)}eve.exports=fXe});var ave=Pe((Vda,tve)=>{var vXe=mC();function mXe(e,n){var t=vXe(this,e),a=t.size;return t.set(e,n),this.size+=t.size==a?0:1,this}tve.exports=mXe});var SP=Pe((Qda,rve)=>{var pXe=zfe(),_Xe=Xfe(),dXe=Kfe(),hXe=nve(),gXe=ave();function eb(e){var n=-1,t=e==null?0:e.length;for(this.clear();++n<t;){var a=e[n];this.set(a[0],a[1])}}eb.prototype.clear=pXe;eb.prototype.delete=_Xe;eb.prototype.get=dXe;eb.prototype.has=hXe;eb.prototype.set=gXe;rve.exports=eb});var ive=Pe((Yda,ove)=>{var DXe=cC(),yXe=s3(),bXe=SP(),RXe=200;function wXe(e,n){var t=this.__data__;if(t instanceof DXe){var a=t.__data__;if(!yXe||a.length<RXe-1)return a.push([e,n]),this.size=++t.size,this;t=this.__data__=new bXe(a)}return t.set(e,n),this.size=t.size,this}ove.exports=wXe});var lve=Pe((Xda,uve)=>{var SXe=cC(),EXe=Xse(),CXe=Kse(),IXe=nfe(),TXe=afe(),FXe=ive();function nb(e){var n=this.__data__=new SXe(e);this.size=n.size}nb.prototype.clear=EXe;nb.prototype.delete=CXe;nb.prototype.get=IXe;nb.prototype.has=TXe;nb.prototype.set=FXe;uve.exports=nb});var sve=Pe((Zda,cve)=>{var MXe="__lodash_hash_undefined__";function GXe(e){return this.__data__.set(e,MXe),this}cve.exports=GXe});var vve=Pe((Kda,fve)=>{function AXe(e){return this.__data__.has(e)}fve.exports=AXe});var pve=Pe((eha,mve)=>{var xXe=SP(),LXe=sve(),jXe=vve();function f3(e){var n=-1,t=e==null?0:e.length;for(this.__data__=new xXe;++n<t;)this.add(e[n])}f3.prototype.add=f3.prototype.push=LXe;f3.prototype.has=jXe;mve.exports=f3});var dve=Pe((nha,_ve)=>{function NXe(e,n){for(var t=-1,a=e==null?0:e.length;++t<a;)if(n(e[t],t,e))return!0;return!1}_ve.exports=NXe});var gve=Pe((tha,hve)=>{function PXe(e,n){return e.has(n)}hve.exports=PXe});var EP=Pe((aha,Dve)=>{var kXe=pve(),OXe=dve(),UXe=gve(),HXe=1,BXe=2;function JXe(e,n,t,a,r,o){var i=t&HXe,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,m=t&BXe?new kXe:void 0;for(o.set(e,n),o.set(n,e);++f<u;){var _=e[f],R=n[f];if(a)var D=i?a(R,_,f,n,e,o):a(_,R,f,e,n,o);if(D!==void 0){if(D)continue;v=!1;break}if(m){if(!OXe(n,function(y,S){if(!UXe(m,S)&&(_===y||r(_,y,t,a,o)))return m.push(S)})){v=!1;break}}else if(!(_===R||r(_,R,t,a,o))){v=!1;break}}return o.delete(e),o.delete(n),v}Dve.exports=JXe});var bve=Pe((rha,yve)=>{var WXe=E0(),qXe=WXe.Uint8Array;yve.exports=qXe});var wve=Pe((oha,Rve)=>{function zXe(e){var n=-1,t=Array(e.size);return e.forEach(function(a,r){t[++n]=[r,a]}),t}Rve.exports=zXe});var Eve=Pe((iha,Sve)=>{function $Xe(e){var n=-1,t=Array(e.size);return e.forEach(function(a){t[++n]=a}),t}Sve.exports=$Xe});var Mve=Pe((uha,Fve)=>{var Cve=c3(),Ive=bve(),VXe=gP(),QXe=EP(),YXe=wve(),XXe=Eve(),ZXe=1,KXe=2,eZe="[object Boolean]",nZe="[object Date]",tZe="[object Error]",aZe="[object Map]",rZe="[object Number]",oZe="[object RegExp]",iZe="[object Set]",uZe="[object String]",lZe="[object Symbol]",cZe="[object ArrayBuffer]",sZe="[object DataView]",Tve=Cve?Cve.prototype:void 0,CP=Tve?Tve.valueOf:void 0;function fZe(e,n,t,a,r,o,i){switch(t){case sZe:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case cZe:return!(e.byteLength!=n.byteLength||!o(new Ive(e),new Ive(n)));case eZe:case nZe:case rZe:return VXe(+e,+n);case tZe:return e.name==n.name&&e.message==n.message;case oZe:case uZe:return e==n+"";case aZe:var u=YXe;case iZe:var l=a&ZXe;if(u||(u=XXe),e.size!=n.size&&!l)return!1;var c=i.get(e);if(c)return c==n;a|=KXe,i.set(e,n);var s=QXe(u(e),u(n),a,r,o,i);return i.delete(e),s;case lZe:if(CP)return CP.call(e)==CP.call(n)}return!1}Fve.exports=fZe});var Ave=Pe((lha,Gve)=>{function vZe(e,n){for(var t=-1,a=n.length,r=e.length;++t<a;)e[r+t]=n[t];return e}Gve.exports=vZe});var v3=Pe((cha,xve)=>{var mZe=Array.isArray;xve.exports=mZe});var jve=Pe((sha,Lve)=>{var pZe=Ave(),_Ze=v3();function dZe(e,n,t){var a=n(e);return _Ze(e)?a:pZe(a,t(e))}Lve.exports=dZe});var Pve=Pe((fha,Nve)=>{function hZe(e,n){for(var t=-1,a=e==null?0:e.length,r=0,o=[];++t<a;){var i=e[t];n(i,t,e)&&(o[r++]=i)}return o}Nve.exports=hZe});var Ove=Pe((vha,kve)=>{function gZe(){return[]}kve.exports=gZe});var Bve=Pe((mha,Hve)=>{var DZe=Pve(),yZe=Ove(),bZe=Object.prototype,RZe=bZe.propertyIsEnumerable,Uve=Object.getOwnPropertySymbols,wZe=Uve?function(e){return e==null?[]:(e=Object(e),DZe(Uve(e),function(n){return RZe.call(e,n)}))}:yZe;Hve.exports=wZe});var Wve=Pe((pha,Jve)=>{function SZe(e,n){for(var t=-1,a=Array(e);++t<e;)a[t]=n(t);return a}Jve.exports=SZe});var pC=Pe((_ha,qve)=>{function EZe(e){return e!=null&&typeof e=="object"}qve.exports=EZe});var $ve=Pe((dha,zve)=>{var CZe=fC(),IZe=pC(),TZe="[object Arguments]";function FZe(e){return IZe(e)&&CZe(e)==TZe}zve.exports=FZe});var Xve=Pe((hha,Yve)=>{var Vve=$ve(),MZe=pC(),Qve=Object.prototype,GZe=Qve.hasOwnProperty,AZe=Qve.propertyIsEnumerable,xZe=Vve(function(){return arguments}())?Vve:function(e){return MZe(e)&&GZe.call(e,"callee")&&!AZe.call(e,"callee")};Yve.exports=xZe});var Kve=Pe((gha,Zve)=>{function LZe(){return!1}Zve.exports=LZe});var IP=Pe((_C,tb)=>{var jZe=E0(),NZe=Kve(),e0e=typeof _C=="object"&&_C&&!_C.nodeType&&_C,n0e=e0e&&typeof tb=="object"&&tb&&!tb.nodeType&&tb,PZe=n0e&&n0e.exports===e0e,t0e=PZe?jZe.Buffer:void 0,kZe=t0e?t0e.isBuffer:void 0,OZe=kZe||NZe;tb.exports=OZe});var r0e=Pe((Dha,a0e)=>{var UZe=9007199254740991,HZe=/^(?:0|[1-9]\d*)$/;function BZe(e,n){var t=typeof e;return n=n==null?UZe:n,!!n&&(t=="number"||t!="symbol"&&HZe.test(e))&&e>-1&&e%1==0&&e<n}a0e.exports=BZe});var TP=Pe((yha,o0e)=>{var JZe=9007199254740991;function WZe(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=JZe}o0e.exports=WZe});var u0e=Pe((bha,i0e)=>{var qZe=fC(),zZe=TP(),$Ze=pC(),VZe="[object Arguments]",QZe="[object Array]",YZe="[object Boolean]",XZe="[object Date]",ZZe="[object Error]",KZe="[object Function]",eKe="[object Map]",nKe="[object Number]",tKe="[object Object]",aKe="[object RegExp]",rKe="[object Set]",oKe="[object String]",iKe="[object WeakMap]",uKe="[object ArrayBuffer]",lKe="[object DataView]",cKe="[object Float32Array]",sKe="[object Float64Array]",fKe="[object Int8Array]",vKe="[object Int16Array]",mKe="[object Int32Array]",pKe="[object Uint8Array]",_Ke="[object Uint8ClampedArray]",dKe="[object Uint16Array]",hKe="[object Uint32Array]",$r={};$r[cKe]=$r[sKe]=$r[fKe]=$r[vKe]=$r[mKe]=$r[pKe]=$r[_Ke]=$r[dKe]=$r[hKe]=!0;$r[VZe]=$r[QZe]=$r[uKe]=$r[YZe]=$r[lKe]=$r[XZe]=$r[ZZe]=$r[KZe]=$r[eKe]=$r[nKe]=$r[tKe]=$r[aKe]=$r[rKe]=$r[oKe]=$r[iKe]=!1;function gKe(e){return $Ze(e)&&zZe(e.length)&&!!$r[qZe(e)]}i0e.exports=gKe});var c0e=Pe((Rha,l0e)=>{function DKe(e){return function(n){return e(n)}}l0e.exports=DKe});var f0e=Pe((hC,ab)=>{var yKe=DP(),s0e=typeof hC=="object"&&hC&&!hC.nodeType&&hC,dC=s0e&&typeof ab=="object"&&ab&&!ab.nodeType&&ab,bKe=dC&&dC.exports===s0e,FP=bKe&&yKe.process,RKe=function(){try{var e=dC&&dC.require&&dC.require("util").types;return e||FP&&FP.binding&&FP.binding("util")}catch{}}();ab.exports=RKe});var MP=Pe((wha,p0e)=>{var wKe=u0e(),SKe=c0e(),v0e=f0e(),m0e=v0e&&v0e.isTypedArray,EKe=m0e?SKe(m0e):wKe;p0e.exports=EKe});var d0e=Pe((Sha,_0e)=>{var CKe=Wve(),IKe=Xve(),TKe=v3(),FKe=IP(),MKe=r0e(),GKe=MP(),AKe=Object.prototype,xKe=AKe.hasOwnProperty;function LKe(e,n){var t=TKe(e),a=!t&&IKe(e),r=!t&&!a&&FKe(e),o=!t&&!a&&!r&&GKe(e),i=t||a||r||o,u=i?CKe(e.length,String):[],l=u.length;for(var c in e)(n||xKe.call(e,c))&&!(i&&(c=="length"||r&&(c=="offset"||c=="parent")||o&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||MKe(c,l)))&&u.push(c);return u}_0e.exports=LKe});var g0e=Pe((Eha,h0e)=>{var jKe=Object.prototype;function NKe(e){var n=e&&e.constructor,t=typeof n=="function"&&n.prototype||jKe;return e===t}h0e.exports=NKe});var y0e=Pe((Cha,D0e)=>{function PKe(e,n){return function(t){return e(n(t))}}D0e.exports=PKe});var R0e=Pe((Iha,b0e)=>{var kKe=y0e(),OKe=kKe(Object.keys,Object);b0e.exports=OKe});var S0e=Pe((Tha,w0e)=>{var UKe=g0e(),HKe=R0e(),BKe=Object.prototype,JKe=BKe.hasOwnProperty;function WKe(e){if(!UKe(e))return HKe(e);var n=[];for(var t in Object(e))JKe.call(e,t)&&t!="constructor"&&n.push(t);return n}w0e.exports=WKe});var C0e=Pe((Fha,E0e)=>{var qKe=bP(),zKe=TP();function $Ke(e){return e!=null&&zKe(e.length)&&!qKe(e)}E0e.exports=$Ke});var T0e=Pe((Mha,I0e)=>{var VKe=d0e(),QKe=S0e(),YKe=C0e();function XKe(e){return YKe(e)?VKe(e):QKe(e)}I0e.exports=XKe});var M0e=Pe((Gha,F0e)=>{var ZKe=jve(),KKe=Bve(),een=T0e();function nen(e){return ZKe(e,een,KKe)}F0e.exports=nen});var x0e=Pe((Aha,A0e)=>{var G0e=M0e(),ten=1,aen=Object.prototype,ren=aen.hasOwnProperty;function oen(e,n,t,a,r,o){var i=t&ten,u=G0e(e),l=u.length,c=G0e(n),s=c.length;if(l!=s&&!i)return!1;for(var f=l;f--;){var v=u[f];if(!(i?v in n:ren.call(n,v)))return!1}var m=o.get(e),_=o.get(n);if(m&&_)return m==n&&_==e;var R=!0;o.set(e,n),o.set(n,e);for(var D=i;++f<l;){v=u[f];var y=e[v],S=n[v];if(a)var G=i?a(S,y,v,n,e,o):a(y,S,v,e,n,o);if(!(G===void 0?y===S||r(y,S,t,a,o):G)){R=!1;break}D||(D=v=="constructor")}if(R&&!D){var P=e.constructor,k=n.constructor;P!=k&&"constructor"in e&&"constructor"in n&&!(typeof P=="function"&&P instanceof P&&typeof k=="function"&&k instanceof k)&&(R=!1)}return o.delete(e),o.delete(n),R}A0e.exports=oen});var j0e=Pe((xha,L0e)=>{var ien=Ig(),uen=E0(),len=ien(uen,"DataView");L0e.exports=len});var P0e=Pe((Lha,N0e)=>{var cen=Ig(),sen=E0(),fen=cen(sen,"Promise");N0e.exports=fen});var O0e=Pe((jha,k0e)=>{var ven=Ig(),men=E0(),pen=ven(men,"Set");k0e.exports=pen});var H0e=Pe((Nha,U0e)=>{var _en=Ig(),den=E0(),hen=_en(den,"WeakMap");U0e.exports=hen});var Q0e=Pe((Pha,V0e)=>{var GP=j0e(),AP=s3(),xP=P0e(),LP=O0e(),jP=H0e(),B0e=fC(),rb=wP(),J0e="[object Map]",gen="[object Object]",W0e="[object Promise]",q0e="[object Set]",z0e="[object WeakMap]",$0e="[object DataView]",Den=rb(GP),yen=rb(AP),ben=rb(xP),Ren=rb(LP),wen=rb(jP),Tg=B0e;(GP&&Tg(new GP(new ArrayBuffer(1)))!=$0e||AP&&Tg(new AP)!=J0e||xP&&Tg(xP.resolve())!=W0e||LP&&Tg(new LP)!=q0e||jP&&Tg(new jP)!=z0e)&&(Tg=function(e){var n=B0e(e),t=n==gen?e.constructor:void 0,a=t?rb(t):"";if(a)switch(a){case Den:return $0e;case yen:return J0e;case ben:return W0e;case Ren:return q0e;case wen:return z0e}return n});V0e.exports=Tg});var ame=Pe((kha,tme)=>{var NP=lve(),Sen=EP(),Een=Mve(),Cen=x0e(),Y0e=Q0e(),X0e=v3(),Z0e=IP(),Ien=MP(),Ten=1,K0e="[object Arguments]",eme="[object Array]",m3="[object Object]",Fen=Object.prototype,nme=Fen.hasOwnProperty;function Men(e,n,t,a,r,o){var i=X0e(e),u=X0e(n),l=i?eme:Y0e(e),c=u?eme:Y0e(n);l=l==K0e?m3:l,c=c==K0e?m3:c;var s=l==m3,f=c==m3,v=l==c;if(v&&Z0e(e)){if(!Z0e(n))return!1;i=!0,s=!1}if(v&&!s)return o||(o=new NP),i||Ien(e)?Sen(e,n,t,a,r,o):Een(e,n,l,t,a,r,o);if(!(t&Ten)){var m=s&&nme.call(e,"__wrapped__"),_=f&&nme.call(n,"__wrapped__");if(m||_){var R=m?e.value():e,D=_?n.value():n;return o||(o=new NP),r(R,D,t,a,o)}}return v?(o||(o=new NP),Cen(e,n,t,a,r,o)):!1}tme.exports=Men});var ume=Pe((Oha,ime)=>{var Gen=ame(),rme=pC();function ome(e,n,t,a,r){return e===n?!0:e==null||n==null||!rme(e)&&!rme(n)?e!==e&&n!==n:Gen(e,n,t,a,ome,r)}ime.exports=ome});var cme=Pe((Uha,lme)=>{var Aen=ume();function xen(e,n){return Aen(e,n)}lme.exports=xen});var Wme=Pe((xDa,unn)=>{unn.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 S3=Pe(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.Direction=void 0;var Ntn;(function(e){e.Right="to right",e.Left="to left",e.Down="to bottom",e.Up="to top"})(Ntn=SC.Direction||(SC.Direction={}))});var vk=Pe(Xt=>{"use strict";var EC=Xt&&Xt.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;a<r;a++)(o||!(a in n))&&(o||(o=Array.prototype.slice.call(n,0,a)),o[a]=n[a]);return e.concat(o||Array.prototype.slice.call(n))};Object.defineProperty(Xt,"__esModule",{value:!0});Xt.useThumbOverlap=Xt.assertUnreachable=Xt.voidFn=Xt.getTrackBackground=Xt.replaceAt=Xt.schd=Xt.translate=Xt.getClosestThumbIndex=Xt.translateThumbs=Xt.getPaddingAndBorder=Xt.getMargin=Xt.checkInitialOverlap=Xt.checkValuesAgainstBoundaries=Xt.checkBoundaries=Xt.isVertical=Xt.relativeValue=Xt.normalizeValue=Xt.isStepDivisible=Xt.isTouchEvent=Xt.getStepDecimals=void 0;var fk=(Wt(),Nh),Gg=S3(),Ptn=function(e){var n=e.toString().split(".")[1];return n?n.length:0};Xt.getStepDecimals=Ptn;function ktn(e){return e.touches&&e.touches.length||e.changedTouches&&e.changedTouches.length}Xt.isTouchEvent=ktn;function Otn(e,n,t){var a=(n-e)/t,r=8,o=Number(a.toFixed(r));return parseInt(o.toString(),10)===o}Xt.isStepDivisible=Otn;function Utn(e,n,t,a,r,o,i){var u=1e11;if(e=Math.round(e*u)/u,!o){var l=i[n-1],c=i[n+1];if(l&&l>e)return l;if(c&&c<e)return c}if(e>a)return a;if(e<t)return t;var s=Math.floor(e*u-t*u)%Math.floor(r*u),f=Math.floor(e*u-Math.abs(s)),v=s===0?e:f/u,m=Math.abs(s/u)<r/2?v:v+r,_=(0,Xt.getStepDecimals)(r);return parseFloat(m.toFixed(_))}Xt.normalizeValue=Utn;function Htn(e,n,t){return(e-n)/(t-n)}Xt.relativeValue=Htn;function zpe(e){return e===Gg.Direction.Up||e===Gg.Direction.Down}Xt.isVertical=zpe;function Btn(e,n,t){if(n>=t)throw new RangeError("min (".concat(n,") is equal/bigger than max (").concat(t,")"));if(e<n)throw new RangeError("value (".concat(e,") is smaller than min (").concat(n,")"));if(e>t)throw new RangeError("value (".concat(e,") is bigger than max (").concat(t,")"))}Xt.checkBoundaries=Btn;function Jtn(e,n,t){return e<n?n:e>t?t:e}Xt.checkValuesAgainstBoundaries=Jtn;function Wtn(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}"))}Xt.checkInitialOverlap=Wtn;function qtn(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)}}Xt.getMargin=qtn;function ztn(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)}}Xt.getPaddingAndBorder=ztn;function $tn(e,n,t){var a=t?-1:1;e.forEach(function(r,o){return $pe(r,a*n[o].x,n[o].y)})}Xt.translateThumbs=$tn;function Vtn(e,n,t,a){for(var r=0,o=Qpe(e[0],n,t,a),i=1;i<e.length;i++){var u=Qpe(e[i],n,t,a);u<o&&(o=u,r=i)}return r}Xt.getClosestThumbIndex=Vtn;function $pe(e,n,t){e.style.transform="translate(".concat(n,"px, ").concat(t,"px)")}Xt.translate=$pe;var Qtn=function(e){var n=[],t=null,a=function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];n=r,!t&&(t=requestAnimationFrame(function(){t=null,e.apply(void 0,n)}))};return a};Xt.schd=Qtn;function Ytn(e,n,t){var a=e.slice(0);return a[n]=t,a}Xt.replaceAt=Ytn;function Xtn(e){var n=e.values,t=e.colors,a=e.min,r=e.max,o=e.direction,i=o===void 0?Gg.Direction.Right:o,u=e.rtl,l=u===void 0?!1:u;l&&i===Gg.Direction.Right?i=Gg.Direction.Left:l&&Gg.Direction.Left&&(i=Gg.Direction.Right);var c=n.slice(0).sort(function(f,v){return f-v}).map(function(f){return(f-a)/(r-a)*100}),s=c.reduce(function(f,v,m){return"".concat(f,", ").concat(t[m]," ").concat(v,"%, ").concat(t[m+1]," ").concat(v,"%")},"");return"linear-gradient(".concat(i,", ").concat(t[0]," 0%").concat(s,", ").concat(t[t.length-1]," 100%)")}Xt.getTrackBackground=Xtn;function Ztn(){}Xt.voidFn=Ztn;function Ktn(e){throw new Error("Didn't expect to get here")}Xt.assertUnreachable=Ktn;var Vpe=function(e,n,t,a,r){r===void 0&&(r=function(i){return i});var o=Math.ceil(EC([e],Array.from(e.children),!0).reduce(function(i,u){var l=Math.ceil(u.getBoundingClientRect().width);if(u.innerText&&u.innerText.includes(t)&&u.childElementCount===0){var c=u.cloneNode(!0);c.innerHTML=r(n.toFixed(a)),c.style.visibility="hidden",document.body.appendChild(c),l=Math.ceil(c.getBoundingClientRect().width),document.body.removeChild(c)}return l>i?l:i},e.getBoundingClientRect().width));return o},ean=function(e,n,t,a,r,o,i){i===void 0&&(i=function(c){return c});var u=[],l=function(c){var s=Vpe(t[c],a[c],r,o,i),f=n[c].x;n.forEach(function(v,m){var _=v.x,R=Vpe(t[m],a[m],r,o,i);c!==m&&(f>=_&&f<=_+R||f+s>=_&&f+s<=_+R)&&(u.includes(m)||(u.push(c),u.push(m),u=EC(EC([],u,!0),[c,m],!1),l(m)))})};return l(e),Array.from(new Set(u.sort()))},nan=function(e,n,t,a,r,o){a===void 0&&(a=.1),r===void 0&&(r=" - "),o===void 0&&(o=function(m){return m});var i=(0,Xt.getStepDecimals)(a),u=(0,fk.useState)({}),l=u[0],c=u[1],s=(0,fk.useState)(o(n[t].toFixed(i))),f=s[0],v=s[1];return(0,fk.useEffect)(function(){if(e){var m=e.getThumbs();if(m.length<1)return;var _={},R=e.getOffsets(),D=ean(t,R,m,n,r,i,o),y=o(n[t].toFixed(i));if(D.length){var S=D.reduce(function(O,oe,le,ve){return O.length?EC(EC([],O,!0),[R[ve[le]].x],!1):[R[ve[le]].x]},[]);if(Math.min.apply(Math,S)===R[t].x){var G=[];D.forEach(function(O){G.push(n[O].toFixed(i))}),y=Array.from(new Set(G.sort(function(O,oe){return parseFloat(O)-parseFloat(oe)}))).map(o).join(r);var P=Math.min.apply(Math,S),k=Math.max.apply(Math,S),M=m[D[S.indexOf(k)]].getBoundingClientRect().width;_.left="".concat(Math.abs(P-(k+M))/2,"px"),_.transform="translate(-50%, 0)"}else _.visibility="hidden"}v(y),c(_)}},[e,n]),[f,l]};Xt.useThumbOverlap=nan;function Qpe(e,n,t,a){var r=e.getBoundingClientRect(),o=r.left,i=r.top,u=r.width,l=r.height;return zpe(a)?Math.abs(t-(i+l/2)):Math.abs(n-(o+u/2))}});var Xpe=Pe(Wc=>{"use strict";var tan=Wc&&Wc.__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)}}(),aan=Wc&&Wc.__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]}),ran=Wc&&Wc.__setModuleDefault||(Object.create?function(e,n){Object.defineProperty(e,"default",{enumerable:!0,value:n})}:function(e,n){e.default=n}),oan=Wc&&Wc.__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)&&aan(n,e,t);return ran(n,e),n},Ype=Wc&&Wc.__spreadArray||function(e,n,t){if(t||arguments.length===2)for(var a=0,r=n.length,o;a<r;a++)(o||!(a in n))&&(o||(o=Array.prototype.slice.call(n,0,a)),o[a]=n[a]);return e.concat(o||Array.prototype.slice.call(n))};Object.defineProperty(Wc,"__esModule",{value:!0});var E3=oan((Wt(),Nh)),Wa=vk(),Ui=S3(),ian=["ArrowRight","ArrowUp","k","PageUp"],uan=["ArrowLeft","ArrowDown","j","PageDown"],lan=function(e){tan(n,e);function n(t){var a=e.call(this,t)||this;if(a.trackRef=E3.createRef(),a.thumbRefs=[],a.state={draggedTrackPos:[-1,-1],draggedThumbIndex:-1,thumbZIndexes:new Array(a.props.values.length).fill(0).map(function(r,o){return o}),isChanged:!1,markOffsets:[]},a.getOffsets=function(){var r=a.props,o=r.direction,i=r.values,u=r.min,l=r.max,c=a.trackRef.current,s=c.getBoundingClientRect(),f=(0,Wa.getPaddingAndBorder)(c);return a.getThumbs().map(function(v,m){var _={x:0,y:0},R=v.getBoundingClientRect(),D=(0,Wa.getMargin)(v);switch(o){case Ui.Direction.Right:return _.x=(D.left+f.left)*-1,_.y=((R.height-s.height)/2+f.top)*-1,_.x+=s.width*(0,Wa.relativeValue)(i[m],u,l)-R.width/2,_;case Ui.Direction.Left:return _.x=(D.right+f.right)*-1,_.y=((R.height-s.height)/2+f.top)*-1,_.x+=s.width-s.width*(0,Wa.relativeValue)(i[m],u,l)-R.width/2,_;case Ui.Direction.Up:return _.x=((R.width-s.width)/2+D.left+f.left)*-1,_.y=-f.left,_.y+=s.height-s.height*(0,Wa.relativeValue)(i[m],u,l)-R.height/2,_;case Ui.Direction.Down:return _.x=((R.width-s.width)/2+D.left+f.left)*-1,_.y=-f.left,_.y+=s.height*(0,Wa.relativeValue)(i[m],u,l)-R.height/2,_;default:return(0,Wa.assertUnreachable)(o)}})},a.getThumbs=function(){return a.trackRef&&a.trackRef.current?Array.from(a.trackRef.current.children).filter(function(r){return r.hasAttribute("aria-valuenow")}):(console.warn("No thumbs found in the track container. Did you forget to pass & spread the `props` param in renderTrack?"),[])},a.getTargetIndex=function(r){return a.getThumbs().findIndex(function(o){return o===r.target||o.contains(r.target)})},a.addTouchEvents=function(r){document.addEventListener("touchmove",a.schdOnTouchMove,{passive:!1}),document.addEventListener("touchend",a.schdOnEnd,{passive:!1}),document.addEventListener("touchcancel",a.schdOnEnd,{passive:!1})},a.addMouseEvents=function(r){document.addEventListener("mousemove",a.schdOnMouseMove),document.addEventListener("mouseup",a.schdOnEnd)},a.onMouseDownTrack=function(r){var o;if(r.button===0)if(r.persist(),r.preventDefault(),a.addMouseEvents(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.clientX,r.clientY]},function(){return a.onMove(r.clientX,r.clientY)})}else{var i=(0,Wa.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,Wa.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,Wa.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,Wa.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),m=c||s===Ui.Direction.Left||s===Ui.Direction.Down?-1:1;v!==-1&&(ian.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Wa.replaceAt)(i,v,a.normalizeValue(i[v]+m*(r.key==="PageUp"?l*10:l),v)))):uan.includes(r.key)?(r.preventDefault(),a.setState({draggedThumbIndex:v,isChanged:!0}),u((0,Wa.replaceAt)(i,v,a.normalizeValue(i[v]-m*(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,m=c.onChange,_=c.values,R=c.step,D=c.rtl;if(u===-1&&l[0]===-1&&l[1]===-1)return null;var y=a.trackRef.current;if(!y)return null;var S=y.getBoundingClientRect(),G=(0,Wa.isVertical)(s)?S.height:S.width;if(l[0]!==-1&&l[1]!==-1){var P=r-l[0],k=o-l[1],M=0;switch(s){case Ui.Direction.Right:case Ui.Direction.Left:M=P/G*(v-f);break;case Ui.Direction.Down:case Ui.Direction.Up:M=k/G*(v-f);break;default:(0,Wa.assertUnreachable)(s)}if(D&&(M*=-1),Math.abs(M)>=R/2){for(var O=0;O<a.thumbRefs.length;O++){if(_[O]===v&&Math.sign(M)===1||_[O]===f&&Math.sign(M)===-1)return;var oe=_[O]+M;oe>v?M=v-_[O]:oe<f&&(M=f-_[O])}for(var le=_.slice(0),O=0;O<a.thumbRefs.length;O++)le=(0,Wa.replaceAt)(le,O,a.normalizeValue(_[O]+M,O));a.setState({draggedTrackPos:[r,o]}),m(le)}}else{var ve=0;switch(s){case Ui.Direction.Right:ve=(r-S.left)/G*(v-f)+f;break;case Ui.Direction.Left:ve=(G-(r-S.left))/G*(v-f)+f;break;case Ui.Direction.Down:ve=(o-S.top)/G*(v-f)+f;break;case Ui.Direction.Up:ve=(G-(o-S.top))/G*(v-f)+f;break;default:(0,Wa.assertUnreachable)(s)}D&&(ve=v+f-ve),Math.abs(_[u]-ve)>=R/2&&m((0,Wa.replaceAt)(_,u,a.normalizeValue(ve,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,Wa.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<a.numOfMarks+1;o++)a.markRefs[o]=E3.createRef()},a.calculateMarkOffsets=function(){if(!(!a.props.renderMark||!a.trackRef||!a.numOfMarks||!a.markRefs||a.trackRef.current===null)){for(var r=window.getComputedStyle(a.trackRef.current),o=parseInt(r.width,10),i=parseInt(r.height,10),u=parseInt(r.paddingLeft,10),l=parseInt(r.paddingTop,10),c=[],s=0;s<a.numOfMarks+1;s++){var f=9999,v=9999;if(a.markRefs[s].current){var m=a.markRefs[s].current.getBoundingClientRect();f=m.height,v=m.width}a.props.direction===Ui.Direction.Left||a.props.direction===Ui.Direction.Right?c.push([Math.round(o/a.numOfMarks*s+u-v/2),-Math.round((f-i)/2)]):c.push([Math.round(i/a.numOfMarks*s+l-f/2),-Math.round((v-o)/2)])}a.setState({markOffsets:c})}},t.step===0)throw new Error('"step" property should be a positive number');return a.schdOnMouseMove=(0,Wa.schd)(a.onMouseMove),a.schdOnTouchMove=(0,Wa.schd)(a.onTouchMove),a.schdOnEnd=(0,Wa.schd)(a.onEnd),a.thumbRefs=t.values.map(function(){return E3.createRef()}),a.updateMarkRefs(t),a}return n.prototype.componentDidMount=function(){var t=this,a=this.props,r=a.values,o=a.min,i=a.step;this.resizeObserver=window.ResizeObserver?new window.ResizeObserver(this.onResize):{observe:function(){return window.addEventListener("resize",t.onResize)},unobserve:function(){return window.removeEventListener("resize",t.onResize)}},document.addEventListener("touchstart",this.onMouseOrTouchStart,{passive:!1}),document.addEventListener("mousedown",this.onMouseOrTouchStart,{passive:!1}),!this.props.allowOverlap&&(0,Wa.checkInitialOverlap)(this.props.values),this.props.values.forEach(function(u){return(0,Wa.checkBoundaries)(u,t.props.min,t.props.max)}),this.resizeObserver.observe(this.trackRef.current),(0,Wa.translateThumbs)(this.getThumbs(),this.getOffsets(),this.props.rtl),this.calculateMarkOffsets(),r.forEach(function(u){(0,Wa.isStepDivisible)(o,u,i)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")})},n.prototype.componentDidUpdate=function(t,a){var r=this.props,o=r.max,i=r.min,u=r.step,l=r.values,c=r.rtl;(t.max!==o||t.min!==i||t.step!==u)&&this.updateMarkRefs(this.props),(0,Wa.translateThumbs)(this.getThumbs(),this.getOffsets(),c),(t.max!==o||t.min!==i||t.step!==u||a.markOffsets.length!==this.state.markOffsets.length)&&(this.calculateMarkOffsets(),l.forEach(function(s){(0,Wa.isStepDivisible)(i,s,u)||console.warn("The `values` property is in conflict with the current `step`, `min`, and `max` properties. Please provide values that are accessible using the min, max, and step values.")}))},n.prototype.componentWillUnmount=function(){var t={passive:!1};document.removeEventListener("mousedown",this.onMouseOrTouchStart,t),document.removeEventListener("mousemove",this.schdOnMouseMove),document.removeEventListener("touchmove",this.schdOnTouchMove),document.removeEventListener("touchstart",this.onMouseOrTouchStart),document.removeEventListener("mouseup",this.schdOnEnd),document.removeEventListener("touchend",this.schdOnEnd),this.resizeObserver.unobserve(this.trackRef.current)},n.prototype.render=function(){var t=this,a=this.props,r=a.renderTrack,o=a.renderThumb,i=a.renderMark,u=i===void 0?function(){return null}:i,l=a.values,c=a.min,s=a.max,f=a.allowOverlap,v=a.disabled,m=this.state,_=m.draggedThumbIndex,R=m.thumbZIndexes,D=m.markOffsets;return r({props:{style:{transform:"scale(1)",cursor:_>-1?"grabbing":this.props.draggableTrack?(0,Wa.isVertical)(this.props.direction)?"ns-resize":"ew-resize":l.length===1&&!v?"pointer":"inherit"},onMouseDown:v?Wa.voidFn:this.onMouseDownTrack,onTouchStart:v?Wa.voidFn:this.onTouchStartTrack,ref:this.trackRef},isDragged:this.state.draggedThumbIndex>-1,disabled:v,children:Ype(Ype([],D.map(function(y,S,G){return u({props:{style:t.props.direction===Ui.Direction.Left||t.props.direction===Ui.Direction.Right?{position:"absolute",left:"".concat(y[0],"px"),marginTop:"".concat(y[1],"px")}:{position:"absolute",top:"".concat(y[0],"px"),marginLeft:"".concat(y[1],"px")},key:"mark".concat(S),ref:t.markRefs[S]},index:S})}),!0),l.map(function(y,S){var G=t.state.draggedThumbIndex===S;return o({index:S,value:y,isDragged:G,props:{style:{position:"absolute",zIndex:R[S],cursor:v?"inherit":G?"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":y,draggable:!1,ref:t.thumbRefs[S],role:"slider",onKeyDown:v?Wa.voidFn:t.onKeyDown,onKeyUp:v?Wa.voidFn:t.onKeyUp}})}),!0)})},n.defaultProps={step:1,direction:Ui.Direction.Right,rtl:!1,disabled:!1,allowOverlap:!1,draggableTrack:!1,min:0,max:100},n}(E3.Component);Wc.default=lan});var Zpe=Pe(ku=>{"use strict";var can=ku&&ku.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ku,"__esModule",{value:!0});ku.checkValuesAgainstBoundaries=ku.relativeValue=ku.useThumbOverlap=ku.Direction=ku.getTrackBackground=ku.Range=void 0;var san=can(Xpe());ku.Range=san.default;var C3=vk();Object.defineProperty(ku,"getTrackBackground",{enumerable:!0,get:function(){return C3.getTrackBackground}});Object.defineProperty(ku,"useThumbOverlap",{enumerable:!0,get:function(){return C3.useThumbOverlap}});Object.defineProperty(ku,"relativeValue",{enumerable:!0,get:function(){return C3.relativeValue}});Object.defineProperty(ku,"checkValuesAgainstBoundaries",{enumerable:!0,get:function(){return C3.checkValuesAgainstBoundaries}});var fan=S3();Object.defineProperty(ku,"Direction",{enumerable:!0,get:function(){return fan.Direction}})});var E_e=Pe(ur=>{"use strict";var fb,TC,x3,Rk;typeof performance=="object"&&typeof performance.now=="function"?(y_e=performance,ur.unstable_now=function(){return y_e.now()}):(wk=Date,b_e=wk.now(),ur.unstable_now=function(){return wk.now()-b_e});var y_e,wk,b_e;typeof window=="undefined"||typeof MessageChannel!="function"?(vb=null,Sk=null,Ek=function(){if(vb!==null)try{var e=ur.unstable_now();vb(!0,e),vb=null}catch(n){throw setTimeout(Ek,0),n}},fb=function(e){vb!==null?setTimeout(fb,0,e):(vb=e,setTimeout(Ek,0))},TC=function(e,n){Sk=setTimeout(e,n)},x3=function(){clearTimeout(Sk)},ur.unstable_shouldYield=function(){return!1},Rk=ur.unstable_forceFrameRate=function(){}):(R_e=window.setTimeout,w_e=window.clearTimeout,typeof console!="undefined"&&(S_e=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 S_e!="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")),FC=!1,MC=null,L3=-1,Ck=5,Ik=0,ur.unstable_shouldYield=function(){return ur.unstable_now()>=Ik},Rk=function(){},ur.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):Ck=0<e?Math.floor(1e3/e):5},Tk=new MessageChannel,j3=Tk.port2,Tk.port1.onmessage=function(){if(MC!==null){var e=ur.unstable_now();Ik=e+Ck;try{MC(!0,e)?j3.postMessage(null):(FC=!1,MC=null)}catch(n){throw j3.postMessage(null),n}}else FC=!1},fb=function(e){MC=e,FC||(FC=!0,j3.postMessage(null))},TC=function(e,n){L3=R_e(function(){e(ur.unstable_now())},n)},x3=function(){w_e(L3),L3=-1});var vb,Sk,Ek,R_e,w_e,S_e,FC,MC,L3,Ck,Ik,Tk,j3;function Fk(e,n){var t=e.length;e.push(n);e:for(;;){var a=t-1>>>1,r=e[a];if(r!==void 0&&0<P3(r,n))e[a]=n,e[t]=r,t=a;else break e}}function vv(e){return e=e[0],e===void 0?null:e}function N3(e){var n=e[0];if(n!==void 0){var t=e.pop();if(t!==n){e[0]=t;e:for(var a=0,r=e.length;a<r;){var o=2*(a+1)-1,i=e[o],u=o+1,l=e[u];if(i!==void 0&&0>P3(i,t))l!==void 0&&0>P3(l,i)?(e[a]=l,e[u]=t,a=u):(e[a]=i,e[o]=t,a=o);else if(l!==void 0&&0>P3(l,t))e[a]=l,e[u]=t,a=u;else break e}}return n}return null}function P3(e,n){var t=e.sortIndex-n.sortIndex;return t!==0?t:e.id-n.id}var T0=[],Z_=[],Ban=1,Js=null,Ou=3,k3=!1,Lg=!1,GC=!1;function Mk(e){for(var n=vv(Z_);n!==null;){if(n.callback===null)N3(Z_);else if(n.startTime<=e)N3(Z_),n.sortIndex=n.expirationTime,Fk(T0,n);else break;n=vv(Z_)}}function Gk(e){if(GC=!1,Mk(e),!Lg)if(vv(T0)!==null)Lg=!0,fb(Ak);else{var n=vv(Z_);n!==null&&TC(Gk,n.startTime-e)}}function Ak(e,n){Lg=!1,GC&&(GC=!1,x3()),k3=!0;var t=Ou;try{for(Mk(n),Js=vv(T0);Js!==null&&(!(Js.expirationTime>n)||e&&!ur.unstable_shouldYield());){var a=Js.callback;if(typeof a=="function"){Js.callback=null,Ou=Js.priorityLevel;var r=a(Js.expirationTime<=n);n=ur.unstable_now(),typeof r=="function"?Js.callback=r:Js===vv(T0)&&N3(T0),Mk(n)}else N3(T0);Js=vv(T0)}if(Js!==null)var o=!0;else{var i=vv(Z_);i!==null&&TC(Gk,i.startTime-n),o=!1}return o}finally{Js=null,Ou=t,k3=!1}}var Jan=Rk;ur.unstable_IdlePriority=5;ur.unstable_ImmediatePriority=1;ur.unstable_LowPriority=4;ur.unstable_NormalPriority=3;ur.unstable_Profiling=null;ur.unstable_UserBlockingPriority=2;ur.unstable_cancelCallback=function(e){e.callback=null};ur.unstable_continueExecution=function(){Lg||k3||(Lg=!0,fb(Ak))};ur.unstable_getCurrentPriorityLevel=function(){return Ou};ur.unstable_getFirstCallbackNode=function(){return vv(T0)};ur.unstable_next=function(e){switch(Ou){case 1:case 2:case 3:var n=3;break;default:n=Ou}var t=Ou;Ou=n;try{return e()}finally{Ou=t}};ur.unstable_pauseExecution=function(){};ur.unstable_requestPaint=Jan;ur.unstable_runWithPriority=function(e,n){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=Ou;Ou=e;try{return n()}finally{Ou=t}};ur.unstable_scheduleCallback=function(e,n,t){var a=ur.unstable_now();switch(typeof t=="object"&&t!==null?(t=t.delay,t=typeof t=="number"&&0<t?a+t:a):t=a,e){case 1:var r=-1;break;case 2:r=250;break;case 5:r=1073741823;break;case 4:r=1e4;break;default:r=5e3}return r=t+r,e={id:Ban++,callback:n,priorityLevel:e,startTime:t,expirationTime:r,sortIndex:-1},t>a?(e.sortIndex=t,Fk(Z_,e),vv(T0)===null&&e===vv(Z_)&&(GC?x3():GC=!0,TC(Gk,t-a))):(e.sortIndex=r,Fk(T0,e),Lg||k3||(Lg=!0,fb(Ak))),e};ur.unstable_wrapCallback=function(e){var n=Ou;return function(){var t=Ou;Ou=n;try{return e.apply(this,arguments)}finally{Ou=t}}}});var I_e=Pe((v5a,C_e)=>{"use strict";C_e.exports=E_e()});var mge=Pe(Qs=>{"use strict";var O3=Mf(),oo=XF(),nu=I_e();function En(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!O3)throw Error(En(227));var T_e=new Set,AC={};function jg(e,n){mb(e,n),mb(e+"Capture",n)}function mb(e,n){for(AC[e]=n,e=0;e<n.length;e++)T_e.add(n[e])}var ap=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Wan=/^[: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]*$/,F_e=Object.prototype.hasOwnProperty,M_e={},G_e={};function qan(e){return F_e.call(G_e,e)?!0:F_e.call(M_e,e)?!1:Wan.test(e)?G_e[e]=!0:(M_e[e]=!0,!1)}function zan(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 $an(e,n,t,a){if(n===null||typeof n=="undefined"||zan(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 vl(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 yu={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){yu[e]=new vl(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];yu[n]=new vl(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){yu[e]=new vl(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){yu[e]=new vl(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){yu[e]=new vl(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){yu[e]=new vl(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){yu[e]=new vl(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){yu[e]=new vl(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){yu[e]=new vl(e,5,!1,e.toLowerCase(),null,!1,!1)});var xk=/[\-:]([a-z])/g;function Lk(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(xk,Lk);yu[n]=new vl(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(xk,Lk);yu[n]=new vl(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(xk,Lk);yu[n]=new vl(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){yu[e]=new vl(e,1,!1,e.toLowerCase(),null,!1,!1)});yu.xlinkHref=new vl("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){yu[e]=new vl(e,1,!1,e.toLowerCase(),null,!0,!0)});function jk(e,n,t,a){var r=yu.hasOwnProperty(n)?yu[n]:null,o=r!==null?r.type===0:a?!1:!(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N");o||($an(n,t,r,a)&&(t=null),a||r===null?qan(n)&&(t===null?e.removeAttribute(n):e.setAttribute(n,""+t)):r.mustUseProperty?e[r.propertyName]=t===null?r.type===3?!1:"":t:(n=r.attributeName,a=r.attributeNamespace,t===null?e.removeAttribute(n):(r=r.type,t=r===3||r===4&&t===!0?"":""+t,a?e.setAttributeNS(a,n,t):e.setAttribute(n,t))))}var Ng=O3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,xC=60103,Pg=60106,K_=60107,Nk=60108,LC=60114,Pk=60109,kk=60110,U3=60112,jC=60113,H3=60120,B3=60115,Ok=60116,Uk=60121,Hk=60128,A_e=60129,Bk=60130,Jk=60131;typeof Symbol=="function"&&Symbol.for&&(Hi=Symbol.for,xC=Hi("react.element"),Pg=Hi("react.portal"),K_=Hi("react.fragment"),Nk=Hi("react.strict_mode"),LC=Hi("react.profiler"),Pk=Hi("react.provider"),kk=Hi("react.context"),U3=Hi("react.forward_ref"),jC=Hi("react.suspense"),H3=Hi("react.suspense_list"),B3=Hi("react.memo"),Ok=Hi("react.lazy"),Uk=Hi("react.block"),Hi("react.scope"),Hk=Hi("react.opaque.id"),A_e=Hi("react.debug_trace_mode"),Bk=Hi("react.offscreen"),Jk=Hi("react.legacy_hidden"));var Hi,x_e=typeof Symbol=="function"&&Symbol.iterator;function NC(e){return e===null||typeof e!="object"?null:(e=x_e&&e[x_e]||e["@@iterator"],typeof e=="function"?e:null)}var Wk;function PC(e){if(Wk===void 0)try{throw Error()}catch(t){var n=t.stack.trim().match(/\n( *(at )?)/);Wk=n&&n[1]||""}return`
`+Wk+e}var qk=!1;function J3(e,n){if(!e||qk)return"";qk=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(l){var a=l}Reflect.construct(e,[],n)}else{try{n.call()}catch(l){a=l}e.call(n.prototype)}else{try{throw Error()}catch(l){a=l}e()}}catch(l){if(l&&a&&typeof l.stack=="string"){for(var r=l.stack.split(`
`),o=a.stack.split(`
`),i=r.length-1,u=o.length-1;1<=i&&0<=u&&r[i]!==o[u];)u--;for(;1<=i&&0<=u;i--,u--)if(r[i]!==o[u]){if(i!==1||u!==1)do if(i--,u--,0>u||r[i]!==o[u])return`
`+r[i].replace(" at new "," at ");while(1<=i&&0<=u);break}}}finally{qk=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?PC(e):""}function Van(e){switch(e.tag){case 5:return PC(e.type);case 16:return PC("Lazy");case 13:return PC("Suspense");case 19:return PC("SuspenseList");case 0:case 2:case 15:return e=J3(e.type,!1),e;case 11:return e=J3(e.type.render,!1),e;case 22:return e=J3(e.type._render,!1),e;case 1:return e=J3(e.type,!0),e;default:return""}}function pb(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 K_:return"Fragment";case Pg:return"Portal";case LC:return"Profiler";case Nk:return"StrictMode";case jC:return"Suspense";case H3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case kk:return(e.displayName||"Context")+".Consumer";case Pk:return(e._context.displayName||"Context")+".Provider";case U3:var n=e.render;return n=n.displayName||n.name||"",e.displayName||(n!==""?"ForwardRef("+n+")":"ForwardRef");case B3:return pb(e.type);case Uk:return pb(e._render);case Ok:n=e._payload,e=e._init;try{return pb(e(n))}catch{}}return null}function ed(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function L_e(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Qan(e){var n=L_e(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 W3(e){e._valueTracker||(e._valueTracker=Qan(e))}function j_e(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),a="";return e&&(a=L_e(e)?e.checked?"true":"false":e.value),e=a,e!==t?(n.setValue(e),!0):!1}function q3(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 zk(e,n){var t=n.checked;return oo({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t!=null?t:e._wrapperState.initialChecked})}function N_e(e,n){var t=n.defaultValue==null?"":n.defaultValue,a=n.checked!=null?n.checked:n.defaultChecked;t=ed(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 P_e(e,n){n=n.checked,n!=null&&jk(e,"checked",n,!1)}function $k(e,n){P_e(e,n);var t=ed(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")?Vk(e,n.type,t):n.hasOwnProperty("defaultValue")&&Vk(e,n.type,ed(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function k_e(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 Vk(e,n,t){(n!=="number"||q3(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}function Yan(e){var n="";return O3.Children.forEach(e,function(t){t!=null&&(n+=t)}),n}function Qk(e,n){return e=oo({children:void 0},n),(n=Yan(n.children))&&(e.children=n),e}function _b(e,n,t,a){if(e=e.options,n){n={};for(var r=0;r<t.length;r++)n["$"+t[r]]=!0;for(t=0;t<e.length;t++)r=n.hasOwnProperty("$"+e[t].value),e[t].selected!==r&&(e[t].selected=r),r&&a&&(e[t].defaultSelected=!0)}else{for(t=""+ed(t),n=null,r=0;r<e.length;r++){if(e[r].value===t){e[r].selected=!0,a&&(e[r].defaultSelected=!0);return}n!==null||e[r].disabled||(n=e[r])}n!==null&&(n.selected=!0)}}function Yk(e,n){if(n.dangerouslySetInnerHTML!=null)throw Error(En(91));return oo({},n,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function O_e(e,n){var t=n.value;if(t==null){if(t=n.children,n=n.defaultValue,t!=null){if(n!=null)throw Error(En(92));if(Array.isArray(t)){if(!(1>=t.length))throw Error(En(93));t=t[0]}n=t}n==null&&(n=""),t=n}e._wrapperState={initialValue:ed(t)}}function U_e(e,n){var t=ed(n.value),a=ed(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 H_e(e){var n=e.textContent;n===e._wrapperState.initialValue&&n!==""&&n!==null&&(e.value=n)}var Xk={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function B_e(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 Zk(e,n){return e==null||e==="http://www.w3.org/1999/xhtml"?B_e(n):e==="http://www.w3.org/2000/svg"&&n==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var z3,J_e=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!==Xk.svg||"innerHTML"in e)e.innerHTML=n;else{for(z3=z3||document.createElement("div"),z3.innerHTML="<svg>"+n.valueOf().toString()+"</svg>",n=z3.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function kC(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var OC={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},Xan=["Webkit","ms","Moz","O"];Object.keys(OC).forEach(function(e){Xan.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),OC[n]=OC[e]})});function W_e(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||OC.hasOwnProperty(e)&&OC[e]?(""+n).trim():n+"px"}function q_e(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var a=t.indexOf("--")===0,r=W_e(t,n[t],a);t==="float"&&(t="cssFloat"),a?e.setProperty(t,r):e[t]=r}}var Zan=oo({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 Kk(e,n){if(n){if(Zan[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(En(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(En(60));if(!(typeof n.dangerouslySetInnerHTML=="object"&&"__html"in n.dangerouslySetInnerHTML))throw Error(En(61))}if(n.style!=null&&typeof n.style!="object")throw Error(En(62))}}function eO(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 nO(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var tO=null,db=null,hb=null;function z_e(e){if(e=aI(e)){if(typeof tO!="function")throw Error(En(280));var n=e.stateNode;n&&(n=mA(n),tO(e.stateNode,e.type,n))}}function $_e(e){db?hb?hb.push(e):hb=[e]:db=e}function V_e(){if(db){var e=db,n=hb;if(hb=db=null,z_e(e),n)for(e=0;e<n.length;e++)z_e(n[e])}}function aO(e,n){return e(n)}function Q_e(e,n,t,a,r){return e(n,t,a,r)}function rO(){}var Y_e=aO,kg=!1,oO=!1;function iO(){(db!==null||hb!==null)&&(rO(),V_e())}function Kan(e,n,t){if(oO)return e(n,t);oO=!0;try{return Y_e(e,n,t)}finally{oO=!1,iO()}}function UC(e,n){var t=e.stateNode;if(t===null)return null;var a=mA(t);if(a===null)return null;t=a[n];e:switch(n){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(e=e.type,a=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!a;break e;default:e=!1}if(e)return null;if(t&&typeof t!="function")throw Error(En(231,n,typeof t));return t}var uO=!1;if(ap)try{gb={},Object.defineProperty(gb,"passive",{get:function(){uO=!0}}),window.addEventListener("test",gb,gb),window.removeEventListener("test",gb,gb)}catch{uO=!1}var gb;function ern(e,n,t,a,r,o,i,u,l){var c=Array.prototype.slice.call(arguments,3);try{n.apply(t,c)}catch(s){this.onError(s)}}var HC=!1,$3=null,V3=!1,lO=null,nrn={onError:function(e){HC=!0,$3=e}};function trn(e,n,t,a,r,o,i,u,l){HC=!1,$3=null,ern.apply(nrn,arguments)}function arn(e,n,t,a,r,o,i,u,l){if(trn.apply(this,arguments),HC){if(HC){var c=$3;HC=!1,$3=null}else throw Error(En(198));V3||(V3=!0,lO=c)}}function Og(e){var n=e,t=e;if(e.alternate)for(;n.return;)n=n.return;else{e=n;do n=e,(n.flags&1026)!=0&&(t=n.return),e=n.return;while(e)}return n.tag===3?t:null}function X_e(e){if(e.tag===13){var n=e.memoizedState;if(n===null&&(e=e.alternate,e!==null&&(n=e.memoizedState)),n!==null)return n.dehydrated}return null}function Z_e(e){if(Og(e)!==e)throw Error(En(188))}function rrn(e){var n=e.alternate;if(!n){if(n=Og(e),n===null)throw Error(En(188));return n!==e?null:e}for(var t=e,a=n;;){var r=t.return;if(r===null)break;var o=r.alternate;if(o===null){if(a=r.return,a!==null){t=a;continue}break}if(r.child===o.child){for(o=r.child;o;){if(o===t)return Z_e(r),e;if(o===a)return Z_e(r),n;o=o.sibling}throw Error(En(188))}if(t.return!==a.return)t=r,a=o;else{for(var i=!1,u=r.child;u;){if(u===t){i=!0,t=r,a=o;break}if(u===a){i=!0,a=r,t=o;break}u=u.sibling}if(!i){for(u=o.child;u;){if(u===t){i=!0,t=o,a=r;break}if(u===a){i=!0,a=o,t=r;break}u=u.sibling}if(!i)throw Error(En(189))}}if(t.alternate!==a)throw Error(En(190))}if(t.tag!==3)throw Error(En(188));return t.stateNode.current===t?e:n}function K_e(e){if(e=rrn(e),!e)return null;for(var n=e;;){if(n.tag===5||n.tag===6)return n;if(n.child)n.child.return=n,n=n.child;else{if(n===e)break;for(;!n.sibling;){if(!n.return||n.return===e)return null;n=n.return}n.sibling.return=n.return,n=n.sibling}}return null}function ede(e,n){for(var t=e.alternate;n!==null;){if(n===e||n===t)return!0;n=n.return}return!1}var nde,cO,tde,ade,sO=!1,F0=[],nd=null,td=null,ad=null,BC=new Map,JC=new Map,WC=[],rde="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function fO(e,n,t,a,r){return{blockedOn:e,domEventName:n,eventSystemFlags:t|16,nativeEvent:r,targetContainers:[a]}}function ode(e,n){switch(e){case"focusin":case"focusout":nd=null;break;case"dragenter":case"dragleave":td=null;break;case"mouseover":case"mouseout":ad=null;break;case"pointerover":case"pointerout":BC.delete(n.pointerId);break;case"gotpointercapture":case"lostpointercapture":JC.delete(n.pointerId)}}function qC(e,n,t,a,r,o){return e===null||e.nativeEvent!==o?(e=fO(n,t,a,r,o),n!==null&&(n=aI(n),n!==null&&cO(n)),e):(e.eventSystemFlags|=a,n=e.targetContainers,r!==null&&n.indexOf(r)===-1&&n.push(r),e)}function orn(e,n,t,a,r){switch(n){case"focusin":return nd=qC(nd,e,n,t,a,r),!0;case"dragenter":return td=qC(td,e,n,t,a,r),!0;case"mouseover":return ad=qC(ad,e,n,t,a,r),!0;case"pointerover":var o=r.pointerId;return BC.set(o,qC(BC.get(o)||null,e,n,t,a,r)),!0;case"gotpointercapture":return o=r.pointerId,JC.set(o,qC(JC.get(o)||null,e,n,t,a,r)),!0}return!1}function irn(e){var n=Ug(e.target);if(n!==null){var t=Og(n);if(t!==null){if(n=t.tag,n===13){if(n=X_e(t),n!==null){e.blockedOn=n,ade(e.lanePriority,function(){nu.unstable_runWithPriority(e.priority,function(){tde(t)})});return}}else if(n===3&&t.stateNode.hydrate){e.blockedOn=t.tag===3?t.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Q3(e){if(e.blockedOn!==null)return!1;for(var n=e.targetContainers;0<n.length;){var t=hO(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t!==null)return n=aI(t),n!==null&&cO(n),e.blockedOn=t,!1;n.shift()}return!0}function ide(e,n,t){Q3(e)&&t.delete(n)}function urn(){for(sO=!1;0<F0.length;){var e=F0[0];if(e.blockedOn!==null){e=aI(e.blockedOn),e!==null&&nde(e);break}for(var n=e.targetContainers;0<n.length;){var t=hO(e.domEventName,e.eventSystemFlags,n[0],e.nativeEvent);if(t!==null){e.blockedOn=t;break}n.shift()}e.blockedOn===null&&F0.shift()}nd!==null&&Q3(nd)&&(nd=null),td!==null&&Q3(td)&&(td=null),ad!==null&&Q3(ad)&&(ad=null),BC.forEach(ide),JC.forEach(ide)}function zC(e,n){e.blockedOn===n&&(e.blockedOn=null,sO||(sO=!0,nu.unstable_scheduleCallback(nu.unstable_NormalPriority,urn)))}function ude(e){function n(r){return zC(r,e)}if(0<F0.length){zC(F0[0],e);for(var t=1;t<F0.length;t++){var a=F0[t];a.blockedOn===e&&(a.blockedOn=null)}}for(nd!==null&&zC(nd,e),td!==null&&zC(td,e),ad!==null&&zC(ad,e),BC.forEach(n),JC.forEach(n),t=0;t<WC.length;t++)a=WC[t],a.blockedOn===e&&(a.blockedOn=null);for(;0<WC.length&&(t=WC[0],t.blockedOn===null);)irn(t),t.blockedOn===null&&WC.shift()}function Y3(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit"+e]="webkit"+n,t["Moz"+e]="moz"+n,t}var Db={animationend:Y3("Animation","AnimationEnd"),animationiteration:Y3("Animation","AnimationIteration"),animationstart:Y3("Animation","AnimationStart"),transitionend:Y3("Transition","TransitionEnd")},vO={},lde={};ap&&(lde=document.createElement("div").style,"AnimationEvent"in window||(delete Db.animationend.animation,delete Db.animationiteration.animation,delete Db.animationstart.animation),"TransitionEvent"in window||delete Db.transitionend.transition);function X3(e){if(vO[e])return vO[e];if(!Db[e])return e;var n=Db[e],t;for(t in n)if(n.hasOwnProperty(t)&&t in lde)return vO[e]=n[t];return e}var cde=X3("animationend"),sde=X3("animationiteration"),fde=X3("animationstart"),vde=X3("transitionend"),mde=new Map,mO=new Map,lrn=["abort","abort",cde,"animationEnd",sde,"animationIteration",fde,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",vde,"transitionEnd","waiting","waiting"];function pO(e,n){for(var t=0;t<e.length;t+=2){var a=e[t],r=e[t+1];r="on"+(r[0].toUpperCase()+r.slice(1)),mO.set(a,n),mde.set(a,r),jg(r,[a])}}var crn=nu.unstable_now;crn();var kr=8;function yb(e){if((1&e)!=0)return kr=15,1;if((2&e)!=0)return kr=14,2;if((4&e)!=0)return kr=13,4;var n=24&e;return n!==0?(kr=12,n):(e&32)!=0?(kr=11,32):(n=192&e,n!==0?(kr=10,n):(e&256)!=0?(kr=9,256):(n=3584&e,n!==0?(kr=8,n):(e&4096)!=0?(kr=7,4096):(n=4186112&e,n!==0?(kr=6,n):(n=62914560&e,n!==0?(kr=5,n):e&67108864?(kr=4,67108864):(e&134217728)!=0?(kr=3,134217728):(n=805306368&e,n!==0?(kr=2,n):(1073741824&e)!=0?(kr=1,1073741824):(kr=8,e))))))}function srn(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function frn(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(En(358,e))}}function $C(e,n){var t=e.pendingLanes;if(t===0)return kr=0;var a=0,r=0,o=e.expiredLanes,i=e.suspendedLanes,u=e.pingedLanes;if(o!==0)a=o,r=kr=15;else if(o=t&134217727,o!==0){var l=o&~i;l!==0?(a=yb(l),r=kr):(u&=o,u!==0&&(a=yb(u),r=kr))}else o=t&~i,o!==0?(a=yb(o),r=kr):u!==0&&(a=yb(u),r=kr);if(a===0)return 0;if(a=31-rd(a),a=t&((0>a?0:1<<a)<<1)-1,n!==0&&n!==a&&(n&i)==0){if(yb(n),r<=kr)return n;kr=r}if(n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=a;0<n;)t=31-rd(n),r=1<<t,a|=e[t],n&=~r;return a}function pde(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Z3(e,n){switch(e){case 15:return 1;case 14:return 2;case 12:return e=bb(24&~n),e===0?Z3(10,n):e;case 10:return e=bb(192&~n),e===0?Z3(8,n):e;case 8:return e=bb(3584&~n),e===0&&(e=bb(4186112&~n),e===0&&(e=512)),e;case 2:return n=bb(805306368&~n),n===0&&(n=268435456),n}throw Error(En(358,e))}function bb(e){return e&-e}function _O(e){for(var n=[],t=0;31>t;t++)n.push(e);return n}function K3(e,n,t){e.pendingLanes|=n;var a=n-1;e.suspendedLanes&=a,e.pingedLanes&=a,e=e.eventTimes,n=31-rd(n),e[n]=t}var rd=Math.clz32?Math.clz32:prn,vrn=Math.log,mrn=Math.LN2;function prn(e){return e===0?32:31-(vrn(e)/mrn|0)|0}var _rn=nu.unstable_UserBlockingPriority,drn=nu.unstable_runWithPriority,eA=!0;function hrn(e,n,t,a){kg||rO();var r=dO,o=kg;kg=!0;try{Q_e(r,e,n,t,a)}finally{(kg=o)||iO()}}function grn(e,n,t,a){drn(_rn,dO.bind(null,e,n,t,a))}function dO(e,n,t,a){if(eA){var r;if((r=(n&4)==0)&&0<F0.length&&-1<rde.indexOf(e))e=fO(null,e,n,t,a),F0.push(e);else{var o=hO(e,n,t,a);if(o===null)r&&ode(e,a);else{if(r){if(-1<rde.indexOf(e)){e=fO(o,e,n,t,a),F0.push(e);return}if(orn(o,e,n,t,a))return;ode(e,a)}Bde(e,n,a,null,t)}}}}function hO(e,n,t,a){var r=nO(a);if(r=Ug(r),r!==null){var o=Og(r);if(o===null)r=null;else{var i=o.tag;if(i===13){if(r=X_e(o),r!==null)return r;r=null}else if(i===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;r=null}else o!==r&&(r=null)}}return Bde(e,n,a,r,t),null}var od=null,gO=null,nA=null;function _de(){if(nA)return nA;var e,n=gO,t=n.length,a,r="value"in od?od.value:od.textContent,o=r.length;for(e=0;e<t&&n[e]===r[e];e++);var i=t-e;for(a=1;a<=i&&n[t-a]===r[o-a];a++);return nA=r.slice(e,1<a?1-a:void 0)}function tA(e){var n=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&n===13&&(e=13)):e=n,e===10&&(e=13),32<=e||e===13?e:0}function aA(){return!0}function dde(){return!1}function zc(e){function n(t,a,r,o,i){this._reactName=t,this._targetInst=r,this.type=a,this.nativeEvent=o,this.target=i,this.currentTarget=null;for(var u in e)e.hasOwnProperty(u)&&(t=e[u],this[u]=t?t(o):o[u]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?aA:dde,this.isPropagationStopped=dde,this}return oo(n.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():typeof t.returnValue!="unknown"&&(t.returnValue=!1),this.isDefaultPrevented=aA)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():typeof t.cancelBubble!="unknown"&&(t.cancelBubble=!0),this.isPropagationStopped=aA)},persist:function(){},isPersistent:aA}),n}var Rb={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},DO=zc(Rb),VC=oo({},Rb,{view:0,detail:0}),Drn=zc(VC),yO,bO,QC,rA=oo({},VC,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:wO,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==QC&&(QC&&e.type==="mousemove"?(yO=e.screenX-QC.screenX,bO=e.screenY-QC.screenY):bO=yO=0,QC=e),yO)},movementY:function(e){return"movementY"in e?e.movementY:bO}}),hde=zc(rA),yrn=oo({},rA,{dataTransfer:0}),brn=zc(yrn),Rrn=oo({},VC,{relatedTarget:0}),RO=zc(Rrn),wrn=oo({},Rb,{animationName:0,elapsedTime:0,pseudoElement:0}),Srn=zc(wrn),Ern=oo({},Rb,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Crn=zc(Ern),Irn=oo({},Rb,{data:0}),gde=zc(Irn),Trn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Frn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Mrn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Grn(e){var n=this.nativeEvent;return n.getModifierState?n.getModifierState(e):(e=Mrn[e])?!!n[e]:!1}function wO(){return Grn}var Arn=oo({},VC,{key:function(e){if(e.key){var n=Trn[e.key]||e.key;if(n!=="Unidentified")return n}return e.type==="keypress"?(e=tA(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Frn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:wO,charCode:function(e){return e.type==="keypress"?tA(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?tA(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xrn=zc(Arn),Lrn=oo({},rA,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Dde=zc(Lrn),jrn=oo({},VC,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:wO}),Nrn=zc(jrn),Prn=oo({},Rb,{propertyName:0,elapsedTime:0,pseudoElement:0}),krn=zc(Prn),Orn=oo({},rA,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Urn=zc(Orn),Hrn=[9,13,27,32],SO=ap&&"CompositionEvent"in window,YC=null;ap&&"documentMode"in document&&(YC=document.documentMode);var Brn=ap&&"TextEvent"in window&&!YC,yde=ap&&(!SO||YC&&8<YC&&11>=YC),bde=String.fromCharCode(32),Rde=!1;function wde(e,n){switch(e){case"keyup":return Hrn.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Sde(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var wb=!1;function Jrn(e,n){switch(e){case"compositionend":return Sde(n);case"keypress":return n.which!==32?null:(Rde=!0,bde);case"textInput":return e=n.data,e===bde&&Rde?null:e;default:return null}}function Wrn(e,n){if(wb)return e==="compositionend"||!SO&&wde(e,n)?(e=_de(),nA=gO=od=null,wb=!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.char.length)return n.char;if(n.which)return String.fromCharCode(n.which)}return null;case"compositionend":return yde&&n.locale!=="ko"?null:n.data;default:return null}}var qrn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ede(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n==="input"?!!qrn[e.type]:n==="textarea"}function Cde(e,n,t,a){$_e(a),n=cA(n,"onChange"),0<n.length&&(t=new DO("onChange","change",null,t,a),e.push({event:t,listeners:n}))}var XC=null,ZC=null;function zrn(e){Pde(e,0)}function oA(e){var n=Tb(e);if(j_e(n))return e}function $rn(e,n){if(e==="change")return n}var Ide=!1;ap&&(ap?(uA="oninput"in document,uA||(EO=document.createElement("div"),EO.setAttribute("oninput","return;"),uA=typeof EO.oninput=="function"),iA=uA):iA=!1,Ide=iA&&(!document.documentMode||9<document.documentMode));var iA,uA,EO;function Tde(){XC&&(XC.detachEvent("onpropertychange",Fde),ZC=XC=null)}function Fde(e){if(e.propertyName==="value"&&oA(ZC)){var n=[];if(Cde(n,ZC,e,nO(e)),e=zrn,kg)e(n);else{kg=!0;try{aO(e,n)}finally{kg=!1,iO()}}}}function Vrn(e,n,t){e==="focusin"?(Tde(),XC=n,ZC=t,XC.attachEvent("onpropertychange",Fde)):e==="focusout"&&Tde()}function Qrn(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return oA(ZC)}function Yrn(e,n){if(e==="click")return oA(n)}function Xrn(e,n){if(e==="input"||e==="change")return oA(n)}function Zrn(e,n){return e===n&&(e!==0||1/e==1/n)||e!==e&&n!==n}var Ws=typeof Object.is=="function"?Object.is:Zrn,Krn=Object.prototype.hasOwnProperty;function KC(e,n){if(Ws(e,n))return!0;if(typeof e!="object"||e===null||typeof n!="object"||n===null)return!1;var t=Object.keys(e),a=Object.keys(n);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++)if(!Krn.call(n,t[a])||!Ws(e[t[a]],n[t[a]]))return!1;return!0}function Mde(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gde(e,n){var t=Mde(e);e=0;for(var a;t;){if(t.nodeType===3){if(a=e+t.textContent.length,e<=n&&a>=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=Mde(t)}}function Ade(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?Ade(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function xde(){for(var e=window,n=q3();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=q3(e.document)}return n}function CO(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 eon=ap&&"documentMode"in document&&11>=document.documentMode,Sb=null,IO=null,eI=null,TO=!1;function Lde(e,n,t){var a=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;TO||Sb==null||Sb!==q3(a)||(a=Sb,"selectionStart"in a&&CO(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}),eI&&KC(eI,a)||(eI=a,a=cA(IO,"onSelect"),0<a.length&&(n=new DO("onSelect","select",null,n,t),e.push({event:n,listeners:a}),n.target=Sb)))}pO("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);pO("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);pO(lrn,2);for(FO="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),lA=0;lA<FO.length;lA++)mO.set(FO[lA],0);var FO,lA;mb("onMouseEnter",["mouseout","mouseover"]);mb("onMouseLeave",["mouseout","mouseover"]);mb("onPointerEnter",["pointerout","pointerover"]);mb("onPointerLeave",["pointerout","pointerover"]);jg("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));jg("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));jg("onBeforeInput",["compositionend","keypress","textInput","paste"]);jg("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));jg("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));jg("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var nI="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jde=new Set("cancel close invalid load scroll toggle".split(" ").concat(nI));function Nde(e,n,t){var a=e.type||"unknown-event";e.currentTarget=t,arn(a,n,void 0,e),e.currentTarget=null}function Pde(e,n){n=(n&4)!=0;for(var t=0;t<e.length;t++){var a=e[t],r=a.event;a=a.listeners;e:{var o=void 0;if(n)for(var i=a.length-1;0<=i;i--){var u=a[i],l=u.instance,c=u.currentTarget;if(u=u.listener,l!==o&&r.isPropagationStopped())break e;Nde(r,u,c),o=l}else for(i=0;i<a.length;i++){if(u=a[i],l=u.instance,c=u.currentTarget,u=u.listener,l!==o&&r.isPropagationStopped())break e;Nde(r,u,c),o=l}}}if(V3)throw e=lO,V3=!1,lO=null,e}function Vr(e,n){var t=Vde(n),a=e+"__bubble";t.has(a)||(Hde(n,e,2,!1),t.add(a))}var kde="_reactListening"+Math.random().toString(36).slice(2);function Ode(e){e[kde]||(e[kde]=!0,T_e.forEach(function(n){jde.has(n)||Ude(n,!1,e,null),Ude(n,!0,e,null)}))}function Ude(e,n,t,a){var r=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=t;if(e==="selectionchange"&&t.nodeType!==9&&(o=t.ownerDocument),a!==null&&!n&&jde.has(e)){if(e!=="scroll")return;r|=2,o=a}var i=Vde(o),u=e+"__"+(n?"capture":"bubble");i.has(u)||(n&&(r|=4),Hde(o,e,r,n),i.add(u))}function Hde(e,n,t,a){var r=mO.get(n);switch(r===void 0?2:r){case 0:r=hrn;break;case 1:r=grn;break;default:r=dO}t=r.bind(null,n,t,e),r=void 0,!uO||n!=="touchstart"&&n!=="touchmove"&&n!=="wheel"||(r=!0),a?r!==void 0?e.addEventListener(n,t,{capture:!0,passive:r}):e.addEventListener(n,t,!0):r!==void 0?e.addEventListener(n,t,{passive:r}):e.addEventListener(n,t,!1)}function Bde(e,n,t,a,r){var o=a;if((n&1)==0&&(n&2)==0&&a!==null)e:for(;;){if(a===null)return;var i=a.tag;if(i===3||i===4){var u=a.stateNode.containerInfo;if(u===r||u.nodeType===8&&u.parentNode===r)break;if(i===4)for(i=a.return;i!==null;){var l=i.tag;if((l===3||l===4)&&(l=i.stateNode.containerInfo,l===r||l.nodeType===8&&l.parentNode===r))return;i=i.return}for(;u!==null;){if(i=Ug(u),i===null)return;if(l=i.tag,l===5||l===6){a=o=i;continue e}u=u.parentNode}}a=a.return}Kan(function(){var c=o,s=nO(t),f=[];e:{var v=mde.get(e);if(v!==void 0){var m=DO,_=e;switch(e){case"keypress":if(tA(t)===0)break e;case"keydown":case"keyup":m=xrn;break;case"focusin":_="focus",m=RO;break;case"focusout":_="blur",m=RO;break;case"beforeblur":case"afterblur":m=RO;break;case"click":if(t.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":m=hde;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":m=brn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":m=Nrn;break;case cde:case sde:case fde:m=Srn;break;case vde:m=krn;break;case"scroll":m=Drn;break;case"wheel":m=Urn;break;case"copy":case"cut":case"paste":m=Crn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":m=Dde}var R=(n&4)!=0,D=!R&&e==="scroll",y=R?v!==null?v+"Capture":null:v;R=[];for(var S=c,G;S!==null;){G=S;var P=G.stateNode;if(G.tag===5&&P!==null&&(G=P,y!==null&&(P=UC(S,y),P!=null&&R.push(tI(S,P,G)))),D)break;S=S.return}0<R.length&&(v=new m(v,_,null,t,s),f.push({event:v,listeners:R}))}}if((n&7)==0){e:{if(v=e==="mouseover"||e==="pointerover",m=e==="mouseout"||e==="pointerout",v&&(n&16)==0&&(_=t.relatedTarget||t.fromElement)&&(Ug(_)||_[Ib]))break e;if((m||v)&&(v=s.window===s?s:(v=s.ownerDocument)?v.defaultView||v.parentWindow:window,m?(_=t.relatedTarget||t.toElement,m=c,_=_?Ug(_):null,_!==null&&(D=Og(_),_!==D||_.tag!==5&&_.tag!==6)&&(_=null)):(m=null,_=c),m!==_)){if(R=hde,P="onMouseLeave",y="onMouseEnter",S="mouse",(e==="pointerout"||e==="pointerover")&&(R=Dde,P="onPointerLeave",y="onPointerEnter",S="pointer"),D=m==null?v:Tb(m),G=_==null?v:Tb(_),v=new R(P,S+"leave",m,t,s),v.target=D,v.relatedTarget=G,P=null,Ug(s)===c&&(R=new R(y,S+"enter",_,t,s),R.target=G,R.relatedTarget=D,P=R),D=P,m&&_)n:{for(R=m,y=_,S=0,G=R;G;G=Eb(G))S++;for(G=0,P=y;P;P=Eb(P))G++;for(;0<S-G;)R=Eb(R),S--;for(;0<G-S;)y=Eb(y),G--;for(;S--;){if(R===y||y!==null&&R===y.alternate)break n;R=Eb(R),y=Eb(y)}R=null}else R=null;m!==null&&Jde(f,v,m,R,!1),_!==null&&D!==null&&Jde(f,D,_,R,!0)}}e:{if(v=c?Tb(c):window,m=v.nodeName&&v.nodeName.toLowerCase(),m==="select"||m==="input"&&v.type==="file")var k=$rn;else if(Ede(v))if(Ide)k=Xrn;else{k=Qrn;var M=Vrn}else(m=v.nodeName)&&m.toLowerCase()==="input"&&(v.type==="checkbox"||v.type==="radio")&&(k=Yrn);if(k&&(k=k(e,c))){Cde(f,k,t,s);break e}M&&M(e,v,c),e==="focusout"&&(M=v._wrapperState)&&M.controlled&&v.type==="number"&&Vk(v,"number",v.value)}switch(M=c?Tb(c):window,e){case"focusin":(Ede(M)||M.contentEditable==="true")&&(Sb=M,IO=c,eI=null);break;case"focusout":eI=IO=Sb=null;break;case"mousedown":TO=!0;break;case"contextmenu":case"mouseup":case"dragend":TO=!1,Lde(f,t,s);break;case"selectionchange":if(eon)break;case"keydown":case"keyup":Lde(f,t,s)}var O;if(SO)e:{switch(e){case"compositionstart":var oe="onCompositionStart";break e;case"compositionend":oe="onCompositionEnd";break e;case"compositionupdate":oe="onCompositionUpdate";break e}oe=void 0}else wb?wde(e,t)&&(oe="onCompositionEnd"):e==="keydown"&&t.keyCode===229&&(oe="onCompositionStart");oe&&(yde&&t.locale!=="ko"&&(wb||oe!=="onCompositionStart"?oe==="onCompositionEnd"&&wb&&(O=_de()):(od=s,gO="value"in od?od.value:od.textContent,wb=!0)),M=cA(c,oe),0<M.length&&(oe=new gde(oe,e,null,t,s),f.push({event:oe,listeners:M}),O?oe.data=O:(O=Sde(t),O!==null&&(oe.data=O)))),(O=Brn?Jrn(e,t):Wrn(e,t))&&(c=cA(c,"onBeforeInput"),0<c.length&&(s=new gde("onBeforeInput","beforeinput",null,t,s),f.push({event:s,listeners:c}),s.data=O))}Pde(f,n)})}function tI(e,n,t){return{instance:e,listener:n,currentTarget:t}}function cA(e,n){for(var t=n+"Capture",a=[];e!==null;){var r=e,o=r.stateNode;r.tag===5&&o!==null&&(r=o,o=UC(e,t),o!=null&&a.unshift(tI(e,o,r)),o=UC(e,n),o!=null&&a.push(tI(e,o,r))),e=e.return}return a}function Eb(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Jde(e,n,t,a,r){for(var o=n._reactName,i=[];t!==null&&t!==a;){var u=t,l=u.alternate,c=u.stateNode;if(l!==null&&l===a)break;u.tag===5&&c!==null&&(u=c,r?(l=UC(t,o),l!=null&&i.unshift(tI(t,l,u))):r||(l=UC(t,o),l!=null&&i.push(tI(t,l,u)))),t=t.return}i.length!==0&&e.push({event:n,listeners:i})}function sA(){}var MO=null,GO=null;function Wde(e,n){switch(e){case"button":case"input":case"select":case"textarea":return!!n.autoFocus}return!1}function AO(e,n){return e==="textarea"||e==="option"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var qde=typeof setTimeout=="function"?setTimeout:void 0,non=typeof clearTimeout=="function"?clearTimeout:void 0;function xO(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function Cb(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break}return e}function zde(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var LO=0;function ton(e){return{$$typeof:Hk,toString:e,valueOf:e}}var fA=Math.random().toString(36).slice(2),id="__reactFiber$"+fA,vA="__reactProps$"+fA,Ib="__reactContainer$"+fA,$de="__reactEvents$"+fA;function Ug(e){var n=e[id];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Ib]||t[id]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=zde(e);e!==null;){if(t=e[id])return t;e=zde(e)}return n}e=t,t=e.parentNode}return null}function aI(e){return e=e[id]||e[Ib],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tb(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(En(33))}function mA(e){return e[vA]||null}function Vde(e){var n=e[$de];return n===void 0&&(n=e[$de]=new Set),n}var jO=[],Fb=-1;function ud(e){return{current:e}}function Qr(e){0>Fb||(e.current=jO[Fb],jO[Fb]=null,Fb--)}function Po(e,n){Fb++,jO[Fb]=e.current,e.current=n}var ld={},Uu=ud(ld),zl=ud(!1),Hg=ld;function Mb(e,n){var t=e.type.contextTypes;if(!t)return ld;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 $l(e){return e=e.childContextTypes,e!=null}function pA(){Qr(zl),Qr(Uu)}function Qde(e,n,t){if(Uu.current!==ld)throw Error(En(168));Po(Uu,n),Po(zl,t)}function Yde(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(En(108,pb(n)||"Unknown",r));return oo({},t,a)}function _A(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ld,Hg=Uu.current,Po(Uu,e),Po(zl,zl.current),!0}function Xde(e,n,t){var a=e.stateNode;if(!a)throw Error(En(169));t?(e=Yde(e,n,Hg),a.__reactInternalMemoizedMergedChildContext=e,Qr(zl),Qr(Uu),Po(Uu,e)):Qr(zl),Po(zl,t)}var NO=null,Bg=null,aon=nu.unstable_runWithPriority,PO=nu.unstable_scheduleCallback,kO=nu.unstable_cancelCallback,ron=nu.unstable_shouldYield,Zde=nu.unstable_requestPaint,OO=nu.unstable_now,oon=nu.unstable_getCurrentPriorityLevel,dA=nu.unstable_ImmediatePriority,Kde=nu.unstable_UserBlockingPriority,ehe=nu.unstable_NormalPriority,nhe=nu.unstable_LowPriority,the=nu.unstable_IdlePriority,UO={},ion=Zde!==void 0?Zde:function(){},rp=null,hA=null,HO=!1,ahe=OO(),Hu=1e4>ahe?OO:function(){return OO()-ahe};function Gb(){switch(oon()){case dA:return 99;case Kde:return 98;case ehe:return 97;case nhe:return 96;case the:return 95;default:throw Error(En(332))}}function rhe(e){switch(e){case 99:return dA;case 98:return Kde;case 97:return ehe;case 96:return nhe;case 95:return the;default:throw Error(En(332))}}function Jg(e,n){return e=rhe(e),aon(e,n)}function rI(e,n,t){return e=rhe(e),PO(e,n,t)}function M0(){if(hA!==null){var e=hA;hA=null,kO(e)}ohe()}function ohe(){if(!HO&&rp!==null){HO=!0;var e=0;try{var n=rp;Jg(99,function(){for(;e<n.length;e++){var t=n[e];do t=t(!0);while(t!==null)}}),rp=null}catch(t){throw rp!==null&&(rp=rp.slice(e+1)),PO(dA,M0),t}finally{HO=!1}}}var uon=Ng.ReactCurrentBatchConfig;function mv(e,n){if(e&&e.defaultProps){n=oo({},n),e=e.defaultProps;for(var t in e)n[t]===void 0&&(n[t]=e[t]);return n}return n}var gA=ud(null),DA=null,Ab=null,yA=null;function BO(){yA=Ab=DA=null}function JO(e){var n=gA.current;Qr(gA),e.type._context._currentValue=n}function ihe(e,n){for(;e!==null;){var t=e.alternate;if((e.childLanes&n)===n){if(t===null||(t.childLanes&n)===n)break;t.childLanes|=n}else e.childLanes|=n,t!==null&&(t.childLanes|=n);e=e.return}}function xb(e,n){DA=e,yA=Ab=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&n)!=0&&(pv=!0),e.firstContext=null)}function qs(e,n){if(yA!==e&&n!==!1&&n!==0)if((typeof n!="number"||n===1073741823)&&(yA=e,n=1073741823),n={context:e,observedBits:n,next:null},Ab===null){if(DA===null)throw Error(En(308));Ab=n,DA.dependencies={lanes:0,firstContext:n,responders:null}}else Ab=Ab.next=n;return e._currentValue}var cd=!1;function WO(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function uhe(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function sd(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function fd(e,n){if(e=e.updateQueue,e!==null){e=e.shared;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}}function lhe(e,n){var t=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,t===a)){var r=null,o=null;if(t=t.firstBaseUpdate,t!==null){do{var i={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};o===null?r=o=i:o=o.next=i,t=t.next}while(t!==null);o===null?r=o=n:o=o.next=n}else r=o=n;t={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:o,shared:a.shared,effects:a.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function oI(e,n,t,a){var r=e.updateQueue;cd=!1;var o=r.firstBaseUpdate,i=r.lastBaseUpdate,u=r.shared.pending;if(u!==null){r.shared.pending=null;var l=u,c=l.next;l.next=null,i===null?o=c:i.next=c,i=l;var s=e.alternate;if(s!==null){s=s.updateQueue;var f=s.lastBaseUpdate;f!==i&&(f===null?s.firstBaseUpdate=c:f.next=c,s.lastBaseUpdate=l)}}if(o!==null){f=r.baseState,i=0,s=c=l=null;do{u=o.lane;var v=o.eventTime;if((a&u)===u){s!==null&&(s=s.next={eventTime:v,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,_=o;switch(u=n,v=t,_.tag){case 1:if(m=_.payload,typeof m=="function"){f=m.call(v,f,u);break e}f=m;break e;case 3:m.flags=m.flags&-4097|64;case 0:if(m=_.payload,u=typeof m=="function"?m.call(v,f,u):m,u==null)break e;f=oo({},f,u);break e;case 2:cd=!0}}o.callback!==null&&(e.flags|=32,u=r.effects,u===null?r.effects=[o]:u.push(o))}else v={eventTime:v,lane:u,tag:o.tag,payload:o.payload,callback:o.callback,next:null},s===null?(c=s=v,l=f):s=s.next=v,i|=u;if(o=o.next,o===null){if(u=r.shared.pending,u===null)break;o=u.next,u.next=null,r.lastBaseUpdate=u,r.shared.pending=null}}while(1);s===null&&(l=f),r.baseState=l,r.firstBaseUpdate=c,r.lastBaseUpdate=s,hI|=i,e.lanes=i,e.memoizedState=f}}function che(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;n<e.length;n++){var a=e[n],r=a.callback;if(r!==null){if(a.callback=null,a=t,typeof r!="function")throw Error(En(191,r));r.call(a)}}}var she=new O3.Component().refs;function bA(e,n,t,a){n=e.memoizedState,t=t(a,n),t=t==null?n:oo({},n,t),e.memoizedState=t,e.lanes===0&&(e.updateQueue.baseState=t)}var RA={isMounted:function(e){return(e=e._reactInternals)?Og(e)===e:!1},enqueueSetState:function(e,n,t){e=e._reactInternals;var a=$c(),r=pd(e),o=sd(a,r);o.payload=n,t!=null&&(o.callback=t),fd(e,o),_d(e,r,a)},enqueueReplaceState:function(e,n,t){e=e._reactInternals;var a=$c(),r=pd(e),o=sd(a,r);o.tag=1,o.payload=n,t!=null&&(o.callback=t),fd(e,o),_d(e,r,a)},enqueueForceUpdate:function(e,n){e=e._reactInternals;var t=$c(),a=pd(e),r=sd(t,a);r.tag=2,n!=null&&(r.callback=n),fd(e,r),_d(e,a,t)}};function fhe(e,n,t,a,r,o,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(a,o,i):n.prototype&&n.prototype.isPureReactComponent?!KC(t,a)||!KC(r,o):!0}function vhe(e,n,t){var a=!1,r=ld,o=n.contextType;return typeof o=="object"&&o!==null?o=qs(o):(r=$l(n)?Hg:Uu.current,a=n.contextTypes,o=(a=a!=null)?Mb(e,r):ld),n=new n(t,o),e.memoizedState=n.state!==null&&n.state!==void 0?n.state:null,n.updater=RA,e.stateNode=n,n._reactInternals=e,a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=o),n}function mhe(e,n,t,a){e=n.state,typeof n.componentWillReceiveProps=="function"&&n.componentWillReceiveProps(t,a),typeof n.UNSAFE_componentWillReceiveProps=="function"&&n.UNSAFE_componentWillReceiveProps(t,a),n.state!==e&&RA.enqueueReplaceState(n,n.state,null)}function qO(e,n,t,a){var r=e.stateNode;r.props=t,r.state=e.memoizedState,r.refs=she,WO(e);var o=n.contextType;typeof o=="object"&&o!==null?r.context=qs(o):(o=$l(n)?Hg:Uu.current,r.context=Mb(e,o)),oI(e,t,r,a),r.state=e.memoizedState,o=n.getDerivedStateFromProps,typeof o=="function"&&(bA(e,n,o,t),r.state=e.memoizedState),typeof n.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(n=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),n!==r.state&&RA.enqueueReplaceState(r,r.state,null),oI(e,t,r,a),r.state=e.memoizedState),typeof r.componentDidMount=="function"&&(e.flags|=4)}var wA=Array.isArray;function iI(e,n,t){if(e=t.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(t._owner){if(t=t._owner,t){if(t.tag!==1)throw Error(En(309));var a=t.stateNode}if(!a)throw Error(En(147,e));var r=""+e;return n!==null&&n.ref!==null&&typeof n.ref=="function"&&n.ref._stringRef===r?n.ref:(n=function(o){var i=a.refs;i===she&&(i=a.refs={}),o===null?delete i[r]:i[r]=o},n._stringRef=r,n)}if(typeof e!="string")throw Error(En(284));if(!t._owner)throw Error(En(290,e))}return e}function SA(e,n){if(e.type!=="textarea")throw Error(En(31,Object.prototype.toString.call(n)==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":n))}function phe(e){function n(D,y){if(e){var S=D.lastEffect;S!==null?(S.nextEffect=y,D.lastEffect=y):D.firstEffect=D.lastEffect=y,y.nextEffect=null,y.flags=8}}function t(D,y){if(!e)return null;for(;y!==null;)n(D,y),y=y.sibling;return null}function a(D,y){for(D=new Map;y!==null;)y.key!==null?D.set(y.key,y):D.set(y.index,y),y=y.sibling;return D}function r(D,y){return D=gd(D,y),D.index=0,D.sibling=null,D}function o(D,y,S){return D.index=S,e?(S=D.alternate,S!==null?(S=S.index,S<y?(D.flags=2,y):S):(D.flags=2,y)):y}function i(D){return e&&D.alternate===null&&(D.flags=2),D}function u(D,y,S,G){return y===null||y.tag!==6?(y=IU(S,D.mode,G),y.return=D,y):(y=r(y,S),y.return=D,y)}function l(D,y,S,G){return y!==null&&y.elementType===S.type?(G=r(y,S.props),G.ref=iI(D,y,S),G.return=D,G):(G=BA(S.type,S.key,S.props,null,D.mode,G),G.ref=iI(D,y,S),G.return=D,G)}function c(D,y,S,G){return y===null||y.tag!==4||y.stateNode.containerInfo!==S.containerInfo||y.stateNode.implementation!==S.implementation?(y=TU(S,D.mode,G),y.return=D,y):(y=r(y,S.children||[]),y.return=D,y)}function s(D,y,S,G,P){return y===null||y.tag!==7?(y=Hb(S,D.mode,G,P),y.return=D,y):(y=r(y,S),y.return=D,y)}function f(D,y,S){if(typeof y=="string"||typeof y=="number")return y=IU(""+y,D.mode,S),y.return=D,y;if(typeof y=="object"&&y!==null){switch(y.$$typeof){case xC:return S=BA(y.type,y.key,y.props,null,D.mode,S),S.ref=iI(D,null,y),S.return=D,S;case Pg:return y=TU(y,D.mode,S),y.return=D,y}if(wA(y)||NC(y))return y=Hb(y,D.mode,S,null),y.return=D,y;SA(D,y)}return null}function v(D,y,S,G){var P=y!==null?y.key:null;if(typeof S=="string"||typeof S=="number")return P!==null?null:u(D,y,""+S,G);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case xC:return S.key===P?S.type===K_?s(D,y,S.props.children,G,P):l(D,y,S,G):null;case Pg:return S.key===P?c(D,y,S,G):null}if(wA(S)||NC(S))return P!==null?null:s(D,y,S,G,null);SA(D,S)}return null}function m(D,y,S,G,P){if(typeof G=="string"||typeof G=="number")return D=D.get(S)||null,u(y,D,""+G,P);if(typeof G=="object"&&G!==null){switch(G.$$typeof){case xC:return D=D.get(G.key===null?S:G.key)||null,G.type===K_?s(y,D,G.props.children,P,G.key):l(y,D,G,P);case Pg:return D=D.get(G.key===null?S:G.key)||null,c(y,D,G,P)}if(wA(G)||NC(G))return D=D.get(S)||null,s(y,D,G,P,null);SA(y,G)}return null}function _(D,y,S,G){for(var P=null,k=null,M=y,O=y=0,oe=null;M!==null&&O<S.length;O++){M.index>O?(oe=M,M=null):oe=M.sibling;var le=v(D,M,S[O],G);if(le===null){M===null&&(M=oe);break}e&&M&&le.alternate===null&&n(D,M),y=o(le,y,O),k===null?P=le:k.sibling=le,k=le,M=oe}if(O===S.length)return t(D,M),P;if(M===null){for(;O<S.length;O++)M=f(D,S[O],G),M!==null&&(y=o(M,y,O),k===null?P=M:k.sibling=M,k=M);return P}for(M=a(D,M);O<S.length;O++)oe=m(M,D,O,S[O],G),oe!==null&&(e&&oe.alternate!==null&&M.delete(oe.key===null?O:oe.key),y=o(oe,y,O),k===null?P=oe:k.sibling=oe,k=oe);return e&&M.forEach(function(ve){return n(D,ve)}),P}function R(D,y,S,G){var P=NC(S);if(typeof P!="function")throw Error(En(150));if(S=P.call(S),S==null)throw Error(En(151));for(var k=P=null,M=y,O=y=0,oe=null,le=S.next();M!==null&&!le.done;O++,le=S.next()){M.index>O?(oe=M,M=null):oe=M.sibling;var ve=v(D,M,le.value,G);if(ve===null){M===null&&(M=oe);break}e&&M&&ve.alternate===null&&n(D,M),y=o(ve,y,O),k===null?P=ve:k.sibling=ve,k=ve,M=oe}if(le.done)return t(D,M),P;if(M===null){for(;!le.done;O++,le=S.next())le=f(D,le.value,G),le!==null&&(y=o(le,y,O),k===null?P=le:k.sibling=le,k=le);return P}for(M=a(D,M);!le.done;O++,le=S.next())le=m(M,D,O,le.value,G),le!==null&&(e&&le.alternate!==null&&M.delete(le.key===null?O:le.key),y=o(le,y,O),k===null?P=le:k.sibling=le,k=le);return e&&M.forEach(function(X){return n(D,X)}),P}return function(D,y,S,G){var P=typeof S=="object"&&S!==null&&S.type===K_&&S.key===null;P&&(S=S.props.children);var k=typeof S=="object"&&S!==null;if(k)switch(S.$$typeof){case xC:e:{for(k=S.key,P=y;P!==null;){if(P.key===k){switch(P.tag){case 7:if(S.type===K_){t(D,P.sibling),y=r(P,S.props.children),y.return=D,D=y;break e}break;default:if(P.elementType===S.type){t(D,P.sibling),y=r(P,S.props),y.ref=iI(D,P,S),y.return=D,D=y;break e}}t(D,P);break}else n(D,P);P=P.sibling}S.type===K_?(y=Hb(S.props.children,D.mode,G,S.key),y.return=D,D=y):(G=BA(S.type,S.key,S.props,null,D.mode,G),G.ref=iI(D,y,S),G.return=D,D=G)}return i(D);case Pg:e:{for(P=S.key;y!==null;){if(y.key===P)if(y.tag===4&&y.stateNode.containerInfo===S.containerInfo&&y.stateNode.implementation===S.implementation){t(D,y.sibling),y=r(y,S.children||[]),y.return=D,D=y;break e}else{t(D,y);break}else n(D,y);y=y.sibling}y=TU(S,D.mode,G),y.return=D,D=y}return i(D)}if(typeof S=="string"||typeof S=="number")return S=""+S,y!==null&&y.tag===6?(t(D,y.sibling),y=r(y,S),y.return=D,D=y):(t(D,y),y=IU(S,D.mode,G),y.return=D,D=y),i(D);if(wA(S))return _(D,y,S,G);if(NC(S))return R(D,y,S,G);if(k&&SA(D,S),typeof S=="undefined"&&!P)switch(D.tag){case 1:case 22:case 0:case 11:case 15:throw Error(En(152,pb(D.type)||"Component"))}return t(D,y)}}var EA=phe(!0),_he=phe(!1),uI={},G0=ud(uI),lI=ud(uI),cI=ud(uI);function Wg(e){if(e===uI)throw Error(En(174));return e}function zO(e,n){switch(Po(cI,n),Po(lI,e),Po(G0,uI),e=n.nodeType,e){case 9:case 11:n=(n=n.documentElement)?n.namespaceURI:Zk(null,"");break;default:e=e===8?n.parentNode:n,n=e.namespaceURI||null,e=e.tagName,n=Zk(n,e)}Qr(G0),Po(G0,n)}function Lb(){Qr(G0),Qr(lI),Qr(cI)}function dhe(e){Wg(cI.current);var n=Wg(G0.current),t=Zk(n,e.type);n!==t&&(Po(lI,e),Po(G0,t))}function $O(e){lI.current===e&&(Qr(G0),Qr(lI))}var ko=ud(0);function CA(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 op=null,vd=null,A0=!1;function hhe(e,n){var t=Vs(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 ghe(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 VO(e){if(A0){var n=vd;if(n){var t=n;if(!ghe(e,n)){if(n=Cb(t.nextSibling),!n||!ghe(e,n)){e.flags=e.flags&-1025|2,A0=!1,op=e;return}hhe(op,t)}op=e,vd=Cb(n.firstChild)}else e.flags=e.flags&-1025|2,A0=!1,op=e}}function Dhe(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;op=e}function IA(e){if(e!==op)return!1;if(!A0)return Dhe(e),A0=!0,!1;var n=e.type;if(e.tag!==5||n!=="head"&&n!=="body"&&!AO(n,e.memoizedProps))for(n=vd;n;)hhe(e,n),n=Cb(n.nextSibling);if(Dhe(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(En(317));e:{for(e=e.nextSibling,n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="/$"){if(n===0){vd=Cb(e.nextSibling);break e}n--}else t!=="$"&&t!=="$!"&&t!=="$?"||n++}e=e.nextSibling}vd=null}}else vd=op?Cb(e.stateNode.nextSibling):null;return!0}function QO(){vd=op=null,A0=!1}var jb=[];function YO(){for(var e=0;e<jb.length;e++)jb[e]._workInProgressVersionPrimary=null;jb.length=0}var sI=Ng.ReactCurrentDispatcher,zs=Ng.ReactCurrentBatchConfig,fI=0,ni=null,Bu=null,bu=null,TA=!1,vI=!1;function Vl(){throw Error(En(321))}function XO(e,n){if(n===null)return!1;for(var t=0;t<n.length&&t<e.length;t++)if(!Ws(e[t],n[t]))return!1;return!0}function ZO(e,n,t,a,r,o){if(fI=o,ni=n,n.memoizedState=null,n.updateQueue=null,n.lanes=0,sI.current=e===null||e.memoizedState===null?con:son,e=t(a,r),vI){o=0;do{if(vI=!1,!(25>o))throw Error(En(301));o+=1,bu=Bu=null,n.updateQueue=null,sI.current=fon,e=t(a,r)}while(vI)}if(sI.current=AA,n=Bu!==null&&Bu.next!==null,fI=0,bu=Bu=ni=null,TA=!1,n)throw Error(En(300));return e}function qg(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return bu===null?ni.memoizedState=bu=e:bu=bu.next=e,bu}function zg(){if(Bu===null){var e=ni.alternate;e=e!==null?e.memoizedState:null}else e=Bu.next;var n=bu===null?ni.memoizedState:bu.next;if(n!==null)bu=n,Bu=e;else{if(e===null)throw Error(En(310));Bu=e,e={memoizedState:Bu.memoizedState,baseState:Bu.baseState,baseQueue:Bu.baseQueue,queue:Bu.queue,next:null},bu===null?ni.memoizedState=bu=e:bu=bu.next=e}return bu}function x0(e,n){return typeof n=="function"?n(e):n}function mI(e){var n=zg(),t=n.queue;if(t===null)throw Error(En(311));t.lastRenderedReducer=e;var a=Bu,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((fI&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,ni.lanes|=c,hI|=c}l=l.next}while(l!==null&&l!==r);u===null?o=a:u.next=i,Ws(a,n.memoizedState)||(pv=!0),n.memoizedState=a,n.baseState=o,n.baseQueue=u,t.lastRenderedState=a}return[n.memoizedState,t.dispatch]}function pI(e){var n=zg(),t=n.queue;if(t===null)throw Error(En(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);Ws(o,n.memoizedState)||(pv=!0),n.memoizedState=o,n.baseQueue===null&&(n.baseState=o),t.lastRenderedState=o}return[o,a]}function yhe(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=(fI&e)===e)&&(n._workInProgressVersionPrimary=a,jb.push(n))),e)return t(n._source);throw jb.push(n),Error(En(350))}function bhe(e,n,t,a){var r=ml;if(r===null)throw Error(En(349));var o=n._getVersion,i=o(n._source),u=sI.current,l=u.useState(function(){return yhe(r,n,t)}),c=l[1],s=l[0];l=bu;var f=e.memoizedState,v=f.refs,m=v.getSnapshot,_=f.source;f=f.subscribe;var R=ni;return e.memoizedState={refs:v,source:n,subscribe:a},u.useEffect(function(){v.getSnapshot=t,v.setSnapshot=c;var D=o(n._source);if(!Ws(i,D)){D=t(n._source),Ws(s,D)||(c(D),D=pd(R),r.mutableReadLanes|=D&r.pendingLanes),D=r.mutableReadLanes,r.entangledLanes|=D;for(var y=r.entanglements,S=D;0<S;){var G=31-rd(S),P=1<<G;y[G]|=D,S&=~P}}},[t,n,a]),u.useEffect(function(){return a(n._source,function(){var D=v.getSnapshot,y=v.setSnapshot;try{y(D(n._source));var S=pd(R);r.mutableReadLanes|=S&r.pendingLanes}catch(G){y(function(){throw G})}})},[n,a]),Ws(m,t)&&Ws(_,n)&&Ws(f,a)||(e={pending:null,dispatch:null,lastRenderedReducer:x0,lastRenderedState:s},e.dispatch=c=tU.bind(null,ni,e),l.queue=e,l.baseQueue=null,s=yhe(r,n,t),l.memoizedState=l.baseState=s),s}function Rhe(e,n,t){var a=zg();return bhe(a,e,n,t)}function _I(e){var n=qg();return typeof e=="function"&&(e=e()),n.memoizedState=n.baseState=e,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:x0,lastRenderedState:e},e=e.dispatch=tU.bind(null,ni,e),[n.memoizedState,e]}function FA(e,n,t,a){return e={tag:e,create:n,destroy:t,deps:a,next:null},n=ni.updateQueue,n===null?(n={lastEffect:null},ni.updateQueue=n,n.lastEffect=e.next=e):(t=n.lastEffect,t===null?n.lastEffect=e.next=e:(a=t.next,t.next=e,e.next=a,n.lastEffect=e)),e}function whe(e){var n=qg();return e={current:e},n.memoizedState=e}function MA(){return zg().memoizedState}function KO(e,n,t,a){var r=qg();ni.flags|=e,r.memoizedState=FA(1|n,t,void 0,a===void 0?null:a)}function eU(e,n,t,a){var r=zg();a=a===void 0?null:a;var o=void 0;if(Bu!==null){var i=Bu.memoizedState;if(o=i.destroy,a!==null&&XO(a,i.deps)){FA(n,t,o,a);return}}ni.flags|=e,r.memoizedState=FA(1|n,t,o,a)}function She(e,n){return KO(516,4,e,n)}function GA(e,n){return eU(516,4,e,n)}function Ehe(e,n){return eU(4,2,e,n)}function Che(e,n){if(typeof n=="function")return e=e(),n(e),function(){n(null)};if(n!=null)return e=e(),n.current=e,function(){n.current=null}}function Ihe(e,n,t){return t=t!=null?t.concat([e]):null,eU(4,2,Che.bind(null,n,e),t)}function nU(){}function The(e,n){var t=zg();n=n===void 0?null:n;var a=t.memoizedState;return a!==null&&n!==null&&XO(n,a[1])?a[0]:(t.memoizedState=[e,n],e)}function Fhe(e,n){var t=zg();n=n===void 0?null:n;var a=t.memoizedState;return a!==null&&n!==null&&XO(n,a[1])?a[0]:(e=e(),t.memoizedState=[e,n],e)}function lon(e,n){var t=Gb();Jg(98>t?98:t,function(){e(!0)}),Jg(97<t?97:t,function(){var a=zs.transition;zs.transition=1;try{e(!1),n()}finally{zs.transition=a}})}function tU(e,n,t){var a=$c(),r=pd(e),o={lane:r,action:t,eagerReducer:null,eagerState:null,next:null},i=n.pending;if(i===null?o.next=o:(o.next=i.next,i.next=o),n.pending=o,i=e.alternate,e===ni||i!==null&&i===ni)vI=TA=!0;else{if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,l=i(u,t);if(o.eagerReducer=i,o.eagerState=l,Ws(l,u))return}catch{}finally{}_d(e,r,a)}}var AA={readContext:qs,useCallback:Vl,useContext:Vl,useEffect:Vl,useImperativeHandle:Vl,useLayoutEffect:Vl,useMemo:Vl,useReducer:Vl,useRef:Vl,useState:Vl,useDebugValue:Vl,useDeferredValue:Vl,useTransition:Vl,useMutableSource:Vl,useOpaqueIdentifier:Vl,unstable_isNewReconciler:!1},con={readContext:qs,useCallback:function(e,n){return qg().memoizedState=[e,n===void 0?null:n],e},useContext:qs,useEffect:She,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,KO(4,2,Che.bind(null,n,e),t)},useLayoutEffect:function(e,n){return KO(4,2,e,n)},useMemo:function(e,n){var t=qg();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var a=qg();return n=t!==void 0?t(n):n,a.memoizedState=a.baseState=n,e=a.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},e=e.dispatch=tU.bind(null,ni,e),[a.memoizedState,e]},useRef:whe,useState:_I,useDebugValue:nU,useDeferredValue:function(e){var n=_I(e),t=n[0],a=n[1];return She(function(){var r=zs.transition;zs.transition=1;try{a(e)}finally{zs.transition=r}},[e]),t},useTransition:function(){var e=_I(!1),n=e[0];return e=lon.bind(null,e[1]),whe(e),[e,n]},useMutableSource:function(e,n,t){var a=qg();return a.memoizedState={refs:{getSnapshot:n,setSnapshot:null},source:e,subscribe:t},bhe(a,e,n,t)},useOpaqueIdentifier:function(){if(A0){var e=!1,n=ton(function(){throw e||(e=!0,t("r:"+(LO++).toString(36))),Error(En(355))}),t=_I(n)[1];return(ni.mode&2)==0&&(ni.flags|=516,FA(5,function(){t("r:"+(LO++).toString(36))},void 0,null)),n}return n="r:"+(LO++).toString(36),_I(n),n},unstable_isNewReconciler:!1},son={readContext:qs,useCallback:The,useContext:qs,useEffect:GA,useImperativeHandle:Ihe,useLayoutEffect:Ehe,useMemo:Fhe,useReducer:mI,useRef:MA,useState:function(){return mI(x0)},useDebugValue:nU,useDeferredValue:function(e){var n=mI(x0),t=n[0],a=n[1];return GA(function(){var r=zs.transition;zs.transition=1;try{a(e)}finally{zs.transition=r}},[e]),t},useTransition:function(){var e=mI(x0)[0];return[MA().current,e]},useMutableSource:Rhe,useOpaqueIdentifier:function(){return mI(x0)[0]},unstable_isNewReconciler:!1},fon={readContext:qs,useCallback:The,useContext:qs,useEffect:GA,useImperativeHandle:Ihe,useLayoutEffect:Ehe,useMemo:Fhe,useReducer:pI,useRef:MA,useState:function(){return pI(x0)},useDebugValue:nU,useDeferredValue:function(e){var n=pI(x0),t=n[0],a=n[1];return GA(function(){var r=zs.transition;zs.transition=1;try{a(e)}finally{zs.transition=r}},[e]),t},useTransition:function(){var e=pI(x0)[0];return[MA().current,e]},useMutableSource:Rhe,useOpaqueIdentifier:function(){return pI(x0)[0]},unstable_isNewReconciler:!1},von=Ng.ReactCurrentOwner,pv=!1;function Ql(e,n,t,a){n.child=e===null?_he(n,null,t,a):EA(n,e.child,t,a)}function Mhe(e,n,t,a,r){t=t.render;var o=n.ref;return xb(n,r),a=ZO(e,n,t,a,o,r),e!==null&&!pv?(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~r,ip(e,n,r)):(n.flags|=1,Ql(e,n,a,r),n.child)}function Ghe(e,n,t,a,r,o){if(e===null){var i=t.type;return typeof i=="function"&&!EU(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,Ahe(e,n,i,a,r,o)):(e=BA(t.type,null,a,n,n.mode,o),e.ref=n.ref,e.return=n,n.child=e)}return i=e.child,(r&o)==0&&(r=i.memoizedProps,t=t.compare,t=t!==null?t:KC,t(r,a)&&e.ref===n.ref)?ip(e,n,o):(n.flags|=1,e=gd(i,a),e.ref=n.ref,e.return=n,n.child=e)}function Ahe(e,n,t,a,r,o){if(e!==null&&KC(e.memoizedProps,a)&&e.ref===n.ref)if(pv=!1,(o&r)!=0)(e.flags&16384)!=0&&(pv=!0);else return n.lanes=e.lanes,ip(e,n,o);return rU(e,n,t,a,o)}function aU(e,n,t){var a=n.pendingProps,r=a.children,o=e!==null?e.memoizedState:null;if(a.mode==="hidden"||a.mode==="unstable-defer-without-hiding")if((n.mode&4)==0)n.memoizedState={baseLanes:0},HA(n,t);else if((t&1073741824)!=0)n.memoizedState={baseLanes:0},HA(n,o!==null?o.baseLanes:t);else return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e},HA(n,e),null;else o!==null?(a=o.baseLanes|t,n.memoizedState=null):a=t,HA(n,a);return Ql(e,n,r,t),n.child}function xhe(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=128)}function rU(e,n,t,a,r){var o=$l(t)?Hg:Uu.current;return o=Mb(n,o),xb(n,r),t=ZO(e,n,t,a,o,r),e!==null&&!pv?(n.updateQueue=e.updateQueue,n.flags&=-517,e.lanes&=~r,ip(e,n,r)):(n.flags|=1,Ql(e,n,t,r),n.child)}function Lhe(e,n,t,a,r){if($l(t)){var o=!0;_A(n)}else o=!1;if(xb(n,r),n.stateNode===null)e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),vhe(n,t,a),qO(n,t,a,r),a=!0;else if(e===null){var i=n.stateNode,u=n.memoizedProps;i.props=u;var l=i.context,c=t.contextType;typeof c=="object"&&c!==null?c=qs(c):(c=$l(t)?Hg:Uu.current,c=Mb(n,c));var s=t.getDerivedStateFromProps,f=typeof s=="function"||typeof i.getSnapshotBeforeUpdate=="function";f||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==a||l!==c)&&mhe(n,i,a,c),cd=!1;var v=n.memoizedState;i.state=v,oI(n,a,i,r),l=n.memoizedState,u!==a||v!==l||zl.current||cd?(typeof s=="function"&&(bA(n,t,s,a),l=n.memoizedState),(u=cd||fhe(n,t,u,a,v,l,c))?(f||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount()),typeof i.componentDidMount=="function"&&(n.flags|=4)):(typeof i.componentDidMount=="function"&&(n.flags|=4),n.memoizedProps=a,n.memoizedState=l),i.props=a,i.state=l,i.context=c,a=u):(typeof i.componentDidMount=="function"&&(n.flags|=4),a=!1)}else{i=n.stateNode,uhe(e,n),u=n.memoizedProps,c=n.type===n.elementType?u:mv(n.type,u),i.props=c,f=n.pendingProps,v=i.context,l=t.contextType,typeof l=="object"&&l!==null?l=qs(l):(l=$l(t)?Hg:Uu.current,l=Mb(n,l));var m=t.getDerivedStateFromProps;(s=typeof m=="function"||typeof i.getSnapshotBeforeUpdate=="function")||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(u!==f||v!==l)&&mhe(n,i,a,l),cd=!1,v=n.memoizedState,i.state=v,oI(n,a,i,r);var _=n.memoizedState;u!==f||v!==_||zl.current||cd?(typeof m=="function"&&(bA(n,t,m,a),_=n.memoizedState),(c=cd||fhe(n,t,c,a,v,_,l))?(s||typeof i.UNSAFE_componentWillUpdate!="function"&&typeof i.componentWillUpdate!="function"||(typeof i.componentWillUpdate=="function"&&i.componentWillUpdate(a,_,l),typeof i.UNSAFE_componentWillUpdate=="function"&&i.UNSAFE_componentWillUpdate(a,_,l)),typeof i.componentDidUpdate=="function"&&(n.flags|=4),typeof i.getSnapshotBeforeUpdate=="function"&&(n.flags|=256)):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(n.flags|=256),n.memoizedProps=a,n.memoizedState=_),i.props=a,i.state=_,i.context=l,a=c):(typeof i.componentDidUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(n.flags|=4),typeof i.getSnapshotBeforeUpdate!="function"||u===e.memoizedProps&&v===e.memoizedState||(n.flags|=256),a=!1)}return oU(e,n,t,a,o,r)}function oU(e,n,t,a,r,o){xhe(e,n);var i=(n.flags&64)!=0;if(!a&&!i)return r&&Xde(n,t,!1),ip(e,n,o);a=n.stateNode,von.current=n;var u=i&&typeof t.getDerivedStateFromError!="function"?null:a.render();return n.flags|=1,e!==null&&i?(n.child=EA(n,e.child,null,o),n.child=EA(n,null,u,o)):Ql(e,n,u,o),n.memoizedState=a.state,r&&Xde(n,t,!0),n.child}function jhe(e){var n=e.stateNode;n.pendingContext?Qde(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Qde(e,n.context,!1),zO(e,n.containerInfo)}var xA={dehydrated:null,retryLane:0};function Nhe(e,n,t){var a=n.pendingProps,r=ko.current,o=!1,i;return(i=(n.flags&64)!=0)||(i=e!==null&&e.memoizedState===null?!1:(r&2)!=0),i?(o=!0,n.flags&=-65):e!==null&&e.memoizedState===null||a.fallback===void 0||a.unstable_avoidThisFallback===!0||(r|=1),Po(ko,r&1),e===null?(a.fallback!==void 0&&VO(n),e=a.children,r=a.fallback,o?(e=Phe(n,e,r,t),n.child.memoizedState={baseLanes:t},n.memoizedState=xA,e):typeof a.unstable_expectedLoadTime=="number"?(e=Phe(n,e,r,t),n.child.memoizedState={baseLanes:t},n.memoizedState=xA,n.lanes=33554432,e):(t=CU({mode:"visible",children:e},n.mode,t,null),t.return=n,n.child=t)):e.memoizedState!==null?o?(a=Ohe(e,n,a.children,a.fallback,t),o=n.child,r=e.child.memoizedState,o.memoizedState=r===null?{baseLanes:t}:{baseLanes:r.baseLanes|t},o.childLanes=e.childLanes&~t,n.memoizedState=xA,a):(t=khe(e,n,a.children,t),n.memoizedState=null,t):o?(a=Ohe(e,n,a.children,a.fallback,t),o=n.child,r=e.child.memoizedState,o.memoizedState=r===null?{baseLanes:t}:{baseLanes:r.baseLanes|t},o.childLanes=e.childLanes&~t,n.memoizedState=xA,a):(t=khe(e,n,a.children,t),n.memoizedState=null,t)}function Phe(e,n,t,a){var r=e.mode,o=e.child;return n={mode:"hidden",children:n},(r&2)==0&&o!==null?(o.childLanes=0,o.pendingProps=n):o=CU(n,r,0,null),t=Hb(t,r,a,null),o.return=e,t.return=e,o.sibling=t,e.child=o,t}function khe(e,n,t,a){var r=e.child;return e=r.sibling,t=gd(r,{mode:"visible",children:t}),(n.mode&2)==0&&(t.lanes=a),t.return=n,t.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,n.firstEffect=n.lastEffect=e),n.child=t}function Ohe(e,n,t,a,r){var o=n.mode,i=e.child;e=i.sibling;var u={mode:"hidden",children:t};return(o&2)==0&&n.child!==i?(t=n.child,t.childLanes=0,t.pendingProps=u,i=t.lastEffect,i!==null?(n.firstEffect=t.firstEffect,n.lastEffect=i,i.nextEffect=null):n.firstEffect=n.lastEffect=null):t=gd(i,u),e!==null?a=gd(e,a):(a=Hb(a,o,r,null),a.flags|=2),a.return=n,t.return=n,t.sibling=a,n.child=t,a}function Uhe(e,n){e.lanes|=n;var t=e.alternate;t!==null&&(t.lanes|=n),ihe(e.return,n)}function iU(e,n,t,a,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:r,lastEffect:o}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=t,i.tailMode=r,i.lastEffect=o)}function Hhe(e,n,t){var a=n.pendingProps,r=a.revealOrder,o=a.tail;if(Ql(e,n,a.children,t),a=ko.current,(a&2)!=0)a=a&1|2,n.flags|=64;else{if(e!==null&&(e.flags&64)!=0)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Uhe(e,t);else if(e.tag===19)Uhe(e,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(Po(ko,a),(n.mode&2)==0)n.memoizedState=null;else switch(r){case"forwards":for(t=n.child,r=null;t!==null;)e=t.alternate,e!==null&&CA(e)===null&&(r=t),t=t.sibling;t=r,t===null?(r=n.child,n.child=null):(r=t.sibling,t.sibling=null),iU(n,!1,r,t,o,n.lastEffect);break;case"backwards":for(t=null,r=n.child,n.child=null;r!==null;){if(e=r.alternate,e!==null&&CA(e)===null){n.child=r;break}e=r.sibling,r.sibling=t,t=r,r=e}iU(n,!0,t,null,o,n.lastEffect);break;case"together":iU(n,!1,null,null,void 0,n.lastEffect);break;default:n.memoizedState=null}return n.child}function ip(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),hI|=n.lanes,(t&n.childLanes)!=0){if(e!==null&&n.child!==e.child)throw Error(En(153));if(n.child!==null){for(e=n.child,t=gd(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=gd(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}return null}var Bhe,uU,Jhe,Whe;Bhe=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&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.sibling.return=t.return,t=t.sibling}};uU=function(){};Jhe=function(e,n,t,a){var r=e.memoizedProps;if(r!==a){e=n.stateNode,Wg(G0.current);var o=null;switch(t){case"input":r=zk(e,r),a=zk(e,a),o=[];break;case"option":r=Qk(e,r),a=Qk(e,a),o=[];break;case"select":r=oo({},r,{value:void 0}),a=oo({},a,{value:void 0}),o=[];break;case"textarea":r=Yk(e,r),a=Yk(e,a),o=[];break;default:typeof r.onClick!="function"&&typeof a.onClick=="function"&&(e.onclick=sA)}Kk(t,a);var i;t=null;for(c in r)if(!a.hasOwnProperty(c)&&r.hasOwnProperty(c)&&r[c]!=null)if(c==="style"){var u=r[c];for(i in u)u.hasOwnProperty(i)&&(t||(t={}),t[i]="")}else c!=="dangerouslySetInnerHTML"&&c!=="children"&&c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&c!=="autoFocus"&&(AC.hasOwnProperty(c)?o||(o=[]):(o=o||[]).push(c,null));for(c in a){var l=a[c];if(u=r!=null?r[c]:void 0,a.hasOwnProperty(c)&&l!==u&&(l!=null||u!=null))if(c==="style")if(u){for(i in u)!u.hasOwnProperty(i)||l&&l.hasOwnProperty(i)||(t||(t={}),t[i]="");for(i in l)l.hasOwnProperty(i)&&u[i]!==l[i]&&(t||(t={}),t[i]=l[i])}else t||(o||(o=[]),o.push(c,t)),t=l;else c==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,u=u?u.__html:void 0,l!=null&&u!==l&&(o=o||[]).push(c,l)):c==="children"?typeof l!="string"&&typeof l!="number"||(o=o||[]).push(c,""+l):c!=="suppressContentEditableWarning"&&c!=="suppressHydrationWarning"&&(AC.hasOwnProperty(c)?(l!=null&&c==="onScroll"&&Vr("scroll",e),o||u===l||(o=[])):typeof l=="object"&&l!==null&&l.$$typeof===Hk?l.toString():(o=o||[]).push(c,l))}t&&(o=o||[]).push("style",t);var c=o;(n.updateQueue=c)&&(n.flags|=4)}};Whe=function(e,n,t,a){t!==a&&(n.flags|=4)};function dI(e,n){if(!A0)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:a.sibling=null}}function mon(e,n,t){var a=n.pendingProps;switch(n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return $l(n.type)&&pA(),null;case 3:return Lb(),Qr(zl),Qr(Uu),YO(),a=n.stateNode,a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(IA(n)?n.flags|=4:a.hydrate||(n.flags|=256)),uU(n),null;case 5:$O(n);var r=Wg(cI.current);if(t=n.type,e!==null&&n.stateNode!=null)Jhe(e,n,t,a,r),e.ref!==n.ref&&(n.flags|=128);else{if(!a){if(n.stateNode===null)throw Error(En(166));return null}if(e=Wg(G0.current),IA(n)){a=n.stateNode,t=n.type;var o=n.memoizedProps;switch(a[id]=n,a[vA]=o,t){case"dialog":Vr("cancel",a),Vr("close",a);break;case"iframe":case"object":case"embed":Vr("load",a);break;case"video":case"audio":for(e=0;e<nI.length;e++)Vr(nI[e],a);break;case"source":Vr("error",a);break;case"img":case"image":case"link":Vr("error",a),Vr("load",a);break;case"details":Vr("toggle",a);break;case"input":N_e(a,o),Vr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!o.multiple},Vr("invalid",a);break;case"textarea":O_e(a,o),Vr("invalid",a)}Kk(t,o),e=null;for(var i in o)o.hasOwnProperty(i)&&(r=o[i],i==="children"?typeof r=="string"?a.textContent!==r&&(e=["children",r]):typeof r=="number"&&a.textContent!==""+r&&(e=["children",""+r]):AC.hasOwnProperty(i)&&r!=null&&i==="onScroll"&&Vr("scroll",a));switch(t){case"input":W3(a),k_e(a,o,!0);break;case"textarea":W3(a),H_e(a);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(a.onclick=sA)}a=e,n.updateQueue=a,a!==null&&(n.flags|=4)}else{switch(i=r.nodeType===9?r:r.ownerDocument,e===Xk.html&&(e=B_e(t)),e===Xk.html?t==="script"?(e=i.createElement("div"),e.innerHTML="<script><\/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[id]=n,e[vA]=a,Bhe(e,n,!1,!1),n.stateNode=e,i=eO(t,a),t){case"dialog":Vr("cancel",e),Vr("close",e),r=a;break;case"iframe":case"object":case"embed":Vr("load",e),r=a;break;case"video":case"audio":for(r=0;r<nI.length;r++)Vr(nI[r],e);r=a;break;case"source":Vr("error",e),r=a;break;case"img":case"image":case"link":Vr("error",e),Vr("load",e),r=a;break;case"details":Vr("toggle",e),r=a;break;case"input":N_e(e,a),r=zk(e,a),Vr("invalid",e);break;case"option":r=Qk(e,a);break;case"select":e._wrapperState={wasMultiple:!!a.multiple},r=oo({},a,{value:void 0}),Vr("invalid",e);break;case"textarea":O_e(e,a),r=Yk(e,a),Vr("invalid",e);break;default:r=a}Kk(t,r);var u=r;for(o in u)if(u.hasOwnProperty(o)){var l=u[o];o==="style"?q_e(e,l):o==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&J_e(e,l)):o==="children"?typeof l=="string"?(t!=="textarea"||l!=="")&&kC(e,l):typeof l=="number"&&kC(e,""+l):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(AC.hasOwnProperty(o)?l!=null&&o==="onScroll"&&Vr("scroll",e):l!=null&&jk(e,o,l,i))}switch(t){case"input":W3(e),k_e(e,a,!1);break;case"textarea":W3(e),H_e(e);break;case"option":a.value!=null&&e.setAttribute("value",""+ed(a.value));break;case"select":e.multiple=!!a.multiple,o=a.value,o!=null?_b(e,!!a.multiple,o,!1):a.defaultValue!=null&&_b(e,!!a.multiple,a.defaultValue,!0);break;default:typeof r.onClick=="function"&&(e.onclick=sA)}Wde(t,a)&&(n.flags|=4)}n.ref!==null&&(n.flags|=128)}return null;case 6:if(e&&n.stateNode!=null)Whe(e,n,e.memoizedProps,a);else{if(typeof a!="string"&&n.stateNode===null)throw Error(En(166));t=Wg(cI.current),Wg(G0.current),IA(n)?(a=n.stateNode,t=n.memoizedProps,a[id]=n,a.nodeValue!==t&&(n.flags|=4)):(a=(t.nodeType===9?t:t.ownerDocument).createTextNode(a),a[id]=n,n.stateNode=a)}return null;case 13:return Qr(ko),a=n.memoizedState,(n.flags&64)!=0?(n.lanes=t,n):(a=a!==null,t=!1,e===null?n.memoizedProps.fallback!==void 0&&IA(n):t=e.memoizedState!==null,a&&!t&&(n.mode&2)!=0&&(e===null&&n.memoizedProps.unstable_avoidThisFallback!==!0||(ko.current&1)!=0?Ru===0&&(Ru=3):((Ru===0||Ru===3)&&(Ru=4),ml===null||(hI&134217727)==0&&(Pb&134217727)==0||Ob(ml,Ju))),(a||t)&&(n.flags|=4),null);case 4:return Lb(),uU(n),e===null&&Ode(n.stateNode.containerInfo),null;case 10:return JO(n),null;case 17:return $l(n.type)&&pA(),null;case 19:if(Qr(ko),a=n.memoizedState,a===null)return null;if(o=(n.flags&64)!=0,i=a.rendering,i===null)if(o)dI(a,!1);else{if(Ru!==0||e!==null&&(e.flags&64)!=0)for(e=n.child;e!==null;){if(i=CA(e),i!==null){for(n.flags|=64,dI(a,!1),o=i.updateQueue,o!==null&&(n.updateQueue=o,n.flags|=4),a.lastEffect===null&&(n.firstEffect=null),n.lastEffect=a.lastEffect,a=t,t=n.child;t!==null;)o=t,e=a,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,i=o.alternate,i===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=i.childLanes,o.lanes=i.lanes,o.child=i.child,o.memoizedProps=i.memoizedProps,o.memoizedState=i.memoizedState,o.updateQueue=i.updateQueue,o.type=i.type,e=i.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),t=t.sibling;return Po(ko,ko.current&1|2),n.child}e=e.sibling}a.tail!==null&&Hu()>gU&&(n.flags|=64,o=!0,dI(a,!1),n.lanes=33554432)}else{if(!o)if(e=CA(i),e!==null){if(n.flags|=64,o=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),dI(a,!0),a.tail===null&&a.tailMode==="hidden"&&!i.alternate&&!A0)return n=n.lastEffect=a.lastEffect,n!==null&&(n.nextEffect=null),null}else 2*Hu()-a.renderingStartTime>gU&&t!==1073741824&&(n.flags|=64,o=!0,dI(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=Hu(),t.sibling=null,n=ko.current,Po(ko,o?n&1|2:n&1),t):null;case 23:case 24:return SU(),e!==null&&e.memoizedState!==null!=(n.memoizedState!==null)&&a.mode!=="unstable-defer-without-hiding"&&(n.flags|=4),null}throw Error(En(156,n.tag))}function pon(e){switch(e.tag){case 1:$l(e.type)&&pA();var n=e.flags;return n&4096?(e.flags=n&-4097|64,e):null;case 3:if(Lb(),Qr(zl),Qr(Uu),YO(),n=e.flags,(n&64)!=0)throw Error(En(285));return e.flags=n&-4097|64,e;case 5:return $O(e),null;case 13:return Qr(ko),n=e.flags,n&4096?(e.flags=n&-4097|64,e):null;case 19:return Qr(ko),null;case 4:return Lb(),null;case 10:return JO(e),null;case 23:case 24:return SU(),null;default:return null}}function lU(e,n){try{var t="",a=n;do t+=Van(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 cU(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var _on=typeof WeakMap=="function"?WeakMap:Map;function qhe(e,n,t){t=sd(-1,t),t.tag=3,t.payload={element:null};var a=n.value;return t.callback=function(){NA||(NA=!0,DU=a),cU(e,n)},t}function zhe(e,n,t){t=sd(-1,t),t.tag=3;var a=e.type.getDerivedStateFromError;if(typeof a=="function"){var r=n.value;t.payload=function(){return cU(e,n),a(r)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){typeof a!="function"&&(L0===null?L0=new Set([this]):L0.add(this),cU(e,n));var i=n.stack;this.componentDidCatch(n.value,{componentStack:i!==null?i:""})}),t}var don=typeof WeakSet=="function"?WeakSet:Set;function $he(e){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(t){hd(e,t)}else n.current=null}function hon(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:mv(n.type,t),a),e.__reactInternalSnapshotBeforeUpdate=n}return;case 3:n.flags&256&&xO(n.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(En(163))}function gon(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&&(lge(t,e),Con(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:mv(t.type,n.memoizedProps),e.componentDidUpdate(a,n.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),n=t.updateQueue,n!==null&&che(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}che(t,n,e)}return;case 5:e=t.stateNode,n===null&&t.flags&4&&Wde(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&&ude(t))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(En(163))}function Vhe(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=W_e("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 Qhe(e,n){if(Bg&&typeof Bg.onCommitFiberUnmount=="function")try{Bg.onCommitFiberUnmount(NO,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)lge(n,t);else{a=n;try{r()}catch(o){hd(a,o)}}t=t.next}while(t!==e)}break;case 1:if($he(n),e=n.stateNode,typeof e.componentWillUnmount=="function")try{e.props=n.memoizedProps,e.state=n.memoizedState,e.componentWillUnmount()}catch(o){hd(n,o)}break;case 5:$he(n);break;case 4:Khe(e,n)}}function Yhe(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 Xhe(e){return e.tag===5||e.tag===3||e.tag===4}function Zhe(e){e:{for(var n=e.return;n!==null;){if(Xhe(n))break e;n=n.return}throw Error(En(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(En(161))}t.flags&16&&(kC(n,""),t.flags&=-17);e:n:for(t=e;;){for(;t.sibling===null;){if(t.return===null||Xhe(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?sU(e,t,n):fU(e,t,n)}function sU(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=sA));else if(a!==4&&(e=e.child,e!==null))for(sU(e,n,t),e=e.sibling;e!==null;)sU(e,n,t),e=e.sibling}function fU(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(fU(e,n,t),e=e.sibling;e!==null;)fU(e,n,t),e=e.sibling}function Khe(e,n){for(var t=n,a=!1,r,o;;){if(!a){a=t.return;e:for(;;){if(a===null)throw Error(En(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(Qhe(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(Qhe(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 vU(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[vA]=a,e==="input"&&a.type==="radio"&&a.name!=null&&P_e(t,a),eO(e,r),n=eO(e,a),r=0;r<o.length;r+=2){var i=o[r],u=o[r+1];i==="style"?q_e(t,u):i==="dangerouslySetInnerHTML"?J_e(t,u):i==="children"?kC(t,u):jk(t,i,u,n)}switch(e){case"input":$k(t,a);break;case"textarea":U_e(t,a);break;case"select":e=t._wrapperState.wasMultiple,t._wrapperState.wasMultiple=!!a.multiple,o=a.value,o!=null?_b(t,!!a.multiple,o,!1):e!==!!a.multiple&&(a.defaultValue!=null?_b(t,!!a.multiple,a.defaultValue,!0):_b(t,!!a.multiple,a.multiple?[]:"",!1))}}}return;case 6:if(n.stateNode===null)throw Error(En(162));n.stateNode.nodeValue=n.memoizedProps;return;case 3:t=n.stateNode,t.hydrate&&(t.hydrate=!1,ude(t.containerInfo));return;case 12:return;case 13:n.memoizedState!==null&&(hU=Hu(),Vhe(n.child,!0)),ege(n);return;case 19:ege(n);return;case 17:return;case 23:case 24:Vhe(n,n.memoizedState!==null);return}throw Error(En(163))}function ege(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new don),n.forEach(function(a){var r=Fon.bind(null,e,a);t.has(a)||(t.add(a),a.then(r,r))})}}function Don(e,n){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(n=n.memoizedState,n!==null&&n.dehydrated===null):!1}var yon=Math.ceil,LA=Ng.ReactCurrentDispatcher,mU=Ng.ReactCurrentOwner,Zt=0,ml=null,Bi=null,Ju=0,$g=0,pU=ud(0),Ru=0,jA=null,Nb=0,hI=0,Pb=0,_U=0,dU=null,hU=0,gU=1/0;function kb(){gU=Hu()+500}var ct=null,NA=!1,DU=null,L0=null,md=!1,gI=null,DI=90,yU=[],bU=[],up=null,yI=0,RU=null,PA=-1,lp=0,kA=0,bI=null,OA=!1;function $c(){return(Zt&48)!=0?Hu():PA!==-1?PA:PA=Hu()}function pd(e){if(e=e.mode,(e&2)==0)return 1;if((e&4)==0)return Gb()===99?1:2;if(lp===0&&(lp=Nb),uon.transition!==0){kA!==0&&(kA=dU!==null?dU.pendingLanes:0),e=lp;var n=4186112&~kA;return n&=-n,n===0&&(e=4186112&~e,n=e&-e,n===0&&(n=8192)),n}return e=Gb(),(Zt&4)!=0&&e===98?e=Z3(12,lp):(e=srn(e),e=Z3(e,lp)),e}function _d(e,n,t){if(50<yI)throw yI=0,RU=null,Error(En(185));if(e=UA(e,n),e===null)return null;K3(e,n,t),e===ml&&(Pb|=n,Ru===4&&Ob(e,Ju));var a=Gb();n===1?(Zt&8)!=0&&(Zt&48)==0?wU(e):($s(e,t),Zt===0&&(kb(),M0())):((Zt&4)==0||a!==98&&a!==99||(up===null?up=new Set([e]):up.add(e)),$s(e,t)),dU=e}function UA(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}function $s(e,n){for(var t=e.callbackNode,a=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var u=31-rd(i),l=1<<u,c=o[u];if(c===-1){if((l&a)==0||(l&r)!=0){c=n,yb(l);var s=kr;o[u]=10<=s?c+250:6<=s?c+5e3:-1}}else c<=n&&(e.expiredLanes|=l);i&=~l}if(a=$C(e,e===ml?Ju:0),n=kr,a===0)t!==null&&(t!==UO&&kO(t),e.callbackNode=null,e.callbackPriority=0);else{if(t!==null){if(e.callbackPriority===n)return;t!==UO&&kO(t)}n===15?(t=wU.bind(null,e),rp===null?(rp=[t],hA=PO(dA,ohe)):rp.push(t),t=UO):n===14?t=rI(99,wU.bind(null,e)):(t=frn(n),t=rI(t,nge.bind(null,e))),e.callbackPriority=n,e.callbackNode=t}}function nge(e){if(PA=-1,kA=lp=0,(Zt&48)!=0)throw Error(En(327));var n=e.callbackNode;if(dd()&&e.callbackNode!==n)return null;var t=$C(e,e===ml?Ju:0);if(t===0)return null;var a=t,r=Zt;Zt|=16;var o=oge();(ml!==e||Ju!==a)&&(kb(),Ub(e,a));do try{won();break}catch(u){rge(e,u)}while(1);if(BO(),LA.current=o,Zt=r,Bi!==null?a=0:(ml=null,Ju=0,a=Ru),(Nb&Pb)!=0)Ub(e,0);else if(a!==0){if(a===2&&(Zt|=64,e.hydrate&&(e.hydrate=!1,xO(e.containerInfo)),t=pde(e),t!==0&&(a=RI(e,t))),a===1)throw n=jA,Ub(e,0),Ob(e,t),$s(e,Hu()),n;switch(e.finishedWork=e.current.alternate,e.finishedLanes=t,a){case 0:case 1:throw Error(En(345));case 2:Vg(e);break;case 3:if(Ob(e,t),(t&62914560)===t&&(a=hU+500-Hu(),10<a)){if($C(e,0)!==0)break;if(r=e.suspendedLanes,(r&t)!==t){$c(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=qde(Vg.bind(null,e),a);break}Vg(e);break;case 4:if(Ob(e,t),(t&4186112)===t)break;for(a=e.eventTimes,r=-1;0<t;){var i=31-rd(t);o=1<<i,i=a[i],i>r&&(r=i),t&=~o}if(t=r,t=Hu()-t,t=(120>t?120:480>t?480:1080>t?1080:1920>t?1920:3e3>t?3e3:4320>t?4320:1960*yon(t/1960))-t,10<t){e.timeoutHandle=qde(Vg.bind(null,e),t);break}Vg(e);break;case 5:Vg(e);break;default:throw Error(En(329))}}return $s(e,Hu()),e.callbackNode===n?nge.bind(null,e):null}function Ob(e,n){for(n&=~_U,n&=~Pb,e.suspendedLanes|=n,e.pingedLanes&=~n,e=e.expirationTimes;0<n;){var t=31-rd(n),a=1<<t;e[t]=-1,n&=~a}}function wU(e){if((Zt&48)!=0)throw Error(En(327));if(dd(),e===ml&&(e.expiredLanes&Ju)!=0){var n=Ju,t=RI(e,n);(Nb&Pb)!=0&&(n=$C(e,n),t=RI(e,n))}else n=$C(e,0),t=RI(e,n);if(e.tag!==0&&t===2&&(Zt|=64,e.hydrate&&(e.hydrate=!1,xO(e.containerInfo)),n=pde(e),n!==0&&(t=RI(e,n))),t===1)throw t=jA,Ub(e,0),Ob(e,n),$s(e,Hu()),t;return e.finishedWork=e.current.alternate,e.finishedLanes=n,Vg(e),$s(e,Hu()),null}function bon(){if(up!==null){var e=up;up=null,e.forEach(function(n){n.expiredLanes|=24&n.pendingLanes,$s(n,Hu())})}M0()}function tge(e,n){var t=Zt;Zt|=1;try{return e(n)}finally{Zt=t,Zt===0&&(kb(),M0())}}function age(e,n){var t=Zt;Zt&=-2,Zt|=8;try{return e(n)}finally{Zt=t,Zt===0&&(kb(),M0())}}function HA(e,n){Po(pU,$g),$g|=n,Nb|=n}function SU(){$g=pU.current,Qr(pU)}function Ub(e,n){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;if(t!==-1&&(e.timeoutHandle=-1,non(t)),Bi!==null)for(t=Bi.return;t!==null;){var a=t;switch(a.tag){case 1:a=a.type.childContextTypes,a!=null&&pA();break;case 3:Lb(),Qr(zl),Qr(Uu),YO();break;case 5:$O(a);break;case 4:Lb();break;case 13:Qr(ko);break;case 19:Qr(ko);break;case 10:JO(a);break;case 23:case 24:SU()}t=t.return}ml=e,Bi=gd(e.current,null),Ju=$g=Nb=n,Ru=0,jA=null,_U=Pb=hI=0}function rge(e,n){do{var t=Bi;try{if(BO(),sI.current=AA,TA){for(var a=ni.memoizedState;a!==null;){var r=a.queue;r!==null&&(r.pending=null),a=a.next}TA=!1}if(fI=0,bu=Bu=ni=null,vI=!1,mU.current=null,t===null||t.return===null){Ru=1,jA=n,Bi=null;break}e:{var o=e,i=t.return,u=t,l=n;if(n=Ju,u.flags|=2048,u.firstEffect=u.lastEffect=null,l!==null&&typeof l=="object"&&typeof l.then=="function"){var c=l;if((u.mode&2)==0){var s=u.alternate;s?(u.updateQueue=s.updateQueue,u.memoizedState=s.memoizedState,u.lanes=s.lanes):(u.updateQueue=null,u.memoizedState=null)}var f=(ko.current&1)!=0,v=i;do{var m;if(m=v.tag===13){var _=v.memoizedState;if(_!==null)m=_.dehydrated!==null;else{var R=v.memoizedProps;m=R.fallback===void 0?!1:R.unstable_avoidThisFallback!==!0?!0:!f}}if(m){var D=v.updateQueue;if(D===null){var y=new Set;y.add(c),v.updateQueue=y}else D.add(c);if((v.mode&2)==0){if(v.flags|=64,u.flags|=16384,u.flags&=-2981,u.tag===1)if(u.alternate===null)u.tag=17;else{var S=sd(-1,1);S.tag=2,fd(u,S)}u.lanes|=1;break e}l=void 0,u=n;var G=o.pingCache;if(G===null?(G=o.pingCache=new _on,l=new Set,G.set(c,l)):(l=G.get(c),l===void 0&&(l=new Set,G.set(c,l))),!l.has(u)){l.add(u);var P=Ton.bind(null,o,c,u);c.then(P,P)}v.flags|=4096,v.lanes=n;break e}v=v.return}while(v!==null);l=Error((pb(u.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.

Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}Ru!==5&&(Ru=2),l=lU(l,u),v=i;do{switch(v.tag){case 3:o=l,v.flags|=4096,n&=-n,v.lanes|=n;var k=qhe(v,o,n);lhe(v,k);break e;case 1:o=l;var M=v.type,O=v.stateNode;if((v.flags&64)==0&&(typeof M.getDerivedStateFromError=="function"||O!==null&&typeof O.componentDidCatch=="function"&&(L0===null||!L0.has(O)))){v.flags|=4096,n&=-n,v.lanes|=n;var oe=zhe(v,o,n);lhe(v,oe);break e}}v=v.return}while(v!==null)}uge(t)}catch(le){n=le,Bi===t&&t!==null&&(Bi=t=t.return);continue}break}while(1)}function oge(){var e=LA.current;return LA.current=AA,e===null?AA:e}function RI(e,n){var t=Zt;Zt|=16;var a=oge();ml===e&&Ju===n||Ub(e,n);do try{Ron();break}catch(r){rge(e,r)}while(1);if(BO(),Zt=t,LA.current=a,Bi!==null)throw Error(En(261));return ml=null,Ju=0,Ru}function Ron(){for(;Bi!==null;)ige(Bi)}function won(){for(;Bi!==null&&!ron();)ige(Bi)}function ige(e){var n=sge(e.alternate,e,$g);e.memoizedProps=e.pendingProps,n===null?uge(e):Bi=n,mU.current=null}function uge(e){var n=e;do{var t=n.alternate;if(e=n.return,(n.flags&2048)==0){if(t=mon(t,n,$g),t!==null){Bi=t;return}if(t=n,t.tag!==24&&t.tag!==23||t.memoizedState===null||($g&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),1<n.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=n:e.firstEffect=n,e.lastEffect=n))}else{if(t=pon(n),t!==null){t.flags&=2047,Bi=t;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(n=n.sibling,n!==null){Bi=n;return}Bi=n=e}while(n!==null);Ru===0&&(Ru=5)}function Vg(e){var n=Gb();return Jg(99,Son.bind(null,e,n)),null}function Son(e,n){do dd();while(gI!==null);if((Zt&48)!=0)throw Error(En(327));var t=e.finishedWork;if(t===null)return null;if(e.finishedWork=null,e.finishedLanes=0,t===e.current)throw Error(En(177));e.callbackNode=null;var a=t.lanes|t.childLanes,r=a,o=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;for(var i=e.eventTimes,u=e.expirationTimes;0<o;){var l=31-rd(o),c=1<<l;r[l]=0,i[l]=-1,u[l]=-1,o&=~c}if(up!==null&&(a&24)==0&&up.has(e)&&up.delete(e),e===ml&&(Bi=ml=null,Ju=0),1<t.flags?t.lastEffect!==null?(t.lastEffect.nextEffect=t,a=t.firstEffect):a=t:a=t.firstEffect,a!==null){if(r=Zt,Zt|=32,mU.current=null,MO=eA,i=xde(),CO(i)){if("selectionStart"in i)u={start:i.selectionStart,end:i.selectionEnd};else e:if(u=(u=i.ownerDocument)&&u.defaultView||window,(c=u.getSelection&&u.getSelection())&&c.rangeCount!==0){u=c.anchorNode,o=c.anchorOffset,l=c.focusNode,c=c.focusOffset;try{u.nodeType,l.nodeType}catch{u=null;break e}var s=0,f=-1,v=-1,m=0,_=0,R=i,D=null;n:for(;;){for(var y;R!==u||o!==0&&R.nodeType!==3||(f=s+o),R!==l||c!==0&&R.nodeType!==3||(v=s+c),R.nodeType===3&&(s+=R.nodeValue.length),(y=R.firstChild)!==null;)D=R,R=y;for(;;){if(R===i)break n;if(D===u&&++m===o&&(f=s),D===l&&++_===c&&(v=s),(y=R.nextSibling)!==null)break;R=D,D=R.parentNode}R=y}u=f===-1||v===-1?null:{start:f,end:v}}else u=null;u=u||{start:0,end:0}}else u=null;GO={focusedElem:i,selectionRange:u},eA=!1,bI=null,OA=!1,ct=a;do try{Eon()}catch(le){if(ct===null)throw Error(En(330));hd(ct,le),ct=ct.nextEffect}while(ct!==null);bI=null,ct=a;do try{for(i=e;ct!==null;){var S=ct.flags;if(S&16&&kC(ct.stateNode,""),S&128){var G=ct.alternate;if(G!==null){var P=G.ref;P!==null&&(typeof P=="function"?P(null):P.current=null)}}switch(S&1038){case 2:Zhe(ct),ct.flags&=-3;break;case 6:Zhe(ct),ct.flags&=-3,vU(ct.alternate,ct);break;case 1024:ct.flags&=-1025;break;case 1028:ct.flags&=-1025,vU(ct.alternate,ct);break;case 4:vU(ct.alternate,ct);break;case 8:u=ct,Khe(i,u);var k=u.alternate;Yhe(u),k!==null&&Yhe(k)}ct=ct.nextEffect}}catch(le){if(ct===null)throw Error(En(330));hd(ct,le),ct=ct.nextEffect}while(ct!==null);if(P=GO,G=xde(),S=P.focusedElem,i=P.selectionRange,G!==S&&S&&S.ownerDocument&&Ade(S.ownerDocument.documentElement,S)){for(i!==null&&CO(S)&&(G=i.start,P=i.end,P===void 0&&(P=G),"selectionStart"in S?(S.selectionStart=G,S.selectionEnd=Math.min(P,S.value.length)):(P=(G=S.ownerDocument||document)&&G.defaultView||window,P.getSelection&&(P=P.getSelection(),u=S.textContent.length,k=Math.min(i.start,u),i=i.end===void 0?k:Math.min(i.end,u),!P.extend&&k>i&&(u=i,i=k,k=u),u=Gde(S,k),o=Gde(S,i),u&&o&&(P.rangeCount!==1||P.anchorNode!==u.node||P.anchorOffset!==u.offset||P.focusNode!==o.node||P.focusOffset!==o.offset)&&(G=G.createRange(),G.setStart(u.node,u.offset),P.removeAllRanges(),k>i?(P.addRange(G),P.extend(o.node,o.offset)):(G.setEnd(o.node,o.offset),P.addRange(G)))))),G=[],P=S;P=P.parentNode;)P.nodeType===1&&G.push({element:P,left:P.scrollLeft,top:P.scrollTop});for(typeof S.focus=="function"&&S.focus(),S=0;S<G.length;S++)P=G[S],P.element.scrollLeft=P.left,P.element.scrollTop=P.top}eA=!!MO,GO=MO=null,e.current=t,ct=a;do try{for(S=e;ct!==null;){var M=ct.flags;if(M&36&&gon(S,ct.alternate,ct),M&128){G=void 0;var O=ct.ref;if(O!==null){var oe=ct.stateNode;switch(ct.tag){case 5:G=oe;break;default:G=oe}typeof O=="function"?O(G):O.current=G}}ct=ct.nextEffect}}catch(le){if(ct===null)throw Error(En(330));hd(ct,le),ct=ct.nextEffect}while(ct!==null);ct=null,ion(),Zt=r}else e.current=t;if(md)md=!1,gI=e,DI=n;else for(ct=a;ct!==null;)n=ct.nextEffect,ct.nextEffect=null,ct.flags&8&&(M=ct,M.sibling=null,M.stateNode=null),ct=n;if(a=e.pendingLanes,a===0&&(L0=null),a===1?e===RU?yI++:(yI=0,RU=e):yI=0,t=t.stateNode,Bg&&typeof Bg.onCommitFiberRoot=="function")try{Bg.onCommitFiberRoot(NO,t,void 0,(t.current.flags&64)==64)}catch{}if($s(e,Hu()),NA)throw NA=!1,e=DU,DU=null,e;return(Zt&8)!=0||M0(),null}function Eon(){for(;ct!==null;){var e=ct.alternate;OA||bI===null||((ct.flags&8)!=0?ede(ct,bI)&&(OA=!0):ct.tag===13&&Don(e,ct)&&ede(ct,bI)&&(OA=!0));var n=ct.flags;(n&256)!=0&&hon(e,ct),(n&512)==0||md||(md=!0,rI(97,function(){return dd(),null})),ct=ct.nextEffect}}function dd(){if(DI!==90){var e=97<DI?97:DI;return DI=90,Jg(e,Ion)}return!1}function Con(e,n){yU.push(n,e),md||(md=!0,rI(97,function(){return dd(),null}))}function lge(e,n){bU.push(n,e),md||(md=!0,rI(97,function(){return dd(),null}))}function Ion(){if(gI===null)return!1;var e=gI;if(gI=null,(Zt&48)!=0)throw Error(En(331));var n=Zt;Zt|=32;var t=bU;bU=[];for(var a=0;a<t.length;a+=2){var r=t[a],o=t[a+1],i=r.destroy;if(r.destroy=void 0,typeof i=="function")try{i()}catch(l){if(o===null)throw Error(En(330));hd(o,l)}}for(t=yU,yU=[],a=0;a<t.length;a+=2){r=t[a],o=t[a+1];try{var u=r.create;r.destroy=u()}catch(l){if(o===null)throw Error(En(330));hd(o,l)}}for(u=e.current.firstEffect;u!==null;)e=u.nextEffect,u.nextEffect=null,u.flags&8&&(u.sibling=null,u.stateNode=null),u=e;return Zt=n,M0(),!0}function cge(e,n,t){n=lU(t,n),n=qhe(e,n,1),fd(e,n),n=$c(),e=UA(e,1),e!==null&&(K3(e,1,n),$s(e,n))}function hd(e,n){if(e.tag===3)cge(e,e,n);else for(var t=e.return;t!==null;){if(t.tag===3){cge(t,e,n);break}else if(t.tag===1){var a=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof a.componentDidCatch=="function"&&(L0===null||!L0.has(a))){e=lU(n,e);var r=zhe(t,e,1);if(fd(t,r),r=$c(),t=UA(t,1),t!==null)K3(t,1,r),$s(t,r);else if(typeof a.componentDidCatch=="function"&&(L0===null||!L0.has(a)))try{a.componentDidCatch(n,e)}catch{}break}}t=t.return}}function Ton(e,n,t){var a=e.pingCache;a!==null&&a.delete(n),n=$c(),e.pingedLanes|=e.suspendedLanes&t,ml===e&&(Ju&t)===t&&(Ru===4||Ru===3&&(Ju&62914560)===Ju&&500>Hu()-hU?Ub(e,0):_U|=t),$s(e,n)}function Fon(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=Gb()===99?1:2:(lp===0&&(lp=Nb),n=bb(62914560&~lp),n===0&&(n=4194304))),t=$c(),e=UA(e,n),e!==null&&(K3(e,n,t),$s(e,t))}var sge;sge=function(e,n,t){var a=n.lanes;if(e!==null)if(e.memoizedProps!==n.pendingProps||zl.current)pv=!0;else if((t&a)!=0)pv=(e.flags&16384)!=0;else{switch(pv=!1,n.tag){case 3:jhe(n),QO();break;case 5:dhe(n);break;case 1:$l(n.type)&&_A(n);break;case 4:zO(n,n.stateNode.containerInfo);break;case 10:a=n.memoizedProps.value;var r=n.type._context;Po(gA,r._currentValue),r._currentValue=a;break;case 13:if(n.memoizedState!==null)return(t&n.child.childLanes)!=0?Nhe(e,n,t):(Po(ko,ko.current&1),n=ip(e,n,t),n!==null?n.sibling:null);Po(ko,ko.current&1);break;case 19:if(a=(t&n.childLanes)!=0,(e.flags&64)!=0){if(a)return Hhe(e,n,t);n.flags|=64}if(r=n.memoizedState,r!==null&&(r.rendering=null,r.tail=null,r.lastEffect=null),Po(ko,ko.current),a)break;return null;case 23:case 24:return n.lanes=0,aU(e,n,t)}return ip(e,n,t)}else pv=!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=Mb(n,Uu.current),xb(n,t),r=ZO(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,$l(a)){var o=!0;_A(n)}else o=!1;n.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,WO(n);var i=a.getDerivedStateFromProps;typeof i=="function"&&bA(n,a,i,e),r.updater=RA,n.stateNode=r,r._reactInternals=n,qO(n,a,e,t),n=oU(null,n,a,!0,o,t)}else n.tag=0,Ql(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=Gon(r),e=mv(r,e),o){case 0:n=rU(null,n,r,e,t);break e;case 1:n=Lhe(null,n,r,e,t);break e;case 11:n=Mhe(null,n,r,e,t);break e;case 14:n=Ghe(null,n,r,mv(r.type,e),a,t);break e}throw Error(En(306,r,""))}return n;case 0:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:mv(a,r),rU(e,n,a,r,t);case 1:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:mv(a,r),Lhe(e,n,a,r,t);case 3:if(jhe(n),a=n.updateQueue,e===null||a===null)throw Error(En(282));if(a=n.pendingProps,r=n.memoizedState,r=r!==null?r.element:null,uhe(e,n),oI(n,a,null,t),a=n.memoizedState.element,a===r)QO(),n=ip(e,n,t);else{if(r=n.stateNode,(o=r.hydrate)&&(vd=Cb(n.stateNode.containerInfo.firstChild),op=n,o=A0=!0),o){if(e=r.mutableSourceEagerHydrationData,e!=null)for(r=0;r<e.length;r+=2)o=e[r],o._workInProgressVersionPrimary=e[r+1],jb.push(o);for(t=_he(n,null,a,t),n.child=t;t;)t.flags=t.flags&-3|1024,t=t.sibling}else Ql(e,n,a,t),QO();n=n.child}return n;case 5:return dhe(n),e===null&&VO(n),a=n.type,r=n.pendingProps,o=e!==null?e.memoizedProps:null,i=r.children,AO(a,r)?i=null:o!==null&&AO(a,o)&&(n.flags|=16),xhe(e,n),Ql(e,n,i,t),n.child;case 6:return e===null&&VO(n),null;case 13:return Nhe(e,n,t);case 4:return zO(n,n.stateNode.containerInfo),a=n.pendingProps,e===null?n.child=EA(n,null,a,t):Ql(e,n,a,t),n.child;case 11:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:mv(a,r),Mhe(e,n,a,r,t);case 7:return Ql(e,n,n.pendingProps,t),n.child;case 8:return Ql(e,n,n.pendingProps.children,t),n.child;case 12:return Ql(e,n,n.pendingProps.children,t),n.child;case 10:e:{a=n.type._context,r=n.pendingProps,i=n.memoizedProps,o=r.value;var u=n.type._context;if(Po(gA,u._currentValue),u._currentValue=o,i!==null)if(u=i.value,o=Ws(u,o)?0:(typeof a._calculateChangedBits=="function"?a._calculateChangedBits(u,o):1073741823)|0,o===0){if(i.children===r.children&&!zl.current){n=ip(e,n,t);break e}}else for(u=n.child,u!==null&&(u.return=n);u!==null;){var l=u.dependencies;if(l!==null){i=u.child;for(var c=l.firstContext;c!==null;){if(c.context===a&&(c.observedBits&o)!=0){u.tag===1&&(c=sd(-1,t&-t),c.tag=2,fd(u,c)),u.lanes|=t,c=u.alternate,c!==null&&(c.lanes|=t),ihe(u.return,t),l.lanes|=t;break}c=c.next}}else i=u.tag===10&&u.type===n.type?null:u.child;if(i!==null)i.return=u;else for(i=u;i!==null;){if(i===n){i=null;break}if(u=i.sibling,u!==null){u.return=i.return,i=u;break}i=i.return}u=i}Ql(e,n,r.children,t),n=n.child}return n;case 9:return r=n.type,o=n.pendingProps,a=o.children,xb(n,t),r=qs(r,o.unstable_observedBits),a=a(r),n.flags|=1,Ql(e,n,a,t),n.child;case 14:return r=n.type,o=mv(r,n.pendingProps),o=mv(r.type,o),Ghe(e,n,r,o,a,t);case 15:return Ahe(e,n,n.type,n.pendingProps,a,t);case 17:return a=n.type,r=n.pendingProps,r=n.elementType===a?r:mv(a,r),e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2),n.tag=1,$l(a)?(e=!0,_A(n)):e=!1,xb(n,t),vhe(n,a,r),qO(n,a,r,t),oU(null,n,a,!0,e,t);case 19:return Hhe(e,n,t);case 23:return aU(e,n,t);case 24:return aU(e,n,t)}throw Error(En(156,n.tag))};function Mon(e,n,t,a){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Vs(e,n,t,a){return new Mon(e,n,t,a)}function EU(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gon(e){if(typeof e=="function")return EU(e)?1:0;if(e!=null){if(e=e.$$typeof,e===U3)return 11;if(e===B3)return 14}return 2}function gd(e,n){var t=e.alternate;return t===null?(t=Vs(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.nextEffect=null,t.firstEffect=null,t.lastEffect=null),t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function BA(e,n,t,a,r,o){var i=2;if(a=e,typeof e=="function")EU(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case K_:return Hb(t.children,r,o,n);case A_e:i=8,r|=16;break;case Nk:i=8,r|=1;break;case LC:return e=Vs(12,t,n,r|8),e.elementType=LC,e.type=LC,e.lanes=o,e;case jC:return e=Vs(13,t,n,r),e.type=jC,e.elementType=jC,e.lanes=o,e;case H3:return e=Vs(19,t,n,r),e.elementType=H3,e.lanes=o,e;case Bk:return CU(t,r,o,n);case Jk:return e=Vs(24,t,n,r),e.elementType=Jk,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Pk:i=10;break e;case kk:i=9;break e;case U3:i=11;break e;case B3:i=14;break e;case Ok:i=16,a=null;break e;case Uk:i=22;break e}throw Error(En(130,e==null?e:typeof e,""))}return n=Vs(i,t,n,r),n.elementType=e,n.type=a,n.lanes=o,n}function Hb(e,n,t,a){return e=Vs(7,e,a,n),e.lanes=t,e}function CU(e,n,t,a){return e=Vs(23,e,a,n),e.elementType=Bk,e.lanes=t,e}function IU(e,n,t){return e=Vs(6,e,null,n),e.lanes=t,e}function TU(e,n,t){return n=Vs(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Aon(e,n,t){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=t,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=_O(0),this.expirationTimes=_O(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_O(0),this.mutableSourceEagerHydrationData=null}function xon(e,n,t){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Pg,key:a==null?null:""+a,children:e,containerInfo:n,implementation:t}}function JA(e,n,t,a){var r=n.current,o=$c(),i=pd(r);e:if(t){t=t._reactInternals;n:{if(Og(t)!==t||t.tag!==1)throw Error(En(170));var u=t;do{switch(u.tag){case 3:u=u.stateNode.context;break n;case 1:if($l(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break n}}u=u.return}while(u!==null);throw Error(En(171))}if(t.tag===1){var l=t.type;if($l(l)){t=Yde(t,l,u);break e}}t=u}else t=ld;return n.context===null?n.context=t:n.pendingContext=t,n=sd(o,i),n.payload={element:e},a=a===void 0?null:a,a!==null&&(n.callback=a),fd(r,n),_d(r,i,o),i}function FU(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function fge(e,n){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var t=e.retryLane;e.retryLane=t!==0&&t<n?t:n}}function MU(e,n){fge(e,n),(e=e.alternate)&&fge(e,n)}function Lon(){return null}function GU(e,n,t){var a=t!=null&&t.hydrationOptions!=null&&t.hydrationOptions.mutableSources||null;if(t=new Aon(e,n,t!=null&&t.hydrate===!0),n=Vs(3,null,null,n===2?7:n===1?3:0),t.current=n,n.stateNode=t,WO(n),e[Ib]=t.current,Ode(e.nodeType===8?e.parentNode:e),a)for(e=0;e<a.length;e++){n=a[e];var r=n._getVersion;r=r(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,r]:t.mutableSourceEagerHydrationData.push(n,r)}this._internalRoot=t}GU.prototype.render=function(e){JA(e,this._internalRoot,null,null)};GU.prototype.unmount=function(){var e=this._internalRoot,n=e.containerInfo;JA(null,e,null,function(){n[Ib]=null})};function wI(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function jon(e,n){if(n||(n=e?e.nodeType===9?e.documentElement:e.firstChild:null,n=!(!n||n.nodeType!==1||!n.hasAttribute("data-reactroot"))),!n)for(var t;t=e.lastChild;)e.removeChild(t);return new GU(e,0,n?{hydrate:!0}:void 0)}function WA(e,n,t,a,r){var o=t._reactRootContainer;if(o){var i=o._internalRoot;if(typeof r=="function"){var u=r;r=function(){var c=FU(i);u.call(c)}}JA(n,i,e,r)}else{if(o=t._reactRootContainer=jon(t,a),i=o._internalRoot,typeof r=="function"){var l=r;r=function(){var c=FU(i);l.call(c)}}age(function(){JA(n,i,e,r)})}return FU(i)}nde=function(e){if(e.tag===13){var n=$c();_d(e,4,n),MU(e,4)}};cO=function(e){if(e.tag===13){var n=$c();_d(e,67108864,n),MU(e,67108864)}};tde=function(e){if(e.tag===13){var n=$c(),t=pd(e);_d(e,t,n),MU(e,t)}};ade=function(e,n){return n()};tO=function(e,n,t){switch(n){case"input":if($k(e,t),n=t.name,t.type==="radio"&&n!=null){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),n=0;n<t.length;n++){var a=t[n];if(a!==e&&a.form===e.form){var r=mA(a);if(!r)throw Error(En(90));j_e(a),$k(a,r)}}}break;case"textarea":U_e(e,t);break;case"select":n=t.value,n!=null&&_b(e,!!t.multiple,n,!1)}};aO=tge;Q_e=function(e,n,t,a,r){var o=Zt;Zt|=4;try{return Jg(98,e.bind(null,n,t,a,r))}finally{Zt=o,Zt===0&&(kb(),M0())}};rO=function(){(Zt&49)==0&&(bon(),dd())};Y_e=function(e,n){var t=Zt;Zt|=2;try{return e(n)}finally{Zt=t,Zt===0&&(kb(),M0())}};function vge(e,n){var t=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!wI(n))throw Error(En(200));return xon(e,n,null,t)}var Non={Events:[aI,Tb,mA,$_e,V_e,dd,{current:!1}]},SI={findFiberByHostInstance:Ug,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},Pon={bundleType:SI.bundleType,version:SI.version,rendererPackageName:SI.rendererPackageName,rendererConfig:SI.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Ng.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=K_e(e),e===null?null:e.stateNode},findFiberByHostInstance:SI.findFiberByHostInstance||Lon,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&(EI=__REACT_DEVTOOLS_GLOBAL_HOOK__,!EI.isDisabled&&EI.supportsFiber))try{NO=EI.inject(Pon),Bg=EI}catch{}var EI;Qs.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Non;Qs.createPortal=vge;Qs.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var n=e._reactInternals;if(n===void 0)throw typeof e.render=="function"?Error(En(188)):Error(En(268,Object.keys(e)));return e=K_e(n),e=e===null?null:e.stateNode,e};Qs.flushSync=function(e,n){var t=Zt;if((t&48)!=0)return e(n);Zt|=1;try{if(e)return Jg(99,e.bind(null,n))}finally{Zt=t,M0()}};Qs.hydrate=function(e,n,t){if(!wI(n))throw Error(En(200));return WA(null,e,n,!0,t)};Qs.render=function(e,n,t){if(!wI(n))throw Error(En(200));return WA(null,e,n,!1,t)};Qs.unmountComponentAtNode=function(e){if(!wI(e))throw Error(En(40));return e._reactRootContainer?(age(function(){WA(null,null,e,!1,function(){e._reactRootContainer=null,e[Ib]=null})}),!0):!1};Qs.unstable_batchedUpdates=tge;Qs.unstable_createPortal=function(e,n){return vge(e,n,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};Qs.unstable_renderSubtreeIntoContainer=function(e,n,t,a){if(!wI(t))throw Error(En(200));if(e==null||e._reactInternals===void 0)throw Error(En(38));return WA(e,n,t,!1,a)};Qs.version="17.0.2"});var Bb=Pe((p5a,_ge)=>{"use strict";function pge(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(pge)}catch(e){console.error(e)}}pge(),_ge.exports=mge()});var II=Pe(jU=>{"use strict";Object.defineProperty(jU,"__esModule",{value:!0});var xU=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},dge=function(){function e(n,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,t,a){return t&&e(n.prototype,t),a&&e(n,a),n}}(),hge=(Wt(),Nh),CI=gge(hge),kon=ry(),Ji=gge(kon);function gge(e){return e&&e.__esModule?e:{default:e}}function Oon(e,n){var t={};for(var a in e)n.indexOf(a)>=0||!Object.prototype.hasOwnProperty.call(e,a)||(t[a]=e[a]);return t}function Uon(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Hon(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 Bon(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 Dge={position:"absolute",top:0,left:0,visibility:"hidden",height:0,overflow:"scroll",whiteSpace:"pre"},Jon=["extraWidth","injectStyles","inputClassName","inputRef","inputStyle","minWidth","onAutosize","placeholderIsMinWidth"],Won=function(n){return Jon.forEach(function(t){return delete n[t]}),n},yge=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},bge=typeof window!="undefined"&&window.navigator?/MSIE |Trident\/|Edge\//.test(window.navigator.userAgent):!1,Rge=function(){return bge?"_"+Math.random().toString(36).substr(2,12):void 0},LU=function(e){Bon(n,e),dge(n,null,[{key:"getDerivedStateFromProps",value:function(a,r){var o=a.id;return o!==r.prevId?{inputId:o||Rge(),prevId:o}:null}}]);function n(t){Uon(this,n);var a=Hon(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||Rge(),prevId:t.id},a}return dge(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||(yge(a,this.sizer),this.placeHolderSizer&&yge(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<this.props.minWidth&&(a=this.props.minWidth),a!==this.state.inputWidth&&this.setState({inputWidth:a})}}},{key:"getInput",value:function(){return this.input}},{key:"focus",value:function(){this.input.focus()}},{key:"blur",value:function(){this.input.blur()}},{key:"select",value:function(){this.input.select()}},{key:"renderStyles",value:function(){var a=this.props.injectStyles;return bge&&a?CI.default.createElement("style",{dangerouslySetInnerHTML:{__html:"input#"+this.state.inputId+"::-ms-clear {display: none;}"}}):null}},{key:"render",value:function(){var a=[this.props.defaultValue,this.props.value,""].reduce(function(u,l){return u!=null?u:l}),r=xU({},this.props.style);r.display||(r.display="inline-block");var o=xU({boxSizing:"content-box",width:this.state.inputWidth+"px"},this.props.inputStyle),i=Oon(this.props,[]);return Won(i),i.className=this.props.inputClassName,i.id=this.state.inputId,i.style=o,CI.default.createElement("div",{className:this.props.className,style:r},this.renderStyles(),CI.default.createElement("input",xU({},i,{ref:this.inputRef})),CI.default.createElement("div",{ref:this.sizerRef,style:Dge},a),this.props.placeholder?CI.default.createElement("div",{ref:this.placeHolderSizerRef,style:Dge},this.props.placeholder):null)}}]),n}(hge.Component);LU.propTypes={className:Ji.default.string,defaultValue:Ji.default.any,extraWidth:Ji.default.oneOfType([Ji.default.number,Ji.default.string]),id:Ji.default.string,injectStyles:Ji.default.bool,inputClassName:Ji.default.string,inputRef:Ji.default.func,inputStyle:Ji.default.object,minWidth:Ji.default.oneOfType([Ji.default.number,Ji.default.string]),onAutosize:Ji.default.func,onChange:Ji.default.func,placeholder:Ji.default.string,placeholderIsMinWidth:Ji.default.bool,style:Ji.default.object,value:Ji.default.any};LU.defaultProps={minWidth:1,injectStyles:!0};jU.default=LU});var BDe=Pe(($U,HDe)=>{(function(e,n){if(typeof define=="function"&&define.amd)define("react-list",["prop-types","react"],n);else if(typeof $U!="undefined")n(ry(),(Wt(),Nh));else{var t={exports:{}};n(e.PropTypes,e.React),e.ReactList=t.exports}})(typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:$U,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 ne=r();if(ne&&ne.has(x))return ne.get(x);var me={},ye=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var U in x)if(Object.prototype.hasOwnProperty.call(x,U)){var de=ye?Object.getOwnPropertyDescriptor(x,U):null;de&&(de.get||de.set)?Object.defineProperty(me,U,de):me[U]=x[U]}return me.default=x,ne&&ne.set(x,me),me}function i(x){return x&&x.__esModule?x:{default:x}}function u(x){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(me){return typeof me}:u=function(me){return me&&typeof Symbol=="function"&&me.constructor===Symbol&&me!==Symbol.prototype?"symbol":typeof me},u(x)}function l(x,ne){if(!(x instanceof ne))throw new TypeError("Cannot call a class as a function")}function c(x,ne){for(var me=0;me<ne.length;me++){var ye=ne[me];ye.enumerable=ye.enumerable||!1,ye.configurable=!0,"value"in ye&&(ye.writable=!0),Object.defineProperty(x,ye.key,ye)}}function s(x,ne,me){return ne&&c(x.prototype,ne),me&&c(x,me),x}function f(x,ne){if(typeof ne!="function"&&ne!==null)throw new TypeError("Super expression must either be null or a function");x.prototype=Object.create(ne&&ne.prototype,{constructor:{value:x,writable:!0,configurable:!0}}),ne&&v(x,ne)}function v(x,ne){return v=Object.setPrototypeOf||function(ye,U){return ye.__proto__=U,ye},v(x,ne)}function m(x){var ne=D();return function(){var ye=y(x),U;if(ne){var de=y(this).constructor;U=Reflect.construct(ye,arguments,de)}else U=ye.apply(this,arguments);return _(this,U)}}function _(x,ne){return ne&&(u(ne)==="object"||typeof ne=="function")?ne:R(x)}function R(x){if(x===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return x}function D(){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 y(x){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(me){return me.__proto__||Object.getPrototypeOf(me)},y(x)}function S(x,ne){var me=Object.keys(x);if(Object.getOwnPropertySymbols){var ye=Object.getOwnPropertySymbols(x);ne&&(ye=ye.filter(function(U){return Object.getOwnPropertyDescriptor(x,U).enumerable})),me.push.apply(me,ye)}return me}function G(x){for(var ne=1;ne<arguments.length;ne++){var me=arguments[ne]!=null?arguments[ne]:{};ne%2?S(Object(me),!0).forEach(function(ye){P(x,ye,me[ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(me)):S(Object(me)).forEach(function(ye){Object.defineProperty(x,ye,Object.getOwnPropertyDescriptor(me,ye))})}return x}function P(x,ne,me){return ne in x?Object.defineProperty(x,ne,{value:me,enumerable:!0,configurable:!0,writable:!0}):x[ne]=me,x}var k={x:"clientWidth",y:"clientHeight"},M={x:"clientTop",y:"clientLeft"},O={x:"innerWidth",y:"innerHeight"},oe={x:"offsetWidth",y:"offsetHeight"},le={x:"offsetLeft",y:"offsetTop"},ve={x:"overflowX",y:"overflowY"},X={x:"scrollWidth",y:"scrollHeight"},be={x:"scrollLeft",y:"scrollTop"},pe={x:"width",y:"height"},De=function(){},Ne=function(){if(typeof window=="undefined")return!1;var x=!1;try{document.createElement("div").addEventListener("test",De,{get passive(){return x=!0,!1}})}catch{}return x}()?{passive:!0}:!1,ie="ReactList failed to reach a stable state.",jn=40,Ve=function(ne,me){for(var ye in me)if(ne[ye]!==me[ye])return!1;return!0},Pn=function(ne){for(var me=ne.props.axis,ye=ne.getEl(),U=ve[me];ye=ye.parentElement;)switch(window.getComputedStyle(ye)[U]){case"auto":case"scroll":case"overlay":return ye}return window},kn=function(ne){var me=ne.props.axis,ye=ne.scrollParent;return ye===window?window[O[me]]:ye[k[me]]},q=function(ne,me){var ye=ne.length,U=ne.minSize,de=ne.type,V=me.from,Ae=me.size,Me=me.itemsPerRow;Ae=Math.max(Ae,U);var He=Ae%Me;return He&&(Ae+=Me-He),Ae>ye&&(Ae=ye),V=de==="simple"||!V?0:Math.max(Math.min(V,ye-Ae),0),(He=V%Me)&&(V-=He,Ae+=He),V===me.from&&Ae==me.size?me:G(G({},me),{},{from:V,size:Ae})};HDe.exports=(a=t=function(x){f(me,x);var ne=m(me);s(me,null,[{key:"getDerivedStateFromProps",value:function(U,de){var V=q(U,de);return V===de?null:V}}]);function me(ye){var U;return l(this,me),U=ne.call(this,ye),U.state=q(ye,{itemsPerRow:1,from:ye.initialIndex,size:0}),U.cache={},U.cachedScrollPosition=null,U.prevPrevState={},U.unstable=!1,U.updateCounter=0,U}return s(me,[{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 de=this;if(this.props.axis!==U.axis&&this.clearSizeCache(),!this.unstable){if(++this.updateCounter>jn)return this.unstable=!0,console.error(ie);this.updateCounterTimeoutId||(this.updateCounterTimeoutId=setTimeout(function(){de.updateCounter=0,delete de.updateCounterTimeoutId},0)),this.updateFrame()}}},{key:"maybeSetState",value:function(U,de){if(Ve(this.state,U))return de();this.setState(U,de)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.updateFrameAndClearCache),this.scrollParent.removeEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.removeEventListener("mousewheel",De,Ne)}},{key:"getOffset",value:function(U){var de=this.props.axis,V=U[M[de]]||0,Ae=le[de];do V+=U[Ae]||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,de=this.props.axis,V=be[de],Ae=U===window?document.body[V]||document.documentElement[V]:U[V],Me=this.getScrollSize()-this.props.scrollParentViewportSizeGetter(this),He=Math.max(0,Math.min(Ae,Me)),$e=this.getEl();return this.cachedScrollPosition=this.getOffset(U)+He-this.getOffset($e),this.cachedScrollPosition}},{key:"setScroll",value:function(U){var de=this.scrollParent,V=this.props.axis;if(U+=this.getOffset(this.getEl()),de===window)return window.scrollTo(0,U);U-=this.getOffset(this.scrollParent),de[be[V]]=U}},{key:"getScrollSize",value:function(){var U=this.scrollParent,de=document,V=de.body,Ae=de.documentElement,Me=X[this.props.axis];return U===window?Math.max(V[Me],Ae[Me]):U[Me]}},{key:"hasDeterminateSize",value:function(){var U=this.props,de=U.itemSizeGetter,V=U.type;return V==="uniform"||de}},{key:"getStartAndEnd",value:function(){var U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.props.threshold,de=this.getScrollPosition(),V=Math.max(0,de-U),Ae=de+this.props.scrollParentViewportSizeGetter(this)+U;return this.hasDeterminateSize()&&(Ae=Math.min(Ae,this.getSpaceBefore(this.props.length))),{start:V,end:Ae}}},{key:"getItemSizeAndItemsPerRow",value:function(){var U=this.props,de=U.axis,V=U.useStaticSize,Ae=this.state,Me=Ae.itemSize,He=Ae.itemsPerRow;if(V&&Me&&He)return{itemSize:Me,itemsPerRow:He};var $e=this.items.children;if(!$e.length)return{};var je=$e[0],In=je[oe[de]],cn=Math.abs(In-Me);if((isNaN(cn)||cn>=1)&&(Me=In),!Me)return{};var nt=le[de],Cn=je[nt];He=1;for(var tt=$e[He];tt&&tt[nt]===Cn;tt=$e[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=De),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",De)),this.clearSizeCache(),this.scrollParent.addEventListener("scroll",this.updateFrameAndClearCache,Ne),this.scrollParent.addEventListener("mousewheel",De,Ne))}},{key:"updateSimpleFrame",value:function(U){var de=this.getStartAndEnd(),V=de.end,Ae=this.items.children,Me=0;if(Ae.length){var He=this.props.axis,$e=Ae[0],je=Ae[Ae.length-1];Me=this.getOffset(je)+je[oe[He]]-this.getOffset($e)}if(Me>V)return U();var In=this.props,cn=In.pageSize,nt=In.length,Cn=Math.min(this.state.size+cn,nt);this.maybeSetState({size:Cn},U)}},{key:"updateVariableFrame",value:function(U){this.props.itemSizeGetter||this.cacheSizes();for(var de=this.getStartAndEnd(),V=de.start,Ae=de.end,Me=this.props,He=Me.length,$e=Me.pageSize,je=0,In=0,cn=0,nt=He-1;In<nt;){var Cn=this.getSizeOfItem(In);if(Cn==null||je+Cn>V)break;je+=Cn,++In}for(var tt=He-In;cn<tt&&je<Ae;){var ht=this.getSizeOfItem(In+cn);if(ht==null){cn=Math.min(cn+$e,tt);break}je+=ht,++cn}this.maybeSetState(q(this.props,{from:In,itemsPerRow:1,size:cn}),U)}},{key:"updateUniformFrame",value:function(U){var de=this.getItemSizeAndItemsPerRow(),V=de.itemSize,Ae=de.itemsPerRow;if(!V||!Ae)return U();var Me=this.getStartAndEnd(),He=Me.start,$e=Me.end,je=q(this.props,{from:Math.floor(He/V)*Ae,size:(Math.ceil(($e-He)/V)+1)*Ae,itemsPerRow:Ae}),In=je.from,cn=je.size;return this.maybeSetState({itemsPerRow:Ae,from:In,itemSize:V,size:cn},U)}},{key:"getSpaceBefore",value:function(U){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(de[U]!=null)return de[U];var V=this.state,Ae=V.itemSize,Me=V.itemsPerRow;if(Ae)return de[U]=Math.floor(U/Me)*Ae;for(var He=U;He>0&&de[--He]==null;);for(var $e=de[He]||0,je=He;je<U;++je){de[je]=$e;var In=this.getSizeOfItem(je);if(In==null)break;$e+=In}return de[U]=$e}},{key:"cacheSizes",value:function(){for(var U=this.cache,de=this.state.from,V=this.items.children,Ae=oe[this.props.axis],Me=0,He=V.length;Me<He;++Me)U[de+Me]=V[Me][Ae]}},{key:"getSizeOfItem",value:function(U){var de=this.cache,V=this.items,Ae=this.props,Me=Ae.axis,He=Ae.itemSizeGetter,$e=Ae.itemSizeEstimator,je=Ae.type,In=this.state,cn=In.from,nt=In.itemSize,Cn=In.size;if(nt)return nt;if(He)return He(U);if(U in de)return de[U];if(je==="simple"&&U>=cn&&U<cn+Cn&&V){var tt=V.children[U-cn];if(tt)return tt[oe[Me]]}if($e)return $e(U,de)}},{key:"scrollTo",value:function(U){U!=null&&this.setScroll(this.getSpaceBefore(U))}},{key:"scrollAround",value:function(U){var de=this.getScrollPosition(),V=this.getSpaceBefore(U),Ae=V-this.props.scrollParentViewportSizeGetter(this)+this.getSizeOfItem(U),Me=Math.min(Ae,V),He=Math.max(Ae,V);if(de<=Me)return this.setScroll(Me);if(de>He)return this.setScroll(He)}},{key:"getVisibleRange",value:function(){for(var U=this.state,de=U.from,V=U.size,Ae=this.getStartAndEnd(0),Me=Ae.start,He=Ae.end,$e={},je,In,cn=de;cn<de+V;++cn){var nt=this.getSpaceBefore(cn,$e),Cn=nt+this.getSizeOfItem(cn);je==null&&Cn>Me&&(je=cn),je!=null&&nt<He&&(In=cn)}return[je,In]}},{key:"renderItems",value:function(){for(var U=this,de=this.props,V=de.itemRenderer,Ae=de.itemsRenderer,Me=this.state,He=Me.from,$e=Me.size,je=[],In=0;In<$e;++In)je.push(V(He+In,In));return Ae(je,function(cn){return U.items=cn})}},{key:"render",value:function(){var U=this,de=this.props,V=de.axis,Ae=de.length,Me=de.type,He=de.useTranslate3d,$e=this.state,je=$e.from,In=$e.itemsPerRow,cn=this.renderItems();if(Me==="simple")return cn;var nt={position:"relative"},Cn={},tt=Math.ceil(Ae/In)*In,ht=this.getSpaceBefore(tt,Cn);ht&&(nt[pe[V]]=ht,V==="x"&&(nt.overflowX="hidden"));var Fn=this.getSpaceBefore(je,Cn),Ft=V==="x"?Fn:0,rt=V==="y"?Fn:0,Jn=He?"translate3d(".concat(Ft,"px, ").concat(rt,"px, 0)"):"translate(".concat(Ft,"px, ").concat(rt,"px)"),sn={msTransform:Jn,WebkitTransform:Jn,transform:Jn};return n.default.createElement("div",{style:nt,ref:function(Oa){return U.el=Oa}},n.default.createElement("div",{style:sn},cn))}}]),me}(n.Component),P(t,"displayName","ReactList"),P(t,"propTypes",{axis:e.default.oneOf(["x","y"]),initialIndex:e.default.number,itemRenderer:e.default.func,itemSizeEstimator:e.default.func,itemSizeGetter:e.default.func,itemsRenderer:e.default.func,length:e.default.number,minSize:e.default.number,pageSize:e.default.number,scrollParentGetter:e.default.func,scrollParentViewportSizeGetter:e.default.func,threshold:e.default.number,type:e.default.oneOf(["simple","variable","uniform"]),useStaticSize:e.default.bool,useTranslate3d:e.default.bool}),P(t,"defaultProps",{axis:"y",itemRenderer:function(ne,me){return n.default.createElement("div",{key:me},ne)},itemsRenderer:function(ne,me){return n.default.createElement("div",{ref:me},ne)},length:0,minSize:1,pageSize:10,scrollParentGetter:Pn,scrollParentViewportSizeGetter:kn,threshold:100,type:"simple",useStaticSize:!1,useTranslate3d:!1}),a)})});var Jwe=Pe(OB=>{"use strict";Object.defineProperty(OB,"__esModule",{value:!0});var Hmn=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},AB=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Bmn=function(){function e(n,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}return function(n,t,a){return t&&e(n.prototype,t),a&&e(n,a),n}}(),Jmn=(Wt(),Nh),xB=jB(Jmn),Wmn=ry(),Xl=jB(Wmn),qmn=z_(),LB=jB(qmn);function jB(e){return e&&e.__esModule?e:{default:e}}function ef(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function zmn(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function $mn(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 Vmn(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 Hwe={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"},Qmn=["animateOpacity","animationStateClasses","applyInlineTransitions","children","contentClassName","delay","duration","easing","height","onAnimationEnd","onAnimationStart"];function Ymn(e){for(var n=arguments.length,t=Array(n>1?n-1:0),a=1;a<n;a++)t[a-1]=arguments[a];if(!t.length)return e;for(var r={},o=Object.keys(e),i=0;i<o.length;i++){var u=o[i];t.indexOf(u)===-1&&(r[u]=e[u])}return r}function Xmn(e){var n=[];return n[0]=requestAnimationFrame(function(){n[1]=requestAnimationFrame(function(){e()})}),n}function Bwe(e){e.forEach(function(n){return cancelAnimationFrame(n)})}function NB(e){return!isNaN(parseFloat(e))&&isFinite(e)}function PB(e){return typeof e=="string"&&e.search("%")===e.length-1&&NB(e.substr(0,e.length-1))}function Kx(e,n){e&&typeof e=="function"&&e(n)}var kB=function(e){Vmn(n,e);function n(t){zmn(this,n);var a=$mn(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,t));a.animationFrameIDs=[];var r="auto",o="visible";NB(t.height)?(r=t.height<0||t.height==="0"?0:t.height,o="hidden"):PB(t.height)&&(r=t.height==="0%"?0:t.height,o="hidden"),a.animationStateClasses=AB({},Hwe,t.animationStateClasses);var i=a.getStaticStateClasses(r),u=typeof window!="undefined";return u&&window.matchMedia&&(a.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion)").matches),a.state={animationStateClasses:i,height:r,overflow:o,shouldUseTransitions:!1},a}return Bmn(n,[{key:"componentDidMount",value:function(){var a=this.state.height;this.contentElement&&this.contentElement.style&&this.hideContent(a)}},{key:"componentDidUpdate",value:function(a,r){var o=this,i=this.props,u=i.height,l=i.onAnimationEnd,c=i.onAnimationStart,s=this.getTimings(),f=s.duration,v=s.delay;if(this.contentElement&&u!==a.height){var m;this.showContent(r.height),this.contentElement.style.overflow="hidden";var _=this.contentElement.offsetHeight;this.contentElement.style.overflow="";var R=f+v,D=null,y={height:null,overflow:"hidden"},S=r.height==="auto";NB(u)?(D=u<0||u==="0"?0:u,y.height=D):PB(u)?(D=u==="0%"?0:u,y.height=D):(D=_,y.height="auto",y.overflow=null),S&&(y.height=D,D=_);var G=(0,LB.default)((m={},ef(m,this.animationStateClasses.animating,!0),ef(m,this.animationStateClasses.animatingUp,a.height==="auto"||u<a.height),ef(m,this.animationStateClasses.animatingDown,u==="auto"||u>a.height),ef(m,this.animationStateClasses.animatingToHeightZero,y.height===0),ef(m,this.animationStateClasses.animatingToHeightAuto,y.height==="auto"),ef(m,this.animationStateClasses.animatingToHeightSpecific,y.height>0),m)),P=this.getStaticStateClasses(y.height);this.setState({animationStateClasses:G,height:D,overflow:"hidden",shouldUseTransitions:!S}),clearTimeout(this.timeoutID),clearTimeout(this.animationClassesTimeoutID),S?(y.shouldUseTransitions=!0,Bwe(this.animationFrameIDs),this.animationFrameIDs=Xmn(function(){o.setState(y),Kx(c,{newHeight:y.height})}),this.animationClassesTimeoutID=setTimeout(function(){o.setState({animationStateClasses:P,shouldUseTransitions:!1}),o.hideContent(y.height),Kx(l,{newHeight:y.height})},R)):(Kx(c,{newHeight:D}),this.timeoutID=setTimeout(function(){y.animationStateClasses=P,y.shouldUseTransitions=!1,o.setState(y),u!=="auto"&&o.hideContent(D),Kx(l,{newHeight:D})},R))}}},{key:"componentWillUnmount",value:function(){Bwe(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,LB.default)((r={},ef(r,this.animationStateClasses.static,!0),ef(r,this.animationStateClasses.staticHeightZero,a===0),ef(r,this.animationStateClasses.staticHeightSpecific,a>0),ef(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,m=o.style,_=this.state,R=_.height,D=_.overflow,y=_.animationStateClasses,S=_.shouldUseTransitions,G=this.getTimings(),P=G.duration,k=G.delay,M=AB({},m,{height:R,overflow:D||m.overflow});S&&u&&(M.transition="height "+P+"ms "+f+" "+k+"ms",m.transition&&(M.transition=m.transition+", "+M.transition),M.WebkitTransition=M.transition);var O={};i&&(O.transition="opacity "+P+"ms "+f+" "+k+"ms",O.WebkitTransition=O.transition,R===0&&(O.opacity=0));var oe=(0,LB.default)((a={},ef(a,y,!0),ef(a,c,c),a)),le=typeof this.props["aria-hidden"]!="undefined",ve=le?this.props["aria-hidden"]:R===0;return xB.default.createElement("div",AB({},Ymn.apply(void 0,[this.props].concat(Qmn)),{"aria-hidden":ve,className:oe,id:v,style:M}),xB.default.createElement("div",{className:s,style:O,ref:function(be){return r.contentElement=be}},l))}}]),n}(xB.default.Component),Zmn=function(n,t,a){var r=n[t];return typeof r=="number"&&r>=0||PB(r)||r==="auto"?null:new TypeError('value "'+r+'" of type "'+(typeof r=="undefined"?"undefined":Hmn(r))+'" is invalid type for '+t+" in "+a+'. It needs to be a positive number, string "auto" or percentage string (e.g. "15%").')};kB.propTypes={"aria-hidden":Xl.default.bool,animateOpacity:Xl.default.bool,animationStateClasses:Xl.default.object,applyInlineTransitions:Xl.default.bool,children:Xl.default.any.isRequired,className:Xl.default.string,contentClassName:Xl.default.string,delay:Xl.default.number,duration:Xl.default.number,easing:Xl.default.string,height:Zmn,id:Xl.default.string,onAnimationEnd:Xl.default.func,onAnimationStart:Xl.default.func,style:Xl.default.object};kB.defaultProps={animateOpacity:!1,animationStateClasses:Hwe,applyInlineTransitions:!0,duration:250,delay:0,easing:"ease",style:{}};OB.default=kB});var oCe=Pe((b7,dJ)=>{(function(n,t){typeof b7=="object"&&typeof dJ=="object"?dJ.exports=t():typeof define=="function"&&define.amd?define([],t):typeof b7=="object"?b7.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 m=function(_,R){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(D,y){D.__proto__=y}||function(D,y){for(var S in y)y.hasOwnProperty(S)&&(D[S]=y[S])},m(_,R)};return function(_,R){m(_,R);function D(){this.constructor=_}_.prototype=R===null?Object.create(R):(D.prototype=R.prototype,new D)}}();Object.defineProperty(n,"__esModule",{value:!0});var r=256,o=function(){function m(_){_===void 0&&(_="="),this._paddingCharacter=_}return m.prototype.encodedLength=function(_){return this._paddingCharacter?(_+2)/3*4|0:(_*8+5)/6|0},m.prototype.encode=function(_){for(var R="",D=0;D<_.length-2;D+=3){var y=_[D]<<16|_[D+1]<<8|_[D+2];R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),R+=this._encodeByte(y>>>1*6&63),R+=this._encodeByte(y>>>0*6&63)}var S=_.length-D;if(S>0){var y=_[D]<<16|(S===2?_[D+1]<<8:0);R+=this._encodeByte(y>>>3*6&63),R+=this._encodeByte(y>>>2*6&63),S===2?R+=this._encodeByte(y>>>1*6&63):R+=this._paddingCharacter||"",R+=this._paddingCharacter||""}return R},m.prototype.maxDecodedLength=function(_){return this._paddingCharacter?_/4*3|0:(_*6+7)/8|0},m.prototype.decodedLength=function(_){return this.maxDecodedLength(_.length-this._getPaddingLength(_))},m.prototype.decode=function(_){if(_.length===0)return new Uint8Array(0);for(var R=this._getPaddingLength(_),D=_.length-R,y=new Uint8Array(this.maxDecodedLength(D)),S=0,G=0,P=0,k=0,M=0,O=0,oe=0;G<D-4;G+=4)k=this._decodeChar(_.charCodeAt(G+0)),M=this._decodeChar(_.charCodeAt(G+1)),O=this._decodeChar(_.charCodeAt(G+2)),oe=this._decodeChar(_.charCodeAt(G+3)),y[S++]=k<<2|M>>>4,y[S++]=M<<4|O>>>2,y[S++]=O<<6|oe,P|=k&r,P|=M&r,P|=O&r,P|=oe&r;if(G<D-1&&(k=this._decodeChar(_.charCodeAt(G)),M=this._decodeChar(_.charCodeAt(G+1)),y[S++]=k<<2|M>>>4,P|=k&r,P|=M&r),G<D-2&&(O=this._decodeChar(_.charCodeAt(G+2)),y[S++]=M<<4|O>>>2,P|=O&r),G<D-3&&(oe=this._decodeChar(_.charCodeAt(G+3)),y[S++]=O<<6|oe,P|=oe&r),P!==0)throw new Error("Base64Coder: incorrect characters for decoding");return y},m.prototype._encodeByte=function(_){var R=_;return R+=65,R+=25-_>>>8&0-65-26+97,R+=51-_>>>8&26-97-52+48,R+=61-_>>>8&52-48-62+43,R+=62-_>>>8&62-43-63+47,String.fromCharCode(R)},m.prototype._decodeChar=function(_){var R=r;return R+=(42-_&_-44)>>>8&-r+_-43+62,R+=(46-_&_-48)>>>8&-r+_-47+63,R+=(47-_&_-58)>>>8&-r+_-48+52,R+=(64-_&_-91)>>>8&-r+_-65+0,R+=(96-_&_-123)>>>8&-r+_-97+26,R},m.prototype._getPaddingLength=function(_){var R=0;if(this._paddingCharacter){for(var D=_.length-1;D>=0&&_[D]===this._paddingCharacter;D--)R++;if(_.length<4||R>2)throw new Error("Base64Coder: incorrect padding")}return R},m}();n.Coder=o;var i=new o;function u(m){return i.encode(m)}n.encode=u;function l(m){return i.decode(m)}n.decode=l;var c=function(m){a(_,m);function _(){return m!==null&&m.apply(this,arguments)||this}return _.prototype._encodeByte=function(R){var D=R;return D+=65,D+=25-R>>>8&0-65-26+97,D+=51-R>>>8&26-97-52+48,D+=61-R>>>8&52-48-62+45,D+=62-R>>>8&62-45-63+95,String.fromCharCode(D)},_.prototype._decodeChar=function(R){var D=r;return D+=(44-R&R-46)>>>8&-r+R-45+62,D+=(94-R&R-96)>>>8&-r+R-95+63,D+=(47-R&R-58)>>>8&-r+R-48+52,D+=(64-R&R-91)>>>8&-r+R-65+0,D+=(96-R&R-123)>>>8&-r+R-97+26,D},_}(o);n.URLSafeCoder=c;var s=new c;function f(m){return s.encode(m)}n.encodeURLSafe=f;function v(m){return s.decode(m)}n.decodeURLSafe=v,n.encodedLength=function(m){return i.encodedLength(m)},n.maxDecodedLength=function(m){return i.maxDecodedLength(m)},n.decodedLength=function(m){return i.decodedLength(m)}},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<l.length;f++){var v=l.charCodeAt(f);v<128?c[s++]=v:v<2048?(c[s++]=192|v>>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;s++){var f=l.charCodeAt(s);if(f<128)c+=1;else if(f<2048)c+=2;else if(f<55296)c+=3;else if(f<=57343){if(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;s++){var f=l[s];if(f&128){var v=void 0;if(f<224){if(s>=l.length)throw new Error(r);var m=l[++s];if((m&192)!=128)throw new Error(r);f=(f&31)<<6|m&63,v=128}else if(f<240){if(s>=l.length-1)throw new Error(r);var m=l[++s],_=l[++s];if((m&192)!=128||(_&192)!=128)throw new Error(r);f=(f&15)<<12|(m&63)<<6|_&63,v=2048}else if(f<248){if(s>=l.length-2)throw new Error(r);var m=l[++s],_=l[++s],R=l[++s];if((m&192)!=128||(_&192)!=128||(R&192)!=128)throw new Error(r);f=(f&15)<<18|(m&63)<<12|(_&63)<<6|R&63,v=65536}else throw new Error(r);if(f<v||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 g(h,w){this.lastId=0,this.prefix=h,this.name=w}return g.prototype.create=function(h){this.lastId++;var w=this.lastId,T=this.prefix+w,A=this.name+"["+w+"]",te=!1,ke=function(){te||(h.apply(null,arguments),te=!0)};return this[w]=ke,{number:w,id:T,name:A,callback:ke}},g.prototype.remove=function(h){delete this[h.number]},g}(),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 g(h){this.options=h,this.receivers=h.receivers||r,this.loading={}}return g.prototype.load=function(h,w,T){var A=this;if(A.loading[h]&&A.loading[h].length>0)A.loading[h].push(T);else{A.loading[h]=[T];var te=wa.createScriptRequest(A.getPath(h,w)),ke=A.receivers.create(function(xn){if(A.receivers.remove(ke),A.loading[h]){var kt=A.loading[h];delete A.loading[h];for(var tr=function(Qu){Qu||te.cleanup()},Di=0;Di<kt.length;Di++)kt[Di](xn,tr)}});te.send(ke)}},g.prototype.getRoot=function(h){var w,T=wa.getDocument().location.protocol;return h&&h.useTLS||T==="https:"?w=this.options.cdn_https:w=this.options.cdn_http,w.replace(/\/*$/,"")+"/"+this.options.version},g.prototype.getPath=function(h,w){return this.getRoot(w)+"/"+h+this.options.suffix+".js"},g}(),l=u,c=new a("_pusher_dependencies","Pusher.DependenciesReceivers"),s=new l({cdn_http:i.cdn_http,cdn_https:i.cdn_https,version:i.VERSION,suffix:i.dependency_suffix,receivers:c});function f(g){return P(S(g))}for(var v=String.fromCharCode,m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_={},R=0,D=m.length;R<D;R++)_[m.charAt(R)]=R;var y=function(g){var h=g.charCodeAt(0);return h<128?g:h<2048?v(192|h>>>6)+v(128|h&63):v(224|h>>>12&15)+v(128|h>>>6&63)+v(128|h&63)},S=function(g){return g.replace(/[^\x00-\x7F]/g,y)},G=function(g){var h=[0,2,1][g.length%3],w=g.charCodeAt(0)<<16|(g.length>1?g.charCodeAt(1):0)<<8|(g.length>2?g.charCodeAt(2):0),T=[m.charAt(w>>>18),m.charAt(w>>>12&63),h>=2?"=":m.charAt(w>>>6&63),h>=1?"=":m.charAt(w&63)];return T.join("")},P=window.btoa||function(g){return g.replace(/[\s\S]{1,3}/g,G)},k=function(){function g(h,w,T,A){var te=this;this.clear=w,this.timer=h(function(){te.timer&&(te.timer=A(te.timer))},T)}return g.prototype.isRunning=function(){return this.timer!==null},g.prototype.ensureAborted=function(){this.timer&&(this.clear(this.timer),this.timer=null)},g}(),M=k,O=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}();function oe(g){window.clearTimeout(g)}function le(g){window.clearInterval(g)}var ve=function(g){O(h,g);function h(w,T){return g.call(this,setTimeout,oe,w,function(A){return T(),null})||this}return h}(M),X=function(g){O(h,g);function h(w,T){return g.call(this,setInterval,le,w,function(A){return T(),A})||this}return h}(M),be={now:function(){return Date.now?Date.now():new Date().valueOf()},defer:function(g){return new ve(0,g)},method:function(g){for(var h=[],w=1;w<arguments.length;w++)h[w-1]=arguments[w];var T=Array.prototype.slice.call(arguments,1);return function(A){return A[g].apply(A,T.concat(arguments))}}},pe=be;function De(g){for(var h=[],w=1;w<arguments.length;w++)h[w-1]=arguments[w];for(var T=0;T<h.length;T++){var A=h[T];for(var te in A)A[te]&&A[te].constructor&&A[te].constructor===Object?g[te]=De(g[te]||{},A[te]):g[te]=A[te]}return g}function Ne(){for(var g=["Pusher"],h=0;h<arguments.length;h++)typeof arguments[h]=="string"?g.push(arguments[h]):g.push(He(arguments[h]));return g.join(" : ")}function ie(g,h){var w=Array.prototype.indexOf;if(g===null)return-1;if(w&&g.indexOf===w)return g.indexOf(h);for(var T=0,A=g.length;T<A;T++)if(g[T]===h)return T;return-1}function jn(g,h){for(var w in g)Object.prototype.hasOwnProperty.call(g,w)&&h(g[w],w,g)}function Ve(g){var h=[];return jn(g,function(w,T){h.push(T)}),h}function Pn(g){var h=[];return jn(g,function(w){h.push(w)}),h}function kn(g,h,w){for(var T=0;T<g.length;T++)h.call(w||window,g[T],T,g)}function q(g,h){for(var w=[],T=0;T<g.length;T++)w.push(h(g[T],T,g,w));return w}function x(g,h){var w={};return jn(g,function(T,A){w[A]=h(T)}),w}function ne(g,h){h=h||function(A){return!!A};for(var w=[],T=0;T<g.length;T++)h(g[T],T,g,w)&&w.push(g[T]);return w}function me(g,h){var w={};return jn(g,function(T,A){(h&&h(T,A,g,w)||Boolean(T))&&(w[A]=T)}),w}function ye(g){var h=[];return jn(g,function(w,T){h.push([T,w])}),h}function U(g,h){for(var w=0;w<g.length;w++)if(h(g[w],w,g))return!0;return!1}function de(g,h){for(var w=0;w<g.length;w++)if(!h(g[w],w,g))return!1;return!0}function V(g){return x(g,function(h){return typeof h=="object"&&(h=He(h)),encodeURIComponent(f(h.toString()))})}function Ae(g){var h=me(g,function(T){return T!==void 0}),w=q(ye(V(h)),pe.method("join","=")).join("&");return w}function Me(g){var h=[],w=[];return function T(A,te){var ke,xn,kt;switch(typeof A){case"object":if(!A)return null;for(ke=0;ke<h.length;ke+=1)if(h[ke]===A)return{$ref:w[ke]};if(h.push(A),w.push(te),Object.prototype.toString.apply(A)==="[object Array]")for(kt=[],ke=0;ke<A.length;ke+=1)kt[ke]=T(A[ke],te+"["+ke+"]");else{kt={};for(xn in A)Object.prototype.hasOwnProperty.call(A,xn)&&(kt[xn]=T(A[xn],te+"["+JSON.stringify(xn)+"]"))}return kt;case"number":case"string":case"boolean":return A}}(g,"$")}function He(g){try{return JSON.stringify(g)}catch{return JSON.stringify(Me(g))}}var $e=function(){function g(){this.globalLog=function(h){window.console&&window.console.log&&window.console.log(h)}}return g.prototype.debug=function(){for(var h=[],w=0;w<arguments.length;w++)h[w]=arguments[w];this.log(this.globalLog,h)},g.prototype.warn=function(){for(var h=[],w=0;w<arguments.length;w++)h[w]=arguments[w];this.log(this.globalLogWarn,h)},g.prototype.error=function(){for(var h=[],w=0;w<arguments.length;w++)h[w]=arguments[w];this.log(this.globalLogError,h)},g.prototype.globalLogWarn=function(h){window.console&&window.console.warn?window.console.warn(h):this.globalLog(h)},g.prototype.globalLogError=function(h){window.console&&window.console.error?window.console.error(h):this.globalLogWarn(h)},g.prototype.log=function(h){for(var w=[],T=1;T<arguments.length;T++)w[T-1]=arguments[T];var A=Ne.apply(this,arguments);if(d6.log)d6.log(A);else if(d6.logToConsole){var te=h.bind(this);te(A)}},g}(),je=new $e,In={baseUrl:"https://pusher.com",urls:{authenticationEndpoint:{path:"/docs/authenticating_users"},javascriptQuickStart:{path:"/docs/javascript_quick_start"},triggeringClientEvents:{path:"/docs/client_api_guide/client_events#trigger-events"},encryptedChannelSupport:{fullUrl:"https://github.com/pusher/pusher-js/tree/cc491015371a4bde5743d1c87a0fbac0feb53195#encrypted-channel-support"}}},cn=function(g){var h="See:",w=In.urls[g];if(!w)return"";var T;return w.fullUrl?T=w.fullUrl:w.path&&(T=In.baseUrl+w.path),T?h+" "+T:""},nt={buildLogSuffix:cn},Cn=function(g,h,w){var T=this,A;A=wa.createXHR(),A.open("POST",T.options.authEndpoint,!0),A.setRequestHeader("Content-Type","application/x-www-form-urlencoded");for(var te in this.authOptions.headers)A.setRequestHeader(te,this.authOptions.headers[te]);return A.onreadystatechange=function(){if(A.readyState===4)if(A.status===200){var ke,xn=!1;try{ke=JSON.parse(A.responseText),xn=!0}catch{w(!0,"JSON returned from auth endpoint was invalid, yet status code was 200. Data was: "+A.responseText)}xn&&w(!1,ke)}else{var kt=nt.buildLogSuffix("authenticationEndpoint");je.error("Unable to retrieve auth string from auth endpoint - "+("received status "+A.status+" from "+T.options.authEndpoint+". ")+("Clients must be authenticated to join private or presence channels. "+kt)),w(!0,A.status)}},A.send(this.composeQuery(h)),A},tt=Cn,ht=function(g,h,w){this.authOptions.headers!==void 0&&je.warn("To send headers with the auth request, you must use AJAX, rather than JSONP.");var T=g.nextAuthCallbackID.toString();g.nextAuthCallbackID++;var A=g.getDocument(),te=A.createElement("script");g.auth_callbacks[T]=function(kt){w(!1,kt)};var ke="Pusher.auth_callbacks['"+T+"']";te.src=this.options.authEndpoint+"?callback="+encodeURIComponent(ke)+"&"+this.composeQuery(h);var xn=A.getElementsByTagName("head")[0]||A.documentElement;xn.insertBefore(te,xn.firstChild)},Fn=ht,Ft=function(){function g(h){this.src=h}return g.prototype.send=function(h){var w=this,T="Error loading "+w.src;w.script=document.createElement("script"),w.script.id=h.id,w.script.src=w.src,w.script.type="text/javascript",w.script.charset="UTF-8",w.script.addEventListener?(w.script.onerror=function(){h.callback(T)},w.script.onload=function(){h.callback(null)}):w.script.onreadystatechange=function(){(w.script.readyState==="loaded"||w.script.readyState==="complete")&&h.callback(null)},w.script.async===void 0&&document.attachEvent&&/opera/i.test(navigator.userAgent)?(w.errorScript=document.createElement("script"),w.errorScript.id=h.id+"_error",w.errorScript.text=h.name+"('"+T+"');",w.script.async=w.errorScript.async=!1):w.script.async=!0;var A=document.getElementsByTagName("head")[0];A.insertBefore(w.script,A.firstChild),w.errorScript&&A.insertBefore(w.errorScript,w.script.nextSibling)},g.prototype.cleanup=function(){this.script&&(this.script.onload=this.script.onerror=null,this.script.onreadystatechange=null),this.script&&this.script.parentNode&&this.script.parentNode.removeChild(this.script),this.errorScript&&this.errorScript.parentNode&&this.errorScript.parentNode.removeChild(this.errorScript),this.script=null,this.errorScript=null},g}(),rt=Ft,Jn=function(){function g(h,w){this.url=h,this.data=w}return g.prototype.send=function(h){if(!this.request){var w=Ae(this.data),T=this.url+"/"+h.number+"?"+w;this.request=wa.createScriptRequest(T),this.request.send(h)}},g.prototype.cleanup=function(){this.request&&this.request.cleanup()},g}(),sn=Jn,vt=function(g,h){return function(w,T){var A="http"+(h?"s":"")+"://",te=A+(g.host||g.options.host)+g.options.path,ke=wa.createJSONPRequest(te,w),xn=wa.ScriptReceivers.create(function(kt,tr){r.remove(xn),ke.cleanup(),tr&&tr.host&&(g.host=tr.host),T&&T(kt,tr)});ke.send(xn)}},Oa={name:"jsonp",getAgent:vt},Ie=Oa;function qe(g,h,w){var T=g+(h.useTLS?"s":""),A=h.useTLS?h.hostTLS:h.hostNonTLS;return T+"://"+A+w}function Mt(g,h){var w="/app/"+g,T="?protocol="+i.PROTOCOL+"&client=js&version="+i.VERSION+(h?"&"+h:"");return w+T}var nr={getInitial:function(g,h){var w=(h.httpPath||"")+Mt(g,"flash=false");return qe("ws",h,w)}},lr={getInitial:function(g,h){var w=(h.httpPath||"/pusher")+Mt(g);return qe("http",h,w)}},ac={getInitial:function(g,h){return qe("http",h,h.httpPath||"/pusher")},getPath:function(g,h){return Mt(g)}},Av=function(){function g(){this._callbacks={}}return g.prototype.get=function(h){return this._callbacks[Z0(h)]},g.prototype.add=function(h,w,T){var A=Z0(h);this._callbacks[A]=this._callbacks[A]||[],this._callbacks[A].push({fn:w,context:T})},g.prototype.remove=function(h,w,T){if(!h&&!w&&!T){this._callbacks={};return}var A=h?[Z0(h)]:Ve(this._callbacks);w||T?this.removeCallback(A,w,T):this.removeAllCallbacks(A)},g.prototype.removeCallback=function(h,w,T){kn(h,function(A){this._callbacks[A]=ne(this._callbacks[A]||[],function(te){return w&&w!==te.fn||T&&T!==te.context}),this._callbacks[A].length===0&&delete this._callbacks[A]},this)},g.prototype.removeAllCallbacks=function(h){kn(h,function(w){delete this._callbacks[w]},this)},g}(),cf=Av;function Z0(g){return"_"+g}var Zd=function(){function g(h){this.callbacks=new cf,this.global_callbacks=[],this.failThrough=h}return g.prototype.bind=function(h,w,T){return this.callbacks.add(h,w,T),this},g.prototype.bind_global=function(h){return this.global_callbacks.push(h),this},g.prototype.unbind=function(h,w,T){return this.callbacks.remove(h,w,T),this},g.prototype.unbind_global=function(h){return h?(this.global_callbacks=ne(this.global_callbacks||[],function(w){return w!==h}),this):(this.global_callbacks=[],this)},g.prototype.unbind_all=function(){return this.unbind(),this.unbind_global(),this},g.prototype.emit=function(h,w,T){for(var A=0;A<this.global_callbacks.length;A++)this.global_callbacks[A](h,w);var te=this.callbacks.get(h),ke=[];if(T?ke.push(w,T):w&&ke.push(w),te&&te.length>0)for(var A=0;A<te.length;A++)te[A].fn.apply(te[A].context||window,ke);else this.failThrough&&this.failThrough(h,w);return this},g}(),cr=Zd,zR=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),sf=function(g){zR(h,g);function h(w,T,A,te,ke){var xn=g.call(this)||this;return xn.initialize=wa.transportConnectionInitializer,xn.hooks=w,xn.name=T,xn.priority=A,xn.key=te,xn.options=ke,xn.state="new",xn.timeline=ke.timeline,xn.activityTimeout=ke.activityTimeout,xn.id=xn.timeline.generateUniqueID(),xn}return h.prototype.handlesActivityChecks=function(){return Boolean(this.hooks.handlesActivityChecks)},h.prototype.supportsPing=function(){return Boolean(this.hooks.supportsPing)},h.prototype.connect=function(){var w=this;if(this.socket||this.state!=="initialized")return!1;var T=this.hooks.urls.getInitial(this.key,this.options);try{this.socket=this.hooks.getSocket(T,this.options)}catch(A){return pe.defer(function(){w.onError(A),w.changeState("closed")}),!1}return this.bindListeners(),je.debug("Connecting",{transport:this.name,url:T}),this.changeState("connecting"),!0},h.prototype.close=function(){return this.socket?(this.socket.close(),!0):!1},h.prototype.send=function(w){var T=this;return this.state==="open"?(pe.defer(function(){T.socket&&T.socket.send(w)}),!0):!1},h.prototype.ping=function(){this.state==="open"&&this.supportsPing()&&this.socket.ping()},h.prototype.onOpen=function(){this.hooks.beforeOpen&&this.hooks.beforeOpen(this.socket,this.hooks.urls.getPath(this.key,this.options)),this.changeState("open"),this.socket.onopen=void 0},h.prototype.onError=function(w){this.emit("error",{type:"WebSocketError",error:w}),this.timeline.error(this.buildTimelineMessage({error:w.toString()}))},h.prototype.onClose=function(w){w?this.changeState("closed",{code:w.code,reason:w.reason,wasClean:w.wasClean}):this.changeState("closed"),this.unbindListeners(),this.socket=void 0},h.prototype.onMessage=function(w){this.emit("message",w)},h.prototype.onActivity=function(){this.emit("activity")},h.prototype.bindListeners=function(){var w=this;this.socket.onopen=function(){w.onOpen()},this.socket.onerror=function(T){w.onError(T)},this.socket.onclose=function(T){w.onClose(T)},this.socket.onmessage=function(T){w.onMessage(T)},this.supportsPing()&&(this.socket.onactivity=function(){w.onActivity()})},h.prototype.unbindListeners=function(){this.socket&&(this.socket.onopen=void 0,this.socket.onerror=void 0,this.socket.onclose=void 0,this.socket.onmessage=void 0,this.supportsPing()&&(this.socket.onactivity=void 0))},h.prototype.changeState=function(w,T){this.state=w,this.timeline.info(this.buildTimelineMessage({state:w,params:T})),this.emit(w,T)},h.prototype.buildTimelineMessage=function(w){return De({cid:this.id},w)},h}(cr),FGe=sf,MGe=function(){function g(h){this.hooks=h}return g.prototype.isSupported=function(h){return this.hooks.isSupported(h)},g.prototype.createConnection=function(h,w,T,A){return new FGe(this.hooks,h,w,T,A)},g}(),AD=MGe,GGe=new AD({urls:nr,handlesActivityChecks:!1,supportsPing:!1,isInitialized:function(){return Boolean(wa.getWebSocketAPI())},isSupported:function(){return Boolean(wa.getWebSocketAPI())},getSocket:function(g){return wa.createWebSocket(g)}}),jz={urls:lr,handlesActivityChecks:!1,supportsPing:!0,isInitialized:function(){return!0}},Nz=De({getSocket:function(g){return wa.HTTPFactory.createStreamingSocket(g)}},jz),Pz=De({getSocket:function(g){return wa.HTTPFactory.createPollingSocket(g)}},jz),kz={isSupported:function(){return wa.isXHRSupported()}},AGe=new AD(De({},Nz,kz)),xGe=new AD(De({},Pz,kz)),LGe={ws:GGe,xhr_streaming:AGe,xhr_polling:xGe},$T=LGe,jGe=new AD({file:"sockjs",urls:ac,handlesActivityChecks:!0,supportsPing:!1,isSupported:function(){return!0},isInitialized:function(){return window.SockJS!==void 0},getSocket:function(g,h){return new window.SockJS(g,null,{js_path:s.getPath("sockjs",{useTLS:h.useTLS}),ignore_null_origin:h.ignoreNullOrigin})},beforeOpen:function(g,h){g.send(JSON.stringify({path:h}))}}),Oz={isSupported:function(g){var h=wa.isXDRSupported(g.useTLS);return h}},NGe=new AD(De({},Nz,Oz)),PGe=new AD(De({},Pz,Oz));$T.xdr_streaming=NGe,$T.xdr_polling=PGe,$T.sockjs=jGe;var kGe=$T,OGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),UGe=function(g){OGe(h,g);function h(){var w=g.call(this)||this,T=w;return window.addEventListener!==void 0&&(window.addEventListener("online",function(){T.emit("online")},!1),window.addEventListener("offline",function(){T.emit("offline")},!1)),w}return h.prototype.isOnline=function(){return window.navigator.onLine===void 0?!0:window.navigator.onLine},h}(cr),HGe=new UGe,BGe=function(){function g(h,w,T){this.manager=h,this.transport=w,this.minPingDelay=T.minPingDelay,this.maxPingDelay=T.maxPingDelay,this.pingDelay=void 0}return g.prototype.createConnection=function(h,w,T,A){var te=this;A=De({},A,{activityTimeout:this.pingDelay});var ke=this.transport.createConnection(h,w,T,A),xn=null,kt=function(){ke.unbind("open",kt),ke.bind("closed",tr),xn=pe.now()},tr=function(Di){if(ke.unbind("closed",tr),Di.code===1002||Di.code===1003)te.manager.reportDeath();else if(!Di.wasClean&&xn){var Qu=pe.now()-xn;Qu<2*te.maxPingDelay&&(te.manager.reportDeath(),te.pingDelay=Math.max(Qu/2,te.minPingDelay))}};return ke.bind("open",kt),ke},g.prototype.isSupported=function(h){return this.manager.isAlive()&&this.transport.isSupported(h)},g}(),JGe=BGe,Uz={decodeMessage:function(g){try{var h=JSON.parse(g.data),w=h.data;if(typeof w=="string")try{w=JSON.parse(h.data)}catch{}var T={event:h.event,channel:h.channel,data:w};return h.user_id&&(T.user_id=h.user_id),T}catch(A){throw{type:"MessageParseError",error:A,data:g.data}}},encodeMessage:function(g){return JSON.stringify(g)},processHandshake:function(g){var h=Uz.decodeMessage(g);if(h.event==="pusher:connection_established"){if(!h.data.activity_timeout)throw"No activity timeout specified in handshake";return{action:"connected",id:h.data.socket_id,activityTimeout:h.data.activity_timeout*1e3}}else{if(h.event==="pusher:error")return{action:this.getCloseAction(h.data),error:this.getCloseError(h.data)};throw"Invalid handshake"}},getCloseAction:function(g){return g.code<4e3?g.code>=1002&&g.code<=1004?"backoff":null:g.code===4e3?"tls_only":g.code<4100?"refused":g.code<4200?"backoff":g.code<4300?"retry":"refused"},getCloseError:function(g){return g.code!==1e3&&g.code!==1001?{type:"PusherError",data:{code:g.code,message:g.reason||g.message}}:null}},Kd=Uz,WGe=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),qGe=function(g){WGe(h,g);function h(w,T){var A=g.call(this)||this;return A.id=w,A.transport=T,A.activityTimeout=T.activityTimeout,A.bindListeners(),A}return h.prototype.handlesActivityChecks=function(){return this.transport.handlesActivityChecks()},h.prototype.send=function(w){return this.transport.send(w)},h.prototype.send_event=function(w,T,A){var te={event:w,data:T};return A&&(te.channel=A),je.debug("Event sent",te),this.send(Kd.encodeMessage(te))},h.prototype.ping=function(){this.transport.supportsPing()?this.transport.ping():this.send_event("pusher:ping",{})},h.prototype.close=function(){this.transport.close()},h.prototype.bindListeners=function(){var w=this,T={message:function(te){var ke;try{ke=Kd.decodeMessage(te)}catch(xn){w.emit("error",{type:"MessageParseError",error:xn,data:te.data})}if(ke!==void 0){switch(je.debug("Event recd",ke),ke.event){case"pusher:error":w.emit("error",{type:"PusherError",data:ke.data});break;case"pusher:ping":w.emit("ping");break;case"pusher:pong":w.emit("pong");break}w.emit("message",ke)}},activity:function(){w.emit("activity")},error:function(te){w.emit("error",{type:"WebSocketError",error:te})},closed:function(te){A(),te&&te.code&&w.handleCloseEvent(te),w.transport=null,w.emit("closed")}},A=function(){jn(T,function(te,ke){w.transport.unbind(ke,te)})};jn(T,function(te,ke){w.transport.bind(ke,te)})},h.prototype.handleCloseEvent=function(w){var T=Kd.getCloseAction(w),A=Kd.getCloseError(w);A&&this.emit("error",A),T&&this.emit(T,{action:T,error:A})},h}(cr),zGe=qGe,$Ge=function(){function g(h,w){this.transport=h,this.callback=w,this.bindListeners()}return g.prototype.close=function(){this.unbindListeners(),this.transport.close()},g.prototype.bindListeners=function(){var h=this;this.onMessage=function(w){h.unbindListeners();var T;try{T=Kd.processHandshake(w)}catch(A){h.finish("error",{error:A}),h.transport.close();return}T.action==="connected"?h.finish("connected",{connection:new zGe(T.id,h.transport),activityTimeout:T.activityTimeout}):(h.finish(T.action,{error:T.error}),h.transport.close())},this.onClosed=function(w){h.unbindListeners();var T=Kd.getCloseAction(w)||"backoff",A=Kd.getCloseError(w);h.finish(T,{error:A})},this.transport.bind("message",this.onMessage),this.transport.bind("closed",this.onClosed)},g.prototype.unbindListeners=function(){this.transport.unbind("message",this.onMessage),this.transport.unbind("closed",this.onClosed)},g.prototype.finish=function(h,w){this.callback(De({transport:this.transport,action:h},w))},g}(),VGe=$Ge,QGe=function(){function g(h,w){this.channel=h;var T=w.authTransport;if(typeof wa.getAuthorizers()[T]=="undefined")throw"'"+T+"' is not a recognized auth transport";this.type=T,this.options=w,this.authOptions=w.auth||{}}return g.prototype.composeQuery=function(h){var w="socket_id="+encodeURIComponent(h)+"&channel_name="+encodeURIComponent(this.channel.name);for(var T in this.authOptions.params)w+="&"+encodeURIComponent(T)+"="+encodeURIComponent(this.authOptions.params[T]);return w},g.prototype.authorize=function(h,w){g.authorizers=g.authorizers||wa.getAuthorizers(),g.authorizers[this.type].call(this,wa,h,w)},g}(),YGe=QGe,XGe=function(){function g(h,w){this.timeline=h,this.options=w||{}}return g.prototype.send=function(h,w){this.timeline.isEmpty()||this.timeline.send(wa.TimelineTransport.getAgent(this,h),w)},g}(),ZGe=XGe,eh=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),KGe=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),e4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),n4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),t4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),Hz=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),a4e=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),Bz=function(g){eh(h,g);function h(w){var T=this.constructor,A=g.call(this,w)||this;return Object.setPrototypeOf(A,T.prototype),A}return h}(Error),r4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),o4e=function(g){r4e(h,g);function h(w,T){var A=g.call(this,function(te,ke){je.debug("No callbacks on "+w+" for "+te)})||this;return A.name=w,A.pusher=T,A.subscribed=!1,A.subscriptionPending=!1,A.subscriptionCancelled=!1,A}return h.prototype.authorize=function(w,T){return T(!1,{auth:""})},h.prototype.trigger=function(w,T){if(w.indexOf("client-")!==0)throw new KGe("Event '"+w+"' does not start with 'client-'");if(!this.subscribed){var A=nt.buildLogSuffix("triggeringClientEvents");je.warn("Client event triggered before channel 'subscription_succeeded' event . "+A)}return this.pusher.send_event(w,T,this.name)},h.prototype.disconnect=function(){this.subscribed=!1,this.subscriptionPending=!1},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T==="pusher_internal:subscription_succeeded")this.handleSubscriptionSucceededEvent(w);else if(T.indexOf("pusher_internal:")!==0){var te={};this.emit(T,A,te)}},h.prototype.handleSubscriptionSucceededEvent=function(w){this.subscriptionPending=!1,this.subscribed=!0,this.subscriptionCancelled?this.pusher.unsubscribe(this.name):this.emit("pusher:subscription_succeeded",w.data)},h.prototype.subscribe=function(){var w=this;this.subscribed||(this.subscriptionPending=!0,this.subscriptionCancelled=!1,this.authorize(this.pusher.connection.socket_id,function(T,A){T?(je.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}))}))},h.prototype.unsubscribe=function(){this.subscribed=!1,this.pusher.send_event("pusher:unsubscribe",{channel:this.name})},h.prototype.cancelSubscription=function(){this.subscriptionCancelled=!0},h.prototype.reinstateSubscription=function(){this.subscriptionCancelled=!1},h}(cr),Jz=o4e,i4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),u4e=function(g){i4e(h,g);function h(){return g!==null&&g.apply(this,arguments)||this}return h.prototype.authorize=function(w,T){var A=xv.createAuthorizer(this,this.pusher.config);return A.authorize(w,T)},h}(Jz),s6=u4e,l4e=function(){function g(){this.reset()}return g.prototype.get=function(h){return Object.prototype.hasOwnProperty.call(this.members,h)?{id:h,info:this.members[h]}:null},g.prototype.each=function(h){var w=this;jn(this.members,function(T,A){h(w.get(A))})},g.prototype.setMyID=function(h){this.myID=h},g.prototype.onSubscription=function(h){this.members=h.presence.hash,this.count=h.presence.count,this.me=this.get(this.myID)},g.prototype.addMember=function(h){return this.get(h.user_id)===null&&this.count++,this.members[h.user_id]=h.user_info,this.get(h.user_id)},g.prototype.removeMember=function(h){var w=this.get(h.user_id);return w&&(delete this.members[h.user_id],this.count--),w},g.prototype.reset=function(){this.members={},this.count=0,this.myID=null,this.me=null},g}(),c4e=l4e,s4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),f4e=function(g){s4e(h,g);function h(w,T){var A=g.call(this,w,T)||this;return A.members=new c4e,A}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,ke){if(!te){if(ke=ke,ke.channel_data===void 0){var xn=nt.buildLogSuffix("authenticationEndpoint");je.error("Invalid auth response for channel '"+A.name+"',"+("expected 'channel_data' field. "+xn)),T("Invalid auth response");return}var kt=JSON.parse(ke.channel_data);A.members.setMyID(kt.user_id)}T(te,ke)})},h.prototype.handleEvent=function(w){var T=w.event;if(T.indexOf("pusher_internal:")===0)this.handleInternalEvent(w);else{var A=w.data,te={};w.user_id&&(te.user_id=w.user_id),this.emit(T,A,te)}},h.prototype.handleInternalEvent=function(w){var T=w.event,A=w.data;switch(T){case"pusher_internal:subscription_succeeded":this.handleSubscriptionSucceededEvent(w);break;case"pusher_internal:member_added":var te=this.members.addMember(A);this.emit("pusher:member_added",te);break;case"pusher_internal:member_removed":var ke=this.members.removeMember(A);ke&&this.emit("pusher:member_removed",ke);break}},h.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))},h.prototype.disconnect=function(){this.members.reset(),g.prototype.disconnect.call(this)},h}(s6),v4e=f4e,Wz=t(1),f6=t(0),m4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),p4e=function(g){m4e(h,g);function h(w,T,A){var te=g.call(this,w,T)||this;return te.key=null,te.nacl=A,te}return h.prototype.authorize=function(w,T){var A=this;g.prototype.authorize.call(this,w,function(te,ke){if(te){T(!0,ke);return}var xn=ke.shared_secret;if(!xn){var kt="No shared_secret key in auth payload for encrypted channel: "+A.name;T(!0,kt);return}A.key=Object(f6.decode)(xn),delete ke.shared_secret,T(!1,ke)})},h.prototype.trigger=function(w,T){throw new Hz("Client events are not currently supported for encrypted channels")},h.prototype.handleEvent=function(w){var T=w.event,A=w.data;if(T.indexOf("pusher_internal:")===0||T.indexOf("pusher:")===0){g.prototype.handleEvent.call(this,w);return}this.handleEncryptedEvent(T,A)},h.prototype.handleEncryptedEvent=function(w,T){var A=this;if(!this.key){je.debug("Received encrypted event before key has been retrieved from the authEndpoint");return}if(!T.ciphertext||!T.nonce){je.error("Unexpected format for encrypted event, expected object with `ciphertext` and `nonce` fields, got: "+T);return}var te=Object(f6.decode)(T.ciphertext);if(te.length<this.nacl.secretbox.overheadLength){je.error("Expected encrypted event ciphertext length to be "+this.nacl.secretbox.overheadLength+", got: "+te.length);return}var ke=Object(f6.decode)(T.nonce);if(ke.length<this.nacl.secretbox.nonceLength){je.error("Expected encrypted event nonce length to be "+this.nacl.secretbox.nonceLength+", got: "+ke.length);return}var xn=this.nacl.secretbox.open(te,ke,this.key);if(xn===null){je.debug("Failed to decrypt an event, probably because it was encrypted with a different key. Fetching a new key from the authEndpoint..."),this.authorize(this.pusher.connection.socket_id,function(kt,tr){if(kt){je.error("Failed to make a request to the authEndpoint: "+tr+". Unable to fetch new key, so dropping encrypted event");return}if(xn=A.nacl.secretbox.open(te,ke,A.key),xn===null){je.error("Failed to decrypt event with new key. Dropping encrypted event");return}A.emitJSON(w,Object(Wz.decode)(xn))});return}this.emitJSON(w,Object(Wz.decode)(xn))},h.prototype.emitJSON=function(w,T){try{this.emit(w,JSON.parse(T))}catch{this.emit(w,T)}return this},h}(s6),_4e=p4e,d4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),h4e=function(g){d4e(h,g);function h(w,T){var A=g.call(this)||this;A.state="initialized",A.connection=null,A.key=w,A.options=T,A.timeline=A.options.timeline,A.usingTLS=A.options.useTLS,A.errorCallbacks=A.buildErrorCallbacks(),A.connectionCallbacks=A.buildConnectionCallbacks(A.errorCallbacks),A.handshakeCallbacks=A.buildHandshakeCallbacks(A.errorCallbacks);var te=wa.getNetwork();return te.bind("online",function(){A.timeline.info({netinfo:"online"}),(A.state==="connecting"||A.state==="unavailable")&&A.retryIn(0)}),te.bind("offline",function(){A.timeline.info({netinfo:"offline"}),A.connection&&A.sendActivityCheck()}),A.updateStrategy(),A}return h.prototype.connect=function(){if(!(this.connection||this.runner)){if(!this.strategy.isSupported()){this.updateState("failed");return}this.updateState("connecting"),this.startConnecting(),this.setUnavailableTimer()}},h.prototype.send=function(w){return this.connection?this.connection.send(w):!1},h.prototype.send_event=function(w,T,A){return this.connection?this.connection.send_event(w,T,A):!1},h.prototype.disconnect=function(){this.disconnectInternally(),this.updateState("disconnected")},h.prototype.isUsingTLS=function(){return this.usingTLS},h.prototype.startConnecting=function(){var w=this,T=function(A,te){A?w.runner=w.strategy.connect(0,T):te.action==="error"?(w.emit("error",{type:"HandshakeError",error:te.error}),w.timeline.error({handshakeError:te.error})):(w.abortConnecting(),w.handshakeCallbacks[te.action](te))};this.runner=this.strategy.connect(0,T)},h.prototype.abortConnecting=function(){this.runner&&(this.runner.abort(),this.runner=null)},h.prototype.disconnectInternally=function(){if(this.abortConnecting(),this.clearRetryTimer(),this.clearUnavailableTimer(),this.connection){var w=this.abandonConnection();w.close()}},h.prototype.updateStrategy=function(){this.strategy=this.options.getStrategy({key:this.key,timeline:this.timeline,useTLS:this.usingTLS})},h.prototype.retryIn=function(w){var T=this;this.timeline.info({action:"retry",delay:w}),w>0&&this.emit("connecting_in",Math.round(w/1e3)),this.retryTimer=new ve(w||0,function(){T.disconnectInternally(),T.connect()})},h.prototype.clearRetryTimer=function(){this.retryTimer&&(this.retryTimer.ensureAborted(),this.retryTimer=null)},h.prototype.setUnavailableTimer=function(){var w=this;this.unavailableTimer=new ve(this.options.unavailableTimeout,function(){w.updateState("unavailable")})},h.prototype.clearUnavailableTimer=function(){this.unavailableTimer&&this.unavailableTimer.ensureAborted()},h.prototype.sendActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection.ping(),this.activityTimer=new ve(this.options.pongTimeout,function(){w.timeline.error({pong_timed_out:w.options.pongTimeout}),w.retryIn(0)})},h.prototype.resetActivityCheck=function(){var w=this;this.stopActivityCheck(),this.connection&&!this.connection.handlesActivityChecks()&&(this.activityTimer=new ve(this.activityTimeout,function(){w.sendActivityCheck()}))},h.prototype.stopActivityCheck=function(){this.activityTimer&&this.activityTimer.ensureAborted()},h.prototype.buildConnectionCallbacks=function(w){var T=this;return De({},w,{message:function(A){T.resetActivityCheck(),T.emit("message",A)},ping:function(){T.send_event("pusher:pong",{})},activity:function(){T.resetActivityCheck()},error:function(A){T.emit("error",{type:"WebSocketError",error:A})},closed:function(){T.abandonConnection(),T.shouldRetry()&&T.retryIn(1e3)}})},h.prototype.buildHandshakeCallbacks=function(w){var T=this;return De({},w,{connected:function(A){T.activityTimeout=Math.min(T.options.activityTimeout,A.activityTimeout,A.connection.activityTimeout||1/0),T.clearUnavailableTimer(),T.setConnection(A.connection),T.socket_id=T.connection.id,T.updateState("connected",{socket_id:T.socket_id})}})},h.prototype.buildErrorCallbacks=function(){var w=this,T=function(A){return function(te){te.error&&w.emit("error",{type:"WebSocketError",error:te.error}),A(te)}};return{tls_only:T(function(){w.usingTLS=!0,w.updateStrategy(),w.retryIn(0)}),refused:T(function(){w.disconnect()}),backoff:T(function(){w.retryIn(1e3)}),retry:T(function(){w.retryIn(0)})}},h.prototype.setConnection=function(w){this.connection=w;for(var T in this.connectionCallbacks)this.connection.bind(T,this.connectionCallbacks[T]);this.resetActivityCheck()},h.prototype.abandonConnection=function(){if(!!this.connection){this.stopActivityCheck();for(var w in this.connectionCallbacks)this.connection.unbind(w,this.connectionCallbacks[w]);var T=this.connection;return this.connection=null,T}},h.prototype.updateState=function(w,T){var A=this.state;if(this.state=w,A!==w){var te=w;te==="connected"&&(te+=" with new socket ID "+T.socket_id),je.debug("State changed",A+" -> "+te),this.timeline.info({state:w,params:T}),this.emit("state_change",{previous:A,current:w}),this.emit(w,T)}},h.prototype.shouldRetry=function(){return this.state==="connecting"||this.state==="connected"},h}(cr),g4e=h4e,D4e=function(){function g(){this.channels={}}return g.prototype.add=function(h,w){return this.channels[h]||(this.channels[h]=b4e(h,w)),this.channels[h]},g.prototype.all=function(){return Pn(this.channels)},g.prototype.find=function(h){return this.channels[h]},g.prototype.remove=function(h){var w=this.channels[h];return delete this.channels[h],w},g.prototype.disconnect=function(){jn(this.channels,function(h){h.disconnect()})},g}(),y4e=D4e;function b4e(g,h){if(g.indexOf("private-encrypted-")===0){if(h.config.nacl)return xv.createEncryptedChannel(g,h,h.config.nacl);var w="Tried to subscribe to a private-encrypted- channel but no nacl implementation available",T=nt.buildLogSuffix("encryptedChannelSupport");throw new Hz(w+". "+T)}else return g.indexOf("private-")===0?xv.createPrivateChannel(g,h):g.indexOf("presence-")===0?xv.createPresenceChannel(g,h):xv.createChannel(g,h)}var R4e={createChannels:function(){return new y4e},createConnectionManager:function(g,h){return new g4e(g,h)},createChannel:function(g,h){return new Jz(g,h)},createPrivateChannel:function(g,h){return new s6(g,h)},createPresenceChannel:function(g,h){return new v4e(g,h)},createEncryptedChannel:function(g,h,w){return new _4e(g,h,w)},createTimelineSender:function(g,h){return new ZGe(g,h)},createAuthorizer:function(g,h){return h.authorizer?h.authorizer(g,h):new YGe(g,h)},createHandshake:function(g,h){return new VGe(g,h)},createAssistantToTheTransportManager:function(g,h,w){return new JGe(g,h,w)}},xv=R4e,w4e=function(){function g(h){this.options=h||{},this.livesLeft=this.options.lives||1/0}return g.prototype.getAssistant=function(h){return xv.createAssistantToTheTransportManager(this,h,{minPingDelay:this.options.minPingDelay,maxPingDelay:this.options.maxPingDelay})},g.prototype.isAlive=function(){return this.livesLeft>0},g.prototype.reportDeath=function(){this.livesLeft-=1},g}(),qz=w4e,S4e=function(){function g(h,w){this.strategies=h,this.loop=Boolean(w.loop),this.failFast=Boolean(w.failFast),this.timeout=w.timeout,this.timeoutLimit=w.timeoutLimit}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){var T=this,A=this.strategies,te=0,ke=this.timeout,xn=null,kt=function(tr,Di){Di?w(null,Di):(te=te+1,T.loop&&(te=te%A.length),te<A.length?(ke&&(ke=ke*2,T.timeoutLimit&&(ke=Math.min(ke,T.timeoutLimit))),xn=T.tryStrategy(A[te],h,{timeout:ke,failFast:T.failFast},kt)):w(!0))};return xn=this.tryStrategy(A[te],h,{timeout:ke,failFast:this.failFast},kt),{abort:function(){xn.abort()},forceMinPriority:function(tr){h=tr,xn&&xn.forceMinPriority(tr)}}},g.prototype.tryStrategy=function(h,w,T,A){var te=null,ke=null;return T.timeout>0&&(te=new ve(T.timeout,function(){ke.abort(),A(!0)})),ke=h.connect(w,function(xn,kt){xn&&te&&te.isRunning()&&!T.failFast||(te&&te.ensureAborted(),A(xn,kt))}),{abort:function(){te&&te.ensureAborted(),ke.abort()},forceMinPriority:function(xn){ke.forceMinPriority(xn)}}},g}(),nh=S4e,E4e=function(){function g(h){this.strategies=h}return g.prototype.isSupported=function(){return U(this.strategies,pe.method("isSupported"))},g.prototype.connect=function(h,w){return C4e(this.strategies,h,function(T,A){return function(te,ke){if(A[T].error=te,te){I4e(A)&&w(!0);return}kn(A,function(xn){xn.forceMinPriority(ke.transport.priority)}),w(null,ke)}})},g}(),v6=E4e;function C4e(g,h,w){var T=q(g,function(A,te,ke,xn){return A.connect(h,w(te,xn))});return{abort:function(){kn(T,T4e)},forceMinPriority:function(A){kn(T,function(te){te.forceMinPriority(A)})}}}function I4e(g){return de(g,function(h){return Boolean(h.error)})}function T4e(g){!g.error&&!g.aborted&&(g.abort(),g.aborted=!0)}var F4e=function(){function g(h,w,T){this.strategy=h,this.transports=w,this.ttl=T.ttl||1800*1e3,this.usingTLS=T.useTLS,this.timeline=T.timeline}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.usingTLS,A=G4e(T),te=[this.strategy];if(A&&A.timestamp+this.ttl>=pe.now()){var ke=this.transports[A.transport];ke&&(this.timeline.info({cached:!0,transport:A.transport,latency:A.latency}),te.push(new nh([ke],{timeout:A.latency*2+1e3,failFast:!0})))}var xn=pe.now(),kt=te.pop().connect(h,function tr(Di,Qu){Di?(zz(T),te.length>0?(xn=pe.now(),kt=te.pop().connect(h,tr)):w(Di)):(A4e(T,Qu.transport.name,pe.now()-xn),w(null,Qu))});return{abort:function(){kt.abort()},forceMinPriority:function(tr){h=tr,kt&&kt.forceMinPriority(tr)}}},g}(),M4e=F4e;function m6(g){return"pusherTransport"+(g?"TLS":"NonTLS")}function G4e(g){var h=wa.getLocalStorage();if(h)try{var w=h[m6(g)];if(w)return JSON.parse(w)}catch{zz(g)}return null}function A4e(g,h,w){var T=wa.getLocalStorage();if(T)try{T[m6(g)]=He({timestamp:pe.now(),transport:h,latency:w})}catch{}}function zz(g){var h=wa.getLocalStorage();if(h)try{delete h[m6(g)]}catch{}}var x4e=function(){function g(h,w){var T=w.delay;this.strategy=h,this.options={delay:T}}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy,A,te=new ve(this.options.delay,function(){A=T.connect(h,w)});return{abort:function(){te.ensureAborted(),A&&A.abort()},forceMinPriority:function(ke){h=ke,A&&A.forceMinPriority(ke)}}},g}(),VT=x4e,L4e=function(){function g(h,w,T){this.test=h,this.trueBranch=w,this.falseBranch=T}return g.prototype.isSupported=function(){var h=this.test()?this.trueBranch:this.falseBranch;return h.isSupported()},g.prototype.connect=function(h,w){var T=this.test()?this.trueBranch:this.falseBranch;return T.connect(h,w)},g}(),$R=L4e,j4e=function(){function g(h){this.strategy=h}return g.prototype.isSupported=function(){return this.strategy.isSupported()},g.prototype.connect=function(h,w){var T=this.strategy.connect(h,function(A,te){te&&T.abort(),w(A,te)});return T},g}(),N4e=j4e;function VR(g){return function(){return g.isSupported()}}var P4e=function(g,h,w){var T={};function A(o$,C3e,I3e,T3e,F3e){var i$=w(g,o$,C3e,I3e,T3e,F3e);return T[o$]=i$,i$}var te=Object.assign({},h,{hostNonTLS:g.wsHost+":"+g.wsPort,hostTLS:g.wsHost+":"+g.wssPort,httpPath:g.wsPath}),ke=Object.assign({},te,{useTLS:!0}),xn=Object.assign({},h,{hostNonTLS:g.httpHost+":"+g.httpPort,hostTLS:g.httpHost+":"+g.httpsPort,httpPath:g.httpPath}),kt={loop:!0,timeout:15e3,timeoutLimit:6e4},tr=new qz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),Di=new qz({lives:2,minPingDelay:1e4,maxPingDelay:g.activityTimeout}),Qu=A("ws","ws",3,te,tr),Lv=A("wss","ws",3,ke,tr),b3e=A("sockjs","sockjs",1,xn),Kz=A("xhr_streaming","xhr_streaming",1,xn,Di),R3e=A("xdr_streaming","xdr_streaming",1,xn,Di),e$=A("xhr_polling","xhr_polling",1,xn),w3e=A("xdr_polling","xdr_polling",1,xn),n$=new nh([Qu],kt),S3e=new nh([Lv],kt),E3e=new nh([b3e],kt),t$=new nh([new $R(VR(Kz),Kz,R3e)],kt),a$=new nh([new $R(VR(e$),e$,w3e)],kt),r$=new nh([new $R(VR(t$),new v6([t$,new VT(a$,{delay:4e3})]),a$)],kt),h6=new $R(VR(r$),r$,E3e),g6;return h.useTLS?g6=new v6([n$,new VT(h6,{delay:2e3})]):g6=new v6([n$,new VT(S3e,{delay:2e3}),new VT(h6,{delay:5e3})]),new M4e(new N4e(new $R(VR(Qu),g6,h6)),T,{ttl:18e5,timeline:h.timeline,useTLS:h.useTLS})},k4e=P4e,O4e=function(){var g=this;g.timeline.info(g.buildTimelineMessage({transport:g.name+(g.options.useTLS?"s":"")})),g.hooks.isInitialized()?g.changeState("initialized"):g.hooks.file?(g.changeState("initializing"),s.load(g.hooks.file,{useTLS:g.options.useTLS},function(h,w){g.hooks.isInitialized()?(g.changeState("initialized"),w(!0)):(h&&g.onError(h),g.onClose(),w(!1))})):g.onClose()},U4e={getRequest:function(g){var h=new window.XDomainRequest;return h.ontimeout=function(){g.emit("error",new e4e),g.close()},h.onerror=function(w){g.emit("error",w),g.close()},h.onprogress=function(){h.responseText&&h.responseText.length>0&&g.onChunk(200,h.responseText)},h.onload=function(){h.responseText&&h.responseText.length>0&&g.onChunk(200,h.responseText),g.emit("finished",200),g.close()},h},abortRequest:function(g){g.ontimeout=g.onerror=g.onprogress=g.onload=null,g.abort()}},H4e=U4e,B4e=function(){var g=function(h,w){return g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(T,A){T.__proto__=A}||function(T,A){for(var te in A)A.hasOwnProperty(te)&&(T[te]=A[te])},g(h,w)};return function(h,w){g(h,w);function T(){this.constructor=h}h.prototype=w===null?Object.create(w):(T.prototype=w.prototype,new T)}}(),J4e=256*1024,W4e=function(g){B4e(h,g);function h(w,T,A){var te=g.call(this)||this;return te.hooks=w,te.method=T,te.url=A,te}return h.prototype.start=function(w){var T=this;this.position=0,this.xhr=this.hooks.getRequest(this),this.unloader=function(){T.close()},wa.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)},h.prototype.close=function(){this.unloader&&(wa.removeUnloadListener(this.unloader),this.unloader=null),this.xhr&&(this.hooks.abortRequest(this.xhr),this.xhr=null)},h.prototype.onChunk=function(w,T){for(;;){var A=this.advanceBuffer(T);if(A)this.emit("chunk",{status:w,data:A});else break}this.isBufferTooLong(T)&&this.emit("buffer_too_long")},h.prototype.advanceBuffer=function(w){var T=w.slice(this.position),A=T.indexOf(`
`);return A!==-1?(this.position+=A+1,T.slice(0,A)):null},h.prototype.isBufferTooLong=function(w){return this.position===w.length&&w.length>J4e},h}(cr),q4e=W4e,p6;(function(g){g[g.CONNECTING=0]="CONNECTING",g[g.OPEN=1]="OPEN",g[g.CLOSED=3]="CLOSED"})(p6||(p6={}));var th=p6,z4e=1,$4e=function(){function g(h,w){this.hooks=h,this.session=Vz(1e3)+"/"+X4e(8),this.location=V4e(w),this.readyState=th.CONNECTING,this.openStream()}return g.prototype.send=function(h){return this.sendRaw(JSON.stringify([h]))},g.prototype.ping=function(){this.hooks.sendHeartbeat(this)},g.prototype.close=function(h,w){this.onClose(h,w,!0)},g.prototype.sendRaw=function(h){if(this.readyState===th.OPEN)try{return wa.createSocketRequest("POST",$z(Q4e(this.location,this.session))).start(h),!0}catch{return!1}else return!1},g.prototype.reconnect=function(){this.closeStream(),this.openStream()},g.prototype.onClose=function(h,w,T){this.closeStream(),this.readyState=th.CLOSED,this.onclose&&this.onclose({code:h,reason:w,wasClean:T})},g.prototype.onChunk=function(h){if(h.status===200){this.readyState===th.OPEN&&this.onActivity();var w,T=h.data.slice(0,1);switch(T){case"o":w=JSON.parse(h.data.slice(1)||"{}"),this.onOpen(w);break;case"a":w=JSON.parse(h.data.slice(1)||"[]");for(var A=0;A<w.length;A++)this.onEvent(w[A]);break;case"m":w=JSON.parse(h.data.slice(1)||"null"),this.onEvent(w);break;case"h":this.hooks.onHeartbeat(this);break;case"c":w=JSON.parse(h.data.slice(1)||"[]"),this.onClose(w[0],w[1],!0);break}}},g.prototype.onOpen=function(h){this.readyState===th.CONNECTING?(h&&h.hostname&&(this.location.base=Y4e(this.location.base,h.hostname)),this.readyState=th.OPEN,this.onopen&&this.onopen()):this.onClose(1006,"Server lost session",!0)},g.prototype.onEvent=function(h){this.readyState===th.OPEN&&this.onmessage&&this.onmessage({data:h})},g.prototype.onActivity=function(){this.onactivity&&this.onactivity()},g.prototype.onError=function(h){this.onerror&&this.onerror(h)},g.prototype.openStream=function(){var h=this;this.stream=wa.createSocketRequest("POST",$z(this.hooks.getReceiveURL(this.location,this.session))),this.stream.bind("chunk",function(w){h.onChunk(w)}),this.stream.bind("finished",function(w){h.hooks.onFinished(h,w)}),this.stream.bind("buffer_too_long",function(){h.reconnect()});try{this.stream.start()}catch(w){pe.defer(function(){h.onError(w),h.onClose(1006,"Could not start streaming",!1)})}},g.prototype.closeStream=function(){this.stream&&(this.stream.unbind_all(),this.stream.close(),this.stream=null)},g}();function V4e(g){var h=/([^\?]*)\/*(\??.*)/.exec(g);return{base:h[1],queryString:h[2]}}function Q4e(g,h){return g.base+"/"+h+"/xhr_send"}function $z(g){var h=g.indexOf("?")===-1?"?":"&";return g+h+"t="+ +new Date+"&n="+z4e++}function Y4e(g,h){var w=/(https?:\/\/)([^\/:]+)((\/|:)?.*)/.exec(g);return w[1]+h+w[3]}function Vz(g){return Math.floor(Math.random()*g)}function X4e(g){for(var h=[],w=0;w<g;w++)h.push(Vz(32).toString(32));return h.join("")}var Z4e=$4e,K4e={getReceiveURL:function(g,h){return g.base+"/"+h+"/xhr_streaming"+g.queryString},onHeartbeat:function(g){g.sendRaw("[]")},sendHeartbeat:function(g){g.sendRaw("[]")},onFinished:function(g,h){g.onClose(1006,"Connection interrupted ("+h+")",!1)}},e3e=K4e,n3e={getReceiveURL:function(g,h){return g.base+"/"+h+"/xhr"+g.queryString},onHeartbeat:function(){},sendHeartbeat:function(g){g.sendRaw("[]")},onFinished:function(g,h){h===200?g.reconnect():g.onClose(1006,"Connection interrupted ("+h+")",!1)}},t3e=n3e,a3e={getRequest:function(g){var h=wa.getXHRAPI(),w=new h;return w.onreadystatechange=w.onprogress=function(){switch(w.readyState){case 3:w.responseText&&w.responseText.length>0&&g.onChunk(w.status,w.responseText);break;case 4:w.responseText&&w.responseText.length>0&&g.onChunk(w.status,w.responseText),g.emit("finished",w.status),g.close();break}},w},abortRequest:function(g){g.onreadystatechange=null,g.abort()}},r3e=a3e,o3e={createStreamingSocket:function(g){return this.createSocket(e3e,g)},createPollingSocket:function(g){return this.createSocket(t3e,g)},createSocket:function(g,h){return new Z4e(g,h)},createXHR:function(g,h){return this.createRequest(r3e,g,h)},createRequest:function(g,h,w){return new q4e(g,h,w)}},Qz=o3e;Qz.createXDR=function(g,h){return this.createRequest(H4e,g,h)};var i3e=Qz,u3e={nextAuthCallbackID:1,auth_callbacks:{},ScriptReceivers:r,DependenciesReceivers:c,getDefaultStrategy:k4e,Transports:kGe,transportConnectionInitializer:O4e,HTTPFactory:i3e,TimelineTransport:Ie,getXHRAPI:function(){return window.XMLHttpRequest},getWebSocketAPI:function(){return window.WebSocket||window.MozWebSocket},setup:function(g){var h=this;window.Pusher=g;var w=function(){h.onDocumentBody(g.ready)};window.JSON?w():s.load("json2",{},w)},getDocument:function(){return document},getProtocol:function(){return this.getDocument().location.protocol},getAuthorizers:function(){return{ajax:tt,jsonp:Fn}},onDocumentBody:function(g){var h=this;document.body?g():setTimeout(function(){h.onDocumentBody(g)},0)},createJSONPRequest:function(g,h){return new sn(g,h)},createScriptRequest:function(g){return new rt(g)},getLocalStorage:function(){try{return window.localStorage}catch{return}},createXHR:function(){return this.getXHRAPI()?this.createXMLHttpRequest():this.createMicrosoftXHR()},createXMLHttpRequest:function(){var g=this.getXHRAPI();return new g},createMicrosoftXHR:function(){return new ActiveXObject("Microsoft.XMLHTTP")},getNetwork:function(){return HGe},createWebSocket:function(g){var h=this.getWebSocketAPI();return new h(g)},createSocketRequest:function(g,h){if(this.isXHRSupported())return this.HTTPFactory.createXHR(g,h);if(this.isXDRSupported(h.indexOf("https:")===0))return this.HTTPFactory.createXDR(g,h);throw"Cross-origin HTTP requests are not supported"},isXHRSupported:function(){var g=this.getXHRAPI();return Boolean(g)&&new g().withCredentials!==void 0},isXDRSupported:function(g){var h=g?"https:":"http:",w=this.getProtocol();return Boolean(window.XDomainRequest)&&w===h},addUnloadListener:function(g){window.addEventListener!==void 0?window.addEventListener("unload",g,!1):window.attachEvent!==void 0&&window.attachEvent("onunload",g)},removeUnloadListener:function(g){window.addEventListener!==void 0?window.removeEventListener("unload",g,!1):window.detachEvent!==void 0&&window.detachEvent("onunload",g)}},wa=u3e,_6;(function(g){g[g.ERROR=3]="ERROR",g[g.INFO=6]="INFO",g[g.DEBUG=7]="DEBUG"})(_6||(_6={}));var QT=_6,l3e=function(){function g(h,w,T){this.key=h,this.session=w,this.events=[],this.options=T||{},this.sent=0,this.uniqueID=0}return g.prototype.log=function(h,w){h<=this.options.level&&(this.events.push(De({},w,{timestamp:pe.now()})),this.options.limit&&this.events.length>this.options.limit&&this.events.shift())},g.prototype.error=function(h){this.log(QT.ERROR,h)},g.prototype.info=function(h){this.log(QT.INFO,h)},g.prototype.debug=function(h){this.log(QT.DEBUG,h)},g.prototype.isEmpty=function(){return this.events.length===0},g.prototype.send=function(h,w){var T=this,A=De({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=[],h(A,function(te,ke){te||T.sent++,w&&w(te,ke)}),!0},g.prototype.generateUniqueID=function(){return this.uniqueID++,this.uniqueID},g}(),c3e=l3e,s3e=function(){function g(h,w,T,A){this.name=h,this.priority=w,this.transport=T,this.options=A||{}}return g.prototype.isSupported=function(){return this.transport.isSupported({useTLS:this.options.useTLS})},g.prototype.connect=function(h,w){var T=this;if(this.isSupported()){if(this.priority<h)return Yz(new n4e,w)}else return Yz(new Bz,w);var A=!1,te=this.transport.createConnection(this.name,this.priority,this.options.key,this.options),ke=null,xn=function(){te.unbind("initialized",xn),te.connect()},kt=function(){ke=xv.createHandshake(te,function(Lv){A=!0,Qu(),w(null,Lv)})},tr=function(Lv){Qu(),w(Lv)},Di=function(){Qu();var Lv;Lv=He(te),w(new t4e(Lv))},Qu=function(){te.unbind("initialized",xn),te.unbind("open",kt),te.unbind("error",tr),te.unbind("closed",Di)};return te.bind("initialized",xn),te.bind("open",kt),te.bind("error",tr),te.bind("closed",Di),te.initialize(),{abort:function(){A||(Qu(),ke?ke.close():te.close())},forceMinPriority:function(Lv){A||T.priority<Lv&&(ke?ke.close():te.close())}}},g}(),f3e=s3e;function Yz(g,h){return pe.defer(function(){h(g)}),{abort:function(){},forceMinPriority:function(){}}}var v3e=wa.Transports,m3e=function(g,h,w,T,A,te){var ke=v3e[w];if(!ke)throw new a4e(w);var xn=(!g.enabledTransports||ie(g.enabledTransports,h)!==-1)&&(!g.disabledTransports||ie(g.disabledTransports,h)===-1),kt;return xn?(A=Object.assign({ignoreNullOrigin:g.ignoreNullOrigin},A),kt=new f3e(h,T,te?te.getAssistant(ke):ke,A)):kt=p3e,kt},p3e={isSupported:function(){return!1},connect:function(g,h){var w=pe.defer(function(){h(new Bz)});return{abort:function(){w.ensureAborted()},forceMinPriority:function(){}}}};function _3e(g){var h={activityTimeout:g.activityTimeout||i.activityTimeout,authEndpoint:g.authEndpoint||i.authEndpoint,authTransport:g.authTransport||i.authTransport,cluster:g.cluster||i.cluster,httpPath:g.httpPath||i.httpPath,httpPort:g.httpPort||i.httpPort,httpsPort:g.httpsPort||i.httpsPort,pongTimeout:g.pongTimeout||i.pongTimeout,statsHost:g.statsHost||i.stats_host,unavailableTimeout:g.unavailableTimeout||i.unavailableTimeout,wsPath:g.wsPath||i.wsPath,wsPort:g.wsPort||i.wsPort,wssPort:g.wssPort||i.wssPort,enableStats:D3e(g),httpHost:d3e(g),useTLS:g3e(g),wsHost:h3e(g)};return"auth"in g&&(h.auth=g.auth),"authorizer"in g&&(h.authorizer=g.authorizer),"disabledTransports"in g&&(h.disabledTransports=g.disabledTransports),"enabledTransports"in g&&(h.enabledTransports=g.enabledTransports),"ignoreNullOrigin"in g&&(h.ignoreNullOrigin=g.ignoreNullOrigin),"timelineParams"in g&&(h.timelineParams=g.timelineParams),"nacl"in g&&(h.nacl=g.nacl),h}function d3e(g){return g.httpHost?g.httpHost:g.cluster?"sockjs-"+g.cluster+".pusher.com":i.httpHost}function h3e(g){return g.wsHost?g.wsHost:g.cluster?Xz(g.cluster):Xz(i.cluster)}function Xz(g){return"ws-"+g+".pusher.com"}function g3e(g){return wa.getProtocol()==="https:"?!0:g.forceTLS!==!1}function D3e(g){return"enableStats"in g?g.enableStats:"disableStats"in g?!g.disableStats:!1}var Zz=function(){function g(h,w){var T=this;if(y3e(h),w=w||{},!w.cluster&&!(w.wsHost||w.httpHost)){var A=nt.buildLogSuffix("javascriptQuickStart");je.warn("You should always specify a cluster when connecting. "+A)}"disableStats"in w&&je.warn("The disableStats option is deprecated in favor of enableStats"),this.key=h,this.config=_3e(w),this.channels=xv.createChannels(),this.global_emitter=new cr,this.sessionID=Math.floor(Math.random()*1e9),this.timeline=new c3e(this.key,this.sessionID,{cluster:this.config.cluster,features:g.getClientFeatures(),params:this.config.timelineParams||{},limit:50,level:QT.INFO,version:i.VERSION}),this.config.enableStats&&(this.timelineSender=xv.createTimelineSender(this.timeline,{host:this.config.statsHost,path:"/timeline/v2/"+wa.TimelineTransport.name}));var te=function(ke){return wa.getDefaultStrategy(T.config,ke,m3e)};this.connection=xv.createConnectionManager(this.key,{getStrategy:te,timeline:this.timeline,activityTimeout:this.config.activityTimeout,pongTimeout:this.config.pongTimeout,unavailableTimeout:this.config.unavailableTimeout,useTLS:Boolean(this.config.useTLS)}),this.connection.bind("connected",function(){T.subscribeAll(),T.timelineSender&&T.timelineSender.send(T.connection.isUsingTLS())}),this.connection.bind("message",function(ke){var xn=ke.event,kt=xn.indexOf("pusher_internal:")===0;if(ke.channel){var tr=T.channel(ke.channel);tr&&tr.handleEvent(ke)}kt||T.global_emitter.emit(ke.event,ke.data)}),this.connection.bind("connecting",function(){T.channels.disconnect()}),this.connection.bind("disconnected",function(){T.channels.disconnect()}),this.connection.bind("error",function(ke){je.warn(ke)}),g.instances.push(this),this.timeline.info({instances:g.instances.length}),g.isReady&&this.connect()}return g.ready=function(){g.isReady=!0;for(var h=0,w=g.instances.length;h<w;h++)g.instances[h].connect()},g.getClientFeatures=function(){return Ve(me({ws:wa.Transports.ws},function(h){return h.isSupported({})}))},g.prototype.channel=function(h){return this.channels.find(h)},g.prototype.allChannels=function(){return this.channels.all()},g.prototype.connect=function(){if(this.connection.connect(),this.timelineSender&&!this.timelineSenderTimer){var h=this.connection.isUsingTLS(),w=this.timelineSender;this.timelineSenderTimer=new X(6e4,function(){w.send(h)})}},g.prototype.disconnect=function(){this.connection.disconnect(),this.timelineSenderTimer&&(this.timelineSenderTimer.ensureAborted(),this.timelineSenderTimer=null)},g.prototype.bind=function(h,w,T){return this.global_emitter.bind(h,w,T),this},g.prototype.unbind=function(h,w,T){return this.global_emitter.unbind(h,w,T),this},g.prototype.bind_global=function(h){return this.global_emitter.bind_global(h),this},g.prototype.unbind_global=function(h){return this.global_emitter.unbind_global(h),this},g.prototype.unbind_all=function(h){return this.global_emitter.unbind_all(),this},g.prototype.subscribeAll=function(){var h;for(h in this.channels.channels)this.channels.channels.hasOwnProperty(h)&&this.subscribe(h)},g.prototype.subscribe=function(h){var w=this.channels.add(h,this);return w.subscriptionPending&&w.subscriptionCancelled?w.reinstateSubscription():!w.subscriptionPending&&this.connection.state==="connected"&&w.subscribe(),w},g.prototype.unsubscribe=function(h){var w=this.channels.find(h);w&&w.subscriptionPending?w.cancelSubscription():(w=this.channels.remove(h),w&&this.connection.state==="connected"&&w.unsubscribe())},g.prototype.send_event=function(h,w,T){return this.connection.send_event(h,w,T)},g.prototype.shouldUseTLS=function(){return this.config.useTLS},g.instances=[],g.isReady=!1,g.logToConsole=!1,g.Runtime=wa,g.ScriptReceivers=wa.ScriptReceivers,g.DependenciesReceivers=wa.DependenciesReceivers,g.auth_callbacks=wa.auth_callbacks,g}(),d6=n.default=Zz;function y3e(g){if(g==null)throw"You must pass your app key when you instantiate Pusher."}wa.setup(Zz)}])})});var PJ=Pe((r_r,PCe)=>{PCe.exports=function(n){return n!=null&&n.constructor!=null&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n)}});var ZCe=Pe((C_r,XCe)=>{"use strict";var M7=Object.prototype.hasOwnProperty,WCe=Object.prototype.toString,qCe=Object.defineProperty,zCe=Object.getOwnPropertyDescriptor,$Ce=function(n){return typeof Array.isArray=="function"?Array.isArray(n):WCe.call(n)==="[object Array]"},VCe=function(n){if(!n||WCe.call(n)!=="[object Object]")return!1;var t=M7.call(n,"constructor"),a=n.constructor&&n.constructor.prototype&&M7.call(n.constructor.prototype,"isPrototypeOf");if(n.constructor&&!t&&!a)return!1;var r;for(r in n);return typeof r=="undefined"||M7.call(n,r)},QCe=function(n,t){qCe&&t.name==="__proto__"?qCe(n,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):n[t.name]=t.newValue},YCe=function(n,t){if(t==="__proto__")if(M7.call(n,t)){if(zCe)return zCe(n,t).value}else return;return n[t]};XCe.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<c;++l)if(n=arguments[l],n!=null)for(t in n)a=YCe(u,t),r=YCe(n,t),u!==r&&(s&&r&&(VCe(r)||(o=$Ce(r)))?(o?(o=!1,i=a&&$Ce(a)?a:[]):i=a&&VCe(a)?a:{},QCe(u,{name:t,newValue:e(s,i,r)})):typeof r!="undefined"&&QCe(u,{name:t,newValue:r}));return u}});var DTe=Pe(hr=>{"use strict";var SW=Symbol.for("react.element"),EW=Symbol.for("react.portal"),t5=Symbol.for("react.fragment"),a5=Symbol.for("react.strict_mode"),r5=Symbol.for("react.profiler"),o5=Symbol.for("react.provider"),i5=Symbol.for("react.context"),obn=Symbol.for("react.server_context"),u5=Symbol.for("react.forward_ref"),l5=Symbol.for("react.suspense"),c5=Symbol.for("react.suspense_list"),s5=Symbol.for("react.memo"),f5=Symbol.for("react.lazy"),ibn=Symbol.for("react.offscreen"),gTe;gTe=Symbol.for("react.module.reference");function rf(e){if(typeof e=="object"&&e!==null){var n=e.$$typeof;switch(n){case SW:switch(e=e.type,e){case t5:case r5:case a5:case l5:case c5:return e;default:switch(e=e&&e.$$typeof,e){case obn:case i5:case u5:case f5:case s5:case o5:return e;default:return n}}case EW:return n}}}hr.ContextConsumer=i5;hr.ContextProvider=o5;hr.Element=SW;hr.ForwardRef=u5;hr.Fragment=t5;hr.Lazy=f5;hr.Memo=s5;hr.Portal=EW;hr.Profiler=r5;hr.StrictMode=a5;hr.Suspense=l5;hr.SuspenseList=c5;hr.isAsyncMode=function(){return!1};hr.isConcurrentMode=function(){return!1};hr.isContextConsumer=function(e){return rf(e)===i5};hr.isContextProvider=function(e){return rf(e)===o5};hr.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===SW};hr.isForwardRef=function(e){return rf(e)===u5};hr.isFragment=function(e){return rf(e)===t5};hr.isLazy=function(e){return rf(e)===f5};hr.isMemo=function(e){return rf(e)===s5};hr.isPortal=function(e){return rf(e)===EW};hr.isProfiler=function(e){return rf(e)===r5};hr.isStrictMode=function(e){return rf(e)===a5};hr.isSuspense=function(e){return rf(e)===l5};hr.isSuspenseList=function(e){return rf(e)===c5};hr.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===t5||e===r5||e===a5||e===l5||e===c5||e===ibn||typeof e=="object"&&e!==null&&(e.$$typeof===f5||e.$$typeof===s5||e.$$typeof===o5||e.$$typeof===i5||e.$$typeof===u5||e.$$typeof===gTe||e.getModuleId!==void 0)};hr.typeOf=rf});var bTe=Pe((Oyr,yTe)=>{"use strict";yTe.exports=DTe()});var MTe=Pe((Jyr,FTe)=>{var ETe=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,ubn=/\n/g,lbn=/^\s*/,cbn=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,sbn=/^:\s*/,fbn=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,vbn=/^[;\s]*/,mbn=/^\s+|\s+$/g,pbn=`
`,CTe="/",ITe="*",ID="",_bn="comment",dbn="declaration";FTe.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(R){var D=R.match(ubn);D&&(t+=D.length);var y=R.lastIndexOf(pbn);a=~y?R.length-y:a+R.length}function o(){var R={line:t,column:a};return function(D){return D.position=new i(R),s(),D}}function i(R){this.start=R,this.end={line:t,column:a},this.source=n.source}i.prototype.content=e;var u=[];function l(R){var D=new Error(n.source+":"+t+":"+a+": "+R);if(D.reason=R,D.filename=n.source,D.line=t,D.column=a,D.source=e,n.silent)u.push(D);else throw D}function c(R){var D=R.exec(e);if(!!D){var y=D[0];return r(y),e=e.slice(y.length),D}}function s(){c(lbn)}function f(R){var D;for(R=R||[];D=v();)D!==!1&&R.push(D);return R}function v(){var R=o();if(!(CTe!=e.charAt(0)||ITe!=e.charAt(1))){for(var D=2;ID!=e.charAt(D)&&(ITe!=e.charAt(D)||CTe!=e.charAt(D+1));)++D;if(D+=2,ID===e.charAt(D-1))return l("End of comment missing");var y=e.slice(2,D-2);return a+=2,r(y),e=e.slice(D),a+=2,R({type:_bn,comment:y})}}function m(){var R=o(),D=c(cbn);if(!!D){if(v(),!c(sbn))return l("property missing ':'");var y=c(fbn),S=R({type:dbn,property:TTe(D[0].replace(ETe,ID)),value:y?TTe(y[0].replace(ETe,ID)):ID});return c(vbn),S}}function _(){var R=[];f(R);for(var D;D=m();)D!==!1&&(R.push(D),f(R));return R}return s(),_()};function TTe(e){return e?e.replace(mbn,ID):ID}});var ATe=Pe((Wyr,TW)=>{var hbn=MTe();function GTe(e,n){var t=null;if(!e||typeof e!="string")return t;for(var a,r=hbn(e),o=typeof n=="function",i,u,l=0,c=r.length;l<c;l++)a=r[l],i=a.property,u=a.value,o?n(i,u,a):u&&(t||(t={}),t[i]=u);return t}TW.exports=GTe;TW.exports.default=GTe});var qCn={};YT(qCn,{boot:()=>WCn});var f$=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<a;r++)for(var o=n(e[r]),i=o.length,u=0;u<i;u++)t.push(o[u]);return t}};var v$=function(e){return function(n){for(var t=e.length,a=n.length,r=new Array(t*a),o=0,i=0;i<t;i++)for(var u=e[i],l=0;l<a;l++)r[o++]=u(n[l]);return r}};var xD={compose:function(e){return function(n){return function(t){return e(n(t))}}}},YR=function(e){return e.compose};var Qe=function(e){return e.identity},Xe={identity:function(e){return e},Semigroupoid0:function(){return xD}};var xe=!0;var Cu=function(e){return function(n){return function(t){return function(a){return e(n(t))(n(a))}}}},Jt=function(e){return function(n){return function(t){return e(t)(n)}}},an=function(e){return function(n){return e}};var D6=function(e){return function(n){return n(e)}};var m$=function(e){return function(n){for(var t=n.length,a=new Array(t),r=0;r<t;r++)a[r]=e(n[r]);return a}};var Ce=void 0;var Et=function(){function e(){}return e.value=new e,e}();var N=function(e){return e.map},Z=function(e){var n=N(e);return function(t){return function(a){return n(a)(t)}}},Na=function(e){return N(e)(an(Ce))},yi=function(e){var n=N(e);return function(t){return function(a){return n(an(a))(t)}}};var Iu={map:YR(xD)},ge={map:m$},K0=function(e){var n=N(e);return function(t){return function(a){return n(function(r){return r(a)})(t)}}};var O3e=Qe(Xe);var XR={apply:v$,Functor0:function(){return ge}},qn=function(e){return e.apply},ZR=function(e){var n=qn(e),t=N(e.Functor0());return function(a){return function(r){return n(t(an)(a))(r)}}},jv=function(e){var n=qn(e),t=N(e.Functor0());return function(a){return function(r){return n(t(an(O3e))(a))(r)}}},bi=function(e){var n=qn(e),t=N(e.Functor0());return function(a){return function(r){return function(o){return n(t(a)(r))(o)}}}};var z=function(e){return e.pure},ah=function(e){var n=z(e);return function(t){return function(a){if(!t)return a;if(t)return n(Ce);throw new Error("Failed pattern match at Control.Applicative (line 68, column 1 - line 68, column 65): "+[t.constructor.name,a.constructor.name])}}},uo=function(e){var n=z(e);return function(t){return function(a){if(t)return a;if(!t)return n(Ce);throw new Error("Failed pattern match at Control.Applicative (line 63, column 1 - line 63, column 63): "+[t.constructor.name,a.constructor.name])}}},KR=function(e){var n=qn(e.Apply0()),t=z(e);return function(a){return function(r){return n(t(a))(r)}}};var em={pure:function(e){return[e]},Apply0:function(){return XR}};var H3e=Qe(Xe),Hn=function(e){return e.discard};var Nv={bind:f$,Apply0:function(){return XR}},K=function(e){return e.bind},mt=function(e){return Jt(K(e))},rh=function(e){var n=mt(e);return function(t){return function(a){return function(r){return n(t)(a(r))}}}};var Mn={discard:function(e){return K(e)}};var yl=function(e){var n=K(e);return function(t){return n(t)(H3e)}};function lo(e){return e}function XT(e){return JSON.stringify(e)}var ew=function(e){return function(n){return e===n}},p$=ew,_$=ew,d$=ew,h$=ew,g$=ew;var sr=function(e){return e.reflectSymbol};var Tu=function(e){return function(n){return n[e]}},ns=function(e){return function(n){return function(t){var a={};for(var r in t)({}).hasOwnProperty.call(t,r)&&(a[r]=t[r]);return a[e]=n,a}}};var nw={eq:function(e){return function(n){return!0}}},va={eq:g$},ff={eqRecord:function(e){return function(n){return function(t){return!0}}}},D$=function(e){return e.eqRecord},vf=function(){return function(e){return{eq:D$(e)(Et.value)}}};var LD={eq:d$},ar={eq:_$},b6={eq:h$},jD={eq:p$};var _e=function(e){return e.eq},J3e=_e(jD);var ts=function(e){var n=D$(e);return function(){return function(t){var a=sr(t);return function(r){var o=_e(r);return{eqRecord:function(i){return function(u){return function(l){var c=n(Et.value)(u)(l),s=a(Et.value),f=Tu(s);return o(f(u))(f(l))&&c}}}}}}}},mf=function(e){var n=_e(e);return function(t){return function(a){return J3e(n(t)(a))(!1)}}};var y$=function(e){return function(n){return e+n}},b$=function(e){return function(n){return e.length===0?n:n.length===0?e:e.concat(n)}};var ND=function(e){var n=function(t){var a;function r(o){t=o}for(;;)a=r(t);return a};return n(e)};var tw={append:function(e){return function(n){return Ce}}},nm={append:y$};var sa={append:b$};var Ye=function(e){return e.append},aw=function(e){var n=Ye(e);return{append:function(t){return function(a){return function(r){return n(t(r))(a(r))}}}}};var Pt=function(e){return e.alt};var R$=2147483647,w$=-2147483648,S$=String.fromCharCode(65535),E$=String.fromCharCode(0),W3e=Number.POSITIVE_INFINITY,q3e=Number.NEGATIVE_INFINITY;var ZT=function(e){return function(n){return function(t){return function(a){return function(r){return a<r?e:a===r?n:t}}}}};var C$=ZT,I$=ZT,T$=ZT,F$=ZT;var Se=function(){function e(){}return e.value=new e,e}(),we=function(){function e(){}return e.value=new e,e}(),Fe=function(){function e(){}return e.value=new e,e}();var oh={eq:function(e){return function(n){return e instanceof Se&&n instanceof Se||e instanceof we&&n instanceof we||e instanceof Fe&&n instanceof Fe}}};var M$=function(e){return function(n){return e-n|0}};var G$=function(e){return function(n){return e+n|0}},A$=function(e){return function(n){return e*n|0}},x$=function(e){return function(n){return e+n}},L$=function(e){return function(n){return e*n}};var j$=function(e){return e.zeroRecord},bl=function(e){return e.zero};var R6={addRecord:function(e){return function(n){return function(t){return{}}}},mulRecord:function(e){return function(n){return function(t){return{}}}},oneRecord:function(e){return function(n){return{}}},zeroRecord:function(e){return function(n){return{}}}};var PD={add:x$,zero:0,mul:L$,one:1},Yu={add:G$,zero:0,mul:A$,one:1},N$=function(e){return e.oneRecord},Pv=function(e){return e.one},P$=function(e){return e.mulRecord},Rl=function(e){return e.mul},k$=function(e){return e.addRecord},w6=function(){return function(e){return{add:k$(e)(Et.value),mul:P$(e)(Et.value),one:N$(e)(Et.value)(Et.value),zero:j$(e)(Et.value)(Et.value)}}},Jo=function(e){return e.add};var KT=function(e){var n=sr(e);return function(){return function(t){var a=k$(t),r=P$(t),o=N$(t),i=j$(t);return function(u){var l=Jo(u),c=Rl(u),s=Pv(u),f=bl(u);return{addRecord:function(v){return function(m){return function(_){var R=a(Et.value)(m)(_),D=n(Et.value),y=ns(D),S=Tu(D);return y(l(S(m))(S(_)))(R)}}},mulRecord:function(v){return function(m){return function(_){var R=r(Et.value)(m)(_),D=n(Et.value),y=ns(D),S=Tu(D);return y(c(S(m))(S(_)))(R)}}},oneRecord:function(v){return function(m){var _=o(Et.value)(Et.value),R=n(Et.value),D=ns(R);return D(s)(_)}},zeroRecord:function(v){return function(m){var _=i(Et.value)(Et.value),R=n(Et.value),D=ns(R);return D(f)(_)}}}}}}};var rw=function(e){return e.sub};var kv={sub:M$,Semiring0:function(){return Yu}};var eF=function(e){var n=rw(e),t=bl(e.Semiring0());return function(a){return n(t)(a)}};var Ot=function(){return{compare:T$(Se.value)(Fe.value)(we.value),Eq0:function(){return va}}}();var iu=function(){return{compare:I$(Se.value)(Fe.value)(we.value),Eq0:function(){return LD}}}(),Dt=function(){return{compare:C$(Se.value)(Fe.value)(we.value),Eq0:function(){return ar}}}(),nF=function(){return{compare:F$(Se.value)(Fe.value)(we.value),Eq0:function(){return b6}}}();var Ke=function(e){return e.compare};var pf=function(e){var n=Ke(e);return function(t){return function(a){return function(r){return n(t(a))(t(r))}}}};var tF=function(e){var n=Ke(e);return function(t){return function(a){var r=n(t)(a);return!(r instanceof Se)}}},ih=function(e){var n=Ke(e);return function(t){return function(a){var r=n(t)(a);return r instanceof Se}}};var ow=function(e){var n=Ke(e);return function(t){return function(a){var r=n(t)(a);return!(r instanceof we)}}},Ov=function(e){var n=Ke(e);return function(t){return function(a){var r=n(t)(a);if(r instanceof Se)return a;if(r instanceof Fe||r instanceof we)return t;throw new Error("Failed pattern match at Data.Ord (line 181, column 3 - line 184, column 12): "+[r.constructor.name])}}},uh=function(e){var n=Ke(e);return function(t){return function(a){var r=n(t)(a);if(r instanceof Se||r instanceof Fe)return t;if(r instanceof we)return a;throw new Error("Failed pattern match at Data.Ord (line 172, column 3 - line 175, column 12): "+[r.constructor.name])}}};var O$=function(e){var n=uh(e),t=Ov(e);return function(a){return function(r){return function(o){return n(r)(t(a)(o))}}}};var S6=function(e){var n=tF(e);return function(t){var a=bl(t.Semiring0()),r=eF(t);return function(o){var i=n(o)(a);return i?o:r(o)}}};var zi=function(e){return e.top};var kD={top:R$,bottom:w$,Ord0:function(){return Dt}},Ap={top:S$,bottom:E$,Ord0:function(){return nF}};var ui=function(e){return e.bottom};var W$=function(e){return e.toString()},q$=function(e){var n=e.toString();return isNaN(n+".0")?n:n+".0"};var z$=function(e){var n=e.length;return'"'+e.replace(/[\0-\x1F\x7F"\\]/g,function(t,a){switch(t){case'"':case"\\":return"\\"+t;case"\x07":return"\\a";case"\b":return"\\b";case"\f":return"\\f";case`
`:return"\\n";case"\r":return"\\r";case"	":return"\\t";case"\v":return"\\v"}var r=a+1,o=r<n&&e[r]>="0"&&e[r]<="9"?"\\&":"";return"\\"+t.charCodeAt(0).toString(10)+o})+'"'},$$=function(e){return function(n){for(var t=[],a=0,r=n.length;a<r;a++)t[a]=e(n[a]);return"["+t.join(",")+"]"}};var Ar={show:z$};var V$=function(e){return e.showRecordFields},tm=function(){return function(){return function(e){var n=V$(e);return{show:function(t){return"{"+(n(Et.value)(t)+"}")}}}}};var $i={show:q$},ze={show:W$};var iw={show:function(e){if(e)return"true";if(!e)return"false";throw new Error("Failed pattern match at Data.Show (line 29, column 1 - line 31, column 23): "+[e.constructor.name])}},re=function(e){return e.show},wl=function(e){return{show:$$(re(e))}},Ri=function(e){var n=sr(e);return function(t){var a=V$(t);return function(r){var o=re(r);return{showRecordFields:function(i){return function(u){var l=a(Et.value)(u),c=n(Et.value),s=Tu(c)(u);return" "+(c+(": "+(o(s)+(","+l))))}}}}}},as=function(e){var n=sr(e);return function(t){var a=re(t);return{showRecordFields:function(r){return function(o){var i=n(Et.value),u=Tu(i)(o);return" "+(i+(": "+(a(u)+" ")))}}}}};var H=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),p=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var fe=function(){function e(){}return e.value=new e,e}(),uw=function(e){return e};var lh=function(e){return e.to};var xp=function(e){return e.from};var Q$=Qe(Xe),C=function(){function e(){}return e.value=new e,e}(),d=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),rs=function(e){var n=re(e);return{show:function(t){if(t instanceof d)return"(Just "+(n(t.value0)+")");if(t instanceof C)return"Nothing";throw new Error("Failed pattern match at Data.Maybe (line 223, column 1 - line 225, column 28): "+[t.constructor.name])}}},Y$=function(e){var n=Ye(e);return{append:function(t){return function(a){if(t instanceof C)return a;if(a instanceof C)return t;if(t instanceof d&&a instanceof d)return new d(n(t.value0)(a.value0));throw new Error("Failed pattern match at Data.Maybe (line 182, column 1 - line 185, column 43): "+[t.constructor.name,a.constructor.name])}}}};var X$=function(e){return function(n){return function(t){if(t instanceof C)return e(Ce);if(t instanceof d)return n(t.value0);throw new Error("Failed pattern match at Data.Maybe (line 250, column 1 - line 250, column 62): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},Oe=function(e){return function(n){return function(t){if(t instanceof C)return e;if(t instanceof d)return n(t.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},fr=Oe(!0)(an(!1)),gt=Oe(!1)(an(!0));var J={map:function(e){return function(n){return n instanceof d?new d(e(n.value0)):C.value}}},Q3e=N(J);var aF=function(e){return X$(e)(Q$)},Ee=function(e){return Oe(e)(Q$)},za=function(){return function(e){if(e instanceof d)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var xt=function(e){var n=_e(e);return{eq:function(t){return function(a){return t instanceof C&&a instanceof C?!0:t instanceof d&&a instanceof d?n(t.value0)(a.value0):!1}}}},os=function(e){var n=Ke(e),t=xt(e.Eq0());return{compare:function(a){return function(r){if(a instanceof C&&r instanceof C)return Fe.value;if(a instanceof C)return Se.value;if(r instanceof C)return we.value;if(a instanceof d&&r instanceof d)return n(a.value0)(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 0, column 0 - line 0, column 0): "+[a.constructor.name,r.constructor.name])}},Eq0:function(){return t}}};var Pa={apply:function(e){return function(n){if(e instanceof d)return Q3e(e.value0)(n);if(e instanceof C)return C.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[e.constructor.name,n.constructor.name])}},Functor0:function(){return J}};var Le={bind:function(e){return function(n){if(e instanceof d)return n(e.value0);if(e instanceof C)return C.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[e.constructor.name,n.constructor.name])}},Apply0:function(){return Pa}};var On=function(){return{pure:d.create,Apply0:function(){return Pa}}}();var Ur={alt:function(e){return function(n){return e instanceof C?n:e}},Functor0:function(){return J}},Y3e=function(){return{empty:C.value,Alt0:function(){return Ur}}}(),Fo={Applicative0:function(){return On},Plus1:function(){return Y3e}};function Z$(e){return function(){var n={};for(var t in e)hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}}var am={};function lw(e){return e()}function K$(e,n){var t={};for(var a in e)hasOwnProperty.call(e,a)&&(t[a]=n(e[a]));return t}function eV(e,n){var t={};for(var a in e)hasOwnProperty.call(e,a)&&(t[a]=n(a)(e[a]));return t}function nV(e){return function(n){return function(t){return function(a){var r=t;function o(u){return function(l){return n(l)(u)(a[u])}}for(var i in a)hasOwnProperty.call(a,i)&&(r=e(r)(o(i)));return r}}}}function tV(e,n,t,a){var r=n;for(var o in e)if(hasOwnProperty.call(e,o)){var i=t(r)(o)(e[o]),u=a(null)(i);if(u===null)return r;r=u}return r}function aV(e,n,t,a){return t in a?n(a[t]):e}function UD(e){return function(n){var t=[];for(var a in n)hasOwnProperty.call(n,a)&&t.push(e(a)(n[a]));return t}}var rV=Object.keys||UD(function(e){return function(){return e}});var oV=function(e){return function(n){return function(){return e(n())}}},iV=function(e){return function(){return e}},uV=function(e){return function(n){return function(){return n(e())()}}};function E6(e){return function(n){return function(t){return function(){for(var a=e;a<n;a++)t(a)()}}}}var cw=function(e){return function(n){return function(){for(var t=0,a=e.length;t<a;t++)n(e[t])()}}};function HD(e){return function(){return{value:e}}}var ch=function(e){return function(){return e.value}},lV=function(e){return function(n){return function(){var t=e(n.value);return n.value=t.state,t.value}}},sw=function(e){return function(n){return function(){return n.value=e}}};var rF=function(e){var n=K(e.Bind1()),t=ah(e.Applicative0());return function(a){return function(r){return n(a)(function(o){return t(o)(r)})}}};var rc=function(e){var n=K(e.Bind1()),t=z(e.Applicative0());return function(a){return function(r){return n(a)(function(o){return n(r)(function(i){return t(o(i))})})}}};var rn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ln=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var BD=function(e){return Oe(new rn(e))(ln.create)};var li={map:function(e){return function(n){if(n instanceof rn)return new rn(n.value0);if(n instanceof ln)return new ln(e(n.value0));throw new Error("Failed pattern match at Data.Either (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}},X3e=N(li);var rr=function(e){return function(n){return function(t){if(t instanceof rn)return e(t.value0);if(t instanceof ln)return n(t.value0);throw new Error("Failed pattern match at Data.Either (line 208, column 1 - line 208, column 64): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},oc=function(){return rr(an(C.value))(d.create)}();var oF={apply:function(e){return function(n){if(e instanceof rn)return new rn(e.value0);if(e instanceof ln)return X3e(e.value0)(n);throw new Error("Failed pattern match at Data.Either (line 70, column 1 - line 72, column 30): "+[e.constructor.name,n.constructor.name])}},Functor0:function(){return li}};var _f={bind:rr(function(e){return function(n){return new rn(e)}})(function(e){return function(n){return n(e)}}),Apply0:function(){return oF}};var Sl=function(e){return e};var rm={map:function(e){return function(n){return e(n)}}};var cV={apply:function(e){return function(n){return e(n)}},Functor0:function(){return rm}},C6={bind:function(e){return function(n){return n(e)}},Apply0:function(){return cV}},I6={pure:Sl,Apply0:function(){return cV}},ga={Applicative0:function(){return I6},Bind1:function(){return C6}};var sV=function(e){return Math.min(Math.abs(e),2147483647)},fV=function(e){return function(n){return n===0?0:n>0?Math.floor(e/n):-Math.floor(e/-n)}},vV=function(e){return function(n){if(n===0)return 0;var t=Math.abs(n);return(e%t+t)%t}};var T6={Ring0:function(){return kv}};var El=function(e){return e.mod};var $a={degree:sV,div:fV,mod:vV,CommutativeRing0:function(){return T6}},gr=function(e){return e.div};var F6={mempty:Ce,Semigroup0:function(){return tw}},ft={mempty:"",Semigroup0:function(){return nm}};var Uv={mempty:[],Semigroup0:function(){return sa}};var Da=function(e){return e.mempty};var M6=function(e){return function(){return e}},pV=function(e){return function(n){return function(){return n(e())()}}};var G6=function(e){return function(n){return function(){for(var t=0,a=e.length;t<a;t++)n(e[t])()}}};var _V=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}},Hv={Applicative0:function(){return ea},Bind1:function(){return Va}},Va={bind:pV,Apply0:function(){return A6(0)}},ea={pure:M6,Apply0:function(){return A6(0)}},dV=_V("functorEffect","Effect",function(){return{map:KR(ea)}}),A6=_V("applyEffect","Effect",function(){return{apply:rc(Hv),Functor0:function(){return dV(0)}}}),it=dV(20),hV=A6(23),K3e=bi(hV),iF=function(e){return{append:K3e(Ye(e))}},x6=function(e){var n=iF(e.Semigroup0());return{mempty:M6(Da(e)),Semigroup0:function(){return n}}};var gV=function(e){return function(){return{value:e}}};var is=function(e){return function(){return e.value}};var df=function(e){return function(n){return function(){n.value=e}}};var hf=gV;var Wo=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qo=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Xu=function(e){return e.tailRecM};var nAe=function(e){var n=function(t){var a=!1,r;function o(i){if(i instanceof Wo){t=e(i.value0);return}if(i instanceof qo)return a=!0,i.value0;throw new Error("Failed pattern match at Control.Monad.Rec.Class (line 103, column 3 - line 103, column 25): "+[i.constructor.name])}for(;!a;)r=o(t);return r};return function(t){return n(e(t))}};var JD={tailRecM:function(e){var n=function(a){return a},t=nAe(function(a){return n(e(a))});return function(a){return Sl(t(a))}},Monad0:function(){return ga}};var aAe=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}},rAe=lV,bV=function(e){return rAe(function(n){var t=e(n);return{state:t,value:t}})},om={map:oV};var j6={Applicative0:function(){return uF},Bind1:function(){return fw}},fw={bind:uV,Apply0:function(){return RV(0)}},uF={pure:iV,Apply0:function(){return RV(0)}},RV=aAe("applyST","Control.Monad.ST.Internal",function(){return{apply:rc(j6),Functor0:function(){return om}}});var wV=function(e,n){for(var t=e>n?-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},oAe=function(e,n){if(e<1)return[];var t=new Array(e);return t.fill(n)},iAe=function(e,n){for(var t=[],a=0,r=0;r<e;r++)t[a++]=n;return t},uAe=typeof Array.prototype.fill=="function"?oAe:iAe,SV=function(){function e(r,o){this.head=r,this.tail=o}var n={};function t(r){return function(o){return new e(r,o)}}function a(r){for(var o=[],i=0,u=r;u!==n;)o[i++]=u.head,u=u.tail;return o}return function(r,o){return a(r(t)(n)(o))}}(),da=function(e){return e.length},EV=function(e,n,t){return t.length===0?e({}):n(t[0])(t.slice(1))},IV=function(e,n,t,a){return a<0||a>=t.length?n:e(t[a])};var TV=function(e,n,t,a){for(var r=0,o=a.length;r<o;r++)if(t(a[r]))return e(r);return n};var FV=function(e,n,t,a){if(t<0||t>=a.length)return n;var r=a.slice();return r.splice(t,1),e(r)},MV=function(e,n,t,a,r){if(t<0||t>=r.length)return n;var o=r.slice();return o[t]=a,e(o)},vw=function(e){return e.slice().reverse()},WD=function(e){if(e.length<=1e4)return Array.prototype.concat.apply([],e);for(var n=[],t=0,a=e.length;t<a;t++)for(var r=e[t],o=0,i=r.length;o<i;o++)n.push(r[o]);return n},GV=function(e,n){return n.filter(e)},AV=function(e,n){for(var t=[],a=[],r=0;r<n.length;r++){var o=n[r];e(o)?t.push(o):a.push(o)}return{yes:t,no:a}},xV=function(e,n,t){for(var a=t.length,r=n,o=new Array(a),i=0;i<a;i++)r=e(r)(t[i]),o[i]=r;return o};var LV=function(){function e(n,t,a,r,o,i){var u,l,c,s,f,v,m;for(u=o+(i-o>>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;l<u&&c<i;)f=r[l],v=r[c],m=t(n(f)(v)),m>0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l<u;)a[s++]=r[l++];for(;c<i;)a[s++]=r[c++]}return function(n,t,a){var r;return a.length<2?a:(r=a.slice(0),e(n,t,r,a.slice(0),0,a.length),r)}}(),jV=function(e,n,t){return t.slice(e,n)},NV=function(e,n,t){for(var a=n.length<t.length?n.length:t.length,r=new Array(a),o=0;o<a;o++)r[o]=e(n[o])(t[o]);return r};var PV=function(e,n){return e[n]};var Lp=function(e){return e.defer};function mw(){return[]}function kV(e){return e}var OV=kV,UV=kV;function lAe(e){return e.slice()}var HV=lAe;var cAe=function(){function e(n,t,a,r,o,i){var u,l,c,s,f,v,m;for(u=o+(i-o>>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;l<u&&c<i;)f=r[l],v=r[c],m=t(n(f)(v)),m>0?(a[s++]=v,++c):(a[s++]=f,++l);for(;l<u;)a[s++]=r[l++];for(;c<i;)a[s++]=r[c++]}return function(n,t,a){return a.length<2||e(n,t,a,a.slice(0),0,a.length),a}}();var BV=function(e,n){return n.push(e)};var pw=function(n){return function(t){return function(){return n(t)}}},N6=function(n){return function(t){return function(a){return function(){return n(t,a)}}}};var vAe=K(fw);var P6=pw(UV),jp=pw(OV);var mAe=pw(HV),JV=function(e){return function(n){return function(){var a=mAe(n)();return e(a)(),jp(a)()}}};var WV=function(e){return vAe(e)(jp)()};var gf=N6(BV);var qV=function(e){return function(n){return e&&n}},zV=function(e){return function(n){return e||n}},$V=function(e){return!e};var qD=function(e){return e.tt};var Ua=function(e){return e.not};var k6=function(e){return e.implies};var zD=function(e){return e.ff};var Bv=function(e){return e.disj},na={ff:!1,tt:!0,implies:function(e){return function(n){return Bv(na)(Ua(na)(e))(n)}},conj:qV,disj:zV,not:$V};var Df=function(e){return e.conj},vr=function(e){var n=zD(e),t=qD(e),a=k6(e),r=Df(e),o=Bv(e),i=Ua(e);return{ff:function(u){return n},tt:function(u){return t},implies:function(u){return function(l){return function(c){return a(u(c))(l(c))}}},conj:function(u){return function(l){return function(c){return r(u(c))(l(c))}}},disj:function(u){return function(l){return function(c){return o(u(c))(l(c))}}},not:function(u){return function(l){return i(u(l))}}}};var O6=N(om),VV=Ua(na),U6=Na(om),pAe=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}(),_Ae=function(e){return function(){var t=ch(e.value1)();return e.value0(t)}},QV=function(e){return function(){var t=ch(e.value1)();return bV(function(a){return a+1|0})(e.value1)(),e.value0(t)}},YV=function(e){return function(n){return function(t){return function(){for(var r=HD(!1)();O6(VV)(ch(r))();)(function(){var i=_Ae(n)();return i instanceof d&&e(i.value0)?(gf(i.value0)(t)(),U6(QV(n))()):U6(sw(!0)(r))()})();return{}}}}};var XV=function(e){return O6(pAe.create(e))(HD(0))},ZV=function(e){return function(n){return function(){for(var a=HD(!1)();O6(VV)(ch(a))();)(function(){var o=QV(e)();if(o instanceof d)return n(o.value0)();if(o instanceof C)return U6(sw(!0)(a))();throw new Error("Failed pattern match at Data.Array.ST.Iterator (line 42, column 5 - line 44, column 47): "+[o.constructor.name])})();return{}}}};var KV=function(e){return function(n){return function(t){for(var a=n,r=t.length,o=r-1;o>=0;o--)a=e(t[o])(a);return a}}},eQ=function(e){return function(n){return function(t){for(var a=n,r=t.length,o=0;o<r;o++)a=e(a)(t[o]);return a}}};var Zu=function(e){return e.empty};var Ue=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}(),Jv=function(e){return function(n){return e(n.value0)(n.value1)}};var Yr=function(e){return e.value1};var im={map:function(e){return function(n){return new Ue(n.value0,e(n.value1))}}};var ci=function(e){return e.value0};var VD=function(e){return function(n){return function(t){return e(new Ue(n,t))}}};var nQ=Qe(Xe),xr=function(e){return e.bimap},Dr=function(e){var n=xr(e);return function(t){return n(t)(nQ)}},H6=function(e){return xr(e)(nQ)};var us={bimap:function(e){return function(n){return function(t){if(t instanceof rn)return new rn(e(t.value0));if(t instanceof ln)return new ln(n(t.value0));throw new Error("Failed pattern match at Data.Bifunctor (line 32, column 1 - line 34, column 36): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}}};var _w=function(e){return e};var wAe=function(e){var n=Df(e);return{append:function(t){return function(a){return n(t)(a)}}}};var B6=function(e){var n=wAe(e);return{mempty:qD(e),Semigroup0:function(){return n}}};var dw=function(e){return e};var SAe=function(e){var n=Bv(e);return{append:function(t){return function(a){return n(t)(a)}}}};var J6=function(e){var n=SAe(e);return{mempty:zD(e),Semigroup0:function(){return n}}};var Be=function(e){return e};var zo=function(){return Be};var W6=zo(),um=function(){return W6};var on=function(){return W6};var YD=function(){return function(){return function(){return function(){return function(e){return W6}}}}};var rQ=Qe(Xe);var oQ=YD()()()(),Cr=function(e){return e.foldr};var Wv=function(e){var n=jv(e.Apply0()),t=z(e);return function(a){var r=Cr(a);return function(o){return r(function(i){return n(o(i))})(t(Ce))}}},co=function(e){var n=Wv(e);return function(t){return Jt(n(t))}},z6=function(e){var n=Wv(e);return function(t){return n(t)(rQ)}},Qa=function(e){return e.foldl};var Hr=function(e){var n=Qa(e);return function(t){var a=Ye(t.Semigroup0()),r=Da(t);return function(o){return function(i){var u=function(l){return function(c){return l.init?{init:!1,acc:c}:{init:!1,acc:a(l.acc)(a(o)(c))}}};return n(u)({init:!0,acc:r})(i).acc}}}};var XD=function(e){var n=Qa(e);return function(t){return n(Jo(t))(bl(t))}};var $o={foldr:function(e){return function(n){return function(t){if(t instanceof C)return n;if(t instanceof d)return e(t.value0)(n);throw new Error("Failed pattern match at Data.Foldable (line 138, column 1 - line 144, column 27): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},foldl:function(e){return function(n){return function(t){if(t instanceof C)return n;if(t instanceof d)return e(n)(t.value0);throw new Error("Failed pattern match at Data.Foldable (line 138, column 1 - line 144, column 27): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},foldMap:function(e){var n=Da(e);return function(t){return function(a){if(a instanceof C)return n;if(a instanceof d)return t(a.value0);throw new Error("Failed pattern match at Data.Foldable (line 138, column 1 - line 144, column 27): "+[t.constructor.name,a.constructor.name])}}}};var iQ=function(e){var n=Cr(e);return function(t){var a=Ye(t.Semigroup0()),r=Da(t);return function(o){return n(function(i){return function(u){return a(o(i))(u)}})(r)}}},Te={foldr:KV,foldl:eQ,foldMap:function(e){return iQ(Te)(e)}};var si=function(e){return e.foldMap};var uQ=function(e){var n=Qa(e);return function(t){var a=K(t.Bind1()),r=z(t.Applicative0());return function(o){return function(i){return n(function(u){return function(l){return a(u)(Jt(o)(l))}})(r(i))}}}},oa=function(e){var n=si(e);return function(t){return n(t)(rQ)}};var yf=function(e){var n=Qa(e);return function(t){var a=function(r){return function(o){return r instanceof C&&t(o)?new d(o):r}};return n(a)(C.value)}},ic=function(e){var n=si(e);return function(t){return oQ(dw)(n(J6(t)))}},uc=function(e){var n=ic(e)(na);return function(t){var a=_e(t);return function(r){return n(a(r))}}},ZD=function(e){var n=uc(e);return function(t){var a=n(t);return function(r){var o=a(r);return function(i){return!o(i)}}}};var fh=function(e){var n=si(e);return function(t){return oQ(_w)(n(B6(t)))}};var lF=function(e){return function(n,t,a,r,o){return e(n)(t)(a)(r)(o)}};var Fu=function(e){return function(n){return function(t){return e(n,t)}}},qv=function(e){return function(n){return function(t){return function(a){return e(n,t,a)}}}},vh=function(e){return function(n){return function(t){return function(a){return function(r){return e(n,t,a,r)}}}}},$6=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){return e(n,t,a,r,o)}}}}}};var lQ=function(e){return function(n){for(var t=n.length,a=Array(t),r=0;r<t;r++)a[r]=e(r)(n[r]);return a}};var lc=function(e){return e.mapWithIndex};var bf={mapWithIndex:lQ,Functor0:function(){return ge}};var cQ=function(){function e(r){return[r]}function n(r){return function(o){return[r,o]}}function t(r){return function(o){return function(i){return[r,o,i]}}}function a(r){return function(o){return r.concat(o)}}return function(r){return function(o){return function(i){return function(u){return function(l){function c(s,f){switch(f-s){case 0:return i([]);case 1:return o(e)(u(l[s]));case 2:return r(o(n)(u(l[s])))(u(l[s+1]));case 3:return r(r(o(t)(u(l[s])))(u(l[s+1])))(u(l[s+2]));default:var v=s+Math.floor((f-s)/4)*2;return r(o(a)(c(s,v)))(c(v,f))}}return c(0,l.length)}}}}}}();var lxe=Qe(Xe),Mo=function(e){return e.traverse};var Dw={traverse:function(e){var n=z(e),t=N(e.Apply0().Functor0());return function(a){return function(r){if(r instanceof C)return n(C.value);if(r instanceof d)return t(d.create)(a(r.value0));throw new Error("Failed pattern match at Data.Traversable (line 115, column 1 - line 119, column 33): "+[a.constructor.name,r.constructor.name])}}},sequence:function(e){var n=z(e),t=N(e.Apply0().Functor0());return function(a){if(a instanceof C)return n(C.value);if(a instanceof d)return t(d.create)(a.value0);throw new Error("Failed pattern match at Data.Traversable (line 115, column 1 - line 119, column 33): "+[a.constructor.name])}},Functor0:function(){return J},Foldable1:function(){return $o}};var cxe=function(e){var n=Mo(e);return function(t){return n(t)(lxe)}},wi={traverse:function(e){var n=e.Apply0();return cQ(qn(n))(N(n.Functor0()))(z(e))},sequence:function(e){return cxe(wi)(e)},Functor0:function(){return ge},Foldable1:function(){return Te}},Rf=function(e){return e.sequence};var Np=function(e){return function(n){var t=Mo(n)(e);return function(a){return function(r){return t(r)(a)}}}};var _Q=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){for(var i=[],u=o;;){var l=r(u);if(e(l))return i;var c=n(l);i.push(t(c)),u=a(c)}}}}}}};var dQ=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){for(var i=[],u=o;;){var l=r(u);i.push(t(l));var c=a(l);if(e(c))return i;u=n(c)}}}}}}};var cF=function(e){return e.foldl1};var hQ=function(e){var n=cF(e);return function(t){var a=N(t);return function(r){var o=Ye(r);return function(i){var u=n(o),l=a(i);return function(c){return u(l(c))}}}}},KD=function(e){return e.foldMap1};var pxe=za(),Pp=function(e){return e.unfoldr1};var sF={unfoldr1:dQ(fr)(pxe)(ci)(Yr)};var hxe=za(),Mu=function(e){return e.unfoldr};var Vo={unfoldr:_Q(fr)(hxe)(ci)(Yr),Unfoldable10:function(){return sF}};var Y6=Na(om),gxe=Hr(Te),Dxe=qn(Pa),DQ=N(J),yxe=N(ge),bxe=N(om),yQ=za(),Rxe=uo(uF),wxe=mf(oh);var Sxe=oa(Te),Exe=Ye(sa);var bQ=qv(NV);var X6=function(){return bQ(Ue.create)}();var fF=function(){return $6(MV)(d.create)(C.value)}(),Z6=function(){return Fu(PV)},K6=Z6(),e1=function(){return qv(EV)(an(C.value))(function(e){return function(n){return new d({head:e,tail:n})}})}(),e8=function(e){var n=Mu(e);return function(t){var a=da(t),r=function(o){if(o<a)return new d(new Ue(K6(t)(o),o+1|0));if(xe)return C.value;throw new Error("Failed pattern match at Data.Array (line 163, column 3 - line 165, column 26): "+[o.constructor.name])};return n(r)(0)}};var zv=function(e){return qv(LV)(e)(function(n){if(n instanceof we)return 1;if(n instanceof Fe)return 0;if(n instanceof Se)return-1|0;throw new Error("Failed pattern match at Data.Array (line 897, column 38 - line 900, column 11): "+[n.constructor.name])})},Cl=function(e){var n=pf(e);return function(t){return zv(n(t))}},Cxe=Cl(Dt),mh=function(e){var n=Ke(e);return function(t){return zv(n)(t)}},yw=function(e){return function(n){return JV(gf(n))(e)()}},bw=qv(jV);var n1=function(e){return function(n){var t=e<1;return t?[]:bw(0)(e)(n)}},kp=function(e){return[e]};var n8=qv(xV);var vF=Fu(wV),t8=Fu(AV),Si=function(e){return da(e)===0};var Rw=lc(bf),ph=function(e){return function(n){var t=da(n);if(t<2)return n;if(xe)return WV(function(){var a=function(r){return K6(n)(r)};return function(){var o=mw();return gf(a(0))(o)(),E6(1)(t)(function(i){return function(){return gf(e)(o)(),Y6(gf(a(i))(o))()}})(),o}}());throw new Error("Failed pattern match at Data.Array (line 623, column 21 - line 633, column 17): "+[t.constructor.name])}},RQ=function(e){return gxe(e)};var wQ=function(e){if(Si(e))return C.value;if(xe)return new d(bw(0)(da(e)-1|0)(e));throw new Error("Failed pattern match at Data.Array (line 351, column 1 - line 351, column 45): "+[e.constructor.name])},uu=function(){return vh(IV)(d.create)(C.value)}(),_h=function(e){return uu(e)(da(e)-1|0)},a8=function(e){return Dxe(DQ(function(n){return function(t){return{init:n,last:t}}})(wQ(e)))(_h(e))};var Ei=function(e){return uu(e)(0)},SQ=function(e){return function(n){var t=zv(function(r){return function(o){return e(Yr(r))(Yr(o))}})(Rw(Ue.create)(n)),a=Ei(t);if(a instanceof C)return[];if(a instanceof d)return yxe(Yr)(Cxe(ci)(function(){var o=P6(kp(a.value0))();return cw(t)(function(i){return function(){var l=bxe(function(){var c=function(s){return yQ(_h(s))};return function(s){return Yr(c(s))}}())(jp(o))();return Rxe(wxe(e(l)(i.value1))(Fe.value))(Y6(gf(i)(o)))()}})(),jp(o)()}()));throw new Error("Failed pattern match at Data.Array (line 1115, column 17 - line 1123, column 28): "+[a.constructor.name])}},Op=function(e){return SQ(Ke(e))},r8=function(e){return function(n){return function(){var a=mw(),r=XV(function(o){return uu(n)(o)})();return ZV(r)(function(o){return Y6(function(){var u=mw();gf(o)(u)(),YV(e(o))(r)(u)();var l=jp(u)();return gf(l)(a)()})})(),jp(a)()}()}};var mF=function(e){return Fu(SV)(Cr(e))},Ixe=Cr(Te);var ww=function(e){return Sxe(e)};var pF=function(){return vh(TV)(d.create)(C.value)}(),o8=function(e){return function(n){return DQ(K6(n))(pF(e)(n))}},Lr=Fu(GV);var Up=function(e){var n=_e(e);return function(t){return pF(function(a){return n(a)(t)})}};var dh=function(e){var n=Up(e);return function(t){return function(a){return gt(n(t)(a))}}};var EQ=function(){return vh(FV)(d.create)(C.value)}(),CQ=function(e){return function(n){return function(t){return t.length===0?[]:Oe(t)(function(a){return yQ(EQ(a)(t))})(pF(e(n))(t))}}},Sw=function(e){return CQ(_e(e))},Ew=function(e){return Ixe(Sw(e))},Ci=function(e){return function(n){return Exe([e])(n)}},t1=function(e){var n=qn(e.Applicative0().Apply0()),t=N(e.Plus1().Alt0().Functor0());return function(a){var r=Lp(a);return function(o){return n(t(Ci)(o))(r(function(i){return i8(e)(a)(o)}))}}},i8=function(e){var n=Pt(e.Plus1().Alt0()),t=z(e.Applicative0());return function(a){return function(r){return n(t1(e)(a)(r))(t([]))}}},IQ=Jt(K(Nv)),Go=function(e){return IQ(function(){var n=Oe([])(kp);return function(t){return n(e(t))}}())};var yr=Go(Qe(Xe));var Txe=Cr(Te),TQ=lc(bf),Fxe=Qa(Te);var Cw=function(e){return e.foldrWithIndex};var Iw=function(e){return e.foldlWithIndex};var Mxe=function(e){var n=Cw(e);return function(t){var a=Ye(t.Semigroup0()),r=Da(t);return function(o){return n(function(i){return function(u){return function(l){return a(o(i)(u))(l)}}})(r)}}},a1={foldrWithIndex:function(e){return function(n){var t=Txe(function(r){return function(o){return e(r.value0)(r.value1)(o)}})(n),a=TQ(Ue.create);return function(r){return t(a(r))}}},foldlWithIndex:function(e){return function(n){var t=Fxe(function(r){return function(o){return e(o.value0)(r)(o.value1)}})(n),a=TQ(Ue.create);return function(r){return t(a(r))}}},foldMapWithIndex:function(e){return Mxe(a1)(e)},Foldable0:function(){return Te}};var FQ=function(e){var n=Iw(e);return function(t){var a=function(r){return function(o){return function(i){return o instanceof C?t(r)(i):o}}};return n(a)(C.value)}};var r1=function(e){return e.traverseWithIndex};var _F=function(){return{}};function Tw(e){return function(n){return function(t){return function(){return t[e]=n,t}}}}var u8=function(e){return function(n){return function(){return delete n[e],n}}};var Axe=mt(fw);var xxe=Na(om),LQ=Cr(Te),Lxe=Qe(Xe);var jQ=UD(function(e){return function(n){return n}}),hh=function(e){var n=e8(e),t=UD(Ue.create);return function(a){return n(t(a))}};var jxe=Z$,Fw=function(e){return function(n){return lw(Axe(Tw(e)(n))(_F))}};var NQ=function(e){return function(n){return lw(function(){var a=jxe(n)();return e(a)(),a})}};var Nxe=function(e){return function(n){return eV(n,e)}},cc=function(){return vh(aV)(C.value)(d.create)}();var lm=function(e){return function(n){return NQ(Tw(e)(n))}},Mw={map:function(e){return function(n){return K$(n,e)}}},PQ={mapWithIndex:Nxe,Functor0:function(){return Mw}},Gw=function(){return Be};var cm=function(e){var n=mF(e);return function(t){return lw(function(){var r=_F();return cw(n(t))(function(o){return xxe(Tw(o.value0)(o.value1)(r))})(),r})}};var kQ=function(e){return function(n){return function(t){return tV(t,n,e,Ee)}}};var dF=nV(D6),OQ=function(e){var n=Ye(e.Semigroup0()),t=Da(e);return function(a){return dF(function(r){return function(o){return function(i){return n(r)(a(o)(i))}}})(t)}},hF={foldl:function(e){return dF(function(n){return function(t){return e(n)}})},foldr:function(e){return function(n){return function(t){return LQ(e)(n)(jQ(t))}}},foldMap:function(e){var n=OQ(e);return function(t){return n(an(t))}}},Pxe={foldlWithIndex:function(e){return dF(Jt(e))},foldrWithIndex:function(e){return function(n){return function(t){return LQ(Jv(e))(n)(UD(Ue.create)(t))}}},foldMapWithIndex:function(e){return OQ(e)},Foldable0:function(){return hF}},kxe={traverseWithIndex:function(e){var n=e.Apply0(),t=qn(n),a=N(n.Functor0()),r=z(e);return function(o){return function(i){return dF(function(u){return function(l){return function(c){return t(a(Jt(lm(l)))(u))(o(l)(c))}}})(r(am))(i)}}},FunctorWithIndex0:function(){return PQ},FoldableWithIndex1:function(){return Pxe},Traversable2:function(){return o1}},o1={traverse:function(e){var n=r1(kxe)(e);return function(t){return n(an(t))}},sequence:function(e){return Mo(o1)(e)(Lxe)},Functor0:function(){return Mw},Foldable1:function(){return hF}};var l8=function(e){return NQ(u8(e))};var c8=function(e){return function(n){return function(t){var a=e(cc(n)(t));if(a instanceof C)return l8(n)(t);if(a instanceof d)return lm(n)(a.value0)(t);throw new Error("Failed pattern match at Foreign.Object (line 210, column 15 - line 212, column 25): "+[a.constructor.name])}}},UQ=function(e){return function(n){return function(t){return c8(Oe(C.value)(e))(n)(t)}}};var HQ=lo(am);var BQ=function(e,n){for(var t=n[n.length-1],a=n.length-2;a>=0;a--)t=e(n[a])(t);return t},JQ=function(e,n){for(var t=n[0],a=n.length,r=1;r<a;r++)t=e(t)(n[r]);return t},Hxe=function(){function e(i){this.fn=i}var n={},t=function(i,u){this.head=i,this.tail=u};function a(i){return new t(i,n)}function r(i){return function(u){return new t(i,u)}}function o(i){for(var u=[],l=i;l!==n;)u.push(l.head),l=l.tail;return u}return function(i,u,l){var c=function(f,v){return i(u(r)(l(f)))(v)},s=function(f,v,m){if(v===0)return f;var _=m[v-1];return new e(function(){var R=s(c(_,f),v-1,m);return R})};return function(f){for(var v=u(a)(l(f[f.length-1])),m=s(v,f.length-1,f);m instanceof e;)m=m.fn();return u(o)(m)}}}();var WQ=function(e){return e},gF=sF;var qQ=function(e){var n=re(wl(e));return{show:function(t){return"(NonEmptyArray "+(n(t)+")")}}};var sm=ge;var s8=Te,Aw={foldMap1:function(e){return hQ(Aw)(sm)(e)},foldr1:Fu(BQ),foldl1:Fu(JQ),Foldable0:function(){return s8}};var wf=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}();var DF=function(e){var n=Zu(e);return function(t){return new wf(t,n)}};var qxe=za();var xw=WQ;var sc=function(e){return e};var YQ=function(e){return function(n){return xw(yw(sc(e))(n))}},gh=function(e){return xw(kp(e))};var ls=function(e){if(da(e)>0)return new d(xw(e));if(xe)return C.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 xw(Ci(e)(n))}};var XQ=function(e){return function(n){return qxe(e(sc(n)))}},Hp=XQ(Ei);var ZQ=XQ(a8),KQ=function(e){return function(n){return e(sc(n))}};var Lw=KQ(uu);var eY=function(e){var n=KQ(e);return function(t){return xw(n(t))}},nY=function(e){return eY(Ci(e))};var tY=function(e){var n=Cl(e);return function(t){return eY(n(t))}};var aY=function(e){return function(n){return function(t){return(t|0)===t?e(t):n}}},st=function(e){return e};var yF=isFinite;var bF=Math.abs;var f8=Math.cos;var u1=Math.floor,v8=Math.log;var RF=function(e){return function(n){return Math.pow(e,n)}},Dh=function(e){return function(n){return e%n}},yh=Math.round;var m8=Math.sin;var $v=3.141592653589793;var rY=2.302585092994046;var oY=zi(kD),iY=ui(kD);var Bp=function(){return aY(d.create)(C.value)}(),uY=function(e){if(!yF(e))return 0;if(e>=st(oY))return oY;if(e<=st(iY))return iY;if(xe)return Ee(0)(Bp(e));throw new Error("Failed pattern match at Data.Int (line 72, column 1 - line 72, column 29): "+[e.constructor.name])},cs=function(e){return uY(yh(e))};var Br=function(e){return uY(u1(e))},lY=function(e){return(e&1)==0};var Jr=function(){function e(){}return e.value=new e,e}(),Ma=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}(),wF=function(e){return e},u7e=function(e){return new Ma(e.value0,e.value1)};var l7e=function(e){var n=function(t){return function(a){var r=t,o=!1,i;function u(l,c){if(c instanceof Ma&&c.value1 instanceof Ma&&c.value1.value1 instanceof Ma){r=new Ma(c,l),a=c.value1.value1.value1;return}var s=function(v){return v instanceof Ma&&v.value1 instanceof Ma&&v.value1.value1 instanceof Jr?new Ma(e(v.value0),new Ma(e(v.value1.value0),Jr.value)):v instanceof Ma&&v.value1 instanceof Jr?new Ma(e(v.value0),Jr.value):Jr.value},f=function(v){return function(m){var _=v,R=!1,D;function y(S,G){if(S instanceof Ma&&S.value0 instanceof Ma&&S.value0.value1 instanceof Ma&&S.value0.value1.value1 instanceof Ma){_=S.value1,m=new Ma(e(S.value0.value0),new Ma(e(S.value0.value1.value0),new Ma(e(S.value0.value1.value1.value0),G)));return}return R=!0,G}for(;!R;)D=y(_,m);return D}};return o=!0,f(l)(s(c))}for(;!o;)i=u(r,a);return i}};return n(Jr.value)},c7e={map:l7e};var ss={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 Jr)return l=!0,f;if(v instanceof Ma){u=new Ma(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(Jr.value)}(),a=Qa(ss)(Jt(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 Jr)return o=!0,l;if(c instanceof Ma){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=Ye(e.Semigroup0()),t=Da(e);return function(a){return Qa(ss)(function(r){var o=n(r);return function(i){return o(a(i))}})(t)}}};var s7e=Cr(ss);var p8={append:function(e){return function(n){return s7e(Ma.create)(n)(e)}}},sY=Ye(p8);var _8={append:function(e){return function(n){return new wf(e.value0,sY(e.value1)(u7e(n)))}}};var f7e={alt:sY,Functor0:function(){return c7e}},fY=function(){return{empty:Jr.value,Alt0:function(){return f7e}}}();var D7e=N(J);var d8=function(e){if(e instanceof Jr)return C.value;if(e instanceof Ma)return new d({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])},SF=function(e){return Mu(e)(function(n){return D7e(function(t){return new Ue(t.head,t.tail)})(d8(n))})};var bh=function(e){return Cr(e)(Ma.create)(Jr.value)};var _Y=function(e){return e()};var dY=function(e){throw new Error(e)};var hY=function(){return dY};var y7e=hY(),b7e=_Y,fc=function(e){return b7e(function(){return y7e(e)})};var h8=function(){var e=DF(fY);return function(n){return wF(e(n))}}();var gY=function(e){return e.value0};var yY=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 Ao=function(){function e(){}return e.value=new e,e}(),xo=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}(),bY=function(){function e(){}return e.value=new e,e}(),g8=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}(),D8=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}(),RY=function(){function e(){}return e.value=new e,e}(),y8=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}(),EF=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 fs=function(e,n,t,a){if(t instanceof Ao){if(a instanceof Ao)return new xo(1,1,e,n,t,a);if(a instanceof xo)return new xo(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 xo){if(a instanceof Ao)return new xo(1+t.value0|0,1+t.value1|0,e,n,t,a);if(a instanceof xo)return new xo(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])},jw=function(){return Jt(D8.create)(bY.value)}(),E7e=function(e){return function(n){return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof bY)return o=!0,t(Ce);if(l instanceof g8)return o=!0,n(l.value0,l.value1,l.value2);if(l instanceof D8){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 l1=function(e){return function(n){return new xo(1,1,e,n,Ao.value,Ao.value)}},c1=function(){var e=function(a){if(a instanceof Ao)return 0;if(a instanceof xo)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 xo&&l.value0>e(c)?fs(l.value2,l.value3,fs(a,r,o,l.value4),fs(i,u,l.value5,c)):fs(i,u,fs(a,r,o,l),c)},t=function(a,r,o,i,u,l,c){return l instanceof xo&&e(u)<=l.value0?fs(l.value2,l.value3,fs(o,i,u,l.value4),fs(a,r,l.value5,c)):fs(o,i,u,fs(a,r,l,c))};return function(a,r,o,i){if(o instanceof Ao)return i instanceof Ao?l1(a)(r):i instanceof xo&&i.value0>1?n(a,r,o,i.value2,i.value3,i.value4,i.value5):fs(a,r,o,i);if(o instanceof xo){if(i instanceof xo){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 Ao&&o.value0>1?t(a,r,o.value2,o.value3,o.value4,o.value5,i):fs(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])}}(),b8=yY("unsafeSplit","Data.Map.Internal",function(){return function(e,n,t){if(t instanceof Ao)return new EF(C.value,Ao.value,Ao.value);if(t instanceof xo){var a=e(n)(t.value2);if(a instanceof Se){var r=b8(793)(e,n,t.value4);return new EF(r.value0,r.value1,c1(t.value2,t.value3,r.value2,t.value5))}if(a instanceof we){var r=b8(796)(e,n,t.value5);return new EF(r.value0,c1(t.value2,t.value3,t.value4,r.value1),r.value2)}if(a instanceof Fe)return new EF(new d(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])}}),C7e=b8(786);var R8=yY("unsafeUnionWith","Data.Map.Internal",function(){return function(e,n,t,a){if(t instanceof Ao)return a;if(a instanceof Ao)return t;if(a instanceof xo){var r=C7e(e,a.value2,t),o=R8(809)(e,n,r.value1,a.value4),i=R8(810)(e,n,r.value2,a.value5);if(r.value0 instanceof d)return c1(a.value2,n(r.value0.value0)(a.value3),o,i);if(r.value0 instanceof C)return c1(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])}}),I7e=R8(803),T7e=function(e){var n=Ke(e);return function(t){return function(a){return function(r){return I7e(n,t,a,r)}}}},CF=function(e){return T7e(e)(an)};var Rh=function(e){var n=Ke(e);return function(t){var a=function(r){var o=!1,i;function u(l){if(l instanceof Ao)return o=!0,C.value;if(l instanceof xo){var c=n(t)(l.value2);if(c instanceof Se){r=l.value4;return}if(c instanceof we){r=l.value5;return}if(c instanceof Fe)return o=!0,new d(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 F7e=function(){var e=function(n){return function(t){var a=n,r=!1,o;function i(u,l){if(l instanceof Ao)return r=!0,u;if(l instanceof xo){if(l.value5 instanceof Ao){a=new g8(l.value2,l.value3,u),t=l.value4;return}a=new g8(l.value2,l.value3,new D8(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}(),Nw=E7e(F7e),wY=function(){return Nw(function(e,n,t){return new y8(e,n,t)})(an(RY.value))}(),M7e=function(e){var n=_e(e);return function(t){var a=_e(t);return{eq:function(){var r=function(o){return function(i){var u=o,l=!1,c;function s(f,v){var m=wY(f);if(m instanceof y8){var _=wY(v);if(_ instanceof y8&&n(m.value0)(_.value0)&&a(m.value1)(_.value1)){u=m.value2,i=_.value2;return}return l=!0,!1}if(m instanceof RY)return l=!0,!0;throw new Error("Failed pattern match at Data.Map.Internal (line 859, column 14 - line 868, column 13): "+[m.constructor.name])}for(;!l;)c=s(u,i);return c}};return r}()}}};var G7e=function(){var e=function(n,t,a){return new d(new Ue(new Ue(n,t),a))};return Nw(e)(function(n){return C.value})}(),wh=function(e){var n=Mu(e)(G7e);return function(t){return n(jw(t))}};var w8=function(e){return e instanceof Ao};var S8=function(e){var n=Ke(e);return function(t){return function(a){var r=function(o){if(o instanceof Ao)return l1(t)(a);if(o instanceof xo){var i=n(t)(o.value2);if(i instanceof Se)return c1(o.value2,o.value3,r(o.value4),o.value5);if(i instanceof we)return c1(o.value2,o.value3,o.value4,r(o.value5));if(i instanceof Fe)return new xo(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 E8=function(e){var n=M7e(e);return function(t){var a=_e(n(t));return{eq:function(r){return function(o){if(r instanceof Ao)return o instanceof Ao;if(r instanceof xo)return o instanceof xo&&r.value1===o.value1?a(jw(r))(jw(o)):!1;throw new Error("Failed pattern match at Data.Map.Internal (line 94, column 14 - line 105, column 16): "+[r.constructor.name])}}}}};var Sf=function(){return Ao.value}(),vc=function(e){var n=S8(e);return function(t){return Qa(t)(function(a){return function(r){return n(r.value0)(r.value1)(a)}})(Sf)}};var EY=zo();var A7e=function(e){return EY(CF(e))};var CY=function(e){return e};var IY=function(e){return l1(e)(Ce)};var TY=function(e){return{append:A7e(e)}};var FY=EY(w8);var MY=function(e){var n=S8(e);return function(t){return function(a){return n(t)(Ce)(a)}}};var GY=function(e){var n=_e(E8(e)(nw));return{eq:function(t){return function(a){return n(t)(a)}}}};var x7e=Sf,IF=function(e){var n=Qa(e);return function(t){var a=MY(t);return n(function(r){return function(o){return a(o)(r)}})(x7e)}};var L7e=typeof Array.from=="function",AY=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",j7e=typeof String.prototype.fromCodePoint=="function",N7e=typeof String.prototype.codePointAt=="function",xY=function(e){return N7e?function(n){return n.codePointAt(0)}:e},LY=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(AY)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 jY=function(e){return j7e?String.fromCodePoint:e},NY=function(e){return function(n){return AY?function(t){for(var a="",r=t[Symbol.iterator](),o=0;o<n;++o){var i=r.next();if(i.done)return a;a+=i.value}return a}:e(n)}},PY=function(e){return function(n){return L7e?function(t){return Array.from(t,n)}:e}};function Jp(e){return e.charCodeAt(0)}function kY(e){return String.fromCharCode(e)}var Xr=function(e){var n=z(e.Applicative0()),t=Zu(e.Plus1());return function(a){if(a)return n(Ce);if(!a)return t;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[a.constructor.name])}};var OY=ui(Ap),UY=zi(Ap);var yt=function(e){return e.toEnum};var TF=function(e){return e.pred};var dt=function(e){return e.fromEnum},C8=function(e){var n=yt(e),t=dt(e),a=ui(e.Bounded0());return function(r){return function(o){return function(i){var u=n(i);if(u instanceof d)return u.value0;if(u instanceof C){var l=i<t(a);return l?r:o}throw new Error("Failed pattern match at Data.Enum (line 158, column 33 - line 160, column 62): "+[u.constructor.name])}}}};var Sh=function(e){return function(n){return function(t){return e(n(t)+1|0)}}},Eh=function(e){return function(n){return function(t){return e(n(t)-1|0)}}};var I8=function(e){return e>=Jp(OY)&&e<=Jp(UY)?new d(kY(e)):C.value},P7e={succ:Sh(I8)(Jp),pred:Eh(I8)(Jp),Ord0:function(){return nF}};var s1=function(){return{cardinality:Jp(UY)-Jp(OY)|0,toEnum:I8,fromEnum:Jp,Bounded0:function(){return Ap},Enum1:function(){return P7e}}}();var f1=function(e){return e.join("")},Pw=function(e){return e.split("")},Ch=function(e){return e},HY=function(e){return function(n){return function(t){return function(a){return t>=0&&t<a.length?e(a.charAt(t)):n}}}};var vs=function(e){return e.length};var BY=function(e){return function(n){return function(t){return function(a){var r=a.indexOf(t);return r===-1?n:e(r)}}}};var fm=function(e){return function(n){return n.substring(e)}};var kw=function(e){return function(n){return{before:n.substring(0,e),after:n.substring(e)}}};var vm=function(e){return function(n){if(e>=0&&e<n.length)return n.charAt(e);throw new Error("Data.String.Unsafe.charAt: Invalid index.")}};var v1=function(e){return function(n){var t=kw(vs(n)-vs(e)|0)(n),a=t.after===e;return a?new d(t.before):C.value}},mc=function(e){return function(n){var t=kw(vs(e))(n),a=t.before===e;return a?new d(t.after):C.value}};var T8=function(){return BY(d.create)(C.value)}();var ms=function(e){var n=T8(e);return function(t){return gt(n(t))}},MF=function(){return HY(d.create)(C.value)}();var Ih=function(e){return function(n){return function(t){return t.replace(new RegExp(e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),"g"),n)}}},Ii=function(e){return function(n){return n.split(e)}},lu=function(e){return e.toLowerCase()},Wp=function(e){return e.toUpperCase()},Ow=function(e){return e.trim()},Wr=function(e){return function(n){return n.join(e)}};var Ti=function(e){return e===""};var H7e=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}},Uw=dt(s1),B7e=N(J),J7e=Mu(Vo),W7e=gr($a),q7e=El($a),z7e=Ke(Dt);var WY=function(e){return function(n){return(((e-55296|0)*1024|0)+(n-56320|0)|0)+65536|0}};var qY=function(e){return 56320<=e&&e<=57343},zY=function(e){return 55296<=e&&e<=56319},Hw=function(e){var n=vs(e);if(n===0)return C.value;if(n===1)return new d({head:Uw(vm(0)(e)),tail:""});var t=Uw(vm(1)(e)),a=Uw(vm(0)(e)),r=zY(a)&&qY(t);return r?new d({head:WY(a)(t),tail:fm(2)(e)}):new d({head:a,tail:fm(1)(e)})},$7e=function(e){return B7e(function(n){return new Ue(n.head,n.tail)})(Hw(e))},V7e=function(e){return J7e($7e)(e)},Q7e=function(e){var n=Uw(vm(0)(e)),t=zY(n)&&vs(e)>1;if(t){var a=Uw(vm(1)(e)),r=qY(a);return r?WY(n)(a):n}return n},F8=xY(Q7e),Bw=PY(V7e)(F8),Zr=function(e){return da(Bw(e))};var M8=function(){var e=C8(s1)(ui(Ap))(zi(Ap));return function(n){return Ch(e(n))}}(),Y7e=function(e){if(e<=65535)return M8(e);var n=W7e(e-65536|0)(1024)+55296|0,t=q7e(e-65536|0)(1024)+56320|0;return M8(n)+M8(t)};var G8=jY(Y7e),$Y=function(e){return function(n){if(e<1)return"";var t=Hw(n);return t instanceof d?G8(t.value0.head)+$Y(e-1|0)(t.value0.tail):n}},pc=NY($Y);var GF={eq:function(e){return function(n){return e===n}}},AF={compare:function(e){return function(n){return z7e(e)(n)}},Eq0:function(){return GF}},Jw=function(e){return function(n){return fm(vs(pc(e)(n)))(n)}};var X7e=function(e){return function(n){var t=e,a=!1,r;function o(i,u){var l=Hw(u);if(l instanceof d){var c=i===0;if(c)return a=!0,new d(l.value0.head);t=i-1|0,n=l.value0.tail;return}return a=!0,C.value}for(;!a;)r=o(t,n);return r}},A8=function(e){return function(n){return e<0?C.value:e===0&&n===""?C.value:e===0?new d(F8(n)):LY(X7e)(d.create)(C.value)(F8)(e)(n)}},Z7e={bottom:0,top:1114111,Ord0:function(){return AF}},qp=function(){return{cardinality:1114111+1|0,fromEnum:function(e){return e},toEnum:function(e){if(e>=0&&e<=1114111)return new d(e);if(xe)return C.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 Z7e},Enum1:function(){return K7e(0)}}}(),K7e=H7e("enumCodePoint","Data.String.CodePoints",function(){return{succ:Sh(yt(qp))(dt(qp)),pred:Eh(yt(qp))(dt(qp)),Ord0:function(){return AF}}});function LF(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 Ef=function(){return function(){return function(e){return function(n){return LF(e,n)}}}};function eX(e){return typeof e=="string"}function x8(e){return typeof e=="number"}function nX(e){return typeof e=="boolean"}function jF(e){return e instanceof Object}function tX(e){return e instanceof Function}function Ww(e){return e===null?"<null>":e===void 0?"<undefined>":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}function L8(e){return typeof e}function qw(e){return Object.prototype.toString.call(e).slice(8,-1)}function zw(e){return e===null}function Th(e){return e===void 0}var m1=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function Cf(e){return new Error(e)}function p1(e){return e.message}function NF(e){return function(){throw e}}var rX=function(e){return NF(Cf(e))};var Fi=function(e){return e.throwError};var _c=function(e){return e.catchError};var ps=function(e){var n=_c(e),t=e.MonadThrow0().Monad0(),a=N(t.Bind1().Apply0().Functor0()),r=z(t.Applicative0());return function(o){return n(a(ln.create)(o))(function(i){return r(rn.create(i))})}};var Vv=function(e){return e.state};var Qv=function(e){return e.tell};var _s={liftEffect:Qe(Xe),Monad0:function(){return Hv}},Bn=function(e){return e.liftEffect};var f5e=N(li);var j8=function(e){return e};var PF=function(e){return e};var kF=function(e){return function(n){return e(n)}},N8=function(e){var n=N(e);return{map:function(t){return kF(n(f5e(t)))}}};var iX=function(e){return{Applicative0:function(){return If(e)},Bind1:function(){return Yv(e)}}},Yv=function(e){var n=K(e.Bind1()),t=z(e.Applicative0());return{bind:function(a){return function(r){return n(a)(rr(function(o){return t(rn.create(o))})(function(o){var i=r(o);return i}))}},Apply0:function(){return P8(e)}}},P8=function(e){var n=N8(e.Bind1().Apply0().Functor0());return{apply:rc(iX(e)),Functor0:function(){return n}}},If=function(e){return{pure:function(){var n=z(e.Applicative0());return function(t){return j8(n(ln.create(t)))}}(),Apply0:function(){return P8(e)}}};var uX=function(e){var n=iX(e);return{throwError:function(){var t=z(e.Applicative0());return function(a){return j8(t(rn.create(a)))}}(),Monad0:function(){return n}}};var k8=function(e){var n=Ye(e);return function(t){var a=t.Bind1(),r=K(a),o=z(t.Applicative0()),i=N8(a.Apply0().Functor0());return{alt:function(u){return function(l){return r(u)(function(c){if(c instanceof ln)return o(new ln(c.value0));if(c instanceof rn)return r(l)(function(s){if(s instanceof ln)return o(new ln(s.value0));if(s instanceof rn)return o(new rn(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 m5e=re(Ar),p5e=re(ze);var OF=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yw=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}(),lX=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}(),cX=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}(),Ga=Be,$p=Be;var Xw=function(e){if(e instanceof OF)return e.value0;if(e instanceof lX)return"Error at array index "+(p5e(e.value0)+(": "+Xw(e.value1)));if(e instanceof cX)return"Error at property "+(m5e(e.value0)+(": "+Xw(e.value1)));if(e instanceof Yw)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 Mh=function(e){var n=Fi(uX(e));return function(t){return n(h8(t))}},sX=function(e){var n=z(If(e)),t=Mh(e);return function(a){if(m1(a))return n($p(a));if(xe)return t(new Yw("array",qw(a)));throw new Error("Failed pattern match at Foreign (line 164, column 1 - line 164, column 99): "+[a.constructor.name])}},Tf=function(e){var n=z(If(e)),t=Mh(e);return function(a){return function(r){if(qw(r)===a)return n($p(r));if(xe)return t(new Yw(a,qw(r)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[a.constructor.name,r.constructor.name])}}};var Gh=function(e){return Tf(e)("String")};var fX=vr(na),vX=Ua(fX),_5e=FQ(a1),d5e=re(ze),h5e=ww(ft),cu=function(){function e(){}return e.value=new e,e}(),Ku=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),he={validateJsRecord:function(e){return cu.value}},Vp={validateForeignType:function(e){return cu.value}};var Ah=function(e){return function(n){return function(t){var a=n(t);return a?cu.value:new Ku({path:"",got:t,expected:e})}}},Zw={validateForeignType:Ah("Array")(m1)},zn={validateForeignType:Ah("Boolean")(nX)},mX={validateForeignType:Ah("Function")(tX)};var bt={validateForeignType:Ah("Int")(Df(fX)(x8)(function(e){return gt(Bp($p(e)))}))};var Gt={validateForeignType:Ah("Number")(x8)},UF={validateForeignType:Ah("Object")(jF)},ue={validateForeignType:Ah("String")(eX)},pX=function(e){return e.validateJsRecord},Qn=function(){return function(e){var n=pX(e);return{validateForeignType:function(t){if(jF(t))return n(t);if(xe)return new Ku({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])}}}},d1=function(e){return e.validateForeignType},$n=function(e){var n=d1(e);return{validateForeignType:function(t){if(vX(m1)(t))return new Ku({path:"",expected:"Array",got:t});if(xe){var a=function(o){return function(i){var u=n(i);if(u instanceof cu)return C.value;if(u instanceof Ku)return new d({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=_5e(a)($p(t));if(r instanceof C)return cu.value;if(r instanceof d)return new Ku({expected:r.value0.invalid.expected,got:r.value0.invalid.got,path:"["+(d5e(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])}}},Ln=function(e){var n=d1(e);return{validateForeignType:function(t){if(zw(t)||Th(t))return cu.value;if(xe){var a=n(t);if(a instanceof cu)return cu.value;if(a instanceof Ku)return new Ku({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])}}},xh=function(e){var n=d1(e);return{validateForeignType:function(t){if(vX(jF)(t))return new Ku({path:"",expected:"Object",got:t});if(xe){var a=function(r){return function(o){return function(i){if(r instanceof Ku)return C.value;var u=n(i);if(u instanceof cu)return new d(cu.value);if(u instanceof Ku)return new d(new Ku({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 kQ(a)(cu.value)($p(t))}throw new Error("Failed pattern match at Elmish.Foreign (line 145, column 6 - line 153, column 97): "+[t.constructor.name])}}};var E=function(e){var n=sr(e);return function(t){var a=d1(t);return function(r){var o=pX(r);return{validateJsRecord:function(i){var u=n(Et.value),l=Tu(u)($p(i)),c=a(l);if(c instanceof Ku)return new Ku({expected:c.value0.expected,got:c.value0.got,path:"."+(u+c.value0.path)});if(c instanceof cu)return o(i);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[c.constructor.name])}}}}},mm=function(e){var n=d1(e);return function(t){var a=n(t);if(a instanceof cu)return new ln($p(t));if(a instanceof Ku)return new rn(h5e([a.value0.path,function(){var r=a.value0.path==="";return r?"Expected ":": expected "}(),a.value0.expected," but got: ",Ww(a.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[a.constructor.name])}},Rt=function(e){var n=mm(e);return function(t){return oc(n(t))}};var _X=on(),g5e=Ke(Ot);var HF=function(e){return e};var O8={show:_X};var Mi={show:_X};var D5e={eq:function(e){return function(n){return e===n}}},U8={compare:function(e){return function(n){return g5e(e)(n)}},Eq0:function(){return D5e}},dc={eq:function(e){return function(n){return e===n}}};var Kw=ue,ds=ue;var eS="<unknown>";function dX(e){var n=e.split(`
`);return n.reduce(function(t,a){var r=R5e(a)||S5e(a)||I5e(a)||G5e(a)||F5e(a);return r&&t.push(r),t},[])}var y5e=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,b5e=/\((\S*)(?::(\d+))(?::(\d+))\)/;function R5e(e){var n=y5e.exec(e);if(!n)return null;var t=n[2]&&n[2].indexOf("native")===0,a=n[2]&&n[2].indexOf("eval")===0,r=b5e.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]||eS,arguments:t?[n[2]]:[],lineNumber:n[3]?+n[3]:null,column:n[4]?+n[4]:null}}var w5e=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function S5e(e){var n=w5e.exec(e);return n?{file:n[2],methodName:n[1]||eS,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}var E5e=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,C5e=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function I5e(e){var n=E5e.exec(e);if(!n)return null;var t=n[3]&&n[3].indexOf(" > eval")>-1,a=C5e.exec(n[3]);return t&&a!=null&&(n[3]=a[1],n[4]=a[2],n[5]=null),{file:n[3],methodName:n[1]||eS,arguments:n[2]?n[2].split(","):[],lineNumber:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}var T5e=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function F5e(e){var n=T5e.exec(e);return n?{file:n[3],methodName:n[1]||eS,arguments:[],lineNumber:+n[4],column:n[5]?+n[5]:null}:null}var M5e=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function G5e(e){var n=M5e.exec(e);return n?{file:n[2],methodName:n[1]||eS,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null}function hX({skipFrames:e,prefix:n}){let t=new Error().stack,r=dX(t)[e],o=gX(r.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=gX(r.methodName);return`${n}_${o}_${i}_${r.lineNumber}_${r.column}`}var gX=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");Wt();var DX=function(){let e={};return function(n,t){let a=e[n]||(e[n]=RX(n));return t(a)}}();function yX(e){return e(RX())}var bX=wt.createElement,oS=e=>()=>e.props.def;function RX(e){class n extends wt.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 JF=typeof module=="undefined"?void 0:module.require,Vzn=function(){try{return JF===void 0?void 0:JF("util")}catch{return}}();var Qzn=function(){var e;if(typeof performance!="undefined")e=performance;else if(JF)try{e=JF("perf_hooks").performance}catch{}return function(){return(e||Date).now()}}();var Il=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",m="Cons",_="Resume",R="Release",D="Finalizer",y="Finalized",S="Forked",G="Fiber",P="Thunk";function k(ne,me,ye,U){this.tag=ne,this._1=me,this._2=ye,this._3=U}function M(ne){var me=function(ye,U,de){return new k(ne,ye,U,de)};return me.tag=ne,me}function O(ne){return new k(n,void 0)}function oe(ne){try{ne()}catch(me){setTimeout(function(){throw me},0)}}function le(ne,me,ye){try{return me(ye())}catch(U){return ne(U)}}function ve(ne,me,ye){try{return me(ye)()}catch(U){return ye(ne(U))(),O}}var X=function(){var ne=1024,me=0,ye=0,U=new Array(ne),de=!1;function V(){var Ae;for(de=!0;me!==0;)me--,Ae=U[ye],U[ye]=void 0,ye=(ye+1)%ne,Ae();de=!1}return{isDraining:function(){return de},enqueue:function(Ae){var Me,He;me===ne&&(He=de,V(),de=He),U[(ye+me)%ne]=Ae,me++,de||V()}}}();function be(ne){var me={},ye=0,U=0;return{register:function(de){var V=ye++;de.onComplete({rethrow:!0,handler:function(Ae){return function(){U--,delete me[V]}}})(),me[V]=de,U++},isEmpty:function(){return U===0},killAll:function(de,V){return function(){if(U===0)return V();var Ae=0,Me={};function He(je){Me[je]=me[je].kill(de,function(In){return function(){delete Me[je],Ae--,ne.isLeft(In)&&ne.fromLeft(In)&&setTimeout(function(){throw ne.fromLeft(In)},0),Ae===0&&V()}})()}for(var $e in me)me.hasOwnProperty($e)&&(Ae++,He($e));return me={},ye=0,U=0,function(je){return new k(r,function(){for(var In in Me)Me.hasOwnProperty(In)&&Me[In]()})}}}}}var pe=0,De=1,Ne=2,ie=3,jn=4,Ve=5,Pn=6;function kn(ne,me,ye){var U=0,de=pe,V=ye,Ae=null,Me=null,He=null,$e=null,je=null,In=0,cn=0,nt=null,Cn=!0;function tt(rt){for(var Jn,sn,vt;;)switch(Jn=null,sn=null,vt=null,de){case Ne:de=De;try{V=He(V),$e===null?He=null:(He=$e._1,$e=$e._2)}catch(Ie){de=Ve,Ae=ne.left(Ie),V=null}break;case ie:ne.isLeft(V)?(de=Ve,Ae=V,V=null):He===null?de=Ve:(de=Ne,V=ne.fromRight(V));break;case De:switch(V.tag){case i:He&&($e=new k(m,He,$e)),He=V._2,de=De,V=V._1;break;case n:He===null?(de=Ve,V=ne.right(V._1)):(de=Ne,V=V._1);break;case r:de=ie,V=le(ne.left,ne.right,V._1);break;case o:de=jn,V=ve(ne.left,V._1,function(Ie){return function(){U===rt&&(U++,X.enqueue(function(){U===rt+1&&(de=ie,V=Ie,tt(U))}))}});return;case t:de=Ve,Ae=ne.left(V._1),V=null;break;case a:He===null?je=new k(m,V,je,Me):je=new k(m,V,new k(m,new k(_,He,$e),je,Me),Me),He=null,$e=null,de=De,V=V._1;break;case u:In++,He===null?je=new k(m,V,je,Me):je=new k(m,V,new k(m,new k(_,He,$e),je,Me),Me),He=null,$e=null,de=De,V=V._1;break;case l:de=ie,Jn=kn(ne,me,V._2),me&&me.register(Jn),V._1&&Jn.run(),V=ne.right(Jn);break;case c:de=De,V=x(ne,me,V._1);break}break;case Ve:if(He=null,$e=null,je===null)de=Pn,V=Me||Ae||V;else switch(Jn=je._3,vt=je._1,je=je._2,vt.tag){case a:Me&&Me!==Jn&&In===0?de=Ve:Ae&&(de=De,V=vt._2(ne.fromLeft(Ae)),Ae=null);break;case _:Me&&Me!==Jn&&In===0||Ae?de=Ve:(He=vt._1,$e=vt._2,de=Ne,V=ne.fromRight(V));break;case u:In--,Ae===null&&(sn=ne.fromRight(V),je=new k(m,new k(R,vt._2,sn),je,Jn),(Me===Jn||In>0)&&(de=De,V=vt._3(sn)));break;case R:je=new k(m,new k(y,V,Ae),je,Me),de=De,Me&&Me!==Jn&&In===0?V=vt._1.killed(ne.fromLeft(Me))(vt._2):Ae?V=vt._1.failed(ne.fromLeft(Ae))(vt._2):V=vt._1.completed(ne.fromRight(V))(vt._2),Ae=null,In++;break;case D:In++,je=new k(m,new k(y,V,Ae),je,Me),de=De,V=vt._1;break;case y:In--,de=Ve,V=vt._1,Ae=vt._2;break}break;case Pn:for(var Oa in nt)nt.hasOwnProperty(Oa)&&(Cn=Cn&&nt[Oa].rethrow,oe(nt[Oa].handler(V)));nt=null,Me&&Ae?setTimeout(function(){throw ne.fromLeft(Ae)},0):ne.isLeft(V)&&Cn&&setTimeout(function(){if(Cn)throw ne.fromLeft(V)},0);return;case pe:de=De;break;case jn:return}}function ht(rt){return function(){if(de===Pn)return Cn=Cn&&rt.rethrow,rt.handler(V)(),function(){};var Jn=cn++;return nt=nt||{},nt[Jn]=rt,function(){nt!==null&&delete nt[Jn]}}}function Fn(rt,Jn){return function(){if(de===Pn)return Jn(ne.right(void 0))(),function(){};var sn=ht({rethrow:!1,handler:function(){return Jn(ne.right(void 0))}})();switch(de){case pe:Me=ne.left(rt),de=Pn,V=Me,tt(U);break;case jn:Me===null&&(Me=ne.left(rt)),In===0&&(de===jn&&(je=new k(m,new k(D,V(rt)),je,Me)),de=Ve,V=null,Ae=null,tt(++U));break;default:Me===null&&(Me=ne.left(rt)),In===0&&(de=Ve,V=null,Ae=null)}return sn}}function Ft(rt){return function(){var Jn=ht({rethrow:!1,handler:rt})();return de===pe&&tt(U),Jn}}return{kill:Fn,join:Ft,onComplete:ht,isSuspended:function(){return de===pe},run:function(){de===pe&&(X.isDraining()?tt(U):X.enqueue(function(){tt(U)}))}}}function q(ne,me,ye,U){var de=0,V={},Ae=0,Me={},He=new Error("[ParAff] Early exit"),$e=null,je=e;function In(ht,Fn,Ft){var rt=Fn,Jn=null,sn=null,vt=0,Oa={},Ie,qe;e:for(;;)switch(Ie=null,rt.tag){case S:if(rt._3===e&&(Ie=V[rt._1],Oa[vt++]=Ie.kill(ht,function(Mt){return function(){vt--,vt===0&&Ft(Mt)()}})),Jn===null)break e;rt=Jn._2,sn===null?Jn=null:(Jn=sn._1,sn=sn._2);break;case s:rt=rt._2;break;case f:case v:Jn&&(sn=new k(m,Jn,sn)),Jn=rt,rt=rt._1;break}if(vt===0)Ft(ne.right(void 0))();else for(qe=0,Ie=vt;qe<Ie;qe++)Oa[qe]=Oa[qe]();return Oa}function cn(ht,Fn,Ft){var rt,Jn,sn,vt,Oa,Ie;ne.isLeft(ht)?(rt=ht,Jn=null):(Jn=ht,rt=null);e:for(;;){if(sn=null,vt=null,Oa=null,Ie=null,$e!==null)return;if(Fn===null){U(rt||Jn)();return}if(Fn._3!==e)return;switch(Fn.tag){case s:rt===null?(Fn._3=ne.right(Fn._1(ne.fromRight(Jn))),Jn=Fn._3):Fn._3=rt;break;case f:if(sn=Fn._1._3,vt=Fn._2._3,rt){if(Fn._3=rt,Oa=!0,Ie=Ae++,Me[Ie]=In(He,rt===sn?Fn._2:Fn._1,function(){return function(){delete Me[Ie],Oa?Oa=!1:Ft===null?cn(rt,null,null):cn(rt,Ft._1,Ft._2)}}),Oa){Oa=!1;return}}else{if(sn===e||vt===e)return;Jn=ne.right(ne.fromRight(sn)(ne.fromRight(vt))),Fn._3=Jn}break;case v:if(sn=Fn._1._3,vt=Fn._2._3,sn===e&&ne.isLeft(vt)||vt===e&&ne.isLeft(sn))return;if(sn!==e&&ne.isLeft(sn)&&vt!==e&&ne.isLeft(vt))rt=Jn===sn?vt:sn,Jn=null,Fn._3=rt;else if(Fn._3=Jn,Oa=!0,Ie=Ae++,Me[Ie]=In(He,Jn===sn?Fn._2:Fn._1,function(){return function(){delete Me[Ie],Oa?Oa=!1:Ft===null?cn(Jn,null,null):cn(Jn,Ft._1,Ft._2)}}),Oa){Oa=!1;return}break}Ft===null?Fn=null:(Fn=Ft._1,Ft=Ft._2)}}function nt(ht){return function(Fn){return function(){delete V[ht._1],ht._3=Fn,cn(Fn,ht._2._1,ht._2._2)}}}function Cn(){var ht=De,Fn=ye,Ft=null,rt=null,Jn,sn;e:for(;;)switch(Jn=null,sn=null,ht){case De:switch(Fn.tag){case s:Ft&&(rt=new k(m,Ft,rt)),Ft=new k(s,Fn._1,e,e),Fn=Fn._2;break;case f:Ft&&(rt=new k(m,Ft,rt)),Ft=new k(f,e,Fn._2,e),Fn=Fn._1;break;case v:Ft&&(rt=new k(m,Ft,rt)),Ft=new k(v,e,Fn._2,e),Fn=Fn._1;break;default:sn=de++,ht=Ve,Jn=Fn,Fn=new k(S,sn,new k(m,Ft,rt),e),Jn=kn(ne,me,Jn),Jn.onComplete({rethrow:!1,handler:nt(Fn)})(),V[sn]=Jn,me&&me.register(Jn)}break;case Ve:if(Ft===null)break e;Ft._1===e?(Ft._1=Fn,ht=De,Fn=Ft._2,Ft._2=e):(Ft._2=Fn,Fn=Ft,rt===null?Ft=null:(Ft=rt._1,rt=rt._2))}for(je=Fn,sn=0;sn<de;sn++)V[sn].run()}function tt(ht,Fn){$e=ne.left(ht);var Ft;for(var rt in Me)if(Me.hasOwnProperty(rt)){Ft=Me[rt];for(rt in Ft)Ft.hasOwnProperty(rt)&&Ft[rt]()}Me=null;var Jn=In(ht,je,Fn);return function(sn){return new k(o,function(vt){return function(){for(var Oa in Jn)Jn.hasOwnProperty(Oa)&&Jn[Oa]();return O}})}}return Cn(),function(ht){return new k(o,function(Fn){return function(){return tt(ht,Fn)}})}}function x(ne,me,ye){return new k(o,function(U){return function(){return q(ne,me,ye,U)}})}return k.EMPTY=e,k.Pure=M(n),k.Throw=M(t),k.Catch=M(a),k.Sync=M(r),k.Async=M(o),k.Bind=M(i),k.Bracket=M(u),k.Fork=M(l),k.Seq=M(c),k.ParMap=M(s),k.ParApply=M(f),k.ParAlt=M(v),k.Fiber=kn,k.Supervisor=be,k.Scheduler=X,k.nonCanceler=O,k}(),wX=Il.Pure,SX=Il.Throw;function EX(e){return function(n){return Il.Catch(e,n)}}function CX(e){return function(n){return n.tag===Il.Pure.tag?Il.Pure(e(n._1)):Il.Bind(n,function(t){return Il.Pure(e(t))})}}function IX(e){return function(n){return Il.Bind(e,n)}}var TX=Il.Sync;var Ph=Il.Async;function FX(e,n){return function(){return Il.Fiber(e,null,n)}}var MX=function(){function e(t,a){return t===0&&typeof setImmediate!="undefined"?setImmediate(a):setTimeout(a,t)}function n(t,a){return t===0&&typeof clearImmediate!="undefined"?clearImmediate(a):clearTimeout(a)}return function(t,a){return Il.Async(function(r){return function(){var o=e(a,r(t()));return function(){return Il.Sync(function(){return t(n(a,o))})}}})}}(),k5e=Il.Seq;var h1={proof:function(e){return e},Coercible0:function(){}};var W8=function(e){return e},WF=function(e){return e};var iS=function(e){return function(n){return e(n)}},AX=function(e){var n=N(e);return{map:function(t){return iS(n(function(a){return new Ue(t(a.value0),a.value1)}))}}};var qF=function(e){var n=Ye(e);return function(t){var a=qn(t),r=t.Functor0(),o=N(r),i=AX(r);return{apply:function(u){return function(l){var c=function(s){return function(f){return new Ue(s.value0(f.value0),n(s.value1)(f.value1))}};return a(o(c)(u))(l)}},Functor0:function(){return i}}}},Qp=function(e){var n=Ye(e),t=qF(e);return function(a){var r=K(a),o=a.Apply0(),i=N(o.Functor0()),u=t(o);return{bind:function(l){return function(c){return r(l)(function(s){var f=c(s.value0);return i(function(v){return new Ue(v.value0,n(s.value1)(v.value1))})(f)})}},Apply0:function(){return u}}}};var xX=function(e){var n=Da(e),t=qF(e.Semigroup0());return function(a){var r=z(a),o=t(a.Apply0());return{pure:function(i){return r(new Ue(i,n))},Apply0:function(){return o}}}},LX=function(e){var n=xX(e),t=Qp(e.Semigroup0());return function(a){var r=n(a.Applicative0()),o=t(a.Bind1());return{Applicative0:function(){return r},Bind1:function(){return o}}}};var zF=function(e){var n=e.Semigroup0(),t=LX(e);return function(a){var r=t(a);return{tell:function(){var o=z(a.Applicative0()),i=Ue.create(Ce);return function(u){return W8(o(i(u)))}}(),Semigroup0:function(){return n},Monad1:function(){return r}}}};var B5e=Qe(Xe);var uS={dimap:function(e){return function(n){return function(t){return function(a){return n(t(e(a)))}}}}},lS=function(e){return e.dimap},cS=function(e){var n=lS(e);return function(t){return n(t)(B5e)}};var NX=Qe(Xe);var $F=function(e){return e.fromDuration};var VF={fromDuration:NX,toDuration:NX};var Yp=function(e){return e()};var q5e=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 kX=Na(it);var Vt={map:CX};var z5e=function(){var e=function(a){if(a instanceof ln)return a.value0;if(a instanceof rn)return fc("unsafeFromRight: Left");throw new Error("Failed pattern match at Effect.Aff (line 412, column 21 - line 414, column 54): "+[a.constructor.name])},n=function(a){if(a instanceof rn)return a.value0;if(a instanceof ln)return fc("unsafeFromLeft: Right");throw new Error("Failed pattern match at Effect.Aff (line 407, column 20 - line 409, column 55): "+[a.constructor.name])},t=function(a){if(a instanceof rn)return!0;if(a instanceof ln)return!1;throw new Error("Failed pattern match at Effect.Aff (line 402, column 12 - line 404, column 21): "+[a.constructor.name])};return{isLeft:t,fromLeft:n,fromRight:e,left:rn.create,right:ln.create}}(),$5e=function(e){return FX(z5e,e)},OX=function(e){return function(){var t=$5e(e)();return t.run(),t}},sS=function(e){return kX(OX(e))};var gc=function(e){return MX(ln.create,e)};var QF={Applicative0:function(){return Yt},Bind1:function(){return Lt}},Lt={bind:IX,Apply0:function(){return UX(0)}},Yt={pure:wX,Apply0:function(){return UX(0)}},UX=q5e("applyAff","Effect.Aff",function(){return{apply:rc(QF),Functor0:function(){return Vt}}});var V5e=z(Yt);var Q5e=mt(Lt);var Xn={liftEffect:TX,Monad0:function(){return QF}},Y5e=Bn(Xn);var YF={throwError:SX,Monad0:function(){return QF}},Xv={catchError:EX,MonadThrow0:function(){return YF}},X5e=ps(Xv);var Z5e=function(e){return function(n){return OX(Q5e(function(t){return Y5e(e(t))})(X5e(n)))}},HX=function(e){return function(n){return kX(Z5e(e)(n))}};var BX=an(V5e(Ce));var JX=(e,n)=>n[e],WX=(e,n,t)=>t[e]=n;var kh=function(n){return function(t){return n(t)()}};var g1=function(n){return function(t){return function(){return n(t)}}},Xp=function(n){return function(t){return function(a){return function(){return n(t,a)}}}},Oh=function(n){return function(t){return function(a){return function(r){return function(){return n(t,a,r)}}}}};var m6e=Z(it),fS=function(){function e(){}return e.value=new e,e}(),$X=function(){return function(e){var n=sr(e);return function(t){return Oh(WX)(n(Et.value))}}},z8=function(e){var n=Rt(e);return function(t){var a=sr(t);return function(r){return function(o){return m6e(function(){return JX(a(Et.value),o)})(n)}}}};var el=null;function VX(e,n,t){return e==null?n:t(e)}function Tl(e){return e}var Ut=Oe(el)(Tl),ee=function(e){return VX(e,C.value,d.create)};Wt();var Dc=window.ReactDOM,{createPortal:$8,findDOMNode:EXn,flushSync:CXn}=window.ReactDOM;var pL=ba(kZ());function OZ(e){return e.state&&e.state.s}function UZ(e,n,t){return e.setState({s:n},t)}function HZ(e,n){return e.state={s:n}}var BZ=Dc.render,JZ=Dc.hydrate,_L=pL.default&&pL.default.renderToString||(e=>""),W6e=Dc.unmountComponentAtNode,WZ=wt.Fragment;function qZ(e,n,t){return wt.createElement.apply(null,[e,q6e(e,n)].concat(t))}function q6e(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 zZ(e){return n=>e===n}var gS=function(e){return function(n){return function(t){var a=ee(t);if(e instanceof C&&a instanceof C)return Ce;if(e instanceof d&&a instanceof C)return Ce;if(e instanceof d&&a instanceof d){if(zZ(e.value0)(a.value0))return Ce;if(xe)return n(new d(a.value0))()}return n(a)()}}};var L={asReactChildren:function(e){return[e]}},ae={asReactChildren:function(e){return[e]}},W={asReactChildren:Qe(Xe)};var Y=Be,dL=Oh(UZ),$Z=Xp(BZ),VZ=Xp(JZ),QZ=g1(OZ),un=!1;var YZ=Xp(HZ),Jh=function(e){return e.asReactChildren},Af=function(){return function(e){var n=Jh(e);return function(t){return function(a){return function(r){return qZ(t,a,n(r))}}}}},XZ=Af()(W),gs=function(){return function(e){return function(n){return XZ(e)(n)([])}}},ce=XZ(WZ)({});var hL=N(it),z6e=z(ea),ZZ=function(e){return{initialize:function(n){return YZ(n)(e.initialState)},getState:function(n){return function(){var a=hL(ee)(QZ(n))();return Ee(e.initialState)(a)}},setState:dL}},KZ=function(){var e=function(n){return function(t){return{initialize:function(a){return df(new d(t.initialState))(n)},getState:function(a){return hL(Ee(t.initialState))(is(n))},setState:function(a){return function(r){return function(o){return function(){return df(new d(r))(n)(),dL(a)(r)(z6e(Ce))(),o()}}}}}}};return hL(e)(hf(C.value))}();var eK=Z(ge),nK=Ye(sa);var $6e=z(ea),tK=$X(),aK={reflectSymbol:function(){return"__unmounted"}},V6e=tK(aK),rK={reflectSymbol:function(){return"__subscriptions"}},Q6e=tK(rK),i2=Z(it),Y6e=z8(zn)(aK),oK=N(it),X6e=z8($n(mX))(rK),Z6e=Hn(Mn),K6e=mt(Va),e8e=z6(ea)(Te),n8e=Z6e(Lt),iK=Bn(_s),t8e=rF(Hv),a8e=Ye(aw(iF(tw))),uK=function(e){return e},Wh=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}(),r8e={map:function(e){return function(n){return new Wh(e(n.value0),n.value1)}}},Gi=function(e){return{bimap:function(n){return function(t){return function(a){return new Wh(t(a.value0),eK(a.value1)(function(r){return function(o){return r({dispatch:function(i){return o.dispatch(n(i))},onStop:o.onStop})}}))}}}}},lK={apply:function(e){return function(n){return new Wh(e.value0(n.value0),nK(e.value1)(n.value1))}},Functor0:function(){return r8e}},qt={bind:function(e){return function(n){var t=n(e.value0);return new Wh(t.value0,nK(e.value1)(t.value1))}},Apply0:function(){return lK}},_t={pure:function(e){return new Wh(e,[])},Apply0:function(){return lK}},cK={Applicative0:function(){return _t},Bind1:function(){return qt}};var o8e=function(e){var n=K(e);return function(t){var a=Bn(t);return function(r){return function(o){return new Wh(r,eK(o)(function(i){return function(u){return n(i)(function(l){return a(u.dispatch(l))})}}))}}}};var e_=function(e){return new Wh(Ce,[e])},mr=function(e){return e_(an(e))},R1=function(e){var n=K(e.Monad0().Bind1()),t=Bn(e);return function(a){return e_(function(r){return n(a)(function(o){return t(Oe($6e(Ce))(r.dispatch)(o))})})}},Kr=function(e){var n=o8e(e.Monad0().Bind1())(e);return function(t){return n(Ce)([t])}},sK=function(e){return function(n){var t=V6e(fS.value),a=Q6e(fS.value),r=function(m){return function(_){return function(R){return function(){var y=i2(oS(m))(function(S){return S.init})();return n({initialState:y.value0}).setState(m)(_)(R)()}}}},o=function(){var m=oK(Ee(!1)),_=Y6e(fS.value);return function(R){return m(_(R))}}(),i=function(){var m=oK(Ee([])),_=X6e(fS.value);return function(R){return m(_(R))}}(),u=function(m){return function(){return K6e(e8e)(i(m))(),a([])(m)()}},l=function(m){return function(){var R=i2(oS(m))(function(D){return D.init})();return n({initialState:R.value0}).getState(m)()}},c=function(m){return function(_){return function(){var D=i(m)();return a(Ci(sS(_))(D))(m)()}}},s=function(m){return function(_){var R=function(D){return sS(n8e(gc(0))(function(){return D({dispatch:function(){var y=f(_);return function(S){return iK(y(S))}}(),onStop:c(_)})}))};return G6(m)(R)}},f=function(m){return function(_){return t8e(o(m))(function(){var D=l(m)(),y=i2(oS(m))(function(G){return G.update})(),S=y(D)(_);return r(m)(S.value0)(s(S.value1)(m))()})}},v=function(m){return function(){var R=l(m)(),D=i2(oS(m))(function(y){return y.view})();return D(R)(f(m))}};return function(m){return bX(e,{def:m,init:n({initialState:m.init.value0}).initialize,render:v,componentDidMount:s(m.init.value1),componentWillUnmount:a8e(t(!0))(u)})}}},fK=function(e){return function(){var t=iK(KZ)();return yX(function(a){return sK(a)(t)(e)})}},tl=function(e){return function(n){return DX(e,function(t){var a=sK(t)(ZZ);return function(r){return a(n(r))}})}};var i8e=z(_t),u8e=Qe(Xe),u2=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),l8e={map:function(e){return function(n){return new u2(function(t){return n.value0(function(a){return t(e(a))})})}}},vK=N(l8e);var gL=function(e){return uK(hX(e))},Qo=function(e){return new u2(function(n){return n(e)})},w1=function(e){return function(n){return new u2(function(t){return tl(e)(n)(t)})}},DL=function(e){return function(n){return tl(e)(function(t){return{init:i8e(Ce),update:an(ND),view:an(an(n.value0(u8e)))}})(Ce)}},S1=function(e){var n=gL({skipFrames:3,prefix:"WithHook"});return function(t){return DL(n)(vK(t)(e))}},vo=function(e){var n=gL({skipFrames:3,prefix:"WithHookCurried"});return function(t){return DL(n)(vK(Jv(t))(e))}},mu=function(e){var n=gL({skipFrames:3,prefix:"HooksComponent"});return DL(n)(e)},Yo=function(){return function(e){return function(n){return new u2(function(t){return e.value0(function(a){var r=n(a);return r.value0(t)})})}}},c8e=Yo(),xf=function(e){return function(){return c8e}};var mK=z(_t),f8e=Qe(Xe);var v8e=function(e){return function(n){return function(t){return w1(e)(function(a){return n({init:mK(t),update:function(r){return function(o){return mK(o)}},view:VD(a)})})}}},ua=function(e){return v8e("UseState")(f8e)(e)};var mn=function(){return{"genericTop'":fe.value}}();var yL=function(e){return e["genericTop'"]},pn=function(e){return{"genericTop'":yL(e)}};var _n=function(){return{"genericBottom'":fe.value}}();var DS=function(e){return e["genericBottom'"]},dn=function(e){return{"genericBottom'":DS(e)}};var hn=function(e){return{"genericBottom'":new H(DS(e))}},pK=function(e){var n=lh(e);return function(t){return n(DS(t))}};var hm=N(J),l2=on();var bL=function(e){return e["genericToEnum'"]};var c2=function(e){return e["genericSucc'"]},s2=function(e){var n=lh(e),t=xp(e);return function(a){var r=hm(n),o=c2(a);return function(i){return r(o(t(i)))}}},f2=function(e){return e["genericPred'"]},dK=function(e){var n=lh(e),t=xp(e);return function(a){var r=hm(n),o=f2(a);return function(i){return r(o(t(i)))}}},v2=function(e){return e["genericFromEnum'"]},hK=function(e){var n=xp(e);return function(t){var a=v2(t);return function(r){return a(n(r))}}},gn=function(e){var n=f2(e),t=c2(e);return function(a){var r=yL(a);return function(o){var i=f2(o),u=c2(o);return function(l){var c=DS(l);return{"genericPred'":function(s){if(s instanceof H)return hm(H.create)(n(s.value0));if(s instanceof p){var f=i(s.value0);if(f instanceof C)return new d(new H(r));if(f instanceof d)return new d(new p(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 C)return new d(new p(c));if(f instanceof d)return new d(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 p)return hm(p.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 Dn={"genericPred'":function(e){return C.value},"genericSucc'":function(e){return C.value}},yn=function(e){var n=f2(e),t=c2(e);return{"genericPred'":function(a){return hm(uw)(n(a))},"genericSucc'":function(a){return hm(uw)(t(a))}}};var RL=function(e){return e["genericCardinality'"]};var bn=function(e){var n=RL(e),t=bL(e),a=v2(e);return function(r){var o=bL(r),i=v2(r);return{"genericCardinality'":l2(n)+l2(RL(r))|0,"genericToEnum'":function(u){var l=function(c){if(u>=0&&u<c)return hm(H.create)(t(u));if(xe)return hm(p.create)(o(u-c|0));throw new Error("Failed pattern match at Data.Enum.Generic (line 83, column 5 - line 83, column 43): "+[c.constructor.name])};return l(n)},"genericFromEnum'":function(u){if(u instanceof H)return a(u.value0);if(u instanceof p)return i(u.value0)+l2(n)|0;throw new Error("Failed pattern match at Data.Enum.Generic (line 87, column 22 - line 89, column 80): "+[u.constructor.name])}}}};var Rn={"genericCardinality'":1,"genericToEnum'":function(e){var n=e===0;return n?new d(fe.value):C.value},"genericFromEnum'":function(e){return 0}},wn=function(e){var n=bL(e),t=v2(e);return{"genericCardinality'":l2(RL(e)),"genericToEnum'":function(a){return hm(uw)(n(a))},"genericFromEnum'":function(a){return t(a)}}};var m8e=cm(Te),p8e=Z(ge),_8e=Pp(gF),An=function(e){return function(n){var t=m8e(p8e(n)(function(a){return new Ue(e(a),a)}));return function(a){return cc(a)(t)}}},d8e=function(e){var n=s2(e),t=pK(e);return function(a){var r=n(a);return function(o){return function(i){return _8e(function(u){return new Ue(u,r(u))})(t(i))}}}},Sn=function(e){var n=d8e(e);return function(t){var a=n(t);return function(r){var o=a(r);return function(i){return sc(o(i))}}}};var h8e={info:"info",warning:"warn",error:"error"},Lo=e=>n=>t=>a=>{let r=h8e[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()},gK=(e,n)=>(n.__sentryFingerprint=e,n);var DK=function(e){return Fu(gK)(e)};var Xo="error";var m2={parseOrPanic:function(e){return function(n){var t=e.parse(n);if(t instanceof ln)return t.value0;if(t instanceof rn)return Lo(Xo)("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])}}},ut=function(e){return e.parseOrPanic},g8e=ut(m2),Zn=function(e){var n=ut(e);return function(t){var a=N(t);return function(r){return n({parse:function(o){return a(d.create)(r.parse(o))},default:C.value,diagnosticName:r.diagnosticName})}}},D8e=Zn(m2)(li),yS=function(e){var n=mm(e);return function(t){return D8e({parse:n,diagnosticName:t})}},Ge={parseOrPanic:function(e){return g8e({default:e.default,diagnosticName:e.diagnosticName,parse:function(){var n=Oe(new rn(""))(ln.create);return function(t){return n(e.parse(t))}}()})}};var yK=ut(Ge);var y8e=yf(Te);var n_={name:"United States of America",code:"US"},qh=function(e){return e.name},t_=function(e){return e.code};var wL=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")]}(),b8e=An(t_)(wL),E1=yK({parse:b8e,default:{name:"",code:""},diagnosticName:"USState"}),bK=yK({parse:An(qh)(wL),default:{name:"",code:""},diagnosticName:"USState"}),RK=[n_,{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"}],R8e=function(e){return y8e(function(n){return function(t){return t===e}(function(t){return t.code}(n))})(RK)},p2=Zn(Ge)(J)({parse:R8e,diagnosticName:"Common.Geo.Country"});var w8e=function(e){return e};var C1=function(e){return e},bS=w8e;var wK=Z(J),S8e=Pt(Ur),E8e=Hr(Te)(ft),Fl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),al=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),RS=function(e){if(e instanceof Fl)return qh(e.value0.state);if(e instanceof al)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 wS=function(e){if(e instanceof Fl)return e.value0.region;if(e instanceof al)return"Non-US";throw new Error("Failed pattern match at Common.Address (line 136, column 10 - line 138, column 29): "+[e.constructor.name])},C8e=function(e){return{street:e.street,city:e.city,county:e.county,region:e.region,zip:e.zip,state:E1(e.state),location:bS(e.location)}},I8e=function(e){return{address:e.address,country:Ee(n_)(p2(e.country)),location:bS(e.location)}},SK=function(e){var n=wK(ee(e.usAddress))(function(a){return new Fl(C8e(a))}),t=wK(ee(e.nonUSAddress))(function(a){return new al(I8e(a))});return aF(function(a){return Lo(Xo)("Unable to parse Address: Unknown Address")({raw:e})(function(r){return new al({address:"",country:n_,location:bS({lat:-48.8766632,lng:-123.395522})})})})(S8e(n)(t))},SS=function(e){if(e instanceof Fl||e instanceof al)return e.value0.location;throw new Error("Failed pattern match at Common.Address (line 131, column 12 - line 133, column 37): "+[e.constructor.name])},ES=function(e){if(e instanceof Fl)return e.value0.city+(", "+qh(e.value0.state));if(e instanceof al)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])},SL=function(e){if(e instanceof Fl)return E8e(" ")([e.value0.street,ES(e),e.value0.zip]);if(e instanceof al)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 T8e=ut(Ge),EK=yn(Dn),CK=gn(EK)(pn(mn)),IK=dn(_n),TK=hn(IK),FK=wn(Rn),MK=bn(FK),_2=function(){function e(){}return e.value=new e,e}(),EL=function(){function e(){}return e.value=new e,e}(),CL=function(){function e(){}return e.value=new e,e}(),F8e={to:function(e){if(e instanceof H)return _2.value;if(e instanceof p&&e.value0 instanceof H)return EL.value;if(e instanceof p&&e.value0 instanceof p)return CL.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 _2)return new H(fe.value);if(e instanceof EL)return new p(new H(fe.value));if(e instanceof CL)return new p(new p(fe.value));throw new Error("Failed pattern match at Common.CampusSetting (line 16, column 1 - line 16, column 40): "+[e.constructor.name])}},M8e=Sn(F8e)(CK(CK(EK)(IK))(TK))(MK(MK(FK)))(TK);var zh=function(e){if(e instanceof _2)return"Rural";if(e instanceof CL)return"Urban";if(e instanceof EL)return"Suburban";throw new Error("Failed pattern match at Common.CampusSetting (line 21, column 8 - line 24, column 25): "+[e.constructor.name])},GK=function(){return T8e({parse:An(zh)(M8e),default:_2.value,diagnosticName:"CampusSetting"})}();var AK=function(e){return function(n){return n.join(e)}};var G8e=Ye(sa),jo={genericShowArgs:function(e){return[]}};var A8e=function(e){return e.genericShowArgs};var eo=function(e){var n=A8e(e);return function(t){var a=sr(t);return{"genericShow'":function(r){var o=a(Et.value),i=n(r);return i.length===0?o:"("+(AK(" ")(G8e([o])(i))+")")}}}},IL=function(e){return e["genericShow'"]};var mo=function(e){var n=IL(e);return function(t){var a=IL(t);return{"genericShow'":function(r){if(r instanceof H)return n(r.value0);if(r instanceof p)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])}}}},no=function(e){var n=xp(e);return function(t){var a=IL(t);return function(r){return a(n(r))}}};var Lf=function(e){var n=null;return function(){return e===void 0||(n=e(),e=void 0),n}},yc=function(e){return e()};var h2=function(e){var n=N(e);return{map:function(t){return function(a){return function(r){return n(function(o){return new Ue(t(o.value0),o.value1)})(a(r))}}}}};var I1=function(e){return{Applicative0:function(){return CS(e)},Bind1:function(){return g2(e)}}},g2=function(e){var n=K(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 D2(e)}}},D2=function(e){var n=h2(e.Bind1().Apply0().Functor0());return{apply:rc(I1(e)),Functor0:function(){return n}}},CS=function(e){var n=z(e.Applicative0());return{pure:function(t){return function(a){return n(new Ue(t,a))}},Apply0:function(){return D2(e)}}};var y2=function(e){var n=e.Monad0(),t=K(n.Bind1()),a=z(n.Applicative0()),r=Xu(e),o=I1(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 Wo)return new Wo(new Ue(f.value0.value0,f.value1));if(f.value0 instanceof qo)return new qo(new Ue(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 Ue(u,c))}}},Monad0:function(){return o}}},T1=function(e){var n=z(e.Applicative0()),t=I1(e);return{state:function(a){return function(r){return n(a(r))}},Monad0:function(){return t}}};var b2=function(e){return function(n){var t=e(n);return t.value0}};var U8e=El($a),H8e=za();var NK=function(e){return e};var B8e=1,AL=2147483647,J8e=function(){return AL-1|0}(),PK=function(e){var n=function(t){return function(a){return function(r){var o=a-t|0,i=U8e(r)(o),u=i<t;return u?i+a|0:i}}};return n(B8e)(J8e)(e)};var W8e=0,q8e=48271,kK=function(e){return function(n){return H8e(Bp(Dh(st(q8e)*st(n)+st(e))(st(AL))))}},OK=kK(W8e);var $8e=T1(ga),V8e=Vv($8e);var Q8e=g2(ga);var Y8e=h2(rm);var X8e=SF(Vo),Z8e=Rl(PD);var K8e=Jo(PD);var eLe=zi(kD),nLe=N(ge),tLe=pf(Dt);var aLe=function(e){return e};var rLe=function(e){var n=e.Monad0(),t=z(n.Applicative0()),a=Z(n.Bind1().Apply0().Functor0()),r=Xu(e);return function(o){return function(i){if(o<=0)return t(Jr.value);var u=function(l){return l.value1===0?t(new qo(l.value0)):a(i)(function(c){return new Wo(new Ue(new Ma(c,l.value0),l.value1-1|0))})};return r(u)(new Ue(Jr.value,o))}}};var UK=y2(JD);var HK=rLe(UK),oLe=function(){var e=function(n){return new Ue(NK(n.newSeed),function(){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t.newSeed=OK(n.newSeed),t}())};return V8e(e)}();var IS=Y8e,TS=N(IS);var iLe=function(e){return function(n){return TS(X8e)(HK(e)(n))}},BK=function(e){return b2(aLe(e))};var xL=Q8e,uLe=K(xL);var LL=D2(ga),lLe=qn(LL),JK=function(e){return function(n){var t=st(n),a=st(e),r=function(u){return a+Dh(u)(t-a+1)},o=TS(st)(oLe),i=lLe(TS(K8e)(o))(TS(Z8e(2))(o));return TS(function(u){return Br(r(u))})(i)}},jL=function(e){return function(n){var t=e<=n;return t?JK(e)(n):JK(n)(e)}};var NL=CS(ga),cLe=z(NL);var WK=function(e){return uLe(iLe(da(e))(jL(0)(eLe)))(function(n){return cLe(nLe(Yr)(zv(tLe(ci))(X6(n)(e))))})};var fLe=N(ge);var qK=yn(Dn),bc=gn(qK)(pn(mn)),zK=dn(_n),Rc=hn(zK),$K=wn(Rn),wc=bn($K),vLe=Z(J),jf=function(){function e(){}return e.value=new e,e}(),Nf=function(){function e(){}return e.value=new e,e}(),Pf=function(){function e(){}return e.value=new e,e}(),kf=function(){function e(){}return e.value=new e,e}(),Of=function(){function e(){}return e.value=new e,e}(),Uf=function(){function e(){}return e.value=new e,e}(),Hf=function(){function e(){}return e.value=new e,e}(),Bf=function(){function e(){}return e.value=new e,e}(),Jf=function(){function e(){}return e.value=new e,e}(),Wf=function(){function e(){}return e.value=new e,e}(),qf=function(){function e(){}return e.value=new e,e}(),zf=function(){function e(){}return e.value=new e,e}(),$f=function(){function e(){}return e.value=new e,e}(),gm=function(){function e(){}return e.value=new e,e}(),Ia=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r_=function(){function e(){}return e.value=new e,e}();var mLe={to:function(e){if(e instanceof H)return jf.value;if(e instanceof p&&e.value0 instanceof H)return Nf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return Pf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return kf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return Of.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return Uf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return Hf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Bf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Jf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Wf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return qf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return zf.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return $f.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p)return gm.value;throw new Error("Failed pattern match at Hub.Ranking (line 43, column 1 - line 43, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof jf)return new H(fe.value);if(e instanceof Nf)return new p(new H(fe.value));if(e instanceof Pf)return new p(new p(new H(fe.value)));if(e instanceof kf)return new p(new p(new p(new H(fe.value))));if(e instanceof Of)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof Uf)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof Hf)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof Bf)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof Jf)return new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))));if(e instanceof Wf)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))));if(e instanceof qf)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))));if(e instanceof zf)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))))));if(e instanceof $f)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))))));if(e instanceof gm)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(fe.value)))))))))))));throw new Error("Failed pattern match at Hub.Ranking (line 43, column 1 - line 43, column 39): "+[e.constructor.name])}};var VK={eq:function(e){return function(n){return e instanceof jf&&n instanceof jf||e instanceof Nf&&n instanceof Nf||e instanceof Pf&&n instanceof Pf||e instanceof kf&&n instanceof kf||e instanceof Of&&n instanceof Of||e instanceof Uf&&n instanceof Uf||e instanceof Hf&&n instanceof Hf||e instanceof Bf&&n instanceof Bf||e instanceof Jf&&n instanceof Jf||e instanceof Wf&&n instanceof Wf||e instanceof qf&&n instanceof qf||e instanceof zf&&n instanceof zf||e instanceof $f&&n instanceof $f||e instanceof gm&&n instanceof gm}}},pLe=_e(VK),w2={eq:function(e){return function(n){return e instanceof Ia&&n instanceof Ia?pLe(e.value0)(n.value0):e instanceof r_&&n instanceof r_}}},_Le={compare:function(e){return function(n){if(e instanceof jf&&n instanceof jf)return Fe.value;if(e instanceof jf)return Se.value;if(n instanceof jf)return we.value;if(e instanceof Nf&&n instanceof Nf)return Fe.value;if(e instanceof Nf)return Se.value;if(n instanceof Nf)return we.value;if(e instanceof Pf&&n instanceof Pf)return Fe.value;if(e instanceof Pf)return Se.value;if(n instanceof Pf)return we.value;if(e instanceof kf&&n instanceof kf)return Fe.value;if(e instanceof kf)return Se.value;if(n instanceof kf)return we.value;if(e instanceof Of&&n instanceof Of)return Fe.value;if(e instanceof Of)return Se.value;if(n instanceof Of)return we.value;if(e instanceof Uf&&n instanceof Uf)return Fe.value;if(e instanceof Uf)return Se.value;if(n instanceof Uf)return we.value;if(e instanceof Hf&&n instanceof Hf)return Fe.value;if(e instanceof Hf)return Se.value;if(n instanceof Hf)return we.value;if(e instanceof Bf&&n instanceof Bf)return Fe.value;if(e instanceof Bf)return Se.value;if(n instanceof Bf)return we.value;if(e instanceof Jf&&n instanceof Jf)return Fe.value;if(e instanceof Jf)return Se.value;if(n instanceof Jf)return we.value;if(e instanceof Wf&&n instanceof Wf)return Fe.value;if(e instanceof Wf)return Se.value;if(n instanceof Wf)return we.value;if(e instanceof qf&&n instanceof qf)return Fe.value;if(e instanceof qf)return Se.value;if(n instanceof qf)return we.value;if(e instanceof zf&&n instanceof zf)return Fe.value;if(e instanceof zf)return Se.value;if(n instanceof zf)return we.value;if(e instanceof $f&&n instanceof $f)return Fe.value;if(e instanceof $f)return Se.value;if(n instanceof $f)return we.value;if(e instanceof gm&&n instanceof gm)return Fe.value;throw new Error("Failed pattern match at Hub.Ranking (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return VK}},dLe=Ke(_Le),PL={compare:function(e){return function(n){if(e instanceof Ia&&n instanceof Ia)return dLe(e.value0)(n.value0);if(e instanceof Ia)return Se.value;if(n instanceof Ia)return we.value;if(e instanceof r_&&n instanceof r_)return Fe.value;throw new Error("Failed pattern match at Hub.Ranking (line 0, column 0 - line 0, column 0): "+[e.constructor.name,n.constructor.name])}},Eq0:function(){return w2}};var FS=function(e){if(e instanceof Ia&&e.value0 instanceof jf)return"architecture";if(e instanceof Ia&&e.value0 instanceof Pf)return"chemistry";if(e instanceof Ia&&e.value0 instanceof Nf)return"business";if(e instanceof Ia&&e.value0 instanceof kf)return"computer-science";if(e instanceof Ia&&e.value0 instanceof Of)return"criminal-justice-and-corrections";if(e instanceof Ia&&e.value0 instanceof Uf)return"economics";if(e instanceof Ia&&e.value0 instanceof Hf)return"engineering";if(e instanceof Ia&&e.value0 instanceof Bf)return"english";if(e instanceof Ia&&e.value0 instanceof Jf)return"film";if(e instanceof Ia&&e.value0 instanceof Wf)return"finance";if(e instanceof Ia&&e.value0 instanceof qf)return"history";if(e instanceof Ia&&e.value0 instanceof zf)return"political-science";if(e instanceof Ia&&e.value0 instanceof $f)return"pre-med";if(e instanceof Ia&&e.value0 instanceof gm)return"psychology";if(e instanceof r_)return"overall";throw new Error("Failed pattern match at Hub.Ranking (line 92, column 8 - line 107, column 23): "+[e.constructor.name])},hLe=function(){var e=Ih("-")("_");return function(n){return e(FS(n))}}();var kL=function(){return Ye(sa)([r_.value])(fLe(Ia.create)(Sn(mLe)(bc(bc(bc(bc(bc(bc(bc(bc(bc(bc(bc(bc(bc(qK)(zK))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(Rc))(wc(wc(wc(wc(wc(wc(wc(wc(wc(wc(wc(wc(wc($K))))))))))))))(Rc)))}(),gLe=An(hLe)(kL),QK=function(){var e=function(a){return vLe(gLe(a.key))(function(r){return new Ue(r,{order:a.order,bucket:a.bucket})})},n=vc(PL)(Te),t=Go(e);return function(a){return n(t(a))}}();var DLe=function(e){return e},YK={eq:function(e){return function(n){return e===n}}};var XK=DLe,ZK="3BEAFE45-64BF-4939-91CE-2F5EFFD5273F";var KK=yn(Dn),S2=gn(KK)(pn(mn)),eee=dn(_n),E2=hn(eee),nee=wn(Rn),C2=bn(nee),I2=function(){function e(){}return e.value=new e,e}(),MS=function(){function e(){}return e.value=new e,e}(),T2=function(){function e(){}return e.value=new e,e}(),F2=function(){function e(){}return e.value=new e,e}(),M2=function(){function e(){}return e.value=new e,e}(),yLe={to:function(e){if(e instanceof H)return I2.value;if(e instanceof p&&e.value0 instanceof H)return MS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return T2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return F2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return M2.value;throw new Error("Failed pattern match at Hub.Types.CalendarSystem (line 16, column 1 - line 16, column 41): "+[e.constructor.name])},from:function(e){if(e instanceof I2)return new H(fe.value);if(e instanceof MS)return new p(new H(fe.value));if(e instanceof T2)return new p(new p(new H(fe.value)));if(e instanceof F2)return new p(new p(new p(new H(fe.value))));if(e instanceof M2)return new p(new p(new p(new p(fe.value))));throw new Error("Failed pattern match at Hub.Types.CalendarSystem (line 16, column 1 - line 16, column 41): "+[e.constructor.name])}};var tee=function(e){if(e instanceof I2)return"FourOneFour";if(e instanceof MS)return"Other";if(e instanceof T2)return"Quarter";if(e instanceof F2)return"Semester";if(e instanceof M2)return"Trimester";throw new Error("Failed pattern match at Hub.Types.CalendarSystem (line 28, column 13 - line 33, column 27): "+[e.constructor.name])},aee=function(){return ut(Ge)({parse:An(tee)(Sn(yLe)(S2(S2(S2(S2(KK)(eee))(E2))(E2))(E2))(C2(C2(C2(C2(nee)))))(E2)),default:MS.value,diagnosticName:"calendar system"})}(),ree=function(e){if(e instanceof I2)return"Four-one-four";if(e instanceof MS)return"Other";if(e instanceof T2)return"Quarter";if(e instanceof F2)return"Semester";if(e instanceof M2)return"Trimester";throw new Error("Failed pattern match at Hub.Types.CalendarSystem (line 36, column 8 - line 41, column 27): "+[e.constructor.name])};var oee=yn(Dn),iee=gn(oee)(pn(mn)),uee=dn(_n),lee=hn(uee),cee=wn(Rn),see=bn(cee),F1=function(){function e(){}return e.value=new e,e}(),M1=function(){function e(){}return e.value=new e,e}(),$h=function(){function e(){}return e.value=new e,e}(),fee={to:function(e){if(e instanceof H)return F1.value;if(e instanceof p&&e.value0 instanceof H)return M1.value;if(e instanceof p&&e.value0 instanceof p)return $h.value;throw new Error("Failed pattern match at Hub.Types.GenderAdmissionPolicy (line 14, column 1 - line 14, column 48): "+[e.constructor.name])},from:function(e){if(e instanceof F1)return new H(fe.value);if(e instanceof M1)return new p(new H(fe.value));if(e instanceof $h)return new p(new p(fe.value));throw new Error("Failed pattern match at Hub.Types.GenderAdmissionPolicy (line 14, column 1 - line 14, column 48): "+[e.constructor.name])}};var OL=function(e){if(e instanceof F1)return"AllMale";if(e instanceof M1)return"AllFemale";if(e instanceof $h)return"CoEd";throw new Error("Failed pattern match at Hub.Types.GenderAdmissionPolicy (line 26, column 13 - line 29, column 17): "+[e.constructor.name])},vee=function(){return ut(Ge)({parse:An(OL)(Sn(fee)(iee(iee(oee)(uee))(lee))(see(see(cee)))(lee)),default:$h.value,diagnosticName:"gender admission policy"})}(),o_=function(e){if(e instanceof F1)return"All-male";if(e instanceof M1)return"All-female";if(e instanceof $h)return"Co-ed";throw new Error("Failed pattern match at Hub.Types.GenderAdmissionPolicy (line 32, column 8 - line 35, column 18): "+[e.constructor.name])};var Kv=Z(J);var TLe=function(e){return{p25:ee(e.p25),p50:ee(e.p50),p75:ee(e.p75)}},e0=function(){return Oe({p25:C.value,p50:C.value,p75:C.value})(TLe)}(),dee=function(e){return{gpa:{all:e0(Kv(e)(function(n){return n.gpa.all}))},sat:{all:e0(Kv(e)(function(n){return n.sat.all})),readingWriting:e0(Kv(e)(function(n){return n.sat.readingWriting})),math:e0(Kv(e)(function(n){return n.sat.math}))},act:{all:e0(Kv(e)(function(n){return n.act.all})),english:e0(Kv(e)(function(n){return n.act.english})),math:e0(Kv(e)(function(n){return n.act.math}))}}},hee=function(e){return{gpa:e0(Kv(e)(function(n){return n.gpa})),sat:e0(Kv(e)(function(n){return n.sat})),act:e0(Kv(e)(function(n){return n.act}))}};var gee=yn(Dn),GS=gn(gee)(pn(mn)),Dee=dn(_n),AS=hn(Dee),yee=wn(Rn),xS=bn(yee),G2=function(){function e(){}return e.value=new e,e}(),A2=function(){function e(){}return e.value=new e,e}(),x2=function(){function e(){}return e.value=new e,e}(),L2=function(){function e(){}return e.value=new e,e}(),j2=function(){function e(){}return e.value=new e,e}(),N2=function(){function e(){}return e.value=new e,e}(),FLe={to:function(e){if(e instanceof H)return G2.value;if(e instanceof p&&e.value0 instanceof H)return A2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return x2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return L2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return j2.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p)return N2.value;throw new Error("Failed pattern match at Hub.Types.SpecialFocus (line 19, column 1 - line 19, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof G2)return new H(fe.value);if(e instanceof A2)return new p(new H(fe.value));if(e instanceof x2)return new p(new p(new H(fe.value)));if(e instanceof L2)return new p(new p(new p(new H(fe.value))));if(e instanceof j2)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof N2)return new p(new p(new p(new p(new p(fe.value)))));throw new Error("Failed pattern match at Hub.Types.SpecialFocus (line 19, column 1 - line 19, column 39): "+[e.constructor.name])}};var bee=function(e){if(e instanceof G2)return"Art";if(e instanceof A2)return"Business";if(e instanceof x2)return"Engineering";if(e instanceof L2)return"FaithAndReligion";if(e instanceof j2)return"HealthCare";if(e instanceof N2)return"EnrichmentProgram";throw new Error("Failed pattern match at Hub.Types.SpecialFocus (line 30, column 13 - line 36, column 43): "+[e.constructor.name])},Ree=Zn(Ge)(J)({parse:An(bee)(Sn(FLe)(GS(GS(GS(GS(GS(gee)(Dee))(AS))(AS))(AS))(AS))(xS(xS(xS(xS(xS(yee))))))(AS)),diagnosticName:"special focus"}),MLe=function(e){if(e instanceof G2)return"Art";if(e instanceof A2)return"Business";if(e instanceof x2)return"Engineering";if(e instanceof L2)return"Faith and Religion";if(e instanceof j2)return"Health Care";if(e instanceof N2)return"Enrichment Program";throw new Error("Failed pattern match at Hub.Types.SpecialFocus (line 39, column 8 - line 45, column 44): "+[e.constructor.name])},wee=Oe("None")(MLe);var See=yn(Dn),Sc=gn(See)(pn(mn)),Eee=dn(_n),Ec=hn(Eee),Cee=wn(Rn),Cc=bn(Cee),HL=function(){function e(){}return e.value=new e,e}(),BL=function(){function e(){}return e.value=new e,e}(),JL=function(){function e(){}return e.value=new e,e}(),WL=function(){function e(){}return e.value=new e,e}(),qL=function(){function e(){}return e.value=new e,e}(),zL=function(){function e(){}return e.value=new e,e}(),$L=function(){function e(){}return e.value=new e,e}(),VL=function(){function e(){}return e.value=new e,e}(),QL=function(){function e(){}return e.value=new e,e}(),YL=function(){function e(){}return e.value=new e,e}(),XL=function(){function e(){}return e.value=new e,e}(),ZL=function(){function e(){}return e.value=new e,e}(),KL=function(){function e(){}return e.value=new e,e}(),P2=function(){function e(){}return e.value=new e,e}(),GLe={to:function(e){if(e instanceof H)return HL.value;if(e instanceof p&&e.value0 instanceof H)return BL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return JL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return WL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return qL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return zL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return $L.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return VL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return QL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return YL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return XL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return ZL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return KL.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p)return P2.value;throw new Error("Failed pattern match at SportsConferenceGroup (line 28, column 1 - line 28, column 48): "+[e.constructor.name])},from:function(e){if(e instanceof HL)return new H(fe.value);if(e instanceof BL)return new p(new H(fe.value));if(e instanceof JL)return new p(new p(new H(fe.value)));if(e instanceof WL)return new p(new p(new p(new H(fe.value))));if(e instanceof qL)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof zL)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof $L)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof VL)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof QL)return new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))));if(e instanceof YL)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))));if(e instanceof XL)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))));if(e instanceof ZL)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))))));if(e instanceof KL)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))))));if(e instanceof P2)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(fe.value)))))))))))));throw new Error("Failed pattern match at SportsConferenceGroup (line 28, column 1 - line 28, column 48): "+[e.constructor.name])}};var Iee=function(e){if(e instanceof HL)return"Sec";if(e instanceof BL)return"BigTwelve";if(e instanceof JL)return"BigTen";if(e instanceof WL)return"Acc";if(e instanceof qL)return"PacTwelve";if(e instanceof zL)return"IvyLeague";if(e instanceof $L)return"Nescac";if(e instanceof VL)return"Aac";if(e instanceof QL)return"BigEast";if(e instanceof YL)return"Mac";if(e instanceof XL)return"MountainWest";if(e instanceof ZL)return"PatriotLeague";if(e instanceof KL)return"Swac";if(e instanceof P2)return"OtherGroup";throw new Error("Failed pattern match at SportsConferenceGroup (line 38, column 13 - line 52, column 29): "+[e.constructor.name])},Tee=function(){return ut(Ge)({parse:An(Iee)(Sn(GLe)(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(Sc(See)(Eee))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Ec))(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cc(Cee))))))))))))))(Ec)),default:P2.value,diagnosticName:"Sports conference group"})}();var u_=N(J),Fee=XD(Te)(Yu),Mee=Rf(wi)(On);var ALe=K(Le);var xLe=zo(),Gee=yn(Dn),Aee=gn(Gee)(pn(mn)),xee=dn(_n),Lee=hn(xee),jee=wn(Rn),Nee=bn(jee);var l_=function(){function e(){}return e.value=new e,e}(),c_=function(){function e(){}return e.value=new e,e}(),fi=function(){function e(){}return e.value=new e,e}(),Ml=function(){function e(){}return e.value=new e,e}(),Ic=function(){function e(){}return e.value=new e,e}();var Pee={to:function(e){if(e instanceof H)return fi.value;if(e instanceof p&&e.value0 instanceof H)return Ml.value;if(e instanceof p&&e.value0 instanceof p)return Ic.value;throw new Error("Failed pattern match at Hub.Types.School (line 212, column 1 - line 212, column 48): "+[e.constructor.name])},from:function(e){if(e instanceof fi)return new H(fe.value);if(e instanceof Ml)return new p(new H(fe.value));if(e instanceof Ic)return new p(new p(fe.value));throw new Error("Failed pattern match at Hub.Types.School (line 212, column 1 - line 212, column 48): "+[e.constructor.name])}};var k2={eq:function(e){return function(n){return e instanceof fi&&n instanceof fi||e instanceof Ml&&n instanceof Ml||e instanceof Ic&&n instanceof Ic}}};var LS=function(e){return u_(Fee)(Mee([e.tuitionOutOfState,e.feesOutOfState,e.costRoomBoard]))},Dm=function(e){return u_(Fee)(Mee([e.tuitionInState,e.feesInState,e.costRoomBoard]))};var kee=function(e){if(e instanceof fi)return"Test not used";if(e instanceof Ml)return"Test optional";if(e instanceof Ic)return"Test required";throw new Error("Failed pattern match at Hub.Types.School (line 494, column 30 - line 497, column 30): "+[e.constructor.name])},Oee=function(e){if(e instanceof fi)return"NotUsed";if(e instanceof Ml)return"Recommended";if(e instanceof Ic)return"Required";throw new Error("Failed pattern match at Hub.Types.School (line 445, column 34 - line 448, column 25): "+[e.constructor.name])};var e9=function(e){return e.slug},jS=function(e){return e.name},la=function(e){return e.id};var O2=function(){return ut(Ge)({parse:An(Oee)(Sn(Pee)(Aee(Aee(Gee)(xee))(Lee))(Nee(Nee(jee)))(Lee)),default:fi.value,diagnosticName:"admissions requirement"})}(),Vh=function(e){var n=function(a){return{name:a.name,group:Tee(a.group)}},t=function(a){return{division1:a.division1,conference:u_(n)(ee(a.conference))}};return{academicOfferings:{studyAbroad:e.academicOfferings.studyAbroad,creditForApExams:e.academicOfferings.creditForApExams,creditForIbExams:e.academicOfferings.creditForIbExams,offersGradDegree:e.academicOfferings.offersGradDegree,careerCounseling:e.academicOfferings.careerCounseling,hasMedicalSchool:e.academicOfferings.hasMedicalSchool,specialFocus:ALe(ee(e.academicOfferings.specialFocus))(Ree)},address:SK(e.address),admissions:{acceptanceRate:ee(e.admissions.acceptanceRate),admitted:ee(e.admissions.admitted),applicants:ee(e.admissions.applicants),enrolled:ee(e.admissions.enrolled),fracSubmittedAct:ee(e.admissions.fracSubmittedAct),fracSubmittedSat:ee(e.admissions.fracSubmittedSat),reqClassRank:u_(O2)(ee(e.admissions.reqClassRank)),reqRecLetters:u_(O2)(ee(e.admissions.reqRecLetters)),reqStandardTests:u_(O2)(ee(e.admissions.reqStandardTests)),reqToefl:u_(O2)(ee(e.admissions.reqToefl)),totalApplicants:ee(e.admissions.totalApplicants),yieldRate:ee(e.admissions.yieldRate),satVerbal:ee(e.admissions.satVerbal),satMath:ee(e.admissions.satMath),actVerbal:ee(e.admissions.actVerbal),actMath:ee(e.admissions.actMath),actComposite:ee(e.admissions.actComposite)},appGroup:u_(XK)(ee(e.appGroup)),applicationTimeHours:e.applicationTimeHours,averageNetPrice:ee(e.averageNetPrice),basketball:t(e.basketball),calendarSystem:aee(e.calendarSystem),costRoomBoard:ee(e.costRoomBoard),fracLoans:e.fracLoans,fracPellGrants:e.fracPellGrants,averageFederalLoan:ee(e.averageFederalLoan),diversity:e.diversity,dropOutRate:e.dropOutRate,football:t(e.football),fourYearGradRate:ee(e.fourYearGradRate),fracInternationalStudents:ee(e.fracInternationalStudents),gender:vee(e.gender),hasOnCampusHousing:e.hasOnCampusHousing,hbcu:e.hbcu,id:e.id,imgixPath:e.imgixPath,ipedsUnitId:ee(e.ipedsUnitId),isCommuterCollege:e.isCommuterCollege,isForProfit:e.isForProfit,majors:xLe(e.majors),message:e.message,name:e.name,numFreshmen:ee(e.numFreshmen),phone:e.phone,prestige:e.prestige,profileClaimed:e.profileClaimed,publicPrivate:function(){return e.isPublic?l_.value:c_.value}(),racialBreakdown:ee(e.racialBreakdown),rankings:QK(e.rankings),religiousAffiliation:e.religiousAffiliation,retentionRate:ee(e.retentionRate),setting:GK(e.setting),sixYearGradRate:ee(e.sixYearGradRate),slug:e.slug,studentsPerFaculty:e.studentsPerFaculty,totalUndergrads:e.totalUndergrads,tuitionInState:ee(e.tuitionInState),tuitionOutOfState:ee(e.tuitionOutOfState),feesInState:ee(e.feesInState),feesOutOfState:ee(e.feesOutOfState),schoolType:e.schoolType,urls:{main:e.urls.main,admissions:ee(e.urls.admissions),finAid:ee(e.urls.finAid),priceCalculator:ee(e.urls.priceCalculator)},chancing:{canChance:e.chancing.canChance,endorsed:e.chancing.endorsed,moreInfoLink:ee(e.chancing.moreInfoLink)},testScoreStats:dee(ee(e.testScoreStats)),colors:{primary:ee(e.colors.primary),secondary:ee(e.colors.secondary)},hasFourYearProgram:e.hasFourYearProgram,hasTwoYearProgram:e.hasTwoYearProgram}},Uee=function(e){return e.schoolType==="Community College"};var n9=function(e){if(e.hasTwoYearProgram&&e.hasFourYearProgram)return new d("2-year, 4-year");if(!e.hasTwoYearProgram&&e.hasFourYearProgram)return new d("4-year");if(e.hasTwoYearProgram&&!e.hasFourYearProgram)return new d("2-year");if(!e.hasTwoYearProgram&&!e.hasFourYearProgram)return C.value;throw new Error("Failed pattern match at Hub.Types.School (line 466, column 3 - line 470, column 28): "+[e.hasTwoYearProgram.constructor.name,e.hasFourYearProgram.constructor.name])};var LLe=on();var Qh=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}(),NS=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}();var Hee=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}(),t9=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}();var G1={defer:function(e){var n=Lf(e);return function(t,a,r,o,i){var u=yc(n);return u(t,a,r,o,i)}}};var n0={map:function(e){return function(n){return function(t,a,r,o,i){return a(function(u){return n(t,a,r,o,function(l,c){return a(function(s){return i(l,e(c))})})})}}}};var t0={apply:function(e){return function(n){return function(t,a,r,o,i){return a(function(u){return e(t,a,r,o,function(l,c){return a(function(s){return n(l,a,r,o,function(f,v){return a(function(m){return i(f,c(v))})})})})})}}},Functor0:function(){return n0}};var a0={bind:function(e){return function(n){return function(t,a,r,o,i){return a(function(u){return e(t,a,r,o,function(l,c){return a(function(s){var f=n(c);return f(l,a,r,o,i)})})})}}},Apply0:function(){return t0}},jLe=mt(a0);var Ds={pure:function(e){return function(n,t,a,r,o){return o(n,e)}},Apply0:function(){return t0}};var NLe={Applicative0:function(){return Ds},Bind1:function(){return a0}};var Jee={throwError:function(e){return function(n,t,a,r,o){return r(n,e)}},Monad0:function(){return NLe}},PLe=Fi(Jee);var Yh={alt:function(e){return function(n){return function(t,a,r,o,i){return a(function(u){return e(new Qh(t.value0,t.value1,!1),a,r,function(l,c){return a(function(s){return l.value2?o(l,c):n(t,a,r,o,i)})},i)})}}},Functor0:function(){return n0}},kLe=function(e){return function(n,t,a,r,o){var i=e(n);return o(i.value1,i.value0)}};var OLe=function(e){var n=e.Monad0(),t=N(n.Bind1().Apply0().Functor0()),a=z(n.Applicative0()),r=Xu(e);return function(o){return function(i){var u=function(l){var c=!1,s;function f(v){var m=v(Ce);if(m instanceof Hee){l=m.value0;return}if(m instanceof Bee)return c=!0,t(Wo.create)(m.value0);if(m instanceof t9)return c=!0,a(new qo(new Ue(m.value1,m.value0)));throw new Error("Failed pattern match at Parsing (line 152, column 13 - line 158, column 32): "+[m.constructor.name])}for(;!c;)s=f(l);return s};return r(u)(function(l){return i(o,Hee.create,Bee.create,function(c,s){return new t9(c,new rn(s))},function(c,s){return new t9(c,new ln(s))})})}}};var Wee=kLe(function(e){return new Ue(e.value1,e)}),a9=function(e){return e.value1},r9=function(e){return e.value0};var ULe={index:0,line:1,column:1},qee=function(e){var n=N(e.Monad0().Bind1().Apply0().Functor0()),t=OLe(e);return function(a){return function(r){var o=new Qh(a,ULe,!1);return n(ci)(t(o)(r))}}},HLe=qee(JD),zee=function(e){var n=HLe(e);return function(t){return LLe(n(t))}};var BLe=function(e){return function(n){return PLe(new NS(e,n))}},A1=function(e){return jLe(BLe(e))(Wee)};var $ee={empty:A1("No alternative"),Alt0:function(){return Yh}},Xh={Applicative0:function(){return Ds},Plus1:function(){return $ee}};var YLe=Pt(Yh);var XLe=z(Ds);var ZLe=N(n0);var r0=function(e){return function(n,t,a,r,o){return e(n,t,a,function(i,u){return r(new Qh(i.value0,i.value1,n.value2),u)},o)}};var U2=function(e){return function(n){return YLe(n)(XLe(e))}},Zh=function(e){return U2(C.value)(ZLe(d.create)(e))};var Qee=function(e){return function(n){return function(t){return function(a){try{return n(new RegExp(t,a))}catch(r){return e(r.message)}}}}};var Yee=function(e){return function(n){return function(t){return function(a){var r=a.match(t);if(r==null||r.length===0)return n;for(var o=0;o<r.length;o++)r[o]=r[o]==null?n:e(r[o]);return e(r)}}}};var i9=function(e){return function(n){return n.split(e)}};var u9={append:function(e){return function(n){return{global:e.global||n.global,ignoreCase:e.ignoreCase||n.ignoreCase,multiline:e.multiline||n.multiline,dotAll:e.dotAll||n.dotAll,sticky:e.sticky||n.sticky,unicode:e.unicode||n.unicode}}}},Xee={global:!1,ignoreCase:!1,multiline:!1,dotAll:!1,sticky:!1,unicode:!1};var Zee={global:!1,ignoreCase:!1,multiline:!0,dotAll:!1,sticky:!1,unicode:!1};var H2={global:!0,ignoreCase:!1,multiline:!1,dotAll:!1,sticky:!1,unicode:!1};var KLe=function(e){return function(){return e.global?"g":""}()+(function(){return e.ignoreCase?"i":""}()+(function(){return e.multiline?"m":""}()+(function(){return e.dotAll?"s":""}()+(function(){return e.sticky?"y":""}()+function(){return e.unicode?"u":""}()))))},x1=function(e){return function(n){return Qee(rn.create)(ln.create)(e)(KLe(n))}};var l9=function(){return Yee(d.create)(C.value)}();var ene=dt(qp),t9e=El($a);var a9e=re(Ar);var nne=function(e){return function(n){return function(t){var a=ene(n);if(a===10)return{index:e.index+1|0,line:e.line+1|0,column:1};if(a===13){var r=A8(0)(t);return r instanceof d&&ene(r.value0)===10?{index:e.index+1|0,line:e.line,column:e.column}:{index:e.index+1|0,line:e.line+1|0,column:1}}return a===9?{index:e.index+1|0,line:e.line,column:(e.column+8|0)-t9e(e.column-1|0)(8)|0}:{index:e.index+1|0,line:e.line,column:e.column+1|0}}}},r9e=function(e){return function(n){return function(t){var a=e,r=n,o=!1,i;function u(l,c,s){var f=Hw(c);if(f instanceof C)return o=!0,l;if(f instanceof d){var v=function(){if(Ti(f.value0.tail))return nne(l)(f.value0.head)(s);if(xe)return nne(l)(f.value0.head)(f.value0.tail);throw new Error("Failed pattern match at Parsing.String (line 165, column 7 - line 167, column 52): "+[])}();a=v,r=f.value0.tail,t=s;return}throw new Error("Failed pattern match at Parsing.String (line 161, column 36 - line 168, column 38): "+[f.constructor.name])}for(;!o;)i=u(a,r,t);return i}}};var c9=lF(function(e){return function(n){return function(t){return function(a){return function(r){var o=Ti(e.value0);return o?r(new Qh(e.value0,e.value1,!0),Ce):a(e,new NS("Expected EOF",e.value1))}}}}}),tne=function(e){return lF(function(n){return function(t){return function(a){return function(r){return function(o){var i=e(n.value0);if(i instanceof rn)return r(n,new NS(i.value0,n.value1));if(i instanceof ln)return o(new Qh(i.value0.remainder,r9e(n.value1)(i.value0.consumed)(i.value0.remainder),!Ti(i.value0.consumed)),i.value0.value);throw new Error("Failed pattern match at Parsing.String (line 286, column 7 - line 290, column 121): "+[i.constructor.name])}}}}})};var o0=function(e){return tne(function(n){var t=mc(e)(n);return t instanceof d?new ln({value:e,consumed:e,remainder:t.value0}):new rn("Expected "+a9e(e))})};var ane=({just:e,nothing:n})=>t=>{try{let a=new Date(t);return isNaN(a.getTime())?n:e(a)}catch{return n}},f9=e=>({year:e.getFullYear(),month:e.getMonth(),day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}),rne=()=>new Date,p9e=(()=>{let e=new Date;return typeof window!="undefined"?()=>e:()=>{let n=new Date;return n-e>1e3&&(e=n),e}})();var _9e=(()=>{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 one=function(e,n,t){var a=new Date(Date.UTC(e,n,t));return e>=0&&e<100&&a.setUTCFullYear(e),a};function ine(e,n,t,a){var r=one(n,t-1,a);return e(r.getUTCFullYear())(r.getUTCMonth()+1)(r.getUTCDate())}function une(e,n,t){return one(e,n-1,t).getUTCDay()}var J2=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 Tc=function(){function e(){}return e.value=new e,e}(),ys=function(){function e(){}return e.value=new e,e}(),bs=function(){function e(){}return e.value=new e,e}(),Rs=function(){function e(){}return e.value=new e,e}(),ws=function(){function e(){}return e.value=new e,e}(),Ss=function(){function e(){}return e.value=new e,e}(),Vf=function(){function e(){}return e.value=new e,e}(),rl=function(){function e(){}return e.value=new e,e}(),Gl=function(){function e(){}return e.value=new e,e}(),ol=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}(),il=function(){function e(){}return e.value=new e,e}(),ul=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}(),Fc=function(){function e(){}return e.value=new e,e}();var lne={show:function(e){if(e instanceof Tc)return"Monday";if(e instanceof ys)return"Tuesday";if(e instanceof bs)return"Wednesday";if(e instanceof Rs)return"Thursday";if(e instanceof ws)return"Friday";if(e instanceof Ss)return"Saturday";if(e instanceof Vf)return"Sunday";throw new Error("Failed pattern match at Data.Date.Component (line 184, column 1 - line 191, column 25): "+[e.constructor.name])}},v9={show:function(e){if(e instanceof rl)return"January";if(e instanceof Gl)return"February";if(e instanceof ol)return"March";if(e instanceof Al)return"April";if(e instanceof xl)return"May";if(e instanceof il)return"June";if(e instanceof ul)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 Fc)return"December";throw new Error("Failed pattern match at Data.Date.Component (line 101, column 1 - line 113, column 29): "+[e.constructor.name])}};var W2=Dt,q2=Dt,cne=ar,d9e={eq:function(e){return function(n){return e instanceof Tc&&n instanceof Tc||e instanceof ys&&n instanceof ys||e instanceof bs&&n instanceof bs||e instanceof Rs&&n instanceof Rs||e instanceof ws&&n instanceof ws||e instanceof Ss&&n instanceof Ss||e instanceof Vf&&n instanceof Vf}}},sne={compare:function(e){return function(n){if(e instanceof Tc&&n instanceof Tc)return Fe.value;if(e instanceof Tc)return Se.value;if(n instanceof Tc)return we.value;if(e instanceof ys&&n instanceof ys)return Fe.value;if(e instanceof ys)return Se.value;if(n instanceof ys)return we.value;if(e instanceof bs&&n instanceof bs)return Fe.value;if(e instanceof bs)return Se.value;if(n instanceof bs)return we.value;if(e instanceof Rs&&n instanceof Rs)return Fe.value;if(e instanceof Rs)return Se.value;if(n instanceof Rs)return we.value;if(e instanceof ws&&n instanceof ws)return Fe.value;if(e instanceof ws)return Se.value;if(n instanceof ws)return we.value;if(e instanceof Ss&&n instanceof Ss)return Fe.value;if(e instanceof Ss)return Se.value;if(n instanceof Ss)return we.value;if(e instanceof Vf&&n instanceof Vf)return Fe.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 d9e}},m9={eq:function(e){return function(n){return e instanceof rl&&n instanceof rl||e instanceof Gl&&n instanceof Gl||e instanceof ol&&n instanceof ol||e instanceof Al&&n instanceof Al||e instanceof xl&&n instanceof xl||e instanceof il&&n instanceof il||e instanceof ul&&n instanceof ul||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 Fc&&n instanceof Fc}}},L1={compare:function(e){return function(n){if(e instanceof rl&&n instanceof rl)return Fe.value;if(e instanceof rl)return Se.value;if(n instanceof rl)return we.value;if(e instanceof Gl&&n instanceof Gl)return Fe.value;if(e instanceof Gl)return Se.value;if(n instanceof Gl)return we.value;if(e instanceof ol&&n instanceof ol)return Fe.value;if(e instanceof ol)return Se.value;if(n instanceof ol)return we.value;if(e instanceof Al&&n instanceof Al)return Fe.value;if(e instanceof Al)return Se.value;if(n instanceof Al)return we.value;if(e instanceof xl&&n instanceof xl)return Fe.value;if(e instanceof xl)return Se.value;if(n instanceof xl)return we.value;if(e instanceof il&&n instanceof il)return Fe.value;if(e instanceof il)return Se.value;if(n instanceof il)return we.value;if(e instanceof ul&&n instanceof ul)return Fe.value;if(e instanceof ul)return Se.value;if(n instanceof ul)return we.value;if(e instanceof Ll&&n instanceof Ll)return Fe.value;if(e instanceof Ll)return Se.value;if(n instanceof Ll)return we.value;if(e instanceof jl&&n instanceof jl)return Fe.value;if(e instanceof jl)return Se.value;if(n instanceof jl)return we.value;if(e instanceof Nl&&n instanceof Nl)return Fe.value;if(e instanceof Nl)return Se.value;if(n instanceof Nl)return we.value;if(e instanceof Pl&&n instanceof Pl)return Fe.value;if(e instanceof Pl)return Se.value;if(n instanceof Pl)return we.value;if(e instanceof Fc&&n instanceof Fc)return Fe.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 m9}},fne=ar,vne=function(){return{bottom:-271820|0,top:275759,Ord0:function(){return W2}}}(),h9e=function(){return{bottom:Tc.value,top:Vf.value,Ord0:function(){return sne}}}(),mne=function(){return{bottom:rl.value,top:Fc.value,Ord0:function(){return L1}}}(),vi={cardinality:547580,toEnum:function(e){if(e>=(-271820|0)&&e<=275759)return new d(e);if(xe)return C.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 vne},Enum1:function(){return g9e(0)}},g9e=J2("enumYear","Data.Date.Component",function(){return{succ:function(){var e=yt(vi),n=dt(vi);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(vi),n=dt(vi);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return W2}}});var f_={cardinality:7,toEnum:function(e){return e===1?new d(Tc.value):e===2?new d(ys.value):e===3?new d(bs.value):e===4?new d(Rs.value):e===5?new d(ws.value):e===6?new d(Ss.value):e===7?new d(Vf.value):C.value},fromEnum:function(e){if(e instanceof Tc)return 1;if(e instanceof ys)return 2;if(e instanceof bs)return 3;if(e instanceof Rs)return 4;if(e instanceof ws)return 5;if(e instanceof Ss)return 6;if(e instanceof Vf)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 h9e},Enum1:function(){return D9e(0)}},D9e=J2("enumWeekday","Data.Date.Component",function(){return{succ:function(){var e=yt(f_),n=dt(f_);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(f_),n=dt(f_);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return sne}}});var to={cardinality:12,toEnum:function(e){return e===1?new d(rl.value):e===2?new d(Gl.value):e===3?new d(ol.value):e===4?new d(Al.value):e===5?new d(xl.value):e===6?new d(il.value):e===7?new d(ul.value):e===8?new d(Ll.value):e===9?new d(jl.value):e===10?new d(Nl.value):e===11?new d(Pl.value):e===12?new d(Fc.value):C.value},fromEnum:function(e){if(e instanceof rl)return 1;if(e instanceof Gl)return 2;if(e instanceof ol)return 3;if(e instanceof Al)return 4;if(e instanceof xl)return 5;if(e instanceof il)return 6;if(e instanceof ul)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 Fc)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 mne},Enum1:function(){return y9e(0)}},y9e=J2("enumMonth","Data.Date.Component",function(){return{succ:function(){var e=yt(to),n=dt(to);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(to),n=dt(to);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return L1}}});var p9={bottom:1,top:31,Ord0:function(){return q2}},ll={cardinality:31,toEnum:function(e){if(e>=1&&e<=31)return new d(e);if(xe)return C.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 p9},Enum1:function(){return b9e(0)}},b9e=J2("enumDay","Data.Date.Component",function(){return{succ:function(){var e=yt(ll),n=dt(ll);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(ll),n=dt(ll);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return q2}}});var pne=dt(to),_9=za(),_ne=yt(f_);var w9e=_e(cne),S9e=_e(m9),E9e=_e(fne),C9e=Ke(W2),I9e=Ke(L1),T9e=Ke(q2);var F9e=yt(to);var dne=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}(),Mc=function(e){return e.value0},PS=function(e){var n=une(e.value0,pne(e.value1),e.value2),t=n===0;return _9(_ne(t?7:n))};var Gc=function(e){return e.value1};var $2={eq:function(e){return function(n){return w9e(e.value0)(n.value0)&&S9e(e.value1)(n.value1)&&E9e(e.value2)(n.value2)}}},M9e=_e($2),hne={compare:function(e){return function(n){var t=C9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=I9e(e.value1)(n.value1);return a instanceof Se?Se.value:a instanceof we?we.value:T9e(e.value2)(n.value2)}},Eq0:function(){return $2}};var i0=function(e){return e.value2},v_=function(e){return function(n){return function(t){var a=function(r){return function(o){return function(i){return new dne(r,_9(F9e(o)),i)}}};return ine(a,e,pne(n),t)}}},V2=function(e){return function(n){return function(t){var a=new dne(e,n,t),r=M9e(v_(e)(n)(t))(a);return r?new d(a):C.value}}};var G9e=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 gne(e){return function(n){return function(t){return function(a){var r=G9e(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 Q2=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 Y2=Dt,X2=Dt,Z2=Dt,K2=Dt,Dne=ar,yne=ar,bne=ar,Rne=ar,d9={bottom:0,top:59,Ord0:function(){return Y2}},h9={bottom:0,top:59,Ord0:function(){return X2}},g9={bottom:0,top:999,Ord0:function(){return Z2}},D9={bottom:0,top:23,Ord0:function(){return K2}},Ac={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(xe)return C.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 d9},Enum1:function(){return A9e(0)}},A9e=Q2("enumSecond","Data.Time.Component",function(){return{succ:function(){var e=yt(Ac),n=dt(Ac);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(Ac),n=dt(Ac);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return Y2}}});var xc={cardinality:60,toEnum:function(e){if(e>=0&&e<=59)return new d(e);if(xe)return C.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 h9},Enum1:function(){return x9e(0)}},x9e=Q2("enumMinute","Data.Time.Component",function(){return{succ:function(){var e=yt(xc),n=dt(xc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(xc),n=dt(xc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return X2}}});var Lc={cardinality:1e3,toEnum:function(e){if(e>=0&&e<=999)return new d(e);if(xe)return C.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 g9},Enum1:function(){return L9e(0)}},L9e=Q2("enumMillisecond","Data.Time.Component",function(){return{succ:function(){var e=yt(Lc),n=dt(Lc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(Lc),n=dt(Lc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return Z2}}});var jc={cardinality:24,toEnum:function(e){if(e>=0&&e<=23)return new d(e);if(xe)return C.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 D9},Enum1:function(){return j9e(0)}},j9e=Q2("enumHour","Data.Time.Component",function(){return{succ:function(){var e=yt(jc),n=dt(jc);return function(t){return e(function(a){return a+1|0}(n(t)))}}(),pred:function(){var e=yt(jc),n=dt(jc);return function(t){return e(function(a){return a-1|0}(n(t)))}}(),Ord0:function(){return K2}}});var O9e=_e(Rne),U9e=_e(yne),H9e=_e(Dne),B9e=_e(bne),J9e=Ke(K2),W9e=Ke(X2),q9e=Ke(Y2),z9e=Ke(Z2);var m_=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 ym=function(e){return e.value2},bm=function(e){return e.value1},u0=function(e){return e.value3};var l0=function(e){return e.value0};var y9={eq:function(e){return function(n){return O9e(e.value0)(n.value0)&&U9e(e.value1)(n.value1)&&H9e(e.value2)(n.value2)&&B9e(e.value3)(n.value3)}}},wne={compare:function(e){return function(n){var t=J9e(e.value0)(n.value0);if(t instanceof Se)return Se.value;if(t instanceof we)return we.value;var a=W9e(e.value1)(n.value1);if(a instanceof Se)return Se.value;if(a instanceof we)return we.value;var r=q9e(e.value2)(n.value2);return r instanceof Se?Se.value:r instanceof we?we.value:z9e(e.value3)(n.value3)}},Eq0:function(){return y9}};var $9e=dt(vi),V9e=dt(to),Q9e=dt(ll),Y9e=dt(jc),X9e=dt(xc),Z9e=dt(Ac),K9e=dt(Lc);var eje=_e($2),nje=_e(y9),tje=Ke(hne),aje=Ke(wne),rje=K(Le),j1=qn(Pa),b9=N(J),oje=yl(Le),ije=yt(vi),uje=yt(to),lje=yt(ll),cje=yt(jc),sje=yt(xc),fje=yt(Ac),vje=yt(Lc),p_=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}(),mje=function(e){return{year:$9e(Mc(e.value0)),month:V9e(Gc(e.value0)),day:Q9e(i0(e.value0)),hour:Y9e(l0(e.value1)),minute:X9e(bm(e.value1)),second:Z9e(ym(e.value1)),millisecond:K9e(u0(e.value1))}};var Ene={eq:function(e){return function(n){return eje(e.value0)(n.value0)&&nje(e.value1)(n.value1)}}},eM={compare:function(e){return function(n){var t=tje(e.value0)(n.value0);return t instanceof Se?Se.value:t instanceof we?we.value:aje(e.value1)(n.value1)}},Eq0:function(){return Ene}};var Cne=function(e){var n=$F(e);return function(t){return function(a){return rje(gne(d.create)(C.value)(n(t))(mje(a)))(function(r){return j1(b9(p_.create)(oje(j1(j1(b9(V2)(ije(r.year)))(uje(r.month)))(lje(r.day)))))(j1(j1(j1(b9(m_.create)(cje(r.hour)))(sje(r.minute)))(fje(r.second)))(vje(r.millisecond)))})}}};function nM(e){return Math.round(e).toString()}var Ine=function(e){var n=Ye(e.Semigroup0()),t=function(a){return function(r){return function(o){var i=a,u=r,l=!1,c;function s(f,v,m){if(m<1)return l=!0,f;i=n(f)(v),u=v,o=m-1|0}for(;!l;)c=s(i,u,o);return c}}};return t(Da(e))};var Tne=re(ze),pje=Dr(us),_je=ZR(t0);var dje=function(e){return"(line "+(Tne(e.line)+(", col "+(Tne(e.column)+")")))},hje=function(e){return r9(e)+(" "+dje(a9(e)))},R9=function(e){return function(n){return pje(hje)(zee(n)(_je(e)(c9)))}};var N1=K(a0);var Rje=z(Ds),wje=t1(Xh)(G1);var Sje=i8(Xh)(G1),tM=Ine(ft),Eje=Np(Ds)(Dw),Cje=N(J);var Mne=Ov(Dt),Ije=gr($a),Tje=re(ze),Fje=Z(li),Mje=re($i),Gje=Qe(Xe);var Aje=N1(Zh(r0(o0("+"))))(function(e){return N1(wje(o0("0")))(function(n){return N1(Zh(r0(o0(",0"))))(function(t){return N1(Zh(r0(o0("."))))(function(a){return N1(Eje(a)(function(r){return r0(Sje(o0("0")))}))(function(r){return N1(Zh(r0(o0("a"))))(function(o){return Rje({sign:gt(e),before:da(n),comma:gt(t),after:Ee(0)(Cje(da)(r)),abbreviations:gt(o)})})})})})})}),xje=R9(Aje);var Gne=function(e){return function(n){var t=bF(n),a=function(){if(t>0)return Mne(Br(v8(t)/rY))(0);if(xe)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=Ije(a)(3),o=function(){var y=r<1;return y?n:n/RF(1e3)(st(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(xe)return"10e+"+Tje(r*3|0);throw new Error("Failed pattern match at Data.Formatter.Number (line 107, column 7 - line 117, column 53): "+[])}();return Gne({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=RF(10)(st(Mne(0)(e.after))),c=yh(t*l)/l,s=u1(c),f=c-s,v=yh(f*l),m=function(){var y=nM(v),S=Zr(y),G=tM("0")(e.after-S|0);return G+y}(),_=function(){var y=e.after<1;return y?"":"."+(function(){var S=v===0;return S?tM("0")(e.after):""}()+function(){var S=v>0;return S?m:""}())}(),R=function(y){return function(S){return function(G){var P=y,k=S,M=!1,O;function oe(le,ve,X){var be=e1(X);if(be instanceof C)return M=!0,f1(le);if(be instanceof d&&ve<3){P=Ci(be.value0.head)(le),k=ve+1|0,G=be.value0.tail;return}P=Ci(",")(le),k=0,G=X}for(;!M;)O=oe(P,k,G);return O}}},D=function(){return e.comma?R([])(0)(vw(Pw(tM("0")(u)+nM(s)))):tM("0")(u)+nM(s)}();return function(){var y=n<0;if(y)return"-";var S=n>0&&e.sign;return S?"+":""}()+(D+_)}},Lje=function(e){return function(n){return Fje(xje(e))(Jt(Gne)(n))}},__=function(e){return function(n){return rr(an(Mje(n)))(Gje)(Lje(e)(n))}};var jje=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 Ane(e,n,t,a,r,o,i){return jje(e,n-1,t,a,r,o,i).getTime()}function xne(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 Nje=za(),Pje=yt(to);var kje=dt(to);var Lne=function(e){return e},aM=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 p_(v_(n)(Nje(Pje(t)))(a),new m_(r,o,i,u))}}}}}}};return xne(e)}();var jne=function(e){return Ane(Mc(e.value0),kje(Gc(e.value0)),i0(e.value0),l0(e.value1),bm(e.value1),ym(e.value1),u0(e.value1))};function w9(){return Date.now()}var Bje=N(it);var S9=Bje(aM)(w9);var rDt=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,m=f.takes,_=f.reads,R,D,y,S,G;for(f.draining=!0;;){if(R=null,D=null,y=null,S=f.value,G=_.size,f.error!==null){for(S=s.left(f.error);R=u(v);)r(R.cb(S));for(;D=u(_);)r(D(S));for(;y=u(m);)r(y(S));break}if(S===a&&(R=u(v))&&(f.value=S=R.value),S!==a){for(y=u(m);G--&&(D=u(_));)r(D(s.right(S)));y!==null&&(f.value=a,r(y(s.right(S))))}if(R!==null&&r(R.cb(s.right(void 0))),f.value===a&&v.size===0||f.value!==a&&m.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 Kje=z(ea),d_=K(Le),eNe=yt(vi),nNe=yt(to),tNe=yt(ll),aNe=yt(jc),rNe=yt(xc),oNe=yt(Ac),iNe=yt(Lc),uNe=z(On),lNe=mt(Va),cNe=Z(J);var Pne=function(e){return d_(eNe(e.year))(function(n){return d_(nNe(e.month+1|0))(function(t){return d_(tNe(e.day))(function(a){return d_(aNe(e.hour))(function(r){return d_(rNe(e.minute))(function(o){return d_(oNe(e.second))(function(i){return d_(iNe(e.millisecond))(function(u){return uNe(new p_(v_(n)(t)(a),new m_(r,o,i,u)))})})})})})})})},sNe=function(e){var n=rX("Failed to obtain current time. This should never happen.");return Oe(n)(Kje)(Pne(f9(e)))},Kh=lNe(sNe)(rne);var eg=function(e){return d_(cNe(ane({just:d.create,nothing:C.value})(e))(f9))(Pne)};var oM=function(){function e(){}return e.value=new e,e}(),_Ne=function(){function e(){}return e.value=new e,e}(),dNe=function(){function e(){}return e.value=new e,e}();var kne=function(e){if(e instanceof oM)return C.value;if(e instanceof dNe)return new d("open");if(e instanceof _Ne)return new d("on");throw new Error("Failed pattern match at Hub.Types.WhatificatorPhase (line 21, column 13 - line 24, column 22): "+[e.constructor.name])};var C9=void 0;var One=Be;var P1=Be,OS=function(e){return Th(e)};var Une=function(e){return function(n){var t=OS(n);return t?C9:P1(e(One(n)))}},Rr=function(e){var n=OS(e);return n?C.value:new d(One(e))};var Un=function(e){return function(n){var t=OS(e);return t?n:e}};var Sa=function(){return Be};var Hne=z(ea),Bne=zo(),Jne=function(e){return{handleMaybe:function(n){return function(t){return kh(function(){var a=Oe(Hne(Ce))(n);return function(r){return a(Bne(t(r)))}}())}}}},iM=function(e){return{handleMaybe:function(n){return function(t){return function(a){return Oe(Hne(Ce))(n)(Bne(t))()}}}}},ao={handle:function(e){return function(n){return function(t){return e(n(t))()}}}},pu={handleEffect:function(e){return kh(e)}},pr={handleEffect:function(e){return kh(an(e))}},pt={handle:function(e){return function(n){return function(t){return e(n)()}}}},k1=function(e){return e.handleMaybe},ca=function(e){return e.handleEffect},Gn=function(e){return e.handle};var I9=gs(),T9=Af(),Wne=Ef()(),hNe=Gw();var O1=Be,qne=function(e){return function(n){return I9(O1(e))(n)}},uM=function(e){var n=T9(e);return function(t){return function(a){return n(O1(t))(a)}}},Nc=function(e){var n=T9(e);return function(t){return function(a){return function(r){return n(O1(t))(Wne(r)({className:a}))}}}},h_=function(e){return function(n){return function(t){return I9(O1(e))(Wne(t)({className:n}))}}},F9=function(e){return function(n){return I9(O1(e))({className:n})}},po=function(e){return function(n){var t=T9(n);return function(a){return function(r){return t(O1(e))({className:a})(r)}}}};var fn=Be,U1=function(){return hNe};var H1=function(e){var n=Nc(e);return function(){return function(){return n("ul")}}},Qf=function(e){return po("ul")(e)};var c0=function(e){return po("tr")(e)};var B1=function(e){return po("thead")(e)};var J1=function(e){return po("th")(e)};var kl=function(){return function(){return h_("textarea")}};var Es=function(e){return po("td")(e)};var s0=function(e){return po("tbody")(e)};var f0=function(e){return po("table")(e)},Cs=function(e){var n=Nc(e);return function(){return function(){return n("svg")}}};var lM=function(e){return po("sup")(e)};var Ea=function(e){return po("strong")(e)},W1=function(e){var n=Nc(e);return function(){return function(){return n("span")}}},en=function(e){return po("span")(e)};var cM=function(e){var n=Nc(e);return function(){return function(){return n("select")}}};var sM=function(e){return po("section")(e)};var Vn=function(e){return po("p")(e)};var fM=function(e){var n=Nc(e);return function(){return function(){return n("option")}}};var vM=function(e){return po("ol")(e)};var mM=function(){return function(){return h_("meta")}};var cl=function(e){return po("li")(e)};var _u=function(e){return po("label")(e)};var Zo=function(){return function(){return h_("input")}};var v0=function(){return function(){return h_("img")}};var m0=function(e){var n=Nc(e);return function(){return function(){return n("iframe")}}};var ta=function(e){return po("i")(e)};var Ba=F9("hr");var Is=function(e){return po("h6")(e)};var Ir=function(e){return po("h4")(e)};var It=function(e){return po("h3")(e)};var Kn=function(e){return po("h2")(e)};var Pc=function(e){return po("h1")(e)},pM=function(e){var n=Nc(e);return function(){return function(){return n("form")}}};var Yn=function(e){var n=Nc(e);return function(){return function(){return n("div")}}},B=function(e){return po("div")(e)};var Ct=function(e){var n=Nc(e);return function(){return function(){return n("button")}}};var _M=F9("br");var xa=function(e){var n=Nc(e);return function(){return function(){return n("a")}}};var M9=function(){typeof window!="undefined"&&window.scrollTo(0,0)};var zne=function(e){var n=uM(e);return function(){return function(){return n("script")}}};var $ne=function(e){var n=uM(e);return function(){return function(){return n("button")}}},Vne=function(){return function(){return qne("br")}};var Qne=function(e){var n=uM(e);return function(){return function(){return n("a")}}};function Yne(e){return function(n){return function(){return n.getElementById(e)}}}var gNe=N(it),dM=function(e){var n=gNe(ee),t=Yne(e);return function(a){return n(t(a))}};var hM=function(e){return function(n){return function(){return n[e]}}},DNe=hM("children"),yNe=hM("firstElementChild"),bNe=hM("lastElementChild"),RNe=hM("childElementCount");var _o=function(){return window};function Xne(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 ot=function(e){return function(n){return Xne(C.value,d.create,e,n)}};var Zne=Be;function Kne(e){return e.body}var wNe=N(it);var gM=Be;var ete=Be,nte=Be;var tte=function(e){return wNe(ee)(function(){return Kne(e)})};var ate=Be;function DM(e){return function(n){return function(t){return function(a){return function(){return a.replaceState(e,n,t)}}}}}function G9(e){return function(n){return function(){n.href=e}}}function Rm(e){return function(){return e.document}}function A9(e){return function(){return e.location}}function US(e){return function(){return e.history}}function ote(e){return function(n){return function(t){return function(a){return function(){return a.open(e,n,t)}}}}}function q1(e){return function(){return e.localStorage}}var xNe=N(it);var ite=Be;var ute=function(e){return function(n){return function(t){return function(a){return xNe(ee)(ote(e)(n)(t)(a))}}}};var LNe=N(ge);var jNe=Vne()();var lte=K(Va),NNe=Z(it);var ma=Ee(un),Je=Jt(Oe(un));var PNe=function(e){return function(n){if(e)return un;if(xe)return n(Ce);throw new Error("Failed pattern match at Utils.HTML (line 111, column 1 - line 111, column 65): "+[e.constructor.name,n.constructor.name])}},x9=function(e){return function(n){return PNe(e)(an(n))}};var ng=function(e){return function(n){if(e)return n(Ce);if(xe)return un;throw new Error("Failed pattern match at Utils.HTML (line 98, column 1 - line 98, column 61): "+[e.constructor.name,n.constructor.name])}},vn=function(e){return function(n){return ng(e)(an(n))}};var HS=function(e){return ce(ph(jNe({}))(LNe(Y)(Ii(`
`)(e))))};var cte=function(e){return lte(NNe(lte(_o)(Rm))(gM))(dM(e))};var kc=zo(),kNe=Z(ge),ONe=hh(Vo),ste=cm(Te),UNe=N(J),HNe=N(Mw);var L9=function(e){return function(n){return function(t){return c8(function(a){return d.create(t(a))})(kc(e))(kc(n))}}};var yM=function(e){return function(n){return Fw(kc(e))(n)}},bM=function(e){return function(n){return ste(Go(function(t){return UNe(Ue.create(kc(t.value0)))(e(t.value1))})(ONe(n)))}},wm=function(e){return function(n){return HNe(e)(n)}},fte=function(e){return function(n){return function(t){return UQ(function(a){return d.create(t(a))})(kc(e))(kc(n))}}},Ts=function(e){return function(n){return cc(kc(e))(kc(n))}};var tg=function(e){return function(n){return function(t){return lm(kc(e))(n)(kc(t))}}},BS=function(e){return function(n){return function(t){return ste(kNe(t)(function(a){return new Ue(kc(e(a)),n(a))}))}}};var JS=am,vte=function(e){return function(n){return l8(kc(e))(kc(n))}};var mte=yn(Dn),WS=gn(mte)(pn(mn)),pte=dn(_n),qS=hn(pte),_te=wn(Rn),zS=bn(_te),g_=function(){function e(){}return e.value=new e,e}(),$S=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}(),dte={to:function(e){if(e instanceof H)return g_.value;if(e instanceof p&&e.value0 instanceof H)return $S.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return VS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return QS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return YS.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p)return XS.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 g_)return new H(fe.value);if(e instanceof $S)return new p(new H(fe.value));if(e instanceof VS)return new p(new p(new H(fe.value)));if(e instanceof QS)return new p(new p(new p(new H(fe.value))));if(e instanceof YS)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof XS)return new p(new p(new p(new p(new p(fe.value)))));throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 25, column 1 - line 25, column 43): "+[e.constructor.name])}};var j9=function(e){if(e instanceof g_)return"REGULAR";if(e instanceof $S)return"EARLY_ACTION";if(e instanceof VS)return"EARLY_DECISION_I";if(e instanceof QS)return"EARLY_DECISION_II";if(e instanceof YS)return"OUT_OF_STATE";if(e instanceof XS)return"TRANSFER";throw new Error("Failed pattern match at Hub.Types.ApplicationRound (line 45, column 13 - line 51, column 25): "+[e.constructor.name])};var RM=function(){return g_.value}(),hte=ut(Ge)({parse:An(j9)(Sn(dte)(WS(WS(WS(WS(WS(mte)(pte))(qS))(qS))(qS))(qS))(zS(zS(zS(zS(zS(_te))))))(qS)),default:RM,diagnosticName:"ApplicationRound"});var BNe=K(Nv),JNe=zo(),WNe=z(em);var N9=Ot,qNe=vc(N9)(Te);var wM=function(e){return qNe(BNe(JNe(e))(function(n){return WNe(new Ue(n.cipCode,n))}))},gte=function(){var e=r8(Cu(_e(va))(function(t){return t.areaOfStudy})),n=Cl(Ot)(function(t){return t.areaOfStudy});return function(t){return e(n(t))}}();var Dte=function(e){return{id:e.id,slug:e.slug,name:e.name,imgixImageUrl:e.imgixImageUrl,acceptanceRate:ee(e.acceptanceRate),cityState:ee(e.cityState)}};var zNe=N(J);var Ra=function(){function e(){}return e.value=new e,e}(),zt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),or=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yf={map:function(e){return function(n){if(n instanceof Ra)return Ra.value;if(n instanceof zt)return new zt(e(n.value0));if(n instanceof or)return new or(zNe(e)(n.value0));throw new Error("Failed pattern match at Utils.Loadable (line 0, column 0 - line 0, column 0): "+[n.constructor.name])}}};var z1=function(e){if(e instanceof Ra)return new or(C.value);if(e instanceof zt)return new or(new d(e.value0));if(e instanceof or)return new or(e.value0);throw new Error("Failed pattern match at Utils.Loadable (line 63, column 13 - line 66, column 25): "+[e.constructor.name])},ho=function(e){if(e instanceof Ra)return C.value;if(e instanceof zt)return new d(e.value0);if(e instanceof or)return e.value0;throw new Error("Failed pattern match at Utils.Loadable (line 48, column 11 - line 51, column 17): "+[e.constructor.name])},ZS=function(e){return function(n){if(n instanceof or&&n.value0 instanceof C)return new or(C.value);var t=function(r){var o=function(u){return Ra.value};if(n instanceof zt){var i=e(n.value0);return i instanceof d?new zt(i.value0):o(!0)}return o(!0)};if(n instanceof or&&n.value0 instanceof d){var a=e(n.value0.value0);return a instanceof d?new or(new d(a.value0)):t(!0)}return t(!0)}};var $Ne=Z(J),P9=K(Le);var VNe=Np(On)(wi),QNe=Rh(N9);var k9=function(e){return function(n){return Ee("")(Ts(e)(n.schoolNotes))}},KS=function(e){return function(n){return Ts(e)(n.schoolList)}};var eE=function(e){return function(n){return ZS(Ts(e))(n.schoolConnections)}};var SM=function(e){return function(n){return P9(ho(n.all))(function(t){return Ts(e)(t.table)})}};var O9=function(e){return function(n){return Ee([])(P9(SM(e)(n))(function(t){return VNe(t.majors)(function(a){return QNe(a)(n.majors)})}))}};var $1=function(e){return function(n){return ZS(Ts(e))(n.financials)}};var ag=function(e){return function(n){return P9(ho(n.contentModules.content))(Ts(e))}};var U9=function(e){return function(n){return Ee(RM)($Ne(KS(e)(n))(function(t){return t.applicationRound}))}};var du=re(ze);var YNe=si(ss),XNe=YNe(ft);var ZNe=S6(Dt)(kv);var H9=dt(vi),KNe=re(v9),ePe=dt(to),yte=dt(ll),nPe=on(),tPe=dt(f_),bte=re(lne),B9=dt(jc),aPe=El($a),Rte=dt(xc),wte=dt(Ac),J9=dt(Lc),Ste=gr($a);var EM=function(){function e(){}return e.value=new e,e}(),Ete=function(){function e(){}return e.value=new e,e}(),rPe=function(){function e(){}return e.value=new e,e}(),CM=function(){function e(){}return e.value=new e,e}(),nE=function(){function e(){}return e.value=new e,e}(),Cte=function(){function e(){}return e.value=new e,e}(),IM=function(){function e(){}return e.value=new e,e}(),TM=function(){function e(){}return e.value=new e,e}(),oPe=function(){function e(){}return e.value=new e,e}(),iPe=function(){function e(){}return e.value=new e,e}(),W9=function(){function e(){}return e.value=new e,e}(),uPe=function(){function e(){}return e.value=new e,e}(),lPe=function(){function e(){}return e.value=new e,e}(),FM=function(){function e(){}return e.value=new e,e}(),MM=function(){function e(){}return e.value=new e,e}(),cPe=function(){function e(){}return e.value=new e,e}(),GM=function(){function e(){}return e.value=new e,e}(),sPe=function(){function e(){}return e.value=new e,e}(),fPe=function(){function e(){}return e.value=new e,e}(),vPe=function(){function e(){}return e.value=new e,e}(),mPe=function(){function e(){}return e.value=new e,e}(),pPe=function(){function e(){}return e.value=new e,e}(),Sm=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var _Pe=function(e){if(e instanceof rl)return"Jan";if(e instanceof Gl)return"Feb";if(e instanceof ol)return"Mar";if(e instanceof Al)return"Apr";if(e instanceof xl)return"May";if(e instanceof il)return"Jun";if(e instanceof ul)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 Fc)return"Dec";throw new Error("Failed pattern match at Data.Formatter.DateTime (line 489, column 19 - line 501, column 22): "+[e.constructor.name])};var D_=function(e){if(e<0)return"-"+D_(-e|0);if(e<10)return"0"+du(e);if(xe)return du(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 194, column 1 - line 194, column 32): "+[e.constructor.name])},Ite=function(e){if(e<0)return"-"+Ite(-e|0);if(e<10)return"000"+du(e);if(e<100)return"00"+du(e);if(e<1e3)return"0"+du(e);if(xe)return du(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 207, column 1 - line 207, column 35): "+[e.constructor.name])},Tte=function(e){if(e<0)return"-"+Tte(-e|0);if(e<10)return"00"+du(e);if(e<100)return"0"+du(e);if(xe)return du(e);throw new Error("Failed pattern match at Data.Formatter.DateTime (line 200, column 1 - line 200, column 32): "+[e.constructor.name])};var dPe=function(e){var n=du(ZNe(e)),t=Zr(n);return t===1?"0"+n:t===2?n:Jw(t-2|0)(n)};var hPe=function(e){var n=e===0;return n?12:e},gPe=function(e){return function(n){if(n instanceof EM)return Ite(H9(Mc(e.value0)));if(n instanceof Ete)return dPe(H9(Mc(e.value0)));if(n instanceof rPe)return du(H9(Mc(e.value0)));if(n instanceof CM)return KNe(Gc(e.value0));if(n instanceof nE)return _Pe(Gc(e.value0));if(n instanceof Cte)return D_(ePe(Gc(e.value0)));if(n instanceof IM)return D_(yte(i0(e.value0)));if(n instanceof TM)return du(yte(i0(e.value0)));if(n instanceof oPe)return du(Br(function(a){return a/1e3}(nPe(Lne(jne(e))))));if(n instanceof iPe)return du(tPe(PS(e.value0)));if(n instanceof W9)return bte(PS(e.value0));if(n instanceof uPe)return pc(3)(bte(PS(e.value0)));if(n instanceof lPe)return D_(B9(l0(e.value1)));if(n instanceof FM)return D_(hPe(aPe(B9(l0(e.value1)))(12)));if(n instanceof MM){var t=B9(l0(e.value1))>=12;return t?"PM":"AM"}if(n instanceof cPe)return du(Rte(bm(e.value1)));if(n instanceof GM)return D_(Rte(bm(e.value1)));if(n instanceof sPe)return du(wte(ym(e.value1)));if(n instanceof fPe)return D_(wte(ym(e.value1)));if(n instanceof vPe)return Tte(J9(u0(e.value1)));if(n instanceof mPe)return du(function(a){return Ste(a)(100)}(J9(u0(e.value1))));if(n instanceof pPe)return D_(function(a){return Ste(a)(10)}(J9(u0(e.value1))));if(n instanceof Sm)return n.value0;throw new Error("Failed pattern match at Data.Formatter.DateTime (line 169, column 38 - line 192, column 21): "+[n.constructor.name])}},tE=function(e){return function(n){return XNe(gPe(n))(e)}};var Fte=function(e){var n=function(o){return{month:ee(o.satSubjectTestDeadlineMonth),day:ee(o.satSubjectTestDeadlineDay)}},t=function(o){return{month:ee(o.satActDeadlineMonth),day:ee(o.satActDeadlineDay)}},a=function(o){return{month:ee(o.month),day:ee(o.day),isContinuous:ee(o.isContinuous)}},r=function(o){return{deadline:a(o.deadline),notification:a(o.notification)}};return{ipedsUnitId:ee(e.ipedsUnitId),inunId:e.inunId,year:e.year,hasEarlyAdmission:ee(e.hasEarlyAdmission),hasEarlyAction:ee(e.hasEarlyAction),hasEarlyDecision:ee(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 Mte=yn(Dn),q9=gn(Mte)(pn(mn)),Gte=dn(_n),z9=hn(Gte),Ate=wn(Rn),$9=bn(Ate),y_=function(){function e(){}return e.value=new e,e}(),rg=function(){function e(){}return e.value=new e,e}(),og=function(){function e(){}return e.value=new e,e}(),ig=function(){function e(){}return e.value=new e,e}(),DPe={to:function(e){if(e instanceof H)return y_.value;if(e instanceof p&&e.value0 instanceof H)return rg.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return og.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return ig.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 y_)return new H(fe.value);if(e instanceof rg)return new p(new H(fe.value));if(e instanceof og)return new p(new p(new H(fe.value)));if(e instanceof ig)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 23, column 1 - line 23, column 41): "+[e.constructor.name])}};var xte=function(e){if(e instanceof y_)return"reach";if(e instanceof rg)return"hard_target";if(e instanceof og)return"target";if(e instanceof ig)return"safety";throw new Error("Failed pattern match at Hub.Types.Chancing.Classification (line 36, column 13 - line 40, column 21): "+[e.constructor.name])},Lte=function(){return ut(Ge)({parse:An(xte)(Sn(DPe)(q9(q9(q9(Mte)(Gte))(z9))(z9))($9($9($9(Ate))))(z9)),default:y_.value,diagnosticName:"Hub.Types.Chancing.Classification"})}();var V1=function(e){if(e instanceof y_)return"Reach";if(e instanceof rg)return"Hard Target";if(e instanceof og)return"Target";if(e instanceof ig)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 jte=function(e){if(e instanceof y_)return"bg-soft-warning bg-warning-soft text-warning-dark";if(e instanceof rg||e instanceof og)return"bg-soft-primary bg-primary-soft text-primary";if(e instanceof ig)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 Nte=yn(Dn),AM=gn(Nte)(pn(mn)),Pte=dn(_n),xM=hn(Pte),kte=wn(Rn),LM=bn(kte),ug=function(){function e(){}return e.value=new e,e}(),Em=function(){function e(){}return e.value=new e,e}(),p0=function(){function e(){}return e.value=new e,e}(),lg=function(){function e(){}return e.value=new e,e}(),cg=function(){function e(){}return e.value=new e,e}(),yPe={to:function(e){if(e instanceof H)return ug.value;if(e instanceof p&&e.value0 instanceof H)return Em.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return p0.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return lg.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p)return cg.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 ug)return new H(fe.value);if(e instanceof Em)return new p(new H(fe.value));if(e instanceof p0)return new p(new p(new H(fe.value)));if(e instanceof lg)return new p(new p(new p(new H(fe.value))));if(e instanceof cg)return new p(new p(new p(new p(fe.value))));throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 22, column 1 - line 22, column 42): "+[e.constructor.name])}};var bPe=function(e){if(e instanceof ug)return"ArtOrMusicSchool";if(e instanceof Em)return"DisqualifiedGender";if(e instanceof p0)return"TestsRequiredButNoneGiven";if(e instanceof lg)return"SchoolAutoAdmission";if(e instanceof cg)return"OpenAdmission";throw new Error("Failed pattern match at Hub.Types.Chancing.SpecialCaseRule (line 33, column 13 - line 38, column 35): "+[e.constructor.name])},Ote=Zn(Ge)(J)({parse:An(bPe)(Sn(yPe)(AM(AM(AM(AM(Nte)(Pte))(xM))(xM))(xM))(LM(LM(LM(LM(kte)))))(xM)),diagnosticName:"Hub.Types.Chancing.SpecialCaseRule"});var RPe=re(ze),wPe=mt(Le),jM=function(e){return RPe(e)+"%"},SPe=function(e){return function(n){if(n instanceof ug)return new d("art or music school");if(n instanceof Em)return new d(lu(o_(e.gender)));if(n instanceof p0)return C.value;if(n instanceof lg)return C.value;if(n instanceof cg)return new d("open admission");throw new Error("Failed pattern match at Hub.Types.Chancing.Label (line 43, column 40 - line 48, column 41): "+[n.constructor.name])}},Ute=function(e){return function(n){var t=wPe(SPe(e))(n);if(t instanceof d)return"N/A ("+(t.value0+")");if(t instanceof C)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])}},aE=function(e){return function(n){if(n.score instanceof d)return jM(n.score.value0);if(n.score instanceof C)return Ute(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])}},NM=function(e){return function(n){if(n.classification instanceof d)return V1(n.classification.value0);if(n.classification instanceof C)return Ute(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 sg=function(){function e(){}return e.value=new e,e}(),Q1=function(){function e(){}return e.value=new e,e}(),rE=function(){function e(){}return e.value=new e,e}(),b_=function(){function e(){}return e.value=new e,e}(),R_=function(){function e(){}return e.value=new e,e}(),w_=function(){function e(){}return e.value=new e,e}(),S_=function(){function e(){}return e.value=new e,e}();var Hte={eq:function(e){return function(n){return e instanceof sg&&n instanceof sg||e instanceof Q1&&n instanceof Q1||e instanceof rE&&n instanceof rE||e instanceof b_&&n instanceof b_||e instanceof R_&&n instanceof R_||e instanceof w_&&n instanceof w_||e instanceof S_&&n instanceof S_}}};var V9=function(){return[sg.value,Q1.value,rE.value,b_.value,R_.value,w_.value,S_.value]}(),oE=function(e){if(e instanceof sg)return"INTERESTED";if(e instanceof Q1)return"APPLYING";if(e instanceof rE)return"APPLIED";if(e instanceof b_)return"WAITLISTED";if(e instanceof R_)return"ACCEPTED";if(e instanceof w_)return"DENIED";if(e instanceof S_)return"ENROLLED";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 36, column 13 - line 43, column 25): "+[e.constructor.name])},Q9=function(){return ut(Ge)({parse:An(oE)(V9),default:Q1.value,diagnosticName:"SchoolListStatus"})}(),PM=function(e){if(e instanceof sg)return"Considering";if(e instanceof Q1)return"Applying";if(e instanceof rE)return"Applied";if(e instanceof b_)return"Waitlisted";if(e instanceof R_)return"Accepted";if(e instanceof w_)return"Denied";if(e instanceof S_)return"Enrolled";throw new Error("Failed pattern match at Hub.Types.SchoolListStatus (line 47, column 8 - line 54, column 25): "+[e.constructor.name])};var iE=re(ze);var EPe=gr($a);var uE=function(e){return iE(cs(e*100))+"%"},La=function(e){return iE(cs(e*100))+"%"};var Bte=__("0,0"),hu=function(e){return"$"+Bte(e)},Fs=function(e){return Bte(st(e))};var E_=function(e){var n=function(){var a=Dh(st(e))(60),r=a<10;return r?"0"+iE(Br(a)):iE(Br(a))}(),t=iE(EPe(e)(60));return t+(":"+n)};function Jte(e){return e.replace(/[!'()*]/g,function(n){return"%"+n.charCodeAt(0).toString(16)})}function Wte(e,n,t){try{return n(Jte(encodeURIComponent(t)))}catch(a){return e(a)}}function qte(e,n,t){try{return n(Jte(encodeURIComponent(t)).replace(/%20/g,"+"))}catch(a){return e(a)}}var Y9=function(){return qv(Wte)(an(C.value))(d.create)}();var kM=function(){return qv(qte)(an(C.value))(d.create)}();var zte=za();var IPe=Qe(Xe);var OM=function(e){var n=function(o){return function(i){return Ee(i)(v1(o)(i))}},t=function(o){return function(i){return Ee(i)(mc(o)(i))}},a=t("https://")(t("http://")(e)),r=n("/")(t("www.")(a));return{siteName:r,url:"http://"+a}},Ms=function(e){return function(n){var t=function(){var o=ms("?")(n);return o?"&":"?"}(),a=zte(Y9(e.value)),r=zte(Y9(e.key));return n+(t+(r+("="+a)))}},Cm=function(e){if(e.value instanceof C)return IPe;if(e.value instanceof d)return Ms({key:e.key,value:e.value.value0});throw new Error("Failed pattern match at Utils.URL (line 46, column 1 - line 46, column 73): "+[e.constructor.name])};var UM=function(){function e(){}return e.value=new e,e}(),xPe=function(){function e(){}return e.value=new e,e}(),LPe=function(){function e(){}return e.value=new e,e}(),jPe=function(){function e(){}return e.value=new e,e}(),NPe=function(){function e(){}return e.value=new e,e}(),PPe=function(){function e(){}return e.value=new e,e}(),kPe=function(){function e(){}return e.value=new e,e}(),OPe=function(){function e(){}return e.value=new e,e}(),UPe=function(){function e(){}return e.value=new e,e}(),HPe=function(){function e(){}return e.value=new e,e}(),BPe=function(){function e(){}return e.value=new e,e}(),JPe=function(){function e(){}return e.value=new e,e}(),WPe=function(){function e(){}return e.value=new e,e}(),qPe=function(){function e(){}return e.value=new e,e}(),zPe=function(){function e(){}return e.value=new e,e}(),$Pe=function(){function e(){}return e.value=new e,e}(),VPe=function(){function e(){}return e.value=new e,e}(),HM=function(){function e(){}return e.value=new e,e}(),QPe=function(){function e(){}return e.value=new e,e}(),YPe=function(){function e(){}return e.value=new e,e}(),$te=function(){function e(){}return e.value=new e,e}(),XPe=function(){function e(){}return e.value=new e,e}(),ZPe=function(){function e(){}return e.value=new e,e}(),KPe=function(){function e(){}return e.value=new e,e}(),Vte=function(){function e(){}return e.value=new e,e}(),eke=function(){function e(){}return e.value=new e,e}(),nke=function(){function e(){}return e.value=new e,e}(),tke=function(){function e(){}return e.value=new e,e}(),ake=function(){function e(){}return e.value=new e,e}(),BM=function(){function e(){}return e.value=new e,e}(),rke=function(){function e(){}return e.value=new e,e}(),oke=function(){function e(){}return e.value=new e,e}(),ike=function(){function e(){}return e.value=new e,e}(),uke=function(){function e(){}return e.value=new e,e}(),lke=function(){function e(){}return e.value=new e,e}(),JM=function(){function e(){}return e.value=new e,e}(),cke=function(){function e(){}return e.value=new e,e}(),ske=function(){function e(){}return e.value=new e,e}(),fke=function(){function e(){}return e.value=new e,e}(),vke=function(){function e(){}return e.value=new e,e}(),mke=function(){function e(){}return e.value=new e,e}(),pke=function(){function e(){}return e.value=new e,e}(),_ke=function(){function e(){}return e.value=new e,e}(),WM=function(){function e(){}return e.value=new e,e}(),dke=function(){function e(){}return e.value=new e,e}(),Qte=function(){function e(){}return e.value=new e,e}(),hke=function(){function e(){}return e.value=new e,e}(),Yte=function(){function e(){}return e.value=new e,e}(),gke=function(){function e(){}return e.value=new e,e}(),qM=function(){function e(){}return e.value=new e,e}(),Dke=function(){function e(){}return e.value=new e,e}(),Xte=function(){function e(){}return e.value=new e,e}(),yke=function(){function e(){}return e.value=new e,e}(),bke=function(){function e(){}return e.value=new e,e}(),Rke=function(){function e(){}return e.value=new e,e}(),wke=function(){function e(){}return e.value=new e,e}();var St=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sl=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var Ske=function(e){return e instanceof UM?new d(`
      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 qM?new d(`
      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 Vte?new d(`
      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 Yte?new d(`
      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 JM?new d(`
      Students who do not hold citizenship or permanent residence in the US.
      Schools do not report diversity data among international students.
    `):e instanceof HM?new d(`
      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 BM?new d(`
      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 $te?new d(`
      Filter your search to only schools that offer the major(s) or program(s)
      you select here.
    `):e instanceof WM?new d(`
      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 Qte?new d(`
      Policies change during COVID-19; please confirm by looking at school
      websites
    `):e instanceof Xte?new d(`
      TOEFL policies are only applicable to international students
    `):C.value},_0=function(){var e=Ee("");return function(n){return e(Ske(n))}}();var Zte=function(e){if(e instanceof St&&e.value0 instanceof UM)return"AcceptanceRate";if(e instanceof St&&e.value0 instanceof xPe)return"AcceptanceRateMen";if(e instanceof St&&e.value0 instanceof LPe)return"AcceptanceRateWomen";if(e instanceof St&&e.value0 instanceof jPe)return"Address";if(e instanceof St&&e.value0 instanceof NPe)return"AdmissionChances";if(e instanceof St&&e.value0 instanceof PPe)return"AdmissionDifficulty";if(e instanceof St&&e.value0 instanceof kPe)return"AdmissionsNotificationDate";if(e instanceof St&&e.value0 instanceof OPe)return"AdmissionsWebsite";if(e instanceof St&&e.value0 instanceof UPe)return"AppDeadlineIsRolling";if(e instanceof St&&e.value0 instanceof HPe)return"ApplicationEffort";if(e instanceof St&&e.value0 instanceof BPe)return"ApplicationRound";if(e instanceof St&&e.value0 instanceof JPe)return"BasketballConference";if(e instanceof St&&e.value0 instanceof WPe)return"CampusSetting";if(e instanceof St&&e.value0 instanceof qPe)return"City";if(e instanceof St&&e.value0 instanceof zPe)return"ClassRank";if(e instanceof St&&e.value0 instanceof $Pe)return"CoEdSingleSex";if(e instanceof St&&e.value0 instanceof VPe)return"CollegeType";if(e instanceof St&&e.value0 instanceof HM)return"CommuterCollege";if(e instanceof St&&e.value0 instanceof QPe)return"Diversity";if(e instanceof St&&e.value0 instanceof YPe)return"DropoutRate";if(e instanceof St&&e.value0 instanceof XPe)return"FinancialAidWebsite";if(e instanceof St&&e.value0 instanceof ZPe)return"FirstYearEnrollment";if(e instanceof St&&e.value0 instanceof KPe)return"FootballConference";if(e instanceof St&&e.value0 instanceof Vte)return"FourYearGraduationRate";if(e instanceof St&&e.value0 instanceof eke)return"HasDivisionOneBasketball";if(e instanceof St&&e.value0 instanceof nke)return"HasDivisionOneFootball";if(e instanceof St&&e.value0 instanceof tke)return"HasMedicalSchool";if(e instanceof St&&e.value0 instanceof ake)return"HasStudyAbroad";if(e instanceof St&&e.value0 instanceof BM)return"HBCU";if(e instanceof St&&e.value0 instanceof rke)return"InListStatus";if(e instanceof St&&e.value0 instanceof oke)return"MainWebsite";if(e instanceof St&&e.value0 instanceof $te)return"Majors";if(e instanceof St&&e.value0 instanceof ike)return"Name";if(e instanceof St&&e.value0 instanceof uke)return"NetCostEstimate";if(e instanceof St&&e.value0 instanceof lke)return"Notes";if(e instanceof St&&e.value0 instanceof JM)return"PercentInternationalStudents";if(e instanceof St&&e.value0 instanceof cke)return"Phone";if(e instanceof St&&e.value0 instanceof ske)return"Photo";if(e instanceof St&&e.value0 instanceof fke)return"Prestige";if(e instanceof St&&e.value0 instanceof vke)return"ProgramLength";if(e instanceof St&&e.value0 instanceof mke)return"PublicPrivate";if(e instanceof St&&e.value0 instanceof pke)return"RecommendationLetters";if(e instanceof St&&e.value0 instanceof _ke)return"Region";if(e instanceof St&&e.value0 instanceof WM)return"ReligiousAffiliation";if(e instanceof St&&e.value0 instanceof dke)return"SatActDeadline";if(e instanceof St&&e.value0 instanceof Qte)return"SatActTestPolicy";if(e instanceof St&&e.value0 instanceof hke)return"SatSubjectTestDeadline";if(e instanceof St&&e.value0 instanceof Yte)return"SixYearGraduationRate";if(e instanceof St&&e.value0 instanceof gke)return"State";if(e instanceof St&&e.value0 instanceof qM)return"StudentFacultyRatio";if(e instanceof St&&e.value0 instanceof Dke)return"SubmissionDeadline";if(e instanceof St&&e.value0 instanceof Xte)return"TOEFLPolicy";if(e instanceof St&&e.value0 instanceof yke)return"TotalUndergrads";if(e instanceof St&&e.value0 instanceof bke)return"TuitionInState";if(e instanceof St&&e.value0 instanceof Rke)return"TuitionOutOfState";if(e instanceof St&&e.value0 instanceof wke)return"YieldRate";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof jf)return"RankingArchitecture";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Nf)return"RankingBusiness";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Pf)return"RankingChemistry";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof kf)return"RankingComputerScience";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Of)return"RankingCriminalJusticeAndCorrections";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Uf)return"RankingEconomics";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Hf)return"RankingEngineering";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Bf)return"RankingEnglish";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Jf)return"RankingFilm";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof Wf)return"RankingFinance";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof qf)return"RankingHistory";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof zf)return"RankingPoliticalScience";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof $f)return"RankingPreMed";if(e instanceof sl&&e.value0 instanceof Ia&&e.value0.value0 instanceof gm)return"RankingPsychology";if(e instanceof sl&&e.value0 instanceof r_)return"OverallRanking";throw new Error("Failed pattern match at Hub.Facet (line 305, column 6 - line 376, column 43): "+[e.constructor.name])};var Eke=function(){function e(){}return e.value=new e,e}(),Cke=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ike=function(){function e(){}return e.value=new e,e}();var Kte=function(e){if(e instanceof Eke)return"filters";if(e instanceof Cke)return"filter:"+Zte(e.value0);if(e instanceof Ike)return"rankings";throw new Error("Failed pattern match at Hub.Visuals.MobileOverlay (line 34, column 26 - line 37, column 39): "+[e.constructor.name])};function eae(e,n){typeof CV!="undefined"&&CV.tracking&&CV.tracking.event(e,n)}var Tke=Sa(),Fke=Qe(Xe),Mke=Gw(),zM=function(){return function(e){return function(n){var t=Tke(e);return function(){var a=Rr(t.utmContent);if(a instanceof d)return Ms({key:"utm_content",value:a.value0});if(a instanceof C)return Fke;throw new Error("Failed pattern match at Utils.Tracking (line 52, column 5 - line 56, column 17): "+[a.constructor.name])}()(Ms({key:"utm_campaign",value:t.utmCampaign})(Ms({key:"utm_source",value:Un(t.utmSource)("collegevine.com")})(n)))}}},Gke=function(e){var n=Bn(e);return function(t){return function(a){return n(function(){return eae(t,a)})}}},lE=function(e){var n=Gke(e);return function(){return function(t){return function(a){return n(t)(Mke(a))}}}};var cE=function(){function e(){}return e.value=new e,e}(),Ake=function(){function e(){}return e.value=new e,e}(),xke=function(){function e(){}return e.value=new e,e}(),Lke=function(){function e(){}return e.value=new e,e}(),X9=function(e){if(e instanceof cE)return"school-detail";if(e instanceof Ake)return"school-connections";if(e instanceof xke)return"explore-schools";if(e instanceof Lke)return"school-list";throw new Error("Failed pattern match at Hub.Tracker (line 16, column 28 - line 24, column 18): "+[e.constructor.name])};var Xf=function(){function e(){}return e.value=new e,e}(),Zf=function(){function e(){}return e.value=new e,e}(),Im=function(){function e(){}return e.value=new e,e}(),$M={show:function(e){if(e instanceof Xf)return"SAT";if(e instanceof Zf)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 sE=function(e){return e==="SAT"?new d(Xf.value):e==="ACT"?new d(Zf.value):e==="SATAndACT"?new d(Im.value):C.value};function nae(e,n,t,a){return a==null?e:n(a[t])}var jke=function(e){var n=Mh(e),t=z(If(e));return function(a){return function(r){return nae(n(new Yw("object",L8(r))),t,a,r)}}},Y1=function(e){return jke(e)};var Pke=on();var fE=function(e){return Pke(PF(e))};var go=function(e){return oc(fE(e))};var Oke=oa(Te)(ft),Uke=re($M);var X1=K(Le),tae=Tf(ga),Z9=K(Yv(ga)),K9=Y1(ga),ej=Gh(ga),aae=Hn(Mn)(Le),rae=Xr(Fo),oae=z(On),Hke=Pt(Ur),vE=function(){function e(){}return e.value=new e,e}(),d0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nj={show:function(e){if(e instanceof vE)return"ATOStrongest";if(e instanceof d0)return Oke(["(ATOWithCloseTests ",Uke(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 Bke=function(e){return X1(go(tae("Object")(e)))(function(n){return X1(go(Z9(K9("tag")(n))(ej)))(function(t){return aae(rae(t==="ATOWithCloseTests"))(function(){return X1(X1(go(Z9(K9("contents")(n))(ej)))(sE))(function(a){return oae(new d0(a))})})})})},Jke=function(e){return X1(go(tae("Object")(e)))(function(n){return X1(go(Z9(K9("tag")(n))(ej)))(function(t){return aae(rae(t==="ATOStrongest"))(function(){return oae(vE.value)})})})},iae=function(e){return Hke(Jke(e))(Bke(e))};var uae=yn(Dn),lae=gn(uae)(pn(mn)),cae=dn(_n),sae=hn(cae),fae=wn(Rn),vae=bn(fae),Ka=function(){function e(){}return e.value=new e,e}(),wr=function(){function e(){}return e.value=new e,e}(),qr=function(){function e(){}return e.value=new e,e}(),Wke={to:function(e){if(e instanceof H)return Ka.value;if(e instanceof p&&e.value0 instanceof H)return wr.value;if(e instanceof p&&e.value0 instanceof p)return qr.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 Ka)return new H(fe.value);if(e instanceof wr)return new p(new H(fe.value));if(e instanceof qr)return new p(new p(fe.value));throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 16, column 1 - line 16, column 46): "+[e.constructor.name])}},Z1={eq:function(e){return function(n){return e instanceof Ka&&n instanceof Ka||e instanceof wr&&n instanceof wr||e instanceof qr&&n instanceof qr}}},VM={compare:function(e){return function(n){if(e instanceof Ka&&n instanceof Ka)return Fe.value;if(e instanceof Ka)return Se.value;if(n instanceof Ka)return we.value;if(e instanceof wr&&n instanceof wr)return Fe.value;if(e instanceof wr)return Se.value;if(n instanceof wr)return we.value;if(e instanceof qr&&n instanceof qr)return Fe.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 Z1}},mae=function(e){if(e instanceof Ka)return"ApplyTestOptional";if(e instanceof wr)return"ApplyWithSat";if(e instanceof qr)return"ApplyWithAct";throw new Error("Failed pattern match at Chancing.Types.ApplicationStrategy (line 21, column 13 - line 24, column 33): "+[e.constructor.name])},QM={show:mae},YM=function(){return ut(Ge)({default:Ka.value,diagnosticName:"ApplicationStrategy",parse:An(mae)(Sn(Wke)(lae(lae(uae)(cae))(sae))(vae(vae(fae)))(sae))})}();var pae=zo(),zke=N(im);var $ke=function(e){var n=Nw(function(r,o,i){return new d(new Ue(r,i))})(function(r){return C.value}),t=Nw(function(r,o,i){return new Ue(r,i)})(function(r){return fc("toUnfoldable1: impossible")}),a=Pp(e)(function(r){return zke(n)(r)});return function(r){return a(t(jw(CY(pae(r)))))}},Vke=$ke(gF);var K1=pae(IY),_ae=function(e){var n=re(qQ(e));return{show:function(t){return"(fromFoldable1 "+(n(Vke(t))+")")}}},Qke=function(e){return TY(e)};var Yke=function(e){var n=FY(e);return n?C.value:new d(e)};var dae=function(e){var n=KD(e);return function(t){return n(Qke(t))(K1)}},hae=function(e){var n=IF(e);return function(t){var a=n(t);return function(r){return Yke(a(r))}}};var tj=function(e){return GY(e)};var gae=re($M),Xke=oa(Te)(ft),Zke=re(_ae(QM));var Ol=K(Le),Dae=Tf(ga),XM=K(Yv(ga)),ZM=Y1(ga),mE=Gh(ga),yae=Hn(Mn)(Le),bae=Xr(Fo),Rae=sX(ga),Kke=Mo(wi)(If(ga)),eOe=hae(Te)(VM),nOe=N(ge),wae=z(On),tOe=Pt(Ur),Gs=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Oc=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}(),aj={show:function(e){if(e instanceof Gs)return"(AWTStrongest "+(gae(e.value0)+")");if(e instanceof Oc)return Xke(["(AWTWithCloseStrategies ",gae(e.value0)," ",Zke(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 aOe=function(e){return Ol(go(Dae("Object")(e)))(function(n){return Ol(go(XM(ZM("tag")(n))(mE)))(function(t){return yae(bae(t==="AWTWithCloseStrategies"))(function(){return Ol(Ol(go(XM(ZM("contents")(n))(Rae)))(ls))(function(a){return Ol(Ol(go(mE(Hp(a))))(sE))(function(r){return Ol(Ol(Lw(a)(1))(function(o){return go(Rae(o))}))(function(o){return Ol(go(Kke(mE)(o)))(function(i){return Ol(eOe(nOe(YM)(i)))(function(u){return wae(new Oc(r,u))})})})})})})})})},rOe=function(e){return Ol(go(Dae("Object")(e)))(function(n){return Ol(go(XM(ZM("tag")(n))(mE)))(function(t){return yae(bae(t==="AWTStrongest"))(function(){return Ol(Ol(go(XM(ZM("contents")(n))(mE)))(sE))(function(a){return wae(new Gs(a))})})})})},Sae=function(e){return tOe(rOe(e))(aOe(e))};var C_=K(Le),Eae=Tf(ga),Cae=K(Yv(ga)),KM=Y1(ga),Iae=Gh(ga),Tae=Hn(Mn)(Le),Fae=Xr(Fo),Mae=z(On),oOe=Pt(Ur),rj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),oj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var iOe=function(e){return C_(go(Eae("Object")(e)))(function(n){return C_(go(Cae(KM("tag")(n))(Iae)))(function(t){return Tae(Fae(t==="GuidanceApplyWithTest"))(function(){return C_(go(KM("contents")(n)))(function(a){return C_(Sae(a))(function(r){return Mae(new oj(r))})})})})})},uOe=function(e){return C_(go(Eae("Object")(e)))(function(n){return C_(go(Cae(KM("tag")(n))(Iae)))(function(t){return Tae(Fae(t==="GuidanceApplyTestOptional"))(function(){return C_(go(KM("contents")(n)))(function(a){return C_(iae(a))(function(r){return Mae(new rj(r))})})})})})},Gae=Zn(Ge)(J)({parse:function(e){return oOe(uOe(e))(iOe(e))},diagnosticName:"Chancing Guidance"});var Aae=function(){function e(){}return e.value=new e,e}(),lOe=function(){function e(){}return e.value=new e,e}();var xae=function(){return ut(Ge)({default:Aae.value,parse:function(e){return e==="BelowAcademicThreshold"?new d(Aae.value):e==="AboveAcademicThreshold"?new d(lOe.value):C.value},diagnosticName:"Chancing.AcademicThresholdStatus"})}();var ij=K(Le),cOe=z(On),Tm=function(){function e(){}return e.value=new e,e}(),Fm=function(){function e(){}return e.value=new e,e}(),Kf=function(){function e(){}return e.value=new e,e}(),Uc=function(){function e(){}return e.value=new e,e}();var uj=function(){return ut(Ge)({default:Uc.value,parse:function(e){return e==="PSWeak"?new d(Kf.value):e==="PSFair"?new d(Fm.value):e==="PSStrong"?new d(Tm.value):C.value},diagnosticName:"Chancing.ScoreProgress"})}(),pE=function(e){var n=ih(e);return function(t){return function(a){return Ee(Uc.value)(ij(t)(function(r){return ij(a.p50)(function(o){return ij(a.p75)(function(i){return cOe(function(){var u=n(r)(o);if(u)return Kf.value;var l=n(r)(i);return l?Fm.value:Tm.value}())})})}))}}};var sOe=N(J),fOe=mt(Le),lj=function(e){return{applicationStrategy:YM(e.applicationStrategy),isRecommendedStrategy:e.isRecommendedStrategy,classification:sOe(Lte)(ee(e.classification)),score:ee(e.score),academicThresholdStatus:xae(e.academicThresholdStatus),shouldApplyTestOptional:e.shouldApplyTestOptional,ecStrength:Oe(Uc.value)(uj)(ee(e.ecStrength)),courseRigorStrength:Oe(Uc.value)(uj)(ee(e.courseRigorStrength)),specialCase:fOe(Ote)(ee(e.specialCase))}};var vOe=N(ge),mOe=mt(Le),I_=function(e){return{top:lj(e.top),all:vOe(lj)(e.all),guidance:mOe(Gae)(ee(e.guidance)),sameDemographicStats:hee(ee(e.sameDemographicStats))}};var pOe=Jo(Yu),_Oe=qn(Pa),Lae=N(J),dOe=XD(Te)(Yu),hOe=Rf(wi)(On);var T_=function(e){return _Oe(Lae(pOe)(e.sat.readingWriting))(e.sat.math)};var gOe=function(e){return cs(st(dOe(e))/4)};var F_=function(e){return Lae(gOe)(hOe([e.act.math,e.act.english,e.act.reading,e.act.science]))};var _E=function(){function e(){}return e.value=new e,e}(),ey=function(){function e(){}return e.value=new e,e}();var Mm=function(){function e(){}return e.value=new e,e}(),Gm=function(){function e(){}return e.value=new e,e}(),Am=function(){function e(){}return e.value=new e,e}(),xm=function(){function e(){}return e.value=new e,e}(),Lm=function(){function e(){}return e.value=new e,e}(),jm=function(){function e(){}return e.value=new e,e}(),Nm=function(){function e(){}return e.value=new e,e}(),Pm=function(){function e(){}return e.value=new e,e}(),km=function(){function e(){}return e.value=new e,e}(),Om=function(){function e(){}return e.value=new e,e}(),Um=function(){function e(){}return e.value=new e,e}(),Hm=function(){function e(){}return e.value=new e,e}(),Bm=function(){function e(){}return e.value=new e,e}(),Jm=function(){function e(){}return e.value=new e,e}(),Wm=function(){function e(){}return e.value=new e,e}(),qm=function(){function e(){}return e.value=new e,e}(),zm=function(){function e(){}return e.value=new e,e}(),$m=function(){function e(){}return e.value=new e,e}(),h0=function(){function e(){}return e.value=new e,e}(),ny={show:function(e){if(e instanceof Mm)return"Sports";if(e instanceof Gm)return"CommService";if(e instanceof Am)return"Hobbies";if(e instanceof xm)return"NonArtComps";if(e instanceof Lm)return"Politics";if(e instanceof jm)return"Drama";if(e instanceof Nm)return"VisualArts";if(e instanceof Pm)return"Music";if(e instanceof km)return"Writing";if(e instanceof Om)return"HonorSocieties";if(e instanceof Um)return"Employment";if(e instanceof Hm)return"OwnInitiative";if(e instanceof Bm)return"StudentGov";if(e instanceof Jm)return"InterestClubs";if(e instanceof Wm)return"AffinityGroups";if(e instanceof qm)return"Research";if(e instanceof zm)return"SummerPrograms";if(e instanceof $m)return"Software";if(e instanceof h0)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 dE={eq:function(e){return function(n){return e instanceof Mm&&n instanceof Mm||e instanceof Gm&&n instanceof Gm||e instanceof Am&&n instanceof Am||e instanceof xm&&n instanceof xm||e instanceof Lm&&n instanceof Lm||e instanceof jm&&n instanceof jm||e instanceof Nm&&n instanceof Nm||e instanceof Pm&&n instanceof Pm||e instanceof km&&n instanceof km||e instanceof Om&&n instanceof Om||e instanceof Um&&n instanceof Um||e instanceof Hm&&n instanceof Hm||e instanceof Bm&&n instanceof Bm||e instanceof Jm&&n instanceof Jm||e instanceof Wm&&n instanceof Wm||e instanceof qm&&n instanceof qm||e instanceof zm&&n instanceof zm||e instanceof $m&&n instanceof $m||e instanceof h0&&n instanceof h0}}};var ty=function(e){return e==="Sports"?new d(Mm.value):e==="CommService"?new d(Gm.value):e==="Hobbies"?new d(Am.value):e==="NonArtComps"?new d(xm.value):e==="Politics"?new d(Lm.value):e==="Drama"?new d(jm.value):e==="VisualArts"?new d(Nm.value):e==="Music"?new d(Pm.value):e==="Writing"?new d(km.value):e==="HonorSocieties"?new d(Om.value):e==="Employment"?new d(Um.value):e==="OwnInitiative"?new d(Hm.value):e==="StudentGov"?new d(Bm.value):e==="InterestClubs"?new d(Jm.value):e==="AffinityGroups"?new d(Wm.value):e==="Research"?new d(qm.value):e==="SummerPrograms"?new d(zm.value):e==="Software"?new d($m.value):e==="Other"?new d(h0.value):C.value};var M_=function(e){if(e instanceof Mm)return"Sports";if(e instanceof Gm)return"Community Service";if(e instanceof Am)return"Hobbies";if(e instanceof xm)return"Non-Art Competitions";if(e instanceof Lm)return"Politics";if(e instanceof jm)return"Drama";if(e instanceof Nm)return"Visual Arts";if(e instanceof Pm)return"Music";if(e instanceof km)return"Writing";if(e instanceof Om)return"Honor Societies";if(e instanceof Um)return"Employment";if(e instanceof Hm)return"Own Initiative";if(e instanceof Bm)return"Student Government";if(e instanceof Jm)return"Interest Clubs";if(e instanceof Wm)return"Affinity Groups";if(e instanceof qm)return"Research";if(e instanceof zm)return"Summer Programs";if(e instanceof $m)return"Software";if(e instanceof h0)return"Other";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECCategory (line 108, column 11 - line 127, column 19): "+[e.constructor.name])},jae=function(){return[Mm.value,Gm.value,Am.value,xm.value,Lm.value,jm.value,Nm.value,Pm.value,km.value,Om.value,Um.value,Hm.value,Bm.value,Jm.value,Wm.value,qm.value,zm.value,$m.value]}();var Nae=yn(Dn),ev=gn(Nae)(pn(mn)),Pae=dn(_n),nv=hn(Pae),cj=ev(ev(ev(ev(ev(ev(ev(ev(ev(ev(ev(Nae)(Pae))(nv))(nv))(nv))(nv))(nv))(nv))(nv))(nv))(nv))(nv);var kae=wn(Rn),tv=bn(kae),Oae=tv(tv(tv(tv(tv(tv(tv(tv(tv(tv(tv(kae))))))))))),DOe=Z(J),yOe=N(ge),hE=function(){function e(){}return e.value=new e,e}(),gE=function(){function e(){}return e.value=new e,e}(),DE=function(){function e(){}return e.value=new e,e}(),yE=function(){function e(){}return e.value=new e,e}(),Qi=function(){function e(){}return e.value=new e,e}(),Tr=function(){function e(){}return e.value=new e,e}(),_r=function(){function e(){}return e.value=new e,e}(),Nr=function(){function e(){}return e.value=new e,e}(),Do=function(){function e(){}return e.value=new e,e}(),Sr=function(){function e(){}return e.value=new e,e}(),Yi=function(){function e(){}return e.value=new e,e}(),mi=function(){function e(){}return e.value=new e,e}(),Pi=function(){function e(){}return e.value=new e,e}(),yo=function(){function e(){}return e.value=new e,e}(),Ul=function(){function e(){}return e.value=new e,e}(),fl=function(){function e(){}return e.value=new e,e}(),G_={to:function(e){if(e instanceof H)return Qi.value;if(e instanceof p&&e.value0 instanceof H)return Tr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return _r.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return Nr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return Do.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return Sr.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return Yi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return mi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Pi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return yo.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof H)return Ul.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0.value0.value0.value0 instanceof p)return fl.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 Qi)return new H(fe.value);if(e instanceof Tr)return new p(new H(fe.value));if(e instanceof _r)return new p(new p(new H(fe.value)));if(e instanceof Nr)return new p(new p(new p(new H(fe.value))));if(e instanceof Do)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof Sr)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof Yi)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof mi)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof Pi)return new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))));if(e instanceof yo)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))))));if(e instanceof Ul)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new H(fe.value)))))))))));if(e instanceof fl)return new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(new p(fe.value)))))))))));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 60, column 1 - line 60, column 33): "+[e.constructor.name])}},As={eq:function(e){return function(n){return e instanceof Qi&&n instanceof Qi||e instanceof Tr&&n instanceof Tr||e instanceof _r&&n instanceof _r||e instanceof Nr&&n instanceof Nr||e instanceof Do&&n instanceof Do||e instanceof Sr&&n instanceof Sr||e instanceof Yi&&n instanceof Yi||e instanceof mi&&n instanceof mi||e instanceof Pi&&n instanceof Pi||e instanceof yo&&n instanceof yo||e instanceof Ul&&n instanceof Ul||e instanceof fl&&n instanceof fl}}},bOe=_e(As),ROe={compare:function(e){return function(n){if(e instanceof Qi&&n instanceof Qi)return Fe.value;if(e instanceof Qi)return Se.value;if(n instanceof Qi)return we.value;if(e instanceof Tr&&n instanceof Tr)return Fe.value;if(e instanceof Tr)return Se.value;if(n instanceof Tr)return we.value;if(e instanceof _r&&n instanceof _r)return Fe.value;if(e instanceof _r)return Se.value;if(n instanceof _r)return we.value;if(e instanceof Nr&&n instanceof Nr)return Fe.value;if(e instanceof Nr)return Se.value;if(n instanceof Nr)return we.value;if(e instanceof Do&&n instanceof Do)return Fe.value;if(e instanceof Do)return Se.value;if(n instanceof Do)return we.value;if(e instanceof Sr&&n instanceof Sr)return Fe.value;if(e instanceof Sr)return Se.value;if(n instanceof Sr)return we.value;if(e instanceof Yi&&n instanceof Yi)return Fe.value;if(e instanceof Yi)return Se.value;if(n instanceof Yi)return we.value;if(e instanceof mi&&n instanceof mi)return Fe.value;if(e instanceof mi)return Se.value;if(n instanceof mi)return we.value;if(e instanceof Pi&&n instanceof Pi)return Fe.value;if(e instanceof Pi)return Se.value;if(n instanceof Pi)return we.value;if(e instanceof yo&&n instanceof yo)return Fe.value;if(e instanceof yo)return Se.value;if(n instanceof yo)return we.value;if(e instanceof Ul&&n instanceof Ul)return Fe.value;if(e instanceof Ul)return Se.value;if(n instanceof Ul)return we.value;if(e instanceof fl&&n instanceof fl)return Fe.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 As}},Uae={succ:s2(G_)(cj),pred:dK(G_)(cj),Ord0:function(){return ROe}};var Hae=function(e){if(e instanceof Qi)return"A";if(e instanceof Tr)return"B";if(e instanceof _r)return"C";if(e instanceof Nr)return"D";if(e instanceof Do)return"E";if(e instanceof Sr)return"F";if(e instanceof Yi)return"G";if(e instanceof mi)return"H";if(e instanceof Pi)return"I";if(e instanceof yo)return"J";if(e instanceof Ul)return"K";if(e instanceof fl)return"L";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 43, column 13 - line 55, column 13): "+[e.constructor.name])},Bae={show:Hae},Jae=An(Hae)(Sn(G_)(cj)(Oae)(nv)),sj=function(e){if(e instanceof Qi)return{group:hE.value,subGroup:"a"};if(e instanceof Tr)return{group:hE.value,subGroup:"b"};if(e instanceof _r)return{group:hE.value,subGroup:"c"};if(e instanceof Nr)return{group:gE.value,subGroup:"a"};if(e instanceof Do)return{group:gE.value,subGroup:"b"};if(e instanceof Sr)return{group:gE.value,subGroup:"c"};if(e instanceof Yi)return{group:DE.value,subGroup:"a"};if(e instanceof mi)return{group:DE.value,subGroup:"b"};if(e instanceof Pi)return{group:DE.value,subGroup:"c"};if(e instanceof yo)return{group:yE.value,subGroup:"a"};if(e instanceof Ul)return{group:yE.value,subGroup:"b"};if(e instanceof fl)return{group:yE.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])},Wae=hK(G_)(Oae),wOe=function(e){return function(n){if(n instanceof hE)return"1";if(n instanceof gE)return"2";if(n instanceof DE)return"3";if(n instanceof yE)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}(sj(e)))},fj=function(e){return wOe(e)+sj(e).subGroup},ay=function(e){return fj(e)+(": "+function(){var n=sj(e).group;if(n instanceof hE)return"Exceptional";if(n instanceof gE)return"Very strong";if(n instanceof DE)return"Strong";if(n instanceof yE)return"Standard";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 75, column 39 - line 79, column 25): "+[n.constructor.name])}())},qae=function(){var e=function(n){return function(t){return{tier:n,description:t}}};return function(n){if(n instanceof Mm)return[e(Qi.value)(["I play for the youth national team at my age group in this sport","I am a national champion in this sport"]),e(Tr.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(_r.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(Nr.value)(["I'm a varsity athlete with top all-conference/region or conference/region award"]),e(Do.value)(["I'm a varsity athlete with all-conference/region or conference/region award","I am the captain of the varsity team"]),e(Sr.value)(["I'm a varsity athlete in this sport"]),e(mi.value)(["I'm a JV athlete that won an award in this sport","I am the JV team captain"]),e(yo.value)(["I'm a JV athlete in this sport"]),e(fl.value)(["I play this sport recreationally"])];if(n instanceof Gm)return[e(Tr.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(_r.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(Nr.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(Do.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(Sr.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(mi.value)(["I won a community service award either in a school club or in an out of school organization"]),e(Pi.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(yo.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(fl.value)(["I have less than 30 volunteer hours"])];if(n instanceof Am)return[e(Tr.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(_r.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(Sr.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(yo.value)(["I have participated in this hobby for an extended period of time"])];if(n instanceof xm)return[e(Qi.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(Tr.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(_r.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(Nr.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(Do.value)(["I won a state level individual award in this activity","I held the highest school level leadership in this activity"]),e(Sr.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(Yi.value)(["I was part of a team that reached the state level competition in this activity in a competitive process"]),e(Pi.value)(["I competed at the state or regional level in this activity","I won a school level award in this activity"]),e(Ul.value)(["I competed at the local or school level in this activity"])];if(n instanceof Lm)return[e(Tr.value)(["I worked a substantial, paid strategy role for a national level political campaign (Congressional or higher)"]),e(_r.value)(["I worked a substantial, paid strategy role for a state level political campaign"]),e(Nr.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(Do.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(Sr.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(yo.value)(["I canvassed for a state or national level political campaign","I am a member of political interest club at my school"]),e(Ul.value)(["I canvassed or phone banked for local level political campaign"])];if(n instanceof jm)return[e(_r.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(Nr.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(Do.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(Sr.value)(["I had a non-lead but highly important role in school play"]),e(Yi.value)(["I performed a substantial role in a school play"]),e(mi.value)(["I performed a role in a non-student play at a theater in my city"]),e(Pi.value)(["I performed a role with lines in a school play","I was a member of the stage crew or Pit orchestra"]),e(Ul.value)(["I was an extra in the school play"])];if(n instanceof Nm)return[e(Qi.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(Tr.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(_r.value)(["I won a Gold Key art award from Scholastic","I had a film screened at an accredited regional film festival"]),e(Nr.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(Do.value)(["I won a city or regional art award","I screened a film at citywide or regional film festival"]),e(Sr.value)(["I held school level leadership in an art or film club","I won the national Scholastic Silver Key award"]),e(mi.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(yo.value)(["I am a member of my school's art or film club"]),e(fl.value)(["I draw, paint, or make videos for fun"])];if(n instanceof Pm)return[e(Qi.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(Tr.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(_r.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(Nr.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(Do.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(Sr.value)(["I am the principal player/section leader for the highest school/non-school musical group in my school/town"]),e(Yi.value)(["If my school has multiple groups, I am a member of the highest group in my school"]),e(yo.value)(["I am a member of a music group inside or outside school"]),e(fl.value)(["I play an instrument or sing recreationally"])];if(n instanceof km)return[e(Qi.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(Tr.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(_r.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(Nr.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(Do.value)(["I published a full-length book or books through Amazon (total length <100 pages) or self-publishing"]),e(Sr.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(mi.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(Pi.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(yo.value)(["I contributed 1-2 articles to a school newspaper or publication"]),e(fl.value)(["I write for fun"])];if(n instanceof Om)return[e(Tr.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(_r.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(Nr.value)(["I was the president of a school or local level honor society"]),e(Sr.value)(["I held leadership in school or local honor society"]),e(Yi.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(mi.value)(["I was a member of school level honor society e.g. National Honor Society"]),e(Pi.value)(["I was a member of a subject level school honor society i.e. Spanish Honor Society"])];if(n instanceof Um)return[e(Tr.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(_r.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(Nr.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(Sr.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(Yi.value)(["I had an unpaid internship at a local small business or government office"]),e(Pi.value)(["I had hourly paid work at local business e.g. as a cashier, waitress, or secretary"])];if(n instanceof Hm)return[e(Qi.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(Tr.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(_r.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(Nr.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(Sr.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(mi.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(Nr.value)(["I was School President or Head Boy/Girl"]),e(Do.value)(["I was the president of Student Council","I was class president"]),e(Sr.value)(["I was a class officer","I held student council leadership"]),e(mi.value)(["I was a member of Student Council"])];if(n instanceof Jm)return[e(Tr.value)(["I organized a nationwide event or conference for this interest (i.e. national anime conference)"]),e(_r.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(Nr.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(Sr.value)(["I held leadership in a school-level interest club"]),e(yo.value)(["I was a member of school level interest based club"])];if(n instanceof Wm)return[e(Tr.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(_r.value)(["I was the highest state leader of an affinity group for high schoolers e.g.Black Students Association"]),e(Nr.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(Sr.value)(["I held school-level leadership in an affinity group or club"]),e(yo.value)(["I was a member of a school level affinity club"])];if(n instanceof qm)return[e(Qi.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(Tr.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(_r.value)(["I was selected for a formal, honorary application required research programs"]),e(Nr.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(Do.value)(["I conducted research through a formal, application required program with an accredited university"]),e(Sr.value)(["I had research that was or will be published"]),e(Yi.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(Pi.value)(["I paid money to participate in a research program"])];if(n instanceof zm)return[e(Tr.value)(["I attended one of TASP, RSI, PROMYS, SSP, Boys/Girls Nation"]),e(_r.value)(["I attended one of RISE, MITES, SuMaC, Boys/Girls State, or Gov School"]),e(Do.value)(["I attended one of SIP, EFL, SAMS, HCSSIM, JCamp, MAthlLy, HSHSP, Clark Scholars, Notre Dame Summer Scholars"]),e(Sr.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(Pi.value)(["I participated in study abroad through my school","I attended a paid summer program requiring an application"]),e(yo.value)(["I attended a paid summer program where there is no application required"])];if(n instanceof $m)return[e(Tr.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(_r.value)(["I built commercially used software","I built an app with more than 100,000 downloads"]),e(Do.value)(["I published an app with 10,000 downloads"]),e(mi.value)(["I published an app on the App/Google Play store","I contributed to an open source software project"]),e(yo.value)(["I write programs for fun"])];if(n instanceof h0)return[e(_r.value)([""]),e(Yi.value)([""]),e(yo.value)([""]),e(fl.value)([""])];throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECTier (line 134, column 17 - line 322, column 6): "+[n.constructor.name])}}(),zae=function(e){return function(n){return DOe(o8(function(){var t=bOe(n);return function(a){return t(function(r){return r.tier}(a))}}())(qae(e)))(function(t){return t.description})}},bE=function(e){return yOe(function(n){return n.tier})(qae(e))},$ae=function(e){return Ei(bE(e))},eG=function(e){return _h(bE(e))};var Qae=re(ny),Yae=re(Bae),SOe=re(rs(Ar)),EOe=_e(dE),COe=_e(xt(va)),IOe=_e(xt(ar)),TOe=_e(As),FOe=dh(As),MOe=TF(Uae),vj=K(Le),GOe=z(On),AOe=yl(Le),mj=K0(J),xOe=qn(Pa),LOe=N(J);var jOe=Up(As);var pj={show:function(e){return"ECActivity "+("{ name: "+(e.name+(", category: "+(Qae(e.category)+(", tier: "+(Yae(e.tier)+(", description: "+(SOe(e.description)+" }"))))))))}};var Xae={show:function(){var e=re(ze),n=on();return function(t){return e(n(t))}}()},_j={eq:function(e){return function(n){return e===n}}},NOe=_e(xt(_j)),RE={eq:function(e){return function(n){return NOe(e.canonicalId)(n.canonicalId)&&EOe(e.category)(n.category)&&COe(e.description)(n.description)&&IOe(e.id)(n.id)&&e.name===n.name&&TOe(e.tier)(n.tier)}}},wE=bt;var Hl=function(e){return e.tier},A_=function(e){return e.name},SE=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){var i=bE(n),u=function(l){var c=!1,s;function f(v){if(FOe(v)(i))return c=!0,new d(v);var m=function(R){if(xe)return Ei(i);throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivity (line 78, column 1 - line 78, column 105): "+[v.constructor.name])},_=MOe(v);if(_ instanceof d){l=_.value0;return}return c=!0,m(!0)}for(;!c;)s=f(l);return s};return vj(u(t))(function(l){return GOe({name:e,category:n,tier:l,id:a,description:r,canonicalId:o})})}}}}}},POe=Zn(Ge)(J)({diagnosticName:"EC Activity",parse:function(e){return AOe(mj(mj(mj(xOe(LOe(SE(e.name))(ty(e.category)))(Jae(e.tier)))(ee(e.id)))(ee(e.description)))(ee(e.canonical_ec_activity_id)))}}),EE=Go(POe);var nG=function(e){return e.id},Zae=function(e){return function(n){var t=bE(n.category);return vj(jOe(n.tier)(t))(function(a){return vj(uu(t)(e(a)))(function(r){return SE(n.name)(n.category)(r)(n.id)(n.description)(n.canonicalId)})})}},Kae=Zae(function(e){return e+1|0}),ere=Zae(function(e){return e-1|0}),CE=function(e){return e.description},av=function(e){return e.category},tG=function(e){return e.canonicalId},fg=N(ge)(function(e){return{name:A_(e),category:Qae(av(e)),tier:Yae(Hl(e)),id:Ut(nG(e)),description:Ut(CE(e)),canonical_ec_activity_id:Ut(tG(e))}});var dj=z(On),kOe=Pt(Ur);var IE=function(e){var n=T_(e);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof C)return dj(_E.value);if(n instanceof d&&e.psatPredictedCompositeSAT instanceof d)return dj(_E.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof d)return dj(ey.value);if(n instanceof C&&e.psatPredictedCompositeSAT instanceof C)return C.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])},nre=function(e){return{sat:{readingWriting:ee(e.sat.readingWriting),math:ee(e.sat.math)},psatPredictedCompositeSAT:ee(e.psatPredictedCompositeSAT),act:{math:ee(e.act.math),english:ee(e.act.english),reading:ee(e.act.reading),science:ee(e.act.science)},gpa:ee(e.gpa),courseRigor:{ap:ee(e.courseRigor.ap),honors:ee(e.courseRigor.honors),collegeClasses:ee(e.courseRigor.collegeClasses)},ecScore:ee(e.ecScore),ecActivities:EE(e.ecActivities)}};var hj=function(e){return kOe(T_(e))(e.psatPredictedCompositeSAT)};var aG=function(e){return{estimatedNetCost:e.estimatedNetCost,stickerPrice:e.stickerPrice,financialAid:e.financialAid,estimatedMeritAid:ee(e.estimatedMeritAid)}};var tre=wm(function(e){return{status:Q9(e.status),applicationRound:hte(e.applicationRound)}}),gj=function(){return{status:sg.value,applicationRound:g_.value}}();var are=wm(Qe(Xe)),rG=500;var rv=function(){function e(){}return e.value=new e,e}(),vg=function(){function e(){}return e.value=new e,e}();var rre={eq:function(e){return function(n){return e instanceof rv&&n instanceof rv||e instanceof vg&&n instanceof vg}}};var Gu=function(e){if(e instanceof rv)return d.create;if(e instanceof vg)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 16, column 1 - line 16, column 62): "+[e.constructor.name])},xs=function(e){if(e instanceof vg)return d.create;if(e instanceof rv)return an(C.value);throw new Error("Failed pattern match at SchoolDetails.Configuration (line 20, column 1 - line 20, column 61): "+[e.constructor.name])},Vm=function(){return d.create}();var ore=yn(Dn),ire=gn(ore)(pn(mn)),ure=dn(_n),lre=hn(ure),cre=wn(Rn),sre=bn(cre),oG=function(){function e(){}return e.value=new e,e}(),Dj=function(){function e(){}return e.value=new e,e}(),yj=function(){function e(){}return e.value=new e,e}(),OOe={to:function(e){if(e instanceof H)return oG.value;if(e instanceof p&&e.value0 instanceof H)return Dj.value;if(e instanceof p&&e.value0 instanceof p)return yj.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 oG)return new H(fe.value);if(e instanceof Dj)return new p(new H(fe.value));if(e instanceof yj)return new p(new p(fe.value));throw new Error("Failed pattern match at Autopilot.Student.Types.AutopilotStatus (line 14, column 1 - line 14, column 42): "+[e.constructor.name])}};var bj=function(){var e=function(n){if(n instanceof oG)return"ineligible";if(n instanceof Dj)return"eligible";if(n instanceof yj)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 ut(Ge)({parse:An(e)(Sn(OOe)(ire(ire(ore)(ure))(lre))(sre(sre(cre)))(lre)),default:oG.value,diagnosticName:"Autopilot Status"})}();var fre=function(e){return{rcr2577ClaimSchoolProfileLinkOnSdp:e.rcr2577ClaimSchoolProfileLinkOnSdp,app18667SageOnSdp:e.app18667SageOnSdp,app18667TrellisRecruiter:e.app18667TrellisRecruiter,autopilot:bj(e.autopilot)}};var UOe=function(){function e(){}return e.value=new e,e}(),Rj=function(){function e(){}return e.value=new e,e}(),TE=function(){function e(){}return e.value=new e,e}(),vre=function(){function e(){}return e.value=new e,e}(),mre=function(e){if(e instanceof UOe)return"modal-sm";if(e instanceof Rj)return"";if(e instanceof TE)return"modal-lg";if(e instanceof vre)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 Pre=ba(Nre()),kre=Pre.default;var bUe=Af(),Ore=function(e){var n=bUe(e);return function(){return function(){return n(kre)}}};var Ure=cS(uS);var Hre={map:function(e){return function(n){return Ure(Ure(e))(n)}}},RUe=Z(Hre),wUe=function(e){var n=K(e.Monad0().Bind1()),t=Bn(e);return function(a){return e_(function(r){return n(a(r.dispatch))(function(o){return t(r.onStop(o))})})}},Bre=function(e){var n=wUe(e);return function(t){return function(a){return n(RUe(a)(t))}}};var Jre=Hn(Mn)(qt),SUe=Bre(Xn),EUe=Qe(Xe),Wre=z(_t),fG=function(e){return function(n){return w1("UseSubscription")(function(t){return{init:Jre(SUe(EUe)(e))(function(){return Wre(Ce)}),update:function(a){return function(r){return Jre(mr(n(r)))(function(){return Wre(Ce)})}},view:function(a){return function(r){return t(Ce)}}}})}};function AE(e){return function(){return function(n){return e(n)()}}}function xE(e){return function(n){return function(t){return function(a){return function(){return a.addEventListener(e,n,t)}}}}}function Mj(e){return function(n){return function(t){return function(a){return function(){return a.removeEventListener(e,n,t)}}}}}var qre="message";var zre="hashchange";var $re="popstate";var Vre="keyup",Qre="keydown";var Yre="mouseup";var Xre="mousemove";var Zre=Bn(Xn),Kre=N(it),CUe=mt(Va),LE=function(){var e=function(a){return function(r){return function(o){return Zre(function(){var u=r(),l=AE(function(c){return o(c)})();return xE(a)(l)(!1)(u)(),Zre(Mj(a)(l)(!1)(u))})}}},n=function(a){return e(a)(Kre(ite)(_o))},t=function(a){return e(a)(Kre(ete)(CUe(Rm)(_o)))};return{hashchange:n(zre),mousemove:n(Xre),mouseup:n(Yre),popstate:n($re),resize:n("resize"),message:n(qre),keydown:t(Qre),keyup:t(Vre),selectionchange:t("selectionchange"),visibilitychange:t("visibilitychange")}}();var noe=Ef()(),oWe=function(e){return e},Fr=Ga(el),Mr=function(e){var n=$ne(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(noe(r)({className:t,"aria-label":a}))(o)}}}}}}};var Ls=function(e){return oWe(Ga(e))},g0=function(e){var n=Qne(e)()();return function(){return function(){return function(t){return function(a){return function(r){return function(o){return n(noe(r)({className:t,"aria-label":a}))(o)}}}}}}};var jE=function(){return Be};var iy=B(ae),Aj=Sa(),iWe=Ore(ae)()(),uWe=Yn(ae)()(),lWe=Yn(W)()(),cWe=B(W),sWe=Mr(L)()(),fWe=ca(pr),vWe=uo(Yt),mWe=Bn(Xn),toe=jE(),vG=function(){return function(e){var n=iy("modal-backdrop fade show")(un),t=Aj(e),a=Rr(t.footer),r=Rr(t.header),o=Un(t.size)(Rj.value),i=Wr(" ")([function(){var l=Un(t.scrollable)(!0);return l?"modal-dialog-scrollable":""}(),function(){var l=Un(t.centered)(!0);return l?"modal-dialog-centered":""}(),mre(o),Un(t.dialogClass)("")]),u=iWe({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(iy("modal fade show d-block")(uWe("modal-dialog "+i)({style:Un(t.dialogStyle)(fn({}))})(lWe("modal-content "+Un(t.contentClass)(""))({style:Un(t.contentStyle)(fn({}))})([Je(r)(iy("modal-header "+Un(t.headerClass)(""))),iy("modal-body "+Un(t.bodyClass)(""))(t.body),Je(a)(iy("modal-footer "+Un(t.footerClass)("")))]))));return ce([u,n])}},aoe=vG(),Ym=function(){return function(e){var n=Aj(e),t=cWe("d-flex w-100 justify-content-between align-items-center")([iy("mr-4")(Un(n.title)(un)),sWe("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Un(n.dismissButtonClass)("text-body"))(Ls("Close"))({type:"button",onClick:fWe(n.onDismiss)})("")]),a=function(r){return vWe(r.key==="Escape")(mWe(n.onDismiss))};return S1(fG(LE.keyup)(a))(function(r){var o=Un(n.bodyScrollable)(!1);return aoe(o?function(){var i=Aj(toe(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}}():toe({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:ce([t,n.body])}))})}};function roe(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 ooe=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function ioe(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 uoe(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 m=v.indexOf(":");return a(v.substring(0,m))(v.substring(m+2))}),body:u.response})},u.responseType=r.responseType,u.withCredentials=r.withCredentials,u.timeout=r.timeout,u.send(r.content),function(v,m,_){try{u.abort()}catch(R){return m(R)}return _()}}}var mG="application/json",loe="application/x-www-form-urlencoded";var coe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),soe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),foe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),voe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),moe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),pG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),poe=function(e){return e instanceof xj?new d(loe):e instanceof pG?new d(mG):C.value};var _oe=function(){return pG.create}();var doe=on();var _G=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),uy=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}(),hoe=function(e){if(e instanceof _G||e instanceof dG)return doe(e.value0);if(e instanceof uy)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Lj=function(e){if(e instanceof _G)return"Accept";if(e instanceof dG)return"Content-Type";if(e instanceof uy)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var goe=Qe(Xe),jj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Nj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Pj=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),DG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Doe=function(e){if(e instanceof jj)return"arraybuffer";if(e instanceof Nj)return"blob";if(e instanceof Pj)return"document";if(e instanceof hG||e instanceof gG)return"text";if(e instanceof DG)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},yoe=function(e){return e instanceof hG?new d(mG):C.value},boe=function(){return new gG(goe)}();var Roe=function(){return new DG(goe)}();var woe=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 Soe(e,n,t){try{return n(JSON.parse(t))}catch(a){return e(a.message)}}var yG=function(e){return Soe(rn.create,ln.create,e)};var pWe=qn(Pa),Eoe=N(J),_We=Mo(wi)(On);var dWe=function(e){return e};var Coe=function(){var e=function(a){if(a.value1 instanceof C)return kM(a.value0);if(a.value1 instanceof d)return pWe(Eoe(function(r){return function(o){return r+("="+o)}})(kM(a.value0)))(kM(a.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[a.constructor.name])},n=Eoe(Wr("&")),t=_We(e);return function(a){return n(t(dWe(a)))}}();var kj=function(){function e(){}return e.value=new e,e}(),x_=function(){function e(){}return e.value=new e,e}(),Oj=function(){function e(){}return e.value=new e,e}(),Xm=function(){function e(){}return e.value=new e,e}(),bG=function(){function e(){}return e.value=new e,e}(),NE=function(){function e(){}return e.value=new e,e}(),Uj=function(){function e(){}return e.value=new e,e}(),Hj=function(){function e(){}return e.value=new e,e}(),Bj=function(){function e(){}return e.value=new e,e}(),Jj=function(){function e(){}return e.value=new e,e}(),Wj=function(){function e(){}return e.value=new e,e}(),qj=function(){function e(){}return e.value=new e,e}(),zj=function(){function e(){}return e.value=new e,e}(),$j=function(){function e(){}return e.value=new e,e}(),Vj=function(){function e(){}return e.value=new e,e}(),RG=function(){function e(){}return e.value=new e,e}();var hWe=function(e){return e},gWe={show:function(e){if(e instanceof kj)return"OPTIONS";if(e instanceof x_)return"GET";if(e instanceof Oj)return"HEAD";if(e instanceof Xm)return"POST";if(e instanceof bG)return"PUT";if(e instanceof NE)return"DELETE";if(e instanceof Uj)return"TRACE";if(e instanceof Hj)return"CONNECT";if(e instanceof Bj)return"PROPFIND";if(e instanceof Jj)return"PROPPATCH";if(e instanceof Wj)return"MKCOL";if(e instanceof qj)return"COPY";if(e instanceof zj)return"MOVE";if(e instanceof $j)return"LOCK";if(e instanceof Vj)return"UNLOCK";if(e instanceof RG)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var Ioe=rr(re(gWe))(hWe);var Toe={eq:function(e){return function(n){return e instanceof kj&&n instanceof kj||e instanceof x_&&n instanceof x_||e instanceof Oj&&n instanceof Oj||e instanceof Xm&&n instanceof Xm||e instanceof bG&&n instanceof bG||e instanceof NE&&n instanceof NE||e instanceof Uj&&n instanceof Uj||e instanceof Hj&&n instanceof Hj||e instanceof Bj&&n instanceof Bj||e instanceof Jj&&n instanceof Jj||e instanceof Wj&&n instanceof Wj||e instanceof qj&&n instanceof qj||e instanceof zj&&n instanceof zj||e instanceof $j&&n instanceof $j||e instanceof Vj&&n instanceof Vj||e instanceof RG&&n instanceof RG}}};var Foe=function(e){return Ph(function(n){return function(){var a=e(function(r){return n(rn.create(r))()},function(r){return n(ln.create(r))()});return function(r){return Ph(function(o){return function(){return a(r,function(u){return o(rn.create(u))()},function(u){return o(ln.create(u))()}),BX}})}}})};var Qj=z(If(ga)),DWe=Mh(ga),pg=Tf(ga),Moe=Pt(k8(_8)(ga)),yWe=rh(Yv(ga)),wG=N(J),bWe=ic(Te)(na),RWe=_e(va),wWe=mt(Le),SWe=N(ge),EWe=Z(Vt),CWe=ps(Xv),IWe=z(Yt);var SG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),EG=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}(),CG=function(){function e(){}return e.value=new e,e}(),IG=function(){function e(){}return e.value=new e,e}(),TG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Goe=function(e){return function(n){var t=function(s){return s===""?Qj(HQ):rr(function(f){return DWe(OF.create(f))})(Qj)(yG(s))},a=function(){if(n.responseFormat instanceof jj)return pg("ArrayBuffer");if(n.responseFormat instanceof Nj)return pg("Blob");if(n.responseFormat instanceof Pj)return function(s){return Moe(pg("Document")(s))(Moe(pg("XMLDocument")(s))(pg("HTMLDocument")(s)))};if(n.responseFormat instanceof hG)return yWe(function(s){return n.responseFormat.value0(t(s))})(pg("String"));if(n.responseFormat instanceof gG)return pg("String");if(n.responseFormat instanceof DG)return an(n.responseFormat.value0(Qj(Ce)));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 coe)return new ln(s.value0(Ga));if(s instanceof soe)return new ln(Ga(s.value0));if(s instanceof foe)return new ln(Ga(s.value0));if(s instanceof voe)return new ln(Ga(s.value0));if(s instanceof moe)return new ln(Ga(s.value0));if(s instanceof xj)return BD("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(wG(Ga)(Coe(s.value0)));if(s instanceof pG)return new ln(Ga(XT(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 d&&!bWe(Cu(RWe)(Lj)(s.value0))(f)?yw(f)(s.value0):f}},i=function(s){return o(wG(dG.create)(wWe(poe)(s)))(o(wG(_G.create)(yoe(n.responseFormat)))(n.headers))},u=function(s){return{method:Ioe(n.method),url:n.url,headers:SWe(function(f){return{field:Lj(f),value:hoe(f)}})(i(n.content)),content:s,responseType:Doe(n.responseFormat),username:Ut(n.username),password:Ut(n.password),withCredentials:n.withCredentials,timeout:Ee(0)(wG(function(f){return f})(n.timeout))}},l=function(s){return EWe(CWe(Foe(uoe(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",woe.create,u(s)))))(function(f){if(f instanceof ln){var v=fE(a(f.value0.body));if(v instanceof rn)return new rn(new EG(gY(v.value0),f.value0));if(v instanceof ln)return new ln({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 rn)return new rn(function(){var m=p1(f.value0),_=m==="AffjaxTimeoutErrorMessageIdent";if(_)return CG.value;var R=m==="AffjaxRequestFailedMessageIdent";return R?IG.value:new TG(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 C)return l(Ut(C.value));if(n.content instanceof d){var c=r(n.content.value0);if(c instanceof ln)return l(Ut(new d(c.value0)));if(c instanceof rn)return IWe(new rn(new SG(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 ly=function(){return{method:new rn(x_.value),url:"/",headers:[],content:C.value,username:C.value,password:C.value,withCredentials:!1,responseFormat:Roe,timeout:C.value}}();var Aoe={eq:function(e){return function(n){return e===n}}};var Yj={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var xoe=Goe(Yj);function Loe(e){return Buffer.from(e).toString("base64")}function joe(e,n,t){let a;try{a=n(btoa(t))}catch(r){a=e(r)}return a}var Xj=typeof btoa=="function";function Noe(e){let n=32768,t=[];for(let a=0;a<e.length;a+=n)t.push(String.fromCharCode.apply(null,e.subarray(a,a+n)));return t.join("")}var Poe=rr(function(e){return fc("This should never happen! If you see this message, please file a bug report in the `purescript-b64` issue tracker.")})(Qe(Xe)),koe=function(e){return Noe(e)};function Ooe(e){return new TextEncoder().encode(e)}var FWe=function(e){return Ooe(e)},Uoe=FWe;var MWe=function(e){return Loe(e)},GWe=function(e){return joe(rn.create,ln.create,e)},_g=function(e){return Xj?Poe(GWe(koe(Uoe(e)))):MWe(e)};var AWe=mt(_f),PE=z(Yt),Hoe=Fi(YF),Boe=Z(J),Joe=on(),Woe=re(ze),xWe=re(Ar),LWe=Qe(Xe),qoe=Dr(us),jWe=Z(li),cy=z(On),zoe=K(Lt),NWe=_e(Toe),PWe=K(_f),kWe=ZD(Te)(Aoe),OWe=yl(Lt),UWe=Bn(Xn);var HWe=function(e){return e},No={numParameters:0};var $oe=function(e){var n=ooe(e);return ee(n)},dg=function(e){var n=mm(e);return function(t){return function(a){return function(r){var o=function(u){return BD("failed to parse")(r(u))},i=AWe(o)(n(a));if(i instanceof ln)return PE(i.value0);if(i instanceof rn)return Hoe(Cf("Reading "+(t+(": "+(i.value0+(" -- "+Ww(a)))))));throw new Error("Failed pattern match at Utils.API (line 243, column 32 - line 245, column 96): "+[i.constructor.name])}}}},Xi=function(e){var n=dg(e);return function(t){return function(a){return n(t)(a)(d.create)}}},zr=function(e){var n=function(r){return Wr(" ")([Oe("")(function(o){return"HTTP "+o})(Boe(Boe(r.status)(Joe))(Woe)),r.path,Oe("")(function(o){return"reason="+xWe(o)})(r.reason)])},t=function(r){if(r.sentryFingerprint instanceof C)return LWe;if(r.sentryFingerprint instanceof d)return DK(r.sentryFingerprint.value0);throw new Error("Failed pattern match at Utils.API (line 266, column 58 - line 268, column 53): "+[r.sentryFingerprint.constructor.name])},a=function(r){return t(r)(Cf(n(r)))};return rr(function(r){return Hoe(a(r))})(e)},Voe=function(e){return e.numParameters},Pr=function(e){return{numParameters:1+Voe(e)|0}},BWe=function(e){return _oe(e)},Au=zr(an(PE(Ce)));var Qoe=function(e){return function(n){return function(t){var a=function(o){if(o.body==="")return new ln(Ga({}));if(xe)return qoe(function(i){return{path:e.path,reason:new d(i),status:C.value,retriable:!1,sentryFingerprint:C.value}})(jWe(yG(o.body))(Ga));throw new Error("Failed pattern match at Utils.API (line 190, column 5 - line 190, column 63): "+[o.constructor.name])},r=function(o){return HWe(function(i){if(i instanceof SG)return{path:e.path,reason:new d(i.value0),status:C.value,retriable:!1,sentryFingerprint:cy("ps-apierror-request-content-error-"+_g(e.path))};if(i instanceof EG)return{path:e.path,reason:new d(Xw(i.value0)),status:new d(i.value1.status),retriable:!1,sentryFingerprint:cy("ps-apierror-response-body-error-"+_g(e.path))};if(i instanceof CG)return{path:e.path,reason:new d("Request timeout"),status:C.value,retriable:!0,sentryFingerprint:cy("ps-apierror-timeout-error-"+_g(e.path))};if(i instanceof IG)return{path:e.path,reason:new d("Connection fail"),status:C.value,retriable:!0,sentryFingerprint:cy("ps-apierror-request-failed-error-"+_g(e.path))};if(i instanceof TG)return{path:e.path,reason:new d(p1(i.value0)),status:C.value,retriable:!1,sentryFingerprint:cy("ps-apierror-xhr-other-error-"+_g(e.path))};throw new Error("Failed pattern match at Utils.API (line 198, column 33 - line 233, column 10): "+[i.constructor.name])}(o))};return zoe(xoe({username:ly.username,password:ly.password,withCredentials:ly.withCredentials,timeout:ly.timeout,method:new rn(n),url:e.path,content:t,responseFormat:boe,headers:function(){var o=NWe(n)(x_.value);return o?[new uy("Accept","application/json")]:[new uy("X-CSRF-Token",e.token),new uy("Accept","application/json")]}()}))(function(o){return PE(PWe(qoe(r)(o))(function(i){var u=kWe(i.status)([200,201,204]);return u?new rn({path:e.path,reason:new d(i.body),status:new d(i.status),retriable:!1,sentryFingerprint:cy("ps-apierror-status-code-"+(Woe(Joe(i.status))+("-"+_g(e.path))))}):a(i)}))})}}},JWe=function(e){return function(n){return function(t){var a=ee(e);if(a instanceof C)return PE(new rn({path:"",reason:new d("Missing client-side endpoint"),status:C.value,retriable:!1,sentryFingerprint:C.value}));if(a instanceof d)return zoe(Qoe(a.value0)(n)(t))(function(r){return r instanceof rn&&r.value0.retriable?Qoe(a.value0)(n)(t):PE(r)});throw new Error("Failed pattern match at Utils.API (line 83, column 44 - line 92, column 22): "+[a.constructor.name])}}},kE=function(e){var n=Voe(e);return function(t){return function(a){return function(r){return ioe({delegateAff:function(o){return OWe(UWe(o))},numParameters:n,name:a,continuation:function(o){return r(JWe(o)(t))}})}}}};var Yoe=function(e){var n=kE(e);return function(t){return function(a){return n(x_.value)(t)(function(r){return a(r(C.value))})}}},ro=function(e){var n=kE(e);return function(t){return function(a){return n(Xm.value)(t)(function(r){return a(function(o){return r(d.create(BWe(o)))})})}}};var WWe=ca(pr),Xoe=Sa(),qWe=Qe(Xe),zWe=pM(W)()(),$We=Ct(ae)()(),VWe=Zo()();var Zoe=function(e){var n=Ct(e)()();return function(t){return function(a){return n(t)({onClick:WWe(function(){return roe(a)})})}}},ov="signUp";var hg="login",iv=function(){return function(e){var n=Xoe(e),t=function(){var o=Un(n.auth0ActiveTab)(hg);return o}(),a=Ee({path:"",token:""})($oe("login_path")),r=function(o){return function(i){return Oe(qWe)(function(u){return Ms(function(l){return{key:o,value:l}}(u))})(Rr(i))}};return zWe("d-inline")({method:"post",action:r("origin")(n.origin)(r("login_hint")(n.auth0LoginHint)(Ms({key:"screen_hint",value:t})(a.path))),target:function(){var o=Un(n.openInNewTab)(!1);return o?"_blank":""}()})([$We(Un(n.className)("btn btn-primary px-4"))({type:"submit",disabled:Un(n.disabled)(!1)})(Un(n.content)(Y(Un(n.text)("Log in")))),VWe("")({type:"hidden",name:"authenticity_token",value:a.token})])}},QWe=iv(),FG=function(){return function(e){var n=Xoe(e);return QWe({auth0LoginHint:n.auth0LoginHint,className:n.className,content:n.content,disabled:n.disabled,openInNewTab:n.openInNewTab,origin:n.origin,text:n.text,auth0ActiveTab:ov})}};var Koe="google-oauth2",eie="facebook";var YWe=Yn(W)()(),XWe=Gn(pt),ZWe=B(ae),KWe=Yn(ae)()(),eqe=B(L),nie=function(e){var n=Zoe(e);return function(t){return function(a){return function(r){return vo(ua(!1))(function(o){return function(i){return YWe("position-relative")({onClick:XWe(i)(!0)})([n(t+function(){return o?" disabled":""}())(a)(r),vn(o)(ZWe("position-absolute-fullsize d-flex align-items-center justify-content-center")(KWe("spinner-border spinner-border-sm text-center text-secondary small")({role:"status"})(eqe("sr-only")("Loading\u2026"))))])}})}}}};var Zj=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var Kj=Bv(vr(na)),nqe=Qe(Xe),tqe=v0()(),MG=function(e){var n=mc(e);return function(t){return gt(n(t))}},gg=function(e){if(Kj(MG("http://"))(Kj(MG("https://"))(Kj(MG("//"))(MG("blob:"))))(e))return e;if(xe)return Zj+Ee(e)(mc("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},js=function(){return function(){return function(e){return function(n){var t=function(r){return nqe},a=t(n)(lm("src")(gg(n.src))(n));return tqe(e)(a)}}}},aqe=js()(),OE=function(e){return function(n){return aqe(e)({src:n})}};var tie=Fu($8);var Dg=function(e){return function(n){return function(){return n[e]}}},rqe=Dg("URL"),oqe=Dg("documentURI"),iqe=Dg("origin"),uqe=Dg("compatMode"),lqe=Dg("characterSet"),cqe=Dg("contentType");var sqe=Dg("documentElement");function eN(e){return function(n){return function(){return n.createElement(e)}}}var GG=function(e){return function(n){return n[e]}},fqe=GG("namespaceURI"),vqe=GG("prefix"),mqe=GG("localName"),pqe=GG("tagName");function nN(e){return function(n){return function(){n.id=e}}}function tN(e){return function(){return e.classList}}function aN(e){return function(){return e.scrollHeight}}var AG=Be;var aie=ot("Element");var uv=function(e){return function(n){return function(){return n[e]}}};var _qe=uv("baseURI"),dqe=uv("ownerDocument"),rie=uv("parentNode"),hqe=uv("parentElement");var gqe=uv("childNodes"),Dqe=uv("firstChild"),yqe=uv("lastChild"),bqe=uv("previousSibling"),Rqe=uv("nextSibling"),wqe=uv("nodeValue");var Sqe=uv("textContent");function rN(e){return function(n){return function(){return e.isEqualNode(n)}}}function oN(e){return function(n){return function(){n.appendChild(e)}}}var Cqe=N(it);var oie=function(){var e=Cqe(ee);return function(n){return e(rie(n))}}();var Iqe=Hn(Mn),Tqe=Iqe(qt),Fqe=Bn(Xn),Mqe=mt(Va),Gqe=co(ea)($o),iie=z(_t);var Aqe=tl("Portal")(function(e){return{init:Tqe(e_(function(n){return Fqe(function(){var a=cte(e.id)();if(a instanceof d)return n.dispatch(a.value0)();if(a instanceof C){var r=Mqe(Rm)(_o)(),o=tte(r)();return Gqe(o)(function(i){return function(){var l=eN("div")(nte(r))();return nN(e.id)(l)(),oN(AG(l))(ate(i))(),n.dispatch(l)()}})()}throw new Error("Failed pattern match at Utils.Portal (line 38, column 9 - line 48, column 33): "+[a.constructor.name])})}))(function(){return iie(C.value)}),update:function(n){return function(t){return iie(new d(t))}},view:function(n){return function(t){return Je(n)(tie(e.content))}}}}),xqe=Yp(hf(!1)),sy=function(e){return function(n){var t=Yp(is(xqe));return t?n:Aqe({id:e,content:n})}};var uie=yn(Dn),lie=dn(_n),cie=wn(Rn),Lqe=en(ae),sie=nie(W),fie=js()(),vie=Ym(),mie=Kn(L),pie=on(),_ie=en(L),die=B(ae),hie=B(W),gie=iv(),UE=function(){function e(){}return e.value=new e,e}(),HE=function(){function e(){}return e.value=new e,e}(),jqe={to:function(e){if(e instanceof H)return UE.value;if(e instanceof p)return HE.value;throw new Error("Failed pattern match at SchoolDetails.InvitationAcceptedCTA (line 24, column 1 - line 24, column 48): "+[e.constructor.name])},from:function(e){if(e instanceof UE)return new H(fe.value);if(e instanceof HE)return new p(fe.value);throw new Error("Failed pattern match at SchoolDetails.InvitationAcceptedCTA (line 24, column 1 - line 24, column 48): "+[e.constructor.name])}};var Nqe=function(e){if(e instanceof UE)return"InvitationAccepted";if(e instanceof HE)return"ExternalInvitation";throw new Error("Failed pattern match at SchoolDetails.InvitationAcceptedCTA (line 37, column 13 - line 39, column 51): "+[e.constructor.name])},Die=function(){return ut(Ge)({parse:N(Iu)(d.create)(An(Nqe)(Sn(jqe)(gn(uie)(pn(mn))(uie)(lie))(bn(cie)(cie))(hn(lie)))),default:C.value,diagnosticName:"InvitationAcceptedCTA"})}(),yie=function(e){return ce([Lqe("fe fe-mail mr-2 me-2")(un),Y(e)])},bie=function(e){return function(n){return function(t){return sie("btn btn-outline-dark btn-block w-100 mt-3 "+n)({auth0Config:e,connection:Koe})([fie("mr-2 me-2 mt-n1")({src:"/img/icons/social/google.svg",style:fn({height:"1rem"})}),Y(t)])}}},Rie=function(e){return function(n){return function(t){return sie("btn btn-outline-dark btn-block w-100 mt-3 "+n)({auth0Config:e,connection:eie})([fie("mr-2 me-2 mt-n1")({src:"/img/icons/social/facebook.svg",style:fn({height:"1rem"})}),Y(t)])}}},wie=function(e){return sy("sign-up-modal")(vie({contentClass:function(){return e.mobileLayout?"position-fixed fixed-bottom mb-n4":""}(),dialogClass:function(){return e.mobileLayout?"mx-0":""}(),onDismiss:e.onDismiss,title:mie("")("You connected with "+(function(n){return n.name}(pie(e.school))+" \u{1F389}")),body:ng(fr(e.currentUser))(function(n){return ce([_ie("text-secondary")("Sign in to start messaging admissions and current students"),die("row")(hie("col-12")([bie(e.auth0Config)("t--sign-in-google")("Sign in with Google"),gie({auth0ActiveTab:hg,className:"btn btn-outline-dark btn-block w-100 mt-3 t--sign-in-email",content:yie("Sign in with Email"),origin:e.origin}),Rie(e.auth0Config)("t--sign-in-facebook")("Sign in with Facebook")]))])})}))},Sie=function(e){return sy("sign-up-modal")(vie({contentClass:function(){return e.mobileLayout?"position-fixed fixed-bottom mb-n4":""}(),dialogClass:function(){return e.mobileLayout?"mx-0":""}(),onDismiss:e.onDismiss,title:mie("")("Connect with "+(function(n){return n.name}(pie(e.school))+" \u{1F389}")),body:ce([_ie("text-secondary")("Log in or sign up to start messaging admissions and current students"),die("row")(hie("col-12")([bie(e.auth0Config)("t--sign-up-google")("Log in or sign up with Google"),gie({auth0ActiveTab:ov,className:"btn btn-outline-dark btn-block w-100 mt-3 t--sign-up-email",content:yie("Log in or sign up with Email"),origin:e.origin}),Rie(e.auth0Config)("t--sign-up-facebook")("Log in or sign up with Facebook")]))])}))};var Eie=yn(Dn),Cie=dn(_n),Iie=wn(Rn),D0=function(){function e(){}return e.value=new e,e}(),fy=function(){function e(){}return e.value=new e,e}(),Pqe={to:function(e){if(e instanceof H)return D0.value;if(e instanceof p)return fy.value;throw new Error("Failed pattern match at Profile.PublishScope (line 20, column 1 - line 20, column 39): "+[e.constructor.name])},from:function(e){if(e instanceof D0)return new H(fe.value);if(e instanceof fy)return new p(fe.value);throw new Error("Failed pattern match at Profile.PublishScope (line 20, column 1 - line 20, column 39): "+[e.constructor.name])}},Tie={eq:function(e){return function(n){return e instanceof D0&&n instanceof D0||e instanceof fy&&n instanceof fy}}};var xG=function(e){if(e instanceof fy)return"anonymous-all-schools";if(e instanceof D0)return"all-schools";throw new Error("Failed pattern match at Profile.PublishScope (line 30, column 13 - line 32, column 30): "+[e.constructor.name])},iN=function(){return ut(Ge)({parse:An(xG)(Sn(Pqe)(gn(Eie)(pn(mn))(Eie)(Cie))(bn(Iie)(Iie))(hn(Cie))),diagnosticName:"Profile.PublishScope",default:fy.value})}();var kqe=Z(J),Fie=function(e){return{admissionYear:ee(e.admissionYear),avatarUrl:ee(e.avatarUrl),fullName:ee(e.fullName),homeState:kqe(ee(e.homeState))(bK),initials:ee(e.initials),publishScope:iN(e.publishScope)}};var Mie=Z(J),Oqe=yi(J),Gie=Pt(Ur),Aie=function(){function e(){}return e.value=new e,e}(),xie=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),uN=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Uqe=function(){var e=function(n){var t=Mie(ee(n.vine))(function(o){return new xie(Fie(o))}),a=Mie(ee(n.semUser))(uN.create),r=Oqe(ee(n.counselor))(Aie.value);return Gie(r)(Gie(t)(a))};return ut(Ge)({diagnosticName:"SchoolDetails.User.UserRole",default:Aie.value,parse:e})}(),Lie=function(e){return{cvid:e.cvid,isHq:e.isHq,role:Uqe(e.role)}};var yg=function(e){return e.role instanceof xie?new d(e.role.value0):C.value};var jie=eo(jo),Nie=yn(Dn),Pie=dn(_n),kie=wn(Rn),ki=function(){function e(){}return e.value=new e,e}(),Ns=function(){function e(){}return e.value=new e,e}(),Oie={to:function(e){if(e instanceof H)return ki.value;if(e instanceof p)return Ns.value;throw new Error("Failed pattern match at Sem.Connections.Types.Actor (line 16, column 1 - line 16, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof ki)return new H(fe.value);if(e instanceof Ns)return new p(fe.value);throw new Error("Failed pattern match at Sem.Connections.Types.Actor (line 16, column 1 - line 16, column 32): "+[e.constructor.name])}},Uie={show:no(Oie)(mo(jie({reflectSymbol:function(){return"School"}}))(jie({reflectSymbol:function(){return"Vine"}})))},LG={eq:function(e){return function(n){return e instanceof ki&&n instanceof ki||e instanceof Ns&&n instanceof Ns}}},Hqe=function(e){if(e instanceof ki)return"school";if(e instanceof Ns)return"vine";throw new Error("Failed pattern match at Sem.Connections.Types.Actor (line 28, column 1 - line 28, column 29): "+[e.constructor.name])},BE=function(){return ut(Ge)({parse:An(Hqe)(Sn(Oie)(gn(Nie)(pn(mn))(Nie)(Pie))(bn(kie)(kie))(hn(Pie))),default:ki.value,diagnosticName:"Sem.Connections.Types.Actor"})}();var lN=eo(jo),Hie=yn(Dn),Bie=gn(Hie)(pn(mn)),Jie=dn(_n),Wie=hn(Jie),qie=wn(Rn),zie=bn(qie),Bqe=Pt(Ur),Ko=function(){function e(){}return e.value=new e,e}(),Bl=function(){function e(){}return e.value=new e,e}(),xu=function(){function e(){}return e.value=new e,e}(),$ie={to:function(e){if(e instanceof H)return Ko.value;if(e instanceof p&&e.value0 instanceof H)return Bl.value;if(e instanceof p&&e.value0 instanceof p)return xu.value;throw new Error("Failed pattern match at Sem.Connections.Types.Status (line 18, column 1 - line 18, column 33): "+[e.constructor.name])},from:function(e){if(e instanceof Ko)return new H(fe.value);if(e instanceof Bl)return new p(new H(fe.value));if(e instanceof xu)return new p(new p(fe.value));throw new Error("Failed pattern match at Sem.Connections.Types.Status (line 18, column 1 - line 18, column 33): "+[e.constructor.name])}},Vie={show:no($ie)(mo(lN({reflectSymbol:function(){return"Pending"}}))(mo(lN({reflectSymbol:function(){return"Connected"}}))(lN({reflectSymbol:function(){return"Ignored"}}))))},jG={eq:function(e){return function(n){return e instanceof Ko&&n instanceof Ko||e instanceof Bl&&n instanceof Bl||e instanceof xu&&n instanceof xu}}},Jqe=function(e){if(e instanceof Ko)return"pending";if(e instanceof Bl)return"connected";if(e instanceof xu)return"ignored";throw new Error("Failed pattern match at Sem.Connections.Types.Status (line 34, column 1 - line 34, column 30): "+[e.constructor.name])},NG=function(){var e=An(Jqe)(Sn($ie)(Bie(Bie(Hie)(Jie))(Wie))(zie(zie(qie)))(Wie)),n=function(t){return t==="cold"?new d(xu.value):C.value};return ut(Ge)({parse:function(t){return Bqe(e(t))(n(t))},default:Ko.value,diagnosticName:"Sem.Connections.Types.Status"})}();var Qie=Qn(),Yie=Zn(Ge)(J)({parse:Rt(Qie(E({reflectSymbol:function(){return"photos"}})($n(Qie(E({reflectSymbol:function(){return"url"}})(ue)(he))))(he))),diagnosticName:"Sem.School.ContentModule.AcademicPhotos"});var Wqe=Z(ge),qqe=N(J),Xie=Qn(),zqe=Rt(Xie(E({reflectSymbol:function(){return"alumni"}})($n(Xie(E({reflectSymbol:function(){return"avatarURL"}})(Ln(ue))(E({reflectSymbol:function(){return"bio"}})(ue)(E({reflectSymbol:function(){return"degreeGraduationYear"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))))(he)));var $qe=function(e){return{name:e.name,degreeGraduationYear:e.degreeGraduationYear,bio:e.bio,avatarURL:ee(e.avatarURL)}},Vqe=function(e){return{alumni:Wqe(e.alumni)($qe)}},Zie=Zn(Ge)(J)({parse:function(e){return qqe(Vqe)(zqe(e))},diagnosticName:"Sem.School.ContentModule.AlumniSpotlight"});var Kie=Qn(),eue=Zn(Ge)(J)({parse:Rt(Kie(E({reflectSymbol:function(){return"videos"}})($n(Kie(E({reflectSymbol:function(){return"duration"}})(bt)(E({reflectSymbol:function(){return"link"}})(ue)(E({reflectSymbol:function(){return"title"}})(ue)(he))))))(he))),diagnosticName:"Sem.School.ContentModule.CampusExperience"});var nue=Qn(),tue=Zn(Ge)(J)({parse:Rt(nue(E({reflectSymbol:function(){return"photos"}})($n(nue(E({reflectSymbol:function(){return"url"}})(ue)(he))))(he))),diagnosticName:"Sem.School.ContentModule.CampusPhotoGallery"});var aue=Qn(),rue=Zn(Ge)(J)({parse:Rt(aue(E({reflectSymbol:function(){return"videos"}})($n(aue(E({reflectSymbol:function(){return"duration"}})(bt)(E({reflectSymbol:function(){return"title"}})(ue)(E({reflectSymbol:function(){return"url"}})(ue)(he))))))(he))),diagnosticName:"Sem.School.ContentModule.CampusTour"});var oue=JSON.stringify;var Qqe=zne(W)()(),lv=function(){return oue},Yqe=lv();var iue=function(){return function(e){return Qqe({type:"application/ld+json",dangerouslySetInnerHTML:{__html:Yqe(e)}})([])}};var Xqe=Z(ge),Zqe=Zn(Ge)(J),uue=Qn(),cN=Ln(ue),Kqe=Rt(uue(E({reflectSymbol:function(){return"courses"}})($n(uue(E({reflectSymbol:function(){return"department"}})(ue)(E({reflectSymbol:function(){return"description"}})(cN)(E({reflectSymbol:function(){return"instructors"}})(cN)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"number"}})(ue)(E({reflectSymbol:function(){return"size"}})(Ln(bt))(E({reflectSymbol:function(){return"term"}})(cN)(he))))))))))(he))),eze=K(Le);var lue=function(e){var n=Zqe({parse:Kqe,diagnosticName:"Sem.School.ContentModule.CourseCatalog"}),t=function(a){return Xqe(a.courses)(function(r){return{department:r.department,name:r.name,number:r.number,size:ee(r.size),term:ee(r.term),instructors:ee(r.instructors),description:ee(r.description)}})};return eze(n(e))(function(a){return new d({courses:t(a)})})};var sN=Qn(),cue=Zn(Ge)(J)({parse:Rt(sN(E({reflectSymbol:function(){return"degrees"}})($n(sN(E({reflectSymbol:function(){return"description"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"offerings"}})(sN(E({reflectSymbol:function(){return"concentration"}})(zn)(E({reflectSymbol:function(){return"major"}})(zn)(E({reflectSymbol:function(){return"minor"}})(zn)(he)))))(he))))))(he))),diagnosticName:"Sem.School.ContentModule.DegreeOptions"});var nze=Z(ge),tze=N(J),sue=Qn(),aze=Rt(sue(E({reflectSymbol:function(){return"faculty"}})($n(sue(E({reflectSymbol:function(){return"avatarUrl"}})(Ln(ue))(E({reflectSymbol:function(){return"bio"}})(ue)(E({reflectSymbol:function(){return"department"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))))(he)));var rze=function(e){return{name:e.name,department:e.department,bio:e.bio,avatarUrl:ee(e.avatarUrl)}},oze=function(e){return{faculty:nze(e.faculty)(rze)}},fue=Zn(Ge)(J)({parse:function(e){return tze(oze)(aze(e))},diagnosticName:"Sem.School.ContentModule.FacultySpotlight"});var vue=Qn(),mue=Zn(Ge)(J)({parse:Rt(vue(E({reflectSymbol:function(){return"breakdown"}})($n(vue(E({reflectSymbol:function(){return"chartColor"}})(ue)(E({reflectSymbol:function(){return"label"}})(ue)(E({reflectSymbol:function(){return"percentage"}})(Gt)(he))))))(he))),diagnosticName:"Sem.School.ContentModule.FinancialAidBreakdown"});var pue=Qn(),_ue=Zn(Ge)(J)({parse:Rt(pue(E({reflectSymbol:function(){return"video"}})(pue(E({reflectSymbol:function(){return"duration"}})(bt)(E({reflectSymbol:function(){return"link"}})(ue)(E({reflectSymbol:function(){return"title"}})(ue)(he)))))(he))),diagnosticName:"Sem.School.ContentModule.FinancialAidSpotlight"});var due=Qn(),hue=Zn(Ge)(J)({parse:Rt(due(E({reflectSymbol:function(){return"grantsAndScholarships"}})($n(due(E({reflectSymbol:function(){return"description"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"url"}})(ue)(he))))))(he))),diagnosticName:"Sem.School.ContentModule.GrantsAndScholarships"});var PG=Qn(),gue=E({reflectSymbol:function(){return"description"}})(ue),Due=E({reflectSymbol:function(){return"name"}})(ue)(he),yue=Zn(Ge)(J)({parse:Rt(PG(E({reflectSymbol:function(){return"activities"}})($n(PG(gue(Due))))(E({reflectSymbol:function(){return"area"}})(PG(gue(E({reflectSymbol:function(){return"images"}})($n(PG(E({reflectSymbol:function(){return"url"}})(ue)(he))))(Due))))(he)))),diagnosticName:"Sem.School.ContentModule.LocalAreaSpotlight"});var vy=function(){function e(){}return e.value=new e,e}(),y0=function(){function e(){}return e.value=new e,e}(),my=function(){function e(){}return e.value=new e,e}(),py=function(){function e(){}return e.value=new e,e}(),_y=function(){function e(){}return e.value=new e,e}(),dy=function(){function e(){}return e.value=new e,e}(),hy=function(){function e(){}return e.value=new e,e}(),gy=function(){function e(){}return e.value=new e,e}(),Dy=function(){function e(){}return e.value=new e,e}(),yy=function(){function e(){}return e.value=new e,e}(),by=function(){function e(){}return e.value=new e,e}(),Ry=function(){function e(){}return e.value=new e,e}(),wy=function(){function e(){}return e.value=new e,e}(),Sy=function(){function e(){}return e.value=new e,e}(),Ey=function(){function e(){}return e.value=new e,e}(),Cy=function(){function e(){}return e.value=new e,e}(),Iy=function(){function e(){}return e.value=new e,e}(),Ty=function(){function e(){}return e.value=new e,e}(),Fy=function(){function e(){}return e.value=new e,e}(),My=function(){function e(){}return e.value=new e,e}(),bue={eq:function(e){return function(n){return e instanceof vy&&n instanceof vy||e instanceof y0&&n instanceof y0||e instanceof my&&n instanceof my||e instanceof py&&n instanceof py||e instanceof _y&&n instanceof _y||e instanceof dy&&n instanceof dy||e instanceof hy&&n instanceof hy||e instanceof gy&&n instanceof gy||e instanceof Dy&&n instanceof Dy||e instanceof yy&&n instanceof yy||e instanceof by&&n instanceof by||e instanceof Ry&&n instanceof Ry||e instanceof wy&&n instanceof wy||e instanceof Sy&&n instanceof Sy||e instanceof Ey&&n instanceof Ey||e instanceof Cy&&n instanceof Cy||e instanceof Iy&&n instanceof Iy||e instanceof Ty&&n instanceof Ty||e instanceof Fy&&n instanceof Fy||e instanceof My&&n instanceof My}}};var L_=function(e){if(e instanceof vy)return"Academic photos";if(e instanceof y0)return"Alumni spotlight";if(e instanceof my)return"Campus experience";if(e instanceof py)return"Campus location";if(e instanceof _y)return"Campus photos";if(e instanceof dy)return"Campus tour";if(e instanceof hy)return"Coursework";if(e instanceof gy)return"Degree options";if(e instanceof Dy)return"Faculty spotlight";if(e instanceof yy)return"Financial aid breakdown";if(e instanceof by)return"Financial aid case study";if(e instanceof Ry)return"Grants and scholarships";if(e instanceof wy)return"Local area";if(e instanceof Sy)return"Non-academic facilities";if(e instanceof Ey)return"Annual cost";if(e instanceof Cy)return"Religious life";if(e instanceof Iy)return"Spectator sports";if(e instanceof Ty)return"Student groups";if(e instanceof Fy)return"Study away & study abroad";if(e instanceof My)return"Traditions";throw new Error("Failed pattern match at Sem.School.ContentModule.ModuleId (line 34, column 14 - line 54, column 29): "+[e.constructor.name])};var Rue=yn(Dn),wue=gn(Rue)(pn(mn)),Sue=dn(_n),Eue=hn(Sue),Cue=wn(Rn),Iue=bn(Cue),ize=K(Le),kG=Qn(),Tue=E({reflectSymbol:function(){return"description"}})(ue),fN=kG(Tue(E({reflectSymbol:function(){return"id"}})(ue)(E({reflectSymbol:function(){return"information"}})($n(kG(Tue(E({reflectSymbol:function(){return"name"}})(ue)(he)))))(E({reflectSymbol:function(){return"list"}})(Ln($n(ue)))(E({reflectSymbol:function(){return"photos"}})($n(kG(E({reflectSymbol:function(){return"url"}})(ue)(he))))(he)))))),uze=Rt(kG(E({reflectSymbol:function(){return"athletic"}})(fN)(E({reflectSymbol:function(){return"dining"}})(fN)(E({reflectSymbol:function(){return"residence"}})(fN)(he))))),b0=function(){function e(){}return e.value=new e,e}(),j_=function(){function e(){}return e.value=new e,e}(),Zm=function(){function e(){}return e.value=new e,e}(),lze={to:function(e){if(e instanceof H)return b0.value;if(e instanceof p&&e.value0 instanceof H)return j_.value;if(e instanceof p&&e.value0 instanceof p)return Zm.value;throw new Error("Failed pattern match at Sem.School.ContentModule.NonAcademicFacilities (line 56, column 1 - line 56, column 37): "+[e.constructor.name])},from:function(e){if(e instanceof b0)return new H(fe.value);if(e instanceof j_)return new p(new H(fe.value));if(e instanceof Zm)return new p(new p(fe.value));throw new Error("Failed pattern match at Sem.School.ContentModule.NonAcademicFacilities (line 56, column 1 - line 56, column 37): "+[e.constructor.name])}};var Fue={eq:function(e){return function(n){return e instanceof b0&&n instanceof b0||e instanceof j_&&n instanceof j_||e instanceof Zm&&n instanceof Zm}}},Mue=function(e){if(e instanceof b0)return"Residence halls";if(e instanceof j_)return"Athletics";if(e instanceof Zm)return"Dining";throw new Error("Failed pattern match at Sem.School.ContentModule.NonAcademicFacilities (line 87, column 9 - line 90, column 21): "+[e.constructor.name])},OG=function(e){if(e instanceof b0)return"residence";if(e instanceof j_)return"athletic";if(e instanceof Zm)return"dining";throw new Error("Failed pattern match at Sem.School.ContentModule.NonAcademicFacilities (line 81, column 23 - line 84, column 21): "+[e.constructor.name])};var Gue=function(e){return e instanceof d&&e.value0 instanceof Zm?new d("Additional dining"):C.value},cze=An(OG)(Sn(lze)(wue(wue(Rue)(Sue))(Eue))(Iue(Iue(Cue)))(Eue)),Aue=function(){var e=function(n){return{description:n.description,information:n.information,photos:n.photos,id:cze(n.id),list:ee(n.list)}};return Zn(Ge)(J)({parse:function(n){return ize(uze(n))(function(t){return new d({residence:e(t.residence),athletic:e(t.athletic),dining:e(t.dining)})})},diagnosticName:"Sem.School.ContentModule.NonAcademicFacilities"})}();var sze=Z(ge),fze=Zn(Ge)(J),xue=Qn(),vze=Rt(xue(E({reflectSymbol:function(){return"costs"}})($n(xue(E({reflectSymbol:function(){return"description"}})(Ln(ue))(E({reflectSymbol:function(){return"name"}})(ue)(he)))))(he))),mze=K(Le);var Lue=function(e){var n=fze({parse:vze,diagnosticName:"Sem.School.ContentModule.PublishedCosts"}),t=function(a){return sze(a.costs)(function(r){return{name:r.name,description:ee(r.description)}})};return mze(n(e))(function(a){return new d({costs:t(a)})})};var jue=Qn();var Nue=Zn(Ge)(J)({parse:Rt(jue(E({reflectSymbol:function(){return"affiliation"}})(ue)(E({reflectSymbol:function(){return"description"}})(ue)(E({reflectSymbol:function(){return"locations"}})($n(jue(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"url"}})(ue)(he)))))(he))))),diagnosticName:"Sem.School.ContentModule.ReligiousLife"});var pze=N(J),vN=Qn(),_ze=Rt(vN(E({reflectSymbol:function(){return"spectatorSports"}})(vN(E({reflectSymbol:function(){return"conferenceAffiliation"}})(ue)(E({reflectSymbol:function(){return"description"}})(ue)(E({reflectSymbol:function(){return"photoUrl"}})(Ln(ue))(E({reflectSymbol:function(){return"video"}})(vN(E({reflectSymbol:function(){return"duration"}})(bt)(E({reflectSymbol:function(){return"title"}})(ue)(E({reflectSymbol:function(){return"url"}})(ue)(he)))))(he))))))(he)));var dze=function(e){return{description:e.description,video:e.video,conferenceAffiliation:e.conferenceAffiliation,photoUrl:ee(e.photoUrl)}},hze=function(e){return{spectatorSports:dze(e.spectatorSports)}},Pue=Zn(Ge)(J)({parse:function(e){return pze(hze)(_ze(e))},diagnosticName:"Sem.School.ContentModule.SpectatorSports"});var gze=K(Le),mN=Qn(),Dze=Rt(mN(E({reflectSymbol:function(){return"groups"}})($n(mN(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"description"}})(Ln(ue))(E({reflectSymbol:function(){return"isFeatured"}})(zn)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))))(E({reflectSymbol:function(){return"photos"}})($n(mN(E({reflectSymbol:function(){return"url"}})(ue)(he))))(he)))),yze=N(ge);var kue=function(){var e=function(n){return{category:n.category,isFeatured:n.isFeatured,name:n.name,description:ee(n.description)}};return Zn(Ge)(J)({parse:function(n){return gze(Dze(n))(function(t){return new d({photos:t.photos,groups:yze(e)(t.groups)})})},diagnosticName:"Sem.School.ContentModule.StudentGroups"})}();var bze=K(Le),pN=Qn(),UG=Ln(ue),Oue=E({reflectSymbol:function(){return"description"}})(UG),Uue=$n(pN(E({reflectSymbol:function(){return"city"}})(ue)(E({reflectSymbol:function(){return"country"}})(ue)(Oue(E({reflectSymbol:function(){return"duration"}})(UG)(E({reflectSymbol:function(){return"imageURL"}})(UG)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"region"}})(UG)(he))))))))),Rze=Rt(pN(Oue(E({reflectSymbol:function(){return"featuredPrograms"}})(Uue)(E({reflectSymbol:function(){return"photos"}})(Ln($n(pN(E({reflectSymbol:function(){return"url"}})(ue)(he)))))(E({reflectSymbol:function(){return"programs"}})(Uue)(he)))))),Hue=N(ge);var Bue=function(){var e=function(n){return{city:n.city,country:n.country,name:n.name,imageURL:ee(n.imageURL),region:ee(n.region),duration:ee(n.duration),description:ee(n.description)}};return Zn(Ge)(J)({parse:function(n){return bze(Rze(n))(function(t){return new d({featuredPrograms:Hue(e)(t.featuredPrograms),programs:Hue(e)(t.programs),description:ee(t.description),photos:ee(t.photos)})})},diagnosticName:"Sem.School.ContentModule.StudyAwayAbroad"})}();var wze=Z(ge),Sze=N(J),Jue=Qn(),Eze=Rt(Jue(E({reflectSymbol:function(){return"traditions"}})($n(Jue(E({reflectSymbol:function(){return"description"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"photoUrl"}})(Ln(ue))(he))))))(he)));var Cze=function(e){return{name:e.name,description:e.description,photoUrl:ee(e.photoUrl)}},Ize=function(e){return{traditions:wze(e.traditions)(Cze)}},Wue=Zn(Ge)(J)({parse:function(e){return Sze(Ize)(Eze(e))},diagnosticName:"Sem.School.ContentModule.Traditions"});var Oi=N(J),que=K(Le),Tze=Rt(Qn()(E({reflectSymbol:function(){return"id"}})(bt)(E({reflectSymbol:function(){return"isLiked"}})(zn)(E({reflectSymbol:function(){return"isPublished"}})(zn)(E({reflectSymbol:function(){return"type"}})(ue)(he)))))),Fze=Up(bue),HG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),BG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),WG=function(){function e(){}return e.value=new e,e}(),qG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$G=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),VG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),YG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),XG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ZG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),KG=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),e4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),n4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),t4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),a4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),o4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),i4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var Mze=function(e){return function(n){return e==="Sem::School::ContentModule::AcademicPhotos"?Oi(HG.create)(Yie(n)):e==="Sem::School::ContentModule::AlumniSpotlight"?Oi(BG.create)(Zie(n)):e==="Sem::School::ContentModule::CampusExperience"?Oi(JG.create)(eue(n)):e==="Sem::School::ContentModule::CampusLocation"?new d(WG.value):e==="Sem::School::ContentModule::CampusPhotoGallery"?Oi(qG.create)(tue(n)):e==="Sem::School::ContentModule::CampusTour"?Oi(zG.create)(rue(n)):e==="Sem::School::ContentModule::CourseCatalog"?Oi($G.create)(lue(n)):e==="Sem::School::ContentModule::DegreeOptions"?Oi(VG.create)(cue(n)):e==="Sem::School::ContentModule::FacultySpotlight"?Oi(QG.create)(fue(n)):e==="Sem::School::ContentModule::FinancialAidBreakdown"?Oi(YG.create)(mue(n)):e==="Sem::School::ContentModule::FinancialAidSpotlight"?Oi(XG.create)(_ue(n)):e==="Sem::School::ContentModule::GrantsAndScholarships"?Oi(ZG.create)(hue(n)):e==="Sem::School::ContentModule::LocalAreaSpotlight"?Oi(KG.create)(yue(n)):e==="Sem::School::ContentModule::NonAcademicFacilities"?Oi(e4.create)(Aue(n)):e==="Sem::School::ContentModule::PublishedCosts"?Oi(n4.create)(Lue(n)):e==="Sem::School::ContentModule::ReligiousLife"?Oi(t4.create)(Nue(n)):e==="Sem::School::ContentModule::SpectatorSports"?Oi(a4.create)(Pue(n)):e==="Sem::School::ContentModule::StudentGroups"?Oi(r4.create)(kue(n)):e==="Sem::School::ContentModule::StudyAwayAbroad"?Oi(o4.create)(Bue(n)):e==="Sem::School::ContentModule::Traditions"?Oi(i4.create)(Wue(n)):C.value}},zue=Zn(Ge)(J)({parse:function(e){return que(Tze(e))(function(n){return que(Mze(n.type)(e))(function(t){return new d({isLiked:n.isLiked,data:t,id:n.id,isPublished:n.isPublished})})})},diagnosticName:"Sem.School.ContentModule.Module"}),Gze=function(){return[vy.value,y0.value,my.value,py.value,_y.value,dy.value,hy.value,gy.value,Dy.value,wy.value,Sy.value,Cy.value,Iy.value,Ty.value,Fy.value,My.value,Ry.value,by.value,yy.value,Ey.value]}(),cv=function(e){if(e instanceof HG)return vy.value;if(e instanceof BG)return y0.value;if(e instanceof JG)return my.value;if(e instanceof WG)return py.value;if(e instanceof qG)return _y.value;if(e instanceof zG)return dy.value;if(e instanceof $G)return hy.value;if(e instanceof VG)return gy.value;if(e instanceof QG)return Dy.value;if(e instanceof YG)return yy.value;if(e instanceof XG)return by.value;if(e instanceof ZG)return Ry.value;if(e instanceof KG)return wy.value;if(e instanceof e4)return Sy.value;if(e instanceof n4)return Ey.value;if(e instanceof t4)return Cy.value;if(e instanceof a4)return Iy.value;if(e instanceof r4)return Ty.value;if(e instanceof o4)return Fy.value;if(e instanceof i4)return My.value;throw new Error("Failed pattern match at Sem.School.ContentModule.ModuleData (line 119, column 6 - line 139, column 38): "+[e.constructor.name])},$ue=pf(os(Dt))(function(e){return Fze(e)(Gze)});var Aze=N(ge),JE=function(e){return yr(Aze(zue)(e))};var xze=ut(Ge),Vue=yn(Dn),Gy=gn(Vue)(pn(mn)),Que=dn(_n),Ay=hn(Que),Yue=wn(Rn),xy=bn(Yue),Ly=N(J),Xue=on(),Zue=Z(J),Lze=K(Le),jze=N(sm),Nze=Ua(vr(na)),_N=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Kue=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ei=function(){function e(){}return e.value=new e,e}(),Lu=function(){function e(){}return e.value=new e,e}(),Zi=function(){function e(){}return e.value=new e,e}(),ju=function(){function e(){}return e.value=new e,e}(),Jl=function(){function e(){}return e.value=new e,e}(),Wl=function(){function e(){}return e.value=new e,e}(),ql=function(){function e(){}return e.value=new e,e}(),Pze={to:function(e){if(e instanceof H)return ei.value;if(e instanceof p&&e.value0 instanceof H)return Lu.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return Zi.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return ju.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return Jl.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return Wl.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p)return ql.value;throw new Error("Failed pattern match at SchoolDetails.Types (line 61, column 1 - line 61, column 30): "+[e.constructor.name])},from:function(e){if(e instanceof ei)return new H(fe.value);if(e instanceof Lu)return new p(new H(fe.value));if(e instanceof Zi)return new p(new p(new H(fe.value)));if(e instanceof ju)return new p(new p(new p(new H(fe.value))));if(e instanceof Jl)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof Wl)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof ql)return new p(new p(new p(new p(new p(new p(fe.value))))));throw new Error("Failed pattern match at SchoolDetails.Types (line 61, column 1 - line 61, column 30): "+[e.constructor.name])}},kze=Sn(Pze)(Gy(Gy(Gy(Gy(Gy(Gy(Vue)(Que))(Ay))(Ay))(Ay))(Ay))(Ay))(xy(xy(xy(xy(xy(xy(Yue)))))))(Ay),ele={eq:function(e){return function(n){return e instanceof ei&&n instanceof ei||e instanceof Lu&&n instanceof Lu||e instanceof Zi&&n instanceof Zi||e instanceof ju&&n instanceof ju||e instanceof Jl&&n instanceof Jl||e instanceof Wl&&n instanceof Wl||e instanceof ql&&n instanceof ql}}},u4=function(e){if(e instanceof ei)return C.value;if(e instanceof Lu)return new d("for-you");if(e instanceof Zi)return new d("chancing");if(e instanceof ju)return new d("finances");if(e instanceof Jl)return new d("majors");if(e instanceof Wl)return new d("admission-requirements");if(e instanceof ql)return new d("essay-prompts");throw new Error("Failed pattern match at SchoolDetails.Types (line 84, column 14 - line 91, column 39): "+[e.constructor.name])},WE=function(e){if(e instanceof ei)return"Overview";if(e instanceof Lu)return"For_You";if(e instanceof Zi)return"Chancing";if(e instanceof ju)return"Finances";if(e instanceof Jl)return"Majors";if(e instanceof Wl)return"Admission_Requirements";if(e instanceof ql)return"Essay_Prompts";throw new Error("Failed pattern match at SchoolDetails.Types (line 65, column 9 - line 72, column 34): "+[e.constructor.name])};var Oze=function(){return xze({parse:An(WE)(kze),default:ei.value,diagnosticName:"School Details tab"})}(),nle=function(e){return function(n){var t=Ly(nre)(ee(n.chancingProfile)),a=function(l){return{status:NG(l.status),initiator:BE(l.initiator),schoolUsesAiRecruiter:l.schoolUsesAiRecruiter}},r=Ly(I_)(ee(n.chances)),o={permanentProfile:t,effectiveProfile:Ly(Xue)(t),chances:new zt(an(r)),simulation:C.value},i={auth0Config:n.auth0Config,chances:r,contentModules:Zue(ee(n.contentModules))(JE),financials:Ly(aG)(ee(n.financials)),majors:wM(n.majors),originUrl:n.originUrl,school:Vh(n.staticSchool),schoolConnection:Ly(a)(ee(n.schoolConnection)),schoolList:tre(n.schoolList),schoolNotes:are(n.schoolNotes),showInvitationAcceptedCTA:Die(n.showInvitationAcceptedCTA),tab:Oze(n.initialTab)},u={backButton:C.value,chancingState:o,configuration:e,currentUser:Ly(Lie)(ee(n.currentUser)),featureFlags:fre(n.featureFlags),hasFinancialProfile:n.hasFinancialProfile,mobileLayout:n.mobileLayout,mapboxAccessToken:n.mapboxAccessToken,randomSeed:PK(n.randomSeed),showNetworkCard:n.showNetworkCard,showUpdateLinks:!0,recommendedSchools:Zue(Lze(ee(n.recommendedSchools))(ls))(jze(Dte)),trackingSource:cE.value,vineBelowConnectionLimit:ee(n.vineBelowConnectionLimit),whatificatorLink:new _N(new d(i.school))};return new Ue(i,u)}},l4=function(e){var n=Xue(e.school);if(e.configuration instanceof rv)return function(t){if(t instanceof ei)return!0;if(t instanceof Lu)return gt(ag(n.id)(e.schoolDb));if(t instanceof Zi)return gt(e.chancingState.effectiveProfile);if(t instanceof ju)return!0;if(t instanceof Jl)return Nze(Si)(n.majors);if(t instanceof Wl)return fr(e.currentUser);if(t instanceof ql)return fr(e.currentUser);throw new Error("Failed pattern match at SchoolDetails.Types (line 112, column 27 - line 119, column 47): "+[t.constructor.name])};if(e.configuration instanceof vg)return function(t){if(t instanceof ei)return!0;if(t instanceof Lu||t instanceof Zi)return!1;if(t instanceof ju)return!0;if(t instanceof Jl||t instanceof Wl||t instanceof ql)return!1;throw new Error("Failed pattern match at SchoolDetails.Types (line 120, column 26 - line 127, column 26): "+[t.constructor.name])};throw new Error("Failed pattern match at SchoolDetails.Types (line 111, column 19 - line 127, column 26): "+[e.configuration.constructor.name])};var Uze=K(Va);var Hze=Na(it),tle=mt(Va);var ale=function(e){return Hze(Uze(_o)(ute(e)("_blank")("")))},c4=function(e){return tle(G9(e))(tle(A9)(_o))};var dN=Z(J);var hN=Hr(Te)(ft),Bze=on(),Jze=yi(J),gN=function(e){return"/schools/"+e.slug},DN="/schools/hub";var rle=function(e){return function(n){var t=dN(kne(n.whatificator))(function(u){return"simulator="+u}),a=dN(n.mobileOverlay)(function(u){return"overlay="+Kte(u)}),r=Wr("&")(yr([a,t])),o=dN(n.focusedSchool)(function(u){return hN("/")(yr([new d(Bze(u.slug)),u4(u.tab)]))}),i=function(){return e.knownSeoState instanceof d&&n.seoView?hN("/")(yr([new d(gN({slug:e.knownSeoState.value0.slug})),o])):hN("/")(yr([new d(DN),new d(Oe(e.basePath)(FS)(n.ranking)),Jze(o)("d"),o]))}();return i+(function(){var u=r==="";return u?"":"?"}()+r)}};var ole="/profile";var Wze=on();var R0=function(e){return function(n){return Wr("/")(yr([new d("/schools"),new d(Wze(n)),u4(e)]))}},Km=ole;var qze=function(e){return rle({basePath:"all",knownSeoState:C.value})({ranking:C.value,focusedSchool:e,mobileOverlay:C.value,seoView:!1,whatificator:oM.value})},ile=function(e){return qze(e)+"?simulator=on"};var s4="/profile/finances";var ule="https://blog.collegevine.com/how-federal-work-study-works/";var lle={validateForeignType:function(e){return cu.value}};var cle=Hn(Mn);var yN=Kr(Xn),f4=z(Yt),bN=Bn(Xn),zze=Z(it),sle=cle(Lt),$ze=mt(Lt),fle=N(Vt),v4=z(_t),m4=cle(qt),vle=K(Lt),Vze=K0(Vt),Qze=Cne(VF),Yze=ow(eM),Xze=R1(Xn),Zze=co(Yt)(Te),Kze=N(ge),e$e=uo(_t),p4=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}(),mle=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),_4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),n$e=Yp(hf(!1));var t$e=function(e){return{queue:[],delay:e.delay}},ple=t$e({delay:500}),_le=function(e){return yN(f4(new p4(C.value,e)))},dle=function(e){return bN(zze(is(n$e))(function(n){return n?0:e.delay}))},hle=function(e){return yN(sle($ze(gc)(dle(e)))(function(){return fle(mle.create)(bN(S9))}))},gle=function(e){return function(n){return function(t){if(t instanceof _4)return v4(n);if(t instanceof p4&&t.value0 instanceof C)return m4(yN(vle(bN(S9))(function(r){return vle(Vze(fle(Qze)(dle(n)))(r))(function(o){return f4(new p4(o,t.value1))})})))(function(){return v4(n)});if(t instanceof p4&&t.value0 instanceof d)return m4(hle(n))(function(){return v4({delay:n.delay,queue:Ci({when:t.value0.value0,item:t.value1})(Lr(function(r){return!e.isSameItem(r.item)(t.value1)})(n.queue))})});if(t instanceof mle){var a=t8(function(r){return Yze(r.when)(t.value0)})(n.queue);return m4(Xze(sle(Zze(a.yes)(function(r){return e.commitItem(r.item)}))(function(){var r=Si(a.yes);return f4(r?C.value:new d(new _4(Kze(function(o){return o.item})(a.yes))))})))(function(){return m4(e$e(!Si(a.no))(hle(n)))(function(){return v4({delay:n.delay,queue:a.no})})})}throw new Error("Failed pattern match at Utils.Debouncer (line 69, column 1 - line 73, column 44): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}};var Dle=Z(Yf),yle=on(),a$e=Qe(Xe),r$e=vc(U8)(Te),ble=Z(ge),o$e=Sa(),i$e=Z(J),RN=function(e){return function(n){return{whatIfChances:n.whatIfChances,chances:n.chances,contentModules:n.contentModules,counselorConnections:n.counselorConnections,schoolConnections:n.schoolConnections,financials:n.financials,schoolList:n.schoolList,schoolNotes:n.schoolNotes,recommendedSchools:n.recommendedSchools,admissionsDates:n.admissionsDates,requestDebouncer:n.requestDebouncer,all:Dle(e.schools)(function(t){return{table:BS(function(a){return function(r){return r.id}(yle(a))})(a$e)(t),array:Lf(function(a){return t})}}),slugs:Dle(e.schools)(function(t){return r$e(ble(t)(function(a){return new Ue(a.slug,a.id)}))}),majors:e.majors,searchOptions:ble(Ee([])(ho(e.schools)))(function(t){return{value:yle(t.id),label:t.name}})}}},wN=function(){return function(e){var n=o$e(e);return RN({schools:n.schools,majors:Un(n.majors)(Sf)})({all:Ra.value,slugs:Ra.value,majors:Sf,searchOptions:[],whatIfChances:Ra.value,chances:Un(n.chances)(Ra.value),contentModules:{loadRequests:[],content:Oe(Ra.value)(zt.create)(i$e(Rr(n.contentModules))(BS(function(t){return t.schoolId})(function(t){return zt.create(function(a){return a.modules}(t))})))},financials:Un(n.financials)(Ra.value),counselorConnections:Oe(Ra.value)(zt.create)(Rr(n.counselorConnections)),schoolConnections:Oe(Ra.value)(zt.create)(Rr(n.schoolConnections)),schoolList:Un(n.schoolList)(JS),admissionsDates:Ra.value,schoolNotes:Un(n.schoolNotes)(JS),recommendedSchools:Oe(Ra.value)(zt.create)(Rr(n.recommendedSchools)),requestDebouncer:ple})}};var u$e=N(J);var Rle=function(e){return{chances:wm(function(n){return I_(function(t){return t.chances}(n))})(e),financials:bM(function(){var n=u$e(aG);return function(t){return n(ee(function(a){return a.financials}(t)))}}())(e)}};var l$e=function(){function e(){}return e.value=new e,e}(),c$e=function(){function e(){}return e.value=new e,e}(),s$e=function(){function e(){}return e.value=new e,e}(),f$e=function(){function e(){}return e.value=new e,e}(),v$e=function(){function e(){}return e.value=new e,e}(),m$e=function(){function e(){}return e.value=new e,e}(),p$e=function(){function e(){}return e.value=new e,e}(),_$e=function(){function e(){}return e.value=new e,e}();var SN=function(e){if(e instanceof l$e)return"Asian";if(e instanceof c$e)return"Black";if(e instanceof s$e)return"Hispanic";if(e instanceof f$e)return"Hawaiian";if(e instanceof v$e)return"NativeAmerican";if(e instanceof m$e)return"White";if(e instanceof p$e)return"OtherEthnicity";if(e instanceof _$e)return"Undisclosed";throw new Error("Failed pattern match at Common.Ethnicity (line 39, column 13 - line 47, column 31): "+[e.constructor.name])};var d$e=function(){function e(){}return e.value=new e,e}(),h$e=function(){function e(){}return e.value=new e,e}(),g$e=function(){function e(){}return e.value=new e,e}(),D$e=function(){function e(){}return e.value=new e,e}(),y$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),b$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var R$e=function(e){if(e instanceof d$e)return":male";if(e instanceof h$e)return":female";if(e instanceof g$e)return":non_binary";if(e instanceof D$e)return":undisclosed";throw new Error("Failed pattern match at Common.Gender (line 46, column 24 - line 50, column 32): "+[e.constructor.name])},EN=function(e){if(e instanceof y$e)return R$e(e.value0);if(e instanceof b$e)return e.value0;throw new Error("Failed pattern match at Common.Gender (line 41, column 13 - line 43, column 21): "+[e.constructor.name])};var qE=Ef()();var wle=function(){function e(){}return e.value=new e,e}(),Sle=function(){function e(){}return e.value=new e,e}(),Ele=function(){function e(){}return e.value=new e,e}();var E$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),C$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),I$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),T$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),M$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),G$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),A$e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var x$e=function(e){if(e instanceof E$e)return Ga(qE({id:"gpa"})(e.value0));if(e instanceof C$e)return Ga(qE({id:"sat"})(e.value0));if(e instanceof I$e)return Ga(qE({id:"act"})(e.value0));if(e instanceof T$e)return Ga(qE({id:"coursework"})(e.value0));if(e instanceof F$e)return Ga({id:"extracurriculars",ecs:fg(e.value0)});if(e instanceof M$e)return Ga({id:"ethnicity",ethnicity:SN(e.value0)});if(e instanceof G$e)return Ga(qE({id:"location"})(e.value0));if(e instanceof A$e)return Ga({id:"gender",gender:EN(e.value0)});throw new Error("Failed pattern match at Hub.Types.Chancing.WhatIf (line 146, column 24 - line 162, column 67): "+[e.constructor.name])},Cle=N(ge)(x$e);var Ile=Pr(No),Tle=Pr(Ile),Fle=ro(Tle),Hc=K(Lt),Mle=ro(Ile),CN=on(),IN=Yoe(No),Ta=Qn(),Gle=E({reflectSymbol:function(){return"name"}})(ue),Ale=Gle(he),gu=Ln(ue),xle=E({reflectSymbol:function(){return"address"}}),Lle=E({reflectSymbol:function(){return"location"}})(Ta(E({reflectSymbol:function(){return"lat"}})(Gt)(E({reflectSymbol:function(){return"lng"}})(Gt)(he)))),jle=E({reflectSymbol:function(){return"admissions"}}),Nle=E({reflectSymbol:function(){return"percentile"}})(Gt),Ple=E({reflectSymbol:function(){return"value"}}),zE=Ln(Ta(Nle(Ple(Gt)(he)))),TN=E({reflectSymbol:function(){return"p25"}}),FN=E({reflectSymbol:function(){return"p75"}}),$E=Ln(Ta(TN(bt)(FN(bt)(he)))),MN=Ln(Ta(E({reflectSymbol:function(){return"men"}})(bt)(E({reflectSymbol:function(){return"women"}})(bt)(he)))),bg=Ln(Gt),kle=Ta(Nle(Ple(bt)(he))),Ole=Ln(kle),Nu=Ln(bt),Ule=Ta(E({reflectSymbol:function(){return"conference"}})(Ln(Ta(E({reflectSymbol:function(){return"group"}})(ue)(Ale))))(E({reflectSymbol:function(){return"division1"}})(zn)(he))),Hle=E({reflectSymbol:function(){return"ipedsUnitId"}})(gu),Ble=E({reflectSymbol:function(){return"act"}}),GN=E({reflectSymbol:function(){return"all"}}),Jle=E({reflectSymbol:function(){return"p50"}}),jy=Ta(TN(Nu)(Jle(Nu)(FN(Nu)(he)))),Wle=GN(jy),qle=E({reflectSymbol:function(){return"math"}})(jy),zle=E({reflectSymbol:function(){return"gpa"}}),$le=Ta(TN(bg)(Jle(bg)(FN(bg)(he)))),Vle=E({reflectSymbol:function(){return"sat"}}),L$e=Xi(Ta(E({reflectSymbol:function(){return"majorsMap"}})($n(Ta(E({reflectSymbol:function(){return"areaOfStudy"}})(ue)(E({reflectSymbol:function(){return"cipCode"}})(ue)(E({reflectSymbol:function(){return"compressedName"}})(ue)(Ale))))))(E({reflectSymbol:function(){return"staticSchools"}})($n(Ta(E({reflectSymbol:function(){return"academicOfferings"}})(Ta(E({reflectSymbol:function(){return"careerCounseling"}})(zn)(E({reflectSymbol:function(){return"creditForApExams"}})(zn)(E({reflectSymbol:function(){return"creditForIbExams"}})(zn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(zn)(E({reflectSymbol:function(){return"offersGradDegree"}})(zn)(E({reflectSymbol:function(){return"specialFocus"}})(gu)(E({reflectSymbol:function(){return"studyAbroad"}})(zn)(he)))))))))(xle(Ta(E({reflectSymbol:function(){return"nonUSAddress"}})(Ln(Ta(xle(ue)(E({reflectSymbol:function(){return"country"}})(ue)(Lle(he))))))(E({reflectSymbol:function(){return"usAddress"}})(Ln(Ta(E({reflectSymbol:function(){return"city"}})(ue)(E({reflectSymbol:function(){return"county"}})(ue)(Lle(E({reflectSymbol:function(){return"region"}})(ue)(E({reflectSymbol:function(){return"state"}})(ue)(E({reflectSymbol:function(){return"street"}})(ue)(E({reflectSymbol:function(){return"zip"}})(ue)(he))))))))))(he))))(jle(Ta(E({reflectSymbol:function(){return"acceptanceRate"}})(zE)(E({reflectSymbol:function(){return"actComposite"}})($E)(E({reflectSymbol:function(){return"actMath"}})($E)(E({reflectSymbol:function(){return"actVerbal"}})($E)(E({reflectSymbol:function(){return"admitted"}})(MN)(E({reflectSymbol:function(){return"applicants"}})(MN)(E({reflectSymbol:function(){return"enrolled"}})(MN)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(bg)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(bg)(E({reflectSymbol:function(){return"reqClassRank"}})(gu)(E({reflectSymbol:function(){return"reqRecLetters"}})(gu)(E({reflectSymbol:function(){return"reqStandardTests"}})(gu)(E({reflectSymbol:function(){return"reqToefl"}})(gu)(E({reflectSymbol:function(){return"satMath"}})($E)(E({reflectSymbol:function(){return"satVerbal"}})($E)(E({reflectSymbol:function(){return"totalApplicants"}})(Ole)(E({reflectSymbol:function(){return"yieldRate"}})(zE)(he)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(gu)(E({reflectSymbol:function(){return"applicationTimeHours"}})(bt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(Nu)(E({reflectSymbol:function(){return"averageNetPrice"}})(Ln(Ta(E({reflectSymbol:function(){return"quintile1"}})(Gt)(E({reflectSymbol:function(){return"quintile2"}})(Gt)(E({reflectSymbol:function(){return"quintile3"}})(Gt)(E({reflectSymbol:function(){return"quintile4"}})(Gt)(E({reflectSymbol:function(){return"quintile5"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"basketball"}})(Ule)(E({reflectSymbol:function(){return"calendarSystem"}})(ue)(E({reflectSymbol:function(){return"chancing"}})(Ta(E({reflectSymbol:function(){return"canChance"}})(zn)(E({reflectSymbol:function(){return"endorsed"}})(zn)(E({reflectSymbol:function(){return"moreInfoLink"}})(gu)(he)))))(E({reflectSymbol:function(){return"colors"}})(Ta(E({reflectSymbol:function(){return"primary"}})(gu)(E({reflectSymbol:function(){return"secondary"}})(gu)(he))))(E({reflectSymbol:function(){return"costRoomBoard"}})(Nu)(E({reflectSymbol:function(){return"diversity"}})(ue)(E({reflectSymbol:function(){return"dropOutRate"}})(bt)(E({reflectSymbol:function(){return"feesInState"}})(Nu)(E({reflectSymbol:function(){return"feesOutOfState"}})(Nu)(E({reflectSymbol:function(){return"football"}})(Ule)(E({reflectSymbol:function(){return"fourYearGradRate"}})(bg)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(zE)(E({reflectSymbol:function(){return"fracLoans"}})(Gt)(E({reflectSymbol:function(){return"fracPellGrants"}})(Gt)(E({reflectSymbol:function(){return"gender"}})(ue)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(zn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(zn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(zn)(E({reflectSymbol:function(){return"hbcu"}})(zn)(E({reflectSymbol:function(){return"id"}})(ds)(E({reflectSymbol:function(){return"imgixPath"}})(ue)(Hle(E({reflectSymbol:function(){return"isCommuterCollege"}})(zn)(E({reflectSymbol:function(){return"isForProfit"}})(zn)(E({reflectSymbol:function(){return"isPublic"}})(zn)(E({reflectSymbol:function(){return"majors"}})($n(ue))(E({reflectSymbol:function(){return"message"}})(ue)(Gle(E({reflectSymbol:function(){return"numFreshmen"}})(Ole)(E({reflectSymbol:function(){return"phone"}})(ue)(E({reflectSymbol:function(){return"prestige"}})(ue)(E({reflectSymbol:function(){return"profileClaimed"}})(zn)(E({reflectSymbol:function(){return"racialBreakdown"}})(Ln(Ta(E({reflectSymbol:function(){return"asian"}})(Gt)(E({reflectSymbol:function(){return"black"}})(Gt)(E({reflectSymbol:function(){return"hispanic"}})(Gt)(E({reflectSymbol:function(){return"nativeAmerican"}})(Gt)(E({reflectSymbol:function(){return"white"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"rankings"}})($n(Ta(E({reflectSymbol:function(){return"bucket"}})(ue)(E({reflectSymbol:function(){return"key"}})(ue)(E({reflectSymbol:function(){return"order"}})(bt)(he))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ue)(E({reflectSymbol:function(){return"retentionRate"}})(zE)(E({reflectSymbol:function(){return"schoolType"}})(ue)(E({reflectSymbol:function(){return"setting"}})(ue)(E({reflectSymbol:function(){return"sixYearGradRate"}})(zE)(E({reflectSymbol:function(){return"slug"}})(Kw)(E({reflectSymbol:function(){return"studentsPerFaculty"}})(kle)(E({reflectSymbol:function(){return"testScoreStats"}})(Ln(Ta(Ble(Ta(Wle(E({reflectSymbol:function(){return"english"}})(jy)(qle(he)))))(zle(Ta(GN($le)(he)))(Vle(Ta(Wle(qle(E({reflectSymbol:function(){return"readingWriting"}})(jy)(he)))))(he))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(bt)(E({reflectSymbol:function(){return"tuitionInState"}})(Nu)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(Nu)(E({reflectSymbol:function(){return"urls"}})(Ta(jle(gu)(E({reflectSymbol:function(){return"finAid"}})(gu)(E({reflectSymbol:function(){return"main"}})(ue)(E({reflectSymbol:function(){return"priceCalculator"}})(gu)(he))))))(he))))))))))))))))))))))))))))))))))))))))))))))))))))))))(he)))),Qle=N(ge),VE=z(Yt),j$e=Xi(xh($n(ds))),N$e=N(Vt),Yle=E({reflectSymbol:function(){return"chances"}}),Xle=Ta(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ue)(E({reflectSymbol:function(){return"applicationStrategy"}})(ue)(E({reflectSymbol:function(){return"classification"}})(gu)(E({reflectSymbol:function(){return"courseRigorStrength"}})(gu)(E({reflectSymbol:function(){return"ecStrength"}})(gu)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(zn)(E({reflectSymbol:function(){return"score"}})(Nu)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(zn)(E({reflectSymbol:function(){return"specialCase"}})(gu)(he)))))))))),AN=Ta(GN($n(Xle))(E({reflectSymbol:function(){return"guidance"}})(Ln(Vp))(E({reflectSymbol:function(){return"sameDemographicStats"}})(Ln(Ta(Ble(jy)(zle($le)(Vle(jy)(he))))))(E({reflectSymbol:function(){return"top"}})(Xle)(he))))),P$e=Xi(xh(Ta(Yle(AN)(E({reflectSymbol:function(){return"financials"}})(Ln(Ta(E({reflectSymbol:function(){return"estimatedMeritAid"}})(bg)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Gt)(E({reflectSymbol:function(){return"financialAid"}})(Gt)(E({reflectSymbol:function(){return"stickerPrice"}})(Gt)(he)))))))(he))))),Zle=dg(UF),Kle=Mo(o1)(On),d4=Ln(zn),ece=Ta(E({reflectSymbol:function(){return"day"}})(Nu)(E({reflectSymbol:function(){return"isContinuous"}})(d4)(E({reflectSymbol:function(){return"month"}})(Nu)(he)))),Ny=Ta(E({reflectSymbol:function(){return"deadline"}})(ece)(E({reflectSymbol:function(){return"notification"}})(ece)(he))),k$e=Rt(Ta(E({reflectSymbol:function(){return"earlyActionDates"}})(Ny)(E({reflectSymbol:function(){return"earlyDecisionDates"}})(Ny)(E({reflectSymbol:function(){return"fallFreshmenDates"}})(Ny)(E({reflectSymbol:function(){return"fallTransfersDates"}})(Ny)(E({reflectSymbol:function(){return"hasEarlyAction"}})(d4)(E({reflectSymbol:function(){return"hasEarlyAdmission"}})(d4)(E({reflectSymbol:function(){return"hasEarlyDecision"}})(d4)(E({reflectSymbol:function(){return"inunId"}})(bt)(Hle(E({reflectSymbol:function(){return"otherEarlyDecisionDates"}})(Ny)(E({reflectSymbol:function(){return"outstateFallFreshmenDates"}})(Ny)(E({reflectSymbol:function(){return"satActDeadlineDay"}})(Nu)(E({reflectSymbol:function(){return"satActDeadlineMonth"}})(Nu)(E({reflectSymbol:function(){return"satSubjectTestDeadlineDay"}})(Nu)(E({reflectSymbol:function(){return"satSubjectTestDeadlineMonth"}})(Nu)(E({reflectSymbol:function(){return"year"}})(bt)(he)))))))))))))))))),O$e=Rt(AN),U$e=dg(Vp),H$e=Rt(Ta(Yle(Ln($n(AN)))(he))),B$e=K(Le),J$e=Z(J),W$e=Na(Vt),nce=Fle("schools_update_school_notes_path")(function(e){return function(n){return function(t){return Hc(e({school_id:n,notes:t}))(Au)}}});var q$e=Fle("schools_lists_remove_path")(function(e){return function(n){return function(t){return Hc(e({school_ids:[CN(t)],analytics_source:X9(n)}))(Au)}}}),tce=IN("schools_static_data_url")(function(e){return Hc(e)(zr(function(n){return Hc(L$e("Hub Schools Static Data")(n))(function(t){var a=Qle(Vh)(t.staticSchools),r=wM(t.majorsMap);return VE({schools:a,majorsMap:r})})}))}),ace=IN("schools_hub_data_recommended_schools_path")(function(e){return Hc(e)(zr(function(n){return Hc(j$e("Hub school recommendations")(n))(function(t){return VE(bM(ls)(t))})}))}),rce=IN("schools_hub_data_chances_and_financials_path")(function(e){return Hc(e)(zr(function(n){return N$e(Rle)(P$e("Hub chances and financials")(n))}))}),oce=Mle("schools_hub_admissions_path")(function(e){return function(n){return Hc(e({schools:Qle(CN)(n)}))(zr(function(t){return Hc(Zle("School admissions data")(t)(Kle(k$e)))(function(a){return VE(wm(Fte)(a))})}))}}),ice=Mle("schools_hub_whatif_chancing_path")(function(e){return function(n){return Hc(e({scenario:Cle(n)}))(zr(function(t){return Hc(Zle("What-if chancing results")(t)(Kle(O$e)))(function(a){return VE(wm(I_)(a))})}))}}),xN=ro(Pr(Pr(Tle)))("schools_lists_add_path")(function(e){return function(n){return function(t){return function(a){return function(r){return Hc(e({status:oE(r),school_ids:[CN(t)],analytics_source:X9(n),application_round:j9(a)}))(zr(function(o){return Hc(U$e("addSchoolToList chancing results")(o)(H$e))(function(i){return VE(B$e(ee(i.chances))(function(u){return J$e(Ei(u))(I_)}))})}))}}}}}),uce=function(e){return function(n){return function(t){return Oe(q$e(e)(n))(function(){var a=xN(e)(n)(t);return function(r){return W$e(a(r))}}())}}};var h4=_e(dc),Py=function(){function e(){}return e.value=new e,e}(),ky=function(){function e(){}return e.value=new e,e}(),Oy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Uy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Hy=function(){function e(){}return e.value=new e,e}(),By=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),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}(),P_=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}(),k_=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}(),wg=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}(),O_=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),U_=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H_=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Jy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Wy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),B_=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),zy=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),QE=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),g4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),D4=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}(),y4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),b4=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}(),R4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),w4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),S4=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}(),lce={eq:function(e){return function(n){return e instanceof Wy&&n instanceof Wy?h4(e.value0)(n.value0):e instanceof qy&&n instanceof qy?e.value0.moduleId===n.value0.moduleId&&h4(e.value0.schoolId)(n.value0.schoolId):e instanceof B_&&n instanceof B_||e instanceof zy&&n instanceof zy?h4(e.value0)(n.value0):!1}}},cce=function(e){if(e instanceof Wy)return new d(e.value0);if(e instanceof qy)return new d(e.value0.schoolId);if(e instanceof B_)return new d(e.value0);if(e instanceof zy)return new d(e.value0);throw new Error("Failed pattern match at Hub.SchoolDatabase.Request.Types (line 98, column 19 - line 102, column 43): "+[e.constructor.name])},E4=function(e){if(e instanceof Py)return C.value;if(e instanceof ky)return C.value;if(e instanceof Oy)return C.value;if(e instanceof Rg)return C.value;if(e instanceof Uy)return C.value;if(e instanceof Hy)return C.value;if(e instanceof By)return C.value;if(e instanceof N_)return new d(new Wy(e.value0));if(e instanceof P_)return new d(new qy({schoolId:e.value0,moduleId:e.value1.moduleId}));if(e instanceof k_)return new d(new B_(e.value0));if(e instanceof wg)return new d(new zy(e.value0));if(e instanceof O_)return C.value;if(e instanceof U_)return C.value;if(e instanceof H_)return C.value;if(e instanceof Jy)return C.value;throw new Error("Failed pattern match at Hub.SchoolDatabase.Request.Types (line 78, column 15 - line 95, column 49): "+[e.constructor.name])};var LN=ro(Pr(No)),jN=K(Lt),sce=Z(J),fce=on(),z$e=Na(Vt);var $$e=LN("network_connections_invite_school_path")(function(e){return function(n){return jN(e({school_id:n.schoolId,message:Ut(n.introMessage),sem_user_id:Ut(sce(n.semUserId)(fce)),livestream_id:Ut(sce(n.livestreamId)(fce))}))(Au)}});var vce=function(e){return function(n){return z$e($$e({schoolId:e,introMessage:new d(n.introMessage),semUserId:C.value,livestreamId:C.value}))}},mce=LN("network_connections_ignore_invitation_path")(function(e){return function(n){return jN(e({school_id:n}))(Au)}}),pce=LN("network_connections_accept_invitation_path")(function(e){return function(n){return jN(e({school_id:n}))(Au)}});var V$e=ro(Pr(No)),Q$e=K(Lt),_ce=V$e("high_schools_invitations_invite_sem_school_path")(function(e){return function(n){return Q$e(e({sem_school_id:n}))(Au)}});var YE=function(){function e(){}return e.value=new e,e}(),XE=function(){function e(){}return e.value=new e,e}();var dce=function(e){if(e instanceof YE)return"like";if(e instanceof XE)return"unlike";throw new Error("Failed pattern match at Sem.School.ContentModule.Interaction (line 25, column 13 - line 27, column 21): "+[e.constructor.name])};var NN=ro(Pr(No)),C4=K(Lt),Y$e=Xi(Qn()(E({reflectSymbol:function(){return"firstSchoolModules"}})(Ln(Zw))(E({reflectSymbol:function(){return"presence"}})($n(ds))(he)))),X$e=z(Yt),Z$e=Z(J),K$e=Z(Vt),eVe=on(),nVe=Xi(Zw),hce=NN("schools_content_modules_presence_path")(function(e){return function(n){return C4(e({first_school_id:Ut(n.firstSchool)}))(function(t){return C4(zr(Y$e("Sem.School.ContentModule.API.presence response"))(t))(function(a){return X$e({presence:a.presence,firstSchoolModules:Z$e(ee(a.firstSchoolModules))(JE)})})})}}),gce=NN("schools_content_modules_get_path")(function(e){return function(n){return K$e(C4(e({school_id:eVe(n)}))(zr(nVe("Sem.School.ContentModule.API.get response"))))(JE)}}),Dce=NN("sem_school_content_modules_create_path")(function(e){return function(n){return C4(e({module_id:n.moduleId,type:dce(n.type)}))(Au)}});var tVe=Z(ge);var PN=function(e){return function(n){return function(t){return tVe(t)(function(a){var r=e(a);return r?n(a):a})}}},bce=function(e){return function(n){return PN(e)(an(n))}};var ya=z(_t),Pu=Hn(Mn)(qt),kN=co(_t)($o),aVe=R1(Xn),Rce=K(Lt),ON=z(Yt),rVe=N(J),wce=Qe(Xe),Sce=_e(dc),J_=Kr(Xn),$y=N(Vt),ZE=Z(Yf),oVe=K(Le),UN=Z(J),Ece={reflectSymbol:function(){return"status"}},Cce={reflectSymbol:function(){return"initiator"}},iVe=uc(Te)(vf()(ts(ts(ff)()(Ece)(xt(jG)))()(Cce)(xt(LG)))),uVe=K(qt),Ice=tm()()(Ri(Cce)(as(Ece)(rs(Vie)))(rs(Uie))),lVe=re(wl(Ice)),cVe=re(Ice),sVe=H6(Gi(Vt)),Tce=N(Yf),fVe=_e(ar),vVe=Na(Vt),mVe=Z(ge),Fce=function(e){return function(n){if(n instanceof Py||n instanceof ky||n instanceof Oy||n instanceof Rg||n instanceof Uy||n instanceof Hy||n instanceof By||n instanceof O_||n instanceof U_||n instanceof H_)return ya(e);if(n instanceof N_)return Pu(mr(uce(n.value2)(n.value0)(n.value3)(n.value1)))(function(){return ya(e)});if(n instanceof P_)return Pu(kN(n.value1.type)(function(t){return mr(Dce({moduleId:n.value1.moduleId,type:t}))}))(function(){return ya(e)});if(n instanceof k_)return Pu(mr(nce(n.value0)(n.value1)))(function(){return ya(e)});if(n instanceof wg)return Pu(kN(n.value1)(function(t){return aVe(Rce(xN(n.value2)(n.value0)(t)(n.value3))(function(a){return ON(rVe(S4.create(n.value0))(a))}))}))(function(){return ya(e)});if(n instanceof Jy)return ya(e);throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 173, column 26 - line 201, column 12): "+[n.constructor.name])}},pVe=function(e){var n=BS(wce)(function(t){var a=Sce(t)(e.firstSchool.id);return a&&e.firstSchool.modules instanceof d?new zt(e.firstSchool.modules.value0):Ra.value})(e.presence);return{content:new zt(n),loadRequests:[]}},_Ve=function(e){return function(n){var t=function(r){var o=Ts(n)(r);if(o instanceof C||o instanceof d&&o.value0 instanceof or||o instanceof d&&o.value0 instanceof zt)return ya(e);if(o instanceof d&&o.value0 instanceof Ra)return Pu(J_($y(b4.create(n))(gce(n))))(function(){return ya({loadRequests:e.loadRequests,content:ZE(e.content)(tg(n)(new or(C.value)))})});throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 264, column 20 - line 277, column 78): "+[o.constructor.name])},a=J_(Rce(hce({firstSchool:new d(n)}))(function(r){return ON(new y4({presence:r.presence,firstSchool:{id:n,modules:r.firstSchoolModules}}))}));if(e.content instanceof zt)return t(e.content.value0);if(e.content instanceof Ra)return Pu(a)(function(){return ya({loadRequests:e.loadRequests,content:new or(C.value)})});if(e.content instanceof or)return ya({content:e.content,loadRequests:Ci(n)(e.loadRequests)});throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 243, column 3 - line 253, column 60): "+[e.content.constructor.name])}},Mce=function(e){var n=function(t){return function(a){return function(r){var o=oVe(ho(e.schoolConnections))(Ts(t)),i=UN(o)(function(c){return c.initiator}),u=UN(o)(function(c){return c.status}),l=iVe({status:u,initiator:i})(a);return l?uVe(r)(function(c){return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,schoolConnections:ZE(e.schoolConnections)(tg(t)({status:c.status,initiator:c.initiator,schoolUsesAiRecruiter:Ee(!1)(UN(o)(function(s){return s.schoolUsesAiRecruiter}))}))})}):Lo(Xo)("Invalid attempt to manipulate SEM-Vine connection")({required:lVe(a),actual:cVe({status:u,initiator:i})})(function(c){return ya(e)})}}};return function(t){if(t instanceof Py)return Pu(J_($y(QE.create)(tce)))(function(){return ya(e)});if(t instanceof ky)return Pu(J_($y(g4.create)(rce)))(function(){return ya({admissionsDates:e.admissionsDates,all:e.all,contentModules:e.contentModules,counselorConnections:e.counselorConnections,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,chances:z1(e.chances),financials:z1(e.financials)})});if(t instanceof Hy)return Pu(J_($y(w4.create)(ace)))(function(){return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,recommendedSchools:z1(e.recommendedSchools)})});if(t instanceof Oy)return Pu(J_($y(D4.create(t.value0))(ice(t.value0))))(function(){return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:z1(e.whatIfChances)})});if(t instanceof Rg)return sVe(function(r){return{admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,contentModules:r}})(_Ve(e.contentModules)(t.value0));if(t instanceof Uy)return Pu(J_($y(R4.create)(oce(t.value0.schoolIds))))(function(){return ya({all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,admissionsDates:z1(e.admissionsDates)})});if(t instanceof By)return Pu(kN(ho(e.all))(function(r){return J_(ON(new QE({schools:bce(function(){var o=Sce(la(t.value0));return function(i){return o(la(i))}}())(t.value0)(yc(r.array)),majorsMap:e.majors})))}))(function(){return ya(e)});if(t instanceof N_){if(t.value1 instanceof C)return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,schoolList:vte(t.value0)(e.schoolList)});if(t.value1 instanceof d)return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,schoolList:L9(t.value0)(e.schoolList)(function(r){return function(o){return{applicationRound:o.applicationRound,status:t.value1.value0}}(Ee(gj)(r))})});throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 88, column 5 - line 95, column 12): "+[t.value1.constructor.name])}if(t instanceof P_){var a=function(){if(t.value1.type instanceof d&&t.value1.type.value0 instanceof YE)return an(!0);if(t.value1.type instanceof d&&t.value1.type.value0 instanceof XE)return an(!1);if(t.value1.type instanceof C)return wce;throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 98, column 11 - line 101, column 32): "+[t.value1.type.constructor.name])}();return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,contentModules:{loadRequests:e.contentModules.loadRequests,content:ZE(e.contentModules.content)(function(r){return fte(t.value0)(r)(Tce(PN(function(){var o=fVe(t.value1.moduleId);return function(i){return o(function(u){return u.id}(i))}}())(function(o){return{id:o.id,data:o.data,isPublished:o.isPublished,isLiked:a(o.isLiked)}})))})}})}if(t instanceof k_)return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,schoolNotes:tg(t.value0)(t.value1)(e.schoolNotes)});if(t instanceof wg&&t.value1 instanceof d)return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,schoolList:L9(t.value0)(e.schoolList)(function(r){return function(o){return{status:o.status,applicationRound:t.value1.value0}}(Ee(gj)(r))})});if(t instanceof wg&&t.value1 instanceof C)return ya(e);if(t instanceof O_)return n(t.value0)([{status:new d(Ko.value),initiator:new d(ki.value)}])(Pu(mr(vVe(pce(t.value0))))(function(){return ya({status:Bl.value,initiator:ki.value})}));if(t instanceof H_)return n(t.value0)([{status:new d(Ko.value),initiator:new d(ki.value)}])(Pu(mr(mce(t.value0)))(function(){return ya({status:xu.value,initiator:ki.value})}));if(t instanceof U_)return n(t.value0.schoolId)([{status:C.value,initiator:C.value},{status:new d(xu.value),initiator:new d(ki.value)}])(Pu(mr(vce(t.value0.schoolId)({introMessage:t.value0.introMessage})))(function(){return ya({status:Ko.value,initiator:Ns.value})}));if(t instanceof Jy)return Pu(mr(_ce(t.value0.schoolId)))(function(){return ya({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,counselorConnections:ZE(e.counselorConnections)(tg(t.value0.schoolId)(Ko.value))})});throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 55, column 26 - line 147, column 8): "+[t.constructor.name])}},Gce=function(e){var n=function(t){return{db:t,moreRequests:[]}};return function(t){if(t instanceof QE)return n(RN({schools:new zt(t.value0.schools),majors:t.value0.majorsMap})(e));if(t instanceof g4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,chances:new zt(t.value0.chances),financials:new zt(t.value0.financials)});if(t instanceof w4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,recommendedSchools:new zt(t.value0)});if(t instanceof D4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,whatIfChances:new zt({scenario:t.value0,results:t.value1})});if(t instanceof y4)return{db:{all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,chances:e.chances,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,contentModules:pVe(t.value0)},moreRequests:mVe(e.contentModules.loadRequests)(Rg.create)};if(t instanceof b4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,chances:e.chances,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,contentModules:{loadRequests:e.contentModules.loadRequests,content:ZE(e.contentModules.content)(tg(t.value0)(new zt(t.value1)))}});if(t instanceof R4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,requestDebouncer:e.requestDebouncer,admissionsDates:new zt(t.value0)});if(t instanceof S4)return n({all:e.all,slugs:e.slugs,searchOptions:e.searchOptions,majors:e.majors,whatIfChances:e.whatIfChances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,schoolConnections:e.schoolConnections,financials:e.financials,schoolList:e.schoolList,schoolNotes:e.schoolNotes,recommendedSchools:e.recommendedSchools,admissionsDates:e.admissionsDates,requestDebouncer:e.requestDebouncer,chances:Tce(tg(t.value0)(t.value1))(e.chances)});throw new Error("Failed pattern match at Hub.SchoolDatabase.Request (line 204, column 20 - line 235, column 8): "+[t.constructor.name])}};var I4=K(qt),T4=Dr(Gi(Vt)),dVe=Hn(Mn)(qt),hVe=co(_t)($o),Ace=z(_t),gVe=_e(xt(lce)),DVe=z(Yt),xce=uQ(Te)(cK),yVe=N(J),Lce=Z(Yf),HN=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}(),F4=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),BN=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bVe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JN=function(e){return function(n){return I4(T4(HN.create(e))(Mce(n)(e)))(function(t){return dVe(hVe(E4(e))(function(a){return T4(F4.create)(_le(e))}))(function(){return Ace(t)})})}},jce=function(e){var n=function(a){return function(r){return Ace({state:r,events:a})}},t={isSameItem:Cu(gVe)(E4),commitItem:an(DVe(Ce))};return function(a){if(a instanceof HN){var r=Gce(e)(a.value1);return I4(xce(Jt(JN))(r.db)(r.moreRequests))(n([new bVe(a.value0)]))}if(a instanceof F4&&a.value0 instanceof _4)return I4(xce(function(o){return function(i){return T4(HN.create(i))(Fce(o)(i))}})(e)(a.value0.value0))(n(Go(function(o){return yVe(BN.create)(E4(o))})(a.value0.value0)));if(a instanceof F4)return I4(T4(F4.create)(gle(t)(e.requestDebouncer)(a.value0)))(function(o){return n([])({admissionsDates:e.admissionsDates,all:e.all,chances:e.chances,contentModules:e.contentModules,counselorConnections:e.counselorConnections,financials:e.financials,majors:e.majors,recommendedSchools:e.recommendedSchools,schoolConnections:e.schoolConnections,schoolList:e.schoolList,schoolNotes:e.schoolNotes,searchOptions:e.searchOptions,slugs:e.slugs,whatIfChances:e.whatIfChances,requestDebouncer:o})});throw new Error("Failed pattern match at Hub.SchoolDatabase (line 68, column 16 - line 77, column 51): "+[a.constructor.name])}},RVe=function(e){return Lce(Lce(e.all)(function(n){return n.array}))(yc)},Nce=function(){var e=Ee([]);return function(n){return e(ho(RVe(n)))}}();Wt();function lt(){return lt=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},lt.apply(this,arguments)}function bo(e){return bo=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},bo(e)}function Fa(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Pce(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 Ht(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Pce(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Pce(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function WN(e,n){if(e==null)return{};var t={},a=Object.keys(e),r,o;for(o=0;o<a.length;o++)r=a[o],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}function pi(e,n){if(e==null)return{};var t=WN(e,n),a,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)a=o[r],!(n.indexOf(a)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,a)||(t[a]=e[a]))}return t}Wt();Wt();function Ro(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function kce(e,n){for(var t=0;t<n.length;t++){var a=n[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function wo(e,n,t){return n&&kce(e.prototype,n),t&&kce(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function W_(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vy(e,n){return Vy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,r){return a.__proto__=r,a},Vy(e,n)}function So(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&&Vy(e,n)}function ir(e){return ir=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},ir(e)}function qN(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ki(e,n){if(n&&(bo(n)==="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return W_(e)}function Sg(e){var n=qN();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}Wt();var Oce=function(n){return+setTimeout(n,16)},Uce=function(n){return clearTimeout(n)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Oce=function(n){return window.requestAnimationFrame(n)},Uce=function(n){return window.cancelAnimationFrame(n)});var Hce=0,zN=new Map;function Bce(e){zN.delete(e)}function Bc(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Hce+=1;var t=Hce;function a(r){if(r===0)Bce(t),e();else{var o=Oce(function(){a(r-1)});zN.set(t,o)}}return a(n),t}Bc.cancel=function(e){var n=zN.get(e);return Bce(n),Uce(n)};function Eg(e,n){return e?e.contains(n):!1}function KE(e){return e instanceof HTMLElement?e:Dc.findDOMNode(e)}var $ce=ba(zce());Wt();function YN(e,n){typeof e=="function"?e(n):bo(e)==="object"&&e&&"current"in e&&(e.current=n)}function U4(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var a=n.filter(function(r){return r});return a.length<=1?a[0]:function(r){n.forEach(function(o){YN(o,r)})}}function H4(e){var n,t,a=(0,$ce.isMemo)(e)?e.type.type:e.type;return!(typeof a=="function"&&!((n=a.prototype)===null||n===void 0?void 0:n.render)||typeof e=="function"&&!((t=e.prototype)===null||t===void 0?void 0:t.render))}function q_(e,n,t,a){var r=Dc.unstable_batchedUpdates?function(i){Dc.unstable_batchedUpdates(t,i)}:t;return e.addEventListener&&e.addEventListener(n,r,a),{remove:function(){e.removeEventListener&&e.removeEventListener(n,r,a)}}}Wt();function w0(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var TVe=hc(function(e,n){var t=e.didUpdate,a=e.getContainer,r=e.children,o=Aa(),i=Aa();pm(n,function(){return{}});var u=Aa(!1);return!u.current&&w0()&&(i.current=a(),o.current=i.current.parentNode,u.current=!0),br(function(){t==null||t(e)}),br(function(){return i.current.parentNode===null&&o.current!==null&&o.current.appendChild(i.current),function(){var l,c;(l=i.current)===null||l===void 0||(c=l.parentNode)===null||c===void 0||c.removeChild(i.current)}},[]),i.current?Dc.createPortal(r,i.current):null}),Vce=TVe;var kme=ba(z_());function FVe(e,n,t){return t?e[0]===n[0]:e[0]===n[0]&&e[1]===n[1]}function Qce(e,n,t){var a=e[n]||{};return Ht(Ht({},a),t)}function Yce(e,n,t,a){for(var r=t.points,o=Object.keys(e),i=0;i<o.length;i+=1){var u=o[i];if(FVe(e[u].points,r,a))return"".concat(n,"-placement-").concat(u)}return""}function XN(e){if(Array.isArray(e))return e}function ZN(e,n){var t=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var a=[],r=!0,o=!1,i,u;try{for(t=t.call(e);!(r=(i=t.next()).done)&&(a.push(i.value),!(n&&a.length===n));r=!0);}catch(l){o=!0,u=l}finally{try{!r&&t.return!=null&&t.return()}finally{if(o)throw u}}return a}}function Qy(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function eC(e,n){if(!!e){if(typeof e=="string")return Qy(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Qy(e,n)}}function KN(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ja(e,n){return XN(e)||ZN(e,n)||eC(e,n)||KN()}Wt();Wt();var Xce=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!!(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(e==null?void 0:e.substr(0,4)))};Wt();var vse=ba(z_());Wt();Wt();var sse=ba(z_());function Zce(e,n){var t={};return t[e.toLowerCase()]=n.toLowerCase(),t["Webkit".concat(e)]="webkit".concat(n),t["Moz".concat(e)]="moz".concat(n),t["ms".concat(e)]="MS".concat(n),t["O".concat(e)]="o".concat(n.toLowerCase()),t}function MVe(e,n){var t={animationend:Zce("Animation","AnimationEnd"),transitionend:Zce("Transition","TransitionEnd")};return e&&("AnimationEvent"in n||delete t.animationend.animation,"TransitionEvent"in n||delete t.transitionend.transition),t}var GVe=MVe(w0(),typeof window!="undefined"?window:{}),Kce={};w0()&&(ese=document.createElement("div"),Kce=ese.style);var ese,J4={};function nse(e){if(J4[e])return J4[e];var n=GVe[e];if(n)for(var t=Object.keys(n),a=t.length,r=0;r<a;r+=1){var o=t[r];if(Object.prototype.hasOwnProperty.call(n,o)&&o in Kce)return J4[e]=n[o],J4[e]}return""}var tse=nse("animationend"),ase=nse("transitionend"),W4=!!(tse&&ase),eP=tse||"animationend",nP=ase||"transitionend";function tP(e,n){if(!e)return null;if(bo(e)==="object"){var t=n.replace(/-\w/g,function(a){return a[1].toUpperCase()});return e[t]}return"".concat(e,"-").concat(n)}var $_="none",nC="appear",tC="enter",aC="leave",aP="none",Ps="prepare",ep="start",V_="active",q4="end";Wt();Wt();Wt();function np(e){var n=Aa(!1),t=Ff(e),a=Ja(t,2),r=a[0],o=a[1];br(function(){return n.current=!1,function(){n.current=!0}},[]);function i(u,l){l&&n.current||o(u)}return[r,i]}Wt();Wt();var rse=function(){var e=Aa(null);function n(){Bc.cancel(e.current)}function t(a){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;n();var o=Bc(function(){r<=1?a({isCanceled:function(){return o!==e.current}}):t(a,r-1)});e.current=o}return br(function(){return function(){n()}},[]),[t,n]};Wt();var AVe=w0()?aS:br,z4=AVe;var ose=[Ps,ep,V_,q4],rP=!1,ise=!0;function $4(e){return e===V_||e===q4}var use=function(e,n){var t=np(aP),a=Ja(t,2),r=a[0],o=a[1],i=rse(),u=Ja(i,2),l=u[0],c=u[1];function s(){o(Ps,!0)}return z4(function(){if(r!==aP&&r!==q4){var f=ose.indexOf(r),v=ose[f+1],m=n(r);m===rP?o(v,!0):l(function(_){function R(){_.isCanceled()||o(v,!0)}m===!0?R():Promise.resolve(m).then(R)})}},[e,r]),br(function(){return function(){c()}},[]),[s,r]};Wt();Wt();var lse=function(e){var n=Aa(),t=Aa(e);t.current=e;var a=tS(function(i){t.current(i)},[]);function r(i){i&&(i.removeEventListener(nP,a),i.removeEventListener(eP,a))}function o(i){n.current&&n.current!==i&&r(n.current),i&&i!==n.current&&(i.addEventListener(nP,a),i.addEventListener(eP,a),n.current=i)}return br(function(){return function(){r(n.current)}},[]),[o,r]};function oP(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,m=a.onEnterPrepare,_=a.onLeavePrepare,R=a.onAppearStart,D=a.onEnterStart,y=a.onLeaveStart,S=a.onAppearActive,G=a.onEnterActive,P=a.onLeaveActive,k=a.onAppearEnd,M=a.onEnterEnd,O=a.onLeaveEnd,oe=a.onVisibleChanged,le=np(),ve=Ja(le,2),X=ve[0],be=ve[1],pe=np($_),De=Ja(pe,2),Ne=De[0],ie=De[1],jn=np(null),Ve=Ja(jn,2),Pn=Ve[0],kn=Ve[1],q=Aa(!1),x=Aa(null);function ne(){return t()}var me=Aa(!1);function ye(Cn){var tt=ne();if(!(Cn&&!Cn.deadline&&Cn.target!==tt)){var ht=me.current,Fn;Ne===nC&&ht?Fn=k==null?void 0:k(tt,Cn):Ne===tC&&ht?Fn=M==null?void 0:M(tt,Cn):Ne===aC&&ht&&(Fn=O==null?void 0:O(tt,Cn)),Ne!==$_&&ht&&Fn!==!1&&(ie($_,!0),kn(null,!0))}}var U=lse(ye),de=Ja(U,1),V=de[0],Ae=rS(function(){var Cn,tt,ht;switch(Ne){case nC:return Cn={},Fa(Cn,Ps,v),Fa(Cn,ep,R),Fa(Cn,V_,S),Cn;case tC:return tt={},Fa(tt,Ps,m),Fa(tt,ep,D),Fa(tt,V_,G),tt;case aC:return ht={},Fa(ht,Ps,_),Fa(ht,ep,y),Fa(ht,V_,P),ht;default:return{}}},[Ne]),Me=use(Ne,function(Cn){if(Cn===Ps){var tt=Ae[Ps];return tt?tt(ne()):rP}if(je in Ae){var ht;kn(((ht=Ae[je])===null||ht===void 0?void 0:ht.call(Ae,ne(),null))||null)}return je===V_&&(V(ne()),s>0&&(clearTimeout(x.current),x.current=setTimeout(function(){ye({deadline:!0})},s))),ise}),He=Ja(Me,2),$e=He[0],je=He[1],In=$4(je);me.current=In,z4(function(){be(n);var Cn=q.current;if(q.current=!0,!!e){var tt;!Cn&&n&&u&&(tt=nC),Cn&&n&&o&&(tt=tC),(Cn&&!n&&c||!Cn&&f&&!n&&c)&&(tt=aC),tt&&(ie(tt),$e())}},[n]),br(function(){(Ne===nC&&!u||Ne===tC&&!o||Ne===aC&&!c)&&ie($_)},[u,o,c]),br(function(){return function(){q.current=!1,clearTimeout(x.current)}},[]);var cn=Aa(!1);br(function(){X&&(cn.current=!0),X!==void 0&&Ne===$_&&((cn.current||X)&&(oe==null||oe(X)),cn.current=!0)},[X,Ne]);var nt=Pn;return Ae[Ps]&&je===ep&&(nt=Ht({transition:"none"},nt)),[Ne,je,nt,X!=null?X:n]}Wt();var xVe=function(e){So(t,e);var n=Sg(t);function t(){return Ro(this,t),n.apply(this,arguments)}return wo(t,[{key:"render",value:function(){return this.props.children}}]),t}(jh),cse=xVe;function LVe(e){var n=e;bo(e)==="object"&&(n=e.transitionSupport);function t(r){return!!(r.motionName&&n)}var a=hc(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,m=r.leavedClassName,_=r.eventProps,R=t(r),D=Aa(),y=Aa();function S(){try{return D.current instanceof HTMLElement?D.current:KE(y.current)}catch{return null}}var G=oP(R,u,S,r),P=Ja(G,4),k=P[0],M=P[1],O=P[2],oe=P[3],le=Aa(oe);oe&&(le.current=!0);var ve=tS(function(jn){D.current=jn,YN(o,jn)},[o]),X,be=Ht(Ht({},_),{},{visible:u});if(!f)X=null;else if(k===$_||!t(r))oe?X=f(Ht({},be),ve):!c&&le.current?X=f(Ht(Ht({},be),{},{className:m}),ve):s?X=f(Ht(Ht({},be),{},{style:{display:"none"}}),ve):X=null;else{var pe,De;M===Ps?De="prepare":$4(M)?De="active":M===ep&&(De="start"),X=f(Ht(Ht({},be),{},{className:(0,sse.default)(tP(v,k),(pe={},Fa(pe,tP(v,"".concat(k,"-").concat(De)),De),Fa(pe,v,typeof v=="string"),pe)),style:O}),ve)}if(J8(X)&&H4(X)){var Ne=X,ie=Ne.ref;ie||(X=nS(X,{ref:ve}))}return ka(cse,{ref:y},X)});return a.displayName="CSSMotion",a}var V4=LVe(W4);Wt();var Q4="add",Y4="keep",X4="remove",Z4="removed";function jVe(e){var n;return e&&bo(e)==="object"&&"key"in e?n=e:n={key:e},Ht(Ht({},n),{},{key:String(n.key)})}function K4(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return e.map(jVe)}function fse(){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=K4(e),i=K4(n);o.forEach(function(c){for(var s=!1,f=a;f<r;f+=1){var v=i[f];if(v.key===c.key){a<f&&(t=t.concat(i.slice(a,f).map(function(m){return Ht(Ht({},m),{},{status:Q4})})),a=f),t.push(Ht(Ht({},v),{},{status:Y4})),a+=1,s=!0;break}}s||t.push(Ht(Ht({},c),{},{status:X4}))}),a<r&&(t=t.concat(i.slice(a).map(function(c){return Ht(Ht({},c),{},{status:Q4})})));var u={};t.forEach(function(c){var s=c.key;u[s]=(u[s]||0)+1});var l=Object.keys(u).filter(function(c){return u[c]>1});return l.forEach(function(c){t=t.filter(function(s){var f=s.key,v=s.status;return f!==c||v!==X4}),t.forEach(function(s){s.key===c&&(s.status=Y4)})}),t}var NVe=["component","children","onVisibleChanged","onAllRemoved"],PVe=["status"],kVe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function OVe(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:V4,t=function(a){So(o,a);var r=Sg(o);function o(){var i;Ro(this,o);for(var u=arguments.length,l=new Array(u),c=0;c<u;c++)l[c]=arguments[c];return i=r.call.apply(r,[this].concat(l)),i.state={keyEntities:[]},i.removeKey=function(s){var f=i.state.keyEntities,v=f.map(function(m){return m.key!==s?m:Ht(Ht({},m),{},{status:Z4})});return i.setState({keyEntities:v}),v.filter(function(m){var _=m.status;return _!==Z4}).length},i}return wo(o,[{key:"render",value:function(){var u=this,l=this.state.keyEntities,c=this.props,s=c.component,f=c.children,v=c.onVisibleChanged,m=c.onAllRemoved,_=pi(c,NVe),R=s||B8,D={};return kVe.forEach(function(y){D[y]=_[y],delete _[y]}),delete _.keys,ka(R,_,l.map(function(y){var S=y.status,G=pi(y,PVe),P=S===Q4||S===Y4;return ka(n,lt({},D,{key:G.key,visible:P,eventProps:G,onVisibleChanged:function(M){if(v==null||v(M,{key:G.key}),!M){var O=u.removeKey(G.key);O===0&&m&&m()}}}),f)}))}}],[{key:"getDerivedStateFromProps",value:function(u,l){var c=u.keys,s=l.keyEntities,f=K4(c),v=fse(s,f);return{keyEntities:v.filter(function(m){var _=s.find(function(R){var D=R.key;return m.key===D});return!(_&&_.status===Z4&&m.status===X4)})}}}]),o}(jh);return t.defaultProps={component:"div"},t}var UVe=OVe(W4);var Yy=V4;function e3(e){var n=e.prefixCls,t=e.motion,a=e.animation,r=e.transitionName;return t||(a?{motionName:"".concat(n,"-").concat(a)}:r?{motionName:r}:null)}function iP(e){var n=e.prefixCls,t=e.visible,a=e.zIndex,r=e.mask,o=e.maskMotion,i=e.maskAnimation,u=e.maskTransitionName;if(!r)return null;var l={};return(o||u||i)&&(l=Ht({motionAppear:!0},e3({motion:o,prefixCls:n,transitionName:u,animation:i}))),ka(Yy,lt({},l,{visible:t,removeOnLeave:!0}),function(c){var s=c.className;return ka("div",{style:{zIndex:a},className:(0,vse.default)("".concat(n,"-mask"),s)})})}Wt();Wt();Wt();var mse=function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var n=e.getBBox();if(n.width||n.height)return!0}if(e.getBoundingClientRect){var t=e.getBoundingClientRect();if(t.width||t.height)return!0}return!1};function pse(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 _se(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?pse(Object(t),!0).forEach(function(a){HVe(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):pse(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function n3(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n3=function(n){return typeof n}:n3=function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},n3(e)}function HVe(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var rC,BVe={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function t3(){if(rC!==void 0)return rC;rC="";var e=document.createElement("p").style,n="Transform";for(var t in BVe)t+n in e&&(rC=t);return rC}function dse(){return t3()?"".concat(t3(),"TransitionProperty"):"transitionProperty"}function a3(){return t3()?"".concat(t3(),"Transform"):"transform"}function hse(e,n){var t=dse();t&&(e.style[t]=n,t!=="transitionProperty"&&(e.style.transitionProperty=n))}function uP(e,n){var t=a3();t&&(e.style[t]=n,t!=="transform"&&(e.style.transform=n))}function JVe(e){return e.style.transitionProperty||e.style[dse()]}function WVe(e){var n=window.getComputedStyle(e,null),t=n.getPropertyValue("transform")||n.getPropertyValue(a3());if(t&&t!=="none"){var a=t.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(a[12]||a[4],0),y:parseFloat(a[13]||a[5],0)}}return{x:0,y:0}}var qVe=/matrix\((.*)\)/,zVe=/matrix3d\((.*)\)/;function $Ve(e,n){var t=window.getComputedStyle(e,null),a=t.getPropertyValue("transform")||t.getPropertyValue(a3());if(a&&a!=="none"){var r,o=a.match(qVe);if(o)o=o[1],r=o.split(",").map(function(u){return parseFloat(u,10)}),r[4]=n.x,r[5]=n.y,uP(e,"matrix(".concat(r.join(","),")"));else{var i=a.match(zVe)[1];r=i.split(",").map(function(u){return parseFloat(u,10)}),r[12]=n.x,r[13]=n.y,uP(e,"matrix3d(".concat(r.join(","),")"))}}else uP(e,"translateX(".concat(n.x,"px) translateY(").concat(n.y,"px) translateZ(0)"))}var VVe=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,oC;function gse(e){var n=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=n}function Xy(e,n,t){var a=t;if(n3(n)==="object"){for(var r in n)n.hasOwnProperty(r)&&Xy(e,r,n[r]);return}if(typeof a!="undefined"){typeof a=="number"&&(a="".concat(a,"px")),e.style[n]=a;return}return oC(e,n)}function QVe(e){var n,t,a,r=e.ownerDocument,o=r.body,i=r&&r.documentElement;return n=e.getBoundingClientRect(),t=Math.floor(n.left),a=Math.floor(n.top),t-=i.clientLeft||o.clientLeft||0,a-=i.clientTop||o.clientTop||0,{left:t,top:a}}function Dse(e,n){var t=e["page".concat(n?"Y":"X","Offset")],a="scroll".concat(n?"Top":"Left");if(typeof t!="number"){var r=e.document;t=r.documentElement[a],typeof t!="number"&&(t=r.body[a])}return t}function yse(e){return Dse(e)}function bse(e){return Dse(e,!0)}function iC(e){var n=QVe(e),t=e.ownerDocument,a=t.defaultView||t.parentWindow;return n.left+=yse(a),n.top+=bse(a),n}function lP(e){return e!=null&&e==e.window}function Rse(e){return lP(e)?e.document:e.nodeType===9?e:e.ownerDocument}function YVe(e,n,t){var a=t,r="",o=Rse(e);return a=a||o.defaultView.getComputedStyle(e,null),a&&(r=a.getPropertyValue(n)||a[n]),r}var XVe=new RegExp("^(".concat(VVe,")(?!px)[a-z%]+$"),"i"),ZVe=/^(top|right|bottom|left)$/,cP="currentStyle",sP="runtimeStyle",Cg="left",KVe="px";function eQe(e,n){var t=e[cP]&&e[cP][n];if(XVe.test(t)&&!ZVe.test(n)){var a=e.style,r=a[Cg],o=e[sP][Cg];e[sP][Cg]=e[cP][Cg],a[Cg]=n==="fontSize"?"1em":t||0,t=a.pixelLeft+KVe,a[Cg]=r,e[sP][Cg]=o}return t===""?"auto":t}typeof window!="undefined"&&(oC=window.getComputedStyle?YVe:eQe);function r3(e,n){return e==="left"?n.useCssRight?"right":e:n.useCssBottom?"bottom":e}function wse(e){if(e==="left")return"right";if(e==="right")return"left";if(e==="top")return"bottom";if(e==="bottom")return"top"}function Sse(e,n,t){Xy(e,"position")==="static"&&(e.style.position="relative");var a=-999,r=-999,o=r3("left",t),i=r3("top",t),u=wse(o),l=wse(i);o!=="left"&&(a=999),i!=="top"&&(r=999);var c="",s=iC(e);("left"in n||"top"in n)&&(c=JVe(e)||"",hse(e,"none")),"left"in n&&(e.style[u]="",e.style[o]="".concat(a,"px")),"top"in n&&(e.style[l]="",e.style[i]="".concat(r,"px")),gse(e);var f=iC(e),v={};for(var m in n)if(n.hasOwnProperty(m)){var _=r3(m,t),R=m==="left"?a:r,D=s[m]-f[m];_===m?v[_]=R+D:v[_]=R-D}Xy(e,v),gse(e),("left"in n||"top"in n)&&hse(e,c);var y={};for(var S in n)if(n.hasOwnProperty(S)){var G=r3(S,t),P=n[S]-s[S];S===G?y[G]=v[G]+P:y[G]=v[G]-P}Xy(e,y)}function nQe(e,n){var t=iC(e),a=WVe(e),r={x:a.x,y:a.y};"left"in n&&(r.x=a.x+n.left-t.left),"top"in n&&(r.y=a.y+n.top-t.top),$Ve(e,r)}function tQe(e,n,t){if(t.ignoreShake){var a=iC(e),r=a.left.toFixed(0),o=a.top.toFixed(0),i=n.left.toFixed(0),u=n.top.toFixed(0);if(r===i&&o===u)return}t.useCssRight||t.useCssBottom?Sse(e,n,t):t.useCssTransform&&a3()in document.body.style?nQe(e,n):Sse(e,n,t)}function fP(e,n){for(var t=0;t<e.length;t++)n(e[t])}function Ese(e){return oC(e,"boxSizing")==="border-box"}var aQe=["margin","border","padding"],vP=-1,rQe=2,mP=1,oQe=0;function iQe(e,n,t){var a={},r=e.style,o;for(o in n)n.hasOwnProperty(o)&&(a[o]=r[o],r[o]=n[o]);t.call(e);for(o in n)n.hasOwnProperty(o)&&(r[o]=a[o])}function uC(e,n,t){var a=0,r,o,i;for(o=0;o<n.length;o++)if(r=n[o],r)for(i=0;i<t.length;i++){var u=void 0;r==="border"?u="".concat(r).concat(t[i],"Width"):u=r+t[i],a+=parseFloat(oC(e,u))||0}return a}var S0={getParent:function(n){var t=n;do t.nodeType===11&&t.host?t=t.host:t=t.parentNode;while(t&&t.nodeType!==1&&t.nodeType!==9);return t}};fP(["Width","Height"],function(e){S0["doc".concat(e)]=function(n){var t=n.document;return Math.max(t.documentElement["scroll".concat(e)],t.body["scroll".concat(e)],S0["viewport".concat(e)](t))},S0["viewport".concat(e)]=function(n){var t="client".concat(e),a=n.document,r=a.body,o=a.documentElement,i=o[t];return a.compatMode==="CSS1Compat"&&i||r&&r[t]||i}});function Cse(e,n,t){var a=t;if(lP(e))return n==="width"?S0.viewportWidth(e):S0.viewportHeight(e);if(e.nodeType===9)return n==="width"?S0.docWidth(e):S0.docHeight(e);var r=n==="width"?["Left","Right"]:["Top","Bottom"],o=Math.floor(n==="width"?e.getBoundingClientRect().width:e.getBoundingClientRect().height),i=Ese(e),u=0;(o==null||o<=0)&&(o=void 0,u=oC(e,n),(u==null||Number(u)<0)&&(u=e.style[n]||0),u=parseFloat(u)||0),a===void 0&&(a=i?mP:vP);var l=o!==void 0||i,c=o||u;return a===vP?l?c-uC(e,["border","padding"],r):u:l?a===mP?c:c+(a===rQe?-uC(e,["border"],r):uC(e,["margin"],r)):u+uC(e,aQe.slice(a),r)}var uQe={position:"absolute",visibility:"hidden",display:"block"};function Ise(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];var a,r=n[0];return r.offsetWidth!==0?a=Cse.apply(void 0,n):iQe(r,uQe,function(){a=Cse.apply(void 0,n)}),a}fP(["width","height"],function(e){var n=e.charAt(0).toUpperCase()+e.slice(1);S0["outer".concat(n)]=function(a,r){return a&&Ise(a,e,r?oQe:mP)};var t=e==="width"?["Left","Right"]:["Top","Bottom"];S0[e]=function(a,r){var o=r;if(o!==void 0){if(a){var i=Ese(a);return i&&(o+=uC(a,["padding","border"],t)),Xy(a,e,o)}return}return a&&Ise(a,e,vP)}});function Tse(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t]);return e}var ia={getWindow:function(n){if(n&&n.document&&n.setTimeout)return n;var t=n.ownerDocument||n;return t.defaultView||t.parentWindow},getDocument:Rse,offset:function(n,t,a){if(typeof t!="undefined")tQe(n,t,a||{});else return iC(n)},isWindow:lP,each:fP,css:Xy,clone:function(n){var t,a={};for(t in n)n.hasOwnProperty(t)&&(a[t]=n[t]);var r=n.overflow;if(r)for(t in n)n.hasOwnProperty(t)&&(a.overflow[t]=n.overflow[t]);return a},mix:Tse,getWindowScrollLeft:function(n){return yse(n)},getWindowScrollTop:function(n){return bse(n)},merge:function(){for(var n={},t=0;t<arguments.length;t++)ia.mix(n,t<0||arguments.length<=t?void 0:arguments[t]);return n},viewportWidth:0,viewportHeight:0};Tse(ia,S0);var pP=ia.getParent;function _P(e){if(ia.isWindow(e)||e.nodeType===9)return null;var n=ia.getDocument(e),t=n.body,a,r=ia.css(e,"position"),o=r==="fixed"||r==="absolute";if(!o)return e.nodeName.toLowerCase()==="html"?null:pP(e);for(a=pP(e);a&&a!==t&&a.nodeType!==9;a=pP(a))if(r=ia.css(a,"position"),r!=="static")return a;return null}var Fse=ia.getParent;function lQe(e){if(ia.isWindow(e)||e.nodeType===9)return!1;var n=ia.getDocument(e),t=n.body,a=null;for(a=Fse(e);a&&a!==t&&a!==n;a=Fse(a)){var r=ia.css(a,"position");if(r==="fixed")return!0}return!1}function dP(e,n){for(var t={left:0,right:1/0,top:0,bottom:1/0},a=_P(e),r=ia.getDocument(e),o=r.defaultView||r.parentWindow,i=r.body,u=r.documentElement;a;){if((navigator.userAgent.indexOf("MSIE")===-1||a.clientWidth!==0)&&a!==i&&a!==u&&ia.css(a,"overflow")!=="visible"){var l=ia.offset(a);l.left+=a.clientLeft,l.top+=a.clientTop,t.top=Math.max(t.top,l.top),t.right=Math.min(t.right,l.left+a.clientWidth),t.bottom=Math.min(t.bottom,l.top+a.clientHeight),t.left=Math.max(t.left,l.left)}else if(a===i||a===u)break;a=_P(a)}var c=null;if(!ia.isWindow(e)&&e.nodeType!==9){c=e.style.position;var s=ia.css(e,"position");s==="absolute"&&(e.style.position="fixed")}var f=ia.getWindowScrollLeft(o),v=ia.getWindowScrollTop(o),m=ia.viewportWidth(o),_=ia.viewportHeight(o),R=u.scrollWidth,D=u.scrollHeight,y=window.getComputedStyle(i);if(y.overflowX==="hidden"&&(R=o.innerWidth),y.overflowY==="hidden"&&(D=o.innerHeight),e.style&&(e.style.position=c),n||lQe(e))t.left=Math.max(t.left,f),t.top=Math.max(t.top,v),t.right=Math.min(t.right,f+m),t.bottom=Math.min(t.bottom,v+_);else{var S=Math.max(R,f+m);t.right=Math.min(t.right,S);var G=Math.max(D,v+_);t.bottom=Math.min(t.bottom,G)}return t.top>=0&&t.left>=0&&t.bottom>t.top&&t.right>t.left?t:null}function cQe(e,n,t,a){var r=ia.clone(e),o={width:n.width,height:n.height};return a.adjustX&&r.left<t.left&&(r.left=t.left),a.resizeWidth&&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=t.top),a.resizeHeight&&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)),ia.mix(r,o)}function hP(e){var n,t,a;if(!ia.isWindow(e)&&e.nodeType!==9)n=ia.offset(e),t=ia.outerWidth(e),a=ia.outerHeight(e);else{var r=ia.getWindow(e);n={left:ia.getWindowScrollLeft(r),top:ia.getWindowScrollTop(r)},t=ia.viewportWidth(r),a=ia.viewportHeight(r)}return n.width=t,n.height=a,n}function Mse(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 o3(e,n,t,a,r){var o=Mse(n,t[1]),i=Mse(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 Gse(e,n,t){return e.left<t.left||e.left+n.width>t.right}function Ase(e,n,t){return e.top<t.top||e.top+n.height>t.bottom}function sQe(e,n,t){return e.left>t.right||e.left+n.width<t.left}function fQe(e,n,t){return e.top>t.bottom||e.top+n.height<t.top}function i3(e,n,t){var a=[];return ia.each(e,function(r){a.push(r.replace(n,function(o){return t[o]}))}),a}function u3(e,n){return e[n]=-e[n],e}function xse(e,n){var t;return/%$/.test(e)?t=parseInt(e.substring(0,e.length-1),10)/100*n:t=parseInt(e,10),t||0}function Lse(e,n){e[0]=xse(e[0],n.width),e[1]=xse(e[1],n.height)}function jse(e,n,t,a){var r=t.points,o=t.offset||[0,0],i=t.targetOffset||[0,0],u=t.overflow,l=t.source||e;o=[].concat(o),i=[].concat(i),u=u||{};var c={},s=0,f=!!(u&&u.alwaysByViewport),v=dP(l,f),m=hP(l);Lse(o,m),Lse(i,n);var _=o3(m,n,r,o,i),R=ia.merge(m,_);if(v&&(u.adjustX||u.adjustY)&&a){if(u.adjustX&&Gse(_,m,v)){var D=i3(r,/[lr]/gi,{l:"r",r:"l"}),y=u3(o,0),S=u3(i,0),G=o3(m,n,D,y,S);sQe(G,m,v)||(s=1,r=D,o=y,i=S)}if(u.adjustY&&Ase(_,m,v)){var P=i3(r,/[tb]/gi,{t:"b",b:"t"}),k=u3(o,1),M=u3(i,1),O=o3(m,n,P,k,M);fQe(O,m,v)||(s=1,r=P,o=k,i=M)}s&&(_=o3(m,n,r,o,i),ia.mix(R,_));var oe=Gse(_,m,v),le=Ase(_,m,v);if(oe||le){var ve=r;oe&&(ve=i3(r,/[lr]/gi,{l:"r",r:"l"})),le&&(ve=i3(r,/[tb]/gi,{t:"b",b:"t"})),r=ve,o=t.offset||[0,0],i=t.targetOffset||[0,0]}c.adjustX=u.adjustX&&oe,c.adjustY=u.adjustY&&le,(c.adjustX||c.adjustY)&&(R=cQe(_,m,v,c))}return R.width!==m.width&&ia.css(l,"width",ia.width(l)+R.width-m.width),R.height!==m.height&&ia.css(l,"height",ia.height(l)+R.height-m.height),ia.offset(l,{left:R.left,top:R.top},{useCssRight:t.useCssRight,useCssBottom:t.useCssBottom,useCssTransform:t.useCssTransform,ignoreShake:t.ignoreShake}),{points:r,offset:o,targetOffset:i,overflow:c}}function vQe(e,n){var t=dP(e,n),a=hP(e);return!t||a.left+a.width<=t.left||a.top+a.height<=t.top||a.left>=t.right||a.top>=t.bottom}function l3(e,n,t){var a=t.target||n,r=hP(a),o=!vQe(a,t.overflow&&t.overflow.alwaysByViewport);return jse(e,r,t,o)}l3.__getOffsetParent=_P;l3.__getVisibleRectForElement=dP;function Nse(e,n,t){var a,r,o=ia.getDocument(e),i=o.defaultView||o.parentWindow,u=ia.getWindowScrollLeft(i),l=ia.getWindowScrollTop(i),c=ia.viewportWidth(i),s=ia.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,m=[t.points[0],"cc"];return jse(e,f,_se(_se({},t),{},{points:m}),v)}var yme=ba(cme());var sme=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__;r<o.length;r++){var i=o[r];t.call(a,i[1],i[0])}},n}()}(),PP=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,p3=function(){return typeof global!="undefined"&&global.Math===Math?global:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),Len=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(p3):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),jen=2;function Nen(e,n){var t=!1,a=!1,r=0;function o(){t&&(t=!1,e()),a&&u()}function i(){Len(o)}function u(){var l=Date.now();if(t){if(l-r<jen)return;a=!0}else t=!0,a=!1,setTimeout(i,n);r=l}return u}var Pen=20,ken=["top","right","bottom","left","width","height","size","weight"],Oen=typeof MutationObserver!="undefined",Uen=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=Nen(this.refresh.bind(this),Pen)}return e.prototype.addObserver=function(n){~this.observers_.indexOf(n)||this.observers_.push(n),this.connected_||this.connect_()},e.prototype.removeObserver=function(n){var t=this.observers_,a=t.indexOf(n);~a&&t.splice(a,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){var n=this.updateObservers_();n&&this.refresh()},e.prototype.updateObservers_=function(){var n=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return n.forEach(function(t){return t.broadcastActive()}),n.length>0},e.prototype.connect_=function(){!PP||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Oen?(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(){!PP||!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=ken.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}(),fme=function(e,n){for(var t=0,a=Object.keys(n);t<a.length;t++){var r=a[t];Object.defineProperty(e,r,{value:n[r],enumerable:!1,writable:!1,configurable:!0})}return e},ob=function(e){var n=e&&e.ownerDocument&&e.ownerDocument.defaultView;return n||p3},vme=d3(0,0,0,0);function _3(e){return parseFloat(e)||0}function mme(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];return n.reduce(function(a,r){var o=e["border-"+r+"-width"];return a+_3(o)},0)}function Hen(e){for(var n=["top","right","bottom","left"],t={},a=0,r=n;a<r.length;a++){var o=r[a],i=e["padding-"+o];t[o]=_3(i)}return t}function Ben(e){var n=e.getBBox();return d3(0,0,n.width,n.height)}function Jen(e){var n=e.clientWidth,t=e.clientHeight;if(!n&&!t)return vme;var a=ob(e).getComputedStyle(e),r=Hen(a),o=r.left+r.right,i=r.top+r.bottom,u=_3(a.width),l=_3(a.height);if(a.boxSizing==="border-box"&&(Math.round(u+o)!==n&&(u-=mme(a,"left","right")+o),Math.round(l+i)!==t&&(l-=mme(a,"top","bottom")+i)),!qen(e)){var c=Math.round(u+o)-n,s=Math.round(l+i)-t;Math.abs(c)!==1&&(u-=c),Math.abs(s)!==1&&(l-=s)}return d3(r.left,r.top,u,l)}var Wen=function(){return typeof SVGGraphicsElement!="undefined"?function(e){return e instanceof ob(e).SVGGraphicsElement}:function(e){return e instanceof ob(e).SVGElement&&typeof e.getBBox=="function"}}();function qen(e){return e===ob(e).document.documentElement}function zen(e){return PP?Wen(e)?Ben(e):Jen(e):vme}function $en(e){var n=e.x,t=e.y,a=e.width,r=e.height,o=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,i=Object.create(o.prototype);return fme(i,{x:n,y:t,width:a,height:r,top:t,right:n+a,bottom:r+t,left:n}),i}function d3(e,n,t,a){return{x:e,y:n,width:t,height:a}}var Ven=function(){function e(n){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=d3(0,0,0,0),this.target=n}return e.prototype.isActive=function(){var n=zen(this.target);return this.contentRect_=n,n.width!==this.broadcastWidth||n.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var n=this.contentRect_;return this.broadcastWidth=n.width,this.broadcastHeight=n.height,n},e}(),Qen=function(){function e(n,t){var a=$en(t);fme(this,{target:n,contentRect:a})}return e}(),Yen=function(){function e(n,t,a){if(this.activeObservations_=[],this.observations_=new sme,typeof n!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=n,this.controller_=t,this.callbackCtx_=a}return e.prototype.observe=function(n){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(n instanceof ob(n).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(n)||(t.set(n,new Ven(n)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(n){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(n instanceof ob(n).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;!t.has(n)||(t.delete(n),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var n=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&n.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(!!this.hasActive()){var n=this.callbackCtx_,t=this.activeObservations_.map(function(a){return new Qen(a.target,a.broadcastRect())});this.callback_.call(n,t,n),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),pme=typeof WeakMap!="undefined"?new WeakMap:new sme,_me=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=Uen.getInstance(),a=new Yen(n,t,this);pme.set(this,a)}return e}();["observe","unobserve","disconnect"].forEach(function(e){_me.prototype[e]=function(){var n;return(n=pme.get(this))[e].apply(n,arguments)}});var Xen=function(){return typeof p3.ResizeObserver!="undefined"?p3.ResizeObserver:_me}(),dme=Xen;function hme(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 gme(e,n){e!==document.activeElement&&Eg(n,e)&&typeof e.focus=="function"&&e.focus()}function kP(e,n){var t=null,a=null;function r(i){var u=Ja(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),m=Math.floor(f);(t!==v||a!==m)&&Promise.resolve().then(function(){n({width:v,height:m})}),t=v,a=m}}var o=new dme(r);return e&&o.observe(e),function(){o.disconnect()}}Wt();var Dme=function(e,n){var t=wt.useRef(!1),a=wt.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 bme(e){return typeof e!="function"?null:e()}function Rme(e){return bo(e)!=="object"||!e?null:e}var Zen=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=wt.useRef({}),v=wt.useRef(),m=wt.Children.only(a),_=wt.useRef({});_.current.disabled=r,_.current.target=o,_.current.align=i,_.current.onAlign=u;var R=Dme(function(){var M=_.current,O=M.disabled,oe=M.target,le=M.align,ve=M.onAlign;if(!O&&oe){var X=v.current,be,pe=bme(oe),De=Rme(oe);f.current.element=pe,f.current.point=De,f.current.align=le;var Ne=document,ie=Ne.activeElement;return pe&&mse(pe)?be=l3(X,pe,le):De&&(be=Nse(X,De,le)),gme(ie,X),ve&&be&&ve(X,be),!0}return!1},s),D=Ja(R,2),y=D[0],S=D[1],G=wt.useRef({cancel:function(){}}),P=wt.useRef({cancel:function(){}});wt.useEffect(function(){var M=bme(o),O=Rme(o);v.current!==P.current.element&&(P.current.cancel(),P.current.element=v.current,P.current.cancel=kP(v.current,y)),(f.current.element!==M||!hme(f.current.point,O)||!(0,yme.default)(f.current.align,i))&&(y(),G.current.element!==M&&(G.current.cancel(),G.current.element=M,G.current.cancel=kP(M,y)))}),wt.useEffect(function(){r?S():y()},[r]);var k=wt.useRef(null);return wt.useEffect(function(){l?k.current||(k.current=q_(window,"resize",y)):k.current&&(k.current.remove(),k.current=null)},[l]),wt.useEffect(function(){return function(){G.current.cancel(),P.current.cancel(),k.current&&k.current.remove(),S()}},[]),wt.useImperativeHandle(t,function(){return{forceAlign:function(){return y(!0)}}}),wt.isValidElement(m)&&(m=wt.cloneElement(m,{ref:U4(m.ref,v)})),m},wme=wt.forwardRef(Zen);wme.displayName="Align";var Sme=wme;var Eme=Sme;Wt();var Ken=w0()?aS:br,OP=Ken;var Mme=ba(z_());function gC(){"use strict";gC=function(){return e};var e={},n=Object.prototype,t=n.hasOwnProperty,a=typeof Symbol=="function"?Symbol:{},r=a.iterator||"@@iterator",o=a.asyncIterator||"@@asyncIterator",i=a.toStringTag||"@@toStringTag";function u(ve,X,be){return Object.defineProperty(ve,X,{value:be,enumerable:!0,configurable:!0,writable:!0}),ve[X]}try{u({},"")}catch{u=function(be,pe,De){return be[pe]=De}}function l(ve,X,be,pe){var De=X&&X.prototype instanceof f?X:f,Ne=Object.create(De.prototype),ie=new O(pe||[]);return Ne._invoke=function(jn,Ve,Pn){var kn="suspendedStart";return function(q,x){if(kn==="executing")throw new Error("Generator is already running");if(kn==="completed"){if(q==="throw")throw x;return le()}for(Pn.method=q,Pn.arg=x;;){var ne=Pn.delegate;if(ne){var me=P(ne,Pn);if(me){if(me===s)continue;return me}}if(Pn.method==="next")Pn.sent=Pn._sent=Pn.arg;else if(Pn.method==="throw"){if(kn==="suspendedStart")throw kn="completed",Pn.arg;Pn.dispatchException(Pn.arg)}else Pn.method==="return"&&Pn.abrupt("return",Pn.arg);kn="executing";var ye=c(jn,Ve,Pn);if(ye.type==="normal"){if(kn=Pn.done?"completed":"suspendedYield",ye.arg===s)continue;return{value:ye.arg,done:Pn.done}}ye.type==="throw"&&(kn="completed",Pn.method="throw",Pn.arg=ye.arg)}}}(ve,be,ie),Ne}function c(ve,X,be){try{return{type:"normal",arg:ve.call(X,be)}}catch(pe){return{type:"throw",arg:pe}}}e.wrap=l;var s={};function f(){}function v(){}function m(){}var _={};u(_,r,function(){return this});var R=Object.getPrototypeOf,D=R&&R(R(oe([])));D&&D!==n&&t.call(D,r)&&(_=D);var y=m.prototype=f.prototype=Object.create(_);function S(ve){["next","throw","return"].forEach(function(X){u(ve,X,function(be){return this._invoke(X,be)})})}function G(ve,X){function be(De,Ne,ie,jn){var Ve=c(ve[De],ve,Ne);if(Ve.type!=="throw"){var Pn=Ve.arg,kn=Pn.value;return kn&&bo(kn)=="object"&&t.call(kn,"__await")?X.resolve(kn.__await).then(function(q){be("next",q,ie,jn)},function(q){be("throw",q,ie,jn)}):X.resolve(kn).then(function(q){Pn.value=q,ie(Pn)},function(q){return be("throw",q,ie,jn)})}jn(Ve.arg)}var pe;this._invoke=function(De,Ne){function ie(){return new X(function(jn,Ve){be(De,Ne,jn,Ve)})}return pe=pe?pe.then(ie,ie):ie()}}function P(ve,X){var be=ve.iterator[X.method];if(be===void 0){if(X.delegate=null,X.method==="throw"){if(ve.iterator.return&&(X.method="return",X.arg=void 0,P(ve,X),X.method==="throw"))return s;X.method="throw",X.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var pe=c(be,ve.iterator,X.arg);if(pe.type==="throw")return X.method="throw",X.arg=pe.arg,X.delegate=null,s;var De=pe.arg;return De?De.done?(X[ve.resultName]=De.value,X.next=ve.nextLoc,X.method!=="return"&&(X.method="next",X.arg=void 0),X.delegate=null,s):De:(X.method="throw",X.arg=new TypeError("iterator result is not an object"),X.delegate=null,s)}function k(ve){var X={tryLoc:ve[0]};1 in ve&&(X.catchLoc=ve[1]),2 in ve&&(X.finallyLoc=ve[2],X.afterLoc=ve[3]),this.tryEntries.push(X)}function M(ve){var X=ve.completion||{};X.type="normal",delete X.arg,ve.completion=X}function O(ve){this.tryEntries=[{tryLoc:"root"}],ve.forEach(k,this),this.reset(!0)}function oe(ve){if(ve){var X=ve[r];if(X)return X.call(ve);if(typeof ve.next=="function")return ve;if(!isNaN(ve.length)){var be=-1,pe=function De(){for(;++be<ve.length;)if(t.call(ve,be))return De.value=ve[be],De.done=!1,De;return De.value=void 0,De.done=!0,De};return pe.next=pe}}return{next:le}}function le(){return{value:void 0,done:!0}}return v.prototype=m,u(y,"constructor",m),u(m,"constructor",v),v.displayName=u(m,i,"GeneratorFunction"),e.isGeneratorFunction=function(ve){var X=typeof ve=="function"&&ve.constructor;return!!X&&(X===v||(X.displayName||X.name)==="GeneratorFunction")},e.mark=function(ve){return Object.setPrototypeOf?Object.setPrototypeOf(ve,m):(ve.__proto__=m,u(ve,i,"GeneratorFunction")),ve.prototype=Object.create(y),ve},e.awrap=function(ve){return{__await:ve}},S(G.prototype),u(G.prototype,o,function(){return this}),e.AsyncIterator=G,e.async=function(ve,X,be,pe,De){De===void 0&&(De=Promise);var Ne=new G(l(ve,X,be,pe),De);return e.isGeneratorFunction(X)?Ne:Ne.next().then(function(ie){return ie.done?ie.value:Ne.next()})},S(y),u(y,i,"Generator"),u(y,r,function(){return this}),u(y,"toString",function(){return"[object Generator]"}),e.keys=function(ve){var X=[];for(var be in ve)X.push(be);return X.reverse(),function pe(){for(;X.length;){var De=X.pop();if(De in ve)return pe.value=De,pe.done=!1,pe}return pe.done=!0,pe}},e.values=oe,O.prototype={constructor:O,reset:function(X){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(M),!X)for(var be in this)be.charAt(0)==="t"&&t.call(this,be)&&!isNaN(+be.slice(1))&&(this[be]=void 0)},stop:function(){this.done=!0;var X=this.tryEntries[0].completion;if(X.type==="throw")throw X.arg;return this.rval},dispatchException:function(X){if(this.done)throw X;var be=this;function pe(Pn,kn){return ie.type="throw",ie.arg=X,be.next=Pn,kn&&(be.method="next",be.arg=void 0),!!kn}for(var De=this.tryEntries.length-1;De>=0;--De){var Ne=this.tryEntries[De],ie=Ne.completion;if(Ne.tryLoc==="root")return pe("end");if(Ne.tryLoc<=this.prev){var jn=t.call(Ne,"catchLoc"),Ve=t.call(Ne,"finallyLoc");if(jn&&Ve){if(this.prev<Ne.catchLoc)return pe(Ne.catchLoc,!0);if(this.prev<Ne.finallyLoc)return pe(Ne.finallyLoc)}else if(jn){if(this.prev<Ne.catchLoc)return pe(Ne.catchLoc,!0)}else{if(!Ve)throw new Error("try statement without catch or finally");if(this.prev<Ne.finallyLoc)return pe(Ne.finallyLoc)}}}},abrupt:function(X,be){for(var pe=this.tryEntries.length-1;pe>=0;--pe){var De=this.tryEntries[pe];if(De.tryLoc<=this.prev&&t.call(De,"finallyLoc")&&this.prev<De.finallyLoc){var Ne=De;break}}Ne&&(X==="break"||X==="continue")&&Ne.tryLoc<=be&&be<=Ne.finallyLoc&&(Ne=null);var ie=Ne?Ne.completion:{};return ie.type=X,ie.arg=be,Ne?(this.method="next",this.next=Ne.finallyLoc,s):this.complete(ie)},complete:function(X,be){if(X.type==="throw")throw X.arg;return X.type==="break"||X.type==="continue"?this.next=X.arg:X.type==="return"?(this.rval=this.arg=X.arg,this.method="return",this.next="end"):X.type==="normal"&&be&&(this.next=be),s},finish:function(X){for(var be=this.tryEntries.length-1;be>=0;--be){var pe=this.tryEntries[be];if(pe.finallyLoc===X)return this.complete(pe.completion,pe.afterLoc),M(pe),s}},catch:function(X){for(var be=this.tryEntries.length-1;be>=0;--be){var pe=this.tryEntries[be];if(pe.tryLoc===X){var De=pe.completion;if(De.type==="throw"){var Ne=De.arg;M(pe)}return Ne}}throw new Error("illegal catch attempt")},delegateYield:function(X,be,pe){return this.delegate={iterator:oe(X),resultName:be,nextLoc:pe},this.method==="next"&&(this.arg=void 0),s}},e}function Cme(e,n,t,a,r,o,i){try{var u=e[o](i),l=u.value}catch(c){t(c);return}u.done?n(l):Promise.resolve(l).then(a,r)}function UP(e){return function(){var n=this,t=arguments;return new Promise(function(a,r){var o=e.apply(n,t);function i(l){Cme(o,a,r,i,u,"next",l)}function u(l){Cme(o,a,r,i,u,"throw",l)}i(void 0)})}}Wt();var Ime=["measure","alignPre","align",null,"motion"],Tme=function(e,n){var t=np(null),a=Ja(t,2),r=a[0],o=a[1],i=Aa();function u(s){o(s,!0)}function l(){Bc.cancel(i.current)}function c(s){l(),i.current=Bc(function(){u(function(f){switch(r){case"align":return"motion";case"motion":return"stable";default:}return f}),s==null||s()})}return br(function(){u("measure")},[e]),br(function(){switch(r){case"measure":n();break;default:}r&&(i.current=Bc(UP(gC().mark(function s(){var f,v;return gC().wrap(function(_){for(;;)switch(_.prev=_.next){case 0:f=Ime.indexOf(r),v=Ime[f+1],v&&f!==-1&&u(v);case 3:case"end":return _.stop()}},s)}))))},[r]),br(function(){return function(){l()}},[]),[r,c]};Wt();var Fme=function(e){var n=Ff({width:0,height:0}),t=Ja(n,2),a=t[0],r=t[1];function o(u){r({width:u.offsetWidth,height:u.offsetHeight})}var i=rS(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 Gme=hc(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,m=e.getRootDomNode,_=e.getClassNameFromAlign,R=e.onAlign,D=e.onMouseEnter,y=e.onMouseLeave,S=e.onMouseDown,G=e.onTouchStart,P=e.onClick,k=Aa(),M=Aa(),O=Ff(),oe=Ja(O,2),le=oe[0],ve=oe[1],X=Fme(l),be=Ja(X,2),pe=be[0],De=be[1];function Ne(){l&&De(m())}var ie=Tme(t,Ne),jn=Ja(ie,2),Ve=jn[0],Pn=jn[1],kn=Ff(0),q=Ja(kn,2),x=q[0],ne=q[1],me=Aa();OP(function(){Ve==="alignPre"&&ne(0)},[Ve]);function ye(){return v||m}function U(){var je;(je=k.current)===null||je===void 0||je.forceAlign()}function de(je,In){var cn=_(In);le!==cn&&ve(cn),ne(function(nt){return nt+1}),Ve==="align"&&(R==null||R(je,In))}OP(function(){Ve==="align"&&(x<2?U():Pn(function(){var je;(je=me.current)===null||je===void 0||je.call(me)}))},[x]);var V=Ht({},e3(e));["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(je){var In=V[je];V[je]=function(cn,nt){return Pn(),In==null?void 0:In(cn,nt)}});function Ae(){return new Promise(function(je){me.current=je})}br(function(){!V.motionName&&Ve==="motion"&&Pn()},[V.motionName,Ve]),pm(n,function(){return{forceAlign:U,getElement:function(){return M.current}}});var Me=Ht(Ht({},pe),{},{zIndex:u,opacity:Ve==="motion"||Ve==="stable"||!t?void 0:0,pointerEvents:!t&&Ve!=="stable"?"none":void 0},o),He=!0;(f==null?void 0:f.points)&&(Ve==="align"||Ve==="stable")&&(He=!1);var $e=i;return Lh.count(i)>1&&($e=ka("div",{className:"".concat(a,"-content")},i)),ka(Yy,lt({visible:t,ref:M,leavedClassName:"".concat(a,"-hidden")},V,{onAppearPrepare:Ae,onEnterPrepare:Ae,removeOnLeave:c,forceRender:s}),function(je,In){var cn=je.className,nt=je.style,Cn=(0,Mme.default)(a,r,le,cn);return ka(Eme,{target:ye(),key:"popup",ref:k,monitorWindowResize:!0,disabled:He,align:f,onAlign:de},ka("div",{ref:In,className:Cn,onMouseEnter:D,onMouseLeave:y,onMouseDownCapture:S,onTouchStartCapture:G,onClick:P,style:Ht(Ht({},nt),Me)},$e))})});Gme.displayName="PopupInner";var Ame=Gme;Wt();var xme=ba(z_()),Lme=hc(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,m=Aa();pm(n,function(){return{forceAlign:function(){},getElement:function(){return m.current}}});var _=Ht({zIndex:r},l),R=o;return Lh.count(o)>1&&(R=ka("div",{className:"".concat(t,"-content")},o)),f&&(R=f(R)),ka(Yy,lt({visible:a,ref:m,removeOnLeave:!0},s),function(D,y){var S=D.className,G=D.style,P=(0,xme.default)(t,u,S);return ka("div",{ref:y,className:P,onClick:v,style:Ht(Ht({},G),_)},R)})});Lme.displayName="MobilePopupInner";var jme=Lme;var enn=["visible","mobile"],Nme=hc(function(e,n){var t=e.visible,a=e.mobile,r=pi(e,enn),o=Ff(t),i=Ja(o,2),u=i[0],l=i[1],c=Ff(!1),s=Ja(c,2),f=s[0],v=s[1],m=Ht(Ht({},r),{},{visible:u});br(function(){l(t),t&&a&&v(Xce())},[t,a]);var _=f?ka(jme,lt({},m,{mobile:a,ref:n})):ka(Ame,lt({},m,{ref:n}));return ka("div",null,ka(iP,m),_)});Nme.displayName="Popup";var Pme=Nme;Wt();var nnn=H8(null),HP=nnn;function BP(){}function tnn(){return""}function ann(e){return e?e.ownerDocument:window.document}var rnn=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];function onn(e){var n=function(t){So(r,t);var a=Sg(r);function r(o){var i;Ro(this,r),i=a.call(this,o),i.popupRef=BF(),i.triggerRef=BF(),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&&Eg((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();(!Eg(s,c)||i.isContextMenuOnly())&&!Eg(f,c)&&!i.hasPopupMouseDown&&i.close()}},i.getRootDomNode=function(){var l=i.props.getTriggerDOMNode;if(l)return l(i.triggerRef.current);try{var c=KE(i.triggerRef.current);if(c)return c}catch{}return Dc.findDOMNode(W_(i))},i.getPopupClassNameFromAlign=function(l){var c=[],s=i.props,f=s.popupPlacement,v=s.builtinPlacements,m=s.prefixCls,_=s.alignPoint,R=s.getPopupClassNameFromAlign;return f&&v&&c.push(Yce(v,m,l,_)),R&&c.push(R(l)),c.join(" ")},i.getComponent=function(){var l=i.props,c=l.prefixCls,s=l.destroyPopupOnHide,f=l.popupClassName,v=l.onPopupAlign,m=l.popupMotion,_=l.popupAnimation,R=l.popupTransitionName,D=l.popupStyle,y=l.mask,S=l.maskAnimation,G=l.maskTransitionName,P=l.maskMotion,k=l.zIndex,M=l.popup,O=l.stretch,oe=l.alignPoint,le=l.mobile,ve=l.forceRender,X=l.onPopupClick,be=i.state,pe=be.popupVisible,De=be.point,Ne=i.getPopupAlign(),ie={};return i.isMouseEnterToShow()&&(ie.onMouseEnter=i.onPopupMouseEnter),i.isMouseLeaveToHide()&&(ie.onMouseLeave=i.onPopupMouseLeave),ie.onMouseDown=i.onPopupMouseDown,ie.onTouchStart=i.onPopupMouseDown,ka(Pme,lt({prefixCls:c,destroyPopupOnHide:s,visible:pe,point:oe&&De,className:f,align:Ne,onAlign:v,animation:_,getClassNameFromAlign:i.getPopupClassNameFromAlign},ie,{stretch:O,getRootDomNode:i.getRootDomNode,style:D,mask:y,zIndex:k,transitionName:R,maskAnimation:S,maskTransitionName:G,maskMotion:P,ref:i.popupRef,motion:m,mobile:le,forceRender:ve,onClick:X}),typeof M=="function"?M():M)},i.attachParent=function(l){Bc.cancel(i.attachId);var c=i.props,s=c.getPopupContainer,f=c.getDocument,v=i.getRootDomNode(),m;s?(v||s.length===0)&&(m=s(v)):m=f(i.getRootDomNode()).body,m?m.appendChild(l):i.attachId=Bc(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},rnn.forEach(function(l){i["fire".concat(l)]=function(c){i.fireEvents(l,c)}}),i}return wo(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=q_(l,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(l=l||i.getDocument(this.getRootDomNode()),this.touchOutsideHandler=q_(l,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(l=l||i.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=q_(l,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=q_(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),Bc.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?Qce(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,m=Lh.only(l),_={key:"trigger"};this.isContextMenuToShow()?_.onContextMenu=this.onContextMenu:_.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(_.onClick=this.onClick,_.onMouseDown=this.onMouseDown,_.onTouchStart=this.onTouchStart):(_.onClick=this.createTwoChains("onClick"),_.onMouseDown=this.createTwoChains("onMouseDown"),_.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(_.onMouseEnter=this.onMouseEnter,s&&(_.onMouseMove=this.onMouseMove)):_.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?_.onMouseLeave=this.onMouseLeave:_.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(_.onFocus=this.onFocus,_.onBlur=this.onBlur):(_.onFocus=this.createTwoChains("onFocus"),_.onBlur=this.createTwoChains("onBlur"));var R=(0,kme.default)(m&&m.props&&m.props.className,f);R&&(_.className=R);var D=Ht({},_);H4(m)&&(D.ref=U4(this.triggerRef,m.ref));var y=nS(m,D),S;return(i||this.popupRef.current||c)&&(S=ka(e,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!i&&v&&(S=null),ka(HP.Provider,{value:this.triggerContextValue},y,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}(jh);return n.contextType=HP,n.defaultProps={prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:tnn,getDocument:ann,onPopupVisibleChange:BP,afterPopupVisibleChange:BP,onPopupAlign:BP,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 Ome=onn(Vce);var ks={adjustX:1,adjustY:1},Os=[0,0],Ume={left:{points:["cr","cl"],overflow:ks,offset:[-4,0],targetOffset:Os},right:{points:["cl","cr"],overflow:ks,offset:[4,0],targetOffset:Os},top:{points:["bc","tc"],overflow:ks,offset:[0,-4],targetOffset:Os},bottom:{points:["tc","bc"],overflow:ks,offset:[0,4],targetOffset:Os},topLeft:{points:["bl","tl"],overflow:ks,offset:[0,-4],targetOffset:Os},leftTop:{points:["tr","tl"],overflow:ks,offset:[-4,0],targetOffset:Os},topRight:{points:["br","tr"],overflow:ks,offset:[0,-4],targetOffset:Os},rightTop:{points:["tl","tr"],overflow:ks,offset:[4,0],targetOffset:Os},bottomRight:{points:["tr","br"],overflow:ks,offset:[0,4],targetOffset:Os},rightBottom:{points:["bl","br"],overflow:ks,offset:[4,0],targetOffset:Os},bottomLeft:{points:["tl","bl"],overflow:ks,offset:[0,4],targetOffset:Os},leftBottom:{points:["br","bl"],overflow:ks,offset:[-4,0],targetOffset:Os}};Wt();var Hme=ba(z_());function h3(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 ka("div",{className:(0,Hme.default)("".concat(r,"-content"),u),style:l},n!==!1&&ka("div",{className:"".concat(r,"-arrow"),key:"arrow"},t),ka("div",{className:"".concat(r,"-inner"),id:o,role:"tooltip",style:i},typeof a=="function"?a():a))}var inn=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,m=n.children,_=n.onVisibleChange,R=n.afterVisibleChange,D=n.transitionName,y=n.animation,S=n.motion,G=n.placement,P=G===void 0?"right":G,k=n.align,M=k===void 0?{}:k,O=n.destroyTooltipOnHide,oe=O===void 0?!1:O,le=n.defaultVisible,ve=n.getTooltipContainer,X=n.overlayInnerStyle,be=n.arrowContent,pe=n.overlay,De=n.id,Ne=n.showArrow,ie=pi(n,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"]),jn=Aa(null);pm(t,function(){return jn.current});var Ve=Ht({},ie);"visible"in n&&(Ve.popupVisible=n.visible);var Pn=function(){return ka(h3,{showArrow:Ne,arrowContent:be,key:"content",prefixCls:v,id:De,overlayInnerStyle:X},pe)},kn=!1,q=!1;if(typeof oe=="boolean")kn=oe;else if(oe&&bo(oe)==="object"){var x=oe.keepParent;kn=x===!0,q=x===!1}return ka(Ome,lt({popupClassName:a,prefixCls:v,popup:Pn,action:o,builtinPlacements:Ume,popupPlacement:P,ref:jn,popupAlign:M,getPopupContainer:ve,onPopupVisibleChange:_,afterPopupVisibleChange:R,popupTransitionName:D,popupAnimation:y,popupMotion:S,defaultPopupVisible:le,destroyPopupOnHide:kn,autoDestroy:q,mouseLeaveDelay:c,popupStyle:s,mouseEnterDelay:u},Ve),m)},Bme=hc(inn);var Jme=Bme;var qme=e=>wt.createElement(Jme,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(()=>ba(Wme())).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)}Wt();var zme=class extends wt.Component{componentDidUpdate(n){this.props.componentDidUpdate(n.deps)}render(){return this.props.children}},$me=zme;var lnn=za();var Vme=function(e){return"ref:"+sr(e)(Et.value)},Qme=function(e){var n=Vme(e);return function(t){return lnn(cc(n)(t))}},Yme=function(e){var n=Vme(e);return function(t){return Fw(n)(t)}};var cnn=Af(),Xme=Hn(Mn)(qt),Zme=z(_t),snn=k1(Jne(h1)),Kme={reflectSymbol:function(){return"deps"}},fnn=Qme(Kme),vnn=Yme(Kme),epe=Qe(Xe);var mnn=function(e){var n=cnn(e);return function(){return function(){return n($me)}}},pnn=mnn(ae)()(),npe=function(e){var n=mf(e);return function(t){return function(a){return function(r){return function(o){return w1(t)(function(i){return a({init:Xme(mr(o(r)))(function(){return Zme(r)}),update:function(u){return function(l){return Xme(mr(o(l)))(function(){return Zme(l)})}},view:function(u){return function(l){return pnn({componentDidUpdate:snn(l)(function(c){var s=n(fnn(c))(r);return s?new d(r):C.value}),deps:vnn(r)})(i(Ce))}}})})}}}}},_nn=npe(nw),ib=function(e){var n=npe(e);return function(t){return function(a){return n("UseEffectPrime")(epe)(t)(a)}}},JP=function(e){return _nn("UseEffect")(epe)(Ce)(an(e))};function tpe(e){return function(n){return function(){return n.getItem(e)}}}function ub(e){return function(n){return function(t){return function(){t.setItem(e,n)}}}}var dnn=N(it);var g3=function(e){var n=dnn(ee),t=tpe(e);return function(a){return n(t(a))}};var hnn=Yo(),gnn=xf(Mn)(),Dnn=Bn(Xn),lb=mt(Va),ynn=function(e){return function(n){return function(t){return hnn(ua(C.value))(function(a){return gnn(JP(Dnn(function(){var o=lb(g3(n))(lb(e)(_o))();if(o instanceof d)return a.value1(new d(o.value0))();if(o instanceof C)return a.value1(new d(t))(),lb(ub(n)(t))(lb(e)(_o))();throw new Error("Failed pattern match at Utils.UseStorage (line 37, column 5 - line 42, column 56): "+[o.constructor.name])})))(function(){return Qo(new Ue(a.value0,function(r){return function(){return a.value1(new d(r))(),lb(ub(n)(r))(lb(e)(_o))()}}))})})}}};var D3=ynn(q1);var bnn=Af();var ape="hover",Q_="click";var Us="top",_i=function(e){var n=bnn(e);return function(){return function(){return n(qme)}}};var rpe="right";var ope="bottomRight";var DC="bottom";var ipe=e=>()=>e.preventDefault&&e.preventDefault(),upe=e=>()=>e.stopPropagation&&e.stopPropagation();var WP=function(){return upe},sv=function(){return ipe};var Rnn=Qn();var qP=K(Le),zP=Rt(Rnn(E({reflectSymbol:function(){return"value"}})(ue)(he))),$P=z(On);var Hs=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))},lpe=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))},Bs=function(e){return Ee("")(qP(zP(Ga(e.target)))(function(n){return $P(n.value)}))};var cpe="/network/connections";var spe=15;var wnn=_i(ae)()(),Snn=en(W),Enn=function(){return"You\u2019ve hit the "+(re(ze)(spe)+`-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.
  `)}(),Cnn=Ea(ae)("text-decoration-underline")(xa(L)()()("text-dark")({href:cpe})("Manage my connections")),yC=function(e){return function(n){return wnn({placement:e,trigger:Q_,overlay:Snn("")([Y(Enn),Cnn]),overlayStyle:fn({width:"15rem"}),overlayClassName:"t--connection-limit-tooltip"})(n)}};var Inn=Hr(Te)(ft),fpe=re(ze),Tnn=oa(Te)(ft),Fnn=en(L);var vpe=25,VP=function(e){return Zr(e)>=vpe},mpe=function(e){var n=Zr(e),t=n>0,a=Inn(" ")([function(){return t?fpe(n)+" characters":""}(),Tnn(["(",fpe(vpe),function(){return t?"":" character"}()," minimum)"])]),r=function(){var o=VP(e);return o?"text-success":""}();return Fnn(r)(a)};var Mnn=function(){function e(){}return e.value=new e,e}(),QP=function(){function e(){}return e.value=new e,e}(),Gnn=function(){function e(){}return e.value=new e,e}(),Ann=function(){function e(){}return e.value=new e,e}(),xnn=function(){function e(){}return e.value=new e,e}(),y3=function(){function e(){}return e.value=new e,e}(),bC=function(){function e(){}return e.value=new e,e}(),YP=function(){function e(){}return e.value=new e,e}(),XP=function(){function e(){}return e.value=new e,e}();var ppe=function(e){if(e instanceof Mnn)return"sheet-view";if(e instanceof QP)return"school-details";if(e instanceof Gnn)return"network-gallery";if(e instanceof Ann)return"livestream-details";if(e instanceof xnn)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 jnn=Number.MAX_SAFE_INTEGER;var KP=function(e){if(e.first==="")return e.last;if(e.last==="")return e.first;if(xe)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 Ynn=_e(Tie);var dpe=function(e){return Ynn(e.publishScope)(D0.value)};var ntn=Pr(No),Dpe=ro(ntn),ype=K(Lt);var bpe=Dpe("profile_visibility_path")(function(e){return function(n){return ype(e({visibility:{publish_scope:xG(n)}}))(Au)}});var Rpe=Dpe("profile_name_path")(function(e){return function(n){return ype(e({name:n}))(Au)}});var at=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Qt=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var ttn=Ym(),atn=It(L),rtn=Kn(L),ek=Vn(L),nk=Ir(L),Y_=B(W),cb=Ct(L)()(),tk=ca(pr),otn=Hn(Mn),ak=Gn(pt),Fg=B(ae),wpe=js()(),itn=Pc(L),utn=oa(Te)(ft),Spe=Zo()(),rk=Gn(ao),ltn=kl()(),Epe=B(L),ctn=Qf(W),ok=cl(L),stn=en(L),ftn=_i(ae)()(),vtn=Vn(W),mtn=xa(L)()(),ptn=ta(L),Mg=z(_t),Cpe=otn(qt),_tn=jE(),RC=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ipe=function(){function e(){}return e.value=new e,e}(),Tpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Fpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Mpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Gpe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wC=function(){function e(){}return e.value=new e,e}(),ik=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Ape=function(e){return function(n){var t=function(c){return ttn({body:c,title:atn("my-0")(function(){return e.stage instanceof y3?"Join the CollegeVine network":"Connect with "+e.schoolName}()),headerClass:"pb-0",onDismiss:n(new Qt(wC.value)),size:TE.value})},a=ppe(e.context),r=ce([rtn("mt-3")("Review your message before you send it"),ek("mt-2")(`
            Because this is your first message to the counselor,
            we want to make sure you\u2019re ready to send.
          `),nk("mt-4")("Your message"),HS(e.message),Y_("d-flex mt-4 justify-content-start")([cb("btn btn-primary btn-lg t--sem-user-connection-modal-confirm-message-"+a)({onClick:tk(function(){return n(new Qt(new ik({introMessage:e.message})))(),n(new at(new RC(XP.value)))()})})("Send"),cb("btn btn-lg btn-outline-primary ml-3 text-nowrap")({onClick:ak(n)(new at(new RC(bC.value)))})("No, I need to edit something")])]),o=ce([Y_("text-center")([Fg("")(wpe("mt-4")({src:"/img/checkmate-icon.png",height:"80",width:"80"})),itn("mt-4")("Connection request sent!"),ek("mx-md-4")(utn(["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."])),cb("btn btn-lg btn-outline-secondary mt-4")({onClick:ak(n)(new Qt(wC.value))})("Close")])]),i=cb("btn btn-outline-secondary ml-3 t--sem-user-connection-modal-close-"+a)({onClick:ak(n)(new Qt(wC.value))})("Cancel"),u=function(){var c=VP(e.message)&&function(){if(e.profile.fullName instanceof d)return!0;if(e.profile.fullName instanceof C)return!Ti(e.firstName)&&!Ti(e.lastName);throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 238, column 15 - line 242, column 88): "+[e.profile.fullName.constructor.name])}(),s=function(){if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0)return!1;if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 231, column 13 - line 234, column 31): "+[e.vineBelowConnectionLimit.constructor.name])}();return ce([vn(fr(e.profile.fullName))(ce([nk("mt-md-4")("Your preferred name"),Y_("form-row mx-1")([Spe("col form-control mr-2 t--sem-user-connection-modal-first-name-"+a)({type:"text",value:e.firstName,onChange:rk(n)(function(f){return at.create(Mpe.create(Bs(f)))}),placeholder:"First name"}),Spe("col form-control ml-2 t--sem-user-connection-modal-last-name-"+a)({type:"text",value:e.lastName,onChange:rk(n)(function(f){return at.create(Gpe.create(Bs(f)))}),placeholder:"Last name"})])])),nk("mt-md-4")("Your message"),ltn("form-control t--sem-user-connection-modal-text-area-"+a)({rows:7,value:e.message,onChange:rk(n)(function(f){return at.create(Fpe.create(Hs(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!
        `}),Fg("mt-2")(mpe(e.message)),Epe("mt-3 mt-md-4 small")("The ideal connection message should include:"),ctn("small")([ok("")("Your name, where you\u2019re from, and a bit about who you are"),ok("")("What you\u2019re interested in studying along with one or two insightful questions"),ok("")("That you\u2019re eager to connect with an admissions counselor and would love to stay in touch")]),Y_("d-flex mt-4 justify-content-start")([yC(Us)(Fg("")(cb("btn btn-primary btn-lg t--sem-user-connection-modal-connect-"+a)({onClick:tk(function(){return function(){if(e.profile.fullName instanceof d)return Ce;if(e.profile.fullName instanceof C)return n(new at(new Tpe({first:e.firstName,last:e.lastName})))();throw new Error("Failed pattern match at Network.SemVine.InviteSchoolModal (line 214, column 23 - line 218, column 113): "+[e.profile.fullName.constructor.name])}(),n(new at(new RC(YP.value)))()}),disabled:!c||s,style:fn({pointerEvents:function(){return s?"none":"auto"}()})})("Connect"))),i])])}(),l=Y_("mx-md-7")([Fg("border border-success rounded p-4 my-4")(Y_("row align-items-center")([Fg("col-12 col-md-auto text-center text-md-left")(wpe("img-fluid")({src:"/img/network/publish-profile-icon.png",height:"67",width:"143"})),Fg("col text-center text-md-left")(stn("fw-bold font-weight-bold text-gray-800")("Network with verified admissions counselors on CollegeVine"))])),Y_("d-flex flex-nowrap align-items-center")([Epe("mr-4")("Publish your profile to join the CollegeVine Network"),ftn({placement:rpe,overlay:vtn("")([Y(`
                    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
                    `),mtn("")({href:Km})("your profile"),Y(".")]),overlayStyle:fn({width:"15rem"})})(ptn("cursor-default text-secondary fe fe-info large")(""))]),ek("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."),Y_("d-flex mt-4 justify-content-start justify-content-md-center")([cb("btn btn-primary t--sem-user-connection-modal-publish-profile-"+a)({onClick:tk(function(){return n(new at(Ipe.value))(),n(new at(new RC(bC.value)))()})})("Publish profile"),i])]);return Fg("t--network-sem-user-modal")(function(){if(e.stage instanceof y3)return t(l);if(e.stage instanceof bC)return t(u);if(e.stage instanceof YP)return t(r);if(e.stage instanceof XP)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])}())}},xpe=function(e){return function(n){if(n instanceof at){if(n.value0 instanceof RC)return Mg({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 Ipe)return Cpe(mr(bpe(D0.value)))(function(){return Mg({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:D0.value}})});if(n.value0 instanceof Tpe)return Cpe(mr(Rpe(n.value0.value0)))(function(){return Mg({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 d(KP(n.value0.value0))}})});if(n.value0 instanceof Fpe)return Mg({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 Mpe)return Mg({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 Gpe)return Mg({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 Qt)return Mg(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])}},dtn=function(e){var n=dpe(e);return n?bC.value:y3.value},Lpe=function(e){return{firstName:"",lastName:"",message:"",profile:_tn(e.profile),stage:dtn(e.profile),schoolName:e.schoolName,context:e.context,vineBelowConnectionLimit:e.vineBelowConnectionLimit}};var uk="support@collegevine.com";var b3="https://www.collegevine.com/admissions-calculator";var lk=function(){return Yo()(ua(C.value))(function(e){return Qo(new Ue(e.value0,gS(e.value0)(e.value1)))})}();var jpe=yn(Dn),Npe=dn(_n),Ppe=wn(Rn),er=function(){function e(){}return e.value=new e,e}(),Ya=function(){function e(){}return e.value=new e,e}(),htn={to:function(e){if(e instanceof H)return er.value;if(e instanceof p)return Ya.value;throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])},from:function(e){if(e instanceof er)return new H(fe.value);if(e instanceof Ya)return new p(fe.value);throw new Error("Failed pattern match at Utils.Expandable (line 26, column 1 - line 26, column 32): "+[e.constructor.name])}},X_={eq:function(e){return function(n){return e instanceof er&&n instanceof er||e instanceof Ya&&n instanceof Ya}}};var C0=function(e){if(e instanceof er)return Ya.value;if(e instanceof Ya)return er.value;throw new Error("Failed pattern match at Utils.Expandable (line 30, column 10 - line 32, column 24): "+[e.constructor.name])};var ck=function(e){if(e instanceof er)return"Expanded";if(e instanceof Ya)return"Collapsed";throw new Error("Failed pattern match at Utils.Expandable (line 35, column 10 - line 37, column 27): "+[e.constructor.name])},kpe=An(ck)(Sn(htn)(gn(jpe)(pn(mn))(jpe)(Npe))(bn(Ppe)(Ppe))(hn(Npe)));function Ope(e){return function(n){return function(){return e.item(n)}}}var gtn=N(it),Upe=function(e){var n=gtn(ee),t=Ope(e);return function(a){return n(t(a))}};var Dtn=Z(it),ytn=Ye(sa),sk=z(ea),btn=Z(J),Rtn=oa(Te)(ft),wtn=N(it),Stn=mt(Va),Etn=Sa(),Hpe=Yo(),Ctn=xf(Mn)(),Itn=z(Yt),Ttn=Bn(Xn),Ftn=rF(Hv),Mtn=N(J),Gtn=Yn(W)()(),R3=_e(X_),Atn=k1(iM(h1)),xtn=Mr(ae)()(),Ltn=Gn(pt),Bpe=re(iw),Jpe=function(){function e(){}return e.value=new e,e}(),Wpe=function(){function e(){}return e.value=new e,e}(),qpe=function(){return function(e){return function(n){var t=function(i){var u=function(c){return function(s){return function(){var v=Upe(c)(s)();if(v instanceof d)return Dtn(u(c)(s+1|0))(function(m){return ytn([v.value0])(m)})();if(v instanceof C)return[];throw new Error("Failed pattern match at Component.Dropdown (line 187, column 45 - line 189, column 31): "+[v.constructor.name])}}},l=btn(aie(i))(function(c){return function(){var f=tN(c)(),v=u(f)(0)();return Rtn(v)}});return wtn(ms("-menu"))(Ee(sk(""))(l))},a=function(i){return function(u){if(i instanceof C||u instanceof C)return sk(!1);if(i instanceof d&&u instanceof d)return function(){var c=rN(i.value0)(u.value0)(),s=t(u.value0)();return c||s?!0:Stn(a(new d(i.value0)))(oie(u.value0))()};throw new Error("Failed pattern match at Component.Dropdown (line 163, column 5 - line 163, column 42): "+[i.constructor.name,u.constructor.name])}},r=Etn(n),o=Un(r.alignment)(Jpe.value);return mu(Hpe(ua(Ya.value))(function(i){return Hpe(lk)(function(u){return Ctn(fG(LE.mouseup)(function(l){if(i.value0 instanceof Ya)return Itn(Ce);if(i.value0 instanceof er)return Ttn(Ftn(a(Mtn(Zne)(u.value0))(new d(AG(l.target))))(i.value1(Ya.value)));throw new Error("Failed pattern match at Component.Dropdown (line 123, column 5 - line 129, column 29): "+[i.value0.constructor.name])}))(function(){return Qo(Gtn("dropdown "+(e+function(){var l=R3(i.value0)(er.value);return l?" show":""}()))({onClick:Atn(i.value1)(function(){var l=r.closeOnClick&&R3(i.value0)(er.value);return l?new d(Ya.value):C.value}()),ref:u.value1})([xtn(r.toggleClass)(r.ariaLabelInput)({onClick:Ltn(i.value1)(C0(i.value0)),"aria-expanded":Bpe(R3(i.value0)(er.value)),role:"combobox","aria-haspopup":"listbox","aria-controls":r.contentId})(r.toggleContent),r.content({visible:R3(i.value0)(er.value),className:"dropdown-menu show"+function(){if(o instanceof Jpe)return"";if(o instanceof Wpe)return" dropdown-menu-right";throw new Error("Failed pattern match at Component.Dropdown (line 146, column 46 - line 148, column 51): "+[o.constructor.name])}(),closeDropdown:i.value1(Ya.value),contentId:r.contentId,role:"listbox",roleSelectOption:"option",ariaSelected:Bpe})]))})})}))}}},jtn=qpe(),w3=function(e){return function(n){return jtn(e)({contentId:n.contentId,toggleClass:n.toggleClass+" dropdown-toggle",toggleContent:n.toggleContent,content:function(t){return vn(t.visible)(n.content({className:t.className,contentId:t.contentId,role:t.role,roleSelectOption:t.roleSelectOption,ariaSelected:t.ariaSelected}))},closeOnClick:!0,ariaLabelInput:n.ariaLabelInput})}};Wt();var fv={PRIMARY:"#008CFD",SECONDARY:"#6E84A3",WHITE:"#FFF",GRAY_300:"#E3EBF6"};var CC=ba(Zpe()),Kpe=4,van=({trackColor:e,background:n})=>({props:t,children:a})=>wt.createElement("div",Object.assign({},t,{style:Object.assign({},t.style,{height:`${Kpe}px`,borderRadius:`${Kpe*2}px`,background:n||e})}),...a),man=({horizontal:e})=>({props:n,isDragged:t})=>wt.createElement("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",fill:"none",viewBox:"0 0 18 18"}),wt.createElement("circle",{cx:"9",cy:"9",r:"8.5",fill:t?fv.SECONDARY:fv.WHITE,stroke:fv.SECONDARY}),wt.createElement("path",{stroke:t?fv.WHITE:fv.SECONDARY,d:e?"M7.5 6L7.5 12":"M6 7.5L12 7.5"}),wt.createElement("path",{stroke:t?fv.WHITE:fv.SECONDARY,d:e?"M10.5 6L10.5 12":"M6 10.5L12 10.5"})),e_e=e=>wt.createElement("div",{"aria-label":e.ariaLabel},wt.createElement(CC.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:van({trackColor:e.trackColor||fv.GRAY_300,background:e.fillBefore?(0,CC.getTrackBackground)({values:[e.value],colors:[fv.PRIMARY,fv.GRAY_300],min:e.min,max:e.max,"aria-valuemax":e.max,"aria-valuemin":e.min,"aria-valuenow":e.value}):void 0}),renderThumb:man({horizontal:!0})}));var pan=gs(),n_e={CanPassToJavaScript0:function(){},CanReceiveFromJavaScript1:function(){return Gt}};var t_e=function(e){return function(){return function(){return pan(e_e)}}};var a_e=function(e){return function(n){return fr(n(e))}};var _an=Sa(),dan=_i(ae)()(),han=en(W),gan=ta(L),Dan=function(e){var n=Jh(e);return function(){return function(t){return function(a){var r=_an(t);return dan({placement:Us,overlay:ce(n(a)),overlayStyle:Un(r.overlayStyle)(fn({width:"15rem"}))})(han("d-inline-flex align-items-center text-secondary "+r.className)([gan("d-inline-block fe fe-help-circle "+function(){var o=r.anchorText==="";return o?"":"mr-2"}())(""),Y(r.anchorText)]))}}}},Du=function(e){var n=Dan(e)();return function(t){return n({className:t,anchorText:""})}};Wt();function mk(e){if(Array.isArray(e))return Qy(e)}function pk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _k(){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 Ag(e){return mk(e)||pk(e)||eC(e)||_k()}var kDe=ba(Mf());var r_e=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function yan(e,n){return!!(e===n||r_e(e)&&r_e(n))}function ban(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(!yan(e[t],n[t]))return!1;return!0}function Ran(e,n){n===void 0&&(n=ban);var t,a=[],r,o=!1;function i(){for(var u=[],l=0;l<arguments.length;l++)u[l]=arguments[l];return o&&t===this&&n(u,a)||(r=e.apply(this,u),o=!0,t=this,a=u),r}return i}var dk=Ran;var tp=ba(Mf());function wan(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function San(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n}var hk=function(){function e(t){this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.before=null}var n=e.prototype;return n.insert=function(a){if(this.ctr%(this.isSpeedy?65e3:1)==0){var r=San(this),o;this.tags.length===0?o=this.before:o=this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(r,o),this.tags.push(r)}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var u=wan(i);try{var l=a.charCodeAt(1)===105&&a.charCodeAt(0)===64;u.insertRule(a,l?0:u.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(a));this.ctr++},n.flush=function(){this.tags.forEach(function(a){return a.parentNode.removeChild(a)}),this.tags=[],this.ctr=0},e}();function Ean(e){function n(x,ne,me,ye,U){for(var de=0,V=0,Ae=0,Me=0,He,$e,je=0,In=0,cn,nt=cn=He=0,Cn=0,tt=0,ht=0,Fn=0,Ft=me.length,rt=Ft-1,Jn,sn="",vt="",Oa="",Ie="",qe;Cn<Ft;){if($e=me.charCodeAt(Cn),Cn===rt&&V+Me+Ae+de!==0&&(V!==0&&($e=V===47?10:47),Me=Ae=de=0,Ft++,rt++),V+Me+Ae+de===0){if(Cn===rt&&(0<tt&&(sn=sn.replace(v,"")),0<sn.trim().length)){switch($e){case 32:case 9:case 59:case 13:case 10:break;default:sn+=me.charAt(Cn)}$e=59}switch($e){case 123:for(sn=sn.trim(),He=sn.charCodeAt(0),cn=1,Fn=++Cn;Cn<Ft;){switch($e=me.charCodeAt(Cn)){case 123:cn++;break;case 125:cn--;break;case 47:switch($e=me.charCodeAt(Cn+1)){case 42:case 47:e:{for(nt=Cn+1;nt<rt;++nt)switch(me.charCodeAt(nt)){case 47:if($e===42&&me.charCodeAt(nt-1)===42&&Cn+2!==nt){Cn=nt+1;break e}break;case 10:if($e===47){Cn=nt+1;break e}}Cn=nt}}break;case 91:$e++;case 40:$e++;case 34:case 39:for(;Cn++<rt&&me.charCodeAt(Cn)!==$e;);}if(cn===0)break;Cn++}switch(cn=me.substring(Fn,Cn),He===0&&(He=(sn=sn.replace(f,"").trim()).charCodeAt(0)),He){case 64:switch(0<tt&&(sn=sn.replace(v,"")),$e=sn.charCodeAt(1),$e){case 100:case 109:case 115:case 45:tt=ne;break;default:tt=ie}if(cn=n(ne,tt,cn,$e,U+1),Fn=cn.length,0<Ve&&(tt=t(ie,sn,ht),qe=u(3,cn,tt,ne,pe,be,Fn,$e,U,ye),sn=tt.join(""),qe!==void 0&&(Fn=(cn=qe.trim()).length)===0&&($e=0,cn="")),0<Fn)switch($e){case 115:sn=sn.replace(M,i);case 100:case 109:case 45:cn=sn+"{"+cn+"}";break;case 107:sn=sn.replace(S,"$1 $2"),cn=sn+"{"+cn+"}",cn=Ne===1||Ne===2&&o("@"+cn,3)?"@-webkit-"+cn+"@"+cn:"@"+cn;break;default:cn=sn+cn,ye===112&&(cn=(vt+=cn,""))}else cn="";break;default:cn=n(ne,t(ne,sn,ht),cn,ye,U+1)}Oa+=cn,cn=ht=tt=nt=He=0,sn="",$e=me.charCodeAt(++Cn);break;case 125:case 59:if(sn=(0<tt?sn.replace(v,""):sn).trim(),1<(Fn=sn.length))switch(nt===0&&(He=sn.charCodeAt(0),He===45||96<He&&123>He)&&(Fn=(sn=sn.replace(" ",":")).length),0<Ve&&(qe=u(1,sn,ne,x,pe,be,vt.length,ye,U,ye))!==void 0&&(Fn=(sn=qe.trim()).length)===0&&(sn="\0\0"),He=sn.charCodeAt(0),$e=sn.charCodeAt(1),He){case 0:break;case 64:if($e===105||$e===99){Ie+=sn+me.charAt(Cn);break}default:sn.charCodeAt(Fn-1)!==58&&(vt+=r(sn,He,$e,sn.charCodeAt(2)))}ht=tt=nt=He=0,sn="",$e=me.charCodeAt(++Cn)}}switch($e){case 13:case 10:V===47?V=0:1+He===0&&ye!==107&&0<sn.length&&(tt=1,sn+="\0"),0<Ve*kn&&u(0,sn,ne,x,pe,be,vt.length,ye,U,ye),be=1,pe++;break;case 59:case 125:if(V+Me+Ae+de===0){be++;break}default:switch(be++,Jn=me.charAt(Cn),$e){case 9:case 32:if(Me+de+V===0)switch(je){case 44:case 58:case 9:case 32:Jn="";break;default:$e!==32&&(Jn=" ")}break;case 0:Jn="\\0";break;case 12:Jn="\\f";break;case 11:Jn="\\v";break;case 38:Me+V+de===0&&(tt=ht=1,Jn="\f"+Jn);break;case 108:if(Me+V+de+De===0&&0<nt)switch(Cn-nt){case 2:je===112&&me.charCodeAt(Cn-3)===58&&(De=je);case 8:In===111&&(De=In)}break;case 58:Me+V+de===0&&(nt=Cn);break;case 44:V+Ae+Me+de===0&&(tt=1,Jn+="\r");break;case 34:case 39:V===0&&(Me=Me===$e?0:Me===0?$e:Me);break;case 91:Me+V+Ae===0&&de++;break;case 93:Me+V+Ae===0&&de--;break;case 41:Me+V+de===0&&Ae--;break;case 40:if(Me+V+de===0){if(He===0)switch(2*je+3*In){case 533:break;default:He=1}Ae++}break;case 64:V+Ae+Me+de+nt+cn===0&&(cn=1);break;case 42:case 47:if(!(0<Me+de+Ae))switch(V){case 0:switch(2*$e+3*me.charCodeAt(Cn+1)){case 235:V=47;break;case 220:Fn=Cn,V=42}break;case 42:$e===47&&je===42&&Fn+2!==Cn&&(me.charCodeAt(Fn+2)===33&&(vt+=me.substring(Fn,Cn+1)),Jn="",V=0)}}V===0&&(sn+=Jn)}In=je,je=$e,Cn++}if(Fn=vt.length,0<Fn){if(tt=ne,0<Ve&&(qe=u(2,vt,tt,x,pe,be,Fn,ye,U,ye),qe!==void 0&&(vt=qe).length===0))return Ie+vt+Oa;if(vt=tt.join(",")+"{"+vt+"}",Ne*De!=0){switch(Ne!==2||o(vt,2)||(De=0),De){case 111:vt=vt.replace(P,":-moz-$1")+vt;break;case 112:vt=vt.replace(G,"::-webkit-input-$1")+vt.replace(G,"::-moz-$1")+vt.replace(G,":-ms-input-$1")+vt}De=0}}return Ie+vt+Oa}function t(x,ne,me){var ye=ne.trim().split(D);ne=ye;var U=ye.length,de=x.length;switch(de){case 0:case 1:var V=0;for(x=de===0?"":x[0]+" ";V<U;++V)ne[V]=a(x,ne[V],me).trim();break;default:var Ae=V=0;for(ne=[];V<U;++V)for(var Me=0;Me<de;++Me)ne[Ae++]=a(x[Me]+" ",ye[V],me).trim()}return ne}function a(x,ne,me){var ye=ne.charCodeAt(0);switch(33>ye&&(ye=(ne=ne.trim()).charCodeAt(0)),ye){case 38:return ne.replace(y,"$1"+x.trim());case 58:return x.trim()+ne.replace(y,"$1"+x.trim());default:if(0<1*me&&0<ne.indexOf("\f"))return ne.replace(y,(x.charCodeAt(0)===58?"":"$1")+x.trim())}return x+ne}function r(x,ne,me,ye){var U=x+";",de=2*ne+3*me+4*ye;if(de===944){x=U.indexOf(":",9)+1;var V=U.substring(x,U.length-1).trim();return V=U.substring(0,x).trim()+V+";",Ne===1||Ne===2&&o(V,1)?"-webkit-"+V+V:V}if(Ne===0||Ne===2&&!o(U,1))return U;switch(de){case 1015:return U.charCodeAt(10)===97?"-webkit-"+U+U:U;case 951:return U.charCodeAt(3)===116?"-webkit-"+U+U:U;case 963:return U.charCodeAt(5)===110?"-webkit-"+U+U:U;case 1009:if(U.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+U+U;case 978:return"-webkit-"+U+"-moz-"+U+U;case 1019:case 983:return"-webkit-"+U+"-moz-"+U+"-ms-"+U+U;case 883:if(U.charCodeAt(8)===45)return"-webkit-"+U+U;if(0<U.indexOf("image-set(",11))return U.replace(X,"$1-webkit-$2")+U;break;case 932:if(U.charCodeAt(4)===45)switch(U.charCodeAt(5)){case 103:return"-webkit-box-"+U.replace("-grow","")+"-webkit-"+U+"-ms-"+U.replace("grow","positive")+U;case 115:return"-webkit-"+U+"-ms-"+U.replace("shrink","negative")+U;case 98:return"-webkit-"+U+"-ms-"+U.replace("basis","preferred-size")+U}return"-webkit-"+U+"-ms-"+U+U;case 964:return"-webkit-"+U+"-ms-flex-"+U+U;case 1023:if(U.charCodeAt(8)!==99)break;return V=U.substring(U.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+V+"-webkit-"+U+"-ms-flex-pack"+V+U;case 1005:return _.test(U)?U.replace(m,":-webkit-")+U.replace(m,":-moz-")+U:U;case 1e3:switch(V=U.substring(13).trim(),ne=V.indexOf("-")+1,V.charCodeAt(0)+V.charCodeAt(ne)){case 226:V=U.replace(k,"tb");break;case 232:V=U.replace(k,"tb-rl");break;case 220:V=U.replace(k,"lr");break;default:return U}return"-webkit-"+U+"-ms-"+V+U;case 1017:if(U.indexOf("sticky",9)===-1)break;case 975:switch(ne=(U=x).length-10,V=(U.charCodeAt(ne)===33?U.substring(0,ne):U).substring(x.indexOf(":",7)+1).trim(),de=V.charCodeAt(0)+(V.charCodeAt(7)|0)){case 203:if(111>V.charCodeAt(8))break;case 115:U=U.replace(V,"-webkit-"+V)+";"+U;break;case 207:case 102:U=U.replace(V,"-webkit-"+(102<de?"inline-":"")+"box")+";"+U.replace(V,"-webkit-"+V)+";"+U.replace(V,"-ms-"+V+"box")+";"+U}return U+";";case 938:if(U.charCodeAt(5)===45)switch(U.charCodeAt(6)){case 105:return V=U.replace("-items",""),"-webkit-"+U+"-webkit-box-"+V+"-ms-flex-"+V+U;case 115:return"-webkit-"+U+"-ms-flex-item-"+U.replace(oe,"")+U;default:return"-webkit-"+U+"-ms-flex-line-pack"+U.replace("align-content","").replace(oe,"")+U}break;case 973:case 989:if(U.charCodeAt(3)!==45||U.charCodeAt(4)===122)break;case 931:case 953:if(ve.test(x)===!0)return(V=x.substring(x.indexOf(":")+1)).charCodeAt(0)===115?r(x.replace("stretch","fill-available"),ne,me,ye).replace(":fill-available",":stretch"):U.replace(V,"-webkit-"+V)+U.replace(V,"-moz-"+V.replace("fill-",""))+U;break;case 962:if(U="-webkit-"+U+(U.charCodeAt(5)===102?"-ms-"+U:"")+U,me+ye===211&&U.charCodeAt(13)===105&&0<U.indexOf("transform",10))return U.substring(0,U.indexOf(";",27)+1).replace(R,"$1-webkit-$2")+U}return U}function o(x,ne){var me=x.indexOf(ne===1?":":"{"),ye=x.substring(0,ne!==3?me:10);return me=x.substring(me+1,x.length-1),Pn(ne!==2?ye:ye.replace(le,"$1"),me,ne)}function i(x,ne){var me=r(ne,ne.charCodeAt(0),ne.charCodeAt(1),ne.charCodeAt(2));return me!==ne+";"?me.replace(O," or ($1)").substring(4):"("+ne+")"}function u(x,ne,me,ye,U,de,V,Ae,Me,He){for(var $e=0,je=ne,In;$e<Ve;++$e)switch(In=jn[$e].call(s,x,je,me,ye,U,de,V,Ae,Me,He)){case void 0:case!1:case!0:case null:break;default:je=In}if(je!==ne)return je}function l(x){switch(x){case void 0:case null:Ve=jn.length=0;break;default:if(typeof x=="function")jn[Ve++]=x;else if(typeof x=="object")for(var ne=0,me=x.length;ne<me;++ne)l(x[ne]);else kn=!!x|0}return l}function c(x){return x=x.prefix,x!==void 0&&(Pn=null,x?typeof x!="function"?Ne=1:(Ne=2,Pn=x):Ne=0),c}function s(x,ne){var me=x;if(33>me.charCodeAt(0)&&(me=me.trim()),q=me,me=[q],0<Ve){var ye=u(-1,ne,me,me,pe,be,0,0,0,0);ye!==void 0&&typeof ye=="string"&&(ne=ye)}var U=n(ie,me,ne,0,0);return 0<Ve&&(ye=u(-2,U,me,me,pe,be,U.length,0,0,0),ye!==void 0&&(U=ye)),q="",De=0,be=pe=1,U}var f=/^\0+/g,v=/[\0\r\f]/g,m=/: */g,_=/zoo|gra/,R=/([,: ])(transform)/g,D=/,\r+?/g,y=/([\t\r\n ])*\f?&/g,S=/@(k\w+)\s*(\S*)\s*/,G=/::(place)/g,P=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,M=/\(\s*(.*)\s*\)/g,O=/([\s\S]*?);/g,oe=/-self|flex-/g,le=/[^]*?(:[rp][el]a[\w-]+)[^]*/,ve=/stretch|:\s*\w+\-(?:conte|avail)/,X=/([^-])(image-set\()/,be=1,pe=1,De=0,Ne=1,ie=[],jn=[],Ve=0,Pn=null,kn=0,q="";return s.use=l,s.set=c,e!==void 0&&c(e),s}var o_e=Ean;var gk="/*|*/",Can=gk+"}";function Ian(e){e&&I3.current.insert(e+"}")}var I3={current:null},Tan=function(n,t,a,r,o,i,u,l,c,s){switch(n){case 1:{switch(t.charCodeAt(0)){case 64:return I3.current.insert(t+";"),"";case 108:if(t.charCodeAt(2)===98)return""}break}case 2:{if(l===0)return t+gk;break}case 3:switch(l){case 102:case 112:return I3.current.insert(a[0]+t),"";default:return t+(s===0?gk:"")}case-2:t.split(Can).forEach(Ian)}},Fan=function(n){n===void 0&&(n={});var t=n.key||"css",a;n.prefix!==void 0&&(a={prefix:n.prefix});var r=new o_e(a),o={},i;{i=n.container||document.head;var u=document.querySelectorAll("style[data-emotion-"+t+"]");Array.prototype.forEach.call(u,function(v){var m=v.getAttribute("data-emotion-"+t);m.split(" ").forEach(function(_){o[_]=!0}),v.parentNode!==i&&i.appendChild(v)})}var l;if(r.use(n.stylisPlugins)(Tan),l=function(m,_,R,D){var y=_.name;if(I3.current=R,!1)var S;r(m,_.styles),D&&(f.inserted[y]=!0)},!1)var c,s;var f={key:t,sheet:new hk({key:t,container:i,nonce:n.nonce,speedy:n.speedy}),nonce:n.nonce,inserted:o,registered:{},insert:l};return f},Dk=Fan;var qc=ba(Mf());var Man=!0;function T3(e,n,t){var a="";return t.split(" ").forEach(function(r){e[r]!==void 0?n.push(e[r]):a+=r+" "}),a}var F3=function(n,t,a){var r=n.key+"-"+t.name;if((a===!1||Man===!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)}};function Gan(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)}var i_e=Gan;var Aan={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},u_e=Aan;function xan(e){var n={};return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var l_e=xan;var Lan=/[A-Z]|^ms/g,jan=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c_e=function(n){return n.charCodeAt(1)===45},s_e=function(n){return n!=null&&typeof n!="boolean"},yk=l_e(function(e){return c_e(e)?e:e.replace(Lan,"-$&").toLowerCase()}),f_e=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(jan,function(a,r,o){return I0={name:r,styles:o,next:I0},r})}return u_e[n]!==1&&!c_e(n)&&typeof t=="number"&&t!==0?t+"px":t};function IC(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 I0={name:t.name,styles:t.styles,next:I0},t.name;if(t.styles!==void 0){var r=t.next;if(r!==void 0)for(;r!==void 0;)I0={name:r.name,styles:r.styles,next:I0},r=r.next;var o=t.styles+";";return o}return Nan(e,n,t)}case"function":{if(e!==void 0){var i=I0,u=t(e);return I0=i,IC(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 Nan(e,n,t){var a="";if(Array.isArray(t))for(var r=0;r<t.length;r++)a+=IC(e,n,t[r],!1);else for(var o in t){var i=t[o];if(typeof i!="object")n!=null&&n[i]!==void 0?a+=o+"{"+n[i]+"}":s_e(i)&&(a+=yk(o)+":"+f_e(o,i)+";");else if(Array.isArray(i)&&typeof i[0]=="string"&&(n==null||n[i[0]]===void 0))for(var u=0;u<i.length;u++)s_e(i[u])&&(a+=yk(o)+":"+f_e(o,i[u])+";");else{var l=IC(e,n,i,!1);switch(o){case"animation":case"animationName":{a+=yk(o)+":"+l+";";break}default:a+=o+"{"+l+"}"}}}return a}var v_e=/label:\s*([^\s;\n{]+)\s*;/g;var I0,sb=function(n,t,a){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var r=!0,o="";I0=void 0;var i=n[0];i==null||i.raw===void 0?(r=!1,o+=IC(a,t,i,!1)):o+=i[0];for(var u=1;u<n.length;u++)o+=IC(a,t,n[u],o.charCodeAt(o.length-1)===46),r&&(o+=i[u]);var l;v_e.lastIndex=0;for(var c="",s;(s=v_e.exec(o))!==null;)c+="-"+s[1];var f=i_e(o)+c;return{name:f,styles:o,next:I0}};var M3=Object.prototype.hasOwnProperty,m_e=(0,qc.createContext)(typeof HTMLElement!="undefined"?Dk():null),G3=(0,qc.createContext)({}),p_e=m_e.Provider,A3=function(n){var t=function(r,o){return(0,qc.createElement)(m_e.Consumer,null,function(i){return n(r,i,o)})};return(0,qc.forwardRef)(t)};var bk="__EMOTION_TYPE_PLEASE_DO_NOT_USE__";var __e=function(n,t){var a={};for(var r in t)M3.call(t,r)&&(a[r]=t[r]);if(a[bk]=n,!1){var o;if(o.stack)var i}return a},Pan=function(){return null},d_e=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[bk],u=[o],l="";typeof t.className=="string"?l=T3(n.registered,u,t.className):t.className!=null&&(l=t.className+" ");var c=sb(u);if(!1)var s;var f=F3(n,c,typeof i=="string");l+=n.key+"-"+c.name;var v={};for(var m in t)M3.call(t,m)&&m!=="css"&&m!==bk&&(v[m]=t[m]);v.ref=r,v.className=l;var _=(0,qc.createElement)(i,v),R=(0,qc.createElement)(Pan,null);return(0,qc.createElement)(qc.Fragment,null,R,_)},h_e=A3(function(e,n,t){return typeof e.css=="function"?(0,qc.createElement)(G3.Consumer,null,function(a){return d_e(n,e,a,t)}):d_e(n,e,null,t)});function kan(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return sb(n)}var xg=kan;var Bt=function(n,t){var a=arguments;if(t==null||!M3.call(t,"css"))return tp.createElement.apply(void 0,a);var r=a.length,o=new Array(r);o[0]=h_e,o[1]=__e(n,t);for(var i=2;i<r;i++)o[i]=a[i];return tp.createElement.apply(null,o)};var g_e=function(){var n=xg.apply(void 0,arguments),t="animation-"+n.name;return{name:t,styles:"@keyframes "+t+"{"+n.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},Oan=function e(n){for(var t=n.length,a=0,r="";a<t;a++){var o=n[a];if(o!=null){var i=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))i=e(o);else{i="";for(var u in o)o[u]&&u&&(i&&(i+=" "),i+=u)}break}default:i=o}i&&(r&&(r+=" "),r+=i)}}return r};function Uan(e,n,t){var a=[],r=T3(e,a,t);return a.length<2?t:r+n(a)}var Han=function(){return null},D_e=A3(function(e,n){return(0,tp.createElement)(G3.Consumer,null,function(t){var a=!1,r=function(){for(var s=arguments.length,f=new Array(s),v=0;v<s;v++)f[v]=arguments[v];var m=sb(f,n.registered);return F3(n,m,!1),n.key+"-"+m.name},o=function(){for(var s=arguments.length,f=new Array(s),v=0;v<s;v++)f[v]=arguments[v];return Uan(n.registered,r,Oan(f))},i={css:r,cx:o,theme:t},u=e.children(i);a=!0;var l=(0,tp.createElement)(Han,null);return(0,tp.createElement)(tp.Fragment,null,l,u)})});var v6a=ba(Bb());var TI=ba(Mf());var wge=ba(Bb());function AU(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Sge=ba(II()),NU=function(){};function qon(e,n){return n?n[0]==="-"?e+n:e+"__"+n:e}function Ege(e,n,t){var a=[t];if(n&&e)for(var r in n)n.hasOwnProperty(r)&&n[r]&&a.push("".concat(qon(e,r)));return a.filter(function(o){return o}).map(function(o){return String(o).trim()}).join(" ")}var Jb=function(n){return Array.isArray(n)?n.filter(Boolean):bo(n)==="object"&&n!==null?[n]:[]};function Cge(e,n,t){if(t){var a=t(e,n);if(typeof a=="string")return a}return e}function qA(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ige(e){return qA(e)?window.pageYOffset:e.scrollTop}function zA(e,n){if(qA(e)){window.scrollTo(0,n);return}e.scrollTop=n}function zon(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 $on(e,n,t,a){return t*((e=e/a-1)*e*e+1)+n}function $A(e,n){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:NU,r=Ige(e),o=n-r,i=10,u=0;function l(){u+=i;var c=$on(u,r,o,t);zA(e,c),u<t?window.requestAnimationFrame(l):a(e)}l()}function Tge(e,n){var t=e.getBoundingClientRect(),a=n.getBoundingClientRect(),r=n.offsetHeight/3;a.bottom+r>t.bottom?zA(e,Math.min(n.offsetTop+n.clientHeight-e.offsetHeight+r,e.scrollHeight)):a.top-r<t.top&&zA(e,Math.max(n.offsetTop-r,0))}function Von(e){var n=e.getBoundingClientRect();return{bottom:n.bottom,height:n.height,left:n.left,right:n.right,top:n.top,width:n.width}}function PU(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Fge(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}function Mge(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 Gge(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?Mge(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mge(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function Age(e){var n=Qon();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Qon(){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 Yon(e){var n=e.maxHeight,t=e.menuEl,a=e.minHeight,r=e.placement,o=e.shouldScroll,i=e.isFixedPosition,u=e.theme,l=u.spacing,c=zon(t),s={placement:"bottom",maxHeight:n};if(!t||!t.offsetParent)return s;var f=c.getBoundingClientRect(),v=f.height,m=t.getBoundingClientRect(),_=m.bottom,R=m.height,D=m.top,y=t.offsetParent.getBoundingClientRect(),S=y.top,G=window.innerHeight,P=Ige(c),k=parseInt(getComputedStyle(t).marginBottom,10),M=parseInt(getComputedStyle(t).marginTop,10),O=S-M,oe=G-D,le=O+P,ve=v-P-D,X=_-G+P+k,be=P+D-M,pe=160;switch(r){case"auto":case"bottom":if(oe>=R)return{placement:"bottom",maxHeight:n};if(ve>=R&&!i)return o&&$A(c,X,pe),{placement:"bottom",maxHeight:n};if(!i&&ve>=a||i&&oe>=a){o&&$A(c,X,pe);var De=i?oe-k:ve-k;return{placement:"bottom",maxHeight:De}}if(r==="auto"||i){var Ne=n,ie=i?O:le;return ie>=a&&(Ne=Math.min(ie-k-l.controlHeight,n)),{placement:"top",maxHeight:Ne}}if(r==="bottom")return zA(c,X),{placement:"bottom",maxHeight:n};break;case"top":if(O>=R)return{placement:"top",maxHeight:n};if(le>=R&&!i)return o&&$A(c,be,pe),{placement:"top",maxHeight:n};if(!i&&le>=a||i&&O>=a){var jn=n;return(!i&&le>=a||i&&O>=a)&&(jn=i?O-M:le-M),o&&$A(c,be,pe),{placement:"top",maxHeight:jn}}return{placement:"bottom",maxHeight:n};default:throw new Error('Invalid placement provided "'.concat(r,'".'))}return s}function Xon(e){var n={bottom:"top",top:"bottom"};return e?n[e]:"bottom"}var kU=function(n){return n==="auto"?"bottom":n},xge=function(n){var t,a=n.placement,r=n.theme,o=r.borderRadius,i=r.spacing,u=r.colors;return t={label:"menu"},Fa(t,Xon(a),"100%"),Fa(t,"backgroundColor",u.neutral0),Fa(t,"borderRadius",o),Fa(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),Fa(t,"marginBottom",i.menuGutter),Fa(t,"marginTop",i.menuGutter),Fa(t,"position","absolute"),Fa(t,"width","100%"),Fa(t,"zIndex",1),t},Lge=(0,TI.createContext)({getPortalPlacement:null}),OU=function(e){So(t,e);var n=Age(t);function t(){var a;Ro(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=n.call.apply(n,[this].concat(o)),a.state={maxHeight:a.props.maxMenuHeight,placement:null},a.getPlacement=function(u){var l=a.props,c=l.minMenuHeight,s=l.maxMenuHeight,f=l.menuPlacement,v=l.menuPosition,m=l.menuShouldScrollIntoView,_=l.theme;if(!!u){var R=v==="fixed",D=m&&!R,y=Yon({maxHeight:s,menuEl:u,minHeight:c,placement:f,shouldScroll:D,isFixedPosition:R,theme:_}),S=a.context.getPortalPlacement;S&&S(y),a.setState(y)}},a.getUpdatedProps=function(){var u=a.props.menuPlacement,l=a.state.placement||kU(u);return Gge(Gge({},a.props),{},{placement:l,maxHeight:a.state.maxHeight})},a}return wo(t,[{key:"render",value:function(){var r=this.props.children;return r({ref:this.getPlacement,placerProps:this.getUpdatedProps()})}}]),t}(TI.Component);OU.contextType=Lge;var Zon=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerRef,u=n.innerProps;return Bt("div",lt({css:o("menu",n),className:r({menu:!0},a)},u,{ref:i}),t)},jge=function(n){var t=n.maxHeight,a=n.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:a,paddingTop:a,position:"relative",WebkitOverflowScrolling:"touch"}},Kon=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.isMulti,u=n.innerRef,l=n.innerProps;return Bt("div",lt({css:o("menuList",n),className:r({"menu-list":!0,"menu-list--is-multi":i},a),ref:u},l),t)},Nge=function(n){var t=n.theme,a=t.spacing.baseUnit,r=t.colors;return{color:r.neutral40,padding:"".concat(a*2,"px ").concat(a*3,"px"),textAlign:"center"}},Pge=Nge,kge=Nge,Oge=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps;return Bt("div",lt({css:o("noOptionsMessage",n),className:r({"menu-notice":!0,"menu-notice--no-options":!0},a)},i),t)};Oge.defaultProps={children:"No options"};var Uge=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps;return Bt("div",lt({css:o("loadingMessage",n),className:r({"menu-notice":!0,"menu-notice--loading":!0},a)},i),t)};Uge.defaultProps={children:"Loading..."};var Hge=function(n){var t=n.rect,a=n.offset,r=n.position;return{left:t.left,position:r,top:a,width:t.width,zIndex:1}},ein=function(e){So(t,e);var n=Age(t);function t(){var a;Ro(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=n.call.apply(n,[this].concat(o)),a.state={placement:null},a.getPortalPlacement=function(u){var l=u.placement,c=kU(a.props.menuPlacement);l!==c&&a.setState({placement:l})},a}return wo(t,[{key:"render",value:function(){var r=this.props,o=r.appendTo,i=r.children,u=r.controlElement,l=r.menuPlacement,c=r.menuPosition,s=r.getStyles,f=c==="fixed";if(!o&&!f||!u)return null;var v=this.state.placement||kU(l),m=Von(u),_=f?0:window.pageYOffset,R=m[v]+_,D={offset:R,position:c,rect:m},y=Bt("div",{css:s("menuPortal",D)},i);return Bt(Lge.Provider,{value:{getPortalPlacement:this.getPortalPlacement}},o?(0,wge.createPortal)(y,o):y)}}]),t}(TI.Component),Bge=Array.isArray,Jge=Object.keys,nin=Object.prototype.hasOwnProperty;function UU(e,n){if(e===n)return!0;if(e&&n&&bo(e)=="object"&&bo(n)=="object"){var t=Bge(e),a=Bge(n),r,o,i;if(t&&a){if(o=e.length,o!=n.length)return!1;for(r=o;r--!=0;)if(!UU(e[r],n[r]))return!1;return!0}if(t!=a)return!1;var u=e instanceof Date,l=n instanceof Date;if(u!=l)return!1;if(u&&l)return e.getTime()==n.getTime();var c=e instanceof RegExp,s=n instanceof RegExp;if(c!=s)return!1;if(c&&s)return e.toString()==n.toString();var f=Jge(e);if(o=f.length,o!==Jge(n).length)return!1;for(r=o;r--!=0;)if(!nin.call(n,f[r]))return!1;for(r=o;r--!=0;)if(i=f[r],!(i==="_owner"&&e.$$typeof)&&!UU(e[i],n[i]))return!1;return!0}return e!==e&&n!==n}function Wge(e,n){try{return UU(e,n)}catch(t){if(t.message&&t.message.match(/stack|recursion/i))return console.warn("Warning: react-fast-compare does not handle circular references.",t.name,t.message),!1;throw t}}var qge=function(n){var t=n.isDisabled,a=n.isRtl;return{label:"container",direction:a?"rtl":null,pointerEvents:t?"none":null,position:"relative"}},tin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps,u=n.isDisabled,l=n.isRtl;return Bt("div",lt({css:o("container",n),className:r({"--is-disabled":u,"--is-rtl":l},a)},i),t)},zge=function(n){var t=n.theme.spacing;return{alignItems:"center",display:"flex",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(t.baseUnit*2,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},ain=function(n){var t=n.children,a=n.className,r=n.cx,o=n.isMulti,i=n.getStyles,u=n.hasValue;return Bt("div",{css:i("valueContainer",n),className:r({"value-container":!0,"value-container--is-multi":o,"value-container--has-value":u},a)},t)},$ge=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},rin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles;return Bt("div",{css:o("indicatorsContainer",n),className:r({indicators:!0},a)},t)};function Vge(){var e=AU([`
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
`]);return Vge=function(){return e},e}var oin={name:"19bqh2r",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;"},Qge=function(n){var t=n.size,a=pi(n,["size"]);return Bt("svg",lt({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:oin},a))},HU=function(n){return Bt(Qge,lt({size:20},n),Bt("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Yge=function(n){return Bt(Qge,lt({size:20},n),Bt("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Xge=function(n){var t=n.isFocused,a=n.theme,r=a.spacing.baseUnit,o=a.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:r*2,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},Zge=Xge,iin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps;return Bt("div",lt({},i,{css:o("dropdownIndicator",n),className:r({indicator:!0,"dropdown-indicator":!0},a)}),t||Bt(Yge,null))},Kge=Xge,uin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps;return Bt("div",lt({},i,{css:o("clearIndicator",n),className:r({indicator:!0,"clear-indicator":!0},a)}),t||Bt(HU,null))},eDe=function(n){var t=n.isDisabled,a=n.theme,r=a.spacing.baseUnit,o=a.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:r*2,marginTop:r*2,width:1}},lin=function(n){var t=n.className,a=n.cx,r=n.getStyles,o=n.innerProps;return Bt("span",lt({},o,{css:r("indicatorSeparator",n),className:a({"indicator-separator":!0},t)}))},cin=g_e(Vge()),nDe=function(n){var t=n.isFocused,a=n.size,r=n.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:i*2,transition:"color 150ms",alignSelf:"center",fontSize:a,lineHeight:1,marginRight:a,textAlign:"center",verticalAlign:"middle"}},BU=function(n){var t=n.delay,a=n.offset;return Bt("span",{css:xg({animation:"".concat(cin," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":null,height:"1em",verticalAlign:"top",width:"1em"},"")})},tDe=function(n){var t=n.className,a=n.cx,r=n.getStyles,o=n.innerProps,i=n.isRtl;return Bt("div",lt({},o,{css:r("loadingIndicator",n),className:a({indicator:!0,"loading-indicator":!0},t)}),Bt(BU,{delay:0,offset:i}),Bt(BU,{delay:160,offset:!0}),Bt(BU,{delay:320,offset:!i}))};tDe.defaultProps={size:4};var aDe=function(n){var t=n.isDisabled,a=n.isFocused,r=n.theme,o=r.colors,i=r.borderRadius,u=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:a?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:a?"0 0 0 1px ".concat(o.primary):null,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:u.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:a?o.primary:o.neutral30}}},sin=function(n){var t=n.children,a=n.cx,r=n.getStyles,o=n.className,i=n.isDisabled,u=n.isFocused,l=n.innerRef,c=n.innerProps,s=n.menuIsOpen;return Bt("div",lt({ref:l,css:r("control",n),className:a({control:!0,"control--is-disabled":i,"control--is-focused":u,"control--menu-is-open":s},o)},c),t)};function rDe(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 fin(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?rDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):rDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var oDe=function(n){var t=n.theme.spacing;return{paddingBottom:t.baseUnit*2,paddingTop:t.baseUnit*2}},vin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.Heading,u=n.headingProps,l=n.label,c=n.theme,s=n.selectProps;return Bt("div",{css:o("group",n),className:r({group:!0},a)},Bt(i,lt({},u,{selectProps:s,theme:c,getStyles:o,cx:r}),l),Bt("div",null,t))},iDe=function(n){var t=n.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:"500",marginBottom:"0.25em",paddingLeft:t.baseUnit*3,paddingRight:t.baseUnit*3,textTransform:"uppercase"}},min=function(n){var t=n.className,a=n.cx,r=n.getStyles,o=n.theme,i=n.selectProps,u=pi(n,["className","cx","getStyles","theme","selectProps"]);return Bt("div",lt({css:r("groupHeading",fin({theme:o},u)),className:a({"group-heading":!0},t)},u))};function uDe(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 pin(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?uDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):uDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var lDe=function(n){var t=n.isDisabled,a=n.theme,r=a.spacing,o=a.colors;return{margin:r.baseUnit/2,paddingBottom:r.baseUnit/2,paddingTop:r.baseUnit/2,visibility:t?"hidden":"visible",color:o.neutral80}},_in=function(n){return{label:"input",background:0,border:0,fontSize:"inherit",opacity:n?0:1,outline:0,padding:0,color:"inherit"}},din=function(n){var t=n.className,a=n.cx,r=n.getStyles,o=n.innerRef,i=n.isHidden,u=n.isDisabled,l=n.theme,c=n.selectProps,s=pi(n,["className","cx","getStyles","innerRef","isHidden","isDisabled","theme","selectProps"]);return Bt("div",{css:r("input",pin({theme:l},s))},Bt(Sge.default,lt({className:a({input:!0},t),inputRef:o,inputStyle:_in(i),disabled:u},s)))};function cDe(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 JU(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?cDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):cDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var sDe=function(n){var t=n.theme,a=t.spacing,r=t.borderRadius,o=t.colors;return{label:"multiValue",backgroundColor:o.neutral10,borderRadius:r/2,display:"flex",margin:a.baseUnit/2,minWidth:0}},fDe=function(n){var t=n.theme,a=t.borderRadius,r=t.colors,o=n.cropWithEllipsis;return{borderRadius:a/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o?"ellipsis":null,whiteSpace:"nowrap"}},vDe=function(n){var t=n.theme,a=t.spacing,r=t.borderRadius,o=t.colors,i=n.isFocused;return{alignItems:"center",borderRadius:r/2,backgroundColor:i&&o.dangerLight,display:"flex",paddingLeft:a.baseUnit,paddingRight:a.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},mDe=function(n){var t=n.children,a=n.innerProps;return Bt("div",a,t)},hin=mDe,gin=mDe;function Din(e){var n=e.children,t=e.innerProps;return Bt("div",t,n||Bt(HU,{size:14}))}var pDe=function(n){var t=n.children,a=n.className,r=n.components,o=n.cx,i=n.data,u=n.getStyles,l=n.innerProps,c=n.isDisabled,s=n.removeProps,f=n.selectProps,v=r.Container,m=r.Label,_=r.Remove;return Bt(D_e,null,function(R){var D=R.css,y=R.cx;return Bt(v,{data:i,innerProps:JU(JU({},l),{},{className:y(D(u("multiValue",n)),o({"multi-value":!0,"multi-value--is-disabled":c},a))}),selectProps:f},Bt(m,{data:i,innerProps:{className:y(D(u("multiValueLabel",n)),o({"multi-value__label":!0},a))},selectProps:f},t),Bt(_,{data:i,innerProps:JU({className:y(D(u("multiValueRemove",n)),o({"multi-value__remove":!0},a))},s),selectProps:f}))})};pDe.defaultProps={cropWithEllipsis:!0};var _De=function(n){var t=n.isDisabled,a=n.isFocused,r=n.isSelected,o=n.theme,i=o.spacing,u=o.colors;return{label:"option",backgroundColor:r?u.primary:a?u.primary25:"transparent",color:t?u.neutral20:r?u.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(i.baseUnit*2,"px ").concat(i.baseUnit*3,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:!t&&(r?u.primary:u.primary50)}}},yin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.isDisabled,u=n.isFocused,l=n.isSelected,c=n.innerRef,s=n.innerProps;return Bt("div",lt({css:o("option",n),className:r({option:!0,"option--is-disabled":i,"option--is-focused":u,"option--is-selected":l},a),ref:c},s),t)},dDe=function(n){var t=n.theme,a=t.spacing,r=t.colors;return{label:"placeholder",color:r.neutral50,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2,position:"absolute",top:"50%",transform:"translateY(-50%)"}},bin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.innerProps;return Bt("div",lt({css:o("placeholder",n),className:r({placeholder:!0},a)},i),t)},hDe=function(n){var t=n.isDisabled,a=n.theme,r=a.spacing,o=a.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"calc(100% - ".concat(r.baseUnit*2,"px)"),overflow:"hidden",position:"absolute",textOverflow:"ellipsis",whiteSpace:"nowrap",top:"50%",transform:"translateY(-50%)"}},Rin=function(n){var t=n.children,a=n.className,r=n.cx,o=n.getStyles,i=n.isDisabled,u=n.innerProps;return Bt("div",lt({css:o("singleValue",n),className:r({"single-value":!0,"single-value--is-disabled":i},a)},u),t)};function gDe(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 DDe(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?gDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):gDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var win={ClearIndicator:uin,Control:sin,DropdownIndicator:iin,DownChevron:Yge,CrossIcon:HU,Group:vin,GroupHeading:min,IndicatorsContainer:rin,IndicatorSeparator:lin,Input:din,LoadingIndicator:tDe,Menu:Zon,MenuList:Kon,MenuPortal:ein,LoadingMessage:Uge,NoOptionsMessage:Oge,MultiValue:pDe,MultiValueContainer:hin,MultiValueLabel:gin,MultiValueRemove:Din,Option:yin,Placeholder:bin,SelectContainer:tin,SingleValue:Rin,ValueContainer:ain},yDe=function(n){return DDe(DDe({},win),n.components)};var pa=ba(Mf());var bDe=ba(Bb());var WU=[{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"}],Sin=new RegExp("["+WU.map(function(e){return e.letters}).join("")+"]","g"),RDe={};for(VA=0;VA<WU.length;VA++)for(QA=WU[VA],YA=0;YA<QA.letters.length;YA++)RDe[QA.letters[YA]]=QA.base;var QA,YA,VA,wDe=function(n){return n.replace(Sin,function(t){return RDe[t]})};function SDe(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 Ein(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?SDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):SDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var EDe=function(n){return n.replace(/^\s+|\s+$/g,"")},Cin=function(n){return"".concat(n.label," ").concat(n.value)},Iin=function(n){return function(t,a){var r=Ein({ignoreCase:!0,ignoreAccents:!0,stringify:Cin,trim:!0,matchFrom:"any"},n),o=r.ignoreCase,i=r.ignoreAccents,u=r.stringify,l=r.trim,c=r.matchFrom,s=l?EDe(a):a,f=l?EDe(u(t)):u(t);return o&&(s=s.toLowerCase(),f=f.toLowerCase()),i&&(s=wDe(s),f=wDe(f)),c==="start"?f.substr(0,s.length)===s:f.indexOf(s)>-1}};var Tin={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;"},Fin=function(n){return Bt("span",lt({css:Tin},n))};function Min(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=pi(e,["in","out","onExited","appear","enter","exit","innerRef","emotion"]);return Bt("input",lt({ref:u},c,{css:xg({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 Gin(e){var n=Ain();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Ain(){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 CDe=function(e){So(t,e);var n=Gin(t);function t(){return Ro(this,t),n.apply(this,arguments)}return wo(t,[{key:"componentDidMount",value:function(){this.props.innerRef((0,bDe.findDOMNode)(this))}},{key:"componentWillUnmount",value:function(){this.props.innerRef(null)}},{key:"render",value:function(){return this.props.children}}]),t}(pa.Component),IDe=["boxSizing","height","overflow","paddingRight","position"],TDe={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function FDe(e){e.preventDefault()}function MDe(e){e.stopPropagation()}function GDe(){var e=this.scrollTop,n=this.scrollHeight,t=e+this.offsetHeight;e===0?this.scrollTop=1:t===n&&(this.scrollTop=e-1)}function ADe(){return"ontouchstart"in window||navigator.maxTouchPoints}function xin(e){var n=Lin();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Lin(){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 xDe=!!(window.document&&window.document.createElement),FI=0,LDe=function(e){So(t,e);var n=xin(t);function t(){var a;Ro(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=n.call.apply(n,[this].concat(o)),a.originalStyles={},a.listenerOptions={capture:!1,passive:!1},a}return wo(t,[{key:"componentDidMount",value:function(){var r=this;if(!!xDe){var o=this.props,i=o.accountForScrollbars,u=o.touchScrollTarget,l=document.body,c=l&&l.style;if(i&&IDe.forEach(function(m){var _=c&&c[m];r.originalStyles[m]=_}),i&&FI<1){var s=parseInt(this.originalStyles.paddingRight,10)||0,f=document.body?document.body.clientWidth:0,v=window.innerWidth-f+s||0;Object.keys(TDe).forEach(function(m){var _=TDe[m];c&&(c[m]=_)}),c&&(c.paddingRight="".concat(v,"px"))}l&&ADe()&&(l.addEventListener("touchmove",FDe,this.listenerOptions),u&&(u.addEventListener("touchstart",GDe,this.listenerOptions),u.addEventListener("touchmove",MDe,this.listenerOptions))),FI+=1}}},{key:"componentWillUnmount",value:function(){var r=this;if(!!xDe){var o=this.props,i=o.accountForScrollbars,u=o.touchScrollTarget,l=document.body,c=l&&l.style;FI=Math.max(FI-1,0),i&&FI<1&&IDe.forEach(function(s){var f=r.originalStyles[s];c&&(c[s]=f)}),l&&ADe()&&(l.removeEventListener("touchmove",FDe,this.listenerOptions),u&&(u.removeEventListener("touchstart",GDe,this.listenerOptions),u.removeEventListener("touchmove",MDe,this.listenerOptions)))}}},{key:"render",value:function(){return null}}]),t}(pa.Component);LDe.defaultProps={accountForScrollbars:!0};function jin(e){var n=Nin();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Nin(){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 Pin={name:"1dsbpcp",styles:"position:fixed;left:0;bottom:0;right:0;top:0;"},kin=function(e){So(t,e);var n=jin(t);function t(){var a;Ro(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=n.call.apply(n,[this].concat(o)),a.state={touchScrollTarget:null},a.getScrollTarget=function(u){u!==a.state.touchScrollTarget&&a.setState({touchScrollTarget:u})},a.blurSelectInput=function(){document.activeElement&&document.activeElement.blur()},a}return wo(t,[{key:"render",value:function(){var r=this.props,o=r.children,i=r.isEnabled,u=this.state.touchScrollTarget;return i?Bt("div",null,Bt("div",{onClick:this.blurSelectInput,css:Pin}),Bt(CDe,{innerRef:this.getScrollTarget},o),u?Bt(LDe,{touchScrollTarget:u}):null):o}}]),t}(pa.PureComponent);function Oin(e){var n=Uin();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function Uin(){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 Hin=function(e){So(t,e);var n=Oin(t);function t(){var a;Ro(this,t);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return a=n.call.apply(n,[this].concat(o)),a.isBottom=!1,a.isTop=!1,a.scrollTarget=void 0,a.touchStart=void 0,a.cancelScroll=function(u){u.preventDefault(),u.stopPropagation()},a.handleEventDelta=function(u,l){var c=a.props,s=c.onBottomArrive,f=c.onBottomLeave,v=c.onTopArrive,m=c.onTopLeave,_=a.scrollTarget,R=_.scrollTop,D=_.scrollHeight,y=_.clientHeight,S=a.scrollTarget,G=l>0,P=D-y-R,k=!1;P>l&&a.isBottom&&(f&&f(u),a.isBottom=!1),G&&a.isTop&&(m&&m(u),a.isTop=!1),G&&l>P?(s&&!a.isBottom&&s(u),S.scrollTop=D,k=!0,a.isBottom=!0):!G&&-l>R&&(v&&!a.isTop&&v(u),S.scrollTop=0,k=!0,a.isTop=!0),k&&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 wo(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 pa.default.createElement(CDe,{innerRef:this.getScrollTarget},this.props.children)}}]),t}(pa.Component);function Bin(e){var n=e.isEnabled,t=n===void 0?!0:n,a=pi(e,["isEnabled"]);return t?pa.default.createElement(Hin,a):a.children}var Jin=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"}},Win=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.")}},qin=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,".")},zin=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,".")},$in=function(n){var t=n.inputValue,a=n.screenReaderMessage;return"".concat(a).concat(t?" for search term "+t:"",".")},Vin=function(n){return n.label},Qin=function(n){return n.label},Yin=function(n){return n.value},jDe=function(n){return!!n.isDisabled};var Xin={clearIndicator:Kge,container:qge,control:aDe,dropdownIndicator:Zge,group:oDe,groupHeading:iDe,indicatorsContainer:$ge,indicatorSeparator:eDe,input:lDe,loadingIndicator:nDe,loadingMessage:kge,menu:xge,menuList:jge,menuPortal:Hge,multiValue:sDe,multiValueLabel:fDe,multiValueRemove:vDe,noOptionsMessage:Pge,option:_De,placeholder:dDe,singleValue:hDe,valueContainer:zge};var Zin={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%)"},Kin=4,NDe=4,eun=38,nun=NDe*2,tun={baseUnit:NDe,controlHeight:eun,menuGutter:nun},qU={borderRadius:Kin,colors:Zin,spacing:tun};function PDe(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 Wb(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?PDe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):PDe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function aun(e){var n=run();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function run(){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 oun={backspaceRemovesValue:!0,blurInputOnSelect:PU(),captureMenuScroll:!PU(),closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Iin(),formatGroupLabel:Vin,getOptionLabel:Qin,getOptionValue:Yin,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:jDe,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Fge(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(n){var t=n.count;return"".concat(t," result").concat(t!==1?"s":""," available")},styles:{},tabIndex:"0",tabSelectsValue:!0},iun=1,Qg=function(e){So(t,e);var n=aun(t);function t(a){var r;Ro(this,t),r=n.call(this,a),r.state={ariaLiveSelection:"",ariaLiveContext:"",focusedOption:null,focusedValue:null,inputIsHidden:!1,isFocused:!1,menuOptions:{render:[],focusable:[]},selectValue:[]},r.blockOptionHover=!1,r.isComposing=!1,r.clearFocusValueOnUpdate=!1,r.commonProps=void 0,r.components=void 0,r.hasGroups=!1,r.initialTouchX=0,r.initialTouchY=0,r.inputIsHiddenAfterUpdate=void 0,r.instancePrefix="",r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(l){r.controlRef=l},r.focusedOptionRef=null,r.getFocusedOptionRef=function(l){r.focusedOptionRef=l},r.menuListRef=null,r.getMenuListRef=function(l){r.menuListRef=l},r.inputRef=null,r.getInputRef=function(l){r.inputRef=l},r.cacheComponents=function(l){r.components=yDe({components:l})},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(l,c){var s=r.props,f=s.onChange,v=s.name;f(l,Wb(Wb({},c),{},{name:v}))},r.setValue=function(l){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"set-value",s=arguments.length>2?arguments[2]:void 0,f=r.props,v=f.closeMenuOnSelect,m=f.isMulti;r.onInputChange("",{action:"set-value"}),v&&(r.inputIsHiddenAfterUpdate=!m,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 m=r.getOptionValue(l);r.setValue(v.filter(function(_){return r.getOptionValue(_)!==m}),"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(Ag(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;s<l;s++)c[s]=arguments[s];return Ege.apply(void 0,[r.props.classNamePrefix].concat(c))},r.getOptionLabel=function(l){return r.props.getOptionLabel(l)},r.getOptionValue=function(l){return r.props.getOptionValue(l)},r.getStyles=function(l,c){var s=Xin[l](c);s.boxSizing="border-box";var f=r.props.styles[l];return f?f(s,c):s},r.getElementId=function(l){return"".concat(r.instancePrefix,"-").concat(l)},r.getActiveDescendentId=function(){var l=r.props.menuIsOpen,c=r.state,s=c.menuOptions,f=c.focusedOption;if(!(!f||!l)){var v=s.focusable.indexOf(f),m=s.render[v];return m&&m.key}},r.announceAriaLiveSelection=function(l){var c=l.event,s=l.context;r.setState({ariaLiveSelection:Win(c,s)})},r.announceAriaLiveContext=function(l){var c=l.event,s=l.context;r.setState({ariaLiveContext:Jin(c,Wb(Wb({},s),{},{label:r.props["aria-label"]}))})},r.onMenuMouseDown=function(l){l.button===0&&(l.stopPropagation(),l.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(l){r.blockOptionHover=!1},r.onControlMouseDown=function(l){var c=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&r.onMenuClose():c&&r.openMenu("first"):(c&&(r.openAfterFocus=!0),r.focusInput()),l.target.tagName!=="INPUT"&&l.target.tagName!=="TEXTAREA"&&l.preventDefault()},r.onDropdownIndicatorMouseDown=function(l){if(!(l&&l.type==="mousedown"&&l.button!==0)&&!r.props.isDisabled){var c=r.props,s=c.isMulti,f=c.menuIsOpen;r.focusInput(),f?(r.inputIsHiddenAfterUpdate=!s,r.onMenuClose()):r.openMenu("first"),l.preventDefault(),l.stopPropagation()}},r.onClearIndicatorMouseDown=function(l){l&&l.type==="mousedown"&&l.button!==0||(r.clearValue(),l.stopPropagation(),r.openAfterFocus=!1,l.type==="touchend"?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(l){typeof r.props.closeMenuOnScroll=="boolean"?l.target instanceof HTMLElement&&qA(l.target)&&r.props.onMenuClose():typeof r.props.closeMenuOnScroll=="function"&&r.props.closeMenuOnScroll(l)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(l){var c=l.touches,s=c&&c.item(0);!s||(r.initialTouchX=s.clientX,r.initialTouchY=s.clientY,r.userIsDragging=!1)},r.onTouchMove=function(l){var c=l.touches,s=c&&c.item(0);if(!!s){var f=Math.abs(s.clientX-r.initialTouchX),v=Math.abs(s.clientY-r.initialTouchY),m=5;r.userIsDragging=f>m||v>m}},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,m=c.inputValue,_=c.isClearable,R=c.isDisabled,D=c.menuIsOpen,y=c.onKeyDown,S=c.tabSelectsValue,G=c.openMenuOnFocus,P=r.state,k=P.focusedOption,M=P.focusedValue,O=P.selectValue;if(!R&&!(typeof y=="function"&&(y(l),l.defaultPrevented))){switch(r.blockOptionHover=!0,l.key){case"ArrowLeft":if(!s||m)return;r.focusValue("previous");break;case"ArrowRight":if(!s||m)return;r.focusValue("next");break;case"Delete":case"Backspace":if(m)return;if(M)r.removeValue(M);else{if(!f)return;s?r.popValue():_&&r.clearValue()}break;case"Tab":if(r.isComposing||l.shiftKey||!D||!S||!k||G&&r.isOptionSelected(k,O))return;r.selectOption(k);break;case"Enter":if(l.keyCode===229)break;if(D){if(!k||r.isComposing)return;r.selectOption(k);break}return;case"Escape":D?(r.inputIsHiddenAfterUpdate=!1,r.onInputChange("",{action:"menu-close"}),r.onMenuClose()):_&&v&&r.clearValue();break;case" ":if(m)return;if(!D){r.openMenu("first");break}if(!k)return;r.selectOption(k);break;case"ArrowUp":D?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":D?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!D)return;r.focusOption("pageup");break;case"PageDown":if(!D)return;r.focusOption("pagedown");break;case"Home":if(!D)return;r.focusOption("first");break;case"End":if(!D)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,m=function(R,D){var y=r.isOptionDisabled(R,c),S=r.isOptionSelected(R,c),G=r.getOptionLabel(R),P=r.getOptionValue(R);if(!(r.shouldHideSelectedOptions()&&S||!r.filterOption({label:G,value:P,data:R},f))){var k=y?void 0:function(){return r.onOptionHover(R)},M=y?void 0:function(){return r.selectOption(R)},O="".concat(r.getElementId("option"),"-").concat(D);return{innerProps:{id:O,onClick:M,onMouseMove:k,onMouseOver:k,tabIndex:-1},data:R,isDisabled:y,isSelected:S,key:O,label:G,type:"option",value:P}}};return v.reduce(function(_,R,D){if(R.options){r.hasGroups||(r.hasGroups=!0);var y=R.options,S=y.map(function(k,M){var O=m(k,"".concat(D,"-").concat(M));return O&&_.focusable.push(k),O}).filter(Boolean);if(S.length){var G="".concat(r.getElementId("group"),"-").concat(D);_.render.push({type:"group",key:G,data:R,options:S})}}else{var P=m(R,"".concat(D));P&&(_.render.push(P),_.focusable.push(R))}return _},{render:[],focusable:[]})};var o=a.value;r.cacheComponents=dk(r.cacheComponents,Wge).bind(W_(r)),r.cacheComponents(a.components),r.instancePrefix="react-select-"+(r.props.instanceId||++iun);var i=Jb(o);r.buildMenuOptions=dk(r.buildMenuOptions,function(l,c){var s=l,f=Ja(s,2),v=f[0],m=f[1],_=c,R=Ja(_,2),D=R[0],y=R[1];return m===y&&v.inputValue===D.inputValue&&v.options===D.options}).bind(W_(r));var u=a.menuIsOpen?r.buildMenuOptions(a,i):{render:[],focusable:[]};return r.state.menuOptions=u,r.state.selectValue=i,r}return wo(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=Jb(r.value),f=r.menuIsOpen?this.buildMenuOptions(r,s):{render:[],focusable:[]},v=this.getNextFocusedValue(s),m=this.getNextFocusedOption(f.focusable);this.setState({menuOptions:f,selectValue:s,focusedOption:m,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&&(Tge(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,m=r==="first"?0:c.focusable.length-1;if(!f){var _=c.focusable.indexOf(u[0]);_>-1&&(m=_)}this.scrollToFocusedOptionOnUpdate=!(l&&this.menuListRef),this.inputIsHiddenAfterUpdate=!1,this.setState({menuOptions:c,focusedValue:null,focusedOption:c.focusable[m]},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,m=-1;if(!!c.length){switch(r){case"previous":f===0?m=0:f===-1?m=v:m=f-1;break;case"next":f>-1&&f<v&&(m=f+1);break}m===-1&&this.announceAriaLiveContext({event:"input",context:{isSearchable:u,isMulti:i}}),this.setState({inputIsHidden:m!==-1,focusedValue:c[m]})}}}},{key:"focusOption",value:function(){var r=arguments.length>0&&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,m=f.indexOf(c);c||(m=-1,this.announceAriaLiveContext({event:"menu",context:{tabSelectsValue:u}})),r==="up"?v=m>0?m-1:f.length-1:r==="down"?v=(m+1)%f.length:r==="pageup"?(v=m-i,v<0&&(v=0)):r==="pagedown"?(v=m+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:jDe(f[v]),tabSelectsValue:u}})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(qU):Wb(Wb({},qU),this.props.theme):qU}},{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,m=s.options,_=this.hasValue();return{cx:o,clearValue:r,getStyles:i,getValue:u,hasValue:_,isMulti:f,isRtl:v,options:m,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<r.length)return r[l]}return null}},{key:"getNextFocusedOption",value:function(r){var o=this.state.focusedOption;return o&&r.indexOf(o)>-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,m=c.screenReaderStatus,_=u?qin({focusedValue:u,getOptionLabel:this.getOptionLabel,selectValue:i}):"",R=l&&f?zin({focusedOption:l,getOptionLabel:this.getOptionLabel,options:s}):"",D=$in({inputValue:v,screenReaderMessage:m({count:this.countOptions()})});return"".concat(_," ").concat(R," ").concat(D," ").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,m=u||this.getElementId("input"),_={"aria-autocomplete":"list","aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"]};if(!i)return pa.default.createElement(Min,lt({id:m,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:NU,onFocus:this.onInputFocus,readOnly:!0,disabled:o,tabIndex:c,form:s,value:""},_));var R=this.commonProps,D=R.cx,y=R.theme,S=R.selectProps;return pa.default.createElement(f,lt({autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",cx:D,getStyles:this.getStyles,id:m,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:y,type:"text",value:l},_))}},{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,m=this.props,_=m.controlShouldRenderValue,R=m.isDisabled,D=m.isMulti,y=m.inputValue,S=m.placeholder,G=this.state,P=G.selectValue,k=G.focusedValue,M=G.isFocused;if(!this.hasValue()||!_)return y?null:pa.default.createElement(f,lt({},v,{key:"placeholder",isDisabled:R,isFocused:M}),S);if(D){var O=P.map(function(le,ve){var X=le===k;return pa.default.createElement(i,lt({},v,{components:{Container:u,Label:l,Remove:c},isFocused:X,isDisabled:R,key:"".concat(r.getOptionValue(le)).concat(ve),index:ve,removeProps:{onClick:function(){return r.removeValue(le)},onTouchEnd:function(){return r.removeValue(le)},onMouseDown:function(pe){pe.preventDefault(),pe.stopPropagation()}},data:le}),r.formatOptionLabel(le,"value"))});return O}if(y)return null;var oe=P[0];return pa.default.createElement(s,lt({},v,{data:oe,isDisabled:R}),this.formatOptionLabel(oe,"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 pa.default.createElement(r,lt({},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 pa.default.createElement(r,lt({},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 pa.default.createElement(i,lt({},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 pa.default.createElement(r,lt({},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,m=o.Option,_=this.commonProps,R=this.state,D=R.focusedOption,y=R.menuOptions,S=this.props,G=S.captureMenuScroll,P=S.inputValue,k=S.isLoading,M=S.loadingMessage,O=S.minMenuHeight,oe=S.maxMenuHeight,le=S.menuIsOpen,ve=S.menuPlacement,X=S.menuPosition,be=S.menuPortalTarget,pe=S.menuShouldBlockScroll,De=S.menuShouldScrollIntoView,Ne=S.noOptionsMessage,ie=S.onMenuScrollToTop,jn=S.onMenuScrollToBottom;if(!le)return null;var Ve=function(ye){var U=D===ye.data;return ye.innerRef=U?r.getFocusedOptionRef:void 0,pa.default.createElement(m,lt({},_,ye,{isFocused:U}),r.formatOptionLabel(ye.data,"menu"))},Pn;if(this.hasOptions())Pn=y.render.map(function(me){if(me.type==="group"){var ye=me.type,U=pi(me,["type"]),de="".concat(me.key,"-heading");return pa.default.createElement(i,lt({},_,U,{Heading:u,headingProps:{id:de,data:me.data},label:r.formatGroupLabel(me.data)}),me.options.map(function(V){return Ve(V)}))}else if(me.type==="option")return Ve(me)});else if(k){var kn=M({inputValue:P});if(kn===null)return null;Pn=pa.default.createElement(f,_,kn)}else{var q=Ne({inputValue:P});if(q===null)return null;Pn=pa.default.createElement(v,_,q)}var x={minMenuHeight:O,maxMenuHeight:oe,menuPlacement:ve,menuPosition:X,menuShouldScrollIntoView:De},ne=pa.default.createElement(OU,lt({},_,x),function(me){var ye=me.ref,U=me.placerProps,de=U.placement,V=U.maxHeight;return pa.default.createElement(l,lt({},_,x,{innerRef:ye,innerProps:{onMouseDown:r.onMenuMouseDown,onMouseMove:r.onMenuMouseMove},isLoading:k,placement:de}),pa.default.createElement(Bin,{isEnabled:G,onTopArrive:ie,onBottomArrive:jn},pa.default.createElement(kin,{isEnabled:pe},pa.default.createElement(c,lt({},_,{innerRef:r.getMenuListRef,isLoading:k,maxHeight:V}),Pn))))});return be||X==="fixed"?pa.default.createElement(s,lt({},_,{appendTo:be,controlElement:this.controlRef,menuPlacement:ve,menuPosition:X}),ne):ne}},{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(_){return r.getOptionValue(_)}).join(i);return pa.default.createElement("input",{name:c,type:"hidden",value:f})}else{var v=s.length>0?s.map(function(_,R){return pa.default.createElement("input",{key:"i-".concat(R),name:c,type:"hidden",value:r.getOptionValue(_)})}):pa.default.createElement("input",{name:c,type:"hidden"});return pa.default.createElement("div",null,v)}else{var m=s[0]?this.getOptionValue(s[0]):"";return pa.default.createElement("input",{name:c,type:"hidden",value:m})}}},{key:"renderLiveRegion",value:function(){return this.state.isFocused?pa.default.createElement(Fin,{"aria-live":"polite"},pa.default.createElement("span",{id:"aria-selection-event"},"\xA0",this.state.ariaLiveSelection),pa.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,m=c.menuIsOpen,_=this.state.isFocused,R=this.commonProps=this.getCommonProps();return pa.default.createElement(u,lt({},R,{className:s,innerProps:{id:f,onKeyDown:this.onKeyDown},isDisabled:v,isFocused:_}),this.renderLiveRegion(),pa.default.createElement(o,lt({},R,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:v,isFocused:_,menuIsOpen:m}),pa.default.createElement(l,lt({},R,{isDisabled:v}),this.renderPlaceholderOrValue(),this.renderInput()),pa.default.createElement(i,lt({},R,{isDisabled:v}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}]),t}(pa.Component);Qg.defaultProps=oun;var h6a=ba(II());var XA=ba(Mf());function uun(e){var n=lun();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function lun(){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 cun={defaultInputValue:"",defaultMenuIsOpen:!1,defaultValue:null},qb=function(n){var t,a;return a=t=function(r){So(i,r);var o=uun(i);function i(){var u;Ro(this,i);for(var l=arguments.length,c=new Array(l),s=0;s<l;s++)c[s]=arguments[s];return u=o.call.apply(o,[this].concat(c)),u.select=void 0,u.state={inputValue:u.props.inputValue!==void 0?u.props.inputValue:u.props.defaultInputValue,menuIsOpen:u.props.menuIsOpen!==void 0?u.props.menuIsOpen:u.props.defaultMenuIsOpen,value:u.props.value!==void 0?u.props.value:u.props.defaultValue},u.onChange=function(f,v){u.callProp("onChange",f,v),u.setState({value:f})},u.onInputChange=function(f,v){var m=u.callProp("onInputChange",f,v);u.setState({inputValue:m!==void 0?m:f})},u.onMenuOpen=function(){u.callProp("onMenuOpen"),u.setState({menuIsOpen:!0})},u.onMenuClose=function(){u.callProp("onMenuClose"),u.setState({menuIsOpen:!1})},u}return wo(i,[{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"getProp",value:function(l){return this.props[l]!==void 0?this.props[l]:this.state[l]}},{key:"callProp",value:function(l){if(typeof this.props[l]=="function"){for(var c,s=arguments.length,f=new Array(s>1?s-1:0),v=1;v<s;v++)f[v-1]=arguments[v];return(c=this.props)[l].apply(c,f)}}},{key:"render",value:function(){var l=this,c=this.props,s=c.defaultInputValue,f=c.defaultMenuIsOpen,v=c.defaultValue,m=pi(c,["defaultInputValue","defaultMenuIsOpen","defaultValue"]);return XA.default.createElement(n,lt({},m,{ref:function(R){l.select=R},inputValue:this.getProp("inputValue"),menuIsOpen:this.getProp("menuIsOpen"),onChange:this.onChange,onInputChange:this.onInputChange,onMenuClose:this.onMenuClose,onMenuOpen:this.onMenuOpen,value:this.getProp("value")}))}}]),i}(XA.Component),t.defaultProps=cun,a};var sun=qb(Qg),ZA=sun;var KA=ba(Mf());var x6a=ba(Bb());var O6a=ba(II());function fun(e){var n=vun();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function vun(){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 ODe(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 mun(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?arguments[n]:{};n%2?ODe(Object(t),!0).forEach(function(a){Fa(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ODe(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}var UDe=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a=String(n).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===a||o===a},pun={formatCreateLabel:function(n){return'Create "'.concat(n,'"')},isValidNewOption:function(n,t,a){return!(!n||t.some(function(r){return UDe(n,r)})||a.some(function(r){return UDe(n,r)}))},getNewOptionData:function(n,t){return{label:t,value:n,__isNew__:!0}}},_un=mun({allowCreateWhileLoading:!1,createOptionPosition:"last"},pun),dun=function(n){var t,a;return a=t=function(r){So(i,r);var o=fun(i);function i(u){var l;Ro(this,i),l=o.call(this,u),l.select=void 0,l.onChange=function(s,f){var v=l.props,m=v.getNewOptionData,_=v.inputValue,R=v.isMulti,D=v.onChange,y=v.onCreateOption,S=v.value,G=v.name;if(f.action!=="select-option")return D(s,f);var P=l.state.newOption,k=Array.isArray(s)?s:[s];if(k[k.length-1]===P){if(y)y(_);else{var M=m(_,_),O={action:"create-option",name:G};D(R?[].concat(Ag(Jb(S)),[M]):M,O)}return}D(s,f)};var c=u.options||[];return l.state={newOption:void 0,options:c},l}return wo(i,[{key:"UNSAFE_componentWillReceiveProps",value:function(l){var c=l.allowCreateWhileLoading,s=l.createOptionPosition,f=l.formatCreateLabel,v=l.getNewOptionData,m=l.inputValue,_=l.isLoading,R=l.isValidNewOption,D=l.value,y=l.options||[],S=this.state.newOption;R(m,Jb(D),y)?S=v(m,f(m)):S=void 0,this.setState({newOption:S,options:(c||!_)&&S?s==="first"?[S].concat(Ag(y)):[].concat(Ag(y),[S]):y})}},{key:"focus",value:function(){this.select.focus()}},{key:"blur",value:function(){this.select.blur()}},{key:"render",value:function(){var l=this,c=this.state.options;return KA.default.createElement(n,lt({},this.props,{ref:function(f){l.select=f},options:c,onChange:this.onChange}))}}]),i}(KA.Component),t.defaultProps=_un,a},hun=dun(Qg),gun=qb(hun),zU=gun;var ex=ba(Mf());var e8a=ba(Bb());var i8a=ba(II());function Dun(e){var n=yun();return function(){var a=ir(e),r;if(n){var o=ir(this).constructor;r=Reflect.construct(a,arguments,o)}else r=a.apply(this,arguments);return Ki(this,r)}}function yun(){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 bun={cacheOptions:!1,defaultOptions:!1,filterOption:null,isLoading:!1},Run=function(n){var t,a;return a=t=function(r){So(i,r);var o=Dun(i);function i(u){var l;return Ro(this,i),l=o.call(this),l.select=void 0,l.lastRequest=void 0,l.mounted=!1,l.optionsCache={},l.handleInputChange=function(c,s){var f=l.props,v=f.cacheOptions,m=f.onInputChange,_=Cge(c,s,m);if(!_){delete l.lastRequest,l.setState({inputValue:"",loadedInputValue:"",loadedOptions:[],isLoading:!1,passEmptyOptions:!1});return}if(v&&l.optionsCache[_])l.setState({inputValue:_,loadedInputValue:_,loadedOptions:l.optionsCache[_],isLoading:!1,passEmptyOptions:!1});else{var R=l.lastRequest={};l.setState({inputValue:_,isLoading:!0,passEmptyOptions:!l.state.loadedInputValue},function(){l.loadOptions(_,function(D){!l.mounted||(D&&(l.optionsCache[_]=D),R===l.lastRequest&&(delete l.lastRequest,l.setState({isLoading:!1,loadedInputValue:_,loadedOptions:D||[],passEmptyOptions:!1})))})})}return _},l.state={defaultOptions:Array.isArray(u.defaultOptions)?u.defaultOptions:void 0,inputValue:typeof u.inputValue!="undefined"?u.inputValue:"",isLoading:u.defaultOptions===!0,loadedOptions:[],passEmptyOptions:!1},l}return wo(i,[{key:"componentDidMount",value:function(){var l=this;this.mounted=!0;var c=this.props.defaultOptions,s=this.state.inputValue;c===!0&&this.loadOptions(s,function(f){if(!!l.mounted){var v=!!l.lastRequest;l.setState({defaultOptions:f||[],isLoading:v})}})}},{key:"UNSAFE_componentWillReceiveProps",value:function(l){l.cacheOptions!==this.props.cacheOptions&&(this.optionsCache={}),l.defaultOptions!==this.props.defaultOptions&&this.setState({defaultOptions:Array.isArray(l.defaultOptions)?l.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(l,c){var s=this.props.loadOptions;if(!s)return c();var f=s(l,c);f&&typeof f.then=="function"&&f.then(c,function(){return c()})}},{key:"render",value:function(){var l=this,c=this.props,s=c.loadOptions,f=c.isLoading,v=pi(c,["loadOptions","isLoading"]),m=this.state,_=m.defaultOptions,R=m.inputValue,D=m.isLoading,y=m.loadedInputValue,S=m.loadedOptions,G=m.passEmptyOptions,P=G?[]:R&&y?S:_||[];return ex.default.createElement(n,lt({},v,{ref:function(M){l.select=M},options:P,isLoading:D||f,onInputChange:this.handleInputChange}))}}]),i}(ex.Component),t.defaultProps=bun,a},wun=qb(Qg),Sun=Run(wun),nx=Sun;var JDe=ba(BDe()),MI=({baseClass:e,isMulti:n})=>t=>{let a=(i,u)=>Object.assign({},i,u),r=i=>u=>a(u,i),o=!Fun&&typeof document!="undefined";return wt.createElement(e,ii(ja({},t),{isMulti:n,components:{MenuList:Eun},menuPortalTarget:t.useMenuPortal&&o?document.body:void 0,options:zDe(t.options),value:zDe(t.value),getOptionLabel:VU(t.getOptionLabel),getOptionValue:VU(t.getOptionValue),formatOptionLabel:VU(t.formatOptionLabel),loadOptions:t.loadOptions&&((...i)=>t.loadOptions(...i).then(zb)),onChange:(i,{action:u})=>{switch(u){case"select-option":i.__isNew__?t.onCreate&&t.onCreate(i.label):t.onSelect&&t.onSelect(zb(i));break;case"clear":t.onClear&&t.onClear();break;case"remove-value":t.onSelect&&t.onSelect(zb(i||[]));break;case"create-option":t.onCreate&&t.onCreate(i.label);break}},isOptionDisabled:t.isOptionDisabled&&(i=>!i.__isNew__&&t.isOptionDisabled(zb(i))),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:(i,u)=>a(i,u.isFocused?t.focusedOptionStyle:{})}}))},Eun=e=>{let n=Array.isArray(e.children)?e.children:[e.children],t=[];return e.selectProps.footerOption&&e.selectProps.options&&(t=[wt.createElement("hr",{className:"py-0 my-0"}),e.selectProps.footerOption({inputValue:e.selectProps.inputValue,options:zb(e.selectProps.options)})]),wt.createElement("div",{className:"overflow-y-auto overflow-x-hidden",style:Object.assign({},{maxHeight:e.selectProps.maxMenuHeight},e.selectProps.menuListStyle)},wt.createElement(JDe.default,{length:n.length,itemRenderer:(a,r)=>wt.createElement("div",{key:r},n[a])}),...t)};ZA.displayName="ReactSelect";zU.displayName="ReactSelectCreatable";nx.displayName="ReactSelectAsync";var WDe=MI({baseClass:ZA,isMulti:!1}),Cun=MI({baseClass:zU,isMulti:!1}),Iun=MI({baseClass:ZA,isMulti:!0}),qDe=MI({baseClass:nx,isMulti:!1}),Tun=MI({baseClass:nx,isMulti:!0}),Fun=0;var zDe=e=>e instanceof Array?typeof e[0]=="object"?e:e.map(n=>({__wrap:n})):typeof e=="undefined"||typeof e=="object"?e:{__wrap:e},zb=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},VU=e=>e&&(n=>e(zb(n)));var $De=e=>()=>new Promise((n,t)=>{var a=o=>()=>n(o),r=o=>()=>t(o);try{e(a)(r)()}catch(o){t(o)}});var VDe=function(e){return $De(function(n){return function(t){return HX(rr(t)(n))(e)}})};var GI=zo(),Mun=Rt(Qn()(E({reflectSymbol:function(){return"inputValue"}})(ue)(he)));var Gun=N(Vt),Aun=N(J),QDe=gs(),YDe=Sa();var xun=function(e){return e};var wu=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Lun=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}();var XDe=function(e){return function(n){if(e instanceof wu){var t={};for(var a in n)({}).hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t["aria-label"]=P1(e.value0),t}if(e instanceof Lun){var r={};for(var o in n)({}).hasOwnProperty.call(n,o)&&(r[o]=n[o]);return r["aria-labelledby"]=P1(e.value0),r}throw new Error("Failed pattern match at Component.ReactSelect (line 174, column 3 - line 176, column 66): "+[e.constructor.name])}},tx=function(e){return GI(function(n){return Je(Mun(n))(e)})};var ax=function(e){return function(n){return VDe(Gun(Be)(e(n)))()}};var ZDe=function(e){return function(n){return Ut(e({inputValue:ee(n.inputValue),options:n.options}))}};var KDe=function(e){var n={};for(var t in e)({}).hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.value=Une(function(a){return Ut(Aun(xun)(a))})(e.value),n},jun=GI,e1e=GI;var Nun=GI;var n1e=GI;var Ys=function(e){return function(){var n=QDe(WDe),t=XDe(e);return function(a){return n(jun(KDe(e1e(t(n1e(YDe(a)))))))}}},rx=function(e){return function(){var n=QDe(qDe),t=XDe(e);return function(a){return n(Nun(KDe(e1e(t(n1e(YDe(a)))))))}}};var t1e="top";var a1e=ro(Pr(No)),Pun=Z(Vt),r1e=K(Lt),kun=Xi($n(Qn()(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"id"}})(wE)(E({reflectSymbol:function(){return"name"}})(ue)(he)))))),Oun=Z(ge),Uun=Z(J),Hun=Xi(ue),o1e=a1e("profile_search_extracurricular_activities_path")(function(e){return function(n){return Pun(r1e(e({search_term:n}))(zr(kun("Network.ECSelector.API"))))(function(t){return yr(Oun(t)(function(a){return Uun(ty(a.category))(function(r){return{id:a.id,name:a.name,category:r}})}))})}}),i1e=a1e("profile_generate_ec_description_path")(function(e){return function(n){return r1e(e(n))(zr(Hun("Profile.ECSelector.API.generateEcDescription response")))}});var Bun=re(ze),Jun=oa(Te)(ft),u1e=function(e){var n=Nc(e);return function(){return function(){return n("text")}}};var QU=function(){return function(){return h_("path")}},Wun=QU()();var $b=function(e){var n=function(u){return Bun(cs(u))},t=function(u){return function(l){return n(u*l.x)+(" "+n(u*l.y))}},a=function(u){return{x:e.center.x+f8(u),y:e.center.y-m8(u)}},r=a(e.angle1),o=a(e.angle0),i=function(){var u=e.angle1-e.angle0>$v;return u?"1":"0"}();return Wun("")({d:Jun([" 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})},l1e=function(){return function(){return h_("circle")}};var c1e=yn(Dn),_v=gn(c1e)(pn(mn)),s1e=dn(_n),dv=hn(s1e),f1e=wn(Rn),hv=bn(f1e),qun=QU()(),cp=re($i),zun=_i(ae)()(),AI=B(L),$un=Cs(W)()(),Vun=Z(ge),Qun=u1e(L)()(),Yun=re(ze),Xun=Ct(ae)()(),Zun=Gn(pt),Kun=ta(L),xI=B(W),Vb=B(ae),v1e=_e(xt(As)),eln=Qf(W),nln=N(ge),tln=cl(L),YU=function(){function e(){}return e.value=new e,e}(),XU=function(){function e(){}return e.value=new e,e}(),m1e=function(e){return function(n){if(n instanceof XU)return Ee(e)(Kae(e));if(n instanceof YU)return Ee(e)(ere(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])}},p1e=function(){return 100/st(da(Sn(G_)(_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(_v(c1e)(s1e))(dv))(dv))(dv))(dv))(dv))(dv))(dv))(dv))(dv))(dv))(hv(hv(hv(hv(hv(hv(hv(hv(hv(hv(hv(f1e))))))))))))(dv)))}(),aln=function(e){var n=Hl(e),t=Wae(n),a=function(r){return function(o){return function(i){var u=o-1,l=r+1,c=u/2,s=l/2;return qun("")({d:Wr(" ")(["M",cp(-s),cp(l),"L",cp(s),cp(l),"L",cp(c),cp(u),"L",cp(-c),cp(u),"Z"]),fill:i})}}};return zun({overlay:ce([AI("")("Use the arrows to choose"),AI("")("higher or lower levels")]),trigger:Q_,placement:Us})($un("")({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(st(t)*p1e)(st(t+1|0)*p1e)("#64A063"),ce(Vun(vF(1)(4))(function(r){return Qun("")({x:"0",y:cp(25*st(r)-11),dominantBaseline:"middle",textAnchor:"middle"})(Yun(r))}))]))},_1e=function(e){return function(n){var t=Hl(e),a=av(e),r=function(o){var i=function(){if(o.msg instanceof YU)return"up";if(o.msg instanceof XU)return"down";throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityTier (line 67, column 17 - line 69, column 33): "+[o.msg.constructor.name])}();return Xun("py-0 px-2 my-2 btn btn-outline-light t--tier-"+(i+function(){return o.disabled?"":" text-body"}()))({type:"button",onClick:Zun(n)(o.msg),disabled:o.disabled})(Kun("x-large fe fe-arrow-"+i)(""))};return ce([xI("d-flex justify-content-between align-items-center")([AI("font-weight-bold fw-bold")("Tier "+ay(t)),xI("d-flex align-items-center")([Vb("mr-2")(r({msg:YU.value,disabled:v1e(new d(t))($ae(a))})),Vb("")(r({msg:XU.value,disabled:v1e(new d(t))(eG(a))}))])]),Vb("card shadow-none")(Vb("card-body")(xI("row align-items-start")([Vb("col-12 col-md-7")(Je(zae(a)(t))(function(o){return ce([Y("I did the equivalent of ANY of the following:"),eln("")(nln(tln(""))(o))])})),Vb("col-12 col-md-5")(xI("row align-items-center")([xI("col-7 d-flex flex-column align-items-center")([AI("mb-2 small")("Exceptional"),aln(e),AI("mt-2 small")("Standard")])]))])))])}};var ox=z(_t),rln=Sa(),oln=Hn(Mn)(qt),iln=Kr(Xn),uln=Z(Vt),lln=ps(Xv),cln=Ct(ae)()(),d1e=B(L),h1e=Gn(pt),ZU=function(){function e(){}return e.value=new e,e}(),g1e=function(){function e(){}return e.value=new e,e}(),D1e=function(){function e(){}return e.value=new e,e}(),KU=function(){function e(){}return e.value=new e,e}(),y1e=function(){function e(){}return e.value=new e,e}(),b1e=function(){function e(){}return e.value=new e,e}(),R1e=function(){var e=function(n){var t=ox(ZU.value),a=rln(n),r=function(i){return function(u){if(u instanceof KU)return oln(iln(uln(lln(a.onClick))(rr(an(b1e.value))(an(y1e.value)))))(function(){return ox(g1e.value)});if(u instanceof y1e)return ox(ZU.value);if(u instanceof b1e)return ox(D1e.value);throw new Error("Failed pattern match at Utils.EffectButton (line 68, column 9 - line 70, column 24): "+[i.constructor.name,u.constructor.name])}},o=function(i){return function(u){var l=function(s){return cln(Un(a.buttonClass)("btn btn-primary px-4"))({onClick:s,disabled:Un(a.disabled)(!1)})(Un(a.buttonContent)(Y("Submit")))},c=Un(a.render)({idle:l,inFlight:function(s){return d1e(Un(a.spinnerClass)("spinner spinner-border text-primary"))("")},erroredOut:function(s){return ce([l(s),d1e("invalid-feedback d-block")(Un(a.errorMessage)("Something went wrong. Try refreshing the page."))])}});if(i instanceof ZU)return c.idle(h1e(u)(KU.value));if(i instanceof g1e)return c.inFlight(Ce);if(i instanceof D1e)return c.erroredOut(h1e(u)(KU.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 tl("EffectButton")(e)};var w1e=function(){function e(){}return e.value=new e,e}(),S1e=function(){function e(){}return e.value=new e,e}(),Qb=function(){function e(){}return e.value=new e,e}(),ix=function(){function e(){}return e.value=new e,e}(),E1e=function(){function e(){}return e.value=new e,e}(),C1e=function(){function e(){}return e.value=new e,e}(),Yb=function(){function e(){}return e.value=new e,e}(),I1e=function(e){if(e instanceof w1e)return"avatar-xxs";if(e instanceof S1e)return"avatar-xs";if(e instanceof Qb)return"avatar-sm";if(e instanceof ix)return"";if(e instanceof E1e)return"avatar-lg";if(e instanceof C1e)return"avatar-xl";if(e instanceof Yb)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 ux=_e(xt(va)),sln=Sa(),fln=B(ae),vln=js()(),eH=en(L),nH=Yn(ae)()(),mln=ta(L),pln=Yo(),_ln=xf(Mn)(),dln=Bn(Xn),hln=Mr(W)()(),gln=ca(pu),Dln=sv(),yln=mt(Va),Su=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Yg=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),aH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),T1e=function(){function e(){}return e.value=new e,e}(),bln=function(){function e(){}return e.value=new e,e}(),Rln={eq:function(e){return function(n){return e instanceof Su&&n instanceof Su?e.value0.url===n.value0.url:e instanceof Yg&&n instanceof Yg?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.initials===n.value0.initials&&ux(e.value0.textColorClass)(n.value0.textColorClass):e instanceof tH&&n instanceof tH?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.iconClass===n.value0.iconClass:e instanceof aH&&n instanceof aH?ux(e.value0.backgroundColorClass)(n.value0.backgroundColorClass)&&e.value0.name===n.value0.name:!1}}},wln=ib(Rln),j0=function(){return function(e){var n=sln(e),t=function(){var r=Un(n.shape)(T1e.value);if(r instanceof T1e)return"rounded-circle";if(r instanceof bln)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 fln("avatar "+(I1e(Un(n.size)(ix.value))+(" "+Un(n.className)(""))))(function(){if(r instanceof Su)return vln("avatar-img img-fluid "+(t+(" "+Un(n.borderClassName)(""))))({src:r.value0.url,alt:Un(n.ariaLabel)("Avatar image")});if(r instanceof Yg)return eH("avatar-title font-weight-bold fw-bold "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+(Ee("")(r.value0.textColorClass)+(" "+Un(n.borderClassName)(""))))))))(r.value0.initials);if(r instanceof tH)return nH("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+Un(n.borderClassName)(""))))))({"aria-label":Un(n.ariaLabel)("Avatar icon")})(mln(r.value0.iconClass)(""));if(r instanceof aH)return nH("avatar-title "+(t+(" "+(Ee("")(r.value0.backgroundColorClass)+(" "+Un(n.borderClassName)(""))))))({"aria-label":Un(n.ariaLabel)("Avatar icon")})(eH("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 mu(pln(ua(n.source))(function(r){return _ln(wln(n.source)(function(o){return dln(r.value1(o))}))(function(){return Qo(ce([a(r.value0),function(){return r.value0 instanceof Su?Je(Rr(n.hideAvatar))(function(o){return nH("hq-only-menu-item")({style:fn({marginTop:"-50px",marginLeft:"200px"})})(hln("btn btn-sm btn-warning mb-4 t--hide-avatar")(Fr)({onClick:gln(function(i){return function(){return Dln(i)(),yln(r.value1)(o)()}})})([eH("badge badge-info bg-info text-dark mr-2")("HQ"),Y("Hide")]))}):un}()]))})}))}};var Sln=j0();var Eln=function(e){return Sln({source:new Su({url:gg("/img/icons/ai-avatar-logo-purple-3.svg")}),size:e.size})},Xb=function(){return Eln({size:Qb.value})}();var F1e=function(){var e=[nE.value,new Sm(" "),IM.value,new Sm(", "),FM.value,new Sm(":"),GM.value,new Sm(" "),MM.value],n=tE(bh(Te)(e));return function(t){return n(function(a){return a.sentAt}(t))}}();var sp=B(W),Cln=en(L),Iln=Du(L),Tln=yl(Le),rH=K0(J),M1e=N(J),Fln=Z(J),Mln=mt(Le),Gln=fh(Te)(na),oH=Hn(Mn)(Le),iH=Xr(Fo),uH=K(Le),lH=_u(L),G1e=kl()(),LI=Gn(ao),Xg=B(ae),A1e=Ct(L)()(),cH=Gn(pt),x1e=fM(L)()(),L1e=re(ny),Aln=Ye(sa),xln=N(ge),Lln=Zo()(),j1e=U1(),jln=cM(W)()(),N1e=Z(Vt),Nln=ps(Xv),Pln=dh(va),kln=Z(ge),Oln=Yn(L)()(),Uln=re(Xae),Hln=qn(Pa),P1e=B(L),Bln=R1e(),Jln=K(Lt),Wln=Bn(Xn),Zg=function(){function e(){}return e.value=new e,e}(),lx=function(){function e(){}return e.value=new e,e}(),Kg=function(){function e(){}return e.value=new e,e}(),k1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),O1e=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}(),U1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),B1e=function(){function e(){}return e.value=new e,e}(),J1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),W1e=function(){function e(){}return e.value=new e,e}(),q1e=function(){function e(){}return e.value=new e,e}(),z1e=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$1e={eq:function(e){return function(n){return e instanceof Zg&&n instanceof Zg||e instanceof lx&&n instanceof lx||e instanceof Kg&&n instanceof Kg}}},qln=function(e){return e.tierSelector instanceof d?C.value:new d({errorMessage:"Please select a tier."})},zln=function(e){if(e.name==="")return new d({errorMessage:"Please enter an activity name."});if(xe)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 321, column 1 - line 321, column 32): "+[e.constructor.name])},$ln=function(e){if(fr(e.category))return new d({errorMessage:"Please select a category."});if(xe)return C.value;throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.ECActivityEditor (line 326, column 1 - line 326, column 36): "+[e.constructor.name])},V1e=function(e){return function(n){return ce([sp("")([Cln("")("Level of achievement"),Iln("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.
      `)]),_1e(n)(function(t){return e(U1e.create(t))})])}},Q1e=function(e){return Tln(rH(rH(rH(M1e(SE("")(e))(eG(e)))(C.value))(C.value))(C.value))},Y1e=function(e){return function(n){if(n instanceof U1e)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:Fln(e.tierSelector)(function(t){return m1e(t)(n.value0)})};if(n instanceof k1e)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 O1e)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:Mln(Q1e)(n.value0)};if(n instanceof sH)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 H1e)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:n.value0.name,category:new d(n.value0.category),canonicalId:new d(n.value0.id),tierSelector:Q1e(n.value0.category)};if(n instanceof B1e)return{isNew:e.isNew,id:e.id,description:e.description,compactView:e.compactView,view:e.view,name:"",category:C.value,canonicalId:C.value,tierSelector:C.value};if(n instanceof J1e)return{isNew:e.isNew,category:e.category,id:e.id,canonicalId:e.canonicalId,tierSelector:e.tierSelector,description:e.description,compactView:e.compactView,view:Kg.value,name:n.value0.name};if(n instanceof W1e)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:lx.value};if(n instanceof q1e)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 d)return Zg.value;if(e.canonicalId instanceof C)return Kg.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 z1e)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 d)return Zg.value;if(e.canonicalId instanceof C)return Kg.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])}},jI=function(e){return Gln(a_e(e))([zln,$ln,qln])},cx=function(e){return function(n){if(n instanceof d){var t=Ee("")(CE(n.value0)),a=av(n.value0);return{isNew:!1,name:A_(n.value0),category:new d(a),tierSelector:function(){return a instanceof h0?C.value:new d(n.value0)}(),id:nG(n.value0),canonicalId:tG(n.value0),description:t,compactView:e.compactView,view:function(){var r=gt(tG(n.value0));return r?Zg.value:Kg.value}()}}if(n instanceof C)return{isNew:!0,name:"",category:C.value,tierSelector:C.value,id:C.value,canonicalId:C.value,description:"",compactView:e.compactView,view:Zg.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])}},sx=function(e){return oH(iH(jI(e)))(function(){return uH(e.tierSelector)(function(n){return uH(e.category)(function(t){return SE(e.name)(t)(Hl(n))(e.id)(new d(e.description))(e.canonicalId)})})})},X1e="Summarize your role, highlighting specific achievements. Include quantifiable results (if possible) and skills developed.",Z1e=function(e){return function(n){return function(t){var a=ce([lH("")("Description (optional)"),G1e("form-control mb-3 t--description")({placeholder:X1e,rows:2,maxLength:1e3,onChange:LI(t)(function(r){return sH.create(Hs(r))}),value:n.description}),sp("row")([Xg("col-auto")(Xb),vn(e.featureFlags.showGenerateEcDescription)(Xg("col pl-0")(A1e("btn btn-outline-primary rounded-pill t--generate-description")({onClick:cH(t)(W1e.value)})("Write description for me")))])]);return vn(!n.compactView)(a)}}},K1e=function(e){return function(n){return function(t){if(n.view instanceof Kg){var a=function(u){return x1e("")({value:L1e(u)})(M_(u))},r=Aln([x1e("")({value:""})("Select category")])(xln(a)(jae));return ce([sp("row pb-4")([sp("col-12 mt-3 mt-lg-0 col-lg-8 align-self-baseline")([lH("font-weight-bold fw-bold")("Activity name *"),Lln("")({className:"form-control t--name",autoFocus:!0,value:n.name,onChange:LI(t)(function(u){return k1e.create(Bs(u))}),minLength:5,maxLength:50,required:!0,_data:j1e({"test-id":"ec-selector-activity-name"}),"aria-required":"true"})]),sp("col-12 mt-3 mt-lg-0 col-lg-4 align-self-baseline")([lH("font-weight-bold fw-bold")("Category *"),jln("")({className:"form-control t--category",onChange:LI(t)(function(u){return O1e.create(ty(lpe(u)))}),value:Oe("")(L1e)(n.category),_data:j1e({"test-id":"ec-selector-activity-category"}),required:!0,"aria-required":"true"})(r)])]),Je(n.tierSelector)(V1e(t)),Z1e(e)(n)(t)])}if(n.view instanceof Zg){var o=function(u){return N1e(N1e(Nln(o1e(u)))(oc))(Ee([]))},i=function(){var u=function(l){return lu(Ow(l))};return ZDe(function(l){return uH(l.inputValue)(function(c){return oH(iH(Zr(c)>=3))(function(){return oH(iH(!Pln(u(c))(kln(l.options)(function(s){return u(function(f){return f.name}(s))}))))(function(){return new d(Oln("text-center text-primary cursor-pointer py-3 t--ec-activity-custom")({onClick:cH(t)(new J1e({name:c}))})("Add \u2018"+(c+"\u2019 as a custom activity")))})})})})}();return sp("my-4 overflow-hidden ")([Y("Activity name*"),rx(new wu("Search for an activity"))()({className:"mt-2 t--ec-activity-name",classNamePrefix:"t--canonical-ec-activity",placeholder:"Type to select\u2026",loadOptions:ax(o),defaultOptions:!1,getOptionLabel:function(u){return u.name},getOptionValue:function(u){return Uln(function(l){return l.id}(u))},onSelect:LI(t)(H1e.create),useMenuPortal:!0,value:Hln(M1e(function(u){return function(l){return{name:n.name,category:u,id:l}}})(n.category))(n.canonicalId),isClearable:!0,onClear:t(B1e.value),footerOption:i,menuPlacement:t1e,noOptionsMessage:tx(function(u){return Y(function(){var l=Zr(u.inputValue)<=3;return l?"Type to search activities":"No matches. Try a different search."}())})}),Je(n.category)(function(u){return P1e("mt-2 text-muted t--ec-activity-category")("Category: "+M_(u))}),Je(n.tierSelector)(function(){var u=Xg("mt-4"),l=V1e(t);return function(c){return u(l(c))}}()),Je(n.canonicalId)(function(u){return Xg("mt-4")(Z1e(e)(n)(t))})])}if(n.view instanceof lx)return sp("my-4 overflow-hidden t--description-generator")([sp("row")([Xg("col-auto")(Xb),P1e("col pl-0")("Tell me about your role, contributions, and any achievements so I can write a strong description.")]),G1e("form-control my-3 t--description")({placeholder:X1e,rows:5,maxLength:1e3,onChange:LI(t)(function(u){return sH.create(Hs(u))}),value:n.description}),sp("row")([Xg("col-6")(A1e("btn btn-light btn-block")({onClick:cH(t)(q1e.value)})("Cancel")),Xg("col-6")(Bln({buttonClass:"btn btn-primary btn-block t--generate-description-confirm",buttonContent:Y("Write description"),onClick:Jln(i1e({activity:n.name,category:Oe("")(M_)(n.category),description:n.description}))(function(u){return Wln(t(new z1e(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 Vln=Ym(),Qln=Kn(L),Yln=B(W),eye=B(ae),nye=Ct(L)()(),Xln=k1(iM(h1)),Zln=yi(J),Kln=Xr(Fo),ecn=Ua(vr(na)),ncn=Gn(pt),fH=z(_t),tye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fx=function(){function e(){}return e.value=new e,e}(),NI=function(){function e(){}return e.value=new e,e}(),vH=function(e){return function(n){return function(t){var a=function(){return n.isNew?"Add":"Edit"}();return Vln({onDismiss:t(NI.value),title:Qln("")(a+" activity"),size:TE.value,bodyClass:"t--ec-editor",body:ce([K1e(e)(n)(function(r){return t(tye.create(r))}),Ba(""),Yln("row justify-content-between mt-n3")([eye("col-12 col-md-3 mt-3")(nye("btn btn-primary btn-block t--save-ec-activity")({type:"button",onClick:Xln(t)(Zln(Kln(jI(n)))(fx.value)),disabled:ecn(jI)(n)})("Save activity")),eye("col-12 col-md-3 mt-3")(nye("btn btn-outline-secondary btn-block")({type:"button",onClick:ncn(t)(NI.value)})("Cancel"))])])})}}},mH=function(e){return function(n){if(n instanceof tye)return fH(Y1e(e)(n.value0));if(n instanceof fx||n instanceof NI)return fH(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 tcn=_e(RE),aye=_e(xt(_j)),rye=_e(xt(dE)),acn=_e(va),oye=_e(xt(ar)),iye=_e(xt(RE)),uye=_e($1e),lye=vr(na),cye=Ua(lye),rcn=mt(Le),Eu=z(_t),ocn=Sw(RE),sye=Ye(sa),pH=Hn(Mn)(qt),fye=Kr(Xn),vye=z(Yt),_H=K(qt),mye=Dr(Gi(Vt)),fp=B(W),Zb=Vn(L),pye=re(ze),icn=K(Nv),ucn=z(em),Xs=B(ae),lcn=Ct(W)()(),ccn=en(ae),scn=en(L),fcn=B(L),_ye=Df(vr(lye)),vcn=_e(dE),mcn=_e(As),pcn=Zo()(),_cn=lv(),vx=Ct(L)()(),PI=Gn(pt),dcn=Yn(W)()(),hcn=U1(),gcn=Ea(L),Dcn=Vn(W),ycn=Bn(Xn);var mx=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),hH=function(){function e(){}return e.value=new e,e}(),px=function(){function e(){}return e.value=new e,e}(),eD=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),nD=function(){function e(){}return e.value=new e,e}(),Kb=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Dd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bcn={eq:function(e){return function(n){return e instanceof nD&&n instanceof nD?!0:e instanceof Kb&&n instanceof Kb?tcn(e.value0.activity)(n.value0.activity):e instanceof Dd&&n instanceof Dd?e.value0.index===n.value0.index&&aye(e.value0.state.canonicalId)(n.value0.state.canonicalId)&&rye(e.value0.state.category)(n.value0.state.category)&&e.value0.state.compactView===n.value0.state.compactView&&e.value0.state.description===n.value0.state.description&&oye(e.value0.state.id)(n.value0.state.id)&&e.value0.state.isNew===n.value0.state.isNew&&e.value0.state.name===n.value0.state.name&&iye(e.value0.state.tierSelector)(n.value0.state.tierSelector)&&uye(e.value0.state.view)(n.value0.state.view):e instanceof yd&&n instanceof yd?aye(e.value0.canonicalId)(n.value0.canonicalId)&&rye(e.value0.category)(n.value0.category)&&e.value0.compactView===n.value0.compactView&&e.value0.description===n.value0.description&&oye(e.value0.id)(n.value0.id)&&e.value0.isNew===n.value0.isNew&&e.value0.name===n.value0.name&&iye(e.value0.tierSelector)(n.value0.tierSelector)&&uye(e.value0.view)(n.value0.view):!1}}},Rcn=_e(bcn),wcn=function(e){return e.maxActivities-da(e.activities)|0},dye=function(e){if(e.editor instanceof nD||e.editor instanceof Kb)return!1;if(e.editor instanceof yd||e.editor instanceof Dd)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])},Scn=function(e){return function(n){if(n instanceof mx&&cye(dye)(e)){var t=rcn(uu(e.activities))(n.value0.index);if(n.value0.index instanceof d&&t instanceof d){var a=cx(e)(new d(t.value0));return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Dd({index:n.value0.index.value0,state:a})})}var a=cx(e)(C.value);return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new yd(a)})}if(n instanceof mx)return Eu(e);if(n instanceof dH&&cye(dye)(e))return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Kb({activity:n.value0.activity})});if(n instanceof dH)return Eu(e);if(n instanceof hH)return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value});if(n instanceof px){var r=function(l){return Eu({activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value,activities:l(e.activities)})},o=function(l){return r(function(c){return Ee(c)(l(c))})};if(e.editor instanceof Kb)return Eu({attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:nD.value,activities:ocn(e.editor.value0.activity)(e.activities),activitiesToDestroy:Ci(e.editor.value0.activity)(e.activitiesToDestroy)});var t=function(l){var c=function(f){return Eu(e)};if(e.editor instanceof yd){var s=sx(e.editor.value0);return s instanceof d?r(function(f){return sye(f)([s.value0])}):c(!0)}return c(!0)};if(e.editor instanceof Dd){var i=sx(e.editor.value0.state);return i instanceof d?o(fF(e.editor.value0.index)(i.value0)):t(!0)}return t(!0)}if(n instanceof eD&&n.value0 instanceof NI)return pH(fye(vye(hH.value)))(function(){return Eu(e)});if(n instanceof eD&&n.value0 instanceof fx)return pH(fye(vye(px.value)))(function(){return Eu(e)});if(n instanceof eD)return e.editor instanceof Dd?_H(mye(eD.create)(mH(e.editor.value0.state)(n.value0)))(function(u){return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new Dd({index:e.editor.value0.index,state:u})})}):e.editor instanceof yd?_H(mye(eD.create)(mH(e.editor.value0)(n.value0)))(function(u){return Eu({activities:e.activities,activitiesToDestroy:e.activitiesToDestroy,attributesFormGroup:e.attributesFormGroup,attributesPath:e.attributesPath,compactView:e.compactView,defaultView:e.defaultView,maxActivities:e.maxActivities,editor:new yd(u)})}):Eu(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])}},Ecn=function(e){return fp(function(){return e.compactView?"container-xs":""}())([Zb("font-weight-bold fw-bold")("Add up to "+(pye(e.maxActivities)+" unique extracurricular activities")),fp("row")(icn(sye(e.activities)([e.addNewButton(wcn(e))(e.onStartEditing)]))(function(n){return ucn(Xs("col-12 col-md-6 d-flex")(n))})),e.hiddenInputs,vn(!e.compactView)(Zb("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.
        `))])},Ccn=10,Icn=function(e){return function(n){if(e>0)return Xs("card")(fp("card-body")([Xs("align-middle pb-2")(lcn("btn btn-link p-0 t--add-new-ec")({type:"button",onClick:n})([ccn("fe fe-plus")(un),scn("")("Add new activity")])),fcn("")("You can add "+(pye(e)+(" more "+(function(){var t=e===1;return t?"activity":"activities"}()+". Your activities will show up on this page."))))]));if(xe)return un;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])}},Tcn=function(e){return function(n){return function(t){var a=function(c){var s=_ye(Cu(acn)(A_))(_ye(Cu(vcn)(av))(Cu(mcn)(Hl)));return function(f){return f>1}(da(Lr(s(c))(n.activities)))},r=function(c){return pcn("")({type:"hidden",name:c,value:_cn(fg(n.activities))})},o=function(){return n.editor instanceof Dd?sy("ec-editor-modal")(vH(e)(n.editor.value0.state)(function(c){return t(eD.create(c))})):n.editor instanceof yd?sy("ec-editor-modal")(vH(e)(n.editor.value0)(function(c){return t(eD.create(c))})):un}(),i=function(c){return function(s){if(Rcn(n.editor)(new Kb({activity:s})))return Xs("card mx-auto")(fp("card-body")([Zb("")("Delete this activity?"),fp("row")([Xs("col-12 col-sm-6 text-center")(vx("btn btn-secondary px-4 text-nowrap t--no-dont-remove")({type:"button",onClick:PI(t)(hH.value)})("Keep it")),Xs("col-12 col-sm-6 text-center mt-2 mt-md-0")(vx("btn btn-danger px-4 text-nowrap t--yes-remove")({type:"button",onClick:PI(t)(px.value)})("Delete it"))])]));if(xe){var f=function(_){return _===""?Zb("text-muted")("No activity name yet"):Zb("")(_)},v=function(){if(n.compactView)return"";if(xe)return Ee("")(CE(s));throw new Error("Failed pattern match at Profile.Extracurriculars.ECSelector.Extracurriculars (line 267, column 7 - line 269, column 69): "+[])}(),m=function(){var _=Zr(v)>100;return _?pc(100)(v)+"\u2026":v}();return dcn("card d-flex w-100 t--ec-activity")({_data:hcn({"test-id":"ec-selector-activity-view"})})([Xs("card-body pb-0")(fp("row")([fp("col-12")([vn(a(s))(Xs("d-flex justify-content-end")(fp("badge badge-warning bg-warning text-dark")([gcn("")("Smart Alert: "),Y("this activity appears twice")]))),f(A_(s)),Dcn("")([Y(M_(av(s))),Y(" | Tier "),Y(ay(Hl(s)))])]),Xs("col-12 mt-n2")(Zb("text-muted small")(m))])),Xs("card-footer border-top-0 pt-0")(fp("row")([Xs("col col-6 ml-sm-auto")(vx("btn btn-link p-0 t--edit")({type:"button",onClick:PI(t)(new mx({index:new d(c)}))})("Edit")),Xs("col col-6 ml-sm-auto text-right")(vx("btn btn-link btn-secondary-outline p-0 t--remove")({type:"button",onClick:PI(t)(new dH({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=Rw(i)(n.activities),l={activities:u,ecActivities:n.activities,hiddenInputs:Je(n.attributesPath)(r),addNewButton:Icn,maxActivities:n.maxActivities,compactView:n.compactView,onStartEditing:PI(t)(new mx({index:C.value})),redirectUrlOverride:C.value};return ce([n.defaultView(l),o])}}},hye=tl("Extracurriculars")(function(e){return{init:Eu({activities:e.extracurriculars,attributesPath:C.value,attributesFormGroup:"",activitiesToDestroy:[],editor:nD.value,compactView:e.compactView,maxActivities:Ee(Ccn)(e.maxActivities),defaultView:Ee(Ecn)(e.defaultView)}),view:function(n){return Tcn(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 _H(Scn(n)(t))(function(a){return pH(function(){return t instanceof px?mr(ycn(e.onChange(a.activities))):Eu(Ce)}())(function(){return Eu(a)})})}}}});var Fcn=on(),Mcn=re(Mi),Gcn=Yn(W)()(),gye=t_e(n_e)()(),Dye=O$(iu),eR=B(W),kI=B(L),yye=K(Lt),Acn=dg($n(Qn()(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"schoolId"}})(ds)(E({reflectSymbol:function(){return"schoolName"}})(ue)(E({reflectSymbol:function(){return"score"}})(Gt)(he))))))),gH=Z(ge);var DH=B(ae),xcn=Z(J),Lcn=Hn(Mn),_x=Lcn(qt),dx=Kr(Xn),hx=z(Yt),bd=z(_t),jcn=Ir(L),yH=g0(L)()(),Ncn=ca(pu),Pcn=sv(),kcn=en(ae),Ocn=re(ny),Ucn=Ua(vr(na)),Hcn=H1(W)()(),bye=yn(Dn),bH=gn(bye)(pn(mn)),Rye=dn(_n),RH=hn(Rye),wye=wn(Rn),wH=bn(wye),Bcn=cl(ae),gx=ca(pr),SH=Gn(ao),Dx=function(){function e(){}return e.value=new e,e}(),yx=function(){function e(){}return e.value=new e,e}(),EH=function(){function e(){}return e.value=new e,e}(),bx=function(){function e(){}return e.value=new e,e}(),Jcn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Sye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Eye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Cye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Iye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Tye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tD=function(){function e(){}return e.value=new e,e}(),Fye=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Wcn={to:function(e){if(e instanceof H)return Dx.value;if(e instanceof p&&e.value0 instanceof H)return yx.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return EH.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p)return bx.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 Dx)return new H(fe.value);if(e instanceof yx)return new p(new H(fe.value));if(e instanceof EH)return new p(new p(new H(fe.value)));if(e instanceof bx)return new p(new p(new p(fe.value)));throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 85, column 1 - line 85, column 39): "+[e.constructor.name])}},qcn=Sn(Wcn)(bH(bH(bH(bye)(Rye))(RH))(RH))(wH(wH(wH(wye))))(RH),Mye=function(e){if(e instanceof Dx)return"Female";if(e instanceof yx)return"Male";if(e instanceof EH)return"Non-binary / third gender";if(e instanceof bx)return"Gender not specified";throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 88, column 20 - line 92, column 43): "+[e.constructor.name])},Gye=function(e){return Ee(e)(uu(Ii("|")(e))(1))},Aye=function(e){return{label:e.name,value:Fcn(e.slug)+("_"+Mcn(e.id))}},zcn=function(){var e=Ii("_");return function(n){return function(t){return uu(t)(1)}(e(function(t){return t.value}(n)))}}(),xye=function(e){return Gcn(e.className)({style:fn({flexBasis:"46%"})})([e.label,gye({min:200,max:800,step:10,value:Dye(200)(800)(e.score),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"SAT "+(e.ariaLabelPartial+" score slider"),onChange:e.onChange,onFinalChange:e.onFinalChange}),eR("mt-2 d-flex flex-row justify-content-between")([kI("")("200"),kI("")("800")])])},$cn=ro(Pr(No))("blog_lite_chancing_path")(function(e){return function(n){return yye(e(n))(zr(function(t){return Acn("Lite Chancing Response")(t)(function(a){return new d(gH(a)(function(r){return{imageUrl:r.imageUrl,schoolId:r.schoolId,schoolName:r.schoolName,score:new d(r.score)}}))})}))}});var Vcn=function(e){return eR(e.className)([e.label,DH("t--lite-chancing-cta-left-sidebar-gpa")(gye({min:1,max:4,step:.1,value:Dye(1)(4)(e.gpa),trackColor:"#008CFD",fillBefore:!0,ariaLabel:"GPA slider",onChange:e.onChange,onFinalChange:e.onFinalChange})),eR("mt-2 d-flex flex-row justify-content-between")([kI("")("1.0"),kI("")("4.0")])])},Qcn=function(e){return e instanceof Dx?"female":e instanceof yx?"male":"other"},Lye=function(e){return function(n){var t=Go(function(o){return xcn(zcn(o))(HF)})(e),a=Qcn(n.genderOption),r=fg(n.ecs);return _x(dx(yye($cn({schoolIds:t,gpa:n.gpa,satMath:n.satMath,satVerbal:n.satVerbal,gender:a,ecs:r}))(function(o){return hx(new at(new Fye(o)))})))(function(){return bd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!0})})}},jye=function(e){return Lye(e.schoolItems)({gpa:3.7,satMath:720,satVerbal:800,genderOption:bx.value,ecs:[],chancingIsLoading:!1,redirectUrlOverride:e.redirectUrlOverride})},Nye=function(e){return function(n){return function(t){if(t instanceof at&&t.value0 instanceof Sye)return _x(dx(hx(new at(tD.value))))(function(){return bd({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 at&&t.value0 instanceof Cye)return _x(dx(hx(new at(tD.value))))(function(){return bd({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 at&&t.value0 instanceof Eye)return bd({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 at&&t.value0 instanceof Iye)return bd({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 at&&t.value0 instanceof Tye)return bd({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 at&&t.value0 instanceof tD)return Lye(e.schools)(n);if(t instanceof at&&t.value0 instanceof Fye)return _x(dx(hx(new Qt(new Jcn(t.value0.value0)))))(function(){return bd({ecs:n.ecs,genderOption:n.genderOption,gpa:n.gpa,redirectUrlOverride:n.redirectUrlOverride,satMath:n.satMath,satVerbal:n.satVerbal,chancingIsLoading:!1})});if(t instanceof Qt)return bd(n);throw new Error("Failed pattern match at Guidance.LiteChancingCta (line 157, column 21 - line 183, column 15): "+[t.constructor.name])}}},Pye=b3,Ycn=function(e){return function(n){return ce([eR("t--lite-chancing-mobile-and-left-sidebar-extracurriculars d-flex"+(" flex-row justify-content-between align-items-center "+e.className))([jcn("mt-3")("Extracurriculars"),DH("")(vn(Si(n.ecActivities))(yH("t--lite-chancing-mobile-and-left-sidebar-add-ec")(Ls("Add extracurriculars"))({href:"#",onClick:Ncn(function(t){return function(){return Pcn(t)(),n.onStartEditing(t)}})})("+ add")))]),eR("mt-0 pb-3 mb-2")(gH(n.ecActivities)(function(t){return kcn("badge badge-soft-secondary bg-secondary-soft small mr-1"+(" t--lite-chancing-cta-left-sidebar-add-criteria-"+M_(av(t))))(Y(Ocn(av(t))))})),vn(Ucn(Si)(n.ecActivities))(DH("card bg-white border-dashed")(eR("card-body "+e.className)([Y("To add more ECs & see chances for 1,500 schools, "),yH("t--lite-chancing-mobile-and-left-sidebar-create-a-profile")(Fr)({href:Ee(Pye)(e.redirectUrlOverride)})("create a full profile")]))),kI("mb-2")("")])}};var kye=function(e){return function(n){return function(t){return t({redirectUrl:Ee(Pye)(e.redirectUrlOverride),ecSelector:function(a){return hye({extracurriculars:e.ecs,compactView:!0,onChange:function(r){return function(){return n(new at(new Sye(r)))(),a.onChange()}},maxActivities:new d(1),defaultView:new d(Ycn({redirectUrlOverride:e.redirectUrlOverride,className:a.className})),featureFlags:{showGenerateEcDescription:!1}})},genderDropdown:function(a){return w3("t--lite-chancing-cta-gender gender-dropdown w-100")({toggleClass:"btn btn-outline-secondary mw-100 text-truncate "+a.className,toggleContent:Y(Mye(e.genderOption)),contentId:"gender-dropdown-options-1",content:function(r){return Hcn(r.className+" dropdown-menu shadow")({id:r.contentId})(gH(qcn)(function(o){return Bcn("hover-bg-light")(yH("btn btn-link text-body d-block text-left t--lite-chancing-cta-gender-option")(Fr)({onClick:gx(function(){return n(new at(new Cye(o)))(),a.onChange()})})(Mye(o)))}))},ariaLabelInput:Ls("Gender dropdown")})},gpaSlider:function(a){return Vcn({gpa:e.gpa,className:a.className,onChange:SH(n)(function(r){return at.create(Eye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(e.gpa)})},requestChances:n(new at(tD.value)),satMathScoreSlider:function(a){return xye({score:e.satMath,onChange:SH(n)(function(r){return at.create(Iye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(Br(e.satMath)),className:a.className,ariaLabelPartial:"math"})},satVerbalScoreSlider:function(a){return xye({score:e.satVerbal,onChange:SH(n)(function(r){return at.create(Tye.create(r))}),onFinalChange:gx(function(){return n(new at(tD.value))(),a.onChange()}),label:a.label(Br(e.satVerbal)),className:a.className,ariaLabelPartial:"verbal"})}})}}};var CH=function(){function e(){}return e.value=new e,e}(),IH=function(){function e(){}return e.value=new e,e}(),TH=function(){function e(){}return e.value=new e,e}(),FH=function(){function e(){}return e.value=new e,e}(),MH=function(){function e(){}return e.value=new e,e}();var aD=function(e){if(e instanceof CH)return"much lower than average";if(e instanceof IH)return"lower than average";if(e instanceof TH)return"about average";if(e instanceof FH)return"above average";if(e instanceof MH)return"among the highest";throw new Error("Failed pattern match at Common.Quintile (line 28, column 15 - line 33, column 28): "+[e.constructor.name])},Rd=function(e){if(e<.2)return CH.value;if(e<.4)return IH.value;if(e<.6)return TH.value;if(e<.8)return FH.value;if(xe)return MH.value;throw new Error("Failed pattern match at Common.Quintile (line 19, column 1 - line 19, column 37): "+[e.constructor.name])};var Xcn=g0(W)()(),Zcn=Z(J),Kcn=Mr(W)()(),esn=ca(pr),GH=ta(L),nsn=K(Nv),tsn=z(em),Oye=B(W),Uye=Du(L),Hye=B(ae),asn=_i(ae)()(),rsn=en(L),osn=en(W),Bye=B(L);var isn=gr($a),usn=function(e){return function(n){var t=function(a){if(n instanceof _N)return Xcn(a)(Fr)({href:ile(Zcn(n.value0)(function(r){return{slug:r.slug,tab:Zi.value}}))});if(n instanceof Kue)return Kcn(a)(Fr)({onClick:esn(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)([GH("material-symbol mr-2")("tune"),Y(" Simulate chances")])}},Jye=usn("btn btn-outline-primary d-flex align-items-center justify-content-center px-4"),wd=function(e){var n=B(e);return function(t){var a=B(t);return function(r){return ce(WD(nsn(r)(function(o){return tsn([Oye("row align-items-center")([n("col text-nowrap")(o.title),a("col-auto font-weight-semibold")(o.value)]),Ba("")])})))}}},rD=function(e){return B(e)("t--subtitle")},lsn=rD(W),nR=function(e){var n=Jh(e);return function(t){return function(a){return lsn([ce(n(t)),Y(" "),Uye("text-secondary")(a)])}}},Wye=function(e){var n=B(e);return function(t){return function(a){return function(r){return Oye("row "+a)([Hye("col-auto")(GH(r+(" fe large fe-"+t.icon))("")),n("col pl-0")(t.body)])}}}},AH=function(e){var n=Wye(e);return function(t){return n(t)("mb-3")("")}},qye=function(e){var n=Wye(e);return function(t){return n(t)("mb-4")("text-secondary font-weight-bold fw-bold")}},zye="bg-very-light-grey d-inline-block rounded-pill border small mr-2 mb-2 py-2 px-3",OI=function(e){return function(n){return Hye(zye)(asn({placement:Us,overlay:rsn("text-secondary")(n),overlayStyle:fn({width:"15rem"})})(osn("d-inline-flex align-items-center")([Y(e),GH("d-inline-block fe fe-help-circle ml-2 text-secondary")("")])))}},pl=Bye(zye);var Xa=function(e){return Bye("x-large "+e)};var Rx=function(e){if(e.totalUndergrads<200)return"fewer than 200";if(xe)return Fs(isn(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 wx=Uye("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 csn=ta(ae),ssn=g0(ae)()(),tR=function(){function e(){}return e.value=new e,e}(),xH=function(){function e(){}return e.value=new e,e}(),UI=function(){function e(){}return e.value=new e,e}(),N0=function(e){return function(n){var t=function(o){return csn("fe fe-external-link "+o)(un)},a=OM(n),r=Ee(a.siteName)(e.text);return ssn(e.className)(Ls(r))({href:a.url,target:"_blank",rel:"noopener"})(function(){if(e.icon instanceof tR)return Y(r);if(e.icon instanceof xH)return ce([t("mr-1 large"),Y(r)]);if(e.icon instanceof UI)return ce([Y(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])}())}},$ye=function(){return N0({className:"text-body mt-1 d-inline-block",icon:tR.value,text:C.value})}();var psn=B(W),_sn=xa(L)()(),NH=function(e){return e.chancing.endorsed?un:psn("my-1 ml-1 small text-gray-800")([Y("Chancing is not endorsed by "),Y(e.name),Y("."),Je(e.chancing.moreInfoLink)(function(n){return ce([Y(" If interested in applying, learn more about "),_sn("")({href:n})("how to prepare ")])})])};var PH=Z(J),Qye=Mr(L)()(),kH=Gn(pt),Ssn=Mr(ae)()(),Esn=B(W),Yye=en(L);var Sd=function(){function e(){}return e.value=new e,e}(),aR=function(){function e(){}return e.value=new e,e}(),rR=function(){function e(){}return e.value=new e,e}(),Ed=function(){function e(){}return e.value=new e,e}(),oR=function(){function e(){}return e.value=new e,e}(),iR=function(){function e(){}return e.value=new e,e}(),uR=function(){function e(){}return e.value=new e,e}(),lR=function(){function e(){}return e.value=new e,e}(),Cd=function(){function e(){}return e.value=new e,e}(),Xye={to:function(e){if(e instanceof H)return Sd.value;if(e instanceof p&&e.value0 instanceof H)return aR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof H)return rR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof H)return Ed.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof H)return oR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof H)return iR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof H)return uR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof H)return lR.value;if(e instanceof p&&e.value0 instanceof p&&e.value0.value0 instanceof p&&e.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0 instanceof p&&e.value0.value0.value0.value0.value0.value0.value0 instanceof p)return Cd.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 Sd)return new H(fe.value);if(e instanceof aR)return new p(new H(fe.value));if(e instanceof rR)return new p(new p(new H(fe.value)));if(e instanceof Ed)return new p(new p(new p(new H(fe.value))));if(e instanceof oR)return new p(new p(new p(new p(new H(fe.value)))));if(e instanceof iR)return new p(new p(new p(new p(new p(new H(fe.value))))));if(e instanceof uR)return new p(new p(new p(new p(new p(new p(new H(fe.value)))))));if(e instanceof lR)return new p(new p(new p(new p(new p(new p(new p(new H(fe.value))))))));if(e instanceof Cd)return new p(new p(new p(new p(new p(new p(new p(new p(fe.value))))))));throw new Error("Failed pattern match at Sem.SchoolDetails.Edit.Section (line 53, column 1 - line 53, column 34): "+[e.constructor.name])}},Zye=function(e){return!(e instanceof Cd)},OH=function(e){if(e instanceof Sd)return"Basic Info";if(e instanceof rR)return"Admissions";if(e instanceof Ed)return"Costs";if(e instanceof oR)return"Enrollment";if(e instanceof iR)return"Application Requirements";if(e instanceof uR)return"Academic Offerings";if(e instanceof lR)return"Chancing";if(e instanceof aR)return"Header Image";if(e instanceof Cd)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])},qI=function(e){if(e instanceof Sd)return"basic";if(e instanceof rR)return"admissions";if(e instanceof Ed)return"costs";if(e instanceof oR)return"enrollment";if(e instanceof iR)return"admission-requirements";if(e instanceof uR)return"academic-offerings";if(e instanceof lR)return"chancing";if(e instanceof aR)return"header-image";if(e instanceof Cd)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])},UH=function(e){return Ls("Edit "+OH(e))},Kye=function(e){return function(n){return function(t){return PH(e)(function(a){return Qye("btn btn-outline-primary t--text-edit-"+qI(n))(UH(n))({onClick:kH(a)(n)})(t)})}}},ebe=function(e){return function(n){return PH(e)(function(t){return Ssn("btn btn-outline-primary t--edit-"+qI(n))(UH(n))({onClick:kH(t)(n)})(Esn("d-flex align-content-center")([Yye("material-symbol x-large")("edit"),Yye("ml-2")("Edit")]))})}},di=function(e){return function(n){return PH(e)(function(t){return Qye("btn btn-link p-0 material-symbol x-large t--edit-"+qI(n))(UH(n))({onClick:kH(t)(n)})("edit")})}};var Csn=_e(xt(YK)),Isn=Hn(Mn)(Le),Tsn=Xr(Fo),Fsn=uc(Te)(k2),nbe=K(Le),Msn=z(On),gv=B(W),tbe=It(L),Gsn=Du(L),abe=en(L),rbe=B(ae),obe=Yn(L)()(),Asn=ta(L),xsn=Kn(L),Lsn=N(ge),HH=function(e){var n=Csn(e.school.appGroup)(new d(ZK)),t=function(){if(e.school.admissions.reqClassRank instanceof C||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof fi)return!1;if(e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Ml||e.school.admissions.reqClassRank instanceof d&&e.school.admissions.reqClassRank.value0 instanceof Ic)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=Ee(Ml.value)(e.school.admissions.reqStandardTests),r=ce([ma(Isn(Tsn(Fsn(a)([Ml.value,Ic.value])))(function(){return nbe(e.school.admissions.fracSubmittedSat)(function(o){return nbe(e.school.admissions.fracSubmittedAct)(function(i){return Msn(gv("row mb-4")([gv("col-12 text-nowrap mb1")([gv("d-flex align-items-center mb-4")([tbe("mr-2 mb-0")("Tests typically submitted"),Gsn("")(`
                      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.
                    `)]),gv("")([Y("SAT: "),abe("font-weight-semibold")(La(o))]),rbe("progress progress-md mt-3 mt-2")(obe("progress-bar")({style:fn({width:uE(o)})})("")),Ba(""),gv("")([Y("ACT: "),abe("font-weight-semibold")(La(i))]),rbe("progress progress-md mt-3")(obe("progress-bar")({style:fn({width:uE(i)})})(""))])]))})})})),gv("d-flex align-items-center")([Asn("fe fe-info large pr-2")(""),gv("")([Y(" Policies can change. Please confirm by looking at "),N0({className:"",icon:tR.value,text:new d("this school\u2019s website.")})(e.school.urls.main)])])]);return gv("card")([gv("card-body")([gv("d-flex align-items-center justify-content-between mb-4")([xsn("my-0 mr-3 flex-grow-1")("Applications"),ma(di(e.onEdit)(iR.value))]),tbe("mb-4")("How to apply"),gv("mb-4")(Lsn(pl)([function(){return n?"Accepts Common App":"Doesn\u2019t accept Common App"}(),kee(a),function(){var o=Ee(Ml.value)(e.school.admissions.reqRecLetters);if(o instanceof fi)return"Rec letters not used";if(o instanceof Ml)return"Rec letters optional";if(o instanceof Ic)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=Ee(Ml.value)(e.school.admissions.reqToefl);if(o instanceof fi)return"TOEFL not used (international applicants)";if(o instanceof Ml)return"TOEFL optional (international applicants)";if(o instanceof Ic)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])])},ibe=function(e){return HH(e)};var ube=gr($a),jsn=Jo(w6()(KT({reflectSymbol:function(){return"p25"}})()(KT({reflectSymbol:function(){return"p75"}})()(R6)(Yu))(Yu))),Wi=B(W),Id=B(ae),lbe=It(L),Dv=Vn(L),cbe=qn(Pa),sbe=N(J),Sx=Is(L),Nsn=function(e){return ube(e.p25+e.p75|0)(2)},fbe=function(e){if(e instanceof d)return La(e.value0);if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 131, column 37 - line 133, column 28): "+[e.constructor.name])},BH=function(e){return Ih(",")("")(e)},cR=function(e){if(e instanceof d)return BH(Fs(e.value0.p25)+(" - "+Fs(e.value0.p75)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 136, column 33 - line 138, column 28): "+[e.constructor.name])},Psn=function(e){return function(n){return Nsn(jsn(e)(n))}},ksn=function(e){return function(n){return{p25:e.p25+n.p25|0,p75:e.p75+n.p75|0}}},Osn=ce([Wi("row")([Id("col-12 col-md-7")(Ir(L)("my-5")("Wondering your admission chance to this school? Calculate your chance now")),Id(" col-12 col-md-5 my-4")(FG()({text:"Calculate your admission chance",className:"btn btn-primary btn-block"}))])]),Usn=function(e){if(e instanceof d)return BH(Fs(ube(e.value0.p25+e.value0.p75|0)(2)));if(e instanceof C)return"Not Reported";throw new Error("Failed pattern match at SchoolDetails.AdmissionRequirements (line 126, column 36 - line 128, column 28): "+[e.constructor.name])},Hsn=function(e){var n=function(t){return Id("card bg-white")(Wi("card-body")(t))};return Id("row")(Wi("col-12")([n([lbe("")("SAT"),Wi("row")([Wi("col col-md-6")([Dv("")("Average SAT "),Xa("")(BH(Oe("Not Reported")(Fs)(cbe(sbe(Psn)(e.admissions.satMath))(e.admissions.satVerbal))))]),Wi("col col-md-6")([Dv("")("SAT 25th-75th"),Xa("")(cR(cbe(sbe(ksn)(e.admissions.satMath))(e.admissions.satVerbal)))])]),Wi("row")([Wi("col col-md-6")([Dv("mt-5")("Students Submitting SAT"),Xa("")(fbe(e.admissions.fracSubmittedSat))])]),Wi("row")([Wi("col col-md-6")([Dv("mt-5")("Math"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(cR(e.admissions.satMath))]),Wi("col col-md-6")([Dv("mt-5 text-nowrap")("Reading and Writing"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(cR(e.admissions.satVerbal))])])]),n([lbe("")("ACT"),Wi("row")([Wi("col col-md-6")([Dv("")("Average ACT"),Xa("")(Usn(e.admissions.actComposite))]),Wi("col col-md-6")([Dv("")("ACT 25th-75th"),Xa("")(cR(e.admissions.actComposite))])]),Id("row")(Wi("col col-md-6")([Dv("mt-5")("Students Submitting ACT"),Xa("")(fbe(e.admissions.fracSubmittedAct))])),Wi("row")([Wi("col col-md-6")([Dv("mt-5")("Math"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(cR(e.admissions.actMath))]),Wi("col col-md-6")([Dv("mt-5")("English"),Sx("text-muted")("Average (25th - 75th)"),Xa("")(cR(e.admissions.actVerbal))])])])]))},Bsn=function(e){return Id("card")(Wi("card-body")([Dv("")("Acceptance Rate"),Xa("")(Oe("Not reported")(function(n){return La(function(t){return t.value}(n))})(e.admissions.acceptanceRate))]))},Jsn=function(e){return Id("row")(Id("col-12")(Bsn(e)))},vbe=function(e){return ce([Jsn(e.school),Hsn(e.school),Osn,HH(e)])};var Wsn=en(L),qsn=re(QM),JH=function(e){var n=function(t){return function(a){return Wsn("badge font-weight-bold fw-bold py-2 "+t)(a)}};if(e.strategy instanceof Ka&&e.testPolicy instanceof d&&e.testPolicy.value0 instanceof fi)return n("badge-apply-test-optional")("Test-blind admissions");if(e.testPolicy instanceof d&&e.testPolicy.value0 instanceof fi)return Lo(Xo)("Received strategy, "+(qsn(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 Ka)return n("badge-apply-test-optional")("Apply test optional");if(e.strategy instanceof wr&&e.satOrigin instanceof d&&e.satOrigin.value0 instanceof ey)return n("badge-apply-with-sat")("Apply with SAT (projected from PSAT)");if(e.strategy instanceof wr)return n("badge-apply-with-sat")("Apply with SAT");if(e.strategy instanceof qr)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 zsn=N(Yf),$sn=qn(Pa),Vsn=N(J),WH=B(ae),mbe=B(W),pbe=It(L),Qsn=Cs(ae)()(),qH=en(L),_be=re(ze),dbe=ta(L),Ysn=on(),hbe=Z(J),Xsn=Z(Yf);var zH=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gbe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),$H=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),sR=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}(),fR=function(){function e(){}return e.value=new e,e}(),vR=function(){function e(){}return e.value=new e,e}(),mR=function(){function e(){}return e.value=new e,e}(),Zsn=function(e){return e};var Ex={map:function(e){return function(n){return zsn(function(t){return{regular:e(t.regular),simulated:e(t.simulated)}})(n)}}},Dbe=function(e){return ZS(function(n){return $sn(Vsn(function(t){return function(a){return a-t|0}})(n.regular.score))(n.simulated.score)})(e)},zI=function(e){return WH("card")(WH("card-body")(mbe("row")([WH("col-8 "+function(){return e.narrowLayout?"":"order-1"}())(pbe("")("Chancing for this school is coming soon")),mbe("col-4 order-md-0 d-flex flex-column align-items-center "+function(){return e.narrowLayout?"":"order-0"}())([Qsn("")({viewBox:"-100 -100 200 100"})($b({center:{x:0,y:0},angle0:0,angle1:$v,innerRadius:50,outerRadius:90,fill:"#EDF2F9",stroke:{color:"#EDF2F9",width:1}})),pbe("text-muted mt-2")("N/A")])])))};var Cx=function(e){if(e instanceof zH)return new d(e.value0);if(e instanceof gbe)return ho(e.value0);if(e instanceof $H)return new d(Ee(e.value0.regular)(ho(e.value0.simulated)));throw new Error("Failed pattern match at Hub.Chancing (line 52, column 19 - line 55, column 101): "+[e.constructor.name])};var ybe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return qH("text-success "+e)("+"+(_be(t.value0)+"%"));if(t instanceof zt&&t.value0<0)return qH("text-danger "+e)("-"+(_be(-t.value0|0)+"%"));if(t instanceof zt)return un;if(t instanceof Ra)return un;if(t instanceof or)return qH("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])}(Dbe(n))}},bbe=function(e){return function(n){return function(t){if(t instanceof zt&&t.value0>0)return dbe("fe fe-arrow-up text-success "+e)("");if(t instanceof zt&&t.value0<0)return dbe("fe fe-arrow-down text-danger "+e)("");if(t instanceof zt)return un;if(t instanceof Ra)return un;if(t instanceof or)return un;throw new Error("Failed pattern match at Hub.Chancing (line 169, column 46 - line 174, column 25): "+[t.constructor.name])}(Dbe(n))}},Ix=function(e){var n=function(a){return function(r){if(e.chancingState.simulation instanceof d)return new sR(e.chancingState.simulation.value0.effectiveProfile,new $H({regular:r,simulated:e.chancingState.simulation.value0.results(e.school.id)}));if(e.chancingState.simulation instanceof C)return new sR(Ysn(a),new zH(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 Lo(Xo)("Both chancing data and profile are present, but chancing result is absent")({schoolId:e.school.id})(function(r){return mR.value})};if(!e.school.chancing.canChance)return mR.value;if(e.currentUser instanceof C||e.chancingState.permanentProfile instanceof C)return vR.value;if(e.chancingState.permanentProfile instanceof d){if(e.chancingState.chances instanceof Ra)return t(Ce);if(e.chancingState.chances instanceof or&&e.chancingState.chances.value0 instanceof C)return fR.value;if(e.chancingState.chances instanceof or&&e.chancingState.chances.value0 instanceof d)return Ee(fR.value)(hbe(e.chancingState.chances.value0.value0(e.school.id))(n(e.chancingState.permanentProfile.value0)));if(e.chancingState.chances instanceof zt)return aF(t)(hbe(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])},Tx=function(e){return Zsn(function(n){if(n instanceof zH)return Ra.value;if(n instanceof gbe)return Ra.value;if(n instanceof $H)return Xsn(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 Ksn=N(ge),efn=Vn(L),Rbe=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 y_)return a;if(e instanceof rg||e instanceof og)return n;if(e instanceof ig)return t;throw new Error("Failed pattern match at SchoolDetails.Chancing.Classification (line 17, column 18 - line 21, column 38): "+[e.constructor.name])}();return ce(Ksn(efn(""))(r))};var pR=B(ae),VH=ta(L),nfn=Yn(L)()(),tfn=gr($a),afn=Pt(Ur),rfn=qn(Pa),ofn=N(J),QH=B(W),ifn=en(W),ufn=en(L),lfn=Mr(W)()(),cfn=ca(pr),_R=pR("col-auto")(g0(W)()()("")(Fr)({href:Km})([VH("fe fe-edit-2")(""),Y(" edit")])),dR=function(e){if(e instanceof Tm)return"success";if(e instanceof Fm)return"primary";if(e instanceof Kf)return"warning";if(e instanceof Uc)return"secondary";throw new Error("Failed pattern match at SchoolDetails.Chancing.Common (line 109, column 17 - line 113, column 28): "+[e.constructor.name])},iD=function(e){return function(n){return function(t){return pR("progress progress-"+e)(nfn("progress-bar bg-"+n)({style:fn({width:uE(t)})})(""))}}},wbe=function(e){var n=function(t){return function(a){return tfn(t+a|0)(2)}};return{p25:e.p25,p75:e.p75,p50:afn(e.p50)(rfn(ofn(n)(e.p25))(e.p75))}},Td=function(e){return function(n){var t=dR(n),a=function(r){return function(o){return QH("d-flex large font-weight-bold fw-bold mb-3")([VH("mr-3 fe fe-"+(o+(" text-"+t)))(""),ifn("")([Y(e),ufn("text-"+t)(" \u2013 "+r)])])}};if(n instanceof Tm)return a("above average")("check-circle");if(n instanceof Fm)return a("about average")("thumbs-up");if(n instanceof Kf)return a("below average")("trending-down");if(n instanceof Uc)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])}},YH=function(e){if(e.expanded){var n=lfn("btn btn-link px-0 t--show-less")(Fr)({onClick:cfn(e.onCollapse)})([Y("show less "),VH("fe fe-chevron-up")("")]);return pR("card bg-very-light-grey mt-3")(QH("card-body "+e.card.testClass)([QH("row")([pR("col")(e.card.title),pR("col-auto d-none d-md-block")(n)]),e.card.content,pR("d-md-none d-flex justify-content-end mt-3")(n)]))}if(xe)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])},Sbe=function(e){return gt(e.p25)&&gt(e.p50)&&gt(e.p75)};var Ebe=B(W),Cbe=B(L),Ibe=Vn(W),Tbe=Ea(L),sfn=re(ze),ffn=xa(L)()(),Fbe=function(e){return function(n){var t=Ebe("row mb-2")([Cbe("col-auto pr-0 large")("Your coursework"),vn(e.showUpdateLinks)(_R)]),a=Ibe("")([Y("Coursework rigor is "),Tbe("")("very important"),Y(`
          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 ce([Tbe("")(sfn(Ee(0)(u))),Y(" "+(l+" "))])}},o=Cbe("mb-3 large font-weight-bold fw-bold text-"+dR(n.chances.courseRigorStrength))(function(){if(n.chances.courseRigorStrength instanceof Uc)return"";if(n.chances.courseRigorStrength instanceof Kf)return"Your coursework is below average for this school";if(n.chances.courseRigorStrength instanceof Fm)return"Your coursework is about average for this school";if(n.chances.courseRigorStrength instanceof Tm)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=Ibe("mb-0")([Y("Read about what "),ffn("")({href:"https://blog.collegevine.com/category/academics/choosing-classes/",target:"_blank"})("courses you should take"),Y(".")]);return{title:Td("Coursework")(n.chances.courseRigorStrength),testClass:"t--course-rigor",content:ce([t,Ebe("")([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 tu=function(){function e(){}return e.value=new e,e}(),au=function(){function e(){}return e.value=new e,e}(),Mbe={show:function(e){if(e instanceof tu)return"SAT";if(e instanceof au)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 Gbe=function(e){if(e instanceof tu)return au.value;if(e instanceof au)return tu.value;throw new Error("Failed pattern match at Chancing.Guidance.Types.StandardizedTest (line 24, column 1 - line 24, column 46): "+[e.constructor.name])};var vfn=Hr(Te)(ft),Abe=function(){function e(){}return e.value=new e,e}(),xbe=function(){function e(){}return e.value=new e,e}(),Lbe=function(e){return function(n){var t=function(){if(e instanceof Abe)return"and";if(e instanceof xbe)return"or";throw new Error("Failed pattern match at Utils.Text (line 26, column 24 - line 28, column 19): "+[e.constructor.name])}(),a=ZQ(n);return a.init.length===0?a.last:a.init.length===1?a.init[0]+(" "+(t+(" "+a.last))):vfn(", ")(a.init)+(", "+(t+(" "+a.last)))}},jbe=function(){return Lbe(Abe.value)}(),Nbe=function(){return Lbe(xbe.value)}();var Zs=oa(Te)(ft),Pbe=N(sm),Wu=re(ze),ru=z(On),Fx=re(nj),Mx=tm()(),kbe=Ri({reflectSymbol:function(){return"math"}}),yv=rs(ze),Obe=rs($i),bv=re(Mx(Ri({reflectSymbol:function(){return"act"}})(Ri({reflectSymbol:function(){return"courseRigor"}})(Ri({reflectSymbol:function(){return"ecActivities"}})(Ri({reflectSymbol:function(){return"ecScore"}})(Ri({reflectSymbol:function(){return"gpa"}})(Ri({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(as({reflectSymbol:function(){return"sat"}})(Mx(kbe(as({reflectSymbol:function(){return"readingWriting"}})(yv))(yv))))(yv))(Obe))(Obe))(wl(pj)))(Mx(Ri({reflectSymbol:function(){return"ap"}})(Ri({reflectSymbol:function(){return"collegeClasses"}})(as({reflectSymbol:function(){return"honors"}})(yv))(yv))(yv))))(Mx(Ri({reflectSymbol:function(){return"english"}})(kbe(Ri({reflectSymbol:function(){return"reading"}})(as({reflectSymbol:function(){return"science"}})(yv))(yv))(yv))(yv))))),uD=re(Mbe),mfn=dae(Aw)(VM),Fd=re(aj),hR=_e(tj(Z1)),Ube=re(yv),Gx=Z(J),pfn=xa(L)()(),_fn=It(L),dfn=Vn(ae),hfn=Vn(W),gfn=Ea(L),Dfn=function(e){return e},yfn=function(e){return e},XH=function(e){if(e instanceof tu)return wr.value;if(e instanceof au)return qr.value;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 551, column 18 - line 553, column 22): "+[e.constructor.name])},bfn=function(e){if(e instanceof wr)return"with SAT";if(e instanceof qr)return"with ACT";if(e instanceof Ka)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])},$I=function(e){return function(n){return Zs(["Your simulated chances of admission ",jbe(Pbe(bfn)(nY(e)(n)))," are very close."])}},Hbe=60,Rv=function(e){return function(n){return Lo(Xo)("SchoolDetails.Chancing.Guidance: Invalid state: "+e)(n)(function(t){return C.value})}},Bbe=3,VI=Du(L)("text-secondary ml-1")(Zs(["If your SAT or ACT scores fall within ",Wu(Hbe)," points of the 25th percentile score (SAT) or ",Wu(Bbe)," points of the 25th percentile score (ACT)"," for accepted students at a given college,"," then you should go ahead and submit them."])),Ax=function(e){return ce([Y(Zs([$I(Ka.value)(gh(XH(e.standardizedTest)))," But because your score ",Wu(e.actualScore)," is ",function(){if(e.recommendedStrategy instanceof wr||e.recommendedStrategy instanceof qr)return"higher";if(e.recommendedStrategy instanceof Ka)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 ",Wu(e.guidanceScore)])),VI,Y(Zs([", we recommend you apply ",function(){if(e.recommendedStrategy instanceof wr)return"with SAT";if(e.recommendedStrategy instanceof qr)return"with ACT";if(e.recommendedStrategy instanceof Ka)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])}(),"."]))])},Rfn=function(e){return function(n){return function(t){return function(a){var r=hj(n),o=F_(n);if(e instanceof d0&&e.value0 instanceof Im&&r instanceof d&&o instanceof d)return ru({title:"Applying test-optional should be best for you",body:ce([Y(Zs([$I(Ka.value)(i1(wr.value)([qr.value]))," But because your SAT score ",Wu(r.value0)," is lower than ",Wu(t)])),VI,Y(Zs([" and your ACT score ",Wu(o.value0)," is lower than ",Wu(a)])),VI,Y(", we recommend you apply test-optional.")])});if(e instanceof d0&&e.value0 instanceof Im)return Rv("\u2018Apply test optional too close with SAT + ACT\u2019 recommended but not both tests reported.")({guidance:Fx(e),profile:bv(n)});if(e instanceof d0&&r instanceof C&&o instanceof C)return Rv("\u2018Apply test optional too close with\u2026\u2019 recommended but no other tests reported.")({guidance:Fx(e),profile:bv(n)});if(e instanceof d0&&e.value0 instanceof Xf&&r instanceof d)return ru({title:"Applying test-optional should be best for you",body:Ax({standardizedTest:tu.value,actualScore:r.value0,guidanceScore:t,recommendedStrategy:Ka.value})});if(e instanceof d0&&e.value0 instanceof Xf&&r instanceof C)return Rv("\u2018Apply test optional (SAT too close)\u2019: No SAT reported.")({guidance:Fx(e),profile:bv(n)});if(e instanceof d0&&e.value0 instanceof Zf&&o instanceof d)return ru({title:"Applying test-optional should be best for you",body:Ax({standardizedTest:au.value,actualScore:o.value0,guidanceScore:a,recommendedStrategy:Ka.value})});if(e instanceof d0&&e.value0 instanceof Zf&&o instanceof C)return Rv("\u2018Apply test optional (ACT too close)\u2019: No ACT reported.")({guidance:Fx(e),profile:bv(n)});if(e instanceof vE&&r instanceof C&&o instanceof C)return ru({title:"Applying test-optional should be best for you",body:Y(Zs(["You\u2019re good to apply without a test score."," If you later decide to take a test, a score of ",Wu(t),"+ for SAT or ",Wu(a),"+ for ACT will make your chance higher at this school."]))});if(e instanceof vE)return ru({title:"Applying test-optional should be best for you",body:Y(Zs(["Your simulated chances of admission with a test-optional"," application are significantly higher than with ",function(){if(r instanceof d&&o instanceof d)return"SAT and ACT";if(r instanceof d&&o instanceof C)return"SAT";if(r instanceof C&&o instanceof d)return"ACT";if(r instanceof C&&o instanceof C)return fc("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])}}}},wfn=function(e){return function(n){return function(t){return function(a){var r=function(f){return"Applying with "+(uD(f)+" should be best for you")},o=function(f){return ce([Y(Zs([Jv($I)(function(){return f.includeTestOptional?new Ue(Ka.value,i1(wr.value)([qr.value])):new Ue(XH(f.stronger.test),Pbe(XH)(gh(f.weaker.test)))}())," But because your ",uD(f.stronger.test)," score ",Wu(f.stronger.actualScore)," is higher than ",Wu(f.stronger.guidanceScore)])),VI,Y(Zs([" and your ",uD(f.weaker.test)," score ",Wu(f.weaker.actualScore)," is lower than ",Wu(f.weaker.guidanceScore)])),VI,Y(Zs([", we recommend you apply with ",uD(f.stronger.test),"."]))])},i=hj(n),u=F_(n),l=function(f){return function(v){return mfn(i1(f)([v]))}},c=function(f){return"Your simulated chances of admission with "+(uD(f)+(" are significantly higher than with a test-optional"+(" application and with "+(uD(Gbe(f))+"."))))},s=function(f){return Y("Your simulated chances of admission with "+(uD(f)+" are significantly higher than with a test-optional application."))};if(e instanceof Oc&&e.value0 instanceof Im&&i instanceof d&&u instanceof d)return ru({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Wr(" ")([$I(Ka.value)(i1(wr.value)([qr.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 Oc&&e.value0 instanceof Im)return Rv("\u2018Apply with tests: SAT + ACT + test-optional too close\u2019 recommended but not both tests reported.")({guidance:Fd(e),profile:bv(n)});if(e instanceof Gs&&e.value0 instanceof Im&&i instanceof d&&u instanceof d)return ru({title:"You can apply with either SAT or ACT, or submit both of them",body:Y(Wr(" ")([$I(wr.value)(gh(qr.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 Gs&&e.value0 instanceof Im)return Rv("\u2018Apply with tests: SAT + ACT too close\u2019 recommended but not both tests reported.")({guidance:Fd(e),profile:bv(n)});if(e instanceof Oc&&i instanceof C&&u instanceof C)return Rv("\u2018Apply with tests: [test] strongest (test-optional and [test] too close)\u2019 recommended but no tests reported.")({guidance:Fd(e),profile:bv(n)});if(e instanceof Oc&&e.value0 instanceof Xf&&i instanceof d&&hR(e.value1)(K1(Ka.value)))return ru({title:r(tu.value),body:Ax({standardizedTest:tu.value,actualScore:i.value0,guidanceScore:t,recommendedStrategy:wr.value})});if(e instanceof Oc&&e.value0 instanceof Zf&&u instanceof d&&hR(e.value1)(K1(Ka.value)))return ru({title:r(au.value),body:Ax({standardizedTest:au.value,actualScore:u.value0,guidanceScore:a,recommendedStrategy:qr.value})});if(e instanceof Oc&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d&&hR(e.value1)(l(qr.value)(Ka.value)))return ru({title:r(tu.value),body:o({stronger:{test:tu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:au.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!0})});if(e instanceof Oc&&e.value0 instanceof Zf&&i instanceof d&&u instanceof d&&hR(e.value1)(l(wr.value)(Ka.value)))return ru({title:r(au.value),body:o({stronger:{test:au.value,actualScore:u.value0,guidanceScore:a},weaker:{test:tu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!0})});if(e instanceof Oc&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d&&hR(e.value1)(K1(qr.value)))return ru({title:r(tu.value),body:o({stronger:{test:tu.value,actualScore:i.value0,guidanceScore:t},weaker:{test:au.value,actualScore:u.value0,guidanceScore:a},includeTestOptional:!1})});if(e instanceof Oc&&e.value0 instanceof Zf&&i instanceof d&&u instanceof d&&hR(e.value1)(K1(wr.value)))return ru({title:r(au.value),body:o({stronger:{test:au.value,actualScore:u.value0,guidanceScore:a},weaker:{test:tu.value,actualScore:i.value0,guidanceScore:t},includeTestOptional:!1})});if(e instanceof Oc)return Rv(Zs(["\u2018Apply with tests: \u2026 too close\u2019: Unknown state:"," guidance: ",Fd(e),", SAT: ",Ube(i),", ACT: ",Ube(u),", SAT guidance: ",Wu(t),", ACT guidance: ",Wu(a)]))({guidance:Fd(e),profile:bv(n)});if(e instanceof Gs&&i instanceof C&&u instanceof C)return Rv("\u2018Apply with tests: [test] strongest\u2019 recommended but no tests reported.")({guidance:Fd(e),profile:bv(n)});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof d&&u instanceof d)return ru({title:r(tu.value),body:Y(c(tu.value))});if(e instanceof Gs&&e.value0 instanceof Zf&&i instanceof d&&u instanceof d)return ru({title:r(au.value),body:Y(c(au.value))});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof d&&u instanceof C)return ru({title:r(tu.value),body:s(tu.value)});if(e instanceof Gs&&e.value0 instanceof Xf&&i instanceof C&&u instanceof d)return Rv("\u2018Apply with tests: SAT strongest\u2019 recommended but ACT test reported.")({guidance:Fd(e),profile:bv(n)});if(e instanceof Gs&&e.value0 instanceof Zf&&i instanceof C&&u instanceof d)return ru({title:r(au.value),body:s(au.value)});if(e instanceof Gs&&e.value0 instanceof Zf&&i instanceof d&&u instanceof C)return Rv("\u2018Apply with tests: ACT strongest\u2019 recommended but SAT reported.")({guidance:Fd(e),profile:bv(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])}}}},Sfn=function(e){return function(n){return function(t){var a=Gx(Gx(t.sat.p25)(function(o){return o-Hbe|0}))(Dfn),r=Gx(Gx(t.act.p25)(function(o){return o-Bbe|0}))(yfn);if(a instanceof d&&r instanceof d){if(e instanceof rj)return Rfn(e.value0)(n)(a.value0)(r.value0);if(e instanceof oj)return wfn(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 ru({title:"We\u2019re still collecting detailed guidance data\u2026",body:ce([Y("Learn more about the "),pfn("")({href:"https://blog.collegevine.com/test-optional-coronavirus-policies"})("best test optional strategy recommendation"),Y(".")])})}}},Jbe=function(e){return function(n){return function(t){var a=Sfn(e)(n)(t);return Je(a)(function(r){return ce([_fn("")("Recommendation: "+r.title),dfn("")(r.body),function(){var o=IE(n);if(o instanceof d&&o.value0 instanceof ey)return hfn("")([gfn("")("Note:"),Y(" "),Y("Your SAT score is projected based on your PSAT score.")]);if(o instanceof d&&o.value0 instanceof _E)return un;if(o instanceof C)return un;throw new Error("Failed pattern match at SchoolDetails.Chancing.Guidance (line 38, column 9 - line 48, column 20): "+[o.constructor.name])}()])})}}};var Efn=Mr(W)()(),Cfn=Gn(pt),Wbe=_e(X_),Ifn=ta(L),qbe=B(W),Tfn=Is(L),QI=Vn(L),zbe=It(L),Ffn=Ir(L),$be=B(ae),Mfn=B(L),YI=function(e){var n=function(a){return Efn("btn btn-link p-0 ml-2 d-flex align-items-center")(Fr)({onClick:Cfn(a.value1)(C0(a.value0))})([Y(function(){var r=Wbe(a.value0)(er.value);return r?"show less ":"show more "}()),Ifn("fe fe-chevron-"+function(){var r=Wbe(a.value0)(er.value);return r?"up":"down"}())("")])},t=function(a){return qbe("card-body pb-3")([Tfn("text-uppercase text-secondary")("Learn about chancing"),QI("")("Colleges evaluate profiles using both academic and holistic reasons."),zbe("my-2")("We evaluate your profile like colleges do, considering all factors."),QI("")("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)."),zbe("my-2")("Academics are more than just grades, which we take into account."),QI("")("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."),Ba("border-gray-500"),Ffn("")("How does the chancing calculator help me without counting in all the holistic factors?"),QI("")("You can use it as your baseline for building school lists, improving your profile, and coming up with application strategies."),QI("")("We also have tools and resources that can assist with writing essays and improving other holistic aspects."),Je(a)(function(r){return $be("d-flex justify-content-end")(n(r))})])};return $be("card bg-light t--sidebar")(function(){return e.mobileLayout?S1(ua(Ya.value))(function(a){var r=ci(a);if(r instanceof Ya)return qbe("card-body pb-3 d-flex align-items-center justify-content-between")([Mfn("small font-weight-bold fw-bold")("Learn how your chances are calculated"),n(a)]);if(r instanceof er)return t(new d(a));throw new Error("Failed pattern match at SchoolDetails.Chancing.Sidebar (line 14, column 49 - line 21, column 34): "+[r.constructor.name])}):t(C.value)}())};var Vbe=yn(Dn),wv=gn(Vbe)(pn(mn)),Qbe=dn(_n),Sv=hn(Qbe),Ybe=wn(Rn),Ev=bn(Ybe),Gfn=Z(J),Afn=yf(Te),xfn=_e(As),Lfn=f0(W),jfn=B1(ae),Xbe=c0(W),ZH=J1(L),Nfn=s0(W),Pfn=Z(ge),kfn=Cl(iu),Ofn=Es(L),Ufn=Es(W),Zbe=en(L),Hfn=Es(ae),Bfn=B(W),Jfn=B(L),Wfn=function(){var e=Sn(G_)(wv(wv(wv(wv(wv(wv(wv(wv(wv(wv(wv(Vbe)(Qbe))(Sv))(Sv))(Sv))(Sv))(Sv))(Sv))(Sv))(Sv))(Sv))(Sv))(Ev(Ev(Ev(Ev(Ev(Ev(Ev(Ev(Ev(Ev(Ev(Ybe))))))))))))(Sv),n=st(da(e));return lc(bf)(function(t){return function(a){return{tier:a,strength:1-st(t)/n}}})(e)}(),Kbe=function(e){return function(n){return function(t){var a=function(c){return Ee(0)(Gfn(Afn(function(s){return xfn(s.tier)(c)})(Wfn))(function(s){return s.strength}))},r=Lfn("table border border-light border-3")([jfn("")(Xbe("")([ZH("")("Activity"),ZH("")("Tier"),ZH("")("Strength")])),Nfn("bg-white")(Pfn(kfn(function(c){return-a(Hl(c))})(n.ecActivities))(function(c){return Xbe("")([Ofn("")(A_(c)),Ufn("")([Zbe("d-none d-md-inline")(ay(Hl(c))),Zbe("d-md-none")(fj(Hl(c)))]),Hfn("pt-4")(iD("sm")("primary")(a(Hl(c))))])}))]),o=Si(n.ecActivities),i=function(){if(o)return Uc.value;if(xe)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 Kf)return Y("A typical student from your demographic background at this school has a stronger resume.");if(i instanceof Fm)return Y("A typical student from your demographic background at this school has a similar resume.");if(i instanceof Tm)return Y("Your resume is more impressive than that of a typical student from your demographic background at this school.");if(i instanceof Uc)return un;throw new Error("Failed pattern match at SchoolDetails.Extracurriculars (line 63, column 26 - line 71, column 16): "+[i.constructor.name])}(),l=Bfn("row mb-2")([Jfn("col-auto pr-0 font-weight-bold fw-bold")(function(){return o?"You haven't entered any extracurriculars":"Your extracurricular resume"}()),vn(e.showUpdateLinks)(_R)]);return{title:Td("Extracurriculars")(i),testClass:"t--extracurriculars",content:ce([l,vn(!o)(r),u])}}}};var XI=function(e){var n=yr(e);return n.length===0?C.value:new d(ce(n))};var eRe=K(Le),nRe=z(On),tRe=nR(L),qfn=Cs(W)()(),ZI=B(ae),KH=re(ze),aRe=gr($a),lD=B(W),rRe=It(L),oRe=wd(L)(L),iRe=en(L),zfn=Yn(L)()(),$fn=qn(Pa),gR=N(J),Vfn=oa(Te)(ft),Qfn=N(Iu),Yfn=on(),Xfn=Kn(L),Zfn=function(e){var n=function(t){return aD(Rd(function(a){return a.percentile}(t)))};return eRe(e.admissions.yieldRate)(function(t){return nRe(ce([tRe("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, `+(La(t.value)+(" is "+(n(t)+`.
        `)))),Xa("mr-1")(La(t.value))]))})},uRe=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(xe)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}},DR=function(e){var n=function(r){return function(o){return function(i){return $b({center:{x:0,y:0},angle0:r,angle1:o,innerRadius:50,outerRadius:90,fill:i,stroke:{color:"#EDF2F9",width:4}})}}},t=ma(eRe(e.score)(function(r){var o=$v*(1-st(r)/100);return nRe(n(o)($v)("#008CFD"))})),a=n(0)($v)("#EDF2F9");return qfn("")({viewBox:"-100 -100 200 100"})([a,t])},Kfn=function(e){return ZI("t--admissions-website")(N0({className:"d-flex align-items-center",icon:xH.value,text:C.value})(Ee(e.urls.main)(e.urls.admissions)))},eB=function(e){var n=function(o){return function(i){var u=function(l){return KH(aRe(l(i)*100|0)(l(o)))+"%"};return lD("mb-4")([rRe("mb-4")("Acceptance rate breakdown"),oRe([{title:"Women",value:u(function(l){return l.women})},{title:"Men",value:u(function(l){return l.men})}])])}},t=function(o){return ce([rRe("mb-4")("Applicant breakdown"),oRe([{title:"Total number of applicants",value:Fs(o.value)}])])},a=function(o){var i=o.women+o.men|0,u=aRe(o.women*100|0)(i),l=KH(100-u|0)+"%",c=KH(u)+"%";return ce([lD("row mb-3")([lD("col")([Y("Women: "),iRe("font-weight-semibold")(c)]),lD("col-auto")([Y("Men: "),iRe("font-weight-semibold")(l)])]),ZI("progress progress-md bg-warning")(zfn("progress-bar")({style:fn({width:c})})(""))])},r=yr([$fn(gR(n)(e.admissions.applicants))(e.admissions.admitted),gR(t)(e.admissions.totalApplicants),gR(a)(e.admissions.applicants)]);return r.length===0?C.value:new d(ce(r))},cD=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(xe)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=Oe("")(function(a){return Vfn([La(a.value)," is ",n(a.value),"."])})(e.admissions.acceptanceRate);return _0(UM.value)+t},lRe=function(e){return function(n){var t=function(r){return ce([tRe("Overall acceptance rate")(cD(n)),Xa("mr-1")(La(r.value))])},a=XI([gR(ZI("row"))(XI([gR(Qfn(ZI("col-12 col-md-6 mb-4"))(t))(Yfn(n).admissions.acceptanceRate),gR(ZI("col-12 col-md-6 mb-4"))(Zfn(n))])),eB(n)]);return lD("card t--admission-stats")([lD("card-body")([lD("d-flex mb-4 align-items-center")([Xfn("mb-0 flex-grow-1")("Admissions"),ma(di(e.onEdit)(rR.value))]),Je(a)(function(r){return ce([r,Ba("")])}),Kfn(n)])])}};var Vc=B(W),nB=en(L),vp=Ea(L),sD=K(Le),cRe=z(On),tB=pE(Dt),sRe=B(L),yR=re(ze),fRe=B(ae),evn=Z(J),vRe=Vn(W),nvn=Vn(L),tvn=lM(L),avn=xa(L)()(),rvn=pE(iu),aB=function(e){return function(n){return Vc("row align-items-center mb-2")([Vc("col-auto pr-0")([nB("mr-2")("You:"),function(){if(n.score instanceof C)return nB("text-secondary")("N/A");if(n.score instanceof d)return vp("")(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])}(),vn(n.simulated)(nB("text-muted ml-2")("(simulated)"))]),vn(e.showUpdateLinks)(_R)])}},mRe=function(e){var n=pE(e);return function(t){return function(a){var r=n(a.score)(a.percentiles);return r instanceof Kf?Je(a.percentiles.p50)(function(o){return Vc("mt-3")([Y("Improving your "+(t+" can help your chances, especially if you can earn a ")),vp("")(a.showScore(o)),Y(" or higher.")])}):un}}},ovn=mRe(iu),pRe=mRe(Dt),_Re=function(e){var n=pE(e);return function(t){if(t.score instanceof C)return un;if(t.score instanceof d){var a=iD("md")(dR(n(new d(t.score.value0))(t.percentiles)))(t.normalizeScore(t.score.value0)),r=ma(sD(t.percentiles.p25)(function(o){return sD(t.percentiles.p75)(function(i){return sD(t.percentiles.p50)(function(u){return cRe(ce([Vc("mb-2 mt-3")([Y("Typical accepted student: "),vp("")(t.showScore(u)),Y(" ("+(t.showScore(o)+("\u2013"+(t.showScore(i)+")"))))]),iD("md")("secondary")(t.normalizeScore(u))]))})})}));return Vc("mb-2")([a,r])}throw new Error("Failed pattern match at SchoolDetails.TestScores (line 218, column 1 - line 218, column 72): "+[t.constructor.name])}},ivn=_Re(iu),dRe=_Re(Dt),hRe=Vc("mt-3")([Y("Standardized tests are "),vp("")("important"),Y(" for your admissions chances.")]),xx=function(e){var n=wbe(e.percentiles),t=tB(e.score)(n);return Ee(un)(sD(e.score)(function(a){return sD(n.p25)(function(r){return sD(n.p50)(function(o){return sD(n.p75)(function(i){return cRe(Vc("col-6 my-3")([sRe("large mb-2")(e.title),Vc("")([Y("You: "),vp("")(yR(a))]),fRe("my-2")(iD("sm")(dR(t))(e.normalizeScore(a))),fRe("mb-2 mt-3")(iD("sm")("secondary")(e.normalizeScore(o))),Vc("small")([Y("Typical accepted: "),vp("")(yR(o)),Y(" ("+(yR(r)+("\u2013"+(yR(i)+")"))))])]))})})})}))},rB=function(e){return function(n){return Ee(!1)(evn(e.chancingState.simulation)(function(t){return t.isFieldSimulated(n)}))}},oB=sRe("d-flex align-items-center mb-2 large"),uvn=function(e){return function(n){return function(t){return ce([oB("Notes on Test Optional"),vRe("")([vp("")("Our take: consider applying test optional for this school.")]),nvn("")("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."),vn(Sbe(t.percentiles))(Je(t.percentiles.p25)(function(a){return vRe("")([Y("For reference, we estimate that the 25"),tvn("")("th"),Y(" percentile "+(n+" score at this school is ")),vp("")(t.showScore(a)),Y(". So if you\u2019re around or below this score, it would make sense to apply test optional.")])}))])}}},gRe=uvn(Dt),iB=function(e){return function(n){return Vc("my-3")([Y("Read about "),avn("")({href:n,target:"_blank"})(e),Y(".")])}},DRe=function(e){return function(n){var t=Vc("mt-4")([Y("GPA is "),vp("")("very important"),Y(" for your admissions chances.")]),a={score:n.chancingProfile.gpa,percentiles:n.schoolStats.gpa.all,normalizeScore:function(r){return r/4.5},showScore:__("0.00"),simulated:rB(e)(wle.value)};return{title:Td("GPA")(rvn(a.score)(a.percentiles)),testClass:"t--gpa",content:ce([aB(e)(a),ivn(a),t,ovn("GPA")(a),iB("how to increase your GPA")("https://blog.collegevine.com/improve-your-high-school-gpa-with-these-5-strategies/")])}}},yRe=function(e){return function(n){var t=Vc("row")([xx({title:"Math ",score:n.chancingProfile.sat.math,percentiles:n.schoolStats.sat.math,normalizeScore:function(u){return st(u)/800}}),xx({title:"Reading and Writing",score:n.chancingProfile.sat.readingWriting,percentiles:n.schoolStats.sat.readingWriting,normalizeScore:function(u){return st(u)/800}})]),a=Td("SAT"),r={score:T_(n.chancingProfile),percentiles:n.schoolStats.sat.all,normalizeScore:function(u){return st(u)/1600},showScore:yR,simulated:rB(e)(Sle.value)},o=ce([vn(gt(r.score))(oB("SAT Composite score")),aB(e)(r),dRe(r),t,hRe,pRe("SAT score")(r),iB("how to increase your SAT score")("https://blog.collegevine.com/10-tips-to-improve-your-sat-score/")]),i=tB(r.score)(r.percentiles);return n.chances.shouldApplyTestOptional?{title:a(i),testClass:"t--sat",content:ce([gRe("SAT")(r),o])}:{title:a(i),testClass:"t--sat",content:o}}},bRe=function(e){return function(n){var t=Td("ACT"),a={score:F_(n.chancingProfile),percentiles:n.schoolStats.act.all,normalizeScore:function(u){return st(u)/36},showScore:yR,simulated:rB(e)(Ele.value)},r=Vc("row")([xx({title:"Math",score:n.chancingProfile.act.math,percentiles:n.schoolStats.act.math,normalizeScore:a.normalizeScore}),xx({title:"English",score:n.chancingProfile.act.english,percentiles:n.schoolStats.act.english,normalizeScore:a.normalizeScore})]),o=ce([vn(gt(a.score))(oB("ACT Composite score")),aB(e)(a),dRe(a),r,hRe,pRe("ACT score")(a),iB("how to increase your ACT score")("https://blog.collegevine.com/10-tips-to-improve-your-act-score/")]),i=tB(a.score)(a.percentiles);return n.chances.shouldApplyTestOptional?{title:t(i),testClass:"t--act",content:ce([gRe("ACT")(a),o])}:{title:t(i),testClass:"t--act",content:o}}};var Oo=B(W),Md=B(L),ou=B(ae),uB=Ct(W)()(),lB=Gn(pt),KI=ta(L),cB=Ir(L),RRe=It(W),Lx=en(L),wRe=K(Le),lvn=Du(L),SRe=xa(L)()(),ERe=Vn(ae),cvn=Ea(L),CRe=rD(L),fD=_e(X_),IRe=mf(xt(k2)),svn=oa(Te)(ft),fvn=yf(Te),vvn=_e(Z1),mvn=ta(ae),pvn=Yn(L)()(),_vn=N(ge),dvn=Z(ge),hvn=It(ae),gvn=Kn(W),Dvn=Du(ae),yvn=N(sm),bvn=Vn(W),Rvn=Vn(L),jx=Kn(L),wvn=Z(Ex),Svn=en(ae),TRe=function(e){return Oo("row")([Md("col")(""),ou("col-auto")(uB("btn btn-link t--show-more")({onClick:lB(e)(er.value)})([Y("show more "),KI("fe fe-chevron-down")("")]))])},FRe=function(e){return function(n){return function(t){return Oo("row align-items-center mb-3")([ou("col-12 col-lg-6")(Oo("row")([Oo("col-6 order-1 order-lg-2 my-auto")([cB("font-weight-normal fw-normal")("Your chances"),RRe("mb-0 t--chancing-percentage-label d-flex align-items-center")([Lx("mr-1")(aE(e)({score:wRe(t)(function(a){return a.score}),specialCase:C.value})),wx,Lx("mx-2")(""),bbe("")(n),ybe("")(n)])]),ou("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(DR({score:wRe(t)(function(a){return a.score})}))])),Oo("col-12 col-lg-6 py-3 my-auto")([cB("font-weight-normal fw-normal")("Overall acceptance rate"),RRe("text-gray-800 mb-0")([Y(Oe("\u2014")(function(a){return La(function(r){return r.value}(a))})(e.admissions.acceptanceRate)),lvn("text-secondary ml-2")(cD(e))])])])}}},MRe=function(e){return ce([Y(e),Y(" requires standardized tests, but currently "),SRe("")({href:Km})("your profile"),Y(" indicates that you do not have test scores.")])},Evn=function(e){return ce([Md("badge badge-apply-test-optional font-weight-bold fw-bold py-2 mb-2")("Tests required"),FRe(e)(Ra.value)(C.value),ERe("")(MRe(e.name))])},GRe=function(e){return function(n){return function(t){return function(a){var r=Oo("row")([ou("col-auto pr-0")(KI("fe fe-info large text-secondary mt-3")("")),Oo("col")([Oo("large")([cvn("")("Recommendation letters "),Lx("text-secondary")("are often required.")]),Md("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 vo(ua(er.value))(function(o){return function(i){return ou("card")(Oo("card-body t--phase2")([CRe("Your chancing: Phase 2"),vn(fD(o)(Ya.value))(Md("mb-4")("")),YH({card:Kbe(e)(t)(a),expanded:fD(o)(er.value),onCollapse:i(Ya.value)}),vn(IRe(n.admissions.reqRecLetters)(new d(fi.value)))(r),vn(fD(o)(Ya.value))(TRe(i))]))}})}}}},ARe=function(e){return function(n){return function(t){return function(a){var r=IRe(n.admissions.reqStandardTests)(new d(fi.value)),o=gt(F_(t))&&r,i=gt(T_(t))&&r,u=function(l){return function(c){return YH({card:c(e)({chancingProfile:t,chances:a,schoolStats:n.testScoreStats}),expanded:fD(l.value0)(er.value),onCollapse:l.value1(Ya.value)})}};return S1(ua(er.value))(function(l){return ou("card")(Oo("card-body t--phase1")([CRe("Your chancing: Phase 1"),vn(fD(l.value0)(Ya.value))(Md("mb-4")("")),u(l)(DRe),u(l)(Fbe),vn(i)(u(l)(yRe)),vn(o)(u(l)(bRe)),vn(fD(l.value0)(Ya.value))(TRe(l.value1))]))})}}}},Cvn=function(e){return Y(svn(["Chancing is not available for ",e.name," because all students are admitted if they have a high school diploma or GED."]))},Ivn=function(e){return ce([Y("You\u2019re likely not eligible for admission at "),Y(e.name),Y(" because it is an "),Y(lu(o_(e.gender))),Y(" school. This conclusion is based on the gender information you entered in your "),SRe("")({href:Km})("profile"),Y(".")])},Tvn=function(e){return ce([Y("Chancing is not available for "),Y(e.name),Y(`
      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.
    `)])},Fvn=function(e){return function(n){return function(t){return function(a){return function(r){var o=function(c){if(c instanceof Ka)return"test-optional";if(c instanceof wr)return"with SAT";if(c instanceof qr)return"with ACT";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 288, column 21 - line 291, column 33): "+[c.constructor.name])},i=function(c){var s=fvn(function(v){return vvn(v.applicationStrategy)(c)})(r.all),f=JH({strategy:c,satOrigin:IE(t),testPolicy:n.admissions.reqStandardTests});return Oo("row border-1 border-bottom border-light py-3 align-items-center")(function(){if(s instanceof d)return[Oo("col-12 mb-2 mb-md-0 col-md pr-0 d-flex align-items-end")([f,vn(s.value0.isRecommendedStrategy)(mvn("ml-2 fe fe-thumbs-up text-primary h3 mb-0")(un))]),ou("col-auto pl-md-0")(Lx("badge badge-light bg-light text-dark")(NM(n)(s.value0))),Md("col-auto col-md-auto pl-md-0")(aE(n)(s.value0)),ou("col col-md-2 pl-md-0")(function(){if(s.value0.score instanceof d)return ou("progress progress-md")(pvn("progress-bar")({style:fn({width:jM(s.value0.score.value0)})})(""));if(s.value0.score instanceof C)return Md("text-secondary small")("N/A");throw new Error("Failed pattern match at SchoolDetails.Chancing (line 306, column 46 - line 311, column 55): "+[s.value0.score.constructor.name])}())];if(s instanceof C)return[ou("col pr-0 d-flex align-items-end")(f),Md("col-auto text-gray-800")(function(){if(c instanceof Ka)return"";if(c instanceof wr)return"No SAT score";if(c instanceof qr)return"No ACT score";throw new Error("Failed pattern match at SchoolDetails.Chancing (line 318, column 19 - line 321, column 53): "+[c.constructor.name])}())];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 295, column 11 - line 322, column 16): "+[s.constructor.name])}())},u=function(){var c=function(s){return s.length===0?Lo(Xo)("Empty chancing recommended strategies, even though chances are present")({})(function(f){return[]}):s};return c(_vn(function(s){return s.applicationStrategy})(Lr(function(s){return s.isRecommendedStrategy})(r.all)))}(),l=function(c){return vo(ua(Ya.value))(function(s){return function(f){return ce([Oo("row mb-2 justify-content-between")([Oo("col")(dvn(u)(function(v){return hvn("d-inline-block mr-2")(JH({strategy:v,satOrigin:IE(t),testPolicy:n.admissions.reqStandardTests}))})),ou("col-auto")(uB("btn btn-link p-0 d-flex align-items-center")({onClick:lB(f)(C0(s))})(function(){if(s instanceof Ya)return[Y("See why"),KI("fe fe-chevron-down ml-2")("")];if(s instanceof er)return[Y("Show less"),KI("fe fe-chevron-up ml-2")("")];throw new Error("Failed pattern match at SchoolDetails.Chancing (line 208, column 15 - line 210, column 92): "+[s.constructor.name])}()))]),Je(r.top.classification)(function(v){return gvn("")([Y(n.name+(" is a "+V1(v))),Dvn("ml-1 text-secondary h2 mb-0")(Rbe(v)),function(){if(n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi)return un;if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0)return un;var m=function(R){return un},_=ls(u);return _ instanceof d?Y(" if you apply "+Nbe(yvn(o)(_.value0))):m(!0)}()])}),FRe(n)(a)(new d(r.top)),vn(fD(s)(er.value))(ce([Ba("mb-4"),Oo("")([bvn("")([Y("Test policies may change in the future so be sure to check "),N0({className:"",text:new d("this school\u2019s website"),icon:UI.value})(Ee(n.urls.main)(n.urls.admissions))]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi?Rvn("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 d&&r.top.specialCase.value0 instanceof p0?ERe("font-weight-bold fw-bold")(MRe(n.name)):ce([cB("")("Here\u2019s our estimation for all possible scenarios:"),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof Ic?un:i(Ka.value)}(),i(wr.value),i(qr.value)])}()]),function(){return n.admissions.reqStandardTests instanceof d&&n.admissions.reqStandardTests.value0 instanceof fi?un:r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0?un:Je(r.guidance)(function(v){return ou("mt-4")(Jbe(v)(t)(r.sameDemographicStats))})}()])),function(){return e.showViewChancingExplanationCTA&&e.onSwitchTab instanceof d?ce([Ba(""),uB("btn btn-link t--chancing-breakdown-cta p-0")({onClick:lB(e.onSwitchTab.value0)(Zi.value)})([KI("material-symbol x-large align-middle pr-2")("format_list_bulleted"),Y("See chancing explanation")])]):un}()])}})};if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof ug)return Tvn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof Em)return Ivn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof p0)return Evn(n);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof lg)return l(Ce);if(r.top.specialCase instanceof d&&r.top.specialCase.value0 instanceof cg)return Cvn(n);if(r.top.specialCase instanceof C)return l(Ce);throw new Error("Failed pattern match at SchoolDetails.Chancing (line 185, column 3 - line 191, column 28): "+[r.top.specialCase.constructor.name])}}}}},bR=function(e){return function(n){return function(t){return function(a){return function(r){return Oo("mb-4")([ou("card mb-0 t--chancing")(Oo("card-body t--chancing-overview")([jx("")("Chancing"),Fvn(e)(n)(t)(a)(r)])),NH(n)])}}}}},Mvn=function(e){return function(n){return function(t){return function(a){return function(r){return function(o){return o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof Em&&e.mobileLayout?bR(n)(t)(a)(r)(o):o.top.specialCase instanceof d&&o.top.specialCase.value0 instanceof Em?ou("row")(ou("col-8")(bR(n)(t)(a)(r)(o))):e.mobileLayout?ce([bR(n)(t)(a)(r)(o),jx("")("Detailed profile breakdown"),ARe(e)(t)(a)(o.top),GRe(e)(t)(a)(o.top),YI(e)]):Oo("row")([Oo("col-8")([bR(n)(t)(a)(r)(o),jx("")("Detailed profile breakdown"),ARe(e)(t)(a)(o.top),GRe(e)(t)(a)(o.top)]),Oo("col-4")([Je(e.currentUser)(function(i){return ou("mb-3")(Jye(e.whatificatorLink))}),YI(e)])])}}}}}},xRe=function(e){return function(n){return function(t){var a=function(i){return Lo(Xo)("SDP Chancing Tab is visible when chancing profile is absent")({schoolId:e.id})(function(u){return un})},r=function(i){return Je(eB(e))(function(u){return ce([jx("")("In the meantime, here\u2019s the published data about admissions at "+(e.name+":")),u])})},o=function(i){if(n.mobileLayout)return ce([zI({narrowLayout:!0}),YI(n),r(Ce)]);if(xe)return Oo("row")([Oo("col-8")([zI({narrowLayout:!1}),r(Ce)]),ou("col-4")(YI(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 sR)return Je(Cx(i.value1))(Mvn(n)(t)(e)(i.value0)(wvn(Tx(i.value1))(function(u){return u.top})));if(i instanceof vR)return a(Ce);if(i instanceof mR)return o(Ce);if(i instanceof fR)return ou("text-center p-6")(Svn("spinner-border spinner-border-sm text-primary")(un));throw new Error("Failed pattern match at SchoolDetails.Chancing (line 81, column 5 - line 90, column 73): "+[i.constructor.name])}(Ix({currentUser:n.currentUser,chancingState:n.chancingState,school:e}))}}};var LRe=function(e){return function(n){return un}};var jRe=iv(),vD=B(W)("d-flex")([jRe({text:"Log in",className:"btn btn-primary px-4 mr-3",auth0ActiveTab:hg}),jRe({text:"Sign up (it's free!)",className:"btn btn-outline-primary px-4",auth0ActiveTab:ov})]);var Gvn=B(W),NRe=B(ae),Avn=Ir(L),xvn=Mr(W)()(),Lvn=ca(pr),jvn=ta(L),sB=Vn(W),PRe=B(L),fB=Ea(L),Nvn=en(W),kRe=g0(L)()(),Pvn=cl(W),ORe=vG(),vB=Vn(L),kvn=vM(W),URe=function(e){return function(n){return Gvn("row align-items-center w-100")([NRe("col")(Avn("my-0")(n)),NRe("col-auto pr-0")(xvn("btn btn-link p-0 d-flex align-items-center")(Fr)({onClick:Lvn(e)})([Y("Cancel "),jvn("fe fe-x ml-2 large")("")]))])}},HRe=function(e){return function(n){var t=function(r){return function(o){return function(i){if(i)return ce([sB("mb-1")([PRe("badge badge-soft-success bg-success-soft mr-2")("Profile complete"),fB("text-success")("Great job \u2013\xA0your CollegeVine "+(r+" profile looks complete."))]),Nvn("")([Y("(you can always "),kRe("")(Fr)({href:o})("update it"),Y(" to make sure)")])]);if(!i)return ce([sB("")([PRe("badge badge-soft-danger bg-danger-soft mr-2")("Incomplete"),fB("text-danger")("Your "+(r+" profile is incomplete."))]),kRe("btn btn-primary px-4")(Fr)({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 Pvn("mb-4")([sB("mb-1")([fB("")("Your "+(r.name+" profile,")),Y(r.description)]),t(r.name)(r.url)(r.isComplete)])};return ORe({header:URe(n.close)("Great, let\u2019s estimate your personalized net cost."),body:ce([vB("")("Your college cost depends on two types of information:"),kvn("")([a({name:"chancing",url:Km,isComplete:gt(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:s4,isComplete:e.hasFinancialProfile,description:`
                which includes information that colleges will use to determine
                your financial need.
              `})])])})}},BRe=function(e){return ORe({header:URe(e.close)("Please log in to get your personalized cost estimate"),body:ce([vB("")(`
          You need a CollegeVine account to estimate your cost. You\u2019ll enter your
          information once and unlock estimates for all schools on CollegeVine!
        `),vB("")("Please log in or sign up to continue:"),vD])})};var Uo=B(W),Nx=Kn(L),Ks=B(ae),JRe=Ir(L),mB=Vn(W),WRe=B(L),pB=Ea(L),_B=wd(L)(L),eT=Vn(L),qRe=It(W),zRe=Du(L),Ovn=N(J),Uvn=Ct(W)()(),$Re=Gn(pt),Hvn=ta(L),VRe=rD(L),Bvn=Ct(L)()(),QRe=Pc(L),Jvn=xa(L)()(),Wvn=It(L),RR=function(){function e(){}return e.value=new e,e}(),Px=function(){function e(){}return e.value=new e,e}(),YRe=function(){function e(){}return e.value=new e,e}(),nT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dB=function(){function e(){}return e.value=new e,e}(),kx=function(){function e(){}return e.value=new e,e}(),Ox=function(e){return function(n){return Uo("card t--financials-zero-cost")([Uo("d-flex align-items-center justify-content-between card-header")([Nx("flex-grow-1 my-0")("Cost & scholarships"),Je(e.editButton)(Ks("flex-grow-0"))]),Uo("card-body")([JRe("")("The cost to students is zero"),mB("small text-muted mb-0")([Y("Some schools do not charge tuition, or they cover the full cost for students. Always check "),N0({className:"",icon:tR.value,text:new d("the school\u2019s website")})(n.urls.main),Y(`
          to understand the type of commitment you\u2019re making, or conditions you must satisfy,
          in order to qualify for the no-cost program.
        `)])])])}},Ux=function(e){return function(n){return function(t){var a=t(new nT(RR.value));if(n instanceof RR)return un;if(n instanceof Px)return HRe(e)({close:a});if(n instanceof YRe)return BRe({close:a});throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 328, column 3 - line 331, column 45): "+[n.constructor.name])}}},hB=function(e){var n=function(t){return function(a){return{title:a,value:hu(t)}}};return ce([Uo("row py-3")([WRe("col font-weight-semibold")("Income"),Ks("col-auto")(pB("")("Average net cost"))]),Ba("mt-0"),Ks("mt-4")(_B([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")]))])},Hx=function(e){var n=function(a){return function(r){return N0({className:"",icon:UI.value,text:new d(r)})(a)}},t=function(){if(e.finAid instanceof d&&e.priceCalculator instanceof d)return ce([n(e.finAid.value0)("financial aid website"),Y(" or their "),n(e.priceCalculator.value0)("net price calculator")]);if(e.finAid instanceof d&&e.priceCalculator instanceof C)return n(e.finAid.value0)("financial aid website");if(e.finAid instanceof C&&e.priceCalculator instanceof d)return n(e.priceCalculator.value0)("net price calculator");if(e.finAid instanceof C&&e.priceCalculator instanceof C)return n(e.main)("website");throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 229, column 16 - line 240, column 33): "+[e.finAid.constructor.name,e.priceCalculator.constructor.name])}();return ce([eT("font-weight-bold fw-bold small text-gray-800 mb-1")("* This is an estimate"),mB("small text-gray-800")([Y(`
            Be sure to confirm your costs and other requirements on the school\u2019s website. Visit the school\u2019s
          `),t,Y(" to learn more.")])])},qvn=Ks("")(qRe("mb-4")([Y("Cost before aid "),zRe("text-secondary")(`
        The \u201Csticker price\u201D of a school, which includes tuition, fees, and room and board.
      `)])),XRe=eT("")(`
      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).
    `),tT=ce([XRe,eT("font-weight-bold fw-bold mb-2")("Want to see your personalized net cost after financial aid and scholarships?")]),gB=qRe("mb-3 mt-4")([Y("Average net cost after aid "),zRe("text-secondary")(`
      The average of the amount actually paid by students, per family income range.
    `)]),DB=function(e){return ce([Ks("")(gB),Ba("mb-0"),Ks("mb-4")(hB(e))])},yB=function(e){return function(n){return Uo("card t--financials-cost-before-aid")([Uo("card-body")([Uo("d-flex align-items-center justify-content-between mb-5")([Nx("my-0 mr-3 flex-grow-1")("Cost & scholarships"),ma(di(n.onEdit)(Ed.value))]),qvn,_B([{title:"In-state total cost",value:Oe("unknown")(function(t){return hu(st(t))})(Dm(n.school))},{title:"Out-of-state total cost",value:Oe("unknown")(function(t){return hu(st(t))})(LS(n.school))}]),Ee(un)(Ovn(DB)(n.school.averageNetPrice)),vn(n.showCta)(ce([tT,Uvn("btn btn-link t--estimate-my-cost p-0")({onClick:$Re(e)(new nT(Px.value))})([Hvn("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])]))])])}},bB=function(e){return function(n){var t=function(o){return function(i){return Uo("col-12 mt-2 col-md-6 mt-md-0")([VRe(i),Xa("")(Oe("unknown")(function(u){return hu(st(u))})(o))])}},a=Uo("row")([Uo("col-12 col-md mb-2 mb-md-4")([VRe("Your estimated net cost"),WRe("font-weight-bold fw-bold text-secondary x-large")("$ ? / year")]),vn(n.showCta)(Ks("col-12 col-md-auto mb-3 mb-md-0")(Bvn("btn btn-primary px-4 t--estimate-my-cost")({onClick:$Re(e)(new nT(YRe.value))})("Estimate my cost")))]),r=ce([QRe("")("What are "+(n.school.name+"\u2019s Tuition and Fees?")),mB("")([Y("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 `))))),Jvn("")({href:s4})("free cost calculator"),Y(".")])]);return Uo("card border border-light rounded p-4 mx-2 mb-4")([vn(n.showExtended)(r),a,Uo("row")([t(Dm(n.school))("In-state"),t(LS(n.school))("Out-of-state")])])}},aT=function(e){return function(n){return function(t){return function(a){if(a instanceof dB){var r=Uo("d-flex align-items-center justify-content-between mb-3")([Nx("my-0 mr-3")("Cost & scholarships"),ma(e.editButton)]);return ce([Uo("card t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[Uo("card-body")([r,bB(n)({school:t,showCta:e.showCta,showExtended:!1}),tT,vD])];if(t.averageNetPrice instanceof d)return[Uo("card-body")([Nx("")("Cost & scholarships"),bB(n)({school:t,showCta:e.showCta,showExtended:!1}),gB,hB(t.averageNetPrice.value0),Uo("px-3")([tT,vD])])];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 kx){var o=function(){var i=function(u){return function(l){return{title:l,value:Oe("unknown")(function(c){return hu(st(c))})(u)}}};return ce([Uo("row mx-0 py-3 border-bottom")([Ks("col pl-0")(pB("")("Type")),Ks("col-auto pr-0")(pB("")("Annual Cost"))]),Ks("mt-4")(_B([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 ce([bB(n)({school:t,showCta:e.showCta,showExtended:!0}),Ks("card")(Uo("card-body")([QRe("mb-4")("What does it cost to attend "+(t.name+"?")),JRe("")("Net Price Breakdown"),eT("mb-5")("The Net Price is the estimated cost after the average aid amount is applied to the total amount."),Uo("t--financials-anonymous")(function(){if(t.averageNetPrice instanceof C)return[tT,vD];if(t.averageNetPrice instanceof d)return[gB,hB(t.averageNetPrice.value0),function(){return e.showCta?Uo("")([tT,vD]):XRe}()];throw new Error("Failed pattern match at SchoolDetails.Finances.Common (line 117, column 9 - line 133, column 14): "+[t.averageNetPrice.constructor.name])}())])),Ks("card")(Uo("card-body")([Wvn("mb-4")("Sticker Price Breakdown"),eT("")(`
          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 zvn=z(_t),$vn=on(),rT=B(ae),Qc=B(W),ZRe=Pc(L),mD=Vn(L),Vvn=xa(W)()(),RB=en(L),KRe=B(L),ewe=Ea(L),Qvn=Hr(Te)(Uv),Yvn=N(ge),Xvn=Kn(L),Zvn=It(ae),Kvn=rD(L),e0n=N(J),n0n=Ct(W)()(),t0n=Gn(pt),a0n=ta(L),r0n=_e(xt(ar)),nwe=function(e){return function(n){return zvn(n.value0)}},twe=function(){return RR.value}(),wB=function(e){var n=function(){var a=$vn(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 vn(a)(rT("card")(Qc("card-body")([ZRe("")(r),o])))}}};return Qc("t--financials-aid-explanation mt-5")([t(n.grants)("Grants")(ce([mD("")("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."),Y("% of undergraduates that receive Pell grants"),Xa("")(La(e.fracPellGrants))])),t(n.scholarships)("Merit scholarships")(mD("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")(ce([mD("")("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."),Qc("row")([Qc("col")([Y("% of full-time first-time undergraduates awarded federal student loans"),Xa("")(La(e.fracLoans))]),Qc("col")([Y("Avg. amount of federal student loans awarded to full-time first-time undergrads"),Xa("")(hu(st(Ee(0)(e.averageFederalLoan))))])])])),t(n.workStudy)("Work-study")(ce([mD("")("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."),Vvn("d-flex align-items-center")({href:ule,target:"_blank"})([RB("material-symbol pr-2")("open_in_new"),RB("")("Learn more about how it works and what types of jobs are available")])]))])},o0n=function(e){return function(n){var t=function(l){return[Qc("row align-items-center")([rT("col")(l.title),rT("col-auto")(l.value)])]},a=ce([mD("mb-1")("Your estimated net cost"),Xa("")(hu(n.estimatedNetCost)+" / year *")]),r=Ee(0)(n.estimatedMeritAid),o=ce([KRe("mb-3")("Scholarships"),KRe("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?ewe("")("-"+hu(l)):RB("text-muted")("Unlikely")},u=Qc("mb-2")(Qvn([Ba("mt-3 mb-3")])(Yvn(t)([{title:Y("Cost (tuition, fees, room and board)"),value:ewe("")(hu(n.stickerPrice))},{title:Y("Need-based financial aid"),value:i(n.financialAid)},{title:o,value:i(r)}])));return ce([rT("card t--financials-personal-estimate-breakdown")(Qc("card-body")([Xvn("mb-5")("Cost & scholarships"),a,Ba("mb-4 mt-2"),Zvn("mb-4 mt-2")(Kvn("Your estimated net cost breakdown")),u,Ba("mt-3 mb-3"),rT("mb-n3")(Hx(e.urls))])),wB(e)])}},i0n=function(e){return function(n){var t=Qc("row mb-4")([Qc("col-12 col-md-6")([mD("mb-1")("In-state total cost"),Xa("")(Oe("unknown")(function(a){return hu(st(a))})(Dm(n)))]),Qc("col-12 col-md-6")([mD("mb-1")("Out-of-state total cost"),Xa("")(Oe("unknown")(function(a){return hu(st(a))})(LS(n)))])]);return Qc("card t--financials-cost-before-aid")([Qc("card-body")([ZRe("fw-normal font-weight-normal")("Cost"),t,Ee(un)(e0n(DB)(n.averageNetPrice)),n0n("btn btn-link t--estimate-my-cost p-0")({onClick:t0n(e)(new nT(Px.value))})([a0n("material-symbol x-large align-middle pr-2")("calculate"),Y("Estimate my personalized net cost")])])])}},awe=function(e){return function(n){return function(t){return function(a){return function(r){return ce([Ux(n)(a)(r),function(){var o=r0n(Dm(e))(new d(0));if(o)return Ox({editButton:C.value})(e);var i=fr(n.currentUser);if(i)return ce([ma(xs(n.configuration)(aT({showCta:!1,editButton:C.value})(r)(e)(kx.value))),ma(Gu(n.configuration)(aT({showCta:!0,editButton:C.value})(r)(e)(kx.value))),wB(e)]);var u=gt(t);return u?Je(t)(o0n(e)):ce([i0n(r)(e),wB(e)])}()])}}}}};var u0n=on(),rwe=Ct(L)()(),owe=ca(pr),Bx=B(W),SB=B(ae),l0n=Yo(),c0n=_e(xt(jG)),EB=Z(J),s0n=_e(xt(LG)),iwe=ta(L),f0n=B(L),uwe=en(L),v0n=_i(ae)()(),lwe=function(e){var n=u0n(e.school),t=function(u){return rwe("btn btn-outline-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-ignore "+u)({onClick:owe(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=ho(eE(n.id)(e.schoolDb)),o=function(u){if(e.mobileLayout)return Bx("card-footer bg-white "+u);var l=SB("container card"),c=Bx("card-body mb-0 "+u);return function(s){return l(c(s))}},i=function(u){return rwe("btn btn-primary flex-grow-1 px-md-4 t--sdp-invitation-footer-accept "+u)({onClick:owe(e.onAcceptInvitation)})("Accept")};return mu(l0n(ua(c0n(EB(r)(function(u){return u.status}))(new d(Ko.value))&&s0n(EB(r)(function(u){return u.initiator}))(new d(ki.value))))(function(u){return Qo(ng(u.value0)(function(l){return Je(EB(r)(function(c){return c.status}))(function(c){return SB("position-fixed fixed-bottom t--sdp-invitation-footer")(o("d-flex flex-column flex-md-row align-items-stretch align-items-md-center")([Bx("d-flex flex-nowrap align-items-center mr-md-3")([iwe(a)(""),f0n("")(n.name+" wants to connect!")]),SB("d-flex flex-nowrap mt-3 mt-md-0 mr-md-3")(function(){if(c instanceof Ko&&e.mobileLayout)return ce([i("mr-3"),t("")]);if(c instanceof Ko)return ce([t("mr-3"),i("")]);if(c instanceof Bl)return uwe("text-success")("Connected");if(c instanceof xu)return uwe("text-secondary")("Ignored");throw new Error("Failed pattern match at SchoolDetails.Footer (line 46, column 15 - line 54, column 52): "+[c.constructor.name])}()),Bx("d-flex flex-nowrap align-items-center mt-3 mt-md-0 flex-grow-1 justify-content-md-end")([Y("What is a connection?"),v0n({placement:Us,overlay:Y(`
                      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:fn({maxWidth:"15rem",position:"fixed"}),trigger:function(){return e.mobileLayout?Q_:ape}()})(iwe("fe fe-info pl-2")(""))])]))})}))}))};var k0=`
  (min-width: 1200px) 1140px,
  (min-width: 992px) 960px,
  (min-width: 768px) 720px,
  (min-width: 576px) 540px
`;Wt();var CB=class extends wt.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 m0n=gs(),Yl=function(){return function(){return m0n(CB)}};var p0n=on(),cwe=ta(L),swe=en(L),IB=B(ae),_0n=B(W),d0n=Kn(L),h0n=js()(),g0n=Gn(pt),ha=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}(p0n(e.school)),i=cv(e.module.data);return i instanceof y0&&o instanceof F1?"Alumni spotlight":i instanceof y0&&o instanceof M1?"Alumnae spotlight":i instanceof y0&&o instanceof $h?"Alumni spotlight":L_(cv(e.module.data))}(),a=vn(e.isUserHq)(function(){return e.isPublished?ce([cwe("fe fe-check-circle large text-success mr-2 t--module-live-icon")(""),swe("text-success")("Live")]):ce([cwe("fe fe-x-circle large text-warning mr-2 t--module-draft-icon")(""),swe("text-warning")("Draft")])}()),r=function(){return e.module.isLiked?"/img/icons/heart-filled-gray-800.svg":"/img/icons/heart-empty.svg"}();return IB("card-header")(_0n("row align-items-center")([d0n("col-auto mb-0")(t),IB("col d-flex align-items-center justify-content-end")(a),vn(e.showLikeButton)(IB("col-auto")(h0n("cursor-pointer t--content-module-interaction "+n)({src:r,height:"18",width:"18",onClick:g0n(e.onContentModuleInteraction)({type:function(){return e.module.isLiked?new d(XE.value):new d(YE.value)}(),moduleId:e.module.id})})))]))};var D0n=Sa(),Jx=Z(J),oT=re(ze),y0n=oa(Te)(ft),b0n=Hr(Te)(ft),R0n=Z(ge),w0n=v0()(),S0n=Ye(sa)(Mu(Vo)(function(e){var n=e>=5120;return n?C.value:new d(new Ue(e,e*1.16))})(640))([5120]),Ho=function(){return function(e){return function(n){var t=D0n(n),a=Ms({key:"auto",value:Un(t.auto)("format")})(Cm({key:"q",value:Jx(Rr(t.q))(oT)})(Cm({key:"dpr",value:Jx(Rr(t.dpr))(oT)})(Cm({key:"ar",value:Rr(t.ar)})(Cm({key:"crop",value:Rr(t.crop)})(Cm({key:"fit",value:Rr(t.fit)})(Cm({key:"h",value:Jx(Rr(t.h))(oT)})(Cm({key:"w",value:Jx(Rr(t.w))(oT)})(Ee(t.src)(v1("?")(t.src)))))))))),r=function(i){var u=oT(Br(i));return y0n([a,"&w=",u," ",u,"w"])},o=function(){if(OS(t.w))return b0n(",")(R0n(S0n)(r));if(xe)return"";throw new Error("Failed pattern match at Utils.Imgix (line 61, column 5 - line 65, column 13): "+[])}();return w0n(e)({src:a,srcSet:o,style:Un(t.style)(fn({})),alt:Un(t.alt)(""),sizes:Un(t.sizes)("")})}}};var E0n=re(Mi),fwe=B(W),C0n=Yn(W)()(),I0n=Z(ge),T0n=Ho(),F0n=Yl()(),vwe=function(e){var n="t--academic-photo-gallery-carousel-"+E0n(la(e.school));return fwe("card")([ha(e),fwe("card-body")([C0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(I0n(e.photos)(function(t){return T0n("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:k0})})),F0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var M0n=B(ae),G0n=j0(),Wx=B(W),A0n=Yn(W)()(),x0n=Z(ge),L0n=Kn(L),mwe=B(L),j0n=Yl()(),pwe=function(e){var n=function(t){return Je(t)(function(a){return M0n("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(G0n({source:new Su({url:a+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Yb.value}))})};return Wx("card")([ha(e),Wx("card-body mb-4")([A0n("flickity-viewport-visible t--alumni-spotlight-carousel")({style:fn({display:"none"})})(x0n(e.props.alumni)(function(t){return Wx("row py-3 px-5 w-100")([n(t.avatarURL),Wx("col-12 col-md ml-2")([L0n("mb-1")(t.name),mwe("small text-secondary")(t.degreeGraduationYear),mwe("mt-3")(t.bio)])])})),j0n({containerClassName:"t--alumni-spotlight-carousel",onMountShowContainer:!0,pageDots:!0})])])};var qx=B(W),N0n=Z(ge),P0n=B(ae),k0n=m0(L)()(),O0n=It(L),U0n=Vn(L),_we=function(e){return qx("card")([ha(e),qx("card-body")(N0n(e.videos)(function(n){return qx("row mb-4 align-items-center text-center text-md-left")([P0n("col-12 col-md-auto")(k0n("h-100 border-0 rounded")({src:n.link,allowFullScreen:!0})("")),qx("col mt-2 mt-md-0")([O0n("")(n.title),U0n("")(E_(n.duration))])])}))])};var H0n=on(),dwe=oa(Te)(ft),zx=re($i),hwe=qye(W),TB=B(L),gwe=B(W),B0n=v0()(),J0n=wd(L)(ae),Dwe=function(e){var n=H0n(e.school),t=C1(SS(n.address)).lng,a=C1(SS(n.address)).lat,r=function(i){return dwe(["https://api.mapbox.com/styles/v1/collegevine-ivy/ck8z1m02b06f41io4o6s4z5md/static/pin-s+3c8df5(",zx(t),",",zx(a)+")/",zx(t),",",zx(a),",6.57,0/600x400@2x?access_token=",i])},o=function(i){if(i instanceof Fl)return hwe({icon:"map-pin",body:[TB("")(i.value0.street),TB("")(dwe([i.value0.city,", ",t_(i.value0.state)," ",i.value0.zip]))]});if(i instanceof al)return hwe({icon:"map-pin",body:[TB("")(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 gwe("card")([ha(e),gwe("card-body")([B0n("w-100 mb-5 rounded")({src:r(e.mapboxAccessToken)}),J0n([{title:"Campus Setting",value:Y(zh(n.setting))},{title:"Region",value:Y(wS(n.address))}]),o(n.address)])])};var W0n=re(Mi),ywe=B(W),q0n=Yn(W)()(),z0n=Z(ge),$0n=Ho(),V0n=Yl()(),bwe=function(e){var n="t--campus-photo-gallery-carousel-"+W0n(la(e.school));return ywe("card")([ha(e),ywe("card-body")([q0n("flickity-viewport-visible mb-4 "+n)({style:fn({display:"none"})})(z0n(e.photos)(function(t){return $0n("w-100 rounded")({src:t.url,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format",sizes:k0})})),V0n({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var $x=B(W),Q0n=Z(ge),Y0n=B(ae),X0n=m0(L)()(),Z0n=It(L),K0n=Vn(L),Rwe=function(e){return $x("card")([ha(e),$x("card-body")(Q0n(e.videos)(function(n){return $x("row mb-4 align-items-center text-center text-md-left")([Y0n("col-12 col-md-auto")(X0n("h-100 border-0 rounded")({src:n.url,allowFullScreen:!0})("")),$x("col mt-2 mt-md-0")([Z0n("")(n.title),K0n("")(E_(n.duration))])])}))])};var wwe=Yo(),emn=Yn(ae)()(),iT=B(W),nmn=Kn(L),Vx=B(ae),tmn=Zo()(),Swe=Gn(ao),amn=en(L),Ewe=Qe(Xe),rmn=Z(ge),Gd=function(e){var n=function(a){return function(r){return function(o){var i=function(u){return Lr(function(l){return r(u)(e.filter.toValue(l))})(o)};return Oe(o)(i)(a)}}},t=function(a){return function(r){return a===""?r:Lr(function(o){return ms(lu(a))(lu(e.search.toTerm(o)))})(r)}};return mu(wwe(ua(""))(function(a){return wwe(ua(C.value))(function(r){return Qo(emn("")({style:fn({marginBottom:"10rem"})})(iT("card")([nmn("card-header")(e.title),iT("card-body")([iT("form-row")([Vx("col-12 col-md-6")(iT("input-group input-group-merge")([tmn("form-control form-control-prepended "+e.search.className)({type:"text",value:a.value0,placeholder:e.search.placeholder,onChange:Swe(a.value1)(Bs)}),Vx("input-group-prepend")(Vx("input-group-text")(amn("fe fe-search font-weight-bold fw-bold")("")))])),Vx("col-12 col-md-6 mt-2 mt-md-0")(Ys(new wu("Search"))()({className:e.filter.className,value:r.value0,options:e.filter.items,getOptionLabel:Ewe,getOptionValue:Ewe,onSelect:Swe(r.value1)(d.create),isClearable:!0,onClear:r.value1(C.value),placeholder:e.filter.placeholder}))]),iT("mt-5")(rmn(n(r.value0)(e.filter.predicate)(t(a.value0)(e.items)))(e.renderItem))])])))})}))};var omn=N(IS);var Cwe=function(e){return function(n){return function(t){return BK(omn(n1(n))(WK(t)))({newSeed:e,size:n})}}};var uT=B(W),lT=B(ae),imn=W1(L)()(),umn=on(),lmn=Kn(L),Iwe=Vn(L),Twe=B(L),cmn=re(ze),Fwe=_e(va),smn=mh(Ot),Mwe=Op(Ot),FB=Z(ge),Gwe=Qe(Xe),fmn=Gn(ao),vmn=Ct(L)()(),mmn=Gn(pt),Awe=function(e){var n=function(u){return u.number+(" "+u.name)},t=function(u){return ce([uT("row no-gutters g-0")([lT("col-auto")(imn("mr-3 fe fe-book-open xx-large")({style:fn({color:Ee("")(function(l){return l.colors.primary}(umn(e.school)))})})("")),uT("col mt-3 pr-5")([lmn("")(n(u)),Je(u.description)(function(l){return Iwe("")(l)}),Je(u.size)(function(l){return Twe("mt-2 text-secondary")("Expected class size: "+cmn(l))}),Je(u.instructors)(function(l){return Twe("mt-2 text-secondary")("Taught by: "+l)})])]),Ba("")])},a=function(u){var l=Lr(function(){var c=Fwe(u);return function(s){return c(function(f){return f.department}(s))}}())(e.props.courses);return Cwe(e.randomSeed)(2)(l)},r=smn(Mwe(FB(e.props.courses)(function(u){return u.department}))),o=Mwe(FB(e.props.courses)(function(u){return u.department})),i=Gd({title:L_(cv(e.module.data)),items:e.props.courses,renderItem:function(u){return lT("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:Fwe}});return vo(ua(Ei(o)))(function(u){return function(l){return uT("card")([ha(e),uT("card-body")([lT("w-50")(Ys(new wu("Select Department"))()({options:o,getOptionLabel:Gwe,getOptionValue:Gwe,onSelect:fmn(l)(d.create),value:u})),Je(u)(function(c){return ce([uT("mt-4")([Iwe("text-secondary")("A sample of courses for this department"),ce(FB(a(c))(t))]),lT("row mt-4")(lT("col-6 offset-3")(vmn("btn btn-outline-primary btn-block")({onClick:mmn(e.showOverlay)(i)})("Check out the full course catalog")))])})])])}})};var pmn=Hr(Te)(ft),cT=B(W),_mn=Kn(L),xwe=Vn(L),dmn=B(L),Qx=B(ae),Lwe=Qe(Xe),hmn=Gn(ao),gmn=Z(ge),Dmn=Ct(L)()(),ymn=Gn(pt),jwe=function(e){var n=function(u){return function(l){return u?new d(l):C.value}},t=function(u){return pmn(", ")(yr([n(u.offerings.major)("Major"),n(u.offerings.minor)("Minor"),n(u.offerings.concentration)("Concentration")]))},a=function(u){var l=Lr(function(c){return ms(u)(t(c))})(e.props.degrees);return n1(3)(l)},r=function(u){return ce([cT("row no-gutters g-0")([cT("col mt-3 pr-5")([_mn("")(u.name),xwe("")(u.description),dmn("mt-2 text-secondary")("Offerings: "+t(u))])]),Ba("")])},o=["Major","Minor","Concentration"],i=Gd({title:L_(cv(e.module.data)),items:e.props.degrees,renderItem:function(u){return Qx("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 ms(u)}}});return vo(ua(Ei(o)))(function(u){return function(l){return cT("card")([ha(e),cT("card-body")([Qx("w-50")(Ys(new wu("Select Degree Option"))()({options:o,getOptionLabel:Lwe,getOptionValue:Lwe,onSelect:hmn(l)(d.create),value:u})),Je(u)(function(c){return ce([cT("mt-4")([xwe("text-secondary")("A sample of degree options for this offering"),ce(gmn(a(c))(r))]),Qx("row mt-4")(Qx("col-6 offset-3")(Dmn("btn btn-outline-primary btn-block")({onClick:ymn(e.showOverlay)(i)})("Check out all the degree options")))])})])])}})};var bmn=re(Mi),Rmn=B(ae),wmn=j0(),Yx=B(W),Smn=Yn(W)()(),Emn=Z(ge),Cmn=Kn(L),Nwe=B(L),Imn=Yl()(),Pwe=function(e){var n="t--faculty-spotlight-carousel-"+bmn(la(e.school)),t=function(a){return Je(a)(function(r){return Rmn("col-12 col-md-auto mb-4 mb-md-0 d-flex justify-content-center justify-content-md-start align-items-md-center")(wmn({source:new Su({url:r+"?fit=crop&crop=faces,edges&w=256&h=256&auto=compress,format"}),size:Yb.value}))})};return Yx("card")([ha(e),Yx("card-body mb-4")([Smn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(Emn(e.faculty)(function(a){return Yx("row py-3 px-5 w-100")([t(a.avatarUrl),Yx("col-12 col-md ml-2")([Cmn("mb-1")(a.name),Nwe("small text-secondary")(a.department),Nwe("mt-3")(a.bio)])])})),Imn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})])])};var Tmn=Yn(L)()(),MB=Z(ge),pD=B(W),Xx=B(L),Fmn=_i(ae)()(),Mmn=Cs(W)()(),Gmn=Sa(),Amn=Kn(L),sT=B(ae),xmn=function(e){return function(n){var t=function(c){return Tmn("rounded")({style:fn({width:"0.5rem",height:"0.5rem",backgroundColor:c})})("")},a=ce(MB(e)(function(c){return pD("d-flex align-items-center mt-2")([t(c.color),Xx("ml-2")(c.name+(": "+c.pct))])})),r=ce(MB(e)(function(c){return ce([pD("row align-items-center")([pD("col text-nowrap")([pD("d-flex align-items-center")([t(c.color),Xx("ml-2")(c.name)])]),Xx("col-auto font-weight-semibold")(c.pct)]),Ba("my-3")])})),o=function(){return n?r:a}(),i=function(c){return pD("d-flex flex-column align-items-center")([Y(c.name),pD("d-flex align-items-center")([t(c.color),Xx("ml-2")(c.pct)])])},u=function(c){return function(s){var f=c.angle+2*$v*s.value;return{angle:f,visual:Fmn({overlay:i(s)})($b({center:{x:0,y:0},angle0:c.angle,angle1:f,innerRadius:60,outerRadius:150,fill:s.color,stroke:{color:"white",width:1}}))}}},l=Mmn("my-3")({viewBox:"-160 -160 320 320",width:"200",height:"200"})(MB(n8(u)({angle:0,visual:un})(e))(function(c){return c.visual}));return{chart:l,legend:o}}},Zx=function(){return function(e){var n=Gmn(e),t=xmn(n.segments)(n.tableLegend),a=Je(Rr(n.title))(Amn("text-uppercase text-secondary small t--subtitle")),r=function(o){if(n.tableLegend)return sT("col-12 text-center col-md mb-3 mb-md-0")(sT("bg-very-light-grey py-4")(o));if(xe)return sT("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?ce([a,t.chart,t.legend]):ce([sT("ml-4")(a),pD("row align-items-center justify-content-center")([r(t.chart),sT("col")(t.legend)])])}};var Lmn=Z(ge),jmn=Zx(),Nmn=B(W),Pmn=B(ae),kwe=function(e){var n=function(){var t=Lmn(e.props.breakdown)(function(a){return{value:a.percentage,color:a.chartColor,name:a.label,pct:La(a.percentage)}});return jmn({segments:t,title:"Average aid package",stackLegend:!1,tableLegend:!1})}();return Nmn("card")([ha(e),Pmn("card-body")(n)])};var GB=B(W),Owe=B(ae),kmn=m0(L)()(),Omn=It(L),Umn=Vn(L),Uwe=function(e){return GB("card")([ha(e),Owe("card-body")(GB("row mb-4 align-items-center text-center text-md-left")([Owe("col-12 col-md-auto")(kmn("h-100 border-0 rounded")({src:e.video.link,allowFullScreen:!0})("")),GB("col mt-2 mt-md-0")([Omn("")(e.video.title),Umn("")(E_(e.video.duration))])]))])};var UB=ba(Jwe());var Kmn=Af(),epn=function(e){return e},npn=function(e){return e};var Wwe=function(e){var n=Kmn(e);return function(){return function(){return n(UB.default)}}},qwe=function(e){return epn(Ga(e))};var zwe=npn,$we=Ga("auto");var tpn=Wwe(ae)()(),e7=B(W),apn=Yn(W)()(),rpn=Gn(pt),opn=It(L),Vwe=B(L),ipn=xa(L)()(),upn=N(ge),lpn=function(e){var n=function(a){return tpn({duration:zwe(350),height:function(){if(a instanceof Ya)return qwe(0);if(a instanceof er)return $we;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 Ya)return"down";if(a instanceof er)return"up";throw new Error("Failed pattern match at SchoolDetails.ContentModules.GrantsAndScholarships (line 38, column 5 - line 38, column 31): "+[a.constructor.name])};return vo(ua(Ya.value))(function(a){return function(r){return e7("")([apn("row border-bottom align-items-center mb-4")({onClick:rpn(r)(C0(a))})([opn("mb-4 mx-2")(e.name),Vwe("ml-auto ms-auto mb-4 x-large fe fe-chevron-"+t(a))("")]),n(a)(e7("mb-4")([Vwe("mb-3")(e.description),ipn("")({href:e.url,target:"_blank"})("Learn more here")]))])}})},Qwe=function(e){return e7("card")([ha(e),e7("card-body")(upn(lpn)(e.props.grantsAndScholarships))])};var cpn=re(Mi),fT=B(W),spn=Pc(L),Ywe=Vn(L),fpn=Yn(W)()(),Xwe=Z(ge),vpn=Ho(),mpn=Yl()(),ppn=Is(L),_pn=Kn(L),Zwe=function(e){var n="t--local-area-spotlight-carousel-"+cpn(la(e.school));return fT("card")([ha(e),fT("card-body")([spn("")(e.area.name),Ywe("")(e.area.description),fT("mb-4")([fpn("flickity-viewport-visible "+n)({style:fn({display:"none"})})(Xwe(e.area.images)(function(t){return vpn("w-100 rounded")({src:t.url,ar:"2:1",fit:"crop",auto:"compress,format",sizes:k0})})),mpn({containerClassName:n,onMountShowContainer:!0,pageDots:!0})]),ppn("small text-uppercase mt-6 mb-4")("Top things to do"),fT("row")(Xwe(e.activities)(function(t){return fT("col-12 col-md-6")([_pn("")(t.name),Ywe("")(t.description)])}))])])};var dpn=Ct(L)()(),hpn=_e(Fue),gpn=Gn(pt),Dpn=re(Mi),HB=B(W),Kwe=Vn(L),ypn=f0(ae),bpn=s0(W),eSe=Z(ge),Rpn=c0(W),nSe=Es(L),wpn=Ir(L),Spn=Hr(Te)(ft),Epn=Yn(W)()(),Cpn=Ho(),Ipn=Yl()(),tSe=function(e){var n=function(r){return function(o){return function(i){return Je(r)(function(u){return dpn("btn "+function(){var l=hpn(u)(o);return l?"btn-primary":"btn-outline-secondary"}())({onClick:gpn(i)(u)})(Mue(u))})}}},t=function(r){return"t--non-academic-facilities-carousel-"+(Dpn(la(e.school))+("-"+Oe("")(OG)(r)))},a=function(r){if(r instanceof b0)return e.residence;if(r instanceof j_)return e.athletic;if(r instanceof Zm)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 vo(ua(b0.value))(function(r){return function(o){return HB("card")([ha(e),HB("card-body")([HB("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)]),Kwe("")(a(r).description),ypn("table table-lg")(bpn("")(eSe(a(r).information)(function(i){return Rpn("")([nSe("")(i.name),nSe("text-right w-50 font-weight-bold fw-bold")(i.description)])}))),Je(a(r).list)(function(i){return ce([wpn("uppercase text-secondary")(Ee("")(Gue(a(r).id))),Kwe("")(Spn(", ")(i))])}),Epn("flickity-viewport-visible mb-4 "+t(a(r).id))({style:fn({display:"none"})})(eSe(function(i){return i.photos}(a(r)))(function(i){return Cpn("w-100 rounded")({src:i.url,ar:"2:1",fit:"crop",crop:"faces",auto:"compress,format",sizes:k0})})),Ipn({containerClassName:t(a(r).id),onMountShowContainer:!0,pageDots:!0,key:OG(Ee(b0.value)(a(r).id))})])])}})};var Tpn=B(W),Fpn=B(ae),Mpn=f0(ae),Gpn=s0(W),Apn=Z(ge),xpn=c0(W),aSe=Es(L),rSe=function(e){return Tpn("card")([ha(e),Fpn("card-body")(Mpn("table table-lg")(Gpn("")(Apn(e.props.costs)(function(n){return Je(n.description)(function(t){return xpn("")([aSe("")(n.name),aSe("text-right w-50")(t)])})}))))])};var wR=B(W),Lpn=B(ae),jpn=Ho(),Npn=It(L),oSe=Vn(L),Ppn=Ea(L),kpn=Is(L),Opn=N(ge),iSe=function(e){var n=function(t){return wR("row mb-4 align-items-center text-center text-md-left")([Lpn("col-12 col-md-3")(jpn("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
              `})),wR("col mt-2 mt-md-0")([Npn("")(t.name)])])};return wR("card")([ha(e),wR("card-body")([oSe("")(e.description),wR("row pt-5 mx-1 border-bottom")([oSe("col-6 px-0")("Religious affiliation"),Ppn("col-6 ml-auto ms-auto text-right px-0")(e.affiliation)]),kpn("small text-uppercase my-5")("Sacred spaces and religious facilities"),wR("")(Opn(n)(e.locations))])])};var vT=B(W),BB=Vn(L),Upn=Ea(L),Hpn=B(ae),Bpn=m0(L)()(),Jpn=It(L),Wpn=Ho(),uSe=function(e){return vT("card")([ha(e),vT("card-body")([BB("")(e.spectatorSports.description),vT("row pt-5 mx-1 border-bottom")([BB("")("Conference affiliation"),Upn("ml-auto ms-auto")(e.spectatorSports.conferenceAffiliation)]),vT("row my-4 align-items-center")([Hpn("col-12 col-md-auto")(Bpn("h-100 border-0 rounded")({src:e.spectatorSports.video.url,allowFullScreen:!0})("")),vT("col mt-2 mt-md-0")([Jpn("")(e.spectatorSports.video.title),BB("")(E_(e.spectatorSports.video.duration))])]),Je(e.spectatorSports.photoUrl)(function(n){return Wpn("rounded img-fluid mt-3")({src:n,ar:"3:2",fit:"crop",crop:"edges",sizes:k0})})])])};var _D=B(W),lSe=Kn(L),JB=Vn(L),qpn=mh(Ot),zpn=Op(Ot),WB=Z(ge),$pn=re(Mi),mT=B(ae),Vpn=_e(va),Qpn=Yn(W)()(),Ypn=Ho(),Xpn=Yl()(),cSe=en(L),Zpn=re(ze),Kpn=Ct(L)()(),e_n=Gn(pt),sSe=function(e){var n=function(o){return ce([_D("col mt-3 pr-5")([lSe("mb-2")(o.name),JB("text-secondary")(o.category),Je(o.description)(function(i){return JB("")(i)})]),Ba("")])},t=qpn(zpn(WB(e.props.groups)(function(o){return o.category}))),a="t--student-groups-carousel-"+$pn(la(e.school)),r=Gd({title:L_(cv(e.module.data)),items:e.props.groups,renderItem:function(o){return mT("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:Vpn}});return _D("card")([ha(e),_D("card-body")([_D("mb-4")([Qpn("flickity-viewport-visible "+a)({style:fn({display:"none"})})(WB(e.props.photos)(function(o){return Ypn("w-100 rounded")({src:o.url,ar:"2:1",fit:"crop",auto:"compress,format"})})),Xpn({containerClassName:a,onMountShowContainer:!0,pageDots:!0})]),_D("row mt-6")([mT("col")(cSe("large")("Student-run groups and organizations")),mT("col-auto")(cSe("large")(Zpn(da(e.props.groups))))]),Ba(""),_D("row")(WB(Lr(function(o){return o.isFeatured})(e.props.groups))(function(o){return _D("col-12 col-md-6")([lSe("mt-4 mb-2")(o.name),JB("text-secondary small")(o.category)])})),mT("row mt-4")(mT("col-6 offset-3")(Kpn("btn btn-outline-primary btn-block")({onClick:e_n(e.showOverlay)(r)})("All student groups")))])])};var n_n=mh(Ot),t_n=Op(Ot),a_n=Z(ge),pT=B(W),r_n=Ho(),fSe=Kn(L),vSe=Vn(L),SR=B(L),o_n=_e(va),i_n=sM(W),u_n=Ir(L),l_n=N(ge),mSe=B(ae),c_n=Ct(L)()(),s_n=Gn(pt),pSe=function(e){var n=function(o){return o.city+(", "+o.country)},t=n_n(t_n(a_n(e.props.programs)(n))),a=function(o){return pT("col-12 mb-4 col-md-6 mb-md-0")([Je(o.imageURL)(function(i){return r_n("rounded img-fluid")({src:i,ar:"3:2",fit:"crop",crop:"edges"})}),fSe("mt-3")(o.name),Je(o.description)(function(i){return vSe("")(i)}),SR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.duration)(function(i){return SR("text-secondary mt-2")("Program length: "+i)})])},r=Gd({title:"All programs",items:e.props.programs,renderItem:function(o){return pT("mb-5")([fSe("")(o.name),Je(o.description)(function(i){return vSe("")(i)}),SR("mt-n2 text-secondary")("Location: "+n(o)),Je(o.region)(function(i){return SR("text-secondary mt-2")("Region: "+i)}),Je(o.duration)(function(i){return SR("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:o_n}});return pT("card")([ha(e),pT("card-body")([Je(e.props.description)(function(o){return SR("mb-4")(o)}),i_n("")([u_n("")("Featured programs"),pT("row mt-4")(l_n(a)(e.props.featuredPrograms))]),mSe("row mt-4")(mSe("col-6 offset-3")(c_n("btn btn-outline-primary btn-block")({onClick:s_n(e.showOverlay)(r)})("All programs")))])])};var qB=B(W),_Se=B(ae),f_n=Z(ge),v_n=Ho(),m_n=Kn(L),p_n=Vn(L),dSe=function(e){return qB("card")([ha(e),_Se("card-body")(ce(f_n(e.traditions)(function(n){return qB("row mb-4")([Je(n.photoUrl)(function(t){return _Se("col-12 col-md mb-4 mb-md-0")(v_n("w-100 rounded")({src:t,fit:"crop",crop:"faces",ar:"2:1",auto:"compress,format"}))}),qB("col")([m_n("")(n.name),p_n("")(n.description)])])})))])};var __n=B(ae),d_n=Yn(ae)()(),h_n=B(L),g_n=B(W),D_n=Z(ge),hi=Ef()(),y_n=Gn(pt),b_n=Ct(W)()(),R_n=en(L),w_n=Hn(Mn)(qt),S_n=Bn(Xn),zB=z(_t),hSe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),gSe=function(){function e(){}return e.value=new e,e}(),DSe=function(e){return function(n){return function(t){var a=__n("text-center p-4")(d_n("spinner-border text-primary")({role:"status"})(h_n("sr-only")("Loading\u2026"))),r=function(u){return t(hSe.create(u))},o=function(u){var l=zv(Cu($ue)(function(s){return cv(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 g_n("pb-5 "+function(){var s=gt(n.overlay);return s?"d-none":""}())(D_n(l(u))(function(s){if(s.data instanceof HG)return vwe(hi(c(s))(s.data.value0));if(s.data instanceof BG)return pwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof JG)return _we(hi(c(s))(s.data.value0));if(s.data instanceof WG)return Dwe(hi(c(s))({mapboxAccessToken:e.mapboxAccessToken}));if(s.data instanceof qG)return bwe(hi(c(s))(s.data.value0));if(s.data instanceof zG)return Rwe(hi(c(s))(s.data.value0));if(s.data instanceof $G)return Awe(hi(c(s))({props:s.data.value0,showOverlay:r,randomSeed:e.randomSeed}));if(s.data instanceof VG)return jwe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof QG)return Pwe(hi(c(s))(s.data.value0));if(s.data instanceof YG)return kwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof XG)return Uwe(hi(c(s))(s.data.value0));if(s.data instanceof ZG)return Qwe(hi(c(s))({props:s.data.value0}));if(s.data instanceof KG)return Zwe(hi(c(s))(s.data.value0));if(s.data instanceof e4)return tSe(hi(c(s))(s.data.value0));if(s.data instanceof n4)return rSe(hi(c(s))({props:s.data.value0}));if(s.data instanceof t4)return iSe(hi(c(s))(s.data.value0));if(s.data instanceof a4)return uSe(hi(c(s))(s.data.value0));if(s.data instanceof r4)return sSe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof o4)return pSe(hi(c(s))({props:s.data.value0,showOverlay:r}));if(s.data instanceof i4)return dSe(hi(c(s))(s.data.value0));throw new Error("Failed pattern match at SchoolDetails.ForYou (line 115, column 47 - line 184, column 48): "+[s.data.constructor.name])}))},i=y_n(t)(gSe.value);return ce([Oe(a)(o)(ho(e.contentModules)),Je(n.overlay)(function(u){return ce([b_n("btn btn-link px-0")({onClick:i})([R_n("fe fe-chevron-left mr-1")(""),Y("Back")]),u])})])}}},ySe=function(e){return function(n){if(n instanceof hSe)return w_n(mr(S_n(M9)))(function(){return zB({overlay:new d(n.value0)})});if(n instanceof gSe)return zB({overlay:C.value});throw new Error("Failed pattern match at SchoolDetails.ForYou (line 66, column 1 - line 66, column 55): "+[e.constructor.name,n.constructor.name])}},bSe=function(){return zB({overlay:C.value})}();var E_n=ca(pu),C_n=sv(),I_n=WP(),RSe=function(e){var n=xa(e)()();return function(t){return function(a){return n(t)({href:a.href,onClick:E_n(function(r){return function(){return C_n(r)(),I_n(r)(),a.onClick()}})})}}};var T_n=Mr(L)()(),wSe=Gn(pt),F_n=Mr(W)()(),M_n=en(L),G_n=Ew(Hte),A_n=Sa(),x_n=Yn(W)()(),L_n=Ye(sa),j_n=N(ge),N_n=function(e){return function(n){return n instanceof d&&n.value0 instanceof R_?"btn-success":n instanceof d&&n.value0 instanceof w_?"btn-danger":n instanceof d&&n.value0 instanceof b_?"btn-secondary":n instanceof d&&n.value0 instanceof S_||n instanceof C&&e.primary?"btn-primary":n instanceof C?"btn-outline-primary":"btn-light"}},P_n=function(e){return e instanceof R_?"badge-soft-success bg-success-soft":e instanceof w_?"badge-soft-danger bg-danger-soft":e instanceof b_?"badge-secondary bg-secondary":e instanceof S_?"badge-soft-primary bg-primary-soft":"badge-light bg-light text-dark"},SSe=function(){return function(e){return function(n){return function(t){var a=function(v){return" t--school-list-status-"+lu(oE(v))},r=function(v){return T_n("dropdown-item mb-1 "+(P_n(v)+a(v)))(Fr)({onClick:wSe(t)(new d(v))})(PM(v))},o=function(){var v=function(m){if(xe)return[F_n("dropdown-item mb-1 d-flex align-items-end badge-danger bg-danger t--school-list-status-remove")(Fr)({onClick:wSe(t)(C.value)})([M_n("fe fe-x mr-2")(""),Y("Remove from list")])];throw new Error("Failed pattern match at Hub.ListStatusSelector (line 25, column 1 - line 30, column 15): "+[])};return n instanceof C?[]:v(!0)}(),i=G_n(V9)(Oe([])(kp)(n)),u=A_n(e),l=Un(u.buttonContent)(Y(Oe("Add to my list")(PM)(n))),c=Un(u.primary)(!1),s=Un(u.small)(!1),f=Un(u.buttonClass)("btn btn-block "+function(){return s?"no-animation btn-sm":"px-4"}());return w3("")({toggleClass:f+(" t--school-list-status-selector "+N_n({primary:c})(n)),toggleContent:l,contentId:"school-list-status-selector-dropdown-options",content:function(v){return x_n(Un(u.menuClass)("")+(" "+v.className))({id:v.contentId})(L_n(j_n(r)(i))(o))},ariaLabelInput:Ls("School list selector dropdown")})}}}};var k_n=on(),O_n=Gn(ao),ESe=function(e){return Ys(new wu(e.placeholder))()({options:Nce(e.schoolDb),getOptionLabel:jS,getOptionValue:function(n){return k_n(la(n))},onSelect:O_n(e.onSelect)(function(n){return n}),placeholder:e.placeholder,noOptionsMessage:tx(function(n){return Y("No schools found")}),classNamePrefix:e.classNamePrefix})};var CSe="/messages";var n7=Ct(L)()(),$B=ca(pr),t7=B(ae),$_n=B(W),V_n=xa(L)()(),a7=function(e){var n=n7("btn btn-block btn-outline-secondary t--sdp-connection-pending")({disabled:!0,title:"Your connection request has been sent to the school"})("Requested"),t=function(){if(e.shortText)return"Ignore";if(xe)return"Ignore connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 106, column 5 - line 108, column 40): "+[])}(),a=function(){if(e.vineBelowConnectionLimit instanceof d&&!e.vineBelowConnectionLimit.value0)return!0;if(e.vineBelowConnectionLimit instanceof d&&e.vineBelowConnectionLimit.value0||e.vineBelowConnectionLimit instanceof C)return!1;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 111, column 7 - line 114, column 25): "+[e.vineBelowConnectionLimit.constructor.name])}(),r=n7("btn btn-block btn-primary px-4 t--sdp-connection-invite")({onClick:$B(e.onInviteSchool),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})("Connect"),o=function(){return a?yC(DC)(t7("t--sdp-connection-invite-wrapper")(r)):r}(),i=function(){if(e.shortText)return"Accept";if(xe)return"Accept connection";throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 102, column 5 - line 104, column 40): "+[])}(),u=n7("btn btn-block btn-primary text-nowrap t--sdp-connection-accept")({onClick:$B(e.onAcceptInvitation),disabled:a,style:fn({pointerEvents:function(){return a?"none":"auto"}()})})(i),l=$_n("form-row")([t7("col-6 pr-2")(function(){return a?yC(DC)(t7("t--sdp-connection-accept-wrapper")(u)):u}()),t7("col-6 pl-2")(n7("btn btn-block btn-light text-nowrap t--sdp-connection-ignore")({onClick:$B(e.onIgnoreInvitation)})(t))]),c=eE(la(e.school))(e.schoolDb);if(c instanceof zt&&c.value0.status instanceof Bl)return V_n("btn btn-block btn-outline-primary t--sdp-connection-go-to-chat")({href:CSe})("Message");if(c instanceof zt&&c.value0.status instanceof Ko&&c.value0.initiator instanceof ki)return l;if(c instanceof zt&&c.value0.status instanceof xu&&c.value0.initiator instanceof ki)return o;if(c instanceof zt&&c.value0.status instanceof Ko&&c.value0.initiator instanceof Ns||c instanceof zt&&c.value0.status instanceof xu&&c.value0.initiator instanceof Ns)return n;if(c instanceof Ra)return o;if(c instanceof or)return un;throw new Error("Failed pattern match at Network.SemVine.SchoolDetailsButton (line 33, column 3 - line 55, column 14): "+[c.constructor.name])};var Q_n=ro(Pr(No)),ISe=K(Lt),Y_n=Sa(),X_n=Xi($n(Qn()(E({reflectSymbol:function(){return"id"}})(ue)(E({reflectSymbol:function(){return"imageUrl"}})(ue)(E({reflectSymbol:function(){return"name"}})(ue)(E({reflectSymbol:function(){return"slug"}})(ue)(he))))))),Z_n=z(Yt),K_n=Z(ge),TSe=um(),edn=function(){return Q_n("schools_search_path")(function(e){return function(n){return ISe(function(){var t=Y_n(n);return e({term:t.term,only_ui_discoverable:Un(t.onlyUiDiscoverable)(!0)})}())(zr(function(t){return ISe(X_n("School Search Results")(t))(function(a){return Z_n(K_n(a)(function(r){return{imageUrl:r.imageUrl,name:r.name,id:TSe(r.id),slug:TSe(r.slug)}}))})}))}})},ndn=edn(),FSe=function(e){return ndn({term:e})};var MSe=Z(Vt),tdn=ps(Xv),GSe=function(){var e=function(t){return MSe(MSe(tdn(FSe(t)))(oc))(Ee([]))},n=function(t){return c4(R0(ei.value)(t.slug))};return rx(new wu("Search school"))()({loadOptions:ax(e),defaultOptions:!0,getOptionLabel:function(t){return t.name},getOptionValue:function(){var t=re(Mi);return function(a){return t(function(r){return r.id}(a))}}(),onSelect:ca(pu)(n),placeholder:"Type to search",instanceId:"school-jump-bar"})}();var adn=Qf(W),rdn=Z(ge),odn=cl(ae),idn=RSe(L),udn=_e(ele),ASe=on(),ldn=iv(),cdn=Z(J),sdn=SSe(),Yc=B(ae),fdn=Ho(),mp=B(W),vdn=B(L),VB=N(J),mdn=Yn(ae)()(),pdn=Pc(L),_dn=en(L),ddn=function(e){return function(n){var t=Lr(l4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb}))([Lu.value,ei.value,Zi.value,ju.value,Jl.value,Wl.value,ql.value]),a=function(o){if(o instanceof ei)return"Overview";if(o instanceof Lu)return"For you";if(o instanceof Zi)return"Chancing";if(o instanceof ju)return"Cost & scholarships";if(o instanceof Jl)return"Majors";if(o instanceof Wl)return"Admissions";if(o instanceof ql)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(xe)return"";throw new Error("Failed pattern match at SchoolDetails.Header (line 192, column 5 - line 196, column 13): "+[])}();return vn(e.showNav)(adn("nav nav-tabs overflow-visible border-bottom-0 "+r)(rdn(t)(function(o){return odn("nav-item text-nowrap")(idn("cursor-pointer py-3 nav-link t--sdp-tab-"+(WE(o)+function(){var i=udn(o)(e.activeTab);return i?" active":""}()))({onClick:e.onSwitchTab(o),href:R0(o)(function(i){return i.slug}(ASe(e.school)))})(a(o)))})))}},hdn=function(e){return function(n){if(n.currentUser instanceof C)return ldn({text:"Add to my list",className:"btn btn-outline-primary btn-block",auth0ActiveTab:ov});if(n.currentUser instanceof d){var t=cdn(KS(la(e.school))(e.schoolDb))(function(a){return a.status});return sdn({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])}},xSe=function(e){return function(n){var t=Yc("col-10 col-lg-5 py-2 mr-lg-0 pl-0")(function(){var i=da(e.schoolDb.searchOptions)<10;return i?GSe:ESe({schoolDb:e.schoolDb,onSelect:e.onSelectSchool,placeholder:"Type to search...",classNamePrefix:""})}()),a=ASe(e.school),r=function(){if(a.publicPrivate instanceof l_)return"Public";if(a.publicPrivate instanceof c_)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 fdn("rounded")({src:a.imgixPath,fit:"crop",crop:"edges",style:fn({height:i,width:"100%",objectFit:"cover"})})};return mp("header mb-3 mx-n3 mx-md-0")([mp("row pr-3 my-3")([Yc("col pr-0")(ma(n.backButton)),ma(Gu(e.configuration)(t)),vdn("col")("")]),mp("position-relative mx-3 mx-lg-0")([Yc("d-md-none")(o("15rem")),Yc("d-none d-md-block")(o("20rem")),ma(VB(mdn("position-absolute d-inline bg-gray-100 rounded")({style:fn({top:"1.5rem",right:"1.5rem"})}))(ebe(e.onEdit)(aR.value)))]),Yc("container px-lg-0")(mp("pb-0 pb-md-3")([mp("row align-items-end mt-4")([mp("col mb-3")([mp("row align-items-center")([Yc("col-auto")(pdn("header-title")(a.name)),ma(VB(Yc("col-auto pl-0"))(di(e.onEdit)(Sd.value)))]),Yc("row")(mp("col small")(ph(_dn("mx-2")("\u2022"))(Go(VB(Y))([new d(ES(a.address)),n9(a),new d(r)]))))]),Yc("col-12 col-lg-auto my-0 mb-lg-3")(mp("row no-gutters g-0 align-items-center")([vn(e.showConnectButton)(Yc("col-12 col-lg-auto pb-3 pb-lg-0 pr-lg-2")(a7({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!1}))),ma(Gu(e.configuration)(Yc("col-12 col-lg-auto")(hdn(e)(n))))]))]),Yc("row border-bottom mx-1")(Yc("col col-lg-auto mt-3 mt-lg-0 px-0")(ddn(e)(n)))]))])}};var LSe=B(ae),gdn=en(L),Ddn=re(ze),ydn=Kn(L),r7=B(W),jSe=f0(W),NSe=B1(ae),o7=c0(ae),PSe=J1(L),kSe=s0(W),QB=Z(ge),OSe=Es(L),bdn=Ir(L),Rdn=pf(Ot),wdn=function(e){return LSe("card bg-white")(LSe("card-body")(gdn("")(e.name+(" has "+(Ddn(da(e.majors))+" different majors")))))},Sdn=function(e){return ce([ydn("")("Most popular majors"),r7("card")([r7("table-responsive")([jSe("table table-sm table-nowrap card-table")([NSe("")(o7("")(PSe("")("Major"))),kSe("list")(QB(e)(function(n){return o7("")(OSe("")(n.name))}))])])])])},Edn=function(e){return function(n){var t=O9(n.id)(e),a=QB(gte(t))(function(r){var o=Hp(r).areaOfStudy;return ce([r7("card")([bdn("card-header")(o),r7("table-responsive")([jSe("table table-sm table-nowrap card-table")([NSe("")(o7("")(PSe("")("Major"))),kSe("list")(QB(zv(Rdn(function(i){return i.name}))(sc(r)))(function(i){return o7("")(OSe("")(i.name))}))])])])])});return ce(a)}},USe=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 ce([wdn(n),function(){return n.id==="b1fe9c0b-0310-45f9-8579-1ad20fabacb1"?Sdn(t):un}(),Edn(e)(n)])}};var HSe=z(_t),BSe=Gi(Vt),Cdn=xr(BSe),Idn=K(qt),Tdn=Dr(BSe),O0=B(W),i7=Yn(ae)()(),JSe=It(L),YB=B(L),u7=B(ae),Fdn=Kn(L),Mdn=Ir(L),XB=en(L),Gdn=en(ae),ZB=Ea(L),Adn=re($i),WSe=re(ze),xdn=Yn(L)()(),Ldn=xa(L)()(),KB=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qSe=function(e){return function(n){if(n.value0 instanceof Qt)return HSe({liteChancing:e.liteChancing,schools:e.schools,chancedSchool:function(){var t=Ei(n.value0.value0.value0);if(t instanceof d)return new zt(t.value0);if(t instanceof C)return Ra.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 at)return Cdn(KB.create)(function(t){return{chancedSchool:e.chancedSchool,schools:e.schools,liteChancing:t}})(Nye({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])}},zSe=zM()({utmCampaign:"uaq-38-sdp"})(b3),$Se=function(e){var n=[Aye(e)];return Idn(Tdn(KB.create)(jye({schoolItems:n,redirectUrlOverride:new d(zSe)})))(function(t){return HSe({schools:n,chancedSchool:new or(C.value),liteChancing:t})})},VSe=function(e){return function(n){return function(t){return function(a){var r=function(l){return Je(l.score)(function(c){return O0("row align-items-center mb-3")([i7("col-12 col-lg-auto")({style:fn({minHeight:"140px",minWidth:"280px"})})(DR({score:new d(Br(c*100))})),O0("col-12 col-lg py-3 my-auto")([JSe("font-weight-normal fw-normal")("Your chances"),YB("h3 text-gray-800 mb-0 large")(La(c))])])})},o=function(l){return ale(l)},i=function(l){return e.liteChancing.chancingIsLoading?i7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(YB("sr-only")("Loading\u2026")):r(l)},u=function(l){return kye(e.liteChancing)(function(c){return n(KB.create(c))})(function(c){return u7("mt-2 mb-0 lite-chancing-cta")(u7("card h-100")(O0("card-body overflow-auto mh-100")([O0("d-flex align-items-center mb-4")([Fdn("my-0 mr-3")("Chancing"),ma(di(a)(lR.value))]),O0("row")([O0("col-12 col-lg-6")([JSe("")("What are your chances of acceptance?"),i(l)]),O0("col-12 col-lg-6")([Mdn("font-weight-normal fw-normal")("Your chancing factors"),c.gpaSlider({className:"mt-2 mb-3",label:function(s){return ce([XB("mb-2")("Unweighted GPA:"),Gdn("gpa")(ZB("")(" "+Adn(s)))])},onChange:o(c.redirectUrl)}),O0("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 ce([Y("SAT: "),ZB("")(WSe(s)+" math")])},onChange:o(c.redirectUrl)}),c.satVerbalScoreSlider({className:"small t--sdp-lite-chancing-cta-left-sidebar-sat-verbal",label:function(s){return ce([Y(" | "),ZB("")(WSe(s)+" verbal")])},onChange:o(c.redirectUrl)})]),u7("mb-2")(c.genderDropdown({onChange:o(c.redirectUrl),className:""})),c.ecSelector({onChange:o(c.redirectUrl),className:""}),O0("")([O0("mb-1 small")([XB("text-danger")("Low accuracy"),XB("text-muted")(" (4 of 18 factors)")]),i7("progress")({style:fn({backgroundColor:"#95aac9",height:"3px"})})(xdn("progress-bar bg-danger")({role:"progressbar",style:fn({width:"15%"})})(""))]),u7("mt-4")(Ldn("t--sdp-lite-chancing-cta-left-sidebar-complete-full-profile-uaq-8 btn btn-primary w-100")({href:Ms({key:"utm_content",value:"add-more-factors"})(zSe)})("Add more factors \u203A"))])])])))})};if(e.chancedSchool instanceof or)return i7("mb-4 spinner-border spinner-border-lg text-primary small")({role:"status"})(YB("sr-only")("Loading\u2026"));if(e.chancedSchool instanceof Ra)return t;if(e.chancedSchool instanceof zt)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 QSe=nR(L),jdn=oa(Te)(ft),YSe=re(ze),Ndn=Kn(ae),Pdn=It(L),l7=B(W),c7=B(ae),kdn=Kn(L),Odn=function(e){var n=aD(Rd(e.studentsPerFaculty.percentile));return ce([QSe("Student faculty ratio")(jdn([_0(qM.value),YSe(e.studentsPerFaculty.value),":1 is ",n,"."])),Xa("")(YSe(e.studentsPerFaculty.value)+":1")])},Udn=function(e){return ce([QSe("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.
      `),Xa("mr-1")(ree(e.calendarSystem))])},Hdn=function(e){var n=function(t){return Ndn("d-inline-block mb-2")(pl(t))};return ce([Pdn("mb-4 mt-5 mt-md-4")("Special academic offering"),l7("")([vn(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 un;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])}(),vn(e.academicOfferings.offersGradDegree)(n("Offers graduate degree")),vn(e.academicOfferings.careerCounseling)(n("Academic and career counseling"))])])},XSe=function(e){return c7("card t--academics mt-5")(c7("card-body d-flex align-items-start")(l7("flex-grow-1 mr-4")([l7("d-flex align-items-center mb-5")([kdn("my-0 mr-3 flex-grow-1")("Academics"),ma(di(e.onEdit)(uR.value))]),l7("row")([c7("col-12 col-md-6")(Odn(e.school)),c7("col-12 col-md-6")(Udn(e.school))]),Hdn(e.school)])))};var s7=B(W),ER=B(ae),Bdn=Is(L),Jdn=It(W),Wdn=Du(L),qdn=Kn(ae),zdn=Ir(L),$dn=Vn(L),Vdn=FG(),Qdn=z(On),Ydn=Z(Ex),Xdn=Kn(L),Zdn=en(ae),Kdn=on(),ehn=function(e){return Je(e.admissions.acceptanceRate)(function(n){return s7("row align-items-center mb-3")([ER("col-12 col-lg-6")(ER("row")(ER("col-6 order-2 order-lg-1 px-sm-4 px-lg-0")(DR({score:new d(Br(100*n.value))})))),s7("col-12 col-lg-6 py-3 my-auto")([Bdn("text-uppercase text-muted")("Overall acceptance rate"),Jdn("text-gray-800 mb-0")([Y(La(n.value)),Wdn("text-secondary ml-2")(cD(e))])])])})},nhn=function(e){return ER("card t--chancing")(s7("card-body")([qdn("")(Y(function(){if(e.admissions.acceptanceRate instanceof d)return uRe(e.name)(e.admissions.acceptanceRate.value0.value);if(e.admissions.acceptanceRate instanceof C)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])}())),ehn(e),zdn("")("Want to see your real chances?"),$dn("")("We take every aspect of your personal profile into consideration when calculating your admissions chances."),Vdn({text:"Calculate my chances",className:"btn btn-primary"})]))},ZSe=function(e){return function(n){return function(t){var a=nhn(e.school);return function(r){if(r instanceof sR)return Je(Cx(r.value1))(bR({onSwitchTab:Qdn(e.onSwitchTab),showViewChancingExplanationCTA:!0,schoolDb:e.schoolDb})(e.school)(r.value0)(Ydn(Tx(r.value1))(function(o){return o.top})));if(r instanceof vR)return VSe(e.liteChancing)(t)(a)(e.onEdit);if(r instanceof mR)return zI({narrowLayout:n.mobileLayout});if(r instanceof fR)return ER("card")(s7("card-body")([Xdn("mr-3")("Chancing"),ER("p-6 text-center")(Zdn("spinner-border spinner-border-sm text-primary")(un))]));throw new Error("Failed pattern match at SchoolDetails.Overview.Chancing (line 42, column 7 - line 61, column 16): "+[r.constructor.name])}(Ix({currentUser:n.currentUser,chancingState:n.chancingState,school:Kdn(e.school)}))}}};var f7="/recruit/verify-profile";var thn=mt(Le),ahn=Z(J),rhn=_e(dc),ohn=xa(W)()(),ihn=en(L),v7=B(W),eJ=B(L),KSe=xa(L)()(),uhn=B(ae),lhn=Kn(L),chn=Vn(L),nJ=function(e){return function(n){return e.featureFlags.rcr2577ClaimSchoolProfileLinkOnSdp?e.school.profileClaimed?C.value:thn(Gu(e.configuration))(function(){var t=ahn(e.currentUser)(function(a){return a.role});return t instanceof C?new d(n(Ce)):t instanceof d&&t.value0 instanceof uN&&rhn(t.value0.value0.schoolId)(la(e.school))?new d(n(Ce)):C.value}()):C.value}},eEe=function(e){return nJ(e)(function(n){return ohn("d-flex align-items-center")({href:f7})([ihn("material-symbol large mr-2")("verified"),v7("d-flex flex-column flex-md-row")([eJ("mr-md-2")("Work at "+(jS(e.school)+"?")),eJ("")("Verify your profile")])])})},nEe=function(e){return nJ(e)(function(n){return v7("d-flex flex-column flex-md-row justify-content-center align-items-center border-top pt-3 mb-5")([eJ("mr-md-2")("Do you work at a school?"),KSe("")({href:f7})("Verify your profile")])})},tEe=function(e){return nJ(e)(function(n){return uhn("card bg-cv-green-50")(v7("card-body d-flex align-items-center")([OE("img-fluid mr-4 d-none d-md-block")("/img/sem/claim-school-profile-cta.svg"),v7("")([lhn("")("Do you work at "+(jS(e.school)+"?")),chn("")(`
          Verify your profile\xA0to keep your college's data up to date, get
          insights on user activity and connect with hand raiser students
        `),KSe("")({href:f7})("Verify your profile")])]))})};var shn=_e(dc),tJ=B(W),fhn=_u(L),vhn=kl()(),mhn=Gn(ao),phn=ta(L),_hn=B(ae),dhn=en(L),aEe=re(ze),_T=z(_t),rEe=Hn(Mn),oEe=rEe(qt),aJ=Kr(Xn),rJ=z(Yt),hhn=rEe(Lt),oJ=function(){function e(){}return e.value=new e,e}(),iEe=function(){function e(){}return e.value=new e,e}(),uEe=function(){function e(){}return e.value=new e,e}(),lEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),cEe=function(){function e(){}return e.value=new e,e}(),sEe=function(){function e(){}return e.value=new e,e}(),fEe=function(e){return function(n){return function(t){var a=la(e.school),r=function(){return n.stagedNotes instanceof d&&shn(n.stagedNotes.value0.schoolId)(a)?n.stagedNotes.value0.text:k9(a)(e.schoolDb)}(),o=function(){if(n.savedIndicator instanceof oJ)return"hidden";if(n.savedIndicator instanceof iEe)return"";if(n.savedIndicator instanceof uEe)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=st(rG),u=function(c){if(c<Br(.9*i))return"text-muted";if(c<Br(.95*i))return"text-warning";if(xe)return"text-danger";throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 93, column 5 - line 96, column 34): "+[c.constructor.name])},l=Zr(r);return tJ("form-group mb-0")([fhn("")("School notes"),vhn("form-control")({placeholder:"Enter notes",rows:5,value:r,onChange:mhn(t)(function(c){return at.create(lEe.create(Hs(c)))}),maxLength:rG}),tJ("row pt-2")([tJ("col small text-primary "+o)([phn("fe fe-check-circle x-small")(""),Y(" change saved")]),_hn("col-auto ml-auto small text-muted")(dhn(u(l))("("+(aEe(l)+("/"+(aEe(rG)+")")))))])])}}},vEe=function(e){return function(n){return function(t){if(t instanceof Qt)return _T(n);if(t instanceof at){if(t.value0 instanceof lEe){var a=la(e.school);return oEe(aJ(rJ(new Qt(new k_(a,t.value0.value0)))))(function(){return _T({savedIndicator:oJ.value,stagedNotes:new d({schoolId:a,text:t.value0.value0})})})}if(t.value0 instanceof cEe)return oEe(aJ(hhn(gc(2e3))(function(){return rJ(new at(sEe.value))})))(function(){return _T({stagedNotes:n.stagedNotes,savedIndicator:iEe.value})});if(t.value0 instanceof sEe)return _T({stagedNotes:n.stagedNotes,savedIndicator:uEe.value});throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 100, column 34 - line 114, column 43): "+[t.value0.constructor.name])}throw new Error("Failed pattern match at SchoolDetails.Overview.Notes (line 98, column 1 - line 98, column 75): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},mEe=function(e){return e instanceof B_?aJ(rJ(new at(cEe.value))):_T(Ce)},pEe=function(){return{savedIndicator:oJ.value,stagedNotes:C.value}}();var _Ee=Gi(Vt),ghn=xr(_Ee),iJ=Hn(Mn)(qt),Dhn=Kr(Xn),dEe=z(Yt),dT=z(_t),uJ=K(Lt),m7=Bn(Xn),hEe=mt(Va),yhn=Dr(_Ee),bhn=K(Le),Rhn=mt(Le),whn=z(On),Shn=iv(),lJ=B(ae),p7=B(W),Ehn=Kn(L),Chn=Ct(W)()(),Ihn=Gn(pt),gEe=ta(ae),Thn=_e(X_),hT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),DEe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),yEe=function(){function e(){}return e.value=new e,e}(),bEe="SDP_CUSTOM_DATA_VISIBILITY",REe=function(e){return function(n){return function(t){if(t instanceof at){if(t.value0 instanceof hT&&t.value0.value0 instanceof at)return ghn(function(r){return at.create(hT.create(r))})(function(r){return{visibility:n.visibility,notes:r}})(vEe(e)(n.notes)(t.value0.value0));if(t.value0 instanceof hT&&t.value0.value0 instanceof Qt)return iJ(Dhn(dEe(new Qt(t.value0.value0.value0))))(function(){return dT(n)});if(t.value0 instanceof DEe)return dT({notes:n.notes,visibility:t.value0.value0});if(t.value0 instanceof yEe){var a=C0(n.visibility);return iJ(mr(uJ(m7(hEe(q1)(_o)))(function(r){return m7(ub(bEe)(ck(a))(r))})))(function(){return dT({notes:n.notes,visibility:a})})}throw new Error("Failed pattern match at SchoolDetails.Overview.CustomData (line 51, column 40 - line 67, column 43): "+[t.value0.constructor.name])}if(t instanceof Qt)return dT(n);throw new Error("Failed pattern match at SchoolDetails.Overview.CustomData (line 50, column 1 - line 50, column 81): "+[e.constructor.name,n.constructor.name,t.constructor.name])}}},wEe=function(e){return yhn(function(n){return at.create(hT.create(n))})(mEe(e))},SEe=iJ(R1(Xn)(uJ(m7(hEe(q1)(_o)))(function(e){return uJ(m7(g3(bEe)(e)))(function(n){return dEe(bhn(Rhn(kpe)(n))(function(t){return whn(new at(new DEe(t)))}))})})))(function(){return dT({notes:pEe,visibility:Ya.value})}),Fhn=function(){var e=function(n){return function(t){return Shn({text:n,className:"btn btn-link d-inline p-0",auth0ActiveTab:t})}};return ce([lJ("text-center")(js()()("mx-auto")({src:"/img/schools/details/custom-data-anonymous.svg"})),p7("mt-3")([Ea(L)("")("Please "),e("log in")(hg),Y(" or "),e("sign up")(ov),Y(" to manage school notes and custom data.")])])}(),EEe=function(e){return function(n){return function(t){return function(a){return p7("card t--custom-data")([p7("card-body")([p7("row")([lJ("col")(Ehn("")("My custom data ")),vn(n.mobileLayout)(lJ("col-auto")(Chn("btn btn-link p-0")({onClick:Ihn(a)(new at(yEe.value))})(function(){if(t.visibility instanceof er)return[Y("Show less"),gEe("fe fe-chevron-up pl-2")(un)];if(t.visibility instanceof Ya)return[Y("Show more"),gEe("fe fe-chevron-down pl-2")(un)];throw new Error("Failed pattern match at SchoolDetails.Overview.CustomData (line 82, column 17 - line 90, column 22): "+[t.visibility.constructor.name])}())))]),vn(Thn(t.visibility)(er.value)||!n.mobileLayout)(function(){var r=fr(n.currentUser);return r?Fhn:fEe(e)(t.notes)(function(o){return a(at.create(hT.create(o)))})}())])])}}}};var gT=nR(L),cJ=re(ze),Mhn=Zx(),pp=B(W),Ghn=oa(Te)(ft),Ahn=gr($a),sJ=en(L),CEe=Ea(L),IEe=B(ae),xhn=Yn(L)()(),TEe=It(L),Lhn=wd(ae)(ae),jhn=Kn(L),Nhn=Z(J),Phn=B(L),khn=function(e){if(e.retentionRate instanceof d){var n=aD(Rd(e.retentionRate.value0.percentile));return new d([{title:gT("Retention rate")(`
          The percentage of a school's first-time, first-year
          undergraduate students who continue at that school
          the next year. Low retention rates may indicate that
          many students transfer out of this college or drop
          out. You should look for schools with high retention
          rates. Compared to other schools on CollegeVine,
          `+(La(e.retentionRate.value0.value)+(" is "+(n+".")))),value:Y(La(e.retentionRate.value0.value))}])}return C.value},Ohn=function(e){var n=function(o){var i=cs(o*100);return i===0?"< 1%":cJ(i)+"%"},t=function(o){return function(i){return function(u){return{value:i,color:o,name:u,pct:n(i)}}}},a=1-e.asian-e.black-e.hispanic-e.nativeAmerican-e.white,r=[t("#FF5879")(e.asian)("Asian and Pacific Islander"),t("#FF9438")(e.black)("Black"),t("#FFC64C")(e.hispanic)("Hispanic"),t("#42B8B8")(e.nativeAmerican)("Native American"),t("#D96ED9")(a)("Other"),t("#2F98E8")(e.white)("White")];return Mhn({segments:r,stackLegend:!1,tableLegend:!0})},Uhn=function(e){var n=Fs(e),t=function(){if(e<1250)return"small";if(e<3750)return"medium";if(xe)return"large";throw new Error("Failed pattern match at SchoolDetails.Overview.Enrollment (line 96, column 5 - line 99, column 28): "+[])}();return pp("col")([gT("First-year enrolled students (full-time) ")(`
        Full-time students are defined as undergraduate students
        taking 12 or more credits. `+(n+(" is a "+(t+` first-year class size. Larger schools
        typically have more opportunities for niche interests, more
        diversity in general, more programs for research. At
        smaller schools it's typically easier to make relationships
        with professors, get help when needed, and get good one-on-one
        advising.
      `)))),Xa("mb-4")(n)])},Hhn=function(e){if(e.fracInternationalStudents instanceof d){var n=aD(Rd(e.fracInternationalStudents.value0.percentile));return new d([{title:gT("International students")(Ghn([_0(JM.value)," Compared to other schools on CollegeVine, ",La(e.fracInternationalStudents.value0.value)," is ",n,"."])),value:Y(La(e.fracInternationalStudents.value0.value))}])}return C.value},Bhn=function(e){var n=function(t){if(xe)return C.value;throw new Error("Failed pattern match at SchoolDetails.Overview.Enrollment (line 125, column 1 - line 125, column 58): "+[e.constructor.name])};return e.sixYearGradRate instanceof d&&e.fourYearGradRate instanceof d?new d([{title:gT("4-year graduation rate")(`
            Percentage of a school's first-time, first-year undergraduate
            students who complete their program. Low 4-year rates indicate
            that many students need additional time to complete their
            programs; low 6-year graduation rates indicate that many
            students drop out without completing their programs. You
            should look for schools with high graduation rates.
          `),value:Y(La(e.fourYearGradRate.value0))},{title:gT("6-year graduation rate")(`
            Percentage of a school's first-time, first-year undergraduate
            students who complete their program. Low 4-year rates indicate
            that many students need additional time to complete their
            programs; low 6-year graduation rates indicate that many
            students drop out without completing their programs. You
            should look for schools with high graduation rates.
          `),value:Y(La(e.sixYearGradRate.value0.value))}]):n(!0)},Jhn=function(e){if(e.admissions.enrolled instanceof d){var n=e.admissions.enrolled.value0.men+e.admissions.enrolled.value0.women|0,t=Ahn(e.admissions.enrolled.value0.women*100|0)(n),a=cJ(100-t|0)+"%",r=cJ(t)+"%";return ce([pp("row mt-4")([pp("col")([sJ("")("Women: "),CEe("ml-2")(r)]),pp("col-auto")([sJ("")("Men: "),CEe("ml-2")(a)])]),IEe("progress progress-md bg-warning mt-3")(xhn("progress-bar")({style:fn({width:r})})(""))])}return un},Whn=function(e){if(e.white<.3)return"Very diverse";if(e.white<.5)return"Diverse";if(e.white<.65)return"Moderately diverse";if(e.white<.8)return"Low diversity";if(xe)return"Very low diversity";throw new Error("Failed pattern match at SchoolDetails.Overview.Enrollment (line 197, column 1 - line 197, column 44): "+[e.constructor.name])},FEe=function(e){var n=ce([TEe("mt-4")("Enrolled breakdown by gender"),Jhn(e.school)]),t=new d([{title:Y("Admission policy"),value:Y(o_(e.school.gender))}]),a=Lhn(WD(yr([Bhn(e.school),khn(e.school),t,Hhn(e.school)])));return ce([IEe("card t--enrollment")(pp("card-body")([pp("d-flex justify-content-between align-items-center")([jhn("mb-4 flex-grow-1")("Students"),ma(di(e.onEdit)(oR.value))]),pp("row")([Je(Nhn(e.school.numFreshmen)(function(r){return r.value}))(Uhn),Je(e.school.racialBreakdown)(function(r){return pp("col")([Phn("")("Student diversity"),Xa("mb-2")(Whn(r))])})]),a,n,Je(e.school.racialBreakdown)(function(r){return pp("")([TEe("mt-5 mb-0")("Race & ethnicity diversity"),sJ("small")("Among domestic students"),Ohn(r)])})]))])};var qhn=B(ae),zhn=B(W),$hn=Kn(L),Vhn=Vn(L),Qhn=Mr(W)()(),Yhn=Gn(pt),Xhn=ta(L),Zhn=on(),Khn=_e(xt(ar)),MEe=z(_t),egn=function(e){if(e.financials instanceof C)return un;if(e.financials instanceof d)return qhn("card t--financials-personal-estimate")(zhn("card-body")([$hn("")("Cost & scholarships"),Vhn("mb-1")("Your estimated net cost"),Xa("")(hu(e.financials.value0.estimatedNetCost)+" / year *"),Ba(""),Hx(e.school.urls),Qhn("btn btn-link p-0")(Fr)({onClick:Yhn(e.onSwitchTab)(ju.value)})([Xhn("material-symbol x-large align-middle pr-2")("calculate"),Y("See cost & scholarship details")])]));throw new Error("Failed pattern match at SchoolDetails.Overview.Finances (line 67, column 1 - line 67, column 41): "+[e.constructor.name])},GEe=function(){var e=function(t){return function(a){return function(r){var o=Zhn(t.school),i=di(t.onEdit)(Ed.value);return ce([Ux(t.props)(a)(r),function(){var u=Khn(Dm(o))(new d(0));if(u)return Ox({editButton:i})(t.school);var l=fr(t.props.currentUser);if(l)return ce([ma(xs(t.configuration)(yB(r)({school:t.school,showCta:!1,onEdit:t.onEdit}))),ma(Gu(t.configuration)(aT({editButton:i,showCta:!0})(r)(t.school)(dB.value)))]);var c=gt(t.financials);return c?egn(t):yB(r)({school:t.school,showCta:!0,onEdit:t.onEdit})}()])}}},n=function(t){return function(a){return MEe(a.value0)}};return tl("Finances")(function(t){return{init:MEe(RR.value),update:n,view:e(t)}})}();var fJ=AH(ae),DT=B(L),ngn=oa(Te)(ft),tgn=AH(W),agn=uc(Te)(va),Ad=B(W),_7=Ea(L),rgn=Yn(ae)()(),vJ=Kn(L),ogn=Z(J),ign=re(ze),AEe=K(Le),ugn=Kn(ae),xEe=It(W),LEe=en(L),lgn=Du(L),cgn=B(ae),sgn=function(e){if(e instanceof Fl)return fJ({icon:"map-pin",body:DT("h-100 d-flex align-items-center")(ngn([e.value0.street,", ",e.value0.city,", ",t_(e.value0.state)," ",e.value0.zip]))});if(e instanceof al)return tgn({icon:"map-pin",body:[DT("")(e.value0.address)]});throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 180, column 11 - line 194, column 6): "+[e.constructor.name])},jEe=function(e){var n=fJ({icon:"globe",body:$ye(e.school.urls.main)}),t=function(){var v=function(m){return function(_){var R=m===_;return R?m:m+(", "+_)}};return ce([function(){if(e.school.football.division1&&e.school.basketball.division1)return pl("D1 Football, D1 Basketball");if(e.school.football.division1&&!e.school.basketball.division1)return pl("D1 Football");if(!e.school.football.division1&&e.school.basketball.division1)return pl("D1 Basketball");if(!e.school.football.division1&&!e.school.basketball.division1)return un;throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 119, column 9 - line 123, column 34): "+[e.school.football.division1.constructor.name,e.school.basketball.division1.constructor.name])}(),function(){if(e.school.football.conference instanceof d&&e.school.basketball.conference instanceof d)return pl(v(e.school.football.conference.value0.name)(e.school.basketball.conference.value0.name));if(e.school.football.conference instanceof d&&e.school.basketball.conference instanceof C)return pl(e.school.football.conference.value0.name);if(e.school.football.conference instanceof C&&e.school.basketball.conference instanceof d)return pl(e.school.basketball.conference.value0.name);if(e.school.football.conference instanceof C&&e.school.basketball.conference instanceof C)return un;throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 124, column 9 - line 128, column 38): "+[e.school.football.conference.constructor.name,e.school.basketball.conference.constructor.name])}()])}(),a="Special focus: "+wee(e.school.academicOfferings.specialFocus),r=fJ({icon:"phone",body:DT("mt-1")(e.school.phone)}),o=sgn(e.school.address),i=!agn(lu(e.school.religiousAffiliation))(["none","false"]),u=Ad("my-4")([pl(zh(e.school.setting)),pl(wS(e.school.address)),vn(i)(OI(e.school.religiousAffiliation)(_0(WM.value))),vn(e.school.hbcu)(OI("HBCU")(_0(BM.value))),vn(gt(e.school.academicOfferings.specialFocus))(OI(a)(`
        Schools with special focuses offer the majority of their degrees
        in a single field or set of related fields. These schools can be
        great options for students who are extremely certain about what they
        want to study. Special focus schools are less ideal for students who
        are undecided and want flexibility.
      `)),vn(e.school.academicOfferings.hasMedicalSchool)(pl("Medical school")),vn(e.school.isCommuterCollege)(OI("Commuter college")(_0(HM.value))),vn(e.school.hasOnCampusHousing)(pl("On campus housing")),t]),l=function(){var v=function(){if(e.school.publicPrivate instanceof l_)return"Public";if(e.school.publicPrivate instanceof c_)return"Private";throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 80, column 25 - line 82, column 37): "+[e.school.publicPrivate.constructor.name])}(),m=function(){if(Uee(e.school))return _7("")("community college");if(xe)return Y("school");throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 84, column 9 - line 86, column 40): "+[])}();return Ad("my-3")([_7("")(v),Y(" "),m,Y(" in "),_7("")(RS(e.school.address)),Y(" with "),_7("")(Rx(e.school)),Y(" total undergraduate students ")])}(),c=function(){if(e.chancingState.chances instanceof or)return rgn("spinner-border spinner-border-sm text-primary small")({role:"status"})(DT("sr-only")("Loading\u2026"));if(e.chancingState.chances instanceof Ra)return vJ("text-gray-800 mb-0")("\u2014");if(e.chancingState.chances instanceof zt){var v=ogn(e.chancingState.chances.value0(e.school.id))(function(_){return _.top}),m=Oe("-")(function(_){return ign(_)+"%"})(AEe(v)(function(_){return _.score}));return Ad("d-flex align-items-center")([ugn("text-gray-800 mb-0 d-inline-block")(Y(m)),Je(AEe(v)(function(_){return _.classification}))(function(_){return DT("badge py-2 px-2 ml-3 "+jte(_))(V1(_))})])}throw new Error("Failed pattern match at SchoolDetails.Overview.HighLevelOverview (line 159, column 20 - line 177, column 87): "+[e.chancingState.chances.constructor.name])}(),s=Ad("row align-items-center mb-3")([Ad("col-12 col-lg-6 py-3 my-auto")([xEe("font-weight-normal fw-normal")([LEe("mr-1")("Your chances"),wx]),c]),Ad("col-12 col-lg-6 py-3 my-auto")([xEe("font-weight-normal fw-normal")([LEe("mr-1")("Acceptance rate"),lgn("text-secondary ml-2")(cD(e.school))]),vJ("text-gray-800 mb-0")(Oe("\u2014")(function(v){return La(function(m){return m.value}(v))})(e.school.admissions.acceptanceRate))])]),f=Ad("d-flex align-items-center justify-content-between")([vJ("my-0 mr-3 flex-grow-1")("About"),ma(di(e.onEdit)(Sd.value))]);return cgn("card t--overview")(Ad("card-body")([ma(xs(e.configuration)(f)),ma(Gu(e.configuration)(s)),l,u,n,o,r,ma(eEe(e))]))};var fgn=_e(rre),CR=B(ae),NEe=B(W),vgn=Kn(L),mgn=Vn(L),PEe=function(e){return x9(e.school.message===""&&fgn(e.configuration)(rv.value))(CR("card t--message")(NEe("card-body container")([NEe("d-flex align-items-center justify-content-between")([CR("my-0 mr-3 flex-grow-1")(vgn("")("Message from "+e.school.name)),vn(e.school.message!=="")(ma(xs(e.configuration)(ma(di(e.onEdit)(Cd.value)))))]),function(){var n=e.school.message!=="";return n?CR("row")(CR("col-12")(mgn("")(e.school.message))):CR("row")(CR("col-12")(ma(xs(e.configuration)(ma(Kye(e.onEdit)(Cd.value)("Add a message"))))))}()])))};var mJ=N(J),pgn=Ye(Y$(nm));var pJ=function(e){var n=function(t){return Ee("")(mJ(Ch)(MF(0)(t)))};return Wp(function(){var t=Ii(" ")(e);return t.length===2?n(t[0])+n(t[1]):t.length===1?n(t[0]):t.length===0?"":Ee("?")(pgn(mJ(n)(Ei(t)))(mJ(n)(_h(t))))}())};var _gn=on(),kEe=B(W),OEe=j0(),UEe=B(ae),dgn=Kn(L),hgn=en(L),d7=function(e){return function(n){var t=_gn(e.school),a=a7({school:e.school,schoolDb:e.schoolDb,onInviteSchool:e.onInviteSchool,onAcceptInvitation:e.onAcceptInvitation,onIgnoreInvitation:e.onIgnoreInvitation,featureFlags:n.featureFlags,vineBelowConnectionLimit:e.vineBelowConnectionLimit,shortText:!0}),r=function(){var o=function(l){return new Yg({initials:l,backgroundColorClass:C.value,textColorClass:C.value})},i=new Su({url:gg("/img/smiley-grey.svg")}),u=function(){return n.user instanceof d&&n.user.value0.avatarUrl instanceof d?new Su({url:n.user.value0.avatarUrl.value0}):n.user instanceof d&&n.user.value0.initials instanceof d?o(n.user.value0.initials.value0):n.user instanceof d&&n.user.value0.fullName instanceof d?o(pJ(n.user.value0.fullName.value0)):i}();return kEe("avatar-group mb-2 mt-3")([OEe({source:u}),OEe({source:new Su({url:t.imgixPath})})])}();return UEe("card t--request-to-connect")(kEe("card-body text-center")([r,dgn("mt-3")("Request to connect"),hgn("small")("Show you\u2019re interested and get to know current students and admission officers"),UEe("w-100 mt-4")(a)]))}};var yT=B(W),ggn=Kn(L),Dgn=lc(bf),ygn=xa(ae)()(),bgn=zM(),_J=re(ze),Rgn=ca(pu),wgn=co(ea)($o),Sgn=sv(),Egn=B(ae),Cgn=Ho(),Ign=Ea(L),Tgn=en(L),h7=function(e){var n=function(t){return gt(t.cityState)&&gt(t.acceptanceRate)};return yT("")([ggn("mb-0")("Similar schools"),yT("")(Dgn(function(t){return function(a){var r=t+1|0;return ygn("text-dark px-3")({href:bgn({utmSource:"collegevine.com",utmCampaign:"uaq-99-recommendations",utmContent:"ranking-"+_J(r)})(R0(ei.value)(a.slug)),onClick:Rgn(function(o){return wgn(e.onViewSchool)(function(i){return function(){return Sgn(o)(),i({school:{id:a.id,name:a.name},ranking:new d(r)})()}})})})(yT("row no-gutters g-0")([Egn("col-auto")(Cgn("rounded")({src:a.imgixImageUrl,dpr:2,w:70,h:70,alt:a.name+" campus image",style:fn({width:_J(70)+"px",height:_J(70)+"px"}),fit:"crop",crop:"edges"})),yT("col pl-3 d-flex flex-column justify-content-center")([Ign("")(a.name),yT("small")([Je(a.cityState)(Y),vn(n(a))(Tgn("mx-2")("\u2022")),Je(a.acceptanceRate)(function(o){return Y(La(o)+" accept rate")})])])]))}})(sc(e.recommendedSchools)))])};var HEe=Ef()(),Fgn=Ye(nm),Mgn=re(O8),Ggn=iue(),BEe=mM()(),Agn=Ye(sa),JEe=function(e){if(e instanceof l_)return"public";if(e instanceof c_)return"private";throw new Error("Failed pattern match at SchoolDetails.Seo (line 86, column 17 - line 88, column 29): "+[e.constructor.name])},xgn=function(e){return{"@type":"CollegeOrUniversity",name:e.name,address:SL(e.address)}},Lgn=function(e){var n=C1(SS(e.address)),t=Wr(" ")([e.name,"is a",JEe(e.publicPrivate),"school in",RS(e.address),"with",Rx(e)," total undergraduate students"]);return HEe(xgn(e))({identifier:Mgn(e.slug)+Oe("")(Fgn("-"))(e.ipedsUnitId),description:t,telephone:e.phone,geo:{"@type":"GeoCoordinates",longitude:n.lng,latitude:n.lat}})},WEe=function(e){var n=HEe(Lgn(e))({"@context":"https://schema.org"});return ce([Ggn(n),BEe("")({name:"description",content:n.description}),BEe("")({name:"keywords",content:Wr(" ")(Agn(["college education admissions enroll apply","application sports chancing financial scholarship",JEe(e.publicPrivate)])(function(){if(e.address instanceof Fl)return[e.address.value0.city,qh(e.address.value0.state)];if(e.address instanceof al)return[e.address.value0.address];throw new Error("Failed pattern match at SchoolDetails.Seo (line 35, column 12 - line 41, column 32): "+[e.address.constructor.name])}()))})])};var jgn=B(ae),Ngn=B(W),Pgn=Z(ge),qEe=yn(Dn),xd=gn(qEe)(pn(mn)),zEe=dn(_n),Ld=hn(zEe),$Ee=wn(Rn),jd=bn($Ee),kgn=Sn(Xye)(xd(xd(xd(xd(xd(xd(xd(xd(qEe)(zEe))(Ld))(Ld))(Ld))(Ld))(Ld))(Ld))(Ld))(jd(jd(jd(jd(jd(jd(jd(jd($Ee)))))))))(Ld),Ogn=Ct(W)()(),Ugn=Gn(pt),VEe=B(L),QEe=function(e){return jgn("card")(Ngn("card-body")(Pgn(kgn)(function(n){return vn(Zye(n))(Ogn("btn btn-link btn-block p-0 d-flex justify-content-between t--edit-"+qI(n))({onClick:Ugn(e)(n)})([VEe("")(OH(n)),VEe("material-symbol x-large")("edit")]))})))};var YEe=Gi(Vt),XEe=xr(YEe),ZEe=K(qt),KEe=Dr(YEe),eCe=on(),Hgn=z(_t),Bgn=Mr(ae)()(),Jgn=Gn(pt),g7=B(W),Wgn=en(L),qgn=ta(ae),D7=mt(Le),zgn=K(Le),$gn=z(On),nCe=yi(J),Vgn=N(J),y7=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),dD=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),tCe=function(e){return function(n){return function(t){if(t instanceof y7)return XEe(y7.create)(function(a){return{customData:n.customData,liteChancing:a}})(qSe(n.liteChancing)(t.value0));if(t instanceof dD)return XEe(dD.create)(function(a){return{liteChancing:n.liteChancing,customData:a}})(REe(e)(n.customData)(t.value0));throw new Error("Failed pattern match at SchoolDetails.Overview (line 73, column 29 - line 79, column 51): "+[t.constructor.name])}}},Qgn=B(ae)("text-secondary mb-4")(_i(ae)()()({placement:DC,trigger:Q_,overlay:Y(`
      Key data on this page comes from CollegeVine working with thousands
      of students over the years as well as the National Center for
      Education Statistics.
    `),overlayStyle:fn({width:"15rem"})})(en(W)("")([Y("Where does this data come from? "),ta(L)("fe fe-help-circle")("")]))),aCe=function(e){return ZEe(KEe(dD.create)(SEe))(function(n){return ZEe(KEe(y7.create)($Se(eCe(e))))(function(t){return Hgn({customData:n,liteChancing:t})})})},Ygn=function(e){return function(n){return function(t){return vn(gt(ag(e.id)(n)))(Bgn("t--hub-for-you-tab-cta btn btn-primary mb-4 justify-content-center w-100")(Fr)({onClick:Jgn(t)(Lu.value)})(g7("row align-items-center")([Wgn("col")("Explore "+(e.name+" in depth with content personalized for you")),qgn("col-auto pl-0 fe fe-chevron-right")(un)])))}}},Xgn=function(e){return function(n){return function(t){return{school:e.school,onEdit:e.onEdit,onSwitchTab:e.onSwitchTab,schoolDb:e.schoolDb,featureFlags:n.featureFlags,liteChancing:t.liteChancing}}}},rCe=function(e){return function(n){return function(t){return function(a){var r=Gu(n.configuration),o={forYouCTA:r(Ygn(e.school)(e.schoolDb)(e.onSwitchTab)),messageFromCollege:Vm(PEe({school:eCe(e.school),configuration:n.configuration,onEdit:e.onEdit})),highLevelOverview:Vm(jEe({school:e.school,onEdit:e.onEdit,chancingState:n.chancingState,configuration:n.configuration,currentUser:n.currentUser,featureFlags:n.featureFlags})),chancing:r(ZSe(Xgn(e)(n)(t))(n)(function(c){return a(y7.create(c))})),admissions:Vm(lRe({onEdit:e.onEdit})(e.school)),finances:Vm(GEe({school:e.school,financials:ho($1(la(e.school))(e.schoolDb)),props:n,onSwitchTab:e.onSwitchTab,onEdit:e.onEdit,configuration:n.configuration})),applications:Vm(ibe(e)),enrollment:Vm(FEe(e)),academics:Vm(XSe(e)),recommendations:D7(r)(zgn(e.recommendedSchools)(function(c){return $gn(h7({recommendedSchools:c,school:e.school,onViewSchool:e.onViewSchool}))})),requestToConnect:function(){return e.showConnectButton?D7(r)(nCe(n.currentUser)(d7(e)({user:D7(yg)(n.currentUser),featureFlags:n.featureFlags}))):C.value}(),customData:D7(r)(nCe(n.currentUser)(EEe(e)(n)(t.customData)(function(c){return a(dD.create(c))}))),source:r(Qgn),editableSections:Vgn(QEe)(e.onEdit),claimSchoolProfileCTA:function(){var c={school:e.school,currentUser:n.currentUser,configuration:n.configuration,featureFlags:n.featureFlags};return{card:tEe(c),footerLink:nEe(c)}}()},i=function(c){return ce(yr([o.forYouCTA,o.highLevelOverview,o.editableSections,o.chancing,o.requestToConnect,o.recommendations,o.admissions,o.finances,o.applications,o.claimSchoolProfileCTA.card,o.enrollment,o.academics,o.customData,o.source,o.claimSchoolProfileCTA.footerLink]))},u=function(c){return g7("row t--wide-overview")([g7("col-12 col-md-8")(yr([o.forYouCTA,o.messageFromCollege,o.highLevelOverview,o.chancing,o.admissions,o.finances,o.applications,o.claimSchoolProfileCTA.card,o.enrollment,o.academics,o.customData,o.source,o.claimSchoolProfileCTA.footerLink])),g7("col-12 col-md-4")(yr([o.editableSections,o.requestToConnect,o.recommendations]))])},l=xs(n.configuration);return ce([function(){return n.mobileLayout?i(Ce):u(Ce)}(),WEe(e.school)])}}}};Wt();var iCe=ba(oCe()),U0=typeof CV!="undefined"&&CV.pusherConfig||typeof global!="undefined"&&global.CV&&global.CV.pusherConfig,{acquireConnection:Zgn,releaseConnection:Kgn}=(()=>{let e=null,n=0,t=()=>{if(!U0||!U0.key)return U0||console.error("Pusher config is missing in global context"),new eDn;let a={auth:{headers:{"X-CSRF-Token":U0.authToken}},authEndpoint:U0.authPath,cluster:U0.cluster};return U0.dev&&Object.assign(a,{wsHost:U0.dev.wsHost,wsPort:U0.dev.wsPort,enabledTransports:["ws"],forceTLS:!1,disableStats:!0}),new iCe.default(U0.key,a)};return{acquireConnection:()=>(e||(e=t(),n=0),n++,e),releaseConnection:()=>{--n<=0&&(e.disconnect(),e=null)}}})(),uCe=e=>{let n=Zgn().subscribe(e.channel);return n.bind(e.event,e.handler),()=>{n.unbind(e.event,e.handler),Kgn()}};function eDn(){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 nDn(e);return this.channels.push(t),t},this.channelNames=function(){return this.channels.map(e=>e.name)}}function nDn(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 tDn=oa(Te)(ft),aDn=co(ea)($o);var rDn={show:function(e){return e}},oDn=re(rDn),hJ=ue,lCe=function(e){var n=yS(e);return function(t){return function(a){return function(r){var o=tDn(["Pusher event ",a," over channel ",oDn(t)]),i=function(u){return aDn(n(o)(u))(r)()};return function(){return uCe({channel:t,event:a,handler:i})}}}}};var gJ=ue;var cCe=Pr(No),sCe=K(Lt),fCe=Qn(),iDn=Xi(fCe(E({reflectSymbol:function(){return"failureReason"}})(ue)(E({reflectSymbol:function(){return"success"}})(zn)(he)))),uDn=Xi(fCe(E({reflectSymbol:function(){return"conversationId"}})(gJ)(E({reflectSymbol:function(){return"pusherChannel"}})(hJ)(he)))),vCe=ro(Pr(Pr(cCe)))("trellis_inference_recruiter_send_message_path")(function(e){return function(n){return function(t){return function(a){return sCe(e({conversationId:t,message:a,presetTopic:Si,vault:n}))(zr(iDn("Trellis.Inference.Recruiter.API: sendMessage")))}}}}),mCe=ro(cCe)("trellis_inference_recruiter_create_conversation_path")(function(e){return function(n){return sCe(e({school_id:n}))(zr(function(t){return uDn("Trellis.Inference.Recruiter.API: createConversation")(t)}))}});var lDn=on();var pCe=function(e){return"/trellis/inference/recruiter/direct-message-introduction/"+lDn(e)};var _Ce="active";var DJ=l1e()(),R7=Cs(W)()()("")({style:fn({height:40,width:40})})([DJ("blink")({cx:10,cy:20,r:3,style:fn({fill:"grey"})}),DJ("blink")({cx:20,cy:20,r:3,style:fn({fill:"grey",animationDelay:"250ms"})}),DJ("blink")({cx:30,cy:20,r:3,style:fn({fill:"grey",animationDelay:"500ms"})})]);var cDn=Z(it);var dCe=function(e){return cDn(aN(e.currentTarget))(function(n){return Un(P1(n))(0)})};var hCe=za(),sDn=Ye(u9),fDn=ww(ft),yJ=re(ze),vDn=yl(Le),mDn=K(Le);var w7=function(){var e=hCe(oc(x1("\\s+")(sDn(H2)(Zee)))),n=Lr(function(a){return a!==""}),t=i9(e);return function(a){return da(n(t(a)))}}(),gCe=function(e){return function(n){var t=w7(n);return fDn([yJ(t),"/",yJ(e)," words"])}},DCe=function(e){return function(n){var t=function(i){return hCe(oc(x1("^(?:[\\w-]+[^\\w-]+){"+(yJ(i)+"}[\\w-]+"))(Xee)))},a=function(i){return function(u){var l=vDn(mDn(l9(t(i-1|0))(u))(Jt(Lw)(0)));return Ee(u)(l)}},r=Hs(n),o=w7(r)<e;return o?r:a(e)(r)}};var yCe=z(_t),pDn=N(J),_Dn=uh(iu),dDn=Ct(ae)()(),hDn=Gn(pt),gDn=Sa(),DDn=B(W),yDn=kl()(),bDn=re($i),RDn=ca(pu),bCe=uo(ea);var wDn=sv(),SDn=gr($a),EDn=B(L),CDn=B(ae);var Nd=function(){function e(){}return e.value=new e,e}(),hD=function(){function e(){}return e.value=new e,e}(),Pd=function(){function e(){}return e.value=new e,e}(),IDn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),bJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),TDn={eq:function(e){return function(n){return e instanceof Nd&&n instanceof Nd||e instanceof hD&&n instanceof hD||e instanceof Pd&&n instanceof Pd}}},FDn=_e(TDn),RJ=function(e){return function(n){if(n instanceof Qt)return yCe(e);if(n instanceof at)return yCe({message:n.value0.value0.message,messageHeight:pDn(_Dn(100))(n.value0.value0.messageHeight)});throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 68, column 1 - line 68, column 55): "+[e.constructor.name,n.constructor.name])}},MDn=function(e){return dCe(e)},wJ=function(){return function(e){return function(n){return function(t){var a=function(o){return dDn("px-3 text-secondary border-0 bg-transparent t--send-message")({disabled:!o,onClick:hDn(t)(Qt.create(bJ.create(n.message))),style:fn({borderStyle:"none",background:"none"})})(OE("")(function(){var i=o&&Zr(n.message)>0;return i?"/img/icons/sage-send-purple.svg":"/img/icons/ai-send.svg"}()))},r=gDn(e);return ce([DDn("flex-grow-1")([yDn("form-control t--new-message-body "+Un(r.className)(""))({autoFocus:Un(r.autoFocus)(!0),placeholder:r.placeholder,style:fn({borderStyle:"none",resize:"none",height:function(){if(n.messageHeight instanceof C)return"";if(n.messageHeight instanceof d)return bDn(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=DCe(1e3)(o),u=MDn(o)(),l=function(){var c=Zr(i)<5;return c?C.value:new d(u)}();return t(at.create(IDn.create({message:i,messageHeight:l})))()},onKeyPress:RDn(function(o){return bCe(o.key==="Enter"&&!o.shiftKey)(function(){return wDn(o)(),bCe(n.message!==""&&FDn(r.sendButtonStatus)(Nd.value))(t(Qt.create(bJ.create(n.message))))()})})}),vn(w7(n.message)>=SDn(1e3)(2))(EDn("pl-3 pb-3 text-muted small")(gCe(1e3)(n.message)))]),CDn("text-right d-flex")(function(){if(r.sendButtonStatus instanceof Nd)return a(!0);if(r.sendButtonStatus instanceof hD)return a(!1);if(r.sendButtonStatus instanceof Pd)return R7;throw new Error("Failed pattern match at Vinai.AuthorChatMessage (line 110, column 7 - line 113, column 35): "+[r.sendButtonStatus.constructor.name])}())])}}}};var S7=function(){return{message:"",messageHeight:C.value}}();var GDn=on();var ADn=function(e){return GDn(WF(e))};var RCe=function(e){return Yr(ADn(e))};var xDn=CF(Ot),LDn=wh(Vo),jDn=K(Va),wCe=Bn(_s),SCe=z(ea),NDn=Np(ea)(wi),PDn=lCe(Vp),kDn=Qe(Xe),ODn=oa(Te)(x6(F6)),UDn=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),E7=function(){function e(){}return e.value=new e,e}(),C7=function(){function e(){}return e.value=new e,e}();var SJ={append:function(e){return function(n){return xDn(n)(e)}}},HDn={mempty:Sf,Semigroup0:function(){return SJ}},BDn=Qv(zF(HDn)(ga)),ECe=function(e){return e.value0.disconnect},CCe=function(e){return function(n){var t=RCe(n),a=LDn(t);return function(){var o=wCe(hf(SCe(Ce)))(),i=NDn(a)(function(l){return PDn(e)(l.value0)(function(c){return function(){var f=l.value1(c)();if(f instanceof E7)return Ce;if(f instanceof C7)return jDn(is(o))(kDn)();throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 70, column 23 - line 72, column 66): "+[f.constructor.name])}})})(),u=ODn(i);return wCe(df(u)(o))(),new UDn({disconnect:u})}}},I7=function(e){var n=mm(e);return function(t){return function(a){return BDn(l1(t)(function(r){var o=n(r);if(o instanceof ln)return a(o.value0);if(o instanceof rn)return Lo(Xo)("Error parsing Pusher event")({error:o.value0,event:t,value:r})(function(i){return SCe(E7.value)});throw new Error("Failed pattern match at Utils.Pusher.ListenMany (line 32, column 65 - line 34, column 122): "+[o.constructor.name])}))}}};var gD=function(){function e(){}return e.value=new e,e}(),bT=function(){function e(){}return e.value=new e,e}();var Cv=function(){function e(){}return e.value=new e,e}(),nf=function(){function e(){}return e.value=new e,e}();var EJ={eq:function(e){return function(n){return e instanceof Cv&&n instanceof Cv||e instanceof nf&&n instanceof nf}}};var zDn={reflectSymbol:function(){return"timestamp"}};var CJ=Hn(Mn),RT=CJ(qt),IJ=K(Lt),wT=Bn(Xn),ICe=CJ(Qp(SJ)(C6)),TJ=Qn(),TCe=E({reflectSymbol:function(){return"id"}})(ue),$Dn=I7(TJ(E({reflectSymbol:function(){return"delta"}})(ue)(TCe(E(zDn)(ue)(he))))),VDn=I7(TJ(E({reflectSymbol:function(){return"body"}})(ue)(TCe(he)))),QDn=I7(TJ(he)),FJ=CJ(Lt),T7=z(Yt),MJ=Kr(Xn),YDn=RQ(ft),XDn=si(s8)(ft),Iv=z(_t),FCe=Ye(sa),ZDn=tY(eM),KDn=co(_t)($o),Tv=function(){function e(){}return e.value=new e,e}(),_p=function(){function e(){}return e.value=new e,e}(),dp=function(){function e(){}return e.value=new e,e}(),Xc=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),H0=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),F7=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),MCe=function(){function e(){}return e.value=new e,e}(),GJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AJ=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),GCe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),ACe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),xCe=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}(),e1n=function(){function e(){}return e.value=new e,e}();var n1n=function(e){return{delta:e.delta,id:e.id,timestamp:eg(e.timestamp)}},LCe=function(e){return function(n){var t=function(a){return function(r){return{body:r.body,sender:bT.value,sentAt:a,id:new d(r.id)}}};return RT(e_(function(a){return IJ(wT(CCe(e.receiveChannelName)(ICe($Dn("chat-completion-chunk")(function(r){return function(){var i=Kh();return a.dispatch(new xCe(i,n1n(r)))(),E7.value}}))(function(){return ICe(VDn("chat-completion-message-received")(function(r){return function(){var i=Kh();return a.dispatch(new AJ(t(i)(r)))(),C7.value}}))(function(){return QDn("chat-completion-failed")(function(r){return function(){return a.dispatch(new GJ(C.value))(),C7.value}})})}))))(function(r){return FJ(wT(a.dispatch(new ACe(r))))(function(){return IJ(e.sendMessage(n))(function(o){return o.success?T7(Ce):wT(a.dispatch(new GJ(new d(o.failureReason))))})})})}))(function(){return MJ(FJ(gc(200))(function(){return T7(MCe.value)}))})}},t1n=function(e){return function(n){return RT(MJ(IJ(wT(Kh))(function(t){return T7(new GCe({sender:gD.value,body:n,sentAt:t,id:C.value}))})))(function(){return LCe(e)(n)})}},xJ=function(e){var n=function(t){var a=Ii("$$")(t),r=lY(da(a));return r?YDn("$$")(bw(0)(da(a)-1|0)(a)):t};return{sender:bT.value,body:n(XDn(function(t){return t.content})(e.deltas)),sentAt:Hp(e.deltas).timestamp,id:new d(e.id)}},a1n=function(e){if(e.receivingResponse instanceof C)return Iv(Ce);if(e.receivingResponse instanceof d)return e.sendingState instanceof Xc?MJ(FJ(wT(ECe(e.receivingResponse.value0)))(function(){return T7(new AJ(xJ(e.sendingState.value0)))})):Iv(Ce);throw new Error("Failed pattern match at Vinai.Chatbot (line 290, column 1 - line 290, column 51): "+[e.constructor.name])},LJ=function(e){return function(n){if(n instanceof F7)return RT(t1n(e)(n.value0))(function(){return Iv(e)});if(n instanceof MCe)return Iv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Tv)return Tv.value;if(e.sendingState instanceof _p||e.sendingState instanceof dp)return dp.value;if(e.sendingState instanceof Xc)return new Xc(e.sendingState.value0);if(e.sendingState instanceof H0)return new H0(e.sendingState.value0);throw new Error("Failed pattern match at Vinai.Chatbot (line 158, column 9 - line 163, column 59): "+[e.sendingState.constructor.name])}()});if(n instanceof GJ)return Iv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:new H0(n.value0),receivingResponse:C.value});if(n instanceof AJ)return Iv({receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,messages:FCe(e.messages)([n.value0]),sendingState:Tv.value,receivingResponse:C.value});if(n instanceof GCe)return Iv({receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,messages:FCe(e.messages)([n.value0]),sendingState:_p.value});if(n instanceof ACe)return Iv({messages:e.messages,receiveChannelName:e.receiveChannelName,sendMessage:e.sendMessage,sendingState:e.sendingState,receivingResponse:new d(n.value0)});if(n instanceof xCe)return Iv({messages:e.messages,receiveChannelName:e.receiveChannelName,receivingResponse:e.receivingResponse,sendMessage:e.sendMessage,sendingState:function(){if(e.sendingState instanceof Xc&&n.value1.id===e.sendingState.value0.id)return new Xc({id:e.sendingState.value0.id,deltas:ZDn(function(t){return t.timestamp})(YQ(e.sendingState.value0.deltas)({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}))});if(e.sendingState instanceof Xc)return e.sendingState;if(e.sendingState instanceof dp)return new Xc({deltas:gh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof _p)return new Xc({deltas:gh({content:n.value1.delta,timestamp:Ee(n.value0)(n.value1.timestamp)}),id:n.value1.id});if(e.sendingState instanceof Tv||e.sendingState instanceof H0)return e.sendingState;throw new Error("Failed pattern match at Vinai.Chatbot (line 178, column 22 - line 200, column 29): "+[e.sendingState.constructor.name])}()});if(n instanceof e1n)return RT(a1n(e))(function(){return Iv(e)});throw new Error("Failed pattern match at Vinai.Chatbot (line 151, column 1 - line 151, column 55): "+[e.constructor.name,n.constructor.name])}},jJ=function(e){var n={messages:e.messages,receivingResponse:C.value,receiveChannelName:e.receiveChannelName,sendingState:function(){if(e.initialMessageBody instanceof C)return Tv.value;if(e.initialMessageBody instanceof d)return _p.value;throw new Error("Failed pattern match at Vinai.Chatbot (line 145, column 23 - line 147, column 28): "+[e.initialMessageBody.constructor.name])}(),sendMessage:e.sendMessage};return RT(KDn(e.initialMessageBody)(LCe(n)))(function(){return Iv(n)})};var jCe=["http","https","mailto","tel"];function NCe(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(;++r<jCe.length;){let o=jCe[r];if(a===o.length&&n.slice(0,o.length).toLowerCase()===o)return n}return r=n.indexOf("?"),r!==-1&&a>r||(r=n.indexOf("#"),r!==-1&&a>r)?n:"javascript:void(0)"}Wt();var BCe=ba(PJ());function kd(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?kCe(e.position):"start"in e||"end"in e?kCe(e):"line"in e||"column"in e?kJ(e):""}function kJ(e){return OCe(e&&e.line)+":"+OCe(e&&e.column)}function kCe(e){return kJ(e&&e.start)+"-"+kJ(e&&e.end)}function OCe(e){return e&&typeof e=="number"?e:1}var _l=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=kd(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}};_l.prototype.file="";_l.prototype.name="";_l.prototype.reason="";_l.prototype.message="";_l.prototype.stack="";_l.prototype.fatal=null;_l.prototype.column=null;_l.prototype.line=null;_l.prototype.source=null;_l.prototype.ruleId=null;_l.prototype.position=null;var Fv={basename:r1n,dirname:o1n,extname:i1n,join:u1n,sep:"/"};function r1n(e,n){if(n!==void 0&&typeof n!="string")throw new TypeError('"ext" argument must be a string');ST(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 o1n(e){if(ST(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 i1n(e){ST(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 u1n(...e){let n=-1,t;for(;++n<e.length;)ST(e[n]),e[n]&&(t=t===void 0?e[n]:t+"/"+e[n]);return t===void 0?".":l1n(t)}function l1n(e){ST(e);let n=e.charCodeAt(0)===47,t=c1n(e,!n);return t.length===0&&!n&&(t="."),t.length>0&&e.charCodeAt(e.length-1)===47&&(t+="/"),n?"/"+t:t}function c1n(e,n){let t="",a=0,r=-1,o=0,i=-1,u,l;for(;++i<=e.length;){if(i<e.length)u=e.charCodeAt(i);else{if(u===47)break;u=47}if(u===47){if(!(r===i-1||o===1))if(r!==i-1&&o===2){if(t.length<2||a!==2||t.charCodeAt(t.length-1)!==46||t.charCodeAt(t.length-2)!==46){if(t.length>2){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 ST(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}var UCe={cwd:s1n};function s1n(){return"/"}function IR(e){return e!==null&&typeof e=="object"&&e.href&&e.origin}function HCe(e){if(typeof e=="string")e=new URL(e);else if(!IR(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 f1n(e)}function f1n(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(;++t<n.length;)if(n.charCodeAt(t)===37&&n.charCodeAt(t+1)===50){let a=n.charCodeAt(t+2);if(a===70||a===102){let r=new TypeError("File URL path must not include encoded / characters");throw r.code="ERR_INVALID_FILE_URL_PATH",r}}return decodeURIComponent(n)}var OJ=["history","path","basename","stem","extname","dirname"],TR=class{constructor(n){let t;n?typeof n=="string"||v1n(n)?t={value:n}:IR(n)?t={path:n}:t=n:t={},this.data={},this.messages=[],this.history=[],this.cwd=UCe.cwd(),this.value,this.stored,this.result,this.map;let a=-1;for(;++a<OJ.length;){let o=OJ[a];o in t&&t[o]!==void 0&&t[o]!==null&&(this[o]=o==="history"?[...t[o]]:t[o])}let r;for(r in t)OJ.includes(r)||(this[r]=t[r])}get path(){return this.history[this.history.length-1]}set path(n){IR(n)&&(n=HCe(n)),HJ(n,"path"),this.path!==n&&this.history.push(n)}get dirname(){return typeof this.path=="string"?Fv.dirname(this.path):void 0}set dirname(n){JCe(this.basename,"dirname"),this.path=Fv.join(n||"",this.basename)}get basename(){return typeof this.path=="string"?Fv.basename(this.path):void 0}set basename(n){HJ(n,"basename"),UJ(n,"basename"),this.path=Fv.join(this.dirname||"",n)}get extname(){return typeof this.path=="string"?Fv.extname(this.path):void 0}set extname(n){if(UJ(n,"extname"),JCe(this.dirname,"extname"),n){if(n.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(n.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Fv.join(this.dirname,this.stem+(n||""))}get stem(){return typeof this.path=="string"?Fv.basename(this.path,this.extname):void 0}set stem(n){HJ(n,"stem"),UJ(n,"stem"),this.path=Fv.join(this.dirname||"",n+(this.extname||""))}toString(n){return(this.value||"").toString(n||void 0)}message(n,t,a){let r=new _l(n,t,a);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(n,t,a){let r=this.message(n,t,a);return r.fatal=null,r}fail(n,t,a){let r=this.message(n,t,a);throw r.fatal=!0,r}};function UJ(e,n){if(e&&e.includes(Fv.sep))throw new Error("`"+n+"` cannot be a path: did not expect `"+Fv.sep+"`")}function HJ(e,n){if(!e)throw new Error("`"+n+"` cannot be empty")}function JCe(e,n){if(!e)throw new Error("Setting `"+n+"` requires `path` to be set too")}function v1n(e){return(0,BCe.default)(e)}function BJ(e){if(e)throw e}var eIe=ba(PJ()),JJ=ba(ZCe());function ET(e){if(typeof e!="object"||e===null)return!1;let n=Object.getPrototypeOf(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function KCe(){let e=[],n={run:t,use:a};return n;function t(...r){let o=-1,i=r.pop();if(typeof i!="function")throw new TypeError("Expected function as last argument, not "+i);u(null,...r);function u(l,...c){let s=e[++o],f=-1;if(l){i(l);return}for(;++f<r.length;)(c[f]===null||c[f]===void 0)&&(c[f]=r[f]);r=c,s?m1n(s,u)(...c):i(null,...c)}}function a(r){if(typeof r!="function")throw new TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),n}}function m1n(e,n){let t;return a;function a(...i){let u=e.length>i.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 WJ=tIe().freeze(),nIe={}.hasOwnProperty;function tIe(){let e=KCe(),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=m,o.processSync=_,o;function o(){let R=tIe(),D=-1;for(;++D<n.length;)R.use(...n[D]);return R.data((0,JJ.default)(!0,{},t)),R}function i(R,D){return typeof R=="string"?arguments.length===2?($J("data",a),t[R]=D,o):nIe.call(t,R)&&t[R]||null:R?($J("data",a),t=R,o):t}function u(){if(a)return o;for(;++r<n.length;){let[R,...D]=n[r];if(D[0]===!1)continue;D[0]===!0&&(D[0]=void 0);let y=R.call(o,...D);typeof y=="function"&&e.use(y)}return a=!0,r=Number.POSITIVE_INFINITY,o}function l(R,...D){let y;if($J("use",a),R!=null)if(typeof R=="function")k(R,...D);else if(typeof R=="object")Array.isArray(R)?P(R):G(R);else throw new TypeError("Expected usable value, not `"+R+"`");return y&&(t.settings=Object.assign(t.settings||{},y)),o;function S(M){if(typeof M=="function")k(M);else if(typeof M=="object")if(Array.isArray(M)){let[O,...oe]=M;k(O,...oe)}else G(M);else throw new TypeError("Expected usable value, not `"+M+"`")}function G(M){P(M.plugins),M.settings&&(y=Object.assign(y||{},M.settings))}function P(M){let O=-1;if(M!=null)if(Array.isArray(M))for(;++O<M.length;){let oe=M[O];S(oe)}else throw new TypeError("Expected a list of plugins, not `"+M+"`")}function k(M,O){let oe=-1,le;for(;++oe<n.length;)if(n[oe][0]===M){le=n[oe];break}le?(ET(le[1])&&ET(O)&&(O=(0,JJ.default)(!0,le[1],O)),le[1]=O):n.push([...arguments])}}function c(R){o.freeze();let D=CT(R),y=o.Parser;return qJ("parse",y),aIe(y,"parse")?new y(String(D),D).parse():y(String(D),D)}function s(R,D){o.freeze();let y=CT(D),S=o.Compiler;return zJ("stringify",S),rIe(R),aIe(S,"compile")?new S(R,y).compile():S(R,y)}function f(R,D,y){if(rIe(R),o.freeze(),!y&&typeof D=="function"&&(y=D,D=void 0),!y)return new Promise(S);S(null,y);function S(G,P){e.run(R,CT(D),k);function k(M,O,oe){O=O||R,M?P(M):G?G(O):y(null,O,oe)}}}function v(R,D){let y,S;return o.run(R,D,G),oIe("runSync","run",S),y;function G(P,k){BJ(P),y=k,S=!0}}function m(R,D){if(o.freeze(),qJ("process",o.Parser),zJ("process",o.Compiler),!D)return new Promise(y);y(null,D);function y(S,G){let P=CT(R);o.run(o.parse(P),P,(M,O,oe)=>{if(M||!O||!oe)k(M);else{let le=o.stringify(O,oe);le==null||(d1n(le)?oe.value=le:oe.result=le),k(M,oe)}});function k(M,O){M||!O?G(M):S?S(O):D(null,O)}}}function _(R){let D;o.freeze(),qJ("processSync",o.Parser),zJ("processSync",o.Compiler);let y=CT(R);return o.process(y,S),oIe("processSync","process",D),y;function S(G){D=!0,BJ(G)}}}function aIe(e,n){return typeof e=="function"&&e.prototype&&(p1n(e.prototype)||n in e.prototype)}function p1n(e){let n;for(n in e)if(nIe.call(e,n))return!0;return!1}function qJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Parser`")}function zJ(e,n){if(typeof n!="function")throw new TypeError("Cannot `"+e+"` without `Compiler`")}function $J(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 rIe(e){if(!ET(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function oIe(e,n,t){if(!t)throw new Error("`"+e+"` finished async. Use `"+n+"` instead")}function CT(e){return _1n(e)?e:new TR(e)}function _1n(e){return Boolean(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function d1n(e){return typeof e=="string"||(0,eIe.default)(e)}function VJ(e,n){let t=(n||{}).includeImageAlt;return iIe(e,typeof t=="boolean"?t:!0)}function iIe(e,n){return h1n(e)&&("value"in e&&e.value||n&&"alt"in e&&e.alt||"children"in e&&uIe(e.children,n))||Array.isArray(e)&&uIe(e,n)||""}function uIe(e,n){let t=[],a=-1;for(;++a<e.length;)t[a]=iIe(e[a],n);return t.join("")}function h1n(e){return Boolean(e&&typeof e=="object")}function ti(e,n,t,a){let r=e.length,o=0,i;if(n<0?n=-n>r?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]);o<a.length;)i=a.slice(o,o+1e4),i.unshift(n,0),[].splice.apply(e,i),o+=1e4,n+=1e4}function dl(e,n){return e.length>0?(ti(e,e.length,0,n),e):n}var lIe={}.hasOwnProperty;function G7(e){let n={},t=-1;for(;++t<e.length;)g1n(n,e[t]);return n}function g1n(e,n){let t;for(t in n){let r=(lIe.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t],i;for(i in o){lIe.call(r,i)||(r[i]=[]);let u=o[i];D1n(r[i],Array.isArray(u)?u:u?[u]:[])}}}function D1n(e,n){let t=-1,a=[];for(;++t<n.length;)(n[t].add==="after"?e:a).push(n[t]);ti(e,0,0,a)}var cIe=/[!-/:-@[-`{-~\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/;var qu=Ud(/[A-Za-z]/),DD=Ud(/\d/),sIe=Ud(/[\dA-Fa-f]/),ai=Ud(/[\dA-Za-z]/),fIe=Ud(/[!-/:-@[-`{-~]/),QJ=Ud(/[#-'*+\--9=?A-Z^-~]/);function Od(e){return e!==null&&(e<32||e===127)}function Za(e){return e!==null&&(e<0||e===32)}function Nn(e){return e!==null&&e<-2}function Ca(e){return e===-2||e===-1||e===32}var yD=Ud(/\s/),bD=Ud(cIe);function Ud(e){return n;function n(t){return t!==null&&e.test(String.fromCharCode(t))}}function At(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return Ca(l)?(e.enter(t),u(l)):n(l)}function u(l){return Ca(l)&&o++<r?(e.consume(l),u):(e.exit(t),n(l))}}var vIe={tokenize:y1n};function y1n(e){let n=e.attempt(this.parser.constructs.contentInitial,a,r),t;return n;function a(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),At(e,n,"linePrefix")}function r(u){return e.enter("paragraph"),o(u)}function o(u){let l=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=l),t=l,i(u)}function i(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return Nn(u)?(e.consume(u),e.exit("chunkText"),o):(e.consume(u),i)}}var mIe={tokenize:b1n},pIe={tokenize:R1n};function b1n(e){let n=this,t=[],a=0,r,o,i;return u;function u(G){if(a<t.length){let P=t[a];return n.containerState=P[1],e.attempt(P[0].continuation,l,c)(G)}return c(G)}function l(G){if(a++,n.containerState._closeFlow){n.containerState._closeFlow=void 0,r&&S();let P=n.events.length,k=P,M;for(;k--;)if(n.events[k][0]==="exit"&&n.events[k][1].type==="chunkFlow"){M=n.events[k][1].end;break}y(a);let O=P;for(;O<n.events.length;)n.events[O][1].end=Object.assign({},M),O++;return ti(n.events,k+1,0,n.events.slice(P)),n.events.length=O,c(G)}return u(G)}function c(G){if(a===t.length){if(!r)return v(G);if(r.currentConstruct&&r.currentConstruct.concrete)return _(G);n.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return n.containerState={},e.check(pIe,s,f)(G)}function s(G){return r&&S(),y(a),v(G)}function f(G){return n.parser.lazy[n.now().line]=a!==t.length,i=n.now().offset,_(G)}function v(G){return n.containerState={},e.attempt(pIe,m,_)(G)}function m(G){return a++,t.push([n.currentConstruct,n.containerState]),v(G)}function _(G){if(G===null){r&&S(),y(0),e.consume(G);return}return r=r||n.parser.flow(n.now()),e.enter("chunkFlow",{contentType:"flow",previous:o,_tokenizer:r}),R(G)}function R(G){if(G===null){D(e.exit("chunkFlow"),!0),y(0),e.consume(G);return}return Nn(G)?(e.consume(G),D(e.exit("chunkFlow")),a=0,n.interrupt=void 0,u):(e.consume(G),R)}function D(G,P){let k=n.sliceStream(G);if(P&&k.push(null),G.previous=o,o&&(o.next=G),o=G,r.defineSkip(G.start),r.write(k),n.parser.lazy[G.start.line]){let M=r.events.length;for(;M--;)if(r.events[M][1].start.offset<i&&(!r.events[M][1].end||r.events[M][1].end.offset>i))return;let O=n.events.length,oe=O,le,ve;for(;oe--;)if(n.events[oe][0]==="exit"&&n.events[oe][1].type==="chunkFlow"){if(le){ve=n.events[oe][1].end;break}le=!0}for(y(a),M=O;M<n.events.length;)n.events[M][1].end=Object.assign({},ve),M++;ti(n.events,oe+1,0,n.events.slice(O)),n.events.length=M}}function y(G){let P=t.length;for(;P-- >G;){let k=t[P];n.containerState=k[1],k[0].exit.call(n,e)}t.length=G}function S(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}function R1n(e,n,t){return At(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function FR(e){if(e===null||Za(e)||yD(e))return 1;if(bD(e))return 2}function Hd(e,n,t){let a=[],r=-1;for(;++r<e.length;){let o=e[r].resolveAll;o&&!a.includes(o)&&(n=o(n,t),a.push(o))}return n}var IT={name:"attention",tokenize:S1n,resolveAll:w1n};function w1n(e,n){let t=-1,a,r,o,i,u,l,c,s;for(;++t<e.length;)if(e[t][0]==="enter"&&e[t][1].type==="attentionSequence"&&e[t][1]._close){for(a=t;a--;)if(e[a][0]==="exit"&&e[a][1].type==="attentionSequence"&&e[a][1]._open&&n.sliceSerialize(e[a][1]).charCodeAt(0)===n.sliceSerialize(e[t][1]).charCodeAt(0)){if((e[a][1]._close||e[t][1]._open)&&(e[t][1].end.offset-e[t][1].start.offset)%3&&!((e[a][1].end.offset-e[a][1].start.offset+e[t][1].end.offset-e[t][1].start.offset)%3))continue;l=e[a][1].end.offset-e[a][1].start.offset>1&&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);_Ie(f,-l),_Ie(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=dl(c,[["enter",e[a][1],n],["exit",e[a][1],n]])),c=dl(c,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),c=dl(c,Hd(n.parser.constructs.insideSpan.null,e.slice(a+1,t),n)),c=dl(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=dl(c,[["enter",e[t][1],n],["exit",e[t][1],n]])):s=0,ti(e,a-1,t-a+3,c),t=a+c.length-s-2;break}}for(t=-1;++t<e.length;)e[t][1].type==="attentionSequence"&&(e[t][1].type="data");return e}function S1n(e,n){let t=this.parser.constructs.attentionMarkers.null,a=this.previous,r=FR(a),o;return i;function i(l){return e.enter("attentionSequence"),o=l,u(l)}function u(l){if(l===o)return e.consume(l),u;let c=e.exit("attentionSequence"),s=FR(l),f=!s||s===2&&r||t.includes(l),v=!r||r===2&&s||t.includes(a);return c._open=Boolean(o===42?f:f&&(r||!v)),c._close=Boolean(o===42?v:v&&(s||!f)),n(l)}}function _Ie(e,n){e.column+=n,e.offset+=n,e._bufferIndex+=n}var YJ={name:"autolink",tokenize:E1n};function E1n(e,n,t){let a=1;return r;function r(_){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(_),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(_){return qu(_)?(e.consume(_),i):QJ(_)?c(_):t(_)}function i(_){return _===43||_===45||_===46||ai(_)?u(_):c(_)}function u(_){return _===58?(e.consume(_),l):(_===43||_===45||_===46||ai(_))&&a++<32?(e.consume(_),u):c(_)}function l(_){return _===62?(e.exit("autolinkProtocol"),m(_)):_===null||_===32||_===60||Od(_)?t(_):(e.consume(_),l)}function c(_){return _===64?(e.consume(_),a=0,s):QJ(_)?(e.consume(_),c):t(_)}function s(_){return ai(_)?f(_):t(_)}function f(_){return _===46?(e.consume(_),a=0,s):_===62?(e.exit("autolinkProtocol").type="autolinkEmail",m(_)):v(_)}function v(_){return(_===45||ai(_))&&a++<63?(e.consume(_),_===45?v:f):t(_)}function m(_){return e.enter("autolinkMarker"),e.consume(_),e.exit("autolinkMarker"),e.exit("autolink"),n}}var B0={tokenize:C1n,partial:!0};function C1n(e,n,t){return At(e,a,"linePrefix");function a(r){return r===null||Nn(r)?n(r):t(r)}}var A7={name:"blockQuote",tokenize:I1n,continuation:{tokenize:T1n},exit:F1n};function I1n(e,n,t){let a=this;return r;function r(i){if(i===62){let u=a.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(i),e.exit("blockQuoteMarker"),o}return t(i)}function o(i){return Ca(i)?(e.enter("blockQuotePrefixWhitespace"),e.consume(i),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),n):(e.exit("blockQuotePrefix"),n(i))}}function T1n(e,n,t){return At(e,e.attempt(A7,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function F1n(e){e.exit("blockQuote")}var x7={name:"characterEscape",tokenize:M1n};function M1n(e,n,t){return a;function a(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),r}function r(o){return fIe(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),n):t(o)}}var dIe=document.createElement("i");function MR(e){let n="&"+e+";";dIe.innerHTML=n;let t=dIe.textContent;return t.charCodeAt(t.length-1)===59&&e!=="semi"||t===n?!1:t}var L7={name:"characterReference",tokenize:G1n};function G1n(e,n,t){let a=this,r=0,o,i;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),l}function l(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),o=31,i=ai,s(f))}function c(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=sIe,s):(e.enter("characterReferenceValue"),o=7,i=DD,s(f))}function s(f){let v;return f===59&&r?(v=e.exit("characterReferenceValue"),i===ai&&!MR(a.sliceSerialize(v))?t(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),n)):i(f)&&r++<o?(e.consume(f),s):t(f)}}var j7={name:"codeFenced",tokenize:A1n,concrete:!0};function A1n(e,n,t){let a=this,r={tokenize:k,partial:!0},o={tokenize:P,partial:!0},i=this.events[this.events.length-1],u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0,c;return s;function s(M){return e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c=M,f(M)}function f(M){return M===c?(e.consume(M),l++,f):(e.exit("codeFencedFenceSequence"),l<3?t(M):At(e,v,"whitespace")(M))}function v(M){return M===null||Nn(M)?D(M):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),m(M))}function m(M){return M===null||Za(M)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),At(e,_,"whitespace")(M)):M===96&&M===c?t(M):(e.consume(M),m)}function _(M){return M===null||Nn(M)?D(M):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),R(M))}function R(M){return M===null||Nn(M)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),D(M)):M===96&&M===c?t(M):(e.consume(M),R)}function D(M){return e.exit("codeFencedFence"),a.interrupt?n(M):y(M)}function y(M){return M===null?G(M):Nn(M)?e.attempt(o,e.attempt(r,G,u?At(e,y,"linePrefix",u+1):y),G)(M):(e.enter("codeFlowValue"),S(M))}function S(M){return M===null||Nn(M)?(e.exit("codeFlowValue"),y(M)):(e.consume(M),S)}function G(M){return e.exit("codeFenced"),n(M)}function P(M,O,oe){let le=this;return ve;function ve(be){return M.enter("lineEnding"),M.consume(be),M.exit("lineEnding"),X}function X(be){return le.parser.lazy[le.now().line]?oe(be):O(be)}}function k(M,O,oe){let le=0;return At(M,ve,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function ve(pe){return M.enter("codeFencedFence"),M.enter("codeFencedFenceSequence"),X(pe)}function X(pe){return pe===c?(M.consume(pe),le++,X):le<l?oe(pe):(M.exit("codeFencedFenceSequence"),At(M,be,"whitespace")(pe))}function be(pe){return pe===null||Nn(pe)?(M.exit("codeFencedFence"),O(pe)):oe(pe)}}}var TT={name:"codeIndented",tokenize:L1n},x1n={tokenize:j1n,partial:!0};function L1n(e,n,t){let a=this;return r;function r(c){return e.enter("codeIndented"),At(e,o,"linePrefix",4+1)(c)}function o(c){let s=a.events[a.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?i(c):t(c)}function i(c){return c===null?l(c):Nn(c)?e.attempt(x1n,i,l)(c):(e.enter("codeFlowValue"),u(c))}function u(c){return c===null||Nn(c)?(e.exit("codeFlowValue"),i(c)):(e.consume(c),u)}function l(c){return e.exit("codeIndented"),n(c)}}function j1n(e,n,t){let a=this;return r;function r(i){return a.parser.lazy[a.now().line]?t(i):Nn(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r):At(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):Nn(i)?r(i):t(i)}}var XJ={name:"codeText",tokenize:k1n,resolve:N1n,previous:P1n};function N1n(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<n;)if(e[a][1].type==="codeTextData"){e[t][1].type="codeTextPadding",e[n][1].type="codeTextPadding",t+=2,n-=2;break}}for(a=t-1,n++;++a<=n;)r===void 0?a!==n&&e[a][1].type!=="lineEnding"&&(r=a):(a===n||e[a][1].type==="lineEnding")&&(e[r][1].type="codeTextData",a!==r+2&&(e[r][1].end=e[a-1][1].end,e.splice(r+2,a-r-2),n-=a-r-2,a=r+2),r=void 0);return e}function P1n(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function k1n(e,n,t){let a=this,r=0,o,i;return u;function u(v){return e.enter("codeText"),e.enter("codeTextSequence"),l(v)}function l(v){return v===96?(e.consume(v),r++,l):(e.exit("codeTextSequence"),c(v))}function c(v){return v===null?t(v):v===96?(i=e.enter("codeTextSequence"),o=0,f(v)):v===32?(e.enter("space"),e.consume(v),e.exit("space"),c):Nn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),c):(e.enter("codeTextData"),s(v))}function s(v){return v===null||v===32||v===96||Nn(v)?(e.exit("codeTextData"),c(v)):(e.consume(v),s)}function f(v){return v===96?(e.consume(v),o++,f):o===r?(e.exit("codeTextSequence"),e.exit("codeText"),n(v)):(i.type="codeTextData",s(v))}}function N7(e){let n={},t=-1,a,r,o,i,u,l,c;for(;++t<e.length;){for(;t in n;)t=n[t];if(a=e[t],t&&a[1].type==="chunkFlow"&&e[t-1][1].type==="listItemPrefix"&&(l=a[1]._tokenizer.events,o=0,o<l.length&&l[o][1].type==="lineEndingBlank"&&(o+=2),o<l.length&&l[o][1].type==="content"))for(;++o<l.length&&l[o][1].type!=="content";)l[o][1].type==="chunkText"&&(l[o][1]._isInFirstContentOfListItem=!0,o++);if(a[0]==="enter")a[1].contentType&&(Object.assign(n,O1n(e,t)),t=n[t],c=!0);else if(a[1]._container){for(o=t,r=void 0;o--&&(i=e[o],i[1].type==="lineEnding"||i[1].type==="lineEndingBlank");)i[0]==="enter"&&(r&&(e[r][1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);r&&(a[1].end=Object.assign({},e[r][1].start),u=e.slice(r,t),u.unshift(a),ti(e,r,t-r+1,u))}}return!c}function O1n(e,n){let t=e[n][1],a=e[n][2],r=n-1,o=[],i=t._tokenizer||a.parser[t.contentType](t.start),u=i.events,l=[],c={},s,f,v=-1,m=t,_=0,R=0,D=[R];for(;m;){for(;e[++r][1]!==m;);o.push(r),m._tokenizer||(s=a.sliceStream(m),m.next||s.push(null),f&&i.defineSkip(m.start),m._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=!0),i.write(s),m._isInFirstContentOfListItem&&(i._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=t;++v<u.length;)u[v][0]==="exit"&&u[v-1][0]==="enter"&&u[v][1].type===u[v-1][1].type&&u[v][1].start.line!==u[v][1].end.line&&(R=v+1,D.push(R),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(i.events=[],m?(m._tokenizer=void 0,m.previous=void 0):D.pop(),v=D.length;v--;){let y=u.slice(D[v],D[v+1]),S=o.pop();l.unshift([S,S+y.length-1]),ti(e,S,2,y)}for(v=-1;++v<l.length;)c[_+l[v][0]]=_+l[v][1],_+=l[v][1]-l[v][0]-1;return c}var ZJ={tokenize:B1n,resolve:H1n},U1n={tokenize:J1n,partial:!0};function H1n(e){return N7(e),e}function B1n(e,n){let t;return a;function a(u){return e.enter("content"),t=e.enter("chunkContent",{contentType:"content"}),r(u)}function r(u){return u===null?o(u):Nn(u)?e.check(U1n,i,o)(u):(e.consume(u),r)}function o(u){return e.exit("chunkContent"),e.exit("content"),n(u)}function i(u){return e.consume(u),e.exit("chunkContent"),t.next=e.enter("chunkContent",{contentType:"content",previous:t}),t=t.next,r}}function J1n(e,n,t){let a=this;return r;function r(i){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),At(e,o,"linePrefix")}function o(i){if(i===null||Nn(i))return t(i);let u=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?n(i):e.interrupt(a.parser.constructs.flow,t,n)(i)}}function P7(e,n,t,a,r,o,i,u,l){let c=l||Number.POSITIVE_INFINITY,s=0;return f;function f(y){return y===60?(e.enter(a),e.enter(r),e.enter(o),e.consume(y),e.exit(o),v):y===null||y===41||Od(y)?t(y):(e.enter(a),e.enter(i),e.enter(u),e.enter("chunkString",{contentType:"string"}),R(y))}function v(y){return y===62?(e.enter(o),e.consume(y),e.exit(o),e.exit(r),e.exit(a),n):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(y))}function m(y){return y===62?(e.exit("chunkString"),e.exit(u),v(y)):y===null||y===60||Nn(y)?t(y):(e.consume(y),y===92?_:m)}function _(y){return y===60||y===62||y===92?(e.consume(y),m):m(y)}function R(y){return y===40?++s>c?t(y):(e.consume(y),R):y===41?s--?(e.consume(y),R):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):y===null||Za(y)?s?t(y):(e.exit("chunkString"),e.exit(u),e.exit(i),e.exit(a),n(y)):Od(y)?t(y):(e.consume(y),y===92?D:R)}function D(y){return y===40||y===41||y===92?(e.consume(y),R):R(y)}}function k7(e,n,t,a,r,o){let i=this,u=0,l;return c;function c(m){return e.enter(a),e.enter(r),e.consume(m),e.exit(r),e.enter(o),s}function s(m){return m===null||m===91||m===93&&!l||m===94&&!u&&"_hiddenFootnoteSupport"in i.parser.constructs||u>999?t(m):m===93?(e.exit(o),e.enter(r),e.consume(m),e.exit(r),e.exit(a),n):Nn(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||Nn(m)||u++>999?(e.exit("chunkString"),s(m)):(e.consume(m),l=l||!Ca(m),m===92?v:f)}function v(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function O7(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):Nn(v)?(e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),At(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(v))}function s(v){return v===i||v===null||Nn(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 RD(e,n){let t;return a;function a(r){return Nn(r)?(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t=!0,a):Ca(r)?At(e,a,t?"linePrefix":"lineSuffix")(r):n(r)}}function zu(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}var KJ={name:"definition",tokenize:q1n},W1n={tokenize:z1n,partial:!0};function q1n(e,n,t){let a=this,r;return o;function o(l){return e.enter("definition"),k7.call(a,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(l)}function i(l){return r=zu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)),l===58?(e.enter("definitionMarker"),e.consume(l),e.exit("definitionMarker"),RD(e,P7(e,e.attempt(W1n,At(e,u,"whitespace"),At(e,u,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(l)}function u(l){return l===null||Nn(l)?(e.exit("definition"),a.parser.defined.includes(r)||a.parser.defined.push(r),n(l)):t(l)}}function z1n(e,n,t){return a;function a(i){return Za(i)?RD(e,r)(i):t(i)}function r(i){return i===34||i===39||i===40?O7(e,At(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(i):t(i)}function o(i){return i===null||Nn(i)?n(i):t(i)}}var eW={name:"hardBreakEscape",tokenize:$1n};function $1n(e,n,t){return a;function a(o){return e.enter("hardBreakEscape"),e.enter("escapeMarker"),e.consume(o),r}function r(o){return Nn(o)?(e.exit("escapeMarker"),e.exit("hardBreakEscape"),n(o)):t(o)}}var nW={name:"headingAtx",tokenize:Q1n,resolve:V1n};function V1n(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"},ti(e,a,t-a+1,[["enter",r,n],["enter",o,n],["exit",o,n],["exit",r,n]])),e}function Q1n(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||Za(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||Nn(s)?(e.exit("atxHeading"),n(s)):Ca(s)?At(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||Za(s)?(e.exit("atxHeadingText"),u(s)):(e.consume(s),c)}}var hIe=["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"],tW=["pre","script","style","textarea"];var aW={name:"htmlFlow",tokenize:Z1n,resolveTo:X1n,concrete:!0},Y1n={tokenize:K1n,partial:!0};function X1n(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 Z1n(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),_):x===63?(e.consume(x),r=3,a.interrupt?n:Pn):qu(x)?(e.consume(x),i=String.fromCharCode(x),o=!0,R):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,m):qu(x)?(e.consume(x),r=4,a.interrupt?n:Pn):t(x)}function v(x){return x===45?(e.consume(x),a.interrupt?n:Pn):t(x)}function m(x){return x===i.charCodeAt(u++)?(e.consume(x),u===i.length?a.interrupt?n:X:m):t(x)}function _(x){return qu(x)?(e.consume(x),i=String.fromCharCode(x),R):t(x)}function R(x){return x===null||x===47||x===62||Za(x)?x!==47&&o&&tW.includes(i.toLowerCase())?(r=1,a.interrupt?n(x):X(x)):hIe.includes(i.toLowerCase())?(r=6,x===47?(e.consume(x),D):a.interrupt?n(x):X(x)):(r=7,a.interrupt&&!a.parser.lazy[a.now().line]?t(x):o?S(x):y(x)):x===45||ai(x)?(e.consume(x),i+=String.fromCharCode(x),R):t(x)}function D(x){return x===62?(e.consume(x),a.interrupt?n:X):t(x)}function y(x){return Ca(x)?(e.consume(x),y):le(x)}function S(x){return x===47?(e.consume(x),le):x===58||x===95||qu(x)?(e.consume(x),G):Ca(x)?(e.consume(x),S):le(x)}function G(x){return x===45||x===46||x===58||x===95||ai(x)?(e.consume(x),G):P(x)}function P(x){return x===61?(e.consume(x),k):Ca(x)?(e.consume(x),P):S(x)}function k(x){return x===null||x===60||x===61||x===62||x===96?t(x):x===34||x===39?(e.consume(x),l=x,M):Ca(x)?(e.consume(x),k):(l=null,O(x))}function M(x){return x===null||Nn(x)?t(x):x===l?(e.consume(x),oe):(e.consume(x),M)}function O(x){return x===null||x===34||x===39||x===60||x===61||x===62||x===96||Za(x)?P(x):(e.consume(x),O)}function oe(x){return x===47||x===62||Ca(x)?S(x):t(x)}function le(x){return x===62?(e.consume(x),ve):t(x)}function ve(x){return Ca(x)?(e.consume(x),ve):x===null||Nn(x)?X(x):t(x)}function X(x){return x===45&&r===2?(e.consume(x),Ne):x===60&&r===1?(e.consume(x),ie):x===62&&r===4?(e.consume(x),kn):x===63&&r===3?(e.consume(x),Pn):x===93&&r===5?(e.consume(x),Ve):Nn(x)&&(r===6||r===7)?e.check(Y1n,kn,be)(x):x===null||Nn(x)?be(x):(e.consume(x),X)}function be(x){return e.exit("htmlFlowData"),pe(x)}function pe(x){return x===null?q(x):Nn(x)?e.attempt({tokenize:De,partial:!0},pe,q)(x):(e.enter("htmlFlowData"),X(x))}function De(x,ne,me){return ye;function ye(de){return x.enter("lineEnding"),x.consume(de),x.exit("lineEnding"),U}function U(de){return a.parser.lazy[a.now().line]?me(de):ne(de)}}function Ne(x){return x===45?(e.consume(x),Pn):X(x)}function ie(x){return x===47?(e.consume(x),i="",jn):X(x)}function jn(x){return x===62&&tW.includes(i.toLowerCase())?(e.consume(x),kn):qu(x)&&i.length<8?(e.consume(x),i+=String.fromCharCode(x),jn):X(x)}function Ve(x){return x===93?(e.consume(x),Pn):X(x)}function Pn(x){return x===62?(e.consume(x),kn):x===45&&r===2?(e.consume(x),Pn):X(x)}function kn(x){return x===null||Nn(x)?(e.exit("htmlFlowData"),q(x)):(e.consume(x),kn)}function q(x){return e.exit("htmlFlow"),n(x)}}function K1n(e,n,t){return a;function a(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(B0,n,t)}}var rW={name:"htmlText",tokenize:eyn};function eyn(e,n,t){let a=this,r,o,i,u;return l;function l(q){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(q),c}function c(q){return q===33?(e.consume(q),s):q===47?(e.consume(q),O):q===63?(e.consume(q),k):qu(q)?(e.consume(q),ve):t(q)}function s(q){return q===45?(e.consume(q),f):q===91?(e.consume(q),o="CDATA[",i=0,D):qu(q)?(e.consume(q),P):t(q)}function f(q){return q===45?(e.consume(q),v):t(q)}function v(q){return q===null||q===62?t(q):q===45?(e.consume(q),m):_(q)}function m(q){return q===null||q===62?t(q):_(q)}function _(q){return q===null?t(q):q===45?(e.consume(q),R):Nn(q)?(u=_,Ve(q)):(e.consume(q),_)}function R(q){return q===45?(e.consume(q),kn):_(q)}function D(q){return q===o.charCodeAt(i++)?(e.consume(q),i===o.length?y:D):t(q)}function y(q){return q===null?t(q):q===93?(e.consume(q),S):Nn(q)?(u=y,Ve(q)):(e.consume(q),y)}function S(q){return q===93?(e.consume(q),G):y(q)}function G(q){return q===62?kn(q):q===93?(e.consume(q),G):y(q)}function P(q){return q===null||q===62?kn(q):Nn(q)?(u=P,Ve(q)):(e.consume(q),P)}function k(q){return q===null?t(q):q===63?(e.consume(q),M):Nn(q)?(u=k,Ve(q)):(e.consume(q),k)}function M(q){return q===62?kn(q):k(q)}function O(q){return qu(q)?(e.consume(q),oe):t(q)}function oe(q){return q===45||ai(q)?(e.consume(q),oe):le(q)}function le(q){return Nn(q)?(u=le,Ve(q)):Ca(q)?(e.consume(q),le):kn(q)}function ve(q){return q===45||ai(q)?(e.consume(q),ve):q===47||q===62||Za(q)?X(q):t(q)}function X(q){return q===47?(e.consume(q),kn):q===58||q===95||qu(q)?(e.consume(q),be):Nn(q)?(u=X,Ve(q)):Ca(q)?(e.consume(q),X):kn(q)}function be(q){return q===45||q===46||q===58||q===95||ai(q)?(e.consume(q),be):pe(q)}function pe(q){return q===61?(e.consume(q),De):Nn(q)?(u=pe,Ve(q)):Ca(q)?(e.consume(q),pe):X(q)}function De(q){return q===null||q===60||q===61||q===62||q===96?t(q):q===34||q===39?(e.consume(q),r=q,Ne):Nn(q)?(u=De,Ve(q)):Ca(q)?(e.consume(q),De):(e.consume(q),r=void 0,jn)}function Ne(q){return q===r?(e.consume(q),ie):q===null?t(q):Nn(q)?(u=Ne,Ve(q)):(e.consume(q),Ne)}function ie(q){return q===62||q===47||Za(q)?X(q):t(q)}function jn(q){return q===null||q===34||q===39||q===60||q===61||q===96?t(q):q===62||Za(q)?X(q):(e.consume(q),jn)}function Ve(q){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(q),e.exit("lineEnding"),At(e,Pn,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Pn(q){return e.enter("htmlTextData"),u(q)}function kn(q){return q===62?(e.consume(q),e.exit("htmlTextData"),e.exit("htmlText"),n):t(q)}}var wD={name:"labelEnd",tokenize:iyn,resolveTo:oyn,resolveAll:ryn},nyn={tokenize:uyn},tyn={tokenize:lyn},ayn={tokenize:cyn};function ryn(e){let n=-1,t;for(;++n<e.length;)t=e[n][1],(t.type==="labelImage"||t.type==="labelLink"||t.type==="labelEnd")&&(e.splice(n+1,t.type==="labelImage"?4:2),t.type="data",n++);return e}function oyn(e,n){let t=e.length,a=0,r,o,i,u;for(;t--;)if(r=e[t][1],o){if(r.type==="link"||r.type==="labelLink"&&r._inactive)break;e[t][0]==="enter"&&r.type==="labelLink"&&(r._inactive=!0)}else if(i){if(e[t][0]==="enter"&&(r.type==="labelImage"||r.type==="labelLink")&&!r._balanced&&(o=t,r.type!=="labelLink")){a=2;break}}else r.type==="labelEnd"&&(i=t);let l={type:e[o][1].type==="labelLink"?"link":"image",start:Object.assign({},e[o][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[o][1].start),end:Object.assign({},e[i][1].end)},s={type:"labelText",start:Object.assign({},e[o+a+2][1].end),end:Object.assign({},e[i-2][1].start)};return u=[["enter",l,n],["enter",c,n]],u=dl(u,e.slice(o+1,o+a+3)),u=dl(u,[["enter",s,n]]),u=dl(u,Hd(n.parser.constructs.insideSpan.null,e.slice(o+a+4,i-3),n)),u=dl(u,[["exit",s,n],e[i-2],e[i-1],["exit",c,n]]),u=dl(u,e.slice(i+1)),u=dl(u,[["exit",l,n]]),ti(e,o,e.length,u),e}function iyn(e,n,t){let a=this,r=a.events.length,o,i;for(;r--;)if((a.events[r][1].type==="labelImage"||a.events[r][1].type==="labelLink")&&!a.events[r][1]._balanced){o=a.events[r][1];break}return u;function u(s){return o?o._inactive?c(s):(i=a.parser.defined.includes(zu(a.sliceSerialize({start:o.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelEnd"),l):t(s)}function l(s){return s===40?e.attempt(nyn,n,i?n:c)(s):s===91?e.attempt(tyn,n,i?e.attempt(ayn,n,c):c)(s):i?n(s):c(s)}function c(s){return o._balanced=!0,t(s)}}function uyn(e,n,t){return a;function a(l){return e.enter("resource"),e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),RD(e,r)}function r(l){return l===41?u(l):P7(e,o,t,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(l)}function o(l){return Za(l)?RD(e,i)(l):u(l)}function i(l){return l===34||l===39||l===40?O7(e,RD(e,u),t,"resourceTitle","resourceTitleMarker","resourceTitleString")(l):u(l)}function u(l){return l===41?(e.enter("resourceMarker"),e.consume(l),e.exit("resourceMarker"),e.exit("resource"),n):t(l)}}function lyn(e,n,t){let a=this;return r;function r(i){return k7.call(a,e,o,t,"reference","referenceMarker","referenceString")(i)}function o(i){return a.parser.defined.includes(zu(a.sliceSerialize(a.events[a.events.length-1][1]).slice(1,-1)))?n(i):t(i)}}function cyn(e,n,t){return a;function a(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),r}function r(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),n):t(o)}}var oW={name:"labelStartImage",tokenize:syn,resolveAll:wD.resolveAll};function syn(e,n,t){let a=this;return r;function r(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),o}function o(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),i):t(u)}function i(u){return u===94&&"_hiddenFootnoteSupport"in a.parser.constructs?t(u):n(u)}}var iW={name:"labelStartLink",tokenize:fyn,resolveAll:wD.resolveAll};function fyn(e,n,t){let a=this;return r;function r(i){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(i),e.exit("labelMarker"),e.exit("labelLink"),o}function o(i){return i===94&&"_hiddenFootnoteSupport"in a.parser.constructs?t(i):n(i)}}var FT={name:"lineEnding",tokenize:vyn};function vyn(e,n){return t;function t(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),At(e,n,"linePrefix")}}var SD={name:"thematicBreak",tokenize:myn};function myn(e,n,t){let a=0,r;return o;function o(l){return e.enter("thematicBreak"),r=l,i(l)}function i(l){return l===r?(e.enter("thematicBreakSequence"),u(l)):Ca(l)?At(e,i,"whitespace")(l):a<3||l!==null&&!Nn(l)?t(l):(e.exit("thematicBreak"),n(l))}function u(l){return l===r?(e.consume(l),a++,u):(e.exit("thematicBreakSequence"),i(l))}}var $u={name:"list",tokenize:dyn,continuation:{tokenize:hyn},exit:Dyn},pyn={tokenize:yyn,partial:!0},_yn={tokenize:gyn,partial:!0};function dyn(e,n,t){let a=this,r=a.events[a.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,i=0;return u;function u(m){let _=a.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(_==="listUnordered"?!a.containerState.marker||m===a.containerState.marker:DD(m)){if(a.containerState.type||(a.containerState.type=_,e.enter(_,{_container:!0})),_==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(SD,t,c)(m):c(m);if(!a.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return t(m)}function l(m){return DD(m)&&++i<10?(e.consume(m),l):(!a.interrupt||i<2)&&(a.containerState.marker?m===a.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),c(m)):t(m)}function c(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),a.containerState.marker=a.containerState.marker||m,e.check(B0,a.interrupt?t:s,e.attempt(pyn,v,f))}function s(m){return a.containerState.initialBlankLine=!0,o++,v(m)}function f(m){return Ca(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),v):t(m)}function v(m){return a.containerState.size=o+a.sliceSerialize(e.exit("listItemPrefix"),!0).length,n(m)}}function hyn(e,n,t){let a=this;return a.containerState._closeFlow=void 0,e.check(B0,r,o);function r(u){return a.containerState.furtherBlankLines=a.containerState.furtherBlankLines||a.containerState.initialBlankLine,At(e,n,"listItemIndent",a.containerState.size+1)(u)}function o(u){return a.containerState.furtherBlankLines||!Ca(u)?(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,i(u)):(a.containerState.furtherBlankLines=void 0,a.containerState.initialBlankLine=void 0,e.attempt(_yn,n,i)(u))}function i(u){return a.containerState._closeFlow=!0,a.interrupt=void 0,At(e,e.attempt($u,n,t),"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function gyn(e,n,t){let a=this;return At(e,r,"listItemIndent",a.containerState.size+1);function r(o){let i=a.events[a.events.length-1];return i&&i[1].type==="listItemIndent"&&i[2].sliceSerialize(i[1],!0).length===a.containerState.size?n(o):t(o)}}function Dyn(e){e.exit(this.containerState.type)}function yyn(e,n,t){let a=this;return At(e,r,"listItemPrefixWhitespace",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4+1);function r(o){let i=a.events[a.events.length-1];return!Ca(o)&&i&&i[1].type==="listItemPrefixWhitespace"?n(o):t(o)}}var U7={name:"setextUnderline",tokenize:Ryn,resolveTo:byn};function byn(e,n){let t=e.length,a,r,o;for(;t--;)if(e[t][0]==="enter"){if(e[t][1].type==="content"){a=t;break}e[t][1].type==="paragraph"&&(r=t)}else e[t][1].type==="content"&&e.splice(t,1),!o&&e[t][1].type==="definition"&&(o=t);let i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,n]),e.splice(o+1,0,["exit",e[a][1],n]),e[a][1].end=Object.assign({},e[o][1].end)):e[a][1]=i,e.push(["exit",i,n]),e}function Ryn(e,n,t){let a=this,r=a.events.length,o,i;for(;r--;)if(a.events[r][1].type!=="lineEnding"&&a.events[r][1].type!=="linePrefix"&&a.events[r][1].type!=="content"){i=a.events[r][1].type==="paragraph";break}return u;function u(s){return!a.parser.lazy[a.now().line]&&(a.interrupt||i)?(e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=s,l(s)):t(s)}function l(s){return s===o?(e.consume(s),l):(e.exit("setextHeadingLineSequence"),At(e,c,"lineSuffix")(s))}function c(s){return s===null||Nn(s)?(e.exit("setextHeadingLine"),n(s)):t(s)}}var gIe={tokenize:wyn};function wyn(e){let n=this,t=e.attempt(B0,a,e.attempt(this.parser.constructs.flowInitial,r,At(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ZJ,r)),"linePrefix")));return t;function a(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}function r(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n.currentConstruct=void 0,t}}var DIe={resolveAll:wIe()},yIe=RIe("string"),bIe=RIe("text");function RIe(e){return{tokenize:n,resolveAll:wIe(e==="text"?Syn:void 0)};function n(t){let a=this,r=this.parser.constructs[e],o=t.attempt(r,i,u);return i;function i(s){return c(s)?o(s):u(s)}function u(s){if(s===null){t.consume(s);return}return t.enter("data"),t.consume(s),l}function l(s){return c(s)?(t.exit("data"),o(s)):(t.consume(s),l)}function c(s){if(s===null)return!0;let f=r[s],v=-1;if(f)for(;++v<f.length;){let m=f[v];if(!m.previous||m.previous.call(a,a.previous))return!0}return!1}}}function wIe(e){return n;function n(t,a){let r=-1,o;for(;++r<=t.length;)o===void 0?t[r]&&t[r][1].type==="data"&&(o=r,r++):(!t[r]||t[r][1].type!=="data")&&(r!==o+2&&(t[o][1].end=t[r-1][1].end,t.splice(o+2,r-o-2),r=o+2),o=void 0);return e?e(t,a):t}}function Syn(e,n){let t=0;for(;++t<=e.length;)if((t===e.length||e[t][1].type==="lineEnding")&&e[t-1][1].type==="data"){let a=e[t-1][1],r=n.sliceStream(a),o=r.length,i=-1,u=0,l;for(;o--;){let c=r[o];if(typeof c=="string"){for(i=c.length;c.charCodeAt(i-1)===32;)u++,i--;if(i)break;i=-1}else if(c===-2)l=!0,u++;else if(c!==-1){o++;break}}if(u){let c={type:t===e.length||l||u<2?"lineSuffix":"hardBreakTrailing",start:{line:a.end.line,column:a.end.column-u,offset:a.end.offset-u,_index:a.start._index+o,_bufferIndex:o?i:a.start._bufferIndex+i},end:Object.assign({},a.end)};a.end=Object.assign({},c.start),a.start.offset===a.end.offset?Object.assign(a,c):(e.splice(t,0,["enter",c,n],["exit",c,n]),t+=2)}t++}return e}function SIe(e,n,t){let a=Object.assign(t?Object.assign({},t):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),r={},o=[],i=[],u=[],l=!0,c={consume:P,enter:k,exit:M,attempt:le(O),check:le(oe),interrupt:le(oe,{interrupt:!0})},s={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:R,sliceSerialize:_,now:D,defineSkip:y,write:m},f=n.tokenize.call(s,c),v;return n.resolveAll&&o.push(n),s;function m(pe){return i=dl(i,pe),S(),i[i.length-1]!==null?[]:(ve(n,0),s.events=Hd(o,s.events,s),s.events)}function _(pe,De){return Cyn(R(pe),De)}function R(pe){return Eyn(i,pe)}function D(){return Object.assign({},a)}function y(pe){r[pe.line]=pe.column,be()}function S(){let pe;for(;a._index<i.length;){let De=i[a._index];if(typeof De=="string")for(pe=a._index,a._bufferIndex<0&&(a._bufferIndex=0);a._index===pe&&a._bufferIndex<De.length;)G(De.charCodeAt(a._bufferIndex));else G(De)}}function G(pe){l=void 0,v=pe,f=f(pe)}function P(pe){Nn(pe)?(a.line++,a.column=1,a.offset+=pe===-3?2:1,be()):pe!==-1&&(a.column++,a.offset++),a._bufferIndex<0?a._index++:(a._bufferIndex++,a._bufferIndex===i[a._index].length&&(a._bufferIndex=-1,a._index++)),s.previous=pe,l=!0}function k(pe,De){let Ne=De||{};return Ne.type=pe,Ne.start=D(),s.events.push(["enter",Ne,s]),u.push(Ne),Ne}function M(pe){let De=u.pop();return De.end=D(),s.events.push(["exit",De,s]),De}function O(pe,De){ve(pe,De.from)}function oe(pe,De){De.restore()}function le(pe,De){return Ne;function Ne(ie,jn,Ve){let Pn,kn,q,x;return Array.isArray(ie)?me(ie):"tokenize"in ie?me([ie]):ne(ie);function ne(V){return Ae;function Ae(Me){let He=Me!==null&&V[Me],$e=Me!==null&&V.null,je=[...Array.isArray(He)?He:He?[He]:[],...Array.isArray($e)?$e:$e?[$e]:[]];return me(je)(Me)}}function me(V){return Pn=V,kn=0,V.length===0?Ve:ye(V[kn])}function ye(V){return Ae;function Ae(Me){return x=X(),q=V,V.partial||(s.currentConstruct=V),V.name&&s.parser.constructs.disable.null.includes(V.name)?de(Me):V.tokenize.call(De?Object.assign(Object.create(s),De):s,c,U,de)(Me)}}function U(V){return l=!0,pe(q,x),jn}function de(V){return l=!0,x.restore(),++kn<Pn.length?ye(Pn[kn]):Ve}}}function ve(pe,De){pe.resolveAll&&!o.includes(pe)&&o.push(pe),pe.resolve&&ti(s.events,De,s.events.length-De,pe.resolve(s.events.slice(De),s)),pe.resolveTo&&(s.events=pe.resolveTo(s.events,s))}function X(){let pe=D(),De=s.previous,Ne=s.currentConstruct,ie=s.events.length,jn=Array.from(u);return{restore:Ve,from:ie};function Ve(){a=pe,s.previous=De,s.currentConstruct=Ne,s.events.length=ie,u=jn,be()}}function be(){a.line in r&&a.column<2&&(a.column=r[a.line],a.offset+=r[a.line]-1)}}function Eyn(e,n){let t=n.start._index,a=n.start._bufferIndex,r=n.end._index,o=n.end._bufferIndex,i;return t===r?i=[e[t].slice(a,o)]:(i=e.slice(t,r),a>-1&&(i[0]=i[0].slice(a)),o>0&&i.push(e[r].slice(0,o))),i}function Cyn(e,n){let t=-1,a=[],r;for(;++t<e.length;){let o=e[t],i;if(typeof o=="string")i=o;else switch(o){case-5:{i="\r";break}case-4:{i=`
`;break}case-3:{i=`\r
`;break}case-2:{i=n?" ":"	";break}case-1:{if(!n&&r)continue;i=" ";break}default:i=String.fromCharCode(o)}r=o===-2,a.push(i)}return a.join("")}var uW={};YT(uW,{attentionMarkers:()=>Lyn,contentInitial:()=>Tyn,disable:()=>jyn,document:()=>Iyn,flow:()=>Myn,flowInitial:()=>Fyn,insideSpan:()=>xyn,string:()=>Gyn,text:()=>Ayn});var Iyn={[42]:$u,[43]:$u,[45]:$u,[48]:$u,[49]:$u,[50]:$u,[51]:$u,[52]:$u,[53]:$u,[54]:$u,[55]:$u,[56]:$u,[57]:$u,[62]:A7},Tyn={[91]:KJ},Fyn={[-2]:TT,[-1]:TT,[32]:TT},Myn={[35]:nW,[42]:SD,[45]:[U7,SD],[60]:aW,[61]:U7,[95]:SD,[96]:j7,[126]:j7},Gyn={[38]:L7,[92]:x7},Ayn={[-5]:FT,[-4]:FT,[-3]:FT,[33]:oW,[38]:L7,[42]:IT,[60]:[YJ,rW],[91]:iW,[92]:[eW,x7],[93]:wD,[95]:IT,[96]:XJ},xyn={null:[IT,DIe]},Lyn={null:[42,95]},jyn={null:[]};function EIe(e={}){let n=G7([uW].concat(e.extensions||[])),t={defined:[],lazy:{},constructs:n,content:a(vIe),document:a(mIe),flow:a(gIe),string:a(yIe),text:a(bIe)};return t;function a(r){return o;function o(i){return SIe(t,r,i)}}}var CIe=/[\0\t\n\r]/g;function IIe(){let e=1,n="",t=!0,a;return r;function r(o,i,u){let l=[],c,s,f,v,m;for(o=n+o.toString(i),f=0,n="",t&&(o.charCodeAt(0)===65279&&f++,t=void 0);f<o.length;){if(CIe.lastIndex=f,c=CIe.exec(o),v=c&&c.index!==void 0?c.index:o.length,m=o.charCodeAt(v),!c){n=o.slice(f);break}if(m===10&&f===v&&a)l.push(-3),a=void 0;else switch(a&&(l.push(-5),a=void 0),f<v&&(l.push(o.slice(f,v)),e+=v-f),m){case 0:{l.push(65533),e++;break}case 9:{for(s=Math.ceil(e/4)*4,l.push(-2);e++<s;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:a=!0,e=1}f=v+1}return u&&(a&&l.push(-5),n&&l.push(n),l.push(null)),l}}function TIe(e){for(;!N7(e););return e}function H7(e,n){let t=Number.parseInt(e,n);return t<9||t===11||t>13&&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 Nyn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function B7(e){return e.replace(Nyn,Pyn)}function Pyn(e,n,t){if(n)return n;if(t.charCodeAt(0)===35){let r=t.charCodeAt(1),o=r===120||r===88;return H7(t.slice(o?2:1),o?16:10)}return MR(t)||e}var FIe={}.hasOwnProperty,lW=function(e,n,t){return typeof n!="string"&&(t=n,n=void 0),kyn(t)(TIe(EIe(t).document().write(IIe()(e,n,!0))))};function kyn(e){let n={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:u(Fn),autolinkProtocol:X,autolinkEmail:X,atxHeading:u(nt),blockQuote:u(He),characterEscape:X,characterReference:X,codeFenced:u($e),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u($e,l),codeText:u(je,l),codeTextData:X,data:X,codeFlowValue:X,definition:u(In),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(cn),hardBreakEscape:u(Cn),hardBreakTrailing:u(Cn),htmlFlow:u(tt,l),htmlFlowData:X,htmlText:u(tt,l),htmlTextData:X,image:u(ht),label:l,link:u(Fn),listItem:u(rt),listItemValue:_,listOrdered:u(Ft,m),listUnordered:u(Ft),paragraph:u(Jn),reference:ye,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(nt),strong:u(sn),thematicBreak:u(Oa)},exit:{atxHeading:s(),atxHeadingSequence:O,autolink:s(),autolinkEmail:Me,autolinkProtocol:Ae,blockQuote:s(),characterEscapeValue:be,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:V,codeFenced:s(S),codeFencedFence:y,codeFencedFenceInfo:R,codeFencedFenceMeta:D,codeFlowValue:be,codeIndented:s(G),codeText:s(jn),codeTextData:be,data:be,definition:s(),definitionDestinationString:M,definitionLabelString:P,definitionTitleString:k,emphasis:s(),hardBreakEscape:s(De),hardBreakTrailing:s(De),htmlFlow:s(Ne),htmlFlowData:be,htmlText:s(ie),htmlTextData:be,image:s(Pn),label:q,labelText:kn,lineEnding:pe,link:s(Ve),listItem:s(),listOrdered:s(),listUnordered:s(),paragraph:s(),referenceString:U,resourceDestinationString:x,resourceTitleString:ne,resource:me,setextHeading:s(ve),setextHeadingLineSequence:le,setextHeadingText:oe,strong:s(),thematicBreak:s()}};MIe(n,(e||{}).mdastExtensions||[]);let t={};return a;function a(Ie){let qe={type:"root",children:[]},Mt={stack:[qe],tokenStack:[],config:n,enter:c,exit:f,buffer:l,resume:v,setData:o,getData:i},nr=[],lr=-1;for(;++lr<Ie.length;)if(Ie[lr][1].type==="listOrdered"||Ie[lr][1].type==="listUnordered")if(Ie[lr][0]==="enter")nr.push(lr);else{let ac=nr.pop();lr=r(Ie,ac,lr)}for(lr=-1;++lr<Ie.length;){let ac=n[Ie[lr][0]];FIe.call(ac,Ie[lr][1].type)&&ac[Ie[lr][1].type].call(Object.assign({sliceSerialize:Ie[lr][2].sliceSerialize},Mt),Ie[lr][1])}if(Mt.tokenStack.length>0){let ac=Mt.tokenStack[Mt.tokenStack.length-1];(ac[1]||GIe).call(Mt,void 0,ac[0])}for(qe.position={start:Bd(Ie.length>0?Ie[0][1].start:{line:1,column:1,offset:0}),end:Bd(Ie.length>0?Ie[Ie.length-2][1].end:{line:1,column:1,offset:0})},lr=-1;++lr<n.transforms.length;)qe=n.transforms[lr](qe)||qe;return qe}function r(Ie,qe,Mt){let nr=qe-1,lr=-1,ac=!1,Av,cf,Z0,Zd;for(;++nr<=Mt;){let cr=Ie[nr];if(cr[1].type==="listUnordered"||cr[1].type==="listOrdered"||cr[1].type==="blockQuote"?(cr[0]==="enter"?lr++:lr--,Zd=void 0):cr[1].type==="lineEndingBlank"?cr[0]==="enter"&&(Av&&!Zd&&!lr&&!Z0&&(Z0=nr),Zd=void 0):cr[1].type==="linePrefix"||cr[1].type==="listItemValue"||cr[1].type==="listItemMarker"||cr[1].type==="listItemPrefix"||cr[1].type==="listItemPrefixWhitespace"||(Zd=void 0),!lr&&cr[0]==="enter"&&cr[1].type==="listItemPrefix"||lr===-1&&cr[0]==="exit"&&(cr[1].type==="listUnordered"||cr[1].type==="listOrdered")){if(Av){let zR=nr;for(cf=void 0;zR--;){let sf=Ie[zR];if(sf[1].type==="lineEnding"||sf[1].type==="lineEndingBlank"){if(sf[0]==="exit")continue;cf&&(Ie[cf][1].type="lineEndingBlank",ac=!0),sf[1].type="lineEnding",cf=zR}else if(!(sf[1].type==="linePrefix"||sf[1].type==="blockQuotePrefix"||sf[1].type==="blockQuotePrefixWhitespace"||sf[1].type==="blockQuoteMarker"||sf[1].type==="listItemIndent"))break}Z0&&(!cf||Z0<cf)&&(Av._spread=!0),Av.end=Object.assign({},cf?Ie[cf][1].start:cr[1].end),Ie.splice(cf||nr,0,["exit",Av,cr[2]]),nr++,Mt++}cr[1].type==="listItemPrefix"&&(Av={type:"listItem",_spread:!1,start:Object.assign({},cr[1].start)},Ie.splice(nr,0,["enter",Av,cr[2]]),nr++,Mt++,Z0=void 0,Zd=!0)}}return Ie[qe][1]._spread=ac,Mt}function o(Ie,qe){t[Ie]=qe}function i(Ie){return t[Ie]}function u(Ie,qe){return Mt;function Mt(nr){c.call(this,Ie(nr),nr),qe&&qe.call(this,nr)}}function l(){this.stack.push({type:"fragment",children:[]})}function c(Ie,qe,Mt){return this.stack[this.stack.length-1].children.push(Ie),this.stack.push(Ie),this.tokenStack.push([qe,Mt]),Ie.position={start:Bd(qe.start)},Ie}function s(Ie){return qe;function qe(Mt){Ie&&Ie.call(this,Mt),f.call(this,Mt)}}function f(Ie,qe){let Mt=this.stack.pop(),nr=this.tokenStack.pop();if(nr)nr[0].type!==Ie.type&&(qe?qe.call(this,Ie,nr[0]):(nr[1]||GIe).call(this,Ie,nr[0]));else throw new Error("Cannot close `"+Ie.type+"` ("+kd({start:Ie.start,end:Ie.end})+"): it\u2019s not open");return Mt.position.end=Bd(Ie.end),Mt}function v(){return VJ(this.stack.pop())}function m(){o("expectingFirstListItemValue",!0)}function _(Ie){if(i("expectingFirstListItemValue")){let qe=this.stack[this.stack.length-2];qe.start=Number.parseInt(this.sliceSerialize(Ie),10),o("expectingFirstListItemValue")}}function R(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.lang=Ie}function D(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.meta=Ie}function y(){i("flowCodeInside")||(this.buffer(),o("flowCodeInside",!0))}function S(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.value=Ie.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),o("flowCodeInside")}function G(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.value=Ie.replace(/(\r?\n|\r)$/g,"")}function P(Ie){let qe=this.resume(),Mt=this.stack[this.stack.length-1];Mt.label=qe,Mt.identifier=zu(this.sliceSerialize(Ie)).toLowerCase()}function k(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.title=Ie}function M(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.url=Ie}function O(Ie){let qe=this.stack[this.stack.length-1];if(!qe.depth){let Mt=this.sliceSerialize(Ie).length;qe.depth=Mt}}function oe(){o("setextHeadingSlurpLineEnding",!0)}function le(Ie){let qe=this.stack[this.stack.length-1];qe.depth=this.sliceSerialize(Ie).charCodeAt(0)===61?1:2}function ve(){o("setextHeadingSlurpLineEnding")}function X(Ie){let qe=this.stack[this.stack.length-1],Mt=qe.children[qe.children.length-1];(!Mt||Mt.type!=="text")&&(Mt=vt(),Mt.position={start:Bd(Ie.start)},qe.children.push(Mt)),this.stack.push(Mt)}function be(Ie){let qe=this.stack.pop();qe.value+=this.sliceSerialize(Ie),qe.position.end=Bd(Ie.end)}function pe(Ie){let qe=this.stack[this.stack.length-1];if(i("atHardBreak")){let Mt=qe.children[qe.children.length-1];Mt.position.end=Bd(Ie.end),o("atHardBreak");return}!i("setextHeadingSlurpLineEnding")&&n.canContainEols.includes(qe.type)&&(X.call(this,Ie),be.call(this,Ie))}function De(){o("atHardBreak",!0)}function Ne(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.value=Ie}function ie(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.value=Ie}function jn(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.value=Ie}function Ve(){let Ie=this.stack[this.stack.length-1];if(i("inReference")){let qe=i("referenceType")||"shortcut";Ie.type+="Reference",Ie.referenceType=qe,delete Ie.url,delete Ie.title}else delete Ie.identifier,delete Ie.label;o("referenceType")}function Pn(){let Ie=this.stack[this.stack.length-1];if(i("inReference")){let qe=i("referenceType")||"shortcut";Ie.type+="Reference",Ie.referenceType=qe,delete Ie.url,delete Ie.title}else delete Ie.identifier,delete Ie.label;o("referenceType")}function kn(Ie){let qe=this.sliceSerialize(Ie),Mt=this.stack[this.stack.length-2];Mt.label=B7(qe),Mt.identifier=zu(qe).toLowerCase()}function q(){let Ie=this.stack[this.stack.length-1],qe=this.resume(),Mt=this.stack[this.stack.length-1];if(o("inReference",!0),Mt.type==="link"){let nr=Ie.children;Mt.children=nr}else Mt.alt=qe}function x(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.url=Ie}function ne(){let Ie=this.resume(),qe=this.stack[this.stack.length-1];qe.title=Ie}function me(){o("inReference")}function ye(){o("referenceType","collapsed")}function U(Ie){let qe=this.resume(),Mt=this.stack[this.stack.length-1];Mt.label=qe,Mt.identifier=zu(this.sliceSerialize(Ie)).toLowerCase(),o("referenceType","full")}function de(Ie){o("characterReferenceType",Ie.type)}function V(Ie){let qe=this.sliceSerialize(Ie),Mt=i("characterReferenceType"),nr;Mt?(nr=H7(qe,Mt==="characterReferenceMarkerNumeric"?10:16),o("characterReferenceType")):nr=MR(qe);let lr=this.stack.pop();lr.value+=nr,lr.position.end=Bd(Ie.end)}function Ae(Ie){be.call(this,Ie);let qe=this.stack[this.stack.length-1];qe.url=this.sliceSerialize(Ie)}function Me(Ie){be.call(this,Ie);let qe=this.stack[this.stack.length-1];qe.url="mailto:"+this.sliceSerialize(Ie)}function He(){return{type:"blockquote",children:[]}}function $e(){return{type:"code",lang:null,meta:null,value:""}}function je(){return{type:"inlineCode",value:""}}function In(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function cn(){return{type:"emphasis",children:[]}}function nt(){return{type:"heading",depth:void 0,children:[]}}function Cn(){return{type:"break"}}function tt(){return{type:"html",value:""}}function ht(){return{type:"image",title:null,url:"",alt:null}}function Fn(){return{type:"link",title:null,url:"",children:[]}}function Ft(Ie){return{type:"list",ordered:Ie.type==="listOrdered",start:null,spread:Ie._spread,children:[]}}function rt(Ie){return{type:"listItem",spread:Ie._spread,checked:null,children:[]}}function Jn(){return{type:"paragraph",children:[]}}function sn(){return{type:"strong",children:[]}}function vt(){return{type:"text",value:""}}function Oa(){return{type:"thematicBreak"}}}function Bd(e){return{line:e.line,column:e.column,offset:e.offset}}function MIe(e,n){let t=-1;for(;++t<n.length;){let a=n[t];Array.isArray(a)?MIe(e,a):Oyn(e,a)}}function Oyn(e,n){let t;for(t in n)if(FIe.call(n,t)){if(t==="canContainEols"){let a=n[t];a&&e[t].push(...a)}else if(t==="transforms"){let a=n[t];a&&e[t].push(...a)}else if(t==="enter"||t==="exit"){let a=n[t];a&&Object.assign(e[t],a)}}}function GIe(e,n){throw e?new Error("Cannot close `"+e.type+"` ("+kd({start:e.start,end:e.end})+"): a different token (`"+n.type+"`, "+kd({start:n.start,end:n.end})+") is open"):new Error("Cannot close document, a token (`"+n.type+"`, "+kd({start:n.start,end:n.end})+") is still open")}function J7(e){Object.assign(this,{Parser:t=>{let a=this.data("settings");return lW(t,Object.assign({},a,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})}function AIe(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 xIe(e,n){let t={type:"element",tagName:"br",properties:{},children:[]};return e.patch(n,t),[e.applyData(n,t),{type:"text",value:`
`}]}function LIe(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 jIe(e,n){let t={type:"element",tagName:"del",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function NIe(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(;++t<e.length;){let o=e.charCodeAt(t),i="";if(o===37&&ai(e.charCodeAt(t+1))&&ai(e.charCodeAt(t+2)))r=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(i=String.fromCharCode(o));else if(o>55295&&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 W7(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 PIe(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},W7(e,{type:"footnoteReference",identifier:r,position:n.position})}function kIe(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 OIe(e,n){if(e.dangerous){let t={type:"raw",value:n.value};return e.patch(n,t),e.applyData(n,t)}return null}function q7(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 UIe(e,n){let t=e.definition(n.identifier);if(!t)return q7(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 HIe(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 BIe(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 JIe(e,n){let t=e.definition(n.identifier);if(!t)return q7(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 WIe(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 qIe(e,n,t){let a=e.all(n),r=t?Uyn(t):zIe(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(;++u<a.length;){let s=a[u];(r||u!==0||s.type!=="element"||s.tagName!=="p")&&i.push({type:"text",value:`
`}),s.type==="element"&&s.tagName==="p"&&!r?i.push(...s.children):i.push(s)}let l=a[a.length-1];l&&(r||l.type!=="element"||l.tagName!=="p")&&i.push({type:"text",value:`
`});let c={type:"element",tagName:"li",properties:o,children:i};return e.patch(n,c),e.applyData(n,c)}function Uyn(e){let n=!1;if(e.type==="list"){n=e.spread||!1;let t=e.children,a=-1;for(;!n&&++a<t.length;)n=zIe(t[a])}return n}function zIe(e){let n=e.spread;return n==null?e.children.length>1:n}function $Ie(e,n){let t={},a=e.all(n),r=-1;for(typeof n.start=="number"&&n.start!==1&&(t.start=n.start);++r<a.length;){let i=a[r];if(i.type==="element"&&i.tagName==="li"&&i.properties&&Array.isArray(i.properties.className)&&i.properties.className.includes("task-list-item")){t.className=["contains-task-list"];break}}let o={type:"element",tagName:n.ordered?"ol":"ul",properties:t,children:e.wrap(a,!0)};return e.patch(n,o),e.applyData(n,o)}function VIe(e,n){let t={type:"element",tagName:"p",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}function QIe(e,n){let t={type:"root",children:e.wrap(e.all(n))};return e.patch(n,t),e.applyData(n,t)}function YIe(e,n){let t={type:"element",tagName:"strong",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}var GR=XIe("start"),AR=XIe("end");function cW(e){return{start:GR(e),end:AR(e)}}function XIe(e){return n;function n(t){let a=t&&t.position&&t.position[e]||{};return{line:a.line||null,column:a.column||null,offset:a.offset>-1?a.offset:null}}}function ZIe(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=GR(n.children[1]),l=AR(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 KIe(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(;++l<u;){let f=n.children[l],v={},m=i?i[l]:void 0;m&&(v.align=m);let _={type:"element",tagName:o,properties:v,children:[]};f&&(_.children=e.all(f),e.patch(f,_),_=e.applyData(n,_)),c.push(_)}let s={type:"element",tagName:"tr",properties:{},children:e.wrap(c,!0)};return e.patch(n,s),e.applyData(n,s)}function eTe(e,n){let t={type:"element",tagName:"td",properties:{},children:e.all(n)};return e.patch(n,t),e.applyData(n,t)}var nTe=9,tTe=32;function aTe(e){let n=String(e),t=/\r?\n|\r/g,a=t.exec(n),r=0,o=[];for(;a;)o.push(rTe(n.slice(r,a.index),r>0,!0),a[0]),r=a.index+a[0].length,a=t.exec(n);return o.push(rTe(n.slice(r),r>0,!1)),o.join("")}function rTe(e,n,t){let a=0,r=e.length;if(n){let o=e.codePointAt(a);for(;o===nTe||o===tTe;)a++,o=e.codePointAt(a)}if(t){let o=e.codePointAt(r-1);for(;o===nTe||o===tTe;)r--,o=e.codePointAt(r-1)}return r>a?e.slice(a,r):""}function oTe(e,n){let t={type:"text",value:aTe(String(n.value))};return e.patch(n,t),e.applyData(n,t)}function iTe(e,n){let t={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(n,t),e.applyData(n,t)}var uTe={blockquote:AIe,break:xIe,code:LIe,delete:jIe,emphasis:NIe,footnoteReference:W7,footnote:PIe,heading:kIe,html:OIe,imageReference:UIe,image:HIe,inlineCode:BIe,linkReference:JIe,link:WIe,listItem:qIe,list:$Ie,paragraph:VIe,root:QIe,strong:YIe,table:ZIe,tableCell:eTe,tableRow:KIe,text:oTe,thematicBreak:iTe,toml:z7,yaml:z7,definition:z7,footnoteDefinition:z7};function z7(){return null}var MT=function(e){if(e==null)return Wyn;if(typeof e=="string")return Jyn(e);if(typeof e=="object")return Array.isArray(e)?Hyn(e):Byn(e);if(typeof e=="function")return $7(e);throw new Error("Expected function, string, or object as test")};function Hyn(e){let n=[],t=-1;for(;++t<e.length;)n[t]=MT(e[t]);return $7(a);function a(...r){let o=-1;for(;++o<n.length;)if(n[o].call(this,...r))return!0;return!1}}function Byn(e){return $7(n);function n(t){let a;for(a in e)if(t[a]!==e[a])return!1;return!0}}function Jyn(e){return $7(n);function n(t){return t&&t.type===e}}function $7(e){return n;function n(...t){return Boolean(e.call(this,...t))}}function Wyn(){return!0}function lTe(e){return e}var sW=!0,V7=!1,fW="skip",GT=function(e,n,t,a){typeof n=="function"&&typeof t!="function"&&(a=t,t=n,n=null);let r=MT(n),o=a?-1:1;i(e,void 0,[])();function i(u,l,c){let s=u&&typeof u=="object"?u:{};if(typeof s.type=="string"){let v=typeof s.tagName=="string"?s.tagName:typeof s.name=="string"?s.name:void 0;Object.defineProperty(f,"name",{value:"node ("+lTe(u.type+(v?"<"+v+">":""))+")"})}return f;function f(){let v=[],m,_,R;if((!n||r(u,l,c[c.length-1]||null))&&(v=qyn(t(u,c)),v[0]===V7))return v;if(u.children&&v[0]!==fW)for(_=(a?u.children.length:-1)+o,R=c.concat(u);_>-1&&_<u.children.length;){if(m=i(u.children[_],_,R)(),m[0]===V7)return m;_=typeof m[1]=="number"?m[1]:_+o}return v}}};function qyn(e){return Array.isArray(e)?e:typeof e=="number"?[sW,e]:[e]}var ED=function(e,n,t,a){typeof n=="function"&&typeof t!="function"&&(a=t,t=n,n=null),GT(e,n,r,a);function r(o,i){let u=i[i.length-1];return t(o,u?u.children.indexOf(o):null,u)}};function vW(e){return!e||!e.position||!e.position.start||!e.position.start.line||!e.position.start.column||!e.position.end||!e.position.end.line||!e.position.end.column}var cTe={}.hasOwnProperty;function mW(e){let n=Object.create(null);if(!e||!e.type)throw new Error("mdast-util-definitions expected node");return ED(e,"definition",a=>{let r=sTe(a.identifier);r&&!cTe.call(n,r)&&(n[r]=a)}),t;function t(a){let r=sTe(a);return r&&cTe.call(n,r)?n[r]:null}}function sTe(e){return String(e||"").toUpperCase()}var Q7={}.hasOwnProperty;function fTe(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=ja(ja({},uTe),t.handlers),i.definition=mW(e),i.footnoteById=r,i.footnoteOrder=[],i.footnoteCounts={},i.patch=zyn,i.applyData=$yn,i.one=u,i.all=l,i.wrap=Qyn,i.augment=o,ED(e,"footnoteDefinition",c=>{let s=String(c.identifier).toUpperCase();Q7.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=ja(ja({},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};vW(f)||(s.position={start:GR(f),end:AR(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 vTe(i,c,s)}function l(c){return pW(i,c)}}function zyn(e,n){e.position&&(n.position=cW(e))}function $yn(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=ja(ja({},t.properties),o)),"children"in t&&t.children&&r!==null&&r!==void 0&&(t.children=r)}return t}function vTe(e,n,t){let a=n&&n.type;if(!a)throw new Error("Expected node, got `"+n+"`");return Q7.call(e.handlers,a)?e.handlers[a](e,n,t):e.passThrough&&e.passThrough.includes(a)?"children"in n?ii(ja({},n),{children:pW(e,n)}):n:e.unknownHandler?e.unknownHandler(e,n,t):Vyn(e,n)}function pW(e,n){let t=[];if("children"in n){let a=n.children,r=-1;for(;++r<a.length;){let o=vTe(e,a[r],n);if(o){if(r&&a[r-1].type==="break"&&(!Array.isArray(o)&&o.type==="text"&&(o.value=o.value.replace(/^\s+/,"")),!Array.isArray(o)&&o.type==="element")){let i=o.children[0];i&&i.type==="text"&&(i.value=i.value.replace(/^\s+/,""))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t}function Vyn(e,n){let t=n.data||{},a="value"in n&&!(Q7.call(t,"hProperties")||Q7.call(t,"hChildren"))?{type:"text",value:n.value}:{type:"element",tagName:"div",properties:{},children:pW(e,n)};return e.patch(n,a),e.applyData(n,a)}function Qyn(e,n){let t=[],a=-1;for(n&&t.push({type:"text",value:`
`});++a<e.length;)a&&t.push({type:"text",value:`
`}),t.push(e[a]);return n&&e.length>0&&t.push({type:"text",value:`
`}),t}function mTe(e){let n=[],t=-1;for(;++t<e.footnoteOrder.length;){let a=e.footnoteById[e.footnoteOrder[t]];if(!a)continue;let r=e.all(a),o=String(a.identifier).toUpperCase(),i=tf(o.toLowerCase()),u=0,l=[];for(;++u<=e.footnoteCounts[o];){let f={type:"element",tagName:"a",properties:{href:"#"+e.clobberPrefix+"fnref-"+i+(u>1?"-"+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:ii(ja({},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 Y7(e,n){let t=fTe(e,n),a=t.one(e,null),r=mTe(t);return r&&a.children.push({type:"text",value:`
`},r),Array.isArray(a)?{type:"root",children:a}:a}var Yyn=function(e,n){return e&&"run"in e?Xyn(e,n):Zyn(e||n)},_W=Yyn;function Xyn(e,n){return(t,a,r)=>{e.run(Y7(t,n),a,o=>{r(o)})}}function Zyn(e){return n=>Y7(n,e)}var ra=ba(ry());var Jd=class{constructor(n,t,a){this.property=n,this.normal=t,a&&(this.space=a)}};Jd.prototype.property={};Jd.prototype.normal={};Jd.prototype.space=null;function dW(e,n){let t={},a={},r=-1;for(;++r<e.length;)Object.assign(t,e[r].property),Object.assign(a,e[r].normal);return new Jd(t,a,n)}function hp(e){return e.toLowerCase()}var hl=class{constructor(n,t){this.property=n,this.attribute=t}};hl.prototype.space=null;hl.prototype.boolean=!1;hl.prototype.booleanish=!1;hl.prototype.overloadedBoolean=!1;hl.prototype.number=!1;hl.prototype.commaSeparated=!1;hl.prototype.spaceSeparated=!1;hl.prototype.commaOrSpaceSeparated=!1;hl.prototype.mustUseProperty=!1;hl.prototype.defined=!1;var AT={};YT(AT,{boolean:()=>fa,booleanish:()=>Bo,commaOrSpaceSeparated:()=>Zl,commaSeparated:()=>Wd,number:()=>nn,overloadedBoolean:()=>hW,spaceSeparated:()=>Er});var Kyn=0,fa=CD(),Bo=CD(),hW=CD(),nn=CD(),Er=CD(),Wd=CD(),Zl=CD();function CD(){return 2**++Kyn}var gW=Object.keys(AT),xR=class extends hl{constructor(n,t,a,r){let o=-1;super(n,t);if(pTe(this,"space",r),typeof a=="number")for(;++o<gW.length;){let i=gW[o];pTe(this,gW[o],(a&AT[i])===AT[i])}}};xR.prototype.defined=!0;function pTe(e,n,t){t&&(e[n]=t)}var ebn={}.hasOwnProperty;function af(e){let n={},t={},a;for(a in e.properties)if(ebn.call(e.properties,a)){let r=e.properties[a],o=new xR(a,e.transform(e.attributes||{},a),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(a)&&(o.mustUseProperty=!0),n[a]=o,t[hp(a)]=a,t[hp(o.attribute)]=a}return new Jd(n,t,e.space)}var DW=af({space:"xlink",transform(e,n){return"xlink:"+n.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});var yW=af({space:"xml",transform(e,n){return"xml:"+n.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function X7(e,n){return n in e?e[n]:n}function Z7(e,n){return X7(e,n.toLowerCase())}var bW=af({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Z7,properties:{xmlns:null,xmlnsXLink:null}});var RW=af({transform(e,n){return n==="role"?n:"aria-"+n.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Bo,ariaAutoComplete:null,ariaBusy:Bo,ariaChecked:Bo,ariaColCount:nn,ariaColIndex:nn,ariaColSpan:nn,ariaControls:Er,ariaCurrent:null,ariaDescribedBy:Er,ariaDetails:null,ariaDisabled:Bo,ariaDropEffect:Er,ariaErrorMessage:null,ariaExpanded:Bo,ariaFlowTo:Er,ariaGrabbed:Bo,ariaHasPopup:null,ariaHidden:Bo,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Er,ariaLevel:nn,ariaLive:null,ariaModal:Bo,ariaMultiLine:Bo,ariaMultiSelectable:Bo,ariaOrientation:null,ariaOwns:Er,ariaPlaceholder:null,ariaPosInSet:nn,ariaPressed:Bo,ariaReadOnly:Bo,ariaRelevant:null,ariaRequired:Bo,ariaRoleDescription:Er,ariaRowCount:nn,ariaRowIndex:nn,ariaRowSpan:nn,ariaSelected:Bo,ariaSetSize:nn,ariaSort:null,ariaValueMax:nn,ariaValueMin:nn,ariaValueNow:nn,ariaValueText:null,role:null}});var _Te=af({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Z7,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Wd,acceptCharset:Er,accessKey:Er,action:null,allow:null,allowFullScreen:fa,allowPaymentRequest:fa,allowUserMedia:fa,alt:null,as:null,async:fa,autoCapitalize:null,autoComplete:Er,autoFocus:fa,autoPlay:fa,capture:fa,charSet:null,checked:fa,cite:null,className:Er,cols:nn,colSpan:null,content:null,contentEditable:Bo,controls:fa,controlsList:Er,coords:nn|Wd,crossOrigin:null,data:null,dateTime:null,decoding:null,default:fa,defer:fa,dir:null,dirName:null,disabled:fa,download:hW,draggable:Bo,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:fa,formTarget:null,headers:Er,height:nn,hidden:fa,high:nn,href:null,hrefLang:null,htmlFor:Er,httpEquiv:Er,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:fa,itemId:null,itemProp:Er,itemRef:Er,itemScope:fa,itemType:Er,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:fa,low:nn,manifest:null,max:null,maxLength:nn,media:null,method:null,min:null,minLength:nn,multiple:fa,muted:fa,name:null,nonce:null,noModule:fa,noValidate:fa,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:fa,optimum:nn,pattern:null,ping:Er,placeholder:null,playsInline:fa,poster:null,preload:null,readOnly:fa,referrerPolicy:null,rel:Er,required:fa,reversed:fa,rows:nn,rowSpan:nn,sandbox:Er,scope:null,scoped:fa,seamless:fa,selected:fa,shape:null,size:nn,sizes:null,slot:null,span:nn,spellCheck:Bo,src:null,srcDoc:null,srcLang:null,srcSet:null,start:nn,step:null,style:null,tabIndex:nn,target:null,title:null,translate:null,type:null,typeMustMatch:fa,useMap:null,value:Bo,width:nn,wrap:null,align:null,aLink:null,archive:Er,axis:null,background:null,bgColor:null,border:nn,borderColor:null,bottomMargin:nn,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:fa,declare:fa,event:null,face:null,frame:null,frameBorder:null,hSpace:nn,leftMargin:nn,link:null,longDesc:null,lowSrc:null,marginHeight:nn,marginWidth:nn,noResize:fa,noHref:fa,noShade:fa,noWrap:fa,object:null,profile:null,prompt:null,rev:null,rightMargin:nn,rules:null,scheme:null,scrolling:Bo,standby:null,summary:null,text:null,topMargin:nn,valueType:null,version:null,vAlign:null,vLink:null,vSpace:nn,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:fa,disableRemotePlayback:fa,prefix:null,property:null,results:nn,security:null,unselectable:null}});var dTe=af({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:X7,properties:{about:Zl,accentHeight:nn,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:nn,amplitude:nn,arabicForm:null,ascent:nn,attributeName:null,attributeType:null,azimuth:nn,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:nn,by:null,calcMode:null,capHeight:nn,className:Er,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:nn,diffuseConstant:nn,direction:null,display:null,dur:null,divisor:nn,dominantBaseline:null,download:fa,dx:null,dy:null,edgeMode:null,editable:null,elevation:nn,enableBackground:null,end:null,event:null,exponent:nn,externalResourcesRequired:null,fill:null,fillOpacity:nn,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Wd,g2:Wd,glyphName:Wd,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:nn,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:nn,horizOriginX:nn,horizOriginY:nn,id:null,ideographic:nn,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:nn,k:nn,k1:nn,k2:nn,k3:nn,k4:nn,kernelMatrix:Zl,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:nn,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:nn,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:nn,overlineThickness:nn,paintOrder:null,panose1:null,path:null,pathLength:nn,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Er,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:nn,pointsAtY:nn,pointsAtZ:nn,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Zl,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Zl,rev:Zl,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Zl,requiredFeatures:Zl,requiredFonts:Zl,requiredFormats:Zl,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:nn,specularExponent:nn,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:nn,strikethroughThickness:nn,string:null,stroke:null,strokeDashArray:Zl,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:nn,strokeOpacity:nn,strokeWidth:null,style:null,surfaceScale:nn,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Zl,tabIndex:nn,tableValues:null,target:null,targetX:nn,targetY:nn,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Zl,to:null,transform:null,u1:null,u2:null,underlinePosition:nn,underlineThickness:nn,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:nn,values:null,vAlphabetic:nn,vMathematical:nn,vectorEffect:null,vHanging:nn,vIdeographic:nn,version:null,vertAdvY:nn,vertOriginX:nn,vertOriginY:nn,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:nn,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}});var nbn=/^data[-\w.:]+$/i,hTe=/-[a-z]/g,tbn=/[A-Z]/g;function xT(e,n){let t=hp(n),a=n,r=hl;if(t in e.normal)return e.property[e.normal[t]];if(t.length>4&&t.slice(0,4)==="data"&&nbn.test(n)){if(n.charAt(4)==="-"){let o=n.slice(5).replace(hTe,rbn);a="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{let o=n.slice(4);if(!hTe.test(o)){let i=o.replace(tbn,abn);i.charAt(0)!=="-"&&(i="-"+i),n="data"+i}}r=xR}return new r(a,n)}function abn(e){return"-"+e.toLowerCase()}function rbn(e){return e.charAt(1).toUpperCase()}var K7={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 e5=dW([yW,DW,bW,RW,_Te],"html"),n5=dW([yW,DW,bW,RW,dTe],"svg");function wW(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=>{ED(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})}}Wt();var jTe=ba(bTe());function RTe(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 CW(e){let n=String(e||"").trim();return n?n.split(/[ \t\n\r\f]+/g):[]}function wTe(e){return e.join(" ").trim()}function IW(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 STe(e,n){let t=n||{};return(e[e.length-1]===""?[...e,""]:e).join((t.padRight?" ":"")+","+(t.padLeft===!1?"":" ")).trim()}var xTe=ba(ATe()),LTe=xTe.default;var FW={}.hasOwnProperty,gbn=new Set(["table","thead","tbody","tfoot","tr"]);function MW(e,n){let t=[],a=-1,r;for(;++a<n.children.length;)r=n.children[a],r.type==="element"?t.push(Dbn(e,r,a,n)):r.type==="text"?(n.type!=="element"||!gbn.has(n.tagName)||!RTe(r))&&t.push(r.value):r.type==="raw"&&!e.options.skipHtml&&t.push(r.value);return t}function Dbn(e,n,t,a){let r=e.options,o=r.transformLinkUri===void 0?NCe:r.transformLinkUri,i=e.schema,u=n.tagName,l={},c=i,s;if(i.space==="html"&&u==="svg"&&(c=n5,e.schema=c),n.properties)for(s in n.properties)FW.call(n.properties,s)&&bbn(l,s,n.properties[s],e);(u==="ol"||u==="ul")&&e.listDepth++;let f=MW(e,n);(u==="ol"||u==="ul")&&e.listDepth--,e.schema=i;let v=n.position||{start:{line:null,column:null,offset:null},end:{line:null,column:null,offset:null}},m=r.components&&FW.call(r.components,u)?r.components[u]:u,_=typeof m=="string"||m===wt.Fragment;if(!jTe.default.isValidElementType(m))throw new TypeError(`Component for name \`${u}\` not defined or is not renderable`);if(l.key=[u,v.start.line,v.start.column,t].join("-"),u==="a"&&r.linkTarget&&(l.target=typeof r.linkTarget=="function"?r.linkTarget(String(l.href||""),n.children,typeof l.title=="string"?l.title:null):r.linkTarget),u==="a"&&o&&(l.href=o(String(l.href||""),n.children,typeof l.title=="string"?l.title:null)),!_&&u==="code"&&a.type==="element"&&a.tagName!=="pre"&&(l.inline=!0),!_&&(u==="h1"||u==="h2"||u==="h3"||u==="h4"||u==="h5"||u==="h6")&&(l.level=Number.parseInt(u.charAt(1),10)),u==="img"&&r.transformImageUri&&(l.src=r.transformImageUri(String(l.src||""),String(l.alt||""),typeof l.title=="string"?l.title:null)),!_&&u==="li"&&a.type==="element"){let R=ybn(n);l.checked=R&&R.properties?Boolean(R.properties.checked):null,l.index=GW(a,n),l.ordered=a.tagName==="ol"}return!_&&(u==="ol"||u==="ul")&&(l.ordered=u==="ol",l.depth=e.listDepth),(u==="td"||u==="th")&&(l.align&&(l.style||(l.style={}),l.style.textAlign=l.align,delete l.align),_||(l.isHeader=u==="th")),!_&&u==="tr"&&a.type==="element"&&(l.isHeader=Boolean(a.tagName==="thead")),r.sourcePos&&(l["data-sourcepos"]=Sbn(v)),!_&&r.rawSourcePos&&(l.sourcePosition=n.position),!_&&r.includeElementIndex&&(l.index=GW(a,n),l.siblingCount=GW(a)),_||(l.node=n),f.length>0?wt.createElement(m,l,f):wt.createElement(m,l)}function ybn(e){let n=-1;for(;++n<e.children.length;){let t=e.children[n];if(t.type==="element"&&t.tagName==="input")return t}return null}function GW(e,n){let t=-1,a=0;for(;++t<e.children.length&&e.children[t]!==n;)e.children[t].type==="element"&&a++;return a}function bbn(e,n,t,a){let r=xT(a.schema,n),o=t;o==null||o!==o||(Array.isArray(o)&&(o=r.commaSeparated?STe(o):wTe(o)),r.property==="style"&&typeof o=="string"&&(o=Rbn(o)),r.space&&r.property?e[FW.call(K7,r.property)?K7[r.property]:r.property]=o:r.attribute&&(e[r.attribute]=o))}function Rbn(e){let n={};try{LTe(e,t)}catch{}return n;function t(a,r){let o=a.slice(0,4)==="-ms-"?`ms-${a.slice(4)}`:a;n[o.replace(/-([a-z])/g,wbn)]=r}}function wbn(e,n){return n.toUpperCase()}function Sbn(e){return[e.start.line,":",e.start.column,"-",e.end.line,":",e.end.column].map(String).join("")}var NTe={}.hasOwnProperty,Ebn="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",v5={plugins:{to:"remarkPlugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function m5(e){for(let o in v5)if(NTe.call(v5,o)&&NTe.call(e,o)){let i=v5[o];console.warn(`[react-markdown] Warning: please ${i.to?`use \`${i.to}\` instead of`:"remove"} \`${o}\` (see <${Ebn}#${i.id}> for more info)`),delete v5[o]}let n=WJ().use(J7).use(e.remarkPlugins||[]).use(_W,ii(ja({},e.remarkRehypeOptions),{allowDangerousHtml:!0})).use(e.rehypePlugins||[]).use(wW,e),t=new TR;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=wt.createElement(wt.Fragment,{},MW({options:e,schema:e5,listDepth:0},a));return e.className&&(r=wt.createElement("div",{className:e.className},r)),r}m5.propTypes={children:ra.default.string,className:ra.default.string,allowElement:ra.default.func,allowedElements:ra.default.arrayOf(ra.default.string),disallowedElements:ra.default.arrayOf(ra.default.string),unwrapDisallowed:ra.default.bool,remarkPlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),rehypePlugins:ra.default.arrayOf(ra.default.oneOfType([ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.oneOfType([ra.default.bool,ra.default.string,ra.default.object,ra.default.func,ra.default.arrayOf(ra.default.any)]))])),sourcePos:ra.default.bool,rawSourcePos:ra.default.bool,skipHtml:ra.default.bool,includeElementIndex:ra.default.bool,transformLinkUri:ra.default.oneOfType([ra.default.func,ra.default.bool]),linkTarget:ra.default.oneOfType([ra.default.func,ra.default.string]),transformImageUri:ra.default.func,components:ra.default.object};var PTe=/[#.]/g;function AW(e,n){let t=e||"",a={},r=0,o,i;for(;r<t.length;){PTe.lastIndex=r;let u=PTe.exec(t),l=t.slice(r,u?u.index:t.length);l&&(o?o==="#"?a.id=l:Array.isArray(a.className)?a.className.push(l):a.className=[l]:i=l,r+=l.length),u&&(o=u[0],r++)}return{type:"element",tagName:i||n||"div",properties:a,children:[]}}var Cbn=new Set(["button","menu","reset","submit"]),xW={}.hasOwnProperty;function LW(e,n,t){let a=t&&Mbn(t);function r(o,i,...u){let l=-1,c;if(o==null){c={type:"root",children:[]};let s=i;u.unshift(s)}else if(c=AW(o,n),c.tagName=c.tagName.toLowerCase(),a&&xW.call(a,c.tagName)&&(c.tagName=a[c.tagName]),Ibn(i,c.tagName)){let s;for(s in i)xW.call(i,s)&&Tbn(e,c.properties,s,i[s])}else u.unshift(i);for(;++l<u.length;)jW(c.children,u[l]);return c.type==="element"&&c.tagName==="template"&&(c.content={type:"root",children:c.children},c.children=[]),c}return r}function Ibn(e,n){return e==null||typeof e!="object"||Array.isArray(e)?!1:n==="input"||!e.type||typeof e.type!="string"?!0:"children"in e&&Array.isArray(e.children)?!1:n==="button"?Cbn.has(e.type.toLowerCase()):!("value"in e)}function Tbn(e,n,t,a){let r=xT(e,t),o=-1,i;if(a!=null){if(typeof a=="number"){if(Number.isNaN(a))return;i=a}else typeof a=="boolean"?i=a:typeof a=="string"?r.spaceSeparated?i=CW(a):r.commaSeparated?i=IW(a):r.commaOrSpaceSeparated?i=CW(IW(a).join(" ")):i=kTe(r,r.property,a):Array.isArray(a)?i=a.concat():i=r.property==="style"?Fbn(a):String(a);if(Array.isArray(i)){let u=[];for(;++o<i.length;){let l=kTe(r,r.property,i[o]);u[o]=l}i=u}if(r.property==="className"&&Array.isArray(n.className)){let u=i;i=n.className.concat(u)}n[r.property]=i}}function jW(e,n){let t=-1;if(n!=null)if(typeof n=="string"||typeof n=="number")e.push({type:"text",value:String(n)});else if(Array.isArray(n))for(;++t<n.length;)jW(e,n[t]);else if(typeof n=="object"&&"type"in n)n.type==="root"?jW(e,n.children):e.push(n);else throw new Error("Expected node, nodes, or string, got `"+n+"`")}function kTe(e,n,t){if(typeof t=="string"){if(e.number&&t&&!Number.isNaN(Number(t)))return Number(t);if((e.boolean||e.overloadedBoolean)&&(t===""||hp(t)===hp(n)))return!0}return t}function Fbn(e){let n=[],t;for(t in e)xW.call(e,t)&&n.push([t,e[t]].join(": "));return n.join("; ")}function Mbn(e){let n={},t=-1;for(;++t<e.length;)n[e[t].toLowerCase()]=e[t];return n}var OTe=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"];var NW=LW(e5,"div"),PW=LW(n5,"g",OTe);var p5={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function kW(e,n){return UTe(e,n||{})||{type:"root",children:[]}}function UTe(e,n){let t=Gbn(e,n);return t&&n.afterTransform&&n.afterTransform(e,t),t}function Gbn(e,n){switch(e.nodeType){case 1:return jbn(e,n);case 3:return xbn(e);case 8:return Lbn(e);case 9:return HTe(e,n);case 10:return Abn();case 11:return HTe(e,n);default:return}}function HTe(e,n){return{type:"root",children:BTe(e,n)}}function Abn(){return{type:"doctype"}}function xbn(e){return{type:"text",value:e.nodeValue||""}}function Lbn(e){return{type:"comment",value:e.nodeValue||""}}function jbn(e,n){let t=e.namespaceURI,a=t===p5.svg?PW:NW,r=t===p5.html?e.tagName.toLowerCase():e.tagName,o=t===p5.html&&r==="template"?e.content:e,i=e.getAttributeNames(),u={},l=-1;for(;++l<i.length;)u[i[l]]=e.getAttribute(i[l])||"";return a(r,u,BTe(o,n))}function BTe(e,n){let t=e.childNodes,a=[],r=-1;for(;++r<t.length;){let o=UTe(t[r],n);o!==void 0&&a.push(o)}return a}var Nbn=new DOMParser;function JTe(e,n){let t=(n==null?void 0:n.fragment)?Pbn(e):Nbn.parseFromString(e,"text/html");return kW(t)}function Pbn(e){let n=document.createElement("template");return n.innerHTML=e,n.content}var _5=function(e){if(e==null)return Hbn;if(typeof e=="function")return d5(e);if(typeof e=="object")return Array.isArray(e)?kbn(e):Obn(e);if(typeof e=="string")return Ubn(e);throw new Error("Expected function, string, or object as test")};function kbn(e){let n=[],t=-1;for(;++t<e.length;)n[t]=_5(e[t]);return d5(a);function a(...r){let o=-1;for(;++o<n.length;)if(n[o].apply(this,r))return!0;return!1}}function Obn(e){let n=e;return d5(t);function t(a){let r=a,o;for(o in e)if(r[o]!==n[o])return!1;return!0}}function Ubn(e){return d5(n);function n(t){return t&&t.type===e}}function d5(e){return n;function n(t,a,r){return Boolean(Bbn(t)&&e.call(this,t,typeof a=="number"?a:void 0,r||void 0))}}function Hbn(){return!0}function Bbn(e){return e!==null&&typeof e=="object"&&"type"in e}var h5=function(e,n,t){let a=_5(t);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof n=="number"){if(n<0||n===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(n=e.children.indexOf(n),n<0)throw new Error("Expected child node or index");for(;++n<e.children.length;)if(a(e.children[n],n,e))return e.children[n]};var gp=function(e){if(e==null)return qbn;if(typeof e=="string")return Wbn(e);if(typeof e=="object")return Jbn(e);if(typeof e=="function")return OW(e);throw new Error("Expected function, string, or array as `test`")};function Jbn(e){let n=[],t=-1;for(;++t<e.length;)n[t]=gp(e[t]);return OW(a);function a(...r){let o=-1;for(;++o<n.length;)if(n[o].apply(this,r))return!0;return!1}}function Wbn(e){return OW(n);function n(t){return t.tagName===e}}function OW(e){return n;function n(t,a,r){return Boolean(zbn(t)&&e.call(this,t,typeof a=="number"?a:void 0,r||void 0))}}function qbn(e){return Boolean(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function zbn(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}var WTe=/\n/g,qTe=/[\t ]+/g,UW=gp("br"),zTe=gp(Kbn),$bn=gp("p"),$Te=gp("tr"),Vbn=gp(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Zbn,eRn]),VTe=gp(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function HW(e,n={}){let t="children"in e?e.children:[],a=VTe(e),r=XTe(e,{whitespace:n.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...YTe(e,{whitespace:r,breakBefore:!0,breakAfter:!0}));let i=-1;for(;++i<t.length;)o.push(...QTe(t[i],e,{whitespace:r,breakBefore:i?void 0:a,breakAfter:i<t.length-1?UW(t[i+1]):a}));let u=[],l;for(i=-1;++i<o.length;){let c=o[i];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&u.push(`
`.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function QTe(e,n,t){return e.type==="element"?Qbn(e,n,t):e.type==="text"?t.whitespace==="normal"?YTe(e,t):Ybn(e):[]}function Qbn(e,n,t){let a=XTe(e,t),r=e.children||[],o=-1,i=[];if(Vbn(e))return i;let u,l;for(UW(e)||$Te(e)&&h5(n,e,$Te)?l=`
`:$bn(e)?(u=2,l=2):VTe(e)&&(u=1,l=1);++o<r.length;)i=i.concat(QTe(r[o],e,{whitespace:a,breakBefore:o?void 0:u,breakAfter:o<r.length-1?UW(r[o+1]):l}));return zTe(e)&&h5(n,e,zTe)&&i.push("	"),u&&i.unshift(u),l&&i.push(l),i}function YTe(e,n){let t=String(e.value),a=[],r=[],o=0;for(;o<=t.length;){WTe.lastIndex=o;let l=WTe.exec(t),c=l&&"index"in l?l.index:t.length;a.push(Xbn(t.slice(o,c).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),o===0?n.breakBefore:!0,c===t.length?n.breakAfter:!0)),o=c+1}let i=-1,u;for(;++i<a.length;)a[i].charCodeAt(a[i].length-1)===8203||i<a.length-1&&a[i+1].charCodeAt(0)===8203?(r.push(a[i]),u=void 0):a[i]?(typeof u=="number"&&r.push(u),r.push(a[i]),u=0):(i===0||i===a.length-1)&&r.push(0);return r}function Ybn(e){return[String(e.value)]}function Xbn(e,n,t){let a=[],r=0,o;for(;r<e.length;){qTe.lastIndex=r;let i=qTe.exec(e);o=i?i.index:e.length,!r&&!o&&i&&!n&&a.push(""),r!==o&&a.push(e.slice(r,o)),r=i?o+i[0].length:o}return r!==o&&!t&&a.push(""),a.join(" ")}function XTe(e,n){if(e.type==="element"){let t=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return t.wrap?"pre-wrap":"pre";case"td":case"th":return t.noWrap?"nowrap":n.whitespace;case"textarea":return"pre-wrap";default:}}return n.whitespace}function Zbn(e){return Boolean((e.properties||{}).hidden)}function Kbn(e){return e.tagName==="td"||e.tagName==="th"}function eRn(e){return e.tagName==="dialog"&&!(e.properties||{}).open}var Kl=class{constructor(n,t,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=n,this.start=t,this.end=a}static range(n,t){return t?!n||!n.loc||!t.loc||n.loc.lexer!==t.loc.lexer?null:new Kl(n.loc.lexer,n.loc.start,t.loc.end):n&&n.loc}},Zc=class{constructor(n,t){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=n,this.loc=t}range(n,t){return new Zc(t,Kl.range(this,n))}},tn=class{constructor(n,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+n,r,o,i=t&&t.loc;if(i&&i.start<=i.end){var u=i.lexer.input;r=i.start,o=i.end,r===u.length?a+=" at end of input: ":a+=" at position "+(r+1)+": ";var l=u.slice(r,o).replace(/[^]/g,"$&\u0332"),c;r>15?c="\u2026"+u.slice(r-15,r):c=u.slice(0,r);var s;o+15<u.length?s=u.slice(o,o+15)+"\u2026":s=u.slice(o),a+=c+l+s}var f=new Error(a);return f.name="ParseError",f.__proto__=tn.prototype,f.position=r,r!=null&&o!=null&&(f.length=o-r),f.rawMessage=n,f}};tn.prototype.__proto__=Error.prototype;var nRn=function(n,t){return n.indexOf(t)!==-1},tRn=function(n,t){return n===void 0?t:n},aRn=/([A-Z])/g,rRn=function(n){return n.replace(aRn,"-$1").toLowerCase()},oRn={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},iRn=/[&><"']/g;function uRn(e){return String(e).replace(iRn,n=>oRn[n])}var ZTe=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},lRn=function(n){var t=ZTe(n);return t.type==="mathord"||t.type==="textord"||t.type==="atom"},cRn=function(n){if(!n)throw new Error("Expected non-null, but got "+String(n));return n},sRn=function(n){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(n);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Tt={contains:nRn,deflt:tRn,escape:uRn,hyphenate:rRn,getBaseElem:ZTe,isCharacterBox:lRn,protocolFromUrl:sRn},g5={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 <type>"},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 <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 <def>",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 <size>",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 <n>",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 <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function fRn(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 D5=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 g5)if(g5.hasOwnProperty(t)){var a=g5[t];this[t]=n[t]!==void 0?a.processor?a.processor(n[t]):n[t]:fRn(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 tn("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=Tt.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)}},Dp=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 J0[vRn[this.id]]}sub(){return J0[mRn[this.id]]}fracNum(){return J0[pRn[this.id]]}fracDen(){return J0[_Rn[this.id]]}cramp(){return J0[dRn[this.id]]}text(){return J0[hRn[this.id]]}isTight(){return this.size>=2}},BW=0,y5=1,LR=2,yp=3,LT=4,of=5,jR=6,gl=7,J0=[new Dp(BW,0,!1),new Dp(y5,0,!0),new Dp(LR,1,!1),new Dp(yp,1,!0),new Dp(LT,2,!1),new Dp(of,2,!0),new Dp(jR,3,!1),new Dp(gl,3,!0)],vRn=[LT,of,LT,of,jR,gl,jR,gl],mRn=[of,of,of,of,gl,gl,gl,gl],pRn=[LR,yp,LT,of,jR,gl,jR,gl],_Rn=[yp,yp,of,of,gl,gl,gl,gl],dRn=[y5,y5,yp,yp,of,of,gl,gl],hRn=[BW,y5,LR,yp,LR,yp,LR,yp],jt={DISPLAY:J0[BW],TEXT:J0[LR],SCRIPT:J0[LT],SCRIPTSCRIPT:J0[jR]},JW=[{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 gRn(e){for(var n=0;n<JW.length;n++)for(var t=JW[n],a=0;a<t.blocks.length;a++){var r=t.blocks[a];if(e>=r[0]&&e<=r[1])return t.name}return null}var b5=[];JW.forEach(e=>e.blocks.forEach(n=>b5.push(...n)));function KTe(e){for(var n=0;n<b5.length;n+=2)if(e>=b5[n]&&e<=b5[n+1])return!0;return!1}var NR=80,DRn=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"},yRn=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"},bRn=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"},RRn=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"},wRn=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"},SRn=function(n){var t=n/2;return"M400000 "+n+" H0 L"+t+" 0 l65 45 L145 "+(n-80)+" H400000z"},ERn=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"},CRn=function(n,t,a){t=1e3*t;var r="";switch(n){case"sqrtMain":r=DRn(t,NR);break;case"sqrtSize1":r=yRn(t,NR);break;case"sqrtSize2":r=bRn(t,NR);break;case"sqrtSize3":r=RRn(t,NR);break;case"sqrtSize4":r=wRn(t,NR);break;case"sqrtTall":r=ERn(t,NR,a)}return r},IRn=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""}},eFe={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`},TRn=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.")}},PR=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 Tt.contains(this.classes,n)}toNode(){for(var n=document.createDocumentFragment(),t=0;t<this.children.length;t++)n.appendChild(this.children[t].toNode());return n}toMarkup(){for(var n="",t=0;t<this.children.length;t++)n+=this.children[t].toMarkup();return n}toText(){var n=t=>t.toText();return this.children.map(n).join("")}},W0={"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]}},R5={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]},nFe={\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 FRn(e,n){W0[e]=n}function WW(e,n,t){if(!W0[n])throw new Error("Font metrics not found for font: "+n+".");var a=e.charCodeAt(0),r=W0[n][a];if(!r&&e[0]in nFe&&(a=nFe[e[0]].charCodeAt(0),r=W0[n][a]),!r&&t==="text"&&KTe(a)&&(r=W0[n][77]),r)return{depth:r[0],height:r[1],italic:r[2],skew:r[3],width:r[4]}}var qW={};function MRn(e){var n;if(e>=5?n=0:e>=3?n=1:n=2,!qW[n]){var t=qW[n]={cssEmPerMu:R5.quad[n]/18};for(var a in R5)R5.hasOwnProperty(a)&&(t[a]=R5[a][n])}return qW[n]}var GRn=[[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]],tFe=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],aFe=function(n,t){return t.size<2?n:GRn[n-1][t.size-1]},q0=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||q0.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=tFe[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 q0(t)}havingStyle(n){return this.style===n?this:this.extend({style:n,size:aFe(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:tFe[n-1]})}havingBaseStyle(n){n=n||this.style.text();var t=aFe(q0.BASESIZE,n);return this.size===t&&this.textSize===q0.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!==q0.BASESIZE?["sizing","reset-size"+this.size,"size"+q0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=MRn(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}};q0.BASESIZE=6;var zW={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},ARn={ex:!0,em:!0,mu:!0},rFe=function(n){return typeof n!="string"&&(n=n.unit),n in zW||n in ARn||n==="ex"},Eo=function(n,t){var a;if(n.unit in zW)a=zW[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 tn("Invalid unit: '"+n.unit+"'");r!==t&&(a*=r.sizeMultiplier/t.sizeMultiplier)}return Math.min(n.number*a,t.maxSize)},Tn=function(n){return+n.toFixed(4)+"em"},qd=function(n){return n.filter(t=>t).join(" ")},oFe=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)}},iFe=function(n){var t=document.createElement(n);t.className=qd(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<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},xRn=/[\s"'>/=\x00-\x1f]/,uFe=function(n){var t="<"+n;this.classes.length&&(t+=' class="'+Tt.escape(qd(this.classes))+'"');var a="";for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Tt.hyphenate(r)+":"+this.style[r]+";");a&&(t+=' style="'+Tt.escape(a)+'"');for(var o in this.attributes)if(this.attributes.hasOwnProperty(o)){if(xRn.test(o))throw new tn("Invalid attribute name '"+o+"'");t+=" "+o+'="'+Tt.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+n+">",t},kR=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,oFe.call(this,n,a,r),this.children=t||[]}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Tt.contains(this.classes,n)}toNode(){return iFe.call(this,"span")}toMarkup(){return uFe.call(this,"span")}},w5=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,oFe.call(this,t,r),this.children=a||[],this.setAttribute("href",n)}setAttribute(n,t){this.attributes[n]=t}hasClass(n){return Tt.contains(this.classes,n)}toNode(){return iFe.call(this,"a")}toMarkup(){return uFe.call(this,"a")}},lFe=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 Tt.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='<img src="'+Tt.escape(this.src)+'"'+(' alt="'+Tt.escape(this.alt)+'"'),t="";for(var a in this.style)this.style.hasOwnProperty(a)&&(t+=Tt.hyphenate(a)+":"+this.style[a]+";");return t&&(n+=' style="'+Tt.escape(t)+'"'),n+="'/>",n}},LRn={\u00EE:"\u0131\u0302",\u00EF:"\u0131\u0308",\u00ED:"\u0131\u0301",\u00EC:"\u0131\u0300"},Kc=class{constructor(n,t,a,r,o,i,u,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=n,this.height=t||0,this.depth=a||0,this.italic=r||0,this.skew=o||0,this.width=i||0,this.classes=u||[],this.style=l||{},this.maxFontSize=0;var c=gRn(this.text.charCodeAt(0));c&&this.classes.push(c+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=LRn[this.text])}hasClass(n){return Tt.contains(this.classes,n)}toNode(){var n=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=Tn(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=qd(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="<span";this.classes.length&&(n=!0,t+=' class="',t+=Tt.escape(qd(this.classes)),t+='"');var a="";this.italic>0&&(a+="margin-right:"+this.italic+"em;");for(var r in this.style)this.style.hasOwnProperty(r)&&(a+=Tt.hyphenate(r)+":"+this.style[r]+";");a&&(n=!0,t+=' style="'+Tt.escape(a)+'"');var o=Tt.escape(this.text);return n?(t+=">",t+=o,t+="</span>",t):o}},z0=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<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){var n='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(n+=" "+t+'="'+Tt.escape(this.attributes[t])+'"');n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</svg>",n}},bp=class{constructor(n,t){this.pathName=void 0,this.alternate=void 0,this.pathName=n,this.alternate=t}toNode(){var n="http://www.w3.org/2000/svg",t=document.createElementNS(n,"path");return this.alternate?t.setAttribute("d",this.alternate):t.setAttribute("d",eFe[this.pathName]),t}toMarkup(){return this.alternate?'<path d="'+Tt.escape(this.alternate)+'"/>':'<path d="'+Tt.escape(eFe[this.pathName])+'"/>'}},S5=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="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(n+=" "+t+'="'+Tt.escape(this.attributes[t])+'"');return n+="/>",n}};function cFe(e){if(e instanceof Kc)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function jRn(e){if(e instanceof kR)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var NRn={bin:1,close:1,inner:1,open:1,punct:1,rel:1},PRn={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Or={math:{},text:{}};function b(e,n,t,a,r,o){Or[e][r]={font:n,group:t,replace:a},o&&a&&(Or[e][a]=Or[e][r])}var I="math",We="text",F="main",$="ams",io="accent-token",et="bin",Dl="close",OR="inner",Nt="mathord",gi="op-token",es="open",E5="punct",Q="rel",Rp="spacing",se="textord";b(I,F,Q,"\u2261","\\equiv",!0);b(I,F,Q,"\u227A","\\prec",!0);b(I,F,Q,"\u227B","\\succ",!0);b(I,F,Q,"\u223C","\\sim",!0);b(I,F,Q,"\u22A5","\\perp");b(I,F,Q,"\u2AAF","\\preceq",!0);b(I,F,Q,"\u2AB0","\\succeq",!0);b(I,F,Q,"\u2243","\\simeq",!0);b(I,F,Q,"\u2223","\\mid",!0);b(I,F,Q,"\u226A","\\ll",!0);b(I,F,Q,"\u226B","\\gg",!0);b(I,F,Q,"\u224D","\\asymp",!0);b(I,F,Q,"\u2225","\\parallel");b(I,F,Q,"\u22C8","\\bowtie",!0);b(I,F,Q,"\u2323","\\smile",!0);b(I,F,Q,"\u2291","\\sqsubseteq",!0);b(I,F,Q,"\u2292","\\sqsupseteq",!0);b(I,F,Q,"\u2250","\\doteq",!0);b(I,F,Q,"\u2322","\\frown",!0);b(I,F,Q,"\u220B","\\ni",!0);b(I,F,Q,"\u221D","\\propto",!0);b(I,F,Q,"\u22A2","\\vdash",!0);b(I,F,Q,"\u22A3","\\dashv",!0);b(I,F,Q,"\u220B","\\owns");b(I,F,E5,".","\\ldotp");b(I,F,E5,"\u22C5","\\cdotp");b(I,F,se,"#","\\#");b(We,F,se,"#","\\#");b(I,F,se,"&","\\&");b(We,F,se,"&","\\&");b(I,F,se,"\u2135","\\aleph",!0);b(I,F,se,"\u2200","\\forall",!0);b(I,F,se,"\u210F","\\hbar",!0);b(I,F,se,"\u2203","\\exists",!0);b(I,F,se,"\u2207","\\nabla",!0);b(I,F,se,"\u266D","\\flat",!0);b(I,F,se,"\u2113","\\ell",!0);b(I,F,se,"\u266E","\\natural",!0);b(I,F,se,"\u2663","\\clubsuit",!0);b(I,F,se,"\u2118","\\wp",!0);b(I,F,se,"\u266F","\\sharp",!0);b(I,F,se,"\u2662","\\diamondsuit",!0);b(I,F,se,"\u211C","\\Re",!0);b(I,F,se,"\u2661","\\heartsuit",!0);b(I,F,se,"\u2111","\\Im",!0);b(I,F,se,"\u2660","\\spadesuit",!0);b(I,F,se,"\xA7","\\S",!0);b(We,F,se,"\xA7","\\S");b(I,F,se,"\xB6","\\P",!0);b(We,F,se,"\xB6","\\P");b(I,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\dag");b(We,F,se,"\u2020","\\textdagger");b(I,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\ddag");b(We,F,se,"\u2021","\\textdaggerdbl");b(I,F,Dl,"\u23B1","\\rmoustache",!0);b(I,F,es,"\u23B0","\\lmoustache",!0);b(I,F,Dl,"\u27EF","\\rgroup",!0);b(I,F,es,"\u27EE","\\lgroup",!0);b(I,F,et,"\u2213","\\mp",!0);b(I,F,et,"\u2296","\\ominus",!0);b(I,F,et,"\u228E","\\uplus",!0);b(I,F,et,"\u2293","\\sqcap",!0);b(I,F,et,"\u2217","\\ast");b(I,F,et,"\u2294","\\sqcup",!0);b(I,F,et,"\u25EF","\\bigcirc",!0);b(I,F,et,"\u2219","\\bullet",!0);b(I,F,et,"\u2021","\\ddagger");b(I,F,et,"\u2240","\\wr",!0);b(I,F,et,"\u2A3F","\\amalg");b(I,F,et,"&","\\And");b(I,F,Q,"\u27F5","\\longleftarrow",!0);b(I,F,Q,"\u21D0","\\Leftarrow",!0);b(I,F,Q,"\u27F8","\\Longleftarrow",!0);b(I,F,Q,"\u27F6","\\longrightarrow",!0);b(I,F,Q,"\u21D2","\\Rightarrow",!0);b(I,F,Q,"\u27F9","\\Longrightarrow",!0);b(I,F,Q,"\u2194","\\leftrightarrow",!0);b(I,F,Q,"\u27F7","\\longleftrightarrow",!0);b(I,F,Q,"\u21D4","\\Leftrightarrow",!0);b(I,F,Q,"\u27FA","\\Longleftrightarrow",!0);b(I,F,Q,"\u21A6","\\mapsto",!0);b(I,F,Q,"\u27FC","\\longmapsto",!0);b(I,F,Q,"\u2197","\\nearrow",!0);b(I,F,Q,"\u21A9","\\hookleftarrow",!0);b(I,F,Q,"\u21AA","\\hookrightarrow",!0);b(I,F,Q,"\u2198","\\searrow",!0);b(I,F,Q,"\u21BC","\\leftharpoonup",!0);b(I,F,Q,"\u21C0","\\rightharpoonup",!0);b(I,F,Q,"\u2199","\\swarrow",!0);b(I,F,Q,"\u21BD","\\leftharpoondown",!0);b(I,F,Q,"\u21C1","\\rightharpoondown",!0);b(I,F,Q,"\u2196","\\nwarrow",!0);b(I,F,Q,"\u21CC","\\rightleftharpoons",!0);b(I,$,Q,"\u226E","\\nless",!0);b(I,$,Q,"\uE010","\\@nleqslant");b(I,$,Q,"\uE011","\\@nleqq");b(I,$,Q,"\u2A87","\\lneq",!0);b(I,$,Q,"\u2268","\\lneqq",!0);b(I,$,Q,"\uE00C","\\@lvertneqq");b(I,$,Q,"\u22E6","\\lnsim",!0);b(I,$,Q,"\u2A89","\\lnapprox",!0);b(I,$,Q,"\u2280","\\nprec",!0);b(I,$,Q,"\u22E0","\\npreceq",!0);b(I,$,Q,"\u22E8","\\precnsim",!0);b(I,$,Q,"\u2AB9","\\precnapprox",!0);b(I,$,Q,"\u2241","\\nsim",!0);b(I,$,Q,"\uE006","\\@nshortmid");b(I,$,Q,"\u2224","\\nmid",!0);b(I,$,Q,"\u22AC","\\nvdash",!0);b(I,$,Q,"\u22AD","\\nvDash",!0);b(I,$,Q,"\u22EA","\\ntriangleleft");b(I,$,Q,"\u22EC","\\ntrianglelefteq",!0);b(I,$,Q,"\u228A","\\subsetneq",!0);b(I,$,Q,"\uE01A","\\@varsubsetneq");b(I,$,Q,"\u2ACB","\\subsetneqq",!0);b(I,$,Q,"\uE017","\\@varsubsetneqq");b(I,$,Q,"\u226F","\\ngtr",!0);b(I,$,Q,"\uE00F","\\@ngeqslant");b(I,$,Q,"\uE00E","\\@ngeqq");b(I,$,Q,"\u2A88","\\gneq",!0);b(I,$,Q,"\u2269","\\gneqq",!0);b(I,$,Q,"\uE00D","\\@gvertneqq");b(I,$,Q,"\u22E7","\\gnsim",!0);b(I,$,Q,"\u2A8A","\\gnapprox",!0);b(I,$,Q,"\u2281","\\nsucc",!0);b(I,$,Q,"\u22E1","\\nsucceq",!0);b(I,$,Q,"\u22E9","\\succnsim",!0);b(I,$,Q,"\u2ABA","\\succnapprox",!0);b(I,$,Q,"\u2246","\\ncong",!0);b(I,$,Q,"\uE007","\\@nshortparallel");b(I,$,Q,"\u2226","\\nparallel",!0);b(I,$,Q,"\u22AF","\\nVDash",!0);b(I,$,Q,"\u22EB","\\ntriangleright");b(I,$,Q,"\u22ED","\\ntrianglerighteq",!0);b(I,$,Q,"\uE018","\\@nsupseteqq");b(I,$,Q,"\u228B","\\supsetneq",!0);b(I,$,Q,"\uE01B","\\@varsupsetneq");b(I,$,Q,"\u2ACC","\\supsetneqq",!0);b(I,$,Q,"\uE019","\\@varsupsetneqq");b(I,$,Q,"\u22AE","\\nVdash",!0);b(I,$,Q,"\u2AB5","\\precneqq",!0);b(I,$,Q,"\u2AB6","\\succneqq",!0);b(I,$,Q,"\uE016","\\@nsubseteqq");b(I,$,et,"\u22B4","\\unlhd");b(I,$,et,"\u22B5","\\unrhd");b(I,$,Q,"\u219A","\\nleftarrow",!0);b(I,$,Q,"\u219B","\\nrightarrow",!0);b(I,$,Q,"\u21CD","\\nLeftarrow",!0);b(I,$,Q,"\u21CF","\\nRightarrow",!0);b(I,$,Q,"\u21AE","\\nleftrightarrow",!0);b(I,$,Q,"\u21CE","\\nLeftrightarrow",!0);b(I,$,Q,"\u25B3","\\vartriangle");b(I,$,se,"\u210F","\\hslash");b(I,$,se,"\u25BD","\\triangledown");b(I,$,se,"\u25CA","\\lozenge");b(I,$,se,"\u24C8","\\circledS");b(I,$,se,"\xAE","\\circledR");b(We,$,se,"\xAE","\\circledR");b(I,$,se,"\u2221","\\measuredangle",!0);b(I,$,se,"\u2204","\\nexists");b(I,$,se,"\u2127","\\mho");b(I,$,se,"\u2132","\\Finv",!0);b(I,$,se,"\u2141","\\Game",!0);b(I,$,se,"\u2035","\\backprime");b(I,$,se,"\u25B2","\\blacktriangle");b(I,$,se,"\u25BC","\\blacktriangledown");b(I,$,se,"\u25A0","\\blacksquare");b(I,$,se,"\u29EB","\\blacklozenge");b(I,$,se,"\u2605","\\bigstar");b(I,$,se,"\u2222","\\sphericalangle",!0);b(I,$,se,"\u2201","\\complement",!0);b(I,$,se,"\xF0","\\eth",!0);b(We,F,se,"\xF0","\xF0");b(I,$,se,"\u2571","\\diagup");b(I,$,se,"\u2572","\\diagdown");b(I,$,se,"\u25A1","\\square");b(I,$,se,"\u25A1","\\Box");b(I,$,se,"\u25CA","\\Diamond");b(I,$,se,"\xA5","\\yen",!0);b(We,$,se,"\xA5","\\yen",!0);b(I,$,se,"\u2713","\\checkmark",!0);b(We,$,se,"\u2713","\\checkmark");b(I,$,se,"\u2136","\\beth",!0);b(I,$,se,"\u2138","\\daleth",!0);b(I,$,se,"\u2137","\\gimel",!0);b(I,$,se,"\u03DD","\\digamma",!0);b(I,$,se,"\u03F0","\\varkappa");b(I,$,es,"\u250C","\\@ulcorner",!0);b(I,$,Dl,"\u2510","\\@urcorner",!0);b(I,$,es,"\u2514","\\@llcorner",!0);b(I,$,Dl,"\u2518","\\@lrcorner",!0);b(I,$,Q,"\u2266","\\leqq",!0);b(I,$,Q,"\u2A7D","\\leqslant",!0);b(I,$,Q,"\u2A95","\\eqslantless",!0);b(I,$,Q,"\u2272","\\lesssim",!0);b(I,$,Q,"\u2A85","\\lessapprox",!0);b(I,$,Q,"\u224A","\\approxeq",!0);b(I,$,et,"\u22D6","\\lessdot");b(I,$,Q,"\u22D8","\\lll",!0);b(I,$,Q,"\u2276","\\lessgtr",!0);b(I,$,Q,"\u22DA","\\lesseqgtr",!0);b(I,$,Q,"\u2A8B","\\lesseqqgtr",!0);b(I,$,Q,"\u2251","\\doteqdot");b(I,$,Q,"\u2253","\\risingdotseq",!0);b(I,$,Q,"\u2252","\\fallingdotseq",!0);b(I,$,Q,"\u223D","\\backsim",!0);b(I,$,Q,"\u22CD","\\backsimeq",!0);b(I,$,Q,"\u2AC5","\\subseteqq",!0);b(I,$,Q,"\u22D0","\\Subset",!0);b(I,$,Q,"\u228F","\\sqsubset",!0);b(I,$,Q,"\u227C","\\preccurlyeq",!0);b(I,$,Q,"\u22DE","\\curlyeqprec",!0);b(I,$,Q,"\u227E","\\precsim",!0);b(I,$,Q,"\u2AB7","\\precapprox",!0);b(I,$,Q,"\u22B2","\\vartriangleleft");b(I,$,Q,"\u22B4","\\trianglelefteq");b(I,$,Q,"\u22A8","\\vDash",!0);b(I,$,Q,"\u22AA","\\Vvdash",!0);b(I,$,Q,"\u2323","\\smallsmile");b(I,$,Q,"\u2322","\\smallfrown");b(I,$,Q,"\u224F","\\bumpeq",!0);b(I,$,Q,"\u224E","\\Bumpeq",!0);b(I,$,Q,"\u2267","\\geqq",!0);b(I,$,Q,"\u2A7E","\\geqslant",!0);b(I,$,Q,"\u2A96","\\eqslantgtr",!0);b(I,$,Q,"\u2273","\\gtrsim",!0);b(I,$,Q,"\u2A86","\\gtrapprox",!0);b(I,$,et,"\u22D7","\\gtrdot");b(I,$,Q,"\u22D9","\\ggg",!0);b(I,$,Q,"\u2277","\\gtrless",!0);b(I,$,Q,"\u22DB","\\gtreqless",!0);b(I,$,Q,"\u2A8C","\\gtreqqless",!0);b(I,$,Q,"\u2256","\\eqcirc",!0);b(I,$,Q,"\u2257","\\circeq",!0);b(I,$,Q,"\u225C","\\triangleq",!0);b(I,$,Q,"\u223C","\\thicksim");b(I,$,Q,"\u2248","\\thickapprox");b(I,$,Q,"\u2AC6","\\supseteqq",!0);b(I,$,Q,"\u22D1","\\Supset",!0);b(I,$,Q,"\u2290","\\sqsupset",!0);b(I,$,Q,"\u227D","\\succcurlyeq",!0);b(I,$,Q,"\u22DF","\\curlyeqsucc",!0);b(I,$,Q,"\u227F","\\succsim",!0);b(I,$,Q,"\u2AB8","\\succapprox",!0);b(I,$,Q,"\u22B3","\\vartriangleright");b(I,$,Q,"\u22B5","\\trianglerighteq");b(I,$,Q,"\u22A9","\\Vdash",!0);b(I,$,Q,"\u2223","\\shortmid");b(I,$,Q,"\u2225","\\shortparallel");b(I,$,Q,"\u226C","\\between",!0);b(I,$,Q,"\u22D4","\\pitchfork",!0);b(I,$,Q,"\u221D","\\varpropto");b(I,$,Q,"\u25C0","\\blacktriangleleft");b(I,$,Q,"\u2234","\\therefore",!0);b(I,$,Q,"\u220D","\\backepsilon");b(I,$,Q,"\u25B6","\\blacktriangleright");b(I,$,Q,"\u2235","\\because",!0);b(I,$,Q,"\u22D8","\\llless");b(I,$,Q,"\u22D9","\\gggtr");b(I,$,et,"\u22B2","\\lhd");b(I,$,et,"\u22B3","\\rhd");b(I,$,Q,"\u2242","\\eqsim",!0);b(I,F,Q,"\u22C8","\\Join");b(I,$,Q,"\u2251","\\Doteq",!0);b(I,$,et,"\u2214","\\dotplus",!0);b(I,$,et,"\u2216","\\smallsetminus");b(I,$,et,"\u22D2","\\Cap",!0);b(I,$,et,"\u22D3","\\Cup",!0);b(I,$,et,"\u2A5E","\\doublebarwedge",!0);b(I,$,et,"\u229F","\\boxminus",!0);b(I,$,et,"\u229E","\\boxplus",!0);b(I,$,et,"\u22C7","\\divideontimes",!0);b(I,$,et,"\u22C9","\\ltimes",!0);b(I,$,et,"\u22CA","\\rtimes",!0);b(I,$,et,"\u22CB","\\leftthreetimes",!0);b(I,$,et,"\u22CC","\\rightthreetimes",!0);b(I,$,et,"\u22CF","\\curlywedge",!0);b(I,$,et,"\u22CE","\\curlyvee",!0);b(I,$,et,"\u229D","\\circleddash",!0);b(I,$,et,"\u229B","\\circledast",!0);b(I,$,et,"\u22C5","\\centerdot");b(I,$,et,"\u22BA","\\intercal",!0);b(I,$,et,"\u22D2","\\doublecap");b(I,$,et,"\u22D3","\\doublecup");b(I,$,et,"\u22A0","\\boxtimes",!0);b(I,$,Q,"\u21E2","\\dashrightarrow",!0);b(I,$,Q,"\u21E0","\\dashleftarrow",!0);b(I,$,Q,"\u21C7","\\leftleftarrows",!0);b(I,$,Q,"\u21C6","\\leftrightarrows",!0);b(I,$,Q,"\u21DA","\\Lleftarrow",!0);b(I,$,Q,"\u219E","\\twoheadleftarrow",!0);b(I,$,Q,"\u21A2","\\leftarrowtail",!0);b(I,$,Q,"\u21AB","\\looparrowleft",!0);b(I,$,Q,"\u21CB","\\leftrightharpoons",!0);b(I,$,Q,"\u21B6","\\curvearrowleft",!0);b(I,$,Q,"\u21BA","\\circlearrowleft",!0);b(I,$,Q,"\u21B0","\\Lsh",!0);b(I,$,Q,"\u21C8","\\upuparrows",!0);b(I,$,Q,"\u21BF","\\upharpoonleft",!0);b(I,$,Q,"\u21C3","\\downharpoonleft",!0);b(I,F,Q,"\u22B6","\\origof",!0);b(I,F,Q,"\u22B7","\\imageof",!0);b(I,$,Q,"\u22B8","\\multimap",!0);b(I,$,Q,"\u21AD","\\leftrightsquigarrow",!0);b(I,$,Q,"\u21C9","\\rightrightarrows",!0);b(I,$,Q,"\u21C4","\\rightleftarrows",!0);b(I,$,Q,"\u21A0","\\twoheadrightarrow",!0);b(I,$,Q,"\u21A3","\\rightarrowtail",!0);b(I,$,Q,"\u21AC","\\looparrowright",!0);b(I,$,Q,"\u21B7","\\curvearrowright",!0);b(I,$,Q,"\u21BB","\\circlearrowright",!0);b(I,$,Q,"\u21B1","\\Rsh",!0);b(I,$,Q,"\u21CA","\\downdownarrows",!0);b(I,$,Q,"\u21BE","\\upharpoonright",!0);b(I,$,Q,"\u21C2","\\downharpoonright",!0);b(I,$,Q,"\u21DD","\\rightsquigarrow",!0);b(I,$,Q,"\u21DD","\\leadsto");b(I,$,Q,"\u21DB","\\Rrightarrow",!0);b(I,$,Q,"\u21BE","\\restriction");b(I,F,se,"\u2018","`");b(I,F,se,"$","\\$");b(We,F,se,"$","\\$");b(We,F,se,"$","\\textdollar");b(I,F,se,"%","\\%");b(We,F,se,"%","\\%");b(I,F,se,"_","\\_");b(We,F,se,"_","\\_");b(We,F,se,"_","\\textunderscore");b(I,F,se,"\u2220","\\angle",!0);b(I,F,se,"\u221E","\\infty",!0);b(I,F,se,"\u2032","\\prime");b(I,F,se,"\u25B3","\\triangle");b(I,F,se,"\u0393","\\Gamma",!0);b(I,F,se,"\u0394","\\Delta",!0);b(I,F,se,"\u0398","\\Theta",!0);b(I,F,se,"\u039B","\\Lambda",!0);b(I,F,se,"\u039E","\\Xi",!0);b(I,F,se,"\u03A0","\\Pi",!0);b(I,F,se,"\u03A3","\\Sigma",!0);b(I,F,se,"\u03A5","\\Upsilon",!0);b(I,F,se,"\u03A6","\\Phi",!0);b(I,F,se,"\u03A8","\\Psi",!0);b(I,F,se,"\u03A9","\\Omega",!0);b(I,F,se,"A","\u0391");b(I,F,se,"B","\u0392");b(I,F,se,"E","\u0395");b(I,F,se,"Z","\u0396");b(I,F,se,"H","\u0397");b(I,F,se,"I","\u0399");b(I,F,se,"K","\u039A");b(I,F,se,"M","\u039C");b(I,F,se,"N","\u039D");b(I,F,se,"O","\u039F");b(I,F,se,"P","\u03A1");b(I,F,se,"T","\u03A4");b(I,F,se,"X","\u03A7");b(I,F,se,"\xAC","\\neg",!0);b(I,F,se,"\xAC","\\lnot");b(I,F,se,"\u22A4","\\top");b(I,F,se,"\u22A5","\\bot");b(I,F,se,"\u2205","\\emptyset");b(I,$,se,"\u2205","\\varnothing");b(I,F,Nt,"\u03B1","\\alpha",!0);b(I,F,Nt,"\u03B2","\\beta",!0);b(I,F,Nt,"\u03B3","\\gamma",!0);b(I,F,Nt,"\u03B4","\\delta",!0);b(I,F,Nt,"\u03F5","\\epsilon",!0);b(I,F,Nt,"\u03B6","\\zeta",!0);b(I,F,Nt,"\u03B7","\\eta",!0);b(I,F,Nt,"\u03B8","\\theta",!0);b(I,F,Nt,"\u03B9","\\iota",!0);b(I,F,Nt,"\u03BA","\\kappa",!0);b(I,F,Nt,"\u03BB","\\lambda",!0);b(I,F,Nt,"\u03BC","\\mu",!0);b(I,F,Nt,"\u03BD","\\nu",!0);b(I,F,Nt,"\u03BE","\\xi",!0);b(I,F,Nt,"\u03BF","\\omicron",!0);b(I,F,Nt,"\u03C0","\\pi",!0);b(I,F,Nt,"\u03C1","\\rho",!0);b(I,F,Nt,"\u03C3","\\sigma",!0);b(I,F,Nt,"\u03C4","\\tau",!0);b(I,F,Nt,"\u03C5","\\upsilon",!0);b(I,F,Nt,"\u03D5","\\phi",!0);b(I,F,Nt,"\u03C7","\\chi",!0);b(I,F,Nt,"\u03C8","\\psi",!0);b(I,F,Nt,"\u03C9","\\omega",!0);b(I,F,Nt,"\u03B5","\\varepsilon",!0);b(I,F,Nt,"\u03D1","\\vartheta",!0);b(I,F,Nt,"\u03D6","\\varpi",!0);b(I,F,Nt,"\u03F1","\\varrho",!0);b(I,F,Nt,"\u03C2","\\varsigma",!0);b(I,F,Nt,"\u03C6","\\varphi",!0);b(I,F,et,"\u2217","*",!0);b(I,F,et,"+","+");b(I,F,et,"\u2212","-",!0);b(I,F,et,"\u22C5","\\cdot",!0);b(I,F,et,"\u2218","\\circ",!0);b(I,F,et,"\xF7","\\div",!0);b(I,F,et,"\xB1","\\pm",!0);b(I,F,et,"\xD7","\\times",!0);b(I,F,et,"\u2229","\\cap",!0);b(I,F,et,"\u222A","\\cup",!0);b(I,F,et,"\u2216","\\setminus",!0);b(I,F,et,"\u2227","\\land");b(I,F,et,"\u2228","\\lor");b(I,F,et,"\u2227","\\wedge",!0);b(I,F,et,"\u2228","\\vee",!0);b(I,F,se,"\u221A","\\surd");b(I,F,es,"\u27E8","\\langle",!0);b(I,F,es,"\u2223","\\lvert");b(I,F,es,"\u2225","\\lVert");b(I,F,Dl,"?","?");b(I,F,Dl,"!","!");b(I,F,Dl,"\u27E9","\\rangle",!0);b(I,F,Dl,"\u2223","\\rvert");b(I,F,Dl,"\u2225","\\rVert");b(I,F,Q,"=","=");b(I,F,Q,":",":");b(I,F,Q,"\u2248","\\approx",!0);b(I,F,Q,"\u2245","\\cong",!0);b(I,F,Q,"\u2265","\\ge");b(I,F,Q,"\u2265","\\geq",!0);b(I,F,Q,"\u2190","\\gets");b(I,F,Q,">","\\gt",!0);b(I,F,Q,"\u2208","\\in",!0);b(I,F,Q,"\uE020","\\@not");b(I,F,Q,"\u2282","\\subset",!0);b(I,F,Q,"\u2283","\\supset",!0);b(I,F,Q,"\u2286","\\subseteq",!0);b(I,F,Q,"\u2287","\\supseteq",!0);b(I,$,Q,"\u2288","\\nsubseteq",!0);b(I,$,Q,"\u2289","\\nsupseteq",!0);b(I,F,Q,"\u22A8","\\models");b(I,F,Q,"\u2190","\\leftarrow",!0);b(I,F,Q,"\u2264","\\le");b(I,F,Q,"\u2264","\\leq",!0);b(I,F,Q,"<","\\lt",!0);b(I,F,Q,"\u2192","\\rightarrow",!0);b(I,F,Q,"\u2192","\\to");b(I,$,Q,"\u2271","\\ngeq",!0);b(I,$,Q,"\u2270","\\nleq",!0);b(I,F,Rp,"\xA0","\\ ");b(I,F,Rp,"\xA0","\\space");b(I,F,Rp,"\xA0","\\nobreakspace");b(We,F,Rp,"\xA0","\\ ");b(We,F,Rp,"\xA0"," ");b(We,F,Rp,"\xA0","\\space");b(We,F,Rp,"\xA0","\\nobreakspace");b(I,F,Rp,null,"\\nobreak");b(I,F,Rp,null,"\\allowbreak");b(I,F,E5,",",",");b(I,F,E5,";",";");b(I,$,et,"\u22BC","\\barwedge",!0);b(I,$,et,"\u22BB","\\veebar",!0);b(I,F,et,"\u2299","\\odot",!0);b(I,F,et,"\u2295","\\oplus",!0);b(I,F,et,"\u2297","\\otimes",!0);b(I,F,se,"\u2202","\\partial",!0);b(I,F,et,"\u2298","\\oslash",!0);b(I,$,et,"\u229A","\\circledcirc",!0);b(I,$,et,"\u22A1","\\boxdot",!0);b(I,F,et,"\u25B3","\\bigtriangleup");b(I,F,et,"\u25BD","\\bigtriangledown");b(I,F,et,"\u2020","\\dagger");b(I,F,et,"\u22C4","\\diamond");b(I,F,et,"\u22C6","\\star");b(I,F,et,"\u25C3","\\triangleleft");b(I,F,et,"\u25B9","\\triangleright");b(I,F,es,"{","\\{");b(We,F,se,"{","\\{");b(We,F,se,"{","\\textbraceleft");b(I,F,Dl,"}","\\}");b(We,F,se,"}","\\}");b(We,F,se,"}","\\textbraceright");b(I,F,es,"{","\\lbrace");b(I,F,Dl,"}","\\rbrace");b(I,F,es,"[","\\lbrack",!0);b(We,F,se,"[","\\lbrack",!0);b(I,F,Dl,"]","\\rbrack",!0);b(We,F,se,"]","\\rbrack",!0);b(I,F,es,"(","\\lparen",!0);b(I,F,Dl,")","\\rparen",!0);b(We,F,se,"<","\\textless",!0);b(We,F,se,">","\\textgreater",!0);b(I,F,es,"\u230A","\\lfloor",!0);b(I,F,Dl,"\u230B","\\rfloor",!0);b(I,F,es,"\u2308","\\lceil",!0);b(I,F,Dl,"\u2309","\\rceil",!0);b(I,F,se,"\\","\\backslash");b(I,F,se,"\u2223","|");b(I,F,se,"\u2223","\\vert");b(We,F,se,"|","\\textbar",!0);b(I,F,se,"\u2225","\\|");b(I,F,se,"\u2225","\\Vert");b(We,F,se,"\u2225","\\textbardbl");b(We,F,se,"~","\\textasciitilde");b(We,F,se,"\\","\\textbackslash");b(We,F,se,"^","\\textasciicircum");b(I,F,Q,"\u2191","\\uparrow",!0);b(I,F,Q,"\u21D1","\\Uparrow",!0);b(I,F,Q,"\u2193","\\downarrow",!0);b(I,F,Q,"\u21D3","\\Downarrow",!0);b(I,F,Q,"\u2195","\\updownarrow",!0);b(I,F,Q,"\u21D5","\\Updownarrow",!0);b(I,F,gi,"\u2210","\\coprod");b(I,F,gi,"\u22C1","\\bigvee");b(I,F,gi,"\u22C0","\\bigwedge");b(I,F,gi,"\u2A04","\\biguplus");b(I,F,gi,"\u22C2","\\bigcap");b(I,F,gi,"\u22C3","\\bigcup");b(I,F,gi,"\u222B","\\int");b(I,F,gi,"\u222B","\\intop");b(I,F,gi,"\u222C","\\iint");b(I,F,gi,"\u222D","\\iiint");b(I,F,gi,"\u220F","\\prod");b(I,F,gi,"\u2211","\\sum");b(I,F,gi,"\u2A02","\\bigotimes");b(I,F,gi,"\u2A01","\\bigoplus");b(I,F,gi,"\u2A00","\\bigodot");b(I,F,gi,"\u222E","\\oint");b(I,F,gi,"\u222F","\\oiint");b(I,F,gi,"\u2230","\\oiiint");b(I,F,gi,"\u2A06","\\bigsqcup");b(I,F,gi,"\u222B","\\smallint");b(We,F,OR,"\u2026","\\textellipsis");b(I,F,OR,"\u2026","\\mathellipsis");b(We,F,OR,"\u2026","\\ldots",!0);b(I,F,OR,"\u2026","\\ldots",!0);b(I,F,OR,"\u22EF","\\@cdots",!0);b(I,F,OR,"\u22F1","\\ddots",!0);b(I,F,se,"\u22EE","\\varvdots");b(We,F,se,"\u22EE","\\varvdots");b(I,F,io,"\u02CA","\\acute");b(I,F,io,"\u02CB","\\grave");b(I,F,io,"\xA8","\\ddot");b(I,F,io,"~","\\tilde");b(I,F,io,"\u02C9","\\bar");b(I,F,io,"\u02D8","\\breve");b(I,F,io,"\u02C7","\\check");b(I,F,io,"^","\\hat");b(I,F,io,"\u20D7","\\vec");b(I,F,io,"\u02D9","\\dot");b(I,F,io,"\u02DA","\\mathring");b(I,F,Nt,"\uE131","\\@imath");b(I,F,Nt,"\uE237","\\@jmath");b(I,F,se,"\u0131","\u0131");b(I,F,se,"\u0237","\u0237");b(We,F,se,"\u0131","\\i",!0);b(We,F,se,"\u0237","\\j",!0);b(We,F,se,"\xDF","\\ss",!0);b(We,F,se,"\xE6","\\ae",!0);b(We,F,se,"\u0153","\\oe",!0);b(We,F,se,"\xF8","\\o",!0);b(We,F,se,"\xC6","\\AE",!0);b(We,F,se,"\u0152","\\OE",!0);b(We,F,se,"\xD8","\\O",!0);b(We,F,io,"\u02CA","\\'");b(We,F,io,"\u02CB","\\`");b(We,F,io,"\u02C6","\\^");b(We,F,io,"\u02DC","\\~");b(We,F,io,"\u02C9","\\=");b(We,F,io,"\u02D8","\\u");b(We,F,io,"\u02D9","\\.");b(We,F,io,"\xB8","\\c");b(We,F,io,"\u02DA","\\r");b(We,F,io,"\u02C7","\\v");b(We,F,io,"\xA8",'\\"');b(We,F,io,"\u02DD","\\H");b(We,F,io,"\u25EF","\\textcircled");var sFe={"--":!0,"---":!0,"``":!0,"''":!0};b(We,F,se,"\u2013","--",!0);b(We,F,se,"\u2013","\\textendash");b(We,F,se,"\u2014","---",!0);b(We,F,se,"\u2014","\\textemdash");b(We,F,se,"\u2018","`",!0);b(We,F,se,"\u2018","\\textquoteleft");b(We,F,se,"\u2019","'",!0);b(We,F,se,"\u2019","\\textquoteright");b(We,F,se,"\u201C","``",!0);b(We,F,se,"\u201C","\\textquotedblleft");b(We,F,se,"\u201D","''",!0);b(We,F,se,"\u201D","\\textquotedblright");b(I,F,se,"\xB0","\\degree",!0);b(We,F,se,"\xB0","\\degree");b(We,F,se,"\xB0","\\textdegree",!0);b(I,F,se,"\xA3","\\pounds");b(I,F,se,"\xA3","\\mathsterling",!0);b(We,F,se,"\xA3","\\pounds");b(We,F,se,"\xA3","\\textsterling",!0);b(I,$,se,"\u2720","\\maltese");b(We,$,se,"\u2720","\\maltese");var fFe='0123456789/@."';for(C5=0;C5<fFe.length;C5++)$W=fFe.charAt(C5),b(I,F,se,$W,$W);var $W,C5,vFe='0123456789!@*()-=+";:?/.,';for(I5=0;I5<vFe.length;I5++)VW=vFe.charAt(I5),b(We,F,se,VW,VW);var VW,I5,T5="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(F5=0;F5<T5.length;F5++)jT=T5.charAt(F5),b(I,F,Nt,jT,jT),b(We,F,se,jT,jT);var jT,F5;b(I,$,se,"C","\u2102");b(We,$,se,"C","\u2102");b(I,$,se,"H","\u210D");b(We,$,se,"H","\u210D");b(I,$,se,"N","\u2115");b(We,$,se,"N","\u2115");b(I,$,se,"P","\u2119");b(We,$,se,"P","\u2119");b(I,$,se,"Q","\u211A");b(We,$,se,"Q","\u211A");b(I,$,se,"R","\u211D");b(We,$,se,"R","\u211D");b(I,$,se,"Z","\u2124");b(We,$,se,"Z","\u2124");b(I,F,Nt,"h","\u210E");b(We,F,Nt,"h","\u210E");var $t="";for(Vu=0;Vu<T5.length;Vu++)Co=T5.charAt(Vu),$t=String.fromCharCode(55349,56320+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56372+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56424+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56580+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56684+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56736+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56788+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56840+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56944+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),Vu<26&&($t=String.fromCharCode(55349,56632+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t),$t=String.fromCharCode(55349,56476+Vu),b(I,F,Nt,Co,$t),b(We,F,se,Co,$t));var Co,Vu;$t=String.fromCharCode(55349,56668);b(I,F,Nt,"k",$t);b(We,F,se,"k",$t);for(zd=0;zd<10;zd++)wp=zd.toString(),$t=String.fromCharCode(55349,57294+zd),b(I,F,Nt,wp,$t),b(We,F,se,wp,$t),$t=String.fromCharCode(55349,57314+zd),b(I,F,Nt,wp,$t),b(We,F,se,wp,$t),$t=String.fromCharCode(55349,57324+zd),b(I,F,Nt,wp,$t),b(We,F,se,wp,$t),$t=String.fromCharCode(55349,57334+zd),b(I,F,Nt,wp,$t),b(We,F,se,wp,$t);var wp,zd,QW="\xD0\xDE\xFE";for(M5=0;M5<QW.length;M5++)NT=QW.charAt(M5),b(I,F,Nt,NT,NT),b(We,F,se,NT,NT);var NT,M5,G5=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],mFe=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],kRn=function(n,t){var a=n.charCodeAt(0),r=n.charCodeAt(1),o=(a-55296)*1024+(r-56320)+65536,i=t==="math"?0:1;if(119808<=o&&o<120484){var u=Math.floor((o-119808)/26);return[G5[u][2],G5[u][i]]}else if(120782<=o&&o<=120831){var l=Math.floor((o-120782)/10);return[mFe[l][2],mFe[l][i]]}else{if(o===120485||o===120486)return[G5[0][2],G5[0][i]];if(120486<o&&o<120782)return["",""];throw new tn("Unsupported character: "+n)}},A5=function(n,t,a){return Or[a][n]&&Or[a][n].replace&&(n=Or[a][n].replace),{value:n,metrics:WW(n,t,a)}},Mv=function(n,t,a,r,o){var i=A5(n,t,a),u=i.metrics;n=i.value;var l;if(u){var c=u.italic;(a==="text"||r&&r.font==="mathit")&&(c=0),l=new Kc(n,u.height,u.depth,c,u.skew,u.width,o)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+n+"' in style '"+t+"' and mode '"+a+"'")),l=new Kc(n,0,0,0,0,0,o);if(r){l.maxFontSize=r.sizeMultiplier,r.style.isTight()&&l.classes.push("mtight");var s=r.getColor();s&&(l.style.color=s)}return l},ORn=function(n,t,a,r){return r===void 0&&(r=[]),a.font==="boldsymbol"&&A5(n,"Main-Bold",t).metrics?Mv(n,"Main-Bold",t,a,r.concat(["mathbf"])):n==="\\"||Or[t][n].font==="main"?Mv(n,"Main-Regular",t,a,r):Mv(n,"AMS-Regular",t,a,r.concat(["amsrm"]))},URn=function(n,t,a,r,o){return o!=="textord"&&A5(n,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},HRn=function(n,t,a){var r=n.mode,o=n.text,i=["mord"],u=r==="math"||r==="text"&&t.font,l=u?t.font:t.fontFamily,c="",s="";if(o.charCodeAt(0)===55349&&([c,s]=kRn(o,r)),c.length>0)return Mv(o,c,r,t,i.concat(s));if(l){var f,v;if(l==="boldsymbol"){var m=URn(o,r,t,i,a);f=m.fontName,v=[m.fontClass]}else u?(f=dFe[l].fontName,v=[l]):(f=x5(l,t.fontWeight,t.fontShape),v=[l,t.fontWeight,t.fontShape]);if(A5(o,f,r).metrics)return Mv(o,f,r,t,i.concat(v));if(sFe.hasOwnProperty(o)&&f.slice(0,10)==="Typewriter"){for(var _=[],R=0;R<o.length;R++)_.push(Mv(o[R],f,r,t,i.concat(v)));return _Fe(_)}}if(a==="mathord")return Mv(o,"Math-Italic",r,t,i.concat(["mathnormal"]));if(a==="textord"){var D=Or[r][o]&&Or[r][o].font;if(D==="ams"){var y=x5("amsrm",t.fontWeight,t.fontShape);return Mv(o,y,r,t,i.concat("amsrm",t.fontWeight,t.fontShape))}else if(D==="main"||!D){var S=x5("textrm",t.fontWeight,t.fontShape);return Mv(o,S,r,t,i.concat(t.fontWeight,t.fontShape))}else{var G=x5(D,t.fontWeight,t.fontShape);return Mv(o,G,r,t,i.concat(G,t.fontWeight,t.fontShape))}}else throw new Error("unexpected type: "+a+" in makeOrd")},BRn=(e,n)=>{if(qd(e.classes)!==qd(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},JRn=e=>{for(var n=0;n<e.length-1;n++){var t=e[n],a=e[n+1];t instanceof Kc&&a instanceof Kc&&BRn(t,a)&&(t.text+=a.text,t.height=Math.max(t.height,a.height),t.depth=Math.max(t.depth,a.depth),t.italic=a.italic,e.splice(n+1,1),n--)}return e},YW=function(n){for(var t=0,a=0,r=0,o=0;o<n.children.length;o++){var i=n.children[o];i.height>t&&(t=i.height),i.depth>a&&(a=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}n.height=t,n.depth=a,n.maxFontSize=r},ec=function(n,t,a,r){var o=new kR(n,t,a,r);return YW(o),o},pFe=(e,n,t,a)=>new kR(e,n,t,a),WRn=function(n,t,a){var r=ec([n],[],t);return r.height=Math.max(a||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=Tn(r.height),r.maxFontSize=1,r},qRn=function(n,t,a,r){var o=new w5(n,t,a,r);return YW(o),o},_Fe=function(n){var t=new PR(n);return YW(t),t},zRn=function(n,t){return n instanceof PR?ec([],[n],t):n},$Rn=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<t.length;i++){var u=-t[i].shift-o-t[i].elem.depth,l=u-(t[i-1].elem.height+t[i-1].elem.depth);o=o+u,a.push({type:"kern",size:l}),a.push(t[i])}return{children:a,depth:r}}var c;if(n.positionType==="top"){for(var s=n.positionData,f=0;f<n.children.length;f++){var v=n.children[f];s-=v.type==="kern"?v.size:v.elem.height+v.elem.depth}c=s}else if(n.positionType==="bottom")c=-n.positionData;else{var m=n.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(n.positionType==="shift")c=-m.elem.depth-n.positionData;else if(n.positionType==="firstBaseline")c=-m.elem.depth;else throw new Error("Invalid positionType "+n.positionType+".")}return{children:n.children,depth:c}},VRn=function(n,t){for(var{children:a,depth:r}=$Rn(n),o=0,i=0;i<a.length;i++){var u=a[i];if(u.type==="elem"){var l=u.elem;o=Math.max(o,l.maxFontSize,l.height)}}o+=2;var c=ec(["pstrut"],[]);c.style.height=Tn(o);for(var s=[],f=r,v=r,m=r,_=0;_<a.length;_++){var R=a[_];if(R.type==="kern")m+=R.size;else{var D=R.elem,y=R.wrapperClasses||[],S=R.wrapperStyle||{},G=ec(y,[c,D],void 0,S);G.style.top=Tn(-o-m-D.depth),R.marginLeft&&(G.style.marginLeft=R.marginLeft),R.marginRight&&(G.style.marginRight=R.marginRight),s.push(G),m+=D.height+D.depth}f=Math.min(f,m),v=Math.max(v,m)}var P=ec(["vlist"],s);P.style.height=Tn(v);var k;if(f<0){var M=ec([],[]),O=ec(["vlist"],[M]);O.style.height=Tn(-f);var oe=ec(["vlist-s"],[new Kc("\u200B")]);k=[ec(["vlist-r"],[P,oe]),ec(["vlist-r"],[O])]}else k=[ec(["vlist-r"],[P])];var le=ec(["vlist-t"],k);return k.length===2&&le.classes.push("vlist-t2"),le.height=v,le.depth=-f,le},QRn=(e,n)=>{var t=ec(["mspace"],[],n),a=Eo(e,n);return t.style.marginRight=Tn(a),t},x5=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},dFe={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"}},hFe={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},YRn=function(n,t){var[a,r,o]=hFe[n],i=new bp(a),u=new z0([i],{width:Tn(r),height:Tn(o),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),l=pFe(["overlay"],[u],t);return l.height=o,l.style.height=Tn(o),l.style.width=Tn(r),l},Re={fontMap:dFe,makeSymbol:Mv,mathsym:ORn,makeSpan:ec,makeSvgSpan:pFe,makeLineSpan:WRn,makeAnchor:qRn,makeFragment:_Fe,wrapFragment:zRn,makeVList:VRn,makeOrd:HRn,makeGlue:QRn,staticSvg:YRn,svgData:hFe,tryCombineChars:JRn},Io={number:3,unit:"mu"},TD={number:4,unit:"mu"},Sp={number:5,unit:"mu"},XRn={mord:{mop:Io,mbin:TD,mrel:Sp,minner:Io},mop:{mord:Io,mop:Io,mrel:Sp,minner:Io},mbin:{mord:TD,mop:TD,mopen:TD,minner:TD},mrel:{mord:Sp,mop:Sp,mopen:Sp,minner:Sp},mopen:{},mclose:{mop:Io,mbin:TD,mrel:Sp,minner:Io},mpunct:{mord:Io,mop:Io,mrel:Sp,mopen:Io,mclose:Io,mpunct:Io,minner:Io},minner:{mord:Io,mop:Io,mbin:TD,mrel:Sp,mopen:Io,mpunct:Io,minner:Io}},ZRn={mord:{mop:Io},mop:{mord:Io,mop:Io},mbin:{},mrel:{},mopen:{},mclose:{mop:Io},mpunct:{},minner:{mop:Io}},gFe={},L5={},j5={};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<t.length;++l)gFe[t[l]]=u;n&&(o&&(L5[n]=o),i&&(j5[n]=i))}function FD(e){var{type:n,htmlBuilder:t,mathmlBuilder:a}=e;Wn({type:n,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:t,mathmlBuilder:a})}var N5=function(n){return n.type==="ordgroup"&&n.body.length===1?n.body[0]:n},ri=function(n){return n.type==="ordgroup"?n.body:[n]},Ep=Re.makeSpan,KRn=["leftmost","mbin","mopen","mrel","mop","mpunct"],ewn=["rightmost","mrel","mclose","mpunct"],nwn={display:jt.DISPLAY,text:jt.TEXT,script:jt.SCRIPT,scriptscript:jt.SCRIPTSCRIPT},twn={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},qi=function(n,t,a,r){r===void 0&&(r=[null,null]);for(var o=[],i=0;i<n.length;i++){var u=qa(n[i],t);if(u instanceof PR){var l=u.children;o.push(...l)}else o.push(u)}if(Re.tryCombineChars(o),!a)return o;var c=t;if(n.length===1){var s=n[0];s.type==="sizing"?c=t.havingSize(s.size):s.type==="styling"&&(c=t.havingStyle(nwn[s.style]))}var f=Ep([r[0]||"leftmost"],[],t),v=Ep([r[1]||"rightmost"],[],t),m=a==="root";return DFe(o,(_,R)=>{var D=R.classes[0],y=_.classes[0];D==="mbin"&&Tt.contains(ewn,y)?R.classes[0]="mord":y==="mbin"&&Tt.contains(KRn,D)&&(_.classes[0]="mord")},{node:f},v,m),DFe(o,(_,R)=>{var D=XW(R),y=XW(_),S=D&&y?_.hasClass("mtight")?ZRn[D][y]:XRn[D][y]:null;if(S)return Re.makeGlue(S,c)},{node:f},v,m),o},DFe=function e(n,t,a,r,o){r&&n.push(r);for(var i=0;i<n.length;i++){var u=n[i],l=yFe(u);if(l){e(l.children,t,a,null,o);continue}var c=!u.hasClass("mspace");if(c){var s=t(u,a.node);s&&(a.insertAfter?a.insertAfter(s):(n.unshift(s),i++))}c?a.node=u:o&&u.hasClass("newline")&&(a.node=Ep(["leftmost"])),a.insertAfter=(f=>v=>{n.splice(f+1,0,v),i++})(i)}r&&n.pop()},yFe=function(n){return n instanceof PR||n instanceof w5||n instanceof kR&&n.hasClass("enclosing")?n:null},awn=function e(n,t){var a=yFe(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},XW=function(n,t){return n?(t&&(n=awn(n,t)),twn[n.classes[0]]||null):null},PT=function(n,t){var a=["nulldelimiter"].concat(n.baseSizingClasses());return Ep(t.concat(a))},qa=function(n,t,a){if(!n)return Ep();if(L5[n.type]){var r=L5[n.type](n,t);if(a&&t.size!==a.size){r=Ep(t.sizingClasses(a),[r],t);var o=t.sizeMultiplier/a.sizeMultiplier;r.height*=o,r.depth*=o}return r}else throw new tn("Got group of unknown type: '"+n.type+"'")};function P5(e,n){var t=Ep(["base"],e,n),a=Ep(["strut"]);return a.style.height=Tn(t.height+t.depth),t.depth&&(a.style.verticalAlign=Tn(-t.depth)),t.children.unshift(a),t}function ZW(e,n){var t=null;e.length===1&&e[0].type==="tag"&&(t=e[0].tag,e=e[0].body);var a=qi(e,n,"root"),r;a.length===2&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],i=[],u=0;u<a.length;u++)if(i.push(a[u]),a[u].hasClass("mbin")||a[u].hasClass("mrel")||a[u].hasClass("allowbreak")){for(var l=!1;u<a.length-1&&a[u+1].hasClass("mspace")&&!a[u+1].hasClass("newline");)u++,i.push(a[u]),a[u].hasClass("nobreak")&&(l=!0);l||(o.push(P5(i,n)),i=[])}else a[u].hasClass("newline")&&(i.pop(),i.length>0&&(o.push(P5(i,n)),i=[]),o.push(a[u]));i.length>0&&o.push(P5(i,n));var c;t?(c=P5(qi(t,n,!0)),c.classes=["tag"],o.push(c)):r&&o.push(r);var s=Ep(["katex-html"],o);if(s.setAttribute("aria-hidden","true"),c){var f=c.children[0];f.style.height=Tn(s.height+s.depth),s.depth&&(f.style.verticalAlign=Tn(-s.depth))}return s}function bFe(e){return new PR(e)}var nc=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=qd(this.classes));for(var a=0;a<this.children.length;a++)if(this.children[a]instanceof Gv&&this.children[a+1]instanceof Gv){for(var r=this.children[a].toText()+this.children[++a].toText();this.children[a+1]instanceof Gv;)r+=this.children[++a].toText();n.appendChild(new Gv(r).toNode())}else n.appendChild(this.children[a].toNode());return n}toMarkup(){var n="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(n+=" "+t+'="',n+=Tt.escape(this.attributes[t]),n+='"');this.classes.length>0&&(n+=' class ="'+Tt.escape(qd(this.classes))+'"'),n+=">";for(var a=0;a<this.children.length;a++)n+=this.children[a].toMarkup();return n+="</"+this.type+">",n}toText(){return this.children.map(n=>n.toText()).join("")}},Gv=class{constructor(n){this.text=void 0,this.text=n}toNode(){return document.createTextNode(this.text)}toMarkup(){return Tt.escape(this.toText())}toText(){return this.text}},RFe=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",Tn(this.width)),n}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Tn(this.width)+'"/>'}toText(){return this.character?this.character:" "}},Ze={MathNode:nc,TextNode:Gv,SpaceNode:RFe,newDocumentFragment:bFe},uf=function(n,t,a){return Or[t][n]&&Or[t][n].replace&&n.charCodeAt(0)!==55349&&!(sFe.hasOwnProperty(n)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(n=Or[t][n].replace),new Ze.TextNode(n)},KW=function(n){return n.length===1?n[0]:new Ze.MathNode("mrow",n)},eq=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(Tt.contains(["\\imath","\\jmath"],o))return null;Or[r][o]&&Or[r][o].replace&&(o=Or[r][o].replace);var i=Re.fontMap[a].fontName;return WW(o,i,r)?Re.fontMap[a].variant:null};function nq(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var n=e.children[0];return n instanceof Gv&&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 Gv&&t.text===","}else return!1}var tc=function(n,t,a){if(n.length===1){var r=Gr(n[0],t);return a&&r instanceof nc&&r.type==="mo"&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}for(var o=[],i,u=0;u<n.length;u++){var l=Gr(n[u],t);if(l instanceof nc&&i instanceof nc){if(l.type==="mtext"&&i.type==="mtext"&&l.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...l.children);continue}else if(l.type==="mn"&&i.type==="mn"){i.children.push(...l.children);continue}else if(nq(l)&&i.type==="mn"){i.children.push(...l.children);continue}else if(l.type==="mn"&&nq(i))l.children=[...i.children,...l.children],o.pop();else if((l.type==="msup"||l.type==="msub")&&l.children.length>=1&&(i.type==="mn"||nq(i))){var c=l.children[0];c instanceof nc&&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 Gv&&s.text==="\u0338"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var f=l.children[0];f instanceof Gv&&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},$d=function(n,t,a){return KW(tc(n,t,a))},Gr=function(n,t){if(!n)return new Ze.MathNode("mrow");if(j5[n.type]){var a=j5[n.type](n,t);return a}else throw new tn("Got group of unknown type: '"+n.type+"'")};function wFe(e,n,t,a,r){var o=tc(e,t),i;o.length===1&&o[0]instanceof nc&&Tt.contains(["mrow","mtable"],o[0].type)?i=o[0]:i=new Ze.MathNode("mrow",o);var u=new Ze.MathNode("annotation",[new Ze.TextNode(n)]);u.setAttribute("encoding","application/x-tex");var l=new Ze.MathNode("semantics",[i,u]),c=new Ze.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 Re.makeSpan([s],[c])}var SFe=function(n){return new q0({style:n.displayMode?jt.DISPLAY:jt.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness})},EFe=function(n,t){if(t.displayMode){var a=["katex-display"];t.leqno&&a.push("leqno"),t.fleqn&&a.push("fleqn"),n=Re.makeSpan(a,[n])}return n},rwn=function(n,t,a){var r=SFe(a),o;if(a.output==="mathml")return wFe(n,t,r,a.displayMode,!0);if(a.output==="html"){var i=ZW(n,r);o=Re.makeSpan(["katex"],[i])}else{var u=wFe(n,t,r,a.displayMode,!1),l=ZW(n,r);o=Re.makeSpan(["katex"],[u,l])}return EFe(o,a)},own=function(n,t,a){var r=SFe(a),o=ZW(n,r),i=Re.makeSpan(["katex"],[o]);return EFe(i,a)},iwn={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":"="},uwn=function(n){var t=new Ze.MathNode("mo",[new Ze.TextNode(iwn[n.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},lwn={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]},cwn=function(n){return n.type==="ordgroup"?n.body.length:1},swn=function(n,t){function a(){var u=4e5,l=n.label.slice(1);if(Tt.contains(["widehat","widecheck","widetilde","utilde"],l)){var c=n,s=cwn(c.base),f,v,m;if(s>5)l==="widehat"||l==="widecheck"?(f=420,u=2364,m=.42,v=l+"4"):(f=312,u=2340,m=.34,v="tilde4");else{var _=[1,1,2,2,3,3][s];l==="widehat"||l==="widecheck"?(u=[0,1062,2364,2364,2364][_],f=[0,239,300,360,420][_],m=[0,.24,.3,.3,.36,.42][_],v=l+_):(u=[0,600,1033,2339,2340][_],f=[0,260,286,306,312][_],m=[0,.26,.286,.3,.306,.34][_],v="tilde"+_)}var R=new bp(v),D=new z0([R],{width:"100%",height:Tn(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:Re.makeSvgSpan([],[D],t),minWidth:0,height:m}}else{var y=[],S=lwn[l],[G,P,k]=S,M=k/1e3,O=G.length,oe,le;if(O===1){var ve=S[3];oe=["hide-tail"],le=[ve]}else if(O===2)oe=["halfarrow-left","halfarrow-right"],le=["xMinYMin","xMaxYMin"];else if(O===3)oe=["brace-left","brace-center","brace-right"],le=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
                    `+O+" children.");for(var X=0;X<O;X++){var be=new bp(G[X]),pe=new z0([be],{width:"400em",height:Tn(M),viewBox:"0 0 "+u+" "+k,preserveAspectRatio:le[X]+" slice"}),De=Re.makeSvgSpan([oe[X]],[pe],t);if(O===1)return{span:De,minWidth:P,height:M};De.style.height=Tn(M),y.push(De)}return{span:Re.makeSpan(["stretchy"],y,t),minWidth:P,height:M}}}var{span:r,minWidth:o,height:i}=a();return r.height=i,r.style.height=Tn(i),o>0&&(r.style.minWidth=Tn(o)),r},fwn=function(n,t,a,r,o){var i,u=n.height+n.depth+a+r;if(/fbox|color|angl/.test(t)){if(i=Re.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 S5({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&c.push(new S5({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var s=new z0(c,{width:"100%",height:Tn(u)});i=Re.makeSvgSpan([],[s],o)}return i.height=u,i.style.height=Tn(u),i},Cp={encloseSpan:fwn,mathMLnode:uwn,svgSpan:swn};function _a(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 tq(e){var n=k5(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 k5(e){return e&&(e.type==="atom"||PRn.hasOwnProperty(e.type))?e:null}var aq=(e,n)=>{var t,a,r;e&&e.type==="supsub"?(a=_a(e.base,"accent"),t=a.base,e.base=t,r=jRn(qa(e,n)),e.base=a):(a=_a(e,"accent"),t=a.base);var o=qa(t,n.havingCrampedStyle()),i=a.isShifty&&Tt.isCharacterBox(t),u=0;if(i){var l=Tt.getBaseElem(t),c=qa(l,n.havingCrampedStyle());u=cFe(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=Cp.svgSpan(a,n),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"elem",elem:v,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+Tn(2*u)+")",marginLeft:Tn(2*u)}:void 0}]},n);else{var m,_;a.label==="\\vec"?(m=Re.staticSvg("vec",n),_=Re.svgData.vec[1]):(m=Re.makeOrd({mode:a.mode,text:a.label},n,"textord"),m=cFe(m),m.italic=0,_=m.width,s&&(f+=m.depth)),v=Re.makeSpan(["accent-body"],[m]);var R=a.label==="\\textcircled";R&&(v.classes.push("accent-full"),f=o.height);var D=u;R||(D-=_/2),v.style.left=Tn(D),a.label==="\\textcircled"&&(v.style.top=".2em"),v=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:-f},{type:"elem",elem:v}]},n)}var y=Re.makeSpan(["mord","accent"],[v],n);return r?(r.children[0]=y,r.height=Math.max(y.height,r.height),r.classes[0]="mord",r):y},CFe=(e,n)=>{var t=e.isStretchy?Cp.mathMLnode(e.label):new Ze.MathNode("mo",[uf(e.label,e.mode)]),a=new Ze.MathNode("mover",[Gr(e.base,n),t]);return a.setAttribute("accent","true"),a},vwn=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=N5(n[0]),a=!vwn.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:aq,mathmlBuilder:CFe});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:aq,mathmlBuilder:CFe});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=qa(e.base,n),a=Cp.svgSpan(e,n),r=e.label==="\\utilde"?.12:0,o=Re.makeVList({positionType:"top",positionData:t.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:r},{type:"elem",elem:t}]},n);return Re.makeSpan(["mord","accentunder"],[o],n)},mathmlBuilder:(e,n)=>{var t=Cp.mathMLnode(e.label),a=new Ze.MathNode("munder",[Gr(e.base,n),t]);return a.setAttribute("accentunder","true"),a}});var O5=e=>{var n=new Ze.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=Re.wrapFragment(qa(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=Re.wrapFragment(qa(e.below,a,n),n),i.classes.push(o+"-arrow-pad"));var u=Cp.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=Re.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=Re.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"),Re.makeSpan(["mrel","x-arrow"],[s],n)},mathmlBuilder(e,n){var t=Cp.mathMLnode(e.label);t.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(e.body){var r=O5(Gr(e.body,n));if(e.below){var o=O5(Gr(e.below,n));a=new Ze.MathNode("munderover",[t,o,r])}else a=new Ze.MathNode("mover",[t,r])}else if(e.below){var i=O5(Gr(e.below,n));a=new Ze.MathNode("munder",[t,i])}else a=O5(),a=new Ze.MathNode("mover",[t,a]);return a}});var mwn=Re.makeSpan;function IFe(e,n){var t=qi(e.body,n,!0);return mwn([e.mclass],t,n)}function TFe(e,n){var t,a=tc(e.body,n);return e.mclass==="minner"?t=new Ze.MathNode("mpadded",a):e.mclass==="mord"?e.isCharacterBox?(t=a[0],t.type="mi"):t=new Ze.MathNode("mi",a):(e.isCharacterBox?(t=a[0],t.type="mo"):t=new Ze.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:ri(r),isCharacterBox:Tt.isCharacterBox(r)}},htmlBuilder:IFe,mathmlBuilder:TFe});var U5=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:U5(n[0]),body:ri(n[1]),isCharacterBox:Tt.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=U5(r):i="mrel";var u={type:"op",mode:r.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:ri(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:Tt.isCharacterBox(l)}},htmlBuilder:IFe,mathmlBuilder:TFe});Wn({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,n){var{parser:t}=e;return{type:"pmb",mode:t.mode,mclass:U5(n[0]),body:ri(n[0])}},htmlBuilder(e,n){var t=qi(e.body,n,!0),a=Re.makeSpan([e.mclass],t,n);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(e,n){var t=tc(e.body,n),a=new Ze.MathNode("mstyle",t);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var pwn={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},FFe=()=>({type:"styling",body:[],mode:"math",style:"display"}),MFe=e=>e.type==="textord"&&e.text==="@",_wn=(e,n)=>(e.type==="mathord"||e.type==="atom")&&e.text===n;function dwn(e,n,t){var a=pwn[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 hwn(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 tn("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var a=[],r=[a],o=0;o<n.length;o++){for(var i=n[o],u=FFe(),l=0;l<i.length;l++)if(!MFe(i[l]))u.body.push(i[l]);else{a.push(u),l+=1;var c=tq(i[l]).text,s=new Array(2);if(s[0]={type:"ordgroup",mode:"math",body:[]},s[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(c)>-1))if("<>AV".indexOf(c)>-1)for(var f=0;f<2;f++){for(var v=!0,m=l+1;m<i.length;m++){if(_wn(i[m],c)){v=!1,l=m;break}if(MFe(i[m]))throw new tn("Missing a "+c+" character to complete a CD arrow.",i[m]);s[f].body.push(i[m])}if(v)throw new tn("Missing a "+c+" character to complete a CD arrow.",i[l])}else throw new tn('Expected one of "<>AV=|." after @',i[l]);var _=dwn(c,s,e),R={type:"styling",body:[_],mode:"math",style:"display"};a.push(R),u=FFe()}o%2==0?a.push(u):a.shift(),a=[],r.push(a)}e.gullet.endGroup(),e.gullet.endGroup();var D=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:D,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=Re.wrapFragment(qa(e.label,t,n),n);return a.classes.push("cd-label-"+e.side),a.style.bottom=Tn(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(e,n){var t=new Ze.MathNode("mrow",[Gr(e.label,n)]);return t=new Ze.MathNode("mpadded",[t]),t.setAttribute("width","0"),e.side==="left"&&t.setAttribute("lspace","-1width"),t.setAttribute("voffset","0.7em"),t=new Ze.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=Re.wrapFragment(qa(e.fragment,n),n);return t.classes.push("cd-vert-arrow"),t},mathmlBuilder(e,n){return new Ze.MathNode("mrow",[Gr(e.fragment,n)])}});Wn({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,n){for(var{parser:t}=e,a=_a(n[0],"ordgroup"),r=a.body,o="",i=0;i<r.length;i++){var u=_a(r[i],"textord");o+=u.text}var l=parseInt(o),c;if(isNaN(l))throw new tn("\\@char has non-numeric argument "+o);if(l<0||l>=1114111)throw new tn("\\@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 GFe=(e,n)=>{var t=qi(e.body,n.withColor(e.color),!1);return Re.makeFragment(t)},AFe=(e,n)=>{var t=tc(e.body,n.withColor(e.color)),a=new Ze.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=_a(n[0],"color-token").color,r=n[1];return{type:"color",mode:t.mode,color:a,body:ri(r)}},htmlBuilder:GFe,mathmlBuilder:AFe});Wn({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,n){var{parser:t,breakOnTokenText:a}=e,r=_a(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:GFe,mathmlBuilder:AFe});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&&_a(r,"size").value}},htmlBuilder(e,n){var t=Re.makeSpan(["mspace"],[],n);return e.newLine&&(t.classes.push("newline"),e.size&&(t.style.marginTop=Tn(Eo(e.size,n)))),t},mathmlBuilder(e,n){var t=new Ze.MathNode("mspace");return e.newLine&&(t.setAttribute("linebreak","newline"),e.size&&t.setAttribute("height",Tn(Eo(e.size,n)))),t}});var rq={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},xFe=e=>{var n=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new tn("Expected a control sequence",e);return n},gwn=e=>{var n=e.gullet.popToken();return n.text==="="&&(n=e.gullet.popToken(),n.text===" "&&(n=e.gullet.popToken())),n},LFe=(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(rq[a.text])return(t==="\\global"||t==="\\\\globallong")&&(a.text=rq[a.text]),_a(n.parseFunction(),"internal");throw new tn("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 tn("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 tn('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==o+1)throw new tn('Argument number "'+a.text+'" out of order');o++,u.push([])}else{if(a.text==="EOF")throw new tn("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===rq[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=xFe(n.gullet.popToken());n.gullet.consumeSpaces();var r=gwn(n);return LFe(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=xFe(n.gullet.popToken()),r=n.gullet.popToken(),o=n.gullet.popToken();return LFe(n,a,o,t==="\\\\globalfuture"),n.gullet.pushToken(o),n.gullet.pushToken(r),{type:"internal",mode:n.mode}}});var kT=function(n,t,a){var r=Or.math[n]&&Or.math[n].replace,o=WW(r||n,t,a);if(!o)throw new Error("Unsupported symbol "+n+" and font size "+t+".");return o},oq=function(n,t,a,r){var o=a.havingBaseStyle(t),i=Re.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},jFe=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=Tn(o),n.height-=o,n.depth+=o},Dwn=function(n,t,a,r,o,i){var u=Re.makeSymbol(n,"Main-Regular",o,r),l=oq(u,t,r,i);return a&&jFe(l,r,t),l},ywn=function(n,t,a,r){return Re.makeSymbol(n,"Size"+t+"-Regular",a,r)},NFe=function(n,t,a,r,o,i){var u=ywn(n,t,o,r),l=oq(Re.makeSpan(["delimsizing","size"+t],[u],r),jt.TEXT,r,i);return a&&jFe(l,r,jt.TEXT),l},iq=function(n,t,a){var r;t==="Size1-Regular"?r="delim-size1":r="delim-size4";var o=Re.makeSpan(["delimsizinginner",r],[Re.makeSpan([],[Re.makeSymbol(n,t,a)])]);return{type:"elem",elem:o}},uq=function(n,t,a){var r=W0["Size4-Regular"][n.charCodeAt(0)]?W0["Size4-Regular"][n.charCodeAt(0)][4]:W0["Size1-Regular"][n.charCodeAt(0)][4],o=new bp("inner",IRn(n,Math.round(1e3*t))),i=new z0([o],{width:Tn(r),height:Tn(t),style:"width:"+Tn(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),u=Re.makeSvgSpan([],[i],a);return u.height=t,u.style.height=Tn(t),u.style.width=Tn(r),{type:"elem",elem:u}},lq=.008,H5={type:"kern",size:-1*lq},bwn=["|","\\lvert","\\rvert","\\vert"],Rwn=["\\|","\\lVert","\\rVert","\\Vert"],PFe=function(n,t,a,r,o,i){var u,l,c,s,f="",v=0;u=c=s=n,l=null;var m="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"):Tt.contains(bwn,n)?(c="\u2223",f="vert",v=333):Tt.contains(Rwn,n)?(c="\u2225",f="doublevert",v=556):n==="["||n==="\\lbrack"?(u="\u23A1",c="\u23A2",s="\u23A3",m="Size4-Regular",f="lbrack",v=667):n==="]"||n==="\\rbrack"?(u="\u23A4",c="\u23A5",s="\u23A6",m="Size4-Regular",f="rbrack",v=667):n==="\\lfloor"||n==="\u230A"?(c=u="\u23A2",s="\u23A3",m="Size4-Regular",f="lfloor",v=667):n==="\\lceil"||n==="\u2308"?(u="\u23A1",c=s="\u23A2",m="Size4-Regular",f="lceil",v=667):n==="\\rfloor"||n==="\u230B"?(c=u="\u23A5",s="\u23A6",m="Size4-Regular",f="rfloor",v=667):n==="\\rceil"||n==="\u2309"?(u="\u23A4",c=s="\u23A5",m="Size4-Regular",f="rceil",v=667):n==="("||n==="\\lparen"?(u="\u239B",c="\u239C",s="\u239D",m="Size4-Regular",f="lparen",v=875):n===")"||n==="\\rparen"?(u="\u239E",c="\u239F",s="\u23A0",m="Size4-Regular",f="rparen",v=875):n==="\\{"||n==="\\lbrace"?(u="\u23A7",l="\u23A8",s="\u23A9",c="\u23AA",m="Size4-Regular"):n==="\\}"||n==="\\rbrace"?(u="\u23AB",l="\u23AC",s="\u23AD",c="\u23AA",m="Size4-Regular"):n==="\\lgroup"||n==="\u27EE"?(u="\u23A7",s="\u23A9",c="\u23AA",m="Size4-Regular"):n==="\\rgroup"||n==="\u27EF"?(u="\u23AB",s="\u23AD",c="\u23AA",m="Size4-Regular"):n==="\\lmoustache"||n==="\u23B0"?(u="\u23A7",s="\u23AD",c="\u23AA",m="Size4-Regular"):(n==="\\rmoustache"||n==="\u23B1")&&(u="\u23AB",s="\u23A9",c="\u23AA",m="Size4-Regular");var _=kT(u,m,o),R=_.height+_.depth,D=kT(c,m,o),y=D.height+D.depth,S=kT(s,m,o),G=S.height+S.depth,P=0,k=1;if(l!==null){var M=kT(l,m,o);P=M.height+M.depth,k=2}var O=R+G+P,oe=Math.max(0,Math.ceil((t-O)/(k*y))),le=O+oe*k*y,ve=r.fontMetrics().axisHeight;a&&(ve*=r.sizeMultiplier);var X=le/2-ve,be=[];if(f.length>0){var pe=le-R-G,De=Math.round(le*1e3),Ne=TRn(f,Math.round(pe*1e3)),ie=new bp(f,Ne),jn=(v/1e3).toFixed(3)+"em",Ve=(De/1e3).toFixed(3)+"em",Pn=new z0([ie],{width:jn,height:Ve,viewBox:"0 0 "+v+" "+De}),kn=Re.makeSvgSpan([],[Pn],r);kn.height=De/1e3,kn.style.width=jn,kn.style.height=Ve,be.push({type:"elem",elem:kn})}else{if(be.push(iq(s,m,o)),be.push(H5),l===null){var q=le-R-G+2*lq;be.push(uq(c,q,r))}else{var x=(le-R-G-P)/2+2*lq;be.push(uq(c,x,r)),be.push(H5),be.push(iq(l,m,o)),be.push(H5),be.push(uq(c,x,r))}be.push(H5),be.push(iq(u,m,o))}var ne=r.havingBaseStyle(jt.TEXT),me=Re.makeVList({positionType:"bottom",positionData:X,children:be},ne);return oq(Re.makeSpan(["delimsizing","mult"],[me],ne),jt.TEXT,r,i)},cq=80,sq=.08,fq=function(n,t,a,r,o){var i=CRn(n,r,a),u=new bp(n,i),l=new z0([u],{width:"400em",height:Tn(t),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return Re.makeSvgSpan(["hide-tail"],[l],o)},wwn=function(n,t){var a=t.havingBaseSizing(),r=HFe("\\surd",n*a.sizeMultiplier,UFe,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+cq,n<1?o=1:n<1.4&&(o=.7),l=(1+i+sq)/o,c=(1+i)/o,u=fq("sqrtMain",l,s,i,t),u.style.minWidth="0.853em",f=.833/o):r.type==="large"?(s=(1e3+cq)*OT[r.size],c=(OT[r.size]+i)/o,l=(OT[r.size]+i+sq)/o,u=fq("sqrtSize"+r.size,l,s,i,t),u.style.minWidth="1.02em",f=1/o):(l=n+i+sq,c=n+i,s=Math.floor(1e3*n+i)+cq,u=fq("sqrtTall",l,s,i,t),u.style.minWidth="0.742em",f=1.056),u.height=c,u.style.height=Tn(l),{span:u,advanceWidth:f,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*o}},kFe=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230A","\u230B","\\lceil","\\rceil","\u2308","\u2309","\\surd"],Swn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27EE","\u27EF","\\lmoustache","\\rmoustache","\u23B0","\u23B1"],OFe=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],OT=[0,1.2,1.8,2.4,3],Ewn=function(n,t,a,r,o){if(n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle"),Tt.contains(kFe,n)||Tt.contains(OFe,n))return NFe(n,t,!1,a,r,o);if(Tt.contains(Swn,n))return PFe(n,OT[t],!1,a,r,o);throw new tn("Illegal delimiter: '"+n+"'")},Cwn=[{type:"small",style:jt.SCRIPTSCRIPT},{type:"small",style:jt.SCRIPT},{type:"small",style:jt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Iwn=[{type:"small",style:jt.SCRIPTSCRIPT},{type:"small",style:jt.SCRIPT},{type:"small",style:jt.TEXT},{type:"stack"}],UFe=[{type:"small",style:jt.SCRIPTSCRIPT},{type:"small",style:jt.SCRIPT},{type:"small",style:jt.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Twn=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.")},HFe=function(n,t,a,r){for(var o=Math.min(2,3-r.style.size),i=o;i<a.length&&a[i].type!=="stack";i++){var u=kT(n,Twn(a[i]),"math"),l=u.height+u.depth;if(a[i].type==="small"){var c=r.havingBaseStyle(a[i].style);l*=c.sizeMultiplier}if(l>t)return a[i]}return a[a.length-1]},BFe=function(n,t,a,r,o,i){n==="<"||n==="\\lt"||n==="\u27E8"?n="\\langle":(n===">"||n==="\\gt"||n==="\u27E9")&&(n="\\rangle");var u;Tt.contains(OFe,n)?u=Cwn:Tt.contains(kFe,n)?u=UFe:u=Iwn;var l=HFe(n,t,u,r);return l.type==="small"?Dwn(n,l.style,a,r,o,i):l.type==="large"?NFe(n,l.size,a,r,o,i):PFe(n,t,a,r,o,i)},Fwn=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 BFe(n,f,!0,r,o,i)},Ip={sqrtImage:wwn,sizedDelim:Ewn,sizeToMaxHeight:OT,customSizedDelim:BFe,leftRightDelim:Fwn},JFe={"\\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}},Mwn=["(","\\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 B5(e,n){var t=k5(e);if(t&&Tt.contains(Mwn,t.text))return t;throw t?new tn("Invalid delimiter '"+t.text+"' after '"+n.funcName+"'",e):new tn("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=B5(n[0],e);return{type:"delimsizing",mode:e.parser.mode,size:JFe[e.funcName].size,mclass:JFe[e.funcName].mclass,delim:t.text}},htmlBuilder:(e,n)=>e.delim==="."?Re.makeSpan([e.mclass]):Ip.sizedDelim(e.delim,e.size,n,e.mode,[e.mclass]),mathmlBuilder:e=>{var n=[];e.delim!=="."&&n.push(uf(e.delim,e.mode));var t=new Ze.MathNode("mo",n);e.mclass==="mopen"||e.mclass==="mclose"?t.setAttribute("fence","true"):t.setAttribute("fence","false"),t.setAttribute("stretchy","true");var a=Tn(Ip.sizeToMaxHeight[e.size]);return t.setAttribute("minsize",a),t.setAttribute("maxsize",a),t}});function WFe(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 tn("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:B5(n[0],e).text,color:t}}});Wn({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=B5(n[0],e),a=e.parser;++a.leftrightDepth;var r=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var o=_a(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:r,left:t.text,right:o.delim,rightColor:o.color}},htmlBuilder:(e,n)=>{WFe(e);for(var t=qi(e.body,n,!0,["mopen","mclose"]),a=0,r=0,o=!1,i=0;i<t.length;i++)t[i].isMiddle?o=!0:(a=Math.max(t[i].height,a),r=Math.max(t[i].depth,r));a*=n.sizeMultiplier,r*=n.sizeMultiplier;var u;if(e.left==="."?u=PT(n,["mopen"]):u=Ip.leftRightDelim(e.left,a,r,n,e.mode,["mopen"]),t.unshift(u),o)for(var l=1;l<t.length;l++){var c=t[l],s=c.isMiddle;s&&(t[l]=Ip.leftRightDelim(s.delim,a,r,s.options,e.mode,[]))}var f;if(e.right===".")f=PT(n,["mclose"]);else{var v=e.rightColor?n.withColor(e.rightColor):n;f=Ip.leftRightDelim(e.right,a,r,v,e.mode,["mclose"])}return t.push(f),Re.makeSpan(["minner"],t,n)},mathmlBuilder:(e,n)=>{WFe(e);var t=tc(e.body,n);if(e.left!=="."){var a=new Ze.MathNode("mo",[uf(e.left,e.mode)]);a.setAttribute("fence","true"),t.unshift(a)}if(e.right!=="."){var r=new Ze.MathNode("mo",[uf(e.right,e.mode)]);r.setAttribute("fence","true"),e.rightColor&&r.setAttribute("mathcolor",e.rightColor),t.push(r)}return KW(t)}});Wn({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,n)=>{var t=B5(n[0],e);if(!e.parser.leftrightDepth)throw new tn("\\middle without preceding \\left",t);return{type:"middle",mode:e.parser.mode,delim:t.text}},htmlBuilder:(e,n)=>{var t;if(e.delim===".")t=PT(n,[]);else{t=Ip.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==="|"?uf("|","text"):uf(e.delim,e.mode),a=new Ze.MathNode("mo",[t]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var vq=(e,n)=>{var t=Re.wrapFragment(qa(e.body,n),n),a=e.label.slice(1),r=n.sizeMultiplier,o,i=0,u=Tt.isCharacterBox(e.body);if(a==="sout")o=Re.makeSpan(["stretchy","sout"]),o.height=n.fontMetrics().defaultRuleThickness/r,i=-.5*n.fontMetrics().xHeight;else if(a==="phase"){var l=Eo({number:.6,unit:"pt"},n),c=Eo({number:.35,unit:"ex"},n),s=n.havingBaseSizing();r=r/s.sizeMultiplier;var f=t.height+t.depth+l+c;t.style.paddingLeft=Tn(f/2+l);var v=Math.floor(1e3*f*r),m=SRn(v),_=new z0([new bp("phase",m)],{width:"400em",height:Tn(v/1e3),viewBox:"0 0 400000 "+v,preserveAspectRatio:"xMinYMin slice"});o=Re.makeSvgSpan(["hide-tail"],[_],n),o.style.height=Tn(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 R=0,D=0,y=0;/box/.test(a)?(y=Math.max(n.fontMetrics().fboxrule,n.minRuleThickness),R=n.fontMetrics().fboxsep+(a==="colorbox"?0:y),D=R):a==="angl"?(y=Math.max(n.fontMetrics().defaultRuleThickness,n.minRuleThickness),R=4*y,D=Math.max(0,.25-t.depth)):(R=u?.2:0,D=R),o=Cp.encloseSpan(t,a,R,D,n),/fbox|boxed|fcolorbox/.test(a)?(o.style.borderStyle="solid",o.style.borderWidth=Tn(y)):a==="angl"&&y!==.049&&(o.style.borderTopWidth=Tn(y),o.style.borderRightWidth=Tn(y)),i=t.depth+D,e.backgroundColor&&(o.style.backgroundColor=e.backgroundColor,e.borderColor&&(o.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:i},{type:"elem",elem:t,shift:0}]},n);else{var G=/cancel|phase/.test(a)?["svg-align"]:[];S=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:t,shift:0},{type:"elem",elem:o,shift:i,wrapperClasses:G}]},n)}return/cancel/.test(a)&&(S.height=t.height,S.depth=t.depth),/cancel/.test(a)&&!u?Re.makeSpan(["mord","cancel-lap"],[S],n):Re.makeSpan(["mord"],[S],n)},mq=(e,n)=>{var t=0,a=new Ze.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Gr(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=_a(n[0],"color-token").color,i=n[1];return{type:"enclose",mode:a.mode,label:r,backgroundColor:o,body:i}},htmlBuilder:vq,mathmlBuilder:mq});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=_a(n[0],"color-token").color,i=_a(n[1],"color-token").color,u=n[2];return{type:"enclose",mode:a.mode,label:r,backgroundColor:i,borderColor:o,body:u}},htmlBuilder:vq,mathmlBuilder:mq});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:vq,mathmlBuilder:mq});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 qFe={};function $0(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<t.length;++l)qFe[t[l]]=u;o&&(L5[n]=o),i&&(j5[n]=i)}var zFe={};function j(e,n){zFe[e]=n}function $Fe(e){var n=[];e.consumeSpaces();var t=e.fetch().text;for(t==="\\relax"&&(e.consume(),e.consumeSpaces(),t=e.fetch().text);t==="\\hline"||t==="\\hdashline";)e.consume(),n.push(t==="\\hdashline"),e.consumeSpaces(),t=e.fetch().text;return n}var J5=e=>{var n=e.parser.settings;if(!n.displayMode)throw new tn("{"+e.envName+"} can be used only in display mode.")};function pq(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Vd(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 m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)i=1;else if(i=parseFloat(m),!i||i<0)throw new tn("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var _=[],R=[_],D=[],y=[],S=l!=null?[]:void 0;function G(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Zc("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(Boolean(l)&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(G(),y.push($Fe(e));;){var k=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),k={type:"ordgroup",mode:e.mode,body:k},t&&(k={type:"styling",mode:e.mode,style:t,body:[k]}),_.push(k);var M=e.fetch().text;if(M==="&"){if(f&&_.length===f){if(c||u)throw new tn("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(M==="\\end"){P(),_.length===1&&k.type==="styling"&&k.body[0].body.length===0&&(R.length>1||!s)&&R.pop(),y.length<R.length+1&&y.push([]);break}else if(M==="\\\\"){e.consume();var O=void 0;e.gullet.future().text!==" "&&(O=e.parseSizeGroup(!0)),D.push(O?O.value:null),P(),y.push($Fe(e)),_=[],R.push(_),G()}else throw new tn("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:r,arraystretch:i,body:R,cols:o,rowGaps:D,hskipBeforeAndAfter:a,hLinesBeforeRow:y,colSeparationType:u,tags:S,leqno:v}}function _q(e){return e.slice(0,1)==="d"?"display":"text"}var V0=function(n,t){var a,r,o=n.body.length,i=n.hLinesBeforeRow,u=0,l=new Array(o),c=[],s=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),f=1/t.fontMetrics().ptPerEm,v=5*f;if(n.colSeparationType&&n.colSeparationType==="small"){var m=t.havingStyle(jt.SCRIPT).sizeMultiplier;v=.2778*(m/t.sizeMultiplier)}var _=n.colSeparationType==="CD"?Eo({number:3,unit:"ex"},t):12*f,R=3*f,D=n.arraystretch*_,y=.7*D,S=.3*D,G=0;function P(tt){for(var ht=0;ht<tt.length;++ht)ht>0&&(G+=.25),c.push({pos:G,isDashed:tt[ht]})}for(P(i[0]),a=0;a<n.body.length;++a){var k=n.body[a],M=y,O=S;u<k.length&&(u=k.length);var oe=new Array(k.length);for(r=0;r<k.length;++r){var le=qa(k[r],t);O<le.depth&&(O=le.depth),M<le.height&&(M=le.height),oe[r]=le}var ve=n.rowGaps[a],X=0;ve&&(X=Eo(ve,t),X>0&&(X+=S,O<X&&(O=X),X=0)),n.addJot&&(O+=R),oe.height=M,oe.depth=O,G+=M,oe.pos=G,G+=O+X,l[a]=oe,P(i[a+1])}var be=G/2+t.fontMetrics().axisHeight,pe=n.cols||[],De=[],Ne,ie,jn=[];if(n.tags&&n.tags.some(tt=>tt))for(a=0;a<o;++a){var Ve=l[a],Pn=Ve.pos-be,kn=n.tags[a],q=void 0;kn===!0?q=Re.makeSpan(["eqn-num"],[],t):kn===!1?q=Re.makeSpan([],[],t):q=Re.makeSpan([],qi(kn,t,!0),t),q.depth=Ve.depth,q.height=Ve.height,jn.push({type:"elem",elem:q,shift:Pn})}for(r=0,ie=0;r<u||ie<pe.length;++r,++ie){for(var x=pe[ie]||{},ne=!0;x.type==="separator";){if(ne||(Ne=Re.makeSpan(["arraycolsep"],[]),Ne.style.width=Tn(t.fontMetrics().doubleRuleSep),De.push(Ne)),x.separator==="|"||x.separator===":"){var me=x.separator==="|"?"solid":"dashed",ye=Re.makeSpan(["vertical-separator"],[],t);ye.style.height=Tn(G),ye.style.borderRightWidth=Tn(s),ye.style.borderRightStyle=me,ye.style.margin="0 "+Tn(-s/2);var U=G-be;U&&(ye.style.verticalAlign=Tn(-U)),De.push(ye)}else throw new tn("Invalid separator type: "+x.separator);ie++,x=pe[ie]||{},ne=!1}if(!(r>=u)){var de=void 0;(r>0||n.hskipBeforeAndAfter)&&(de=Tt.deflt(x.pregap,v),de!==0&&(Ne=Re.makeSpan(["arraycolsep"],[]),Ne.style.width=Tn(de),De.push(Ne)));var V=[];for(a=0;a<o;++a){var Ae=l[a],Me=Ae[r];if(!!Me){var He=Ae.pos-be;Me.depth=Ae.depth,Me.height=Ae.height,V.push({type:"elem",elem:Me,shift:He})}}V=Re.makeVList({positionType:"individualShift",children:V},t),V=Re.makeSpan(["col-align-"+(x.align||"c")],[V]),De.push(V),(r<u-1||n.hskipBeforeAndAfter)&&(de=Tt.deflt(x.postgap,v),de!==0&&(Ne=Re.makeSpan(["arraycolsep"],[]),Ne.style.width=Tn(de),De.push(Ne)))}}if(l=Re.makeSpan(["mtable"],De),c.length>0){for(var $e=Re.makeLineSpan("hline",t,s),je=Re.makeLineSpan("hdashline",t,s),In=[{type:"elem",elem:l,shift:0}];c.length>0;){var cn=c.pop(),nt=cn.pos-be;cn.isDashed?In.push({type:"elem",elem:je,shift:nt}):In.push({type:"elem",elem:$e,shift:nt})}l=Re.makeVList({positionType:"individualShift",children:In},t)}if(jn.length===0)return Re.makeSpan(["mord"],[l],t);var Cn=Re.makeVList({positionType:"individualShift",children:jn},t);return Cn=Re.makeSpan(["tag"],[Cn],t),Re.makeFragment([l,Cn])},Gwn={c:"center ",l:"left ",r:"right "},Q0=function(n,t){for(var a=[],r=new Ze.MathNode("mtd",[],["mtr-glue"]),o=new Ze.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<n.body.length;i++){for(var u=n.body[i],l=[],c=0;c<u.length;c++)l.push(new Ze.MathNode("mtd",[Gr(u[c],t)]));n.tags&&n.tags[i]&&(l.unshift(r),l.push(r),n.leqno?l.unshift(o):l.push(o)),a.push(new Ze.MathNode("mtr",l))}var s=new Ze.MathNode("mtable",a),f=n.arraystretch===.5?.1:.16+n.arraystretch-1+(n.addJot?.09:0);s.setAttribute("rowspacing",Tn(f));var v="",m="";if(n.cols&&n.cols.length>0){var _=n.cols,R="",D=!1,y=0,S=_.length;_[0].type==="separator"&&(v+="top ",y=1),_[_.length-1].type==="separator"&&(v+="bottom ",S-=1);for(var G=y;G<S;G++)_[G].type==="align"?(m+=Gwn[_[G].align],D&&(R+="none "),D=!0):_[G].type==="separator"&&D&&(R+=_[G].separator==="|"?"solid ":"dashed ",D=!1);s.setAttribute("columnalign",m.trim()),/[sd]/.test(R)&&s.setAttribute("columnlines",R.trim())}if(n.colSeparationType==="align"){for(var P=n.cols||[],k="",M=1;M<P.length;M++)k+=M%2?"0em ":"1em ";s.setAttribute("columnspacing",k.trim())}else n.colSeparationType==="alignat"||n.colSeparationType==="gather"?s.setAttribute("columnspacing","0em"):n.colSeparationType==="small"?s.setAttribute("columnspacing","0.2778em"):n.colSeparationType==="CD"?s.setAttribute("columnspacing","0.5em"):s.setAttribute("columnspacing","1em");var O="",oe=n.hLinesBeforeRow;v+=oe[0].length>0?"left ":"",v+=oe[oe.length-1].length>0?"right ":"";for(var le=1;le<oe.length-1;le++)O+=oe[le].length===0?"none ":oe[le][0]?"dashed ":"solid ";return/[sd]/.test(O)&&s.setAttribute("rowlines",O.trim()),v!==""&&(s=new Ze.MathNode("menclose",[s]),s.setAttribute("notation",v.trim())),n.arraystretch&&n.arraystretch<1&&(s=new Ze.MathNode("mstyle",[s]),s.setAttribute("scriptlevel","1")),s},VFe=function(n,t){n.envName.indexOf("ed")===-1&&J5(n);var a=[],r=n.envName.indexOf("at")>-1?"alignat":"align",o=n.envName==="split",i=Vd(n.parser,{cols:a,addJot:!0,autoTag:o?void 0:pq(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;f<t[0].body.length;f++){var v=_a(t[0].body[f],"textord");s+=v.text}u=Number(s),l=u*2}var m=!l;i.body.forEach(function(y){for(var S=1;S<y.length;S+=2){var G=_a(y[S],"styling"),P=_a(G.body[0],"ordgroup");P.body.unshift(c)}if(m)l<y.length&&(l=y.length);else{var k=y.length/2;if(u<k)throw new tn("Too many math in a row: "+("expected "+u+", but got "+k),y[0])}});for(var _=0;_<l;++_){var R="r",D=0;_%2==1?R="l":_>0&&m&&(D=1),a[_]={type:"align",align:R,pregap:D,postgap:0}}return i.colSeparationType=m?"align":"alignat",i};$0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,n){var t=k5(n[0]),a=t?[n[0]]:_a(n[0],"ordgroup").body,r=a.map(function(i){var u=tq(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 tn("Unknown column alignment: "+l,i)}),o={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Vd(e.parser,o,_q(e.envName))},htmlBuilder:V0,mathmlBuilder:Q0});$0({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 tn("Expected l or c or r",r.nextToken);r.consume(),r.consumeSpaces(),r.expect("]"),r.consume(),a.cols=[{type:"align",align:t}]}}var o=Vd(e.parser,a,_q(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:V0,mathmlBuilder:Q0});$0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var n={arraystretch:.5},t=Vd(e.parser,n,"script");return t.colSeparationType="small",t},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,n){var t=k5(n[0]),a=t?[n[0]]:_a(n[0],"ordgroup").body,r=a.map(function(i){var u=tq(i),l=u.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new tn("Unknown column alignment: "+l,i)});if(r.length>1)throw new tn("{subarray} can contain only one column");var o={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if(o=Vd(e.parser,o,"script"),o.body.length>0&&o.body[0].length>1)throw new tn("{subarray} can contain only one column");return o},htmlBuilder:V0,mathmlBuilder:Q0});$0({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=Vd(e.parser,n,_q(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:V0,mathmlBuilder:Q0});$0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:VFe,htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Tt.contains(["gather","gather*"],e.envName)&&J5(e);var n={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:pq(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Vd(e.parser,n,"display")},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:VFe,htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){J5(e);var n={autoTag:pq(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Vd(e.parser,n,"display")},htmlBuilder:V0,mathmlBuilder:Q0});$0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return J5(e),hwn(e.parser)},htmlBuilder:V0,mathmlBuilder:Q0});j("\\nonumber","\\gdef\\@eqnsw{0}");j("\\notag","\\nonumber");Wn({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,n){throw new tn(e.funcName+" valid only within array environment")}});var QFe=qFe;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 tn("Invalid environment name",r);for(var o="",i=0;i<r.body.length;++i)o+=_a(r.body[i],"textord").text;if(a==="\\begin"){if(!QFe.hasOwnProperty(o))throw new tn("No such environment: "+o,r);var u=QFe[o],{args:l,optArgs:c}=t.parseArguments("\\begin{"+o+"}",u),s={mode:t.mode,envName:o,parser:t},f=u.handler(s,l,c);t.expect("\\end",!1);var v=t.nextToken,m=_a(t.parseFunction(),"environment");if(m.name!==o)throw new tn("Mismatch: \\begin{"+o+"} matched by \\end{"+m.name+"}",v);return f}return{type:"environment",mode:t.mode,name:o,nameGroup:r}}});var YFe=(e,n)=>{var t=e.font,a=n.withFont(t);return qa(e.body,a)},XFe=(e,n)=>{var t=e.font,a=n.withFont(t);return Gr(e.body,a)},ZFe={"\\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=N5(n[0]),o=a;return o in ZFe&&(o=ZFe[o]),{type:"font",mode:t.mode,font:o.slice(1),body:r}},htmlBuilder:YFe,mathmlBuilder:XFe});Wn({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,n)=>{var{parser:t}=e,a=n[0],r=Tt.isCharacterBox(a);return{type:"mclass",mode:t.mode,mclass:U5(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:YFe,mathmlBuilder:XFe});var KFe=(e,n)=>{var t=n;return e==="display"?t=t.id>=jt.SCRIPT.id?t.text():jt.DISPLAY:e==="text"&&t.size===jt.DISPLAY.size?t=jt.TEXT:e==="script"?t=jt.SCRIPT:e==="scriptscript"&&(t=jt.SCRIPTSCRIPT),t},dq=(e,n)=>{var t=KFe(e.size,n.style),a=t.fracNum(),r=t.fracDen(),o;o=n.havingStyle(a);var i=qa(e.numer,o,n);if(e.continued){var u=8.5/n.fontMetrics().ptPerEm,l=3.5/n.fontMetrics().ptPerEm;i.height=i.height<u?u:i.height,i.depth=i.depth<l?l:i.depth}o=n.havingStyle(r);var c=qa(e.denom,o,n),s,f,v;e.hasBarLine?(e.barSize?(f=Eo(e.barSize,n),s=Re.makeLineSpan("frac-line",n,f)):s=Re.makeLineSpan("frac-line",n),f=s.height,v=s.height):(s=null,f=0,v=n.fontMetrics().defaultRuleThickness);var m,_,R;t.size===jt.DISPLAY.size||e.size==="display"?(m=n.fontMetrics().num1,f>0?_=3*v:_=7*v,R=n.fontMetrics().denom1):(f>0?(m=n.fontMetrics().num2,_=v):(m=n.fontMetrics().num3,_=3*v),R=n.fontMetrics().denom2);var D;if(s){var S=n.fontMetrics().axisHeight;m-i.depth-(S+.5*f)<_&&(m+=_-(m-i.depth-(S+.5*f))),S-.5*f-(c.height-R)<_&&(R+=_-(S-.5*f-(c.height-R)));var G=-(S-.5*f);D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:s,shift:G},{type:"elem",elem:i,shift:-m}]},n)}else{var y=m-i.depth-(c.height-R);y<_&&(m+=.5*(_-y),R+=.5*(_-y)),D=Re.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:R},{type:"elem",elem:i,shift:-m}]},n)}o=n.havingStyle(t),D.height*=o.sizeMultiplier/n.sizeMultiplier,D.depth*=o.sizeMultiplier/n.sizeMultiplier;var P;t.size===jt.DISPLAY.size?P=n.fontMetrics().delim1:t.size===jt.SCRIPTSCRIPT.size?P=n.havingStyle(jt.SCRIPT).fontMetrics().delim2:P=n.fontMetrics().delim2;var k,M;return e.leftDelim==null?k=PT(n,["mopen"]):k=Ip.customSizedDelim(e.leftDelim,P,!0,n.havingStyle(t),e.mode,["mopen"]),e.continued?M=Re.makeSpan([]):e.rightDelim==null?M=PT(n,["mclose"]):M=Ip.customSizedDelim(e.rightDelim,P,!0,n.havingStyle(t),e.mode,["mclose"]),Re.makeSpan(["mord"].concat(o.sizingClasses(n)),[k,Re.makeSpan(["mfrac"],[D]),M],n)},hq=(e,n)=>{var t=new Ze.MathNode("mfrac",[Gr(e.numer,n),Gr(e.denom,n)]);if(!e.hasBarLine)t.setAttribute("linethickness","0px");else if(e.barSize){var a=Eo(e.barSize,n);t.setAttribute("linethickness",Tn(a))}var r=KFe(e.size,n.style);if(r.size!==n.style.size){t=new Ze.MathNode("mstyle",[t]);var o=r.size===jt.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 Ze.MathNode("mo",[new Ze.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}if(i.push(t),e.rightDelim!=null){var l=new Ze.MathNode("mo",[new Ze.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}return KW(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:dq,mathmlBuilder:hq});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 e2e=["display","text","script","scriptscript"],n2e=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=N5(n[0]),i=o.type==="atom"&&o.family==="open"?n2e(o.text):null,u=N5(n[1]),l=u.type==="atom"&&u.family==="close"?n2e(u.text):null,c=_a(n[2],"size"),s,f=null;c.isBlank?s=!0:(f=c.value,s=f.number>0);var v="auto",m=n[3];if(m.type==="ordgroup"){if(m.body.length>0){var _=_a(m.body[0],"textord");v=e2e[Number(_.text)]}}else m=_a(m,"textord"),v=e2e[Number(m.text)];return{type:"genfrac",mode:t.mode,numer:a,denom:r,continued:!1,hasBarLine:s,barSize:f,leftDelim:i,rightDelim:l,size:v}},htmlBuilder:dq,mathmlBuilder:hq});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:_a(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=cRn(_a(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:dq,mathmlBuilder:hq});var t2e=(e,n)=>{var t=n.style,a,r;e.type==="supsub"?(a=e.sup?qa(e.sup,n.havingStyle(t.sup()),n):qa(e.sub,n.havingStyle(t.sub()),n),r=_a(e.base,"horizBrace")):r=_a(e,"horizBrace");var o=qa(r.base,n.havingBaseStyle(jt.DISPLAY)),i=Cp.svgSpan(r,n),u;if(r.isOver?(u=Re.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=Re.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=Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n);r.isOver?u=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:a}]},n):u=Re.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 Re.makeSpan(["mord",r.isOver?"mover":"munder"],[u],n)},Awn=(e,n)=>{var t=Cp.mathMLnode(e.label);return new Ze.MathNode(e.isOver?"mover":"munder",[Gr(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:t2e,mathmlBuilder:Awn});Wn({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t}=e,a=n[1],r=_a(n[0],"url").url;return t.settings.isTrusted({command:"\\href",url:r})?{type:"href",mode:t.mode,href:r,body:ri(a)}:t.formatUnsupportedCmd("\\href")},htmlBuilder:(e,n)=>{var t=qi(e.body,n,!1);return Re.makeAnchor(e.href,[],t,n)},mathmlBuilder:(e,n)=>{var t=$d(e.body,n);return t instanceof nc||(t=new nc("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=_a(n[0],"url").url;if(!t.settings.isTrusted({command:"\\url",url:a}))return t.formatUnsupportedCmd("\\url");for(var r=[],o=0;o<a.length;o++){var i=a[o];i==="~"&&(i="\\textasciitilde"),r.push({type:"textord",mode:"text",text:i})}var u={type:"text",mode:t.mode,font:"\\texttt",body:r};return{type:"href",mode:t.mode,href:a,body:ri(u)}}});Wn({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,n){var{parser:t}=e;return{type:"hbox",mode:t.mode,body:ri(n[0])}},htmlBuilder(e,n){var t=qi(e.body,n,!1);return Re.makeFragment(t)},mathmlBuilder(e,n){return new Ze.MathNode("mrow",tc(e.body,n))}});Wn({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,n)=>{var{parser:t,funcName:a,token:r}=e,o=_a(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<c.length;s++){var f=c[s].split("=");if(f.length!==2)throw new tn("Error parsing key-value for \\htmlData");l["data-"+f[0].trim()]=f[1].trim()}u={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return t.settings.isTrusted(u)?{type:"html",mode:t.mode,attributes:l,body:ri(i)}:t.formatUnsupportedCmd(a)},htmlBuilder:(e,n)=>{var t=qi(e.body,n,!1),a=["enclosing"];e.attributes.class&&a.push(...e.attributes.class.trim().split(/\s+/));var r=Re.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)=>$d(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:ri(n[0]),mathml:ri(n[1])}},htmlBuilder:(e,n)=>{var t=qi(e.html,n,!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>$d(e.mathml,n)});var gq=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 tn("Invalid size: '"+n+"' in \\includegraphics");var a={number:+(t[1]+t[2]),unit:t[3]};if(!rFe(a))throw new tn("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=_a(t[0],"raw").string,c=l.split(","),s=0;s<c.length;s++){var f=c[s].split("=");if(f.length===2){var v=f[1].trim();switch(f[0].trim()){case"alt":u=v;break;case"width":r=gq(v);break;case"height":o=gq(v);break;case"totalheight":i=gq(v);break;default:throw new tn("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=_a(n[0],"url").url;return u===""&&(u=m,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),a.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:a.mode,alt:u,width:r,height:o,totalheight:i,src:m}:a.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,n)=>{var t=Eo(e.height,n),a=0;e.totalheight.number>0&&(a=Eo(e.totalheight,n)-t);var r=0;e.width.number>0&&(r=Eo(e.width,n));var o={height:Tn(t+a)};r>0&&(o.width=Tn(r)),a>0&&(o.verticalAlign=Tn(-a));var i=new lFe(e.src,e.alt,o);return i.height=t,i.depth=a,i},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mglyph",[]);t.setAttribute("alt",e.alt);var a=Eo(e.height,n),r=0;if(e.totalheight.number>0&&(r=Eo(e.totalheight,n)-a,t.setAttribute("valign",Tn(-r))),t.setAttribute("height",Tn(a+r)),e.width.number>0){var o=Eo(e.width,n);t.setAttribute("width",Tn(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=_a(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 Re.makeGlue(e.dimension,n)},mathmlBuilder(e,n){var t=Eo(e.dimension,n);return new Ze.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=Re.makeSpan([],[qa(e.body,n)]),t=Re.makeSpan(["inner"],[t],n)):t=Re.makeSpan(["inner"],[qa(e.body,n)]);var a=Re.makeSpan(["fix"],[]),r=Re.makeSpan([e.alignment],[t,a],n),o=Re.makeSpan(["strut"]);return o.style.height=Tn(r.height+r.depth),r.depth&&(o.style.verticalAlign=Tn(-r.depth)),r.children.unshift(o),r=Re.makeSpan(["thinbox"],[r],n),Re.makeSpan(["mord","vbox"],[r],n)},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mpadded",[Gr(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 tn("Mismatched "+e.funcName)}});var a2e=(e,n)=>{switch(n.style.size){case jt.DISPLAY.size:return e.display;case jt.TEXT.size:return e.text;case jt.SCRIPT.size:return e.script;case jt.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:ri(n[0]),text:ri(n[1]),script:ri(n[2]),scriptscript:ri(n[3])}},htmlBuilder:(e,n)=>{var t=a2e(e,n),a=qi(t,n,!1);return Re.makeFragment(a)},mathmlBuilder:(e,n)=>{var t=a2e(e,n);return $d(t,n)}});var r2e=(e,n,t,a,r,o,i)=>{e=Re.makeSpan([],[e]);var u=t&&Tt.isCharacterBox(t),l,c;if(n){var s=qa(n,a.havingStyle(r.sup()),a);c={elem:s,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-s.depth)}}if(t){var f=qa(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 m=a.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(l){var _=e.height-i;v=Re.makeVList({positionType:"top",positionData:_,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:Tn(-o)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},a)}else if(c){var R=e.depth+i;v=Re.makeVList({positionType:"bottom",positionData:R,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:Tn(o)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return e;var D=[v];if(l&&o!==0&&!u){var y=Re.makeSpan(["mspace"],[],a);y.style.marginRight=Tn(o),D.unshift(y)}return Re.makeSpan(["mop","op-limits"],D,a)},o2e=["\\smallint"],UR=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=_a(e.base,"op"),r=!0):o=_a(e,"op");var i=n.style,u=!1;i.size===jt.DISPLAY.size&&o.symbol&&!Tt.contains(o2e,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=Re.makeSymbol(o.name,c,"math",n,["mop","op-symbol",u?"large-op":"small-op"]),s.length>0){var f=l.italic,v=Re.staticSvg(s+"Size"+(u?"2":"1"),n);l=Re.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 m=qi(o.body,n,!0);m.length===1&&m[0]instanceof Kc?(l=m[0],l.classes[0]="mop"):l=Re.makeSpan(["mop"],m,n)}else{for(var _=[],R=1;R<o.name.length;R++)_.push(Re.mathsym(o.name[R],o.mode,n));l=Re.makeSpan(["mop"],_,n)}var D=0,y=0;return(l instanceof Kc||o.name==="\\oiint"||o.name==="\\oiiint")&&!o.suppressBaseShift&&(D=(l.height-l.depth)/2-n.fontMetrics().axisHeight,y=l.italic),r?r2e(l,t,a,n,i,y,D):(D&&(l.style.position="relative",l.style.top=Tn(D)),l)},UT=(e,n)=>{var t;if(e.symbol)t=new nc("mo",[uf(e.name,e.mode)]),Tt.contains(o2e,e.name)&&t.setAttribute("largeop","false");else if(e.body)t=new nc("mo",tc(e.body,n));else{t=new nc("mi",[new Gv(e.name.slice(1))]);var a=new nc("mo",[uf("\u2061","text")]);e.parentIsSupSub?t=new nc("mrow",[t,a]):t=bFe([t,a])}return t},xwn={"\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=xwn[r]),{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:UR,mathmlBuilder:UT});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:ri(a)}},htmlBuilder:UR,mathmlBuilder:UT});var Lwn={"\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:UR,mathmlBuilder:UT});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:UR,mathmlBuilder:UT});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=Lwn[a]),{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:UR,mathmlBuilder:UT});var i2e=(e,n)=>{var t,a,r=!1,o;e.type==="supsub"?(t=e.sup,a=e.sub,o=_a(e.base,"operatorname"),r=!0):o=_a(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=qi(u,n.withFont("mathrm"),!0),c=0;c<l.length;c++){var s=l[c];s instanceof Kc&&(s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=Re.makeSpan(["mop"],l,n)}else i=Re.makeSpan(["mop"],[],n);return r?r2e(i,t,a,n,n.style,0,0):i},jwn=(e,n)=>{for(var t=tc(e.body,n.withFont("mathrm")),a=!0,r=0;r<t.length;r++){var o=t[r];if(!(o instanceof Ze.SpaceNode))if(o instanceof Ze.MathNode)switch(o.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var i=o.children[0];o.children.length===1&&i instanceof Ze.TextNode?i.text=i.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):a=!1;break}default:a=!1}else a=!1}if(a){var u=t.map(s=>s.toText()).join("");t=[new Ze.TextNode(u)]}var l=new Ze.MathNode("mi",t);l.setAttribute("mathvariant","normal");var c=new Ze.MathNode("mo",[uf("\u2061","text")]);return e.parentIsSupSub?new Ze.MathNode("mrow",[l,c]):Ze.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:ri(r),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:i2e,mathmlBuilder:jwn});j("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");FD({type:"ordgroup",htmlBuilder(e,n){return e.semisimple?Re.makeFragment(qi(e.body,n,!1)):Re.makeSpan(["mord"],qi(e.body,n,!0),n)},mathmlBuilder(e,n){return $d(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=qa(e.body,n.havingCrampedStyle()),a=Re.makeLineSpan("overline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t},{type:"kern",size:3*r},{type:"elem",elem:a},{type:"kern",size:r}]},n);return Re.makeSpan(["mord","overline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("mover",[Gr(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:ri(a)}},htmlBuilder:(e,n)=>{var t=qi(e.body,n.withPhantom(),!1);return Re.makeFragment(t)},mathmlBuilder:(e,n)=>{var t=tc(e.body,n);return new Ze.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=Re.makeSpan([],[qa(e.body,n.withPhantom())]);if(t.height=0,t.depth=0,t.children)for(var a=0;a<t.children.length;a++)t.children[a].height=0,t.children[a].depth=0;return t=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},n),Re.makeSpan(["mord"],[t],n)},mathmlBuilder:(e,n)=>{var t=tc(ri(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.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=Re.makeSpan(["inner"],[qa(e.body,n.withPhantom())]),a=Re.makeSpan(["fix"],[]);return Re.makeSpan(["mord","rlap"],[t,a],n)},mathmlBuilder:(e,n)=>{var t=tc(ri(e.body),n),a=new Ze.MathNode("mphantom",t),r=new Ze.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=_a(n[0],"size").value,r=n[1];return{type:"raisebox",mode:t.mode,dy:a,body:r}},htmlBuilder(e,n){var t=qa(e.body,n),a=Eo(e.dy,n);return Re.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mpadded",[Gr(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=_a(n[0],"size"),i=_a(n[1],"size");return{type:"rule",mode:a.mode,shift:r&&_a(r,"size").value,width:o.value,height:i.value}},htmlBuilder(e,n){var t=Re.makeSpan(["mord","rule"],[],n),a=Eo(e.width,n),r=Eo(e.height,n),o=e.shift?Eo(e.shift,n):0;return t.style.borderRightWidth=Tn(a),t.style.borderTopWidth=Tn(r),t.style.bottom=Tn(o),t.width=a,t.height=r+o,t.depth=-o,t.maxFontSize=r*1.125*n.sizeMultiplier,t},mathmlBuilder(e,n){var t=Eo(e.width,n),a=Eo(e.height,n),r=e.shift?Eo(e.shift,n):0,o=n.color&&n.getColor()||"black",i=new Ze.MathNode("mspace");i.setAttribute("mathbackground",o),i.setAttribute("width",Tn(t)),i.setAttribute("height",Tn(a));var u=new Ze.MathNode("mpadded",[i]);return r>=0?u.setAttribute("height",Tn(r)):(u.setAttribute("height",Tn(r)),u.setAttribute("depth",Tn(-r))),u.setAttribute("voffset",Tn(r)),u}});function u2e(e,n,t){for(var a=qi(e,n,!1),r=n.sizeMultiplier/t.sizeMultiplier,o=0;o<a.length;o++){var i=a[o].classes.indexOf("sizing");i<0?Array.prototype.push.apply(a[o].classes,n.sizingClasses(t)):a[o].classes[i+1]==="reset-size"+n.size&&(a[o].classes[i+1]="reset-size"+t.size),a[o].height*=r,a[o].depth*=r}return Re.makeFragment(a)}var l2e=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Nwn=(e,n)=>{var t=n.havingSize(e.size);return u2e(e.body,t,n)};Wn({type:"sizing",names:l2e,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:l2e.indexOf(a)+1,body:o}},htmlBuilder:Nwn,mathmlBuilder:(e,n)=>{var t=n.havingSize(e.size),a=tc(e.body,t),r=new Ze.MathNode("mstyle",a);return r.setAttribute("mathsize",Tn(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]&&_a(t[0],"ordgroup");if(i)for(var u="",l=0;l<i.body.length;++l){var c=i.body[l];if(u=c.text,u==="t")r=!0;else if(u==="b")o=!0;else{r=!1,o=!1;break}}else r=!0,o=!0;var s=n[0];return{type:"smash",mode:a.mode,body:s,smashHeight:r,smashDepth:o}},htmlBuilder:(e,n)=>{var t=Re.makeSpan([],[qa(e.body,n)]);if(!e.smashHeight&&!e.smashDepth)return t;if(e.smashHeight&&(t.height=0,t.children))for(var a=0;a<t.children.length;a++)t.children[a].height=0;if(e.smashDepth&&(t.depth=0,t.children))for(var r=0;r<t.children.length;r++)t.children[r].depth=0;var o=Re.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:t}]},n);return Re.makeSpan(["mord"],[o],n)},mathmlBuilder:(e,n)=>{var t=new Ze.MathNode("mpadded",[Gr(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=qa(e.body,n.havingCrampedStyle());t.height===0&&(t.height=n.fontMetrics().xHeight),t=Re.wrapFragment(t,n);var a=n.fontMetrics(),r=a.defaultRuleThickness,o=r;n.style.id<jt.TEXT.id&&(o=n.fontMetrics().xHeight);var i=r+o/4,u=t.height+t.depth+i+r,{span:l,ruleWidth:c,advanceWidth:s}=Ip.sqrtImage(u,n),f=l.height-c;f>t.height+t.depth+i&&(i=(i+f-t.height-t.depth)/2);var v=l.height-t.height-i-c;t.style.paddingLeft=Tn(s);var m=Re.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 _=n.havingStyle(jt.SCRIPTSCRIPT),R=qa(e.index,_,n),D=.6*(m.height-m.depth),y=Re.makeVList({positionType:"shift",positionData:-D,children:[{type:"elem",elem:R}]},n),S=Re.makeSpan(["root"],[y]);return Re.makeSpan(["mord","sqrt"],[S,m],n)}else return Re.makeSpan(["mord","sqrt"],[m],n)},mathmlBuilder(e,n){var{body:t,index:a}=e;return a?new Ze.MathNode("mroot",[Gr(t,n),Gr(a,n)]):new Ze.MathNode("msqrt",[Gr(t,n)])}});var c2e={display:jt.DISPLAY,text:jt.TEXT,script:jt.SCRIPT,scriptscript:jt.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=c2e[e.style],a=n.havingStyle(t).withFont("");return u2e(e.body,a,n)},mathmlBuilder(e,n){var t=c2e[e.style],a=n.havingStyle(t),r=tc(e.body,a),o=new Ze.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 Pwn=function(n,t){var a=n.base;if(a)if(a.type==="op"){var r=a.limits&&(t.style.size===jt.DISPLAY.size||a.alwaysHandleSupSub);return r?UR:null}else if(a.type==="operatorname"){var o=a.alwaysHandleSupSub&&(t.style.size===jt.DISPLAY.size||a.limits);return o?i2e:null}else{if(a.type==="accent")return Tt.isCharacterBox(a.base)?aq:null;if(a.type==="horizBrace"){var i=!n.sub;return i===a.isOver?t2e:null}else return null}else return null};FD({type:"supsub",htmlBuilder(e,n){var t=Pwn(e,n);if(t)return t(e,n);var{base:a,sup:r,sub:o}=e,i=qa(a,n),u,l,c=n.fontMetrics(),s=0,f=0,v=a&&Tt.isCharacterBox(a);if(r){var m=n.havingStyle(n.style.sup());u=qa(r,m,n),v||(s=i.height-m.fontMetrics().supDrop*m.sizeMultiplier/n.sizeMultiplier)}if(o){var _=n.havingStyle(n.style.sub());l=qa(o,_,n),v||(f=i.depth+_.fontMetrics().subDrop*_.sizeMultiplier/n.sizeMultiplier)}var R;n.style===jt.DISPLAY?R=c.sup1:n.style.cramped?R=c.sup3:R=c.sup2;var D=n.sizeMultiplier,y=Tn(.5/c.ptPerEm/D),S=null;if(l){var G=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(i instanceof Kc||G)&&(S=Tn(-i.italic))}var P;if(u&&l){s=Math.max(s,R,u.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var k=c.defaultRuleThickness,M=4*k;if(s-u.depth-(l.height-f)<M){f=M-(s-u.depth)+l.height;var O=.8*c.xHeight-(s-u.depth);O>0&&(s+=O,f-=O)}var oe=[{type:"elem",elem:l,shift:f,marginRight:y,marginLeft:S},{type:"elem",elem:u,shift:-s,marginRight:y}];P=Re.makeVList({positionType:"individualShift",children:oe},n)}else if(l){f=Math.max(f,c.sub1,l.height-.8*c.xHeight);var le=[{type:"elem",elem:l,marginLeft:S,marginRight:y}];P=Re.makeVList({positionType:"shift",positionData:f,children:le},n)}else if(u)s=Math.max(s,R,u.depth+.25*c.xHeight),P=Re.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:u,marginRight:y}]},n);else throw new Error("supsub must have either sup or sub.");var ve=XW(i,"right")||"mord";return Re.makeSpan([ve],[i,Re.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=[Gr(e.base,n)];e.sub&&o.push(Gr(e.sub,n)),e.sup&&o.push(Gr(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===jt.DISPLAY||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(n.style===jt.DISPLAY||c.limits)?i="munderover":i="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(n.style===jt.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||n.style===jt.DISPLAY)?i="munder":i="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(n.style===jt.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||n.style===jt.DISPLAY)?i="mover":i="msup"}return new Ze.MathNode(i,o)}});FD({type:"atom",htmlBuilder(e,n){return Re.mathsym(e.text,e.mode,n,["m"+e.family])},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[uf(e.text,e.mode)]);if(e.family==="bin"){var a=eq(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 s2e={mi:"italic",mn:"normal",mtext:"normal"};FD({type:"mathord",htmlBuilder(e,n){return Re.makeOrd(e,n,"mathord")},mathmlBuilder(e,n){var t=new Ze.MathNode("mi",[uf(e.text,e.mode,n)]),a=eq(e,n)||"italic";return a!==s2e[t.type]&&t.setAttribute("mathvariant",a),t}});FD({type:"textord",htmlBuilder(e,n){return Re.makeOrd(e,n,"textord")},mathmlBuilder(e,n){var t=uf(e.text,e.mode,n),a=eq(e,n)||"normal",r;return e.mode==="text"?r=new Ze.MathNode("mtext",[t]):/[0-9]/.test(e.text)?r=new Ze.MathNode("mn",[t]):e.text==="\\prime"?r=new Ze.MathNode("mo",[t]):r=new Ze.MathNode("mi",[t]),a!==s2e[r.type]&&r.setAttribute("mathvariant",a),r}});var Dq={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},yq={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};FD({type:"spacing",htmlBuilder(e,n){if(yq.hasOwnProperty(e.text)){var t=yq[e.text].className||"";if(e.mode==="text"){var a=Re.makeOrd(e,n,"textord");return a.classes.push(t),a}else return Re.makeSpan(["mspace",t],[Re.mathsym(e.text,e.mode,n)],n)}else{if(Dq.hasOwnProperty(e.text))return Re.makeSpan(["mspace",Dq[e.text]],[],n);throw new tn('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,n){var t;if(yq.hasOwnProperty(e.text))t=new Ze.MathNode("mtext",[new Ze.TextNode("\xA0")]);else{if(Dq.hasOwnProperty(e.text))return new Ze.MathNode("mspace");throw new tn('Unknown type of space "'+e.text+'"')}return t}});var f2e=()=>{var e=new Ze.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};FD({type:"tag",mathmlBuilder(e,n){var t=new Ze.MathNode("mtable",[new Ze.MathNode("mtr",[f2e(),new Ze.MathNode("mtd",[$d(e.body,n)]),f2e(),new Ze.MathNode("mtd",[$d(e.tag,n)])])]);return t.setAttribute("width","100%"),t}});var v2e={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},m2e={"\\textbf":"textbf","\\textmd":"textmd"},kwn={"\\textit":"textit","\\textup":"textup"},p2e=(e,n)=>{var t=e.font;if(t){if(v2e[t])return n.withTextFontFamily(v2e[t]);if(m2e[t])return n.withTextFontWeight(m2e[t]);if(t==="\\emph")return n.fontShape==="textit"?n.withTextFontShape("textup"):n.withTextFontShape("textit")}else return n;return n.withTextFontShape(kwn[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:ri(r),font:a}},htmlBuilder(e,n){var t=p2e(e,n),a=qi(e.body,t,!0);return Re.makeSpan(["mord","text"],a,t)},mathmlBuilder(e,n){var t=p2e(e,n);return $d(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=qa(e.body,n),a=Re.makeLineSpan("underline-line",n),r=n.fontMetrics().defaultRuleThickness,o=Re.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 Re.makeSpan(["mord","underline"],[o],n)},mathmlBuilder(e,n){var t=new Ze.MathNode("mo",[new Ze.TextNode("\u203E")]);t.setAttribute("stretchy","true");var a=new Ze.MathNode("munder",[Gr(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=qa(e.body,n),a=n.fontMetrics().axisHeight,r=.5*(t.height-a-(t.depth+a));return Re.makeVList({positionType:"shift",positionData:r,children:[{type:"elem",elem:t}]},n)},mathmlBuilder(e,n){return new Ze.MathNode("mpadded",[Gr(e.body,n)],["vcenter"])}});Wn({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,n,t){throw new tn("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,n){for(var t=_2e(e),a=[],r=n.havingStyle(n.style.text()),o=0;o<t.length;o++){var i=t[o];i==="~"&&(i="\\textasciitilde"),a.push(Re.makeSymbol(i,"Typewriter-Regular",e.mode,r,["mord","texttt"]))}return Re.makeSpan(["mord","text"].concat(r.sizingClasses(n)),Re.tryCombineChars(a),r)},mathmlBuilder(e,n){var t=new Ze.TextNode(_2e(e)),a=new Ze.MathNode("mtext",[t]);return a.setAttribute("mathvariant","monospace"),a}});var _2e=e=>e.body.replace(/ /g,e.star?"\u2423":"\xA0"),Qd=gFe,d2e=`[ \r
	]`,Own="\\\\[a-zA-Z@]+",Uwn="\\\\[^\uD800-\uDFFF]",Hwn="("+Own+")"+d2e+"*",Bwn=`\\\\(
|[ \r	]+
?)[ \r	]*`,bq="[\u0300-\u036F]",Jwn=new RegExp(bq+"+$"),Wwn="("+d2e+"+)|"+(Bwn+"|")+"([!-\\[\\]-\u2027\u202A-\uD7FF\uF900-\uFFFF]"+(bq+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(bq+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Hwn)+("|"+Uwn+")"),Rq=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(Wwn,"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 Zc("EOF",new Kl(this,t,t));var a=this.tokenRegex.exec(n);if(a===null||a.index!==t)throw new tn("Unexpected character: '"+n[t]+"'",new Zc(n[t],new Kl(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 Zc(r,new Kl(this,t,this.tokenRegex.lastIndex))}},h2e=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 tn("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;r<this.undefStack.length;r++)delete this.undefStack[r][n];this.undefStack.length>0&&(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}},qwn=zFe;j("\\noexpand",function(e){var n=e.popToken();return e.isExpandable(n.text)&&(n.noexpand=!0,n.treatAsRelax=!0),{tokens:[n],numArgs:0}});j("\\expandafter",function(e){var n=e.popToken();return e.expandOnce(!0),{tokens:[n],numArgs:0}});j("\\@firstoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[0],numArgs:0}});j("\\@secondoftwo",function(e){var n=e.consumeArgs(2);return{tokens:n[1],numArgs:0}});j("\\@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}});j("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");j("\\TextOrMath",function(e){var n=e.consumeArgs(2);return e.mode==="text"?{tokens:n[0],numArgs:0}:{tokens:n[1],numArgs:0}});var g2e={"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};j("\\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 tn("\\char` missing argument");a=n.text.charCodeAt(0)}else t=10;if(t){if(a=g2e[n.text],a==null||a>=t)throw new tn("Invalid base-"+t+" digit "+n.text);for(var r;(r=g2e[e.future().text])!=null&&r<t;)a*=t,a+=r,e.popToken()}return"\\@char{"+a+"}"});var wq=(e,n,t,a)=>{var r=e.consumeArg().tokens;if(r.length!==1)throw new tn("\\newcommand's first argument must be a macro name");var o=r[0].text,i=e.isDefined(o);if(i&&!n)throw new tn("\\newcommand{"+o+"} attempting to redefine "+(o+"; use \\renewcommand"));if(!i&&!t)throw new tn("\\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 tn("Invalid number of arguments: "+l);u=parseInt(l),r=e.consumeArg().tokens}return i&&a||e.macros.set(o,{tokens:r,numArgs:u}),""};j("\\newcommand",e=>wq(e,!1,!0,!1));j("\\renewcommand",e=>wq(e,!0,!1,!1));j("\\providecommand",e=>wq(e,!0,!0,!0));j("\\message",e=>{var n=e.consumeArgs(1)[0];return console.log(n.reverse().map(t=>t.text).join("")),""});j("\\errmessage",e=>{var n=e.consumeArgs(1)[0];return console.error(n.reverse().map(t=>t.text).join("")),""});j("\\show",e=>{var n=e.popToken(),t=n.text;return console.log(n,e.macros.get(t),Qd[t],Or.math[t],Or.text[t]),""});j("\\bgroup","{");j("\\egroup","}");j("~","\\nobreakspace");j("\\lq","`");j("\\rq","'");j("\\aa","\\r a");j("\\AA","\\r A");j("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xA9}");j("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");j("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xAE}");j("\u212C","\\mathscr{B}");j("\u2130","\\mathscr{E}");j("\u2131","\\mathscr{F}");j("\u210B","\\mathscr{H}");j("\u2110","\\mathscr{I}");j("\u2112","\\mathscr{L}");j("\u2133","\\mathscr{M}");j("\u211B","\\mathscr{R}");j("\u212D","\\mathfrak{C}");j("\u210C","\\mathfrak{H}");j("\u2128","\\mathfrak{Z}");j("\\Bbbk","\\Bbb{k}");j("\xB7","\\cdotp");j("\\llap","\\mathllap{\\textrm{#1}}");j("\\rlap","\\mathrlap{\\textrm{#1}}");j("\\clap","\\mathclap{\\textrm{#1}}");j("\\mathstrut","\\vphantom{(}");j("\\underbar","\\underline{\\text{#1}}");j("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');j("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}");j("\\ne","\\neq");j("\u2260","\\neq");j("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}");j("\u2209","\\notin");j("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}");j("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}");j("\u225A","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225A}}");j("\u225B","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225B}}");j("\u225D","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225D}}");j("\u225E","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225E}}");j("\u225F","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225F}}");j("\u27C2","\\perp");j("\u203C","\\mathclose{!\\mkern-0.8mu!}");j("\u220C","\\notni");j("\u231C","\\ulcorner");j("\u231D","\\urcorner");j("\u231E","\\llcorner");j("\u231F","\\lrcorner");j("\xA9","\\copyright");j("\xAE","\\textregistered");j("\uFE0F","\\textregistered");j("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');j("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');j("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');j("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');j("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");j("\u22EE","\\vdots");j("\\varGamma","\\mathit{\\Gamma}");j("\\varDelta","\\mathit{\\Delta}");j("\\varTheta","\\mathit{\\Theta}");j("\\varLambda","\\mathit{\\Lambda}");j("\\varXi","\\mathit{\\Xi}");j("\\varPi","\\mathit{\\Pi}");j("\\varSigma","\\mathit{\\Sigma}");j("\\varUpsilon","\\mathit{\\Upsilon}");j("\\varPhi","\\mathit{\\Phi}");j("\\varPsi","\\mathit{\\Psi}");j("\\varOmega","\\mathit{\\Omega}");j("\\substack","\\begin{subarray}{c}#1\\end{subarray}");j("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");j("\\boxed","\\fbox{$\\displaystyle{#1}$}");j("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");j("\\implies","\\DOTSB\\;\\Longrightarrow\\;");j("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");j("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");j("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var D2e={",":"\\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"};j("\\dots",function(e){var n="\\dotso",t=e.expandAfterFuture().text;return t in D2e?n=D2e[t]:(t.slice(0,4)==="\\not"||t in Or.math&&Tt.contains(["bin","rel"],Or.math[t].group))&&(n="\\dotsb"),n});var Sq={")":!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};j("\\dotso",function(e){var n=e.future().text;return n in Sq?"\\ldots\\,":"\\ldots"});j("\\dotsc",function(e){var n=e.future().text;return n in Sq&&n!==","?"\\ldots\\,":"\\ldots"});j("\\cdots",function(e){var n=e.future().text;return n in Sq?"\\@cdots\\,":"\\@cdots"});j("\\dotsb","\\cdots");j("\\dotsm","\\cdots");j("\\dotsi","\\!\\cdots");j("\\dotsx","\\ldots\\,");j("\\DOTSI","\\relax");j("\\DOTSB","\\relax");j("\\DOTSX","\\relax");j("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");j("\\,","\\tmspace+{3mu}{.1667em}");j("\\thinspace","\\,");j("\\>","\\mskip{4mu}");j("\\:","\\tmspace+{4mu}{.2222em}");j("\\medspace","\\:");j("\\;","\\tmspace+{5mu}{.2777em}");j("\\thickspace","\\;");j("\\!","\\tmspace-{3mu}{.1667em}");j("\\negthinspace","\\!");j("\\negmedspace","\\tmspace-{4mu}{.2222em}");j("\\negthickspace","\\tmspace-{5mu}{.277em}");j("\\enspace","\\kern.5em ");j("\\enskip","\\hskip.5em\\relax");j("\\quad","\\hskip1em\\relax");j("\\qquad","\\hskip2em\\relax");j("\\tag","\\@ifstar\\tag@literal\\tag@paren");j("\\tag@paren","\\tag@literal{({#1})}");j("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new tn("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});j("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");j("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");j("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");j("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");j("\\newline","\\\\\\relax");j("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var y2e=Tn(W0["Main-Regular"]["T".charCodeAt(0)][1]-.7*W0["Main-Regular"]["A".charCodeAt(0)][1]);j("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+y2e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");j("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+y2e+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");j("\\hspace","\\@ifstar\\@hspacer\\@hspace");j("\\@hspace","\\hskip #1\\relax");j("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");j("\\ordinarycolon",":");j("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");j("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');j("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');j("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');j("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');j("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');j("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');j("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');j("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');j("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');j("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');j("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');j("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');j("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');j("\u2237","\\dblcolon");j("\u2239","\\eqcolon");j("\u2254","\\coloneqq");j("\u2255","\\eqqcolon");j("\u2A74","\\Coloneqq");j("\\ratio","\\vcentcolon");j("\\coloncolon","\\dblcolon");j("\\colonequals","\\coloneqq");j("\\coloncolonequals","\\Coloneqq");j("\\equalscolon","\\eqqcolon");j("\\equalscoloncolon","\\Eqqcolon");j("\\colonminus","\\coloneq");j("\\coloncolonminus","\\Coloneq");j("\\minuscolon","\\eqcolon");j("\\minuscoloncolon","\\Eqcolon");j("\\coloncolonapprox","\\Colonapprox");j("\\coloncolonsim","\\Colonsim");j("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");j("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");j("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220C}}");j("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");j("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");j("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");j("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");j("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");j("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");j("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");j("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");j("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}");j("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}");j("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}");j("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}");j("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}");j("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}");j("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}");j("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}");j("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}");j("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}");j("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228A}");j("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2ACB}");j("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228B}");j("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2ACC}");j("\\imath","\\html@mathml{\\@imath}{\u0131}");j("\\jmath","\\html@mathml{\\@jmath}{\u0237}");j("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27E6}}");j("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27E7}}");j("\u27E6","\\llbracket");j("\u27E7","\\rrbracket");j("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}");j("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}");j("\u2983","\\lBrace");j("\u2984","\\rBrace");j("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29B5}}");j("\u29B5","\\minuso");j("\\darr","\\downarrow");j("\\dArr","\\Downarrow");j("\\Darr","\\Downarrow");j("\\lang","\\langle");j("\\rang","\\rangle");j("\\uarr","\\uparrow");j("\\uArr","\\Uparrow");j("\\Uarr","\\Uparrow");j("\\N","\\mathbb{N}");j("\\R","\\mathbb{R}");j("\\Z","\\mathbb{Z}");j("\\alef","\\aleph");j("\\alefsym","\\aleph");j("\\Alpha","\\mathrm{A}");j("\\Beta","\\mathrm{B}");j("\\bull","\\bullet");j("\\Chi","\\mathrm{X}");j("\\clubs","\\clubsuit");j("\\cnums","\\mathbb{C}");j("\\Complex","\\mathbb{C}");j("\\Dagger","\\ddagger");j("\\diamonds","\\diamondsuit");j("\\empty","\\emptyset");j("\\Epsilon","\\mathrm{E}");j("\\Eta","\\mathrm{H}");j("\\exist","\\exists");j("\\harr","\\leftrightarrow");j("\\hArr","\\Leftrightarrow");j("\\Harr","\\Leftrightarrow");j("\\hearts","\\heartsuit");j("\\image","\\Im");j("\\infin","\\infty");j("\\Iota","\\mathrm{I}");j("\\isin","\\in");j("\\Kappa","\\mathrm{K}");j("\\larr","\\leftarrow");j("\\lArr","\\Leftarrow");j("\\Larr","\\Leftarrow");j("\\lrarr","\\leftrightarrow");j("\\lrArr","\\Leftrightarrow");j("\\Lrarr","\\Leftrightarrow");j("\\Mu","\\mathrm{M}");j("\\natnums","\\mathbb{N}");j("\\Nu","\\mathrm{N}");j("\\Omicron","\\mathrm{O}");j("\\plusmn","\\pm");j("\\rarr","\\rightarrow");j("\\rArr","\\Rightarrow");j("\\Rarr","\\Rightarrow");j("\\real","\\Re");j("\\reals","\\mathbb{R}");j("\\Reals","\\mathbb{R}");j("\\Rho","\\mathrm{P}");j("\\sdot","\\cdot");j("\\sect","\\S");j("\\spades","\\spadesuit");j("\\sub","\\subset");j("\\sube","\\subseteq");j("\\supe","\\supseteq");j("\\Tau","\\mathrm{T}");j("\\thetasym","\\vartheta");j("\\weierp","\\wp");j("\\Zeta","\\mathrm{Z}");j("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");j("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");j("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");j("\\bra","\\mathinner{\\langle{#1}|}");j("\\ket","\\mathinner{|{#1}\\rangle}");j("\\braket","\\mathinner{\\langle{#1}\\rangle}");j("\\Bra","\\left\\langle#1\\right|");j("\\Ket","\\left|#1\\right\\rangle");var b2e=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 m=f;if(!f&&r.length){var _=v.future();_.text==="|"&&(v.popToken(),m=!0)}return{tokens:m?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}};j("\\bra@ket",b2e(!1));j("\\bra@set",b2e(!0));j("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");j("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");j("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");j("\\angln","{\\angl n}");j("\\blue","\\textcolor{##6495ed}{#1}");j("\\orange","\\textcolor{##ffa500}{#1}");j("\\pink","\\textcolor{##ff00af}{#1}");j("\\red","\\textcolor{##df0030}{#1}");j("\\green","\\textcolor{##28ae7b}{#1}");j("\\gray","\\textcolor{gray}{#1}");j("\\purple","\\textcolor{##9d38bd}{#1}");j("\\blueA","\\textcolor{##ccfaff}{#1}");j("\\blueB","\\textcolor{##80f6ff}{#1}");j("\\blueC","\\textcolor{##63d9ea}{#1}");j("\\blueD","\\textcolor{##11accd}{#1}");j("\\blueE","\\textcolor{##0c7f99}{#1}");j("\\tealA","\\textcolor{##94fff5}{#1}");j("\\tealB","\\textcolor{##26edd5}{#1}");j("\\tealC","\\textcolor{##01d1c1}{#1}");j("\\tealD","\\textcolor{##01a995}{#1}");j("\\tealE","\\textcolor{##208170}{#1}");j("\\greenA","\\textcolor{##b6ffb0}{#1}");j("\\greenB","\\textcolor{##8af281}{#1}");j("\\greenC","\\textcolor{##74cf70}{#1}");j("\\greenD","\\textcolor{##1fab54}{#1}");j("\\greenE","\\textcolor{##0d923f}{#1}");j("\\goldA","\\textcolor{##ffd0a9}{#1}");j("\\goldB","\\textcolor{##ffbb71}{#1}");j("\\goldC","\\textcolor{##ff9c39}{#1}");j("\\goldD","\\textcolor{##e07d10}{#1}");j("\\goldE","\\textcolor{##a75a05}{#1}");j("\\redA","\\textcolor{##fca9a9}{#1}");j("\\redB","\\textcolor{##ff8482}{#1}");j("\\redC","\\textcolor{##f9685d}{#1}");j("\\redD","\\textcolor{##e84d39}{#1}");j("\\redE","\\textcolor{##bc2612}{#1}");j("\\maroonA","\\textcolor{##ffbde0}{#1}");j("\\maroonB","\\textcolor{##ff92c6}{#1}");j("\\maroonC","\\textcolor{##ed5fa6}{#1}");j("\\maroonD","\\textcolor{##ca337c}{#1}");j("\\maroonE","\\textcolor{##9e034e}{#1}");j("\\purpleA","\\textcolor{##ddd7ff}{#1}");j("\\purpleB","\\textcolor{##c6b9fc}{#1}");j("\\purpleC","\\textcolor{##aa87ff}{#1}");j("\\purpleD","\\textcolor{##7854ab}{#1}");j("\\purpleE","\\textcolor{##543b78}{#1}");j("\\mintA","\\textcolor{##f5f9e8}{#1}");j("\\mintB","\\textcolor{##edf2df}{#1}");j("\\mintC","\\textcolor{##e0e5cc}{#1}");j("\\grayA","\\textcolor{##f6f7f7}{#1}");j("\\grayB","\\textcolor{##f0f1f2}{#1}");j("\\grayC","\\textcolor{##e3e5e6}{#1}");j("\\grayD","\\textcolor{##d6d8da}{#1}");j("\\grayE","\\textcolor{##babec2}{#1}");j("\\grayF","\\textcolor{##888d93}{#1}");j("\\grayG","\\textcolor{##626569}{#1}");j("\\grayH","\\textcolor{##3b3e40}{#1}");j("\\grayI","\\textcolor{##21242c}{#1}");j("\\kaBlue","\\textcolor{##314453}{#1}");j("\\kaGreen","\\textcolor{##71B307}{#1}");var R2e={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},w2e=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 h2e(qwn,t.macros),this.mode=a,this.stack=[]}feed(n){this.lexer=new Rq(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 Zc("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 tn("Extra }",o)}else if(o.text==="EOF")throw new tn("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 tn("The length of delimiters doesn't match the number of args!");for(var a=t[0],r=0;r<a.length;r++){var o=this.popToken();if(a[r]!==o.text)throw new tn("Use of the macro doesn't match its definition",o)}}for(var i=[],u=0;u<n;u++)i.push(this.consumeArg(t&&t[u+1]).tokens);return i}countExpansion(n){if(this.expansionCount+=n,this.expansionCount>this.settings.maxExpand)throw new tn("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 tn("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 tn("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 tn("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 Zc(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 Rq(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)||Qd.hasOwnProperty(n)||Or.math.hasOwnProperty(n)||Or.text.hasOwnProperty(n)||R2e.hasOwnProperty(n)}isExpandable(n){var t=this.macros.get(n);return t!=null?typeof t=="string"||typeof t=="function"||!t.unexpandable:Qd.hasOwnProperty(n)&&!Qd[n].primitive}},S2e=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,W5=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"}),Eq={"\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"}},E2e={\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"},HT=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 w2e(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 tn("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 Zc("}")),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(HT.endOfExpression.indexOf(r.text)!==-1||t&&r.text===t||n&&Qd[r.text]&&Qd[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<n.length;r++)if(n[r].type==="infix"){if(t!==-1)throw new tn("only one infix operator per group",n[r].token);t=r,a=n[r].replaceWith}if(t!==-1&&a){var o,i,u=n.slice(0,t),l=n.slice(t+1);u.length===1&&u[0].type==="ordgroup"?o=u[0]:o={type:"ordgroup",mode:this.mode,body:u},l.length===1&&l[0].type==="ordgroup"?i=l[0]:i={type:"ordgroup",mode:this.mode,body:l};var c;return a==="\\\\abovefrac"?c=this.callFunction(a,[o,n[t],i],[]):c=this.callFunction(a,[o,i],[]),[c]}else return n}handleSupSubscript(n){var t=this.fetch(),a=t.text;this.consume(),this.consumeSpaces();var r=this.parseGroup(n);if(!r)throw new tn("Expected group after '"+a+"'",t);return r}formatUnsupportedCmd(n){for(var t=[],a=0;a<n.length;a++)t.push({type:"textord",mode:"text",text:n[a]});var r={type:"text",mode:this.mode,body:t},o={type:"color",mode:this.mode,color:this.settings.errorColor,body:[r]};return o}parseAtom(n){var t=this.parseGroup("atom",n);if(this.mode==="text")return t;for(var a,r;;){this.consumeSpaces();var o=this.fetch();if(o.text==="\\limits"||o.text==="\\nolimits"){if(t&&t.type==="op"){var i=o.text==="\\limits";t.limits=i,t.alwaysHandleSupSub=!0}else if(t&&t.type==="operatorname")t.alwaysHandleSupSub&&(t.limits=o.text==="\\limits");else throw new tn("Limit controls must follow a math operator",o);this.consume()}else if(o.text==="^"){if(a)throw new tn("Double superscript",o);a=this.handleSupSubscript("superscript")}else if(o.text==="_"){if(r)throw new tn("Double subscript",o);r=this.handleSupSubscript("subscript")}else if(o.text==="'"){if(a)throw new tn("Double superscript",o);var u={type:"textord",mode:this.mode,text:"\\prime"},l=[u];for(this.consume();this.fetch().text==="'";)l.push(u),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),a={type:"ordgroup",mode:this.mode,body:l}}else if(W5[o.text]){var c=S2e.test(o.text),s=[];for(s.push(new Zc(W5[o.text])),this.consume();;){var f=this.fetch().text;if(!W5[f]||S2e.test(f)!==c)break;s.unshift(new Zc(W5[f])),this.consume()}var v=this.subparse(s);c?r={type:"ordgroup",mode:"math",body:v}:a={type:"ordgroup",mode:"math",body:v}}else break}return a||r?{type:"supsub",mode:this.mode,base:t,sup:a,sub:r}:t}parseFunction(n,t){var a=this.fetch(),r=a.text,o=Qd[r];if(!o)return null;if(this.consume(),t&&t!=="atom"&&!o.allowedInArgument)throw new tn("Got function '"+r+"' with no arguments"+(t?" as "+t:""),a);if(this.mode==="text"&&!o.allowedInText)throw new tn("Can't use function '"+r+"' in text mode",a);if(this.mode==="math"&&o.allowedInMath===!1)throw new tn("Can't use function '"+r+"' in math mode",a);var{args:i,optArgs:u}=this.parseArguments(r,o);return this.callFunction(r,i,u,a,n)}callFunction(n,t,a,r,o){var i={funcName:n,parser:this,token:r,breakOnTokenText:o},u=Qd[n];if(u&&u.handler)return u.handler(i,t,a);throw new tn("No function handler for "+n)}parseArguments(n,t){var a=t.numArgs+t.numOptionalArgs;if(a===0)return{args:[],optArgs:[]};for(var r=[],o=[],i=0;i<a;i++){var u=t.argTypes&&t.argTypes[i],l=i<t.numOptionalArgs;(t.primitive&&u==null||t.type==="sqrt"&&i===1&&o[0]==null)&&(u="primitive");var c=this.parseGroupOfType("argument to '"+n+"'",u,l);if(l)o.push(c);else if(c!=null)r.push(c);else throw new tn("Null argument, please report this as a bug")}return{args:r,optArgs:o}}parseGroupOfType(n,t,a){switch(t){case"color":return this.parseColorGroup(a);case"size":return this.parseSizeGroup(a);case"url":return this.parseUrlGroup(a);case"math":case"text":return this.parseArgumentGroup(a,t);case"hbox":{var r=this.parseArgumentGroup(a,"text");return r!=null?{type:"styling",mode:r.mode,body:[r],style:"text"}:null}case"raw":{var o=this.parseStringGroup("raw",a);return o!=null?{type:"raw",mode:"text",string:o.text}:null}case"primitive":{if(a)throw new tn("A primitive argument cannot be optional");var i=this.parseGroup(n);if(i==null)throw new tn("Expected group as "+n,this.fetch());return i}case"original":case null:case void 0:return this.parseArgumentGroup(a);default:throw new tn("Unknown group type as "+n,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(n,t){var a=this.gullet.scanArgument(t);if(a==null)return null;for(var r="",o;(o=this.fetch()).text!=="EOF";)r+=o.text,this.consume();return this.consume(),a.text=r,a}parseRegexGroup(n,t){for(var a=this.fetch(),r=a,o="",i;(i=this.fetch()).text!=="EOF"&&n.test(o+i.text);)r=i,o+=r.text,this.consume();if(o==="")throw new tn("Invalid "+t+": '"+a.text+"'",a);return a.range(r,o)}parseColorGroup(n){var t=this.parseStringGroup("color",n);if(t==null)return null;var a=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!a)throw new tn("Invalid color: '"+t.text+"'",t);var r=a[0];return/^[0-9a-f]{6}$/i.test(r)&&(r="#"+r),{type:"color-token",mode:this.mode,color:r}}parseSizeGroup(n){var t,a=!1;if(this.gullet.consumeSpaces(),!n&&this.gullet.future().text!=="{"?t=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):t=this.parseStringGroup("size",n),!t)return null;!n&&t.text.length===0&&(t.text="0pt",a=!0);var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!r)throw new tn("Invalid size: '"+t.text+"'",t);var o={number:+(r[1]+r[2]),unit:r[3]};if(!rFe(o))throw new tn("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,isBlank:a}}parseUrlGroup(n){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",n);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),t==null)return null;var a=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:a}}parseArgumentGroup(n,t){var a=this.gullet.scanArgument(n);if(a==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:a.loc,body:o};return t&&this.switchMode(r),i}parseGroup(n,t){var a=this.fetch(),r=a.text,o;if(r==="{"||r==="\\begingroup"){this.consume();var i=r==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,i),l=this.fetch();this.expect(i),this.gullet.endGroup(),o={type:"ordgroup",mode:this.mode,loc:Kl.range(a,l),body:u,semisimple:r==="\\begingroup"||void 0}}else if(o=this.parseFunction(t,n)||this.parseSymbol(),o==null&&r[0]==="\\"&&!R2e.hasOwnProperty(r)){if(this.settings.throwOnError)throw new tn("Undefined control sequence: "+r,a);o=this.formatUnsupportedCmd(r),this.consume()}return o}formLigatures(n){for(var t=n.length-1,a=0;a<t;++a){var r=n[a],o=r.text;o==="-"&&n[a+1].text==="-"&&(a+1<t&&n[a+2].text==="-"?(n.splice(a,3,{type:"textord",mode:"text",loc:Kl.range(r,n[a+2]),text:"---"}),t-=2):(n.splice(a,2,{type:"textord",mode:"text",loc:Kl.range(r,n[a+1]),text:"--"}),t-=1)),(o==="'"||o==="`")&&n[a+1].text===o&&(n.splice(a,2,{type:"textord",mode:"text",loc:Kl.range(r,n[a+1]),text:o+o}),t-=1)}}parseSymbol(){var n=this.fetch(),t=n.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var a=t.slice(5),r=a.charAt(0)==="*";if(r&&(a=a.slice(1)),a.length<2||a.charAt(0)!==a.slice(-1))throw new tn(`\\verb assertion failed --
                    please report what input caused this bug`);return a=a.slice(1,-1),{type:"verb",mode:"text",body:a,star:r}}E2e.hasOwnProperty(t[0])&&!Or[this.mode][t[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+t[0]+'" used in math mode',n),t=E2e[t[0]]+t.slice(1));var o=Jwn.exec(t);o&&(t=t.substring(0,o.index),t==="i"?t="\u0131":t==="j"&&(t="\u0237"));var i;if(Or[this.mode][t]){this.settings.strict&&this.mode==="math"&&QW.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',n);var u=Or[this.mode][t].group,l=Kl.range(n),c;if(NRn.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&&(KTe(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:Kl.range(n),text:t};else return null;if(this.consume(),o)for(var f=0;f<o[0].length;f++){var v=o[0][f];if(!Eq[v])throw new tn("Unknown accent ' "+v+"'",n);var m=Eq[v][this.mode]||Eq[v].text;if(!m)throw new tn("Accent "+v+" unsupported in "+this.mode+" mode",n);i={type:"accent",mode:this.mode,loc:Kl.range(n),label:m,isStretchy:!1,isShifty:!0,base:i}}return i}};HT.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Cq=function(n,t){if(!(typeof n=="string"||n instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var a=new HT(n,t);delete a.gullet.macros.current["\\df@tag"];var r=a.parse();if(delete a.gullet.macros.current["\\current@color"],delete a.gullet.macros.current["\\color"],a.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new tn("\\tag works only in display equations");r=[{type:"tag",mode:"text",body:r,tag:a.subparse([new Zc("\\df@tag")])}]}return r},C2e=function(n,t,a){t.textContent="";var r=Iq(n,a).toNode();t.appendChild(r)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),C2e=function(){throw new tn("KaTeX doesn't work in quirks mode.")});var zwn=function(n,t){var a=Iq(n,t).toMarkup();return a},$wn=function(n,t){var a=new D5(t);return Cq(n,a)},I2e=function(n,t,a){if(a.throwOnError||!(n instanceof tn))throw n;var r=Re.makeSpan(["katex-error"],[new Kc(t)]);return r.setAttribute("title",n.toString()),r.setAttribute("style","color:"+a.errorColor),r},Iq=function(n,t){var a=new D5(t);try{var r=Cq(n,a);return rwn(r,n,a)}catch(o){return I2e(o,n,a)}},Vwn=function(n,t){var a=new D5(t);try{var r=Cq(n,a);return own(r,n,a)}catch(o){return I2e(o,n,a)}},Qwn="0.16.21",Ywn={Span:kR,Anchor:w5,SymbolNode:Kc,SvgNode:z0,PathNode:bp,LineNode:S5},Tq={version:Qwn,render:C2e,renderToString:zwn,ParseError:tn,SETTINGS_SCHEMA:g5,__parse:$wn,__renderToDomTree:Iq,__renderToHTMLTree:Vwn,__setFontMetrics:FRn,__defineSymbol:b,__defineFunction:Wn,__defineMacro:j,__domTree:Ywn};var q5=function(e){if(e==null)return eSn;if(typeof e=="function")return z5(e);if(typeof e=="object")return Array.isArray(e)?Xwn(e):Zwn(e);if(typeof e=="string")return Kwn(e);throw new Error("Expected function, string, or object as test")};function Xwn(e){let n=[],t=-1;for(;++t<e.length;)n[t]=q5(e[t]);return z5(a);function a(...r){let o=-1;for(;++o<n.length;)if(n[o].apply(this,r))return!0;return!1}}function Zwn(e){let n=e;return z5(t);function t(a){let r=a,o;for(o in e)if(r[o]!==n[o])return!1;return!0}}function Kwn(e){return z5(n);function n(t){return t&&t.type===e}}function z5(e){return n;function n(t,a,r){return Boolean(nSn(t)&&e.call(this,t,typeof a=="number"?a:void 0,r||void 0))}}function eSn(){return!0}function nSn(e){return e!==null&&typeof e=="object"&&"type"in e}function T2e(e){return e}var F2e=[],M2e=!0,Fq=!1,$5="skip";function Mq(e,n,t,a){let r;typeof n=="function"&&typeof t!="function"?(a=t,t=n):r=n;let o=q5(r),i=a?-1:1;u(e,void 0,[])();function u(l,c,s){let f=l&&typeof l=="object"?l:{};if(typeof f.type=="string"){let m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(v,"name",{value:"node ("+T2e(l.type+(m?"<"+m+">":""))+")"})}return v;function v(){let m=F2e,_,R,D;if((!n||o(l,c,s[s.length-1]||void 0))&&(m=tSn(t(l,s)),m[0]===Fq))return m;if("children"in l&&l.children){let y=l;if(y.children&&m[0]!==$5)for(R=(a?y.children.length:-1)+i,D=s.concat(y);R>-1&&R<y.children.length;){let S=y.children[R];if(_=u(S,R,D)(),_[0]===Fq)return _;R=typeof _[1]=="number"?_[1]:R+i}}return m}}}function tSn(e){return Array.isArray(e)?e:typeof e=="number"?[M2e,e]:e==null?F2e:[e]}var aSn={},rSn=[];function V5(e){let n=e||aSn;return function(t,a){Mq(t,"element",function(r,o){let i=Array.isArray(r.properties.className)?r.properties.className:rSn,u=i.includes("language-math"),l=i.includes("math-display"),c=i.includes("math-inline"),s=l;if(!u&&!l&&!c)return;let f=o[o.length-1],v=r;if(r.tagName==="code"&&u&&f&&f.type==="element"&&f.tagName==="pre"&&(v=f,f=o[o.length-2],s=!0),!f)return;let m=HW(v,{whitespace:"pre"}),_;try{_=Tq.renderToString(m,ii(ja({},n),{displayMode:s,throwOnError:!0}))}catch(D){let y=D,S=y.name.toLowerCase();a.message("Could not render math with KaTeX",{ancestors:[...o,r],cause:y,place:r.position,ruleId:S,source:"rehype-katex"}),S==="parseerror"?_=Tq.renderToString(m,ii(ja({},n),{displayMode:s,strict:"ignore",throwOnError:!1})):_=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(n.errorColor||"#cc0000"),title:String(D)},children:[{type:"text",value:m}]}]}typeof _=="string"&&(_=JTe(_,{fragment:!0}).children);let R=f.children.indexOf(v);return f.children.splice(R,1,..._),$5})}}var oSn={tokenize:cSn,partial:!0},G2e={tokenize:sSn,partial:!0},A2e={tokenize:fSn,partial:!0},HR={tokenize:mSn,partial:!0},x2e={tokenize:vSn,partial:!0},L2e={tokenize:uSn,previous:k2e},j2e={tokenize:lSn,previous:xq},Tp={tokenize:iSn,previous:O2e},Y0={},Gq={text:Y0},MD=48;for(;MD<123;)Y0[MD]=Tp,MD++,MD===58?MD=65:MD===91&&(MD=97);Y0[43]=Tp;Y0[45]=Tp;Y0[46]=Tp;Y0[95]=Tp;Y0[72]=[Tp,j2e];Y0[104]=[Tp,j2e];Y0[87]=[Tp,L2e];Y0[119]=[Tp,L2e];function iSn(e,n,t){let a=this,r,o;return i;function i(m){return!P2e(m)||!O2e(a.previous)||Lq(a.events)?t(m):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(m))}function u(m){return P2e(m)?(e.consume(m),u):m===64?(e.consume(m),l):t(m)}function l(m){return m===46?e.check(HR,v,c)(m):m===45||m===95?e.check(HR,t,s)(m):ai(m)?(!o&&DD(m)&&(o=!0),e.consume(m),l):v(m)}function c(m){return e.consume(m),r=!0,o=void 0,l}function s(m){return e.consume(m),f}function f(m){return m===46?e.check(HR,t,c)(m):l(m)}function v(m){return r&&!o?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),n(m)):t(m)}}function uSn(e,n,t){let a=this;return r;function r(i){return i!==87&&i!==119||!k2e(a.previous)||Lq(a.events)?t(i):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(oSn,e.attempt(G2e,e.attempt(A2e,o),t),t)(i))}function o(i){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),n(i)}}function lSn(e,n,t){let a=this;return r;function r(_){return _!==72&&_!==104||!xq(a.previous)||Lq(a.events)?t(_):(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),e.consume(_),o)}function o(_){return _===84||_===116?(e.consume(_),i):t(_)}function i(_){return _===84||_===116?(e.consume(_),u):t(_)}function u(_){return _===80||_===112?(e.consume(_),l):t(_)}function l(_){return _===83||_===115?(e.consume(_),c):c(_)}function c(_){return _===58?(e.consume(_),s):t(_)}function s(_){return _===47?(e.consume(_),f):t(_)}function f(_){return _===47?(e.consume(_),v):t(_)}function v(_){return _===null||Od(_)||yD(_)||bD(_)?t(_):e.attempt(G2e,e.attempt(A2e,m),t)(_)}function m(_){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),n(_)}}function cSn(e,n,t){return a;function a(l){return e.consume(l),r}function r(l){return l===87||l===119?(e.consume(l),o):t(l)}function o(l){return l===87||l===119?(e.consume(l),i):t(l)}function i(l){return l===46?(e.consume(l),u):t(l)}function u(l){return l===null||Nn(l)?t(l):n(l)}}function sSn(e,n,t){let a,r;return o;function o(l){return l===38?e.check(x2e,u,i)(l):l===46||l===95?e.check(HR,u,i)(l):l===null||Od(l)||yD(l)||l!==45&&bD(l)?u(l):(e.consume(l),o)}function i(l){return l===46?(r=a,a=void 0,e.consume(l),o):(l===95&&(a=!0),e.consume(l),o)}function u(l){return!r&&!a?n(l):t(l)}}function fSn(e,n){let t=0;return a;function a(i){return i===38?e.check(x2e,n,r)(i):(i===40&&t++,i===41?e.check(HR,o,r)(i):Aq(i)?n(i):N2e(i)?e.check(HR,n,r)(i):(e.consume(i),a))}function r(i){return e.consume(i),a}function o(i){return t--,t<0?n(i):r(i)}}function vSn(e,n,t){return a;function a(i){return e.consume(i),r}function r(i){return qu(i)?(e.consume(i),r):i===59?(e.consume(i),o):t(i)}function o(i){return Aq(i)?n(i):t(i)}}function mSn(e,n,t){return a;function a(o){return e.consume(o),r}function r(o){return N2e(o)?(e.consume(o),r):Aq(o)?n(o):t(o)}}function N2e(e){return e===33||e===34||e===39||e===41||e===42||e===44||e===46||e===58||e===59||e===60||e===63||e===95||e===126}function Aq(e){return e===null||e===60||Za(e)}function P2e(e){return e===43||e===45||e===46||e===95||ai(e)}function k2e(e){return e===null||e===40||e===42||e===95||e===126||Za(e)}function xq(e){return e===null||!qu(e)}function O2e(e){return e!==47&&xq(e)}function Lq(e){let n=e.length,t=!1;for(;n--;){let a=e[n][1];if((a.type==="labelLink"||a.type==="labelImage")&&!a._balanced){t=!0;break}if(a._gfmAutolinkLiteralWalkedInto){t=!1;break}}return e.length>0&&!t&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}var pSn={tokenize:bSn,partial:!0};function jq(){return{document:{[91]:{tokenize:gSn,continuation:{tokenize:DSn},exit:ySn}},text:{[91]:{tokenize:hSn},[93]:{add:"after",tokenize:_Sn,resolveTo:dSn}}}}function _Sn(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=zu(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 dSn(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 hSn(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 m;return v===null||v===91||o++>999?t(v):v===93?i?(e.exit("chunkString"),m=e.exit("gfmFootnoteCallString"),r.includes(zu(a.sliceSerialize(m)))?f(v):t(v)):t(v):(e.consume(v),Za(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 gSn(e,n,t){let a=this,r=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),o,i=0,u;return l;function l(R){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(R){return R===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),s):t(R)}function s(R){let D;return R===null||R===91||i>999?t(R):R===93?u?(D=e.exit("gfmFootnoteDefinitionLabelString"),o=zu(a.sliceSerialize(D)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(R),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),m):t(R):Nn(R)?(e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),i++,s):(e.enter("chunkString").contentType="string",f(R))}function f(R){return R===null||Nn(R)||R===91||R===93||i>999?(e.exit("chunkString"),s(R)):(Za(R)||(u=!0),i++,e.consume(R),R===92?v:f)}function v(R){return R===91||R===92||R===93?(e.consume(R),i++,f):f(R)}function m(R){return R===58?(e.enter("definitionMarker"),e.consume(R),e.exit("definitionMarker"),At(e,_,"gfmFootnoteDefinitionWhitespace")):t(R)}function _(R){return r.includes(o)||r.push(o),n(R)}}function DSn(e,n,t){return e.check(B0,n,e.attempt(pSn,n,t))}function ySn(e){e.exit("gfmFootnoteDefinition")}function bSn(e,n,t){let a=this;return At(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 Nq(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(;++u<o.length;)if(o[u][0]==="enter"&&o[u][1].type==="strikethroughSequenceTemporary"&&o[u][1]._close){let l=u;for(;l--;)if(o[l][0]==="exit"&&o[l][1].type==="strikethroughSequenceTemporary"&&o[l][1]._open&&o[u][1].end.offset-o[u][1].start.offset==o[l][1].end.offset-o[l][1].start.offset){o[u][1].type="strikethroughSequence",o[l][1].type="strikethroughSequence";let c={type:"strikethrough",start:Object.assign({},o[l][1].start),end:Object.assign({},o[u][1].end)},s={type:"strikethroughText",start:Object.assign({},o[l][1].end),end:Object.assign({},o[u][1].start)},f=[["enter",c,i],["enter",o[l][1],i],["exit",o[l][1],i],["enter",s,i]];ti(f,f.length,0,Hd(i.parser.constructs.insideSpan.null,o.slice(l+1,u),i)),ti(f,f.length,0,[["exit",s,i],["enter",o[u][1],i],["exit",o[u][1],i],["exit",c,i]]),ti(o,l-1,u-l+3,f),u=l+f.length-2;break}}for(u=-1;++u<o.length;)o[u][1].type==="strikethroughSequenceTemporary"&&(o[u][1].type="data");return o}function r(o,i,u){let l=this.previous,c=this.events,s=0;return f;function f(m){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(m):(o.enter("strikethroughSequenceTemporary"),v(m))}function v(m){let _=FR(l);if(m===126)return s>1?u(m):(o.consume(m),s++,v);if(s<2&&!n)return u(m);let R=o.exit("strikethroughSequenceTemporary"),D=FR(m);return R._open=!D||D===2&&Boolean(_),R._close=!_||_===2&&Boolean(D),i(m)}}}var Pq={flow:{null:{tokenize:wSn,resolve:RSn}}},U2e={tokenize:SSn,partial:!0};function RSn(e,n){let t=-1,a,r,o,i,u,l,c;for(;++t<e.length;){let s=e[t][1];if(o&&(s.type==="temporaryTableCellContent"&&(i=i||t,u=t),(s.type==="tableCellDivider"||s.type==="tableRow")&&u)){let f={type:"tableContent",start:e[i][1].start,end:e[u][1].end},v={type:"chunkText",start:f.start,end:f.end,contentType:"text"};e.splice(i,u-i+1,["enter",f,n],["enter",v,n],["exit",v,n],["exit",f,n]),t-=u-i-3,i=void 0,u=void 0}if(e[t][0]==="exit"&&l!==void 0&&l+(c?0:1)<t&&(s.type==="tableCellDivider"||s.type==="tableRow"&&(l+3<t||e[l][1].type!=="whitespace"))){let f={type:r?"tableDelimiter":a?"tableHeader":"tableData",start:e[l][1].start,end:e[t][1].end};e.splice(t+(s.type==="tableCellDivider"?1:0),0,["exit",f,n]),e.splice(l,0,["enter",f,n]),t+=2,l=t+1,c=!0}s.type==="tableRow"&&(o=e[t][0]==="enter",o&&(l=t+1,c=!1)),s.type==="tableDelimiterRow"&&(r=e[t][0]==="enter",r&&(l=t+1,c=!1)),s.type==="tableHead"&&(a=e[t][0]==="enter")}return e}function wSn(e,n,t){let a=this,r=[],o=0,i,u;return l;function l(ie){return e.enter("table")._align=r,e.enter("tableHead"),e.enter("tableRow"),ie===124?c(ie):(o++,e.enter("temporaryTableCellContent"),v(ie))}function c(ie){return e.enter("tableCellDivider"),e.consume(ie),e.exit("tableCellDivider"),i=!0,s}function s(ie){return ie===null||Nn(ie)?_(ie):Ca(ie)?(e.enter("whitespace"),e.consume(ie),f):(i&&(i=void 0,o++),ie===124?c(ie):(e.enter("temporaryTableCellContent"),v(ie)))}function f(ie){return Ca(ie)?(e.consume(ie),f):(e.exit("whitespace"),s(ie))}function v(ie){return ie===null||ie===124||Za(ie)?(e.exit("temporaryTableCellContent"),s(ie)):(e.consume(ie),ie===92?m:v)}function m(ie){return ie===92||ie===124?(e.consume(ie),v):v(ie)}function _(ie){if(ie===null)return t(ie);e.exit("tableRow"),e.exit("tableHead");let jn=a.interrupt;return a.interrupt=!0,e.attempt({tokenize:Ne,partial:!0},function(Ve){return a.interrupt=jn,e.enter("tableDelimiterRow"),R(Ve)},function(Ve){return a.interrupt=jn,t(Ve)})(ie)}function R(ie){return ie===null||Nn(ie)?P(ie):Ca(ie)?(e.enter("whitespace"),e.consume(ie),D):ie===45?(e.enter("tableDelimiterFiller"),e.consume(ie),u=!0,r.push("none"),y):ie===58?(e.enter("tableDelimiterAlignment"),e.consume(ie),e.exit("tableDelimiterAlignment"),r.push("left"),S):ie===124?(e.enter("tableCellDivider"),e.consume(ie),e.exit("tableCellDivider"),R):t(ie)}function D(ie){return Ca(ie)?(e.consume(ie),D):(e.exit("whitespace"),R(ie))}function y(ie){return ie===45?(e.consume(ie),y):(e.exit("tableDelimiterFiller"),ie===58?(e.enter("tableDelimiterAlignment"),e.consume(ie),e.exit("tableDelimiterAlignment"),r[r.length-1]=r[r.length-1]==="left"?"center":"right",G):R(ie))}function S(ie){return ie===45?(e.enter("tableDelimiterFiller"),e.consume(ie),u=!0,y):t(ie)}function G(ie){return ie===null||Nn(ie)?P(ie):Ca(ie)?(e.enter("whitespace"),e.consume(ie),D):ie===124?(e.enter("tableCellDivider"),e.consume(ie),e.exit("tableCellDivider"),R):t(ie)}function P(ie){return e.exit("tableDelimiterRow"),!u||o!==r.length?t(ie):ie===null?k(ie):e.check(U2e,k,e.attempt({tokenize:Ne,partial:!0},At(e,M,"linePrefix",4),k))(ie)}function k(ie){return e.exit("table"),n(ie)}function M(ie){return e.enter("tableBody"),O(ie)}function O(ie){return e.enter("tableRow"),ie===124?oe(ie):(e.enter("temporaryTableCellContent"),X(ie))}function oe(ie){return e.enter("tableCellDivider"),e.consume(ie),e.exit("tableCellDivider"),le}function le(ie){return ie===null||Nn(ie)?pe(ie):Ca(ie)?(e.enter("whitespace"),e.consume(ie),ve):ie===124?oe(ie):(e.enter("temporaryTableCellContent"),X(ie))}function ve(ie){return Ca(ie)?(e.consume(ie),ve):(e.exit("whitespace"),le(ie))}function X(ie){return ie===null||ie===124||Za(ie)?(e.exit("temporaryTableCellContent"),le(ie)):(e.consume(ie),ie===92?be:X)}function be(ie){return ie===92||ie===124?(e.consume(ie),X):X(ie)}function pe(ie){return e.exit("tableRow"),ie===null?De(ie):e.check(U2e,De,e.attempt({tokenize:Ne,partial:!0},At(e,O,"linePrefix",4),De))(ie)}function De(ie){return e.exit("tableBody"),k(ie)}function Ne(ie,jn,Ve){return Pn;function Pn(q){return ie.enter("lineEnding"),ie.consume(q),ie.exit("lineEnding"),At(ie,kn,"linePrefix")}function kn(q){if(a.parser.lazy[a.now().line]||q===null||Nn(q))return Ve(q);let x=a.events[a.events.length-1];return!a.parser.constructs.disable.null.includes("codeIndented")&&x&&x[1].type==="linePrefix"&&x[2].sliceSerialize(x[1],!0).length>=4?Ve(q):(a._gfmTableDynamicInterruptHack=!0,ie.check(a.parser.constructs.flow,function(ne){return a._gfmTableDynamicInterruptHack=!1,Ve(ne)},function(ne){return a._gfmTableDynamicInterruptHack=!1,jn(ne)})(q))}}}function SSn(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||Za(i)?n(i):t(i)}}var ESn={tokenize:CSn},kq={text:{[91]:ESn}};function CSn(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 Za(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:ISn},n,t)):t(u)}}function ISn(e,n,t){let a=this;return At(e,r,"whitespace");function r(o){let i=a.events[a.events.length-1];return(i&&i[1].type==="whitespace"||Nn(o))&&o!==null?n(o):t(o)}}function H2e(e){return G7([Gq,jq(),Nq(e),Pq,kq])}function Oq(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 Uq(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var TSn={}.hasOwnProperty,Hq=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=MT(r.ignore||[]),u=FSn(o),l=-1;for(;++l<u.length;)GT(e,"text",c);return e;function c(f,v){let m=-1,_;for(;++m<v.length;){let R=v[m];if(i(R,_?_.children.indexOf(R):void 0,_))return;_=R}if(_)return s(f,v)}function s(f,v){let m=v[v.length-1],_=u[l][0],R=u[l][1],D=0,y=m.children.indexOf(f),S=!1,G=[],P;_.lastIndex=0;let k=_.exec(f.value);for(;k;){P=k.index;let M={index:k.index,input:k.input,stack:[...v,f]},O=R(...k,M);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O!==!1&&(D!==P&&G.push({type:"text",value:f.value.slice(D,P)}),Array.isArray(O)?G.push(...O):O&&G.push(O),D=P+k[0].length,S=!0),!_.global)break;k=_.exec(f.value)}return S?(D<f.value.length&&G.push({type:"text",value:f.value.slice(D)}),m.children.splice(y,1,...G)):G=[f],y+G.length}};function FSn(e){let n=[];if(typeof e!="object")throw new TypeError("Expected array or object as schema");if(Array.isArray(e)){let t=-1;for(;++t<e.length;)n.push([B2e(e[t][0]),J2e(e[t][1])])}else{let t;for(t in e)TSn.call(e,t)&&n.push([B2e(t),J2e(e[t])])}return n}function B2e(e){return typeof e=="string"?new RegExp(Uq(e),"g"):e}function J2e(e){return typeof e=="function"?e:()=>e}var Bq="phrasing",Jq=["autolink","link","image","label"],Wq={transforms:[jSn],enter:{literalAutolink:MSn,literalAutolinkEmail:zq,literalAutolinkHttp:zq,literalAutolinkWww:zq},exit:{literalAutolink:LSn,literalAutolinkEmail:xSn,literalAutolinkHttp:GSn,literalAutolinkWww:ASn}},qq={unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Bq,notInConstruct:Jq},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Bq,notInConstruct:Jq},{character:":",before:"[ps]",after:"\\/",inConstruct:Bq,notInConstruct:Jq}]};function MSn(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function zq(e){this.config.enter.autolinkProtocol.call(this,e)}function GSn(e){this.config.exit.autolinkProtocol.call(this,e)}function ASn(e){this.config.exit.data.call(this,e);let n=this.stack[this.stack.length-1];n.url="http://"+this.sliceSerialize(e)}function xSn(e){this.config.exit.autolinkEmail.call(this,e)}function LSn(e){this.exit(e)}function jSn(e){Hq(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,NSn],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,PSn]],{ignore:["link","linkReference"]})}function NSn(e,n,t,a,r){let o="";if(!W2e(r)||(/^w/i.test(n)&&(t=n+t,n="",o="http://"),!kSn(t)))return!1;let i=OSn(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 PSn(e,n,t,a){return!W2e(a,!0)||/[-\d_]$/.test(t)?!1:{type:"link",title:null,url:"mailto:"+n+"@"+t,children:[{type:"text",value:n+"@"+t}]}}function kSn(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 OSn(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=Oq(e,"("),o=Oq(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 W2e(e,n){let t=e.input.charCodeAt(e.index-1);return(e.index===0||yD(t)||bD(t))&&(!n||t!==47)}function $q(e){return e.label||!e.identifier?e.label||"":B7(e.identifier)}function q2e(e,n,t){let a=n.indexStack,r=e.children||[],o=n.createTracker(t),i=[],u=-1;for(a.push(-1);++u<r.length;){let l=r[u];a[a.length-1]=u,i.push(o.move(n.handle(l,e,n,ja({before:`
`,after:`
`},o.current())))),l.type!=="list"&&(n.bulletLastUsed=void 0),u<r.length-1&&i.push(o.move(USn(l,r[u+1],e,n)))}return a.pop(),i.join("")}function USn(e,n,t,a){let r=a.join.length;for(;r--;){let o=a.join[r](e,n,t,a);if(o===!0||o===1)break;if(typeof o=="number")return`
`.repeat(1+o);if(o===!1)return`

<!---->

`}return`

`}var HSn=/\r?\n|\r/g;function z2e(e,n){let t=[],a=0,r=0,o;for(;o=HSn.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 Q5(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 $2e(e,n){return V2e(e,n.inConstruct,!0)&&!V2e(e,n.notInConstruct,!1)}function V2e(e,n,t){if(typeof n=="string"&&(n=[n]),!n||n.length===0)return t;let a=-1;for(;++a<n.length;)if(e.includes(n[a]))return!0;return!1}function Vq(e,n,t){let a=(t.before||"")+(n||"")+(t.after||""),r=[],o=[],i={},u=-1;for(;++u<e.unsafe.length;){let s=e.unsafe[u];if(!$2e(e.stack,s))continue;let f=Q5(s),v;for(;v=f.exec(a);){let m="before"in s||Boolean(s.atBreak),_="after"in s,R=v.index+(m?v[1].length:0);r.includes(R)?(i[R].before&&!m&&(i[R].before=!1),i[R].after&&!_&&(i[R].after=!1)):(r.push(R),i[R]={before:m,after:_})}}r.sort(BSn);let l=t.before?t.before.length:0,c=a.length-(t.after?t.after.length:0);for(u=-1;++u<r.length;){let s=r[u];s<l||s>=c||s+1<c&&r[u+1]===s+1&&i[s].after&&!i[s+1].before&&!i[s+1].after||r[u-1]===s-1&&i[s].before&&!i[s-1].before&&!i[s-1].after||(l!==s&&o.push(Q2e(a.slice(l,s),"\\")),l=s,/[!-/:-@[-`{-~]/.test(a.charAt(s))&&(!t.encode||!t.encode.includes(a.charAt(s)))?o.push("\\"):(o.push("&#x"+a.charCodeAt(s).toString(16).toUpperCase()+";"),l++))}return o.push(Q2e(a.slice(l,c),t.after)),o.join("")}function BSn(e,n){return e-n}function Q2e(e,n){let t=/\\(?=[!-/:-@[-`{-~])/g,a=[],r=[],o=e+n,i=-1,u=0,l;for(;l=t.exec(o);)a.push(l.index);for(;++i<a.length;)u!==a[i]&&r.push(e.slice(u,a[i])),r.push("\\"),u=a[i];return r.push(e.slice(u)),r.join("")}function GD(e){let n=e||{},t=n.now||{},a=n.lineShift||0,r=t.line||1,o=t.column||1;return{move:l,current:i,shift:u};function i(){return{now:{line:r,column:o},lineShift:a}}function u(c){a+=c}function l(c){let s=c||"",f=s.split(/\r?\n|\r/g),v=f[f.length-1];return r+=f.length-1,o=f.length===1?o+v.length:1+v.length+a,s}}Y2e.peek=XSn;function Qq(){return{enter:{gfmFootnoteDefinition:JSn,gfmFootnoteDefinitionLabelString:WSn,gfmFootnoteCall:$Sn,gfmFootnoteCallString:VSn},exit:{gfmFootnoteDefinition:zSn,gfmFootnoteDefinitionLabelString:qSn,gfmFootnoteCall:YSn,gfmFootnoteCallString:QSn}}}function Yq(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:ZSn,footnoteReference:Y2e}}}function JSn(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function WSn(){this.buffer()}function qSn(e){let n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=zu(this.sliceSerialize(e)).toLowerCase()}function zSn(e){this.exit(e)}function $Sn(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function VSn(){this.buffer()}function QSn(e){let n=this.resume(),t=this.stack[this.stack.length-1];t.label=n,t.identifier=zu(this.sliceSerialize(e)).toLowerCase()}function YSn(e){this.exit(e)}function Y2e(e,n,t,a){let r=GD(a),o=r.move("[^"),i=t.enter("footnoteReference"),u=t.enter("reference");return o+=r.move(Vq(t,$q(e),ii(ja({},r.current()),{before:o,after:"]"}))),u(),i(),o+=r.move("]"),o}function XSn(){return"["}function ZSn(e,n,t,a){let r=GD(a),o=r.move("[^"),i=t.enter("footnoteDefinition"),u=t.enter("label");return o+=r.move(Vq(t,$q(e),ii(ja({},r.current()),{before:o,after:"]"}))),u(),o+=r.move("]:"+(e.children&&e.children.length>0?" ":"")),r.shift(4),o+=r.move(z2e(q2e(e,t,r.current()),KSn)),i(),o}function KSn(e,n,t){return n===0?e:(t?"":"    ")+e}function Y5(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(;++i<r.length;){let c=r[i],s;if(a[a.length-1]=i,i+1<r.length){let f=n.handle.handlers[r[i+1].type];f&&f.peek&&(f=f.peek),s=f?f(r[i+1],e,n,ja({before:"",after:""},l.current())).charAt(0):""}else s=t.after;o.length>0&&(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,ii(ja({},l.current()),{before:u,after:s})))),u=o[o.length-1].slice(-1)}return a.pop(),o.join("")}var eEn=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];X2e.peek=aEn;var Xq={canContainEols:["delete"],enter:{strikethrough:nEn},exit:{strikethrough:tEn}},Zq={unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:eEn}],handlers:{delete:X2e}};function nEn(e){this.enter({type:"delete",children:[]},e)}function tEn(e){this.exit(e)}function X2e(e,n,t,a){let r=GD(a),o=t.enter("strikethrough"),i=r.move("~~");return i+=Y5(e,t,ii(ja({},r.current()),{before:i,after:"~"})),i+=r.move("~~"),o(),i}function aEn(){return"~"}Kq.peek=rEn;function Kq(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+" ");++o<t.unsafe.length;){let i=t.unsafe[o],u=Q5(i),l;if(!!i.atBreak)for(;l=u.exec(a);){let c=l.index;a.charCodeAt(c)===10&&a.charCodeAt(c-1)===13&&c--,a=a.slice(0,c)+" "+a.slice(l.index+1)}}return r+a+r}function rEn(){return"`"}function Z2e(e,n={}){let t=(n.align||[]).concat(),a=n.stringLength||iEn,r=[],o=[],i=[],u=[],l=0,c=-1;for(;++c<e.length;){let _=[],R=[],D=-1;for(e[c].length>l&&(l=e[c].length);++D<e[c].length;){let y=oEn(e[c][D]);if(n.alignDelimiters!==!1){let S=a(y);R[D]=S,(u[D]===void 0||S>u[D])&&(u[D]=S)}_.push(y)}o[c]=_,i[c]=R}let s=-1;if(typeof t=="object"&&"length"in t)for(;++s<l;)r[s]=K2e(t[s]);else{let _=K2e(t);for(;++s<l;)r[s]=_}s=-1;let f=[],v=[];for(;++s<l;){let _=r[s],R="",D="";_===99?(R=":",D=":"):_===108?R=":":_===114&&(D=":");let y=n.alignDelimiters===!1?1:Math.max(1,u[s]-R.length-D.length),S=R+"-".repeat(y)+D;n.alignDelimiters!==!1&&(y=R.length+y+D.length,y>u[s]&&(u[s]=y),v[s]=y),f[s]=S}o.splice(1,0,f),i.splice(1,0,v),c=-1;let m=[];for(;++c<o.length;){let _=o[c],R=i[c];s=-1;let D=[];for(;++s<l;){let y=_[s]||"",S="",G="";if(n.alignDelimiters!==!1){let P=u[s]-(R[s]||0),k=r[s];k===114?S=" ".repeat(P):k===99?P%2?(S=" ".repeat(P/2+.5),G=" ".repeat(P/2-.5)):(S=" ".repeat(P/2),G=S):G=" ".repeat(P)}n.delimiterStart!==!1&&!s&&D.push("|"),n.padding!==!1&&!(n.alignDelimiters===!1&&y==="")&&(n.delimiterStart!==!1||s)&&D.push(" "),n.alignDelimiters!==!1&&D.push(S),D.push(y),n.alignDelimiters!==!1&&D.push(G),n.padding!==!1&&D.push(" "),(n.delimiterEnd!==!1||s!==l-1)&&D.push("|")}m.push(n.delimiterEnd===!1?D.join("").replace(/ +$/,""):D.join(""))}return m.join(`
`)}function oEn(e){return e==null?"":String(e)}function iEn(e){return e.length}function K2e(e){let n=typeof e=="string"?e.codePointAt(0):0;return n===67||n===99?99:n===76||n===108?108:n===82||n===114?114:0}var ez={enter:{table:uEn,tableData:eMe,tableHeader:eMe,tableRow:cEn},exit:{codeText:sEn,table:lEn,tableData:nz,tableHeader:nz,tableRow:nz}};function uEn(e){let n=e._align;this.enter({type:"table",align:n.map(t=>t==="none"?null:t),children:[]},e),this.setData("inTable",!0)}function lEn(e){this.exit(e),this.setData("inTable")}function cEn(e){this.enter({type:"tableRow",children:[]},e)}function nz(e){this.exit(e)}function eMe(e){this.enter({type:"tableCell",children:[]},e)}function sEn(e){let n=this.resume();this.getData("inTable")&&(n=n.replace(/\\([\\|])/g,fEn));let t=this.stack[this.stack.length-1];t.value=n,this.exit(e)}function fEn(e,n){return n==="|"?n:e}function tz(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(m,_,R,D){return c(s(m,R,D),m.align)}function u(m,_,R,D){let y=f(m,R,D),S=c([y]);return S.slice(0,S.indexOf(`
`))}function l(m,_,R,D){let y=R.enter("tableCell"),S=R.enter("phrasing"),G=Y5(m,R,ii(ja({},D),{before:o,after:o}));return S(),y(),G}function c(m,_){return Z2e(m,{align:_,alignDelimiters:a,padding:t,stringLength:r})}function s(m,_,R){let D=m.children,y=-1,S=[],G=_.enter("table");for(;++y<D.length;)S[y]=f(D[y],_,R);return G(),S}function f(m,_,R){let D=m.children,y=-1,S=[],G=_.enter("tableRow");for(;++y<D.length;)S[y]=l(D[y],m,_,R);return G(),S}function v(m,_,R){let D=Kq(m,_,R);return R.stack.includes("tableCell")&&(D=D.replace(/\|/g,"\\$&")),D}}function nMe(e){let n=e.options.bullet||"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bullet`, expected `*`, `+`, or `-`");return n}function tMe(e){let n=e.options.listItemIndent||"tab";if(n===1||n==="1")return"one";if(n!=="tab"&&n!=="one"&&n!=="mixed")throw new Error("Cannot serialize items with `"+n+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return n}function aMe(e,n,t,a){let r=tMe(t),o=t.bulletCurrent||nMe(t);n&&n.type==="list"&&n.ordered&&(o=(typeof n.start=="number"&&n.start>-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,m){return v?(m?"":" ".repeat(i))+f:(m?o:o+" ".repeat(i-o.length))+f}}var az={exit:{taskListCheckValueChecked:rMe,taskListCheckValueUnchecked:rMe,paragraph:vEn}},rz={unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:mEn}};function rMe(e){let n=this.stack[this.stack.length-2];n.checked=e.type==="taskListCheckValueChecked"}function vEn(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(;++o<r.length;){let u=r[o];if(u.type==="paragraph"){i=u;break}}i===t&&(a.value=a.value.slice(1),a.value.length===0?t.children.shift():t.position&&a.position&&typeof a.position.start.offset=="number"&&(a.position.start.column++,a.position.start.offset++,t.position.start=Object.assign({},a.position.start)))}}this.exit(e)}function mEn(e,n,t,a){let r=e.children[0],o=typeof e.checked=="boolean"&&r&&r.type==="paragraph",i="["+(e.checked?"x":" ")+"] ",u=GD(a);o&&u.move(i);let l=aMe(e,n,t,ja(ja({},a),u.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,c)),l;function c(s){return s+i}}function oz(){return[Wq,Qq(),Xq,ez,az]}function iz(e){return{extensions:[qq,Yq(),Zq,tz(e),rz]}}function X5(e={}){let n=this.data();t("micromarkExtensions",H2e(e)),t("fromMarkdownExtensions",oz()),t("toMarkdownExtensions",iz(e));function t(a,r){(n[a]?n[a]:n[a]=[]).push(r)}}function BR(){}function oMe(e,n){let t=String(e),a=t.indexOf(n),r=a,o=0,i=0;if(typeof n!="string")throw new TypeError("Expected substring");for(;a!==-1;)a===r?++o>i&&(i=o):o=1,r=a+n.length,a=t.indexOf(n,r);return i}function uz(){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];BR(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];BR(s.type==="math"),this.exit(l),s.value=c;let f=s.data.hChildren[0];BR(f.type==="element"),BR(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];BR(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 lz(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(oMe(c,"$")+1,2)),v=u.enter("mathFlow"),m=s.move(f);if(o.meta){let _=u.enter("mathFlowMeta");m+=s.move(u.safe(o.meta,ja({after:`
`,before:m,encode:["$"]},s.current()))),_()}return m+=s.move(`
`),c&&(m+=s.move(c+`
`)),m+=s.move(f),v(),m}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<u.unsafe.length;){let v=u.unsafe[f];if(!v.atBreak)continue;let m=u.compilePattern(v),_;for(;_=m.exec(l);){let R=_.index;l.codePointAt(R)===10&&l.codePointAt(R-1)===13&&R--,l=l.slice(0,R)+" "+l.slice(_.index+1)}}return s+l+s}function r(){return"$"}}var wSr=Yd(/[A-Za-z]/),SSr=Yd(/[\dA-Za-z]/),ESr=Yd(/[#-'*+\--9=?A-Z^-~]/);var CSr=Yd(/\d/),ISr=Yd(/[\dA-Fa-f]/),TSr=Yd(/[!-/:-@[-`{-~]/);function Fp(e){return e!==null&&e<-2}function cz(e){return e===-2||e===-1||e===32}var FSr=Yd(/\p{P}|\p{S}/u),MSr=Yd(/\s/);function Yd(e){return n;function n(t){return t!==null&&t>-1&&e.test(String.fromCharCode(t))}}function BT(e,n,t,a){let r=a?a-1:Number.POSITIVE_INFINITY,o=0;return i;function i(l){return cz(l)?(e.enter(t),u(l)):n(l)}function u(l){return cz(l)&&o++<r?(e.consume(l),u):(e.exit(t),n(l))}}var iMe={tokenize:pEn,concrete:!0},uMe={tokenize:_En,partial:!0};function pEn(e,n,t){let a=this,r=a.events[a.events.length-1],o=r&&r[1].type==="linePrefix"?r[2].sliceSerialize(r[1],!0).length:0,i=0;return u;function u(S){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(S)}function l(S){return S===36?(e.consume(S),i++,l):i<2?t(S):(e.exit("mathFlowFenceSequence"),BT(e,c,"whitespace")(S))}function c(S){return S===null||Fp(S)?f(S):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),s(S))}function s(S){return S===null||Fp(S)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(S)):S===36?t(S):(e.consume(S),s)}function f(S){return e.exit("mathFlowFence"),a.interrupt?n(S):e.attempt(uMe,v,D)(S)}function v(S){return e.attempt({tokenize:y,partial:!0},D,m)(S)}function m(S){return(o?BT(e,_,"linePrefix",o+1):_)(S)}function _(S){return S===null?D(S):Fp(S)?e.attempt(uMe,v,D)(S):(e.enter("mathFlowValue"),R(S))}function R(S){return S===null||Fp(S)?(e.exit("mathFlowValue"),_(S)):(e.consume(S),R)}function D(S){return e.exit("mathFlow"),n(S)}function y(S,G,P){let k=0;return BT(S,M,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function M(le){return S.enter("mathFlowFence"),S.enter("mathFlowFenceSequence"),O(le)}function O(le){return le===36?(k++,S.consume(le),O):k<i?P(le):(S.exit("mathFlowFenceSequence"),BT(S,oe,"whitespace")(le))}function oe(le){return le===null||Fp(le)?(S.exit("mathFlowFence"),G(le)):P(le)}}}function _En(e,n,t){let a=this;return r;function r(i){return i===null?n(i):(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),o)}function o(i){return a.parser.lazy[a.now().line]?t(i):n(i)}}function lMe(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),{tokenize:a,resolve:dEn,previous:hEn};function a(r,o,i){let u=this,l=0,c,s;return f;function f(D){return r.enter("mathText"),r.enter("mathTextSequence"),v(D)}function v(D){return D===36?(r.consume(D),l++,v):l<2&&!t?i(D):(r.exit("mathTextSequence"),m(D))}function m(D){return D===null?i(D):D===36?(s=r.enter("mathTextSequence"),c=0,R(D)):D===32?(r.enter("space"),r.consume(D),r.exit("space"),m):Fp(D)?(r.enter("lineEnding"),r.consume(D),r.exit("lineEnding"),m):(r.enter("mathTextData"),_(D))}function _(D){return D===null||D===32||D===36||Fp(D)?(r.exit("mathTextData"),m(D)):(r.consume(D),_)}function R(D){return D===36?(r.consume(D),c++,R):c===l?(r.exit("mathTextSequence"),r.exit("mathText"),o(D)):(s.type="mathTextData",_(D))}}}function dEn(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<n;)if(e[a][1].type==="mathTextData"){e[n][1].type="mathTextPadding",e[t][1].type="mathTextPadding",t+=2,n-=2;break}}for(a=t-1,n++;++a<=n;)r===void 0?a!==n&&e[a][1].type!=="lineEnding"&&(r=a):(a===n||e[a][1].type==="lineEnding")&&(e[r][1].type="mathTextData",a!==r+2&&(e[r][1].end=e[a-1][1].end,e.splice(r+2,a-r-2),n-=a-r-2,a=r+2),r=void 0);return e}function hEn(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function sz(e){return{flow:{[36]:iMe},text:{[36]:lMe(e)}}}var gEn={};function Z5(e){let n=this,t=e||gEn,a=n.data(),r=a.micromarkExtensions||(a.micromarkExtensions=[]),o=a.fromMarkdownExtensions||(a.fromMarkdownExtensions=[]),i=a.toMarkdownExtensions||(a.toMarkdownExtensions=[]);r.push(sz(t)),o.push(uz()),i.push(lz(t))}var cMe=e=>React.createElement("table",{className:"table table-bordered table-sm",children:e.children}),sMe=[Z5,{singleDollarTextMath:!1}],fMe=[V5,{throwOnError:!1}];var vMe=e=>{try{return m5(e)}catch{return e.fallback}};Wt();var mMe=class extends wt.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)}},pMe=mMe;var DEn=gs(),yEn=z(ea);var bEn=function(){return function(){return DEn(pMe)}},REn=bEn()(),_Me=function(e){return REn({render:function(n){return e({hasError:gt(ee(n.error))})},componentDidCatch:function(n,t){return Lo(Xo)("Error within error boundary")({error:n,componentStack:t.componentStack})(function(a){return yEn(Ce)})()}})};var wEn=gs(),SEn=Ye(sa),EEn=function(e){return function(n){var t=HS(e);return _Me(function(a){return a.hasError?t:wEn(vMe)({children:e,rehypePlugins:SEn([fMe])(n),remarkPlugins:[X5,sMe],components:{table:cMe},fallback:t})})}},dMe=function(e){return EEn(e)([])};var CEn=_e(xt(va)),fz=B(ae),IEn=B(W),TEn=Ct(ae)()(),FEn=Gn(pt),MEn=en(ae),vz=function(e){return vo(D3(e.key)("false"))(function(n){return function(t){return vn(CEn(n)(new d("false")))(fz("alert rounded-0 bg-light")(IEn("row")([fz("col")(e.label),fz("col-auto")(TEn("btn btn-sm p-0")({onClick:FEn(t)("true")})(MEn("fe fe-x")(un)))])))}})};var mz=B(ae),hMe=Ua(vr(na)),GEn=oa(Te)(ft),AEn=B(L),xEn=j0(),gMe=_e(xt(EJ)),LEn=Ct(ae)()(),jEn=ca(pr),NEn=z(ea),DMe=en(L),K5=B(W),PEn=N(ge),kEn=um(),OEn=_i(ae)()(),UEn=xa(L)()(),yMe=iv(),HEn=Yn(W)()(),BEn=Z(ge),JEn=Yn(L)()(),pz=function(e){var n=e.chatMessage(ae),t=e.chatMessage(W),a=n(e.chatbotAvatar),r=function(){var c=function(){var s=mz("my-auto t--ai-chatbot-ai-welcome-message");return function(f){return a(s(f))}}();return function(s){if(hMe(Ti)(e.bannedReason))return c(Y(GEn(["The service is not available for the following reason: ",e.bannedReason,". Please try again later or email ",uk," for more information."])));if(s instanceof C)return un;if(s instanceof d)return c(s.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 169, column 26 - line 178, column 24): "+[s.constructor.name])}}(),o=a(mz("my-auto")(R7)),i=function(c){return a(AEn("my-auto text-danger")(function(){if(c instanceof C)return"Something went wrong. Try resending your message.";if(c instanceof d)return c.value0;throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 186, column 11 - line 188, column 34): "+[c.constructor.name])}()))},u=xEn({source:function(){return e.user instanceof d&&e.user.value0.avatarUrl instanceof d?new Su({url:e.user.value0.avatarUrl.value0}):e.user instanceof d&&e.user.value0.initials instanceof d?new Yg({initials:e.user.value0.initials.value0,backgroundColorClass:C.value,textColorClass:C.value}):new Su({url:gg("/img/smiley-grey.svg")})}(),size:Qb.value}),l=function(c){var s=function(m){return function(_){return m instanceof Cv&&gMe(_)(new d(m))||m instanceof nf&&gMe(_)(new d(m))?"text-primary bg-soft-primary":"text-gray-700"}},f=function(m){return function(_){return function(R){return function(D){return LEn("btn btn-link p-2 large d-flex align-items-center mr-2 "+s(m)(_))({onClick:jEn(function(){if(c.id instanceof C)return NEn(Ce);if(c.id instanceof d&&m instanceof Cv&&_ instanceof d&&_.value0 instanceof Cv)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof nf&&_ instanceof d&&_.value0 instanceof nf)return function(){return R(C.value)(),D({messageId:c.id.value0,reaction:C.value})()};if(c.id instanceof d&&m instanceof Cv)return function(){return R(new d(Cv.value))(),D({messageId:c.id.value0,reaction:new d(Cv.value)})()};if(c.id instanceof d&&m instanceof nf)return function(){return R(new d(nf.value))(),D({messageId:c.id.value0,reaction:new d(nf.value)})()};throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 142, column 17 - line 156, column 76): "+[c.id.constructor.name,m.constructor.name,_.constructor.name])}())})(DMe("material-symbol")(function(){if(m instanceof Cv)return"thumb_up";if(m instanceof nf)return"thumb_down";throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 159, column 15 - line 161, column 43): "+[m.constructor.name])}()))}}}};if(c.sender instanceof gD)return n(u)(K5("t--ai-chatbot-user-message")(ph(_M(""))(PEn(DMe(""))(Ii(kEn(`
`))(c.body)))));if(c.sender instanceof bT){var v=OEn({placement:ope,overlay:Y(F1e(c))})(e.chatbotAvatar);return t(v)([mz("my-auto t--ai-chatbot-ai-message "+("t--ai-chatbot-ai-message-"+Ee("")(c.id)))(dMe(c.body)),Je(e.onReaction)(function(m){return vo(ua(C.value))(function(_){return function(R){return K5("d-flex mt-3")([f(Cv.value)(_)(R)(m),f(nf.value)(_)(R)(m)])}})})])}throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 111, column 7 - line 135, column 36): "+[c.sender.constructor.name])};return K5("flex-grow-1 d-flex flex-column overflow-y-auto p-0")([vn(e.showAddStudentProfileBanner)(vz({key:"ai-no-profile-banner-dismissed",label:ce([Y("For more personalized responses "),UEn("")({href:e.chancingWizardPath})("add a student profile"),Y(".")])})),vn(e.showLogInBanner)(vz({key:"ai-anonymous-banner-dismissed",label:ce([Y("For more personalized responses "),yMe({text:"log in",className:"btn btn-link p-0 align-baseline"}),Y(" or "),yMe({text:"sign up",className:"btn btn-link p-0 align-baseline",auth0ActiveTab:ov}),Y(".")])})),HEn("flex-grow-1 d-flex flex-column")({id:"chat-conversation"})([K5("flex-grow-1 px-3")([r(e.welcomeMessage),function(){return e.chatbotState instanceof d&&hMe(Si)(e.chatbotState.value0.messages)?ce(BEn(e.chatbotState.value0.messages)(l)):un}(),function(){if(e.messageSendingState instanceof dp)return o;if(e.messageSendingState instanceof Xc)return l(xJ(e.messageSendingState.value0));if(e.messageSendingState instanceof _p)return un;if(e.messageSendingState instanceof Tv)return un;if(e.messageSendingState instanceof H0)return i(e.messageSendingState.value0);throw new Error("Failed pattern match at Vinai.ChatbotPage.Conversation (line 92, column 9 - line 103, column 45): "+[e.messageSendingState.constructor.name])}()]),ma(e.footer),JEn("")({id:"chat-anchor",style:fn({overflowAnchor:"auto",height:"1px"})})("")])])};function e6(e){return function(){document.getElementById(e).scrollIntoView()}}var _z=function(e){return Oe(Tv.value)(function(n){return n.sendingState})(e)};var KEn=N(J),eCn=wJ(),nCn=Ua(vr(na)),tCn=B(W),dz=B(ae),aCn=Yn(W)()(),n6=z(_t),rCn=K(qt),bMe=Gi(Vt),oCn=Dr(bMe),RMe=xr(bMe),wMe=Hn(Mn)(qt),iCn=uo(_t),uCn=Kr(Xn),lCn=z(Yt),cCn=K(Lt),SMe=Bn(Xn),sCn=N(Vt),JT=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),EMe=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}(),t6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),fCn=function(e){return function(n){return function(t){return pz({bannedReason:e.bannedReason,chancingWizardPath:"",chatbotState:n.chatbot,footer:C.value,messageSendingState:_z(n.chatbot),onReaction:C.value,showAddStudentProfileBanner:!1,showLogInBanner:!1,user:e.user,welcomeMessage:KEn(Y)(e.welcomeMessage),chatMessage:function(a){return t(a)},chatbotAvatar:e.chatbotAvatar})}}},vCn=function(e){return function(n){return function(t){return eCn({placeholder:"Message\u2026",sendButtonStatus:function(){var a=nCn(Ti)(e.bannedReason);if(a)return hD.value;var r=_z(n.chatbot);if(r instanceof Tv)return Nd.value;if(r instanceof _p)return Pd.value;if(r instanceof dp)return Pd.value;if(r instanceof Xc)return Pd.value;var o=function(i){if(r instanceof H0&&xe)return hD.value;throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 149, column 1 - line 149, column 72): "+[r.constructor.name])};return r instanceof H0&&r.value0 instanceof C?Nd.value:o(!0)}()})(n.authorChatMessage)(function(a){return t(t6.create(a))})}}},mCn=function(e){return function(n){return function(t){var a=function(){return n.authorChatMessage.messageHeight instanceof d&&n.authorChatMessage.messageHeight.value0>40?"rounded-lg":"rounded-pill"}(),r=function(o){var i=B(o);return function(u){return function(l){return tCn("d-flex justify-content-end mb-4")([dz("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 aCn("t--floating-chatbot pointer-events-none flex-grow-1 d-flex flex-column")({style:fn({position:"fixed",right:"0",bottom:"0",width:"400px",maxWidth:"100%",maxHeight:"75vh"})})([fCn(e)(n)(function(o){return r(o)}),dz("pb-3 px-3 border-0")(dz("d-flex w-100 border border-gray-500 m-0 p-2 bg-white shadow pointer-events-auto "+a)(vCn(e)(n)(t)))])}}},pCn=function(e){return function(n){return function(t){var a=function(r){if(t instanceof JT)return n6(n);if(t instanceof EMe)return rCn(oCn(JT.create)(jJ({initialMessageBody:new d(t.value1),messages:[{sender:gD.value,body:t.value1,sentAt:t.value0,id:C.value}],receiveChannelName:t.value2.pusherChannel,sendMessage:e.sendMessage(t.value2.conversationId)})))(function(o){return n6({authorChatMessage:n.authorChatMessage,chatbot:new d(o)})});if(t instanceof t6&&t.value0 instanceof at)return RMe(t6.create)(function(o){return{chatbot:n.chatbot,authorChatMessage:o}})(RJ(n.authorChatMessage)(t.value0));if(t instanceof t6&&t.value0 instanceof Qt)return wMe(iCn(Ti(e.bannedReason))(uCn(function(){if(n.chatbot instanceof d)return lCn(new JT(new F7(t.value0.value0.value0)));if(n.chatbot instanceof C)return cCn(SMe(Kh))(function(o){return sCn(EMe.create(o)(t.value0.value0.value0))(e.createConversation(Ce))});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 94, column 9 - line 99, column 79): "+[n.chatbot.constructor.name])}())))(function(){return n6({chatbot:n.chatbot,authorChatMessage:S7})});throw new Error("Failed pattern match at Vinai.ChatbotWidget (line 58, column 1 - line 58, column 64): "+[t.constructor.name])};return t instanceof JT&&n.chatbot instanceof d?wMe(mr(SMe(e6("chat-anchor"))))(function(){return RMe(JT.create)(function(r){return{authorChatMessage:n.authorChatMessage,chatbot:new d(r)}})(LJ(n.chatbot.value0)(t.value0))}):a(!0)}}},_Cn=function(){return{authorChatMessage:S7,chatbot:C.value}}(),CMe=function(e){return tl("FloatingChatbot"+e)(function(n){return{init:n6(_Cn),view:mCn(n),update:pCn(n)}})};var hz=K(Le),dCn=z(On),IMe=Z(J),hCn=Hn(Mn),gCn=uo(ea),DCn=Bn(_s),yCn=yi(J),TMe=mt(Le),bCn=B(W),FMe=B(ae),gz=on(),a6=z(_t),MMe=Gi(Vt),Dz=xr(MMe),RCn=hCn(qt),wCn=Kr(Xn),SCn=z(Yt),GMe=K(qt),yz=Dr(MMe),ECn=Wv(_t)(Te),CCn=_e(xt(dc)),bz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),r6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),JR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Rz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Xd=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),wz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),o6=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Sz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),AMe=function(e){return function(n){return function(t){return function(a){var r=hz(n.recommendedSchools)(function(y){return dCn(h7({recommendedSchools:y,school:e.school,onViewSchool:e.onViewSchool}))}),o=a(new Qt(new Sz(QP.value))),i=a(new Qt(new Xd(new H_(la(e.school))))),u=function(y){return a(new Qt(new Xd(new P_(la(e.school),y))))},l=function(){a(new Qt(new Xd(new O_(la(e.school)))))();var S=IMe(hz(ho(e.schoolDb.schoolConnections))(Ts(la(e.school))))(function(G){return G.schoolUsesAiRecruiter});return gCn(n.featureFlags.app18667TrellisRecruiter&&Ee(!1)(S))(DCn(c4(pCe(la(e.school)))))(),Ce},c={school:e.school,schoolDb:e.schoolDb,onSwitchTab:function(y){return a(Qt.create(o6.create(y)))},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?yCn(n.currentUser)(d7(c)({user:TMe(yg)(n.currentUser),featureFlags:n.featureFlags})):C.value}(),f=function(y){var S=TMe(Gu(n.configuration))(XI([s,r]));return bCn("row")([FMe("col"+function(){var G=gt(S);return G?" col-md-8":""}())(y),Je(S)(FMe("col col-md-4 d-none d-md-block"))])},v=function(){var y=l4({chancingState:n.chancingState,featureFlags:n.featureFlags,currentUser:n.currentUser,configuration:n.configuration,school:e.school,schoolDb:e.schoolDb})(e.activeTab);return y?e.activeTab:ei.value}(),m=xSe({school:e.school,schoolDb:e.schoolDb,activeTab:v,configuration:n.configuration,showNav:!0,showConnectButton:n.showNetworkCard,onSwitchTab:function(y){return a(Qt.create(o6.create(y)))},onListStatusChange:function(y){return a(Qt.create(Rz.create(y)))},onSelectSchool:function(y){return a(Qt.create(wz.create(y)))},onInviteSchool:o,onAcceptInvitation:l,onIgnoreInvitation:i,onEdit:e.onEdit,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n),_=IMe(hz(n.currentUser)(yg))(function(y){return{avatarUrl:y.avatarUrl,initials:y.initials}}),R="Hi! I'm Sage. Ask me anything about "+Gye(gz(e.school).name),D=function(){if(v instanceof ei)return rCe(c)(n)(t.overview)(function(S){return a(at.create(JR.create(S)))});if(v instanceof Lu)return Je(ag(la(e.school))(e.schoolDb))(function(S){return f(DSe({school:e.school,schoolDb:e.schoolDb,contentModules:S,mapboxAccessToken:n.mapboxAccessToken,showLikeButton:gt(n.currentUser),randomSeed:n.randomSeed,onContentModuleInteraction:u,isUserHq:Oe(!1)(function(G){return G.isHq})(n.currentUser)})(t.forYou)(function(G){return a(at.create(r6.create(G)))}))});if(v instanceof ju){var y=ho($1(la(e.school))(e.schoolDb));return f(awe(e.school)(n)(y)(t.finances)(function(S){return a(at.create(bz.create(S)))}))}if(v instanceof Zi)return xRe(e.school)(n)({onSwitchTab:C.value,showViewChancingExplanationCTA:!1,schoolDb:e.schoolDb});if(v instanceof Jl)return f(USe(e.schoolDb)(e.school));if(v instanceof Wl)return f(vbe({school:e.school,onEdit:e.onEdit,props:n}));if(v instanceof ql)return LRe(e.school)(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetails (line 174, column 12 - line 210, column 44): "+[v.constructor.name])}();return ce([m,D,ng(n.showNetworkCard)(function(y){return lwe({mobileLayout:n.mobileLayout,school:e.school,schoolDb:e.schoolDb,onAcceptInvitation:l,onIgnoreInvitation:i})}),vn(n.featureFlags.app18667SageOnSdp)(CMe(gz(e.school).name)({bannedReason:"",welcomeMessage:new d(R),user:_,createConversation:function(y){return mCe(gz(e.school).id)},sendMessage:vCe(_Ce),chatbotAvatar:Xb}))])}}}},xMe=function(e){return function(n){return function(t){if(t instanceof Qt)return a6(n);if(t instanceof at){if(t.value0 instanceof bz)return Dz(function(a){return at.create(bz.create(a))})(function(a){return{forYou:n.forYou,overview:n.overview,finances:a}})(nwe(n.finances)(t.value0.value0));if(t.value0 instanceof r6)return Dz(function(a){return at.create(r6.create(a))})(function(a){return{finances:n.finances,overview:n.overview,forYou:a}})(ySe(n.forYou)(t.value0.value0));if(t.value0 instanceof JR&&t.value0.value0 instanceof dD&&t.value0.value0.value0 instanceof Qt)return RCn(wCn(SCn(new Qt(new Xd(t.value0.value0.value0.value0)))))(function(){return a6(n)});if(t.value0 instanceof JR)return Dz(function(a){return at.create(JR.create(a))})(function(a){return{finances:n.finances,forYou:n.forYou,overview:a}})(tCe(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])}}},LMe=function(e){return GMe(yz(function(n){return at.create(JR.create(n))})(aCe(e)))(function(n){return GMe(yz(function(t){return at.create(r6.create(t))})(bSe))(function(t){return a6({finances:twe,forYou:t,overview:n})})})},jMe=function(e){return ECn(function(n){return n instanceof BN&&CCn(cce(n.value0))(new d(la(e.school)))?yz(function(t){return at.create(JR.create(dD.create(t)))})(wEe(n.value0)):a6(Ce)})};var ICn=lE(_s)(),TCn=re(Mi),NMe=function(e){var n=Bn(e);return function(t){return n(ICn("SDP: Viewed page")({tab:WE(t.tab),school_name:t.school.name,school_id:TCn(t.school.id)}))}};var PMe=K(qt),kMe=Gi(Vt),Ez=Dr(kMe),OMe=Hn(Mn),WT=OMe(qt),UMe=NMe(Xn),i6=on(),Mp=z(_t),FCn=wN(),u6=Z(J),Cz=xr(kMe),MCn=OMe(Lt),GCn=Bn(Xn),HMe=K(Va),BMe=Kr(Xn),JMe=z(Yt),ACn=K(Le),WMe=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),Iz=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),lf=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),WR=function(){function e(n){this.value0=n}return e.create=function(n){return new e(n)},e}(),qMe=function(e){return function(n){return function(t){return function(a){return ce([AMe({activeTab:t.activeTab,school:t.school,schoolDb:t.schoolDb,onEdit:e.onEdit,onViewSchool:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})(n)(t.page)(function(r){return a(lf.create(r))}),Je(t.modal)(function(r){return Ape(r.value0)(function(o){return a(WR.create(o))})})])}}}},zMe=function(e){return function(n){return PMe(Ez(lf.create)(LMe(e.school)))(function(t){return WT(mr(UMe({tab:e.tab,school:i6(e.school),featureFlags:n.featureFlags})))(function(){return Mp({school:e.school,activeTab:e.tab,schoolDb:FCn({schools:new or(new d([e.school])),majors:e.majors,chances:Oe(Ra.value)(zt.create)(u6(e.chances)(yM(la(e.school)))),contentModules:Oe([])(function(a){return[{schoolId:la(e.school),modules:a}]})(e.contentModules),financials:Oe(Ra.value)(zt.create)(u6(e.financials)(yM(la(e.school)))),schoolConnections:Ee(JS)(u6(e.schoolConnection)(yM(la(e.school)))),schoolList:e.schoolList,schoolNotes:e.schoolNotes}),page:t,modal:C.value,vineBelowConnectionLimit:n.vineBelowConnectionLimit})})})}},xCn=function(e){return function(n){return Cz(Iz.create)(function(t){return{activeTab:e.activeTab,modal:e.modal,page:e.page,school:e.school,vineBelowConnectionLimit:e.vineBelowConnectionLimit,schoolDb:t}})(JN(n)(e.schoolDb))}},$Me=function(e){return function(n){var t=i6(n.school);return function(a){if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Xd)return xCn(n)(a.value0.value0.value0);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof o6)return WT(mr(MCn(UMe({tab:a.value0.value0.value0,school:i6(n.school),featureFlags:e.featureFlags}))(function(){return GCn(HMe(HMe(_o)(US))(DM(Ga(el))(t.name+" | CollegeVine")(R0(a.value0.value0.value0)(t.slug))))})))(function(){return Mp({modal:n.modal,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,activeTab:a.value0.value0.value0})});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Rz)return WT(BMe(function(){var o=new N_(t.id,a.value0.value0.value0,cE.value,U9(t.id)(n.schoolDb));return JMe(new lf(new Qt(new Xd(o))))}()))(function(){return Mp(n)});if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof wz)return Mp(n);if(a instanceof lf&&a.value0 instanceof Qt&&a.value0.value0 instanceof Sz)return Mp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:u6(ACn(e.currentUser)(yg))(function(o){return new WMe(Lpe({schoolName:function(i){return i.name}(i6(n.school)),profile:o,context:a.value0.value0.value0,vineBelowConnectionLimit:n.vineBelowConnectionLimit}))})});if(a instanceof lf&&a.value0 instanceof at)return Cz(lf.create)(function(o){return{activeTab:n.activeTab,modal:n.modal,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,page:o}})(xMe(n)(n.page)(a.value0));if(a instanceof Iz)return PMe(Ez(Iz.create)(jce(n.schoolDb)(a.value0)))(function(o){return WT(Ez(lf.create)(jMe(n)(o.events)))(function(){return Mp({activeTab:n.activeTab,modal:n.modal,page:n.page,vineBelowConnectionLimit:n.vineBelowConnectionLimit,school:Ee(n.school)(SM(t.id)(o.state)),schoolDb:o.state})})});if(a instanceof WR&&a.value0 instanceof Qt&&a.value0.value0 instanceof ik)return WT(BMe(JMe(new lf(new Qt(new Xd(new U_({schoolId:t.id,introMessage:a.value0.value0.value0.introMessage})))))))(function(){return Mp(n)});if(a instanceof WR&&a.value0 instanceof Qt&&a.value0.value0 instanceof wC)return Mp({activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:C.value});var r=function(o){if(a instanceof WR&&a.value0 instanceof at&&xe)return Mp(n);throw new Error("Failed pattern match at SchoolDetails.SchoolDetailsPage (line 84, column 1 - line 84, column 64): "+[a.constructor.name])};return a instanceof WR&&a.value0 instanceof at&&n.modal instanceof d?Cz(WR.create)(function(o){return{activeTab:n.activeTab,page:n.page,school:n.school,schoolDb:n.schoolDb,vineBelowConnectionLimit:n.vineBelowConnectionLimit,modal:new d(new WMe(o))}})(xpe(n.modal.value0.value0)(new at(a.value0.value0))):r(!0)}}};var l6=function(e){return function(){console.error(e)}};var eGe=function(e){var n=Bn(e);return function(t){return n(l6(t))}};var OCn=z(ea),nGe=K(Va),UCn=N(it),HCn=eGe(_s),tGe=function(e){var n=function(a){var r=e(a);return _L(r.view(r.init.value0)(an(OCn(Ce))))},t=function(a){return function(r){return function(o){return function(){var u=nGe(nGe(_o)(function(){var c=UCn(gM);return function(s){return c(Rm(s))}}()))(dM(r))();if(u instanceof C)return HCn("Element #"+(r+" not found"))();if(u instanceof d){var l=fK(e(o))();return a(l)(u.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[u.constructor.name])}}}};return{mount:t($Z),renderToString:n,hydrate:t(VZ)}};var BCn=ut(m2),JCn=K(_f),aGe=z(_t),rGe=function(e){var n=mm(e);return function(t){return tGe(BCn({parse:function(a){return JCn(n(a))(function(r){return Oe(new rn("Component construction failed"))(ln.create)(t.def(r))})},diagnosticName:"Props for "+t.diagnosticName,default:{init:aGe(Ce),update:function(a){return function(r){return aGe(Ce)}},view:function(a){return function(r){return un}}}}))}};var Kt=Qn(),Tz=E({reflectSymbol:function(){return"all"}}),To=Ln(ue),oi=Ln(bt),oGe=Kt(E({reflectSymbol:function(){return"academicThresholdStatus"}})(ue)(E({reflectSymbol:function(){return"applicationStrategy"}})(ue)(E({reflectSymbol:function(){return"classification"}})(To)(E({reflectSymbol:function(){return"courseRigorStrength"}})(To)(E({reflectSymbol:function(){return"ecStrength"}})(To)(E({reflectSymbol:function(){return"isRecommendedStrategy"}})(zn)(E({reflectSymbol:function(){return"score"}})(oi)(E({reflectSymbol:function(){return"shouldApplyTestOptional"}})(zn)(E({reflectSymbol:function(){return"specialCase"}})(To)(he)))))))))),Fz=E({reflectSymbol:function(){return"act"}}),Mz=E({reflectSymbol:function(){return"p25"}}),iGe=E({reflectSymbol:function(){return"p50"}}),Gz=E({reflectSymbol:function(){return"p75"}}),qR=Kt(Mz(oi)(iGe(oi)(Gz(oi)(he)))),Az=E({reflectSymbol:function(){return"gpa"}}),X0=Ln(Gt),uGe=Kt(Mz(X0)(iGe(X0)(Gz(X0)(he)))),xz=E({reflectSymbol:function(){return"sat"}}),lGe=E({reflectSymbol:function(){return"english"}}),cGe=E({reflectSymbol:function(){return"math"}}),sGe=cGe(oi),fGe=E({reflectSymbol:function(){return"id"}}),c6=E({reflectSymbol:function(){return"name"}})(ue),vGe=E({reflectSymbol:function(){return"readingWriting"}}),mGe=E({reflectSymbol:function(){return"majors"}}),pGe=c6(he),_Ge=E({reflectSymbol:function(){return"acceptanceRate"}}),dGe=fGe(ds),hGe=E({reflectSymbol:function(){return"slug"}})(Kw),gGe=E({reflectSymbol:function(){return"status"}})(ue)(he),DGe=E({reflectSymbol:function(){return"address"}}),yGe=E({reflectSymbol:function(){return"location"}})(Kt(E({reflectSymbol:function(){return"lat"}})(Gt)(E({reflectSymbol:function(){return"lng"}})(Gt)(he)))),bGe=E({reflectSymbol:function(){return"admissions"}}),RGe=E({reflectSymbol:function(){return"percentile"}})(Gt),wGe=E({reflectSymbol:function(){return"value"}}),qT=Ln(Kt(RGe(wGe(Gt)(he)))),zT=Ln(Kt(Mz(bt)(Gz(bt)(he)))),Lz=Ln(Kt(E({reflectSymbol:function(){return"men"}})(bt)(E({reflectSymbol:function(){return"women"}})(bt)(he)))),SGe=Kt(RGe(wGe(bt)(he))),EGe=Ln(SGe),CGe=Kt(E({reflectSymbol:function(){return"conference"}})(Ln(Kt(E({reflectSymbol:function(){return"group"}})(ue)(pGe))))(E({reflectSymbol:function(){return"division1"}})(zn)(he))),IGe=Tz(qR),TGe=cGe(qR),WCn=function(){var e=function(n){var t=nle(rv.value)(n),a=function(r){return function(o){return ce([qMe({onEdit:C.value})(t.value1)(r)(o),vo(ua(t.value0.showInvitationAcceptedCTA))(function(i){return function(u){return Je(i)(function(l){if(l instanceof UE)return wie({origin:R0(r.activeTab)(e9(r.school)),onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:t.value1.currentUser,school:r.school});if(l instanceof HE)return Sie({origin:t.value0.originUrl,onDismiss:u(C.value),auth0Config:t.value0.auth0Config,mobileLayout:t.value1.mobileLayout,currentUser:C.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 d({init:zMe(t.value0)(t.value1),update:$Me(t.value1),view:a})};return rGe(Kt(E({reflectSymbol:function(){return"auth0Config"}})(Kt(E({reflectSymbol:function(){return"auth0ClientId"}})(ue)(E({reflectSymbol:function(){return"auth0Domain"}})(ue)(E({reflectSymbol:function(){return"auth0RedirectUri"}})(ue)(E({reflectSymbol:function(){return"omniAuthState"}})(ue)(he))))))(E({reflectSymbol:function(){return"chances"}})(Ln(Kt(Tz($n(oGe))(E({reflectSymbol:function(){return"guidance"}})(Ln(Vp))(E({reflectSymbol:function(){return"sameDemographicStats"}})(Ln(Kt(Fz(qR)(Az(uGe)(xz(qR)(he))))))(E({reflectSymbol:function(){return"top"}})(oGe)(he)))))))(E({reflectSymbol:function(){return"chancingProfile"}})(Ln(Kt(Fz(Kt(lGe(oi)(sGe(E({reflectSymbol:function(){return"reading"}})(oi)(E({reflectSymbol:function(){return"science"}})(oi)(he))))))(E({reflectSymbol:function(){return"courseRigor"}})(Kt(E({reflectSymbol:function(){return"ap"}})(oi)(E({reflectSymbol:function(){return"collegeClasses"}})(oi)(E({reflectSymbol:function(){return"honors"}})(oi)(he)))))(E({reflectSymbol:function(){return"ecActivities"}})($n(Kt(E({reflectSymbol:function(){return"canonical_ec_activity_id"}})(Ln(wE))(E({reflectSymbol:function(){return"category"}})(ue)(E({reflectSymbol:function(){return"description"}})(To)(fGe(oi)(c6(E({reflectSymbol:function(){return"tier"}})(ue)(he)))))))))(E({reflectSymbol:function(){return"ecScore"}})(X0)(Az(X0)(E({reflectSymbol:function(){return"psatPredictedCompositeSAT"}})(oi)(xz(Kt(sGe(vGe(oi)(he))))(he))))))))))(E({reflectSymbol:function(){return"contentModules"}})(Ln(Zw))(E({reflectSymbol:function(){return"currentUser"}})(Ln(Kt(E({reflectSymbol:function(){return"cvid"}})(ue)(E({reflectSymbol:function(){return"isHq"}})(zn)(E({reflectSymbol:function(){return"role"}})(Kt(E({reflectSymbol:function(){return"counselor"}})(Ln(Kt(he)))(E({reflectSymbol:function(){return"semUser"}})(Ln(Kt(E({reflectSymbol:function(){return"schoolId"}})(ds)(he))))(E({reflectSymbol:function(){return"vine"}})(Ln(Kt(E({reflectSymbol:function(){return"admissionYear"}})(oi)(E({reflectSymbol:function(){return"avatarUrl"}})(To)(E({reflectSymbol:function(){return"fullName"}})(To)(E({reflectSymbol:function(){return"homeState"}})(To)(E({reflectSymbol:function(){return"initials"}})(To)(E({reflectSymbol:function(){return"publishScope"}})(ue)(he)))))))))(he)))))(he))))))(E({reflectSymbol:function(){return"featureFlags"}})(Kt(E({reflectSymbol:function(){return"app18667SageOnSdp"}})(zn)(E({reflectSymbol:function(){return"app18667TrellisRecruiter"}})(zn)(E({reflectSymbol:function(){return"autopilot"}})(ue)(E({reflectSymbol:function(){return"rcr2577ClaimSchoolProfileLinkOnSdp"}})(zn)(he))))))(E({reflectSymbol:function(){return"financials"}})(Ln(Kt(E({reflectSymbol:function(){return"estimatedMeritAid"}})(X0)(E({reflectSymbol:function(){return"estimatedNetCost"}})(Gt)(E({reflectSymbol:function(){return"financialAid"}})(Gt)(E({reflectSymbol:function(){return"stickerPrice"}})(Gt)(he)))))))(E({reflectSymbol:function(){return"hasFinancialProfile"}})(zn)(E({reflectSymbol:function(){return"initialTab"}})(ue)(mGe($n(Kt(E({reflectSymbol:function(){return"areaOfStudy"}})(ue)(E({reflectSymbol:function(){return"cipCode"}})(ue)(E({reflectSymbol:function(){return"compressedName"}})(ue)(pGe))))))(E({reflectSymbol:function(){return"mapboxAccessToken"}})(lle)(E({reflectSymbol:function(){return"mobileLayout"}})(zn)(E({reflectSymbol:function(){return"originUrl"}})(ue)(E({reflectSymbol:function(){return"randomSeed"}})(bt)(E({reflectSymbol:function(){return"recommendedSchools"}})(Ln($n(Kt(_Ge(X0)(E({reflectSymbol:function(){return"cityState"}})(To)(dGe(E({reflectSymbol:function(){return"imgixImageUrl"}})(ue)(c6(hGe(he))))))))))(E({reflectSymbol:function(){return"schoolConnection"}})(Ln(Kt(E({reflectSymbol:function(){return"initiator"}})(ue)(E({reflectSymbol:function(){return"schoolUsesAiRecruiter"}})(zn)(gGe)))))(E({reflectSymbol:function(){return"schoolList"}})(xh(Kt(E({reflectSymbol:function(){return"applicationRound"}})(ue)(gGe))))(E({reflectSymbol:function(){return"schoolNotes"}})(xh(ue))(E({reflectSymbol:function(){return"showInvitationAcceptedCTA"}})(ue)(E({reflectSymbol:function(){return"showNetworkCard"}})(zn)(E({reflectSymbol:function(){return"staticSchool"}})(Kt(E({reflectSymbol:function(){return"academicOfferings"}})(Kt(E({reflectSymbol:function(){return"careerCounseling"}})(zn)(E({reflectSymbol:function(){return"creditForApExams"}})(zn)(E({reflectSymbol:function(){return"creditForIbExams"}})(zn)(E({reflectSymbol:function(){return"hasMedicalSchool"}})(zn)(E({reflectSymbol:function(){return"offersGradDegree"}})(zn)(E({reflectSymbol:function(){return"specialFocus"}})(To)(E({reflectSymbol:function(){return"studyAbroad"}})(zn)(he)))))))))(DGe(Kt(E({reflectSymbol:function(){return"nonUSAddress"}})(Ln(Kt(DGe(ue)(E({reflectSymbol:function(){return"country"}})(ue)(yGe(he))))))(E({reflectSymbol:function(){return"usAddress"}})(Ln(Kt(E({reflectSymbol:function(){return"city"}})(ue)(E({reflectSymbol:function(){return"county"}})(ue)(yGe(E({reflectSymbol:function(){return"region"}})(ue)(E({reflectSymbol:function(){return"state"}})(ue)(E({reflectSymbol:function(){return"street"}})(ue)(E({reflectSymbol:function(){return"zip"}})(ue)(he))))))))))(he))))(bGe(Kt(_Ge(qT)(E({reflectSymbol:function(){return"actComposite"}})(zT)(E({reflectSymbol:function(){return"actMath"}})(zT)(E({reflectSymbol:function(){return"actVerbal"}})(zT)(E({reflectSymbol:function(){return"admitted"}})(Lz)(E({reflectSymbol:function(){return"applicants"}})(Lz)(E({reflectSymbol:function(){return"enrolled"}})(Lz)(E({reflectSymbol:function(){return"fracSubmittedAct"}})(X0)(E({reflectSymbol:function(){return"fracSubmittedSat"}})(X0)(E({reflectSymbol:function(){return"reqClassRank"}})(To)(E({reflectSymbol:function(){return"reqRecLetters"}})(To)(E({reflectSymbol:function(){return"reqStandardTests"}})(To)(E({reflectSymbol:function(){return"reqToefl"}})(To)(E({reflectSymbol:function(){return"satMath"}})(zT)(E({reflectSymbol:function(){return"satVerbal"}})(zT)(E({reflectSymbol:function(){return"totalApplicants"}})(EGe)(E({reflectSymbol:function(){return"yieldRate"}})(qT)(he)))))))))))))))))))(E({reflectSymbol:function(){return"appGroup"}})(To)(E({reflectSymbol:function(){return"applicationTimeHours"}})(bt)(E({reflectSymbol:function(){return"averageFederalLoan"}})(oi)(E({reflectSymbol:function(){return"averageNetPrice"}})(Ln(Kt(E({reflectSymbol:function(){return"quintile1"}})(Gt)(E({reflectSymbol:function(){return"quintile2"}})(Gt)(E({reflectSymbol:function(){return"quintile3"}})(Gt)(E({reflectSymbol:function(){return"quintile4"}})(Gt)(E({reflectSymbol:function(){return"quintile5"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"basketball"}})(CGe)(E({reflectSymbol:function(){return"calendarSystem"}})(ue)(E({reflectSymbol:function(){return"chancing"}})(Kt(E({reflectSymbol:function(){return"canChance"}})(zn)(E({reflectSymbol:function(){return"endorsed"}})(zn)(E({reflectSymbol:function(){return"moreInfoLink"}})(To)(he)))))(E({reflectSymbol:function(){return"colors"}})(Kt(E({reflectSymbol:function(){return"primary"}})(To)(E({reflectSymbol:function(){return"secondary"}})(To)(he))))(E({reflectSymbol:function(){return"costRoomBoard"}})(oi)(E({reflectSymbol:function(){return"diversity"}})(ue)(E({reflectSymbol:function(){return"dropOutRate"}})(bt)(E({reflectSymbol:function(){return"feesInState"}})(oi)(E({reflectSymbol:function(){return"feesOutOfState"}})(oi)(E({reflectSymbol:function(){return"football"}})(CGe)(E({reflectSymbol:function(){return"fourYearGradRate"}})(X0)(E({reflectSymbol:function(){return"fracInternationalStudents"}})(qT)(E({reflectSymbol:function(){return"fracLoans"}})(Gt)(E({reflectSymbol:function(){return"fracPellGrants"}})(Gt)(E({reflectSymbol:function(){return"gender"}})(ue)(E({reflectSymbol:function(){return"hasFourYearProgram"}})(zn)(E({reflectSymbol:function(){return"hasOnCampusHousing"}})(zn)(E({reflectSymbol:function(){return"hasTwoYearProgram"}})(zn)(E({reflectSymbol:function(){return"hbcu"}})(zn)(dGe(E({reflectSymbol:function(){return"imgixPath"}})(ue)(E({reflectSymbol:function(){return"ipedsUnitId"}})(To)(E({reflectSymbol:function(){return"isCommuterCollege"}})(zn)(E({reflectSymbol:function(){return"isForProfit"}})(zn)(E({reflectSymbol:function(){return"isPublic"}})(zn)(mGe($n(ue))(E({reflectSymbol:function(){return"message"}})(ue)(c6(E({reflectSymbol:function(){return"numFreshmen"}})(EGe)(E({reflectSymbol:function(){return"phone"}})(ue)(E({reflectSymbol:function(){return"prestige"}})(ue)(E({reflectSymbol:function(){return"profileClaimed"}})(zn)(E({reflectSymbol:function(){return"racialBreakdown"}})(Ln(Kt(E({reflectSymbol:function(){return"asian"}})(Gt)(E({reflectSymbol:function(){return"black"}})(Gt)(E({reflectSymbol:function(){return"hispanic"}})(Gt)(E({reflectSymbol:function(){return"nativeAmerican"}})(Gt)(E({reflectSymbol:function(){return"white"}})(Gt)(he))))))))(E({reflectSymbol:function(){return"rankings"}})($n(Kt(E({reflectSymbol:function(){return"bucket"}})(ue)(E({reflectSymbol:function(){return"key"}})(ue)(E({reflectSymbol:function(){return"order"}})(bt)(he))))))(E({reflectSymbol:function(){return"religiousAffiliation"}})(ue)(E({reflectSymbol:function(){return"retentionRate"}})(qT)(E({reflectSymbol:function(){return"schoolType"}})(ue)(E({reflectSymbol:function(){return"setting"}})(ue)(E({reflectSymbol:function(){return"sixYearGradRate"}})(qT)(hGe(E({reflectSymbol:function(){return"studentsPerFaculty"}})(SGe)(E({reflectSymbol:function(){return"testScoreStats"}})(Ln(Kt(Fz(Kt(IGe(lGe(qR)(TGe(he)))))(Az(Kt(Tz(uGe)(he)))(xz(Kt(IGe(TGe(vGe(qR)(he)))))(he))))))(E({reflectSymbol:function(){return"totalUndergrads"}})(bt)(E({reflectSymbol:function(){return"tuitionInState"}})(oi)(E({reflectSymbol:function(){return"tuitionOutOfState"}})(oi)(E({reflectSymbol:function(){return"urls"}})(Kt(bGe(To)(E({reflectSymbol:function(){return"finAid"}})(To)(E({reflectSymbol:function(){return"main"}})(ue)(E({reflectSymbol:function(){return"priceCalculator"}})(To)(he))))))(he)))))))))))))))))))))))))))))))))))))))))))))))))))))))(E({reflectSymbol:function(){return"vineBelowConnectionLimit"}})(Ln(zn))(he))))))))))))))))))))))))({diagnosticName:"EntryPoints.SchoolDetails",def:e})}();return qCn;})();
/*
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 <https://feross.org>
 * @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/facebook/regenerator/blob/main/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.
 */