var Purs_EntryPoints_Trellis_Landing_DemoV2=(()=>{var Id=Object.create;var ta=Object.defineProperty;var wd=Object.getOwnPropertyDescriptor;var Sd=Object.getOwnPropertyNames;var Ld=Object.getPrototypeOf,Pd=Object.prototype.hasOwnProperty;var Ju=t=>ta(t,"__esModule",{value:!0});var Ad=(t,e)=>()=>(t&&(e=t(t=0)),e);var vr=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Qu=(t,e)=>{Ju(t);for(var r in e)ta(t,r,{get:e[r],enumerable:!0})},jd=(t,e,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Sd(e))!Pd.call(t,n)&&n!=="default"&&ta(t,n,{get:()=>e[n],enumerable:!(r=wd(e,n))||r.enumerable});return t},So=t=>jd(Ju(ta(t!=null?Id(Ld(t)):{},"default",t&&t.__esModule&&"default"in t?{get:()=>t.default,enumerable:!0}:{value:t,enumerable:!0})),t);var Uf={};Qu(Uf,{Children:()=>Oh,Component:()=>$h,Fragment:()=>Gh,Suspense:()=>Kh,cloneElement:()=>Uh,createContext:()=>qh,createElement:()=>Bh,createRef:()=>Vh,default:()=>Jr,forwardRef:()=>zh,isValidElement:()=>Jh,lazy:()=>Qh,useCallback:()=>Yh,useContext:()=>Xh,useEffect:()=>Zh,useImperativeHandle:()=>t_,useLayoutEffect:()=>e_,useMemo:()=>r_,useReducer:()=>n_,useRef:()=>a_,useState:()=>o_});var Jr,Oh,Uh,$h,qh,Bh,Vh,zh,Gh,Jh,Qh,Kh,Yh,Xh,Zh,t_,e_,r_,n_,a_,o_,wa=Ad(()=>{Jr=window.React,{Children:Oh,cloneElement:Uh,Component:$h,createContext:qh,createElement:Bh,createRef:Vh,forwardRef:zh,Fragment:Gh,isValidElement:Jh,lazy:Qh,Suspense:Kh,useCallback:Yh,useContext:Xh,useEffect:Zh,useImperativeHandle:t_,useLayoutEffect:e_,useMemo:r_,useReducer:n_,useRef:a_,useState:o_}=window.React});var Ei=vr((qU,qf)=>{"use strict";var $f=Object.getOwnPropertySymbols,i_=Object.prototype.hasOwnProperty,u_=Object.prototype.propertyIsEnumerable;function s_(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function f_(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var e={},r=0;r<10;r++)e["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(e).map(function(o){return e[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}}qf.exports=f_()?Object.assign:function(t,e){for(var r,n=s_(t),a,o=1;o{"use strict";var xi=Ei(),Qr=60103,Bf=60106;Ct.Fragment=60107;Ct.StrictMode=60108;Ct.Profiler=60114;var Vf=60109,zf=60110,Gf=60112;Ct.Suspense=60113;var Jf=60115,Qf=60116;typeof Symbol=="function"&&Symbol.for&&(be=Symbol.for,Qr=be("react.element"),Bf=be("react.portal"),Ct.Fragment=be("react.fragment"),Ct.StrictMode=be("react.strict_mode"),Ct.Profiler=be("react.profiler"),Vf=be("react.provider"),zf=be("react.context"),Gf=be("react.forward_ref"),Ct.Suspense=be("react.suspense"),Jf=be("react.memo"),Qf=be("react.lazy"));var be,Kf=typeof Symbol=="function"&&Symbol.iterator;function c_(t){return t===null||typeof t!="object"?null:(t=Kf&&t[Kf]||t["@@iterator"],typeof t=="function"?t:null)}function Pn(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;r{"use strict";ic.exports=oc()});var wc=vr(Yr=>{"use strict";var we=Ei(),qe=Si();function Ot(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,r=1;rRn;Rn++)te[Rn]=Rn+1;var te,Rn;te[15]=0;var __=/^[: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]*$/,dc=Object.prototype.hasOwnProperty,mc={},vc={};function hc(t){return dc.call(vc,t)?!0:dc.call(mc,t)?!1:__.test(t)?vc[t]=!0:(mc[t]=!0,!1)}function g_(t,e,r,n){if(r!==null&&r.type===0)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function y_(t,e,r,n){if(e===null||typeof e=="undefined"||g_(t,e,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!e;case 4:return e===!1;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}function oe(t,e,r,n,a,o,i){this.acceptsBooleans=e===2||e===3||e===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=t,this.type=e,this.sanitizeURL=o,this.removeEmptyString=i}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){ee[t]=new oe(t,0,!1,t,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];ee[e]=new oe(e,1,!1,t[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(t){ee[t]=new oe(t,2,!1,t.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){ee[t]=new oe(t,2,!1,t,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(t){ee[t]=new oe(t,3,!1,t.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(t){ee[t]=new oe(t,3,!0,t,null,!1,!1)});["capture","download"].forEach(function(t){ee[t]=new oe(t,4,!1,t,null,!1,!1)});["cols","rows","size","span"].forEach(function(t){ee[t]=new oe(t,6,!1,t,null,!1,!1)});["rowSpan","start"].forEach(function(t){ee[t]=new oe(t,5,!1,t.toLowerCase(),null,!1,!1)});var Wi=/[\-:]([a-z])/g;function Oi(t){return t[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(t){var e=t.replace(Wi,Oi);ee[e]=new oe(e,1,!1,t,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(Wi,Oi);ee[e]=new oe(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(Wi,Oi);ee[e]=new oe(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(t){ee[t]=new oe(t,1,!1,t.toLowerCase(),null,!1,!1)});ee.xlinkHref=new oe("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(t){ee[t]=new oe(t,1,!1,t.toLowerCase(),null,!0,!0)});var D_=/["'&<>]/;function Cr(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var e=D_.exec(t);if(e){var r="",n,a=0;for(n=e.index;nka))throw Error(Ot(301));if(t===je)if(Na=!0,t={action:r,next:null},fr===null&&(fr=new Map),r=fr.get(e),r===void 0)fr.set(e,t);else{for(e=r;e.next!==null;)e=e.next;e.next=t}}function $i(){}var Mr=null,C_={readContext:function(t){var e=Mr.threadID;return jn(t,e),t[e]},useContext:function(t){Fr();var e=Mr.threadID;return jn(t,e),t[e]},useMemo:Tc,useReducer:bc,useRef:function(t){je=Fr(),jt=Ui();var e=jt.memoizedState;return e===null?(t={current:t},jt.memoizedState=t):e},useState:function(t){return bc(Dc,t)},useLayoutEffect:function(){},useCallback:function(t,e){return Tc(function(){return t},e)},useImperativeHandle:$i,useEffect:$i,useDebugValue:$i,useDeferredValue:function(t){return Fr(),t},useTransition:function(){return Fr(),[function(t){t()},!1]},useOpaqueIdentifier:function(){return(Mr.identifierPrefix||"")+"R:"+(Mr.uniqueID++).toString(36)},useMutableSource:function(t,e){return Fr(),e(t._source)}},Ec={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function xc(t){switch(t){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 Cc={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},F_=we({menuitem:!0},Cc),Nn={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},M_=["Webkit","ms","Moz","O"];Object.keys(Nn).forEach(function(t){M_.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),Nn[e]=Nn[t]})});var I_=/([A-Z])/g,w_=/^ms-/,cr=qe.Children.toArray,qi=v_.ReactCurrentDispatcher,S_={listing:!0,pre:!0,textarea:!0},L_=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Fc={},Bi={};function P_(t){if(t==null)return t;var e="";return qe.Children.forEach(t,function(r){r!=null&&(e+=r)}),e}var A_=Object.prototype.hasOwnProperty,j_={children:null,dangerouslySetInnerHTML:null,suppressContentEditableWarning:null,suppressHydrationWarning:null};function Mc(t,e){if(t===void 0)throw Error(Ot(152,An(e)||"Component"))}function R_(t,e,r){function n(i,s){var u=s.prototype&&s.prototype.isReactComponent,f=h_(s,e,r,u),l=[],D=!1,c={isMounted:function(){return!1},enqueueForceUpdate:function(){if(l===null)return null},enqueueReplaceState:function(d,g){D=!0,l=[g]},enqueueSetState:function(d,g){if(l===null)return null;l.push(g)}};if(u){if(u=new s(i.props,f,c),typeof s.getDerivedStateFromProps=="function"){var h=s.getDerivedStateFromProps.call(null,i.props,u.state);h!=null&&(u.state=we({},u.state,h))}}else if(je={},u=s(i.props,f,c),u=gc(s,i.props,u,f),u==null||u.render==null){t=u,Mc(t,s);return}if(u.props=i.props,u.context=f,u.updater=c,c=u.state,c===void 0&&(u.state=c=null),typeof u.UNSAFE_componentWillMount=="function"||typeof u.componentWillMount=="function")if(typeof u.componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&typeof s.getDerivedStateFromProps!="function"&&u.UNSAFE_componentWillMount(),l.length){c=l;var _=D;if(l=null,D=!1,_&&c.length===1)u.state=c[0];else{h=_?c[0]:u.state;var v=!0;for(_=_?1:0;_=s))throw Error(Ot(304));var u=new Uint16Array(s);for(u.set(i),te=u,te[0]=o+1,i=o;i=u.children.length){var f=u.footer;if(f!==""&&(this.previousWasTextNode=!1),this.stack.pop(),u.type==="select")this.currentSelectValue=null;else if(u.type!=null&&u.type.type!=null&&u.type.type.$$typeof===ja)this.popProvider(u.type);else if(u.type===Ra){this.suspenseDepth--;var l=o.pop();if(i){i=!1;var D=u.fallbackFrame;if(!D)throw Error(Ot(303));this.stack.push(D),o[this.suspenseDepth]+="";continue}else o[this.suspenseDepth]+=l}o[this.suspenseDepth]+=f}else{var c=u.children[u.childIndex++],h="";try{h+=this.render(c,u.context,u.domNamespace)}catch(_){throw _!=null&&typeof _.then=="function"?Error(Ot(294)):_}finally{}o.length<=this.suspenseDepth&&o.push(""),o[this.suspenseDepth]+=h}}return o[0]}finally{qi.current=a,Mr=n,yc()}},e.render=function(r,n,a){if(typeof r=="string"||typeof r=="number")return a=""+r,a===""?"":this.makeStaticMarkup?Cr(a):this.previousWasTextNode?""+Cr(a):(this.previousWasTextNode=!0,Cr(a));if(n=R_(r,n,this.threadID),r=n.child,n=n.context,r===null||r===!1)return"";if(!qe.isValidElement(r)){if(r!=null&&r.$$typeof!=null)throw a=r.$$typeof,Error(a===Li?Ot(257):Ot(258,a.toString()));return r=cr(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 lc:case cc:case Pi:case Ai:case Hi:case Aa:return r=cr(r.props.children),this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case Ra:throw Error(Ot(294));case fc:throw Error(Ot(343))}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Ri:je={};var i=o.render(r.props,r.ref);return i=gc(o.render,r.props,i,r.ref),i=cr(i),this.stack.push({type:null,domNamespace:a,children:i,childIndex:0,context:n,footer:""}),"";case Ni:return r=[qe.createElement(o.type,we({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),"";case ja:return o=cr(r.props.children),a={type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""},this.pushProvider(r),this.stack.push(a),"";case ji:o=r.type,i=r.props;var s=this.threadID;return jn(o,s),o=cr(i.children(o[s])),this.stack.push({type:r,domNamespace:a,children:o,childIndex:0,context:n,footer:""}),"";case sc:throw Error(Ot(338));case ki:return o=r.type,i=o._init,o=i(o._payload),r=[qe.createElement(o,we({ref:r.ref},r.props))],this.stack.push({type:null,domNamespace:a,children:r,childIndex:0,context:n,footer:""}),""}throw Error(Ot(130,o==null?o:typeof o,""))},e.renderDOM=function(r,n,a){var o=r.type.toLowerCase();if(a===Ec.html&&xc(o),!Fc.hasOwnProperty(o)){if(!L_.test(o))throw Error(Ot(65,o));Fc[o]=!0}var i=r.props;if(o==="input")i=we({type:void 0},i,{defaultChecked:void 0,defaultValue:void 0,value:i.value!=null?i.value:i.defaultValue,checked:i.checked!=null?i.checked:i.defaultChecked});else if(o==="textarea"){var s=i.value;if(s==null){s=i.defaultValue;var u=i.children;if(u!=null){if(s!=null)throw Error(Ot(92));if(Array.isArray(u)){if(!(1>=u.length))throw Error(Ot(93));u=u[0]}s=""+u}s==null&&(s="")}i=we({},i,{value:void 0,children:""+s})}else if(o==="select")this.currentSelectValue=i.value!=null?i.value:i.defaultValue,i=we({},i,{value:void 0});else if(o==="option"){u=this.currentSelectValue;var f=P_(i.children);if(u!=null){var l=i.value!=null?i.value+"":f;if(s=!1,Array.isArray(u)){for(var D=0;D":(g+=">",s="");t:{if(u=i.dangerouslySetInnerHTML,u!=null){if(u.__html!=null){u=u.__html;break t}}else if(u=i.children,typeof u=="string"||typeof u=="number"){u=Cr(u);break t}u=null}return u!=null?(i=[],S_.hasOwnProperty(o)&&u.charAt(0)===` `&&(g+=` `),g+=u):i=cr(i.children),r=r.type,a=a==null||a==="http://www.w3.org/1999/xhtml"?xc(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:i,childIndex:0,context:n,footer:s}),this.previousWasTextNode=!1,g},t}();Yr.renderToNodeStream=function(){throw Error(Ot(207))};Yr.renderToStaticMarkup=function(t,e){t=new Ic(t,!0,e);try{return t.read(1/0)}finally{t.destroy()}};Yr.renderToStaticNodeStream=function(){throw Error(Ot(208))};Yr.renderToString=function(t,e){t=new Ic(t,!1,e);try{return t.read(1/0)}finally{t.destroy()}};Yr.version="17.0.2"});var Lc=vr((GU,Sc)=>{"use strict";Sc.exports=wc()});var Ql=vr((exports,module)=>{typeof navigator!="undefined"&&function(t,e){typeof exports=="object"&&typeof module!="undefined"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis!="undefined"?globalThis:t||self,t.lottie=e())}(exports,function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,n=t.length,a;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t=[],e,r;for(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(n,a,o){return n<0&&(n=0),a<0&&(a=0),o<0&&(o=0),"#"+t[n]+t[a]+t[o]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){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(t)}var dataManager=function(){var t=1,e=[],r,n,a={onmessage:function(){},postMessage:function(h){r({data:h})}},o={postMessage:function(h){a.onmessage({data:h})}};function i(c){if(window.Worker&&window.Blob&&getWebWorker()){var h=new Blob(["var _workerSelf = self; self.onmessage = ",c.toString()],{type:"text/javascript"}),_=URL.createObjectURL(h);return new Worker(_)}return r=c,a}function s(){n||(n=i(function(h){function _(){function x(j,E){var F,y,b=j.length,L,I,J,N;for(y=0;y=0;E-=1)if(j[E].ty==="sh")if(j[E].ks.k.i)T(j[E].ks.k);else for(b=j[E].ks.k.length,y=0;yF[0]?!0:F[0]>j[0]?!1:j[1]>F[1]?!0:F[1]>j[1]?!1:j[2]>F[2]?!0:F[2]>j[2]?!1:null}var M=function(){var j=[4,4,14];function E(y){var b=y.t.d;y.t.d={k:[{s:b,t:0}]}}function F(y){var b,L=y.length;for(b=0;b=0;b-=1)if(y[b].ty==="sh")if(y[b].ks.k.i)y[b].ks.k.c=y[b].closed;else for(J=y[b].ks.k.length,I=0;I500)&&(this._imageLoaded(),clearInterval(d)),m+=1}.bind(this),50)}function o(p){var m=n(p,this.assetsPath,this.path),d=createNS("image");isSafari?this.testImageLoaded(d):d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){g.img=t,this._imageLoaded()}.bind(this),!1),d.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(d):this._elementHelper.appendChild(d);var g={img:d,assetData:p};return g}function i(p){var m=n(p,this.assetsPath,this.path),d=createTag("img");d.crossOrigin="anonymous",d.addEventListener("load",this._imageLoaded,!1),d.addEventListener("error",function(){g.img=t,this._imageLoaded()}.bind(this),!1),d.src=m;var g={img:d,assetData:p};return g}function s(p){var m={assetData:p},d=n(p,this.assetsPath,this.path);return dataManager.loadData(d,function(g){m.img=g,this._footageLoaded()}.bind(this),function(){m.img={},this._footageLoaded()}.bind(this)),m}function u(p,m){this.imagesLoadedCb=m;var d,g=p.length;for(d=0;dthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,r,n=e.length,a=t.layers,o,i=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(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var r,n=t.length;for(r=0;r=0;F-=1)e[F].animation.destroy(E)}function w(E,F,y){var b=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),L,I=b.length;for(L=0;L0?g=w:d=w;while(Math.abs(M)>o&&++H=a?x(d,P,g,T):S===0?P:v(d,M,M+u,g,T)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var n=0,a=t,o=createSizedArray(a),i={newElement:s,release:u};function s(){var f;return n?(n-=1,f=o[n]):f=e(),f}function u(f){n===a&&(o=pooling.double(o),a*=2),r&&r(f),o[n]=f,n+=1}return i}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var n,a=r.lengths.length;for(n=0;n-.001&&m<.001}function r(c,h,_,v,x,p,m,d,g){if(_===0&&p===0&&g===0)return e(c,h,v,x,m,d);var T=t.sqrt(t.pow(v-c,2)+t.pow(x-h,2)+t.pow(p-_,2)),C=t.sqrt(t.pow(m-c,2)+t.pow(d-h,2)+t.pow(g-_,2)),M=t.sqrt(t.pow(m-v,2)+t.pow(d-x,2)+t.pow(g-p,2)),w;return T>C?T>M?w=T-C-M:w=M-C-T:M>C?w=M-C-T:w=C-T-M,w>-1e-4&&w<1e-4}var n=function(){return function(c,h,_,v){var x=getDefaultCurveSegments(),p,m,d,g,T,C=0,M,w=[],H=[],Z=bezierLengthPool.newElement();for(d=_.length,p=0;pm?-1:1,T=!0;T;)if(v[p]<=m&&v[p+1]>m?(d=(m-v[p])/(v[p+1]-v[p]),T=!1):p+=g,p<0||p>=x-1){if(p===x-1)return _[p];T=!1}return _[p]+(_[p+1]-_[p])*d}function f(c,h,_,v,x,p){var m=u(x,p),d=1-m,g=t.round((d*d*d*c[0]+(m*d*d+d*m*d+d*d*m)*_[0]+(m*m*d+d*m*m+m*d*m)*v[0]+m*m*m*h[0])*1e3)/1e3,T=t.round((d*d*d*c[1]+(m*d*d+d*m*d+d*d*m)*_[1]+(m*m*d+d*m*m+m*d*m)*v[1]+m*m*m*h[1])*1e3)/1e3;return[g,T]}var l=createTypedArray("float32",8);function D(c,h,_,v,x,p,m){x<0?x=0:x>1&&(x=1);var d=u(x,m);p=p>1?1:p;var g=u(p,m),T,C=c.length,M=1-d,w=1-g,H=M*M*M,Z=d*M*M*3,P=d*d*M*3,S=d*d*d,R=M*M*w,A=d*M*w+M*d*w+M*M*g,j=d*d*w+M*d*g+d*M*g,E=d*d*g,F=M*w*w,y=d*w*w+M*g*w+M*w*g,b=d*g*w+M*g*g+d*w*g,L=d*g*g,I=w*w*w,J=g*w*w+w*g*w+w*w*g,N=g*g*w+w*g*g+g*w*g,U=g*g*g;for(T=0;T=f.t-r){u.h&&(u=f),a=0;break}if(f.t-r>t){a=o;break}o=p||t=p?g.points.length-1:0;for(c=g.points[T].point.length,D=0;D=w&&C=p)n[0]=d[0],n[1]=d[1],n[2]=d[2];else if(t<=m)n[0]=u.s[0],n[1]=u.s[1],n[2]=u.s[2];else{var A=createQuaternion(u.s),j=createQuaternion(d),E=(t-m)/(p-m);quaternionToEuler(n,slerp(A,j,E))}else for(o=0;o=p?h=1:t1e-6?(c=Math.acos(h),_=Math.sin(c),v=Math.sin((1-r)*c)/_,x=Math.sin(r*c)/_):(v=1-r,x=r),n[0]=v*a+x*u,n[1]=v*o+x*f,n[2]=v*i+x*l,n[3]=v*s+x*D,n}function quaternionToEuler(t,e){var r=e[0],n=e[1],a=e[2],o=e[3],i=Math.atan2(2*n*o-2*r*a,1-2*n*n-2*a*a),s=Math.asin(2*r*n+2*a*o),u=Math.atan2(2*r*o-2*n*a,1-2*r*r-2*a*a);t[0]=i/degToRads,t[1]=s/degToRads,t[2]=u/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,n=t[2]*degToRads,a=Math.cos(e/2),o=Math.cos(r/2),i=Math.cos(n/2),s=Math.sin(e/2),u=Math.sin(r/2),f=Math.sin(n/2),l=a*o*i-s*u*f,D=s*u*i+a*o*f,c=s*o*i+a*u*f,h=a*u*i-s*o*f;return[D,c,h,l]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(t,this._caching);this.pv=n}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if(this.propType==="unidimensional")e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,n=this.v.length;r1e-5&&(this.v[r]=e,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 t,e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=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]=t,o[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,n,a,o,i,s){this.setXYAt(t,e,"v",i,s),this.setXYAt(r,n,"o",i,s),this.setXYAt(a,o,"i",i,s)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,n=this.i,a=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),a=1);var o=this._length-1,i=this._length,s;for(s=a;s=A[A.length-1].t-this.offsetTime)T=A[A.length-1].s?A[A.length-1].s[0]:A[A.length-2].e[0],M=!0;else{for(var j=g,E=A.length-1,F=!0,y,b,L;F&&(y=A[j],b=A[j+1],!(b.t-this.offsetTime>p));)j=b.t-this.offsetTime)S=1;else if(pd&&p>d)||(this._caching.lastIndex=g0||y>-1e-6&&y<0?n(y*b)/b:y}function F(){var y=this.props,b=E(y[0]),L=E(y[1]),I=E(y[4]),J=E(y[5]),N=E(y[12]),U=E(y[13]);return"matrix("+b+","+L+","+I+","+J+","+N+","+U+")"}return function(){this.reset=a,this.rotate=o,this.rotateX=i,this.rotateY=s,this.rotateZ=u,this.skew=l,this.skewFromAxis=D,this.shear=f,this.scale=c,this.setTransform=h,this.translate=_,this.transform=v,this.multiply=x,this.applyToPoint=T,this.applyToX=C,this.applyToY=M,this.applyToZ=w,this.applyToPointArray=R,this.applyToTriplePoints=S,this.applyToPointStringified=A,this.toCSS=j,this.to2dCSS=F,this.clone=d,this.cloneFromProps=g,this.equals=m,this.inversePoints=P,this.inversePoint=Z,this.getInverseMatrix=H,this._t=this.transform,this.isIdentity=p,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){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(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){standalone===!0?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return standalone===!0&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return typeof navigator!="undefined"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){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(t){for(var e=queryString.split("&"),r=0;r=1?o.push({s:t-1,e:e-1}):(o.push({s:t,e:1}),o.push({s:0,e:e-1}));var i=[],s,u=o.length,f;for(s=0;sn+r)){var l,D;f.s*a<=n?l=0:l=(f.s*a-n)/r,f.e*a>=n+r?D=1:D=(f.e*a-n)/r,i.push([l,D])}return i.length||i.push([0,0]),i},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?e=1+n:this.s.v<0?e=0+n:e=this.s.v+n,this.e.v>1?r=1+n:this.e.v<0?r=0+n:r=this.e.v+n,e>r){var a=e;e=r,r=a}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,i,s=this.shapes.length,u,f,l,D,c,h=0;if(r===e)for(i=0;i=0;i-=1)if(v=this.shapes[i],v.shape._mdf){for(x=v.localShapeCollection,x.releaseShapes(),this.m===2&&s>1?(g=this.calculateShapeEdges(e,r,v.totalShapeLength,d,h),d+=v.totalShapeLength):g=[[p,m]],f=g.length,u=0;u=1?_.push({s:v.totalShapeLength*(p-1),e:v.totalShapeLength*(m-1)}):(_.push({s:v.totalShapeLength*p,e:v.totalShapeLength}),_.push({s:0,e:v.totalShapeLength*(m-1)}));var T=this.addShapes(v,_[0]);if(_[0].s!==_[0].e){if(_.length>1){var C=v.shape.paths.shapes[v.shape.paths._length-1];if(C.c){var M=T.pop();this.addPaths(T,x),T=this.addShapes(v,_[1],M)}else this.addPaths(T,x),T=this.addShapes(v,_[1])}this.addPaths(T,x)}}v.shape.paths=x}}},TrimModifier.prototype.addPaths=function(t,e){var r,n=t.length;for(r=0;re.e){r.c=!1;break}else e.s<=f&&e.e>=f+l.addedLength?(this.addSegment(a[o].v[s-1],a[o].o[s-1],a[o].i[s],a[o].v[s],r,D,x),x=!1):(h=bez.getNewSegment(a[o].v[s-1],a[o].v[s],a[o].o[s-1],a[o].i[s],(e.s-f)/l.addedLength,(e.e-f)/l.addedLength,c[s-1]),this.addSegmentFromArray(h,r,D,x),x=!1,r.c=!1),f+=l.addedLength,D+=1;if(a[o].c&&c.length){if(l=c[s-1],f<=e.e){var p=c[s-1].addedLength;e.s<=f&&e.e>=f+p?(this.addSegment(a[o].v[s-1],a[o].o[s-1],a[o].i[0],a[o].v[0],r,D,x),x=!1):(h=bez.getNewSegment(a[o].v[s-1],a[o].v[0],a[o].o[s-1],a[o].i[0],(e.s-f)/p,(e.e-f)/p,c[s-1]),this.addSegmentFromArray(h,r,D,x),x=!1,r.c=!1)}else r.c=!1;f+=l.addedLength,D+=1}if(r._length&&(r.setXYAt(r.v[v][0],r.v[v][1],"i",v),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>e.e)break;o=this.p.keyframes[this.p.keyframes.length-1].t?(l=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/f,0),D=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/f,0)):(l=this.p.pv,D=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/f,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){l=[],D=[];var c=this.px,h=this.py;c._caching.lastFrame+c.offsetTime<=c.keyframes[0].t?(l[0]=c.getValueAtTime((c.keyframes[0].t+.01)/f,0),l[1]=h.getValueAtTime((h.keyframes[0].t+.01)/f,0),D[0]=c.getValueAtTime(c.keyframes[0].t/f,0),D[1]=h.getValueAtTime(h.keyframes[0].t/f,0)):c._caching.lastFrame+c.offsetTime>=c.keyframes[c.keyframes.length-1].t?(l[0]=c.getValueAtTime(c.keyframes[c.keyframes.length-1].t/f,0),l[1]=h.getValueAtTime(h.keyframes[h.keyframes.length-1].t/f,0),D[0]=c.getValueAtTime((c.keyframes[c.keyframes.length-1].t-.01)/f,0),D[1]=h.getValueAtTime((h.keyframes[h.keyframes.length-1].t-.01)/f,0)):(l=[c.pv,h.pv],D[0]=c.getValueAtTime((c._caching.lastFrame+c.offsetTime-.01)/f,c.offsetTime),D[1]=h.getValueAtTime((h._caching.lastFrame+h.offsetTime-.01)/f,h.offsetTime))}else D=t,l=D;this.v.rotate(-Math.atan2(l[1]-D[1],l[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(u){this._addDynamicProperty(u),this.elem.addDynamicProperty(u),this._isDirty=!0}function i(u,f,l){if(this.elem=u,this.frameId=-1,this.propType="transform",this.data=f,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(l||u),f.p&&f.p.s?(this.px=PropertyFactory.getProp(u,f.p.x,0,0,this),this.py=PropertyFactory.getProp(u,f.p.y,0,0,this),f.p.z&&(this.pz=PropertyFactory.getProp(u,f.p.z,0,0,this))):this.p=PropertyFactory.getProp(u,f.p||{k:[0,0,0]},1,0,this),f.rx){if(this.rx=PropertyFactory.getProp(u,f.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(u,f.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(u,f.rz,0,degToRads,this),f.or.k[0].ti){var D,c=f.or.k.length;for(D=0;D0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(c):Math.ceil(c),v=this.pMatrix.props,x=this.rMatrix.props,p=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(c>0){for(;m<_;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,h,!1),m+=h)}else if(c<0){for(;m>_;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),m-=h)}n=this.data.m===1?0:this._currentCopies-1,a=this.data.m===1?1:-1,o=this._currentCopies;for(var d,g;o;){if(e=this.elemsData[n].it,r=e[e.length-1].transform.mProps.v.props,g=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),m!==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(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[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]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),d=0;d0&&n<1?[e]:[]:[e-n,e+n].filter(function(a){return a>0&&a<1})},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),n=lerpPoint(this.points[2],this.points[3],t),a=lerpPoint(e,r,t),o=lerpPoint(r,n,t),i=lerpPoint(a,o,t);return[new PolynomialBezier(this.points[0],e,a,i,!0),new PolynomialBezier(i,o,n,this.points[3],!0)]};function extrema(t,e){var r=t.points[0][e],n=t.points[t.points.length-1][e];if(r>n){var a=n;n=r,r=a}for(var o=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),i=0;i0&&o[i]<1){var s=t.point(o[i])[e];sn&&(n=s)}return{min:r,max:n}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}};function intersectData(t,e,r){var n=t.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return Math.abs(t.cx-e.cx)*2=o||t.width<=n&&t.height<=n&&e.width<=n&&e.height<=n){a.push([t.t,e.t]);return}var i=splitData(t),s=splitData(e);intersectsImpl(i[0],s[0],r+1,n,a,o),intersectsImpl(i[0],s[1],r+1,n,a,o),intersectsImpl(i[1],s[0],r+1,n,a,o),intersectsImpl(i[1],s[1],r+1,n,a,o)}}PolynomialBezier.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,n,r),n},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)};function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,n){var a=[t[0],t[1],1],o=[e[0],e[1],1],i=[r[0],r[1],1],s=[n[0],n[1],1],u=crossProduct(crossProduct(a,o),crossProduct(i,s));return floatZero(u[2])?null:[u[0]/u[2],u[1]/u[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(t,e,r,n,a,o,i){var s=r-Math.PI/2,u=r+Math.PI/2,f=e[0]+Math.cos(r)*n*a,l=e[1]-Math.sin(r)*n*a;t.setTripleAt(f,l,f+Math.cos(s)*o,l-Math.sin(s)*o,f+Math.cos(u)*i,l-Math.sin(u)*i,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[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(t,e){var r=e===0?t.length()-1:e-1,n=(e+1)%t.length(),a=t.v[r],o=t.v[n],i=getPerpendicularVector(a,o);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,r,n,a,o,i){var s=getProjectingAngle(e,r),u=e.v[r%e._length],f=e.v[r===0?e._length-1:r-1],l=e.v[(r+1)%e._length],D=o===2?Math.sqrt(Math.pow(u[0]-f[0],2)+Math.pow(u[1]-f[1],2)):0,c=o===2?Math.sqrt(Math.pow(u[0]-l[0],2)+Math.pow(u[1]-l[1],2)):0;setPoint(t,e.v[r%e._length],s,i,n,c/((a+1)*2),D/((a+1)*2),o)}function zigZagSegment(t,e,r,n,a,o){for(var i=0;i1&&e.length>1&&(a=getIntersection(t[0],e[e.length-1]),a)?[[t[0].split(a[0])[0]],[e[e.length-1].split(a[1])[1]]]:[r,n]}function pruneIntersections(t){for(var e,r=1;r1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r=t.inflectionPoints(),n,a,o,i;if(r.length===0)return[offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return o=t.split(r[0]),n=o[0],a=o[1],[offsetSegment(n,e),offsetSegment(a,e)];o=t.split(r[0]),n=o[0];var s=(r[1]-r[0])/(1-r[0]);return o=o[1].split(s),i=o[0],a=o[1],[offsetSegment(n,e),offsetSegment(i,e),offsetSegment(a,e)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(t,e,r,n){var a=shapePool.newElement();a.c=t.c;var o=t.length();t.c||(o-=1);var i,s,u,f=[];for(i=0;i=0;i-=1)u=PolynomialBezier.shapeSegmentInverted(t,i),f.push(offsetSegmentSplit(u,e));f=pruneIntersections(f);var l=null,D=null;for(i=0;i0&&(J=!1),J){var z=createTag("style");z.setAttribute("f-forigin",y[b].fOrigin),z.setAttribute("f-origin",y[b].origin),z.setAttribute("f-family",y[b].fFamily),z.type="text/css",z.innerText="@font-face {font-family: "+y[b].fFamily+"; font-style: normal; src: url('"+y[b].fPath+"');}",F.appendChild(z)}}else if(y[b].fOrigin==="g"||y[b].origin===1){for(N=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),U=0;U=55296&&y<=56319){var b=E.charCodeAt(1);b>=56320&&b<=57343&&(F=(y-55296)*1024+b-56320+65536)}return F}function C(E,F){var y=E.toString(16)+F.toString(16);return D.indexOf(y)!==-1}function M(E){return E===u}function w(E){return E===s}function H(E){var F=T(E);return F>=f&&F<=l}function Z(E){return H(E.substr(0,2))&&H(E.substr(2,2))}function P(E){return r.indexOf(E)!==-1}function S(E,F){var y=T(E.substr(F,2));if(y!==n)return!1;var b=0;for(F+=2;b<5;){if(y=T(E.substr(F,2)),yi)return!1;b+=1,F+=2}return T(E.substr(F,2))===a}function R(){this.isLoaded=!0}var A=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)};A.isModifier=C,A.isZeroWidthJoiner=M,A.isFlagEmoji=Z,A.isRegionalCode=H,A.isCombinedCharacter=P,A.isRegionalFlag=S,A.isVariationSelector=w,A.BLACK_FLAG_CODE_POINT=n;var j={addChars:p,addFonts:x,getCharData:m,getFontByName:g,measureText:d,checkLoadedFonts:_,setIsLoaded:R};return A.prototype=j,A}();function SlotManager(t){this.animationData=t}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?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 e,r=this.renderableComponents.length;for(e=0;e.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(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*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(t){var e,r=this.layers.length,n;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(n=this.layers[e],n.ip-n.st<=t-this.layers[e].st&&n.op-n.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t0&&(this.maskElement.setAttribute("id",c),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+c+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,n=this.masksProperties.length;for(r=0;r1&&(n+=" C"+e.o[a-1][0]+","+e.o[a-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==n){var i="";r.elem&&(e.c&&(i=t.inv?this.solidPath+n:n),r.elem.setAttribute("d",i)),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 t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(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 t}(),featureSupport=function(){var t={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))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",n=t.data.ef?t.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),i=0;this.filters=[];var s;for(e=0;e=0&&(n=this.shapeModifiers[e].processShapes(this._isFirstFrame),!n);e-=1);}},searchProcessedElement:function(e){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 t=0,e=this.data.k.k.length;t0;)p=c.transformers[H].mProps._mdf||p,w-=1,H-=1;if(p)for(w=T-c.styles[d].lvl,H=c.transformers.length-1;w>0;)M.multiply(c.transformers[H].mProps.v),w-=1,H-=1}else M=t;if(C=c.sh.paths,v=C._length,p){for(x="",_=0;_=1?R=.99:R<=-1&&(R=-.99);var A=P*R,j=Math.cos(S+c.a.v)*A+x[0],E=Math.sin(S+c.a.v)*A+x[1];_.setAttribute("fx",j),_.setAttribute("fy",E),v&&!c.g._collapsable&&(c.of.setAttribute("fx",j),c.of.setAttribute("fy",E))}}}function l(D,c,h){var _=c.style,v=c.d;v&&(v._mdf||h)&&v.dashStr&&(_.pElem.setAttribute("stroke-dasharray",v.dashStr),_.pElem.setAttribute("stroke-dashoffset",v.dashoffset[0])),c.c&&(c.c._mdf||h)&&_.pElem.setAttribute("stroke","rgb("+bmFloor(c.c.v[0])+","+bmFloor(c.c.v[1])+","+bmFloor(c.c.v[2])+")"),(c.o._mdf||h)&&_.pElem.setAttribute("stroke-opacity",c.o.v),(c.w._mdf||h)&&(_.pElem.setAttribute("stroke-width",c.w.v),_.msElem&&_.msElem.setAttribute("stroke-width",c.w.v))}return r}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,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 t,e=this.shapes.length,r,n,a=this.stylesList.length,o,i=[],s=!1;for(n=0;n1&&s&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;u-=1){if(x=this.searchProcessedElement(t[u]),x?e[u]=r[x-1]:t[u]._render=i,t[u].ty==="fl"||t[u].ty==="st"||t[u].ty==="gf"||t[u].ty==="gs"||t[u].ty==="no")x?e[u].style.closed=!1:e[u]=this.createStyleElement(t[u],a),t[u]._render&&e[u].style.pElem.parentNode!==n&&n.appendChild(e[u].style.pElem),c.push(e[u].style);else if(t[u].ty==="gr"){if(!x)e[u]=this.createGroupElement(t[u]);else for(D=e[u].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!t)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=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=t||this.data.d.k[this.keysIndex].s;for(n=0;ne);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],r=0,n=t.length,a,o,i=!1,s=!1,u="";r=55296&&a<=56319?FontManager.isRegionalFlag(t,r)?u=t.substr(r,14):(o=t.charCodeAt(r+1),o>=56320&&o<=57343&&(FontManager.isModifier(a,o)?(u=t.substr(r,2),i=!0):FontManager.isFlagEmoji(t.substr(r,4))?u=t.substr(r,4):u=t.substr(r,2))):a>56319?(o=t.charCodeAt(r+1),FontManager.isVariationSelector(a)&&(i=!0)):FontManager.isZeroWidthJoiner(a)&&(i=!0,s=!0),i?(e[e.length-1]+=u,i=!1):e.push(u),r+=u.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,n=[],a,o,i,s=0,u,f=r.m.g,l=0,D=0,c=0,h=[],_=0,v=0,x,p,m=e.getFontByName(t.f),d,g=0,T=getFontProperties(m);t.fWeight=T.weight,t.fStyle=T.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),o=t.finalText.length,t.finalLineHeight=t.lh;var C=t.tr/1e3*t.finalSize,M;if(t.sz)for(var w=!0,H=t.sz[0],Z=t.sz[1],P,S;w;){S=this.buildFinalText(t.t),P=0,_=0,o=S.length,C=t.tr/1e3*t.finalSize;var R=-1;for(a=0;aH&&S[a]!==" "?(R===-1?o+=1:a=R,P+=t.finalLineHeight||t.finalSize*1.2,S.splice(a,R===a?1:0,"\r"),R=-1,_=0):(_+=g,_+=C);P+=m.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&Zv?_:v,_=-2*C,u="",i=!0,c+=1):u=j,e.chars?(d=e.getCharData(j,m.fStyle,e.getFontByName(t.f).fFamily),g=i?0:d.w*t.finalSize/100):g=e.measureText(u,t.f,t.finalSize),j===" "?A+=g+C:(_+=g+C+A,A=0),n.push({l:g,an:g,add:l,n:i,anIndexes:[],val:u,line:c,animatorJustifyOffset:0}),f==2){if(l+=g,u===""||u===" "||a===o-1){for((u===""||u===" ")&&(l-=g);D<=a;)n[D].an=l,n[D].ind=s,n[D].extra=g,D+=1;s+=1,l=0}}else if(f==3){if(l+=g,u===""||a===o-1){for(u===""&&(l-=g);D<=a;)n[D].an=l,n[D].ind=s,n[D].extra=g,D+=1;l=0,s+=1}}else n[s].ind=s,n[s].extra=0,s+=1;if(t.l=n,v=_>v?_:v,h.push(_),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=h;var E=r.a,F,y;p=E.length;var b,L,I=[];for(x=0;x0?s=this.ne.v/100:u=-this.ne.v/100,this.xe.v>0?f=1-this.xe.v/100:l=1+this.xe.v/100;var D=BezierFactory.getBezierEasing(s,u,f,l).get,c=0,h=this.finalS,_=this.finalE,v=this.data.sh;if(v===2)_===h?c=i>=_?1:0:c=t(0,e(.5/(_-h)+(i-h)/(_-h),1)),c=D(c);else if(v===3)_===h?c=i>=_?0:1:c=1-t(0,e(.5/(_-h)+(i-h)/(_-h),1)),c=D(c);else if(v===4)_===h?c=0:(c=t(0,e(.5/(_-h)+(i-h)/(_-h),1)),c<.5?c*=2:c=1-2*(c-.5)),c=D(c);else if(v===5){if(_===h)c=0;else{var x=_-h;i=e(t(0,i+.5-h),_-h);var p=-x/2+i,m=x/2;c=Math.sqrt(1-p*p/(m*m))}c=D(c)}else v===6?(_===h?c=0:(i=e(t(0,i+.5-h),_-h),c=(1+Math.cos(Math.PI+Math.PI*2*i/(_-h)))/2),c=D(c)):(i>=r(h)&&(i-h<0?c=t(0,e(e(_,1)-(h-i),1)):c=t(0,e(_-i,1))),c=D(c));if(this.sm.v!==100){var d=this.sm.v*.01;d===0&&(d=1e-8);var g=.5-d*.5;c1&&(c=1))}return c*this.a.v},getValue:function(i){this.iterateDynamicProperties(),this._mdf=i||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,i&&this.data.r===2&&(this.e.v=this._currentTextLength);var s=this.data.r===2?1:100/this.data.totalChars,u=this.o.v/s,f=this.s.v/s+u,l=this.e.v/s+u;if(f>l){var D=f;f=l,l=D}this.finalS=f,this.finalE=l}},extendPrototype([DynamicPropertyContainer],n);function a(o,i,s){return new n(o,i,s)}return{getTextSelectorProp:a}}();function TextAnimatorDataProperty(t,e,r){var n={propType:!1},a=PropertyFactory.getProp,o=e.a;this.a={r:o.r?a(t,o.r,0,degToRads,r):n,rx:o.rx?a(t,o.rx,0,degToRads,r):n,ry:o.ry?a(t,o.ry,0,degToRads,r):n,sk:o.sk?a(t,o.sk,0,degToRads,r):n,sa:o.sa?a(t,o.sa,0,degToRads,r):n,s:o.s?a(t,o.s,1,.01,r):n,a:o.a?a(t,o.a,1,0,r):n,o:o.o?a(t,o.o,0,.01,r):n,p:o.p?a(t,o.p,1,0,r):n,sw:o.sw?a(t,o.sw,0,0,r):n,sc:o.sc?a(t,o.sc,1,0,r):n,fc:o.fc?a(t,o.fc,1,0,r):n,fh:o.fh?a(t,o.fh,0,0,r):n,fs:o.fs?a(t,o.fs,0,.01,r):n,fb:o.fb?a(t,o.fb,0,.01,r):n,t:o.t?a(t,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,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 t,e=this._textData.a.length,r,n=PropertyFactory.getProp;for(t=0;t=_+Dt||!T?(H=(_+Dt-x)/v.partialLength,U=g.point[0]+(v.point[0]-g.point[0])*H,z=g.point[1]+(v.point[1]-g.point[1])*H,o.translate(-r[0]*c[l].an*.005,-(r[1]*A)*.01),p=!1):T&&(x+=v.partialLength,m+=1,m>=T.length&&(m=0,d+=1,C[d]?T=C[d].points:P.v.c?(m=0,d=0,T=C[d].points):(x-=v.partialLength,T=null)),T&&(g=v,v=T[m],M=v.partialLength));N=c[l].an/2-c[l].add,o.translate(-N,0,0)}else N=c[l].an/2-c[l].add,o.translate(-N,0,0),o.translate(-r[0]*c[l].an*.005,-r[1]*A*.01,0);for(y=0;yt?this.textSpans[t].span:createNS(s?"g":"text"),d<=t){if(u.setAttribute("stroke-linecap","butt"),u.setAttribute("stroke-linejoin","round"),u.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=u,s){var T=createNS("g");u.appendChild(T),this.textSpans[t].childSpan=T}this.textSpans[t].span=u,this.layerElement.appendChild(u)}u.style.display="inherit"}if(f.reset(),D&&(i[t].n&&(c=-v,h+=r.yOffset,h+=_?1:0,_=!1),this.applyTextPropertiesToMatrix(r,f,i[t].line,c,h),c+=i[t].l||0,c+=v),s){g=this.globalData.fontManager.getCharData(r.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var C;if(g.t===1)C=new SVGCompElement(g.data,this.globalData,this);else{var M=emptyShapeData;g.data&&g.data.shapes&&(M=this.buildShapeData(g.data,r.finalSize)),C=new SVGShapeElement(M,this.globalData,this)}if(this.textSpans[t].glyph){var w=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(w.layerElement),w.destroy()}this.textSpans[t].glyph=C,C._debug=!0,C.prepareFrame(0),C.renderFrame(),this.textSpans[t].childSpan.appendChild(C.layerElement),g.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else D&&u.setAttribute("transform","translate("+f.props[12]+","+f.props[13]+")"),u.textContent=i[t].val,u.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}D&&u&&u.setAttribute("d",l)}for(;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=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 t,e=this.layers.length;for(t=0;t=0;n-=1)e.finalTransform.multiply(e.transforms[n].transform.mProps.v);e._mdf=o},processSequences:function(e){var r,n=this.sequenceList.length;for(r=0;r=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var n=assetLoader.createCanvas(e.canvas.width,e.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 e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.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(e){e.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 e=this.buffers[0],r=e.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 e=this.buffers[1],r=e.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(e,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(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){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(t,e,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var a=4;e.ty==="rc"?a=5:e.ty==="el"?a=6:e.ty==="sr"&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var o,i=r.length,s;for(o=0;o=0;o-=1){if(D=this.searchProcessedElement(t[o]),D?e[o]=r[D-1]:t[o]._shouldRender=n,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs")D?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],_),f.push(e[o].style);else if(t[o].ty==="gr"){if(!D)e[o]=this.createGroupElement(t[o]);else for(u=e[o].it.length,s=0;s=0;a-=1)e[a].ty==="tr"?(i=r[a].transform,this.renderShapeTransform(t,i)):e[a].ty==="sh"||e[a].ty==="el"||e[a].ty==="rc"||e[a].ty==="sr"?this.renderPath(e[a],r[a]):e[a].ty==="fl"?this.renderFill(e[a],r[a],i):e[a].ty==="st"?this.renderStroke(e[a],r[a],i):e[a].ty==="gf"||e[a].ty==="gs"?this.renderGradientFill(e[a],r[a],i):e[a].ty==="gr"?this.renderShape(i,e[a].it,r[a].it):e[a].ty==="tm";n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r=t.trNodes,n=e.paths,a,o,i,s=n._length;r.length=0;var u=t.transforms.finalTransform;for(i=0;i=1?l=.99:l<=-1&&(l=-.99);var D=u*l,c=Math.cos(f+e.a.v)*D+i[0],h=Math.sin(f+e.a.v)*D+i[1];a=o.createRadialGradient(c,h,0,i[0],i[1],u)}var _,v=t.g.p,x=e.g.c,p=1;for(_=0;_o&&u==="xMidYMid slice"||aa&&s==="meet"||oa&&s==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:f==="xMax"&&(oa&&s==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,l==="YMid"&&(o>a&&s==="meet"||oa&&s==="meet"||o=0;t-=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if(!(this.renderedFrame===t&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var r,n=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-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(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.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 t,e=15;for(t=0;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.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(t){return new CVCompElement(t,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 e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.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(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(t=createTag("div"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,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 t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,n=t.length;for(r=0;r0&&u<1&&a[c].push(this.calculateF(u,t,e,r,n,c))):(f=i*i-4*s*o,f>=0&&(l=(-i+bmSqrt(f))/(2*o),l>0&&l<1&&a[c].push(this.calculateF(l,t,e,r,n,c)),D=(-i-bmSqrt(f))/(2*o),D>0&&D<1&&a[c].push(this.calculateF(D,t,e,r,n,c)))));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(t,e,r,n,a,o){return bmPow(1-t,3)*e[o]+3*bmPow(1-t,2)*t*r[o]+3*(1-t)*bmPow(t,2)*n[o]+bmPow(t,3)*a[o]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,n=t.length;for(r=0;rr&&(r=a)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;e-=1){var n=this.hierarchy[e].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)),i=[a[0]/o,a[1]/o,a[2]/o],s=Math.sqrt(i[2]*i[2]+i[0]*i[0]),u=Math.atan2(i[1],s),f=Math.atan2(i[0],-i[2]);this.mat.rotateY(f).rotateX(-u)}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 l=!this._prevMat.equals(this.mat);if((l||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var D,c,h;for(e=0;e=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r=createTag("div"),n,a;styleDiv(r);var o=createTag("div");if(styleDiv(o),e==="3d"){n=r.style,n.width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var i="50% 50%";n.webkitTransformOrigin=i,n.mozTransformOrigin=i,n.transformOrigin=i,a=o.style;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";a.transform=s,a.webkitTransform=s}r.appendChild(o);var u={container:o,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(u),u},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,n="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,n=this.threeDElements.length;rr?(a=t/this.globalData.compSize.w,o=t/this.globalData.compSize.w,i=0,s=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(a=e/this.globalData.compSize.h,o=e/this.globalData.compSize.h,i=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,s=0);var u=this.resizerElem.style;u.webkitTransform="matrix3d("+a+",0,0,0,0,"+o+",0,0,0,0,1,0,"+i+","+s+",0,1)",u.transform=u.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 t=this.globalData.compSize.w,e=this.globalData.compSize.h,r,n=this.threeDElements.length;for(r=0;r=f;)P/=2,S/=2,R>>>=1;return(P+R)/S};return H.int32=function(){return w.g(4)|0},H.quick=function(){return w.g(4)/4294967296},H.double=H,x(m(w.S),t),(g.pass||T||function(Z,P,S,R){return R&&(R.S&&_(R,w),Z.state=function(){return _(w,{})}),S?(e[i]=Z,P):Z})(H,M,"global"in g?g.global:this==e,g.state)}e["seed"+i]=c;function h(d){var g,T=d.length,C=this,M=0,w=C.i=C.j=0,H=C.S=[];for(T||(d=[T++]);Mr){var n=r;r=e,e=n}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,n=Math.min(t.length,e.length),a=0;for(r=0;r.5?f/(2-a-o):f/(a+o),a){case e:i=(r-n)/f+(r1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],n=t[2],a,o,i;if(r===0)a=n,i=n,o=n;else{var s=n<.5?n*(1+r):n+r-n*r,u=2*n-s;a=hue2rgb(u,s,e+1/3),o=hue2rgb(u,s,e),i=hue2rgb(u,s,e-1/3)}return[a,o,i,t[3]]}function linear(t,e,r,n,a){if((n===void 0||a===void 0)&&(n=e,a=r,e=0,r=1),r=r)return a;var i=r===e?0:(t-e)/(r-e);if(!n.length)return n+(a-n)*i;var s,u=n.length,f=createTypedArray("float32",u);for(s=0;s1){for(a=0;a1?e=1:e<0&&(e=0);var i=t(e);if($bm_isInstanceOfArray(a)){var s,u=a.length,f=createTypedArray("float32",u);for(s=0;sdata.k[e].t&&tdata.k[e+1].t-t?(n=e+2,a=data.k[e+1].t):(n=e+1,a=data.k[e].t);break}n===-1&&(n=e+1,a=data.k[e].t)}var o={};return o.index=n,o.time=a/elem.comp.globalData.frameRate,o}function key(t){var e,r,n;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var a=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=a.length,r=0;rx.length-1)&&(h=x.length-1),d=x[x.length-1-h].t,m=p-d);var g,T,C;if(c==="pingpong"){var M=Math.floor((v-d)/m);if(M%2!=0)return this.getValueAtTime((m-(v-d)%m+d)/this.comp.globalData.frameRate,0)}else if(c==="offset"){var w=this.getValueAtTime(d/this.comp.globalData.frameRate,0),H=this.getValueAtTime(p/this.comp.globalData.frameRate,0),Z=this.getValueAtTime(((v-d)%m+d)/this.comp.globalData.frameRate,0),P=Math.floor((v-d)/m);if(this.pv.length){for(C=new Array(w.length),T=C.length,g=0;g=p)return this.pv;var m,d;_?(h?m=Math.abs(this.elem.comp.globalData.frameRate*h):m=Math.max(0,this.elem.data.op-p),d=p+m):((!h||h>x.length-1)&&(h=x.length-1),d=x[h].t,m=d-p);var g,T,C;if(c==="pingpong"){var M=Math.floor((p-v)/m);if(M%2==0)return this.getValueAtTime(((p-v)%m+p)/this.comp.globalData.frameRate,0)}else if(c==="offset"){var w=this.getValueAtTime(p/this.comp.globalData.frameRate,0),H=this.getValueAtTime(d/this.comp.globalData.frameRate,0),Z=this.getValueAtTime((m-(p-v)%m+p)/this.comp.globalData.frameRate,0),P=Math.floor((p-v)/m)+1;if(this.pv.length){for(C=new Array(w.length),T=C.length,g=0;g1?(x-v)/(h-1):1,m=0,d=0,g;this.pv.length?g=createTypedArray("float32",this.pv.length):g=0;for(var T;mm){var M=d,w=v.c&&d===g-1?0:d+1,H=(m-T)/p[d].addedLength;C=bez.getPointInSegment(v.v[M],v.v[w],v.o[M],v.i[w],H,p[d]);break}else T+=p[d].addedLength;d+=1}return C||(C=v.c?[v.v[0][0],v.v[0][1]]:[v.v[v._length-1][0],v.v[v._length-1][1]]),C},vectorOnPath:function(h,_,v){h==1?h=this.v.c:h==0&&(h=.999);var x=this.pointOnPath(h,_),p=this.pointOnPath(h+.001,_),m=p[0]-x[0],d=p[1]-x[1],g=Math.sqrt(Math.pow(m,2)+Math.pow(d,2));if(g===0)return[0,0];var T=v==="tangent"?[m/g,d/g]:[-d/g,m/g];return T},tangentOnPath:function(h,_){return this.vectorOnPath(h,_,"tangent")},normalOnPath:function(h,_){return this.vectorOnPath(h,_,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],u),extendPrototype([l],f),f.prototype.getValueAtTime=s,f.prototype.initiateExpression=ExpressionManager.initiateExpression;var D=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(c,h,_,v,x){var p=D(c,h,_,v,x);return p.propertyIndex=h.ix,p.lock=!1,_===3?expressionHelpers.searchExpressions(c,h.pt,p):_===4&&expressionHelpers.searchExpressions(c,h.ks,p),p.k&&c.addDynamicProperty(p),p}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){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(e,r){var n=this.calculateExpression(r);if(e.t!==n){var a={};return this.copyData(a,e),a.t=n.toString(),a.__complete=!1,a}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var n=createNS("feMerge");n.setAttribute("result",e);var a,o;for(o=0;o=f?D=_<0?n:a:D=n+h*Math.pow((s-t)/_,1/r),l[c]=D,c+=1,o+=256/(i-1);return l.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=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",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=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",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=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",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=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",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=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",e))}};function SVGDropShadowEffect(t,e,r,n,a){var o=e.container.globalData.renderConfig.filterSize,i=e.data.fs||o;t.setAttribute("x",i.x||o.x),t.setAttribute("y",i.y||o.y),t.setAttribute("width",i.width||o.width),t.setAttribute("height",i.height||o.height),this.filterManager=e;var s=createNS("feGaussianBlur");s.setAttribute("in","SourceAlpha"),s.setAttribute("result",n+"_drop_shadow_1"),s.setAttribute("stdDeviation","0"),this.feGaussianBlur=s,t.appendChild(s);var u=createNS("feOffset");u.setAttribute("dx","25"),u.setAttribute("dy","0"),u.setAttribute("in",n+"_drop_shadow_1"),u.setAttribute("result",n+"_drop_shadow_2"),this.feOffset=u,t.appendChild(u);var f=createNS("feFlood");f.setAttribute("flood-color","#00ff00"),f.setAttribute("flood-opacity","1"),f.setAttribute("result",n+"_drop_shadow_3"),this.feFlood=f,t.appendChild(f);var l=createNS("feComposite");l.setAttribute("in",n+"_drop_shadow_3"),l.setAttribute("in2",n+"_drop_shadow_2"),l.setAttribute("operator","in"),l.setAttribute("result",n+"_drop_shadow_4"),t.appendChild(l);var D=this.createMergeNode(n,[n+"_drop_shadow_4",a]);t.appendChild(D)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||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(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,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(t){for(var e=0,r=_svgMatteSymbols.length;e{(function(t,e){typeof no=="object"&&typeof Kl!="undefined"?e(no,Ql(),(wa(),Uf)):typeof define=="function"&&define.amd?define(["exports","lottie-web","react"],e):(t=typeof globalThis!="undefined"?globalThis:t||self,e(t["lottie-react"]={},t.Lottie,t.React))})(no,function(t,e,r){"use strict";function n(P){return P&&typeof P=="object"&&"default"in P?P:{default:P}}var a=n(e),o=n(r);function i(P,S){var R=P==null?null:typeof Symbol!="undefined"&&P[Symbol.iterator]||P["@@iterator"];if(R!=null){var A,j,E,F,y=[],b=!0,L=!1;try{if(E=(R=R.call(P)).next,S===0){if(Object(R)!==R)return;b=!1}else for(;!(b=(A=E.call(R)).done)&&(y.push(A.value),y.length!==S);b=!0);}catch(I){L=!0,j=I}finally{try{if(!b&&R.return!=null&&(F=R.return(),Object(F)!==F))return}finally{if(L)throw j}}return y}}function s(P,S){var R=Object.keys(P);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(P);S&&(A=A.filter(function(j){return Object.getOwnPropertyDescriptor(P,j).enumerable})),R.push.apply(R,A)}return R}function u(P){for(var S=1;S=0)&&(R[j]=P[j]);return R}function D(P,S){if(P==null)return{};var R=l(P,S),A,j;if(Object.getOwnPropertySymbols){var E=Object.getOwnPropertySymbols(P);for(j=0;j=0)&&(!Object.prototype.propertyIsEnumerable.call(P,A)||(R[A]=P[A]))}return R}function c(P,S){return h(P)||i(P,S)||_(P,S)||x()}function h(P){if(Array.isArray(P))return P}function _(P,S){if(!!P){if(typeof P=="string")return v(P,S);var R=Object.prototype.toString.call(P).slice(8,-1);if(R==="Object"&&P.constructor&&(R=P.constructor.name),R==="Map"||R==="Set")return Array.from(P);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return v(P,S)}}function v(P,S){(S==null||S>P.length)&&(S=P.length);for(var R=0,A=new Array(S);R0&&arguments[0]!==void 0?arguments[0]:{},Ft;if(!!W.current){(Ft=B.current)===null||Ft===void 0||Ft.destroy();var Ut=u(u(u({},S),_t),{},{container:W.current});return B.current=a.default.loadAnimation(Ut),gt(!!B.current),function(){var mr;(mr=B.current)===null||mr===void 0||mr.destroy(),B.current=void 0}}};r.useEffect(function(){var wt=Dt();return function(){return wt==null?void 0:wt()}},[A,j]),r.useEffect(function(){!B.current||(B.current.autoplay=!!E)},[E]),r.useEffect(function(){if(!!B.current){if(!F){B.current.resetSegments(!0);return}!Array.isArray(F)||!F.length||((B.current.currentRawFrameF[1])&&(B.current.currentRawFrame=F[0]),B.current.setSegment(F[0],F[1]))}},[F]),r.useEffect(function(){var wt=[{name:"complete",handler:y},{name:"loopComplete",handler:b},{name:"enterFrame",handler:L},{name:"segmentStart",handler:I},{name:"config_ready",handler:J},{name:"data_ready",handler:N},{name:"data_failed",handler:U},{name:"loaded_images",handler:z},{name:"DOMLoaded",handler:Y},{name:"destroy",handler:V}],_t=wt.filter(function(Ut){return Ut.handler!=null});if(!!_t.length){var Ft=_t.map(function(Ut){var mr;return(mr=B.current)===null||mr===void 0||mr.addEventListener(Ut.name,Ut.handler),function(){var wo;(wo=B.current)===null||wo===void 0||wo.removeEventListener(Ut.name,Ut.handler)}});return function(){Ft.forEach(function(Ut){return Ut()})}}},[y,b,L,I,J,N,U,z,Y,V]);var St=o.default.createElement("div",u({style:R,ref:W},k));return{View:St,play:Vt,stop:Wt,pause:Bt,setSpeed:qt,goToAndStop:nt,goToAndPlay:Tt,setDirection:it,playSegments:et,setSubframe:rt,getDuration:st,destroy:vt,animationContainerRef:W,animationLoaded:ft,animationItem:B.current}};function T(P){var S=P.getBoundingClientRect(),R=S.top,A=S.height,j=window.innerHeight-R,E=window.innerHeight+A;return j/E}function C(P,S,R){var A=P.getBoundingClientRect(),j=A.top,E=A.left,F=A.width,y=A.height,b=(S-E)/F,L=(R-j)/y;return{x:b,y:L}}var M=function(S){var R=S.wrapperRef,A=S.animationItem,j=S.mode,E=S.actions;r.useEffect(function(){var F=R.current;if(!(!F||!A||!E.length)){A.stop();var y=function(){var I=null,J=function(){var U=T(F),z=E.find(function(V){var k=V.visibility;return k&&U>=k[0]&&U<=k[1]});if(!!z){if(z.type==="seek"&&z.visibility&&z.frames.length===2){var Y=z.frames[0]+Math.ceil((U-z.visibility[0])/(z.visibility[1]-z.visibility[0])*z.frames[1]);A.goToAndStop(Y-A.firstFrame-1,!0)}z.type==="loop"&&(I===null||I!==z.frames||A.isPaused)&&(A.playSegments(z.frames,!0),I=z.frames),z.type==="play"&&A.isPaused&&(A.resetSegments(!0),A.play()),z.type==="stop"&&A.goToAndStop(z.frames[0]-A.firstFrame-1,!0)}};return document.addEventListener("scroll",J),function(){document.removeEventListener("scroll",J)}},b=function(){var I=function(z,Y){var V=z,k=Y;if(V!==-1&&k!==-1){var ut=C(F,V,k);V=ut.x,k=ut.y}var Q=E.find(function(B){var W=B.position;return W&&Array.isArray(W.x)&&Array.isArray(W.y)?V>=W.x[0]&&V<=W.x[1]&&k>=W.y[0]&&k<=W.y[1]:W&&!Number.isNaN(W.x)&&!Number.isNaN(W.y)?V===W.x&&k===W.y:!1});if(!!Q){if(Q.type==="seek"&&Q.position&&Array.isArray(Q.position.x)&&Array.isArray(Q.position.y)&&Q.frames.length===2){var ft=(V-Q.position.x[0])/(Q.position.x[1]-Q.position.x[0]),gt=(k-Q.position.y[0])/(Q.position.y[1]-Q.position.y[0]);A.playSegments(Q.frames,!0),A.goToAndStop(Math.ceil((ft+gt)/2*(Q.frames[1]-Q.frames[0])),!0)}Q.type==="loop"&&A.playSegments(Q.frames,!0),Q.type==="play"&&(A.isPaused&&A.resetSegments(!1),A.playSegments(Q.frames)),Q.type==="stop"&&A.goToAndStop(Q.frames[0],!0)}},J=function(z){I(z.clientX,z.clientY)},N=function(){I(-1,-1)};return F.addEventListener("mousemove",J),F.addEventListener("mouseout",N),function(){F.removeEventListener("mousemove",J),F.removeEventListener("mouseout",N)}};switch(j){case"scroll":return y();case"cursor":return b()}}},[j,A])},w=function(S){var R=S.actions,A=S.mode,j=S.lottieObj,E=j.animationItem,F=j.View,y=j.animationContainerRef;return M({actions:R,animationItem:E,mode:A,wrapperRef:y}),F},H=["style","interactivity"],Z=function(S){var R,A,j,E=S.style,F=S.interactivity,y=D(S,H),b=g(y,E),L=b.View,I=b.play,J=b.stop,N=b.pause,U=b.setSpeed,z=b.goToAndStop,Y=b.goToAndPlay,V=b.setDirection,k=b.playSegments,ut=b.setSubframe,Q=b.getDuration,ft=b.destroy,gt=b.animationContainerRef,B=b.animationLoaded,W=b.animationItem;return r.useEffect(function(){S.lottieRef&&(S.lottieRef.current={play:I,stop:J,pause:N,setSpeed:U,goToAndPlay:Y,goToAndStop:z,setDirection:V,playSegments:k,setSubframe:ut,getDuration:Q,destroy:ft,animationContainerRef:gt,animationLoaded:B,animationItem:W})},[(R=S.lottieRef)===null||R===void 0?void 0:R.current]),w({lottieObj:{View:L,play:I,stop:J,pause:N,setSpeed:U,goToAndStop:z,goToAndPlay:Y,setDirection:V,playSegments:k,setSubframe:ut,getDuration:Q,destroy:ft,animationContainerRef:gt,animationLoaded:B,animationItem:W},actions:(A=F==null?void 0:F.actions)!==null&&A!==void 0?A:[],mode:(j=F==null?void 0:F.mode)!==null&&j!==void 0?j:"scroll"})};Object.defineProperty(t,"LottiePlayer",{enumerable:!0,get:function(){return a.default}}),t.default=Z,t.useLottie=g,t.useLottieInteractivity=w,Object.defineProperty(t,"__esModule",{value:!0})})});var q0={};Qu(q0,{boot:()=>$0});var Ku={nm:"Flow 1",ddd:0,h:20,w:38,meta:{g:"LottieFiles Figma v67"},layers:[{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,8.8],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,4.1],t:24},{s:[1.6,8.8],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[32,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[32,10],t:24},{s:[32,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,16],[1.6,17.6],[0,16],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.6],[1.6,8.2],[0,6.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,16],[1.6,17.6],[0,16],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:1},{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,4],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,5.6],t:24},{s:[1.6,4],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[26.8,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[26.8,10],t:24},{s:[26.8,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.4],[1.6,8],[0,6.4],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,9.6],[1.6,11.2],[0,9.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.4],[1.6,8],[0,6.4],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:2},{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,5.6],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,4.1],t:24},{s:[1.6,5.6],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[21.6,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[21.6,10],t:24},{s:[21.6,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,9.6],[1.6,11.2],[0,9.6],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.6],[1.6,8.2],[0,6.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,9.6],[1.6,11.2],[0,9.6],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:3},{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,8.8],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,2.6],t:24},{s:[1.6,8.8],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[16.4,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[16.4,10],t:24},{s:[16.4,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,16],[1.6,17.6],[0,16],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,3.6],[1.6,5.2],[0,3.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,16],[1.6,17.6],[0,16],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:4},{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,2.4],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,4.1],t:24},{s:[1.6,2.4],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[11.2,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[11.2,10],t:24},{s:[11.2,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,3.2],[1.6,4.8],[0,3.2],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.6],[1.6,8.2],[0,6.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,3.2],[1.6,4.8],[0,3.2],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:5},{ty:4,nm:"Vector 591 (Stroke)",sr:1,st:0,op:49.12,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,4],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[1.6,5.6],t:24},{s:[1.6,4],t:48}]},s:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100,100],t:24},{s:[100,100],t:48}]},sk:{a:0,k:0},p:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[6,10],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[6,10],t:24},{s:[6,10],t:48}]},r:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[0],t:24},{s:[0],t:48}]},sa:{a:0,k:0},o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}},shapes:[{ty:"sh",bm:0,hd:!1,nm:"",d:1,ks:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.4],[1.6,8],[0,6.4],[0,1.6],[1.6,0]]}],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,9.6],[1.6,11.2],[0,9.6],[0,1.6],[1.6,0]]}],t:24},{s:[{c:!0,i:[[0,0],[0,-.88],[0,0],[.88,0],[0,.88],[0,0],[-.88,0]],o:[[.88,0],[0,0],[0,.88],[-.88,0],[0,0],[0,-.88],[0,0]],v:[[1.6,0],[3.2,1.6],[3.2,6.4],[1.6,8],[0,6.4],[0,1.6],[1.6,0]]}],t:48}]}},{ty:"fl",bm:0,hd:!1,nm:"",c:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[.2589,.2589,.2589],t:24},{s:[.2589,.2589,.2589],t:48}]},r:2,o:{a:1,k:[{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:0},{o:{x:0,y:0},i:{x:1,y:1},s:[100],t:24},{s:[100],t:48}]}}],ind:6}],v:"5.7.0",fr:60,op:48.12,ip:0,assets:[]};var Rd=function(){function t(){}return t.value=new t,t}(),Lo=function(){function t(){}return t.value=new t,t}(),Hd=function(){function t(){}return t.value=new t,t}(),Nd=function(){function t(){}return t.value=new t,t}(),Yu=function(t){if(t instanceof Rd)return"modal-sm";if(t instanceof Lo)return"";if(t instanceof Hd)return"modal-lg";if(t instanceof Nd)return"modal-xl";throw new Error("Failed pattern match at Bootstrap.Modal.Size (line 14, column 13 - line 18, column 27): "+[t.constructor.name])};var ea={compose:function(t){return function(e){return function(r){return t(e(r))}}}};var lt=function(t){return t.identity},mt={identity:function(t){return t},Semigroupoid0:function(){return ea}};var $t=!0;var Ao=function(t){return function(e){return function(r){return function(n){return t(e(r))(e(n))}}}},zt=function(t){return function(e){return function(r){return t(r)(e)}}},pt=function(t){return function(e){return t}};var Xu=function(t){return function(e){for(var r=e.length,n=new Array(r),a=0;a="0"&&t[a]<="9"?"\\&":"";return"\\"+r.charCodeAt(0).toString(10)+o})+'"'};var Ee={show:cs};var Ho={show:fs},Ze={show:ss};var dt=function(t){return t.show};var cm=lt(mt),$=function(){function t(){}return t.value=new t,t}(),q=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}();var Ht=function(t){return function(e){return function(r){if(r instanceof $)return t;if(r instanceof q)return e(r.value0);throw new Error("Failed pattern match at Data.Maybe (line 237, column 1 - line 237, column 51): "+[t.constructor.name,e.constructor.name,r.constructor.name])}}};var Lt={map:function(t){return function(e){return e instanceof q?new q(t(e.value0)):$.value}}},lm=O(Lt);var Gt=function(t){return Ht(t)(cm)};var tr={apply:function(t){return function(e){if(t instanceof q)return lm(t.value0)(e);if(t instanceof $)return $.value;throw new Error("Failed pattern match at Data.Maybe (line 67, column 1 - line 69, column 30): "+[t.constructor.name,e.constructor.name])}},Functor0:function(){return Lt}};var xe={bind:function(t){return function(e){if(t instanceof q)return e(t.value0);if(t instanceof $)return $.value;throw new Error("Failed pattern match at Data.Maybe (line 125, column 1 - line 127, column 28): "+[t.constructor.name,e.constructor.name])}},Apply0:function(){return tr}};var Ne=function(){return{pure:q.create,Apply0:function(){return tr}}}();var pm={alt:function(t){return function(e){return t instanceof $?e:t}},Functor0:function(){return Lt}},dm=function(){return{empty:$.value,Alt0:function(){return pm}}}(),No={Applicative0:function(){return Ne},Plus1:function(){return dm}};function aa(t){return Object.prototype.toString.call(t).slice(8,-1)}function cn(t){return t===void 0}var oa=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};var mm=lt(mt),_e=function(t){return t.discard};var ct=function(t){return t.bind},pe=function(t){return zt(ct(t))},ko=function(t){var e=pe(t);return function(r){return function(n){return function(a){return e(r)(n(a))}}}},Wo=function(t){var e=ct(t);return function(r){return function(n){return function(a){return e(r(a))(n)}}}};var ge={discard:function(t){return ct(t)}};var Oo=function(t){var e=ct(t);return function(r){return e(r)(mm)}};var X=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),tt=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}();var Uo=function(t){return Ht(new X(t))(tt.create)};var de={map:function(t){return function(e){if(e instanceof X)return new X(e.value0);if(e instanceof tt)return new tt(t(e.value0));throw new Error("Failed pattern match at Data.Either (line 0, column 0 - line 0, column 0): "+[e.constructor.name])}}},vm=O(de);var Jt=function(t){return function(e){return function(r){if(r instanceof X)return t(r.value0);if(r instanceof tt)return e(r.value0);throw new Error("Failed pattern match at Data.Either (line 208, column 1 - line 208, column 64): "+[t.constructor.name,e.constructor.name,r.constructor.name])}}},ls=function(){return Jt(pt($.value))(q.create)}();var ps=Jt(pt(!1))(pt(!0));var ds=function(){return Jt(q.create)(pt($.value))}(),ia={apply:function(t){return function(e){if(t instanceof X)return new X(t.value0);if(t instanceof tt)return vm(t.value0)(e);throw new Error("Failed pattern match at Data.Either (line 70, column 1 - line 72, column 30): "+[t.constructor.name,e.constructor.name])}},Functor0:function(){return de}};var pn={bind:Jt(function(t){return function(e){return new X(t)}})(function(t){return function(e){return e(t)}}),Apply0:function(){return ia}};var ms=function(t){return function(){return t}},vs=function(t){return function(e){return function(){return e(t())()}}};var $o=function(t){return function(e){return function(){for(var r=0,n=t.length;r=0;o--)n=t(r[o])(n);return n}}},Os=function(t){return function(e){return function(r){for(var n=e,a=r.length,o=0;o0)&&(V=A,k=vt._3(st)));break;case v:B=new T(h,new T(p,k,ut),B,Q),V=A,Q&&Q!==rt&&W===0?k=vt._1.killed(N.fromLeft(Q))(vt._2):ut?k=vt._1.failed(N.fromLeft(ut))(vt._2):k=vt._1.completed(N.fromRight(k))(vt._2),ut=null,W++;break;case x:W++,B=new T(h,new T(p,k,ut),B,Q),V=A,k=vt._1;break;case p:W--,V=y,k=vt._1,ut=vt._2;break}break;case b:for(var Dt in Wt)Wt.hasOwnProperty(Dt)&&(Bt=Bt&&Wt[Dt].rethrow,w(Wt[Dt].handler(k)));Wt=null,Q&&ut?setTimeout(function(){throw N.fromLeft(ut)},0):N.isLeft(k)&&Bt&&setTimeout(function(){if(Bt)throw N.fromLeft(k)},0);return;case R:V=A;break;case F:return}}function Tt(et){return function(){if(V===b)return Bt=Bt&&et.rethrow,et.handler(k)(),function(){};var rt=Vt++;return Wt=Wt||{},Wt[rt]=et,function(){Wt!==null&&delete Wt[rt]}}}function nt(et,rt){return function(){if(V===b)return rt(N.right(void 0))(),function(){};var st=Tt({rethrow:!1,handler:function(){return rt(N.right(void 0))}})();switch(V){case R:Q=N.left(et),V=b,k=Q,qt(Y);break;case F:Q===null&&(Q=N.left(et)),W===0&&(V===F&&(B=new T(h,new T(x,k(et)),B,Q)),V=y,k=null,ut=null,qt(++Y));break;default:Q===null&&(Q=N.left(et)),W===0&&(V=y,k=null,ut=null)}return st}}function it(et){return function(){var rt=Tt({rethrow:!1,handler:et})();return V===R&&qt(Y),rt}}return{kill:nt,join:it,onComplete:Tt,isSuspended:function(){return V===R},run:function(){V===R&&(P.isDraining()?qt(Y):P.enqueue(function(){qt(Y)}))}}}function I(N,U,z,Y){var V=0,k={},ut=0,Q={},ft=new Error("[ParAff] Early exit"),gt=null,B=t;function W(Tt,nt,it){var et=nt,rt=null,st=null,vt=0,Dt={},St,wt;t:for(;;)switch(St=null,et.tag){case m:if(et._3===t&&(St=k[et._1],Dt[vt++]=St.kill(Tt,function(_t){return function(){vt--,vt===0&&it(_t)()}})),rt===null)break t;et=rt._2,st===null?rt=null:(rt=st._1,st=st._2);break;case l:et=et._2;break;case D:case c:rt&&(st=new T(h,rt,st)),rt=et,et=et._1;break}if(vt===0)it(N.right(void 0))();else for(wt=0,St=vt;wt""),H_=Sa.unmountComponentAtNode;function Nc(t,e,r){return Jr.createElement.apply(null,[t,N_(t,e)].concat(r))}function N_(t,e){if(typeof t!="string"||e._data==null)return e;var r={_data:void 0};for(var n in e._data){var a=e._data[n];r["data-"+n]=a}return Object.assign({},e,r)}var kc=(t,e)=>e[t],Wc=(t,e,r)=>r[t]=e;function Oc(t){return typeof t=="string"}function Uc(t){return typeof t=="boolean"}function $c(t){return t instanceof Object}function qc(t){return t instanceof Function}function Wa(t){return t===null?"":t===void 0?"":t instanceof Date?t.toString():typeof Blob!="undefined"&&t instanceof Blob?"file["+t.name+"]":JSON.stringify(t)}var k_=function(t,e){if(t<1)return[];var r=new Array(t);return r.fill(e)},W_=function(t,e){for(var r=[],n=0,a=0;a>1),s-o>1&&t(e,r,a,n,o,s),i-s>1&&t(e,r,a,n,s,i),u=o,f=s,l=o;u0?(n[l++]=c,++f):(n[l++]=D,++u);for(;u>1),s-o>1&&t(e,r,a,n,o,s),i-s>1&&t(e,r,a,n,s,i),u=o,f=s,l=o;u0?(n[l++]=c,++f):(n[l++]=D,++u);for(;u|\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,Dg=/\((\S*)(?::(\d+))(?::(\d+))\)/;function bg(t){var e=yg.exec(t);if(!e)return null;var r=e[2]&&e[2].indexOf("native")===0,n=e[2]&&e[2].indexOf("eval")===0,a=Dg.exec(e[2]);return n&&a!=null&&(e[2]=a[1],e[3]=a[2],e[4]=a[3]),{file:r?null:e[2],methodName:e[1]||qn,arguments:r?[e[2]]:[],lineNumber:e[3]?+e[3]:null,column:e[4]?+e[4]:null}}var Tg=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Eg(t){var e=Tg.exec(t);return e?{file:e[2],methodName:e[1]||qn,arguments:[],lineNumber:+e[3],column:e[4]?+e[4]:null}:null}var xg=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,Cg=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function Fg(t){var e=xg.exec(t);if(!e)return null;var r=e[3]&&e[3].indexOf(" > eval")>-1,n=Cg.exec(e[3]);return r&&n!=null&&(e[3]=n[1],e[4]=n[2],e[5]=null),{file:e[3],methodName:e[1]||qn,arguments:e[2]?e[2].split(","):[],lineNumber:e[4]?+e[4]:null,column:e[5]?+e[5]:null}}var Mg=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i;function Ig(t){var e=Mg.exec(t);return e?{file:e[3],methodName:e[1]||qn,arguments:[],lineNumber:+e[4],column:e[5]?+e[5]:null}:null}var wg=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i;function Sg(t){var e=wg.exec(t);return e?{file:e[2],methodName:e[1]||qn,arguments:[],lineNumber:+e[3],column:e[4]?+e[4]:null}:null}function Cl({skipFrames:t,prefix:e}){let r=new Error().stack,a=xl(r)[t],o=Fl(a.file.replace(/^(http(s?):\/\/)?[^\/]+/,"")),i=Fl(a.methodName);return`${e}_${o}_${i}_${a.lineNumber}_${a.column}`}var Fl=t=>t.replace(/[^\d\w]+/g,"_").replace(/(^_|_$)/g,"");wa();var Ml=function(){let t={};return function(e,r){let n=t[e]||(t[e]=Sl(e));return r(n)}}();function Il(t){return t(Sl())}var wl=Jr.createElement,Bn=t=>()=>t.props.def;function Sl(t){class e extends Jr.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 e.displayName=t?"Elmish_"+t:"ElmishRoot",e}var Xa=typeof module=="undefined"?void 0:module.require,SV=function(){try{return Xa===void 0?void 0:Xa("util")}catch{return}}();var LV=function(){var t;if(typeof performance!="undefined")t=performance;else if(Xa)try{t=Xa("perf_hooks").performance}catch{}return function(){return(t||Date).now()}}();var ru=O(yt),Lg=K(me),Ll=function(t){return{initialize:function(e){return cl(e)(t.initialState)},getState:function(e){return function(){var n=ru(Nt)(fl(e))();return Gt(t.initialState)(n)}},setState:tu}},Pl=function(){var t=function(e){return function(r){return{initialize:function(n){return Nr(new q(r.initialState))(e)},getState:function(n){return ru(Gt(r.initialState))(mn(e))},setState:function(n){return function(a){return function(o){return function(){return Nr(new q(a))(e)(),tu(n)(a)(Lg(ot))(),o()}}}}}}};return ru(t)(sa($.value))}();var Ag=ht(Ke);var Al=il(),Za=ne(yt),jg=eu(Yi),jl=O(yt),Rg=eu(al(rl)),Hg=_e(ge),Ng=pe(nr),kg=ii(me)(Yt),Wg=Hg(Ie),Rl=Kt(ca),Og=hs(rr),Ug=ht(Ro(Vo(jo))),Hl=function(t){return t},nu=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),$g={map:function(t){return function(e){return new nu(t(e.value0),e.value1)}}};var qg={apply:function(t){return function(e){return new nu(t.value0(e.value0),Ag(t.value1)(e.value1))}},Functor0:function(){return $g}};var Ve={pure:function(t){return new nu(t,[])},Apply0:function(){return qg}};var Nl=function(t){return function(e){var r=Al("__unmounted"),n=Al("__subscriptions"),a=function(h){return function(_){return function(v){return function(){var p=Za(Bn(h))(function(m){return m.init})();return e({initialState:p.value0}).setState(h)(_)(v)()}}}},o=function(){var h=jl(Gt(!1)),_=jg("__unmounted");return function(v){return h(_(v))}}(),i=function(){var h=jl(Gt([])),_=Rg("__subscriptions");return function(v){return h(_(v))}}(),s=function(h){return function(){return Ng(kg)(i(h))(),n([])(h)()}},u=function(h){return function(){var v=Za(Bn(h))(function(x){return x.init})();return e({initialState:v.value0}).getState(h)()}},f=function(h){return function(_){return function(){var x=i(h)();return n(tl(ir(_))(x))(h)()}}},l=function(h){return function(_){var v=function(x){return ir(Wg(Sn(0))(function(){return x({dispatch:function(){var p=D(_);return function(m){return Rl(p(m))}}(),onStop:f(_)})}))};return $o(h)(v)}},D=function(h){return function(_){return Og(o(h))(function(){var x=u(h)(),p=Za(Bn(h))(function(d){return d.update})(),m=p(x)(_);return a(h)(m.value0)(l(m.value1)(h))()})}},c=function(h){return function(){var v=u(h)(),x=Za(Bn(h))(function(p){return p.view})();return x(v)(D(h))}};return function(h){return wl(t,{def:h,init:e({initialState:h.init.value0}).initialize,render:c,componentDidMount:l(h.init.value1),componentWillUnmount:Ug(r(!0))(s)})}}},kl=function(t){return function(){var r=Rl(Pl)();return Il(function(n){return Nl(n)(r)(t)})}},au=function(t){return function(e){return Ml(t,function(r){var n=Nl(r)(Ll);return function(a){return n(e(a))}})}};var Bg=K(Ve),Vg=lt(mt),ou=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}();var zg=function(t){return Hl(Cl(t))},Wl=function(t){return new ou(function(e){return e(t)})},iu=function(t){return function(e){return new ou(function(r){return au(t)(e)(r)})}},Gg=function(t){return function(e){return au(t)(function(r){return{init:Bg(ot),update:pt(_r),view:pt(pt(e.value0(Vg)))}})(ot)}};var Ol=function(t){var e=zg({skipFrames:3,prefix:"HooksComponent"});return Gg(e)(t)},Ul=function(){return function(t){return function(e){return new ou(function(r){return t.value0(function(n){var a=e(n);return a.value0(r)})})}}};var $l=So(Si()),ql=$l.Fragment;var to=G,wr=On()(Be)(ql)({}),ze=!1;var Vn=function(){return window};var uu=G;var eo=function(t){var e=K(t.Applicative0()),r=Ce(t.Plus1());return function(n){if(n)return e(ot);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 zn(t){return function(){return t.document}}function zl(t){return function(e){return function(){return e.getElementById(t)}}}var ry=O(yt),cu=function(t){var e=ry(Nt),r=zl(t);return function(n){return e(r(n))}};var ro=function(t){return function(e){return function(){return e[t]}}},ny=ro("children"),ay=ro("firstElementChild"),oy=ro("lastElementChild"),iy=ro("childElementCount");var Gl=Gt(ze),Gn=zt(Ht(ze));var Jn=dr(pr),sy=Ma(),fy=Ir(pr)()(),cy=Ir(Be)()();var Jl=function(){return function(t){var e=Jn("modal-backdrop fade show")(ze),r=sy(t),n=_i(r.footer),a=_i(r.header),o=Me(r.size)(Lo.value),i=Je(" ")([function(){var u=Me(r.scrollable)(!0);return u?"modal-dialog-scrollable":""}(),function(){var u=Me(r.centered)(!0);return u?"modal-dialog-centered":""}(),Yu(o),Me(r.dialogClass)("")]),s=Jn("modal fade show d-block")(fy("modal-dialog "+i)({style:Me(r.dialogStyle)(re({}))})(cy("modal-content "+Me(r.contentClass)(""))({style:Me(r.contentStyle)(re({}))})([Gn(a)(Jn("modal-header "+Me(r.headerClass)(""))),Jn("modal-body "+Me(r.bodyClass)(""))(r.body),Gn(n)(Jn("modal-footer "+Me(r.footerClass)("")))])));return wr([s,e])}};var lu=So(Yl());var ly=Ja(),py=Ma();var dy=function(){return function(){return ly(lu.default)}},my=dy()(),Xl=function(){return function(t){return my(py(t))}};var vy=Va();var hy=ct(xe),_y=Wn(vy(Ga({reflectSymbol:function(){return"value"}})(Ba)(qa))),gy=K(Ne);var pu=function(t){return Gt("")(hy(_y(he(t.target)))(function(e){return gy(e.value)}))};var Zl=K(Ve),yy=lt(mt);var Dy=function(t){return function(e){return function(r){return iu(t)(function(n){return e({init:Zl(r),update:function(a){return function(o){return Zl(o)}},view:hn(n)})})}}},en=function(t){return Dy("UseState")(yy)(t)};var by=typeof CV!="undefined"&&CV.pathInfo||typeof global!="undefined"&&global.CV&&global.CV.pathInfo||(t=>null);function tp(t,e){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(t,e)}function ep(t,e,r,n,a){return function(o,i){var s=t.newXHR(),u=t.fixupUrl(a.url,s);if(s.open(a.method||"GET",u,!0,a.username,a.password),a.headers)try{for(var f=0,l;(l=a.headers[f])!=null;f++)s.setRequestHeader(l.field,l.value)}catch(c){o(c)}var D=function(c){return function(){o(new Error(c))}};return s.onerror=D(r),s.ontimeout=D(e),s.onload=function(){i({status:s.status,statusText:s.statusText,headers:s.getAllResponseHeaders().split(`\r `).filter(function(c){return c.length>0}).map(function(c){var h=c.indexOf(":");return n(c.substring(0,h))(c.substring(h+2))}),body:s.response})},s.responseType=a.responseType,s.withCredentials=a.withCredentials,s.timeout=a.timeout,s.send(a.content),function(c,h,_){try{s.abort()}catch(v){return h(v)}return _()}}}var ao="application/json",rp="application/x-www-form-urlencoded";var np=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),ap=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),op=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),ip=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),up=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),du=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),oo=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),sp=function(t){return t instanceof du?new q(rp):t instanceof oo?new q(ao):$.value};var fp=function(){return oo.create}();var cp=Fe();var io=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),uo=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),rn=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),lp=function(t){if(t instanceof io||t instanceof uo)return cp(t.value0);if(t instanceof rn)return t.value1;throw new Error("Failed pattern match at Affjax.RequestHeader (line 26, column 1 - line 26, column 33): "+[t.constructor.name])};var mu=function(t){if(t instanceof io)return"Accept";if(t instanceof uo)return"Content-Type";if(t instanceof rn)return t.value0;throw new Error("Failed pattern match at Affjax.RequestHeader (line 21, column 1 - line 21, column 32): "+[t.constructor.name])};var pp=lt(mt),vu=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),hu=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),_u=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),so=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),fo=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),co=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),dp=function(t){if(t instanceof vu)return"arraybuffer";if(t instanceof hu)return"blob";if(t instanceof _u)return"document";if(t instanceof so||t instanceof fo)return"text";if(t instanceof co)return"";throw new Error("Failed pattern match at Affjax.ResponseFormat (line 44, column 3 - line 50, column 19): "+[t.constructor.name])},mp=function(t){return t instanceof so?new q(ao):$.value},vp=function(){return new fo(pp)}();var hp=function(){return new co(pp)}();var _p=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}();var Ey=Fe();var gp=function(t){return Ey(Xo(t))};function Le(t){return t}function gu(t){return JSON.stringify(t)}var yp=Le($a);function Dp(t,e,r){try{return e(JSON.parse(r))}catch(n){return t(n.message)}}var lo=function(t){return Dp(X.create,tt.create,t)};function xy(t){return t.replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16)})}function bp(t,e,r){try{return e(xy(encodeURIComponent(r)).replace(/%20/g,"+"))}catch(n){return t(n)}}var po=function(){return Ua(bp)(pt($.value))(q.create)}();var Cy=It(tr),Tp=O(Lt),Fy=Ae(xn)(Ne);var My=function(t){return t};var Ep=function(){var t=function(n){if(n.value1 instanceof $)return po(n.value0);if(n.value1 instanceof q)return Cy(Tp(function(a){return function(o){return a+("="+o)}})(po(n.value0)))(po(n.value1.value0));throw new Error("Failed pattern match at Data.FormURLEncoded (line 37, column 16 - line 39, column 114): "+[n.constructor.name])},e=Tp(Je("&")),r=Fy(t);return function(n){return e(r(My(n)))}}();var yu=function(){function t(){}return t.value=new t,t}(),Sr=function(){function t(){}return t.value=new t,t}(),Du=function(){function t(){}return t.value=new t,t}(),nn=function(){function t(){}return t.value=new t,t}(),mo=function(){function t(){}return t.value=new t,t}(),Qn=function(){function t(){}return t.value=new t,t}(),bu=function(){function t(){}return t.value=new t,t}(),Tu=function(){function t(){}return t.value=new t,t}(),Eu=function(){function t(){}return t.value=new t,t}(),xu=function(){function t(){}return t.value=new t,t}(),Cu=function(){function t(){}return t.value=new t,t}(),Fu=function(){function t(){}return t.value=new t,t}(),Mu=function(){function t(){}return t.value=new t,t}(),Iu=function(){function t(){}return t.value=new t,t}(),wu=function(){function t(){}return t.value=new t,t}(),vo=function(){function t(){}return t.value=new t,t}();var Iy=function(t){return t},wy={show:function(t){if(t instanceof yu)return"OPTIONS";if(t instanceof Sr)return"GET";if(t instanceof Du)return"HEAD";if(t instanceof nn)return"POST";if(t instanceof mo)return"PUT";if(t instanceof Qn)return"DELETE";if(t instanceof bu)return"TRACE";if(t instanceof Tu)return"CONNECT";if(t instanceof Eu)return"PROPFIND";if(t instanceof xu)return"PROPPATCH";if(t instanceof Cu)return"MKCOL";if(t instanceof Fu)return"COPY";if(t instanceof Mu)return"MOVE";if(t instanceof Iu)return"LOCK";if(t instanceof wu)return"UNLOCK";if(t instanceof vo)return"PATCH";throw new Error("Failed pattern match at Data.HTTP.Method (line 43, column 1 - line 59, column 23): "+[t.constructor.name])}};var xp=Jt(dt(wy))(Iy);var Cp={eq:function(t){return function(e){return t instanceof yu&&e instanceof yu||t instanceof Sr&&e instanceof Sr||t instanceof Du&&e instanceof Du||t instanceof nn&&e instanceof nn||t instanceof mo&&e instanceof mo||t instanceof Qn&&e instanceof Qn||t instanceof bu&&e instanceof bu||t instanceof Tu&&e instanceof Tu||t instanceof Eu&&e instanceof Eu||t instanceof xu&&e instanceof xu||t instanceof Cu&&e instanceof Cu||t instanceof Fu&&e instanceof Fu||t instanceof Mu&&e instanceof Mu||t instanceof Iu&&e instanceof Iu||t instanceof wu&&e instanceof wu||t instanceof vo&&e instanceof vo}}};var Fp=function(t){return wn(function(e){return function(){var n=t(function(a){return e(X.create(a))()},function(a){return e(tt.create(a))()});return function(a){return wn(function(o){return function(){return n(a,function(s){return o(X.create(s))()},function(s){return o(tt.create(s))()}),Hf}})}}})};var Su=K(gn(br)),Sy=hi(br),Lr=Tf(br),Mp=ie(Ns(sf)(br)),Ly=ko(Zo(br)),ho=O(Lt),Py=Er(Yt)(De),Ay=bt(Qe),jy=pe(xe),Ry=O(ae),Hy=ne(yi),Ny=ua(Rf),ky=K(xr);var _o=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),go=function(){function t(e,r){this.value0=e,this.value1=r}return t.create=function(e){return function(r){return new t(e,r)}},t}(),yo=function(){function t(){}return t.value=new t,t}(),Do=function(){function t(){}return t.value=new t,t}(),bo=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Ip=function(t){return function(e){var r=function(l){return l===""?Su(yp):Jt(function(D){return Sy(vi.create(D))})(Su)(lo(l))},n=function(){if(e.responseFormat instanceof vu)return Lr("ArrayBuffer");if(e.responseFormat instanceof hu)return Lr("Blob");if(e.responseFormat instanceof _u)return function(l){return Mp(Lr("Document")(l))(Mp(Lr("XMLDocument")(l))(Lr("HTMLDocument")(l)))};if(e.responseFormat instanceof so)return Ly(function(l){return e.responseFormat.value0(r(l))})(Lr("String"));if(e.responseFormat instanceof fo)return Lr("String");if(e.responseFormat instanceof co)return pt(e.responseFormat.value0(Su(ot)));throw new Error("Failed pattern match at Affjax (line 274, column 18 - line 283, column 57): "+[e.responseFormat.constructor.name])}(),a=function(l){if(l instanceof np)return new tt(l.value0(he));if(l instanceof ap)return new tt(he(l.value0));if(l instanceof op)return new tt(he(l.value0));if(l instanceof ip)return new tt(he(l.value0));if(l instanceof up)return new tt(he(l.value0));if(l instanceof du)return Uo("Body contains values that cannot be encoded as application/x-www-form-urlencoded")(ho(he)(Ep(l.value0)));if(l instanceof oo)return new tt(he(gu(l.value0)));throw new Error("Failed pattern match at Affjax (line 235, column 20 - line 250, column 69): "+[l.constructor.name])},o=function(l){return function(D){return l instanceof q&&!Py(Ao(Ay)(mu)(l.value0))(D)?Xc(D)(l.value0):D}},i=function(l){return o(ho(uo.create)(jy(sp)(l)))(o(ho(io.create)(mp(e.responseFormat)))(e.headers))},s=function(l){return{method:xp(e.method),url:e.url,headers:Ry(function(D){return{field:mu(D),value:lp(D)}})(i(e.content)),content:l,responseType:dp(e.responseFormat),username:tn(e.username),password:tn(e.password),withCredentials:e.withCredentials,timeout:Gt(0)(ho(function(D){return D})(e.timeout))}},u=function(l){return Hy(Ny(Fp(ep(t,"AffjaxTimeoutErrorMessageIdent","AffjaxRequestFailedMessageIdent",_p.create,s(l)))))(function(D){if(D instanceof tt){var c=gp(n(D.value0.body));if(c instanceof X)return new X(new go(mf(c.value0),D.value0));if(c instanceof tt)return new tt({headers:D.value0.headers,status:D.value0.status,statusText:D.value0.statusText,body:c.value0});throw new Error("Failed pattern match at Affjax (line 209, column 9 - line 211, column 52): "+[c.constructor.name])}if(D instanceof X)return new X(function(){var h=Hr(D.value0),_=h==="AffjaxTimeoutErrorMessageIdent";if(_)return yo.value;var v=h==="AffjaxRequestFailedMessageIdent";return v?Do.value:new bo(D.value0)}());throw new Error("Failed pattern match at Affjax (line 207, column 144 - line 219, column 28): "+[D.constructor.name])})};if(e.content instanceof $)return u(tn($.value));if(e.content instanceof q){var f=a(e.content.value0);if(f instanceof tt)return u(tn(new q(f.value0)));if(f instanceof X)return ky(new X(new _o(f.value0)));throw new Error("Failed pattern match at Affjax (line 199, column 7 - line 203, column 48): "+[f.constructor.name])}throw new Error("Failed pattern match at Affjax (line 195, column 3 - line 203, column 48): "+[e.content.constructor.name])}};var an=function(){return{method:new X(Sr.value),url:"/",headers:[],content:$.value,username:$.value,password:$.value,withCredentials:!1,responseFormat:hp,timeout:$.value}}();var wp={eq:function(t){return function(e){return t===e}}};var Lu={newXHR:function(){return new XMLHttpRequest},fixupUrl:function(t){return t||"/"}};var Sp=Ip(Lu);function Lp(t){return Buffer.from(t).toString("base64")}function Pp(t,e,r){let n;try{n=e(btoa(r))}catch(a){n=t(a)}return n}var Pu=typeof btoa=="function";function Ap(t){let e=32768,r=[];for(let n=0;ne=>r=>n=>{let a=Vy[t];if(typeof console!="undefined"&&console[a]&&console[a](e,r),typeof window!="undefined"){let o=new Error(e);typeof window.Sentry!="undefined"&&window.Sentry.captureException(o,{extra:r})}return n()},kp=(t,e)=>(e.__sentryFingerprint=t,e);var Wp=function(t){return Xr(kp)(t)};var Op="error";var To=K(xr),zy=ye(bi),Up=ne(Lt),$p=Fe(),qp=dt(Ze),Gy=dt(Ee),Jy=lt(mt),Bp=ei(_a),Qy=ne(de),on=K(Ne),Vp=ct(Ie),Ky=bt(Cp),Yy=ct(pn),Xy=Tn(Yt)(wp),Zy=Oo(Ie),t0=Kt(ur);var e0=function(t){return t},zp={numParameters:0};var r0=function(t){var e=function(a){return Je(" ")([Ht("")(function(o){return"HTTP "+o})(Up(Up(a.status)($p))(qp)),a.path,Ht("")(function(o){return"reason="+Gy(o)})(a.reason)])},r=function(a){if(a.sentryFingerprint instanceof $)return Jy;if(a.sentryFingerprint instanceof q)return Wp(a.sentryFingerprint.value0);throw new Error("Failed pattern match at Utils.API (line 266, column 58 - line 268, column 53): "+[a.sentryFingerprint.constructor.name])},n=function(a){return r(a)(Rr(e(a)))};return Jt(function(a){return zy(n(a))})(t)},Gp=function(t){return t.numParameters},Jp=function(t){return{numParameters:1+Gp(t)|0}},n0=function(t){return fp(t)},Qp=r0(pt(To(ot)));var Kp=function(t){return function(e){return function(r){var n=function(o){if(o.body==="")return new tt(he({}));if($t)return Bp(function(i){return{path:t.path,reason:new q(i),status:$.value,retriable:!1,sentryFingerprint:$.value}})(Qy(lo(o.body))(he));throw new Error("Failed pattern match at Utils.API (line 190, column 5 - line 190, column 63): "+[o.constructor.name])},a=function(o){return e0(function(i){if(i instanceof _o)return{path:t.path,reason:new q(i.value0),status:$.value,retriable:!1,sentryFingerprint:on("ps-apierror-request-content-error-"+Pr(t.path))};if(i instanceof go)return{path:t.path,reason:new q(In(i.value0)),status:new q(i.value1.status),retriable:!1,sentryFingerprint:on("ps-apierror-response-body-error-"+Pr(t.path))};if(i instanceof yo)return{path:t.path,reason:new q("Request timeout"),status:$.value,retriable:!0,sentryFingerprint:on("ps-apierror-timeout-error-"+Pr(t.path))};if(i instanceof Do)return{path:t.path,reason:new q("Connection fail"),status:$.value,retriable:!0,sentryFingerprint:on("ps-apierror-request-failed-error-"+Pr(t.path))};if(i instanceof bo)return{path:t.path,reason:new q(Hr(i.value0)),status:$.value,retriable:!1,sentryFingerprint:on("ps-apierror-xhr-other-error-"+Pr(t.path))};throw new Error("Failed pattern match at Utils.API (line 198, column 33 - line 233, column 10): "+[i.constructor.name])}(o))};return Vp(Sp({username:an.username,password:an.password,withCredentials:an.withCredentials,timeout:an.timeout,method:new X(e),url:t.path,content:r,responseFormat:vp,headers:function(){var o=Ky(e)(Sr.value);return o?[new rn("Accept","application/json")]:[new rn("X-CSRF-Token",t.token),new rn("Accept","application/json")]}()}))(function(o){return To(Yy(Bp(a)(o))(function(i){var s=Xy(i.status)([200,201,204]);return s?new X({path:t.path,reason:new q(i.body),status:new q(i.status),retriable:!1,sentryFingerprint:on("ps-apierror-status-code-"+(qp($p(i.status))+("-"+Pr(t.path))))}):n(i)}))})}}},a0=function(t){return function(e){return function(r){var n=Nt(t);if(n instanceof $)return To(new X({path:"",reason:new q("Missing client-side endpoint"),status:$.value,retriable:!1,sentryFingerprint:$.value}));if(n instanceof q)return Vp(Kp(n.value0)(e)(r))(function(a){return a instanceof X&&a.value0.retriable?Kp(n.value0)(e)(r):To(a)});throw new Error("Failed pattern match at Utils.API (line 83, column 44 - line 92, column 22): "+[n.constructor.name])}}},o0=function(t){var e=Gp(t);return function(r){return function(n){return function(a){return tp({delegateAff:function(o){return Zy(t0(o))},numParameters:e,name:n,continuation:function(o){return a(a0(o)(r))}})}}}};var Yp=function(t){var e=o0(t);return function(r){return function(n){return e(nn.value)(r)(function(a){return n(function(o){return a(q.create(n0(o)))})})}}};var i0=_e(ge)(xe),u0=eo(No),s0=O(Lt),f0=dr(Se),ju=O(de),c0=It(ia),l0=function(t){return t};var p0={map:function(t){return function(e){if(e instanceof X)return new X(e.value0);if(e instanceof tt)return new tt(t(e.value0));throw new Error("Failed pattern match at Utils.Validation (line 24, column 32 - line 26, column 70): "+[e.constructor.name])}}},d0=function(t){return ds(t)},m0=function(t){return ps(t)},Xp=We(fa(De))(m0),Zp=function(t){return Gl(i0(u0(t.validationFailed))(function(){return s0(f0("invalid-feedback d-block"))(d0(t.validate(t.value)))}))},Eo=function(t){return t},td={apply:function(t){return function(e){return ju(l0)(c0(ju(Eo)(t))(ju(Eo)(e)))}},Functor0:function(){return p0}},Ru={pure:function(t){return new tt(t)},Apply0:function(){return td}},v0=K(Ru),Hu={bind:function(t){return function(e){if(t instanceof X)return new X(t.value0);if(t instanceof tt)return e(t.value0);throw new Error("Failed pattern match at Utils.Validation (line 36, column 33 - line 38, column 33): "+[t.constructor.name])}},Apply0:function(){return td}};var Nu=function(t){return new X(t)},ed=function(t){return function(e){if(e==="")return Nu(t);if($t)return v0(e);throw new Error("Failed pattern match at Utils.Validation (line 70, column 1 - line 70, column 71): "+[t.constructor.name,e.constructor.name])}};var h0=ct(Ie),rd=Yp(Jp(zp))("landing_ai_recruiter_phone_call_path")(function(t){return function(e){return h0(t(Eo(e)))(Qp)}});var nd=function(t){return function(e){return function(r){return function(n){try{return e(new RegExp(r,n))}catch(a){return t(a.message)}}}}};var ku=function(t){return function(e){var r=t.lastIndex,n=t.test(e);return t.lastIndex=r,n}};var ad={global:!1,ignoreCase:!0,multiline:!1,dotAll:!1,sticky:!1,unicode:!1};var _0=function(t){return function(){return t.global?"g":""}()+(function(){return t.ignoreCase?"i":""}()+(function(){return t.multiline?"m":""}()+(function(){return t.dotAll?"s":""}()+(function(){return t.sticky?"y":""}()+function(){return t.unicode?"u":""}()))))},od=function(t){return function(e){return nd(X.create)(tt.create)(t)(_0(e))}};var g0=lt(mt),id=function(t){return function(e){return Jt(or)(g0)(od(t)(e))}};var ud=ku(id("^([a-zA-Z0-9.!\\#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$)")(ad));var sd=K(Ru),Wu=ct(Hu),Ou=function(t){return ed("Please enter your "+t)},Uu=Ou("phone number"),$u=Ou("name"),y0=function(t){if(ud(t))return sd(t);if($t)return Nu("Please enter a valid email address");throw new Error("Failed pattern match at Trellis.Landing.Demo.Validation (line 57, column 1 - line 57, column 56): "+[t.constructor.name])},qu=Wo(Hu)(Ou("email"))(y0),fd=function(t){return Wu(qu(t.email))(function(e){return Wu($u(t.name))(function(r){return Wu(Uu(t.phone))(function(n){return sd({email:e,name:r,phone:n})})})})};var xo=function(t){return function(){console.error(t)}};var hd=function(t){var e=Kt(t);return function(r){return e(xo(r))}};var C0=K(me),_d=ct(nr),F0=O(yt),M0=hd(ca),gd=function(t){var e=function(n){var a=t(n);return zi(a.view(a.init.value0)(pt(C0(ot))))},r=function(n){return function(a){return function(o){return function(){var s=_d(_d(Vn)(function(){var f=F0(uu);return function(l){return f(zn(l))}}()))(cu(a))();if(s instanceof $)return M0("Element #"+(a+" not found"))();if(s instanceof q){var u=kl(t(o))();return n(u)(s.value0)()}throw new Error("Failed pattern match at Elmish.Boot (line 117, column 11 - line 122, column 21): "+[s.constructor.name])}}}};return{mount:r(ul),renderToString:e,hydrate:r(sl)}};var yd={parseOrPanic:function(t){return function(e){var r=t.parse(e);if(r instanceof tt)return r.value0;if(r instanceof X)return Au(Op)("Failed to parse "+t.diagnosticName)({error:r.value0,value:e})(function(n){return t.default});throw new Error("Failed pattern match at Utils.Parse (line 49, column 5 - line 57, column 24): "+[r.constructor.name])}}},Dd=function(t){return t.parseOrPanic};var I0=Dd(yd),w0=ct(pn),bd=K(Ve),Td=function(t){var e=kn(t);return function(r){return gd(I0({parse:function(n){return w0(e(n))(function(a){return Ht(new X("Component construction failed"))(tt.create)(r.def(a))})},diagnosticName:"Props for "+r.diagnosticName,default:{init:bd(ot),update:function(n){return function(a){return bd(ot)}},view:function(n){return function(a){return ze}}}}))}};var S0=$n(Be)()(),Ge=dr(Se),Kn=dr(pr),L0=yl(pr),Yn=dr(Be),Ed=Dl()(),xd=Of(Wf),P0=$n(pr)()(),Cd=Ir(Se)()(),A0=Jl(),j0=dt(Ho),Xn=Ul(),R0=ne(Lt),Bu=Ia(Ti),H0=_e(ge),Co=H0(Ie),Fo=Kt(ur),Mo=Ir(Be)()(),Vu=Ir(pr)()(),N0=Xl(),Fd=$n(Se)()(),Md=gl(Se),k0=bl(Se),W0=El(Se)()(),O0=K(Ve),zu=function(){function t(){}return t.value=new t,t}(),Gu=function(){function t(){}return t.value=new t,t}(),Zn=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),Io=function(){function t(e){this.value0=e}return t.create=function(e){return new t(e)},t}(),U0=function(t){var e=function(u){return function(f){return S0(u+" btn w-100 flex-row rounded-pill justify-content-between align-items-center bg-dark-purple-gradient text-white t--trellis-phone-call")({onClick:f.onClick,style:f.style})([Ge("ps-4")("Have Sarah call now"),Kn("bg-white text-body d-flex rounded-circle")(Ge("material-symbol m-3")("call"))])}},r=function(u){return wr([e("d-none d-md-flex")({onClick:u,style:re({fontSize:"64px"})}),e("d-flex d-md-none")({onClick:u,style:re({})})])},n=function(u){var f=function(l){return"form-control form-control-flush bg-canopy-black-900 text-start text-white "+(function(){var D=u.validationFailed&&Xp(u.validate(u.value));return D?"is-invalid ":""}()+l)};return L0("form-label mt-3 w-100")(Yn("row")([Yn("col-12 col-md-auto")([Ge("display-2 text-nowrap d-none d-md-block")(u.text),Ge("text-nowrap d-md-none")(u.text)]),Kn("col-12 col-md")(Yn("p-0 p-md-4")([Ed(f("d-none d-md-block"))({onChange:xd(u.onChange)(pu),placeholder:u.placeholder,type:u.type,value:u.value}),Ed(f("d-md-none"))({onChange:xd(u.onChange)(pu),placeholder:u.placeholder,type:u.type,value:u.value}),Zp(u)]))]))},a=function(u){return P0("btn btn-link large mr-n3 py-0 fe fe-x text-white t--close")({type:"button",onClick:u})(ze)},o=wr([Cd("d-none d-md-block mt-4")({style:re({fontSize:"42px"})})("Monza University AI Recruiter calling\u2026"),Ge("d-md-none mt-4")("Monza University AI Recruiter calling\u2026")]),i=function(u){return function(f){return A0({contentClass:"bg-canopy-black-900 text-white d-flex flex-column flex-grow-1 mt-12",contentStyle:re({borderRadius:"40px 40px 0 0"}),dialogClass:"h-100 w-100 my-0 d-flex flex-column",dialogStyle:re({maxWidth:"100%",transform:function(){if(u instanceof zu)return"translateY(0)";if(u instanceof Gu)return"translateY(100%)";throw new Error("Failed pattern match at EntryPoints.Trellis.Landing.DemoV2 (line 195, column 26 - line 197, column 47): "+[u.constructor.name])}(),transition:"transform "+(j0(350/1e3)+"s ease-in-out")}),scrollable:!1,centered:!1,body:f})}},s=Ol(Xn(en($.value))(function(u){return Xn(en(""))(function(f){return Xn(en(""))(function(l){return Xn(en(""))(function(D){return Xn(en(!1))(function(c){var h=function(p){return R0(u.value0)(function(m){if(m instanceof Zn)return new Zn(p);if(m instanceof Io)return new Io(p);throw new Error("Failed pattern match at EntryPoints.Trellis.Landing.DemoV2 (line 62, column 47 - line 64, column 37): "+[m.constructor.name])})},_=Bu(ir(Co(Fo(u.value1(new q(new Zn(Gu.value)))))(function(){return Co(Sn(0))(function(){return Fo(u.value1(new q(new Zn(zu.value))))})}))),v=Bu(function(){var p=fd({email:D.value0,name:f.value0,phone:l.value0});if(p instanceof X)return c.value1(!0);if(p instanceof tt)return function(){return ir(rd(p.value0))(),u.value1(new q(new Io(zu.value)))()};throw new Error("Failed pattern match at EntryPoints.Trellis.Landing.DemoV2 (line 77, column 11 - line 82, column 49): "+[p.constructor.name])}()),x=Bu(ir(Co(Fo(u.value1(h(Gu.value))))(function(){return Co(Sn(350))(function(){return Fo(u.value1($.value))})})));return Wl(wr([Mo("d-flex flex-column justify-content-between p-8 w-100")({style:re({borderRadius:"15px",border:"5px solid #1a1c1e",backgroundColor:"#232427"}),id:"ai-recruiter-demo"})([Vu("rounded bg-lilac-500 rounded-circle p-5 mx-auto")({style:re({width:"80px",height:"80px"})})(N0({animationData:Ku,loop:!0})),Mo("mt-5 text-white fw-bold font-weight-bold")({style:re({fontSize:"2.1rem",lineHeight:"2.6rem"})})([to("Talk to an"),Tl(""),to("AI Recruiter")]),Fd("t--trellis-phone-call-start btn bg-white px-5 mt-5 mx-auto")({onClick:_})("Get a call from AI")]),Gn(u.value0)(function(p){if(p instanceof Zn)return i(p.value0)(Mo("mx-auto")({style:re({maxWidth:"1140px"})})([Yn("d-flex justify-content-between align-items-start")([Md("lead d-none d-md-block")("Talk to Sarah from Monza University, a fictional school!"),Md("d-md-none")("Talk to Sarah from Monza University, a fictional school!"),a(x)]),n({text:"My name is:",placeholder:"Enter your name",value:f.value0,onChange:f.value1,type:"text",validationFailed:c.value0,validate:$u}),n({text:"Sarah should call this number:",placeholder:"Enter your phone number",value:l.value0,onChange:l.value1,type:"tel",validationFailed:c.value0,validate:Uu}),n({text:"My email address is:",placeholder:"Enter your email",value:D.value0,onChange:D.value1,type:"email",validationFailed:c.value0,validate:qu}),Kn("mt-4")(r(v))]));if(p instanceof Io)return i(p.value0)(Yn("d-flex flex-column align-items-center")([Kn("w-100 d-flex justify-content-end")(a(x)),Vu("mt-8 bg-lilac d-flex rounded-circle")({style:re({fontSize:"72px"})})(Ge("material-symbol m-3")("call")),o,Ge("")(l.value0),Kn("")(k0("")("Note: Your call will be recorded for quality assurance purposes.")),Mo("mt-5 bg-canopy-black rounded text-center p-5")({style:re({maxWidth:"752px"})})([Ge("")("Monza\u2019s demo AI Recruiter is only 7% trained."),Vu("mt-3 progress progress-md bg-canopy-black-900 mx-auto")({style:re({maxWidth:"100px"})})(Cd("progress-bar rounded")({style:re({width:"5%"})})("")),Ge("mt-3")(` Your fully trained AI Recruiter will know everything about your school after a completed knowledge base, interviews with staff, configured personality, and more. `)]),W0("t--trellis-demo btn btn-white bg-white text-body fw-normal mt-5 px-6")({href:t.bookDemoUrl,target:"_blank"})("Book a demo"),Fd("btn btn-link text-white mt-3")({onClick:x})("Close")]));throw new Error("Failed pattern match at EntryPoints.Trellis.Landing.DemoV2 (line 105, column 31 - line 178, column 18): "+[p.constructor.name])})]))})})})})}));return{init:O0(ot),update:pt(_r),view:pt(pt(s))}},$0=Td(Va()(Ga({reflectSymbol:function(){return"bookDemoUrl"}})(Ba)(qa)))({def:function(t){return q.create(U0(t))},diagnosticName:"Trellis/Landing/DemoV2"});return q0;})(); /* object-assign (c) Sindre Sorhus @license MIT */ /*! Transformation Matrix v2.0 (c) Epistemex 2014-2015 www.epistemex.com By Ken Fyrstenberg Contributions by leeoniya. License: MIT, header required. */ /** @license React v17.0.2 * react-dom-server.browser.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /** @license React v17.0.2 * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ //! goToAndStop must be relative to the start of the current segment