var Purs_EntryPoints_Landing_Main=(()=>{var mA=Object.create;var yo=Object.defineProperty;var XA=Object.getOwnPropertyDescriptor;var bA=Object.getOwnPropertyNames;var HA=Object.getPrototypeOf,xA=Object.prototype.hasOwnProperty;var qv=e=>yo(e,"__esModule",{value:!0});var yA=(e,t)=>()=>(e&&(t=e(e=0)),t);var qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Wv=(e,t)=>{qv(e);for(var r in t)yo(e,r,{get:t[r],enumerable:!0})},zA=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of bA(t))!xA.call(e,n)&&n!=="default"&&yo(e,n,{get:()=>t[n],enumerable:!(r=XA(t,n))||r.enumerable});return e},Mf=e=>zA(qv(yo(e!=null?mA(HA(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var If={};Wv(If,{Children:()=>_A,Component:()=>e9,Fragment:()=>o9,Suspense:()=>i9,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>JA,cloneElement:()=>$A,createContext:()=>t9,createElement:()=>r9,createRef:()=>n9,default:()=>mr,forwardRef:()=>a9,isValidElement:()=>u9,lazy:()=>f9,useCallback:()=>l9,useContext:()=>v9,useEffect:()=>s9,useImperativeHandle:()=>c9,useLayoutEffect:()=>d9,useMemo:()=>A9,useReducer:()=>g9,useRef:()=>P9,useState:()=>w9,version:()=>p9});var mr,JA,_A,$A,e9,t9,r9,n9,a9,o9,u9,f9,i9,l9,v9,s9,c9,d9,A9,g9,P9,w9,p9,Cn=yA(()=>{mr=window.React,{__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:JA,Children:_A,cloneElement:$A,Component:e9,createContext:t9,createElement:r9,createRef:n9,forwardRef:a9,Fragment:o9,isValidElement:u9,lazy:f9,Suspense:i9,useCallback:l9,useContext:v9,useEffect:s9,useImperativeHandle:c9,useLayoutEffect:d9,useMemo:A9,useReducer:g9,useRef:P9,useState:w9,version:p9}=window.React});var Qi=qt((ok,ld)=>{"use strict";var id=Object.getOwnPropertySymbols,bP=Object.prototype.hasOwnProperty,HP=Object.prototype.propertyIsEnumerable;function xP(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function yP(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(o){a[o]=o}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}ld.exports=yP()?Object.assign:function(e,t){for(var r,n=xP(e),a,o=1;o{"use strict";var Ii=Qi(),Un=60103,vd=60106;Me.Fragment=60107;Me.StrictMode=60108;Me.Profiler=60114;var sd=60109,cd=60110,dd=60112;Me.Suspense=60113;var Ad=60115,gd=60116;typeof Symbol=="function"&&Symbol.for&&(Ut=Symbol.for,Un=Ut("react.element"),vd=Ut("react.portal"),Me.Fragment=Ut("react.fragment"),Me.StrictMode=Ut("react.strict_mode"),Me.Profiler=Ut("react.profiler"),sd=Ut("react.provider"),cd=Ut("react.context"),dd=Ut("react.forward_ref"),Me.Suspense=Ut("react.suspense"),Ad=Ut("react.memo"),gd=Ut("react.lazy"));var Ut,Pd=typeof Symbol=="function"&&Symbol.iterator;function zP(e){return e===null||typeof e!="object"?null:(e=Pd&&e[Pd]||e["@@iterator"],typeof e=="function"?e:null)}function Sa(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r{"use strict";yd.exports=xd()});var kd=qt(Sn=>{"use strict";var er=Qi(),Fr=zd();function nt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r_a;_a++)ht[_a]=_a+1;var ht,_a;ht[15]=0;var OP=/^[: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]*$/,Od=Object.prototype.hasOwnProperty,Md={},Nd={};function Vd(e){return Od.call(Nd,e)?!0:Od.call(Md,e)?!1:OP.test(e)?Nd[e]=!0:(Md[e]=!0,!1)}function MP(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function NP(e,t,r,n){if(t===null||typeof t=="undefined"||MP(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ct(e,t,r,n,a,o,u){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=u}var mt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){mt[e]=new Ct(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];mt[t]=new Ct(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){mt[e]=new Ct(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){mt[e]=new Ct(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){mt[e]=new Ct(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){mt[e]=new Ct(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){mt[e]=new Ct(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){mt[e]=new Ct(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){mt[e]=new Ct(e,5,!1,e.toLowerCase(),null,!1,!1)});var ol=/[\-:]([a-z])/g;function ul(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 t=e.replace(ol,ul);mt[t]=new Ct(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ol,ul);mt[t]=new Ct(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ol,ul);mt[t]=new Ct(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){mt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!1,!1)});mt.xlinkHref=new Ct("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){mt[e]=new Ct(e,1,!1,e.toLowerCase(),null,!0,!0)});var VP=/["'&<>]/;function Dn(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var t=VP.exec(e);if(t){var r="",n,a=0;for(n=t.index;nhu))throw Error(nt(301));if(e===dr)if(Du=!0,e={action:r,next:null},Jr===null&&(Jr=new Map),r=Jr.get(t),r===void 0)Jr.set(t,e);else{for(t=r;t.next!==null;)t=t.next;t.next=e}}function il(){}var mn=null,YP={readContext:function(e){var t=mn.threadID;return Ja(e,t),e[t]},useContext:function(e){hn();var t=mn.threadID;return Ja(e,t),e[t]},useMemo:Gd,useReducer:Yd,useRef:function(e){dr=hn(),Ke=fl();var t=Ke.memoizedState;return t===null?(e={current:e},Ke.memoizedState=e):t},useState:function(e){return Yd(Rd,e)},useLayoutEffect:function(){},useCallback:function(e,t){return Gd(function(){return e},t)},useImperativeHandle:il,useEffect:il,useDebugValue:il,useDeferredValue:function(e){return hn(),e},useTransition:function(){return hn(),[function(e){e()},!1]},useOpaqueIdentifier:function(){return(mn.identifierPrefix||"")+"R:"+(mn.uniqueID++).toString(36)},useMutableSource:function(e,t){return hn(),t(e._source)}},Qd={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function Id(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 Zd={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},GP=er({menuitem:!0},Zd),eo={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},QP=["Webkit","ms","Moz","O"];Object.keys(eo).forEach(function(e){QP.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),eo[t]=eo[e]})});var IP=/([A-Z])/g,ZP=/^ms-/,_r=Fr.Children.toArray,ll=TP.ReactCurrentDispatcher,UP={listing:!0,pre:!0,textarea:!0},KP=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ud={},vl={};function SP(e){if(e==null)return e;var t="";return Fr.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}var kP=Object.prototype.hasOwnProperty,JP={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Kd(e,t){if(e===void 0)throw Error(nt(152,ka(t)||"Component"))}function _P(e,t,r){function n(u,f){var i=f.prototype&&f.prototype.isReactComponent,l=jP(f,t,r,i),v=[],D=!1,s={isMounted:function(){return!1},enqueueForceUpdate:function(){if(v===null)return null},enqueueReplaceState:function(A,p){D=!0,v=[p]},enqueueSetState:function(A,p){if(v===null)return null;v.push(p)}};if(i){if(i=new f(u.props,l,s),typeof f.getDerivedStateFromProps=="function"){var c=f.getDerivedStateFromProps.call(null,u.props,i.state);c!=null&&(i.state=er({},i.state,c))}}else if(dr={},i=f(u.props,l,s),i=Wd(f,u.props,i,l),i==null||i.render==null){e=i,Kd(e,f);return}if(i.props=u.props,i.context=l,i.updater=s,s=i.state,s===void 0&&(i.state=s=null),typeof i.UNSAFE_componentWillMount=="function"||typeof i.componentWillMount=="function")if(typeof i.componentWillMount=="function"&&typeof f.getDerivedStateFromProps!="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&typeof f.getDerivedStateFromProps!="function"&&i.UNSAFE_componentWillMount(),v.length){s=v;var w=D;if(v=null,D=!1,w&&s.length===1)i.state=s[0];else{c=w?s[0]:i.state;var P=!0;for(w=w?1:0;w=f))throw Error(nt(304));var i=new Uint16Array(f);for(i.set(u),ht=i,ht[0]=o+1,u=o;u=i.children.length){var l=i.footer;if(l!==""&&(this.previousWasTextNode=!1),this.stack.pop(),i.type==="select")this.currentSelectValue=null;else if(i.type!=null&&i.type.type!=null&&i.type.type.$$typeof===Pu)this.popProvider(i.type);else if(i.type===wu){this.suspenseDepth--;var v=o.pop();if(u){u=!1;var D=i.fallbackFrame;if(!D)throw Error(nt(303));this.stack.push(D),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=v}o[this.suspenseDepth]+=l}else{var s=i.children[i.childIndex++],c="";try{c+=this.render(s,i.context,i.domNamespace)}catch(w){throw w!=null&&typeof w.then=="function"?Error(nt(294)):w}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=c}}return o[0]}finally{ll.current=a,mn=n,Ed()}},t.render=function(r,n,a){if(typeof r=="string"||typeof r=="number")return a=""+r,a===""?"":this.makeStaticMarkup?Dn(a):this.previousWasTextNode?""+Dn(a):(this.previousWasTextNode=!0,Dn(a));if(n=_P(r,n,this.threadID),r=n.child,n=n.context,r===null||r===!1)return"";if(!Fr.isValidElement(r)){if(r!=null&&r.$$typeof!=null)throw a=r.$$typeof,Error(a===Ji?nt(257):nt(258,a.toString()));return r=_r(r),this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),""}var o=r.type;if(typeof o=="string")return this.renderDOM(r,n,a);switch(o){case Td:case Fd:case _i:case $i:case rl:case gu:return r=_r(r.props.children),this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case wu:throw Error(nt(294));case Cd:throw Error(nt(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case tl:dr={};var u=o.render(r.props,r.ref);return u=Wd(o.render,r.props,u,r.ref),u=_r(u),this.stack.push({type:null,domNamespace:a,children:u,childIndex:0,context:n,footer:""}),"";case nl:return r=[Fr.createElement(o.type,er({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case Pu:return o=_r(r.props.children),a={type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""},this.pushProvider(r),this.stack.push(a),"";case el:o=r.type,u=r.props;var f=this.threadID;return Ja(o,f),o=_r(u.children(o[f])),this.stack.push({type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""}),"";case Bd:throw Error(nt(338));case al:return o=r.type,u=o._init,o=u(o._payload),r=[Fr.createElement(o,er({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),""}throw Error(nt(130,o==null?o:typeof o,""))},t.renderDOM=function(r,n,a){var o=r.type.toLowerCase();if(a===Qd.html&&Id(o),!Ud.hasOwnProperty(o)){if(!KP.test(o))throw Error(nt(65,o));Ud[o]=!0}var u=r.props;if(o==="input")u=er({type:void 0},u,{defaultChecked:void 0,defaultValue:void 0,value:u.value!=null?u.value:u.defaultValue,checked:u.checked!=null?u.checked:u.defaultChecked});else if(o==="textarea"){var f=u.value;if(f==null){f=u.defaultValue;var i=u.children;if(i!=null){if(f!=null)throw Error(nt(92));if(Array.isArray(i)){if(!(1>=i.length))throw Error(nt(93));i=i[0]}f=""+i}f==null&&(f="")}u=er({},u,{value:void 0,children:""+f})}else if(o==="select")this.currentSelectValue=u.value!=null?u.value:u.defaultValue,u=er({},u,{value:void 0});else if(o==="option"){i=this.currentSelectValue;var l=SP(u.children);if(i!=null){var v=u.value!=null?u.value+"":l;if(f=!1,Array.isArray(i)){for(var D=0;D":(p+=">",f="");e:{if(i=u.dangerouslySetInnerHTML,i!=null){if(i.__html!=null){i=i.__html;break e}}else if(i=u.children,typeof i=="string"||typeof i=="number"){i=Dn(i);break e}i=null}return i!=null?(u=[],UP.hasOwnProperty(o)&&i.charAt(0)===` `&&(p+=` `),p+=i):u=_r(u.children),r=r.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?Id(r):a==="http://www.w3.org/2000/svg"&&r==="foreignObject"?"http://www.w3.org/1999/xhtml":a,this.stack.push({domNamespace:a,type:o,children:u,childIndex:0,context:n,footer:f}),this.previousWasTextNode=!1,p},e}();Sn.renderToNodeStream=function(){throw Error(nt(207))};Sn.renderToStaticMarkup=function(e,t){e=new Sd(e,!0,t);try{return e.read(1/0)}finally{e.destroy()}};Sn.renderToStaticNodeStream=function(){throw Error(nt(208))};Sn.renderToString=function(e,t){e=new Sd(e,!1,t);try{return e.read(1/0)}finally{e.destroy()}};Sn.version="17.0.2"});var _d=qt((lk,Jd)=>{"use strict";Jd.exports=kd()});var z7=qt((cJ,y7)=>{"use strict";var gw="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y7.exports=gw});var F7=qt((dJ,C7)=>{"use strict";var Pw=z7();function L7(){}function B7(){}B7.resetWarningCache=L7;C7.exports=function(){function e(n,a,o,u,f,i){if(i!==Pw){var l=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 l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:B7,resetWarningCache:L7};return r.PropTypes=r,r}});var j7=qt((PJ,T7)=>{T7.exports=F7()();var AJ,gJ});var Dl=qt(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});var O7=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],bu=O7.join(","),M7=typeof Element=="undefined",bn=M7?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wl=!M7&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},N7=function(t,r,n){var a=Array.prototype.slice.apply(t.querySelectorAll(bu));return r&&bn.call(t,bu)&&a.unshift(t),a=a.filter(n),a},V7=function e(t,r,n){for(var a=[],o=Array.from(t);o.length;){var u=o.shift();if(u.tagName==="SLOT"){var f=u.assignedElements(),i=f.length?f:u.children,l=e(i,!0,n);n.flatten?a.push.apply(a,l):a.push({scope:u,candidates:l})}else{var v=bn.call(u,bu);v&&n.filter(u)&&(r||!t.includes(u))&&a.push(u);var D=u.shadowRoot||typeof n.getShadowRoot=="function"&&n.getShadowRoot(u),s=!n.shadowRootFilter||n.shadowRootFilter(u);if(D&&s){var c=e(D===!0?u.children:D.children,!0,n);n.flatten?a.push.apply(a,c):a.push({scope:u,candidates:c})}else o.unshift.apply(o,u.children)}}return a},q7=function(t,r){return t.tabIndex<0&&(r||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||t.isContentEditable)&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},ww=function(t,r){return t.tabIndex===r.tabIndex?t.documentOrder-r.documentOrder:t.tabIndex-r.tabIndex},W7=function(t){return t.tagName==="INPUT"},pw=function(t){return W7(t)&&t.type==="hidden"},Dw=function(t){var r=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(n){return n.tagName==="SUMMARY"});return r},hw=function(t,r){for(var n=0;nsummary:first-of-type"),u=o?t.parentElement:t;if(bn.call(u,"details:not([open]) *"))return!0;var f=wl(t).host,i=(f==null?void 0:f.ownerDocument.contains(f))||t.ownerDocument.contains(t);if(!n||n==="full"){if(typeof a=="function"){for(var l=t;t;){var v=t.parentElement,D=wl(t);if(v&&!v.shadowRoot&&a(v)===!0)return E7(t);t.assignedSlot?t=t.assignedSlot:!v&&D!==t.ownerDocument?t=D.host:t=v}t=l}if(i)return!t.getClientRects().length}else if(n==="non-zero-area")return E7(t);return!1},xw=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var r=t.parentElement;r;){if(r.tagName==="FIELDSET"&&r.disabled){for(var n=0;n=0)},zw=function e(t){var r=[],n=[];return t.forEach(function(a,o){var u=!!a.scope,f=u?a.scope:a,i=q7(f,u),l=u?e(a.candidates):f;i===0?u?r.push.apply(r,l):r.push(f):n.push({documentOrder:o,tabIndex:i,item:a,isScope:u,content:l})}),n.sort(ww).reduce(function(a,o){return o.isScope?a.push.apply(a,o.content):a.push(o.content),a},[]).concat(r)},Lw=function(t,r){r=r||{};var n;return r.getShadowRoot?n=V7([t],r.includeContainer,{filter:pl.bind(null,r),flatten:!1,getShadowRoot:r.getShadowRoot,shadowRootFilter:yw}):n=N7(t,r.includeContainer,pl.bind(null,r)),zw(n)},Bw=function(t,r){r=r||{};var n;return r.getShadowRoot?n=V7([t],r.includeContainer,{filter:Hu.bind(null,r),flatten:!0,getShadowRoot:r.getShadowRoot}):n=N7(t,r.includeContainer,Hu.bind(null,r)),n},Cw=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return bn.call(t,bu)===!1?!1:pl(r,t)},Fw=O7.concat("iframe").join(","),Tw=function(t,r){if(r=r||{},!t)throw new Error("No node provided");return bn.call(t,Fw)===!1?!1:Hu(r,t)};Jn.focusable=Bw;Jn.isFocusable=Tw;Jn.isTabbable=Cw;Jn.tabbable=Lw});var Z7=qt(hl=>{"use strict";Object.defineProperty(hl,"__esModule",{value:!0});var Tr=Dl();function R7(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Y7(e){for(var t=1;t0){var n=e[e.length-1];n!==r&&n.pause()}var a=e.indexOf(r);a===-1||e.splice(a,1),e.push(r)},deactivateTrap:function(r){var n=e.indexOf(r);n!==-1&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()}}}(),Ow=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},Mw=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Nw=function(t){return t.key==="Tab"||t.keyCode===9},Q7=function(t){return setTimeout(t,0)},I7=function(t,r){var n=-1;return t.every(function(a,o){return r(a)?(n=o,!1):!0}),n},oo=function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a1?L-1:0),Z=1;Z=0)b=n.activeElement;else{var y=o.tabbableGroups[0],L=y&&y.firstTabbableNode;b=L||l("fallbackFocus")}if(!b)throw new Error("Your focus-trap needs to have at least one focusable element");return b},D=function(){if(o.containerGroups=o.containers.map(function(b){var y=Tr.tabbable(b,a.tabbableOptions),L=Tr.focusable(b,a.tabbableOptions);return{container:b,tabbableNodes:y,focusableNodes:L,firstTabbableNode:y.length>0?y[0]:null,lastTabbableNode:y.length>0?y[y.length-1]:null,nextTabbableNode:function(Z){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,C=L.findIndex(function(N){return N===Z});if(!(C<0))return T?L.slice(C+1).find(function(N){return Tr.isTabbable(N,a.tabbableOptions)}):L.slice(0,C).reverse().find(function(N){return Tr.isTabbable(N,a.tabbableOptions)})}}}),o.tabbableGroups=o.containerGroups.filter(function(b){return b.tabbableNodes.length>0}),o.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},s=function m(b){if(b!==!1&&b!==n.activeElement){if(!b||!b.focus){m(v());return}b.focus({preventScroll:!!a.preventScroll}),o.mostRecentlyFocusedNode=b,Ow(b)&&b.select()}},c=function(b){var y=l("setReturnFocus",b);return y||(y===!1?!1:b)},w=function(b){var y=xu(b);if(!(i(y)>=0)){if(oo(a.clickOutsideDeactivates,b)){u.deactivate({returnFocus:a.returnFocusOnDeactivate&&!Tr.isFocusable(y,a.tabbableOptions)});return}oo(a.allowOutsideClick,b)||b.preventDefault()}},P=function(b){var y=xu(b),L=i(y)>=0;L||y instanceof Document?L&&(o.mostRecentlyFocusedNode=y):(b.stopImmediatePropagation(),s(o.mostRecentlyFocusedNode||v()))},H=function(b){var y=xu(b);D();var L=null;if(o.tabbableGroups.length>0){var O=i(y),Z=O>=0?o.containerGroups[O]:void 0;if(O<0)b.shiftKey?L=o.tabbableGroups[o.tabbableGroups.length-1].lastTabbableNode:L=o.tabbableGroups[0].firstTabbableNode;else if(b.shiftKey){var T=I7(o.tabbableGroups,function(z){var h=z.firstTabbableNode;return y===h});if(T<0&&(Z.container===y||Tr.isFocusable(y,a.tabbableOptions)&&!Tr.isTabbable(y,a.tabbableOptions)&&!Z.nextTabbableNode(y,!1))&&(T=O),T>=0){var C=T===0?o.tabbableGroups.length-1:T-1,N=o.tabbableGroups[C];L=N.lastTabbableNode}}else{var j=I7(o.tabbableGroups,function(z){var h=z.lastTabbableNode;return y===h});if(j<0&&(Z.container===y||Tr.isFocusable(y,a.tabbableOptions)&&!Tr.isTabbable(y,a.tabbableOptions)&&!Z.nextTabbableNode(y))&&(j=O),j>=0){var M=j===o.tabbableGroups.length-1?0:j+1,x=o.tabbableGroups[M];L=x.firstTabbableNode}}}else L=l("fallbackFocus");L&&(b.preventDefault(),s(L))},d=function(b){if(Mw(b)&&oo(a.escapeDeactivates,b)!==!1){b.preventDefault(),u.deactivate();return}if(Nw(b)){H(b);return}},g=function(b){var y=xu(b);i(y)>=0||oo(a.clickOutsideDeactivates,b)||oo(a.allowOutsideClick,b)||(b.preventDefault(),b.stopImmediatePropagation())},A=function(){if(!!o.active)return G7.activateTrap(u),o.delayInitialFocusTimer=a.delayInitialFocus?Q7(function(){s(v())}):s(v()),n.addEventListener("focusin",P,!0),n.addEventListener("mousedown",w,{capture:!0,passive:!1}),n.addEventListener("touchstart",w,{capture:!0,passive:!1}),n.addEventListener("click",g,{capture:!0,passive:!1}),n.addEventListener("keydown",d,{capture:!0,passive:!1}),u},p=function(){if(!!o.active)return n.removeEventListener("focusin",P,!0),n.removeEventListener("mousedown",w,!0),n.removeEventListener("touchstart",w,!0),n.removeEventListener("click",g,!0),n.removeEventListener("keydown",d,!0),u};return u={get active(){return o.active},get paused(){return o.paused},activate:function(b){if(o.active)return this;var y=f(b,"onActivate"),L=f(b,"onPostActivate"),O=f(b,"checkCanFocusTrap");O||D(),o.active=!0,o.paused=!1,o.nodeFocusedBeforeActivation=n.activeElement,y&&y();var Z=function(){O&&D(),A(),L&&L()};return O?(O(o.containers.concat()).then(Z,Z),this):(Z(),this)},deactivate:function(b){if(!o.active)return this;var y=Y7({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},b);clearTimeout(o.delayInitialFocusTimer),o.delayInitialFocusTimer=void 0,p(),o.active=!1,o.paused=!1,G7.deactivateTrap(u);var L=f(y,"onDeactivate"),O=f(y,"onPostDeactivate"),Z=f(y,"checkCanReturnFocus"),T=f(y,"returnFocus","returnFocusOnDeactivate");L&&L();var C=function(){Q7(function(){T&&s(c(o.nodeFocusedBeforeActivation)),O&&O()})};return T&&Z?(Z(c(o.nodeFocusedBeforeActivation)).then(C,C),this):(C(),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,D(),A(),this)},updateContainerElements:function(b){var y=[].concat(b).filter(Boolean);return o.containers=y.map(function(L){return typeof L=="string"?n.querySelector(L):L}),o.active&&D(),this}},u.updateContainerElements(t),u};hl.createFocusTrap=Vw});var S7=qt((DJ,K7)=>{"use strict";function ml(e){return ml=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ml(e)}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U7(e,t){for(var r=0;r1?v-1:0),s=1;s element.");var u=function(l){var v=a.props.containerElements;o&&(typeof o.ref=="function"?o.ref(l):o.ref&&(o.ref.current=l)),a.focusTrapElements=v||[l]},f=zu.cloneElement(o,{ref:u});return f}return null}}]),r}(zu.Component),fo=typeof Element=="undefined"?Function:Element;bl.propTypes={active:we.bool,paused:we.bool,focusTrapOptions:we.shape({document:we.object,onActivate:we.func,onPostActivate:we.func,checkCanFocusTrap:we.func,onDeactivate:we.func,onPostDeactivate:we.func,checkCanReturnFocus:we.func,initialFocus:we.oneOfType([we.instanceOf(fo),we.string,we.bool,we.func]),fallbackFocus:we.oneOfType([we.instanceOf(fo),we.string,we.func]),escapeDeactivates:we.oneOfType([we.bool,we.func]),clickOutsideDeactivates:we.oneOfType([we.bool,we.func]),returnFocusOnDeactivate:we.bool,setReturnFocus:we.oneOfType([we.instanceOf(fo),we.string,we.bool,we.func]),allowOutsideClick:we.oneOfType([we.bool,we.func]),preventScroll:we.bool,tabbableOptions:we.shape({displayCheck:we.oneOf(["full","non-zero-area","none"]),getShadowRoot:we.oneOfType([we.bool,we.func])})}),containerElements:we.arrayOf(we.instanceOf(fo)),children:we.oneOfType([we.element,we.instanceOf(fo)])};bl.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:Zw};K7.exports=bl});var X1=qt((exports,module)=>{typeof navigator!="undefined"&&function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.lottie=t())}(exports,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n=e.length,a;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(e[0]*255,e[1]*255,e[2]*255);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e=[],t,r;for(t=0;t<256;t+=1)r=t.toString(16),e[t]=r.length===1?"0"+r:r;return function(n,a,o){return n<0&&(n=0),a<0&&(a=0),o<0&&(o=0),"#"+e[n]+e[a]+e[o]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(e)}var dataManager=function(){var e=1,t=[],r,n,a={onmessage:function(){},postMessage:function(c){r({data:c})}},o={postMessage:function(c){a.onmessage({data:c})}};function u(s){if(window.Worker&&window.Blob&&getWebWorker()){var c=new Blob(["var _workerSelf = self; self.onmessage = ",s.toString()],{type:"text/javascript"}),w=URL.createObjectURL(c);return new Worker(w)}return r=s,a}function f(){n||(n=u(function(c){function w(){function H(M,x){var z,h,X=M.length,F,B,k,q;for(h=0;h=0;x-=1)if(M[x].ty==="sh")if(M[x].ks.k.i)m(M[x].ks.k);else for(X=M[x].ks.k.length,h=0;hz[0]?!0:z[0]>M[0]?!1:M[1]>z[1]?!0:z[1]>M[1]?!1:M[2]>z[2]?!0:z[2]>M[2]?!1:null}var y=function(){var M=[4,4,14];function x(h){var X=h.t.d;h.t.d={k:[{s:X,t:0}]}}function z(h){var X,F=h.length;for(X=0;X=0;X-=1)if(h[X].ty==="sh")if(h[X].ks.k.i)h[X].ks.k.c=h[X].closed;else for(k=h[X].ks.k.length,B=0;B500)&&(this._imageLoaded(),clearInterval(A)),g+=1}.bind(this),50)}function o(d){var g=n(d,this.assetsPath,this.path),A=createNS("image");isSafari?this.testImageLoaded(A):A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){p.img=e,this._imageLoaded()}.bind(this),!1),A.setAttributeNS("http://www.w3.org/1999/xlink","href",g),this._elementHelper.append?this._elementHelper.append(A):this._elementHelper.appendChild(A);var p={img:A,assetData:d};return p}function u(d){var g=n(d,this.assetsPath,this.path),A=createTag("img");A.crossOrigin="anonymous",A.addEventListener("load",this._imageLoaded,!1),A.addEventListener("error",function(){p.img=e,this._imageLoaded()}.bind(this),!1),A.src=g;var p={img:A,assetData:d};return p}function f(d){var g={assetData:d},A=n(d,this.assetsPath,this.path);return dataManager.loadData(A,function(p){g.img=p,this._footageLoaded()}.bind(this),function(){g.img={},this._footageLoaded()}.bind(this)),g}function i(d,g){this.imagesLoadedCb=g;var A,p=d.length;for(A=0;Athis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t=this.animationData.layers,r,n=t.length,a=e.layers,o,u=a.length;for(o=0;othis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):t<0?this.checkSegments(t%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,t=0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),_typeof$4(e[0])==="object"){var r,n=e.length;for(r=0;r=0;z-=1)t[z].animation.destroy(x)}function L(x,z,h){var X=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),F,B=X.length;for(F=0;F0?p=L:A=L;while(Math.abs(y)>o&&++O=a?H(A,T,p,m):C===0?T:P(A,y,y+i,p,m)}},e}(),pooling=function(){function e(t){return t.concat(createSizedArray(t.length))}return{double:e}}(),poolFactory=function(){return function(e,t,r){var n=0,a=e,o=createSizedArray(a),u={newElement:f,release:i};function f(){var l;return n?(n-=1,l=o[n]):l=t(),l}function i(l){n===a&&(o=pooling.double(o),a*=2),r&&r(l),o[n]=l,n+=1}return u}}(),bezierLengthPool=function(){function e(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,e)}(),segmentsLengthPool=function(){function e(){return{lengths:[],totalLength:0}}function t(r){var n,a=r.lengths.length;for(n=0;n-.001&&g<.001}function r(s,c,w,P,H,d,g,A,p){if(w===0&&d===0&&p===0)return t(s,c,P,H,g,A);var m=e.sqrt(e.pow(P-s,2)+e.pow(H-c,2)+e.pow(d-w,2)),b=e.sqrt(e.pow(g-s,2)+e.pow(A-c,2)+e.pow(p-w,2)),y=e.sqrt(e.pow(g-P,2)+e.pow(A-H,2)+e.pow(p-d,2)),L;return m>b?m>y?L=m-b-y:L=y-b-m:y>b?L=y-b-m:L=b-m-y,L>-1e-4&&L<1e-4}var n=function(){return function(s,c,w,P){var H=getDefaultCurveSegments(),d,g,A,p,m,b=0,y,L=[],O=[],Z=bezierLengthPool.newElement();for(A=w.length,d=0;dg?-1:1,m=!0;m;)if(P[d]<=g&&P[d+1]>g?(A=(g-P[d])/(P[d+1]-P[d]),m=!1):d+=p,d<0||d>=H-1){if(d===H-1)return w[d];m=!1}return w[d]+(w[d+1]-w[d])*A}function l(s,c,w,P,H,d){var g=i(H,d),A=1-g,p=e.round((A*A*A*s[0]+(g*A*A+A*g*A+A*A*g)*w[0]+(g*g*A+A*g*g+g*A*g)*P[0]+g*g*g*c[0])*1e3)/1e3,m=e.round((A*A*A*s[1]+(g*A*A+A*g*A+A*A*g)*w[1]+(g*g*A+A*g*g+g*A*g)*P[1]+g*g*g*c[1])*1e3)/1e3;return[p,m]}var v=createTypedArray("float32",8);function D(s,c,w,P,H,d,g){H<0?H=0:H>1&&(H=1);var A=i(H,g);d=d>1?1:d;var p=i(d,g),m,b=s.length,y=1-A,L=1-p,O=y*y*y,Z=A*y*y*3,T=A*A*y*3,C=A*A*A,N=y*y*L,j=A*y*L+y*A*L+y*y*p,M=A*A*L+y*A*p+A*y*p,x=A*A*p,z=y*L*L,h=A*L*L+y*p*L+y*L*p,X=A*p*L+y*p*p+A*L*p,F=A*p*p,B=L*L*L,k=p*L*L+L*p*L+L*L*p,q=p*p*L+L*p*p+p*L*p,Q=p*p*p;for(m=0;m=l.t-r){i.h&&(i=l),a=0;break}if(l.t-r>e){a=o;break}o=d||e=d?p.points.length-1:0;for(s=p.points[m].point.length,D=0;D=L&&b=d)n[0]=A[0],n[1]=A[1],n[2]=A[2];else if(e<=g)n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2];else{var j=createQuaternion(i.s),M=createQuaternion(A),x=(e-g)/(d-g);quaternionToEuler(n,slerp(j,M,x))}else for(o=0;o=d?c=1:e1e-6?(s=Math.acos(c),w=Math.sin(s),P=Math.sin((1-r)*s)/w,H=Math.sin(r*s)/w):(P=1-r,H=r),n[0]=P*a+H*i,n[1]=P*o+H*l,n[2]=P*u+H*v,n[3]=P*f+H*D,n}function quaternionToEuler(e,t){var r=t[0],n=t[1],a=t[2],o=t[3],u=Math.atan2(2*n*o-2*r*a,1-2*n*n-2*a*a),f=Math.asin(2*r*n+2*a*o),i=Math.atan2(2*r*o-2*n*a,1-2*r*r-2*a*a);e[0]=u/degToRads,e[1]=f/degToRads,e[2]=i/degToRads}function createQuaternion(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,a=Math.cos(t/2),o=Math.cos(r/2),u=Math.cos(n/2),f=Math.sin(t/2),i=Math.sin(r/2),l=Math.sin(n/2),v=a*o*u-f*i*l,D=f*i*u+a*o*l,s=f*o*u+a*i*l,c=a*i*u-f*o*l;return[D,s,c,v]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&e>=r||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if(this.propType==="unidimensional")t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var r=0,n=this.v.length;r1e-5&&(this.v[r]=t,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[];break}(!o[n]||o[n]&&!a)&&(o[n]=pointPool.newElement()),o[n][0]=e,o[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,a,o,u,f){this.setXYAt(e,t,"v",u,f),this.setXYAt(r,n,"o",u,f),this.setXYAt(a,o,"i",u,f)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,a=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),a=1);var o=this._length-1,u=this._length,f;for(f=a;f=j[j.length-1].t-this.offsetTime)m=j[j.length-1].s?j[j.length-1].s[0]:j[j.length-2].e[0],y=!0;else{for(var M=p,x=j.length-1,z=!0,h,X,F;z&&(h=j[M],X=j[M+1],!(X.t-this.offsetTime>d));)M=X.t-this.offsetTime)C=1;else if(dA&&d>A)||(this._caching.lastIndex=p0||h>-1e-6&&h<0?n(h*X)/X:h}function z(){var h=this.props,X=x(h[0]),F=x(h[1]),B=x(h[4]),k=x(h[5]),q=x(h[12]),Q=x(h[13]);return"matrix("+X+","+F+","+B+","+k+","+q+","+Q+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=u,this.rotateY=f,this.rotateZ=i,this.skew=v,this.skewFromAxis=D,this.shear=l,this.scale=s,this.setTransform=c,this.translate=w,this.transform=P,this.multiply=H,this.applyToPoint=m,this.applyToX=b,this.applyToY=y,this.applyToZ=L,this.applyToPointArray=N,this.applyToTriplePoints=C,this.applyToPointStringified=j,this.toCSS=M,this.to2dCSS=z,this.clone=A,this.cloneFromProps=p,this.equals=g,this.inversePoints=T,this.inversePoint=Z,this.getInverseMatrix=O,this._t=this.transform,this.isIdentity=d,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return standalone===!0&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if(typeof e=="string")switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(e,t){e==="expressions"&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var u=[],f,i=o.length,l;for(f=0;fn+r)){var v,D;l.s*a<=n?v=0:v=(l.s*a-n)/r,l.e*a>=n+r?D=1:D=(l.e*a-n)/r,u.push([v,D])}return u.length||u.push([0,0]),u},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?t=1+n:this.s.v<0?t=0+n:t=this.s.v+n,this.e.v>1?r=1+n:this.e.v<0?r=0+n:r=this.e.v+n,t>r){var a=t;t=r,r=a}t=Math.round(t*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var o,u,f=this.shapes.length,i,l,v,D,s,c=0;if(r===t)for(u=0;u=0;u-=1)if(P=this.shapes[u],P.shape._mdf){for(H=P.localShapeCollection,H.releaseShapes(),this.m===2&&f>1?(p=this.calculateShapeEdges(t,r,P.totalShapeLength,A,c),A+=P.totalShapeLength):p=[[d,g]],l=p.length,i=0;i=1?w.push({s:P.totalShapeLength*(d-1),e:P.totalShapeLength*(g-1)}):(w.push({s:P.totalShapeLength*d,e:P.totalShapeLength}),w.push({s:0,e:P.totalShapeLength*(g-1)}));var m=this.addShapes(P,w[0]);if(w[0].s!==w[0].e){if(w.length>1){var b=P.shape.paths.shapes[P.shape.paths._length-1];if(b.c){var y=m.pop();this.addPaths(m,H),m=this.addShapes(P,w[1],y)}else this.addPaths(m,H),m=this.addShapes(P,w[1])}this.addPaths(m,H)}}P.shape.paths=H}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;rt.e){r.c=!1;break}else t.s<=l&&t.e>=l+v.addedLength?(this.addSegment(a[o].v[f-1],a[o].o[f-1],a[o].i[f],a[o].v[f],r,D,H),H=!1):(c=bez.getNewSegment(a[o].v[f-1],a[o].v[f],a[o].o[f-1],a[o].i[f],(t.s-l)/v.addedLength,(t.e-l)/v.addedLength,s[f-1]),this.addSegmentFromArray(c,r,D,H),H=!1,r.c=!1),l+=v.addedLength,D+=1;if(a[o].c&&s.length){if(v=s[f-1],l<=t.e){var d=s[f-1].addedLength;t.s<=l&&t.e>=l+d?(this.addSegment(a[o].v[f-1],a[o].o[f-1],a[o].i[0],a[o].v[0],r,D,H),H=!1):(c=bez.getNewSegment(a[o].v[f-1],a[o].v[0],a[o].o[f-1],a[o].i[0],(t.s-l)/d,(t.e-l)/d,s[f-1]),this.addSegmentFromArray(c,r,D,H),H=!1,r.c=!1)}else r.c=!1;l+=v.addedLength,D+=1}if(r._length&&(r.setXYAt(r.v[P][0],r.v[P][1],"i",P),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),l>t.e)break;o=this.p.keyframes[this.p.keyframes.length-1].t?(v=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/l,0),D=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/l,0)):(v=this.p.pv,D=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/l,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){v=[],D=[];var s=this.px,c=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(v[0]=s.getValueAtTime((s.keyframes[0].t+.01)/l,0),v[1]=c.getValueAtTime((c.keyframes[0].t+.01)/l,0),D[0]=s.getValueAtTime(s.keyframes[0].t/l,0),D[1]=c.getValueAtTime(c.keyframes[0].t/l,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(v[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/l,0),v[1]=c.getValueAtTime(c.keyframes[c.keyframes.length-1].t/l,0),D[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/l,0),D[1]=c.getValueAtTime((c.keyframes[c.keyframes.length-1].t-.01)/l,0)):(v=[s.pv,c.pv],D[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/l,s.offsetTime),D[1]=c.getValueAtTime((c._caching.lastFrame+c.offsetTime-.01)/l,c.offsetTime))}else D=e,v=D;this.v.rotate(-Math.atan2(v[1]-D[1],v[0]-D[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function n(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function a(){}function o(i){this._addDynamicProperty(i),this.elem.addDynamicProperty(i),this._isDirty=!0}function u(i,l,v){if(this.elem=i,this.frameId=-1,this.propType="transform",this.data=l,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(v||i),l.p&&l.p.s?(this.px=PropertyFactory.getProp(i,l.p.x,0,0,this),this.py=PropertyFactory.getProp(i,l.p.y,0,0,this),l.p.z&&(this.pz=PropertyFactory.getProp(i,l.p.z,0,0,this))):this.p=PropertyFactory.getProp(i,l.p||{k:[0,0,0]},1,0,this),l.rx){if(this.rx=PropertyFactory.getProp(i,l.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(i,l.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(i,l.rz,0,degToRads,this),l.or.k[0].ti){var D,s=l.or.k.length;for(D=0;D0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t0?Math.floor(s):Math.ceil(s),P=this.pMatrix.props,H=this.rMatrix.props,d=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var g=0;if(s>0){for(;gw;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),g-=1;c&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-c,!0),g-=c)}n=this.data.m===1?0:this._currentCopies-1,a=this.data.m===1?1:-1,o=this._currentCopies;for(var A,p;o;){if(t=this.elemsData[n].it,r=t[t.length-1].transform.mProps.v.props,p=r.length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),g!==0){for((n!==0&&a===1||n!==this._currentCopies-1&&a===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(H[0],H[1],H[2],H[3],H[4],H[5],H[6],H[7],H[8],H[9],H[10],H[11],H[12],H[13],H[14],H[15]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),this.matrix.transform(P[0],P[1],P[2],P[3],P[4],P[5],P[6],P[7],P[8],P[9],P[10],P[11],P[12],P[13],P[14],P[15]),A=0;A0&&n<1?[t]:[]:[t-n,t+n].filter(function(a){return a>0&&a<1})},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),r=lerpPoint(this.points[1],this.points[2],e),n=lerpPoint(this.points[2],this.points[3],e),a=lerpPoint(t,r,e),o=lerpPoint(r,n,e),u=lerpPoint(a,o,e);return[new PolynomialBezier(this.points[0],t,a,u,!0),new PolynomialBezier(u,o,n,this.points[3],!0)]};function extrema(e,t){var r=e.points[0][t],n=e.points[e.points.length-1][t];if(r>n){var a=n;n=r,r=a}for(var o=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),u=0;u0&&o[u]<1){var f=e.point(o[u])[t];fn&&(n=f)}return{min:r,max:n}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}};function intersectData(e,t,r){var n=e.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:e,t:(t+r)/2,t1:t,t2:r}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return Math.abs(e.cx-t.cx)*2=o||e.width<=n&&e.height<=n&&t.width<=n&&t.height<=n){a.push([e.t,t.t]);return}var u=splitData(e),f=splitData(t);intersectsImpl(u[0],f[0],r+1,n,a,o),intersectsImpl(u[0],f[1],r+1,n,a,o),intersectsImpl(u[1],f[0],r+1,n,a,o),intersectsImpl(u[1],f[1],r+1,n,a,o)}}PolynomialBezier.prototype.intersections=function(e,t,r){t===void 0&&(t=2),r===void 0&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,n,r),n},PolynomialBezier.shapeSegment=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[r],e.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var r=(t+1)%e.length();return new PolynomialBezier(e.v[r],e.i[r],e.o[t],e.v[t],!0)};function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,r,n){var a=[e[0],e[1],1],o=[t[0],t[1],1],u=[r[0],r[1],1],f=[n[0],n[1],1],i=crossProduct(crossProduct(a,o),crossProduct(u,f));return floatZero(i[2])?null:[i[0]/i[2],i[1]/i[2]]}function polarOffset(e,t,r){return[e[0]+Math.cos(t)*r,e[1]-Math.sin(t)*r]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(e,t,r,n,a,o,u){var f=r-Math.PI/2,i=r+Math.PI/2,l=t[0]+Math.cos(r)*n*a,v=t[1]-Math.sin(r)*n*a;e.setTripleAt(l,v,l+Math.cos(f)*o,v-Math.sin(f)*o,l+Math.cos(i)*u,v-Math.sin(i)*u,e.length())}function getPerpendicularVector(e,t){var r=[t[0]-e[0],t[1]-e[1]],n=-Math.PI*.5,a=[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]];return a}function getProjectingAngle(e,t){var r=t===0?e.length()-1:t-1,n=(t+1)%e.length(),a=e.v[r],o=e.v[n],u=getPerpendicularVector(a,o);return Math.atan2(0,1)-Math.atan2(u[1],u[0])}function zigZagCorner(e,t,r,n,a,o,u){var f=getProjectingAngle(t,r),i=t.v[r%t._length],l=t.v[r===0?t._length-1:r-1],v=t.v[(r+1)%t._length],D=o===2?Math.sqrt(Math.pow(i[0]-l[0],2)+Math.pow(i[1]-l[1],2)):0,s=o===2?Math.sqrt(Math.pow(i[0]-v[0],2)+Math.pow(i[1]-v[1],2)):0;setPoint(e,t.v[r%t._length],f,u,n,s/((a+1)*2),D/((a+1)*2),o)}function zigZagSegment(e,t,r,n,a,o){for(var u=0;u1&&t.length>1&&(a=getIntersection(e[0],t[t.length-1]),a)?[[e[0].split(a[0])[0]],[t[t.length-1].split(a[1])[1]]]:[r,n]}function pruneIntersections(e){for(var t,r=1;r1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var r=e.inflectionPoints(),n,a,o,u;if(r.length===0)return[offsetSegment(e,t)];if(r.length===1||floatEqual(r[1],1))return o=e.split(r[0]),n=o[0],a=o[1],[offsetSegment(n,t),offsetSegment(a,t)];o=e.split(r[0]),n=o[0];var f=(r[1]-r[0])/(1-r[0]);return o=o[1].split(f),u=o[0],a=o[1],[offsetSegment(n,t),offsetSegment(u,t),offsetSegment(a,t)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this.miterLimit=PropertyFactory.getProp(e,t.ml,0,null,this),this.lineJoin=t.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(e,t,r,n){var a=shapePool.newElement();a.c=e.c;var o=e.length();e.c||(o-=1);var u,f,i,l=[];for(u=0;u=0;u-=1)i=PolynomialBezier.shapeSegmentInverted(e,u),l.push(offsetSegmentSplit(i,t));l=pruneIntersections(l);var v=null,D=null;for(u=0;u0&&(k=!1),k){var S=createTag("style");S.setAttribute("f-forigin",h[X].fOrigin),S.setAttribute("f-origin",h[X].origin),S.setAttribute("f-family",h[X].fFamily),S.type="text/css",S.innerText="@font-face {font-family: "+h[X].fFamily+"; font-style: normal; src: url('"+h[X].fPath+"');}",z.appendChild(S)}}else if(h[X].fOrigin==="g"||h[X].origin===1){for(q=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Q=0;Q=55296&&h<=56319){var X=x.charCodeAt(1);X>=56320&&X<=57343&&(z=(h-55296)*1024+X-56320+65536)}return z}function b(x,z){var h=x.toString(16)+z.toString(16);return D.indexOf(h)!==-1}function y(x){return x===i}function L(x){return x===f}function O(x){var z=m(x);return z>=l&&z<=v}function Z(x){return O(x.substr(0,2))&&O(x.substr(2,2))}function T(x){return r.indexOf(x)!==-1}function C(x,z){var h=m(x.substr(z,2));if(h!==n)return!1;var X=0;for(z+=2;X<5;){if(h=m(x.substr(z,2)),hu)return!1;X+=1,z+=2}return m(x.substr(z,2))===a}function N(){this.isLoaded=!0}var j=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};j.isModifier=b,j.isZeroWidthJoiner=y,j.isFlagEmoji=Z,j.isRegionalCode=O,j.isCombinedCharacter=T,j.isRegionalFlag=C,j.isVariationSelector=L,j.BLACK_FLAG_CODE_POINT=n;var M={addChars:d,addFonts:H,getCharData:g,getFontByName:p,measureText:A,checkLoadedFonts:w,setIsLoaded:N};return j.prototype=M,j}();function SlotManager(e){this.animationData=e}SlotManager.prototype.getProp=function(e){return this.animationData.slots&&this.animationData.slots[e.sid]?Object.assign(e,this.animationData.slots[e.sid].p):e};function slotFactory(e){return new SlotManager(e)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,r=this.renderableComponents.length;for(t=0;t.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(e){var t,r=this.layers.length,n;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t],n.ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t)),this.completeLayers=this.elements[t]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e);default:return this.createNull(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e0&&(this.maskElement.setAttribute("id",s),this.element.maskedElement.setAttribute(g,"url("+getLocationHref()+"#"+s+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t=this.element.finalTransform.mat,r,n=this.masksProperties.length;for(r=0;r1&&(n+=" C"+t.o[a-1][0]+","+t.o[a-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==n){var u="";r.elem&&(t.c&&(u=e.inv?this.solidPath+n:n),r.elem.setAttribute("d",u)),r.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={};e.createFilter=t,e.createAlphaToLuminanceFilter=r;function t(n,a){var o=createNS("filter");return o.setAttribute("id",n),a!==!0&&(o.setAttribute("filterUnits","objectBoundingBox"),o.setAttribute("x","0%"),o.setAttribute("y","0%"),o.setAttribute("width","100%"),o.setAttribute("height","100%")),o}function r(){var n=createNS("feColorMatrix");return n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),n}return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas!="undefined"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,r="SourceGraphic",n=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),u=0;this.filters=[];var f;for(t=0;t=0&&(n=this.shapeModifiers[t].processShapes(this._isFirstFrame),!n);t-=1);}},searchProcessedElement:function(t){for(var r=this.processedElements,n=0,a=r.length;n.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e0;)d=s.transformers[O].mProps._mdf||d,L-=1,O-=1;if(d)for(L=m-s.styles[A].lvl,O=s.transformers.length-1;L>0;)y.multiply(s.transformers[O].mProps.v),L-=1,O-=1}else y=e;if(b=s.sh.paths,P=b._length,d){for(H="",w=0;w=1?N=.99:N<=-1&&(N=-.99);var j=T*N,M=Math.cos(C+s.a.v)*j+H[0],x=Math.sin(C+s.a.v)*j+H[1];w.setAttribute("fx",M),w.setAttribute("fy",x),P&&!s.g._collapsable&&(s.of.setAttribute("fx",M),s.of.setAttribute("fy",x))}}}function v(D,s,c){var w=s.style,P=s.d;P&&(P._mdf||c)&&P.dashStr&&(w.pElem.setAttribute("stroke-dasharray",P.dashStr),w.pElem.setAttribute("stroke-dashoffset",P.dashoffset[0])),s.c&&(s.c._mdf||c)&&w.pElem.setAttribute("stroke","rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||c)&&w.pElem.setAttribute("stroke-opacity",s.o.v),(s.w._mdf||c)&&(w.pElem.setAttribute("stroke-width",s.w.v),w.msElem&&w.msElem.setAttribute("stroke-width",s.w.v))}return r}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t=this.shapes.length,r,n,a=this.stylesList.length,o,u=[],f=!1;for(n=0;n1&&f&&this.setShapesAsAnimated(u)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;i-=1){if(H=this.searchProcessedElement(e[i]),H?t[i]=r[H-1]:e[i]._render=u,e[i].ty==="fl"||e[i].ty==="st"||e[i].ty==="gf"||e[i].ty==="gs"||e[i].ty==="no")H?t[i].style.closed=!1:t[i]=this.createStyleElement(e[i],a),e[i]._render&&t[i].style.pElem.parentNode!==n&&n.appendChild(t[i].style.pElem),s.push(t[i].style);else if(e[i].ty==="gr"){if(!H)t[i]=this.createGroupElement(e[i]);else for(D=t[i].it.length,v=0;v1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!e)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var n,a=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(n=0;nt);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t=[],r=0,n=e.length,a,o,u=!1,f=!1,i="";r=55296&&a<=56319?FontManager.isRegionalFlag(e,r)?i=e.substr(r,14):(o=e.charCodeAt(r+1),o>=56320&&o<=57343&&(FontManager.isModifier(a,o)?(i=e.substr(r,2),u=!0):FontManager.isFlagEmoji(e.substr(r,4))?i=e.substr(r,4):i=e.substr(r,2))):a>56319?(o=e.charCodeAt(r+1),FontManager.isVariationSelector(a)&&(u=!0)):FontManager.isZeroWidthJoiner(a)&&(u=!0,f=!0),u?(t[t.length-1]+=i,u=!1):t.push(i),r+=i.length;return t},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t=this.elem.globalData.fontManager,r=this.data,n=[],a,o,u,f=0,i,l=r.m.g,v=0,D=0,s=0,c=[],w=0,P=0,H,d,g=t.getFontByName(e.f),A,p=0,m=getFontProperties(g);e.fWeight=m.weight,e.fStyle=m.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),o=e.finalText.length,e.finalLineHeight=e.lh;var b=e.tr/1e3*e.finalSize,y;if(e.sz)for(var L=!0,O=e.sz[0],Z=e.sz[1],T,C;L;){C=this.buildFinalText(e.t),T=0,w=0,o=C.length,b=e.tr/1e3*e.finalSize;var N=-1;for(a=0;aO&&C[a]!==" "?(N===-1?o+=1:a=N,T+=e.finalLineHeight||e.finalSize*1.2,C.splice(a,N===a?1:0,"\r"),N=-1,w=0):(w+=p,w+=b);T+=g.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&ZP?w:P,w=-2*b,i="",u=!0,s+=1):i=M,t.chars?(A=t.getCharData(M,g.fStyle,t.getFontByName(e.f).fFamily),p=u?0:A.w*e.finalSize/100):p=t.measureText(i,e.f,e.finalSize),M===" "?j+=p+b:(w+=p+b+j,j=0),n.push({l:p,an:p,add:v,n:u,anIndexes:[],val:i,line:s,animatorJustifyOffset:0}),l==2){if(v+=p,i===""||i===" "||a===o-1){for((i===""||i===" ")&&(v-=p);D<=a;)n[D].an=v,n[D].ind=f,n[D].extra=p,D+=1;f+=1,v=0}}else if(l==3){if(v+=p,i===""||a===o-1){for(i===""&&(v-=p);D<=a;)n[D].an=v,n[D].ind=f,n[D].extra=p,D+=1;v=0,f+=1}}else n[f].ind=f,n[f].extra=0,f+=1;if(e.l=n,P=w>P?w:P,c.push(w),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=P,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=c;var x=r.a,z,h;d=x.length;var X,F,B=[];for(H=0;H0?f=this.ne.v/100:i=-this.ne.v/100,this.xe.v>0?l=1-this.xe.v/100:v=1+this.xe.v/100;var D=BezierFactory.getBezierEasing(f,i,l,v).get,s=0,c=this.finalS,w=this.finalE,P=this.data.sh;if(P===2)w===c?s=u>=w?1:0:s=e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s=D(s);else if(P===3)w===c?s=u>=w?0:1:s=1-e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s=D(s);else if(P===4)w===c?s=0:(s=e(0,t(.5/(w-c)+(u-c)/(w-c),1)),s<.5?s*=2:s=1-2*(s-.5)),s=D(s);else if(P===5){if(w===c)s=0;else{var H=w-c;u=t(e(0,u+.5-c),w-c);var d=-H/2+u,g=H/2;s=Math.sqrt(1-d*d/(g*g))}s=D(s)}else P===6?(w===c?s=0:(u=t(e(0,u+.5-c),w-c),s=(1+Math.cos(Math.PI+Math.PI*2*u/(w-c)))/2),s=D(s)):(u>=r(c)&&(u-c<0?s=e(0,t(t(w,1)-(c-u),1)):s=e(0,t(w-u,1))),s=D(s));if(this.sm.v!==100){var A=this.sm.v*.01;A===0&&(A=1e-8);var p=.5-A*.5;s1&&(s=1))}return s*this.a.v},getValue:function(u){this.iterateDynamicProperties(),this._mdf=u||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,u&&this.data.r===2&&(this.e.v=this._currentTextLength);var f=this.data.r===2?1:100/this.data.totalChars,i=this.o.v/f,l=this.s.v/f+i,v=this.e.v/f+i;if(l>v){var D=l;l=v,v=D}this.finalS=l,this.finalE=v}},extendPrototype([DynamicPropertyContainer],n);function a(o,u,f){return new n(o,u,f)}return{getTextSelectorProp:a}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},a=PropertyFactory.getProp,o=t.a;this.a={r:o.r?a(e,o.r,0,degToRads,r):n,rx:o.rx?a(e,o.rx,0,degToRads,r):n,ry:o.ry?a(e,o.ry,0,degToRads,r):n,sk:o.sk?a(e,o.sk,0,degToRads,r):n,sa:o.sa?a(e,o.sa,0,degToRads,r):n,s:o.s?a(e,o.s,1,.01,r):n,a:o.a?a(e,o.a,1,0,r):n,o:o.o?a(e,o.o,0,.01,r):n,p:o.p?a(e,o.p,1,0,r):n,sw:o.sw?a(e,o.sw,0,0,r):n,sc:o.sc?a(e,o.sc,1,0,r):n,fc:o.fc?a(e,o.fc,1,0,r):n,fh:o.fh?a(e,o.fh,0,0,r):n,fs:o.fs?a(e,o.fs,0,.01,r):n,fb:o.fb?a(e,o.fb,0,.01,r):n,t:o.t?a(e,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t=this._textData.a.length,r,n=PropertyFactory.getProp;for(e=0;e=w+He||!m?(O=(w+He-H)/P.partialLength,Q=p.point[0]+(P.point[0]-p.point[0])*O,S=p.point[1]+(P.point[1]-p.point[1])*O,o.translate(-r[0]*s[v].an*.005,-(r[1]*j)*.01),d=!1):m&&(H+=P.partialLength,g+=1,g>=m.length&&(g=0,A+=1,b[A]?m=b[A].points:T.v.c?(g=0,A=0,m=b[A].points):(H-=P.partialLength,m=null)),m&&(p=P,P=m[g],y=P.partialLength));q=s[v].an/2-s[v].add,o.translate(-q,0,0)}else q=s[v].an/2-s[v].add,o.translate(-q,0,0),o.translate(-r[0]*s[v].an*.005,-r[1]*j*.01,0);for(h=0;he?this.textSpans[e].span:createNS(f?"g":"text"),A<=e){if(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=i,f){var m=createNS("g");i.appendChild(m),this.textSpans[e].childSpan=m}this.textSpans[e].span=i,this.layerElement.appendChild(i)}i.style.display="inherit"}if(l.reset(),D&&(u[e].n&&(s=-P,c+=r.yOffset,c+=w?1:0,w=!1),this.applyTextPropertiesToMatrix(r,l,u[e].line,s,c),s+=u[e].l||0,s+=P),f){p=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var b;if(p.t===1)b=new SVGCompElement(p.data,this.globalData,this);else{var y=emptyShapeData;p.data&&p.data.shapes&&(y=this.buildShapeData(p.data,r.finalSize)),b=new SVGShapeElement(y,this.globalData,this)}if(this.textSpans[e].glyph){var L=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(L.layerElement),L.destroy()}this.textSpans[e].glyph=b,b._debug=!0,b.prepareFrame(0),b.renderFrame(),this.textSpans[e].childSpan.appendChild(b.layerElement),p.t===1&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else D&&i.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),i.textContent=u[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}D&&i&&i.setAttribute("d",v)}for(;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;n-=1)t.finalTransform.multiply(t.transforms[n].transform.mProps.v);t._mdf=o},processSequences:function(t){var r,n=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var t=this.globalData.canvasContext,r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r);var n=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(n),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],r=t.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var n=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(n.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var a=assetLoader.getLumaCanvas(this.canvasContext.canvas),o=a.getContext("2d");o.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(a,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a=4;t.ty==="rc"?a=5:t.ty==="el"?a=6:t.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,a,e);var o,u=r.length,f;for(o=0;o=0;o-=1){if(D=this.searchProcessedElement(e[o]),D?t[o]=r[D-1]:e[o]._shouldRender=n,e[o].ty==="fl"||e[o].ty==="st"||e[o].ty==="gf"||e[o].ty==="gs")D?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],w),l.push(t[o].style);else if(e[o].ty==="gr"){if(!D)t[o]=this.createGroupElement(e[o]);else for(i=t[o].it.length,f=0;f=0;a-=1)t[a].ty==="tr"?(u=r[a].transform,this.renderShapeTransform(e,u)):t[a].ty==="sh"||t[a].ty==="el"||t[a].ty==="rc"||t[a].ty==="sr"?this.renderPath(t[a],r[a]):t[a].ty==="fl"?this.renderFill(t[a],r[a],u):t[a].ty==="st"?this.renderStroke(t[a],r[a],u):t[a].ty==="gf"||t[a].ty==="gs"?this.renderGradientFill(t[a],r[a],u):t[a].ty==="gr"?this.renderShape(u,t[a].it,r[a].it):t[a].ty==="tm";n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r=e.trNodes,n=t.paths,a,o,u,f=n._length;r.length=0;var i=e.transforms.finalTransform;for(u=0;u=1?v=.99:v<=-1&&(v=-.99);var D=i*v,s=Math.cos(l+t.a.v)*D+u[0],c=Math.sin(l+t.a.v)*D+u[1];a=o.createRadialGradient(s,c,0,u[0],u[1],i)}var w,P=e.g.p,H=t.g.c,d=1;for(w=0;wo&&i==="xMidYMid slice"||aa&&f==="meet"||oa&&f==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:l==="xMax"&&(oa&&f==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,v==="YMid"&&(o>a&&f==="meet"||oa&&f==="meet"||o=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if(!(this.renderedFrame===e&&this.renderConfig.clearCanvas===!0&&!t||this.destroyed||e===-1)){this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!(t[e]||this.layers[e].ty===99)){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();e.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var e,t=15;for(e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var e,t=this.layers.length;for(e=t-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:t&&t.clearCanvas!==void 0?t.clearCanvas:!0,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||"",runExpressions:!t||t.runExpressions===void 0||t.runExpressions},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();t.transform=r,t.webkitTransform=r}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(e,t,r){this.initElement(e,t,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?(e=createNS("rect"),e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(e=createTag("div"),e.style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)};function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r0&&i<1&&a[s].push(this.calculateF(i,e,t,r,n,s))):(l=u*u-4*f*o,l>=0&&(v=(-u+bmSqrt(l))/(2*o),v>0&&v<1&&a[s].push(this.calculateF(v,e,t,r,n,s)),D=(-u-bmSqrt(l))/(2*o),D>0&&D<1&&a[s].push(this.calculateF(D,e,t,r,n,s)))));this.shapeBoundingBox.left=bmMin.apply(null,a[0]),this.shapeBoundingBox.top=bmMin.apply(null,a[1]),this.shapeBoundingBox.right=bmMax.apply(null,a[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,a[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,a,o){return bmPow(1-e,3)*t[o]+3*bmPow(1-e,2)*e*r[o]+3*(1-e)*bmPow(e,2)*n[o]+bmPow(e,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;rr&&(r=a)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;t-=1){var n=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var a;this.p?a=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:a=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var o=Math.sqrt(Math.pow(a[0],2)+Math.pow(a[1],2)+Math.pow(a[2],2)),u=[a[0]/o,a[1]/o,a[2]/o],f=Math.sqrt(u[2]*u[2]+u[0]*u[0]),i=Math.atan2(u[1],f),l=Math.atan2(u[0],-u[2]);this.mat.rotateY(l).rotateX(-i)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var v=!this._prevMat.equals(this.mat);if((v||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var D,s,c;for(t=0;t=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r=createTag("div"),n,a;styleDiv(r);var o=createTag("div");if(styleDiv(o),t==="3d"){n=r.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var u="50% 50%";n.webkitTransformOrigin=u,n.mozTransformOrigin=u,n.transformOrigin=u,a=o.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.transform=f,a.webkitTransform=f}r.appendChild(o);var i={container:o,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(i),i},HybridRendererBase.prototype.build3dContainers=function(){var e,t=this.layers.length,r,n="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;rr?(a=e/this.globalData.compSize.w,o=e/this.globalData.compSize.w,u=0,f=(t-this.globalData.compSize.h*(e/this.globalData.compSize.w))/2):(a=t/this.globalData.compSize.h,o=t/this.globalData.compSize.h,u=(e-this.globalData.compSize.w*(t/this.globalData.compSize.h))/2,f=0);var i=this.resizerElem.style;i.webkitTransform="matrix3d("+a+",0,0,0,0,"+o+",0,0,0,0,1,0,"+u+","+f+",0,1)",i.transform=i.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e=this.globalData.compSize.w,t=this.globalData.compSize.h,r,n=this.threeDElements.length;for(r=0;r=l;)T/=2,C/=2,N>>>=1;return(T+N)/C};return O.int32=function(){return L.g(4)|0},O.quick=function(){return L.g(4)/4294967296},O.double=O,H(g(L.S),e),(p.pass||m||function(Z,T,C,N){return N&&(N.S&&w(N,L),Z.state=function(){return w(L,{})}),C?(t[u]=Z,T):Z})(O,y,"global"in p?p.global:this==t,p.state)}t["seed"+u]=s;function c(A){var p,m=A.length,b=this,y=0,L=b.i=b.j=0,O=b.S=[];for(m||(A=[m++]);yr){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if(typeof e=="number"||e instanceof Number)return t=t||0,Math.abs(e-t);t||(t=helperLengthArray);var r,n=Math.min(e.length,t.length),a=0;for(r=0;r.5?l/(2-a-o):l/(a+o),a){case t:u=(r-n)/l+(r1&&(r-=1),r<1/6?e+(t-e)*6*r:r<1/2?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t=e[0],r=e[1],n=e[2],a,o,u;if(r===0)a=n,u=n,o=n;else{var f=n<.5?n*(1+r):n+r-n*r,i=2*n-f;a=hue2rgb(i,f,t+1/3),o=hue2rgb(i,f,t),u=hue2rgb(i,f,t-1/3)}return[a,o,u,e[3]]}function linear(e,t,r,n,a){if((n===void 0||a===void 0)&&(n=t,a=r,t=0,r=1),r=r)return a;var u=r===t?0:(e-t)/(r-t);if(!n.length)return n+(a-n)*u;var f,i=n.length,l=createTypedArray("float32",i);for(f=0;f1){for(a=0;a1?t=1:t<0&&(t=0);var u=e(t);if($bm_isInstanceOfArray(a)){var f,i=a.length,l=createTypedArray("float32",i);for(f=0;fdata.k[t].t&&edata.k[t+1].t-e?(n=t+2,a=data.k[t+1].t):(n=t+1,a=data.k[t].t);break}n===-1&&(n=t+1,a=data.k[t].t)}var o={};return o.index=n,o.time=a/elem.comp.globalData.frameRate,o}function key(e){var t,r,n;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=a.length,r=0;rH.length-1)&&(c=H.length-1),A=H[H.length-1-c].t,g=d-A);var p,m,b;if(s==="pingpong"){var y=Math.floor((P-A)/g);if(y%2!=0)return this.getValueAtTime((g-(P-A)%g+A)/this.comp.globalData.frameRate,0)}else if(s==="offset"){var L=this.getValueAtTime(A/this.comp.globalData.frameRate,0),O=this.getValueAtTime(d/this.comp.globalData.frameRate,0),Z=this.getValueAtTime(((P-A)%g+A)/this.comp.globalData.frameRate,0),T=Math.floor((P-A)/g);if(this.pv.length){for(b=new Array(L.length),m=b.length,p=0;p=d)return this.pv;var g,A;w?(c?g=Math.abs(this.elem.comp.globalData.frameRate*c):g=Math.max(0,this.elem.data.op-d),A=d+g):((!c||c>H.length-1)&&(c=H.length-1),A=H[c].t,g=A-d);var p,m,b;if(s==="pingpong"){var y=Math.floor((d-P)/g);if(y%2==0)return this.getValueAtTime(((d-P)%g+d)/this.comp.globalData.frameRate,0)}else if(s==="offset"){var L=this.getValueAtTime(d/this.comp.globalData.frameRate,0),O=this.getValueAtTime(A/this.comp.globalData.frameRate,0),Z=this.getValueAtTime((g-(d-P)%g+d)/this.comp.globalData.frameRate,0),T=Math.floor((d-P)/g)+1;if(this.pv.length){for(b=new Array(L.length),m=b.length,p=0;p1?(H-P)/(c-1):1,g=0,A=0,p;this.pv.length?p=createTypedArray("float32",this.pv.length):p=0;for(var m;gg){var y=A,L=P.c&&A===p-1?0:A+1,O=(g-m)/d[A].addedLength;b=bez.getPointInSegment(P.v[y],P.v[L],P.o[y],P.i[L],O,d[A]);break}else m+=d[A].addedLength;A+=1}return b||(b=P.c?[P.v[0][0],P.v[0][1]]:[P.v[P._length-1][0],P.v[P._length-1][1]]),b},vectorOnPath:function(c,w,P){c==1?c=this.v.c:c==0&&(c=.999);var H=this.pointOnPath(c,w),d=this.pointOnPath(c+.001,w),g=d[0]-H[0],A=d[1]-H[1],p=Math.sqrt(Math.pow(g,2)+Math.pow(A,2));if(p===0)return[0,0];var m=P==="tangent"?[g/p,A/p]:[-A/p,g/p];return m},tangentOnPath:function(c,w){return this.vectorOnPath(c,w,"tangent")},normalOnPath:function(c,w){return this.vectorOnPath(c,w,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([v],i),extendPrototype([v],l),l.prototype.getValueAtTime=f,l.prototype.initiateExpression=ExpressionManager.initiateExpression;var D=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(s,c,w,P,H){var d=D(s,c,w,P,H);return d.propertyIndex=c.ix,d.lock=!1,w===3?expressionHelpers.searchExpressions(s,c.pt,d):w===4&&expressionHelpers.searchExpressions(s,c.ks,d),d.k&&s.addDynamicProperty(d),d}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function e(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(t,r){var n=this.calculateExpression(r);if(t.t!==n){var a={};return this.copyData(a,t),a.t=n.toString(),a.__complete=!1,a}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),r=this.searchExpressions();return this.kf=t||r,this.kf},TextProperty.prototype.searchExpressions=e}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function e(t,r){var n=createNS("feMerge");n.setAttribute("result",t);var a,o;for(o=0;o=l?D=w<0?n:a:D=n+c*Math.pow((f-e)/w,1/r),v[s]=D,s+=1,o+=256/(u-1);return v.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}};function SVGDropShadowEffect(e,t,r,n,a){var o=t.container.globalData.renderConfig.filterSize,u=t.data.fs||o;e.setAttribute("x",u.x||o.x),e.setAttribute("y",u.y||o.y),e.setAttribute("width",u.width||o.width),e.setAttribute("height",u.height||o.height),this.filterManager=t;var f=createNS("feGaussianBlur");f.setAttribute("in","SourceAlpha"),f.setAttribute("result",n+"_drop_shadow_1"),f.setAttribute("stdDeviation","0"),this.feGaussianBlur=f,e.appendChild(f);var i=createNS("feOffset");i.setAttribute("dx","25"),i.setAttribute("dy","0"),i.setAttribute("in",n+"_drop_shadow_1"),i.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=i,e.appendChild(i);var l=createNS("feFlood");l.setAttribute("flood-color","#00ff00"),l.setAttribute("flood-opacity","1"),l.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=l,e.appendChild(l);var v=createNS("feComposite");v.setAttribute("in",n+"_drop_shadow_3"),v.setAttribute("in2",n+"_drop_shadow_2"),v.setAttribute("operator","in"),v.setAttribute("result",n+"_drop_shadow_4"),e.appendChild(v);var D=this.createMergeNode(n,[n+"_drop_shadow_4",a]);e.appendChild(D)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(t[0]*255),Math.round(t[1]*255),Math.round(t[2]*255)))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,a=r*Math.cos(n),o=r*Math.sin(n);this.feOffset.setAttribute("dx",a),this.feOffset.setAttribute("dy",o)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t{(function(e,t){typeof hf=="object"&&typeof b1!="undefined"?t(hf,X1(),(Cn(),If)):typeof define=="function"&&define.amd?define(["exports","lottie-web","react"],t):(e=typeof globalThis!="undefined"?globalThis:e||self,t(e["lottie-react"]={},e.Lottie,e.React))})(hf,function(e,t,r){"use strict";function n(T){return T&&typeof T=="object"&&"default"in T?T:{default:T}}var a=n(t),o=n(r);function u(T,C){var N=T==null?null:typeof Symbol!="undefined"&&T[Symbol.iterator]||T["@@iterator"];if(N!=null){var j,M,x,z,h=[],X=!0,F=!1;try{if(x=(N=N.call(T)).next,C===0){if(Object(N)!==N)return;X=!1}else for(;!(X=(j=x.call(N)).done)&&(h.push(j.value),h.length!==C);X=!0);}catch(B){F=!0,M=B}finally{try{if(!X&&N.return!=null&&(z=N.return(),Object(z)!==z))return}finally{if(F)throw M}}return h}}function f(T,C){var N=Object.keys(T);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(T);C&&(j=j.filter(function(M){return Object.getOwnPropertyDescriptor(T,M).enumerable})),N.push.apply(N,j)}return N}function i(T){for(var C=1;C=0)&&(N[M]=T[M]);return N}function D(T,C){if(T==null)return{};var N=v(T,C),j,M;if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(T);for(M=0;M=0)&&(!Object.prototype.propertyIsEnumerable.call(T,j)||(N[j]=T[j]))}return N}function s(T,C){return c(T)||u(T,C)||w(T,C)||H()}function c(T){if(Array.isArray(T))return T}function w(T,C){if(!!T){if(typeof T=="string")return P(T,C);var N=Object.prototype.toString.call(T).slice(8,-1);if(N==="Object"&&T.constructor&&(N=T.constructor.name),N==="Map"||N==="Set")return Array.from(T);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return P(T,C)}}function P(T,C){(C==null||C>T.length)&&(C=T.length);for(var N=0,j=new Array(C);N0&&arguments[0]!==void 0?arguments[0]:{},Ne;if(!!Y.current){(Ne=I.current)===null||Ne===void 0||Ne.destroy();var at=i(i(i({},C),me),{},{container:Y.current});return I.current=a.default.loadAnimation(at),Xe(!!I.current),function(){var an;(an=I.current)===null||an===void 0||an.destroy(),I.current=void 0}}};r.useEffect(function(){var Ge=He();return function(){return Ge==null?void 0:Ge()}},[j,M]),r.useEffect(function(){!I.current||(I.current.autoplay=!!x)},[x]),r.useEffect(function(){if(!!I.current){if(!z){I.current.resetSegments(!0);return}!Array.isArray(z)||!z.length||((I.current.currentRawFramez[1])&&(I.current.currentRawFrame=z[0]),I.current.setSegment(z[0],z[1]))}},[z]),r.useEffect(function(){var Ge=[{name:"complete",handler:h},{name:"loopComplete",handler:X},{name:"enterFrame",handler:F},{name:"segmentStart",handler:B},{name:"config_ready",handler:k},{name:"data_ready",handler:q},{name:"data_failed",handler:Q},{name:"loaded_images",handler:S},{name:"DOMLoaded",handler:$},{name:"destroy",handler:U}],me=Ge.filter(function(at){return at.handler!=null});if(!!me.length){var Ne=me.map(function(at){var an;return(an=I.current)===null||an===void 0||an.addEventListener(at.name,at.handler),function(){var Of;(Of=I.current)===null||Of===void 0||Of.removeEventListener(at.name,at.handler)}});return function(){Ne.forEach(function(at){return at()})}}},[h,X,F,B,k,q,Q,S,$,U]);var Ie=o.default.createElement("div",i({style:N,ref:Y},R));return{View:Ie,play:vt,stop:_e,pause:ft,setSpeed:ot,goToAndStop:oe,goToAndPlay:ze,setDirection:le,playSegments:re,setSubframe:ae,getDuration:de,destroy:Pe,animationContainerRef:Y,animationLoaded:ge,animationItem:I.current}};function m(T){var C=T.getBoundingClientRect(),N=C.top,j=C.height,M=window.innerHeight-N,x=window.innerHeight+j;return M/x}function b(T,C,N){var j=T.getBoundingClientRect(),M=j.top,x=j.left,z=j.width,h=j.height,X=(C-x)/z,F=(N-M)/h;return{x:X,y:F}}var y=function(C){var N=C.wrapperRef,j=C.animationItem,M=C.mode,x=C.actions;r.useEffect(function(){var z=N.current;if(!(!z||!j||!x.length)){j.stop();var h=function(){var B=null,k=function(){var Q=m(z),S=x.find(function(U){var R=U.visibility;return R&&Q>=R[0]&&Q<=R[1]});if(!!S){if(S.type==="seek"&&S.visibility&&S.frames.length===2){var $=S.frames[0]+Math.ceil((Q-S.visibility[0])/(S.visibility[1]-S.visibility[0])*S.frames[1]);j.goToAndStop($-j.firstFrame-1,!0)}S.type==="loop"&&(B===null||B!==S.frames||j.isPaused)&&(j.playSegments(S.frames,!0),B=S.frames),S.type==="play"&&j.isPaused&&(j.resetSegments(!0),j.play()),S.type==="stop"&&j.goToAndStop(S.frames[0]-j.firstFrame-1,!0)}};return document.addEventListener("scroll",k),function(){document.removeEventListener("scroll",k)}},X=function(){var B=function(S,$){var U=S,R=$;if(U!==-1&&R!==-1){var ce=b(z,U,R);U=ce.x,R=ce.y}var J=x.find(function(I){var Y=I.position;return Y&&Array.isArray(Y.x)&&Array.isArray(Y.y)?U>=Y.x[0]&&U<=Y.x[1]&&R>=Y.y[0]&&R<=Y.y[1]:Y&&!Number.isNaN(Y.x)&&!Number.isNaN(Y.y)?U===Y.x&&R===Y.y:!1});if(!!J){if(J.type==="seek"&&J.position&&Array.isArray(J.position.x)&&Array.isArray(J.position.y)&&J.frames.length===2){var ge=(U-J.position.x[0])/(J.position.x[1]-J.position.x[0]),Xe=(R-J.position.y[0])/(J.position.y[1]-J.position.y[0]);j.playSegments(J.frames,!0),j.goToAndStop(Math.ceil((ge+Xe)/2*(J.frames[1]-J.frames[0])),!0)}J.type==="loop"&&j.playSegments(J.frames,!0),J.type==="play"&&(j.isPaused&&j.resetSegments(!1),j.playSegments(J.frames)),J.type==="stop"&&j.goToAndStop(J.frames[0],!0)}},k=function(S){B(S.clientX,S.clientY)},q=function(){B(-1,-1)};return z.addEventListener("mousemove",k),z.addEventListener("mouseout",q),function(){z.removeEventListener("mousemove",k),z.removeEventListener("mouseout",q)}};switch(M){case"scroll":return h();case"cursor":return X()}}},[M,j])},L=function(C){var N=C.actions,j=C.mode,M=C.lottieObj,x=M.animationItem,z=M.View,h=M.animationContainerRef;return y({actions:N,animationItem:x,mode:j,wrapperRef:h}),z},O=["style","interactivity"],Z=function(C){var N,j,M,x=C.style,z=C.interactivity,h=D(C,O),X=p(h,x),F=X.View,B=X.play,k=X.stop,q=X.pause,Q=X.setSpeed,S=X.goToAndStop,$=X.goToAndPlay,U=X.setDirection,R=X.playSegments,ce=X.setSubframe,J=X.getDuration,ge=X.destroy,Xe=X.animationContainerRef,I=X.animationLoaded,Y=X.animationItem;return r.useEffect(function(){C.lottieRef&&(C.lottieRef.current={play:B,stop:k,pause:q,setSpeed:Q,goToAndPlay:$,goToAndStop:S,setDirection:U,playSegments:R,setSubframe:ce,getDuration:J,destroy:ge,animationContainerRef:Xe,animationLoaded:I,animationItem:Y})},[(N=C.lottieRef)===null||N===void 0?void 0:N.current]),L({lottieObj:{View:F,play:B,stop:k,pause:q,setSpeed:Q,goToAndStop:S,goToAndPlay:$,setDirection:U,playSegments:R,setSubframe:ce,getDuration:J,destroy:ge,animationContainerRef:Xe,animationLoaded:I,animationItem:Y},actions:(j=z==null?void 0:z.actions)!==null&&j!==void 0?j:[],mode:(M=z==null?void 0:z.mode)!==null&&M!==void 0?M:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return a.default}}),e.default=Z,e.useLottie=p,e.useLottieInteractivity=L,Object.defineProperty(e,"__esModule",{value:!0})})});var r5={};Wv(r5,{boot:()=>t5});var zo={compose:function(e){return function(t){return function(r){return e(t(r))}}}};var ue=function(e){return e.identity},fe={identity:function(e){return e},Semigroupoid0:function(){return zo}};var Ye=!0;var Vf=function(e){return function(t){return function(r){return function(n){return e(t(r))(t(n))}}}},$e=function(e){return function(t){return function(r){return e(r)(t)}}},ve=function(e){return function(t){return e}};var Ev=function(e){return function(t){for(var r=t.length,n=new Array(r),a=0;a="0"&&e[a]<="9"?"\\&":"";return"\\"+r.charCodeAt(0).toString(10)+o})+'"'};var It={show:es};var Yf={show:$v},ur={show:_v};var se=function(e){return e.show};var KA=ue(fe),W=function(){function e(){}return e.value=new e,e}(),V=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}();var qe=function(e){return function(t){return function(r){if(r instanceof W)return e;if(r instanceof V)return t(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[e.constructor.name,t.constructor.name,r.constructor.name])}}};var ln=qe(!1)(ve(!0));var Le={map:function(e){return function(t){return t instanceof V?new V(e(t.value0)):W.value}}},SA=E(Le);var Ee=function(e){return qe(e)(KA)},fr=function(){return function(e){if(e instanceof V)return e.value0;throw new Error("Failed pattern match at Data.Maybe (line 288, column 1 - line 288, column 46): "+[e.constructor.name])}};var Wr=function(e){var t=De(e);return{eq:function(r){return function(n){return r instanceof W&&n instanceof W?!0:r instanceof V&&n instanceof V?t(r.value0)(n.value0):!1}}}};var hr={apply:function(e){return function(t){if(e instanceof V)return SA(e.value0)(t);if(e instanceof W)return W.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[e.constructor.name,t.constructor.name])}},Functor0:function(){return Le}};var Zt={bind:function(e){return function(t){if(e instanceof V)return t(e.value0);if(e instanceof W)return W.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[e.constructor.name,t.constructor.name])}},Apply0:function(){return hr}};var ir=function(){return{pure:V.create,Apply0:function(){return hr}}}();var ts={alt:function(e){return function(t){return e instanceof W?t:e}},Functor0:function(){return Le}},kA=function(){return{empty:W.value,Alt0:function(){return ts}}}(),Qf={Applicative0:function(){return ir},Plus1:function(){return kA}};Cn();var rs=function(){let e={};return function(t,r){let n=e[t]||(e[t]=os(t));return r(n)}}();function ns(e){return e(os())}var as=mr.createElement,wa=e=>()=>e.props.def;function os(e){class t extends mr.Component{constructor(n){super(n);n.init&&n.init(this)()}render(){return this.props.render(this)()}componentDidMount(){this.props.componentDidMount(this)()}componentWillUnmount(){this.props.componentWillUnmount(this)()}}return t.displayName=e?"Elmish_"+e:"ElmishRoot",t}var D9=typeof Array.prototype.flatMap=="function"?function(e){return function(t){return e.flatMap(t)}}:function(e){return function(t){for(var r=[],n=e.length,a=0;a>1),f-o>1&&e(t,r,a,n,o,f),u-f>1&&e(t,r,a,n,f,u),i=o,l=f,v=o;i0?(n[v++]=s,++l):(n[v++]=D,++i);for(;i>1),f-o>1&&e(t,r,a,n,o,f),u-f>1&&e(t,r,a,n,f,u),i=o,l=f,v=o;i0?(n[v++]=s,++l):(n[v++]=D,++i);for(;i=0;o--)n=e(r[o])(n);return n}}},Ns=function(e){return function(t){return function(r){for(var n=t,a=r.length,o=0;o0)&&(U=j,R=Pe._3(de)));break;case P:I=new m(c,new m(d,R,ce),I,J),U=j,J&&J!==ae&&Y===0?R=Pe._1.killed(q.fromLeft(J))(Pe._2):ce?R=Pe._1.failed(q.fromLeft(ce))(Pe._2):R=Pe._1.completed(q.fromRight(R))(Pe._2),ce=null,Y++;break;case H:Y++,I=new m(c,new m(d,R,ce),I,J),U=j,R=Pe._1;break;case d:Y--,U=h,R=Pe._1,ce=Pe._2;break}break;case X:for(var He in _e)_e.hasOwnProperty(He)&&(ft=ft&&_e[He].rethrow,L(_e[He].handler(R)));_e=null,J&&ce?setTimeout(function(){throw q.fromLeft(ce)},0):q.isLeft(R)&&ft&&setTimeout(function(){if(ft)throw q.fromLeft(R)},0);return;case N:U=j;break;case z:return}}function ze(re){return function(){if(U===X)return ft=ft&&re.rethrow,re.handler(R)(),function(){};var ae=vt++;return _e=_e||{},_e[ae]=re,function(){_e!==null&&delete _e[ae]}}}function oe(re,ae){return function(){if(U===X)return ae(q.right(void 0))(),function(){};var de=ze({rethrow:!1,handler:function(){return ae(q.right(void 0))}})();switch(U){case N:J=q.left(re),U=X,R=J,ot($);break;case z:J===null&&(J=q.left(re)),Y===0&&(U===z&&(I=new m(c,new m(H,R(re)),I,J)),U=h,R=null,ce=null,ot(++$));break;default:J===null&&(J=q.left(re)),Y===0&&(U=h,R=null,ce=null)}return de}}function le(re){return function(){var ae=ze({rethrow:!1,handler:re})();return U===N&&ot($),ae}}return{kill:oe,join:le,onComplete:ze,isSuspended:function(){return U===N},run:function(){U===N&&(T.isDraining()?ot($):T.enqueue(function(){ot($)}))}}}function B(q,Q,S,$){var U=0,R={},ce=0,J={},ge=new Error("[ParAff] Early exit"),Xe=null,I=e;function Y(ze,oe,le){var re=oe,ae=null,de=null,Pe=0,He={},Ie,Ge;e:for(;;)switch(Ie=null,re.tag){case g:if(re._3===e&&(Ie=R[re._1],He[Pe++]=Ie.kill(ze,function(me){return function(){Pe--,Pe===0&&le(me)()}})),ae===null)break e;re=ae._2,de===null?ae=null:(ae=de._1,de=de._2);break;case v:re=re._2;break;case D:case s:ae&&(de=new m(c,ae,de)),ae=re,re=re._1;break}if(Pe===0)le(q.right(void 0))();else for(Ge=0,Ie=Pe;Ge":e===void 0?"":e instanceof Date?e.toString():typeof Blob!="undefined"&&e instanceof Blob?"file["+e.name+"]":JSON.stringify(e)}var g4=zt(ke),Bc=Wn(Ca),P4=Lt(ke);var Li=function(e){return e.foldrWithIndex};var Bi=function(e){return e.foldlWithIndex};var w4=function(e){var t=Li(e);return function(r){var n=Ae(r.Semigroup0()),a=Qe(r);return function(o){return t(function(u){return function(f){return function(i){return n(o(u)(f))(i)}}})(a)}}},Wa={foldrWithIndex:function(e){return function(t){var r=g4(function(a){return function(o){return e(a.value0)(a.value1)(o)}})(t),n=Bc(Oe.create);return function(a){return r(n(a))}}},foldlWithIndex:function(e){return function(t){var r=P4(function(a){return function(o){return e(o.value0)(a)(o.value1)}})(t),n=Bc(Oe.create);return function(a){return r(n(a))}}},foldMapWithIndex:function(e){return w4(Wa)(e)},Foldable0:function(){return ke}};var Cc=function(e){var t=Bi(e);return function(r){var n=function(a){return function(o){return function(u){return o instanceof W?r(a)(u):o}}};return t(n)(W.value)}};function $o(e){return Object.prototype.toString.call(e).slice(8,-1)}function Ea(e){return e===void 0}var eu=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};var Zn=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}();var Ci=function(e){var t=Wt(e);return function(r){return new Zn(r,t)}};var Nt=function(){function e(){}return e.value=new e,e}(),Ue=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Fi=function(e){return e},L4=function(e){return new Ue(e.value0,e.value1)};var B4=function(e){var t=function(r){return function(n){var a=r,o=!1,u;function f(i,l){if(l instanceof Ue&&l.value1 instanceof Ue&&l.value1.value1 instanceof Ue){a=new Ue(l,i),n=l.value1.value1.value1;return}var v=function(s){return s instanceof Ue&&s.value1 instanceof Ue&&s.value1.value1 instanceof Nt?new Ue(e(s.value0),new Ue(e(s.value1.value0),Nt.value)):s instanceof Ue&&s.value1 instanceof Nt?new Ue(e(s.value0),Nt.value):Nt.value},D=function(s){return function(c){var w=s,P=!1,H;function d(g,A){if(g instanceof Ue&&g.value0 instanceof Ue&&g.value0.value1 instanceof Ue&&g.value0.value1.value1 instanceof Ue){w=g.value1,c=new Ue(e(g.value0.value0),new Ue(e(g.value0.value1.value0),new Ue(e(g.value0.value1.value1.value0),A)));return}return P=!0,A}for(;!P;)H=d(w,c);return H}};return o=!0,D(i)(v(l))}for(;!o;)u=f(a,n);return u}};return t(Nt.value)},C4={map:B4};var tu={foldr:function(e){return function(t){var r=function(){var a=function(o){return function(u){var f=o,i=!1,l;function v(D,s){if(s instanceof Nt)return i=!0,D;if(s instanceof Ue){f=new Ue(s.value0,D),u=s.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 107, column 7 - line 107, column 23): "+[D.constructor.name,s.constructor.name])}for(;!i;)l=v(f,u);return l}};return a(Nt.value)}(),n=Lt(tu)($e(e))(t);return function(a){return n(r(a))}}},foldl:function(e){var t=function(r){return function(n){var a=r,o=!1,u;function f(i,l){if(l instanceof Nt)return o=!0,i;if(l instanceof Ue){a=e(i)(l.value0),n=l.value1;return}throw new Error("Failed pattern match at Data.List.Types (line 111, column 12 - line 113, column 30): "+[l.constructor.name])}for(;!o;)u=f(a,n);return u}};return t},foldMap:function(e){var t=Ae(e.Semigroup0()),r=Qe(e);return function(n){return Lt(tu)(function(a){var o=t(a);return function(u){return o(n(u))}})(r)}}};var F4=zt(tu);var Ti={append:function(e){return function(t){return F4(Ue.create)(t)(e)}}},Oc=Ae(Ti);var Mc={append:function(e){return function(t){return new Zn(e.value0,Oc(e.value1)(L4(t)))}}};var T4={alt:Oc,Functor0:function(){return C4}},Nc=function(){return{empty:Nt.value,Alt0:function(){return T4}}}();var Vc=function(){var e=Ci(Nc);return function(t){return Fi(e(t))}}();var qc=function(e){return e.value0};var ru=function(e){return e.length};var Wc=function(e){return function(t){return function(r){return function(n){var a=n.indexOf(r);return a===-1?t:e(a)}}}};var ji=function(e){return function(t){return{before:t.substring(0,e),after:t.substring(e)}}};var Ra=function(e){return function(t){var r=ji(ru(e))(t),n=r.before===e;return n?new V(r.after):W.value}};var Gc=function(){return Wc(V.create)(W.value)}();var nu=function(e){var t=Gc(e);return function(r){return ln(t(r))}};var R4=se(It),Y4=se(ur);var Oi=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Ic=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),G4=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Q4=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Ht=G,Ya=G;var Ga=function(e){if(e instanceof Oi)return e.value0;if(e instanceof G4)return"Error at array index "+(Y4(e.value0)+(": "+Ga(e.value1)));if(e instanceof Q4)return"Error at property "+(R4(e.value0)+(": "+Ga(e.value1)));if(e instanceof Ic)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 Mi=function(e){var t=Bt(Ac(e));return function(r){return t(Vc(r))}};var Zc=function(e){var t=K(Va(e)),r=Mi(e);return function(n){return function(a){if($o(a)===n)return t(Ya(a));if(Ye)return r(new Ic(n,$o(a)));throw new Error("Failed pattern match at Foreign (line 123, column 1 - line 123, column 104): "+[n.constructor.name,a.constructor.name])}}};function Uc(e){return function(){var t={};for(var r in e)hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}}var au={};function ou(e){return e()}function Kc(e,t,r,n){return r in n?t(n[r]):e}function Ni(e){return function(t){var r=[];for(var n in t)hasOwnProperty.call(t,n)&&r.push(e(n)(t[n]));return r}}var I4=Object.keys||Ni(function(e){return function(){return e}});var Vi=function(){return{}};function uu(e){return function(t){return function(r){return function(){return r[e]=t,r}}}}var eP=ct(Oo);var tP=Uc,Wi=function(e){return function(t){return ou(eP(uu(e)(t))(Vi))}};var rP=function(e){return function(t){return ou(function(){var n=tP(t)();return e(n)(),n})}};var fu=function(){return Ro(Kc)(W.value)(V.create)}();var Jc=function(e){return function(t){return rP(uu(e)(t))}};var nP=Mn(bt),aP=Hr(nP),oP=Cc(Wa),uP=se(ur),fP=tc($f),Pn=function(){function e(){}return e.value=new e,e}(),Br=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),iu={validateJsRecord:function(e){return Pn.value}};var Ei=function(e){return function(t){return function(r){var n=t(r);return n?Pn.value:new Br({path:"",got:r,expected:e})}}};var Qa={validateForeignType:Ei("Boolean")(yc)},_c={validateForeignType:Ei("Function")(Lc)};var $c={validateForeignType:Ei("String")(xc)},ed=function(e){return e.validateJsRecord},lu=function(){return function(e){var t=ed(e);return{validateForeignType:function(r){if(zc(r))return t(r);if(Ye)return new Br({path:"",expected:"Object",got:r});throw new Error("Failed pattern match at Elmish.Foreign (line 209, column 1 - line 212, column 69): "+[r.constructor.name])}}}},vu=function(e){return e.validateForeignType},td=function(e){var t=vu(e);return{validateForeignType:function(r){if(aP(eu)(r))return new Br({path:"",expected:"Array",got:r});if(Ye){var n=function(o){return function(u){var f=t(u);if(f instanceof Pn)return W.value;if(f instanceof Br)return new V({idx:o,invalid:f.value0});throw new Error("Failed pattern match at Elmish.Foreign (line 186, column 29 - line 188, column 51): "+[f.constructor.name])}},a=oP(n)(Ya(r));if(a instanceof W)return Pn.value;if(a instanceof V)return new Br({expected:a.value0.invalid.expected,got:a.value0.invalid.got,path:"["+(uP(a.value0.idx)+("]"+a.value0.invalid.path))});throw new Error("Failed pattern match at Elmish.Foreign (line 182, column 21 - line 184, column 101): "+[a.constructor.name])}throw new Error("Failed pattern match at Elmish.Foreign (line 179, column 6 - line 188, column 51): "+[r.constructor.name])}}};var su=function(e){var t=gt(e);return function(r){var n=vu(r);return function(a){var o=ed(a);return{validateJsRecord:function(u){var f=t(et.value),i=St(f)(Ya(u)),l=n(i);if(l instanceof Br)return new Br({expected:l.value0.expected,got:l.value0.got,path:"."+(f+l.value0.path)});if(l instanceof Pn)return o(u);throw new Error("Failed pattern match at Elmish.Foreign (line 235, column 9 - line 237, column 43): "+[l.constructor.name])}}}}},Ia=function(e){var t=vu(e);return function(r){var n=t(r);if(n instanceof Pn)return new te(Ya(r));if(n instanceof Br)return new ee(fP([n.value0.path,function(){var a=n.value0.path==="";return a?"Expected ":": expected "}(),n.value0.expected," but got: ",_o(n.value0.got)]));throw new Error("Failed pattern match at Elmish.Foreign (line 255, column 18 - line 263, column 6): "+[n.constructor.name])}},Za=function(e){var t=Ia(e);return function(r){return kf(t(r))}};var rd=(e,t)=>t[e],nd=(e,t,r)=>r[e]=t;var wn=function(t){return function(r){return t(r)()}};var Sr=function(t){return function(r){return function(){return t(r)}}},kr=function(t){return function(r){return function(n){return function(){return t(r,n)}}}},pn=function(t){return function(r){return function(n){return function(a){return function(){return t(r,n,a)}}}}};var XP=tt(pe),Ua=function(){function e(){}return e.value=new e,e}(),ud=function(){return function(e){var t=gt(e);return function(r){return pn(nd)(t(et.value))}}},Ri=function(e){var t=Za(e);return function(r){var n=gt(r);return function(a){return function(o){return XP(function(){return rd(n(et.value),o)})(t)}}}};var Ka=null;function fd(e,t,r){return e==null?t:r(e)}function Yi(e){return e}var cr=qe(Ka)(Yi),Re=function(e){return fd(e,W.value,V.create)};Cn();var cu=window.ReactDOM,{createPortal:Gi,findDOMNode:rk,flushSync:nk}=window.ReactDOM;var sl=Mf(_d());function $d(e){return e.state&&e.state.s}function e7(e,t,r){return e.setState({s:t},r)}function t7(e,t){return e.state={s:t}}var r7=cu.render,n7=cu.hydrate,cl=sl.default&&sl.default.renderToString||(e=>""),$P=cu.unmountComponentAtNode,a7=mr.Fragment;function o7(e,t,r){return mr.createElement.apply(null,[e,ew(e,t)].concat(r))}function ew(e,t){if(typeof e!="string"||t._data==null)return t;var r={_data:void 0};for(var n in t._data){var a=t._data[n];r["data-"+n]=a}return Object.assign({},t,r)}var he={asReactChildren:function(e){return[e]}},Be={asReactChildren:function(e){return[e]}},xe={asReactChildren:ue(fe)};var Se=G,dl=pn(e7),u7=kr(r7),f7=kr(n7),i7=Sr($d),lt=!1;var l7=kr(t7),v7=function(e){return e.asReactChildren},Xn=function(){return function(e){var t=v7(e);return function(r){return function(n){return function(a){return o7(r,n,t(a))}}}}},s7=Xn()(xe),mu=function(){return function(e){return function(t){return s7(e)(t)([])}}},Xt=s7(a7)({});var Al=E(pe),tw=K(Pt),c7=function(e){return{initialize:function(t){return l7(t)(e.initialState)},getState:function(t){return function(){var n=Al(Re)(i7(t))();return Ee(e.initialState)(n)}},setState:dl}},d7=function(){var e=function(t){return function(r){return{initialize:function(n){return cn(new V(r.initialState))(t)},getState:function(n){return Al(Ee(r.initialState))(sn(t))},setState:function(n){return function(a){return function(o){return function(){return cn(new V(a))(t)(),dl(n)(a)(tw(_))(),o()}}}}}}};return Al(e)(Tn(W.value))}();var A7=Ae(Tt);var g7=ud(),P7={reflectSymbol:function(){return"__unmounted"}},rw=g7(P7),w7={reflectSymbol:function(){return"__subscriptions"}},nw=g7(w7),Xu=tt(pe),aw=Ri(Qa)(P7),p7=E(pe),ow=Ri(td(_c))(w7),uw=st(rt),fw=ct(Ot),iw=Ai(Pt)(ke),lw=uw($t),D7=We(Zo),vw=is(Yr),sw=Ae(Wf(ri(qf))),h7=function(e){return e},to=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),cw={map:function(e){return function(t){return new to(e(t.value0),t.value1)}}};var m7={apply:function(e){return function(t){return new to(e.value0(t.value0),A7(e.value1)(t.value1))}},Functor0:function(){return cw}},kn={bind:function(e){return function(t){var r=t(e.value0);return new to(r.value0,A7(e.value1)(r.value1))}},Apply0:function(){return m7}},Vt={pure:function(e){return new to(e,[])},Apply0:function(){return m7}};var ro=function(e){return new to(_,[e])},no=function(e){return ro(ve(e))};var X7=function(e){return function(t){var r=rw(Ua.value),n=nw(Ua.value),a=function(c){return function(w){return function(P){return function(){var d=Xu(wa(c))(function(g){return g.init})();return t({initialState:d.value0}).setState(c)(w)(P)()}}}},o=function(){var c=p7(Ee(!1)),w=aw(Ua.value);return function(P){return c(w(P))}}(),u=function(){var c=p7(Ee([])),w=ow(Ua.value);return function(P){return c(w(P))}}(),f=function(c){return function(){return fw(iw)(u(c))(),n([])(c)()}},i=function(c){return function(){var P=Xu(wa(c))(function(H){return H.init})();return t({initialState:P.value0}).getState(c)()}},l=function(c){return function(w){return function(){var H=u(c)();return n(pi(Ur(w))(H))(c)()}}},v=function(c){return function(w){var P=function(H){return Ur(lw(In(0))(function(){return H({dispatch:function(){var d=D(w);return function(g){return D7(d(g))}}(),onStop:l(w)})}))};return ei(c)(P)}},D=function(c){return function(w){return vw(o(c))(function(){var H=i(c)(),d=Xu(wa(c))(function(A){return A.update})(),g=d(H)(w);return a(c)(g.value0)(v(g.value1)(c))()})}},s=function(c){return function(){var P=i(c)(),H=Xu(wa(c))(function(d){return d.view})();return H(P)(D(c))}};return function(c){return as(e,{def:c,init:t({initialState:c.init.value0}).initialize,render:s,componentDidMount:v(c.init.value1),componentWillUnmount:sw(r(!0))(f)})}}},b7=function(e){return function(){var r=D7(d7)();return ns(function(n){return X7(n)(r)(e)})}},ao=function(e){return function(t){return rs(e,function(r){var n=X7(r)(c7);return function(a){return n(t(a))}})}};var H7=e=>{let t=document.createElement("script");t.src="https://js.hsforms.net/forms/embed/v2.js",t.async=!0,t.onload=()=>{window.hbspt&&window.hbspt.forms.create({portalId:e.portalId,formId:e.formId,target:`#${e.targetId}`})},document.body.appendChild(t)};var dw=function(){function e(){}return e.value=new e,e}(),gl=function(){function e(){}return e.value=new e,e}(),Aw=function(){function e(){}return e.value=new e,e}(),Pl=function(){function e(){}return e.value=new e,e}(),x7=function(e){if(e instanceof dw)return"modal-sm";if(e instanceof gl)return"";if(e instanceof Aw)return"modal-lg";if(e instanceof Pl)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 k7=Mf(S7()),J7=k7.default;var Sw=Xn(),_7=function(e){var t=Sw(e);return function(){return function(){return t(J7)}}};var io=function(e){return function(t){return t.split(e)}};var $r=function(e){return function(t){return t.join(e)}};var $w=G;var e8=function(e){return Ea(e)};var jr=function(e){var t=e8(e);return t?W.value:new V($w(e))};var Fe=function(e){return function(t){var r=e8(e);return r?t:e}};var Ar=function(){return G};var ep=K(Pt),tp=xa(),t8=function(e){return{handleMaybe:function(t){return function(r){return wn(function(){var n=qe(ep(_))(t);return function(a){return n(tp(r(a)))}}())}}}};var r8={handle:function(e){return function(t){return function(r){return e(t(r))()}}}},Lu={handleEffect:function(e){return wn(e)}},Hn={handleEffect:function(e){return wn(ve(e))}};var n8=function(e){return e.handleMaybe},tr=function(e){return e.handleEffect},a8=function(e){return e.handle};function Bu(e,t){var r={};for(var n in t)({}).hasOwnProperty.call(t,n)&&(r[n]=t[n]);for(var a in e)({}).hasOwnProperty.call(e,a)&&(r[a]=e[a]);return r}var Cu=function(){return function(){return function(e){return function(t){return Bu(e,t)}}}};var rp=mu(),Hl=Xn(),o8=Cu()();var Fu=G;var xl=function(e){var t=Hl(e);return function(r){return function(n){return t(Fu(r))(n)}}},lo=function(e){var t=Hl(e);return function(r){return function(n){return function(a){return t(Fu(r))(o8(a)({className:n}))}}}},yl=function(e){return function(t){return function(r){return rp(Fu(e))(o8(r)({className:t}))}}};var Rt=function(e){return function(t){var r=Hl(t);return function(n){return function(a){return r(Fu(e))({className:n})(a)}}}};var Te=G;var Tu=function(e){return Rt("strong")(e)};var Ft=function(e){return Rt("span")(e)};var gr=function(e){return Rt("section")(e)};var _n=function(e){var t=lo(e);return function(){return function(){return t("p")}}},en=function(e){return Rt("p")(e)};var ju=function(e){return Rt("label")(e)};var $n=function(){return function(){return yl("input")}};var Ou=function(){return function(){return yl("img")}};var Mu=function(e){return Rt("i")(e)};var Nu=function(e){return Rt("h4")(e)};var tn=function(e){return Rt("h3")(e)};var rn=function(e){return Rt("h2")(e)};var Vu=function(e){return Rt("h1")(e)},qu=function(e){var t=lo(e);return function(){return function(){return t("form")}}};var Wu=function(e){return Rt("em")(e)};var Je=function(e){var t=lo(e);return function(){return function(){return t("div")}}},ye=function(e){return Rt("div")(e)};var zl=function(e){var t=lo(e);return function(){return function(){return t("button")}}};var vo="";function u8(e){var t=e.split(` `);return t.reduce(function(r,n){var a=op(n)||fp(n)||vp(n)||Ap(n)||cp(n);return a&&r.push(a),r},[])}var np=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,ap=/\((\S*)(?::(\d+))(?::(\d+))\)/;function op(e){var t=np.exec(e);if(!t)return null;var r=t[2]&&t[2].indexOf("native")===0,n=t[2]&&t[2].indexOf("eval")===0,a=ap.exec(t[2]);return n&&a!=null&&(t[2]=a[1],t[3]=a[2],t[4]=a[3]),{file:r?null:t[2],methodName:t[1]||vo,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}var up=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function fp(e){var t=up.exec(e);return t?{file:t[2],methodName:t[1]||vo,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}var ip=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,lp=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function vp(e){var t=ip.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=lp.exec(t[3]);return r&&n!=null&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||vo,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}var sp=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function cp(e){var t=sp.exec(e);return t?{file:t[3],methodName:t[1]||vo,arguments:[],lineNumber:+t[4],column:t[5]?+t[5]:null}:null}var dp=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Ap(e){var t=dp.exec(e);return t?{file:t[2],methodName:t[1]||vo,arguments:[],lineNumber:+t[3],column:t[4]?+t[4]:null}:null}function f8({skipFrames:e,prefix:t}){let r=new Error().stack,a=u8(r)[e],o=i8(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),u=i8(a.methodName);return`${t}_${o}_${u}_${a.lineNumber}_${a.column}`}var i8=e=>e.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");var gp=K(Vt),Pp=ue(fe),Eu=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),wp={map:function(e){return function(t){return new Eu(function(r){return t.value0(function(n){return r(e(n))})})}}},l8=E(wp);var Ll=function(e){return h7(f8(e))},ea=function(e){return new Eu(function(t){return t(e)})},ta=function(e){return function(t){return new Eu(function(r){return ao(e)(t)(r)})}},Bl=function(e){return function(t){return ao(e)(function(r){return{init:gp(_),update:ve(un),view:ve(ve(t.value0(Pp)))}})(_)}},v8=function(e){var t=Ll({skipFrames:3,prefix:"WithHook"});return function(r){return Bl(t)(l8(r)(e))}},s8=function(e){var t=Ll({skipFrames:3,prefix:"WithHookCurried"});return function(r){return Bl(t)(l8(ma(r))(e))}},ra=function(e){var t=Ll({skipFrames:3,prefix:"HooksComponent"});return Bl(t)(e)},so=function(){return function(e){return function(t){return new Eu(function(r){return e.value0(function(n){var a=t(n);return a.value0(r)})})}}},pp=so(),Ru=function(e){return function(){return pp}};var c8=Hi(bi);var Dp={map:function(e){return function(t){return c8(c8(e))(t)}}},hp=tt(Dp),mp=function(e){var t=ie(e.Monad0().Bind1()),r=We(e);return function(n){return ro(function(a){return t(n(a.dispatch))(function(o){return r(a.onStop(o))})})}},d8=function(e){var t=mp(e);return function(r){return function(n){return t(hp(n)(r))}}};var A8=st(rt)(kn),Xp=d8(At),bp=ue(fe),g8=K(Vt),P8=function(e){return function(t){return ta("UseSubscription")(function(r){return{init:A8(Xp(bp)(e))(function(){return g8(_)}),update:function(n){return function(a){return A8(no(t(a)))(function(){return g8(_)})}},view:function(n){return function(a){return r(_)}}}})}};function Cl(e){return function(){return function(t){return e(t)()}}}function Fl(e){return function(t){return function(r){return function(n){return function(){return n.addEventListener(e,t,r)}}}}}function Tl(e){return function(t){return function(r){return function(n){return function(){return n.removeEventListener(e,t,r)}}}}}var Pr=function(){return window};function w8(e){return e.body}var Hp=E(pe);var Yu=G;var p8=G,D8=G;var h8=function(e){return Hp(Re)(function(){return w8(e)})};var m8=G;var Gu=function(e){var t=K(e.Applicative0()),r=Wt(e.Plus1());return function(n){if(n)return t(_);if(!n)return r;throw new Error("Failed pattern match at Control.Alternative (line 48, column 1 - line 48, column 54): "+[n.constructor.name])}};function Or(e){return function(){return e.document}}var X8=G;var b8="message";var H8="hashchange";var x8="popstate";var y8="keyup",z8="keydown";var L8="mouseup";var B8="mousemove";var C8=We(At),F8=E(pe),Tp=ct(Ot),T8=function(){var e=function(n){return function(a){return function(o){return C8(function(){var f=a(),i=Cl(function(l){return o(l)})();return Fl(n)(i)(!1)(f)(),C8(Tl(n)(i)(!1)(f))})}}},t=function(n){return e(n)(F8(X8)(Pr))},r=function(n){return e(n)(F8(p8)(Tp(Or)(Pr)))};return{hashchange:t(H8),mousemove:t(B8),mouseup:t(L8),popstate:t(x8),resize:t("resize"),message:t(b8),keydown:r(z8),keyup:r(y8),selectionchange:r("selectionchange"),visibilitychange:r("visibilitychange")}}();var j8=function(e){var t=xl(e);return function(){return function(){return t("button")}}};var O8=function(e){var t=xl(e);return function(){return function(){return t("a")}}};var M8=Cu()(),j0=function(e){return e},Yt=Ht(Ka),rr=function(e){var t=j8(e)()();return function(){return function(){return function(r){return function(n){return function(a){return function(o){return t(M8(a)({className:r,"aria-label":n}))(o)}}}}}}};var Zu=function(e){return j0(Ht(e))},na=function(e){var t=O8(e)()();return function(){return function(){return function(r){return function(n){return function(a){return function(o){return t(M8(a)({className:r,"aria-label":n}))(o)}}}}}}};var lpe=typeof Array.from=="function",vpe=typeof Symbol!="undefined"&&Symbol!=null&&typeof Symbol.iterator!="undefined"&&typeof String.prototype[Symbol.iterator]=="function",spe=typeof String.prototype.fromCodePoint=="function",cpe=typeof String.prototype.codePointAt=="function";function V8(e){return function(t){return function(){return t.getElementById(e)}}}var Y0=E(pe),Ku=function(e){var t=Y0(Re),r=V8(e);return function(n){return t(r(n))}};var Su=function(e){return function(t){return function(){return t[e]}}},G0=Su("children"),Q0=Su("firstElementChild"),I0=Su("lastElementChild"),Z0=Su("childElementCount");var _0=dn(ke)(Fn),q8=E(it);var W8=ie(Ot),$0=tt(pe);var Ao=Se("\xA0"),E8=Ee(lt),Mr=$e(qe(lt)),em=function(e){var t=_0([e]),r=q8(wi);return function(n){return Xt(t(r(n)))}},ku=function(){var e=em(Ao),t=q8(Se),r=io(" ");return function(n){return e(t(r(n)))}}();var R8=function(e){return W8($0(W8(Pr)(Or))(Yu))(Ku(e))};var Y8=function(){return G};var aa=ye(Be),Ol=Ar(),tm=_7(Be)()(),rm=Je(Be)()(),nm=Je(xe)()(),am=ye(xe),om=rr(he)()(),um=tr(Hn),fm=on(Kr),im=We(At),G8=Y8(),Ml=function(){return function(e){var t=aa("modal-backdrop fade show")(lt),r=Ol(e),n=jr(r.footer),a=jr(r.header),o=Fe(r.size)(gl.value),u=$r(" ")([function(){var i=Fe(r.scrollable)(!0);return i?"modal-dialog-scrollable":""}(),function(){var i=Fe(r.centered)(!0);return i?"modal-dialog-centered":""}(),x7(o),Fe(r.dialogClass)("")]),f=tm({focusTrapOptions:{escapeDeactivates:!1,fallbackFocus:".modal-content",allowOutsideClick:!0}})(aa("modal fade show d-block")(rm("modal-dialog "+u)({style:Fe(r.dialogStyle)(Te({}))})(nm("modal-content "+Fe(r.contentClass)(""))({style:Fe(r.contentStyle)(Te({}))})([Mr(a)(aa("modal-header "+Fe(r.headerClass)(""))),aa("modal-body "+Fe(r.bodyClass)(""))(r.body),Mr(n)(aa("modal-footer "+Fe(r.footerClass)("")))]))));return Xt([f,t])}},Q8=Ml(),I8=function(){return function(e){var t=Ol(e),r=am("d-flex w-100 justify-content-between align-items-center")([aa("mr-4")(Fe(t.title)(lt)),om("btn btn-link large mr-n3 py-0 fe fe-x t--close "+Fe(t.dismissButtonClass)("text-body"))(Zu("Close"))({type:"button",onClick:um(t.onDismiss)})("")]),n=function(a){return fm(a.key==="Escape")(im(t.onDismiss))};return v8(P8(T8.keyup)(n))(function(a){var o=Fe(t.bodyScrollable)(!1);return Q8(o?function(){var u=Ol(G8(t));return{body:u.body,bodyClass:u.bodyClass,centered:u.centered,contentClass:u.contentClass,contentStyle:u.contentStyle,dialogClass:u.dialogClass,dialogStyle:u.dialogStyle,footer:u.footer,footerClass:u.footerClass,headerClass:u.headerClass,scrollable:u.scrollable,size:u.size,header:r}}():G8({bodyClass:t.bodyClass,bodyScrollable:t.bodyScrollable,centered:t.centered,contentClass:t.contentClass,contentStyle:t.contentStyle,dialogClass:t.dialogClass,dialogStyle:t.dialogStyle,dismissButtonClass:t.dismissButtonClass,footer:t.footer,footerClass:t.footerClass,headerClass:t.headerClass,onDismiss:t.onDismiss,scrollable:t.scrollable,size:t.size,title:t.title,body:Xt([r,t.body])}))})}};Cn();var Z8=class extends mr.Component{componentDidUpdate(t){this.props.componentDidUpdate(t.deps)}render(){return this.props.children}},U8=Z8;var lm=fr();var K8=function(e){return"ref:"+gt(e)(et.value)},S8=function(e){var t=K8(e);return function(r){return lm(fu(t)(r))}},k8=function(e){var t=K8(e);return function(r){return Wi(t)(r)}};var sm=Xn(),J8=st(rt)(kn),_8=K(Vt),cm=n8(t8(Pc)),$8={reflectSymbol:function(){return"deps"}},dm=S8($8),Am=k8($8),e3=ue(fe);var gm=function(e){var t=sm(e);return function(){return function(){return t(U8)}}},Pm=gm(Be)()(),t3=function(e){var t=ga(e);return function(r){return function(n){return function(a){return function(o){return ta(r)(function(u){return n({init:J8(no(o(a)))(function(){return _8(a)}),update:function(f){return function(i){return J8(no(o(i)))(function(){return _8(i)})}},view:function(f){return function(i){return Pm({componentDidUpdate:cm(i)(function(l){var v=t(dm(l))(a);return v?new V(a):W.value}),deps:Am(a)})(u(_))}}})})}}}}},wm=t3(Ef),r3=function(e){var t=t3(e);return function(r){return function(n){return t("UseEffectPrime")(e3)(r)(n)}}},n3=function(e){return wm("UseEffect")(e3)(_)(ve(e))};var pm=Ru(rt)(),Dm=We(At),hm=ye(Be),mm=I8(),Xm=Je(Be)()(),bm=Sr(H7),a3=function(e){return ra(pm(n3(Dm(bm(e))))(function(){return ea(hm(function(){return e.visible?"":"d-none"}())(mm({body:Xm("")({id:e.targetId})(lt),onDismiss:e.onDismiss,size:Pl.value})))}))};var o3=e=>()=>e.preventDefault&&e.preventDefault();var go=function(){return o3};var u3=K(Vt),Hm=ue(fe);var xm=function(e){return function(t){return function(r){return ta(e)(function(n){return t({init:u3(r),update:function(a){return function(o){return u3(o)}},view:Xa(n)})})}}},wr=function(e){return xm("UseState")(Hm)(e)};var Nl=typeof CV!="undefined"&&CV.assetsRoot||typeof global!="undefined"&&global.CV&&global.CV.assetsRoot||"/";var Vl=xr(Mn(bt)),ym=ue(fe),zm=Ou()(),Ju=function(e){var t=Ra(e);return function(r){return ln(t(r))}},Po=function(e){if(Vl(Ju("http://"))(Vl(Ju("https://"))(Vl(Ju("//"))(Ju("blob:"))))(e))return e;if(Ye)return Nl+Ee(e)(Ra("/")(e));throw new Error("Failed pattern match at Utils.AppAssets (line 47, column 1 - line 47, column 30): "+[e.constructor.name])},wo=function(){return function(){return function(e){return function(t){var r=function(a){return ym},n=r(t)(Jc("src")(Po(t.src))(t));return zm(e)(n)}}}},Lm=wo()(),xt=function(e){return function(t){return Lm(e)({src:t})}};var Bm=Je(Be)()(),Cm=gr(xe),Fm=ye(xe),Tm=rn(he),f3=function(e){var t=function(r){return Bm("w-100 "+function(){return r.mobile?"d-md-none":"d-none d-md-block"}())({style:Te({backgroundImage:"url("+(Po("/img/landing/agents/footer-gradient.svg")+")"),backgroundSize:"cover",backgroundPosition:"top center",height:function(){return r.mobile?"100px":"200px"}()})})(lt)};return Cm("")([Fm("container pt-8 pt-md-10 text-center")([Tm("h1 font-serif mb-4")("Build a more cohesive institution with AI"),e.demoRequestButton]),t({mobile:!0}),t({mobile:!1})])};var i3="/agents/recruiter",l3="/agents/one-stop";var Om=function(){function e(u){this.fn=u}var t={},r=function(u,f){this.head=u,this.tail=f};function n(u){return new r(u,t)}function a(u){return function(f){return new r(u,f)}}function o(u){for(var f=[],i=u;i!==t;)f.push(i.head),i=i.tail;return f}return function(u,f,i){var l=function(D,s){return u(f(a)(i(D)))(s)},v=function(D,s,c){if(s===0)return D;var w=c[s-1];return new e(function(){var P=v(l(w,D),s-1,c);return P})};return function(D){for(var s=f(n)(i(D[D.length-1])),c=v(s,D.length-1,D);c instanceof e;)c=c.fn();return f(o)(c)}}}();var Wm={info:"info",warning:"warn",error:"error"},ql=e=>t=>r=>n=>{let a=Wm[e];if(typeof console!="undefined"&&console[a]&&console[a](t,r),typeof window!="undefined"){let o=new Error(t);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:r})}return n()},v3=(e,t)=>(t.__sentryFingerprint=e,t);var s3=function(e){return Lr(v3)(e)};var c3="error";var d3={parseOrPanic:function(e){return function(t){var r=e.parse(t);if(r instanceof te)return r.value0;if(r instanceof ee)return ql(c3)("Failed to parse "+e.diagnosticName)({error:r.value0,value:t})(function(n){return e.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[r.constructor.name])}}},Wl=function(e){return e.parseOrPanic};var nr=function(){function e(){}return e.value=new e,e}(),Gt=function(){function e(){}return e.value=new e,e}();var A3=function(e){if(e instanceof nr)return"advisor-demo";if(e instanceof Gt)return"landing-page-demo";throw new Error("Failed pattern match at Trellis.Types.Agent (line 31, column 12 - line 33, column 35): "+[e.constructor.name])};var _u=function(e){if(e instanceof nr)return"Maple";if(e instanceof Gt)return"Sarah";throw new Error("Failed pattern match at Trellis.Types.Agent (line 21, column 8 - line 23, column 23): "+[e.constructor.name])},po=function(e){if(e instanceof nr)return"AI One Stop";if(e instanceof Gt)return"AI Recruiter";throw new Error("Failed pattern match at Trellis.Types.Agent (line 26, column 8 - line 28, column 30): "+[e.constructor.name])};var El=ye(xe),g3=ye(Be),Em=ye(he),Rm=tn(he),Ym=en(he),Gm=na(xe)()(),P3=Ft(he),w3=function(){var e=function(f){if(f instanceof nr)return l3;if(f instanceof Gt)return i3;throw new Error("Failed pattern match at Landing.Main.Features (line 74, column 16 - line 76, column 53): "+[f.constructor.name])},t=function(f){if(f instanceof nr)return"Give every student and alumni 24/7 access to your front desk";if(f instanceof Gt)return"Increase enrollment by connecting students with your unique brand";throw new Error("Failed pattern match at Landing.Main.Features (line 56, column 18 - line 58, column 93): "+[f.constructor.name])},r=function(f){if(f instanceof nr)return` Your AI One Stop can respond to inbound questions and make formal requests on behalf of your students across email, text, web chat, and even phone call, 24/7 and in over 50 languages. `;if(f instanceof Gt)return` Your AI Recruiter manages your entire funnel, hyper-personalizing marketing, recruiting prospective students, and collaborating with your admissions team to process applications. `;throw new Error("Failed pattern match at Landing.Main.Features (line 60, column 21 - line 72, column 12): "+[f.constructor.name])},n=function(f){if(f instanceof nr)return"For current students and alumni";if(f instanceof Gt)return"For prospective students";throw new Error("Failed pattern match at Landing.Main.Features (line 52, column 21 - line 54, column 52): "+[f.constructor.name])},a=function(f){if(f instanceof nr)return"Explore AI one stop";if(f instanceof Gt)return"Explore AI recruiting";throw new Error("Failed pattern match at Landing.Main.Features (line 78, column 21 - line 80, column 49): "+[f.constructor.name])},o=function(f){if(f instanceof nr)return"/img/landing/agents/one-stop/hero.png";if(f instanceof Gt)return"/img/landing/main/prospects.png";throw new Error("Failed pattern match at Landing.Main.Features (line 48, column 18 - line 50, column 59): "+[f.constructor.name])},u=function(f){return El("row mt-8 mt-md-12 align-items-center")([g3("col-12 col-md-6 py-3 "+function(){return f.reversed?"order-md-2 pl-md-6":"pr-md-6"}())(xt("img-fluid")(o(f.agent))),El("col-12 col-md-6 py-3 "+function(){return f.reversed?"order-md-1 pr-md-6":"pl-md-6"}())([Em("small font-weight-bold fw-bold text-lilac")(n(f.agent)),Rm("h1 mt-3 font-serif")(t(f.agent)),Ym("mt-3")(r(f.agent)),g3("mt-7")(Gm("text-body text-decoration-none d-inline-flex align-items-center")(Yt)({href:e(f.agent)})([P3("hover-underline")(a(f.agent)),P3("material-symbol ml-2")("arrow_right_alt")]))])])};return El("container py-8 py-md-10")([u({agent:Gt.value,reversed:!0}),u({agent:nr.value,reversed:!1})])}();var p3=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(e=>null);function D3(e,t){let r=typeof CV!="undefined"&&CV.apiEndpoint||typeof global!="undefined"&&global.CV&&global.CV.apiEndpoint;return r||console.error("Missing `CV.apiEndpoint` function"),r&&r(e,t)}function h3(e,t,r,n,a){return function(o,u){var f=e.newXHR(),i=e.fixupUrl(a.url,f);if(f.open(a.method||"GET",i,!0,a.username,a.password),a.headers)try{for(var l=0,v;(v=a.headers[l])!=null;l++)f.setRequestHeader(v.field,v.value)}catch(s){o(s)}var D=function(s){return function(){o(new Error(s))}};return f.onerror=D(r),f.ontimeout=D(t),f.onload=function(){u({status:f.status,statusText:f.statusText,headers:f.getAllResponseHeaders().split(`\r `).filter(function(s){return s.length>0}).map(function(s){var c=s.indexOf(":");return n(s.substring(0,c))(s.substring(c+2))}),body:f.response})},f.responseType=a.responseType,f.withCredentials=a.withCredentials,f.timeout=a.timeout,f.send(a.content),function(s,c,w){try{f.abort()}catch(P){return c(P)}return w()}}}var $u="application/json",m3="application/x-www-form-urlencoded";var X3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),b3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),H3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),x3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),y3=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Rl=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),ef=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),z3=function(e){return e instanceof Rl?new V(m3):e instanceof ef?new V($u):W.value};var L3=function(){return ef.create}();var B3=Et();var tf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),rf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),oa=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),C3=function(e){if(e instanceof tf||e instanceof rf)return B3(e.value0);if(e instanceof oa)return e.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[e.constructor.name])};var Yl=function(e){if(e instanceof tf)return"Accept";if(e instanceof rf)return"Content-Type";if(e instanceof oa)return e.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[e.constructor.name])};var F3=ue(fe),Gl=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Ql=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),Il=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),nf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),af=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),of=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),T3=function(e){if(e instanceof Gl)return"arraybuffer";if(e instanceof Ql)return"blob";if(e instanceof Il)return"document";if(e instanceof nf||e instanceof af)return"text";if(e instanceof of)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[e.constructor.name])},j3=function(e){return e instanceof nf?new V($u):W.value},O3=function(){return new af(F3)}();var M3=function(){return new of(F3)}();var N3=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}();var Im=Et();var V3=function(e){return Im(hi(e))};function ar(e){return e}function Zl(e){return JSON.stringify(e)}var q3=ar(au);function W3(e,t,r){try{return t(JSON.parse(r))}catch(n){return e(n.message)}}var uf=function(e){return W3(ee.create,te.create,e)};function E3(e){return e.replace(/[!'()*]/g,function(t){return"%"+t.charCodeAt(0).toString(16)})}function R3(e,t,r){try{return t(E3(encodeURIComponent(r)))}catch(n){return e(n)}}function Y3(e,t,r){try{return t(E3(encodeURIComponent(r)).replace(/%20/g,"+"))}catch(n){return e(n)}}var Ul=function(){return Ba(R3)(ve(W.value))(V.create)}();var ff=function(){return Ba(Y3)(ve(W.value))(V.create)}();var Zm=Ve(hr),G3=E(Le),Um=vr(An)(ir);var Km=function(e){return e};var Q3=function(){var e=function(n){if(n.value1 instanceof W)return ff(n.value0);if(n.value1 instanceof V)return Zm(G3(function(a){return function(o){return a+("="+o)}})(ff(n.value0)))(ff(n.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[n.constructor.name])},t=G3($r("&")),r=Um(e);return function(n){return t(r(Km(n)))}}();var Kl=function(){function e(){}return e.value=new e,e}(),xn=function(){function e(){}return e.value=new e,e}(),Sl=function(){function e(){}return e.value=new e,e}(),ua=function(){function e(){}return e.value=new e,e}(),lf=function(){function e(){}return e.value=new e,e}(),Do=function(){function e(){}return e.value=new e,e}(),kl=function(){function e(){}return e.value=new e,e}(),Jl=function(){function e(){}return e.value=new e,e}(),_l=function(){function e(){}return e.value=new e,e}(),$l=function(){function e(){}return e.value=new e,e}(),ev=function(){function e(){}return e.value=new e,e}(),tv=function(){function e(){}return e.value=new e,e}(),rv=function(){function e(){}return e.value=new e,e}(),nv=function(){function e(){}return e.value=new e,e}(),av=function(){function e(){}return e.value=new e,e}(),vf=function(){function e(){}return e.value=new e,e}();var Sm=function(e){return e},km={show:function(e){if(e instanceof Kl)return"OPTIONS";if(e instanceof xn)return"GET";if(e instanceof Sl)return"HEAD";if(e instanceof ua)return"POST";if(e instanceof lf)return"PUT";if(e instanceof Do)return"DELETE";if(e instanceof kl)return"TRACE";if(e instanceof Jl)return"CONNECT";if(e instanceof _l)return"PROPFIND";if(e instanceof $l)return"PROPPATCH";if(e instanceof ev)return"MKCOL";if(e instanceof tv)return"COPY";if(e instanceof rv)return"MOVE";if(e instanceof nv)return"LOCK";if(e instanceof av)return"UNLOCK";if(e instanceof vf)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[e.constructor.name])}};var I3=ut(se(km))(Sm);var Z3={eq:function(e){return function(t){return e instanceof Kl&&t instanceof Kl||e instanceof xn&&t instanceof xn||e instanceof Sl&&t instanceof Sl||e instanceof ua&&t instanceof ua||e instanceof lf&&t instanceof lf||e instanceof Do&&t instanceof Do||e instanceof kl&&t instanceof kl||e instanceof Jl&&t instanceof Jl||e instanceof _l&&t instanceof _l||e instanceof $l&&t instanceof $l||e instanceof ev&&t instanceof ev||e instanceof tv&&t instanceof tv||e instanceof rv&&t instanceof rv||e instanceof nv&&t instanceof nv||e instanceof av&&t instanceof av||e instanceof vf&&t instanceof vf}}};var U3=function(e){return En(function(t){return function(){var n=e(function(a){return t(ee.create(a))()},function(a){return t(te.create(a))()});return function(a){return En(function(o){return function(){return n(a,function(f){return o(ee.create(f))()},function(f){return o(te.create(f))()}),Hc}})}}})};var ov=K(Va(Rr)),Jm=Mi(Rr),yn=Zc(Rr),K3=pt(gc(Mc)(Rr)),_m=Zf(mi(Rr)),sf=E(Le),$m=Gr(ke)(bt),eX=De(kt),tX=ct(Zt),rX=E(it),nX=tt(yi),aX=ja(zi),oX=K(Kr);var cf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),df=function(){function e(t,r){this.value0=t,this.value1=r}return e.create=function(t){return function(r){return new e(t,r)}},e}(),Af=function(){function e(){}return e.value=new e,e}(),gf=function(){function e(){}return e.value=new e,e}(),Pf=function(){function e(t){this.value0=t}return e.create=function(t){return new e(t)},e}(),S3=function(e){return function(t){var r=function(v){return v===""?ov(q3):ut(function(D){return Jm(Oi.create(D))})(ov)(uf(v))},n=function(){if(t.responseFormat instanceof Gl)return yn("ArrayBuffer");if(t.responseFormat instanceof Ql)return yn("Blob");if(t.responseFormat instanceof Il)return function(v){return K3(yn("Document")(v))(K3(yn("XMLDocument")(v))(yn("HTMLDocument")(v)))};if(t.responseFormat instanceof nf)return _m(function(v){return t.responseFormat.value0(r(v))})(yn("String"));if(t.responseFormat instanceof af)return yn("String");if(t.responseFormat instanceof of)return ve(t.responseFormat.value0(ov(_)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[t.responseFormat.constructor.name])}(),a=function(v){if(v instanceof X3)return new te(v.value0(Ht));if(v instanceof b3)return new te(Ht(v.value0));if(v instanceof H3)return new te(Ht(v.value0));if(v instanceof x3)return new te(Ht(v.value0));if(v instanceof y3)return new te(Ht(v.value0));if(v instanceof Rl)return Sf("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(sf(Ht)(Q3(v.value0)));if(v instanceof ef)return new te(Ht(Zl(v.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[v.constructor.name])},o=function(v){return function(D){return v instanceof V&&!$m(Vf(eX)(Yl)(v.value0))(D)?Qo(D)(v.value0):D}},u=function(v){return o(sf(rf.create)(tX(z3)(v)))(o(sf(tf.create)(j3(t.responseFormat)))(t.headers))},f=function(v){return{method:I3(t.method),url:t.url,headers:rX(function(D){return{field:Yl(D),value:C3(D)}})(u(t.content)),content:v,responseType:T3(t.responseFormat),username:cr(t.username),password:cr(t.password),withCredentials:t.withCredentials,timeout:Ee(0)(sf(function(D){return D})(t.timeout))}},i=function(v){return nX(aX(U3(h3(e,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",N3.create,f(v)))))(function(D){if(D instanceof te){var s=V3(n(D.value0.body));if(s instanceof ee)return new ee(new df(qc(s.value0),D.value0));if(s instanceof te)return new te({headers:D.value0.headers,status:D.value0.status,statusText:D.value0.statusText,body:s.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[s.constructor.name])}if(D instanceof ee)return new ee(function(){var c=Rn(D.value0),w=c==="AffjaxTimeoutErrorMessageIdent";if(w)return Af.value;var P=c==="AffjaxRequestFailedMessageIdent";return P?gf.value:new Pf(D.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[D.constructor.name])})};if(t.content instanceof W)return i(cr(W.value));if(t.content instanceof V){var l=a(t.content.value0);if(l instanceof te)return i(cr(new V(l.value0)));if(l instanceof ee)return oX(new ee(new cf(l.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[l.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[t.content.constructor.name])}};var fa=function(){return{method:new ee(xn.value),url:"/",headers:[],content:W.value,username:W.value,password:W.value,withCredentials:!1,responseFormat:M3,timeout:W.value}}();var k3={eq:function(e){return function(t){return e===t}}};var uv={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(e){return e||"/"}};var J3=S3(uv);function _3(e){return Buffer.from(e).toString("base64")}function $3(e,t,r){let n;try{n=t(btoa(r))}catch(a){n=e(a)}return n}var fv=typeof btoa=="function";function e1(e){let t=32768,r=[];for(let n=0;n