PageSourceSearch

https://www.richardrasmussen.com.br/assets/vendor-dotlottie-player-component-5ED_Q4va.js

js richardrasmussen.com.br collected 2026-09-25 01:51:23 UTC 1,979,620 bytes, 852 lines download raw bytes

vendor: 7,588 bytes, lines 1-2
1import{_ as __vitePreload}from"./pdf-B-NwQtV1.js";var N=window,R$2=N.ShadowRoot&&(N.ShadyCSS===void 0||N.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,M$2=Symbol(),tt$2=new WeakMap,S=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==M$2)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(R$2&&t===void 0){let i=e!==void 0&&e.length===1;i&&(t=tt$2.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&tt$2.set(e,t))}return t}toString(){return this.cssText}},et$2=t=>new S(typeof t=="string"?t:t+"",void 0,M$2),j$1=(t,...e)=>{let i=t.length===1?t[0]:e.reduce((r,o,Zt)=>r+(tr=>{if(tr._$cssResult$===!0)return tr.cssText;if(typeof tr=="number")return tr;throw Error("Value passed to 'css' function must be a 'css' function result: "+tr+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[Zt+1],t[0]);return new S(i,t,M$2)},L$3=(t,e)=>{R$2?t.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):e.forEach(i=>{let r=document.createElement("style"),o=N.litNonce;o!==void 0&&r.setAttribute("nonce",o),r.textContent=i.cssText,t.appendChild(r)})},O$3=R$2?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let i="";for(let r of e.cssRules)i+=r.cssText;return et$2(i)})(t):t,B,T$2=window,ot$2=T$2.trustedTypes,xt$2=ot$2?ot$2.emptyScript:"",it$2=T$2.reactiveElementPolyfillSupport,I$2={toAttribute(t,e){switch(e){case Boolean:t=t?xt$2:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let i=t;switch(e){case Boolean:i=t!==null;break;case Number:i=t===null?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t)}catch{i=null}}return i}},rt$2=(t,e)=>e!==t&&(e==e||t==t),D$3={attribute:!0,type:String,converter:I$2,reflect:!1,hasChanged:rt$2},V$2="finalized",f$1=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var i;this.finalize(),((i=this.h)!==null&&i!==void 0?i:this.h=[]).push(e)}static get observedAttributes(){this.finalize();let e=[];return this.elementProperties.forEach((i,r)=>{let o=this._$Ep(r,i);o!==void 0&&(this._$Ev.set(o,r),e.push(o))}),e}static createProperty(e,i=D$3){if(i.state&&(i.attribute=!1),this.finalize(),this.elementProperties.set(e,i),!i.noAccessor&&!this.prototype.hasOwnProperty(e)){let r=typeof e=="symbol"?Symbol():"__"+e,o=this.getPropertyDescriptor(e,r,i);o!==void 0&&Object.defineProperty(this.prototype,e,o)}}static getPropertyDescriptor(e,i,r){return{get(){return this[i]},set(o){let Zt=this[e];this[i]=o,this.requestUpdate(e,Zt,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||D$3}static finalize(){if(this.hasOwnProperty(V$2))return!1;this[V$2]=!0;let e=Object.getPrototypeOf(this);if(e.finalize(),e.h!==void 0&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let i=this.properties,r=[...Object.getOwnPropertyNames(i),...Object.getOwnPropertySymbols(i)];for(let o of r)this.createProperty(o,i[o])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){let i=[];if(Array.isArray(e)){let r=new Set(e.flat(1/0).reverse());for(let o of r)i.unshift(O$3(o))}else e!==void 0&&i.push(O$3(e));return i}static _$Ep(e,i){let r=i.attribute;return r===!1?void 0:typeof r=="string"?r:typeof e=="string"?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(i=>this.enableUpdating=i),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(e=this.constructor.h)===null||e===void 0||e.forEach(i=>i(this))}addController(e){var i,r;((i=this._$ES)!==null&&i!==void 0?i:this._$ES=[]).push(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)===null||r===void 0||r.call(e))}removeController(e){var i;(i=this._$ES)===null||i===void 0||i.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,i)=>{this.hasOwnProperty(i)&&(this._$Ei.set(i,this[i]),delete this[i])})}createRenderRoot(){var e;let i=(e=this.shadowRoot)!==null&&e!==void 0?e:this.attachShadow(this.constructor.shadowRootOptions);return L$3(i,this.constructor.elementStyles),i}connectedCallback(){var e;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$ES)===null||e===void 0||e.forEach(i=>{var r;return(r=i.hostConnected)===null||r===void 0?void 0:r.call(i)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var r;return(r=i.hostDisconnected)===null||r===void 0?void 0:r.call(i)})}attributeChangedCallback(e,i,r){this._$AK(e,r)}_$EO(e,i,r=D$3){var o;let Zt=this.constructor._$Ep(e,r);if(Zt!==void 0&&r.reflect===!0){let tr=(((o=r.converter)===null||o===void 0?void 0:o.toAttribute)!==void 0?r.converter:I$2).toAttribute(i,r.type);this._$El=e,tr==null?this.removeAttribute(Zt):this.setAttribute(Zt,tr),this._$El=null}}_$AK(e,i){var r;let o=this.constructor,Zt=o._$Ev.get(e);if(Zt!==void 0&&this._$El!==Zt){let tr=o.getPropertyOptions(Zt),ar=typeof tr.converter=="function"?{fromAttribute:tr.converter}:((r=tr.converter)===null||r===void 0?void 0:r.fromAttribute)!==void 0?tr.converter:I$2;this._$El=Zt,this[Zt]=ar.fromAttribute(i,tr.type),this._$El=null}}requestUpdate(e,i,r){let o=!0;e!==void 0&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||rt$2)(this[e],i)?(this._$AL.has(e)||this._$AL.set(e,i),r.reflect===!0&&this._$El!==e&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(e,r))):o=!1),!this.isUpdatePending&&o&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(i){Promise.reject(i)}let e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((o,Zt)=>this[Zt]=o),this._$Ei=void 0);let i=!1,r=this._$AL;try{i=this.shouldUpdate(r),i?(this.willUpdate(r),(e=this._$ES)===null||e===void 0||e.forEach(o=>{var Zt;return(Zt=o.hostUpdate)===null||Zt===void 0?void 0:Zt.call(o)}),this.update(r)):this._$Ek()}catch(o){throw i=!1,this._$Ek(),o}i&&this._$AE(r)}willUpdate(e){}_$AE(e){var i;(i=this._$ES)===null||i===void 0||i.forEach(r=>{var o;return(o=r.hostUpdated)===null||o===void 0?void 0:o.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){this._$EC!==void 0&&(this._$EC.forEach((i,r)=>this._$EO(r,this[r],i)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}};f$1[V$2]=!0,f$1.elementProperties=new Map,f$1.elementStyles=[],f$1.shadowRootOptions={mode:"open"},it$2?.({ReactiveElement:f$1}),((B=T$2.reactiveElementVersions)!==null&&B!==void 0?B:T$2.reactiveElementVersions=[]).push("1.6.3");var K$1,z=window,y=z.trustedTypes,st$2=y?y.createPolicy("lit-html",{createHTML:t=>t}):void 0,q$1="$lit$",g$1=`lit$${(Math.random()+"").slice(9)}$`,dt$3="?"+g$1,yt$4=`<${dt$3}>`,m=document,k$2=()=>m.createComment(""),C=t=>t===null||typeof t!="object"&&typeof t!="function",ut$5=Array.isArray,_t$2=t=>ut$5(t)||typeof t?.[Symbol.iterator]=="function",W$1=`[ 	
2\f\r]`,E$2=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,nt$1=/-->/g,lt$1=/>/g,b$1=RegExp(`>|${W$1}(?:([^\\s"'>=/]+)(${W$1}*=${W$1}
vendor: 11,710 bytes, lines 2-139
2*(?:[^ 	
3\f\r"'\`<>=]|("|')|))|$)`,"g"),at$1=/'/g,ht$2=/"/g,vt$2=/^(?:script|style|textarea|title)$/i,ft$2=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),Ut$2=ft$2(1),x$2=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),ct$2=new WeakMap,$$1=m.createTreeWalker(m,129,null,!1);function gt$2(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return st$2!==void 0?st$2.createHTML(e):e}var At$1=(t,e)=>{let i=t.length-1,r=[],o,Zt=e===2?"<svg>":"",tr=E$2;for(let ar=0;ar<i;ar++){let ir=t[ar],fr,gr,nr=-1,rr=0;for(;rr<ir.length&&(tr.lastIndex=rr,gr=tr.exec(ir),gr!==null);)rr=tr.lastIndex,tr===E$2?gr[1]==="!--"?tr=nt$1:gr[1]!==void 0?tr=lt$1:gr[2]!==void 0?(vt$2.test(gr[2])&&(o=RegExp("</"+gr[2],"g")),tr=b$1):gr[3]!==void 0&&(tr=b$1):tr===b$1?gr[0]===">"?(tr=o??E$2,nr=-1):gr[1]===void 0?nr=-2:(nr=tr.lastIndex-gr[2].length,fr=gr[1],tr=gr[3]===void 0?b$1:gr[3]==='"'?ht$2:at$1):tr===ht$2||tr===at$1?tr=b$1:tr===nt$1||tr===lt$1?tr=E$2:(tr=b$1,o=void 0);let vr=tr===b$1&&t[ar+1].startsWith("/>")?" ":"";Zt+=tr===E$2?ir+yt$4:nr>=0?(r.push(fr),ir.slice(0,nr)+q$1+ir.slice(nr)+g$1+vr):ir+g$1+(nr===-2?(r.push(void 0),ar):vr)}return[gt$2(t,Zt+(t[i]||"<?>")+(e===2?"</svg>":"")),r]},U$1=class Zh{constructor({strings:e,_$litType$:i},r){let o;this.parts=[];let Zt=0,tr=0,ar=e.length-1,ir=this.parts,[fr,gr]=At$1(e,i);if(this.el=Zh.createElement(fr,r),$$1.currentNode=this.el.content,i===2){let nr=this.el.content,rr=nr.firstChild;rr.remove(),nr.append(...rr.childNodes)}for(;(o=$$1.nextNode())!==null&&ir.length<ar;){if(o.nodeType===1){if(o.hasAttributes()){let nr=[];for(let rr of o.getAttributeNames())if(rr.endsWith(q$1)||rr.startsWith(g$1)){let vr=gr[tr++];if(nr.push(rr),vr!==void 0){let cr=o.getAttribute(vr.toLowerCase()+q$1).split(g$1),ur=/([.?@])?(.*)/.exec(vr);ir.push({type:1,index:Zt,name:ur[2],strings:cr,ctor:ur[1]==="."?F$2:ur[1]==="?"?Z$2:ur[1]==="@"?G$2:A$1})}else ir.push({type:6,index:Zt})}for(let rr of nr)o.removeAttribute(rr)}if(vt$2.test(o.tagName)){let nr=o.textContent.split(g$1),rr=nr.length-1;if(rr>0){o.textContent=y?y.emptyScript:"";for(let vr=0;vr<rr;vr++)o.append(nr[vr],k$2()),$$1.nextNode(),ir.push({type:2,index:++Zt});o.append(nr[rr],k$2())}}}else if(o.nodeType===8)if(o.data===dt$3)ir.push({type:2,index:Zt});else{let nr=-1;for(;(nr=o.data.indexOf(g$1,nr+1))!==-1;)ir.push({type:7,index:Zt}),nr+=g$1.length-1}Zt++}}static createElement(e,i){let r=m.createElement("template");return r.innerHTML=e,r}};function _(t,e,i=t,r){var o,Zt,tr,ar;if(e===x$2)return e;let ir=r!==void 0?(o=i._$Co)===null||o===void 0?void 0:o[r]:i._$Cl,fr=C(e)?void 0:e._$litDirective$;return ir?.constructor!==fr&&((Zt=ir?._$AO)===null||Zt===void 0||Zt.call(ir,!1),fr===void 0?ir=void 0:(ir=new fr(t),ir._$AT(t,i,r)),r!==void 0?((tr=(ar=i)._$Co)!==null&&tr!==void 0?tr:ar._$Co=[])[r]=ir:i._$Cl=ir),ir!==void 0&&(e=_(t,ir._$AS(t,e.values),ir,r)),e}var J$1=class{constructor(e,i){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=i}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var i;let{el:{content:r},parts:o}=this._$AD,Zt=((i=e?.creationScope)!==null&&i!==void 0?i:m).importNode(r,!0);$$1.currentNode=Zt;let tr=$$1.nextNode(),ar=0,ir=0,fr=o[0];for(;fr!==void 0;){if(ar===fr.index){let gr;fr.type===2?gr=new P$1(tr,tr.nextSibling,this,e):fr.type===1?gr=new fr.ctor(tr,fr.name,fr.strings,this,e):fr.type===6&&(gr=new Q$1(tr,this,e)),this._$AV.push(gr),fr=o[++ir]}ar!==fr?.index&&(tr=$$1.nextNode(),ar++)}return $$1.currentNode=m,Zt}v(e){let i=0;for(let r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,i),i+=r.strings.length-2):r._$AI(e[i])),i++}},P$1=class Kh{constructor(e,i,r,o){var Zt;this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=o,this._$Cp=(Zt=o?.isConnected)===null||Zt===void 0||Zt}get _$AU(){var e,i;return(i=(e=this._$AM)===null||e===void 0?void 0:e._$AU)!==null&&i!==void 0?i:this._$Cp}get parentNode(){let e=this._$AA.parentNode,i=this._$AM;return i!==void 0&&e?.nodeType===11&&(e=i.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,i=this){e=_(this,e,i),C(e)?e===d||e==null||e===""?(this._$AH!==d&&this._$AR(),this._$AH=d):e!==this._$AH&&e!==x$2&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):_t$2(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==d&&C(this._$AH)?this._$AA.nextSibling.data=e:this.$(m.createTextNode(e)),this._$AH=e}g(e){var i;let{values:r,_$litType$:o}=e,Zt=typeof o=="number"?this._$AC(e):(o.el===void 0&&(o.el=U$1.createElement(gt$2(o.h,o.h[0]),this.options)),o);if(((i=this._$AH)===null||i===void 0?void 0:i._$AD)===Zt)this._$AH.v(r);else{let tr=new J$1(Zt,this),ar=tr.u(this.options);tr.v(r),this.$(ar),this._$AH=tr}}_$AC(e){let i=ct$2.get(e.strings);return i===void 0&&ct$2.set(e.strings,i=new U$1(e)),i}T(e){ut$5(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,o=0;for(let Zt of e)o===i.length?i.push(r=new Kh(this.k(k$2()),this.k(k$2()),this,this.options)):r=i[o],r._$AI(Zt),o++;o<i.length&&(this._$AR(r&&r._$AB.nextSibling,o),i.length=o)}_$AR(e=this._$AA.nextSibling,i){var r;for((r=this._$AP)===null||r===void 0||r.call(this,!1,!0,i);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var i;this._$AM===void 0&&(this._$Cp=e,(i=this._$AP)===null||i===void 0||i.call(this,e))}},A$1=class{constructor(e,i,r,o,Zt){this.type=1,this._$AH=d,this._$AN=void 0,this.element=e,this.name=i,this._$AM=o,this.options=Zt,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=d}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,i=this,r,o){let Zt=this.strings,tr=!1;if(Zt===void 0)e=_(this,e,i,0),tr=!C(e)||e!==this._$AH&&e!==x$2,tr&&(this._$AH=e);else{let ar=e,ir,fr;for(e=Zt[0],ir=0;ir<Zt.length-1;ir++)fr=_(this,ar[r+ir],i,ir),fr===x$2&&(fr=this._$AH[ir]),tr||(tr=!C(fr)||fr!==this._$AH[ir]),fr===d?e=d:e!==d&&(e+=(fr??"")+Zt[ir+1]),this._$AH[ir]=fr}tr&&!o&&this.j(e)}j(e){e===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}},F$2=class extends A$1{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===d?void 0:e}},wt$2=y?y.emptyScript:"",Z$2=class extends A$1{constructor(){super(...arguments),this.type=4}j(e){e&&e!==d?this.element.setAttribute(this.name,wt$2):this.element.removeAttribute(this.name)}},G$2=class extends A$1{constructor(e,i,r,o,Zt){super(e,i,r,o,Zt),this.type=5}_$AI(e,i=this){var r;if((e=(r=_(this,e,i,0))!==null&&r!==void 0?r:d)===x$2)return;let o=this._$AH,Zt=e===d&&o!==d||e.capture!==o.capture||e.once!==o.once||e.passive!==o.passive,tr=e!==d&&(o===d||Zt);Zt&&this.element.removeEventListener(this.name,this,o),tr&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var i,r;typeof this._$AH=="function"?this._$AH.call((r=(i=this.options)===null||i===void 0?void 0:i.host)!==null&&r!==void 0?r:this.element,e):this._$AH.handleEvent(e)}},Q$1=class{constructor(e,i,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=i,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){_(this,e)}},pt$2=z.litHtmlPolyfillSupport;pt$2?.(U$1,P$1),((K$1=z.litHtmlVersions)!==null&&K$1!==void 0?K$1:z.litHtmlVersions=[]).push("2.8.0");var bt$2=(t,e,i)=>{var r,o;let Zt=(r=i?.renderBefore)!==null&&r!==void 0?r:e,tr=Zt._$litPart$;if(tr===void 0){let ar=(o=i?.renderBefore)!==null&&o!==void 0?o:null;Zt._$litPart$=tr=new P$1(e.insertBefore(k$2(),ar),ar,void 0,i??{})}return tr._$AI(t),tr},X$1,Y$2,w$1=class extends f$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,i;let r=super.createRenderRoot();return(e=(i=this.renderOptions).renderBefore)!==null&&e!==void 0||(i.renderBefore=r.firstChild),r}update(e){let i=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=bt$2(i,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)===null||e===void 0||e.setConnected(!1)}render(){return x$2}};w$1.finalized=!0,w$1._$litElement$=!0,(X$1=globalThis.litElementHydrateSupport)===null||X$1===void 0||X$1.call(globalThis,{LitElement:w$1});var $t$2=globalThis.litElementPolyfillSupport;$t$2?.({LitElement:w$1});((Y$2=globalThis.litElementVersions)!==null&&Y$2!==void 0?Y$2:globalThis.litElementVersions=[]).push("3.3.3");var Kt=j$1`
4  @font-face {
5    font-family: 'Karla';
6    font-weight: regular;
7    src: url('./fonts/Karla-regular.woff') format('woff');
8  }
9
10  :host {
11    --lottie-player-toolbar-height: 35px;
12    --lottie-player-toolbar-background-color: transparent;
13    --lottie-player-toolbar-hover-background-color: #f3f6f8;
14    --lottie-player-toolbar-icon-color: #20272c;
15    --lottie-player-toolbar-icon-hover-color: #f3f6f8;
16    --lottie-player-toolbar-icon-active-color: #00ddb3;
17    --lottie-player-seeker-track-color: #00ddb3;
18    --lottie-player-seeker-accent-color: #00c1a2;
19    --lottie-player-seeker-thumb-color: #00c1a2;
20    --lottie-player-options-separator: #d9e0e6;
21
22    display: block;
23    width: 100%;
24    height: 100%;
25
26    font-family: 'Karla', sans-serif;
27    font-style: normal;
28    -webkit-font-smoothing: antialiased;
29    -moz-osx-font-smoothing: grayscale;
30  }
31
32  :host * {
33    box-sizing: border-box;
34  }
35
36  .active {
37    color: var(--lottie-player-toolbar-icon-active-color) !important;
38  }
39
40  .main {
41    position: relative;
42    display: flex;
43    flex-direction: column;
44    height: 100%;
45    width: 100%;
46  }
47
48  .animation {
49    position: relative;
50    width: 100%;
51    height: 100%;
52    display: flex;
53  }
54  .animation.controls {
55    height: calc(100% - var(--lottie-player-toolbar-height));
56  }
57
58  .toolbar {
59    display: flex;
60    align-items: center;
61    justify-items: center;
62    background-color: var(--lottie-player-toolbar-background-color);
63    margin: 0 8px;
64    height: var(--lottie-player-toolbar-height);
65  }
66
67  .btn-spacing-left {
68    margin-right: 4px;
69    margin-left: 8px;
70  }
71
72  .btn-spacing-center {
73    margin-right: 4px;
74    margin-left: 4px;
75  }
76
77  .btn-spacing-right {
78    margin-right: 8px;
79    margin-left: 4px;
80  }
81
82  .toolbar button {
83    color: #20272c;
84    cursor: pointer;
85    fill: var(--lottie-player-toolbar-icon-color);
86    display: flex;
87    background: none;
88    border: 0px;
89    border-radius: 4px;
90    padding: 4px;
91    outline: none;
92    width: 24px;
93    height: 24px;
94    align-items: center;
95  }
96
97  .toolbar button:hover {
98    background-color: var(--lottie-player-toolbar-icon-hover-color);
99    border-style: solid;
100    border-radius: 2px;
101  }
102
103  .toolbar button.active {
104    fill: var(--lottie-player-toolbar-icon-active-color);
105  }
106
107  .toolbar button.active:hover {
108    fill: var(--lottie-player-toolbar-icon-hover-color);
109    border-radius: 4px;
110  }
111
112  .toolbar button:focus-visible {
113    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
114    border-radius: 4px;
115    box-sizing: border-box;
116  }
117
118  .toolbar button svg {
119    width: 16px;
120    height: 16px;
121  }
122
123  .toolbar button.disabled svg {
124    display: none;
125  }
126
127  .popover {
128    position: absolute;
129    bottom: 40px;
130    left: calc(100% - 239px);
131    width: 224px;
132    min-height: 84px;
133    max-height: 300px;
134    background-color: #ffffff;
135    box-shadow: 0px 8px 48px 0px rgba(243, 246, 248, 0.15), 0px 8px 16px 0px rgba(61, 72, 83, 0.16),
136      0px 0px 1px 0px rgba(61, 72, 83, 0.36);
137    border-radius: 8px;
138    padding: 8px;
139    z-index: 100;
140    overflow-y: scroll;
141    scrollbar-width: none;
142  }
143  .popover:focus-visible {
144    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
145    border-radius: 4px;
146    box-sizing: border-box;
147  }
148
149  .popover::-webkit-scrollbar {
150    width: 0px;
151  }
152
153  .popover-button {
154    background: none;
155    border: none;
156    font-family: inherit;
157    width: 100%;
158    flex-direction: row;
159    cursor: pointer;
160    height: 32px;
161    color: #20272c;
162    justify-content: space-between;
163    display: flex;
164    padding: 4px 8px;
165    align-items: flex-start;
166    gap: 8px;
167    align-self: stretch;
168    border-radius: 4px;
169  }
170
171  .popover-button:focus-visible {
172    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
173    border-radius: 4px;
174    box-sizing: border-box;
175  }
176
177  .popover-button:hover {
178    background-color: var(--lottie-player-toolbar-hover-background-color);
179  }
180
181  .popover-button-text {
182    display: flex;
183    color: #20272c;
184    flex-direction: column;
185    align-self: stretch;
186    justify-content: center;
187    font-family: inherit;
188    font-size: 14px;
189    font-style: normal;
190    font-weight: 400;
191    line-height: 150%;
192    letter-spacing: -0.28px;
193  }
194
195  .reset-btn {
196    font-size: 12px;
197    cursor: pointer;
198    font-family: inherit;
199    background: none;
200    border: none;
201    font-weight: 400;
202    line-height: 18px;
203    letter-spacing: 0em;
204    text-align: left;
205    color: #63727e;
206    padding: 0;
207    width: 31px;
208    height: 18px;
209  }
210  .reset-btn:focus-visible {
211    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
212    border-radius: 4px;
213    box-sizing: border-box;
214  }
215  .reset-btn:hover {
216    color: #20272c;
217  }
218
219  .option-title-button {
220    display: flex;
221    flex-direction: row;
222    width: 100%;
223    height: 32px;
224    align-items: center;
225    gap: 4px;
226    align-self: stretch;
227    cursor: pointer;
228    color: var(--lottie-player-toolbar-icon-color);
229    border: none;
230    background: none;
231    padding: 4px;
232    font-family: inherit;
233    font-size: 16px;
234    font-weight: 700;
235    line-height: 150%;
236    letter-spacing: -0.32px;
237  }
238  .option-title-button.themes {
239    width: auto;
240    padding: 0;
241  }
242  .option-title-button:hover {
243    background-color: var(--lottie-player-toolbar-icon-hover-color);
244  }
245
246  .option-title-themes-row {
247    display: flex;
248    align-items: center;
249    gap: 8px;
250    flex: 1 0 0;
251  }
252  .option-title-themes-row:hover {
253    background-color: var(--lottie-player-toolbar-icon-hover-color);
254  }
255
256  .option-title-button:focus-visible {
257    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
258    border-radius: 4px;
259    box-sizing: border-box;
260  }
261
262  .option-title-text {
263    font-size: 16px;
264    font-style: normal;
265    font-weight: 700;
266    line-height: 150%;
267    letter-spacing: -0.32px;
268  }
269
270  .option-title-separator {
271    margin: 8px -8px;
272    border-bottom: 1px solid var(--lottie-player-options-separator);
273  }
274
275  .option-title-chevron {
276    display: flex;
277    padding: 4px;
278    border-radius: 8px;
279    justify-content: center;
280    align-items: center;
281    gap: 8px;
282  }
283
284  .option-row {
285    display: flex;
286    flex-direction: column;
287  }
288  .option-row > ul {
289    padding: 0;
290    margin: 0;
291  }
292
293  .option-button {
294    width: 100%;
295    background: none;
296    border: none;
297    font-family: inherit;
298    display: flex;
299    padding: 4px 8px;
300    color: #20272c;
301    overflow: hidden;
302    align-items: center;
303    gap: 8px;
304    align-self: stretch;
305    cursor: pointer;
306    height: 32px;
307    font-family: inherit;
308    font-size: 14px;
309    border-radius: 4px;
310  }
311  .option-button:hover {
312    background-color: var(--lottie-player-toolbar-hover-background-color);
313  }
314  .option-button:focus-visible {
315    outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
316    border-radius: 4px;
317    box-sizing: border-box;
318  }
319
320  .option-tick {
321    display: flex;
322    width: 24px;
323    height: 24px;
324    align-items: flex-start;
325    gap: 8px;
326  }
327
328  .seeker {
329    height: 4px;
330    width: 95%;
331    outline: none;
332    -webkit-appearance: none;
333    -moz-apperance: none;
334    border-radius: 9999px;
335    cursor: pointer;
336    background-image: linear-gradient(
337      to right,
338      rgb(0, 221, 179) calc(var(--seeker) * 1%),
339      rgb(217, 224, 230) calc(var(--seeker) * 1%)
340    );
341  }
342  .seeker.to-left {
343    background-image: linear-gradient(
344      to right,
345      rgb(217, 224, 230) calc(var(--seeker) * 1%),
346      rgb(0, 221, 179) calc(var(--seeker) * 1%)
347    );
348  }
349  .seeker::-webkit-slider-runnable-track:focus-visible {
350    color: #f07167;
351    accent-color: #00ddb3;
352  }
353
354  .seeker::-webkit-slider-runnable-track {
355    width: 100%;
356    height: 5px;
357    cursor: pointer;
358  }
359  .seeker::-webkit-slider-thumb {
360    -webkit-appearance: none;
361    height: 16px;
362    width: 16px;
363    border-radius: 50%;
364    background: var(--lottie-player-seeker-thumb-color);
365    cursor: pointer;
366    margin-top: -5px;
367  }
368  .seeker:focus-visible::-webkit-slider-thumb {
369    background: var(--lottie-player-seeker-thumb-color);
370    outline: 2px solid var(--lottie-player-seeker-track-color);
371    border: 1.5px solid #ffffff;
372  }
373  .seeker::-webkit-slider-thumb:hover {
374    background: #019d91;
375  }
376  .seeker::-moz-range-thumb {
377    appearance: none;
378    height: 16px;
379    width: 16px;
380    border-radius: 50%;
381    background: var(--lottie-player-seeker-thumb-color);
382    cursor: pointer;
383    margin-top: -5px;
384    border-color: transparent;
385  }
386  .seeker:focus-visible::-moz-range-thumb {
387    background: var(--lottie-player-seeker-thumb-color);
388    outline: 2px solid var(--lottie-player-seeker-track-color);
389    border: 1.5px solid #ffffff;
390  }
391
392  .error {
393    display: flex;
394    justify-content: center;
395    margin: auto;
396    height: 100%;
397    align-items: center;
398  }
399`,ee$1={}
vendor: 2,125 bytes, line 399
399,Be$1=function(t,e,i,r,o){var Zt=new Worker(ee$1[e]||(ee$1[e]=URL.createObjectURL(new Blob([t+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return Zt.onmessage=function(tr){var ar=tr.data,ir=ar.$e$;if(ir){var fr=new Error(ir[0]);fr.code=ir[1],fr.stack=ir[2],o(fr,null)}else o(null,ar)},Zt.postMessage(i,r),Zt},F$1=Uint8Array,Z$1=Uint16Array,le$1=Int32Array,zt$1=new F$1([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Dt$1=new F$1([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),ue$1=new F$1([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),he$1=function(t,e){for(var i=new Z$1(31),r=0;r<31;++r)i[r]=e+=1<<t[r-1];for(var o=new le$1(i[30]),r=1;r<30;++r)for(var Zt=i[r];Zt<i[r+1];++Zt)o[Zt]=Zt-i[r]<<5|r;return{b:i,r:o}},de$1=he$1(zt$1,2),Ut$1=de$1.b,Je$1=de$1.r;Ut$1[28]=258,Je$1[258]=28;var Re$1=he$1(Dt$1,0),ce$1=Re$1.b,gt$1=new Z$1(32768);for(b=0;b<32768;++b)K=(b&43690)>>1|(b&21845)<<1,K=(K&52428)>>2|(K&13107)<<2,K=(K&61680)>>4|(K&3855)<<4,gt$1[b]=((K&65280)>>8|(K&255)<<8)>>1;var K,b,rt$1=function(t,e,i){for(var r=t.length,o=0,Zt=new Z$1(e);o<r;++o)t[o]&&++Zt[t[o]-1];var tr=new Z$1(e);for(o=1;o<e;++o)tr[o]=tr[o-1]+Zt[o-1]<<1;var ar;if(i){ar=new Z$1(1<<e);var ir=15-e;for(o=0;o<r;++o)if(t[o])for(var fr=o<<4|t[o],gr=e-t[o],nr=tr[t[o]-1]++<<gr,rr=nr|(1<<gr)-1;nr<=rr;++nr)ar[gt$1[nr]>>ir]=fr}else for(ar=new Z$1(r),o=0;o<r;++o)t[o]&&(ar[o]=gt$1[tr[t[o]-1]++]>>15-t[o]);return ar},ht$1=new F$1(288);for(b=0;b<144;++b)ht$1[b]=8;var b;for(b=144;b<256;++b)ht$1[b]=9;var b;for(b=256;b<280;++b)ht$1[b]=7;var b;for(b=280;b<288;++b)ht$1[b]=8;var b,fe$1=new F$1(32);for(b=0;b<32;++b)fe$1[b]=5;var b,pe$1=rt$1(ht$1,9,1),me$1=rt$1(fe$1,5,1),vt$1=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},V$1=function(t,e,i){var r=e/8|0;return(t[r]|t[r+1]<<8)>>(e&7)&i},yt$3=function(t,e){var i=e/8|0;return(t[i]|t[i+1]<<8|t[i+2]<<16)>>(e&7)},_e$1=function(t){return(t+7)/8|0},bt$1=function(t,e,i){return(e==null||e<0)&&(e=0),(i==null||i>t.length)&&(i=t.length),new F$1(t.subarray(e,i))}
vendor: 4,877 bytes, line 399
399,ve$1=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],x$1=function(t,e,i){var r=new Error(e||ve$1[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,x$1),!i)throw r;return r},ye$1=function(t,e,i,r){var o=t.length,Zt=r?r.length:0;if(!o||e.f&&!e.l)return i||new F$1(0);var tr=!i,ar=tr||e.i!=2,ir=e.i;tr&&(i=new F$1(o*3));var fr=function($s){var sa=i.length;if($s>sa){var Rs=new F$1(Math.max(sa*2,$s));Rs.set(i),i=Rs}},gr=e.f||0,nr=e.p||0,rr=e.b||0,vr=e.l,cr=e.d,ur=e.m,Er=e.n,or=o*8;do{if(!vr){gr=V$1(t,nr,1);var sr=V$1(t,nr+1,3);if(nr+=3,sr)if(sr==1)vr=pe$1,cr=me$1,ur=9,Er=5;else if(sr==2){var pr=V$1(t,nr,31)+257,dr=V$1(t,nr+10,15)+4,Pr=pr+V$1(t,nr+5,31)+1;nr+=14;for(var Ir=new F$1(Pr),zr=new F$1(19),$r=0;$r<dr;++$r)zr[ue$1[$r]]=V$1(t,nr+$r*3,7);nr+=dr*3;for(var es=vt$1(zr),hs=(1<<es)-1,ps=rt$1(zr,es,1),$r=0;$r<Pr;){var os=ps[V$1(t,nr,hs)];nr+=os&15;var xs=os>>4;if(xs<16)Ir[$r++]=xs;else{var is=0,cs=0;for(xs==16?(cs=3+V$1(t,nr,3),nr+=2,is=Ir[$r-1]):xs==17?(cs=3+V$1(t,nr,7),nr+=3):xs==18&&(cs=11+V$1(t,nr,127),nr+=7);cs--;)Ir[$r++]=is}}var Ar=Ir.subarray(0,pr),Tr=Ir.subarray(pr);ur=vt$1(Ar),Er=vt$1(Tr),vr=rt$1(Ar,ur,1),cr=rt$1(Tr,Er,1)}else x$1(1);else{var xs=_e$1(nr)+4,yr=t[xs-4]|t[xs-3]<<8,Mr=xs+yr;if(Mr>o){ir&&x$1(0);break}ar&&fr(rr+yr),i.set(t.subarray(xs,Mr),rr),e.b=rr+=yr,e.p=nr=Mr*8,e.f=gr;continue}if(nr>or){ir&&x$1(0);break}}ar&&fr(rr+131072);for(var Ur=(1<<ur)-1,jr=(1<<Er)-1,Vs=nr;;Vs=nr){var is=vr[yt$3(t,nr)&Ur],Ts=is>>4;if(nr+=is&15,nr>or){ir&&x$1(0);break}if(is||x$1(2),Ts<256)i[rr++]=Ts;else if(Ts==256){Vs=nr,vr=null;break}else{var Ns=Ts-254;if(Ts>264){var $r=Ts-257,Bs=zt$1[$r];Ns=V$1(t,nr,(1<<Bs)-1)+Ut$1[$r],nr+=Bs}var Ys=cr[yt$3(t,nr)&jr],Hs=Ys>>4;Ys||x$1(3),nr+=Ys&15;var Tr=ce$1[Hs];if(Hs>3){var Bs=Dt$1[Hs];Tr+=yt$3(t,nr)&(1<<Bs)-1,nr+=Bs}if(nr>or){ir&&x$1(0);break}ar&&fr(rr+131072);var Qs=rr+Ns;if(rr<Tr){var na=Zt-Tr,ra=Math.min(Tr,Qs);for(na+rr<0&&x$1(3);rr<ra;++rr)i[rr]=r[na+rr]}for(;rr<Qs;++rr)i[rr]=i[rr-Tr]}}e.l=vr,e.p=Vs,e.b=rr,e.f=gr,vr&&(gr=1,e.m=ur,e.d=cr,e.n=Er)}while(!gr);return rr!=i.length&&tr?bt$1(i,0,rr):i.subarray(0,rr)},He$1=new F$1(0),We$1=function(t,e){var i={};for(var r in t)i[r]=t[r];for(var r in e)i[r]=e[r];return i},ie$1=function(t,e,i){for(var r=t(),o=t.toString(),Zt=o.slice(o.indexOf("[")+1,o.lastIndexOf("]")).replace(/\s+/g,"").split(","),tr=0;tr<r.length;++tr){var ar=r[tr],ir=Zt[tr];if(typeof ar=="function"){e+=";"+ir+"=";var fr=ar.toString();if(ar.prototype)if(fr.indexOf("[native code]")!=-1){var gr=fr.indexOf(" ",8)+1;e+=fr.slice(gr,fr.indexOf("(",gr))}else{e+=fr;for(var nr in ar.prototype)e+=";"+ir+".prototype."+nr+"="+ar.prototype[nr].toString()}else e+=fr}else i[ir]=ar}return e},_t$1=[],Ge$1=function(t){var e=[];for(var i in t)t[i].buffer&&e.push((t[i]=new t[i].constructor(t[i])).buffer);return e},Ke$1=function(t,e,i,r){if(!_t$1[i]){for(var o="",Zt={},tr=t.length-1,ar=0;ar<tr;++ar)o=ie$1(t[ar],o,Zt);_t$1[i]={c:ie$1(t[tr],o,Zt),e:Zt}}var ir=We$1({},_t$1[i].e);return Be$1(_t$1[i].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,ir,Ge$1(ir),r)},Qe$1=function(){return[F$1,Z$1,le$1,zt$1,Dt$1,ue$1,Ut$1,ce$1,pe$1,me$1,gt$1,ve$1,rt$1,vt$1,V$1,yt$3,_e$1,bt$1,x$1,ye$1,Vt$1,ge$1,be$1]},ge$1=function(t){return postMessage(t,[t.buffer])},be$1=function(t){return t&&{out:t.size&&new F$1(t.size),dictionary:t.dictionary}},Xe$1=function(t,e,i,r,o,Zt){var tr=Ke$1(i,r,o,function(ar,ir){tr.terminate(),Zt(ar,ir)});return tr.postMessage([t,e],e.consume?[t.buffer]:[]),function(){tr.terminate()}},W=function(t,e){return t[e]|t[e+1]<<8},J=function(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},Ct=function(t,e){return J(t,e)+J(t,e+4)*4294967296};function Ye$1(t,e,i){return i||(i=e,e={}),typeof i!="function"&&x$1(7),Xe$1(t,e,[Qe$1],function(r){return ge$1(Vt$1(r.data[0],be$1(r.data[1])))},1,i)}function Vt$1(t,e){return ye$1(t,{i:2},e&&e.out,e&&e.dictionary)}var Tt$1=typeof TextDecoder<"u"&&new TextDecoder,Ze$1=0;try{Tt$1.decode(He$1,{stream:!0}),Ze$1=1}catch{}var ti=function(t){for(var e="",i=0;;){var r=t[i++],o=(r>127)+(r>223)+(r>239);if(i+o>t.length)return{s:e,r:bt$1(t,i-1)};o?o==3?(r=((r&15)<<18|(t[i++]&63)<<12|(t[i++]&63)<<6|t[i++]&63)-65536,e+=String.fromCharCode(55296|r>>10,56320|r&1023)):o&1?e+=String.fromCharCode((r&31)<<6|t[i++]&63):e+=String.fromCharCode((r&15)<<12|(t[i++]&63)<<6|t[i++]&63):e+=String.fromCharCode(r)}};function ot$1(t,e){if(e){for(var i="",r=0;r<t.length;r+=16384)i+=String.fromCharCode.apply(null,t.subarray(r,r+16384));return i}else{if(Tt$1)return Tt$1.decode(t);var o=ti(t),Zt=o.s,i=o.r;return i.length&&x$1(8),Zt}}var ei=function(t,e){return e+30+W(t,e+26)+W(t,e+28)}
vendor: 10,183 bytes, line 399
399,ii=function(t,e,i){var r=W(t,e+28),o=ot$1(t.subarray(e+46,e+46+r),!(W(t,e+8)&2048)),Zt=e+46+r,tr=J(t,e+20),ar=i&&tr==4294967295?ni(t,Zt):[tr,J(t,e+24),J(t,e+42)],ir=ar[0],fr=ar[1],gr=ar[2];return[W(t,e+10),ir,fr,o,Zt+W(t,e+30)+W(t,e+32),gr]},ni=function(t,e){for(;W(t,e)!=1;e+=4+W(t,e+2));return[Ct(t,e+12),Ct(t,e+4),Ct(t,e+20)]},ne$1=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(t){t()};function ri(t,e,i){i||(i=e,e={}),typeof i!="function"&&x$1(7);var r=[],o=function(){for(var Er=0;Er<r.length;++Er)r[Er]()},Zt={},tr=function(Er,or){ne$1(function(){i(Er,or)})};ne$1(function(){tr=i});for(var ar=t.length-22;J(t,ar)!=101010256;--ar)if(!ar||t.length-ar>65558)return tr(x$1(13,0,1),null),o;var ir=W(t,ar+8);if(ir){var fr=ir,gr=J(t,ar+16),nr=gr==4294967295||fr==65535;if(nr){var rr=J(t,ar-12);nr=J(t,rr)==101075792,nr&&(fr=ir=J(t,rr+32),gr=J(t,rr+48))}for(var vr=e&&e.filter,cr=function(Er){var or=ii(t,gr,nr),sr=or[0],pr=or[1],dr=or[2],Pr=or[3],Ir=or[4],zr=or[5],$r=ei(t,zr);gr=Ir;var es=function(ps,os){ps?(o(),tr(ps,null)):(os&&(Zt[Pr]=os),--ir||tr(null,Zt))};if(!vr||vr({name:Pr,size:pr,originalSize:dr,compression:sr}))if(!sr)es(null,bt$1(t,$r,$r+pr));else if(sr==8){var hs=t.subarray($r,$r+pr);if(pr<32e4)try{es(null,Vt$1(hs,{out:new F$1(dr)}))}catch(ps){es(ps,null)}else r.push(Ye$1(hs,{size:dr},es))}else es(x$1(14,"unknown compression type "+sr,1),null);else es(null,null)},ur=0;ur<fr;++ur)cr(ur)}else tr(null,{});return o}function oi(t){return(Array.isArray(t)?t:t.issues).reduce((e,i)=>{if(i.path){let r=i.path.map(({key:o})=>o).join(".");e.nested[r]=[...e.nested[r]||[],i.message]}else e.root=[...e.root||[],i.message];return e},{nested:{}})}var ai=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t}};function si(t,e){return{reason:t?.reason,validation:e.validation,origin:t?.origin||"value",message:e.message,input:e.input,abortEarly:t?.abortEarly,abortPipeEarly:t?.abortPipeEarly}}function li(t,e){return{reason:e,origin:t?.origin,abortEarly:t?.abortEarly,abortPipeEarly:t?.abortPipeEarly}}function Y$1(t,e,i,r){if(!e||!e.length)return{output:t};let o,Zt,tr=t;for(let ar of e){let ir=ar(tr);if(ir.issue){o=o||li(i,r);let fr=si(o,ir.issue);if(Zt?Zt.push(fr):Zt=[fr],o.abortEarly||o.abortPipeEarly)break}else tr=ir.output}return Zt?{issues:Zt}:{output:tr}}function H(t,e){return!t||typeof t=="string"?[t,e]:[void 0,t]}function G$1(t,e,i,r,o,Zt){return{issues:[{reason:e,validation:i,origin:t?.origin||"value",message:r,input:o,issues:Zt,abortEarly:t?.abortEarly,abortPipeEarly:t?.abortPipeEarly}]}}function ui(t=[]){return{schema:"any",async:!1,_parse(e,i){return Y$1(e,t,i,"any")}}}function ut$4(t,e,i){let[r,o]=H(e,i);return{schema:"array",array:{item:t},async:!1,_parse(Zt,tr){if(!Array.isArray(Zt))return G$1(tr,"type","array",r||"Invalid type",Zt);let ar,ir=[];for(let fr=0;fr<Zt.length;fr++){let gr=Zt[fr],nr=t._parse(gr,tr);if(nr.issues){let rr={schema:"array",input:Zt,key:fr,value:gr};for(let vr of nr.issues)vr.path?vr.path.unshift(rr):vr.path=[rr],ar?.push(vr);if(ar||(ar=nr.issues),tr!=null&&tr.abortEarly)break}else ir.push(nr.output)}return ar?{issues:ar}:Y$1(ir,o,tr,"array")}}}function Et$1(t,e){let[i,r]=H(t,e);return{schema:"boolean",async:!1,_parse(o,Zt){return typeof o!="boolean"?G$1(Zt,"type","boolean",i||"Invalid type",o):Y$1(o,r,Zt,"boolean")}}}function re$1(t,e){return{schema:"literal",literal:t,async:!1,_parse(i,r){return i!==t?G$1(r,"type","literal","Invalid type",i):{output:i}}}}function hi(t,e){return{schema:"native_enum",nativeEnum:t,async:!1,_parse(i,r){return Object.values(t).includes(i)?{output:i}:G$1(r,"type","native_enum","Invalid type",i)}}}function R$1(t,e){let[i,r]=H(t,e);return{schema:"number",async:!1,_parse(o,Zt){return typeof o!="number"?G$1(Zt,"type","number",i||"Invalid type",o):Y$1(o,r,Zt,"number")}}}function $(t,e,i){let[r,o]=H(e,i),Zt;return{schema:"object",object:t,async:!1,_parse(tr,ar){if(!tr||typeof tr!="object")return G$1(ar,"type","object",r||"Invalid type",tr);Zt=Zt||Object.entries(t);let ir,fr={};for(let[gr,nr]of Zt){let rr=tr[gr],vr=nr._parse(rr,ar);if(vr.issues){let cr={schema:"object",input:tr,key:gr,value:rr};for(let ur of vr.issues)ur.path?ur.path.unshift(cr):ur.path=[cr],ir?.push(ur);if(ir||(ir=vr.issues),ar!=null&&ar.abortEarly)break}else fr[gr]=vr.output}return ir?{issues:ir}:Y$1(fr,o,ar,"object")}}}function w(t){return{schema:"optional",wrapped:t,async:!1,_parse(e,i){return e===void 0?{output:e}:t._parse(e,i)}}}function M$1(t,e){let[i,r]=H(t,e);return{schema:"string",async:!1,_parse(o,Zt){return typeof o!="string"?G$1(Zt,"type","string",i||"Invalid type",o):Y$1(o,r,Zt,"string")}}}function di(t,e,i,r){if(typeof e=="object"&&!Array.isArray(e)){let[tr,ar]=H(i,r);return[t,e,tr,ar]}let[o,Zt]=H(e,i);return[M$1(),t,o,Zt]}var ci=["__proto__","prototype","constructor"];function fi(t,e,i,r){let[o,Zt,tr,ar]=di(t,e,i,r);return{schema:"record",record:{key:o,value:Zt},async:!1,_parse(ir,fr){if(!ir||typeof ir!="object")return G$1(fr,"type","record",tr||"Invalid type",ir);let gr,nr={};for(let[rr,vr]of Object.entries(ir))if(!ci.includes(rr)){let cr,ur=o._parse(rr,{origin:"key",abortEarly:fr?.abortEarly,abortPipeEarly:fr?.abortPipeEarly});if(ur.issues){cr={schema:"record",input:ir,key:rr,value:vr};for(let or of ur.issues)or.path=[cr],gr?.push(or);if(gr||(gr=ur.issues),fr!=null&&fr.abortEarly)break}let Er=Zt._parse(vr,fr);if(Er.issues){cr=cr||{schema:"record",input:ir,key:rr,value:vr};for(let or of Er.issues)or.path?or.path.unshift(cr):or.path=[cr],gr?.push(or);if(gr||(gr=Er.issues),fr!=null&&fr.abortEarly)break}!ur.issues&&!Er.issues&&(nr[ur.output]=Er.output)}return gr?{issues:gr}:Y$1(nr,ar,fr,"record")}}}function pi(t,e,i){let[r,o]=H(t,e);return[void 0,r,o]}function oe$1(t,e,i,r){let[o,Zt,tr]=pi(e,i);return{schema:"tuple",tuple:{items:t,rest:o},async:!1,_parse(ar,ir){if(!Array.isArray(ar)||!o&&t.length!==ar.length||o&&t.length>ar.length)return G$1(ir,"type","tuple",Zt||"Invalid type",ar);let fr,gr=[];for(let nr=0;nr<t.length;nr++){let rr=ar[nr],vr=t[nr]._parse(rr,ir);if(vr.issues){let cr={schema:"tuple",input:ar,key:nr,value:rr};for(let ur of vr.issues)ur.path?ur.path.unshift(cr):ur.path=[cr],fr?.push(ur);if(fr||(fr=vr.issues),ir!=null&&ir.abortEarly)break}else gr[nr]=vr.output}if(o)for(let nr=t.length;nr<ar.length;nr++){let rr=ar[nr],vr=o._parse(rr,ir);if(vr.issues){let cr={schema:"tuple",input:ar,key:nr,value:rr};for(let ur of vr.issues)ur.path?ur.path.unshift(cr):ur.path=[cr],fr?.push(ur);if(fr||(fr=vr.issues),ir!=null&&ir.abortEarly)break}else gr[nr]=vr.output}return fr?{issues:fr}:Y$1(gr,tr,ir,"tuple")}}}function jt$1(t,e){return{schema:"union",union:t,async:!1,_parse(i,r){let o,Zt;for(let tr of t){let ar=tr._parse(i,r);if(ar.issues)if(o)for(let ir of ar.issues)o.push(ir);else o=ar.issues;else{Zt=[ar.output];break}}return Zt?{output:Zt[0]}:G$1(r,"type","union","Invalid type",i,o)}}}function dt$2(t,e,i){let[r,o]=H(e,i);return $(t.reduce((Zt,tr)=>({...Zt,...tr.object}),{}),r,o)}function mi(t,e,i,r){let[o,Zt]=H(i,r);return $(Object.entries(t.object).reduce((tr,[ar,ir])=>e.includes(ar)?tr:{...tr,[ar]:ir},{}),o,Zt)}function _i(t,e,i){let r=t._parse(e,i);return r.issues?{success:!1,error:new ai(r.issues),issues:r.issues}:{success:!0,data:r.output,output:r.output}}function xt$1(t,e){return i=>i>t?{issue:{validation:"max_value",message:e||"Invalid value",input:i}}:{output:i}}function Ft$1(t,e){return i=>i<t?{issue:{validation:"min_value",message:e||"Invalid value",input:i}}:{output:i}}var vi=Object.create,$t$1=Object.defineProperty,yi=Object.getOwnPropertyDescriptor,we=Object.getOwnPropertyNames,gi=Object.getPrototypeOf,bi=Object.prototype.hasOwnProperty,wi=(t,e,i)=>e in t?$t$1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,ct$1=(t,e)=>function(){return e||(0,t[we(t)[0]])((e={exports:{}}).exports,e),e.exports},Si=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of we(e))!bi.call(t,o)&&o!==i&&$t$1(t,o,{get:()=>e[o],enumerable:!(r=yi(e,o))||r.enumerable});return t},Ii=(t,e,i)=>(i=t!=null?vi(gi(t)):{},Si(!t||!t.__esModule?$t$1(i,"default",{value:t,enumerable:!0}):i,t)),ki=(t,e,i)=>(wi(t,e+"",i),i),Li=ct$1({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0;var e=(i,r,o=0,Zt=0,tr=i.width-o,ar=i.height-Zt,ir=0,fr=0)=>{if(o=o|0,Zt=Zt|0,tr=tr|0,ar=ar|0,ir=ir|0,fr=fr|0,tr<=0||ar<=0)return;let gr=new Uint32Array(i.data.buffer),nr=new Uint32Array(r.data.buffer);for(let rr=0;rr<ar;rr++){let vr=Zt+rr;if(vr<0||vr>=i.height)continue;let cr=fr+rr;if(!(cr<0||cr>=r.height))for(let ur=0;ur<tr;ur++){let Er=o+ur;if(Er<0||Er>=i.width)continue;let or=ir+ur;if(or<0||or>=r.width)continue;let sr=vr*i.width+Er,pr=cr*r.width+or;nr[pr]=gr[sr]}}};t.copy=e}}),Oi=ct$1({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/create-image/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.CreateImageFactory=(e=[0,0,0,0],i=4)=>{if(i=Math.floor(i),isNaN(i)||i<1)throw TypeError("channels should be a positive non-zero number");if(!("length"in e)||e.length<i)throw TypeError(`fill should be iterable with at least ${i} members`);e=new Uint8ClampedArray(e).slice(0,i);let r=e.every(o=>o===0);return(o,Zt,tr)=>{if(o===void 0||Zt===void 0)throw TypeError("Not enough arguments");if(o=Math.floor(o),Zt=Math.floor(Zt),isNaN(o)||o<1||isNaN(Zt)||Zt<1)throw TypeError("Index or size is negative or greater than the allowed amount");let ar=o*Zt*i;if(tr===void 0&&(tr=new Uint8ClampedArray(ar)),tr instanceof Uint8ClampedArray){if(tr.length!==ar)throw TypeError("Index or size is negative or greater than the allowed amount");if(!r)for(let ir=0;ir<Zt;ir++)for(let fr=0;fr<o;fr++){let gr=(ir*o+fr)*i;for(let nr=0;nr<i;nr++)tr[gr+nr]=e[nr]}return{get width(){return o},get height(){return Zt},get data(){return tr}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory()}}),Mi=ct$1({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/filters.js"(t){Object.defineProperty(t,"__esMo
399dule",{value:!0}),t.filters=void 0;var e=14,i=(Zt,tr)=>{if(Zt<=-tr||Zt>=tr||Zt==0)return 0;let ar=Zt*Math.PI;return Math.sin(ar)/ar*Math.sin(ar/tr)/(ar/tr)},r=Zt=>Math.round(Zt*((1<<e)-1)),o=(Zt,tr,ar,ir,fr)=>{let gr=fr?2:3,nr=1/ar,rr=Math.min(1,ar),vr=gr/rr,cr=Math.floor((vr+1)*2),ur=new Int16Array((cr+2)*tr),Er=0;for(let or=0;or<tr;or++){let sr=(or+.5)*nr+ir,pr=Math.max(0,Math.floor(sr-vr)),dr=Math.min(Zt-1,Math.ceil(sr+vr)),Pr=dr-pr+1,Ir=new Float32Array(Pr),zr=new Int16Array(Pr),$r=0,es=0;for(let cs=pr;cs<=dr;cs++){let Ar=i((cs+.5-sr)*rr,gr);$r+=Ar,Ir[es]=Ar,es++}let hs=0;for(let cs=0;cs<Ir.length;cs++){let Ar=Ir[cs]/$r;hs+=Ar,zr[cs]=r(Ar)}zr[tr>>1]+=r(1-hs);let ps=0;for(;ps<zr.length&&zr[ps]===0;)ps++;let os=zr.length-1;for(;os>0&&zr[os]===0;)os--;let xs=pr+ps,is=os-ps+1;ur[Er++]=xs,ur[Er++]=is,ur.set(zr.subarray(ps,os+1),Er),Er+=is}return ur};t.filters=o}}),Ai=ct$1({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.convolve=void 0;var e=14,i=(r,o,Zt,tr,ar,ir)=>{let fr=0,gr=0;for(let nr=0;nr<tr;nr++){let rr=0;for(let vr=0;vr<ar;vr++){let cr=ir[rr++],ur=fr+cr*4|0,Er=0,or=0,sr=0,pr=0;for(let dr=ir[rr++];dr>0;dr--){let Pr=ir[rr++];Er=Er+Pr*r[ur]|0,or=or+Pr*r[ur+1]|0,sr=sr+Pr*r[ur+2]|0,pr=pr+Pr*r[ur+3]|0,ur=ur+4|0}o[gr]=Er+8192>>e,o[gr+1]=or+8192>>e,o[gr+2]=sr+8192>>e,o[gr+3]=pr+8192>>e,gr=gr+tr*4|0}gr=(nr+1)*4|0,fr=(nr+1)*Zt*4|0}};t.convolve=i}}),Pi=ct$1({"../../node_modules/.pnpm/@[email protected]/node_modules/@rgba-image/lanczos/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;var e=Li(),i=Oi(),r=Mi(),o=Ai(),Zt=(ir,fr,gr=!1)=>{let nr=fr.width/ir.width,rr=fr.height/ir.height,vr=r.filters(ir.width,fr.width,nr,0,gr),cr=r.filters(ir.height,fr.height,rr,0,gr),ur=new Uint8ClampedArray(fr.width*ir.height*4);o.convolve(ir.data,ur,ir.width,ir.height,fr.width,vr),o.convolve(ur,fr.data,ir.height,fr.width,fr.height,cr)},tr=(ir,fr,gr=0,nr=0,rr=ir.width-gr,vr=ir.height-nr,cr=0,ur=0,Er=fr.width-cr,or=fr.height-ur)=>{if(gr=gr|0,nr=nr|0,rr=rr|0,vr=vr|0,cr=cr|0,ur=ur|0,Er=Er|0,or=or|0,rr<=0||vr<=0||Er<=0||or<=0)return;if(gr===0&&nr===0&&rr===ir.width&&vr===ir.height&&cr===0&&ur===0&&Er===fr.width&&or===fr.height){Zt(ir,fr);return}let sr=i.createImage(rr,vr),pr=i.createImage(Er,or);e.copy(ir,sr,gr,nr),Zt(sr,pr),e.copy(pr,fr,0,0,pr.width,pr.height,cr,ur)};t.lanczos=tr;var ar=(ir,fr,gr=0,nr=0,rr=ir.width-gr,vr=ir.height-nr,cr=0,ur=0,Er=fr.width-cr,or=fr.height-ur)=>{if(gr=gr|0,nr=nr|0,rr=rr|0,vr=vr|0,cr=cr|0,ur=ur|0,Er=Er|0,or=or|0,rr<=0||vr<=0||Er<=0||or<=0)return;if(gr===0&&nr===0&&rr===ir.width&&vr===ir.height&&cr===0&&ur===0&&Er===fr.width&&or===fr.height){Zt(ir,fr,!0);return}let sr=i.createImage(rr,vr),pr=i.createImage(Er,or);e.copy(ir,sr,gr,nr),Zt(sr,pr,!0),e.copy(pr,fr,0,0,pr.width,pr.height,cr,ur)};t.lanczos2=ar}}),Se$1=(t=>(t.Bounce="bounce",t.Normal="normal",t))(Se$1||{}),Ci=hi(Se$1),Ie$1=$({autoplay:w(Et$1()),defaultTheme:w(M$1()),direction:w(jt$1([re$1(1),re$1(-1)])),hover:w(Et$1()),id:M$1(),intermission:w(R$1()),loop:w(jt$1([Et$1(),R$1()])),playMode:w(Ci),speed:w(R$1()),themeColor:w(M$1())}),Ei=$({animations:ut$4(M$1()),id:M$1()}),Ti=$({activeAnimationId:w(M$1()),animations:ut$4(Ie$1),author:w(M$1()),custom:w(fi(M$1(),ui())),description:w(M$1()),generator:w(M$1()),keywords:w(M$1()),revision:w(R$1()),themes:w(ut$4(Ei)),states:w(ut$4(M$1())),version:w(M$1())}),qt$1=mi(Ie$1,["id"]),tt$1=$({state:M$1()}),ji=tt$1,xi=dt$2([tt$1,$({ms:R$1()})]),Fi=dt$2([tt$1,$({count:R$1()})]),Ni=tt$1,zi=tt$1,Di=tt$1,Ui=dt$2([tt$1,$({threshold:w(ut$4(R$1([Ft$1(0),xt$1(1)])))})]),Vi=$({onAfter:w(xi),onClick:w(ji),onComplete:w(Di),onEnter:w(Fi),onMouseEnter:w(Ni),onMouseLeave:w(zi),onShow:w(Ui)}),$i=dt$2([qt$1,$({playOnScroll:w(oe$1([R$1([Ft$1(0),xt$1(1)]),R$1([Ft$1(0),xt$1(1)])])),segments:w(jt$1([oe$1([R$1(),R$1()]),M$1()]))})]);dt$2([Vi,$({animationId:w(M$1()),playbackSettings:$i})]);var qi={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp",mpeg:"audio/mpeg",mp3:"audio/mp3"},ae$1={jpeg:[255,216,255],png:[137,80,78,71,13,10,26,10],gif:[71,73,70],bmp:[66,77],webp:[82,73,70,70,87,69,66,80],svg:[60,63,120],mp3:[73,68,51,3,0,0,0,0],mpeg:[73,68,51,3,0,0,0,0]},Bi=t=>{let e=null,i=[];if(!t)return null;let r=t.substring(t.indexOf(",")+1);typeof window>"u"?e=Buffer.from(r,"base64").toString("binary"):e=atob(r);let o=new Uint8Array(e.length);for(let Zt=0;Zt<e.length;Zt+=1)o[Zt]=e.charCodeAt(Zt);i=Array.from(o.subarray(0,8));for(let Zt in ae$1){let tr=ae$1[Zt];if(tr&&i.every((ar,ir)=>ar===tr[ir]))return qi[Zt]}return null}
vendor: 11,044 bytes, line 399
399,Bt$1=class extends Error{constructor(e,i){super(e),ki(this,"code"),this.name="[dotlottie-js]",this.code=i}};function ke$1(t){let e;if(typeof window>"u")e=Buffer.from(t).toString("base64");else{let i=Array.prototype.map.call(t,r=>String.fromCharCode(r)).join("");e=window.btoa(i)}return`data:${Bi(e)};base64,${e}`}function se$1(t){return"w"in t&&"h"in t&&!("xt"in t)&&"p"in t}function Nt$1(t){return!("h"in t)&&!("w"in t)&&"p"in t&&"e"in t&&"u"in t&&"id"in t}async function ft$1(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new Bt$1("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,r)=>{ri(t,{filter:e},(o,Zt)=>{o&&r(o),i(Zt)})})}async function Jt$1(t,e,i){if(!(t instanceof Uint8Array))throw new Bt$1("DotLottie not found","INVALID_DOTLOTTIE");return(await ft$1(t,r=>r.name===e&&!0))[e]}async function wt$1(t){let e="manifest.json",i=(await ft$1(t,r=>r.name===e))[e];if(!(typeof i>"u"))return JSON.parse(ot$1(i,!1))}async function Ji(t){if(!(t instanceof Uint8Array))return{success:!1,error:"DotLottie not found"};let e=await wt$1(t);if(typeof e>"u")return{success:!1,error:"Invalid .lottie file, manifest.json is missing"};let i=_i(Ti,e);return i.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify(oi(i.error).nested,null,2)}`}}async function Rt$1(t){let e=new Uint8Array(t),i=await Ji(e);if(i.error)throw new Bt$1(i.error,"INVALID_DOTLOTTIE");return e}async function Ri(t,e){let i=await ft$1(t,o=>{let Zt=o.name.replace("audio/","");return o.name.startsWith("audio/")&&(!e||e({...o,name:Zt}))}),r={};for(let o in i){let Zt=i[o];if(Zt instanceof Uint8Array){let tr=o.replace("audio/","");r[tr]=ke$1(Zt)}}return r}async function Hi(t,e){var i;let r=new Map;for(let[Zt,tr]of Object.entries(e))for(let ar of tr.assets||[])if(Nt$1(ar)){let ir=ar.p;r.has(ir)||r.set(ir,new Set),(i=r.get(ir))==null||i.add(Zt)}let o=await Ri(t,Zt=>r.has(Zt.name));for(let[Zt,tr]of r){let ar=o[Zt];if(ar)for(let ir of tr){let fr=e[ir];for(let gr of fr?.assets||[])Nt$1(gr)&&gr.p===Zt&&(gr.p=ar,gr.u="",gr.e=1)}}}async function Wi(t,e){let i=await ft$1(t,o=>{let Zt=o.name.replace("images/","");return o.name.startsWith("images/")&&(!e||e({...o,name:Zt}))}),r={};for(let o in i){let Zt=i[o];if(Zt instanceof Uint8Array){let tr=o.replace("images/","");r[tr]=ke$1(Zt)}}return r}async function Gi(t,e){var i;let r=new Map;for(let[Zt,tr]of Object.entries(e))for(let ar of tr.assets||[])if(se$1(ar)){let ir=ar.p;r.has(ir)||r.set(ir,new Set),(i=r.get(ir))==null||i.add(Zt)}let o=await Wi(t,Zt=>r.has(Zt.name));for(let[Zt,tr]of r){let ar=o[Zt];if(ar)for(let ir of tr){let fr=e[ir];for(let gr of fr?.assets||[])se$1(gr)&&gr.p===Zt&&(gr.p=ar,gr.u="",gr.e=1)}}}async function Le$1(t,e,{inlineAssets:i}={},r){let o=`animations/${e}.json`,Zt=await Jt$1(t,o);if(typeof Zt>"u")return;let tr=JSON.parse(ot$1(Zt,!1));if(!i)return tr;let ar={[e]:tr};return await Gi(t,ar),await Hi(t,ar),tr}async function Oe$1(t,e,i){let r=`themes/${e}.json`,o=await Jt$1(t,r);if(!(typeof o>"u"))return JSON.parse(ot$1(o,!1))}async function Me$1(t,e){let i={},r=await ft$1(t,o=>(o.name.replace("states/","").replace(".json",""),o.name.startsWith("states/")&&!0));for(let o in r){let Zt=r[o];if(Zt instanceof Uint8Array){let tr=o.replace("states/","").replace(".json","");i[tr]=ot$1(Zt,!1)}}return i}async function Ae$1(t,e,i){let r=`states/${e}.json`,o=await Jt$1(t,r);return typeof o>"u"?void 0:JSON.parse(ot$1(o,!1))}Ii(Pi());function g(t,e="dotLottie-common"){return new Error(`[${e}]: ${t}`)}function et$1(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i)}function k$1(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i)}function Pe$1(t=""){let e=t.trim(),i=e.lastIndexOf("/"),r=e.substring(i+1),o=r.indexOf(".");return o!==-1?r.substring(0,o):r}function at(t){return["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function Ce$1(t){let e=t.assets;return e?e.some(i=>Nt$1(i)):!1}function Ee(t){try{let e=JSON.parse(t);return at(e)}catch{return!1}}function rn$1(t,e){let i=Object.keys(t).find(r=>t[r]===e);if(i===void 0)throw new Error("Value not found in the object.");return i}function St$1(t){return JSON.parse(JSON.stringify(t))}var Te$1=class{_dotLottie;_animationsMap=new Map;_themeMap=new Map;_stateMachinesMap=new Map;_manifest;get dotLottie(){return this._dotLottie}get animationsMap(){return this._animationsMap}get themeMap(){return this._themeMap}get stateMachinesMap(){return this._stateMachinesMap}get manifest(){return this._manifest}async loadFromUrl(e){let i=await fetch(e,{method:"GET",mode:"cors"});if(!i.ok)throw new Error(`Failed to load dotLottie from ${e} with status ${i.status}`);let r=i.headers.get("content-type");if(r!=null&&r.includes("application/json")){let o=await i.json();if(!at(o))throw new Error(`Invalid lottie JSON at ${e}`);let Zt=Pe$1(e);this._animationsMap.set(Zt,o);let tr={activeAnimationId:Zt,animations:[{id:Zt}]};this._manifest=tr}else{this._dotLottie=await Rt$1(await i.arrayBuffer());let o=await wt$1(this._dotLottie);if(!o)throw new Error("Manifest not found");this._manifest=o}}loadFromLottieJSON(e){if(!at(e))throw new Error("Invalid lottie JSON");let i="my-animation";this._animationsMap.set(i,e);let r={activeAnimationId:i,animations:[{id:i}]};this._manifest=r}async loadFromArrayBuffer(e){this._dotLottie=await Rt$1(e);let i=await wt$1(this._dotLottie);if(!i)throw new Error("Manifest not found");this._manifest=i}async getAnimation(e){if(this._animationsMap.get(e))return this._animationsMap.get(e);if(!this._dotLottie)return;let i=await Le$1(this._dotLottie,e,{inlineAssets:!0});return i&&this._animationsMap.set(e,i),i}async getTheme(e){if(this._themeMap.get(e))return this._themeMap.get(e);if(!this._dotLottie)return;let i=await Oe$1(this._dotLottie,e);return i&&this._themeMap.set(e,i),i}async getStateMachines(){if(!this._dotLottie)return;let e=await Me$1(this._dotLottie);for(let i in e)if(i){let r=e[i];if(r){let o=JSON.parse(r);if(o){let Zt=o.descriptor.id;this._stateMachinesMap.get(Zt)||this._stateMachinesMap.set(Zt,o)}}}return Array.from(this._stateMachinesMap.values())}async getStateMachine(e){if(this._stateMachinesMap.get(e))return this._stateMachinesMap.get(e);if(!this._dotLottie)return;let i=await Ae$1(this._dotLottie,e);return i&&this._stateMachinesMap.set(i.descriptor.id,i),i}};function kt$1(){throw new Error("Cycle detected")}function Wt(){if(st$1>1)st$1--;else{for(var t,e=!1;pt$1!==void 0;){var i=pt$1;for(pt$1=void 0,Ht$1++;i!==void 0;){var r=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&xe$1(i))try{i.c()}catch(o){e||(t=o,e=!0)}i=r}}if(Ht$1=0,st$1--,e)throw t}}var L$2=void 0,pt$1=void 0,st$1=0,Ht$1=0,It$1=0;function je$1(t){if(L$2!==void 0){var e=t.n;if(e===void 0||e.t!==L$2)return e={i:0,S:t,p:L$2.s,n:void 0,t:L$2,e:void 0,x:void 0,r:e},L$2.s!==void 0&&(L$2.s.n=e),L$2.s=e,t.n=e,32&L$2.f&&t.S(e),e;if(e.i===-1)return e.i=0,e.n!==void 0&&(e.n.p=e.p,e.p!==void 0&&(e.p.n=e.n),e.p=L$2.s,e.n=void 0,L$2.s.n=e,L$2.s=e),e}}function D$2(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0}D$2.prototype.h=function(){return!0};D$2.prototype.S=function(t){this.t!==t&&t.e===void 0&&(t.x=this.t,this.t!==void 0&&(this.t.e=t),this.t=t)};D$2.prototype.U=function(t){if(this.t!==void 0){var e=t.e,i=t.x;e!==void 0&&(e.x=i,t.e=void 0),i!==void 0&&(i.e=e,t.x=void 0),t===this.t&&(this.t=i)}};D$2.prototype.subscribe=function(t){var e=this;return Xi(function(){var i=e.value,r=32&this.f;this.f&=-33;try{t(i)}finally{this.f|=r}})};D$2.prototype.valueOf=function(){return this.value};D$2.prototype.toString=function(){return this.value+""};D$2.prototype.toJSON=function(){return this.value};D$2.prototype.peek=function(){return this.v};Object.defineProperty(D$2.prototype,"value",{get:function(){var t=je$1(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(L$2 instanceof it$1&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){Ht$1>100&&kt$1(),this.v=t,this.i++,It$1++,st$1++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N()}finally{Wt()}}}});function Ki(t){return new D$2(t)}function xe$1(t){for(var e=t.s;e!==void 0;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function Fe$1(t){for(var e=t.s;e!==void 0;e=e.n){var i=e.S.n;if(i!==void 0&&(e.r=i),e.S.n=e,e.i=-1,e.n===void 0){t.s=e;break}}}function Ne$1(t){for(var e=t.s,i=void 0;e!==void 0;){var r=e.p;e.i===-1?(e.S.U(e),r!==void 0&&(r.n=e.n),e.n!==void 0&&(e.n.p=r)):i=e,e.S.n=e.r,e.r!==void 0&&(e.r=void 0),e=r}t.s=i}function it$1(t){D$2.call(this,void 0),this.x=t,this.s=void 0,this.g=It$1-1,this.f=4}(it$1.prototype=new D$2).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===It$1))return!0;if(this.g=It$1,this.f|=1,this.i>0&&!xe$1(this))return this.f&=-2,!0;var t=L$2;try{Fe$1(this),L$2=this;var e=this.x();(16&this.f||this.v!==e||this.i===0)&&(this.v=e,this.f&=-17,this.i++)}catch(i){this.v=i,this.f|=16,this.i++}return L$2=t,Ne$1(this),this.f&=-2,!0};it$1.prototype.S=function(t){if(this.t===void 0){this.f|=36;for(var e=this.s;e!==void 0;e=e.n)e.S.S(e)}D$2.prototype.S.call(this,t)};it$1.prototype.U=function(t){if(this.t!==void 0&&(D$2.prototype.U.call(this,t),this.t===void 0)){this.f&=-33;for(var e=this.s;e!==void 0;e=e.n)e.S.U(e)}};it$1.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N()}};it$1.prototype.peek=function(){if(this.h()||kt$1(),16&this.f)throw this.v;return this.v};Object.defineProperty(it$1.prototype,"value",{get:function(){1&this.f&&kt$1();var t=je$1(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});function ze$1(t){var e=t.u;if(t.u=void 0,typeof e=="function"){st$1++;var i=L$2;L$2=void 0;try{e()}catch(r){throw t.f&=-2,t.f|=8,Gt$1(t),r}finally{L$2=i,Wt()}}}function Gt$1(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,ze$1(t)}function Qi(t){if(L$2!==this)throw new Error("Out-of-order effect");Ne$1(this),L$2=t,this.f&=-2,8&this.f&&Gt$1(this),Wt()}function mt$1(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}mt$1.prototype.c=function(){var t=this.S();try{if(8&this.f||this.x===void 0)return;var e=this.x();typeof e=="function"&&(this.u=e)}finally{t()}};mt$1.prototype.S=function(){1&this.f&&kt$1(),this.f|=1,this.f&=-9,ze$1(this),Fe$1(this),st$1++;var t=L$2;return L$2=this,Qi.bind(this,t)};mt$1.prototype.N=function(){2&this.f||(this.f|=2,this.o=pt$1,pt$1=this)};mt$1.prototype.d=function(){this.f|=8,1&this.f||Gt$1(this)};function Xi(t){var e=new mt$1(t);try{e.c()}catch(i){throw e.d(),i}return e.d.bind(e)}var De$1=class{_state;_prevState;constructor(e){this._prevState=e,this._state=Ki(e)}setState(e){this._prevState=this._state.value,this._state.value=e}subscribe(e){return this._state.subscribe(i=>e(i,this._prevState))}};async function Ue$1(t,e){let[{DotLottieStateMachineManager:i}]=await Promise.all([__vitePreload(()=>Promise.resolve().then(()=>dotlottieStateMachineManager2E7RUGJGNTQ25VSR),void 0)]);if(!t.length)throw g("No state machines available inside this .lottie!");return new i(t,e)}
vendor: 4,100 bytes, line 399
399var Yi={dependencies:{"lottie-web":"^5.12.2"}},Zi=(t=>(t.Complete="complete",t.DataFail="data_fail",t.DataReady="data_ready",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.LoopComplete="loopComplete",t.Pause="pause",t.Play="play",t.Ready="ready",t.Stop="stop",t.VisibilityChange="visibilityChange",t))(Zi||{}),tn$1=(t=>(t.Completed="completed",t.Error="error",t.Fetching="fetching",t.Frozen="frozen",t.Initial="initial",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Ready="ready",t.Stopped="stopped",t))(tn$1||{}),en$1=(t=>(t.Bounce="bounce",t.Normal="normal",t))(en$1||{}),q={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},nn$1={activeStateId:"",autoplay:!1,currentState:"initial",frame:0,seeker:0,direction:1,hover:!1,loop:!1,playMode:"normal",speed:1,background:"transparent",intermission:0,currentAnimationId:void 0,visibilityPercentage:0},gn$1=class{_lottie;_src;_animationConfig;_prevUserPlaybackOptions={};_userPlaybackOptions;_hover=!1;_loop=!1;_counter=0;_intermission=0;_counterInterval=null;_container=null;_name;_mode="normal";_background="transparent";_animation;_defaultTheme;_activeAnimationId;_currentAnimationId;_testId;_listeners=new Map;_currentState="initial";_stateBeforeFreeze="initial";state=new De$1(nn$1);_light=!1;_worker=!1;_dotLottieLoader=new Te$1;_activeStateId;_inInteractiveMode=!1;_scrollTicking=!1;_scrollCallback=void 0;_onShowIntersectionObserver=void 0;_visibilityPercentage=0;_audios=[];_stateMachineManager;constructor(e,i,r){typeof e=="string"?this._src=e:this._src=St$1(e),r!=null&&r.testId&&(this._testId=r.testId),this._defaultTheme=r?.defaultTheme||"",this._userPlaybackOptions=this._validatePlaybackOptions(r||{}),typeof r?.activeAnimationId=="string"&&(this._activeAnimationId=r.activeAnimationId),this._container=i||null,typeof r?.background=="string"&&this.setBackground(r.background),typeof r?.activeStateId<"u"&&(this._activeStateId=r.activeStateId);let{rendererSettings:o,...Zt}=r||{};this._animationConfig={loop:!1,autoplay:!1,renderer:"svg",rendererSettings:{clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0,filterSize:{width:"200%",height:"200%",x:"-50%",y:"-50%"},...o},...Zt},r!=null&&r.light&&(this._light=r.light),r!=null&&r.worker&&(this._worker=r.worker),this._listenToHover(),this._listenToVisibilityChange()}_listenToHover(){var e,i,r,o;let Zt=()=>{this._hover&&this.currentState!=="playing"&&this.play()},tr=()=>{this._hover&&this.currentState==="playing"&&this.stop()};(e=this._container)==null||e.removeEventListener("mouseenter",Zt),(i=this._container)==null||i.removeEventListener("mouseleave",tr),(r=this._container)==null||r.addEventListener("mouseleave",tr),(o=this._container)==null||o.addEventListener("mouseenter",Zt)}_onVisibilityChange(){!this._lottie||typeof document>"u"||(document.hidden&&this.currentState==="playing"?this.freeze():this.currentState==="frozen"&&this.unfreeze())}_listenToVisibilityChange(){typeof document<"u"&&typeof document.hidden<"u"&&document.addEventListener("visibilitychange",()=>this._onVisibilityChange())}_getOption(e){var i;if(typeof this._userPlaybackOptions[e]<"u")return this._userPlaybackOptions[e];let r=(i=this._dotLottieLoader.manifest)==null?void 0:i.animations.find(o=>o.id===this._currentAnimationId);return r&&typeof r[e]<"u"?r[e]:q[e]}_getPlaybackOptions(){let e={};for(let i in q)typeof q[i]<"u"&&(e[i]=this._getOption(i));return e}_setPlayerState(e){var i,r,o;let Zt=e(this._getPlaybackOptions());try{qt$1._parse(Zt)}catch{k$1(`Invalid PlaybackOptions, ${JSON.stringify(Zt,null,2)}`);return}typeof Zt.defaultTheme<"u"&&(this._defaultTheme=Zt.defaultTheme),typeof Zt.playMode<"u"&&(this._mode=Zt.playMode),typeof Zt.intermission<"u"&&(this._intermission=Zt.intermission),typeof Zt.hover<"u"&&(this._hover=Zt.hover),typeof Zt.loop<"u"&&(this.clearCountTimer(),this._loop=Zt.loop,this._counter=0,(i=this._lottie)==null||i.setLoop(typeof Zt.loop=="number"?!0:Zt.loop)),typeof Zt.speed<"u"&&((r=this._lottie)==null||r.setSpeed(Zt.speed)),typeof Zt.autoplay<"u"&&this._lottie&&(this._lottie.autoplay=Zt.auto
vendor: 7,364 bytes, line 399
399play),typeof Zt.direction<"u"&&((o=this._lottie)==null||o.setDirection(Zt.direction))}_getOptionsFromAnimation(e){let{id:i,...r}=e;return{...q,...r}}_updateTestData(){!this._testId||!this._lottie||(window.dotLottiePlayer||(window.dotLottiePlayer={[this._testId]:{}}),window.dotLottiePlayer[this._testId]={direction:this._lottie.playDirection,currentState:this._currentState,loop:this.loop,mode:this._mode,speed:this._lottie.playSpeed})}setContainer(e){e!==this._container&&(this._container=e,this.setBackground(this._background),this._listenToHover())}get currentState(){return this._currentState}clearCountTimer(){this._counterInterval&&clearInterval(this._counterInterval)}setCurrentState(e){this._currentState=e,this._notify(),this._updateTestData()}static isPathJSON(e){var i;return((i=e.split(".").pop())==null?void 0:i.toLowerCase())==="json"}get src(){return this._src}updateSrc(e){this._src!==e&&(typeof e=="string"?this._src=e:this._src=St$1(e),this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load())}get intermission(){return this._intermission}get hover(){return this._hover}setHover(e){typeof e=="boolean"&&(this._hover=e,this._userPlaybackOptions.hover=e,this._notify())}setIntermission(e){this._intermission=e,this._userPlaybackOptions.intermission=e,this._notify()}get mode(){return this._mode}get animations(){return this._dotLottieLoader.animationsMap}get themes(){return this._dotLottieLoader.themeMap}setMode(e){typeof e=="string"&&(this._mode=e,this._userPlaybackOptions.playMode=e,this._setPlayerState(()=>({playMode:e})),this._notify(),this._updateTestData())}get container(){if(this._container)return this._container}goToAndPlay(e,i,r){if(!this._lottie||["loading"].includes(this._currentState)){k$1("goToAndPlay() Can't use whilst loading.");return}this._lottie.goToAndPlay(e,i,r),this.setCurrentState("playing")}goToAndStop(e,i,r){if(!this._lottie||["loading"].includes(this._currentState)){k$1("goToAndStop() Can't use whilst loading.");return}this._lottie.goToAndStop(e,i,r),this.setCurrentState("stopped")}seek(e){if(!this._lottie||["loading"].includes(this._currentState)){k$1("seek() Can't use whilst loading.");return}let i=e;typeof i=="number"&&(i=Math.round(i));let r=/^(\d+)(%?)$/u.exec(i.toString());if(!r)return;let o=r[2]==="%"?this.totalFrames*Number(r[1])/100:r[1];o!==void 0&&(this._lottie.goToAndPlay(o,!0),this.currentState==="playing"?this.play():this.currentState==="frozen"?this.freeze():this.pause())}_areNumbersInRange(e,i){return e>=0&&e<=1&&i>=0&&i<=1}_updatePosition(e,i,r){let[o,Zt]=e??[0,this.totalFrames-1],[tr,ar]=i??[0,1];if(!this._areNumbersInRange(tr,ar)){et$1("threshold values must be between 0 and 1");return}if(this.container){let{height:ir,top:fr}=this.container.getBoundingClientRect(),gr=window.innerHeight-fr,nr=window.innerHeight+ir,rr=gr/nr,vr=o+Math.round((rr-tr)/(ar-tr)*(Zt-o));r&&r(rr),this.goToAndStop(vr,!0),(vr>=Zt||rr>=ar)&&this._handleAnimationComplete()}this._scrollTicking=!1}_requestTick(e,i,r){this._scrollTicking||(requestAnimationFrame(()=>this._updatePosition(e,i,r)),this._scrollTicking=!0)}playOnScroll(e){this.stop(),this._scrollCallback&&this.stopPlayOnScroll(),this._scrollCallback=()=>this._requestTick(e?.segments,e?.threshold,e?.positionCallback),window.addEventListener("scroll",this._scrollCallback)}stopPlayOnScroll(){this._scrollCallback&&(window.removeEventListener("scroll",this._scrollCallback),this._scrollCallback=void 0)}stopPlayOnShow(){this._onShowIntersectionObserver&&(this._onShowIntersectionObserver.disconnect(),this._onShowIntersectionObserver=void 0)}addIntersectionObserver(e){if(!this.container)throw g("Can't play on show, player container element not available.");let i={root:null,rootMargin:"0px",threshold:e!=null&&e.threshold?e.threshold:[0,1]},r=o=>{o.forEach(Zt=>{var tr,ar;this._visibilityPercentage=Zt.intersectionRatio*100,Zt.isIntersecting?(e!=null&&e.callbackOnIntersect&&e.callbackOnIntersect(this._visibilityPercentage),(tr=this._container)==null||tr.dispatchEvent(new Event("visibilityChange"))):e!=null&&e.callbackOnIntersect&&(e.callbackOnIntersect(0),(ar=this._container)==null||ar.dispatchEvent(new Event("visibilityChange")))})};this._onShowIntersectionObserver=new IntersectionObserver(r,i),this._onShowIntersectionObserver.observe(this.container)}playOnShow(e){var i;if(this.stop(),!this.container)throw g("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:(i=e?.threshold)!=null?i:[],callbackOnIntersect:r=>{r===0?this.pause():this.play()}})}_validatePlaybackOptions(e){if(!e)return{};let i={};for(let[r,o]of Object.entries(e))switch(r){case"autoplay":typeof o=="boolean"&&(i.autoplay=o);break;case"direction":typeof o=="number"&&[1,-1].includes(o)&&(i.direction=o);break;case"loop":(typeof o=="boolean"||typeof o=="number")&&(i.loop=o);break;case"playMode":typeof o=="string"&&["normal","bounce"].includes(o)&&(i.playMode=o);break;case"speed":typeof o=="number"&&(i.speed=o);break;case"themeColor":typeof o=="string"&&(i.themeColor=o);break;case"hover":typeof o=="boolean"&&(i.hover=o);break;case"intermission":typeof o=="number"&&(i.intermission=o);break;case"defaultTheme":typeof o=="string"&&(i.defaultTheme=o);break}return this._requireValidPlaybackOptions(i),i}_requireAnimationsInTheManifest(){var e;if(!((e=this._dotLottieLoader.manifest)!=null&&e.animations.length))throw g("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(this._dotLottieLoader.animationsMap.size===0)throw g("No animations have been loaded.")}async play(e,i){var r,o;if(["initial","loading"].includes(this._currentState)){k$1("Player unable to play whilst loading.");return}if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!e){this._lottie.playDirection===-1&&this._lottie.currentFrame===0?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if(typeof e=="number"){let Zt=(r=this._dotLottieLoader.manifest)==null?void 0:r.animations[e];if(!Zt)throw g("animation not found.");typeof i=="function"?await this.render({id:Zt.id,...i(this._getPlaybackOptions(),this._getOptionsFromAnimation(Zt))}):await this.render({id:Zt.id})}if(typeof e=="string"){let Zt=(o=this._dotLottieLoader.manifest)==null?void 0:o.animations.find(tr=>tr.id===e);if(!Zt)throw g("animation not found.");typeof i=="function"?await this.render({id:Zt.id,...i(this._getPlaybackOptions(),this._getOptionsFromAnimation(Zt))}):await this.render({id:Zt.id})}}playSegments(e,i){if(!this._lottie||["loading"].includes(this._currentState)){k$1("playSegments() Can't use whilst loading.");return}this._lottie.playSegments(e,i),this.setCurrentState("playing")}resetSegments(e){if(!this._lottie||["loading"].includes(this._currentState)){k$1("resetSegments() Can't use whilst loading.");return}this._lottie.resetSegments(e)}togglePlay(){this.currentState==="playing"?this.pause():this.play()}_getAnimationByIdOrIndex(e){var i,r;if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),typeof e=="number"){let o=(i=this._dotLottieLoader.manifest)==null?void 0:i.animations[e];if(!o)throw g("animation not found.");return o}if(typeof e=="string"){let o=(r=this._dotLottieLoader.manifest)==null?void 0:r.animations.find(Zt=>
vendor: 7,030 bytes, line 399
399Zt.id===e);if(!o)throw g("animation not found.");return o}throw g("first param must be a number or string")}get activeAnimationId(){return this._getActiveAnimationId()}get currentAnimationId(){return this._currentAnimationId}get activeStateId(){return this._activeStateId}async _startInteractivity(e){if(!this._inInteractiveMode){et$1("Can't start interactivity. Not in interactive mode. Call enterInteractiveMode(stateId: string) to start.");return}if(this._dotLottieLoader.stateMachinesMap.size===0&&await this._dotLottieLoader.getStateMachines(),this._dotLottieLoader.stateMachinesMap.size===0)throw g("No interactivity states are available.");if(e==="undefined")throw g("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await Ue$1(Array.from(this._dotLottieLoader.stateMachinesMap.values()),this)),this._stateMachineManager.start(e)}enterInteractiveMode(e){var i;if(e)this._inInteractiveMode||(this._prevUserPlaybackOptions={...this._userPlaybackOptions}),this._inInteractiveMode&&((i=this._stateMachineManager)==null||i.stop()),this._activeStateId=e,this._inInteractiveMode=!0,this._startInteractivity(e);else throw g("stateId must be a non-empty string.")}exitInteractiveMode(){var e;this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",(e=this._stateMachineManager)==null||e.stop(),this._userPlaybackOptions={},this._userPlaybackOptions={...this._prevUserPlaybackOptions},this._prevUserPlaybackOptions={},this.reset())}reset(){var e;let i=this._getActiveAnimationId(),r=(e=this._dotLottieLoader.manifest)==null?void 0:e.animations.find(o=>o.id===i);if(this._inInteractiveMode&&this.exitInteractiveMode(),!r)throw g("animation not found.");this.play(i)}previous(e){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw g("manifest not found.");if(this._inInteractiveMode){k$1("previous() is not supported in interactive mode.");return}let i=this._dotLottieLoader.manifest.animations.findIndex(o=>o.id===this._currentAnimationId);if(i===-1)throw g("animation not found.");let r=this._dotLottieLoader.manifest.animations[(i-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!r||!r.id)throw g("animation not found.");typeof e=="function"?this.render({id:r.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id})}next(e){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw g("manifest not found.");if(this._inInteractiveMode){k$1("next() is not supported in interactive mode.");return}let i=this._dotLottieLoader.manifest.animations.findIndex(o=>o.id===this._currentAnimationId);if(i===-1)throw g("animation not found.");let r=this._dotLottieLoader.manifest.animations[(i+1)%this._dotLottieLoader.manifest.animations.length];if(!r||!r.id)throw g("animation not found.");typeof e=="function"?this.render({id:r.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(r))}):this.render({id:r.id})}getManifest(){return this._dotLottieLoader.manifest}resize(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("resize() Can't use whilst loading.");return}this._lottie.resize()}stop(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("stop() Can't use whilst loading.");return}this.clearCountTimer(),this._counter=0,this._setPlayerState(()=>({direction:this._getOption("direction")})),this._lottie.stop(),this.setCurrentState("stopped")}pause(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("pause() Can't use whilst loading.");return}this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused")}freeze(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("freeze() Can't use whilst loading.");return}this.currentState!=="frozen"&&(this._stateBeforeFreeze=this.currentState),this._lottie.pause(),this.setCurrentState("frozen")}unfreeze(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("unfreeze() Can't use whilst loading.");return}this._stateBeforeFreeze==="playing"?this.play():this.pause()}destroy(){var e,i;(e=this._container)!=null&&e.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this._audios.length&&(this._audios.forEach(r=>{r.unload()}),this._audios=[]),this.clearCountTimer(),typeof document<"u"&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,(i=this._lottie)==null||i.destroy(),this._lottie=void 0}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return`${Yi.dependencies["lottie-web"]}`}addEventListener(e,i){var r,o,Zt;this._listeners.has(e)||this._listeners.set(e,new Set),(r=this._listeners.get(e))==null||r.add(i);try{e==="complete"?(o=this._container)==null||o.addEventListener(e,i):(Zt=this._lottie)==null||Zt.addEventListener(e,i)}catch(tr){et$1(`addEventListener ${tr}`)}}getState(){var e,i,r,o,Zt,tr,ar;return{autoplay:(i=(e=this._lottie)==null?void 0:e.autoplay)!=null?i:!1,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:(o=(r=this._lottie)==null?void 0:r.playDirection)!=null?o:1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:(tr=(Zt=this._lottie)==null?void 0:Zt.playSpeed)!=null?tr:1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:(ar=this._activeStateId)!=null?ar:""}}_notify(){this.state.setState(this.getState())}get totalFrames(){var e;return((e=this._lottie)==null?void 0:e.totalFrames)||0}get direction(){return this._lottie?this._lottie.playDirection:1}setDirection(e){this._requireValidDirection(e),this._setPlayerState(()=>({direction:e})),this._userPlaybackOptions.direction=e}get speed(){var e;return((e=this._lottie)==null?void 0:e.playSpeed)||1}setSpeed(e){this._requireValidSpeed(e),this._setPlayerState(()=>({speed:e})),this._userPlaybackOptions.speed=e}get autoplay(){var e,i;return(i=(e=this._lottie)==null?void 0:e.autoplay)!=null?i:!1}setAutoplay(e){if(this._requireValidAutoplay(e),!this._lottie||["loading"].includes(this._currentState)){k$1("setAutoplay() Can't use whilst loading.");return}this._setPlayerState(()=>({autoplay:e})),this._userPlaybackOptions.autoplay=e}toggleAutoplay(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("toggleAutoplay() Can't use whilst loading.");return}this.setAutoplay(!this._lottie.autoplay)}get defaultTheme(){return this._defaultTheme}setDefaultTheme(e){this._setPlayerState(()=>({defaultTheme:e})),this._userPlaybackOptions.defaultTheme=e,this._animation&&this.render()}get loop(){return this._loop}setLoop(e){this._requireValidLoop(e),this._setPlayerState(()=>({loop:e})),this._userPlaybackOptions.loop=e}toggleLoop(){if(!this._lottie||["loading"].includes(this._currentState)){k$1("toggleLoop() Can't use whilst loading.");return}this.setLoop(!this._loop)}get background(){return this._background}
vendor: 5,081 bytes, line 399
399setBackground(e){this._requireValidBackground(e),this._background=e,this._container&&(this._container.style.backgroundColor=e)}get _frame(){return this._lottie?this.currentState==="completed"?this.direction===-1?0:this._lottie.totalFrames:this._lottie.currentFrame:0}get _seeker(){return this._lottie?this._frame/this._lottie.totalFrames*100:0}async revertToManifestValues(e){var i;let r;!Array.isArray(e)||e.length===0?r=["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"]:r=e;let o=!1;if(r.includes("activeAnimationId")){let Zt=(i=this._dotLottieLoader.manifest)==null?void 0:i.activeAnimationId,tr=this._getAnimationByIdOrIndex(Zt||0);this._activeAnimationId=Zt,await this._setCurrentAnimation(tr.id),o=!0}r.forEach(Zt=>{switch(Zt){case"autoplay":delete this._userPlaybackOptions.autoplay,this.setAutoplay(this._getOption("autoplay"));break;case"defaultTheme":delete this._userPlaybackOptions.defaultTheme,this.setDefaultTheme(this._getOption("defaultTheme"));break;case"direction":delete this._userPlaybackOptions.direction,this.setDirection(this._getOption("direction"));break;case"hover":delete this._userPlaybackOptions.hover,this.setHover(this._getOption("hover"));break;case"intermission":delete this._userPlaybackOptions.intermission,this.setIntermission(this._getOption("intermission"));break;case"loop":delete this._userPlaybackOptions.loop,this.setLoop(this._getOption("loop"));break;case"playMode":delete this._userPlaybackOptions.playMode,this.setMode(this._getOption("playMode")),this.setDirection(this._getOption("direction"));break;case"speed":delete this._userPlaybackOptions.speed,this.setSpeed(this._getOption("speed"));break}}),o&&this.render()}removeEventListener(e,i){var r,o,Zt;try{e==="complete"?(r=this._container)==null||r.removeEventListener(e,i):(o=this._lottie)==null||o.removeEventListener(e,i),(Zt=this._listeners.get(e))==null||Zt.delete(i)}catch(tr){et$1("removeEventListener",tr)}}_handleAnimationComplete(){var e;typeof this._loop=="number"&&this.stop();let i=this.direction===-1?0:this.totalFrames-1;this.goToAndStop(i,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),(e=this._container)==null||e.dispatchEvent(new Event("complete"))}addEventListeners(){var e;if(!this._lottie||["loading"].includes(this._currentState)){k$1("addEventListeners() Can't use whilst loading.");return}this._lottie.addEventListener("enterFrame",()=>{var i;if(!this._lottie){k$1("enterFrame event : Lottie is undefined.");return}Math.floor(this._lottie.currentFrame)===0&&this.direction===-1&&((i=this._container)==null||i.dispatchEvent(new Event("complete")),this.loop||this.setCurrentState("completed")),this._notify()}),this._lottie.addEventListener("loopComplete",()=>{var i;if(!this._lottie){k$1("loopComplete event : Lottie is undefined.");return}(i=this._container)==null||i.dispatchEvent(new Event("loopComplete")),this.intermission>0&&this.pause();let r=this._lottie.playDirection;if(typeof this._loop=="number"&&this._loop>0&&(this._counter+=this._mode==="bounce"?.5:1,this._counter>=this._loop)){this._handleAnimationComplete();return}this._mode==="bounce"&&typeof r=="number"&&(r=Number(r)*-1);let o=r===-1?this._lottie.totalFrames-1:0;this.intermission?(this.goToAndPlay(o,!0),this.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this._setPlayerState(()=>({direction:r})),this.goToAndPlay(o,!0))},this._intermission)):(this._setPlayerState(()=>({direction:r})),this.goToAndPlay(r===-1?this.totalFrames-1:0,!0))}),this._lottie.addEventListener("complete",()=>{if(this._lottie&&this._loop===!1&&this._mode==="bounce"){if(this._counter+=.5,this._counter>=1){this._handleAnimationComplete();return}this._counterInterval=window.setTimeout(()=>{if(!this._lottie)return;let i=this._lottie.playDirection;this._mode==="bounce"&&typeof i=="number"&&(i=Number(i)*-1);let r=i===-1?this.totalFrames-1:0;this._setPlayerState(()=>({direction:i})),this.goToAndPlay(r,!0)},this._intermission)}else this._handleAnimationComplete()});for(let[i,r]of this._listeners)if(i==="complete")for(let o of r)(e=this._container)==null||e.addEventListener(i,o);else for(let o of r)this._lottie.addEventListener(i,o)}async _setCurrentAnimation(e){this._currentState="loading";let i=await this._dotLottieLoader.getAnimation(e);this._currentAnimationId=e,this._animation=i,this._currentState="ready"}async _getAudioFactory(){if(this._animation&&Ce$1(this._animation)){let{DotLottieAudio:e}=await __vitePreload(()=>Promise.resolve().then(()=>dotlottieAudio75C54RUV),void 0);return i=>{let r=new e({src:[i]});return this._audios.push(r),r}}return null}async render(e){var i,r,o,Zt,tr,ar,ir,fr,gr,nr,rr,vr,cr,ur,Er,or,sr,pr;if(e!=null&&e.id)await this._setCurrentAnimation(e.id);else if(!this._animation)throw g("no animation selected");let dr=(i=q.loop)!=null?i:!1,Pr=(r=q.autoplay)!=null?r:!1,Ir=(o=q.playMode)!=null?o:"normal",zr=(Zt=q.intermission)!=null?Zt:0,$r=(tr=q.hover)!=null?tr:!1,es=(ar=q.direction)!=null?ar:1,hs=(ir=q.speed)!=null?ir:1,ps=(fr=q.defaultTheme)!=null?fr:"";
vendor: 15,203 bytes, line 399
399dr=(gr=e?.loop)!=null?gr:this._getOption("loop"),Pr=(nr=e?.autoplay)!=null?nr:this._getOption("autoplay"),Ir=(rr=e?.playMode)!=null?rr:this._getOption("playMode"),zr=(vr=e?.intermission)!=null?vr:this._getOption("intermission"),$r=(cr=e?.hover)!=null?cr:this._getOption("hover"),es=(ur=e?.direction)!=null?ur:this._getOption("direction"),hs=(Er=e?.speed)!=null?Er:this._getOption("speed"),ps=(or=e?.defaultTheme)!=null?or:this._getOption("defaultTheme");let os={...this._animationConfig,autoplay:$r?!1:Pr,loop:typeof dr=="number"?!0:dr,renderer:this._worker?"svg":(sr=this._animationConfig.renderer)!=null?sr:"svg"},[xs,is,cs]=await Promise.all([this._dotLottieLoader.getTheme(ps),this._getLottiePlayerInstance(),this._getAudioFactory()]);if(xs&&this._animation?(this._animation=St$1(this._animation),this._animation.slots=xs):this._animation=await this._dotLottieLoader.getAnimation((pr=this._currentAnimationId)!=null?pr:""),this._activeStateId&&!this._inInteractiveMode){this.enterInteractiveMode(this._activeStateId);return}this.destroy(),this._setPlayerState(()=>({defaultTheme:ps,playMode:Ir,intermission:zr,hover:$r,loop:dr})),cs?this._lottie=is.loadAnimation({...os,container:this._container,animationData:this._animation,audioFactory:cs}):this._lottie=is.loadAnimation({...os,container:this._container,animationData:this._animation}),typeof this._lottie.resetSegments>"u"&&(this._lottie.resetSegments=()=>{var Ar;(Ar=this._lottie)==null||Ar.playSegments([0,this._lottie.totalFrames],!0)}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this._setPlayerState(()=>({direction:es,speed:hs})),Pr&&!$r&&(dr===!1&&es===-1?this.play():this.setCurrentState("playing")),this._updateTestData()}async _getLottiePlayerInstance(){var e;let i=(e=this._animationConfig.renderer)!=null?e:"svg",r;if(this._worker)return i!=="svg"&&k$1("Worker is only supported with svg renderer. Change or remove renderer prop to get rid of this warning."),r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_workerQ23FJ6ZRYP5OKMTN),void 0),r.default;switch(i){case"svg":{this._light?r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_lightKMJEUZFYTNG7ODX7),void 0):r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_svgMJGYILXDNRTSROOT),void 0);break}case"canvas":{this._light?r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_light_canvasB5UTTNXAPRI6IBWW),void 0):r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_canvasCDSUBMCLMZNYH5VV),void 0);break}case"html":{this._light?r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_light_htmlSLCECTRTSYWXEBDN),void 0):r=await __vitePreload(()=>Promise.resolve().then(()=>lottie_htmlX3TYKVQIL6774NQS),void 0);break}default:throw new Error(`Invalid renderer: ${i}`)}return r.default}_getActiveAnimationId(){var e,i,r,o;let Zt=this._dotLottieLoader.manifest;return(o=(r=(e=this._activeAnimationId)!=null?e:Zt?.activeAnimationId)!=null?r:(i=Zt?.animations[0])==null?void 0:i.id)!=null?o:void 0}async load(e){if(this._currentState==="loading"){k$1("Loading in progress..");return}try{if(this.setCurrentState("loading"),typeof this._src=="string")if(Ee(this._src)){let r=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(r)}else{let r=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(r.toString())}else if(typeof this._src=="object"&&at(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw g("Invalid src provided");if(!this._dotLottieLoader.manifest)throw g("No manifest found");let i=this._getActiveAnimationId();if(!i)throw g("No active animation found");await this._setCurrentAnimation(i),await this.render(e)}catch(i){this.setCurrentState("error"),i instanceof Error&&et$1(`Error loading animation: ${i.message}`)}}setErrorState(e){this.setCurrentState("error"),et$1(e)}_requireValidDirection(e){if(e!==-1&&e!==1)throw g("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(e){if(e<0||!Number.isInteger(e))throw g("intermission must be a positive number")}_requireValidLoop(e){if(typeof e=="number"&&(!Number.isInteger(e)||e<0))throw g("loop must be a positive number or boolean")}_requireValidSpeed(e){if(typeof e!="number")throw g("speed must be a number")}_requireValidBackground(e){if(typeof e!="string")throw g("background must be a string")}_requireValidAutoplay(e){if(typeof e!="boolean")throw g("autoplay must be a boolean")}_requireValidPlaybackOptions(e){e.direction&&this._requireValidDirection(e.direction),e.intermission&&this._requireValidIntermission(e.intermission),e.loop&&this._requireValidLoop(e.loop),e.speed&&this._requireValidSpeed(e.speed)}},l=Object.create,a$1=Object.defineProperty,n=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,O$2=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,u=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),s=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of f(e))!c.call(t,o)&&o!==i&&a$1(t,o,{get:()=>e[o],enumerable:!(r=n(e,o))||r.enumerable});return t},v$1=(t,e,i)=>(i=t!=null?l(O$2(t)):{},s(a$1(i,"default",{value:t,enumerable:!0}),t)),h=Object.defineProperty,j=(t,e,i,r)=>{for(var o=void 0,Zt=t.length-1,tr;Zt>=0;Zt--)(tr=t[Zt])&&(o=tr(e,i,o)||o);return o&&h(e,i,o),o},M=(t,e)=>e.kind==="method"&&e.descriptor&&!("value"in e.descriptor)?{...e,finisher(i){i.createProperty(e.key,t)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){typeof e.initializer=="function"&&(this[e.key]=e.initializer.call(this))},finisher(i){i.createProperty(e.key,t)}},x=(t,e,i)=>{e.constructor.createProperty(i,t)};function p$1(t){return(e,i)=>i!==void 0?x(t,e,i):M(t,e)}function k(t){return p$1({...t,state:!0})}var v=({finisher:t,descriptor:e})=>(i,r)=>{var o;if(r===void 0){let Zt=(o=i.originalKey)!==null&&o!==void 0?o:i.key,tr=e!=null?{kind:"method",placement:"prototype",key:Zt,descriptor:e(i.key)}:{...i,key:Zt};return t!=null&&(tr.finisher=function(ar){t(ar,Zt)}),tr}{let Zt=i.constructor;e!==void 0&&Object.defineProperty(i,r,e(r)),t?.(Zt,r)}};function O$1(t,e){return v({descriptor:i=>({get(){var o,Zt;return(Zt=(o=this.renderRoot)===null||o===void 0?void 0:o.querySelector(t))!==null&&Zt!==void 0?Zt:null},enumerable:!0,configurable:!0})})}var L$1;((L$1=window.HTMLSlotElement)===null||L$1===void 0?void 0:L$1.prototype.assignedElements)!=null;var I$1={version:"2.7.12"},T$1="dotlottie-player",a=class extends w$1{defaultTheme="";container;playMode=en$1.Normal;autoplay=!1;background="transparent";controls=!1;direction=1;hover=!1;loop;renderer="svg";speed=1;src;intermission=0;activeAnimationId=null;light=!1;worker=!1;activeStateId;_seeker=0;_dotLottieCommonPlayer;_io;_loop;_renderer="svg";_unsubscribeListeners;_hasMultipleAnimations=!1;_hasMultipleThemes=!1;_hasMultipleStates=!1;_popoverIsOpen=!1;_animationsTabIsOpen=!1;_statesTabIsOpen=!1;_styleTabIsOpen=!1;_themesForCurrentAnimation=[];_statesForCurrentAnimation=[];_parseLoop(t){let e=parseInt(t,10);return Number.isInteger(e)&&e>0?(this._loop=e,e):typeof t=="string"&&["true","false"].includes(t)?(this._loop=t==="true",this._loop):(k$1("loop must be a positive integer or a boolean"),!1)}_handleSeekChange(t){let e=t.currentTarget;try{let i=parseInt(e.value,10);if(!this._dotLottieCommonPlayer)return;let r=i/100*this._dotLottieCommonPlayer.totalFrames;this.seek(r)}catch{throw g("Error while seeking animation")}}_initListeners(){let t=this._dotLottieCommonPlayer;if(t===void 0){k$1("player not initialized - cannot add event listeners","dotlottie-player-component");return}this._unsubscribeListeners=t.state.subscribe((e,i)=>{this._seeker=e.seeker,this.requestUpdate(),i.currentState!==e.currentState&&this.dispatchEvent(new CustomEvent(e.currentState)),this.dispatchEvent(new CustomEvent(Zi.Frame,{detail:{frame:e.frame,seeker:e.seeker}})),this.dispatchEvent(new CustomEvent(Zi.VisibilityChange,{detail:{visibilityPercentage:e.visibilityPercentage}}))}),t.addEventListener("complete",()=>{this.dispatchEvent(new CustomEvent(Zi.Complete))}),t.addEventListener("loopComplete",()=>{this.dispatchEvent(new CustomEvent(Zi.LoopComplete))}),t.addEventListener("DOMLoaded",()=>{let e=this.getManifest();e&&e.themes&&(this._themesForCurrentAnimation=e.themes.filter(i=>i.animations.includes(this.getCurrentAnimationId()||""))),e&&e.states&&(this._hasMultipleStates=e.states.length>0,this._statesForCurrentAnimation=[],e.states.forEach(i=>{this._statesForCurrentAnimation.push(i)})),this.dispatchEvent(new CustomEvent(Zi.Ready))}),t.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(Zi.DataReady))}),t.addEventListener("data_failed",()=>{this.dispatchEvent(new CustomEvent(Zi.DataFail))}),window&&window.addEventListener("click",e=>this._clickOutListener(e))}async load(t,e,i){if(!this.shadowRoot)return;this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.destroy(),this._dotLottieCommonPlayer=new gn$1(t,this.container,{rendererSettings:e??{scaleMode:"noScale",clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},hover:this.hasAttribute("hover")?this.hover:void 0,renderer:this.hasAttribute("renderer")?this._renderer:void 0,loop:this.hasAttribute("loop")?this._loop:void 0,direction:this.hasAttribute("direction")?this.direction===1?1:-1:void 0,speed:this.hasAttribute("speed")?this.speed:void 0,intermission:this.hasAttribute("intermission")?Number(this.intermission):void 0,playMode:this.hasAttribute("playMode")?this.playMode:void 0,autoplay:this.hasAttribute("autoplay")?this.autoplay:void 0,activeAnimationId:this.hasAttribute("activeAnimationId")?this.activeAnimationId:void 0,defaultTheme:this.hasAttribute("defaultTheme")?this.defaultTheme:void 0,light:this.light,worker:this.worker,activeStateId:this.hasAttribute("activeStateId")?this.activeStateId:void 0}),await this._dotLottieCommonPlayer.load(i);let r=this.getManifest();this._hasMultipleAnimations=this.animationCount()>1,r&&(r.themes&&(this._themesForCurrentAnimation=r.themes.filter(o=>o.animations.includes(this.getCurrentAnimationId()||"")),this._hasMultipleThemes=r.themes.length>0),r.states&&(this._hasMultipleStates=r.states.length>0,this._statesForCurrentAnimation=[],r.states.forEach(o=>{this._statesForCurrentAnimation.push(o)}))),this._initListeners()}getCurrentAnimationId(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.currentAnimationId}animationCount(){var t;return this._dotLottieCommonPlayer&&((t=this._dotLottieCommonPlayer.getManifest())==null?void 0:t.animations.length)||0}animations(){if(!this._dotLottieCommonPlayer)return[];let t=this._dotLottieCommonPlayer.getManifest();return t?.animations.map(e=>e.id)||[]}currentAnimation(){return!this._dotLottieCommonPlayer||!this._dotLottieCommonPlayer.currentAnimationId?"":this._dotLottieCommonPlayer.currentAnimationId}getState(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():nn$1}getManifest(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.getManifest()}getLottie(){var t;return(t=this._dotLottieCommonPlayer)==null?void 0:t.getAnimationInstance()}getVersions(){return{lottieWebVersion:gn$1.getLottieWebVersion(),dotLottiePlayerVersion:`${I$1.version}`}}previous(t){var e;(e=this._dotLottieCommonPlayer)==null||e.previous(t)}next(t){var e;(e=this._dotLottieCommonPlayer)==null||e.next(t)}reset(){var t;(t=this._dotLottieCommonPlayer)==null||t.reset()}play(t,e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.play(t,e)}pause(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.pause()}stop(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stop()}playOnShow(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnShow(t)}stopPlayOnShow(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnShow()}playOnScroll(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnScroll(t)}stopPlayOnScroll(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnScroll()}seek(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.seek(t)}snapshot(t=!0){if(!this.shadowRoot)return"";let e=this.shadowRoot.querySelector(".animation svg"),i=new XMLSerializer().serializeToString(e);if(t){let r=document.createElement("a");r.href=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(i)}`,r.download=`download_${this._seeker}.svg`,document.body.appendChild(r),r.click(),document.body.removeChild(r)}return i}setTheme(t){var e;(e=this._dotLottieCommonPlayer)==null||e.setDefaultTheme(t)}themes(){var t;if(!this._dotLottieCommonPlayer)return[];let e=this._dotLottieCommonPlayer.getManifest();return((t=e?.themes)==null?void 0:t.map(i=>i.id))||[]}getDefaultTheme(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.defaultTheme:""}getActiveStateMachine(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.activeStateId:""}_freeze(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.freeze()}setSpeed(t=1){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setSpeed(t)}setDirection(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setDirection(t)}setLooping(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setLoop(t)}isLooping(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.loop:!1}togglePlay(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.togglePlay()}toggleLooping(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.toggleLoop()}setPlayMode(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setMode(t)}enterInteractiveMode(t){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.enterInteractiveMode(t)}exitInteractiveMode(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.exitInteractiveMode()}revertToManifestValues(t){var e;(e=this._dotLottieCommonPlayer)==null||e.revertToManifestValues(t)}static get styles(){return Kt}async firstUpdated(){var t;this.container=(t=this.shadowRoot)==null?void 0:t.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(e=>{var i,r;e[0]!==void 0&&e[0].isIntersecting?((i=this._dotLottieCommonPlayer)==null?void 0:i.currentState)===tn$1.Frozen&&this.play():((r=this._dotLottieCommonPlayer)==null?void 0:r.currentState)===tn$1.Playing&&this._freeze()}),this._io.observe(this.container)),this.loop?this._parseLoop(this.loop):this.hasAttribute("loop")&&this._parseLoop("true"),this.renderer==="svg"?this._renderer="svg":this.renderer==="canvas"?this._renderer="canvas":this.renderer==="html"&&(this._renderer="html"),this.src&&await this.load(this.src)}disconnectedCallback(){var t,e;this._io&&(this._io.disconnect(),this._io=void 0),(t=this._dotLottieCommonPlayer)==null||t.destroy(),(e=this._unsubscribeListeners)==null||e.call(this),window&&window.removeEventListener("click",i=>this._clickOutListener(i))}_clickOutListener(t){!t.composedPath().some(e=>e instanceof HTMLElement?e.classList.contains("popover")||e.id==="lottie-animation-options":!1)&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate())}renderControls(){var t,e,i,r,o;let Zt=((t=this._dotLottieCommonPlayer)==null?void 0:t.currentState)===tn$1.Playing,tr=((e=this._dotLottieCommonPlayer)==null?void 0:e.currentState)===tn$1.Paused;return Ut$2`
400      <div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">
401        ${this._hasMultipleAnimations?Ut$2`
402              <button @click=${()=>this.previous()} aria-label="Previous animation" class="btn-spacing-left">
403                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
404                  <path
405                    fill-rule="evenodd"
406                    clip-rule="evenodd"
407                    d="M1.69214 13.5C1.69214 13.7761 1.916 14 2.19214 14C2.46828 14 2.69214 13.7761 2.69214 13.5L2.69214 2.5C2.69214 2.22386 2.46828 2 2.19214 2C1.916 2 1.69214 2.22386 1.69214 2.5V13.5ZM12.5192 13.7828C13.1859 14.174 14.0254 13.6933 14.0254 12.9204L14.0254 3.0799C14.0254 2.30692 13.1859 1.8262 12.5192 2.21747L4.13612 7.13769C3.47769 7.52414 3.47769 8.4761 4.13612 8.86255L12.5192 13.7828Z"
408                    fill="#20272C"
409                  />
410                </svg>
411              </button>
412            `:Ut$2``}
413        <button
414          id="lottie-play-button"
415          @click=${()=>{this.togglePlay()}}
416          class=${Zt||tr?`active ${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`:`${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`}
417          aria-label="play / pause animation"
418        >
419          ${Zt?Ut$2`
420                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
421                  <path
422                    d="M3.99996 2C3.26358 2 2.66663 2.59695 2.66663 3.33333V12.6667C2.66663 13.403 3.26358 14 3.99996 14H5.33329C6.06967 14 6.66663 13.403 6.66663 12.6667V3.33333C6.66663 2.59695 6.06967 2 5.33329 2H3.99996Z"
423                    fill="#20272C"
424                  />
425                  <path
426                    d="M10.6666 2C9.93025 2 9.33329 2.59695 9.33329 3.33333V12.6667C9.33329 13.403 9.93025 14 10.6666 14H12C12.7363 14 13.3333 13.403 13.3333 12.6667V3.33333C13.3333 2.59695 12.7363 2 12 2H10.6666Z"
427                    fill="#20272C"
428                  />
429                </svg>
430              `:Ut$2`
431                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
432                  <path
433                    d="M3.33337 3.46787C3.33337 2.52312 4.35948 1.93558 5.17426 2.41379L12.8961 6.94592C13.7009 7.41824 13.7009 8.58176 12.8961 9.05408L5.17426 13.5862C4.35948 14.0644 3.33337 13.4769 3.33337 12.5321V3.46787Z"
434                    fill="#20272C"
435                  />
436                </svg>
437              `}
438        </button>
439        ${this._hasMultipleAnimations?Ut$2`
440              <button @click=${()=>this.next()} aria-label="Next animation" class="btn-spacing-right">
441                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
442                  <path
443                    fill-rule="evenodd"
444                    clip-rule="evenodd"
445                    d="M14.3336 2.5C14.3336 2.22386 14.1097 2 13.8336 2C13.5574 2 13.3336 2.22386 13.3336 2.5V13.5C13.3336 13.7761 13.5574 14 13.8336 14C14.1097 14 14.3336 13.7761 14.3336 13.5V2.5ZM3.50618 2.21722C2.83954 1.82595 2 2.30667 2 3.07965V12.9201C2 13.6931 2.83954 14.1738 3.50618 13.7825L11.8893 8.86231C12.5477 8.47586 12.5477 7.52389 11.8893 7.13745L3.50618 2.21722Z"
446                    fill="#20272C"
447                  />
448                </svg>
449              </button>
450            `:Ut$2``}
451        <input
452          id="lottie-seeker-input"
453          class="seeker ${((i=this._dotLottieCommonPlayer)==null?void 0:i.direction)===-1?"to-left":""}"
454          type="range"
455          min="0"
456          step="1"
457          max="100"
458          .value=${this._seeker}
459          @input=${ar=>this._handleSeekChange(ar)}
460          @mousedown=${()=>{this._freeze()}}
461          @mouseup=${()=>{var ar;(ar=this._dotLottieCommonPlayer)==null||ar.unfreeze()}}
462          aria-valuemin="1"
463          aria-valuemax="100"
464          role="slider"
465          aria-valuenow=${this._seeker}
466          aria-label="lottie-seek-input"
467          style=${`--seeker: ${this._seeker}`}
468        />
469        <button
470          id="lottie-loop-toggle"
471          @click=${()=>this.toggleLooping()}
472          class=${(r=this._dotLottieCommonPlayer)!=null&&r.loop?"active btn-spacing-left":"btn-spacing-left"}
473          aria-label="loop-toggle"
474        >
475          <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
476            <path
477              d="M10.8654 2.31319C11.0607 2.11793 11.3772 2.11793 11.5725 2.31319L13.4581 4.19881C13.6534 4.39407 13.6534 4.71066 13.4581 4.90592L11.5725 6.79154C11.3772 6.9868 11.0607 6.9868 10.8654 6.79154C10.6701 6.59628 10.6701 6.27969 10.8654 6.08443L11.6162 5.33362H4V6.66695C4 7.03514 3.70152 7.33362 3.33333 7.33362C2.96514 7.33362 2.66666 7.03514 2.66666 6.66695L2.66666 4.66695C2.66666 4.29876 2.96514 4.00028 3.33333 4.00028H11.8454L10.8654 3.0203C10.6701 2.82504 10.6701 2.50846 10.8654 2.31319Z"
478              fill="currentColor"
479            />
480            <path
481              d="M12.4375 11.9999C12.8057 11.9999 13.1042 11.7014 13.1042 11.3332V9.33321C13.1042 8.96502 12.8057 8.66655 12.4375 8.66655C12.0693 8.66655 11.7708 8.96502 11.7708 9.33321V10.6665H4.15462L4.90543 9.91573C5.10069 9.72047 5.10069 9.40389 4.90543 9.20862C4.71017 9.01336 4.39359 9.01336 4.19832 9.20862L2.31271 11.0942C2.11744 11.2895 2.11744 11.6061 2.31271 11.8013L4.19832 13.687C4.39359 13.8822 4.71017 13.8822 4.90543 13.687C5.10069 13.4917 5.10069 13.1751 4.90543 12.9799L3.92545 11.9999H12.4375Z"
482              fill="currentColor"
483            />
484          </svg>
485        </button>
486        ${this._hasMultipleAnimations||this._hasMultipleThemes||this._hasMultipleStates?Ut$2`
487              <button
488                id="lottie-animation-options"
489                @click=${()=>{this._popoverIsOpen=!this._popoverIsOpen,this.requestUpdate()}}
490                aria-label="options"
491                class="btn-spacing-right"
492                style=${`background-color: ${this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":""}`}
493              >
494                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
495                  <path
496                    d="M8.33337 11.6666C7.78109 11.6666 7.33337 12.1143 7.33337 12.6666C7.33337 13.2189 7.78109 13.6666 8.33337 13.6666C8.88566 13.6666 9.33337 13.2189 9.33337 12.6666C9.33337 12.1143 8.88566 11.6666 8.33337 11.6666Z"
497                    fill="#20272C"
498                  />
499                  <path
500                    d="M7.33337 7.99992C7.33337 7.44763 7.78109 6.99992 8.33337 6.99992C8.88566 6.99992 9.33338 7.44763 9.33338 7.99992C9.33338 8.5522 8.88566 8.99992 8.33337 8.99992C7.78109 8.99992 7.33337 8.5522 7.33337 7.99992Z"
501                    fill="#20272C"
502                  />
503                  <path
504                    d="M7.33337 3.33325C7.33337 2.78097 7.78109 2.33325 8.33337 2.33325C8.88566 2.33325 9.33338 2.78097 9.33338 3.33325C9.33338 3.88554 8.88566 4.33325 8.33337 4.33325C7.78109 4.33325 7.33337 3.88554 7.33337 3.33325Z"
505                    fill="#20272C"
506                  />
507                </svg>
508              </button>
509            `:Ut$2``}
510      </div>
511      ${this._popoverIsOpen?Ut$2`
512            <div
513              id="popover"
514              class="popover"
515              tabindex="0"
516              aria-label="lottie animations themes popover"
517              style="min-height: ${this.themes().length>0?"84px":"auto"}"
518            >
519              ${!this._animationsTabIsOpen&&!this._styleTabIsOpen&&!this._statesTabIsOpen?Ut$2`
520                    <button
521                      class="popover-button"
522                      tabindex="0"
523                      aria-label="animations"
524                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}}
525                      @keydown=${ar=>{(ar.code==="Space"||ar.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate())}}
526                    >
527                      <div class="popover-button-text">Animations</div>
528                      <div>
529                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
530                          <path
531                            fill-rule="evenodd"
532                            clip-rule="evenodd"
533                            d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"
534                            fill="#4C5863"
535                          />
536                        </svg>
537                      </div>
538                    </button>
539                  `:Ut$2``}
540              ${this._hasMultipleThemes&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?Ut$2` <button
541                    class="popover-button"
542                    aria-label="Themes"
543                    @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}}
544                    @keydown=${ar=>{(ar.code==="Space"||ar.code==="Enter")&&(this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate())}}
545                  >
546                    <div class="popover-button-text">Themes</div>
547                    <div>
548                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
549                        <path
550                          fill-rule="evenodd"
551                          clip-rule="evenodd"
552                          d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"
553                          fill="#4C5863"
554                        />
555                      </svg>
556                    </div>
557                  </button>`:""}
558              ${this._hasMultipleStates&&!this._styleTabIsOpen&&!this._animationsTabIsOpen&&!this._statesTabIsOpen?Ut$2` <button
559                    class="popover-button"
560                    aria-label="States"
561                    @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}}
562                    @keydown=${ar=>{(ar.code==="Space"||ar.code==="Enter")&&(this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate())}}
563                  >
564                    <div class="popover-button-text">States</div>
565                    <div>
566                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
567                        <path
568                          fill-rule="evenodd"
569                          clip-rule="evenodd"
570                          d="M10.4697 17.5303C10.1768 17.2374 10.1768 16.7626 10.4697 16.4697L14.9393 12L10.4697 7.53033C10.1768 7.23744 10.1768 6.76256 10.4697 6.46967C10.7626 6.17678 11.2374 6.17678 11.5303 6.46967L16.5303 11.4697C16.8232 11.7626 16.8232 12.2374 16.5303 12.5303L11.5303 17.5303C11.2374 17.8232 10.7626 17.8232 10.4697 17.5303Z"
571                          fill="#4C5863"
572                        />
573                      </svg>
574                    </div>
575                  </button>`:""}
576              ${this._animationsTabIsOpen?Ut$2`<button
577                      class="option-title-button"
578                      aria-label="Back to main popover menu"
579                      @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate()}}
580                    >
581                      <div class="option-title-chevron">
582                        <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
583                          <path
584                            fill-rule="evenodd"
585                            clip-rule="evenodd"
586                            d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"
587                            fill="#20272C"
588                          />
589                        </svg>
590                      </div>
591                      <div>Animations</div>
592                    </button>
593                    <div class="option-title-separator"></div>
594                    <div class="option-row">
595                      <ul>
596                        ${this.animations().map(ar=>Ut$2`
597                            <li>
598                              <button
599                                class="option-button"
600                                aria-label=${`${ar}`}
601                                @click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(ar),this.requestUpdate()}}
602                                @keydown=${ir=>{(ir.code==="Space"||ir.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(ar),this.requestUpdate())}}
603                              >
604                                <div class="option-tick">
605                                  ${this.currentAnimation()===ar?Ut$2`
606                                        <svg
607                                          width="24"
608                                          height="24"
609                                          viewBox="0 0 24 24"
610                                          fill="none"
611                                          xmlns="http://www.w3.org/2000/svg"
612                                        >
613                                          <path
614                                            fill-rule="evenodd"
615                                            clip-rule="evenodd"
616                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"
617                                            fill="#20272C"
618                                          />
619                                        </svg>
620                                      `:Ut$2`<div style="width: 24px; height: 24px"></div>`}
621                                </div>
622                                <div>${ar}</div>
623                              </button>
624                            </li>
625                          `)}
626                      </ul>
627                    </div> `:Ut$2``}
628              ${this._styleTabIsOpen?Ut$2`<div class="option-title-themes-row">
629                      <button
630                        class="option-title-button themes"
631                        aria-label="Back to main popover menu"
632                        @click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate()}}
633                      >
634                        <div class="option-title-chevron">
635                          <svg
636                            width="24"
637                            height="24"
638                            viewBox="0 0 24 24"
639                            fill="none"
640                            xmlns="http://www.w3.org/2000/svg"
641                          >
642                            <path
643                              fill-rule="evenodd"
644                              clip-rule="evenodd"
645                              d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"
646                              fill="#20272C"
647                            />
648                          </svg>
649                        </div>
650                        <div class="option-title-text">Themes</div>
651                        ${((o=this._dotLottieCommonPlayer)==null?void 0:o.defaultTheme)===""?Ut$2``:Ut$2`
652                              <button
653                                class="reset-btn"
654                                @click=${()=>{this.setTheme(""),this.requestUpdate()}}
655                              >
656                                Reset
657                              </button>
658                            `}
659                      </button>
660                    </div>
661                    <div class="option-title-separator"></div>
662                    <div class="option-row">
663                      <ul>
664                        ${this._themesForCurrentAnimation.map(ar=>Ut$2`
665                            <li>
666                              <button
667                                class="option-button"
668                                aria-label="${ar.id}"
669                                @click=${()=>{this.setTheme(ar.id)}}
670                                @keydown=${ir=>{(ir.code==="Space"||ir.code==="Enter")&&this.setTheme(ar.id)}}
671                              >
672                                <div class="option-tick">
673                                  ${this.getDefaultTheme()===ar.id?Ut$2`
674                                        <svg
675                                          width="24"
676                                          height="24"
677                                          viewBox="0 0 24 24"
678                                          fill="none"
679                                          xmlns="http://www.w3.org/2000/svg"
680                                        >
681                                          <path
682                                            fill-rule="evenodd"
683                                            clip-rule="evenodd"
684                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"
685                                            fill="#20272C"
686                                          />
687                                        </svg>
688                                      `:Ut$2`<div style="width: 24px; height: 24px"></div>`}
689                                </div>
690                                <div>${ar.id}</div>
691                              </button>
692                            </li>
693                          `)}
694                      </ul>
695                    </div>`:Ut$2``}
696              ${this._statesTabIsOpen?Ut$2`<div class="option-title-themes-row">
697                      <button
698                        class="option-title-button themes"
699                        aria-label="Back to main popover menu"
700                        @click=${()=>{this._statesTabIsOpen=!this._statesTabIsOpen,this.requestUpdate()}}
701                      >
702                        <div class="option-title-chevron">
703                          <svg
704                            width="24"
705                            height="24"
706                            viewBox="0 0 24 24"
707                            fill="none"
708                            xmlns="http://www.w3.org/2000/svg"
709                          >
710                            <path
711                              fill-rule="evenodd"
712                              clip-rule="evenodd"
713                              d="M13.5303 6.46967C13.8232 6.76256 13.8232 7.23744 13.5303 7.53033L9.06066 12L13.5303 16.4697C13.8232 16.7626 13.8232 17.2374 13.5303 17.5303C13.2374 17.8232 12.7626 17.8232 12.4697 17.5303L7.46967 12.5303C7.17678 12.2374 7.17678 11.7626 7.46967 11.4697L12.4697 6.46967C12.7626 6.17678 13.2374 6.17678 13.5303 6.46967Z"
714                              fill="#20272C"
715                            />
716                          </svg>
717                        </div>
718                        <div class="option-title-text">States</div>
719                        <button
720                          class="reset-btn"
721                          @click=${()=>{this.exitInteractiveMode(),this.requestUpdate()}}
722                        >
723                          Reset
724                        </button>
725                      </button>
726                    </div>
727                    <div class="option-title-separator"></div>
728                    <div class="option-row">
729                      <ul>
730                        ${this._statesForCurrentAnimation.map(ar=>Ut$2`
731                            <li>
732                              <button
733                                class="option-button"
734                                aria-label="${ar}"
735                                @click=${()=>{this.enterInteractiveMode(ar)}}
736                                @keydown=${ir=>{(ir.code==="Space"||ir.code==="Enter")&&this.enterInteractiveMode(ar)}}
737                              >
738                                <div class="option-tick">
739                                  ${this.getActiveStateMachine()===ar?Ut$2`
740                                        <svg
741                                          width="24"
742                                          height="24"
743                                          viewBox="0 0 24 24"
744                                          fill="none"
745                                          xmlns="http://www.w3.org/2000/svg"
746                                        >
747                                          <path
748                                            fill-rule="evenodd"
749                                            clip-rule="evenodd"
750                                            d="M20.5281 5.9372C20.821 6.23009 20.821 6.70497 20.5281 6.99786L9.46297 18.063C9.32168 18.2043 9.12985 18.2833 8.93004 18.2826C8.73023 18.2819 8.53895 18.2015 8.39864 18.0593L3.46795 13.0596C3.1771 12.7647 3.1804 12.2898 3.47532 11.999C3.77024 11.7081 4.2451 11.7114 4.53595 12.0063L8.93634 16.4683L19.4675 5.9372C19.7604 5.64431 20.2352 5.64431 20.5281 5.9372Z"
751                                            fill="#20272C"
752                                          />
753                                        </svg>
754                                      `:Ut$2`<div style="width: 24px; height: 24px"></div>`}
755                                </div>
756                                <div>${ar}</div>
757                              </button>
758                            </li>
759                          `)}
760                      </ul>
761                    </div>`:Ut$2``}
762            </div>
763          `:Ut$2``}
764    `}render(){var t;let e=this.controls?"main controls":"main",i=this.controls?"animation controls":"animation";return Ut$2`
765      <div id="animation-container" class=${e} lang="en" role="img" aria-label="lottie-animation-container">
766        <div id="animation" class=${i} style="background:${this.background};">
767          ${((t=this._dotLottieCommonPlayer)==null?void 0:t.currentState)===tn$1.Error?Ut$2` <div class="error">⚠️</div> `:void 0}
768        </div>
769        ${this.controls?this.renderControls():void 0}
770      </div>
771    `}};j([p$1({type:String})],a.prototype,"defaultTheme"),j([O$1("#animation")],a.prototype,"container"),j([p$1()],a.prototype,"playMode"),j([p$1({type:Boolean})],a.prototype,"autoplay"),j([p$1({type:String})],a.prototype,"background"),j([p$1({type:Boolean})],a.prototype,"controls"),j([p$1({type:Number})],a.prototype,"direction"),j([p$1({type:Boolean})],a.prototype,"hover"),j([p$1({type:String})],a.prototype,"loop"),j([p$1({type:String})],a.prototype,"renderer"),j([p$1({type:Number})],a.prototype,"speed"),j([p$1({type:String})],a.prototype,"src"),j([p$1()],a.prototype,"intermission"),j([p$1({type:String})],a.prototype,"activeAnimationId"),j([p$1({type:Boolean})],a.prototype,"light"),j([p$1({type:Boolean})],a.prototype,"worker"),j([p$1({type:String})],a.prototype,"activeStateId"),j([k()],a.prototype,"_seeker");customElements.get(T$1)||customElements.define(T$1,a);/*! Bundled license information:
772
773@lit/reactive-element/decorators/custom-element.js:
774  (**
775   * @license
776   * Copyright 2017 Google LLC
777   * SPDX-License-Identifier: BSD-3-Clause
778   *)
779
780@lit/reactive-element/decorators/property.js:
781  (**
782   * @license
783   * Copyright 2017 Google LLC
784   * SPDX-License-Identifier: BSD-3-Clause
785   *)
786
787@lit/reactive-element/decorators/state.js:
788  (**
789   * @license
790   * Copyright 2017 Google LLC
791   * SPDX-License-Identifier: BSD-3-Clause
792   *)
793
794@lit/reactive-element/decorators/base.js:
795  (**
796   * @license
797   * Copyright 2017 Google LLC
798   * SPDX-License-Identifier: BSD-3-Clause
799   *)
800
801@lit/reactive-element/decorators/event-options.js:
802  (**
803   * @license
804   * Copyright 2017 Google LLC
805   * SPDX-License-Identifier: BSD-3-Clause
806   *)
807
808@lit/reactive-element/decorators/query.js:
809  (**
810   * @license
811   * Copyright 2017 Google LLC
812   * SPDX-License-Identifier: BSD-3-Clause
813   *)
814
815@lit/reactive-element/decorators/query-all.js:
816  (**
817   * @license
818   * Copyright 2017 Google LLC
819   * SPDX-License-Identifier: BSD-3-Clause
820   *)
821
822@lit/reactive-element/decorators/query-async.js:
823  (**
824   * @license
825   * Copyright 2017 Google LLC
826   * SPDX-License-Identifier: BSD-3-Clause
827   *)
828
829@lit/reactive-element/decorators/query-assigned-elements.js:
830  (**
831   * @license
832   * Copyright 2021 Google LLC
833   * SPDX-License-Identifier: BSD-3-Clause
834   *)
835
836@lit/reactive-element/decorators/query-assigned-nodes.js:
837  (**
838   * @license
839   * Copyright 2017 Google LLC
840   * SPDX-License-Identifier: BSD-3-Clause
841   *)
842*/var p=function(){return p=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},p.apply(this,arguments)};function $t(t,e){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(i[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(i[r[o]]=t[r[o]]);return i}
vendor: 21,564 bytes, lines 842-843
842function E$1(t){var e=typeof Symbol=="function"&&Symbol.iterator,i=e&&t[e],r=0;if(i)return i.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function O(t,e){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.call(t),o,Zt=[],tr;try{for(;(e===void 0||e-- >0)&&!(o=r.next()).done;)Zt.push(o.value)}catch(ar){tr={error:ar}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(tr)throw tr.error}}return Zt}function V(t,e,i){if(arguments.length===2)for(var r=0,o=e.length,Zt;r<o;r++)(Zt||!(r in e))&&(Zt||(Zt=Array.prototype.slice.call(e,0,r)),Zt[r]=e[r]);return t.concat(Zt||Array.prototype.slice.call(e))}var P;(function(t){t.Start="xstate.start",t.Stop="xstate.stop",t.Raise="xstate.raise",t.Send="xstate.send",t.Cancel="xstate.cancel",t.NullEvent="",t.Assign="xstate.assign",t.After="xstate.after",t.DoneState="done.state",t.DoneInvoke="done.invoke",t.Log="xstate.log",t.Init="xstate.init",t.Invoke="xstate.invoke",t.ErrorExecution="error.execution",t.ErrorCommunication="error.communication",t.ErrorPlatform="error.platform",t.ErrorCustom="xstate.error",t.Update="xstate.update",t.Pure="xstate.pure",t.Choose="xstate.choose"})(P||(P={}));var it;(function(t){t.Parent="#_parent",t.Internal="#_internal"})(it||(it={}));var Mt=P.Start,Ft=P.Stop,pt=P.Raise,Pt=P.Send,oe=P.Cancel,Oe=P.NullEvent,ae=P.Assign;P.After;P.DoneState;var se=P.Log,ke=P.Init,Dt=P.Invoke;P.ErrorExecution;var Yt=P.ErrorPlatform,Te=P.ErrorCustom,ce=P.Update,Ne=P.Choose,je=P.Pure,ue=".",Gt={},Rt="xstate.guard",Ae="",mt;function Xt(t,e,i){i===void 0&&(i=ue);var r=ft(t,i),o=ft(e,i);return A(o)?A(r)?o===r:!1:A(r)?r in o:Object.keys(r).every(function(Zt){return Zt in o?Xt(r[Zt],o[Zt]):!1})}function he(t){try{return A(t)||typeof t=="number"?"".concat(t):t.type}catch{throw new Error("Events must be strings or objects with a string event.type property.")}}function zt(t,e){try{return ot(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function Pe(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function ft(t,e){if(Pe(t))return t.value;if(ot(t))return Tt(t);if(typeof t!="string")return t;var i=zt(t,e);return Tt(i)}function Tt(t){if(t.length===1)return t[0];for(var e={},i=e,r=0;r<t.length-1;r++)r===t.length-2?i[t[r]]=t[r+1]:(i[t[r]]={},i=i[t[r]]);return e}function ct(t,e){for(var i={},r=Object.keys(t),o=0;o<r.length;o++){var Zt=r[o];i[Zt]=e(t[Zt],Zt,t,o)}return i}function te(t,e,i){var r,o,Zt={};try{for(var tr=E$1(Object.keys(t)),ar=tr.next();!ar.done;ar=tr.next()){var ir=ar.value,fr=t[ir];i(fr)&&(Zt[ir]=e(fr,ir,t))}}catch(gr){r={error:gr}}finally{try{ar&&!ar.done&&(o=tr.return)&&o.call(tr)}finally{if(r)throw r.error}}return Zt}var Le=function(t){return function(e){var i,r,o=e;try{for(var Zt=E$1(t),tr=Zt.next();!tr.done;tr=Zt.next()){var ar=tr.value;o=o[ar]}}catch(ir){i={error:ir}}finally{try{tr&&!tr.done&&(r=Zt.return)&&r.call(Zt)}finally{if(i)throw i.error}}return o}};function Ce(t,e){return function(i){var r,o,Zt=i;try{for(var tr=E$1(t),ar=tr.next();!ar.done;ar=tr.next()){var ir=ar.value;Zt=Zt[e][ir]}}catch(fr){r={error:fr}}finally{try{ar&&!ar.done&&(o=tr.return)&&o.call(tr)}finally{if(r)throw r.error}}return Zt}}function wt(t){if(!t)return[[]];if(A(t))return[[t]];var e=I(Object.keys(t).map(function(i){var r=t[i];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[i]]:wt(t[i]).map(function(o){return[i].concat(o)})}));return e}function I(t){var e;return(e=[]).concat.apply(e,V([],O(t),!1))}function le(t){return ot(t)?t:[t]}function U(t){return t===void 0?[]:le(t)}function Nt(t,e,i){var r,o;if(T(t))return t(e,i.data);var Zt={};try{for(var tr=E$1(Object.keys(t)),ar=tr.next();!ar.done;ar=tr.next()){var ir=ar.value,fr=t[ir];T(fr)?Zt[ir]=fr(e,i.data):Zt[ir]=fr}}catch(gr){r={error:gr}}finally{try{ar&&!ar.done&&(o=tr.return)&&o.call(tr)}finally{if(r)throw r.error}}return Zt}function Ve(t){return/^(done|error)\./.test(t)}function ee(t){return!!(t instanceof Promise||t!==null&&(T(t)||typeof t=="object")&&T(t.then))}function Ie(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function Me(t,e){var i,r,o=O([[],[]],2),Zt=o[0],tr=o[1];try{for(var ar=E$1(t),ir=ar.next();!ir.done;ir=ar.next()){var fr=ir.value;e(fr)?Zt.push(fr):tr.push(fr)}}catch(gr){i={error:gr}}finally{try{ir&&!ir.done&&(r=ar.return)&&r.call(ar)}finally{if(i)throw i.error}}return[Zt,tr]}function fe(t,e){return ct(t.states,function(i,r){if(i){var o=(A(e)?void 0:e[r])||(i?i.current:void 0);if(o)return{current:o,states:fe(i,o)}}})}function De(t,e){return{current:e,states:fe(t,e)}}function ne(t,e,i,r){var o=t&&i.reduce(function(Zt,tr){var ar,ir,fr=tr.assignment,gr={state:r,action:tr,_event:e},nr={};if(T(fr))nr=fr(Zt,e.data,gr);else try{for(var rr=E$1(Object.keys(fr)),vr=rr.next();!vr.done;vr=rr.next()){var cr=vr.value,ur=fr[cr];nr[cr]=T(ur)?ur(Zt,e.data,gr):ur}}catch(Er){ar={error:Er}}finally{try{vr&&!vr.done&&(ir=rr.return)&&ir.call(rr)}finally{if(ar)throw ar.error}}return Object.assign({},Zt,nr)},t);return o}var Re=function(){};function ot(t){return Array.isArray(t)}function T(t){return typeof t=="function"}function A(t){return typeof t=="string"}function de(t,e){if(t)return A(t)?{type:Rt,name:t,predicate:e?e[t]:void 0}:T(t)?{type:Rt,name:t.name,predicate:t}:t}function ze(t){try{return"subscribe"in t&&T(t.subscribe)}catch{return!1}}var X=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();mt={},mt[X]=function(){return this},mt[Symbol.observable]=function(){return this};function rt(t){return!!t&&"__xstatenode"in t}function Be(t){return!!t&&typeof t.send=="function"}function Lt(t,e){return A(t)||typeof t=="number"?p({type:t},e):t}function R(t,e){if(!A(t)&&"$$type"in t&&t.$$type==="scxml")return t;var i=Lt(t);return p({name:i.type,data:i,$$type:"scxml",type:"external"},e)}function Z(t,e){var i=le(e).map(function(r){return typeof r>"u"||typeof r=="string"||rt(r)?{target:r,event:t}:p(p({},r),{event:t})});return i}function Je(t){if(!(t===void 0||t===Ae))return U(t)}function ve(t,e,i,r,o){var Zt=t.options.guards,tr={state:o,cond:e,_event:r};if(e.type===Rt)return(Zt?.[e.name]||e.predicate)(i,r.data,tr);var ar=Zt?.[e.type];if(!ar)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return ar(i,r.data,tr)}function pe(t){return typeof t=="string"?{type:t}:t}function Et(t,e,i){var r=function(){},o=typeof t=="object",Zt=o?t:null;return{next:((o?t.next:t)||r).bind(Zt),error:((o?t.error:e)||r).bind(Zt),complete:((o?t.complete:i)||r).bind(Zt)}}function _t(t,e){return"".concat(t,":invocation[").concat(e,"]")}function Bt(t){return(t.type===pt||t.type===Pt&&t.to===it.Internal)&&typeof t.delay!="number"}var nt=R({type:ke});function Jt(t,e){return e&&e[t]||void 0}function dt$1(t,e){var i;if(A(t)||typeof t=="number"){var r=Jt(t,e);T(r)?i={type:t,exec:r}:r?i=r:i={type:t,exec:void 0}}else if(T(t))i={type:t.name||t.toString(),exec:t};else{var r=Jt(t.type,e);if(T(r))i=p(p({},t),{exec:r});else if(r){var o=r.type||t.type;i=p(p(p({},r),t),{type:o})}else i=t}return i}var Q=function(t,e){if(!t)return[];var i=ot(t)?t:[t];return i.map(function(r){return dt$1(r,e)})};function Qt(t){var e=dt$1(t);return p(p({id:A(t)?t:e.id},e),{type:e.type})}function qe(t,e){return{type:pt,event:typeof t=="function"?t:Lt(t),delay:e?e.delay:void 0,id:e?.id}}function Ue(t,e,i,r){var o={_event:i},Zt=R(T(t.event)?t.event(e,i.data,o):t.event),tr;if(A(t.delay)){var ar=r&&r[t.delay];tr=T(ar)?ar(e,i.data,o):ar}else tr=T(t.delay)?t.delay(e,i.data,o):t.delay;return p(p({},t),{type:pt,_event:Zt,delay:tr})}function $e(t,e){return{to:e?e.to:void 0,type:Pt,event:T(t)?t:Lt(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:T(t)?t.name:he(t)}}function Fe(t,e,i,r){var o={_event:i},Zt=R(T(t.event)?t.event(e,i.data,o):t.event),tr;if(A(t.delay)){var ar=r&&r[t.delay];tr=T(ar)?ar(e,i.data,o):ar}else tr=T(t.delay)?t.delay(e,i.data,o):t.delay;var ir=T(t.to)?t.to(e,i.data,o):t.to;return p(p({},t),{to:ir,_event:Zt,event:Zt.data,delay:tr})}var Xe=function(t,e,i){return p(p({},t),{value:A(t.expr)?t.expr:t.expr(e,i.data,{_event:i})})},Qe=function(t){return{type:oe,sendId:t}};function He(t){var e=Qt(t);return{type:P.Start,activity:e,exec:void 0}}function We(t){var e=T(t)?t:Qt(t);return{type:P.Stop,activity:e,exec:void 0}}function Ke(t,e,i){var r=T(t.activity)?t.activity(e,i.data):t.activity,o=typeof r=="string"?{id:r}:r,Zt={type:P.Stop,activity:o};return Zt}function Ze(t,e){var i=e?"#".concat(e):"";return"".concat(P.After,"(").concat(t,")").concat(i)}function bt(t,e){var i="".concat(P.DoneState,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}function Ot(t,e){var i="".concat(P.DoneInvoke,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}function ut$3(t,e){var i="".concat(P.ErrorPlatform,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}var Ye=function(t){var e,i,r=[];try{for(var o=E$1(t),Zt=o.next();!Zt.done;Zt=o.next())for(var tr=Zt.value,ar=0;ar<tr.actions.length;){if(tr.actions[ar].type===ae){r.push(tr.actions[ar]),tr.actions.splice(ar,1);continue}ar++}}catch(ir){e={error:ir}}finally{try{Zt&&!Zt.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return r};function jt(t,e,i,r,o,Zt,tr){tr===void 0&&(tr=!1);var ar=tr?[]:Ye(o),ir=ar.length?ne(i,r,ar,e):i,fr=tr?[i]:void 0,gr=[];function nr(cr,ur){var Er;switch(ur.type){case pt:{var or=Ue(ur,ir,r,t.options.delays);return Zt&&typeof or.delay=="number"&&Zt(or,ir,r),or}case Pt:var sr=Fe(ur,ir,r,t.options.delays);return Zt&&sr.to!==it.Internal&&(cr==="entry"?gr.push(sr):Zt(sr,ir,r)),sr;case se:{var pr=Xe(ur,ir,r);return Zt?.(pr,ir,r),pr}case Ne:{var dr=ur,Pr=(Er=dr.conds.find(function(Ar){var Tr=de(Ar.cond,t.options.guards);return!Tr||ve(t,Tr,ir,r,Zt?void 0:e)}))===null||Er===void 0?void 0:Er.actions;if(!Pr)return[];var Ir=O(jt(t,e,ir,r,[{type:cr,actions:Q(U(Pr),t.options.actions)}],Zt,tr),2),zr=Ir[0],$r=Ir[1];return ir=$r,fr?.push(ir),zr}case je:{var Pr=ur.get(ir,r.data);if(!Pr)return[];var es=O(jt(t,e,ir,r,[{type:cr,actions:Q(U(Pr),t.options.actions)}],Zt,tr),2),hs=es[0],ps=es[1];return ir=ps,fr?.push(ir),hs}case Ft:{var pr=Ke(ur,ir,r);return Zt?.(pr,i,r),pr}case ae:{ir=ne(ir,r,[ur],Zt?void 0:e),fr?.push(ir);break}default:var os=dt$1(ur,t.options.actions),xs=os.exec;if(Zt)Zt(os,ir,r);else if(xs&&fr){var is=fr.length-1,cs=p(p({},os),{exec:function(Ar){for(var Tr=[],yr=1;yr<arguments.length;yr++)Tr[yr-1]=arguments[yr];xs.apply(void 0,V([fr[is]],O(Tr),!1))}});os=cs}return os}}function rr(cr){var ur,Er,or=[];try{for(var sr=E$1(cr.actions),pr=sr.next();!pr.done;pr=sr.next()){var dr=pr.value,Pr=nr(cr.type,dr);Pr&&(or=or.concat(Pr))}}catch(Ir){ur={error:Ir}}finally{try{pr&&!pr.done&&(Er=sr.return)&&Er.call(sr)}finally{if(ur)throw ur.error}}return gr.forEach(function(Ir){Zt(Ir,ir,r)}),gr.length=0,or}var vr=I(o.map(rr));return[vr,ir]}var tt=function(t,e){var i=e(t);return i};function ye(t){var e;return e={id:t,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return{id:t}}},e[X]=function(){return this},e}function Ge(t,e,i,r){var o,Zt=pe(t.src),tr=(o=e?.options.services)===null||o===void 0?void 0:o[Zt.type],ar=t.data?Nt(t.data,i,r):void 0,ir=tr?ge(tr,t.id,ar):ye(t.id);return ir.meta=t,ir}function ge(t,e,i){var r=ye(e);if(r.deferred=!0,rt(t)){var o=r.state=tt(void 0,function(){return(i?t.withContext(i):t).initialState});r.getSnapshot=function(){return o}}return r}function tn(t){try{return typeof t.send=="function"}catch{return!1}}function en(t){return tn(t)&&"id"in t}function nn(t){var e;return p((e={subscribe:function(){return{unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[X]=function(){return this},e),t)}var At=function(t){return t.type==="atomic"||t.type==="final"};function me(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function vt(t){return me(t).filter(function(e){return e.type!=="history"})}function _e(t){var e=[t];return At(t)?e:e.concat(I(vt(t).map(_e)))}function ht(t,e){var i,r,o,Zt,tr,ar,ir,fr,gr=new Set(t),nr=qt(gr),rr=new Set(e);try{for(var vr=E$1(rr),cr=vr.next();!cr.done;cr=vr.next())for(var ur=cr.value,Er=ur.parent;Er&&!rr.has(Er);)rr.add(Er),Er=Er.parent}catch(es){i={error:es}}finally{try{cr&&!cr.done&&(r=vr.return)&&r.call(vr)}finally{if(i)throw i.error}}var or=qt(rr);try{for(var sr=E$1(rr),pr=sr.next();!pr.done;pr=sr.next()){var ur=pr.value;if(ur.type==="compound"&&(!or.get(ur)||!or.get(ur).length))nr.get(ur)?nr.get(ur).forEach(function(hs){return rr.add(hs)}):ur.initialStateNodes.forEach(function(hs){return rr.add(hs)});else if(ur.type==="parallel")try{for(var dr=(tr=void 0,E$1(vt(ur))),Pr=dr.next();!Pr.done;Pr=dr.next()){var Ir=Pr.value;rr.has(Ir)||(rr.add(Ir),nr.get(Ir)?nr.get(Ir).forEach(function(hs){return rr.add(hs)}):Ir.initialStateNodes.forEach(function(hs){return rr.add(hs)}))}}catch(hs){tr={error:hs}}finally{try{Pr&&!Pr.done&&(ar=dr.return)&&ar.call(dr)}finally{if(tr)throw tr.error}}}}catch(es){o={error:es}}finally{try{pr&&!pr.done&&(Zt=sr.return)&&Zt.call(sr)}finally{if(o)throw o.error}}try{for(var zr=E$1(rr),$r=zr.next();!$r.done;$r=zr.next())for(var ur=$r.value,Er=ur.parent;Er&&!rr.has(Er);)rr.add(Er),Er=Er.parent}catch(es){ir={error:es}}finally{try{$r&&!$r.done&&(fr=zr.return)&&fr.call(zr)}finally{if(ir)throw ir.error}}return rr}function be(t,e){var i=e.get(t);if(!i)return{};if(t.type==="compound"){var r=i[0];if(r){if(At(r))return r.key}else return{}}var o={};return i.forEach(function(Zt){o[Zt.key]=be(Zt,e)}),o}function qt(t){var e,i,r=new Map;try{for(var o=E$1(t),Zt=o.next();!Zt.done;Zt=o.next()){var tr=Zt.value;r.has(tr)||r.set(tr,[]),tr.parent&&(r.has(tr.parent)||r.set(tr.parent,[]),r.get(tr.parent).push(tr))}}catch(ar){e={error:ar}}finally{try{Zt&&!Zt.done&&(i=o.return)&&i.call(o)}finally{if(e)throw e.error}}return r}function rn(t,e){var i=ht([t],e);return be(t,qt(i))}function lt(t,e){return Array.isArray(t)?t.some(function(i){return i===e}):t instanceof Set?t.has(e):!1}function on(t){return V([],O(new Set(I(V([],O(t.map(function(e){return e.ownEvents})),!1)))),!1)}function kt(t,e){return e.type==="compound"?vt(e).some(function(i){return i.type==="final"&&lt(t,i)}):e.type==="parallel"?vt(e).every(function(i){return kt(t,i)}):!1}function an(t){return t===void 0&&(t=[]),t.reduce(function(e,i){return i.meta!==void 0&&(e[i.id]=i.meta),e},{})}function ie(t){return new Set(I(t.map(function(e){return e.tags})))}function xe(t,e){if(t===e)return!0;if(t===void 0||e===void 0)return!1;if(A(t)||A(e))return t===e;var i=Object.keys(t),r=Object.keys(e);return i.length===r.length&&i.every(function(o){return xe(t[o],e[o])})}function sn(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function cn(t,e){var i=t.exec,r=p(p({},t),{exec:i!==void 0?function(){return i(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}var F=function(){function t(e){var i=this,r;this.actions=[],this.activities=Gt,this.meta={},this.events=[],this.value=e.value,this.context=e.context,this._event=e._event,this._sessionid=e._sessionid,this.event=this._event.data,this.historyValue=e.historyValue,this.history=e.history,this.actions=e.actions||[],this.activities=e.activities||Gt,this.meta=an(e.configuration),this.events=e.events||[],this.matches=this.matches.bind(this),this.toStrings=this.toStrings.bind(this),this.configuration=e.configuration,this.transitions=e.transitions,this.children=e.children,this.done=!!e.done,this.tags=(r=Array.isArray(e.tags)?new Set(e.tags):e.tags)!==null&&r!==void 0?r:new Set,this.machine=e.machine,Object.defineProperty(this,"nextEvents",{get:function(){return on(i.configuration)}})}return t.from=function(e,i){if(e instanceof t)return e.context!==i?new t({value:e.value,context:i,_event:e._event,_sessionid:null,historyValue:e.historyValue,history:e.history,actions:[],activities:e.activities,events:[],configuration:[],transitions:[],children:{}}):e;var r=nt;return new t({value:e,context:i,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,events:[],configuration:[],transitions:[],children:{}})},t.create=function(e){return new t(e)},t.inert=function(e,i){if(e instanceof t){if(!e.actions.length)return e;var r=nt;return new t({value:e.value,context:i,_event:r,_sessionid:null,historyValue:e.historyValue,history:e.history,activities:e.activities,configuration:e.configuration,transitions:[],children:{}})}return t.from(e,i)},t.prototype.toStrings=function(e,i){var r=this;if(e===void 0&&(e=this.value),i===void 0&&(i="."),A(e))return[e];var o=Object.keys(e);return o.concat.apply(o,V([],O(o.map(function(Zt){return r.toStrings(e[Zt],i).map(function(tr){return Zt+i+tr})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var i=e.tags;e.machine;var r=$t(e,["configuration","transitions","tags","machine"]);return p(p({},r),{tags:Array.from(i)})},t.prototype.matches=function(e){return Xt(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var i;Re(!!this.machine);var r=(i=this.machine)===null||i===void 0?void 0:i.getTransitionData(this,e);return!!(r!=null&&r.transitions.length)&&r.transitions.some(function(o){return o.target!==void 0||o.actions.length})},t}(),un={deferEvents:!1},re=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=p(p({},un),e)}return t.prototype.initialize=function(e){if(this.initialized=!0,e){if(!this.options.deferEvents){this.schedule(e);return}this.process(e)}this.flushEvents()},t.prototype.schedule=function(e){if(!this.initialized||this.processingEvent){this.queue.push(e);return}if(this.queue.length!==0)throw new Error("Event queue should be empty when it is not processing events");this.process(e),this.flushEvents()},t.prototype.clear=function(){this.queue=[]},t.prototype.flushEvents=function(){for(var e=this.queue.shift();e;)this.process(e),e=this.queue.shift()},t.prototype.process=function(e){this.processingEvent=!0;try{e()}catch(i){throw this.clear(),i}finally{this.processingEvent=!1}},t}(),Vt=new Map,hn=0,st={bookId:function(){return"x:".concat(hn++)},register:function(t,e){return Vt.set(t,e),t},get:function(t){return Vt.get(t)},free:function(t){Vt.delete(t)}};function Ht(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof globalThis<"u")return globalThis}function ln(){var t=Ht();if(t&&"__xstate__"in t)return t.__xstate__}function fn(t){if(Ht()){var e=ln();e&&e.register(t)}}function dn(t,e){e===void 0&&(e={});var i=t.initialState,r=new Set,o=[],Zt=!1,tr=function(){if(!Zt){for(Zt=!0;o.length>0;){var fr=o.shift();i=t.transition(i,fr,ir),r.forEach(function(gr){return gr.next(i)})}Zt=!1}},ar=nn({id:e.id,send:function(fr){o.push(fr),tr()},getSnapshot:function(){return i},subscribe:function(fr,gr,nr){var rr=Et(fr,gr,nr);return r.add(rr),rr.next(i),{unsubscribe:function(){r.delete(rr)}}}}),ir={parent:e.parent,self:ar,id:e.id||"anonymous",observers:r};return i=t.start?t.start(ir):i,ar}var vn={sync:!1,autoForward:!1},D$1;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(D$1||(D$1={}));var pn=function(){function t(e,i){i===void 0&&(i=t.defaultOptions);var r=this;this.machine=e,this.delayedEventsMap={},this.listeners=new Set,this.contextListeners=new Set,this.stopListeners=new Set,this.doneListeners=new Set,this.eventListeners=new Set,this.sendListeners=new Set,this.initialized=!1,this.status=D$1.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(gr,nr){if(ot(gr))return r.batch(gr),r.state;var rr=R(Lt(gr,nr));if(r.status===D$1.Stopped)return r.state;if(r.status!==D$1.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(rr.name,'" was sent to uninitialized service "').concat(r.machine.id,`". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.
843Event: `).concat(JSON.stringify(rr.data)));return r.scheduler.schedule(function(){r.forward(rr);var vr=r._nextState(rr);r.update(vr,rr)}),r._state},this.sendTo=function(gr,nr,rr){var vr=r.parent&&(nr===it.Parent||r.parent.id===nr),cr=vr?r.parent:A(nr)?nr===it.Internal?r:r.children.get(nr)||st.get(nr):Be(nr)?nr:void 0;if(!cr){if(!vr)throw new Error("Unable to send event to child '".concat(nr,"' from service '").concat(r.id,"'."));return}if("machine"in cr){if(r.status!==D$1.Stopped||r.parent!==cr||r.state.done){var ur=p(p({},gr),{name:gr.name===Te?"".concat(ut$3(r.id)):gr.name,origin:r.sessionId});!rr&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([cr,ur]):cr.send(ur)}}else!rr&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([cr,gr.data]):cr.send(gr.data)},this._exec=function(gr,nr,rr,vr){vr===void 0&&(vr=r.machine.options.actions);var cr=gr.exec||Jt(gr.type,vr),ur=T(cr)?cr:cr?cr.exec:gr.exec;if(ur)try{return ur(nr,rr.data,r.machine.config.predictableActionArguments?{action:gr,_event:rr}:{action:gr,state:r.state,_event:rr})}catch(is){throw r.parent&&r.parent.send({type:"xstate.error",data:is}),is}switch(gr.type){case pt:{var Er=gr;r.defer(Er);break}case Pt:var or=gr;if(typeof or.delay=="number"){r.defer(or);return}else or.to?r.sendTo(or._event,or.to,rr===nt):r.send(or._event);break;case oe:r.cancel(gr.sendId);break;
vendor: 9,748 bytes, line 843
843case Mt:{if(r.status!==D$1.Running)return;var sr=gr.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[sr.id||sr.type])break;if(sr.type===P.Invoke){var pr=pe(sr.src),dr=r.machine.options.services?r.machine.options.services[pr.type]:void 0,Pr=sr.id,Ir=sr.data,zr="autoForward"in sr?sr.autoForward:!!sr.forward;if(!dr)return;var $r=Ir?Nt(Ir,nr,rr):void 0;if(typeof dr=="string")return;var es=T(dr)?dr(nr,rr.data,{data:$r,src:pr,meta:sr.meta}):dr;if(!es)return;var hs=void 0;rt(es)&&(es=$r?es.withContext($r):es,hs={autoForward:zr}),r.spawn(es,Pr,hs)}else r.spawnActivity(sr);break}case Ft:{r.stopChild(gr.activity.id);break}case se:var ps=gr,os=ps.label,xs=ps.value;os?r.logger(os,xs):r.logger(xs);break}};var o=p(p({},t.defaultOptions),i),Zt=o.clock,tr=o.logger,ar=o.parent,ir=o.id,fr=ir!==void 0?ir:e.id;this.id=fr,this.logger=tr,this.clock=Zt,this.parent=ar,this.options=o,this.scheduler=new re({deferEvents:this.options.deferEvents}),this.sessionId=st.bookId()}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:tt(this,function(){return e._initialState=e.machine.initialState,e._initialState})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),t.prototype.execute=function(e,i){var r,o;try{for(var Zt=E$1(e.actions),tr=Zt.next();!tr.done;tr=Zt.next()){var ar=tr.value;this.exec(ar,e,i)}}catch(ir){r={error:ir}}finally{try{tr&&!tr.done&&(o=Zt.return)&&o.call(Zt)}finally{if(r)throw r.error}}},t.prototype.update=function(e,i){var r,o,Zt,tr,ar,ir,fr,gr,nr=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||i===nt)&&this.options.execute)this.execute(this.state);else for(var rr=void 0;rr=this._outgoingQueue.shift();)rr[0].send(rr[1]);if(this.children.forEach(function(es){nr.state.children[es.id]=es}),this.devTools&&this.devTools.send(i.data,e),e.event)try{for(var vr=E$1(this.eventListeners),cr=vr.next();!cr.done;cr=vr.next()){var ur=cr.value;ur(e.event)}}catch(es){r={error:es}}finally{try{cr&&!cr.done&&(o=vr.return)&&o.call(vr)}finally{if(r)throw r.error}}try{for(var Er=E$1(this.listeners),or=Er.next();!or.done;or=Er.next()){var ur=or.value;ur(e,e.event)}}catch(es){Zt={error:es}}finally{try{or&&!or.done&&(tr=Er.return)&&tr.call(Er)}finally{if(Zt)throw Zt.error}}try{for(var sr=E$1(this.contextListeners),pr=sr.next();!pr.done;pr=sr.next()){var dr=pr.value;dr(this.state.context,this.state.history?this.state.history.context:void 0)}}catch(es){ar={error:es}}finally{try{pr&&!pr.done&&(ir=sr.return)&&ir.call(sr)}finally{if(ar)throw ar.error}}if(this.state.done){var Pr=e.configuration.find(function(es){return es.type==="final"&&es.parent===nr.machine}),Ir=Pr&&Pr.doneData?Nt(Pr.doneData,e.context,i):void 0;this._doneEvent=Ot(this.id,Ir);try{for(var zr=E$1(this.doneListeners),$r=zr.next();!$r.done;$r=zr.next()){var ur=$r.value;ur(this._doneEvent)}}catch(es){fr={error:es}}finally{try{$r&&!$r.done&&(gr=zr.return)&&gr.call(zr)}finally{if(fr)throw fr.error}}this._stop(),this._stopChildren(),st.free(this.sessionId)}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===D$1.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,i,r){var o=this,Zt=Et(e,i,r);this.listeners.add(Zt.next),this.status!==D$1.NotStarted&&Zt.next(this.state);var tr=function(){o.doneListeners.delete(tr),o.stopListeners.delete(tr),Zt.complete()};return this.status===D$1.Stopped?Zt.complete():(this.onDone(tr),this.onStop(tr)),{unsubscribe:function(){o.listeners.delete(Zt.next),o.doneListeners.delete(tr),o.stopListeners.delete(tr)}}},t.prototype.onEvent=function(e){return this.eventListeners.add(e),this},t.prototype.onSend=function(e){return this.sendListeners.add(e),this},t.prototype.onChange=function(e){return this.contextListeners.add(e),this},t.prototype.onStop=function(e){return this.stopListeners.add(e),this},t.prototype.onDone=function(e){return this.status===D$1.Stopped&&this._doneEvent?e(this._doneEvent):this.doneListeners.add(e),this},t.prototype.off=function(e){return this.listeners.delete(e),this.eventListeners.delete(e),this.sendListeners.delete(e),this.stopListeners.delete(e),this.doneListeners.delete(e),this.contextListeners.delete(e),this},t.prototype.start=function(e){var i=this;if(this.status===D$1.Running)return this;this.machine._init(),st.register(this.sessionId,this),this.initialized=!0,this.status=D$1.Running;var r=e===void 0?this.initialState:tt(this,function(){return sn(e)?i.machine.resolveState(e):i.machine.resolveState(F.from(e,i.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){i.update(r,nt)}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){T(e.stop)&&e.stop()}),this.children.clear()},t.prototype._stop=function(){var e,i,r,o,Zt,tr,ar,ir,fr,gr;try{for(var nr=E$1(this.listeners),rr=nr.next();!rr.done;rr=nr.next()){var vr=rr.value;this.listeners.delete(vr)}}catch(zr){e={error:zr}}finally{try{rr&&!rr.done&&(i=nr.return)&&i.call(nr)}finally{if(e)throw e.error}}try{for(var cr=E$1(this.stopListeners),ur=cr.next();!ur.done;ur=cr.next()){var vr=ur.value;vr(),this.stopListeners.delete(vr)}}catch(zr){r={error:zr}}finally{try{ur&&!ur.done&&(o=cr.return)&&o.call(cr)}finally{if(r)throw r.error}}try{for(var Er=E$1(this.contextListeners),or=Er.next();!or.done;or=Er.next()){var vr=or.value;this.contextListeners.delete(vr)}}catch(zr){Zt={error:zr}}finally{try{or&&!or.done&&(tr=Er.return)&&tr.call(Er)}finally{if(Zt)throw Zt.error}}try{for(var sr=E$1(this.doneListeners),pr=sr.next();!pr.done;pr=sr.next()){var vr=pr.value;this.doneListeners.delete(vr)}}catch(zr){ar={error:zr}}finally{try{pr&&!pr.done&&(ir=sr.return)&&ir.call(sr)}finally{if(ar)throw ar.error}}if(!this.initialized)return this;this.initialized=!1,this.status=D$1.Stopped,this._initialState=void 0;try{for(var dr=E$1(Object.keys(this.delayedEventsMap)),Pr=dr.next();!Pr.done;Pr=dr.next()){var Ir=Pr.value;this.clock.clearTimeout(this.delayedEventsMap[Ir])}}catch(zr){fr={error:zr}}finally{try{Pr&&!Pr.done&&(gr=dr.return)&&gr.call(dr)}finally{if(fr)throw fr.error}}this.scheduler.clear(),this.scheduler=new re({deferEvents:this.options.deferEvents})},t.prototype.stop=function(){var e=this,i=this.scheduler;return this._stop(),i.schedule(function(){var r=R({type:"xstate.stop"}),o=tt(e,function(){var Zt=I(V([],O(e.state.configuration),!1).sort(function(gr,nr){return nr.order-gr.order}).map(function(gr){return Q(gr.onExit,e.machine.options.actions)})),tr=O(jt(e.machine,e.state,e.state.context,r,[{type:"exit",actions:Zt}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),ar=tr[0],ir=tr[1],fr=new F({value:e.state.value,context:ir,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:ar.filter(function(gr){return!Bt(gr)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return fr.changed=!0,fr});e.update(o,r),e._stopChildren(),st.free(e.sessionId)}),this},t.prototype.batch=function(e){var i=this;if(!(this.status===D$1.NotStarted&&this.options.deferEvents)&&this.status!==D$1.Running)throw new Error("".concat(e.length,' event(s) were sent to uninitialized service "').concat(this.machine.id,'". Make sure .start() is called for this service, or set { deferEvents: true } in the service options.'));if(e.length){var r=!!this.machine.config.predictableActionArguments&&this._exec;this.scheduler.schedule(function(){var o,Zt,tr=i.state,ar=!1,ir=[],fr=function(vr){var cr=R(vr);i.forward(cr),tr=tt(i,function(){return i.machine.transition(tr,cr,void 0,r||void 0)}),ir.push.apply(ir,V([],O(i.machine.config.predictableActionArguments?tr.actions:tr.actions.map(function(ur){return cn(ur,tr)})),!1)),ar=ar||!!tr.changed};try{for(var gr=E$1(e),nr=gr.next();!nr.done;nr=gr.next()){var rr=nr.value;fr(rr)}}catch(vr){o={error:vr}}finally{try{nr&&!nr.done&&(Zt=gr.return)&&Zt.call(gr)}finally{if(o)throw o.error}}tr.changed=ar,tr.actions=ir,i.update(tr,R(e[e.length-1]))})}},t.prototype.sender=function(e){return this.send.bind(this,e)},t.prototype._nextState=function(e,i){var r=this;i===void 0&&(i=!!this.machine.config.predictableActionArguments&&this._exec);var o=R(e);if(o.name.indexOf(Yt)===0&&!this.state.nextEvents.some(function(tr){return tr.indexOf(Yt)===0}))throw o.data.data;var Zt=tt(this,function(){return r.machine.transition(r.state,o,void 0,i||void 0)});return Zt},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var i,r;try{for(var o=E$1(this.forwardTo),Zt=o.next();!Zt.done;Zt=o.next()){var tr=Zt.value,ar=this.children.get(tr);if(!ar)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(tr,"'."));ar.send(e)}}catch(ir){i={error:ir}}finally{try{Zt&&!Zt.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}},t.prototype.defer=function(e){var i=this,r=this.clock.setTimeout(function(){"to"in e&&e.to?i.sendTo(e._event,e.to,!0):i.send(e._event)},e.delay);e.id&&(this.delayedEventsMap[e.id]=r)},t.prototype.cancel=function(e){this.clock.clearTimeout(this.delayedEventsMap[e]),delete this.delayedEventsMap[e]},t.prototype.exec=function(e,i,r){r===void 0&&(r=this.machine.options.actions),this._exec(e,i.context,i._event,r)},t.prototype.removeChild=function(e){var i;this.children.delete(e),this.forwardTo.delete(e),(i=this.state)===null||i===void 0||delete i.children[e]},t.prototype.stopChild=function(e){var i=this.children.get(e);
vendor: 4,099 bytes, line 843
843i&&(this.removeChild(e),T(i.stop)&&i.stop())},t.prototype.spawn=function(e,i,r){if(this.status!==D$1.Running)return ge(e,i);if(ee(e))return this.spawnPromise(Promise.resolve(e),i);if(T(e))return this.spawnCallback(e,i);if(en(e))return this.spawnActor(e,i);if(ze(e))return this.spawnObservable(e,i);if(rt(e))return this.spawnMachine(e,p(p({},r),{id:i}));if(Ie(e))return this.spawnBehavior(e,i);throw new Error('Unable to spawn entity "'.concat(i,'" of type "').concat(typeof e,'".'))},t.prototype.spawnMachine=function(e,i){var r=this;i===void 0&&(i={});var o=new t(e,p(p({},this.options),{parent:this,id:i.id||e.id})),Zt=p(p({},vn),i);Zt.sync&&o.onTransition(function(ar){r.send(ce,{state:ar,id:o.id})});var tr=o;return this.children.set(o.id,tr),Zt.autoForward&&this.forwardTo.add(o.id),o.onDone(function(ar){r.removeChild(o.id),r.send(R(ar,{origin:o.id}))}).start(),tr},t.prototype.spawnBehavior=function(e,i){var r=dn(e,{id:i,parent:this});return this.children.set(i,r),r},t.prototype.spawnPromise=function(e,i){var r,o=this,Zt=!1,tr;e.then(function(ir){Zt||(tr=ir,o.removeChild(i),o.send(R(Ot(i,ir),{origin:i})))},function(ir){if(!Zt){o.removeChild(i);var fr=ut$3(i,ir);try{o.send(R(fr,{origin:i}))}catch{o.devTools&&o.devTools.send(fr,o.state),o.machine.strict&&o.stop()}}});var ar=(r={id:i,send:function(){},subscribe:function(ir,fr,gr){var nr=Et(ir,fr,gr),rr=!1;return e.then(function(vr){rr||(nr.next(vr),!rr&&nr.complete())},function(vr){rr||nr.error(vr)}),{unsubscribe:function(){return rr=!0}}},stop:function(){Zt=!0},toJSON:function(){return{id:i}},getSnapshot:function(){return tr}},r[X]=function(){return this},r);return this.children.set(i,ar),ar},t.prototype.spawnCallback=function(e,i){var r,o=this,Zt=!1,tr=new Set,ar=new Set,ir,fr=function(rr){ir=rr,ar.forEach(function(vr){return vr(rr)}),!Zt&&o.send(R(rr,{origin:i}))},gr;try{gr=e(fr,function(rr){tr.add(rr)})}catch(rr){this.send(ut$3(i,rr))}if(ee(gr))return this.spawnPromise(gr,i);var nr=(r={id:i,send:function(rr){return tr.forEach(function(vr){return vr(rr)})},subscribe:function(rr){var vr=Et(rr);return ar.add(vr.next),{unsubscribe:function(){ar.delete(vr.next)}}},stop:function(){Zt=!0,T(gr)&&gr()},toJSON:function(){return{id:i}},getSnapshot:function(){return ir}},r[X]=function(){return this},r);return this.children.set(i,nr),nr},t.prototype.spawnObservable=function(e,i){var r,o=this,Zt,tr=e.subscribe(function(ir){Zt=ir,o.send(R(ir,{origin:i}))},function(ir){o.removeChild(i),o.send(R(ut$3(i,ir),{origin:i}))},function(){o.removeChild(i),o.send(R(Ot(i),{origin:i}))}),ar=(r={id:i,send:function(){},subscribe:function(ir,fr,gr){return e.subscribe(ir,fr,gr)},stop:function(){return tr.unsubscribe()},getSnapshot:function(){return Zt},toJSON:function(){return{id:i}}},r[X]=function(){return this},r);return this.children.set(i,ar),ar},t.prototype.spawnActor=function(e,i){return this.children.set(i,e),e},t.prototype.spawnActivity=function(e){var i=this.machine.options&&this.machine.options.activities?this.machine.options.activities[e.type]:void 0;if(i){var r=i(this.state.context,e);this.spawnEffect(e.id,r)}},t.prototype.spawnEffect=function(e,i){var r;this.children.set(e,(r={id:e,send:function(){},subscribe:function(){return{unsubscribe:function(){}}},stop:i||void 0,getSnapshot:function(){},toJSON:function(){return{id:e}}},r[X]=function(){return this},r))},t.prototype.attachDev=function(){var e=Ht();if(this.options.devTools&&e){if(e.__REDUX_DEVTOOLS_EXTENSION__){var i=typeof this.options.devTools=="object"?this.options.devTools:void 0;this.devTools=e.__REDUX_DEVTOOLS_EXTENSION__.connect(p(p({name:this.id,autoPause:!0,stateSanitizer:function(r){return{value:r.value,context:r.context,actions:r.actions}}},i),{features:p({jump:!1,skip:!1},i?i.features:void 0)}),this.machine),this.devTools.init(this.state)}fn(this)}},t.prototype.toJSON=function(){return{id:this.id}},t.prototype[X]=function(){return this},t.prototype.getSnapshot=function(){return this.status===D$1.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,i){return setTimeout(e,i
vendor: 4,198 bytes, line 843
843)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},t.interpret=Se,t}();function Se(t,e){var i=new pn(t,e);return i}function yn(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function xt(t){return p(p({type:Dt},t),{toJSON:function(){t.onDone,t.onError;var e=$t(t,["onDone","onError"]);return p(p({},e),{type:Dt,src:yn(t.src)})}})}var St="",Ut="#",It="*",Y={},G=function(t){return t[0]===Ut},gn=function(){return{actions:{},guards:{},services:{},activities:{},delays:{}}},mn=function(){function t(e,i,r,o){r===void 0&&(r="context"in e?e.context:void 0);var Zt=this,tr;this.config=e,this._context=r,this.order=-1,this.__xstatenode=!0,this.__cache={events:void 0,relativeValue:new Map,initialStateValue:void 0,initialState:void 0,on:void 0,transitions:void 0,candidates:{},delayedTransitions:void 0},this.idMap={},this.tags=[],this.options=Object.assign(gn(),i),this.parent=o?.parent,this.key=this.config.key||o?.key||this.config.id||"(machine)",this.machine=this.parent?this.parent.machine:this,this.path=this.parent?this.parent.path.concat(this.key):[],this.delimiter=this.config.delimiter||(this.parent?this.parent.delimiter:ue),this.id=this.config.id||V([this.machine.key],O(this.path),!1).join(this.delimiter),this.version=this.parent?this.parent.version:this.config.version,this.type=this.config.type||(this.config.parallel?"parallel":this.config.states&&Object.keys(this.config.states).length?"compound":this.config.history?"history":"atomic"),this.schema=this.parent?this.machine.schema:(tr=this.config.schema)!==null&&tr!==void 0?tr:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?ct(this.config.states,function(fr,gr){var nr,rr=new t(fr,{},void 0,{parent:Zt,key:gr});return Object.assign(Zt.idMap,p((nr={},nr[rr.id]=rr,nr),rr.idMap)),rr}):Y;var ar=0;function ir(fr){var gr,nr;fr.order=ar++;try{for(var rr=E$1(me(fr)),vr=rr.next();!vr.done;vr=rr.next()){var cr=vr.value;ir(cr)}}catch(ur){gr={error:ur}}finally{try{vr&&!vr.done&&(nr=rr.return)&&nr.call(rr)}finally{if(gr)throw gr.error}}}ir(this),this.history=this.config.history===!0?"shallow":this.config.history||!1,this._transient=!!this.config.always||(this.config.on?Array.isArray(this.config.on)?this.config.on.some(function(fr){var gr=fr.event;return gr===St}):St in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=U(this.config.entry||this.config.onEntry).map(function(fr){return dt$1(fr)}),this.onExit=U(this.config.exit||this.config.onExit).map(function(fr){return dt$1(fr)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=U(this.config.invoke).map(function(fr,gr){var nr,rr;if(rt(fr)){var vr=_t(Zt.id,gr);return Zt.machine.options.services=p((nr={},nr[vr]=fr,nr),Zt.machine.options.services),xt({src:vr,id:vr})}else if(A(fr.src)){var vr=fr.id||_t(Zt.id,gr);return xt(p(p({},fr),{id:vr,src:fr.src}))}else if(rt(fr.src)||T(fr.src)){var vr=fr.id||_t(Zt.id,gr);return Zt.machine.options.services=p((rr={},rr[vr]=fr.src,rr),Zt.machine.options.services),xt(p(p({id:vr},fr),{src:vr}))}else{var cr=fr.src;return xt(p(p({id:_t(Zt.id,gr)},fr),{src:cr}))}}),this.activities=U(this.config.activities).concat(this.invoke).map(function(fr){return Qt(fr)}),this.transition=this.transition.bind(this),this.tags=U(this.config.tags)}return t.prototype._init=function(){this.__cache.transitions||_e(this).forEach(function(e){return e.on})},t.prototype.withConfig=function(e,i){var r=this.options,o=r.actions,Zt=r.activities,tr=r.guards,ar=r.services,ir=r.delays;return new t(this.config,{actions:p(p({},o),e.actions),activities:p(p({},Zt),e.activities),guards:p(p({},tr),e.guards),services:p(p({},ar),e.services),delays:p(p({},ir),e.delays)},i??this.context)},t.prototype.withContext=function(e){return new t(this.config,this.options,e)},Object.defineProperty(t.prototype,"context",{get:function(){return T(this._context)?this._context():this._context},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"definition",{get:function(){return{id:this.id,key:this.key,version:this.version,context:this.context,type:this.t
vendor: 15,695 bytes, lines 843-844
843ype,initial:this.initial,history:this.history,states:ct(this.states,function(e){return e.definition}),on:this.on,transitions:this.transitions,entry:this.onEntry,exit:this.onExit,activities:this.activities||[],meta:this.meta,order:this.order||-1,data:this.doneData,invoke:this.invoke,description:this.description,tags:this.tags}},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){return this.definition},Object.defineProperty(t.prototype,"on",{get:function(){if(this.__cache.on)return this.__cache.on;var e=this.transitions;return this.__cache.on=e.reduce(function(i,r){return i[r.eventType]=i[r.eventType]||[],i[r.eventType].push(r),i},{})},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"after",{get:function(){return this.__cache.delayedTransitions||(this.__cache.delayedTransitions=this.getDelayedTransitions(),this.__cache.delayedTransitions)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"transitions",{get:function(){return this.__cache.transitions||(this.__cache.transitions=this.formatTransitions(),this.__cache.transitions)},enumerable:!1,configurable:!0}),t.prototype.getCandidates=function(e){if(this.__cache.candidates[e])return this.__cache.candidates[e];var i=e===St,r=this.transitions.filter(function(o){var Zt=o.eventType===e;return i?Zt:Zt||o.eventType===It});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,i=this.config.after;if(!i)return[];var r=function(Zt,tr){var ar=T(Zt)?"".concat(e.id,":delay[").concat(tr,"]"):Zt,ir=Ze(ar,e.id);return e.onEntry.push($e(ir,{delay:Zt})),e.onExit.push(Qe(ir)),ir},o=ot(i)?i.map(function(Zt,tr){var ar=r(Zt.delay,tr);return p(p({},Zt),{event:ar})}):I(Object.keys(i).map(function(Zt,tr){var ar=i[Zt],ir=A(ar)?{target:ar}:ar,fr=isNaN(+Zt)?Zt:+Zt,gr=r(fr,tr);return U(ir).map(function(nr){return p(p({},nr),{event:gr,delay:fr})})}));return o.map(function(Zt){var tr=Zt.delay;return p(p({},e.formatTransition(Zt)),{delay:tr})})},t.prototype.getStateNodes=function(e){var i,r=this;if(!e)return[];var o=e instanceof F?e.value:ft(e,this.delimiter);if(A(o)){var Zt=this.getStateNode(o).initial;return Zt!==void 0?this.getStateNodes((i={},i[o]=Zt,i)):[this,this.states[o]]}var tr=Object.keys(o),ar=[this];return ar.push.apply(ar,V([],O(I(tr.map(function(ir){return r.getStateNode(ir).getStateNodes(o[ir])}))),!1)),ar},t.prototype.handles=function(e){var i=he(e);return this.events.includes(i)},t.prototype.resolveState=function(e){var i=e instanceof F?e:F.create(e),r=Array.from(ht([],this.getStateNodes(i.value)));return new F(p(p({},i),{value:this.resolve(i.value),configuration:r,done:kt(r,this),tags:ie(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,i,r){var o=this.getStateNode(e),Zt=o.next(i,r);return!Zt||!Zt.transitions.length?this.next(i,r):Zt},t.prototype.transitionCompoundNode=function(e,i,r){var o=Object.keys(e),Zt=this.getStateNode(o[0]),tr=Zt._transition(e[o[0]],i,r);return!tr||!tr.transitions.length?this.next(i,r):tr},t.prototype.transitionParallelNode=function(e,i,r){var o,Zt,tr={};try{for(var ar=E$1(Object.keys(e)),ir=ar.next();!ir.done;ir=ar.next()){var fr=ir.value,gr=e[fr];if(gr){var nr=this.getStateNode(fr),rr=nr._transition(gr,i,r);rr&&(tr[fr]=rr)}}}catch(or){o={error:or}}finally{try{ir&&!ir.done&&(Zt=ar.return)&&Zt.call(ar)}finally{if(o)throw o.error}}var vr=Object.keys(tr).map(function(or){return tr[or]}),cr=I(vr.map(function(or){return or.transitions})),ur=vr.some(function(or){return or.transitions.length>0});if(!ur)return this.next(i,r);var Er=I(Object.keys(tr).map(function(or){return tr[or].configuration}));return{transitions:cr,exitSet:I(vr.map(function(or){return or.exitSet})),configuration:Er,source:i,actions:I(Object.keys(tr).map(function(or){return tr[or].actions}))}},t.prototype._transition=function(e,i,r){return A(e)?this.transitionLeafNode(e,i,r):Object.keys(e).length===1?this.transitionCompoundNode(e,i,r):this.transitionParallelNode(e,i,r)},t.prototype.getTransitionData=function(e,i){return this._transition(e.value,e,R(i))},t.prototype.next=function(e,i){var r,o,Zt=this,tr=i.name,ar=[],ir=[],fr;try{for(var gr=E$1(this.getCandidates(tr)),nr=gr.next();!nr.done;nr=gr.next()){var rr=nr.value,vr=rr.cond,cr=rr.in,ur=e.context,Er=cr?A(cr)&&G(cr)?e.matches(ft(this.getStateNodeById(cr).path,this.delimiter)):Xt(ft(cr,this.delimiter),Le(this.path.slice(0,-2))(e.value)):!0,or=!1;try{or=!vr||ve(this.machine,vr,ur,i,e)}catch(dr){throw new Error("Unable to evaluate guard '".concat(vr.name||vr.type,"' in transition for event '").concat(tr,"' in state node '").concat(this.id,`':
844`).concat(dr.message))}if(or&&Er){rr.target!==void 0&&(ir=rr.target),ar.push.apply(ar,V([],O(rr.actions),!1)),fr=rr;break}}}catch(dr){r={error:dr}}finally{try{nr&&!nr.done&&(o=gr.return)&&o.call(gr)}finally{if(r)throw r.error}}if(fr){if(!ir.length)return{transitions:[fr],exitSet:[],configuration:e.value?[this]:[],source:e,actions:ar};var sr=I(ir.map(function(dr){return Zt.getRelativeStateNodes(dr,e.historyValue)})),pr=!!fr.internal;return{transitions:[fr],exitSet:pr?[]:I(ir.map(function(dr){return Zt.getPotentiallyReenteringNodes(dr)})),configuration:sr,source:e,actions:ar}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return[this];for(var i=[],r=this,o=e;r&&r!==o;)i.push(r),r=r.parent;return r!==o?[]:(i.push(o),i)},t.prototype.getActions=function(e,i,r,o,Zt,tr,ar){var ir,fr,gr,nr,rr=this,vr=tr?ht([],this.getStateNodes(tr.value)):[],cr=new Set;try{for(var ur=E$1(Array.from(e).sort(function(ps,os){return ps.order-os.order})),Er=ur.next();!Er.done;Er=ur.next()){var or=Er.value;(!lt(vr,or)||lt(r.exitSet,or)||or.parent&&cr.has(or.parent))&&cr.add(or)}}catch(ps){ir={error:ps}}finally{try{Er&&!Er.done&&(fr=ur.return)&&fr.call(ur)}finally{if(ir)throw ir.error}}try{for(var sr=E$1(vr),pr=sr.next();!pr.done;pr=sr.next()){var or=pr.value;(!lt(e,or)||lt(r.exitSet,or.parent))&&r.exitSet.push(or)}}catch(ps){gr={error:ps}}finally{try{pr&&!pr.done&&(nr=sr.return)&&nr.call(sr)}finally{if(gr)throw gr.error}}r.exitSet.sort(function(ps,os){return os.order-ps.order});var dr=Array.from(cr).sort(function(ps,os){return ps.order-os.order}),Pr=new Set(r.exitSet),Ir=I(dr.map(function(ps){var os=[];if(ps.type!=="final")return os;var xs=ps.parent;if(!xs.parent)return os;os.push(bt(ps.id,ps.doneData),bt(xs.id,ps.doneData?Nt(ps.doneData,o,Zt):void 0));var is=xs.parent;return is.type==="parallel"&&vt(is).every(function(cs){return kt(r.configuration,cs)})&&os.push(bt(is.id)),os})),zr=dr.map(function(ps){var os=ps.onEntry,xs=ps.activities.map(function(is){return He(is)});return{type:"entry",actions:Q(ar?V(V([],O(os),!1),O(xs),!1):V(V([],O(xs),!1),O(os),!1),rr.machine.options.actions)}}).concat({type:"state_done",actions:Ir.map(function(ps){return qe(ps)})}),$r=Array.from(Pr).map(function(ps){return{type:"exit",actions:Q(V(V([],O(ps.onExit),!1),O(ps.activities.map(function(os){return We(os)})),!1),rr.machine.options.actions)}}),es=$r.concat({type:"transition",actions:Q(r.actions,this.machine.options.actions)}).concat(zr);if(i){var hs=Q(I(V([],O(e),!1).sort(function(ps,os){return os.order-ps.order}).map(function(ps){return ps.onExit})),this.machine.options.actions).filter(function(ps){return!Bt(ps)});return es.concat({type:"stop",actions:hs})}return es},t.prototype.transition=function(e,i,r,o){e===void 0&&(e=this.initialState);var Zt=R(i),tr;if(e instanceof F)tr=r===void 0?e:this.resolveState(F.from(e,r));else{var ar=A(e)?this.resolve(Tt(this.getResolvedPath(e))):this.resolve(e),ir=r??this.machine.context;tr=this.resolveState(F.from(ar,ir))}if(this.strict&&!this.events.includes(Zt.name)&&!Ve(Zt.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(Zt.name,"'"));var fr=this._transition(tr.value,tr,Zt)||{transitions:[],configuration:[],exitSet:[],source:tr,actions:[]},gr=ht([],this.getStateNodes(tr.value)),nr=fr.configuration.length?ht(gr,fr.configuration):gr;return fr.configuration=V([],O(nr),!1),this.resolveTransition(fr,tr,tr.context,o,Zt)},t.prototype.resolveRaisedTransition=function(e,i,r,o){var Zt,tr=e.actions;return e=this.transition(e,i,void 0,o),e._event=r,e.event=r.data,(Zt=e.actions).unshift.apply(Zt,V([],O(tr),!1)),e},t.prototype.resolveTransition=function(e,i,r,o,Zt){var tr,ar,ir,fr,gr=this;Zt===void 0&&(Zt=nt);var nr=e.configuration,rr=!i||e.transitions.length>0,vr=rr?e.configuration:i?i.configuration:[],cr=kt(vr,this),ur=rr?rn(this.machine,nr):void 0,Er=i?i.historyValue?i.historyValue:e.source?this.machine.historyValue(i.value):void 0:void 0,or=this.getActions(new Set(vr),cr,e,r,Zt,i,o),sr=i?p({},i.activities):{};try{for(var pr=E$1(or),dr=pr.next();!dr.done;dr=pr.next()){var Pr=dr.value;try{for(var Ir=(ir=void 0,E$1(Pr.actions)),zr=Ir.next();!zr.done;zr=Ir.next()){var $r=zr.value;$r.type===Mt?sr[$r.activity.id||$r.activity.type]=$r:$r.type===Ft&&(sr[$r.activity.id||$r.activity.type]=!1)}}catch(Ns){ir={error:Ns}}finally{try{zr&&!zr.done&&(fr=Ir.return)&&fr.call(Ir)}finally{if(ir)throw ir.error}}}}catch(Ns){tr={error:Ns}}finally{try{dr&&!dr.done&&(ar=pr.return)&&ar.call(pr)}finally{if(tr)throw tr.error}}var es=O(jt(this,i,r,Zt,or,o,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),hs=es[0],ps=es[1],os=O(Me(hs,Bt),2),xs=os[0],is=os[1],cs=hs.filter(function(Ns){var Bs;return Ns.type===Mt&&((Bs=Ns.activity)===null||Bs===void 0?void 0:Bs.type)===Dt}),Ar=cs.reduce(function(Ns,Bs){return Ns[Bs.activity.id]=Ge(Bs.activity,gr.machine,ps,Zt),Ns},i?p({},i.children):{}),Tr=new F({value:ur||i.value,context:ps,_event:Zt,_sessionid:i?i._sessionid:null,historyValue:ur?Er?De(Er,ur):void 0:i?i.historyValue:void 0,history:!ur||e.source?i:void 0,actions:ur?is:[],activities:ur?sr:i?i.activities:{},events:[],configuration:vr,transitions:e.transitions,children:Ar,done:cr,tags:ie(vr),machine:this}),yr=r!==ps;Tr.changed=Zt.name===ce||yr;var Mr=Tr.history;Mr&&delete Mr.history;var Ur=!cr&&(this._transient||nr.some(function(Ns){return Ns._transient}));if(!rr&&(!Ur||Zt.name===St))return Tr;var jr=Tr;if(!cr)for(Ur&&(jr=this.resolveRaisedTransition(jr,{type:Oe},Zt,o));xs.length;){var Vs=xs.shift();jr=this.resolveRaisedTransition(jr,Vs._event,Zt,o)}var Ts=jr.changed||(Mr?!!jr.actions.length||yr||typeof Mr.value!=typeof jr.value||!xe(jr.value,Mr.value):void 0);return jr.changed=Ts,jr.history=Mr,jr},t.prototype.getStateNode=function(e){if(G(e))return this.machine.getStateNodeById(e);if(!this.states)throw new Error("Unable to retrieve child state '".concat(e,"' from '").concat(this.id,"'; no child states exist."));var i=this.states[e];if(!i)throw new Error("Child state '".concat(e,"' does not exist on '").concat(this.id,"'"));return i},t.prototype.getStateNodeById=function(e){var i=G(e)?e.slice(Ut.length):e;if(i===this.id)return this;var r=this.machine.idMap[i];if(!r)throw new Error("Child state node '#".concat(i,"' does not exist on machine '").concat(this.id,"'"));return r},t.prototype.getStateNodeByPath=function(e){if(typeof e=="string"&&G(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var i=zt(e,this.delimiter).slice(),r=this;i.length;){var o=i.shift();if(!o.length)break;r=r.getStateNode(o)}return r},t.prototype.resolve=function(e){var i,r=this;if(!e)return this.initialStateValue||Y;switch(this.type){case"parallel":return ct(this.initialStateValue,function(Zt,tr){return Zt?r.getStateNode(tr).resolve(e[tr]||Zt):Y});case"compound":if(A(e)){var o=this.getStateNode(e);return o.type==="parallel"||o.type==="compound"?(i={},i[e]=o.initialStateValue,i):e}return Object.keys(e).length?ct(e,function(Zt,tr){return Zt?r.getStateNode(tr).resolve(Zt):Y}):this.initialStateValue||{};default:return e||Y}},t.prototype.getResolvedPath=function(e){if(G(e)){var i=this.machine.idMap[e.slice(Ut.length)];if(!i)throw new Error("Unable to find state node '".concat(e,"'"));return i.path}return zt(e,this.delimiter)},Object.defineProperty(t.prototype,"initialStateValue",{get:function(){var e;if(this.__cache.initialStateValue)return this.__cache.initialStateValue;var i;if(this.type==="parallel")i=te(this.states,function(r){return r.initialStateValue||Y},function(r){return r.type!=="history"});else if(this.initial!==void 0){if(!this.states[this.initial])throw new Error("Initial state '".concat(this.initial,"' not found on '").concat(this.key,"'"));i=At(this.states[this.initial])?this.initial:(e={},e[this.initial]=this.states[this.initial].initialStateValue,e)}else i={};return this.__cache.initialStateValue=i,this.__cache.initialStateValue},enumerable:!1,configurable:!0}),t.prototype.getInitialState=function(e,i){this._init();var r=this.getStateNodes(e);return this.resolveTransition({configuration:r,exitSet:[],transitions:[],source:void 0,actions:[]},void 0,i??this.machine.context,void 0)},Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this.initialStateValue;if(!e)throw new Error("Cannot retrieve initial state from simple state '".concat(this.id,"'."));return this.getInitialState(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"target",{get:function(){var e;if(this.type==="history"){var i=this.config;A(i.target)?e=G(i.target)?Tt(this.machine.getStateNodeById(i.target).path.slice(this.path.length-1)):i.target:e=i.target}return e},enumerable:!1,configurable:!0}),t.prototype.getRelativeStateNodes=function(e,i,r){return r===void 0&&(r=!0),r?e.type==="history"?e.resolveHistory(i):e.initialStateNodes:[e]},Object.defineProperty(t.prototype,"initialStateNodes",{get:function(){var e=this;if(At(this))return[this];if(this.type==="compound"&&!this.initial)return[this];var i=wt(this.initialStateValue);return I(i.map(function(r){return e.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(e){if(!e.length)return[this];var i=O(e),r=i[0],o=i.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var Zt=this.getStateNode(r);if(Zt.type==="history")return Zt.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(o)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return{current:e||this.initialStateValue,states:te(this.states,function(i,r){if(!e)return i.historyValue();var o=A(e)?void 0:e[r];return i.historyValue(o||i.initialStateValue)},function(i){return!i.history})}},t.prototype.resolveHistory=function(e){var i=this;if(this.type!=="history")return[this];var r=this.parent;if(!e){var o=this.target;return o?I(wt(o).map(function(tr){return r.getFromRelativePath(tr)})):r.initialStateNodes}var Zt=Ce(r.path,"states")(e).current;return A(Zt)?[r.getStateNode(Zt)]:I(wt(Zt).map(function(tr){return i.history==="deep"?r.getFromRelativePath(tr):[r.states[tr[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var e=this,i=I(Object.keys(this.states).map(function(r){return e.states[r].stateIds}));return[this.id].concat(i)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"events",{get:function(){var e,i,r,o;if(this.__cache.events)return this.__cache.events;var Zt=this.states,tr=new Set(this.ownEvents);if(Zt)try{for(var ar=E$1(Object.keys(Zt)),ir=ar.next();!ir.done;ir=ar.next()){var fr=ir.value,gr=Zt[fr];if(gr.states)try{for(var nr=(r=void 0,E$1(gr.events)),rr=nr.next();!rr.done;rr=nr.next()){var vr=rr.value;tr.add("".concat(vr))}}catch(cr){r={error:cr}}finally{try{rr&&!rr.done&&(o=nr.return)&&o.call(nr)}finally{if(r)throw r.error}}}}catch(cr){e={error:cr}}finally{try{ir&&!ir.done&&(i=ar.return)&&i.call(ar)}finally{if(e)throw e.error}}return this.__cache.events=Array.from(tr)}
vendor: 4,149 bytes, lines 844-845
844,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ownEvents",{get:function(){var e=new Set(this.transitions.filter(function(i){return!(!i.target&&!i.actions.length&&i.internal)}).map(function(i){return i.eventType}));return Array.from(e)},enumerable:!1,configurable:!0}),t.prototype.resolveTarget=function(e){var i=this;if(e!==void 0)return e.map(function(r){if(!A(r))return r;var o=r[0]===i.delimiter;if(o&&!i.parent)return i.getStateNodeByPath(r.slice(1));var Zt=o?i.key+r:r;if(i.parent)try{var tr=i.parent.getStateNodeByPath(Zt);return tr}catch(ar){throw new Error("Invalid transition definition for state node '".concat(i.id,`':
845`).concat(ar.message))}else return i.getStateNodeByPath(Zt)})},t.prototype.formatTransition=function(e){var i=this,r=Je(e.target),o="internal"in e?e.internal:r?r.some(function(ir){return A(ir)&&ir[0]===i.delimiter}):!0,Zt=this.machine.options.guards,tr=this.resolveTarget(r),ar=p(p({},e),{actions:Q(U(e.actions)),cond:de(e.cond,Zt),target:tr,source:this,internal:o,eventType:e.event,toJSON:function(){return p(p({},ar),{target:ar.target?ar.target.map(function(ir){return"#".concat(ir.id)}):void 0,source:"#".concat(i.id)})}});return ar},t.prototype.formatTransitions=function(){var e,i,r=this,o;if(!this.config.on)o=[];else if(Array.isArray(this.config.on))o=this.config.on;else{var Zt=this.config.on,tr=It,ar=Zt[tr],ir=ar===void 0?[]:ar,fr=$t(Zt,[typeof tr=="symbol"?tr:tr+""]);o=I(Object.keys(fr).map(function(sr){var pr=Z(sr,fr[sr]);return pr}).concat(Z(It,ir)))}var gr=this.config.always?Z("",this.config.always):[],nr=this.config.onDone?Z(String(bt(this.id)),this.config.onDone):[],rr=I(this.invoke.map(function(sr){var pr=[];return sr.onDone&&pr.push.apply(pr,V([],O(Z(String(Ot(sr.id)),sr.onDone)),!1)),sr.onError&&pr.push.apply(pr,V([],O(Z(String(ut$3(sr.id)),sr.onError)),!1)),pr})),vr=this.after,cr=I(V(V(V(V([],O(nr),!1),O(rr),!1),O(o),!1),O(gr),!1).map(function(sr){return U(sr).map(function(pr){return r.formatTransition(pr)})}));try{for(var ur=E$1(vr),Er=ur.next();!Er.done;Er=ur.next()){var or=Er.value;cr.push(or)}}catch(sr){e={error:sr}}finally{try{Er&&!Er.done&&(i=ur.return)&&i.call(ur)}finally{if(e)throw e.error}}return cr},t}();function _n(t,e){return new mn(t,e)}var et={click:"onClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",complete:"onComplete",after:"onAfter",enter:"onEnter",show:"onShow"},bn=Object.keys(et),Tn=class{activeStateId="";_service;_domListeners=new Map;_domElement;_playerListeners=new Map;_player;_machineSchemas=new Map;_onShowPrevValue=0;constructor(t,e){this._player=e,this._machineSchemas=this._transformToXStateSchema(t),this._domElement=e.container}start(t){this.stop();let e=this._machineSchemas.get(t);if(typeof e>"u")throw g(`invalid state machine id ${t}`);this._service=Se(_n(e)),this._addEventListeners(),this._service.start()}stop(){var t;this._removeEventListeners(),(t=this._service)==null||t.stop(),this._player.stop()}_removeEventListeners(){var t;this._requiresDomElement();for(let[e,i]of this._domListeners)e==="visibilityChange"&&this._player.stopPlayOnShow(),(t=this._domElement)==null||t.removeEventListener(e,i),this._domListeners.delete(e);for(let[e,i]of this._playerListeners)this._player.removeEventListener(e,i),this._playerListeners.delete(e)}_addEventListeners(){this._requiresDomElement();let t=i=>{this._service.send({type:i})},e=i=>{function r(){t(i)}return r};this._service.subscribe(i=>{var r;if(typeof i.changed>"u"||i.changed){this._removeEventListeners();for(let o of i.nextEvents)if(bn.filter(Zt=>Zt!=="complete"&&Zt!=="show").includes(o)){let Zt=e(o);this._domListeners.set(o,Zt),(r=this._domElement)==null||r.addEventListener(o,Zt,{once:!0})}else if(o==="complete"){let Zt=e(o);this._player.addEventListener(o,Zt),this._playerListeners.set(o,Zt)}else if(o==="show"){let Zt=e(o);this._player.addIntersectionObserver({callbackOnIntersect:tr=>{tr>0&&(tr!==100&&this._onShowPrevValue!==tr&&Zt(),this._onShowPrevValue=tr)},threshold:[]}),this._domListeners.set("visibilityChange",Zt)}}})}subscribe(t){throw g(t.toString())}_transformToXStateSchema(t){var e,i,r;let o=new Map;for(let Zt of t){let tr={},ar={};
vendor: 6,848 bytes, line 845
845if(ar.id=Zt.descriptor.id,typeof Zt.descriptor.initial<"u"&&(ar.initial=Zt.descriptor.initial),typeof Zt<"u"){let ir=Zt.states;for(let fr in ir)if(typeof ir[fr]<"u"&&ir[fr]){let gr=ir[fr],nr=gr.playbackSettings,rr=Object.keys(gr).filter(ur=>ur.startsWith("on")),vr={},cr={};for(let ur of rr)if(typeof gr[ur]<"u"){let Er=gr[ur];if(ur===et.after){let or=Er;cr[or.ms]={target:(e=Er?.state)!=null?e:""}}else ur===et.enter?vr[rn$1(et,ur)]={target:(i=Er?.state)!=null?i:""}:vr[rn$1(et,ur)]={target:(r=Er?.state)!=null?r:""}}tr[fr]={entry:()=>{!this._player.getAnimationInstance()||gr.animationId&&gr.animationId!==this._player.currentAnimationId?this._player.play(gr.animationId,()=>({...q,...nr})).then(()=>{this._updatePlaybackSettings(nr)}).catch(ur=>{et$1(`State machine error: ${ur.message}`)}):this._updatePlaybackSettings(nr)},exit:()=>{typeof nr.segments<"u"&&this._player.resetSegments(!1),typeof nr.playOnScroll<"u"&&this._player.stopPlayOnScroll()},on:vr,after:cr,meta:nr}}}ar.states=tr,o.set(ar.id,ar)}return o}_handlePlaySegments(t){if(typeof t.segments=="string")this._player.goToAndPlay(t.segments,!0);else{let[e,i]=t.segments,r=e;e!==0&&e===i&&(r=e-1),e===0&&e===i?this._player.goToAndPlay(e,!0):this._player.playSegments([r,i],!0)}}_handlePlayOnScroll(t){let e=t.playOnScroll;if(t.segments&&typeof t.segments!="string"){let i=t.segments;this._player.playOnScroll({threshold:e,segments:i})}else this._player.playOnScroll({threshold:e})}_updatePlaybackSettings(t){if(!this._player.getAnimationInstance())throw new Error("Unable to update playbackSettings. Animations is not rendered yet.");typeof t.autoplay<"u"&&(this._player.setAutoplay(t.autoplay),t.autoplay?this._player.play():this._player.pause()),typeof t.direction<"u"&&this._player.setDirection(t.direction),typeof t.intermission<"u"&&this._player.setIntermission(t.intermission),typeof t.loop<"u"&&this._player.setLoop(t.loop),typeof t.playMode<"u"&&this._player.setMode(t.playMode),typeof t.speed<"u"&&this._player.setSpeed(t.speed),typeof t.defaultTheme<"u"&&this._player.setDefaultTheme(t.defaultTheme),typeof t.playOnScroll<"u"&&this._handlePlayOnScroll(t),t.segments&&this._handlePlaySegments(t),t.autoplay||this._player.pause()}_requiresDomElement(){if(!this._domElement)throw g("Requires a DOM element to attach events.")}};const dotlottieStateMachineManager2E7RUGJGNTQ25VSR=Object.freeze(Object.defineProperty({__proto__:null,DotLottieStateMachineManager:Tn},Symbol.toStringTag,{value:"Module"}));var L=u(t=>{(function(){var e=function(){this.init()};e.prototype={init:function(){var nr=this||i;return nr._counter=1e3,nr._html5AudioPool=[],nr.html5PoolSize=10,nr._codecs={},nr._howls=[],nr._muted=!1,nr._volume=1,nr._canPlayEvent="canplaythrough",nr._navigator=typeof window<"u"&&window.navigator?window.navigator:null,nr.masterGain=null,nr.noAudio=!1,nr.usingWebAudio=!0,nr.autoSuspend=!0,nr.ctx=null,nr.autoUnlock=!0,nr._setup(),nr},volume:function(nr){var rr=this||i;if(nr=parseFloat(nr),rr.ctx||gr(),typeof nr<"u"&&nr>=0&&nr<=1){if(rr._volume=nr,rr._muted)return rr;rr.usingWebAudio&&rr.masterGain.gain.setValueAtTime(nr,i.ctx.currentTime);for(var vr=0;vr<rr._howls.length;vr++)if(!rr._howls[vr]._webAudio)for(var cr=rr._howls[vr]._getSoundIds(),ur=0;ur<cr.length;ur++){var Er=rr._howls[vr]._soundById(cr[ur]);Er&&Er._node&&(Er._node.volume=Er._volume*nr)}return rr}return rr._volume},mute:function(nr){var rr=this||i;rr.ctx||gr(),rr._muted=nr,rr.usingWebAudio&&rr.masterGain.gain.setValueAtTime(nr?0:rr._volume,i.ctx.currentTime);for(var vr=0;vr<rr._howls.length;vr++)if(!rr._howls[vr]._webAudio)for(var cr=rr._howls[vr]._getSoundIds(),ur=0;ur<cr.length;ur++){var Er=rr._howls[vr]._soundById(cr[ur]);Er&&Er._node&&(Er._node.muted=nr?!0:Er._muted)}return rr},stop:function(){for(var nr=this||i,rr=0;rr<nr._howls.length;rr++)nr._howls[rr].stop();return nr},unload:function(){for(var nr=this||i,rr=nr._howls.length-1;rr>=0;rr--)nr._howls[rr].unload();return nr.usingWebAudio&&nr.ctx&&typeof nr.ctx.close<"u"&&(nr.ctx.close(),nr.ctx=null,gr()),nr},codecs:function(nr){return(this||i)._codecs[nr.replace(/^x-/,"")]},_setup:function(){var nr=this||i;if(nr.state=nr.ctx&&nr.ctx.state||"suspended",nr._autoSuspend(),!nr.usingWebAudio)if(typeof Audio<"u")try{var rr=new Audio;typeof rr.oncanplaythrough>"u"&&(nr._canPlayEvent="canplay")}catch{nr.noAudio=!0}else nr.noAudio=!0;try{var rr=new Audio;rr.muted&&(nr.noAudio=!0)}catch{}return nr.noAudio||nr._setupCodecs(),nr},_setupCodecs:function(){var nr=this||i,rr=null;try{rr=typeof Audio<"u"?new Audio:null}catch{return nr}if(!rr||typeof rr.canPlayType!="function")return nr;var vr=rr.canPlayType("audio/mpeg;").replace(/^no$/,""),cr=nr._navigator?nr._navigator.userAgent:"",ur=cr.match(/OPR\/([0-6].)/g),Er=ur&&parseInt(ur[0].split("/")[1],10)<33,or=cr.indexOf("Safari")!==-1&&cr.indexOf("Chrome")===-1,sr=cr.match(/Version\/(.*?) /),pr=or&&sr&&parseInt(sr[1],10)<15;return nr._codecs={mp3:!!(!Er&&(vr||rr.canPlayType("audio/mp3;").replace(/^no$/,""))),mpeg:!!vr,opus:!!rr.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,""),ogg:!!rr.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),oga:!!rr.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),wav:!!(rr.canPlayType('audio/wav; codecs="1"')||rr.canPlayType("audio/wav")).replace(/^no$/,""),aac:!!rr.canPlayType("audio/aac;").replace(/^no$/,""),caf:!!rr.canPlayType("audio/x-caf;").replace(/^no$/,""),m4a:!!(rr.canPlayType("audio/x-m4a;")||rr.canPlayType("audio/m4a;")||rr.canPlayType("audio/aac;")).replace(/^no$/,""),m4b:!!(rr.canPlayType("audio/x-m4b;")||rr.canPlayType("audio/m4b;")||rr.canPlayType("audio/aac;")).replace(/^no$/,""),mp4:!!(rr.canPlayType("audio/x-mp4;")||rr.canPlayType("audio/mp4;")||rr.canPlayType("audio/aac;")).replace(/^no$/,""),weba:!!(!pr&&rr.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),webm:!!(!pr&&rr.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")),dolby:!!rr.canPlayType('audio/mp4; codecs="ec-3"').replace(/^no$/,""),flac:!!(rr.canPlayType("audio/x-flac;")||rr.canPlayType("audio/flac;")).replace(/^no$/,"")},nr},_unlockAudio:function(){var nr=this||i;if(!(nr._audioUnlocked||!nr.ctx)){nr._audioUnlocked=!1,nr.autoUnlock=!1,!nr._mobileUnloaded&&nr.ctx.sampleRate!==44100&&(nr._mobileUnloaded=!0,nr.unload()),nr._scratchBuffer=nr.ctx.createBuffer(1,1,22050);var rr=function(vr){for(;nr._html5AudioPool.length<nr.html5PoolSize;)try{var cr=new Audio;cr._unlocked=!0,nr._releaseHtml5Audio(cr)}catch{nr.noAudio=!0;break}for(var ur=0;ur<nr._howls.length;ur++)if(!nr._howls[ur]._webAudio)for(var Er=nr._howls[ur]._getSoundIds(),or=0;or<Er.length;or++){var sr=nr._howls[ur]._soundById(Er[or]);sr&&sr._node&&!sr._node._unlocked&&(sr._node._unlocked=!0,sr._node.load())}nr._autoResume();var pr=nr.ctx.createBufferSource();pr.buffer=nr._scratchBuffer,pr.connect(nr.ctx.destination),typeof pr.
vendor: 24,645 bytes, line 845
845start>"u"?pr.noteOn(0):pr.start(0),typeof nr.ctx.resume=="function"&&nr.ctx.resume(),pr.onended=function(){pr.disconnect(0),nr._audioUnlocked=!0,document.removeEventListener("touchstart",rr,!0),document.removeEventListener("touchend",rr,!0),document.removeEventListener("click",rr,!0),document.removeEventListener("keydown",rr,!0);for(var dr=0;dr<nr._howls.length;dr++)nr._howls[dr]._emit("unlock")}};return document.addEventListener("touchstart",rr,!0),document.addEventListener("touchend",rr,!0),document.addEventListener("click",rr,!0),document.addEventListener("keydown",rr,!0),nr}},_obtainHtml5Audio:function(){var nr=this||i;if(nr._html5AudioPool.length)return nr._html5AudioPool.pop();var rr=new Audio().play();return rr&&typeof Promise<"u"&&(rr instanceof Promise||typeof rr.then=="function")&&rr.catch(function(){console.warn("HTML5 Audio pool exhausted, returning potentially locked audio object.")}),new Audio},_releaseHtml5Audio:function(nr){var rr=this||i;return nr._unlocked&&rr._html5AudioPool.push(nr),rr},_autoSuspend:function(){var nr=this;if(!(!nr.autoSuspend||!nr.ctx||typeof nr.ctx.suspend>"u"||!i.usingWebAudio)){for(var rr=0;rr<nr._howls.length;rr++)if(nr._howls[rr]._webAudio){for(var vr=0;vr<nr._howls[rr]._sounds.length;vr++)if(!nr._howls[rr]._sounds[vr]._paused)return nr}return nr._suspendTimer&&clearTimeout(nr._suspendTimer),nr._suspendTimer=setTimeout(function(){if(nr.autoSuspend){nr._suspendTimer=null,nr.state="suspending";var cr=function(){nr.state="suspended",nr._resumeAfterSuspend&&(delete nr._resumeAfterSuspend,nr._autoResume())};nr.ctx.suspend().then(cr,cr)}},3e4),nr}},_autoResume:function(){var nr=this;if(!(!nr.ctx||typeof nr.ctx.resume>"u"||!i.usingWebAudio))return nr.state==="running"&&nr.ctx.state!=="interrupted"&&nr._suspendTimer?(clearTimeout(nr._suspendTimer),nr._suspendTimer=null):nr.state==="suspended"||nr.state==="running"&&nr.ctx.state==="interrupted"?(nr.ctx.resume().then(function(){nr.state="running";for(var rr=0;rr<nr._howls.length;rr++)nr._howls[rr]._emit("resume")}),nr._suspendTimer&&(clearTimeout(nr._suspendTimer),nr._suspendTimer=null)):nr.state==="suspending"&&(nr._resumeAfterSuspend=!0),nr}};var i=new e,r=function(nr){var rr=this;if(!nr.src||nr.src.length===0){console.error("An array of source files must be passed with any new Howl.");return}rr.init(nr)};r.prototype={init:function(nr){var rr=this;return i.ctx||gr(),rr._autoplay=nr.autoplay||!1,rr._format=typeof nr.format!="string"?nr.format:[nr.format],rr._html5=nr.html5||!1,rr._muted=nr.mute||!1,rr._loop=nr.loop||!1,rr._pool=nr.pool||5,rr._preload=typeof nr.preload=="boolean"||nr.preload==="metadata"?nr.preload:!0,rr._rate=nr.rate||1,rr._sprite=nr.sprite||{},rr._src=typeof nr.src!="string"?nr.src:[nr.src],rr._volume=nr.volume!==void 0?nr.volume:1,rr._xhr={method:nr.xhr&&nr.xhr.method?nr.xhr.method:"GET",headers:nr.xhr&&nr.xhr.headers?nr.xhr.headers:null,withCredentials:nr.xhr&&nr.xhr.withCredentials?nr.xhr.withCredentials:!1},rr._duration=0,rr._state="unloaded",rr._sounds=[],rr._endTimers={},rr._queue=[],rr._playLock=!1,rr._onend=nr.onend?[{fn:nr.onend}]:[],rr._onfade=nr.onfade?[{fn:nr.onfade}]:[],rr._onload=nr.onload?[{fn:nr.onload}]:[],rr._onloaderror=nr.onloaderror?[{fn:nr.onloaderror}]:[],rr._onplayerror=nr.onplayerror?[{fn:nr.onplayerror}]:[],rr._onpause=nr.onpause?[{fn:nr.onpause}]:[],rr._onplay=nr.onplay?[{fn:nr.onplay}]:[],rr._onstop=nr.onstop?[{fn:nr.onstop}]:[],rr._onmute=nr.onmute?[{fn:nr.onmute}]:[],rr._onvolume=nr.onvolume?[{fn:nr.onvolume}]:[],rr._onrate=nr.onrate?[{fn:nr.onrate}]:[],rr._onseek=nr.onseek?[{fn:nr.onseek}]:[],rr._onunlock=nr.onunlock?[{fn:nr.onunlock}]:[],rr._onresume=[],rr._webAudio=i.usingWebAudio&&!rr._html5,typeof i.ctx<"u"&&i.ctx&&i.autoUnlock&&i._unlockAudio(),i._howls.push(rr),rr._autoplay&&rr._queue.push({event:"play",action:function(){rr.play()}}),rr._preload&&rr._preload!=="none"&&rr.load(),rr},load:function(){var nr=this,rr=null;if(i.noAudio){nr._emit("loaderror",null,"No audio support.");return}typeof nr._src=="string"&&(nr._src=[nr._src]);for(var vr=0;vr<nr._src.length;vr++){var cr,ur;if(nr._format&&nr._format[vr])cr=nr._format[vr];else{if(ur=nr._src[vr],typeof ur!="string"){nr._emit("loaderror",null,"Non-string found in selected audio sources - ignoring.");continue}cr=/^data:audio\/([^;,]+);/i.exec(ur),cr||(cr=/\.([^.]+)$/.exec(ur.split("?",1)[0])),cr&&(cr=cr[1].toLowerCase())}if(cr||console.warn('No file extension was found. Consider using the "format" property or specify an extension.'),cr&&i.codecs(cr)){rr=nr._src[vr];break}}if(!rr){nr._emit("loaderror",null,"No codec support for selected audio sources.");return}return nr._src=rr,nr._state="loading",window.location.protocol==="https:"&&rr.slice(0,5)==="http:"&&(nr._html5=!0,nr._webAudio=!1),new o(nr),nr._webAudio&&tr(nr),nr},play:function(nr,rr){var vr=this,cr=null;if(typeof nr=="number")cr=nr,nr=null;else{if(typeof nr=="string"&&vr._state==="loaded"&&!vr._sprite[nr])return null;if(typeof nr>"u"&&(nr="__default",!vr._playLock)){for(var ur=0,Er=0;Er<vr._sounds.length;Er++)vr._sounds[Er]._paused&&!vr._sounds[Er]._ended&&(ur++,cr=vr._sounds[Er]._id);ur===1?nr=null:cr=null}}var or=cr?vr._soundById(cr):vr._inactiveSound();if(!or)return null;if(cr&&!nr&&(nr=or._sprite||"__default"),vr._state!=="loaded"){or._sprite=nr,or._ended=!1;var sr=or._id;return vr._queue.push({event:"play",action:function(){vr.play(sr)}}),sr}if(cr&&!or._paused)return rr||vr._loadQueue("play"),or._id;vr._webAudio&&i._autoResume();var pr=Math.max(0,or._seek>0?or._seek:vr._sprite[nr][0]/1e3),dr=Math.max(0,(vr._sprite[nr][0]+vr._sprite[nr][1])/1e3-pr),Pr=dr*1e3/Math.abs(or._rate),Ir=vr._sprite[nr][0]/1e3,zr=(vr._sprite[nr][0]+vr._sprite[nr][1])/1e3;or._sprite=nr,or._ended=!1;var $r=function(){or._paused=!1,or._seek=pr,or._start=Ir,or._stop=zr,or._loop=!!(or._loop||vr._sprite[nr][2])};if(pr>=zr){vr._ended(or);return}var es=or._node;if(vr._webAudio){var hs=function(){vr._playLock=!1,$r(),vr._refreshBuffer(or);var is=or._muted||vr._muted?0:or._volume;es.gain.setValueAtTime(is,i.ctx.currentTime),or._playStart=i.ctx.currentTime,typeof es.bufferSource.start>"u"?or._loop?es.bufferSource.noteGrainOn(0,pr,86400):es.bufferSource.noteGrainOn(0,pr,dr):or._loop?es.bufferSource.start(0,pr,86400):es.bufferSource.start(0,pr,dr),Pr!==1/0&&(vr._endTimers[or._id]=setTimeout(vr._ended.bind(vr,or),Pr)),rr||setTimeout(function(){vr._emit("play",or._id),vr._loadQueue()},0)};i.state==="running"&&i.ctx.state!=="interrupted"?hs():(vr._playLock=!0,vr.once("resume",hs),vr._clearTimer(or._id))}else{var ps=function(){es.currentTime=pr,es.muted=or._muted||vr._muted||i._muted||es.muted,es.volume=or._volume*i.volume(),es.playbackRate=or._rate;try{var is=es.play();if(is&&typeof Promise<"u"&&(is instanceof Promise||typeof is.then=="function")?(vr._playLock=!0,$r(),is.then(function(){vr._playLock=!1,es._unlocked=!0,rr?vr._loadQueue():vr._emit("play",or._id)}).catch(function(){vr._playLock=!1,vr._emit("playerror",or._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction."),or._ended=!0,or._paused=!0})):rr||(vr._playLock=!1,$r(),vr._emit("play",or._id)),es.playbackRate=or._rate,es.paused){vr._emit("playerror",or._id,"Playback was unable to start. This is most commonly an issue on mobile devices and Chrome where playback was not within a user interaction.");return}nr!=="__default"||or._loop?vr._endTimers[or._id]=setTimeout(vr._ended.bind(vr,or),Pr):(vr._endTimers[or._id]=function(){vr._ended(or),es.removeEventListener("ended",vr._endTimers[or._id],!1)},es.addEventListener("ended",vr._endTimers[or._id],!1))}catch(cs){vr._emit("playerror",or._id,cs)}};es.src==="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA"&&(es.src=vr._src,es.load());var os=window&&window.ejecta||!es.readyState&&i._navigator.isCocoonJS;if(es.readyState>=3||os)ps();else{vr._playLock=!0,vr._state="loading";var xs=function(){vr._state="loaded",ps(),es.removeEventListener(i._canPlayEvent,xs,!1)};es.addEventListener(i._canPlayEvent,xs,!1),vr._clearTimer(or._id)}}return or._id},pause:function(nr){var rr=this;if(rr._state!=="loaded"||rr._playLock)return rr._queue.push({event:"pause",action:function(){rr.pause(nr)}}),rr;for(var vr=rr._getSoundIds(nr),cr=0;cr<vr.length;cr++){rr._clearTimer(vr[cr]);var ur=rr._soundById(vr[cr]);if(ur&&!ur._paused&&(ur._seek=rr.seek(vr[cr]),ur._rateSeek=0,ur._paused=!0,rr._stopFade(vr[cr]),ur._node))if(rr._webAudio){if(!ur._node.bufferSource)continue;typeof ur._node.bufferSource.stop>"u"?ur._node.bufferSource.noteOff(0):ur._node.bufferSource.stop(0),rr._cleanBuffer(ur._node)}else(!isNaN(ur._node.duration)||ur._node.duration===1/0)&&ur._node.pause();arguments[1]||rr._emit("pause",ur?ur._id:null)}return rr},stop:function(nr,rr){var vr=this;if(vr._state!=="loaded"||vr._playLock)return vr._queue.push({event:"stop",action:function(){vr.stop(nr)}}),vr;for(var cr=vr._getSoundIds(nr),ur=0;ur<cr.length;ur++){vr._clearTimer(cr[ur]);var Er=vr._soundById(cr[ur]);Er&&(Er._seek=Er._start||0,Er._rateSeek=0,Er._paused=!0,Er._ended=!0,vr._stopFade(cr[ur]),Er._node&&(vr._webAudio?Er._node.bufferSource&&(typeof Er._node.bufferSource.stop>"u"?Er._node.bufferSource.noteOff(0):Er._node.bufferSource.stop(0),vr._cleanBuffer(Er._node)):(!isNaN(Er._node.duration)||Er._node.duration===1/0)&&(Er._node.currentTime=Er._start||0,Er._node.pause(),Er._node.duration===1/0&&vr._clearSound(Er._node))),rr||vr._emit("stop",Er._id))}return vr},mute:function(nr,rr){var vr=this;if(vr._state!=="loaded"||vr._playLock)return vr._queue.push({event:"mute",action:function(){vr.mute(nr,rr)}}),vr;if(typeof rr>"u")if(typeof nr=="boolean")vr._muted=nr;else return vr._muted;for(var cr=vr._getSoundIds(rr),ur=0;ur<cr.length;ur++){var Er=vr._soundById(cr[ur]);Er&&(Er._muted=nr,Er._interval&&vr._stopFade(Er._id),vr._webAudio&&Er._node?Er._node.gain.setValueAtTime(nr?0:Er._volume,i.ctx.currentTime):Er._node&&(Er._node.muted=i._muted?!0:nr),vr._emit("mute",Er._id))}return vr},volume:function(){var nr=this,rr=arguments,vr,cr;if(rr.length===0)return nr._volume;if(rr.length===1||rr.length===2&&typeof rr[1]>"u"){var ur=nr._getSoundIds(),Er=ur.indexOf(rr[0]);Er>=0?cr=parseInt(rr[0],10):vr=parseFloat(rr[0])}else rr.length>=2&&(vr=parseFloat(rr[0]),cr=parseInt(rr[1],10));var or;if(typeof vr<"u"&&vr>=0&&vr<=1){if(nr._state!=="loaded"||nr._playLock)return nr._queue.push({event:"volume",action:function(){nr.volume.apply(nr,rr)}}),nr;typeof cr>"u"&&(nr._volume=vr),cr=nr._getSoundIds(cr);for(var sr=0;sr<cr.length;sr++)or=nr._soundById(cr[sr]),or&&(or._volume=vr,rr[2]||nr._stopFade(cr[sr]),nr._webAudio&&or._node&&!or._muted?or._node.gain.setValueAtTime(vr,i.ctx.currentTime):or._node&&!or._muted&&(or._node.volume=vr*i.volume()),nr._emit("volume",or._id))}else return or=cr?nr._soundById(cr):nr._sounds[0],or?or._volume:0;return nr},fade:function(nr,rr,vr,cr){var ur=this;if(ur._state!=="loaded"||ur._playLock)return ur._queue.push({event:"fade",action:function(){ur.fade(nr,rr,vr,cr)}}),ur;nr=Math.min(Math.max(0,parseFloat(nr)),1),rr=Math.min(Math.max(0,parseFloat(rr)),1),vr=parseFloat(vr),ur.volume(nr,cr);for(var Er=ur._getSoundIds(cr),or=0;or<Er.length;or++){var sr=ur._soundById(Er[or]);if(sr){if(cr||ur._stopFade(Er[or]),ur._webAudio&&!sr._muted){var pr=i.ctx.currentTime,dr=pr+vr/1e3;sr._volume=nr,sr._node.gain.setValueAtTime(nr,pr),sr._node.gain.linearRampToValueAtTime(rr,dr)}ur._startFadeInterval(sr,nr,rr,vr,Er[or],typeof cr>"u")}}return ur},_startFadeInterval:function(nr,rr,vr,cr,ur,Er){var or=this,sr=rr,pr=vr-rr,dr=Math.abs(pr/.01),Pr=Math.max(4,dr>0?cr/dr:cr),Ir=Date.now();nr._fadeTo=vr,nr._interval=setInterval(function(){var zr=(Date.now()-Ir)/cr;Ir=Date.now(),sr+=pr*zr,sr=Math.round(sr*100)/100,pr<0?sr=Math.max(vr,sr):sr=Math.min(vr,sr),or._webAudio?nr._volume=sr:or.volume(sr,nr._id,!0),Er&&(or._volume=sr),(vr<rr&&sr<=vr||vr>rr&&sr>=vr)&&(clearInterval(nr._interval),nr._interval=null,nr._fadeTo=null,or.volume(vr,nr._id),or._emit("fade",nr._id))},Pr)},_stopFade:function(nr){var rr=this,vr=rr._soundById(nr);return vr&&vr._interval&&(rr._webAudio&&vr._node.gain.cancelScheduledValues(i.ctx.currentTime),clearInterval(vr._interval),vr._interval=null,rr.volume(vr._fadeTo,nr),vr._fadeTo=null,rr._emit("fade",nr)),rr},loop:function(){var nr=this,rr=arguments,vr,cr,ur;if(rr.length===0)return nr._loop;if(rr.length===1)if(typeof rr[0]=="boolean")vr=rr[0],nr._loop=vr;else return ur=nr._soundById(parseInt(rr[0],10)),ur?ur._loop:!1;else rr.length===2&&(vr=rr[0],cr=parseInt(rr[1],10));for(var Er=nr._getSoundIds(cr),or=0;or<Er.length;or++)ur=nr._soundById(Er[or]),ur&&(ur._loop=vr,nr._webAudio&&ur._node&&ur._node.bufferSource&&(ur._node.bufferSource.loop=vr,vr&&(ur._node.bufferSource.loopStart=ur._start||0,ur._node.bufferSource.loopEnd=ur._stop,nr.playing(Er[or])&&(nr.pause(Er[or],!0),nr.play(Er[or],!0)))));return nr},rate:function(){var nr=this,rr=arguments,vr,cr;if(rr.length===0)cr=nr._sounds[0]._id;else if(rr.length===1){var ur=nr._getSoundIds(),Er=ur.indexOf(rr[0]);Er>=0?cr=parseInt(rr[0],10):vr=parseFloat(rr[0])}else rr.length===2&&(vr=parseFloat(rr[0]),cr=parseInt(rr[1],10));var or;if(typeof vr=="number"){if(nr._state!=="loaded"||nr._playLock)return nr._queue.push({event:"rate",action:function(){nr.rate.apply(nr,rr)}}),nr;typeof cr>"u"&&(nr._rate=vr),cr=nr._getSoundIds(cr);for(var sr=0;sr<cr.length;sr++)if(or=nr._soundById(cr[sr]),or){nr.playing(cr[sr])&&(or._rateSeek=nr.seek(cr[sr]),or._playStart=nr._webAudio?i.ctx.currentTime:or._playStart),or._rate=vr,nr._webAudio&&or._node&&or._node.bufferSource?or._node.bufferSource.playbackRate.setValueAtTime(vr,i.ctx.currentTime):or._node&&(or._node.playbackRate=vr);var pr=nr.seek(cr[sr]),dr=(nr._sprite[or._sprite][0]+nr._sprite[or._sprite][1])/1e3-pr,Pr=dr*1e3/Math.abs(or._rate);(nr._endTimers[cr[sr]]||!or._paused)&&(nr._clearTimer(cr[sr]),nr._endTimers[cr[sr]]=setTimeout(nr._ended.bind(nr,or),Pr)),nr._emit("rate",or._id)}}else return or=nr._soundById(cr),or?or._rate:nr._rate;return nr},seek:function(){var nr=this,rr=arguments,vr,cr;if(rr.length===0)nr._sounds.length&&(cr=nr._sounds[0]._id);else if(rr.length===1){var ur=nr._getSoundIds(),Er=ur.indexOf(rr[0]);Er>=0?cr=parseInt(rr[0],10):nr._sounds.length&&(cr=nr._sounds[0]._id,vr=parseFloat(rr[0]))}else rr.length===2&&(vr=parseFloat(rr[0]),cr=parseInt(rr[1],10));if(typeof cr>"u")return 0;if(typeof vr=="number"&&(nr._state!=="loaded"||nr._playLock))return nr._queue.push({event:"seek",action:function(){nr.seek.apply(nr,rr)}}),nr;var or=nr._soundById(cr);if(or)if(typeof vr=="number"&&vr>=0){var sr=nr.playing(cr);sr&&nr.pause(cr,!0),or._seek=vr,or._ended=!1,nr._clearTimer(cr),!nr._webAudio&&or._node&&!isNaN(or._node.duration)&&(or._node.currentTime=vr);var pr=function(){sr&&nr.play(cr,!0),nr._emit("seek",cr)};if(sr&&!nr._webAudio){var dr=function(){nr._playLock?setTimeout(dr,0):pr()};setTimeout(dr,0)}else pr()}else if(nr._webAudio){var Pr=nr.playing(cr)?i.ctx.currentTime-or._playStart:0,Ir=or._rateSeek?or._rateSeek-or._seek:0;return or._seek+(Ir+Pr*Math.abs(or._rate))}else return or._node.currentTime;return nr},playing:function(nr){var rr=this;if(typeof nr=="number"){var vr=rr._soundById(nr);return vr?!vr._paused:!1}for(var cr=0;cr<rr._sounds.length;cr++)if(!rr._sounds[cr]._paused)return!0;return!1},duration:function(nr){var rr=this,vr=rr._duration,cr=rr._soundById(nr);return cr&&(vr=rr._sprite[cr._sprite][1]/1e3),vr},state:function(){return this._state},unload:function(){for(var nr=this,rr=nr._sounds,vr=0;vr<rr.length;vr++)rr[vr]._paused||nr.stop(rr[vr]._id),nr._webAudio||(nr._clearSound(rr[vr]._node),rr[vr]._node.removeEventListener("error",rr[vr]._errorFn,!1),rr[vr]._node.removeEventListener(i._canPlayEvent,rr[vr]._loadFn,!1),rr[vr]._node.removeEventListener("ended",rr[vr]._endFn,!1),i._releaseHtml5Audio(rr[vr]._node)),delete rr[vr]._node,nr._clearTimer(rr[vr]._id);var cr=i._howls.indexOf(nr);cr>=0&&i._howls.splice(cr,1);var ur=!0;for(vr=0;vr<i._howls.length;vr++)if(i._howls[vr]._src===nr._src||nr._src.indexOf(i._howls[vr]._src)>=0){ur=!1;break}return Zt&&ur&&delete Zt[nr._src],i.noAudio=!1,nr._state="unloaded",nr._sounds=[],nr=null,null},on:function(nr,rr,vr,cr){var ur=this,Er=ur["_on"+nr];return typeof rr=="function"&&Er.push(cr?{id:vr,fn:rr,once:cr}:{id:vr,fn:rr}),ur},off:function(nr,rr,vr){var cr=this,ur=cr["_on"+nr],Er=0;if(typeof rr=="number"&&(vr=rr,rr=null),rr||vr)for(Er=0;Er<ur.length;Er++){var or=vr===ur[Er].id;if(rr===ur[Er].fn&&or||!rr&&or){ur.splice(Er,1);break}}else if(nr)cr["_on"+nr]=[];else{var sr=Object.keys(cr);for(Er=0;Er<sr.length;Er++)sr[Er].indexOf("_on")===0&&Array.isArray(cr[sr[Er]])&&(cr[sr[Er]]=[])}return cr},once:function(nr,rr,vr){var cr=this;return cr.on(nr,rr,vr,1),cr},_emit:function(nr,rr,vr){for(var cr=this,ur=cr["_on"+nr],Er=ur.length-1;Er>=0;Er--)(!ur[Er].id||ur[Er].id===rr||nr==="load")&&(setTimeout(function(or){or.call(this,rr,vr)}.bind(cr,ur[Er].fn),0),ur[Er].once&&cr.off(nr,ur[Er].fn,ur[Er].id));return cr._loadQueue(nr),cr},_loadQueue:function(nr){var rr=this;if(rr._queue.length>0){var vr=rr._queue[0];vr.event===nr&&(rr._queue.shift(),rr._loadQueue()),nr||vr.action()}return rr},_ended:function(nr){var rr=this,vr=nr._sprite;if(!rr._webAudio&&nr._node&&!nr._node.paused&&!nr._node.ended&&nr._node.currentTime<nr._stop)return setTimeout(rr._ended.bind(rr,nr),100),rr;var cr=!!(nr._loop||rr._sprite[vr][2]);if(rr._emit("end",nr._id),!rr._webAudio&&cr&&rr.stop(nr._id,!0).play(nr._id),rr._webAudio&&cr){rr._emit("play",nr._id),nr._seek=nr._start||0,nr._rateSeek=0,nr._playStart=i.ctx.currentTime;var ur=(nr._stop-nr._start)*1e3/Math.abs(nr._rate);rr._endTimers[nr._id]=setTimeout(rr._ended.bind(rr,nr),ur)}return rr._webAudio&&!cr&&(nr._paused=!0,nr._ended=!0,nr._seek=nr._start||0,nr._rateSeek=0,rr._clearTimer(nr._id),rr._cleanBuffer(nr._node),i._autoSuspend()),!rr._webAudio&&!cr&&rr.stop(nr._id,!0),rr},_clearTimer:function(nr){var rr=this;if(rr._endTimers[nr]){if(typeof rr._endTimers[nr]!="function")clearTimeout(rr._endTimers[nr]);else{var vr=rr._soundById(nr);vr&&vr._node&&vr._node.removeEventListener("ended",rr._endTimers[nr],!1)}delete rr._endTimers[nr]}return rr},_soundById:function(nr){for(var rr=this,vr=0;vr<rr._sounds.length;vr++)if(nr===rr._sounds[vr]._id)return rr._sounds[vr];return null},_inactiveSound:function(){var nr=this;nr._drain();for(var rr=0;rr<nr._sounds.length;rr++)if(nr._sounds[rr]._ended)return nr._sounds[rr].reset();return new o(nr)},_drain:function(){var nr=this,rr=nr._pool,vr=0,cr=0;if(!(nr._sounds.length<rr)){for(cr=0;cr<nr._sounds.length;cr++)nr._sounds[cr]._ended&&vr++;for(cr=nr._sounds.length-1;cr>=0;cr--){if(vr<=rr)return;nr._sounds[cr]._ended&&(nr._webAudio&&nr._sounds[cr]._node&&nr._sounds[cr]._node.disconnect(0),nr._sounds.splice(cr,1),vr--)}}},_getSoundIds:function(nr){var rr=this;if(typeof nr>"u"){for(var vr=[],cr=0;cr<rr._sounds.length;cr++)vr.push(rr._sounds[cr]._id);return vr}else return[nr]},_refreshBuffer:function(nr){var rr=this;return nr._node.bufferSource=i.ctx.createBufferSource(),nr._node.bufferSource.buffer=Zt[rr._src],nr._panner?nr._node.bufferSource.connect(nr._panner):nr._node.bufferSource.connect(nr._node),nr._node.bufferSource.loop=nr._loop,nr._loop&&(nr._node.bufferSource.loopStart=nr._start||0,nr._node.bufferSource.loopEnd=nr._stop||0),nr._node.bufferSource.playbackRate.setValueAtTime(nr._rate,i.ctx.currentTime),rr},_cleanBuffer:function(nr){var rr=this,vr=i._navigator&&i._navigator.vendor.indexOf("Apple")>=0;if(i._scratchBuffer&&nr.bufferSource&&(nr.bufferSource.onended=null,nr.bufferSource.disconnect(0),vr))try{nr.bufferSource.buffer=i._scratchBuffer}catch{}return nr.bufferSource=null,rr},_clearSound:function(nr){var rr=/MSIE |Trident\//.test(i._navigator&&i._navigator.userAgent);rr||(nr.src="data:audio/wav;base64,UklGRigAAABXQVZFZm10IBIAAAABAAEARKwAAIhYAQACABAAAABkYXRhAgAAAAEA")}};var o=function(nr){this._parent=nr,this.init()};o.prototype={init:function(){var nr=this,rr=nr._parent;return nr._muted=rr._muted,nr._loop=rr._loop,nr._volume=rr._volume,nr._rate=rr._rate,nr._seek=0,nr._paused=!0,nr._ended=!0,nr._sprite="__default",nr._id=++i._counter,rr._sounds.push(nr),nr.create(),nr},create:function(){var nr=this,rr=nr._parent,vr=i._muted||nr._muted||nr._parent._muted?0:nr._volume;return rr._webAudio?(nr._node=typeof i.ctx.createGain>"u"?i.ctx.createGainNode():i.ctx.createGain(),nr._node.gain.setValueAtTime(vr,i.ctx.currentTime),nr._node.paused=!0,nr._node.connect(i.masterGain)):i.noAudio||(nr._node=i._obtainHtml5Audio(),nr._errorFn=nr._errorListener.bind(nr),nr._node.addEventListener("error",nr._errorFn,!1),nr._loadFn=nr._loadListener.bind(nr),nr._node.addEventListener(i._canPlayEvent,nr._loadFn,!1),nr._endFn=nr._endListener.bind(nr),nr._node.addEventListener("ended",nr._endFn,!1),nr._node.src=rr._src,nr._node.preload=rr._preload===!0?"auto":rr._preload,nr._node.volume=vr*i.volume(),nr._node.load()),nr},reset:function(){var nr=this,rr=nr._parent;return nr._muted=rr._muted,nr._loop=rr._loop,nr._volume=rr._volume,nr._rate=rr._rate,nr._seek=0,nr._rateSeek=0,nr._paused=!0,nr._ended=!0,nr._sprite="__default",nr._id=++i._counter,nr},_errorListener:function(){var nr=this;nr._parent._emit("loaderror",nr._id,nr._node.error?nr._node.error.code:0),nr._node.removeEventListener("error",nr._errorFn,!1)},_loadListener:function(){var nr=this,rr=nr._parent;rr._duration=Math.ceil(nr._node.duration*10)/10,Object.keys(rr._sprite).length===0&&(rr._sprite={__default:[0,rr._duration*1e3]}),rr._state!=="loaded"&&(rr._state="loaded",rr._emit("load"),rr._loadQueue()),nr._node.removeEventListener(i._canPlayEvent,nr._loadFn,!1)},_endListener:function(){var nr=this,rr=nr._parent;rr._duration===1/0&&(rr._duration=Math.ceil(nr._node.duration*10)/10,rr._sprite.__default[1]===1/0&&(rr._sprite.__default[1]=rr._duration*1e3),rr._ended(nr)),nr._node.removeEventListener("ended",nr._endFn,!1)}};var Zt={},tr=function(nr){var rr=nr._src;if(Zt[rr]){nr._duration=Zt[rr].duration,fr(nr);return}if(/^data:[^;]+;base64,/.test(rr)){for(var vr=atob(rr.split(",")[1]),cr=new Uint8Array(vr.length),ur=0;ur<vr.length;++ur)cr[ur]=vr.charCodeAt(ur);ir(cr.buffer,nr)}else{var Er=new XMLHttpRequest;Er.open(nr._xhr.method,rr,!0),Er.withCredentials=nr._xhr.withCredentials,Er.responseType="arraybuffer",nr._xhr.headers&&Object.keys(nr._xhr.headers).forEach(function(or){Er.setRequestHeader(or,nr._xhr.headers[or])}),Er.onload=function(){var or=(Er.status+"")[0];if(or!=="0"&&or!=="2"&&or!=="3"){nr._emit("loaderror",null,"Failed loading audio file with status: "+Er.status+".");return}ir(Er.response,nr)},Er.onerror=function(){nr._webAudio&&(nr._html5=!0,nr._webAudio=!1,nr._sounds=[],delete Zt[rr],nr.load())},ar(Er)}},ar=function(nr){try{nr.send()}catch{nr.onerror()}},ir=function(nr,rr){var vr=function(){rr._emit("loaderror",null,"Decoding audio data failed.")},cr=function(ur){ur&&rr._sounds.length>0?(Zt[rr._src]=ur,fr(rr,ur)):vr()};typeof Promise<"u"&&i.ctx.decodeAudioData.length===1?i.ctx.decodeAudioData(nr).then(cr).catch(vr):i.ctx.decodeAudioData(nr,cr,vr)},fr=function(nr,rr){rr&&!nr._duration&&(nr._duration=rr.duration),Object.keys(nr._sprite).length===0&&(nr._sprite={__default:[0,nr._duration*1e3]}),nr._state!=="loaded"&&(nr._state="loaded",nr._emit("load"),nr._loadQueue())},gr=function(){if(i.usingWebAudio){try{typeof AudioContext<"u"?i.ctx=new AudioContext:typeof webkitAudioContext<"u"?i.ctx=new webkitAudioContext:i.usingWebAudio=!1}catch{i.usingWebAudio=!1}i.ctx||(i.usingWebAudio=!1);var nr=/iP(hone|od|ad)/.test(i._navigator&&i._navigator.platform),rr=i._navigator&&i._navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/),vr=rr?parseInt(rr[1],10):null;if(nr&&vr&&vr<9){var cr=/safari/.test(i._navigator&&i._navigator.userAgent.toLowerCase());i._navigator&&!cr&&(i.usingWebAudio=!1)}i.usingWebAudio&&(i.masterGain=typeof i.ctx.createGain>"u"?i.ctx.createGainNode():i.ctx.createGain(),i.masterGain.gain.setValueAtTime(i._muted?0:i._volume,i.ctx.currentTime),i.masterGain.connect(i.ctx.destination)),i._setup()}};typeof define=="function"&&define.amd&&define([],function(){return{Howler:i,Howl:r}}),typeof t<"u"&&(t.Howler=i,t.Howl=r),typeof globalThis<"u"?(globalThis.HowlerGlobal=e,globalThis.Howler=i,globalThis.Howl=r,globalThis.Sound=o):typeof window<"u"&&(window.HowlerGlobal=e,window.Howler=i,window.Howl=r,window.Sound=o)})(),function(){HowlerGlobal.prototype._pos=[0,0,0],HowlerGlobal.prototype._orientation=[0,0,-1,0,1,0],HowlerGlobal.prototype.stereo=function(i){var r=this;if(!r.ctx||!r.ctx.listener)return r;for(var o=r._howls.length-1;o>=0;o--)r._howls[o].stereo(i);return r},HowlerGlobal.prototype.pos=function(i,r,o){var Zt=this;
vendor: 11,647 bytes, line 845
845if(!Zt.ctx||!Zt.ctx.listener)return Zt;if(r=typeof r!="number"?Zt._pos[1]:r,o=typeof o!="number"?Zt._pos[2]:o,typeof i=="number")Zt._pos=[i,r,o],typeof Zt.ctx.listener.positionX<"u"?(Zt.ctx.listener.positionX.setTargetAtTime(Zt._pos[0],Howler.ctx.currentTime,.1),Zt.ctx.listener.positionY.setTargetAtTime(Zt._pos[1],Howler.ctx.currentTime,.1),Zt.ctx.listener.positionZ.setTargetAtTime(Zt._pos[2],Howler.ctx.currentTime,.1)):Zt.ctx.listener.setPosition(Zt._pos[0],Zt._pos[1],Zt._pos[2]);else return Zt._pos;return Zt},HowlerGlobal.prototype.orientation=function(i,r,o,Zt,tr,ar){var ir=this;if(!ir.ctx||!ir.ctx.listener)return ir;var fr=ir._orientation;if(r=typeof r!="number"?fr[1]:r,o=typeof o!="number"?fr[2]:o,Zt=typeof Zt!="number"?fr[3]:Zt,tr=typeof tr!="number"?fr[4]:tr,ar=typeof ar!="number"?fr[5]:ar,typeof i=="number")ir._orientation=[i,r,o,Zt,tr,ar],typeof ir.ctx.listener.forwardX<"u"?(ir.ctx.listener.forwardX.setTargetAtTime(i,Howler.ctx.currentTime,.1),ir.ctx.listener.forwardY.setTargetAtTime(r,Howler.ctx.currentTime,.1),ir.ctx.listener.forwardZ.setTargetAtTime(o,Howler.ctx.currentTime,.1),ir.ctx.listener.upX.setTargetAtTime(Zt,Howler.ctx.currentTime,.1),ir.ctx.listener.upY.setTargetAtTime(tr,Howler.ctx.currentTime,.1),ir.ctx.listener.upZ.setTargetAtTime(ar,Howler.ctx.currentTime,.1)):ir.ctx.listener.setOrientation(i,r,o,Zt,tr,ar);else return fr;return ir},Howl.prototype.init=function(i){return function(r){var o=this;return o._orientation=r.orientation||[1,0,0],o._stereo=r.stereo||null,o._pos=r.pos||null,o._pannerAttr={coneInnerAngle:typeof r.coneInnerAngle<"u"?r.coneInnerAngle:360,coneOuterAngle:typeof r.coneOuterAngle<"u"?r.coneOuterAngle:360,coneOuterGain:typeof r.coneOuterGain<"u"?r.coneOuterGain:0,distanceModel:typeof r.distanceModel<"u"?r.distanceModel:"inverse",maxDistance:typeof r.maxDistance<"u"?r.maxDistance:1e4,panningModel:typeof r.panningModel<"u"?r.panningModel:"HRTF",refDistance:typeof r.refDistance<"u"?r.refDistance:1,rolloffFactor:typeof r.rolloffFactor<"u"?r.rolloffFactor:1},o._onstereo=r.onstereo?[{fn:r.onstereo}]:[],o._onpos=r.onpos?[{fn:r.onpos}]:[],o._onorientation=r.onorientation?[{fn:r.onorientation}]:[],i.call(this,r)}}(Howl.prototype.init),Howl.prototype.stereo=function(i,r){var o=this;if(!o._webAudio)return o;if(o._state!=="loaded")return o._queue.push({event:"stereo",action:function(){o.stereo(i,r)}}),o;var Zt=typeof Howler.ctx.createStereoPanner>"u"?"spatial":"stereo";if(typeof r>"u")if(typeof i=="number")o._stereo=i,o._pos=[i,0,0];else return o._stereo;for(var tr=o._getSoundIds(r),ar=0;ar<tr.length;ar++){var ir=o._soundById(tr[ar]);if(ir)if(typeof i=="number")ir._stereo=i,ir._pos=[i,0,0],ir._node&&(ir._pannerAttr.panningModel="equalpower",(!ir._panner||!ir._panner.pan)&&e(ir,Zt),Zt==="spatial"?typeof ir._panner.positionX<"u"?(ir._panner.positionX.setValueAtTime(i,Howler.ctx.currentTime),ir._panner.positionY.setValueAtTime(0,Howler.ctx.currentTime),ir._panner.positionZ.setValueAtTime(0,Howler.ctx.currentTime)):ir._panner.setPosition(i,0,0):ir._panner.pan.setValueAtTime(i,Howler.ctx.currentTime)),o._emit("stereo",ir._id);else return ir._stereo}return o},Howl.prototype.pos=function(i,r,o,Zt){var tr=this;if(!tr._webAudio)return tr;if(tr._state!=="loaded")return tr._queue.push({event:"pos",action:function(){tr.pos(i,r,o,Zt)}}),tr;if(r=typeof r!="number"?0:r,o=typeof o!="number"?-.5:o,typeof Zt>"u")if(typeof i=="number")tr._pos=[i,r,o];else return tr._pos;for(var ar=tr._getSoundIds(Zt),ir=0;ir<ar.length;ir++){var fr=tr._soundById(ar[ir]);if(fr)if(typeof i=="number")fr._pos=[i,r,o],fr._node&&((!fr._panner||fr._panner.pan)&&e(fr,"spatial"),typeof fr._panner.positionX<"u"?(fr._panner.positionX.setValueAtTime(i,Howler.ctx.currentTime),fr._panner.positionY.setValueAtTime(r,Howler.ctx.currentTime),fr._panner.positionZ.setValueAtTime(o,Howler.ctx.currentTime)):fr._panner.setPosition(i,r,o)),tr._emit("pos",fr._id);else return fr._pos}return tr},Howl.prototype.orientation=function(i,r,o,Zt){var tr=this;if(!tr._webAudio)return tr;if(tr._state!=="loaded")return tr._queue.push({event:"orientation",action:function(){tr.orientation(i,r,o,Zt)}}),tr;if(r=typeof r!="number"?tr._orientation[1]:r,o=typeof o!="number"?tr._orientation[2]:o,typeof Zt>"u")if(typeof i=="number")tr._orientation=[i,r,o];else return tr._orientation;for(var ar=tr._getSoundIds(Zt),ir=0;ir<ar.length;ir++){var fr=tr._soundById(ar[ir]);if(fr)if(typeof i=="number")fr._orientation=[i,r,o],fr._node&&(fr._panner||(fr._pos||(fr._pos=tr._pos||[0,0,-.5]),e(fr,"spatial")),typeof fr._panner.orientationX<"u"?(fr._panner.orientationX.setValueAtTime(i,Howler.ctx.currentTime),fr._panner.orientationY.setValueAtTime(r,Howler.ctx.currentTime),fr._panner.orientationZ.setValueAtTime(o,Howler.ctx.currentTime)):fr._panner.setOrientation(i,r,o)),tr._emit("orientation",fr._id);else return fr._orientation}return tr},Howl.prototype.pannerAttr=function(){var i=this,r=arguments,o,Zt,tr;if(!i._webAudio)return i;if(r.length===0)return i._pannerAttr;if(r.length===1)if(typeof r[0]=="object")o=r[0],typeof Zt>"u"&&(o.pannerAttr||(o.pannerAttr={coneInnerAngle:o.coneInnerAngle,coneOuterAngle:o.coneOuterAngle,coneOuterGain:o.coneOuterGain,distanceModel:o.distanceModel,maxDistance:o.maxDistance,refDistance:o.refDistance,rolloffFactor:o.rolloffFactor,panningModel:o.panningModel}),i._pannerAttr={coneInnerAngle:typeof o.pannerAttr.coneInnerAngle<"u"?o.pannerAttr.coneInnerAngle:i._coneInnerAngle,coneOuterAngle:typeof o.pannerAttr.coneOuterAngle<"u"?o.pannerAttr.coneOuterAngle:i._coneOuterAngle,coneOuterGain:typeof o.pannerAttr.coneOuterGain<"u"?o.pannerAttr.coneOuterGain:i._coneOuterGain,distanceModel:typeof o.pannerAttr.distanceModel<"u"?o.pannerAttr.distanceModel:i._distanceModel,maxDistance:typeof o.pannerAttr.maxDistance<"u"?o.pannerAttr.maxDistance:i._maxDistance,refDistance:typeof o.pannerAttr.refDistance<"u"?o.pannerAttr.refDistance:i._refDistance,rolloffFactor:typeof o.pannerAttr.rolloffFactor<"u"?o.pannerAttr.rolloffFactor:i._rolloffFactor,panningModel:typeof o.pannerAttr.panningModel<"u"?o.pannerAttr.panningModel:i._panningModel});else return tr=i._soundById(parseInt(r[0],10)),tr?tr._pannerAttr:i._pannerAttr;else r.length===2&&(o=r[0],Zt=parseInt(r[1],10));for(var ar=i._getSoundIds(Zt),ir=0;ir<ar.length;ir++)if(tr=i._soundById(ar[ir]),tr){var fr=tr._pannerAttr;fr={coneInnerAngle:typeof o.coneInnerAngle<"u"?o.coneInnerAngle:fr.coneInnerAngle,coneOuterAngle:typeof o.coneOuterAngle<"u"?o.coneOuterAngle:fr.coneOuterAngle,coneOuterGain:typeof o.coneOuterGain<"u"?o.coneOuterGain:fr.coneOuterGain,distanceModel:typeof o.distanceModel<"u"?o.distanceModel:fr.distanceModel,maxDistance:typeof o.maxDistance<"u"?o.maxDistance:fr.maxDistance,refDistance:typeof o.refDistance<"u"?o.refDistance:fr.refDistance,rolloffFactor:typeof o.rolloffFactor<"u"?o.rolloffFactor:fr.rolloffFactor,panningModel:typeof o.panningModel<"u"?o.panningModel:fr.panningModel};var gr=tr._panner;gr?(gr.coneInnerAngle=fr.coneInnerAngle,gr.coneOuterAngle=fr.coneOuterAngle,gr.coneOuterGain=fr.coneOuterGain,gr.distanceModel=fr.distanceModel,gr.maxDistance=fr.maxDistance,gr.refDistance=fr.refDistance,gr.rolloffFactor=fr.rolloffFactor,gr.panningModel=fr.panningModel):(tr._pos||(tr._pos=i._pos||[0,0,-.5]),e(tr,"spatial"))}return i},Sound.prototype.init=function(i){return function(){var r=this,o=r._parent;r._orientation=o._orientation,r._stereo=o._stereo,r._pos=o._pos,r._pannerAttr=o._pannerAttr,i.call(this),r._stereo?o.stereo(r._stereo):r._pos&&o.pos(r._pos[0],r._pos[1],r._pos[2],r._id)}}(Sound.prototype.init),Sound.prototype.reset=function(i){return function(){var r=this,o=r._parent;return r._orientation=o._orientation,r._stereo=o._stereo,r._pos=o._pos,r._pannerAttr=o._pannerAttr,r._stereo?o.stereo(r._stereo):r._pos?o.pos(r._pos[0],r._pos[1],r._pos[2],r._id):r._panner&&(r._panner.disconnect(0),r._panner=void 0,o._refreshBuffer(r)),i.call(this)}}(Sound.prototype.reset);var e=function(i,r){r=r||"spatial",r==="spatial"?(i._panner=Howler.ctx.createPanner(),i._panner.coneInnerAngle=i._pannerAttr.coneInnerAngle,i._panner.coneOuterAngle=i._pannerAttr.coneOuterAngle,i._panner.coneOuterGain=i._pannerAttr.coneOuterGain,i._panner.distanceModel=i._pannerAttr.distanceModel,i._panner.maxDistance=i._pannerAttr.maxDistance,i._panner.refDistance=i._pannerAttr.refDistance,i._panner.rolloffFactor=i._pannerAttr.rolloffFactor,i._panner.panningModel=i._pannerAttr.panningModel,typeof i._panner.positionX<"u"?(i._panner.positionX.setValueAtTime(i._pos[0],Howler.ctx.currentTime),i._panner.positionY.setValueAtTime(i._pos[1],Howler.ctx.currentTime),i._panner.positionZ.setValueAtTime(i._pos[2],Howler.ctx.currentTime)):i._panner.setPosition(i._pos[0],i._pos[1],i._pos[2]),typeof i._panner.orientationX<"u"?(i._panner.orientationX.setValueAtTime(i._orientation[0],Howler.ctx.currentTime),i._panner.orientationY.setValueAtTime(i._orientation[1],Howler.ctx.currentTime),i._panner.orientationZ.setValueAtTime(i._orientation[2],Howler.ctx.currentTime)):i._panner.setOrientation(i._orientation[0],i._orientation[1],i._orientation[2])):(i._panner=Howler.ctx.createStereoPanner(),i._panner.pan.setValueAtTime(i._stereo,Howler.ctx.currentTime)),i._panner.connect(i._node),i._paused||i._parent.pause(i._id,!0).play(i._id,!0)}}()}),D=v$1(L()),E=class{_howl;constructor({src:t}){this._howl=new D.Howl({src:t})}play(){return this._howl.play()}pause(){return this._howl.pause()}playing(){return this._howl.playing()}rate(){return this._howl.rate()}seek(){return this._howl.seek()}setVolume(){return this._howl.volume()}unload(){this._howl.unload()}};const dotlottieAudio75C54RUV=Object.freeze(Object.defineProperty({__proto__:null,DotLottieAudio:E},Symbol.toStringTag,{value:"Module"}));var dt=u((exports,module)=>{typeof navigator<"u"&&function(t,e){typeof define=="function"&&define.amd?define(function(){return e(t)}):typeof module=="object"&&module.exports?module.exports=e(t):(t.lottie=e(t),t.bodymovin=t.lottie)}(self||{},function(window){function workerContent(){function extendPrototype(t,e){var i,r=t.length,o;for(i=0;i<r;i+=1){o=t[i].prototype;for(var Zt in o)Object.prototype.hasOwnProperty.call(o,Zt)&&(e.prototype[Zt]=o[Zt])}}function ProxyElement(t,e){this._state="init",this._isDirty=!1,this._isProxy=!0,this._changedStyles=[],this._changedAttributes=[],this._changedElements=[],this._textContent=null,this.type=t,this.namespace=e,this.children=[],localIdCounter+=1,this.attributes={id:"l_d_"+localIdCounter},this.style=new Style(this)}ProxyElement.prototype={appendChild:function(t){t.parentNode=this,this.children.push(t),this._isDirty=!0,this._changedElements.push([t,this.attributes.id])},insertBefore:function(t,e){for(var i=this.children,r=0;r<i.length;r+=1)if(i[r]===e){i.splice(r,0,t),this._isDirty=!0,this._changedElements.push([t,this.attributes.id,e.attributes.id]);return}i.push(e)},setAttribute:function(t,e){this.attributes[t]=e,this._isDirty||(this._isDirty=!0),this._changedAttributes.push(t)},serialize:function(){return{type:this.type,namespace:this.namespace,style:this.style.serialize(),attributes:this.attributes,children:this.children.map(function(t){return t.serialize()}),textContent:this._textContent}},addEventListener:function(t,e){setTimeout(e,1)},setAttributeNS:function(t,e,i){this.attributes[e]=i,this._isDirty||(this._isDirty=!0),this._changedAttributes.push(e)}},Object.defineProperty(ProxyElement.prototype,"textContent",{set:function(t){this._isDirty=!0,this._textContent=t}});var localIdCounter=0,animations={},styleProperties=["width","height","display","transform","opacity","contentVisibility","mix-blend-mode"];function convertArguments(t){var e=[],i,r=t.length;for(i=0;i<r;
845i+=1)e.push(t[i]);return e}function Style(t){this.element=t}Style.prototype={serialize:function(){for(var t={},e=0;e<styleProperties.length;e+=1){var i=styleProperties[e],r="_"+i;r in this&&(t[i]=this[r])}return t}},styleProperties.forEach(function(t){Object.defineProperty(Style.prototype,t,{set:function(e){this.element._isDirty||(this.element._isDirty=!0),this.element._changedStyles.push(t);var i="_"+t;this[i]=e},get:function(){var e="_"+t;return this[e]}})});function CanvasContext(t){this.element=t}CanvasContext.prototype={createRadialGradient:function(){function t(){e.stops.push(convertArguments(arguments))}var e={t:"rGradient",a:convertArguments(arguments),stops:[]};return this.element.instructions.push(e),{addColorStop:t}},createLinearGradient:function(){function t(){e.stops.push(convertArguments(arguments))}var e={t:"lGradient",a:convertArguments(arguments),stops:[]};return this.element.instructions.push(e),{addColorStop:t}}},Object.defineProperties(CanvasContext.prototype,{canvas:{enumerable:!0,get:function(){return this.element}}});var canvasContextMethods=["fillRect","setTransform","drawImage","beginPath","moveTo","save","restore","fillText","setLineDash","clearRect","clip","rect","stroke","fill","closePath","bezierCurveTo","lineTo"];canvasContextMethods.forEach(function(t){CanvasContext.prototype[t]=function(){this.element.instructions.push({t,a:convertArguments(arguments)})}});var canvasContextProperties=["globalAlpha","strokeStyle","fillStyle","lineCap","lineJoin","lineWidth","miterLimit","lineDashOffset","globalCompositeOperation"];canvasContextProperties.forEach(function(t){Object.defineProperty(CanvasContext.prototype,t,{set
vendor: 184,704 bytes, lines 845-846
845:function(e){this.element.instructions.push({t,a:e})}})});function CanvasElement(t,e){ProxyElement.call(this,t,e),this.instructions=[],this.width=0,this.height=0,this.context=new CanvasContext(this)}CanvasElement.prototype={getContext:function(){return this.context},resetInstructions:function(){this.instructions.length=0}},extendPrototype([ProxyElement],CanvasElement);function createElement(t,e){return e==="canvas"?new CanvasElement(e,t):new ProxyElement(e,t)}var window=self,document={createElementNS:function(t,e){return createElement(t,e)},createElement:function(t){return createElement("",t)},getElementsByTagName:function(){return[]},body:createElement("","body"),_isProxy:!0},lottieInternal=function(){typeof navigator<"u"&&function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.lottie=e())}(this,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r=t.length,o;for(i=0;i<r;i+=1){o=t[i].prototype;for(var Zt in o)Object.prototype.hasOwnProperty.call(o,Zt)&&(e.prototype[Zt]=o[Zt])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].pause()},resume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].resume()},setRate:function(e){var i,r=this.audios.length;for(i=0;i<r;i+=1)this.audios[i].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(i,r){var o=0,Zt=[],tr;switch(i){case"int16":case"uint8c":tr=1;break;default:tr=1.1;break}for(o=0;o<r;o+=1)Zt.push(tr);return Zt}function e(i,r){return i==="float32"?new Float32Array(r):i==="int16"?new Int16Array(r):i==="uint8c"?new Uint8ClampedArray(r):t(i,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(e){return typeof e}:_typeof$6=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,i=t.length;for(e=0;e<i;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var i=createSizedArray(t.length),r,o=t.length;for(r=0;r<o;r+=1)i[r]=Math.abs(t[r]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,i,r){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,r){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,i){var r,o,Zt,tr,ar,ir,fr,gr;switch(tr=Math.floor(t*6),ar=t*6-tr,ir=i*(1-e),fr=i*(1-ar*e),gr=i*(1-(1-ar)*e),tr%6){case 0:r=i,o=gr,Zt=ir;break;case 1:r=fr,o=i,Zt=ir;break;case 2:r=ir,o=i,Zt=gr;break;case 3:r=ir,o=fr,Zt=i;break;case 4:r=gr,o=ir,Zt=i;break;case 5:r=i,o=ir,Zt=fr;break}return[r,o,Zt]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),o=Math.min(t,e,i),Zt=r-o,tr,ar=r===0?0:Zt/r,ir=r/255;switch(r){case o:tr=0;break;case t:tr=e-i+Zt*(e<i?6:0),tr/=6*Zt;break;case e:tr=i-t+Zt*2,tr/=6*Zt;break;case i:tr=t-e+Zt*4,tr/=6*Zt;break}return[tr,ar,ir]}function addSaturationToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(r,o,Zt){return r<0&&(r=0),o<0&&(o=0),Zt<0&&(Zt=0),"#"+t[r]+t[o]+t[Zt]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(e){return typeof e}:_typeof$5=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(t)}var dataManager=function(){var t=1,e=[],i,r,o={onmessage:function(){},postMessage:function(rr){i({data:rr})}},Zt={postMessage:function(rr){o.onmessage({data:rr})}};function tr(rr){if(window.Worker&&window.Blob&&getWebWorker()){var vr=new Blob(["var _workerSelf = self; self.onmessage = ",rr.toString()],{type:"text/javascript"}),cr=URL.createObjectURL(vr);return new Worker(cr)}return i=rr,o}function ar(){r||(r=tr(function(rr){function vr(){function ur(is,cs){var Ar,Tr,yr=is.length,Mr,Ur,jr,Vs;for(Tr=0;Tr<yr;Tr+=1)if(Ar=is[Tr],"ks"in Ar&&!Ar.completed){if(Ar.completed=!0,Ar.hasMask){var Ts=Ar.masksProperties;for(Ur=Ts.length,Mr=0;Mr<Ur;Mr+=1)if(Ts[Mr].pt.k.i)dr(Ts[Mr].pt.k);else for(Vs=Ts[Mr].pt.k.length,jr=0;jr<Vs;jr+=1)Ts[Mr].pt.k[jr].s&&dr(Ts[Mr].pt.k[jr].s[0]),Ts[Mr].pt.k[jr].e&&dr(Ts[Mr].pt.k[jr].e[0])}Ar.ty===0?(Ar.layers=sr(Ar.refId,cs),ur(Ar.layers,cs)):Ar.ty===4?pr(Ar.shapes):Ar.ty===5&&os(Ar)}}function Er(is,cs){if(is){var Ar=0,Tr=is.length;for(Ar=0;Ar<Tr;Ar+=1)is[Ar].t===1&&(is[Ar].data.layers=sr(is[Ar].data.refId,cs),ur(is[Ar].data.layers,cs))}}function or(is,cs){for(var Ar=0,Tr=cs.length;Ar<Tr;){if(cs[Ar].id===is)return cs[Ar];Ar+=1}return null}function sr(is,cs){var Ar=or(is,cs);return Ar?Ar.layers.__used?JSON.parse(JSON.stringify(Ar.layers)):(Ar.layers.__used=!0,Ar.layers):null}function pr(is){var cs,Ar=is.length,Tr,yr;for(cs=Ar-1;cs>=0;cs-=1)if(is[cs].ty==="sh")if(is[cs].ks.k.i)dr(is[cs].ks.k);else for(yr=is[cs].ks.k.length,Tr=0;Tr<yr;Tr+=1)is[cs].ks.k[Tr].s&&dr(is[cs].ks.k[Tr].s[0]),is[cs].ks.k[Tr].e&&dr(is[cs].ks.k[Tr].e[0]);else is[cs].ty==="gr"&&pr(is[cs].it)}function dr(is){var cs,Ar=is.i.length;for(cs=0;cs<Ar;cs+=1)is.i[cs][0]+=is.v[cs][0],is.i[cs][1]+=is.v[cs][1],is.o[cs][0]+=is.v[cs][0],is.o[cs][1]+=is.v[cs][1]}function Pr(is,cs){var Ar=cs?cs.split("."):[100,100,100];return is[0]>Ar[0]?!0:Ar[0]>is[0]?!1:is[1]>Ar[1]?!0:Ar[1]>is[1]?!1:is[2]>Ar[2]?!0:Ar[2]>is[2]?!1:null}var Ir=function(){var is=[4,4,14];function cs(Tr){var yr=Tr.t.d;Tr.t.d={k:[{s:yr,t:0}]}}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),zr=function(){var is=[4,7,99];return function(cs){if(cs.chars&&!Pr(is,cs.v)){var Ar,Tr=cs.chars.length;for(Ar=0;Ar<Tr;Ar+=1){var yr=cs.chars[Ar];yr.data&&yr.data.shapes&&(pr(yr.data.shapes),yr.data.ip=0,yr.data.op=99999,yr.data.st=0,yr.data.sr=1,yr.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},cs.chars[Ar].t||(yr.data.shapes.push({ty:"no"}),yr.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),$r=function(){var is=[5,7,15];function cs(Tr){var yr=Tr.t.p;typeof yr.a=="number"&&(yr.a={a:0,k:yr.a}),typeof yr.p=="number"&&(yr.p={a:0,k:yr.p}),typeof yr.r=="number"&&(yr.r={a:0,k:yr.r})}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),es=function(){var is=[4,1,9];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=0;yr<Mr;yr+=1)if(Tr[yr].ty==="gr")cs(Tr[yr].it);else if(Tr[yr].ty==="fl"||Tr[yr].ty==="st")if(Tr[yr].c.k&&Tr[yr].c.k[0].i)for(jr=Tr[yr].c.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].c.k[Ur].s&&(Tr[yr].c.k[Ur].s[0]/=255,Tr[yr].c.k[Ur].s[1]/=255,Tr[yr].c.k[Ur].s[2]/=255,Tr[yr].c.k[Ur].s[3]/=255),Tr[yr].c.k[Ur].e&&(Tr[yr].c.k[Ur].e[0]/=255,Tr[yr].c.k[Ur].e[1]/=255,Tr[yr].c.k[Ur].e[2]/=255,Tr[yr].c.k[Ur].e[3]/=255);else Tr[yr].c.k[0]/=255,Tr[yr].c.k[1]/=255,Tr[yr].c.k[2]/=255,Tr[yr].c.k[3]/=255}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===4&&cs(Tr[yr].shapes)}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),hs=function(){var is=[4,4,18];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=Mr-1;yr>=0;yr-=1)if(Tr[yr].ty==="sh")if(Tr[yr].ks.k.i)Tr[yr].ks.k.c=Tr[yr].closed;else for(jr=Tr[yr].ks.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].ks.k[Ur].s&&(Tr[yr].ks.k[Ur].s[0].c=Tr[yr].closed),Tr[yr].ks.k[Ur].e&&(Tr[yr].ks.k[Ur].e[0].c=Tr[yr].closed);else Tr[yr].ty==="gr"&&cs(Tr[yr].it)}function Ar(Tr){var yr,Mr,Ur=Tr.length,jr,Vs,Ts,Ns;for(Mr=0;Mr<Ur;Mr+=1){if(yr=Tr[Mr],yr.hasMask){var Bs=yr.masksProperties;for(Vs=Bs.length,jr=0;jr<Vs;jr+=1)if(Bs[jr].pt.k.i)Bs[jr].pt.k.c=Bs[jr].cl;else for(Ns=Bs[jr].pt.k.length,Ts=0;Ts<Ns;Ts+=1)Bs[jr].pt.k[Ts].s&&(Bs[jr].pt.k[Ts].s[0].c=Bs[jr].cl),Bs[jr].pt.k[Ts].e&&(Bs[jr].pt.k[Ts].e[0].c=Bs[jr].cl)}yr.ty===4&&cs(yr.shapes)}}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}();function ps(is){is.__complete||(es(is),Ir(is),zr(is),$r(is),hs(is),ur(is.layers,is.assets),Er(is.chars,is.assets),is.__complete=!0)}function os(is){is.t.a.length===0&&"m"in is.t.p}var xs={};return xs.completeData=ps,xs.checkColors=es,xs.checkChars=zr,xs.checkPathProperties=$r,xs.checkShapes=hs,xs.completeLayers=ur,xs}if(Zt.dataManager||(Zt.dataManager=vr()),Zt.assetLoader||(Zt.assetLoader=function(){function ur(or){var sr=or.getResponseHeader("content-type");return sr&&or.responseType==="json"&&sr.indexOf("json")!==-1||or.response&&_typeof$5(or.response)==="object"?or.response:or.response&&typeof or.response=="string"?JSON.parse(or.response):or.responseText?JSON.parse(or.responseText):null}function Er(or,sr,pr,dr){var Pr,Ir=new XMLHttpRequest;try{Ir.responseType="json"}catch{}Ir.onreadystatechange=function(){if(Ir.readyState===4)if(Ir.status===200)Pr=ur(Ir),pr(Pr);else try{Pr=ur(Ir),pr(Pr)}catch(zr){dr&&dr(zr)}};try{Ir.open(["G","E","T"].join(""),or,!0)}catch{Ir.open(["G","E","T"].join(""),sr+"/"+or,!0)}Ir.send()}return{load:Er}}()),rr.data.type==="loadAnimation")Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.dataManager.completeData(ur),Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})});else if(rr.data.type==="complete"){var cr=rr.data.animation;Zt.dataManager.completeData(cr),Zt.postMessage({id:rr.data.id,payload:cr,status:"success"})}else rr.data.type==="loadData"&&Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})})}),r.onmessage=function(rr){var vr=rr.data,cr=vr.id,ur=e[cr];e[cr]=null,vr.status==="success"?ur.onComplete(vr.payload):ur.onError&&ur.onError()})}function ir(rr,vr){t+=1;var cr="processId_"+t;return e[cr]={onComplete:rr,onError:vr},cr}function fr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadAnimation",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function gr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadData",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function nr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"complete",animation:rr,id:ur})}return{loadAnimation:fr,loadData:gr,completeAnimation:nr}}(),ImagePreloader=function(){var t=function(){var or=createTag("canvas");or.width=1,or.height=1;var sr=or.getContext("2d");return sr.fillStyle="rgba(0,0,0,0)",sr.fillRect(0,0,1,1),or}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(or,sr,pr){var dr="";if(or.e)dr=or.p;else if(sr){var Pr=or.p;Pr.indexOf("images/")!==-1&&(Pr=Pr.split("/")[1]),dr=sr+Pr}else dr=pr,dr+=or.u?or.u:"",dr+=or.p;return dr}function o(or){var sr=0,pr=setInterval(function(){var dr=or.getBBox();(dr.width||sr>500)&&(this._imageLoaded(),clearInterval(pr)),sr+=1}.bind(this),50)}function Zt(or){var sr=r(or,this.assetsPath,this.path),pr=createNS("image");isSafari?this.testImageLoaded(pr):pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.setAttributeNS("http://www.w3.org/1999/xlink","href",sr),this._elementHelper.append?this._elementHelper.append(pr):this._elementHelper.appendChild(pr);var dr={img:pr,assetData:or};return dr}function tr(or){var sr=r(or,this.assetsPath,this.path),pr=createTag("img");pr.crossOrigin="anonymous",pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.src=sr;var dr={img:pr,assetData:or};return dr}function ar(or){var sr={assetData:or},pr=r(or,this.assetsPath,this.path);return dataManager.loadData(pr,function(dr){sr.img=dr,this._footageLoaded()}.bind(this),function(){sr.img={},this._footageLoaded()}.bind(this)),sr}function ir(or,sr){this.imagesLoadedCb=sr;var pr,dr=or.length;for(pr=0;pr<dr;pr+=1)or[pr].layers||(!or[pr].t||or[pr].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(or[pr]))):or[pr].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(or[pr]))))}function fr(or){this.path=or||""}function gr(or){this.assetsPath=or||""}function nr(or){for(var sr=0,pr=this.images.length;sr<pr;){if(this.images[sr].assetData===or)return this.images[sr].img;sr+=1}return null}function rr(){this.imagesLoadedCb=null,this.images.length=0}function vr(){return this.totalImages===this.loadedAssets}function cr(){return this.totalFootages===this.loadedFootagesCount}function ur(or,sr){or==="svg"?(this._elementHelper=sr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Er(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=ar.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Er.prototype={loadAssets:ir,setAssetsPath:gr,setPath:fr,loadedImages:vr,loadedFootages:cr,destroy:rr,getAsset:nr,createImgData:tr,createImageData:Zt,imageLoaded:e,footageLoaded:i,setCacheType:ur},Er}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],r=0;r<i.length;r+=1)i[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,r=this._cbs[t].length;i<r;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,r-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function t(e){for(var i=e.split(`\r
846`),r={},o,Zt=0,tr=0;tr<i.length;tr+=1)o=i[tr].split(":"),o.length===2&&(r[o[0]]=o[1].trim(),Zt+=1);if(Zt===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var o=e[r],Zt={time:o.tm,duration:o.dr};try{Zt.payload=JSON.parse(e[r].cm)}catch{try{Zt.payload=t(e[r].cm)}catch{Zt.payload={name:e[r].cm}}}i.push(Zt)}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var r=0,o=this.compositions.length;r<o;){if(this.compositions[r].data&&this.compositions[r].data.nm===i)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(e){return typeof e}:_typeof$4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},r=t.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";o==="false"?i.loop=!1:o==="true"?i.loop=!0:o!==""&&(i.loop=parseInt(o,10));var Zt=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;i.autoplay=Zt!=="false",i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var tr=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";tr==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,r=e.length,o=t.layers,Zt,tr=o.length;for(Zt=0;Zt<tr;Zt+=1)for(i=0;i<r;){if(e[i].id===o[Zt].id){e[i]=o[Zt];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,i=0;i<r;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,r=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.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,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&this.goToAndStop(o.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(r,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!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):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var i,r=t.length;for(i=0;i<r;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,i){try{var r=this.renderer.getElementByPath(t);r.updateDocumentData(e,i)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,r=0,o=0,Zt=!0,tr=!1;function ar(Ar){for(var Tr=0,yr=Ar.target;Tr<r;)e[Tr].animation===yr&&(e.splice(Tr,1),Tr-=1,r-=1,yr.isPaused||nr()),Tr+=1}function ir(Ar,Tr){if(!Ar)return null;for(var yr=0;yr<r;){if(e[yr].elem===Ar&&e[yr].elem!==null)return e[yr].animation;yr+=1}var Mr=new AnimationItem;return rr(Mr,Ar),Mr.setData(Ar,Tr),Mr}function fr(){var Ar,Tr=e.length,yr=[];for(Ar=0;Ar<Tr;Ar+=1)yr.push(e[Ar].animation);return yr}function gr(){o+=1,hs()}function nr(){o-=1}function rr(Ar,Tr){Ar.addEventListener("destroy",ar),Ar.addEventListener("_active",gr),Ar.addEventListener("_idle",nr),e.push({elem:Tr,animation:Ar}),r+=1}function vr(Ar){var Tr=new AnimationItem;return rr(Tr,null),Tr.setParams(Ar),Tr}function cr(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setSpeed(Ar,Tr)}function ur(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setDirection(Ar,Tr)}function Er(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.play(Ar)}function or(Ar){var Tr=Ar-i,yr;for(yr=0;yr<r;yr+=1)e[yr].animation.advanceTime(Tr);i=Ar,o&&!tr?window.requestAnimationFrame(or):Zt=!0}function sr(Ar){i=Ar,window.requestAnimationFrame(or)}function pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.pause(Ar)}function dr(Ar,Tr,yr){var Mr;for(Mr=0;Mr<r;Mr+=1)e[Mr].animation.goToAndStop(Ar,Tr,yr)}function Pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.stop(Ar)}function Ir(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.togglePause(Ar)}function zr(Ar){var Tr;for(Tr=r-1;Tr>=0;Tr-=1)e[Tr].animation.destroy(Ar)}function $r(Ar,Tr,yr){var Mr=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Ur,jr=Mr.length;for(Ur=0;Ur<jr;Ur+=1)yr&&Mr[Ur].setAttribute("data-bm-type",yr),ir(Mr[Ur],Ar);if(Tr&&jr===0){yr||(yr="svg");var Vs=document.getElementsByTagName("body")[0];Vs.innerText="";var Ts=createTag("div");Ts.style.width="100%",Ts.style.height="100%",Ts.setAttribute("data-bm-type",yr),Vs.appendChild(Ts),ir(Ts,Ar)}}function es(){var Ar;for(Ar=0;Ar<r;Ar+=1)e[Ar].animation.resize()}function hs(){!tr&&o&&Zt&&(window.requestAnimationFrame(sr),Zt=!1)}function ps(){tr=!0}function os(){tr=!1,hs()}function xs(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setVolume(Ar,Tr)}function is(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.mute(Ar)}function cs(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.unmute(Ar)}return t.registerAnimation=ir,t.loadAnimation=vr,t.setSpeed=cr,t.setDirection=ur,t.play=Er,t.pause=pr,t.stop=Pr,t.togglePause=Ir,t.searchAnimations=$r,t.resize=es,t.goToAndStop=dr,t.destroy=zr,t.freeze=ps,t.unfreeze=os,t.setVolume=xs,t.mute=is,t.unmute=cs,t.getRegisteredAnimations=fr,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(sr,pr,dr,Pr,Ir){var zr=Ir||("bez_"+sr+"_"+pr+"_"+dr+"_"+Pr).replace(/\./g,"p");if(e[zr])return e[zr];var $r=new or([sr,pr,dr,Pr]);return e[zr]=$r,$r}var r=4,o=.001,Zt=1e-7,tr=10,ar=11,ir=1/(ar-1),fr=typeof Float32Array=="function";function gr(sr,pr){return 1-3*pr+3*sr}function nr(sr,pr){return 3*pr-6*sr}function rr(sr){return 3*sr}function vr(sr,pr,dr){return((gr(pr,dr)*sr+nr(pr,dr))*sr+rr(pr))*sr}function cr(sr,pr,dr){return 3*gr(pr,dr)*sr*sr+2*nr(pr,dr)*sr+rr(pr)}function ur(sr,pr,dr,Pr,Ir){var zr,$r,es=0;do $r=pr+(dr-pr)/2,zr=vr($r,Pr,Ir)-sr,zr>0?dr=$r:pr=$r;while(Math.abs(zr)>Zt&&++es<tr);return $r}function Er(sr,pr,dr,Pr){for(var Ir=0;Ir<r;++Ir){var zr=cr(pr,dr,Pr);if(zr===0)return pr;var $r=vr(pr,dr,Pr)-sr;pr-=$r/zr}return pr}function or(sr){this._p=sr,this._mSampleValues=fr?new Float32Array(ar):new Array(ar),this._precomputed=!1,this.get=this.get.bind(this)}return or.prototype={get:function(sr){var pr=this._p[0],dr=this._p[1],Pr=this._p[2],Ir=this._p[3];return this._precomputed||this._precompute(),pr===dr&&Pr===Ir?sr:sr===0?0:sr===1?1:vr(this._getTForX(sr),dr,Ir)},_precompute:function(){var sr=this._p[0],pr=this._p[1],dr=this._p[2],Pr=this._p[3];this._precomputed=!0,(sr!==pr||dr!==Pr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var sr=this._p[0],pr=this._p[2],dr=0;dr<ar;++dr)this._mSampleValues[dr]=vr(dr*ir,sr,pr)},_getTForX:function(sr){for(var pr=this._p[0],dr=this._p[2],Pr=this._mSampleValues,Ir=0,zr=1,$r=ar-1;zr!==$r&&Pr[zr]<=sr;++zr)Ir+=ir;--zr;var es=(sr-Pr[zr])/(Pr[zr+1]-Pr[zr]),hs=Ir+es*ir,ps=cr(hs,pr,dr);return ps>=o?Er(sr,hs,pr,dr):ps===0?hs:ur(sr,Ir,Ir+ir,pr,dr)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){var r=0,o=t,Zt=createSizedArray(o),tr={newElement:ar,release:ir};function ar(){var fr;return r?(r-=1,fr=Zt[r]):fr=e(),fr}function ir(fr){r===o&&(Zt=pooling.double(Zt),o*=2),i&&i(fr),Zt[r]=fr,r+=1}return tr}}(),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(i){var r,o=i.lengths.length;for(r=0;r<o;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(rr,vr,cr,ur,Er,or){var sr=rr*ur+vr*Er+cr*or-Er*ur-or*rr-cr*vr;return sr>-.001&&sr<.001}function i(rr,vr,cr,ur,Er,or,sr,pr,dr){if(cr===0&&or===0&&dr===0)return e(rr,vr,ur,Er,sr,pr);var Pr=t.sqrt(t.pow(ur-rr,2)+t.pow(Er-vr,2)+t.pow(or-cr,2)),Ir=t.sqrt(t.pow(sr-rr,2)+t.pow(pr-vr,2)+t.pow(dr-cr,2)),zr=t.sqrt(t.pow(sr-ur,2)+t.pow(pr-Er,2)+t.pow(dr-or,2)),$r;return Pr>Ir?Pr>zr?$r=Pr-Ir-zr:$r=zr-Ir-Pr:zr>Ir?$r=zr-Ir-Pr:$r=Ir-Pr-zr,$r>-1e-4&&$r<1e-4}var r=function(){return function(rr,vr,cr,ur){var Er=getDefaultCurveSegments(),or,sr,pr,dr,Pr,Ir=0,zr,$r=[],es=[],hs=bezierLengthPool.newElement();for(pr=cr.length,or=0;or<Er;or+=1){for(Pr=or/(Er-1),zr=0,sr=0;sr<pr;sr+=1)dr=bmPow(1-Pr,3)*rr[sr]+3*bmPow(1-Pr,2)*Pr*cr[sr]+3*(1-Pr)*bmPow(Pr,2)*ur[sr]+bmPow(Pr,3)*vr[sr],$r[sr]=dr,es[sr]!==null&&(zr+=bmPow($r[sr]-es[sr],2)),es[sr]=$r[sr];zr&&(zr=bmSqrt(zr),Ir+=zr),hs.percents[or]=Pr,hs.lengths[or]=Ir}return hs.addedLength=Ir,hs}}();function o(rr){var vr=segmentsLengthPool.newElement(),cr=rr.c,ur=rr.v,Er=rr.o,or=rr.i,sr,pr=rr._length,dr=vr.lengths,Pr=0;for(sr=0;sr<pr-1;sr+=1)dr[sr]=r(ur[sr],ur[sr+1],Er[sr],or[sr+1]),Pr+=dr[sr].addedLength;return cr&&pr&&(dr[sr]=r(ur[sr],ur[0],Er[sr],or[0]),Pr+=dr[sr].addedLength),vr.totalLength=Pr,vr}function Zt(rr){this.segmentLength=0,this.points=new Array(rr)}function tr(rr,vr){this.partialLength=rr,this.point=vr}var ar=function(){var rr={};return function(vr,cr,ur,Er){var or=(vr[0]+"_"+vr[1]+"_"+cr[0]+"_"+cr[1]+"_"+ur[0]+"_"+ur[1]+"_"+Er[0]+"_"+Er[1]).replace(/\./g,"p");if(!rr[or]){var sr=getDefaultCurveSegments(),pr,dr,Pr,Ir,zr,$r=0,es,hs,ps=null;vr.length===2&&(vr[0]!==cr[0]||vr[1]!==cr[1])&&e(vr[0],vr[1],cr[0],cr[1],vr[0]+ur[0],vr[1]+ur[1])&&e(vr[0],vr[1],cr[0],cr[1],cr[0]+Er[0],cr[1]+Er[1])&&(sr=2);var os=new Zt(sr);for(Pr=ur.length,pr=0;pr<sr;pr+=1){for(hs=createSizedArray(Pr),zr=pr/(sr-1),es=0,dr=0;dr<Pr;dr+=1)Ir=bmPow(1-zr,3)*vr[dr]+3*bmPow(1-zr,2)*zr*(vr[dr]+ur[dr])+3*(1-zr)*bmPow(zr,2)*(cr[dr]+Er[dr])+bmPow(zr,3)*cr[dr],hs[dr]=Ir,ps!==null&&(es+=bmPow(hs[dr]-ps[dr],2));es=bmSqrt(es),$r+=es,os.points[pr]=new tr(es,hs),ps=hs}os.segmentLength=$r,rr[or]=os}return rr[or]}}();function ir(rr,vr){var cr=vr.percents,ur=vr.lengths,Er=cr.length,or=bmFloor((Er-1)*rr),sr=rr*vr.addedLength,pr=0;if(or===Er-1||or===0||sr===ur[or])return cr[or];for(var dr=ur[or]>sr?-1:1,Pr=!0;Pr;)if(ur[or]<=sr&&ur[or+1]>sr?(pr=(sr-ur[or])/(ur[or+1]-ur[or]),Pr=!1):or+=dr,or<0||or>=Er-1){if(or===Er-1)return cr[or];Pr=!1}return cr[or]+(cr[or+1]-cr[or])*pr}function fr(rr,vr,cr,ur,Er,or){var sr=ir(Er,or),pr=1-sr,dr=t.round((pr*pr*pr*rr[0]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[0]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[0]+sr*sr*sr*vr[0])*1e3)/1e3,Pr=t.round((pr*pr*pr*rr[1]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[1]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[1]+sr*sr*sr*vr[1])*1e3)/1e3;return[dr,Pr]}var gr=createTypedArray("float32",8);function nr(rr,vr,cr,ur,Er,or,sr){Er<0?Er=0:Er>1&&(Er=1);var pr=ir(Er,sr);or=or>1?1:or;var dr=ir(or,sr),Pr,Ir=rr.length,zr=1-pr,$r=1-dr,es=zr*zr*zr,hs=pr*zr*zr*3,ps=pr*pr*zr*3,os=pr*pr*pr,xs=zr*zr*$r,is=pr*zr*$r+zr*pr*$r+zr*zr*dr,cs=pr*pr*$r+zr*pr*dr+pr*zr*dr,Ar=pr*pr*dr,Tr=zr*$r*$r,yr=pr*$r*$r+zr*dr*$r+zr*$r*dr,Mr=pr*dr*$r+zr*dr*dr+pr*$r*dr,Ur=pr*dr*dr,jr=$r*$r*$r,Vs=dr*$r*$r+$r*dr*$r+$r*$r*dr,Ts=dr*dr*$r+$r*dr*dr+dr*$r*dr,Ns=dr*dr*dr;for(Pr=0;Pr<Ir;Pr+=1)gr[Pr*4]=t.round((es*rr[Pr]+hs*cr[Pr]+ps*ur[Pr]+os*vr[Pr])*1e3)/1e3,gr[Pr*4+1]=t.round((xs*rr[Pr]+is*cr[Pr]+cs*ur[Pr]+Ar*vr[Pr])*1e3)/1e3,gr[Pr*4+2]=t.round((Tr*rr[Pr]+yr*cr[Pr]+Mr*ur[Pr]+Ur*vr[Pr])*1e3)/1e3,gr[Pr*4+3]=t.round((jr*rr[Pr]+Vs*cr[Pr]+Ts*ur[Pr]+Ns*vr[Pr])*1e3)/1e3;return gr}return{getSegmentsLength:o,getNewSegment:nr,getPointInSegment:fr,buildBezierData:ar,pointOnLine2D:e,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var o=e.lastIndex,Zt=o,tr=this.keyframes.length-1,ar=!0,ir,fr,gr;ar;){if(ir=this.keyframes[Zt],fr=this.keyframes[Zt+1],Zt===tr-1&&t>=fr.t-i){ir.h&&(ir=fr),o=0;break}if(fr.t-i>t){o=Zt;break}Zt<tr-1?Zt+=1:(o=0,ar=!1)}gr=this.keyframesMetadata[Zt]||{};var nr,rr,vr,cr,ur,Er,or=fr.t-i,sr=ir.t-i,pr;if(ir.to){gr.bezierData||(gr.bezierData=bez.buildBezierData(ir.s,fr.s||ir.e,ir.to,ir.ti));var dr=gr.bezierData;if(t>=or||t<sr){var Pr=t>=or?dr.points.length-1:0;for(rr=dr.points[Pr].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[Pr].point[nr]}else{gr.__fnct?Er=gr.__fnct:(Er=BezierFactory.getBezierEasing(ir.o.x,ir.o.y,ir.i.x,ir.i.y,ir.n).get,gr.__fnct=Er),vr=Er((t-sr)/(or-sr));var Ir=dr.segmentLength*vr,zr,$r=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastAddedLength:0;for(ur=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastPoint:0,ar=!0,cr=dr.points.length;ar;){if($r+=dr.points[ur].partialLength,Ir===0||vr===0||ur===dr.points.length-1){for(rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr];break}else if(Ir>=$r&&Ir<$r+dr.points[ur+1].partialLength){for(zr=(Ir-$r)/dr.points[ur+1].partialLength,rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr]+(dr.points[ur+1].point[nr]-dr.points[ur].point[nr])*zr;break}ur<cr-1?ur+=1:ar=!1}e._lastPoint=ur,e._lastAddedLength=$r-dr.points[ur].partialLength,e._lastKeyframeIndex=Zt}}else{var es,hs,ps,os,xs;if(tr=ir.s.length,pr=fr.s||ir.e,this.sh&&ir.h!==1)if(t>=or)r[0]=pr[0],r[1]=pr[1],r[2]=pr[2];else if(t<=sr)r[0]=ir.s[0],r[1]=ir.s[1],r[2]=ir.s[2];else{var is=createQuaternion(ir.s),cs=createQuaternion(pr),Ar=(t-sr)/(or-sr);quaternionToEuler(r,slerp(is,cs,Ar))}else for(Zt=0;Zt<tr;Zt+=1)ir.h!==1&&(t>=or?vr=1:t<sr?vr=0:(ir.o.x.constructor===Array?(gr.__fnct||(gr.__fnct=[]),gr.__fnct[Zt]?Er=gr.__fnct[Zt]:(es=ir.o.x[Zt]===void 0?ir.o.x[0]:ir.o.x[Zt],hs=ir.o.y[Zt]===void 0?ir.o.y[0]:ir.o.y[Zt],ps=ir.i.x[Zt]===void 0?ir.i.x[0]:ir.i.x[Zt],os=ir.i.y[Zt]===void 0?ir.i.y[0]:ir.i.y[Zt],Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,gr.__fnct[Zt]=Er)):gr.__fnct?Er=gr.__fnct:(es=ir.o.x,hs=ir.o.y,ps=ir.i.x,os=ir.i.y,Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,ir.keyframeMetadata=Er),vr=Er((t-sr)/(or-sr)))),pr=fr.s||ir.e,xs=ir.h===1?ir.s[Zt]:ir.s[Zt]+(pr[Zt]-ir.s[Zt])*vr,this.propType==="multidimensional"?r[Zt]=xs:r=xs}return e.lastIndex=o,r}function slerp(t,e,i){var r=[],o=t[0],Zt=t[1],tr=t[2],ar=t[3],ir=e[0],fr=e[1],gr=e[2],nr=e[3],rr,vr,cr,ur,Er;return vr=o*ir+Zt*fr+tr*gr+ar*nr,vr<0&&(vr=-vr,ir=-ir,fr=-fr,gr=-gr,nr=-nr),1-vr>1e-6?(rr=Math.acos(vr),cr=Math.sin(rr),ur=Math.sin((1-i)*rr)/cr,Er=Math.sin(i*rr)/cr):(ur=1-i,Er=i),r[0]=ur*o+Er*ir,r[1]=ur*Zt+Er*fr,r[2]=ur*tr+Er*gr,r[3]=ur*ar+Er*nr,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],o=e[2],Zt=e[3],tr=Math.atan2(2*r*Zt-2*i*o,1-2*r*r-2*o*o),ar=Math.asin(2*i*r+2*o*Zt),ir=Math.atan2(2*i*Zt-2*r*o,1-2*i*i-2*o*o);t[0]=tr/degToRads,t[1]=ar/degToRads,t[2]=ir/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,o=Math.cos(e/2),Zt=Math.cos(i/2),tr=Math.cos(r/2),ar=Math.sin(e/2),ir=Math.sin(i/2),fr=Math.sin(r/2),gr=o*Zt*tr-ar*ir*fr,nr=ar*ir*tr+o*Zt*fr,rr=ar*Zt*tr+o*ir*fr,vr=o*ir*tr-ar*Zt*fr;return[nr,rr,vr,gr]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}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 i=0,r=this.v.length;i<r;)e=t[i]*this.mult,mathAbs(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=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,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,i,r){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,i,r){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,Zt=e.k.length;for(this.v=createTypedArray("float32",Zt),this.pv=createTypedArray("float32",Zt),this.vel=createTypedArray("float32",Zt),o=0;o<Zt;o+=1)this.v[o]=e.k[o]*this.mult,this.pv[o]=e.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,i,r){this.propType="multidimensional";var o,Zt=e.k.length,tr,ar,ir,fr;for(o=0;o<Zt-1;o+=1)e.k[o].to&&e.k[o].s&&e.k[o+1]&&e.k[o+1].s&&(tr=e.k[o].s,ar=e.k[o+1].s,ir=e.k[o].to,fr=e.k[o].ti,(tr.length===2&&!(tr[0]===ar[0]&&tr[1]===ar[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],tr[0]+ir[0],tr[1]+ir[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],ar[0]+fr[0],ar[1]+fr[1])||tr.length===3&&!(tr[0]===ar[0]&&tr[1]===ar[1]&&tr[2]===ar[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],tr[0]+ir[0],tr[1]+ir[1],tr[2]+ir[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],ar[0]+fr[0],ar[1]+fr[1],ar[2]+fr[2]))&&(e.k[o].to=null,e.k[o].ti=null),tr[0]===ar[0]&&tr[1]===ar[1]&&ir[0]===0&&ir[1]===0&&fr[0]===0&&fr[1]===0&&(tr.length===2||tr[2]===ar[2]&&ir[2]===0&&fr[2]===0)&&(e.k[o].to=null,e.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var gr=e.k[0].s.length;for(this.v=createTypedArray("float32",gr),this.pv=createTypedArray("float32",gr),o=0;o<gr;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",gr)},this.addEffect=addEffect}var PropertyFactory=function(){function t(i,r,o,Zt,tr){r.sid&&(r=i.globalData.slotManager.getProp(r));var ar;if(!r.k.length)ar=new ValueProperty(i,r,Zt,tr);else if(typeof r.k[0]=="number")ar=new MultiDimensionalProperty(i,r,Zt,tr);else switch(o){case 0:ar=new KeyframedValueProperty(i,r,Zt,tr);break;case 1:ar=new KeyframedMultidimensionalProperty(i,r,Zt,tr);break}return ar.effectsSequence.length&&tr.addDynamicProperty(ar),ar}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,r,o){var Zt;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":Zt=this.v;break;case"i":Zt=this.i;break;case"o":Zt=this.o;break;default:Zt=[];break}(!Zt[r]||Zt[r]&&!o)&&(Zt[r]=pointPool.newElement()),Zt[r][0]=t,Zt[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,o,Zt,tr,ar){this.setXYAt(t,e,"v",tr,ar),this.setXYAt(i,r,"o",tr,ar),this.setXYAt(o,Zt,"i",tr,ar)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,o=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),o=1);var Zt=this._length-1,tr=this._length,ar;for(ar=o;ar<tr;ar+=1)t.setTripleAt(e[Zt][0],e[Zt][1],r[Zt][0],r[Zt][1],i[Zt][0],i[Zt][1],ar,!1),Zt-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(o){var Zt=o._length,tr;for(tr=0;tr<Zt;tr+=1)pointPool.release(o.v[tr]),pointPool.release(o.i[tr]),pointPool.release(o.o[tr]),o.v[tr]=null,o.i[tr]=null,o.o[tr]=null;o._length=0,o.c=!1}function i(o){var Zt=r.newElement(),tr,ar=o._length===void 0?o.v.length:o._length;for(Zt.setLength(ar),Zt.c=o.c,tr=0;tr<ar;tr+=1)Zt.setTripleAt(o.v[tr][0],o.v[tr][1],o.o[tr][0],o.o[tr][1],o.i[tr][0],o.i[tr][1],tr);return Zt}var r=poolFactory(4,t,e);return r.clone=i,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:o,release:Zt},e=0,i=4,r=createSizedArray(i);function o(){var tr;return e?(e-=1,tr=r[e]):tr=new ShapeCollection,tr}function Zt(tr){var ar,ir=tr._length;for(ar=0;ar<ir;ar+=1)shapePool.release(tr.shapes[ar]);tr._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=tr,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(or,sr,pr){var dr=pr.lastIndex,Pr,Ir,zr,$r,es,hs,ps,os,xs,is=this.keyframes;if(or<is[0].t-this.offsetTime)Pr=is[0].s[0],zr=!0,dr=0;else if(or>=is[is.length-1].t-this.offsetTime)Pr=is[is.length-1].s?is[is.length-1].s[0]:is[is.length-2].e[0],zr=!0;else{for(var cs=dr,Ar=is.length-1,Tr=!0,yr,Mr,Ur;Tr&&(yr=is[cs],Mr=is[cs+1],!(Mr.t-this.offsetTime>or));)cs<Ar-1?cs+=1:Tr=!1;if(Ur=this.keyframesMetadata[cs]||{},zr=yr.h===1,dr=cs,!zr){if(or>=Mr.t-this.offsetTime)os=1;else if(or<yr.t-this.offsetTime)os=0;else{var jr;Ur.__fnct?jr=Ur.__fnct:(jr=BezierFactory.getBezierEasing(yr.o.x,yr.o.y,yr.i.x,yr.i.y).get,Ur.__fnct=jr),os=jr((or-(yr.t-this.offsetTime))/(Mr.t-this.offsetTime-(yr.t-this.offsetTime)))}Ir=Mr.s?Mr.s[0]:yr.e[0]}Pr=yr.s[0]}for(hs=sr._length,ps=Pr.i[0].length,pr.lastIndex=dr,$r=0;$r<hs;$r+=1)for(es=0;es<ps;es+=1)xs=zr?Pr.i[$r][es]:Pr.i[$r][es]+(Ir.i[$r][es]-Pr.i[$r][es])*os,sr.i[$r][es]=xs,xs=zr?Pr.o[$r][es]:Pr.o[$r][es]+(Ir.o[$r][es]-Pr.o[$r][es])*os,sr.o[$r][es]=xs,xs=zr?Pr.v[$r][es]:Pr.v[$r][es]+(Ir.v[$r][es]-Pr.v[$r][es])*os,sr.v[$r][es]=xs}function i(){var or=this.comp.renderedFrame-this.offsetTime,sr=this.keyframes[0].t-this.offsetTime,pr=this.keyframes[this.keyframes.length-1].t-this.offsetTime,dr=this._caching.lastFrame;return dr!==t&&(dr<sr&&or<sr||dr>pr&&or>pr)||(this._caching.lastIndex=dr<or?this._caching.lastIndex:0,this.interpolateShape(or,this.pv,this._caching)),this._caching.lastFrame=or,this.pv}function r(){this.paths=this.localShapeCollection}function o(or,sr){if(or._length!==sr._length||or.c!==sr.c)return!1;var pr,dr=or._length;for(pr=0;pr<dr;pr+=1)if(or.v[pr][0]!==sr.v[pr][0]||or.v[pr][1]!==sr.v[pr][1]||or.o[pr][0]!==sr.o[pr][0]||or.o[pr][1]!==sr.o[pr][1]||or.i[pr][0]!==sr.i[pr][0]||or.i[pr][1]!==sr.i[pr][1])return!1;return!0}function Zt(or){o(this.v,or)||(this.v=shapePool.clone(or),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function tr(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var or;this.kf?or=this.pv:this.data.ks?or=this.data.ks.k:or=this.data.pt.k;var sr,pr=this.effectsSequence.length;for(sr=0;sr<pr;sr+=1)or=this.effectsSequence[sr](or);this.setVValue(or),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ar(or,sr,pr){this.propType="shape",this.comp=or.comp,this.container=or,this.elem=or,this.data=sr,this.k=!1,this.kf=!1,this._mdf=!1;var dr=pr===3?sr.pt.k:sr.ks.k;this.v=shapePool.clone(dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function ir(or){this.effectsSequence.push(or),this.container.addDynamicProperty(this)}ar.prototype.interpolateShape=e,ar.prototype.getValue=tr,ar.prototype.setVValue=Zt,ar.prototype.addEffect=ir;function fr(or,sr,pr){this.propType="shape",this.comp=or.comp,this.elem=or,this.container=or,this.offsetTime=or.data.st,this.keyframes=pr===3?sr.pt.k:sr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var dr=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}fr.prototype.getValue=tr,fr.prototype.interpolateShape=e,fr.prototype.setVValue=Zt,fr.prototype.addEffect=ir;var gr=function(){var or=roundCorner;function sr(pr,dr){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=dr.d,this.elem=pr,this.comp=pr.comp,this.frameId=-1,this.initDynamicPropertyContainer(pr),this.p=PropertyFactory.getProp(pr,dr.p,1,0,this),this.s=PropertyFactory.getProp(pr,dr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return sr.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var pr=this.p.v[0],dr=this.p.v[1],Pr=this.s.v[0]/2,Ir=this.s.v[1]/2,zr=this.d!==3,$r=this.v;$r.v[0][0]=pr,$r.v[0][1]=dr-Ir,$r.v[1][0]=zr?pr+Pr:pr-Pr,$r.v[1][1]=dr,$r.v[2][0]=pr,$r.v[2][1]=dr+Ir,$r.v[3][0]=zr?pr-Pr:pr+Pr,$r.v[3][1]=dr,$r.i[0][0]=zr?pr-Pr*or:pr+Pr*or,$r.i[0][1]=dr-Ir,$r.i[1][0]=zr?pr+Pr:pr-Pr,$r.i[1][1]=dr-Ir*or,$r.i[2][0]=zr?pr+Pr*or:pr-Pr*or,$r.i[2][1]=dr+Ir,$r.i[3][0]=zr?pr-Pr:pr+Pr,$r.i[3][1]=dr+Ir*or,$r.o[0][0]=zr?pr+Pr*or:pr-Pr*or,$r.o[0][1]=dr-Ir,$r.o[1][0]=zr?pr+Pr:pr-Pr,$r.o[1][1]=dr+Ir*or,$r.o[2][0]=zr?pr-Pr*or:pr+Pr*or,$r.o[2][1]=dr+Ir,$r.o[3][0]=zr?pr-Pr:pr+Pr,$r.o[3][1]=dr-Ir*or}},extendPrototype([DynamicPropertyContainer],sr),sr}(),nr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=sr,this.comp=sr.comp,this.data=pr,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),pr.sy===1?(this.ir=PropertyFactory.getProp(sr,pr.ir,0,0,this),this.is=PropertyFactory.getProp(sr,pr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(sr,pr.pt,0,0,this),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,degToRads,this),this.or=PropertyFactory.getProp(sr,pr.or,0,0,this),this.os=PropertyFactory.getProp(sr,pr.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return or.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var sr=Math.floor(this.pt.v)*2,pr=Math.PI*2/sr,dr=!0,Pr=this.or.v,Ir=this.ir.v,zr=this.os.v,$r=this.is.v,es=2*Math.PI*Pr/(sr*2),hs=2*Math.PI*Ir/(sr*2),ps,os,xs,is,cs=-Math.PI/2;cs+=this.r.v;var Ar=this.data.d===3?-1:1;for(this.v._length=0,ps=0;ps<sr;ps+=1){os=dr?Pr:Ir,xs=dr?zr:$r,is=dr?es:hs;var Tr=os*Math.cos(cs),yr=os*Math.sin(cs),Mr=Tr===0&&yr===0?0:yr/Math.sqrt(Tr*Tr+yr*yr),Ur=Tr===0&&yr===0?0:-Tr/Math.sqrt(Tr*Tr+yr*yr);Tr+=+this.p.v[0],yr+=+this.p.v[1],this.v.setTripleAt(Tr,yr,Tr-Mr*is*xs*Ar,yr-Ur*is*xs*Ar,Tr+Mr*is*xs*Ar,yr+Ur*is*xs*Ar,ps,!0),dr=!dr,cs+=pr*Ar}},convertPolygonToPath:function(){var sr=Math.floor(this.pt.v),pr=Math.PI*2/sr,dr=this.or.v,Pr=this.os.v,Ir=2*Math.PI*dr/(sr*4),zr,$r=-Math.PI*.5,es=this.data.d===3?-1:1;for($r+=this.r.v,this.v._length=0,zr=0;zr<sr;zr+=1){var hs=dr*Math.cos($r),ps=dr*Math.sin($r),os=hs===0&&ps===0?0:ps/Math.sqrt(hs*hs+ps*ps),xs=hs===0&&ps===0?0:-hs/Math.sqrt(hs*hs+ps*ps);hs+=+this.p.v[0],ps+=+this.p.v[1],this.v.setTripleAt(hs,ps,hs-os*Ir*Pr*es,ps-xs*Ir*Pr*es,hs+os*Ir*Pr*es,ps+xs*Ir*Pr*es,zr,!0),$r+=pr*es}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],or),or}(),rr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=sr,this.comp=sr.comp,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.s=PropertyFactory.getProp(sr,pr.s,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return or.prototype={convertRectToPath:function(){var sr=this.p.v[0],pr=this.p.v[1],dr=this.s.v[0]/2,Pr=this.s.v[1]/2,Ir=bmMin(dr,Pr,this.r.v),zr=Ir*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,0,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,sr+dr,pr+Pr-Ir,1,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,2,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,sr-dr+Ir,pr+Pr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,4,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,sr-dr,pr-Pr+Ir,5,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,6,!0),this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,sr+dr-Ir,pr-Pr,7,!0)):(this.v.setTripleAt(sr-dr,pr+Pr,sr-dr+zr,pr+Pr,sr-dr,pr+Pr,2),this.v.setTripleAt(sr-dr,pr-Pr,sr-dr,pr-Pr+zr,sr-dr,pr-Pr,3))):(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,sr+dr,pr-Pr+Ir,0,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,sr-dr+Ir,pr-Pr,2,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,sr-dr,pr+Pr-Ir,4,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,5,!0),this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,sr+dr-Ir,pr+Pr,6,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,7,!0)):(this.v.setTripleAt(sr-dr,pr-Pr,sr-dr+zr,pr-Pr,sr-dr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr,pr+Pr,sr-dr,pr+Pr-zr,sr-dr,pr+Pr,2,!0),this.v.setTripleAt(sr+dr,pr+Pr,sr+dr-zr,pr+Pr,sr+dr,pr+Pr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],or),or}();function vr(or,sr,pr){var dr;if(pr===3||pr===4){var Pr=pr===3?sr.pt:sr.ks,Ir=Pr.k;Ir.length?dr=new fr(or,sr,pr):dr=new ar(or,sr,pr)}else pr===5?dr=new rr(or,sr):pr===6?dr=new gr(or,sr):pr===7&&(dr=new nr(or,sr));return dr.k&&or.addDynamicProperty(dr),dr}function cr(){return ar}function ur(){return fr}var Er={};return Er.getShapeProp=vr,Er.getConstructorFunction=cr,Er.getKeyframedConstructorFunction=ur,Er}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Zt(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function tr(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(1,0,0,0,0,Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1)}function ar(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,0,Ur,0,0,1,0,0,-Ur,0,Mr,0,0,0,0,1)}function ir(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function fr(yr,Mr){return this._t(1,Mr,yr,1,0,0)}function gr(yr,Mr){return this.shear(i(yr),i(Mr))}function nr(yr,Mr){var Ur=t(Mr),jr=e(Mr);return this._t(Ur,jr,0,0,-jr,Ur,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(yr),1,0,0,0,0,1,0,0,0,0,1)._t(Ur,-jr,0,0,jr,Ur,0,0,0,0,1,0,0,0,0,1)}function rr(yr,Mr,Ur){return!Ur&&Ur!==0&&(Ur=1),yr===1&&Mr===1&&Ur===1?this:this._t(yr,0,0,0,0,Mr,0,0,0,0,Ur,0,0,0,0,1)}function vr(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){return this.props[0]=yr,this.props[1]=Mr,this.props[2]=Ur,this.props[3]=jr,this.props[4]=Vs,this.props[5]=Ts,this.props[6]=Ns,this.props[7]=Bs,this.props[8]=Ys,this.props[9]=Hs,this.props[10]=Qs,this.props[11]=na,this.props[12]=ra,this.props[13]=$s,this.props[14]=sa,this.props[15]=Rs,this}function cr(yr,Mr,Ur){return Ur=Ur||0,yr!==0||Mr!==0||Ur!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,yr,Mr,Ur,1):this}function ur(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){var Ms=this.props;if(yr===1&&Mr===0&&Ur===0&&jr===0&&Vs===0&&Ts===1&&Ns===0&&Bs===0&&Ys===0&&Hs===0&&Qs===1&&na===0)return Ms[12]=Ms[12]*yr+Ms[15]*ra,Ms[13]=Ms[13]*Ts+Ms[15]*$s,Ms[14]=Ms[14]*Qs+Ms[15]*sa,Ms[15]*=Rs,this._identityCalculated=!1,this;var ua=Ms[0],ka=Ms[1],ya=Ms[2],la=Ms[3],_a=Ms[4],ca=Ms[5],aa=Ms[6],da=Ms[7],js=Ms[8],Us=Ms[9],qs=Ms[10],ta=Ms[11],ga=Ms[12],Ha=Ms[13],Na=Ms[14],Ka=Ms[15];return Ms[0]=ua*yr+ka*Vs+ya*Ys+la*ra,Ms[1]=ua*Mr+ka*Ts+ya*Hs+la*$s,Ms[2]=ua*Ur+ka*Ns+ya*Qs+la*sa,Ms[3]=ua*jr+ka*Bs+ya*na+la*Rs,Ms[4]=_a*yr+ca*Vs+aa*Ys+da*ra,Ms[5]=_a*Mr+ca*Ts+aa*Hs+da*$s,Ms[6]=_a*Ur+ca*Ns+aa*Qs+da*sa,Ms[7]=_a*jr+ca*Bs+aa*na+da*Rs,Ms[8]=js*yr+Us*Vs+qs*Ys+ta*ra,Ms[9]=js*Mr+Us*Ts+qs*Hs+ta*$s,Ms[10]=js*Ur+Us*Ns+qs*Qs+ta*sa,Ms[11]=js*jr+Us*Bs+qs*na+ta*Rs,Ms[12]=ga*yr+Ha*Vs+Na*Ys+Ka*ra,Ms[13]=ga*Mr+Ha*Ts+Na*Hs+Ka*$s,Ms[14]=ga*Ur+Ha*Ns+Na*Qs+Ka*sa,Ms[15]=ga*jr+Ha*Bs+Na*na+Ka*Rs,this._identityCalculated=!1,this}function Er(yr){var Mr=yr.props;return this.transform(Mr[0],Mr[1],Mr[2],Mr[3],Mr[4],Mr[5],Mr[6],Mr[7],Mr[8],Mr[9],Mr[10],Mr[11],Mr[12],Mr[13],Mr[14],Mr[15])}function or(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function sr(yr){for(var Mr=0;Mr<16;){if(yr.props[Mr]!==this.props[Mr])return!1;Mr+=1}return!0}function pr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)yr.props[Mr]=this.props[Mr];return yr}function dr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)this.props[Mr]=yr[Mr]}function Pr(yr,Mr,Ur){return{x:yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],y:yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],z:yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}}function Ir(yr,Mr,Ur){return yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12]}function zr(yr,Mr,Ur){return yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13]}function $r(yr,Mr,Ur){return yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}function es(){var yr=this.props[0]*this.props[5]-this.props[1]*this.props[4],Mr=this.props[5]/yr,Ur=-this.props[1]/yr,jr=-this.props[4]/yr,Vs=this.props[0]/yr,Ts=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/yr,Ns=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/yr,Bs=new Matrix;return Bs.props[0]=Mr,Bs.props[1]=Ur,Bs.props[4]=jr,Bs.props[5]=Vs,Bs.props[12]=Ts,Bs.props[13]=Ns,Bs}function hs(yr){var Mr=this.getInverseMatrix();return Mr.applyToPointArray(yr[0],yr[1],yr[2]||0)}function ps(yr){var Mr,Ur=yr.length,jr=[];for(Mr=0;Mr<Ur;Mr+=1)jr[Mr]=hs(yr[Mr]);return jr}function os(yr,Mr,Ur){var jr=createTypedArray("float32",6);if(this.isIdentity())jr[0]=yr[0],jr[1]=yr[1],jr[2]=Mr[0],jr[3]=Mr[1],jr[4]=Ur[0],jr[5]=Ur[1];else{var Vs=this.props[0],Ts=this.props[1],Ns=this.props[4],Bs=this.props[5],Ys=this.props[12],Hs=this.props[13];jr[0]=yr[0]*Vs+yr[1]*Ns+Ys,jr[1]=yr[0]*Ts+yr[1]*Bs+Hs,jr[2]=Mr[0]*Vs+Mr[1]*Ns+Ys,jr[3]=Mr[0]*Ts+Mr[1]*Bs+Hs,jr[4]=Ur[0]*Vs+Ur[1]*Ns+Ys,jr[5]=Ur[0]*Ts+Ur[1]*Bs+Hs}return jr}function xs(yr,Mr,Ur){var jr;return this.isIdentity()?jr=[yr,Mr,Ur]:jr=[yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]],jr}function is(yr,Mr){if(this.isIdentity())return yr+","+Mr;var Ur=this.props;return Math.round((yr*Ur[0]+Mr*Ur[4]+Ur[12])*100)/100+","+Math.round((yr*Ur[1]+Mr*Ur[5]+Ur[13])*100)/100}function cs(){for(var yr=0,Mr=this.props,Ur="matrix3d(",jr=1e4;yr<16;)Ur+=r(Mr[yr]*jr)/jr,Ur+=yr===15?")":",",yr+=1;return Ur}function Ar(yr){var Mr=1e4;return yr<1e-6&&yr>0||yr>-1e-6&&yr<0?r(yr*Mr)/Mr:yr}function Tr(){var yr=this.props,Mr=Ar(yr[0]),Ur=Ar(yr[1]),jr=Ar(yr[4]),Vs=Ar(yr[5]),Ts=Ar(yr[12]),Ns=Ar(yr[13]);return"matrix("+Mr+","+Ur+","+jr+","+Vs+","+Ts+","+Ns+")"}return function(){this.reset=o,this.rotate=Zt,this.rotateX=tr,this.rotateY=ar,this.rotateZ=ir,this.skew=gr,this.skewFromAxis=nr,this.shear=fr,this.scale=rr,this.setTransform=vr,this.translate=cr,this.transform=ur,this.multiply=Er,this.applyToPoint=Pr,this.applyToX=Ir,this.applyToY=zr,this.applyToZ=$r,this.applyToPointArray=xs,this.applyToTriplePoints=os,this.applyToPointStringified=is,this.toCSS=cs,this.to2dCSS=Tr,this.clone=pr,this.cloneFromProps=dr,this.equals=sr,this.inversePoints=ps,this.inversePoint=hs,this.getInverseMatrix=es,this._t=this.transform,this.isIdentity=or,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(e){return typeof e}:_typeof$3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)}function inBrowser(){return typeof navigator<"u"}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("&"),i=0;i<e.length;i+=1){var r=e[i].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{!((typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=i,t.getModifier=r;function i(o,Zt){e[o]||(e[o]=Zt)}function r(o,Zt,tr){return new e[o](Zt,tr)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,r,o){var Zt=[];e<=1?Zt.push({s:t,e}):t>=1?Zt.push({s:t-1,e:e-1}):(Zt.push({s:t,e:1}),Zt.push({s:0,e:e-1}));var tr=[],ar,ir=Zt.length,fr;for(ar=0;ar<ir;ar+=1)if(fr=Zt[ar],!(fr.e*o<r||fr.s*o>r+i)){var gr,nr;fr.s*o<=r?gr=0:gr=(fr.s*o-r)/i,fr.e*o>=r+i?nr=1:nr=(fr.e*o-r)/i,tr.push([gr,nr])}return tr.length||tr.push([0,0]),tr},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?e=1+r:this.s.v<0?e=0+r:e=this.s.v+r,this.e.v>1?i=1+r:this.e.v<0?i=0+r:i=this.e.v+r,e>i){var o=e;e=i,i=o}e=Math.round(e*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var Zt,tr,ar=this.shapes.length,ir,fr,gr,nr,rr,vr=0;if(i===e)for(tr=0;tr<ar;tr+=1)this.shapes[tr].localShapeCollection.releaseShapes(),this.shapes[tr].shape._mdf=!0,this.shapes[tr].shape.paths=this.shapes[tr].localShapeCollection,this._mdf&&(this.shapes[tr].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(tr=0;tr<ar;tr+=1)this.shapes[tr].pathsData.length=0,this.shapes[tr].shape._mdf=!0}else{var cr=[],ur,Er;for(tr=0;tr<ar;tr+=1)if(ur=this.shapes[tr],!ur.shape._mdf&&!this._mdf&&!t&&this.m!==2)ur.shape.paths=ur.localShapeCollection;else{if(Zt=ur.shape.paths,fr=Zt._length,rr=0,!ur.shape._mdf&&ur.pathsData.length)rr=ur.totalShapeLength;else{for(gr=this.releasePathsData(ur.pathsData),ir=0;ir<fr;ir+=1)nr=bez.getSegmentsLength(Zt.shapes[ir]),gr.push(nr),rr+=nr.totalLength;ur.totalShapeLength=rr,ur.pathsData=gr}vr+=rr,ur.shape._mdf=!0}var or=e,sr=i,pr=0,dr;for(tr=ar-1;tr>=0;tr-=1)if(ur=this.shapes[tr],ur.shape._mdf){for(Er=ur.localShapeCollection,Er.releaseShapes(),this.m===2&&ar>1?(dr=this.calculateShapeEdges(e,i,ur.totalShapeLength,pr,vr),pr+=ur.totalShapeLength):dr=[[or,sr]],fr=dr.length,ir=0;ir<fr;ir+=1){or=dr[ir][0],sr=dr[ir][1],cr.length=0,sr<=1?cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength*sr}):or>=1?cr.push({s:ur.totalShapeLength*(or-1),e:ur.totalShapeLength*(sr-1)}):(cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength}),cr.push({s:0,e:ur.totalShapeLength*(sr-1)}));var Pr=this.addShapes(ur,cr[0]);if(cr[0].s!==cr[0].e){if(cr.length>1){var Ir=ur.shape.paths.shapes[ur.shape.paths._length-1];if(Ir.c){var zr=Pr.pop();this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1],zr)}else this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1])}this.addPaths(Pr,Er)}}ur.shape.paths=Er}}},TrimModifier.prototype.addPaths=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,r,o,Zt,tr){o.setXYAt(e[0],e[1],"o",Zt),o.setXYAt(i[0],i[1],"i",Zt+1),tr&&o.setXYAt(t[0],t[1],"v",Zt),o.setXYAt(r[0],r[1],"v",Zt+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,r){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),r&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var r=t.pathsData,o=t.shape.paths.shapes,Zt,tr=t.shape.paths._length,ar,ir,fr=0,gr,nr,rr,vr,cr=[],ur,Er=!0;for(i?(nr=i._length,ur=i._length):(i=shapePool.newElement(),nr=0,ur=0),cr.push(i),Zt=0;Zt<tr;Zt+=1){for(rr=r[Zt].lengths,i.c=o[Zt].c,ir=o[Zt].c?rr.length:rr.length+1,ar=1;ar<ir;ar+=1)if(gr=rr[ar-1],fr+gr.addedLength<e.s)fr+=gr.addedLength,i.c=!1;else if(fr>e.e){i.c=!1;break}else e.s<=fr&&e.e>=fr+gr.addedLength?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[ar],o[Zt].v[ar],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[ar],o[Zt].o[ar-1],o[Zt].i[ar],(e.s-fr)/gr.addedLength,(e.e-fr)/gr.addedLength,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1),fr+=gr.addedLength,nr+=1;if(o[Zt].c&&rr.length){if(gr=rr[ar-1],fr<=e.e){var or=rr[ar-1].addedLength;e.s<=fr&&e.e>=fr+or?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[0],o[Zt].v[0],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[0],o[Zt].o[ar-1],o[Zt].i[0],(e.s-fr)/or,(e.e-fr)/or,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1)}else i.c=!1;fr+=gr.addedLength,nr+=1}if(i._length&&(i.setXYAt(i.v[ur][0],i.v[ur][1],"i",ur),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),fr>e.e)break;Zt<tr-1&&(i=shapePool.newElement(),Er=!0,cr.push(i),nr=0)}return cr};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,r=[0,0],o=t._length,Zt=0;for(Zt=0;Zt<o;Zt+=1)r[0]+=t.v[Zt][0],r[1]+=t.v[Zt][1];r[0]/=o,r[1]/=o;var tr=shapePool.newElement();tr.c=t.c;var ar,ir,fr,gr,nr,rr;for(Zt=0;Zt<o;Zt+=1)ar=t.v[Zt][0]+(r[0]-t.v[Zt][0])*i,ir=t.v[Zt][1]+(r[1]-t.v[Zt][1])*i,fr=t.o[Zt][0]+(r[0]-t.o[Zt][0])*-i,gr=t.o[Zt][1]+(r[1]-t.o[Zt][1])*-i,nr=t.i[Zt][0]+(r[0]-t.i[Zt][0])*-i,rr=t.i[Zt][1]+(r[1]-t.i[Zt][1])*-i,tr.setTripleAt(ar,ir,fr,gr,nr,rr,Zt);return tr},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(ir){var fr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||fr,this.a&&ir.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&ir.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&ir.skewFromAxis(-this.sk.v,this.sa.v),this.r?ir.rotate(-this.r.v):ir.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.data.p.s?this.data.p.z?ir.translate(this.px.v,this.py.v,-this.pz.v):ir.translate(this.px.v,this.py.v,0):ir.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(ir){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||ir){var fr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var gr,nr;if(fr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(gr=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/fr,0),nr=this.p.getValueAtTime(this.p.keyframes[0].t/fr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(gr=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/fr,0),nr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/fr,0)):(gr=this.p.pv,nr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/fr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){gr=[],nr=[];var rr=this.px,vr=this.py;rr._caching.lastFrame+rr.offsetTime<=rr.keyframes[0].t?(gr[0]=rr.getValueAtTime((rr.keyframes[0].t+.01)/fr,0),gr[1]=vr.getValueAtTime((vr.keyframes[0].t+.01)/fr,0),nr[0]=rr.getValueAtTime(rr.keyframes[0].t/fr,0),nr[1]=vr.getValueAtTime(vr.keyframes[0].t/fr,0)):rr._caching.lastFrame+rr.offsetTime>=rr.keyframes[rr.keyframes.length-1].t?(gr[0]=rr.getValueAtTime(rr.keyframes[rr.keyframes.length-1].t/fr,0),gr[1]=vr.getValueAtTime(vr.keyframes[vr.keyframes.length-1].t/fr,0),nr[0]=rr.getValueAtTime((rr.keyframes[rr.keyframes.length-1].t-.01)/fr,0),nr[1]=vr.getValueAtTime((vr.keyframes[vr.keyframes.length-1].t-.01)/fr,0)):(gr=[rr.pv,vr.pv],nr[0]=rr.getValueAtTime((rr._caching.lastFrame+rr.offsetTime-.01)/fr,rr.offsetTime),nr[1]=vr.getValueAtTime((vr._caching.lastFrame+vr.offsetTime-.01)/fr,vr.offsetTime))}else nr=t,gr=nr;this.v.rotate(-Math.atan2(gr[1]-nr[1],gr[0]-nr[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 r(){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 o(){}function Zt(ir){this._addDynamicProperty(ir),this.elem.addDynamicProperty(ir),this._isDirty=!0}function tr(ir,fr,gr){if(this.elem=ir,this.frameId=-1,this.propType="transform",this.data=fr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(gr||ir),fr.p&&fr.p.s?(this.px=PropertyFactory.getProp(ir,fr.p.x,0,0,this),this.py=PropertyFactory.getProp(ir,fr.p.y,0,0,this),fr.p.z&&(this.pz=PropertyFactory.getProp(ir,fr.p.z,0,0,this))):this.p=PropertyFactory.getProp(ir,fr.p||{k:[0,0,0]},1,0,this),fr.rx){if(this.rx=PropertyFactory.getProp(ir,fr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(ir,fr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(ir,fr.rz,0,degToRads,this),fr.or.k[0].ti){var nr,rr=fr.or.k.length;for(nr=0;nr<rr;nr+=1)fr.or.k[nr].to=null,fr.or.k[nr].ti=null}this.or=PropertyFactory.getProp(ir,fr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(ir,fr.r||{k:0},0,degToRads,this);fr.sk&&(this.sk=PropertyFactory.getProp(ir,fr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(ir,fr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(ir,fr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(ir,fr.s||{k:[100,100,100]},1,.01,this),fr.o?this.o=PropertyFactory.getProp(ir,fr.o,0,.01,ir):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}tr.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:o},extendPrototype([DynamicPropertyContainer],tr),tr.prototype.addDynamicProperty=Zt,tr.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function ar(ir,fr,gr){return new tr(ir,fr,gr)}return{getTransformProperty:ar}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,r,o,Zt){var tr=Zt?-1:1,ar=r.s.v[0]+(1-r.s.v[0])*(1-o),ir=r.s.v[1]+(1-r.s.v[1])*(1-o);t.translate(r.p.v[0]*tr*o,r.p.v[1]*tr*o,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*tr*o),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(Zt?1/ar:ar,Zt?1/ir:ir),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,r){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,r,o,Zt,tr=!1;if(this._mdf||t){var ar=Math.ceil(this.c.v);if(this._groups.length<ar){for(;this._groups.length<ar;){var ir={it:this.cloneElements(this._elements),ty:"gr"};ir.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,ir),this._groups.splice(0,0,ir),this._currentCopies+=1}this.elem.reloadShapes(),tr=!0}Zt=0;var fr;for(r=0;r<=this._groups.length-1;r+=1){if(fr=Zt<ar,this._groups[r]._render=fr,this.changeGroupRender(this._groups[r].it,fr),!fr){var gr=this.elemsData[r].it,nr=gr[gr.length-1];nr.transform.op.v!==0?(nr.transform.op._mdf=!0,nr.transform.op.v=0):nr.transform.op._mdf=!1}Zt+=1}this._currentCopies=ar;var rr=this.o.v,vr=rr%1,cr=rr>0?Math.floor(rr):Math.ceil(rr),ur=this.pMatrix.props,Er=this.rMatrix.props,or=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var sr=0;if(rr>0){for(;sr<cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),sr+=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,vr,!1),sr+=vr)}else if(rr<0){for(;sr>cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),sr-=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-vr,!0),sr-=vr)}r=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,Zt=this._currentCopies;for(var pr,dr;Zt;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,dr=i.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)*(r/(this._currentCopies-1)),sr!==0){for((r!==0&&o===1||r!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Er[0],Er[1],Er[2],Er[3],Er[4],Er[5],Er[6],Er[7],Er[8],Er[9],Er[10],Er[11],Er[12],Er[13],Er[14],Er[15]),this.matrix.transform(or[0],or[1],or[2],or[3],or[4],or[5],or[6],or[7],or[8],or[9],or[10],or[11],or[12],or[13],or[14],or[15]),this.matrix.transform(ur[0],ur[1],ur[2],ur[3],ur[4],ur[5],ur[6],ur[7],ur[8],ur[9],ur[10],ur[11],ur[12],ur[13],ur[14],ur[15]),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];this.matrix.reset()}else for(this.matrix.reset(),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];sr+=1,Zt-=1,r+=o}}else for(Zt=this._currentCopies,r=0,o=1;Zt;)e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,Zt-=1,r+=o;return tr},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i=shapePool.newElement();i.c=t.c;var r,o=t._length,Zt,tr,ar,ir,fr,gr,nr=0,rr,vr,cr,ur,Er,or;for(r=0;r<o;r+=1)Zt=t.v[r],ar=t.o[r],tr=t.i[r],Zt[0]===ar[0]&&Zt[1]===ar[1]&&Zt[0]===tr[0]&&Zt[1]===tr[1]?(r===0||r===o-1)&&!t.c?(i.setTripleAt(Zt[0],Zt[1],ar[0],ar[1],tr[0],tr[1],nr),nr+=1):(r===0?ir=t.v[o-1]:ir=t.v[r-1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,Er=Zt[0]+(ir[0]-Zt[0])*gr,rr=Er,or=Zt[1]-(Zt[1]-ir[1])*gr,vr=or,cr=rr-(rr-Zt[0])*roundCorner,ur=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1,r===o-1?ir=t.v[0]:ir=t.v[r+1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,cr=Zt[0]+(ir[0]-Zt[0])*gr,rr=cr,ur=Zt[1]+(ir[1]-Zt[1])*gr,vr=ur,Er=rr-(rr-Zt[0])*roundCorner,or=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],nr),nr+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.rd.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(t===0)return[];var r=e*e-4*t*i;if(r<0)return[];var o=-e/(2*t);if(r===0)return[o];var Zt=Math.sqrt(r)/(2*t);return[o-Zt,o+Zt]}function polynomialCoefficients(t,e,i,r){return[-t+3*e-3*i+r,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,r,o){o&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),o&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var Zt=polynomialCoefficients(t[0],e[0],i[0],r[0]),tr=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[Zt[0],tr[0]],this.b=[Zt[1],tr[1]],this.c=[Zt[2],tr[2]],this.d=[Zt[3],tr[3]],this.points=[t,e,i,r]}PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var r=Math.sqrt(i);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter(function(o){return o>0&&o<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),i=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),o=lerpPoint(e,i,t),Zt=lerpPoint(i,r,t),tr=lerpPoint(o,Zt,t);return[new PolynomialBezier(this.points[0],e,o,tr,!0),new PolynomialBezier(tr,Zt,r,this.points[3],!0)]};function extrema(t,e){var i=t.points[0][e],r=t.points[t.points.length-1][e];if(i>r){var o=r;r=i,i=o}for(var Zt=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),tr=0;tr<Zt.length;tr+=1)if(Zt[tr]>0&&Zt[tr]<1){var ar=t.point(Zt[tr])[e];ar<i?i=ar:ar>r&&(r=ar)}return{min:i,max:r}}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,i){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,i,r,o,Zt){if(boxIntersect(t,e)){if(i>=Zt||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){o.push([t.t,e.t]);return}var tr=splitData(t),ar=splitData(e);intersectsImpl(tr[0],ar[0],i+1,r,o,Zt),intersectsImpl(tr[0],ar[1],i+1,r,o,Zt),intersectsImpl(tr[1],ar[0],i+1,r,o,Zt),intersectsImpl(tr[1],ar[1],i+1,r,o,Zt)}}PolynomialBezier.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,i),r},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,r){var o=[t[0],t[1],1],Zt=[e[0],e[1],1],tr=[i[0],i[1],1],ar=[r[0],r[1],1],ir=crossProduct(crossProduct(o,Zt),crossProduct(tr,ar));return floatZero(ir[2])?null:[ir[0]/ir[2],ir[1]/ir[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,r,o,Zt,tr){var ar=i-Math.PI/2,ir=i+Math.PI/2,fr=e[0]+Math.cos(i)*r*o,gr=e[1]-Math.sin(i)*r*o;t.setTripleAt(fr,gr,fr+Math.cos(ar)*Zt,gr-Math.sin(ar)*Zt,fr+Math.cos(ir)*tr,gr-Math.sin(ir)*tr,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,o=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return o}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),o=t.v[i],Zt=t.v[r],tr=getPerpendicularVector(o,Zt);return Math.atan2(0,1)-Math.atan2(tr[1],tr[0])}function zigZagCorner(t,e,i,r,o,Zt,tr){var ar=getProjectingAngle(e,i),ir=e.v[i%e._length],fr=e.v[i===0?e._length-1:i-1],gr=e.v[(i+1)%e._length],nr=Zt===2?Math.sqrt(Math.pow(ir[0]-fr[0],2)+Math.pow(ir[1]-fr[1],2)):0,rr=Zt===2?Math.sqrt(Math.pow(ir[0]-gr[0],2)+Math.pow(ir[1]-gr[1],2)):0;setPoint(t,e.v[i%e._length],ar,tr,r,rr/((o+1)*2),nr/((o+1)*2))}function zigZagSegment(t,e,i,r,o,Zt){for(var tr=0;tr<r;tr+=1){var ar=(tr+1)/(r+1),ir=o===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,fr=e.normalAngle(ar),gr=e.point(ar);setPoint(t,gr,fr,Zt,i,ir/((r+1)*2),ir/((r+1)*2)),Zt=-Zt}return Zt}ZigZagModifier.prototype.processPath=function(t,e,i,r){var o=t._length,Zt=shapePool.newElement();if(Zt.c=t.c,t.c||(o-=1),o===0)return Zt;var tr=-1,ar=PolynomialBezier.shapeSegment(t,0);zigZagCorner(Zt,t,0,e,i,r,tr);for(var ir=0;ir<o;ir+=1)tr=zigZagSegment(Zt,ar,e,i,r,-tr),ir===o-1&&!t.c?ar=null:ar=PolynomialBezier.shapeSegment(t,(ir+1)%o),zigZagCorner(Zt,t,ir+1,e,i,r,tr);return Zt},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amplitude.v,ar=Math.max(0,Math.round(this.frequency.v)),ir=this.pointsType.v;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ar,ir));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(t,e,i){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,i),polarOffset(e,r,i)]}function offsetSegment(t,e){var i,r,o,Zt,tr,ar,ir;ir=linearOffset(t.points[0],t.points[1],e),i=ir[0],r=ir[1],ir=linearOffset(t.points[1],t.points[2],e),o=ir[0],Zt=ir[1],ir=linearOffset(t.points[2],t.points[3],e),tr=ir[0],ar=ir[1];var fr=lineIntersection(i,r,o,Zt);fr===null&&(fr=r);var gr=lineIntersection(tr,ar,o,Zt);return gr===null&&(gr=tr),new PolynomialBezier(i,fr,gr,ar)}function joinLines(t,e,i,r,o){var Zt=e.points[3],tr=i.points[0];if(r===3||pointEqual(Zt,tr))return Zt;if(r===2){var ar=-e.tangentAngle(1),ir=-i.tangentAngle(0)+Math.PI,fr=lineIntersection(Zt,polarOffset(Zt,ar+Math.PI/2,100),tr,polarOffset(tr,ar+Math.PI/2,100)),gr=fr?pointDistance(fr,Zt):pointDistance(Zt,tr)/2,nr=polarOffset(Zt,ar,2*gr*roundCorner);return t.setXYAt(nr[0],nr[1],"o",t.length()-1),nr=polarOffset(tr,ir,2*gr*roundCorner),t.setTripleAt(tr[0],tr[1],tr[0],tr[1],nr[0],nr[1],t.length()),tr}var rr=pointEqual(Zt,e.points[2])?e.points[0]:e.points[2],vr=pointEqual(tr,i.points[1])?i.points[3]:i.points[1],cr=lineIntersection(rr,Zt,tr,vr);return cr&&pointDistance(cr,Zt)<o?(t.setTripleAt(cr[0],cr[1],cr[0],cr[1],cr[0],cr[1],t.length()),cr):Zt}function getIntersection(t,e){var i=t.intersections(e);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),r=e.slice(),o=getIntersection(t[t.length-1],e[0]);return o&&(i[t.length-1]=t[t.length-1].split(o[0])[0],r[0]=e[0].split(o[1])[1]),t.length>1&&e.length>1&&(o=getIntersection(t[0],e[e.length-1]),o)?[[t[0].split(o[0])[0]],[e[e.length-1].split(o[1])[1]]]:[i,r]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i=t.inflectionPoints(),r,o,Zt,tr;if(i.length===0)return[offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return Zt=t.split(i[0]),r=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(o,e)];Zt=t.split(i[0]),r=Zt[0];var ar=(i[1]-i[0])/(1-i[0]);return Zt=Zt[1].split(ar),tr=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(tr,e),offsetSegment(o,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,i,r){var o=shapePool.newElement();o.c=t.c;var Zt=t.length();t.c||(Zt-=1);var tr,ar,ir,fr=[];for(tr=0;tr<Zt;tr+=1)ir=PolynomialBezier.shapeSegment(t,tr),fr.push(offsetSegmentSplit(ir,e));if(!t.c)for(tr=Zt-1;tr>=0;tr-=1)ir=PolynomialBezier.shapeSegmentInverted(t,tr),fr.push(offsetSegmentSplit(ir,e));fr=pruneIntersections(fr);var gr=null,nr=null;for(tr=0;tr<fr.length;tr+=1){var rr=fr[tr];for(nr&&(gr=joinLines(o,nr,rr[0],i,r)),nr=rr[rr.length-1],ar=0;ar<rr.length;ar+=1)ir=rr[ar],gr&&pointEqual(ir.points[0],gr)?o.setXYAt(ir.points[1][0],ir.points[1][1],"o",o.length()-1):o.setTripleAt(ir.points[0][0],ir.points[0][1],ir.points[1][0],ir.points[1][1],ir.points[0][0],ir.points[0][1],o.length()),o.setTripleAt(ir.points[3][0],ir.points[3][1],ir.points[3][0],ir.points[3][1],ir.points[2][0],ir.points[2][1],o.length()),gr=ir.points[3]}return fr.length&&joinLines(o,nr,fr[0][0],i,r),o},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v,ar=this.miterLimit.v,ir=this.lineJoin;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ir,ar));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",o=e.length,Zt,tr=0;tr<o;tr+=1)switch(Zt=e[tr].toLowerCase(),Zt){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:r,weight:t.fWeight||i}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,o=917631,Zt=917601,tr=917626,ar=65039,ir=8205,fr=127462,gr=127487,nr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function rr(Ar){var Tr=Ar.split(","),yr,Mr=Tr.length,Ur=[];for(yr=0;yr<Mr;yr+=1)Tr[yr]!=="sans-serif"&&Tr[yr]!=="monospace"&&Ur.push(Tr[yr]);return Ur.join(",")}function vr(Ar,Tr){var yr=createTag("span");yr.setAttribute("aria-hidden",!0),yr.style.fontFamily=Tr;var Mr=createTag("span");Mr.innerText="giItT1WQy@!-/#",yr.style.position="absolute",yr.style.left="-10000px",yr.style.top="-10000px",yr.style.fontSize="300px",yr.style.fontVariant="normal",yr.style.fontStyle="normal",yr.style.fontWeight="normal",yr.style.letterSpacing="0",yr.appendChild(Mr),document.body.appendChild(yr);var Ur=Mr.offsetWidth;return Mr.style.fontFamily=rr(Ar)+", "+Tr,{node:Mr,w:Ur,parent:yr}}function cr(){var Ar,Tr=this.fonts.length,yr,Mr,Ur=Tr;for(Ar=0;Ar<Tr;Ar+=1)this.fonts[Ar].loaded?Ur-=1:this.fonts[Ar].fOrigin==="n"||this.fonts[Ar].origin===0?this.fonts[Ar].loaded=!0:(yr=this.fonts[Ar].monoCase.node,Mr=this.fonts[Ar].monoCase.w,yr.offsetWidth!==Mr?(Ur-=1,this.fonts[Ar].loaded=!0):(yr=this.fonts[Ar].sansCase.node,Mr=this.fonts[Ar].sansCase.w,yr.offsetWidth!==Mr&&(Ur-=1,this.fonts[Ar].loaded=!0)),this.fonts[Ar].loaded&&(this.fonts[Ar].sansCase.parent.parentNode.removeChild(this.fonts[Ar].sansCase.parent),this.fonts[Ar].monoCase.parent.parentNode.removeChild(this.fonts[Ar].monoCase.parent)));Ur!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function ur(Ar,Tr){var yr=document.body&&Tr?"svg":"canvas",Mr,Ur=getFontProperties(Ar);if(yr==="svg"){var jr=createNS("text");jr.style.fontSize="100px",jr.setAttribute("font-family",Ar.fFamily),jr.setAttribute("font-style",Ur.style),jr.setAttribute("font-weight",Ur.weight),jr.textContent="1",Ar.fClass?(jr.style.fontFamily="inherit",jr.setAttribute("class",Ar.fClass)):jr.style.fontFamily=Ar.fFamily,Tr.appendChild(jr),Mr=jr}else{var Vs=new OffscreenCanvas(500,500).getContext("2d");Vs.font=Ur.style+" "+Ur.weight+" 100px "+Ar.fFamily,Mr=Vs}function Ts(Ns){return yr==="svg"?(Mr.textContent=Ns,Mr.getComputedTextLength()):Mr.measureText(Ns).width}return{measureText:Ts}}function Er(Ar,Tr){if(!Ar){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Ar.list;return}if(!document.body){this.isLoaded=!0,Ar.list.forEach(function(Qs){Qs.helper=ur(Qs),Qs.cache={}}),this.fonts=Ar.list;return}var yr=Ar.list,Mr,Ur=yr.length,jr=Ur;for(Mr=0;Mr<Ur;Mr+=1){var Vs=!0,Ts,Ns;if(yr[Mr].loaded=!1,yr[Mr].monoCase=vr(yr[Mr].fFamily,"monospace"),yr[Mr].sansCase=vr(yr[Mr].fFamily,"sans-serif"),!yr[Mr].fPath)yr[Mr].loaded=!0,jr-=1;else if(yr[Mr].fOrigin==="p"||yr[Mr].origin===3){if(Ts=document.querySelectorAll('style[f-forigin="p"][f-family="'+yr[Mr].fFamily+'"], style[f-origin="3"][f-family="'+yr[Mr].fFamily+'"]'),Ts.length>0&&(Vs=!1),Vs){var Bs=createTag("style");Bs.setAttribute("f-forigin",yr[Mr].fOrigin),Bs.setAttribute("f-origin",yr[Mr].origin),Bs.setAttribute("f-family",yr[Mr].fFamily),Bs.type="text/css",Bs.innerText="@font-face {font-family: "+yr[Mr].fFamily+"; font-style: normal; src: url('"+yr[Mr].fPath+"');}",Tr.appendChild(Bs)}}else if(yr[Mr].fOrigin==="g"||yr[Mr].origin===1){for(Ts=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ns=0;Ns<Ts.length;Ns+=1)Ts[Ns].href.indexOf(yr[Mr].fPath)!==-1&&(Vs=!1);if(Vs){var Ys=createTag("link");Ys.setAttribute("f-forigin",yr[Mr].fOrigin),Ys.setAttribute("f-origin",yr[Mr].origin),Ys.type="text/css",Ys.rel="stylesheet",Ys.href=yr[Mr].fPath,document.body.appendChild(Ys)}}else if(yr[Mr].fOrigin==="t"||yr[Mr].origin===2){for(Ts=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ns=0;Ns<Ts.length;Ns+=1)yr[Mr].fPath===Ts[Ns].src&&(Vs=!1);if(Vs){var Hs=createTag("link");Hs.setAttribute("f-forigin",yr[Mr].fOrigin),Hs.setAttribute("f-origin",yr[Mr].origin),Hs.setAttribute("rel","stylesheet"),Hs.setAttribute("href",yr[Mr].fPath),Tr.appendChild(Hs)}}yr[Mr].helper=ur(yr[Mr],Tr),yr[Mr].cache={},this.fonts.push(yr[Mr])}jr===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function or(Ar){if(Ar){this.chars||(this.chars=[]);var Tr,yr=Ar.length,Mr,Ur=this.chars.length,jr;for(Tr=0;Tr<yr;Tr+=1){for(Mr=0,jr=!1;Mr<Ur;)this.chars[Mr].style===Ar[Tr].style&&this.chars[Mr].fFamily===Ar[Tr].fFamily&&this.chars[Mr].ch===Ar[Tr].ch&&(jr=!0),Mr+=1;jr||(this.chars.push(Ar[Tr]),Ur+=1)}}}function sr(Ar,Tr,yr){for(var Mr=0,Ur=this.chars.length;Mr<Ur;){if(this.chars[Mr].ch===Ar&&this.chars[Mr].style===Tr&&this.chars[Mr].fFamily===yr)return this.chars[Mr];Mr+=1}return(typeof Ar=="string"&&Ar.charCodeAt(0)!==13||!Ar)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Ar,Tr,yr)),e}function pr(Ar,Tr,yr){var Mr=this.getFontByName(Tr),Ur=Ar;if(!Mr.cache[Ur]){var jr=Mr.helper;if(Ar===" "){var Vs=jr.measureText("|"+Ar+"|"),Ts=jr.measureText("||");Mr.cache[Ur]=(Vs-Ts)/100}else Mr.cache[Ur]=jr.measureText(Ar)/100}return Mr.cache[Ur]*yr}function dr(Ar){for(var Tr=0,yr=this.fonts.length;Tr<yr;){if(this.fonts[Tr].fName===Ar)return this.fonts[Tr];Tr+=1}return this.fonts[0]}function Pr(Ar){var Tr=0,yr=Ar.charCodeAt(0);if(yr>=55296&&yr<=56319){var Mr=Ar.charCodeAt(1);Mr>=56320&&Mr<=57343&&(Tr=(yr-55296)*1024+Mr-56320+65536)}return Tr}function Ir(Ar,Tr){var yr=Ar.toString(16)+Tr.toString(16);return nr.indexOf(yr)!==-1}function zr(Ar){return Ar===ir}function $r(Ar){return Ar===ar}function es(Ar){var Tr=Pr(Ar);return Tr>=fr&&Tr<=gr}function hs(Ar){return es(Ar.substr(0,2))&&es(Ar.substr(2,2))}function ps(Ar){return i.indexOf(Ar)!==-1}function os(Ar,Tr){var yr=Pr(Ar.substr(Tr,2));if(yr!==r)return!1;var Mr=0;for(Tr+=2;Mr<5;){if(yr=Pr(Ar.substr(Tr,2)),yr<Zt||yr>tr)return!1;Mr+=1,Tr+=2}return Pr(Ar.substr(Tr,2))===o}function xs(){this.isLoaded=!0}var is=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)};is.isModifier=Ir,is.isZeroWidthJoiner=zr,is.isFlagEmoji=hs,is.isRegionalCode=es,is.isCombinedCharacter=ps,is.isRegionalFlag=os,is.isVariationSelector=$r,is.BLACK_FLAG_CODE_POINT=r;var cs={addChars:or,addFonts:Er,getCharData:sr,getFontByName:dr,measureText:pr,checkLoadedFonts:cr,setIsLoaded:xs};return is.prototype=cs,is}();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(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];var r,o=i.length,Zt;for(r=0;r<o;r+=1)Zt=new GroupEffect(i[r],e),this.effectElements.push(Zt)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o,Zt=this.data.ef;for(i=0;i<r;i+=1){switch(o=null,Zt[i].ty){case 0:o=new SliderEffect(Zt[i],e,this);break;case 1:o=new AngleEffect(Zt[i],e,this);break;case 2:o=new ColorEffect(Zt[i],e,this);break;case 3:o=new PointEffect(Zt[i],e,this);break;case 4:case 7:o=new CheckboxEffect(Zt[i],e,this);break;case 10:o=new LayerIndexEffect(Zt[i],e,this);break;case 11:o=new MaskIndexEffect(Zt[i],e,this);break;case 5:o=new EffectsManager(Zt[i],e);break;default:o=new NoValueEffect(Zt[i]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),i=t("effects"),r=t("shape"),o=t("text"),Zt=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var tr=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(tr),this.data.ty===0||this.data.xt?this.compInterface=Zt(this):this.data.ty===4?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=o(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(e||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.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,i=this.layers.length,r;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,r,o=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<o;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){for(var r=this.elements,o=this.layers,Zt=0,tr=o.length;Zt<tr;)o[Zt].ind==e&&(!r[Zt]||r[Zt]===!0?(this.buildItem(Zt),this.addPendingElement(t)):(i.push(r[Zt]),r[Zt].setAsParent(),o[Zt].parent!==void 0?this.buildElementParenting(t,o[Zt].parent,i):t.setHierarchy(i))),Zt+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.nm===e){i=this.elements[r];break}}return t.length===0?i:i.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<r;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;i.multiply(r)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var o=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)o*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=o}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,Zt=e.length,tr;for(o=0;o<Zt;o+=1)tr=e[o].mat.applyToPointArray(0,0,0),t=[t[0]-tr[0],t[1]-tr[1],0];return t},mHelper:new Matrix};function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,o,Zt=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(Zt),this.solidPath="";var tr,ar=this.masksProperties,ir=0,fr=[],gr,nr,rr=createElementID(),vr,cr,ur,Er,or="clipPath",sr="clip-path";for(o=0;o<Zt;o+=1)if((ar[o].mode!=="a"&&ar[o].mode!=="n"||ar[o].inv||ar[o].o.k!==100||ar[o].o.x)&&(or="mask",sr="mask"),(ar[o].mode==="s"||ar[o].mode==="i")&&ir===0?(vr=createNS("rect"),vr.setAttribute("fill","#ffffff"),vr.setAttribute("width",this.element.comp.data.w||0),vr.setAttribute("height",this.element.comp.data.h||0),fr.push(vr)):vr=null,tr=createNS("path"),ar[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),elem:tr,lastPath:""},r.appendChild(tr);else{ir+=1,tr.setAttribute("fill",ar[o].mode==="s"?"#000000":"#ffffff"),tr.setAttribute("clip-rule","nonzero");var pr;if(ar[o].x.k!==0?(or="mask",sr="mask",Er=PropertyFactory.getProp(this.element,ar[o].x,0,null,this.element),pr=createElementID(),cr=createNS("filter"),cr.setAttribute("id",pr),ur=createNS("feMorphology"),ur.setAttribute("operator","erode"),ur.setAttribute("in","SourceGraphic"),ur.setAttribute("radius","0"),cr.appendChild(ur),r.appendChild(cr),tr.setAttribute("stroke",ar[o].mode==="s"?"#000000":"#ffffff")):(ur=null,Er=null),this.storedData[o]={elem:tr,x:Er,expan:ur,lastPath:"",lastOperator:"",filterId:pr,lastRadius:0},ar[o].mode==="i"){nr=fr.length;var dr=createNS("g");for(gr=0;gr<nr;gr+=1)dr.appendChild(fr[gr]);var Pr=createNS("mask");Pr.setAttribute("mask-type","alpha"),Pr.setAttribute("id",rr+"_"+ir),Pr.appendChild(tr),r.appendChild(Pr),dr.setAttribute("mask","url("+getLocationHref()+"#"+rr+"_"+ir+")"),fr.length=0,fr.push(dr)}else fr.push(tr);ar[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:tr,lastPath:"",op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),invRect:vr},this.viewData[o].prop.k||this.drawPath(ar[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(or),Zt=fr.length,o=0;o<Zt;o+=1)this.maskElement.appendChild(fr[o]);ir>0&&(this.maskElement.setAttribute("id",rr),this.element.maskedElement.setAttribute(sr,"url("+getLocationHref()+"#"+rr+")"),r.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,i,r=this.masksProperties.length;for(i=0;i<r;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var o=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),o.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,i){var r=" M"+e.v[0][0]+","+e.v[0][1],o,Zt;for(Zt=e._length,o=1;o<Zt;o+=1)r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[o][0]+","+e.i[o][1]+" "+e.v[o][0]+","+e.v[o][1];if(e.c&&Zt>1&&(r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var tr="";i.elem&&(e.c&&(tr=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",tr)),i.lastPath=r}},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=i;function e(r,o){var Zt=createNS("filter");return Zt.setAttribute("id",r),o!==!0&&(Zt.setAttribute("filterUnits","objectBoundingBox"),Zt.setAttribute("x","0%"),Zt.setAttribute("y","0%"),Zt.setAttribute("width","100%"),Zt.setAttribute("height","100%")),Zt}function i(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),Zt=filtersFactory.createFilter(o,!0),tr=0;this.filters=[];var ar;for(e=0;e<r;e+=1){ar=null;var ir=t.data.ef[e].ty;if(registeredEffects$1[ir]){var fr=registeredEffects$1[ir].effect;ar=new fr(Zt,t.effectsManager.effectElements[e],t,idPrefix+tr,i),i=idPrefix+tr,registeredEffects$1[ir].countsAsEffect&&(tr+=1)}ar&&this.filters.push(ar)}tr&&(t.globalData.defs.appendChild(Zt),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function registerEffect$1(t,e,i){registeredEffects$1[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var o=createElementID();if(i.setAttribute("id",o),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var Zt=createNS("g");Zt.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),Zt.appendChild(this.layerElement),this.transformedElement=Zt,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,r,o,Zt;if(t===1||t===3){var tr=createNS("mask");tr.setAttribute("id",e),tr.setAttribute("mask-type",t===3?"luminance":"alpha"),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tr.appendChild(o),this.globalData.defs.appendChild(tr),!featureSupport.maskType&&t===1&&(tr.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),Zt.appendChild(o),tr.appendChild(Zt),Zt.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var ar=createNS("mask");ar.setAttribute("id",e),ar.setAttribute("mask-type","alpha");var ir=createNS("g");ar.appendChild(ir),i=createElementID(),r=filtersFactory.createFilter(i);var fr=createNS("feComponentTransfer");fr.setAttribute("in","SourceGraphic"),r.appendChild(fr);var gr=createNS("feFuncA");gr.setAttribute("type","table"),gr.setAttribute("tableValues","1.0 0.0"),fr.appendChild(gr),this.globalData.defs.appendChild(r);var nr=createNS("rect");nr.setAttribute("width",this.comp.data.w),nr.setAttribute("height",this.comp.data.h),nr.setAttribute("x","0"),nr.setAttribute("y","0"),nr.setAttribute("fill","#ffffff"),nr.setAttribute("opacity","0"),ir.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),ir.appendChild(nr),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ir.appendChild(o),featureSupport.maskType||(ar.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),ir.appendChild(nr),Zt.appendChild(this.layerElement),ir.appendChild(Zt)),this.globalData.defs.appendChild(ar)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(e,i,r){this.initFrame(),this.initBaseData(e,i,r),this.initTransform(e,i,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,i=this.shapeModifiers.length;e<i;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var i;for(t=e-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,r=e.length;i<r;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,r=i.length;r;)if(r-=1,i[r].elem===t){i[r].pos=e;return}i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var r=0,o=t.length;r<o;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,i,r){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,Zt=e.length||0,tr;for(o=0;o<Zt;o+=1)tr=PropertyFactory.getProp(t,e[o].v,0,0,this),this.k=tr.k||this.k,this.dataProps[o]={n:e[o].n,p:tr};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<i;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var r=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,r=this.o.length/2,o;i<r;){if(o=Math.abs(t[i*4]-t[e*4+i*2]),o>.01)return!1;i+=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;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i=this.data.p*4,r,o;for(e=0;e<i;e+=1)r=e%4===0?100:255,o=Math.round(this.prop.v[e]*r),this.c[e]!==o&&(this.c[e]=o,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)r=e%2===0?100:1,o=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==o&&(this.o[e-this.data.p*4]=o,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),r=createNS(e.t===1?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var o=[],Zt,tr,ar;for(ar=e.g.p*4,tr=0;tr<ar;tr+=4)Zt=createNS("stop"),r.appendChild(Zt),o.push(Zt);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,o,Zt=createNS("mask"),tr=createNS("path");Zt.appendChild(tr);var ar=createElementID(),ir=createElementID();Zt.setAttribute("id",ir);var fr=createNS(t.t===1?"linearGradient":"radialGradient");fr.setAttribute("id",ar),fr.setAttribute("spreadMethod","pad"),fr.setAttribute("gradientUnits","userSpaceOnUse"),o=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var gr=this.stops;for(r=t.g.p*4;r<o;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),fr.appendChild(i),gr.push(i);tr.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+ar+")"),t.ty==="gs"&&(tr.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),tr.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&tr.setAttribute("stroke-miterlimit",t.ml)),this.of=fr,this.ms=Zt,this.ost=gr,this.maskId=ir,e.msElem=tr}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,e,i,r){if(e===0)return"";var o=t.o,Zt=t.i,tr=t.v,ar,ir=" M"+r.applyToPointStringified(tr[0][0],tr[0][1]);for(ar=1;ar<e;ar+=1)ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[ar][0],Zt[ar][1])+" "+r.applyToPointStringified(tr[ar][0],tr[ar][1]);return i&&e&&(ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[0][0],Zt[0][1])+" "+r.applyToPointStringified(tr[0][0],tr[0][1]),ir+="z"),ir},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(nr){switch(nr.ty){case"fl":return ar;case"gf":return fr;case"gs":return ir;case"st":return gr;case"sh":case"el":case"rc":case"sr":return tr;case"tr":return o;case"no":return Zt;default:return null}}function o(nr,rr,vr){(vr||rr.transform.op._mdf)&&rr.transform.container.setAttribute("opacity",rr.transform.op.v),(vr||rr.transform.mProps._mdf)&&rr.transform.container.setAttribute("transform",rr.transform.mProps.v.to2dCSS())}function Zt(){}function tr(nr,rr,vr){var cr,ur,Er,or,sr,pr,dr=rr.styles.length,Pr=rr.lvl,Ir,zr,$r,es;for(pr=0;pr<dr;pr+=1){if(or=rr.sh._mdf||vr,rr.styles[pr].lvl<Pr){for(zr=e.reset(),$r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;!or&&$r>0;)or=rr.transformers[es].mProps._mdf||or,$r-=1,es-=1;if(or)for($r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;$r>0;)zr.multiply(rr.transformers[es].mProps.v),$r-=1,es-=1}else zr=t;if(Ir=rr.sh.paths,ur=Ir._length,or){for(Er="",cr=0;cr<ur;cr+=1)sr=Ir.shapes[cr],sr&&sr._length&&(Er+=buildShapeString(sr,sr._length,sr.c,zr));rr.caches[pr]=Er}else Er=rr.caches[pr];rr.styles[pr].d+=nr.hd===!0?"":Er,rr.styles[pr]._mdf=or||rr.styles[pr]._mdf}}function ar(nr,rr,vr){var cr=rr.style;(rr.c._mdf||vr)&&cr.pElem.setAttribute("fill","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("fill-opacity",rr.o.v)}function ir(nr,rr,vr){fr(nr,rr,vr),gr(nr,rr,vr)}function fr(nr,rr,vr){var cr=rr.gf,ur=rr.g._hasOpacity,Er=rr.s.v,or=rr.e.v;if(rr.o._mdf||vr){var sr=nr.ty==="gf"?"fill-opacity":"stroke-opacity";rr.style.pElem.setAttribute(sr,rr.o.v)}if(rr.s._mdf||vr){var pr=nr.t===1?"x1":"cx",dr=pr==="x1"?"y1":"cy";cr.setAttribute(pr,Er[0]),cr.setAttribute(dr,Er[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute(pr,Er[0]),rr.of.setAttribute(dr,Er[1]))}var Pr,Ir,zr,$r;if(rr.g._cmdf||vr){Pr=rr.cst;var es=rr.g.c;for(zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],$r.setAttribute("offset",es[Ir*4]+"%"),$r.setAttribute("stop-color","rgb("+es[Ir*4+1]+","+es[Ir*4+2]+","+es[Ir*4+3]+")")}if(ur&&(rr.g._omdf||vr)){var hs=rr.g.o;for(rr.g._collapsable?Pr=rr.cst:Pr=rr.ost,zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],rr.g._collapsable||$r.setAttribute("offset",hs[Ir*2]+"%"),$r.setAttribute("stop-opacity",hs[Ir*2+1])}if(nr.t===1)(rr.e._mdf||vr)&&(cr.setAttribute("x2",or[0]),cr.setAttribute("y2",or[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute("x2",or[0]),rr.of.setAttribute("y2",or[1])));else{var ps;if((rr.s._mdf||rr.e._mdf||vr)&&(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)),cr.setAttribute("r",ps),ur&&!rr.g._collapsable&&rr.of.setAttribute("r",ps)),rr.e._mdf||rr.h._mdf||rr.a._mdf||vr){ps||(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)));var os=Math.atan2(or[1]-Er[1],or[0]-Er[0]),xs=rr.h.v;xs>=1?xs=.99:xs<=-1&&(xs=-.99);var is=ps*xs,cs=Math.cos(os+rr.a.v)*is+Er[0],Ar=Math.sin(os+rr.a.v)*is+Er[1];cr.setAttribute("fx",cs),cr.setAttribute("fy",Ar),ur&&!rr.g._collapsable&&(rr.of.setAttribute("fx",cs),rr.of.setAttribute("fy",Ar))}}}function gr(nr,rr,vr){var cr=rr.style,ur=rr.d;ur&&(ur._mdf||vr)&&ur.dashStr&&(cr.pElem.setAttribute("stroke-dasharray",ur.dashStr),cr.pElem.setAttribute("stroke-dashoffset",ur.dashoffset[0])),rr.c&&(rr.c._mdf||vr)&&cr.pElem.setAttribute("stroke","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("stroke-opacity",rr.o.v),(rr.w._mdf||vr)&&(cr.pElem.setAttribute("stroke-width",rr.w.v),cr.msElem&&cr.msElem.setAttribute("stroke-width",rr.w.v))}return i}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),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,i,r,o=this.stylesList.length,Zt,tr=[],ar=!1;for(r=0;r<o;r+=1){for(Zt=this.stylesList[r],ar=!1,tr.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(Zt)!==-1&&(tr.push(i),ar=i._isAnimated||ar);tr.length>1&&ar&&this.setShapesAsAnimated(tr)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,r=new SVGStyleData(t,e),o=r.pElem;if(t.ty==="st")i=new SVGStrokeStyleData(this,t,r);else if(t.ty==="fl")i=new SVGFillStyleData(this,t,r);else if(t.ty==="gf"||t.ty==="gs"){var Zt=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new Zt(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),o.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return(t.ty==="st"||t.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),o.setAttribute("fill-opacity","0"),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&o.setAttribute("fill-rule","evenodd"),t.ln&&o.setAttribute("id",t.ln),t.cl&&o.setAttribute("class",t.cl),t.bm&&(o.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var r=4;t.ty==="rc"?r=5:t.ty==="el"?r=6:t.ty==="sr"&&(r=7);var o=ShapePropertyFactory.getShapeProp(this,t,r,this),Zt=new SVGShapeData(e,i,o);return this.shapes.push(Zt),this.addShapeToModifiers(Zt),this.addToAnimatedContents(t,Zt),Zt},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,i,r=this.stylesList.length;for(i=0;i<r;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,r,o,Zt,tr){var ar=[].concat(Zt),ir,fr=t.length-1,gr,nr,rr=[],vr=[],cr,ur,Er;for(ir=fr;ir>=0;ir-=1){if(Er=this.searchProcessedElement(t[ir]),Er?e[ir]=i[Er-1]:t[ir]._render=tr,t[ir].ty==="fl"||t[ir].ty==="st"||t[ir].ty==="gf"||t[ir].ty==="gs"||t[ir].ty==="no")Er?e[ir].style.closed=!1:e[ir]=this.createStyleElement(t[ir],o),t[ir]._render&&e[ir].style.pElem.parentNode!==r&&r.appendChild(e[ir].style.pElem),rr.push(e[ir].style);else if(t[ir].ty==="gr"){if(!Er)e[ir]=this.createGroupElement(t[ir]);else for(nr=e[ir].it.length,gr=0;gr<nr;gr+=1)e[ir].prevViewData[gr]=e[ir].it[gr];this.searchShapes(t[ir].it,e[ir].it,e[ir].prevViewData,e[ir].gr,o+1,ar,tr),t[ir]._render&&e[ir].gr.parentNode!==r&&r.appendChild(e[ir].gr)}else t[ir].ty==="tr"?(Er||(e[ir]=this.createTransformElement(t[ir],r)),cr=e[ir].transform,ar.push(cr)):t[ir].ty==="sh"||t[ir].ty==="rc"||t[ir].ty==="el"||t[ir].ty==="sr"?(Er||(e[ir]=this.createShapeElement(t[ir],ar,o)),this.setElementStyles(e[ir])):t[ir].ty==="tm"||t[ir].ty==="rd"||t[ir].ty==="ms"||t[ir].ty==="pb"||t[ir].ty==="zz"||t[ir].ty==="op"?(Er?(ur=e[ir],ur.closed=!1):(ur=ShapeModifiers.getModifier(t[ir].ty),ur.init(this,t[ir]),e[ir]=ur,this.shapeModifiers.push(ur)),vr.push(ur)):t[ir].ty==="rp"&&(Er?(ur=e[ir],ur.closed=!0):(ur=ShapeModifiers.getModifier(t[ir].ty),e[ir]=ur,ur.init(this,t,ir,e),this.shapeModifiers.push(ur),tr=!1),vr.push(ur));this.addProcessedElement(t[ir],ir+1)}for(fr=rr.length,ir=0;ir<fr;ir+=1)rr[ir].closed=!0;for(fr=vr.length,ir=0;ir<fr;ir+=1)vr[ir].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,i;for(t=0;t<e;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,i,r,o,Zt){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=o,this.p=Zt,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,i,r,o,Zt){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var tr=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,tr=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,tr=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,tr=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,tr=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,tr=!0),Zt.length&&(this.p[0]!==Zt[0]||this.p[1]!==Zt[1]||this.p[4]!==Zt[4]||this.p[5]!==Zt[5]||this.p[12]!==Zt[12]||this.p[13]!==Zt[13])&&(this.p=Zt,this._mdf.p=!0,tr=!0),tr};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,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,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,o=this.effectsSequence.length,Zt=t||this.data.d.k[this.keysIndex].s;for(r=0;r<o;r+=1)i!==this.keysIndex?Zt=this.effectsSequence[r](Zt,Zt.t):Zt=this.effectsSequence[r](this.currentData,Zt.t);e!==Zt&&this.setCurrentData(Zt),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,r=t.length;i<=r-1&&!(i===r-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],i=0,r=t.length,o,Zt,tr=!1,ar=!1,ir="";i<r;)tr=ar,ar=!1,o=t.charCodeAt(i),ir=t.charAt(i),FontManager.isCombinedCharacter(o)?tr=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(t,i)?ir=t.substr(i,14):(Zt=t.charCodeAt(i+1),Zt>=56320&&Zt<=57343&&(FontManager.isModifier(o,Zt)?(ir=t.substr(i,2),tr=!0):FontManager.isFlagEmoji(t.substr(i,4))?ir=t.substr(i,4):ir=t.substr(i,2))):o>56319?(Zt=t.charCodeAt(i+1),FontManager.isVariationSelector(o)&&(tr=!0)):FontManager.isZeroWidthJoiner(o)&&(tr=!0,ar=!0),tr?(e[e.length-1]+=ir,tr=!1):e.push(ir),i+=ir.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],o,Zt,tr,ar=0,ir,fr=i.m.g,gr=0,nr=0,rr=0,vr=[],cr=0,ur=0,Er,or,sr=e.getFontByName(t.f),pr,dr=0,Pr=getFontProperties(sr);t.fWeight=Pr.weight,t.fStyle=Pr.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),Zt=t.finalText.length,t.finalLineHeight=t.lh;var Ir=t.tr/1e3*t.finalSize,zr;if(t.sz)for(var $r=!0,es=t.sz[0],hs=t.sz[1],ps,os;$r;){os=this.buildFinalText(t.t),ps=0,cr=0,Zt=os.length,Ir=t.tr/1e3*t.finalSize;var xs=-1;for(o=0;o<Zt;o+=1)zr=os[o].charCodeAt(0),tr=!1,os[o]===" "?xs=o:(zr===13||zr===3)&&(cr=0,tr=!0,ps+=t.finalLineHeight||t.finalSize*1.2),e.chars?(pr=e.getCharData(os[o],sr.fStyle,sr.fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(os[o],t.f,t.finalSize),cr+dr>es&&os[o]!==" "?(xs===-1?Zt+=1:o=xs,ps+=t.finalLineHeight||t.finalSize*1.2,os.splice(o,xs===o?1:0,"\r"),xs=-1,cr=0):(cr+=dr,cr+=Ir);ps+=sr.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&hs<ps?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=os,Zt=t.finalText.length,$r=!1)}cr=-Ir,dr=0;var is=0,cs;for(o=0;o<Zt;o+=1)if(tr=!1,cs=t.finalText[o],zr=cs.charCodeAt(0),zr===13||zr===3?(is=0,vr.push(cr),ur=cr>ur?cr:ur,cr=-2*Ir,ir="",tr=!0,rr+=1):ir=cs,e.chars?(pr=e.getCharData(cs,sr.fStyle,e.getFontByName(t.f).fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(ir,t.f,t.finalSize),cs===" "?is+=dr+Ir:(cr+=dr+Ir+is,is=0),r.push({l:dr,an:dr,add:gr,n:tr,anIndexes:[],val:ir,line:rr,animatorJustifyOffset:0}),fr==2){if(gr+=dr,ir===""||ir===" "||o===Zt-1){for((ir===""||ir===" ")&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;ar+=1,gr=0}}else if(fr==3){if(gr+=dr,ir===""||o===Zt-1){for(ir===""&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;gr=0,ar+=1}}else r[ar].ind=ar,r[ar].extra=0,ar+=1;if(t.l=r,ur=cr>ur?cr:ur,vr.push(cr),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=ur,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=vr;var Ar=i.a,Tr,yr;or=Ar.length;var Mr,Ur,jr=[];for(Er=0;Er<or;Er+=1){for(Tr=Ar[Er],Tr.a.sc&&(t.strokeColorAnim=!0),Tr.a.sw&&(t.strokeWidthAnim=!0),(Tr.a.fc||Tr.a.fh||Tr.a.fs||Tr.a.fb)&&(t.fillColorAnim=!0),Ur=0,Mr=Tr.s.b,o=0;o<Zt;o+=1)yr=r[o],yr.anIndexes[Er]=Ur,(Mr==1&&yr.val!==""||Mr==2&&yr.val!==""&&yr.val!==" "||Mr==3&&(yr.n||yr.val==" "||o==Zt-1)||Mr==4&&(yr.n||o==Zt-1))&&(Tr.s.rn===1&&jr.push(Ur),Ur+=1);i.a[Er].s.totalChars=Ur;var Vs=-1,Ts;if(Tr.s.rn===1)for(o=0;o<Zt;o+=1)yr=r[o],Vs!=yr.anIndexes[Er]&&(Vs=yr.anIndexes[Er],Ts=jr.splice(Math.floor(Math.random()*jr.length),1)[0]),yr.anIndexes[Er]=Ts}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=sr.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,i=Math.floor;function r(Zt,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=Zt,this.comp=Zt.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Zt),this.s=PropertyFactory.getProp(Zt,tr.s||{k:0},0,0,this),"e"in tr?this.e=PropertyFactory.getProp(Zt,tr.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(Zt,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(Zt,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(Zt,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(Zt,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(Zt,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(Zt){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var tr=0,ar=0,ir=1,fr=1;this.ne.v>0?tr=this.ne.v/100:ar=-this.ne.v/100,this.xe.v>0?ir=1-this.xe.v/100:fr=1+this.xe.v/100;var gr=BezierFactory.getBezierEasing(tr,ar,ir,fr).get,nr=0,rr=this.finalS,vr=this.finalE,cr=this.data.sh;if(cr===2)vr===rr?nr=Zt>=vr?1:0:nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===3)vr===rr?nr=Zt>=vr?0:1:nr=1-t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===4)vr===rr?nr=0:(nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr<.5?nr*=2:nr=1-2*(nr-.5)),nr=gr(nr);else if(cr===5){if(vr===rr)nr=0;else{var ur=vr-rr;Zt=e(t(0,Zt+.5-rr),vr-rr);var Er=-ur/2+Zt,or=ur/2;nr=Math.sqrt(1-Er*Er/(or*or))}nr=gr(nr)}else cr===6?(vr===rr?nr=0:(Zt=e(t(0,Zt+.5-rr),vr-rr),nr=(1+Math.cos(Math.PI+Math.PI*2*Zt/(vr-rr)))/2),nr=gr(nr)):(Zt>=i(rr)&&(Zt-rr<0?nr=t(0,e(e(vr,1)-(rr-Zt),1)):nr=t(0,e(vr-Zt,1))),nr=gr(nr));if(this.sm.v!==100){var sr=this.sm.v*.01;sr===0&&(sr=1e-8);var pr=.5-sr*.5;nr<pr?nr=0:(nr=(nr-pr)/sr,nr>1&&(nr=1))}return nr*this.a.v},getValue:function(Zt){this.iterateDynamicProperties(),this._mdf=Zt||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Zt&&this.data.r===2&&(this.e.v=this._currentTextLength);var tr=this.data.r===2?1:100/this.data.totalChars,ar=this.o.v/tr,ir=this.s.v/tr+ar,fr=this.e.v/tr+ar;if(ir>fr){var gr=ir;ir=fr,fr=gr}this.finalS=ir,this.finalE=fr}},extendPrototype([DynamicPropertyContainer],r);function o(Zt,tr,ar){return new r(Zt,tr)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},o=PropertyFactory.getProp,Zt=e.a;this.a={r:Zt.r?o(t,Zt.r,0,degToRads,i):r,rx:Zt.rx?o(t,Zt.rx,0,degToRads,i):r,ry:Zt.ry?o(t,Zt.ry,0,degToRads,i):r,sk:Zt.sk?o(t,Zt.sk,0,degToRads,i):r,sa:Zt.sa?o(t,Zt.sa,0,degToRads,i):r,s:Zt.s?o(t,Zt.s,1,.01,i):r,a:Zt.a?o(t,Zt.a,1,0,i):r,o:Zt.o?o(t,Zt.o,0,.01,i):r,p:Zt.p?o(t,Zt.p,1,0,i):r,sw:Zt.sw?o(t,Zt.sw,0,0,i):r,sc:Zt.sc?o(t,Zt.sc,1,0,i):r,fc:Zt.fc?o(t,Zt.fc,1,0,i):r,fh:Zt.fh?o(t,Zt.fh,0,0,i):r,fs:Zt.fs?o(t,Zt.fs,0,.01,i):r,fb:Zt.fb?o(t,Zt.fb,0,.01,i):r,t:Zt.t?o(t,Zt.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,r=PropertyFactory.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,r=this._animatorsData,o=this._textData,Zt=this.mHelper,tr=this._renderType,ar=this.renderedLetters.length,ir,fr,gr,nr,rr=t.l,vr,cr,ur,Er,or,sr,pr,dr,Pr,Ir,zr,$r,es,hs,ps;if(this._hasMaskedPath){if(ps=this._pathData.m,!this._pathData.n||this._pathData._mdf){var os=ps.v;this._pathData.r.v&&(os=os.reverse()),vr={tLength:0,segments:[]},nr=os._length-1;var xs;for($r=0,gr=0;gr<nr;gr+=1)xs=bez.buildBezierData(os.v[gr],os.v[gr+1],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[gr+1][0]-os.v[gr+1][0],os.i[gr+1][1]-os.v[gr+1][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength;gr=nr,ps.v.c&&(xs=bez.buildBezierData(os.v[gr],os.v[0],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[0][0]-os.v[0][0],os.i[0][1]-os.v[0][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength),this._pathData.pi=vr}if(vr=this._pathData.pi,cr=this._pathData.f.v,pr=0,sr=1,Er=0,or=!0,Ir=vr.segments,cr<0&&ps.v.c)for(vr.tLength<Math.abs(cr)&&(cr=-Math.abs(cr)%vr.tLength),pr=Ir.length-1,Pr=Ir[pr].points,sr=Pr.length-1;cr<0;)cr+=Pr[sr].partialLength,sr-=1,sr<0&&(pr-=1,Pr=Ir[pr].points,sr=Pr.length-1);Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength}nr=rr.length,ir=0,fr=0;var is=t.finalSize*1.2*.714,cs=!0,Ar,Tr,yr,Mr,Ur;Mr=r.length;var jr,Vs=-1,Ts,Ns,Bs,Ys=cr,Hs=pr,Qs=sr,na=-1,ra,$s,sa,Rs,Ms,ua,ka,ya,la="",_a=this.defaultPropsArray,ca;if(t.j===2||t.j===1){var aa=0,da=0,js=t.j===2?-.5:-1,Us=0,qs=!0;for(gr=0;gr<nr;gr+=1)if(rr[gr].n){for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1;aa=0,qs=!0}else{for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(qs&&t.j===2&&(da+=Ar.t.v*js),Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?aa+=Ar.t.v*jr[0]*js:aa+=Ar.t.v*jr*js);qs=!1}for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1}for(gr=0;gr<nr;gr+=1){if(Zt.reset(),ra=1,rr[gr].n)ir=0,fr+=t.yOffset,fr+=cs?1:0,cr=Ys,cs=!1,this._hasMaskedPath&&(pr=Hs,sr=Qs,Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength,Er=0),la="",ya="",ua="",ca="",_a=this.defaultPropsArray;else{if(this._hasMaskedPath){if(na!==rr[gr].line){switch(t.j){case 1:cr+=$r-t.lineWidths[rr[gr].line];break;case 2:cr+=($r-t.lineWidths[rr[gr].line])/2;break}na=rr[gr].line}Vs!==rr[gr].ind&&(rr[Vs]&&(cr+=rr[Vs].extra),cr+=rr[gr].an/2,Vs=rr[gr].ind),cr+=i[0]*rr[gr].an*.005;var ta=0;for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.p.v[0]*jr[0]:ta+=Ar.p.v[0]*jr),Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.a.v[0]*jr[0]:ta+=Ar.a.v[0]*jr);for(or=!0,this._pathData.a.v&&(cr=rr[0].an*.5+($r-this._pathData.f.v-rr[0].an*.5-rr[rr.length-1].an*.5)*Vs/(nr-1),cr+=this._pathData.f.v);or;)Er+zr>=cr+ta||!Pr?(es=(cr+ta-Er)/ur.partialLength,Ns=dr.point[0]+(ur.point[0]-dr.point[0])*es,Bs=dr.point[1]+(ur.point[1]-dr.point[1])*es,Zt.translate(-i[0]*rr[gr].an*.005,-(i[1]*is)*.01),or=!1):Pr&&(Er+=ur.partialLength,sr+=1,sr>=Pr.length&&(sr=0,pr+=1,Ir[pr]?Pr=Ir[pr].points:ps.v.c?(sr=0,pr=0,Pr=Ir[pr].points):(Er-=ur.partialLength,Pr=null)),Pr&&(dr=ur,ur=Pr[sr],zr=ur.partialLength));Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0)}else Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0),Zt.translate(-i[0]*rr[gr].an*.005,-i[1]*is*.01,0);for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),(ir!==0||t.j!==0)&&(this._hasMaskedPath?jr.length?cr+=Ar.t.v*jr[0]:cr+=Ar.t.v*jr:jr.length?ir+=Ar.t.v*jr[0]:ir+=Ar.t.v*jr));for(t.strokeWidthAnim&&(sa=t.sw||0),t.strokeColorAnim&&(t.sc?$s=[t.sc[0],t.sc[1],t.sc[2]]:$s=[0,0,0]),t.fillColorAnim&&t.fc&&(Rs=[t.fc[0],t.fc[1],t.fc[2]]),yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.translate(-Ar.a.v[0]*jr[0],-Ar.a.v[1]*jr[1],Ar.a.v[2]*jr[2]):Zt.translate(-Ar.a.v[0]*jr,-Ar.a.v[1]*jr,Ar.a.v[2]*jr));for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.s.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.scale(1+(Ar.s.v[0]-1)*jr[0],1+(Ar.s.v[1]-1)*jr[1],1):Zt.scale(1+(Ar.s.v[0]-1)*jr,1+(Ar.s.v[1]-1)*jr,1));for(yr=0;yr<Mr;yr+=1){if(Ar=r[yr].a,Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),Ar.sk.propType&&(jr.length?Zt.skewFromAxis(-Ar.sk.v*jr[0],Ar.sa.v*jr[1]):Zt.skewFromAxis(-Ar.sk.v*jr,Ar.sa.v*jr)),Ar.r.propType&&(jr.length?Zt.rotateZ(-Ar.r.v*jr[2]):Zt.rotateZ(-Ar.r.v*jr)),Ar.ry.propType&&(jr.length?Zt.rotateY(Ar.ry.v*jr[1]):Zt.rotateY(Ar.ry.v*jr)),Ar.rx.propType&&(jr.length?Zt.rotateX(Ar.rx.v*jr[0]):Zt.rotateX(Ar.rx.v*jr)),Ar.o.propType&&(jr.length?ra+=(Ar.o.v*jr[0]-ra)*jr[0]:ra+=(Ar.o.v*jr-ra)*jr),t.strokeWidthAnim&&Ar.sw.propType&&(jr.length?sa+=Ar.sw.v*jr[0]:sa+=Ar.sw.v*jr),t.strokeColorAnim&&Ar.sc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr[0]:$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr;if(t.fillColorAnim&&t.fc){if(Ar.fc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr[0]:Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr;Ar.fh.propType&&(jr.length?Rs=addHueToRGB(Rs,Ar.fh.v*jr[0]):Rs=addHueToRGB(Rs,Ar.fh.v*jr)),Ar.fs.propType&&(jr.length?Rs=addSaturationToRGB(Rs,Ar.fs.v*jr[0]):Rs=addSaturationToRGB(Rs,Ar.fs.v*jr)),Ar.fb.propType&&(jr.length?Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr[0]):Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr))}}for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),this._hasMaskedPath?jr.length?Zt.translate(0,Ar.p.v[1]*jr[0],-Ar.p.v[2]*jr[1]):Zt.translate(0,Ar.p.v[1]*jr,-Ar.p.v[2]*jr):jr.length?Zt.translate(Ar.p.v[0]*jr[0],Ar.p.v[1]*jr[1],-Ar.p.v[2]*jr[2]):Zt.translate(Ar.p.v[0]*jr,Ar.p.v[1]*jr,-Ar.p.v[2]*jr));if(t.strokeWidthAnim&&(ua=sa<0?0:sa),t.strokeColorAnim&&(ka="rgb("+Math.round($s[0]*255)+","+Math.round($s[1]*255)+","+Math.round($s[2]*255)+")"),t.fillColorAnim&&t.fc&&(ya="rgb("+Math.round(Rs[0]*255)+","+Math.round(Rs[1]*255)+","+Math.round(Rs[2]*255)+")"),this._hasMaskedPath){if(Zt.translate(0,-t.ls),Zt.translate(0,i[1]*is*.01+fr,0),this._pathData.p.v){hs=(ur.point[1]-dr.point[1])/(ur.point[0]-dr.point[0]);var ga=Math.atan(hs)*180/Math.PI;ur.point[0]<dr.point[0]&&(ga+=180),Zt.rotate(-ga*Math.PI/180)}Zt.translate(Ns,Bs,0),cr-=i[0]*rr[gr].an*.005,rr[gr+1]&&Vs!==rr[gr+1].ind&&(cr+=rr[gr].an/2,cr+=t.tr*.001*t.finalSize)}else{switch(Zt.translate(ir,fr,0),t.ps&&Zt.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line]),0,0);break;case 2:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line])/2,0,0);break}Zt.translate(0,-t.ls),Zt.translate(Ts,0,0),Zt.translate(i[0]*rr[gr].an*.005,i[1]*is*.01,0),ir+=rr[gr].l+t.tr*.001*t.finalSize}tr==="html"?la=Zt.toCSS():tr==="svg"?la=Zt.to2dCSS():_a=[Zt.props[0],Zt.props[1],Zt.props[2],Zt.props[3],Zt.props[4],Zt.props[5],Zt.props[6],Zt.props[7],Zt.props[8],Zt.props[9],Zt.props[10],Zt.props[11],Zt.props[12],Zt.props[13],Zt.props[14],Zt.props[15]],ca=ra}ar<=gr?(Ur=new LetterProps(ca,ua,ka,ya,la,_a),this.renderedLetters.push(Ur),ar+=1,this.lettersChangedFlag=!0):(Ur=this.renderedLetters[gr],this.lettersChangedFlag=Ur.update(ca,ua,ka,ya,la,_a)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var i,r=e.length,o,Zt="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(o=e[i].ks.k,Zt+=buildShapeString(o,o.i.length,!0,t));return Zt},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,r,o){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break}e.translate(r,o,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,r=[],o="";e<i;)t[e]==="\r"||t[e]==="�"?(r.push(o),o=""):o+=t[e],e+=1;return r.push(o),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var r=i.it[i.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var o=i.fWeight,Zt=i.fStyle;this.layerElement.setAttribute("font-style",Zt),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",i.t);var tr=i.l||[],ar=!!this.globalData.fontManager.chars;e=tr.length;var ir,fr=this.mHelper,gr="",nr=this.data.singleShape,rr=0,vr=0,cr=!0,ur=i.tr*.001*i.finalSize;if(nr&&!ar&&!i.sz){var Er=this.textContainer,or="start";switch(i.j){case 1:or="end";break;case 2:or="middle";break;default:or="start";break}Er.setAttribute("text-anchor",or),Er.setAttribute("letter-spacing",ur);var sr=this.buildTextContents(i.finalText);for(e=sr.length,vr=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)ir=this.textSpans[t].span||createNS("tspan"),ir.textContent=sr[t],ir.setAttribute("x",0),ir.setAttribute("y",vr),ir.style.display="inherit",Er.appendChild(ir),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=ir,vr+=i.finalLineHeight;this.layerElement.appendChild(Er)}else{var pr=this.textSpans.length,dr;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!ar||!nr||t===0){if(ir=pr>t?this.textSpans[t].span:createNS(ar?"g":"text"),pr<=t){if(ir.setAttribute("stroke-linecap","butt"),ir.setAttribute("stroke-linejoin","round"),ir.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=ir,ar){var Pr=createNS("g");ir.appendChild(Pr),this.textSpans[t].childSpan=Pr}this.textSpans[t].span=ir,this.layerElement.appendChild(ir)}ir.style.display="inherit"}if(fr.reset(),nr&&(tr[t].n&&(rr=-ur,vr+=i.yOffset,vr+=cr?1:0,cr=!1),this.applyTextPropertiesToMatrix(i,fr,tr[t].line,rr,vr),rr+=tr[t].l||0,rr+=ur),ar){dr=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var Ir;if(dr.t===1)Ir=new SVGCompElement(dr.data,this.globalData,this);else{var zr=emptyShapeData;dr.data&&dr.data.shapes&&(zr=this.buildShapeData(dr.data,i.finalSize)),Ir=new SVGShapeElement(zr,this.globalData,this)}if(this.textSpans[t].glyph){var $r=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild($r.layerElement),$r.destroy()}this.textSpans[t].glyph=Ir,Ir._debug=!0,Ir.prepareFrame(0),Ir.renderFrame(),this.textSpans[t].childSpan.appendChild(Ir.layerElement),dr.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else nr&&ir.setAttribute("transform","translate("+fr.props[12]+","+fr.props[13]+")"),ir.textContent=tr[t].val,ir.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}nr&&ir&&ir.setAttribute("d",gr)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,i=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;e=r.length;var o,Zt,tr;for(t=0;t<e;t+=1)r[t].n||(o=i[t],Zt=this.textSpans[t].span,tr=this.textSpans[t].glyph,tr&&tr.renderFrame(),o._mdf.m&&Zt.setAttribute("transform",o.m),o._mdf.o&&Zt.setAttribute("op
846acity",o.o),o._mdf.sw&&Zt.setAttribute("stroke-width",o.sw),o._mdf.sc&&Zt.setAttribute("stroke",o.sc),o._mdf.fc&&Zt.setAttribute("fill",o.fc))}};function ISolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var o=createElementID();i.setAttribute("id",o),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(i);else{var o=e[r],Zt=o.getMatte(this.layers[t].tt);i.setMatte(Zt)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,o=this.elements[r],Zt=o.getMatte(this.layers[e].tt);t.setMatte(Zt);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=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<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var r=0,o;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&
vendor: 5,438 bytes, line 846
846(o=this.elements[r].getBaseElement()),r+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var r=createNS("title"),o=createElementID();r.setAttribute("id",o),r.textContent=e.title,this.svgElement.appendChild(r),i+=o}if(e&&e.description){var Zt=createNS("desc"),tr=createElementID();Zt.setAttribute("id",tr),Zt.textContent=e.description,this.svgElement.appendChild(Zt),i+=" "+tr}i&&this.svgElement.setAttribute("aria-labelledby",i);var ar=createNS("defs");this.svgElement.appendChild(ar);var ir=createNS("g");this.svgElement.appendChild(ir),this.layerElement=ir,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ar,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,i=t.length,r="_";for(e=0;e<i;e+=1)r+=t[e].transform.key+"_";var o=this.sequences[r];return o||(o={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=o,this.sequenceList.push(o)),o},processSequence:function(t,e){for(var i=0,r=t.transforms.length,o=e;i<r&&!e;){if(t.transforms[i].transform.mProps._mdf){o=!0;break}i+=1}if(o)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=o},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,i=null,r=null;function o(){var ar=createNS("svg"),ir=createNS("filter"),fr=createNS("feColorMatrix");return ir.setAttribute("id",t),fr.setAttribute("type","matrix"),fr.setAttribute("color-interpolation-filters","sRGB"),fr.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),ir.appendChild(fr),ar.appendChild(ir),ar.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(ar.style.display="none"),ar}function Zt(){e||(r=o(),document.body.appendChild(r),e=createTag("canvas"),i=e.getContext("2d"),i.filter="url
846(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function tr(ar){return e||Zt(),e.width=ar.width,e.height=ar.height,i.filter="url(#"+t+")",e}return{load:Zt,get:tr}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var i=createTag("canvas");return i.width=t,i.height=e,i}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;this.filters=[];var r;for(e=0;e<i;e+=1){r=null;var o=t.data.ef[e].ty;if(registeredEffects[o]){var Zt=registeredEffects[o].effect;r=new Zt(t.effectsManager.effectElements[e],t)}r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,r=this.masksProperties.length,o=!1;for(i=0;i<r;i+=1)this.masksProperties[i].mode!=="n"&&(o=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,i,r=this.masksProperties.length,o,Zt,tr;for(e.beginPath(),i=0;i<r;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),tr=this.viewData[i].v,o=t.applyToPointArray(tr.v[0][0],tr.v[0][1],0),e.moveTo(o[0],o[1]);var ar,ir=tr._length;for(ar=1;ar<ir;ar+=1)Zt=t.applyToTriplePoints(tr.o[ar-1],tr.i[ar],tr.v[ar]),e.bezierCurveTo(Zt[0],Zt[1],Zt[2],Zt[3],Zt[4],Zt[5]);Zt=t.applyToTriplePoints(tr.o[ar-1],tr.i[0],tr.v[0]),e.bezierCurveTo(Zt[0],Zt[1],Zt[2],Zt[3],Zt[4],Zt[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");this.clearCanvas(e),e.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 i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas),o=r.getContext("2d");o.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),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;
vendor: 87,197 bytes, line 846
846function CVShapeData(t,e,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;e.ty==="rc"?o=5:e.ty==="el"?o=6:e.ty==="sr"&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var Zt,tr=i.length,ar;for(Zt=0;Zt<tr;Zt+=1)i[Zt].closed||(ar={transforms:r.addTransformSequence(i[Zt].transforms),trNodes:[]},this.styledShapes.push(ar),i[Zt].elements.push(ar))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:t.hd===!0},r={};if(t.ty==="fl"||t.ty==="st"?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(i.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):(t.ty==="gf"||t.ty==="gs")&&(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),t.ty==="st"||t.ty==="gs"){if(i.lc=lineCapEnum[t.lc||2],i.lj=lineJoinEnum[t.lj||2],t.lj==1&&(i.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(i.wi=r.w.v),t.d){var o=new DashProperty(this,t.d,"canvas",this);r.d=o,r.d.k||(i.da=r.d.dashArray,i.do=r.d.dashoffset[0])}}else i.r=t.r===2?"evenodd":"nonzero";return this.stylesList.push(i),r.style=i,r},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,r,o){var Zt,tr=t.length-1,ar,ir,fr=[],gr=[],nr,rr,vr,cr=[].concat(o);for(Zt=tr;Zt>=0;Zt-=1){if(nr=this.searchProcessedElement(t[Zt]),nr?e[Zt]=i[nr-1]:t[Zt]._shouldRender=r,t[Zt].ty==="fl"||t[Zt].ty==="st"||t[Zt].ty==="gf"||t[Zt].ty==="gs")nr?e[Zt].style.closed=!1:e[Zt]=this.createStyleElement(t[Zt],cr),fr.push(e[Zt].style);else if(t[Zt].ty==="gr"){if(!nr)e[Zt]=this.createGroupElement(t[Zt]);else for(ir=e[Zt].it.length,ar=0;ar<ir;ar+=1)e[Zt].prevViewData[ar]=e[Zt].it[ar];this.searchShapes(t[Zt].it,e[Zt].it,e[Zt].prevViewData,r,cr)}else t[Zt].ty==="tr"?(nr||(vr=this.createTransformElement(t[Zt]),e[Zt]=vr),cr.push(e[Zt]),this.addTransformToStyleList(e[Zt])):t[Zt].ty==="sh"||t[Zt].ty==="rc"||t[Zt].ty==="el"||t[Zt].ty==="sr"?nr||(e[Zt]=this.createShapeElement(t[Zt])):t[Zt].ty==="tm"||t[Zt].ty==="rd"||t[Zt].ty==="pb"||t[Zt].ty==="zz"||t[Zt].ty==="op"?(nr?(rr=e[Zt],rr.closed=!1):(rr=ShapeModifiers.getModifier(t[Zt].ty),rr.init(this,t[Zt]),e[Zt]=rr,this.shapeModifiers.push(rr)),gr.push(rr)):t[Zt].ty==="rp"&&(nr?(rr=e[Zt],rr.closed=!0):(rr=ShapeModifiers.getModifier(t[Zt].ty),e[Zt]=rr,rr.init(this,t,Zt,e),this.shapeModifiers.push(rr),r=!1),gr.push(rr));this.addProcessedElement(t[Zt],Zt+1)}for(this.removeTransformFromStyleList(),this.closeStyles(fr),tr=gr.length,Zt=0;Zt<tr;Zt+=1)gr[Zt].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e=this.stylesList.length,i,r,o,Zt,tr,ar,ir=this.globalData.renderer,fr=this.globalData.canvasContext,gr,nr;for(t=0;t<e;t+=1)if(nr=this.stylesList[t],gr=nr.type,!((gr==="st"||gr==="gs")&&nr.wi===0||!nr.data._shouldRender||nr.coOp===0||this.globalData.currentGlobalAlpha===0)){for(ir.save(),tr=nr.elements,gr==="st"||gr==="gs"?(ir.ctxStrokeStyle(gr==="st"?nr.co:nr.grd),ir.ctxLineWidth(nr.wi),ir.ctxLineCap(nr.lc),ir.ctxLineJoin(nr.lj),ir.ctxMiterLimit(nr.ml||0)):ir.ctxFillStyle(gr==="fl"?nr.co:nr.grd),ir.ctxOpacity(nr.coOp),gr!=="st"&&gr!=="gs"&&fr.beginPath(),ir.ctxTransform(nr.preTransforms.finalTransform.props),r=tr.length,i=0;i<r;i+=1){for((gr==="st"||gr==="gs")&&(fr.beginPath(),nr.da&&(fr.setLineDash(nr.da),fr.lineDashOffset=nr.do)),ar=tr[i].trNodes,Zt=ar.length,o=0;o<Zt;o+=1)ar[o].t==="m"?fr.moveTo(ar[o].p[0],ar[o].p[1]):ar[o].t==="c"?fr.bezierCurveTo(ar[o].pts[0],ar[o].pts[1],ar[o].pts[2],ar[o].pts[3],ar[o].pts[4],ar[o].pts[5]):fr.closePath();(gr==="st"||gr==="gs")&&(ir.ctxStroke(),nr.da&&fr.setLineDash(this.dashResetter))}gr!=="st"&&gr!=="gs"&&this.globalData.renderer.ctxFill(nr.r),ir.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,r){var o,Zt=e.length-1,tr;for(tr=t,o=Zt;o>=0;o-=1)e[o].ty==="tr"?(tr=i[o].transform,this.renderShapeTransform(t,tr)):e[o].ty==="sh"||e[o].ty==="el"||e[o].ty==="rc"||e[o].ty==="sr"?this.renderPath(e[o],i[o]):e[o].ty==="fl"?this.renderFill(e[o],i[o],tr):e[o].ty==="st"?this.renderStroke(e[o],i[o],tr):e[o].ty==="gf"||e[o].ty==="gs"?this.renderGradientFill(e[o],i[o],tr):e[o].ty==="gr"?this.renderShape(tr,e[o].it,i[o].it):e[o].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i=t.trNodes,r=e.paths,o,Zt,tr,ar=r._length;i.length=0;var ir=t.transforms.finalTransform;for(tr=0;tr<ar;tr+=1){var fr=r.shapes[tr];if(fr&&fr.v){for(Zt=fr._length,o=1;o<Zt;o+=1)o===1&&i.push({t:"m",p:ir.applyToPointArray(fr.v[0][0],fr.v[0][1],0)}),i.push({t:"c",pts:ir.applyToTriplePoints(fr.o[o-1],fr.i[o],fr.v[o])});Zt===1&&i.push({t:"m",p:ir.applyToPointArray(fr.v[0][0],fr.v[0][1],0)}),fr.c&&Zt&&(i.push({t:"c",pts:ir.applyToTriplePoints(fr.o[o-1],fr.i[0],fr.v[0])}),i.push({t:"z"}))}}t.trNodes=i}},CVShapeElement.prototype.renderPath=function(t,e){if(t.hd!==!0&&t._shouldRender){var i,r=e.styledShapes.length;for(i=0;i<r;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,i){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var r=e.style,o;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var Zt=this.globalData.canvasContext,tr=e.s.v,ar=e.e.v;if(t.t===1)o=Zt.createLinearGradient(tr[0],tr[1],ar[0],ar[1]);else{var ir=Math.sqrt(Math.pow(tr[0]-ar[0],2)+Math.pow(tr[1]-ar[1],2)),fr=Math.atan2(ar[1]-tr[1],ar[0]-tr[0]),gr=e.h.v;gr>=1?gr=.99:gr<=-1&&(gr=-.99);var nr=ir*gr,rr=Math.cos(fr+e.a.v)*nr+tr[0],vr=Math.sin(fr+e.a.v)*nr+tr[1];o=Zt.createRadialGradient(rr,vr,0,tr[0],tr[1],ir)}var cr,ur=t.g.p,Er=e.g.c,or=1;for(cr=0;cr<ur;cr+=1)e.g._hasOpacity&&e.g._collapsable&&(or=e.g.o[cr*2+1]),o.addColorStop(Er[cr*4]/100,"rgba("+Er[cr*4+1]+","+Er[cr*4+2]+","+Er[cr*4+3]+","+or+")");r.grd=o}r.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var r=e.style,o=e.d;o&&(o._mdf||this._isFirstFrame)&&(r.da=o.dashArray,r.do=o.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(r.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(t,e,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r=this.globalData.fontManager.getFontByName(t.f),o,Zt,tr=t.l,ar=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,Zt=t.finalText.length;var ir,fr,gr,nr,rr,vr,cr,ur,Er,or,sr=this.data.singleShape,pr=t.tr*.001*t.finalSize,dr=0,Pr=0,Ir=!0,zr=0;for(o=0;o<Zt;o+=1){ir=this.globalData.fontManager.getCharData(t.finalText[o],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),fr=ir&&ir.data||{},ar.reset(),sr&&tr[o].n&&(dr=-pr,Pr+=t.yOffset,Pr+=Ir?1:0,Ir=!1),rr=fr.shapes?fr.shapes[0].it:[],cr=rr.length,ar.scale(t.finalSize/100,t.finalSize/100),sr&&this.applyTextPropertiesToMatrix(t,ar,tr[o].line,dr,Pr),Er=createSizedArray(cr-1);var $r=0;for(vr=0;vr<cr;vr+=1)if(rr[vr].ty==="sh"){for(nr=rr[vr].ks.k.i.length,ur=rr[vr].ks.k,or=[],gr=1;gr<nr;gr+=1)gr===1&&or.push(ar.applyToX(ur.v[0][0],ur.v[0][1],0),ar.applyToY(ur.v[0][0],ur.v[0][1],0)),or.push(ar.applyToX(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToY(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToX(ur.i[gr][0],ur.i[gr][1],0),ar.applyToY(ur.i[gr][0],ur.i[gr][1],0),ar.applyToX(ur.v[gr][0],ur.v[gr][1],0),ar.applyToY(ur.v[gr][0],ur.v[gr][1],0));or.push(ar.applyToX(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToY(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToX(ur.i[0][0],ur.i[0][1],0),ar.applyToY(ur.i[0][0],ur.i[0][1],0),ar.applyToX(ur.v[0][0],ur.v[0][1],0),ar.applyToY(ur.v[0][0],ur.v[0][1],0)),Er[$r]=or,$r+=1}sr&&(dr+=tr[o].l,dr+=pr),this.textSpans[zr]?this.textSpans[zr].elem=Er:this.textSpans[zr]={elem:Er},zr+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var t=this.canvasContext;t.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,i,r,o,Zt,tr,ar=this.textAnimator.renderedLetters,ir=this.textProperty.currentData.l;i=ir.length;var fr,gr=null,nr=null,rr=null,vr,cr,ur=this.globalData.renderer;for(e=0;e<i;e+=1)if(!ir[e].n){if(fr=ar[e],fr&&(ur.save(),ur.ctxTransform(fr.p),ur.ctxOpacity(fr.o)),this.fill){for(fr&&fr.fc?gr!==fr.fc&&(ur.ctxFillStyle(fr.fc),gr=fr.fc):gr!==this.values.fill&&(gr=this.values.fill,ur.ctxFillStyle(this.values.fill)),vr=this.textSpans[e].elem,o=vr.length,this.globalData.canvasContext.beginPath(),r=0;r<o;r+=1)for(cr=vr[r],tr=cr.length,this.globalData.canvasContext.moveTo(cr[0],cr[1]),Zt=2;Zt<tr;Zt+=6)this.globalData.canvasContext.bezierCurveTo(cr[Zt],cr[Zt+1],cr[Zt+2],cr[Zt+3],cr[Zt+4],cr[Zt+5]);this.globalData.canvasContext.closePath(),ur.ctxFill()}if(this.stroke){for(fr&&fr.sw?rr!==fr.sw&&(rr=fr.sw,ur.ctxLineWidth(fr.sw)):rr!==this.values.sWidth&&(rr=this.values.sWidth,ur.ctxLineWidth(this.values.sWidth)),fr&&fr.sc?nr!==fr.sc&&(nr=fr.sc,ur.ctxStrokeStyle(fr.sc)):nr!==this.values.stroke&&(nr=this.values.stroke,ur.ctxStrokeStyle(this.values.stroke)),vr=this.textSpans[e].elem,o=vr.length,this.globalData.canvasContext.beginPath(),r=0;r<o;r+=1)for(cr=vr[r],tr=cr.length,this.globalData.canvasContext.moveTo(cr[0],cr[1]),Zt=2;Zt<tr;Zt+=6)this.globalData.canvasContext.bezierCurveTo(cr[Zt],cr[Zt+1],cr[Zt+2],cr[Zt+3],cr[Zt+4],cr[Zt+5]);this.globalData.canvasContext.closePath(),ur.ctxStroke()}fr&&this.globalData.renderer.restore()}};function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e=t.getContext("2d"),i=this.img.width,r=this.img.height,o=i/r,Zt=this.assetData.w/this.assetData.h,tr,ar,ir=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>Zt&&ir==="xMidYMid slice"||o<Zt&&ir!=="xMidYMid slice"?(ar=r,tr=ar*Zt):(tr=i,ar=tr/Zt),e.drawImage(this.img,(i-tr)/2,(r-ar)/2,tr,ar,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,i,r){this.canvasContext.fillRect(t,e,i,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var i="0px 0px 0px";e.transformOrigin=i,e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){this.reset();var i,r;t?(i=t,r=e,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr);var o,Zt;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var tr=this.renderConfig.preserveAspectRatio.split(" "),ar=tr[1]||"meet",ir=tr[0]||"xMidYMid",fr=ir.substr(0,4),gr=ir.substr(4);o=i/r,Zt=this.transformCanvas.w/this.transformCanvas.h,Zt>o&&ar==="meet"||Zt<o&&ar==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),fr==="xMid"&&(Zt<o&&ar==="meet"||Zt>o&&ar==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:fr==="xMax"&&(Zt<o&&ar==="meet"||Zt>o&&ar==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,gr==="YMid"&&(Zt>o&&ar==="meet"||Zt<o&&ar==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:gr==="YMax"&&(Zt>o&&ar==="meet"||Zt<o&&ar==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=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 i,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].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 i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.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<e;t+=1){var i=new CanvasContext;this.stack[t]=i}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var t=this._length*2,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e=this.stack[this.cArrPos],i=e.transform,r,o=this.cTr.props;for(r=0;r<16;r+=1)o[r]=i[r];if(t){this.nativeContext.restore();var Zt=this.stack[this.cArrPos+1];this.appliedFillStyle=Zt.fillStyle,this.appliedStrokeStyle=Zt.strokeStyle,this.appliedLineWidth=Zt.lineWidth,this.appliedLineCap=Zt.lineCap,this.appliedLineJoin=Zt.lineJoin,this.appliedMiterLimit=Zt.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(t||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],r;for(r=0;r<16;r+=1)i.transform[r]=e[r];this.cArrPos+=1;var o=this.stack[this.cArrPos];o.opacity=i.opacity,o.fillStyle=i.fillStyle,o.strokeStyle=i.strokeStyle,o.lineWidth=i.lineWidth,o.lineCap=i.lineCap,o.lineJoin=i.lineJoin,o.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var i=e.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,i,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,i=this.layers.length;for(e=i-1;e>=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 t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,i){this.initElement(t,e,i)}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,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),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 i,r=t.length;for(i=0;i<r;i+=1)e=t[i].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i=t.sh.v,r=t.transformers,o,Zt=i._length,tr,ar,ir,fr;if(!(Zt<=1)){for(o=0;o<Zt-1;o+=1)tr=this.getTransformedPoint(r,i.v[o]),ar=this.getTransformedPoint(r,i.o[o]),ir=this.getTransformedPoint(r,i.i[o+1]),fr=this.getTransformedPoint(r,i.v[o+1]),this.checkBounds(tr,ar,ir,fr,e);i.c&&(tr=this.getTransformedPoint(r,i.v[o]),ar=this.getTransformedPoint(r,i.o[o]),ir=this.getTransformedPoint(r,i.i[0]),fr=this.getTransformedPoint(r,i.v[0]),this.checkBounds(tr,ar,ir,fr,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,r,o){this.getBoundsOfCurve(t,e,i,r);var Zt=this.shapeBoundingBox;o.x=bmMin(Zt.left,o.x),o.xMax=bmMax(Zt.right,o.xMax),o.y=bmMin(Zt.top,o.y),o.yMax=bmMax(Zt.bottom,o.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,i,r){for(var o=[[t[0],r[0]],[t[1],r[1]]],Zt,tr,ar,ir,fr,gr,nr,rr=0;rr<2;++rr)tr=6*t[rr]-12*e[rr]+6*i[rr],Zt=-3*t[rr]+9*e[rr]-9*i[rr]+3*r[rr],ar=3*e[rr]-3*t[rr],tr|=0,Zt|=0,ar|=0,Zt===0&&tr===0||(Zt===0?(ir=-ar/tr,ir>0&&ir<1&&o[rr].push(this.calculateF(ir,t,e,i,r,rr))):(fr=tr*tr-4*ar*Zt,fr>=0&&(gr=(-tr+bmSqrt(fr))/(2*Zt),gr>0&&gr<1&&o[rr].push(this.calculateF(gr,t,e,i,r,rr)),nr=(-tr-bmSqrt(fr))/(2*Zt),nr>0&&nr<1&&o[rr].push(this.calculateF(nr,t,e,i,r,rr)))));this.shapeBoundingBox.left=bmMin.apply(null,o[0]),this.shapeBoundingBox.top=bmMin.apply(null,o[1]),this.shapeBoundingBox.right=bmMax.apply(null,o[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,o[1])},HShapeElement.prototype.calculateF=function(t,e,i,r,o,Zt){return bmPow(1-t,3)*e[Zt]+3*bmPow(1-t,2)*t*i[Zt]+3*(1-t)*bmPow(t,2)*r[Zt]+bmPow(t,3)*o[Zt]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]&&t[i].sh?this.calculateShapeBoundingBox(t[i],e):t[i]&&t[i].it?this.calculateBoundingBox(t[i].it,e):t[i]&&t[i].style&&t[i].w&&this.expandStrokeBoundingBox(t[i].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var r=0;r<t.keyframes.length;r+=1){var o=t.keyframes[r].s;o>i&&(i=o)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},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<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var i=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),i=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),i=!0),i||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,o="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=o,r.webkitTransform=o}}};function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,i=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=i,e.color=i,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{e.fontFamily=r.fFamily;var o=t.fWeight,Zt=t.fStyle;e.fontStyle=Zt,e.fontWeight=o}var tr,ar,ir=t.l;ar=ir.length;var fr,gr,nr,rr=this.mHelper,vr,cr="",ur=0;for(tr=0;tr<ar;tr+=1){if(this.globalData.fontManager.chars?(this.textPaths[ur]?fr=this.textPaths[ur]:(fr=createNS("path"),fr.setAttribute("stroke-linecap",lineCapEnum[1]),fr.setAttribute("stroke-linejoin",lineJoinEnum[2]),fr.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ur]?(gr=this.textSpans[ur],nr=gr.children[0]):(gr=createTag("div"),gr.style.lineHeight=0,nr=createNS("svg"),nr.appendChild(fr),styleDiv(gr)))):this.isMasked?fr=this.textPaths[ur]?this.textPaths[ur]:createNS("text"):this.textSpans[ur]?(gr=this.textSpans[ur],fr=this.textPaths[ur]):(gr=createTag("span"),styleDiv(gr),fr=createTag("span"),styleDiv(fr),gr.appendChild(fr)),this.globalData.fontManager.chars){var Er=this.globalData.fontManager.getCharData(t.finalText[tr],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),or;if(Er?or=Er.data:or=null,rr.reset(),or&&or.shapes&&or.shapes.length&&(vr=or.shapes[0].it,rr.scale(t.finalSize/100,t.finalSize/100),cr=this.createPathShape(rr,vr),fr.setAttribute("d",cr)),this.isMasked)this.innerElem.appendChild(fr);else{if(this.innerElem.appendChild(gr),or&&or.shapes){document.body.appendChild(nr);var sr=nr.getBBox();nr.setAttribute("width",sr.width+2),nr.setAttribute("height",sr.height+2),nr.setAttribute("viewBox",sr.x-1+" "+(sr.y-1)+" "+(sr.width+2)+" "+(sr.height+2));var pr=nr.style,dr="translate("+(sr.x-1)+"px,"+(sr.y-1)+"px)";pr.transform=dr,pr.webkitTransform=dr,ir[tr].yOffset=sr.y-1}else nr.setAttribute("width",1),nr.setAttribute("height",1);gr.appendChild(nr)}}else if(fr.textContent=ir[tr].val,fr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(fr);else{this.innerElem.appendChild(gr);var Pr=fr.style,Ir="translate3d(0,"+-t.finalSize/1.2+"px,0)";Pr.transform=Ir,Pr.webkitTransform=Ir}this.isMasked?this.textSpans[ur]=fr:this.textSpans[ur]=gr,this.textSpans[ur].style.display="block",this.textPaths[ur]=fr,ur+=1}for(;ur<this.textSpans.length;)this.textSpans[ur].style.display="none",ur+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var i,r,o=0,Zt=this.textAnimator.renderedLetters,tr=this.textProperty.currentData.l;r=tr.length;var ar,ir,fr;for(i=0;i<r;i+=1)tr[i].n?o+=1:(ir=this.textSpans[i],fr=this.textPaths[i],ar=Zt[o],o+=1,ar._mdf.m&&(this.isMasked?ir.setAttribute("transform",ar.m):(ir.style.webkitTransform=ar.m,ir.style.transform=ar.m)),ir.style.opacity=ar.o,ar.sw&&ar._mdf.sw&&fr.setAttribute("stroke-width",ar.sw),ar.sc&&ar._mdf.sc&&fr.setAttribute("stroke",ar.sc),ar.fc&&ar._mdf.fc&&(fr.setAttribute("fill",ar.fc),fr.style.color=ar.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var gr=this.innerElem.getBBox();this.currentBBox.w!==gr.width&&(this.currentBBox.w=gr.width,this.svgElement.setAttribute("width",gr.width)),this.currentBBox.h!==gr.height&&(this.currentBBox.h=gr.height,this.svgElement.setAttribute("height",gr.height));var nr=1;if(this.currentBBox.w!==gr.width+nr*2||this.currentBBox.h!==gr.height+nr*2||this.currentBBox.x!==gr.x-nr||this.currentBBox.y!==gr.y-nr){this.currentBBox.w=gr.width+nr*2,this.currentBBox.h=gr.height+nr*2,this.currentBBox.x=gr.x-nr,this.currentBBox.y=gr.y-nr,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var rr="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=rr,t.webkitTransform=rr}}}};function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var o,Zt=t.ks.or.k.length;for(o=0;o<Zt;o+=1)t.ks.or.k[o].to=null,t.ks.or.k[o].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e=this.comp.threeDElements.length,i,r,o;for(t=0;t<e;t+=1)if(i=this.comp.threeDElements[t],i.type==="3d"){r=i.perspectiveElem.style,o=i.container.style;var Zt=this.pe.v+"px",tr="0px 0px 0px",ar="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=Zt,r.webkitPerspective=Zt,o.transformOrigin=tr,o.mozTransformOrigin=tr,o.webkitTransformOrigin=tr,r.transform=ar,r.webkitTransform=ar}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame,e,i;if(this.hierarchy)for(i=this.hierarchy.length,e=0;e<i;e+=1)t=this.hierarchy[e].finalTransform.mProp._mdf||t;if(t||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(i=this.hierarchy.length-1,e=i;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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 o;this.p?o=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:o=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var Zt=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),tr=[o[0]/Zt,o[1]/Zt,o[2]/Zt],ar=Math.sqrt(tr[2]*tr[2]+tr[0]*tr[0]),ir=Math.atan2(tr[1],ar),fr=Math.atan2(tr[0],-tr[2]);this.mat.rotateY(fr).rotateX(-ir)}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 gr=!this._prevMat.equals(this.mat);if((gr||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var nr,rr,vr;for(e=0;e<i;e+=1)if(nr=this.comp.threeDElements[e],nr.type==="3d"){if(gr){var cr=this.mat.toCSS();vr=nr.container.style,vr.transform=cr,vr.webkitTransform=cr}this.pe._mdf&&(rr=nr.perspectiveElem.style,rr.perspective=this.pe.v+"px",rr.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var r=this.layers[e];if(!r.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,e);else{for(var o=0,Zt,tr,ar;o<e;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement&&(tr=this.elements[o],ar=this.layers[o].ddd?this.getThreeDContainerByPos(o):tr.getBaseElement(),Zt=ar||Zt),o+=1;Zt?(!r.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,Zt):(!r.ddd||!this.supports3d)&&this.layerElement.appendChild(i)}else this.addTo3dContainer(i,e)}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var i=createTag("div"),r,o;styleDiv(i);var Zt=createTag("div");if(styleDiv(Zt),e==="3d"){r=i.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var tr="50% 50%";r.webkitTransformOrigin=tr,r.mozTransformOrigin=tr,r.transformOrigin=tr,o=Zt.style;var ar="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.transform=ar,o.webkitTransform=ar}i.appendChild(Zt);var ir={container:Zt,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(ir),ir},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,i,r="";for(t=0;t<e;t+=1)this.layers[t].ddd&&this.layers[t].ty!==3?(r!=="3d"&&(r="3d",i=this.createThreeDContainer(t,"3d")),i.endPos=Math.max(i.endPos,t)):(r!=="2d"&&(r="2d",i=this.createThreeDContainer(t,"2d")),i.endPos=Math.max(i.endPos,t));for(e=this.threeDElements.length,t=e-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,r=this.threeDElements.length;i<r;){if(e<=this.threeDElements[i].endPos){for(var o=this.threeDElements[i].startPos,Zt;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(Zt=this.elements[o].getBaseElement()),o+=1;Zt?this.threeDElements[i].container.insertBefore(t,Zt):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,r=e.style;r.width=t.w+"px",r.height=t.h+"px",this.resizerElem=e,styleDiv(e),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),r.overflow="hidden";var o=createNS("svg");o.setAttribute("width","1"),o.setAttribute("height","1"),styleDiv(o),this.resizerElem.appendChild(o);var Zt=createNS("defs");o.appendChild(Zt),this.data=t,this.setupGlobalData(t,o),this.globalData.defs=Zt,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,i=t/e,r=this.globalData.compSize.w/this.globalData.compSize.h,o,Zt,tr,ar;r>i?(o=t/this.globalData.compSize.w,Zt=t/this.globalData.compSize.w,tr=0,ar=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(o=e/this.globalData.compSize.h,Zt=e/this.globalData.compSize.h,tr=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,ar=0);var ir=this.resizerElem.style;ir.webkitTransform="matrix3d("+o+",0,0,0,0,"+Zt+",0,0,0,0,1,0,"+tr+","+ar+",0,1)",ir.transform=ir.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,i,r=this.threeDElements.length;for(i=0;i<r;i+=1){var o=this.threeDElements[i].perspectiveElem.style;o.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",o.perspective=o.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,i=t.length,r=createTag("div");for(e=0;e<i;e+=1)if(t[e].xt){var o=this.createComp(t[e],r,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}};function HCompElement(t,e,i){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var i=0,r;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(){return function(t){function e(i){for(var r=0,o=t.layers.length;r<o;){if(t.layers[r].nm===i||t.layers[r].ind===i)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(e){return typeof e}:_typeof$2=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(t)}function seedRandom(t,e){var i=this,r=256,o=6,Zt=52,tr="random",ar=e.pow(r,o),ir=e.pow(2,Zt),fr=ir*2,gr=r-1;function nr(sr,pr,dr){var Pr=[];pr=pr===!0?{entropy:!0}:pr||{};var Ir=ur(cr(pr.entropy?[sr,or(t)]:sr===null?Er():sr,3),Pr),zr=new rr(Pr),$r=function(){for(var es=zr.g(o),hs=ar,ps=0;es<ir;)es=(es+ps)*r,hs*=r,ps=zr.g(1);for(;es>=fr;)es/=2,hs/=2,ps>>>=1;return(es+ps)/hs};return $r.int32=function(){return zr.g(4)|0},$r.quick=function(){return zr.g(4)/4294967296},$r.double=$r,ur(or(zr.S),t),(pr.pass||dr||function(es,hs,ps,os){return os&&(os.S&&vr(os,zr),es.state=function(){return vr(zr,{})}),ps?(e[tr]=es,hs):es})($r,Ir,"global"in pr?pr.global:this==e,pr.state)}e["seed"+tr]=nr;function rr(sr){var pr,dr=sr.length,Pr=this,Ir=0,zr=Pr.i=Pr.j=0,$r=Pr.S=[];for(dr||(sr=[dr++]);Ir<r;)$r[Ir]=Ir++;for(Ir=0;Ir<r;Ir++)$r[Ir]=$r[zr=gr&zr+sr[Ir%dr]+(pr=$r[Ir])],$r[zr]=pr;Pr.g=function(es){for(var hs,ps=0,os=Pr.i,xs=Pr.j,is=Pr.S;es--;)hs=is[os=gr&os+1],ps=ps*r+is[gr&(is[os]=is[xs=gr&xs+hs])+(is[xs]=hs)];return Pr.i=os,Pr.j=xs,ps}}function vr(sr,pr){return pr.i=sr.i,pr.j=sr.j,pr.S=sr.S.slice(),pr}function cr(sr,pr){var dr=[],Pr=_typeof$2(sr),Ir;if(pr&&Pr=="object")for(Ir in sr)try{dr.push(cr(sr[Ir],pr-1))}catch{}return dr.length?dr:Pr=="string"?sr:sr+"\0"}function ur(sr,pr){for(var dr=sr+"",Pr,Ir=0;Ir<dr.length;)pr[gr&Ir]=gr&(Pr^=pr[gr&Ir]*19)+dr.charCodeAt(Ir++);return or(pr)}function Er(){try{var sr=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(sr),or(sr)}catch{var pr=i.navigator,dr=pr&&pr.plugins;return[+new Date,i,dr,i.screen,or(t)]}}function or(sr){return String.fromCharCode.apply(0,sr)}ur(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(e){return typeof e}:_typeof$1=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")return-t;if($bm_isInstanceOfArray(t)){var i,r=t.length,o=[];for(i=0;i<r;i+=1)o[i]=-t[i];return o}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e)||i==="string"||r==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]+e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e))return i==="string"&&(t=parseInt(t,10)),r==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]-e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]*e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t*e[Zt];return o}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]/e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t/e[Zt];return o}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var r=i;i=e,e=r}return Math.min(Math.max(t,e),i)}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 i,r=Math.min(t.length,e.length),o=0;for(i=0;i<r;i+=1)o+=Math.pow(e[i]-t[i],2);return Math.sqrt(o)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],o=Math.max(e,i,r),Zt=Math.min(e,i,r),tr,ar,ir=(o+Zt)/2;if(o===Zt)tr=0,ar=0;else{var fr=o-Zt;switch(ar=ir>.5?fr/(2-o-Zt):fr/(o+Zt),o){case e:tr=(i-r)/fr+(i<r?6:0);break;case i:tr=(r-e)/fr+2;break;case r:tr=(e-i)/fr+4;break}tr/=6}return[tr,ar,ir,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e=t[0],i=t[1],r=t[2],o,Zt,tr;if(i===0)o=r,tr=r,Zt=r;else{var ar=r<.5?r*(1+i):r+i-r*i,ir=2*r-ar;o=hue2rgb(ir,ar,e+1/3),Zt=hue2rgb(ir,ar,e),tr=hue2rgb(ir,ar,e-1/3)}return[o,Zt,tr,t[3]]}function linear(t,e,i,r,o){if((r===void 0||o===void 0)&&(r=e,o=i,e=0,i=1),i<e){var Zt=i;i=e,e=Zt}if(t<=e)return r;if(t>=i)return o;var tr=i===e?0:(t-e)/(i-e);if(!r.length)return r+(o-r)*tr;var ar,ir=r.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=r[ar]+(o[ar]-r[ar])*tr;return fr}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var o=createTypedArray("float32",r),Zt=BMMath.random();for(i=0;i<r;i+=1)o[i]=t[i]+Zt*(e[i]-t[i]);return o}t===void 0&&(t=0);var tr=BMMath.random();return t+tr*(e-t)}function createPath(t,e,i,r){var o,Zt=t.length,tr=shapePool.newElement();tr.setPathData(!!r,Zt);var ar=[0,0],ir,fr;for(o=0;o<Zt;o+=1)ir=e&&e[o]?e[o]:ar,fr=i&&i[o]?i[o]:ar,tr.setTripleAt(t[o][0],t[o][1],fr[0]+t[o][0],fr[1]+t[o][1],ir[0]+t[o][0],ir[1]+t[o][1],o,!0);return tr}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,i){var r,o,Zt=this.pv.length?this.pv.length:1,tr=createTypedArray("float32",Zt);e=5;var ar=Math.floor(time*e);for(r=0,o=0;r<ar;){for(o=0;o<Zt;o+=1)tr[o]+=-i+i*2*BMMath.random();r+=1}var ir=time*e,fr=ir-Math.floor(ir),gr=createTypedArray("float32",Zt);if(Zt>1){for(o=0;o<Zt;o+=1)gr[o]=this.pv[o]+tr[o]+(-i+i*2*BMMath.random())*fr;return gr}return this.pv+tr[0]+(-i+i*2*BMMath.random())*fr}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,o=-Math.atan2(i[1],i[2])/degToRads;return[o,r,0]}function easeOut(t,e,i,r,o){return applyEase(easeOutBez,t,e,i,r,o)}function easeIn(t,e,i,r,o){return applyEase(easeInBez,t,e,i,r,o)}function ease(t,e,i,r,o){return applyEase(easeInOutBez,t,e,i,r,o)}function applyEase(t,e,i,r,o,Zt){o===void 0?(o=i,Zt=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var tr=t(e);if($bm_isInstanceOfArray(o)){var ar,ir=o.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=(Zt[ar]-o[ar])*tr+o[ar];return fr}return(Zt-o)*tr+o}function nearestKey(t){var e,i=data.k.length,r,o;if(!data.k.length||typeof data.k[0]=="number")r=0,o=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,o=data.k[0].t;else{for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,o=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,o=data.k[e+1].t):(r=e+1,o=data.k[e].t);break}r===-1&&(r=e+1,o=data.k[e].t)}var Zt={};return Zt.index=r,Zt.time=o/elem.comp.globalData.frameRate,Zt}function key(t){var e,i,r;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 o=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=o.length,i=0;i<r;i+=1)e[i]=o[i],e.value[i]=o[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(i){var r=0,o=[];function Zt(){r+=1}function tr(){r-=1,r===0&&ir()}function ar(fr){o.indexOf(fr)===-1&&o.push(fr)}function ir(){var fr,gr=o.length;for(fr=0;fr<gr;fr+=1)o[fr].release();o.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=Zt,i.renderer.globalData.popExpression=tr,i.renderer.globalData.registerExpressionProperty=ar}return t}(),MaskManagerInterface=function(){function t(i,r){this._mask=i,this._data=r}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(i){var r=createSizedArray(i.viewData.length),o,Zt=i.viewData.length;for(o=0;o<Zt;o+=1)r[o]=new t(i.viewData[o],i.masksProperties[o]);var tr=function(ar){for(o=0;o<Zt;){if(i.masksProperties[o].nm===ar)return r[o];o+=1}return null};return tr};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(tr,ar,ir){Object.defineProperty(tr,"velocity",{get:function(){return ar.getVelocityAtTime(ar.comp.currentFrame)}}),tr.numKeys=ar.keyframes?ar.keyframes.length:0,tr.key=function(fr){if(!tr.numKeys)return 0;var gr="";"s"in ar.keyframes[fr-1]?gr=ar.keyframes[fr-1].s:"e"in ar.keyframes[fr-2]?gr=ar.keyframes[fr-2].e:gr=ar.keyframes[fr-2].s;var nr=ir==="unidimensional"?new Number(gr):Object.assign({},gr);return nr.time=ar.keyframes[fr-1].t/ar.elem.comp.globalData.frameRate,nr.value=ir==="unidimensional"?gr[0]:gr,nr},tr.valueAtTime=ar.getValueAtTime,tr.speedAtTime=ar.getSpeedAtTime,tr.velocityAtTime=ar.getVelocityAtTime,tr.propertyGroup=ar.propertyGroup}function r(tr){(!tr||!("pv"in tr))&&(tr=t);var ar=1/tr.mult,ir=tr.pv*ar,fr=new Number(ir);return fr.value=ir,i(fr,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ir=tr.v*ar,fr.value!==ir&&(fr=new Number(ir),fr.value=ir,i(fr,tr,"unidimensional")),fr}}function o(tr){(!tr||!("pv"in tr))&&(tr=e);var ar=1/tr.mult,ir=tr.data&&tr.data.l||tr.pv.length,fr=createTypedArray("float32",ir),gr=createTypedArray("float32",ir);return fr.value=gr,i(fr,tr,"multidimensional"),function(){tr.k&&tr.getValue();for(var nr=0;nr<ir;nr+=1)gr[nr]=tr.v[nr]*ar,fr[nr]=gr[nr];return fr}}function Zt(){return t}return function(tr){return tr?tr.propType==="unidimensional"?r(tr):o(tr):Zt}}(),TransformExpressionInterface=function(){return function(t){function e(tr){switch(tr){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var i,r,o,Zt;return t.p?Zt=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(o=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?Zt():[i(),r(),o?o():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(fr){var gr=new Matrix;if(fr!==void 0){var nr=this._elem.finalTransform.mProp.getValueAtTime(fr);nr.clone(gr)}else{var rr=this._elem.finalTransform.mProp;rr.applyToMatrix(gr)}return gr}function e(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.applyPoint(nr,fr)}function i(fr,gr){var nr=this.getMatrix(gr);return this.applyPoint(nr,fr)}function r(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.invertPoint(nr,fr)}function o(fr,gr){var nr=this.getMatrix(gr);return this.invertPoint(nr,fr)}function Zt(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.applyToPointArray(gr[0],gr[1],gr[2]||0)}function tr(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.inversePoint(gr)}function ar(fr){var gr=new Matrix;if(gr.reset(),this._elem.finalTransform.mProp.applyToMatrix(gr),this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(gr);return gr.inversePoint(fr)}return gr.inversePoint(fr)}function ir(){return[1,1,1,1]}return function(fr){var gr;function nr(ur){vr.mask=new MaskManagerInterface(ur,fr)}function rr(ur){vr.effect=ur}function vr(ur){switch(ur){case"ADBE Root Vectors Group":case"Contents":case 2:return vr.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return gr;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return vr.effect;case"ADBE Text Properties":return vr.textInterface;default:return null}}vr.getMatrix=t,vr.invertPoint=tr,vr.applyPoint=Zt,vr.toWorld=i,vr.toWorldVec=e,vr.fromWorld=o,vr.fromWorldVec=r,vr.toComp=i,vr.fromComp=ar,vr.sampleImage=ir,vr.sourceRectAtTime=fr.sourceRectAtTime.bind(fr),vr._elem=fr,gr=TransformExpressionInterface(fr.finalTransform.mProp);var cr=getDescriptor(gr,"anchorPoint");return Object.defineProperties(vr,{hasParent:{get:function(){return fr.hierarchy.length}},parent:{get:function(){return fr.hierarchy[0].layerInterface}},rotation:getDescriptor(gr,"rotation"),scale:getDescriptor(gr,"scale"),position:getDescriptor(gr,"position"),opacity:getDescriptor(gr,"opacity"),anchorPoint:cr,anchor_point:cr,transform:{get:function(){return gr}},active:{get:function(){return fr.isInRange}}}),vr.startTime=fr.data.st,vr.index=fr.data.ind,vr.source=fr.data.refId,vr.height=fr.data.ty===0?fr.data.h:100,vr.width=fr.data.ty===0?fr.data.w:100,vr.inPoint=fr.data.ip/fr.comp.globalData.frameRate,vr.outPoint=fr.data.op/fr.comp.globalData.frameRate,vr._name=fr.data.nm,vr.registerMaskInterface=nr,vr.registerEffectsInterface=rr,vr}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=i===void 0?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){var i={_name:t};function r(o){return o=o===void 0?1:o,o<=0?i:e(o-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(o,Zt){if(o.effectsManager){var tr=[],ar=o.data.ef,ir,fr=o.effectsManager.effectElements.length;for(ir=0;ir<fr;ir+=1)tr.push(i(ar[ir],o.effectsManager.effectElements[ir],Zt,o));var gr=o.data.ef||[],nr=function(rr){for(ir=0,fr=gr.length;ir<fr;){if(rr===gr[ir].nm||rr===gr[ir].mn||rr===gr[ir].ix)return tr[ir];ir+=1}return null};return Object.defineProperty(nr,"numProperties",{get:function(){return gr.length}}),nr}return null}function i(o,Zt,tr,ar){function ir(vr){for(var cr=o.ef,ur=0,Er=cr.length;ur<Er;){if(vr===cr[ur].nm||vr===cr[ur].mn||vr===cr[ur].ix)return cr[ur].ty===5?gr[ur]:gr[ur]();ur+=1}throw new Error}var fr=propertyGroupFactory(ir,tr),gr=[],nr,rr=o.ef.length;for(nr=0;nr<rr;nr+=1)o.ef[nr].ty===5?gr.push(i(o.ef[nr],Zt.effectElements[nr],Zt.effectElements[nr].propertyGroup,ar)):gr.push(r(Zt.effectElements[nr],o.ef[nr].ty,ar,fr));return o.mn==="ADBE Color Control"&&Object.defineProperty(ir,"color",{get:function(){return gr[0]()}}),Object.defineProperties(ir,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:fr}}),ir.enabled=o.en!==0,ir.active=ir.enabled,ir}function r(o,Zt,tr,ar){var ir=ExpressionPropertyInterface(o.p);function fr(){return Zt===10?tr.comp.compInterface(o.p.v):ir()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",ar)),fr}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function o(tr){return tr==="Shape"||tr==="shape"||tr==="Path"||tr==="path"||tr==="ADBE Vector Shape"||tr===2?o.path:null}var Zt=propertyGroupFactory(o,i);return r.setGroupProperty(PropertyInterface("Path",Zt)),Object.defineProperties(o,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),o}}(),ShapeExpressionInterface=function(){function t(cr,ur,Er){var or=[],sr,pr=cr?cr.length:0;for(sr=0;sr<pr;sr+=1)cr[sr].ty==="gr"?or.push(i(cr[sr],ur[sr],Er)):cr[sr].ty==="fl"?or.push(r(cr[sr],ur[sr],Er)):cr[sr].ty==="st"?or.push(tr(cr[sr],ur[sr],Er)):cr[sr].ty==="tm"?or.push(ar(cr[sr],ur[sr],Er)):cr[sr].ty==="tr"||(cr[sr].ty==="el"?or.push(fr(cr[sr],ur[sr],Er)):cr[sr].ty==="sr"?or.push(gr(cr[sr],ur[sr],Er)):cr[sr].ty==="sh"?or.push(ShapePathInterface(cr[sr],ur[sr],Er)):cr[sr].ty==="rc"?or.push(nr(cr[sr],ur[sr],Er)):cr[sr].ty==="rd"?or.push(rr(cr[sr],ur[sr],Er)):cr[sr].ty==="rp"?or.push(vr(cr[sr],ur[sr],Er)):cr[sr].ty==="gf"?or.push(o(cr[sr],ur[sr],Er)):or.push(Zt(cr[sr],ur[sr])));return or}function e(cr,ur,Er){var or,sr=function(dr){for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr||or[Pr].mn===dr||or[Pr].propertyIndex===dr||or[Pr].ix===dr||or[Pr].ind===dr)return or[Pr];Pr+=1}return typeof dr=="number"?or[dr-1]:null};sr.propertyGroup=propertyGroupFactory(sr,Er),or=t(cr.it,ur.it,sr.propertyGroup),sr.numProperties=or.length;var pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],sr.propertyGroup);return sr.transform=pr,sr.propertyIndex=cr.cix,sr._name=cr.nm,sr}function i(cr,ur,Er){var or=function(dr){switch(dr){case"ADBE Vectors Group":case"Contents":case 2:return or.content;default:return or.transform}};or.propertyGroup=propertyGroupFactory(or,Er);var sr=e(cr,ur,or.propertyGroup),pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],or.propertyGroup);return or.content=sr,or.transform=pr,Object.defineProperty(or,"_name",{get:function(){return cr.nm}}),or.numProperties=cr.np,or.propertyIndex=cr.ix,or.nm=cr.nm,or.mn=cr.mn,or}function r(cr,ur,Er){function or(sr){return sr==="Color"||sr==="color"?or.color:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function o(cr,ur,Er){function or(sr){return sr==="Start Point"||sr==="start point"?or.startPoint:sr==="End Point"||sr==="end point"?or.endPoint:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{startPoint:{get:ExpressionPropertyInterface(ur.s)},endPoint:{get:ExpressionPropertyInterface(ur.e)},opacity:{get:ExpressionPropertyInterface(ur.o)},type:{get:function(){return"a"}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.s.setGroupProperty(PropertyInterface("Start Point",Er)),ur.e.setGroupProperty(PropertyInterface("End Point",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function Zt(){function cr(){return null}return cr}function tr(cr,ur,Er){var or=propertyGroupFactory(zr,Er),sr=propertyGroupFactory(Ir,or);function pr($r){Object.defineProperty(Ir,cr.d[$r].nm,{get:ExpressionPropertyInterface(ur.d.dataProps[$r].p)})}var dr,Pr=cr.d?cr.d.length:0,Ir={};for(dr=0;dr<Pr;dr+=1)pr(dr),ur.d.dataProps[dr].p.setGroupProperty(sr);function zr($r){return $r==="Color"||$r==="color"?zr.color:$r==="Opacity"||$r==="opacity"?zr.opacity:$r==="Stroke Width"||$r==="stroke width"?zr.strokeWidth:null}return Object.defineProperties(zr,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},strokeWidth:{get:ExpressionPropertyInterface(ur.w)},dash:{get:function(){return Ir}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",or)),ur.o.setGroupProperty(PropertyInterface("Opacity",or)),ur.w.setGroupProperty(PropertyInterface("Stroke Width",or)),zr}function ar(cr,ur,Er){function or(pr){return pr===cr.e.ix||pr==="End"||pr==="end"?or.end:pr===cr.s.ix?or.start:pr===cr.o.ix?or.offset:null}var sr=propertyGroupFactory(or,Er);return or.propertyIndex=cr.ix,ur.s.setGroupProperty(PropertyInterface("Start",sr)),ur.e.setGroupProperty(PropertyInterface("End",sr)),ur.o.setGroupProperty(PropertyInterface("Offset",sr)),or.propertyIndex=cr.ix,or.propertyGroup=Er,Object.defineProperties(or,{start:{get:ExpressionPropertyInterface(ur.s)},end:{get:ExpressionPropertyInterface(ur.e)},offset:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function ir(cr,ur,Er){function or(pr){return cr.a.ix===pr||pr==="Anchor Point"?or.anchorPoint:cr.o.ix===pr||pr==="Opacity"?or.opacity:cr.p.ix===pr||pr==="Position"?or.position:cr.r.ix===pr||pr==="Rotation"||pr==="ADBE Vector Rotation"?or.rotation:cr.s.ix===pr||pr==="Scale"?or.scale:cr.sk&&cr.sk.ix===pr||pr==="Skew"?or.skew:cr.sa&&cr.sa.ix===pr||pr==="Skew Axis"?or.skewAxis:null}var sr=propertyGroupFactory(or,Er);return ur.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",sr)),ur.transform.mProps.p.setGroupProperty(PropertyInterface("Position",sr)),ur.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",sr)),ur.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",sr)),ur.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",sr)),ur.transform.mProps.sk&&(ur.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",sr)),ur.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",sr))),ur.transform.op.setGroupProperty(PropertyInterface("Opacity",sr)),Object.defineProperties(or,{opacity:{get:ExpressionPropertyInterface(ur.transform.mProps.o)},position:{get:ExpressionPropertyInterface(ur.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(ur.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(ur.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(ur.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(ur.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(ur.transform.mProps.sa)},_name:{value:cr.nm}}),or.ty="tr",or.mn=cr.mn,or.propertyGroup=Er,or}function fr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.s.ix===dr?or.size:null}var sr=propertyGroupFactory(or,Er);or.propertyIndex=cr.ix;var pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return pr.s.setGroupProperty(PropertyInterface("Size",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),Object.defineProperties(or,{size:{get:ExpressionPropertyInterface(pr.s)},position:{get:ExpressionPropertyInterface(pr.p)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function gr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.rotation:cr.pt.ix===dr?or.points:cr.or.ix===dr||dr==="ADBE Vector Star Outer Radius"?or.outerRadius:cr.os.ix===dr?or.outerRoundness:cr.ir&&(cr.ir.ix===dr||dr==="ADBE Vector Star Inner Radius")?or.innerRadius:cr.is&&cr.is.ix===dr?or.innerRoundness:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.or.setGroupProperty(PropertyInterface("Outer Radius",sr)),pr.os.setGroupProperty(PropertyInterface("Outer Roundness",
vendor: 1,060 bytes, line 846
846sr)),pr.pt.setGroupProperty(PropertyInterface("Points",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),cr.ir&&(pr.ir.setGroupProperty(PropertyInterface("Inner Radius",sr)),pr.is.setGroupProperty(PropertyInterface("Inner Roundness",sr))),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},rotation:{get:ExpressionPropertyInterface(pr.r)},points:{get:ExpressionPropertyInterface(pr.pt)},outerRadius:{get:ExpressionPropertyInterface(pr.or)},outerRoundness:{get:ExpressionPropertyInterface(pr.os)},innerRadius:{get:ExpressionPropertyInterface(pr.ir)},innerRoundness:{get:ExpressionPropertyInterface(pr.is)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function nr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.roundness:cr.s.ix===dr||dr==="Size"||dr==="ADBE Vector Rect Size"?or.size:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.
vendor: 29,322 bytes, line 846
846s.setGroupProperty(PropertyInterface("Size",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},roundness:{get:ExpressionPropertyInterface(pr.r)},size:{get:ExpressionPropertyInterface(pr.s)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function rr(cr,ur,Er){function or(dr){return cr.r.ix===dr||dr==="Round Corners 1"?or.radius:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.rd.setGroupProperty(PropertyInterface("Radius",sr)),Object.defineProperties(or,{radius:{get:ExpressionPropertyInterface(pr.rd)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function vr(cr,ur,Er){function or(dr){return cr.c.ix===dr||dr==="Copies"?or.copies:cr.o.ix===dr||dr==="Offset"?or.offset:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.c.setGroupProperty(PropertyInterface("Copies",sr)),pr.o.setGroupProperty(PropertyInterface("Offset",sr)),Object.defineProperties(or,{copies:{get:ExpressionPropertyInterface(pr.c)},offset:{get:ExpressionPropertyInterface(pr.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}return function(cr,ur,Er){var or;function sr(dr){if(typeof dr=="number")return dr=dr===void 0?1:dr,dr===0?Er:or[dr-1];for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr)return or[Pr];Pr+=1}return null}function pr(){return Er}return sr.propertyGroup=propertyGroupFactory(sr,pr),or=t(cr,ur,sr.propertyGroup),sr.numProperties=or.length,sr._name="Contents",sr}}(),TextExpressionInterface=function(){return function(t){var e;function i(r){switch(r){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return(!e||r!==e.value)&&(e=new String(r),e.value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),i}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}var FootageInterface=function(){var t=function(i){var r="",o=i.getFootageData();function Zt(){return r="",o=i.getFootageData(),tr}function tr(ar){if(o[ar])return r=ar,o=o[ar],_typeof(o)==="object"?tr:o;var ir=ar.indexOf(r);if(ir!==-1){var fr=parseInt(ar.substr(ir+r.length),10);return o=o[fr],_typeof(o)==="object"?tr:o}return""}return Zt},e=function(i){function r(o){return o==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(o){return o==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=e(i),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(tr,ar,ir){ar.x&&(ir.k=!0,ir.x=!0,ir.initiateExpression=ExpressionManager.initiateExpression,ir.effectsSequence.push(ir.initiateExpression(tr,ar,ir).bind(ir)))}function e(tr){return tr*=this.elem.globalData.frameRate,tr-=this.offsetTime,tr!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<tr?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(tr,this._cachingAtTime),this._cachingAtTime.lastFrame=tr),this._cachingAtTime.value}function i(tr){var ar=-.01,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr=0;if(ir.length){var nr;for(nr=0;nr<ir.length;nr+=1)gr+=Math.pow(fr[nr]-ir[nr],2);gr=Math.sqrt(gr)*100}else gr=0;return gr}function r(tr){if(this.vel!==void 0)return this.vel;var ar=-.001,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr;if(ir.length){gr=createTypedArray("float32",ir.length);var nr;for(nr=0;nr<ir.length;nr+=1)gr[nr]=(fr[nr]-ir[nr])/ar}else gr=(fr-ir)/ar;return gr}function o(){return this.pv}function Zt(tr){this.propertyGroup=tr}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:o,setGroupProperty:Zt}}();function addPropertyDecorator(){function t(rr,vr,cr){if(!this.k||!this.keyframes)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[Er.length-1].t;if(ur<=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(or-this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,or-this.elem.data.ip),pr=or-sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[Er.length-1-vr].t,sr=or-pr);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((ur-pr)/sr);if(zr%2!==0)return this.getValueAtTime((sr-(ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),es=this.getValueAtTime(or/this.comp.globalData.frameRate,0),hs=this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0),ps=Math.floor((ur-pr)/sr);if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=(es[dr]-$r[dr])*ps+hs[dr];return Ir}return(es-$r)*ps+hs}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*((ur-or)/this.comp.globalData.frameRate)/5e-4;return Ir}return os+(os-xs)*((ur-or)/.001)}return this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}function e(rr,vr,cr){if(!this.k)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[0].t;if(ur>=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,this.elem.data.op-or),pr=or+sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[vr].t,sr=pr-or);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((or-ur)/sr);if(zr%2===0)return this.getValueAtTime(((or-ur)%sr+or)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(or/this.comp.globalData.frameRate,0),es=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),hs=this.getValueAtTime((sr-(or-ur)%sr+or)/this.comp.globalData.frameRate,0),ps=Math.floor((or-ur)/sr)+1;if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=hs[dr]-(es[dr]-$r[dr])*ps;return Ir}return hs-(es-$r)*ps}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*(or-ur)/.001;return Ir}return os+(os-xs)*(or-ur)/.001}return this.getValueAtTime((sr-((or-ur)%sr+or))/this.comp.globalData.frameRate,0)}function i(rr,vr){if(!this.k)return this.pv;if(rr=(rr||.4)*.5,vr=Math.floor(vr||5),vr<=1)return this.pv;var cr=this.comp.renderedFrame/this.comp.globalData.frameRate,ur=cr-rr,Er=cr+rr,or=vr>1?(Er-ur)/(vr-1):1,sr=0,pr=0,dr;this.pv.length?dr=createTypedArray("float32",this.pv.length):dr=0;for(var Pr;sr<vr;){if(Pr=this.getValueAtTime(ur+sr*or),this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]+=Pr[pr];else dr+=Pr;sr+=1}if(this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]/=vr;else dr/=vr;return dr}function r(rr){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var vr=this._transformCachingAtTime.v;if(vr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var cr=this.a.getValueAtTime(rr);vr.translate(-cr[0]*this.a.mult,-cr[1]*this.a.mult,cr[2]*this.a.mult)}if(this.appliedTransformations<2){var ur=this.s.getValueAtTime(rr);vr.scale(ur[0]*this.s.mult,ur[1]*this.s.mult,ur[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Er=this.sk.getValueAtTime(rr),or=this.sa.getValueAtTime(rr);vr.skewFromAxis(-Er*this.sk.mult,or*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var sr=this.r.getValueAtTime(rr);vr.rotate(-sr*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var pr=this.rz.getValueAtTime(rr),dr=this.ry.getValueAtTime(rr),Pr=this.rx.getValueAtTime(rr),Ir=this.or.getValueAtTime(rr);vr.rotateZ(-pr*this.rz.mult).rotateY(dr*this.ry.mult).rotateX(Pr*this.rx.mult).rotateZ(-Ir[2]*this.or.mult).rotateY(Ir[1]*this.or.mult).rotateX(Ir[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var zr=this.px.getValueAtTime(rr),$r=this.py.getValueAtTime(rr);if(this.data.p.z){var es=this.pz.getValueAtTime(rr);vr.translate(zr*this.px.mult,$r*this.py.mult,-es*this.pz.mult)}else vr.translate(zr*this.px.mult,$r*this.py.mult,0)}else{var hs=this.p.getValueAtTime(rr);vr.translate(hs[0]*this.p.mult,hs[1]*this.p.mult,-hs[2]*this.p.mult)}return vr}function o(){return this.v.clone(new Matrix)}var Zt=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(rr,vr,cr){var ur=Zt(rr,vr,cr);return ur.dynamicProperties.length?ur.getValueAtTime=r.bind(ur):ur.getValueAtTime=o.bind(ur),ur.setGroupProperty=expressionHelpers.setGroupProperty,ur};var tr=PropertyFactory.getProp;PropertyFactory.getProp=function(rr,vr,cr,ur,Er){var or=tr(rr,vr,cr,ur,Er);or.kf?or.getValueAtTime=expressionHelpers.getValueAtTime.bind(or):or.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(or),or.setGroupProperty=expressionHelpers.setGroupProperty,or.loopOut=t,or.loopIn=e,or.smooth=i,or.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(or),or.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(or),or.numKeys=vr.a===1?vr.k.length:0,or.propertyIndex=vr.ix;var sr=0;return cr!==0&&(sr=createTypedArray("float32",vr.a===1?vr.k[0].s.length:vr.k.length)),or._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:sr},expressionHelpers.searchExpressions(rr,vr,or),or.k&&Er.addDynamicProperty(or),or};function ar(rr){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),rr*=this.elem.globalData.frameRate,rr-=this.offsetTime,rr!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<rr?this._caching.lastIndex:0,this._cachingAtTime.lastTime=rr,this.interpolateShape(rr,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var ir=ShapePropertyFactory.getConstructorFunction(),fr=ShapePropertyFactory.getKeyframedConstructorFunction();function gr(){}gr.prototype={vertices:function(rr,vr){this.k&&this.getValue();var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0));var ur,Er=cr._length,or=cr[rr],sr=cr.v,pr=createSizedArray(Er);for(ur=0;ur<Er;ur+=1)rr==="i"||rr==="o"?pr[ur]=[or[ur][0]-sr[ur][0],or[ur][1]-sr[ur][1]]:pr[ur]=[or[ur][0],or[ur][1]];return pr},points:function(rr){return this.vertices("v",rr)},inTangents:function(rr){return this.vertices("i",rr)},outTangents:function(rr){return this.vertices("o",rr)},isClosed:function(){return this.v.c},pointOnPath:function(rr,vr){var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(cr));for(var ur=this._segmentsLength,Er=ur.lengths,or=ur.totalLength*rr,sr=0,pr=Er.length,dr=0,Pr;sr<pr;){if(dr+Er[sr].addedLength>or){var Ir=sr,zr=cr.c&&sr===pr-1?0:sr+1,$r=(or-dr)/Er[sr].addedLength;Pr=bez.getPointInSegment(cr.v[Ir],cr.v[zr],cr.o[Ir],cr.i[zr],$r,Er[sr]);break}else dr+=Er[sr].addedLength;sr+=1}return Pr||(Pr=cr.c?[cr.v[0][0],cr.v[0][1]]:[cr.v[cr._length-1][0],cr.v[cr._length-1][1]]),Pr},vectorOnPath:function(rr,vr,cr){rr==1?rr=this.v.c:rr==0&&(rr=.999);var ur=this.pointOnPath(rr,vr),Er=this.pointOnPath(rr+.001,vr),or=Er[0]-ur[0],sr=Er[1]-ur[1],pr=Math.sqrt(Math.pow(or,2)+Math.pow(sr,2));if(pr===0)return[0,0];var dr=cr==="tangent"?[or/pr,sr/pr]:[-sr/pr,or/pr];return dr},tangentOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"tangent")},normalOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([gr],ir),extendPrototype([gr],fr),fr.prototype.getValueAtTime=ar,fr.prototype.initiateExpression=ExpressionManager.initiateExpression;var nr=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(rr,vr,cr,ur,Er){var or=nr(rr,vr,cr,ur,Er);return or.propertyIndex=vr.ix,or.lock=!1,cr===3?expressionHelpers.searchExpressions(rr,vr.pt,or):cr===4&&expressionHelpers.searchExpressions(rr,vr.ks,or),or.k&&rr.addDynamicProperty(or),or}}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,i){var r=this.calculateExpression(i);if(e.t!==r){var o={};return this.copyData(o,e),o.t=r.toString(),o.__complete=!1,o}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),i=this.searchExpressions();return this.kf=e||i,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,i){var r=createNS("feMerge");r.setAttribute("result",e);var o,Zt;for(Zt=0;Zt<i.length;Zt+=1)o=createNS("feMergeNode"),o.setAttribute("in",i[Zt]),r.appendChild(o),r.appendChild(o);return r}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,i,r,o){this.filterManager=e;var Zt=createNS("feColorMatrix");Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","linearRGB"),Zt.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=Zt,Zt.setAttribute("result",r+"_tint_1"),t.appendChild(Zt),Zt=createNS("feColorMatrix"),Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),Zt.setAttribute("result",r+"_tint_2"),t.appendChild(Zt),this.matrixFilter=Zt;var tr=this.createMergeNode(r,[o,r+"_tint_1",r+"_tint_2"]);t.appendChild(tr)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}};function SVGFillFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r),t.appendChild(o),this.matrixFilter=o}SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,i,r,o;for(this.filterManager.effectElements[1].p.v===1?(o=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,o=r+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),r;r<o;r+=1)e=createNS("path"),i.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var Zt=createNS("mask"),tr=createElementID();Zt.setAttribute("id",tr),Zt.setAttribute("mask-type","alpha"),Zt.appendChild(i),this.elem.globalData.defs.appendChild(Zt);var ar=createNS("g");for(ar.setAttribute("mask","url("+getLocationHref()+"#"+tr+")");t[0];)ar.appendChild(t[0]);this.elem.layerElement.appendChild(ar),this.masker=Zt,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,i=this.paths.length,r,o;for(e=0;e<i;e+=1)if(this.paths[e].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[e].m],o=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&o.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var Zt;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var tr=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ar=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ir=o.getTotalLength();Zt="0 0 0 "+ir*tr+" ";var fr=ir*(ar-tr),gr=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,nr=Math.floor(fr/gr),rr;for(rr=0;rr<nr;rr+=1)Zt+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";Zt+="0 "+ir*10+" 0 0"}else Zt="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;o.setAttribute("stroke-dasharray",Zt)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var vr=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(vr[0]*255)+","+bmFloor(vr[1]*255)+","+bmFloor(vr[2]*255)+")")}};function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(o);var Zt=createNS("feComponentTransfer");Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),this.matrixFilter=Zt;var tr=createNS("feFuncR");tr.setAttribute("type","table"),Zt.appendChild(tr),this.feFuncR=tr;var ar=createNS("feFuncG");ar.setAttribute("type","table"),Zt.appendChild(ar),this.feFuncG=ar;var ir=createNS("feFuncB");ir.setAttribute("type","table"),Zt.appendChild(ir),this.feFuncB=ir,t.appendChild(Zt)}SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,o=r[0]+" "+i[0]+" "+e[0],Zt=r[1]+" "+i[1]+" "+e[1],tr=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",Zt),this.feFuncB.setAttribute("tableValues",tr)}};function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var o=this.filterManager.effectElements,Zt=createNS("feComponentTransfer");(o[10].p.k||o[10].p.v!==0||o[11].p.k||o[11].p.v!==1||o[12].p.k||o[12].p.v!==1||o[13].p.k||o[13].p.v!==0||o[14].p.k||o[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",Zt)),(o[17].p.k||o[17].p.v!==0||o[18].p.k||o[18].p.v!==1||o[19].p.k||o[19].p.v!==1||o[20].p.k||o[20].p.v!==0||o[21].p.k||o[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",Zt)),(o[24].p.k||o[24].p.v!==0||o[25].p.k||o[25].p.v!==1||o[26].p.k||o[26].p.v!==1||o[27].p.k||o[27].p.v!==0||o[28].p.k||o[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",Zt)),(o[31].p.k||o[31].p.v!==0||o[32].p.k||o[32].p.v!==1||o[33].p.k||o[33].p.v!==1||o[34].p.k||o[34].p.v!==0||o[35].p.k||o[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",Zt)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(Zt.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(Zt)),(o[3].p.k||o[3].p.v!==0||o[4].p.k||o[4].p.v!==1||o[5].p.k||o[5].p.v!==1||o[6].p.k||o[6].p.v!==0||o[7].p.k||o[7].p.v!==1)&&(Zt=createNS("feComponentTransfer"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),t.appendChild(Zt),this.feFuncRComposed=this.createFeFunc("feFuncR",Zt),this.feFuncGComposed=this.createFeFunc("feFuncG",Zt),this.feFuncBComposed=this.createFeFunc("feFuncB",Zt))}SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,r,o){for(var Zt=0,tr=256,ar,ir=Math.min(t,e),fr=Math.max(t,e),gr=Array.call(null,{length:tr}),nr,rr=0,vr=o-r,cr=e-t;Zt<=256;)ar=Zt/256,ar<=ir?nr=cr<0?o:r:ar>=fr?nr=cr<0?r:o:nr=r+vr*Math.pow((ar-t)/cr,1/i),gr[rr]=nr,rr+=1,Zt+=256/(tr-1);return gr.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,i,r,o){var Zt=e.container.globalData.renderConfig.filterSize,tr=e.data.fs||Zt;t.setAttribute("x",tr.x||Zt.x),t.setAttribute("y",tr.y||Zt.y),t.setAttribute("width",tr.width||Zt.width),t.setAttribute("height",tr.height||Zt.height),this.filterManager=e;var ar=createNS("feGaussianBlur");ar.setAttribute("in","SourceAlpha"),ar.setAttribute("result",r+"_drop_shadow_1"),ar.setAttribute("stdDeviation","0"),this.feGaussianBlur=ar,t.appendChild(ar);var ir=createNS("feOffset");ir.setAttribute("dx","25"),ir.setAttribute("dy","0"),ir.setAttribute("in",r+"_drop_shadow_1"),ir.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=ir,t.appendChild(ir);var fr=createNS("feFlood");fr.setAttribute("flood-color","#00ff00"),fr.setAttribute("flood-opacity","1"),fr.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=fr,t.appendChild(fr);var gr=createNS("feComposite");gr.setAttribute("in",r+"_drop_shadow_3"),gr.setAttribute("in2",r+"_drop_shadow_2"),gr.setAttribute("operator","in"),gr.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(gr);var nr=this.createMergeNode(r,[r+"_drop_shadow_4",o]);t.appendChild(nr)}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 i=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=i*Math.cos(r),Zt=i*Math.sin(r);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",Zt)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var r=i.children,o=0,Zt=r.length;o<Zt&&r[o]!==t.layerElement;)o+=1;var tr;o<=Zt-2&&(tr=r[o+1]);var ar=createNS("use");ar.setAttribute("href","#"+e),tr?i.insertBefore(ar,tr):i.appendChild(ar)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var o=t.globalData.defs;o.appendChild(r);var Zt=createNS("symbol");Zt.setAttribute("id",i),this.replaceInParent(e,i),Zt.appendChild(e.layerElement),o.appendChild(Zt);var tr=createNS("use");tr.setAttribute("href","#"+i),r.appendChild(tr),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,r=e.length;i<r;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(t,e,i,r){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("result",r),t.appendChild(o),this.feGaussianBlur=o}SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,i=this.filterManager.effectElements[0].p.v*e,r=this.filterManager.effectElements[1].p.v,o=r==3?0:i,Zt=r==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",o+" "+Zt);var tr=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",tr)}};function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,i=e[0].p.v,r=e[1].p.v,o=e[2].p.v===1,Zt=e[3].p.v,tr=o?Zt:e[4].p.v,ar=e[5].p.v,ir=e[6].p.v,fr=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(tr*.01,Zt*.01,1),this.matrix.rotate(-fr*degToRads),this.matrix.skewFromAxis(-ar*degToRads,(ir+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(t,e){this.init(e)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(t){this.init(t)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie});function addElementToList(t,e){e.push(t),t._isDirty=!1,t._changedStyles.length=0,t._changedAttributes.length=0,t._changedElements.length=0,t._textContent=null,t.children.forEac
vendor: 4,835 bytes, line 846
846h(function(i){addElementToList(i,e)})}function addChangedAttributes(t){for(var e=t._changedAttributes,i=[],r,o=0;o<e.length;o+=1)r=e[o],i.push([r,t.attributes[r]]);return i}function addChangedStyles(t){for(var e=t._changedStyles,i=[],r,o=0;o<e.length;o+=1)r=e[o],i.push([r,t.style[r]]);return i}function addChangedElements(t,e){for(var i=t._changedElements,r=[],o,Zt=0;Zt<i.length;Zt+=1)o=i[Zt],r.push([o[0].serialize(),o[1],o[2]]),addElementToList(o[0],e);return r}function loadAnimation(t){var e=t.params,i,r,o=[],Zt;if(e.renderer==="svg")i=document.createElement("div"),e.container=i;else{Zt=e.rendererSettings.canvas,Zt||(Zt=document.createElement("canvas"),Zt.width=e.animationData.w,Zt.height=e.animationData.h);var tr=Zt.getContext("2d");e.rendererSettings.context=tr}r=lottie.loadAnimation(e),r.addEventListener("error",function(ar){console.log(ar)}),r.onError=function(ar){console.log("ERRORO",ar)},r.addEventListener("_play",function(){self.postMessage({type:"playing",payload:{id:t.id}})}),r.addEventListener("_pause",function(){self.postMessage({type:"paused",payload:{id:t.id}})}),e.renderer==="svg"?(r.addEventListener("DOMLoaded",function(){var ar=i.serialize();addElementToList(i,o),self.postMessage({type:"SVGloaded",payload:{id:t.id,tree:ar.children[0]}})}),r.addEventListener("drawnFrame",function(ar){for(var ir=[],fr,gr=0;gr<o.length;gr+=1)if(fr=o[gr],fr._isDirty){var nr={id:fr.attributes.id,styles:addChangedStyles(fr),attributes:addChangedAttributes(fr),elements:addChangedElements(fr,o),textContent:fr._textContent||void 0};ir.push(nr),fr._isDirty=!1,fr._changedAttributes.length=0,fr._changedStyles.length=0,fr._changedElements.length=0,fr._textContent=null}self.postMessage({type:"SVGupdated",payload:{elements:ir,id:t.id,currentTime:ar.currentTime}})})):Zt._isProxy&&r.addEventListener("drawnFrame",function(ar){self.postMessage({type:"CanvasUpdated",payload:{instructions:Zt.instructions,id:t.id,currentTime:ar.currentTime}}),Zt.resetInstructions()}),r.addEventListener("DOMLoaded",function(){self.postMessage({type:"DOMLoaded",payload:{id:t.id,totalFrames:r.totalFrames,frameRate:r.frameRate,firstFrame:r.firstFrame,currentFrame:r.currentFrame,playDirection:r.playDirection,isSubframeEnabled:r.isSubframeEnabled,currentRawFrame:r.currentRawFrame,timeCompleted:r.timeCompleted}})}),animations[t.id]={animation:r,events:{}}}return{loadAnimation}}();onmessage=function(t){var e=t.data,i=e.type,r=e.payload;if(i==="load")lottieInternal.loadAnimation(r);else if(i==="pause")animations[r.id]&&animations[r.id].animation.pause();else if(i==="play")animations[r.id]&&animations[r.id].animation.play();else if(i==="stop")animations[r.id]&&animations[r.id].animation.stop();else if(i==="setSpeed")animations[r.id]&&animations[r.id].animation.setSpeed(r.value);else if(i==="setDirection")animations[r.id]&&animations[r.id].animation.setDirection(r.value);else if(i==="setLoop")animations[r.id]&&animations[r.id].animation.setLoop(r.value);else if(i==="goToAndPlay")animations[r.id]&&animations[r.id].animation.goToAndPlay(r.value,r.isFrame);else if(i==="goToAndStop")animations[r.id]&&animations[r.id].animation.goToAndStop(r.value,r.isFrame);else if(i==="setSubframe")animations[r.id]&&animations[r.id].animation.setSubframe(r.value);else if(i==="addEventListener"){if(animations[r.id]){var o=function(){self.postMessage({type:"event",payload:{id:r.id,callbackId:r.callbackId,argument:arguments[0]}})};animations[r.id].events[r.callbackId]={callback:o},animations[r.id].animation.addEventListener(r.eventName,o)}}else if(i==="removeEventListener"){if(animations[r.id]){var Zt=animations[r.id].events[r.callbackId];animations[r.id].animation.removeEventListener(r.eventName,Zt)}}else i==="destroy"?animations[r.id]&&(animations[r.id].animation.destroy(),animations[r.id]=null):i==="resize"?animations[r.id]&&animations[r.id].animation.resize(r.width,r.height):i==="playSegments"?animations[r.id]&&animations[r.id].animation.playSegments(r.arr,r.forceFlag):i==="updateDocumentData"&&animations[r.id].animation.updateDocumentData(r.path,r.documentData,r.index)}}function createWorker(t){var e=new Blob(["("+t.toString()+"())"],{type:"text/javascript"}),i=URL.createObjectURL(e);return new Worker(i)}var lottie=function(){var t=createWorker(workerContent),e=0,i=0,r={},o={rendererSettings:{}};function Zt(Ir,zr,$r,es){var hs;Ir.type==="div"?hs=document.createElement("div"):hs=document.createElementNS(Ir.namespace,Ir.type),Ir.textContent&&(hs.textContent=Ir.textContent);for(var ps in Ir.attributes)Object.prototype.hasOwnProperty.call(Ir.attributes,ps)&&(ps==="href"?hs.setAttributeNS("http://www.w3.org/1999/xlink",ps,Ir.attributes[ps]):hs.setAttribute(ps,Ir.attributes[ps]),ps==="id"&&($r[Ir.attributes[ps]]=hs));for(var os in Ir.style)Object.prototype.hasOwnProperty.call(Ir.style,os)&&(hs.style[os]=Ir.style[os]);
846Ir.children.forEach(function(xs){Zt(xs,hs,$r)}),es?zr.insertBefore(hs,es):zr.appendChild(hs)}var tr=function(){return function(Ir){var zr=r[Ir.id];zr._loaded=!0,zr.pendingCallbacks.forEach(function($r){zr.animInstance.addEventListener($r.eventName,$r.callback),$r.eventName==="DOMLoaded"&&$r.callback()}),zr.animInstance.totalFrames=Ir.totalFrames,zr.animInstance.frameRate=Ir.frameRate,zr.animInstance.firstFrame=Ir.firstFrame,zr.animInstance.playDirection=Ir.playDirection,zr.animInstance.currentFrame=Ir.isSubframeEnabled?Ir.currentRawFrame:~~Ir.currentRawFrame,Ir.timeCompleted!==Ir.totalFrames&&Ir.currentFrame>Ir.timeCompleted&&(zr.animInstance.currentFrame=Ir.timeCompleted)}}(),ar=function(){return function(Ir){var zr=r[Ir.id],$r=zr.container,es=zr.elements;Zt(Ir.tree,$r,es)}}();function ir(Ir,zr){for(var $r,es=0;es<Ir.length;es+=1){$r=Ir[es];var hs=zr[$r[1]];if(hs){var ps;$r[2]&&(ps=zr[$r[2]]),Zt($r[0],hs,zr,ps),Ir.splice(es,1),es-=1}}}function fr(Ir,zr){for(var $r,es=0;es<zr.length;es+=1)$r=zr[es],Ir.style[$r[0]]=$r[1]}function gr(Ir,zr){for(var $r,es=0;es<zr.length;es+=1)$r=zr[es],Ir.setAttribute($r[0],$r[1])}function nr(Ir,zr){zr&&(Ir.textContent=zr)}function rr(Ir){var zr=Ir.elements,$r=r[Ir.id];if($r){for(var es=$r.elements,hs,ps=0;ps<zr.length;ps+=1){hs=zr[ps];var os=es[hs.id];ir(hs.elements,es),fr(os,hs.styles),gr(os,hs.attributes),nr(os,hs.textContent)}$r.animInstance.currentFrame=Ir.currentTime}}function vr(Ir){var zr=Ir.getContext("2d"),$r={beginPath:zr.beginPath,closePath:zr.closePath,rect:zr.rect,clip:zr.clip,clearRect:zr.clearRect,setTransform:zr.setTransform,moveTo:zr.moveTo,bezierCurveTo:zr.bezierCurveTo,lineTo:zr.lineTo,fill:zr.fill,save:zr.save,restore:zr.restore};return function(es){for(var hs=0;hs<es.length;hs+=1){var ps=es[hs],os=$r[ps.t];os?os.apply(zr,ps.a):zr[ps.t]=ps.a}}}function cr(Ir){var zr=r[Ir.id];zr.instructionsHandler(Ir.instructions)}function ur(Ir){var zr=r[Ir.id];if(zr){var $r=zr.callbacks;$r[Ir.callbackId]&&$r[Ir.callbackId].callback(Ir.argument)}}function Er(Ir){var zr=r[Ir.id];zr&&(zr.animInstance.isPaused=!1)}function or(Ir){var zr=r[Ir.id];zr&&(zr.animInstance.isPaused=!0)}var sr={DOMLoaded:tr,SVGloaded:ar,SVGupdated:rr,CanvasUpdated:cr,event:ur,playing:Er,paused:or};t.onmessage=function(Ir){sr[Ir.data.type]&&sr[Ir.data.type](Ir.data.payload)};function pr(Ir){return new Promise(function(zr,$r){var es=Object.assign({},o,Ir);es.animType&&!es.renderer&&(es.renderer=es.animType),es.wrapper&&(es.container||(es.container=es.wrapper),delete es.wrapper),es.animationData?zr(es):es.path?fetch(es.path).then(function(hs){return hs.json()}).then(function(hs){es.animationData=hs,delete es.path,zr(es)}):$r()})}function dr(Ir){e+=1;var zr="lottie_animationId_"+e,$r={elements:{},callbacks:{},pendingCallbacks:[],status:"init"},es={id:zr,isPaused:!0,pause:function(){t.postMessage({type:"pause",payload:{id:zr}})},play:function(){t.postMessage({type:"play",payload:{id:zr}})},stop:function(){t.postMessage({type:"stop",payload:{id:zr}})},setSpeed:function(hs){t.postMessage({type:"setSpeed",payload:{id:zr,value:hs}})},setDirection:function(hs){t.postMessage({type:"setDirection",payload:{id:zr,value:hs}})},setLoop:function(hs){t.postMessage({type:"setLoop",payload:{id:zr,value:hs}})},goToAndStop:function(hs,ps){t.postMessage({type:"goToAndStop",payload:{id:zr,value:hs,isFrame:ps}})},goToAndPlay:function(hs,ps){t.postMessage({type:"goToAndPlay",payload:{id:zr,value:hs,isFrame:ps}})},playSegments:function(hs,ps){t.postMessage({type:"playSegments",payload:{id:zr,arr:hs,forceFlag:ps}})},setSubframe:function(hs){t.postMessage({type:"setSubframe",payload:{id:zr,value:hs}})},addEventListener:function(hs,ps){if(!$r._loaded)$r.pendingCallbacks.push({eventName:hs,callback:ps});else{i+=1;var os="callback_"+i;$r.callbacks[os]={eventName:hs,callback:ps},t.postMessage({type:"addEventListener",payload:{id:zr,callbackId:os,eventName:hs}})}},removeEventListener:function(hs,ps){Object.keys($r.callbacks).forEac
vendor: 6,786 bytes, line 846
846h(function(os){$r.callbacks[os].eventName===hs&&($r.callbacks[os].callback===ps||!ps)&&(delete $r.callbacks[os],t.postMessage({type:"removeEventListener",payload:{id:zr,callbackId:os,eventName:hs}}))})},destroy:function(){$r.status==="init"?$r.status="destroyable":($r.status="destroyed",r[zr]=null,$r.container&&($r.container.innerHTML=""),t.postMessage({type:"destroy",payload:{id:zr}}))},resize:function(hs,ps){var os=window.devicePixelRatio||1;t.postMessage({type:"resize",payload:{id:zr,width:hs||($r.container?$r.container.offsetWidth*os:0),height:ps||($r.container?$r.container.offsetHeight*os:0)}})},updateDocumentData:function(hs,ps,os){t.postMessage({type:"updateDocumentData",payload:{id:zr,path:hs,documentData:ps,index:os}})}};return $r.animInstance=es,pr(Ir).then(function(hs){if($r.status==="destroyable"){$r.animInstance.destroy();return}$r.status="loaded";var ps=[];if(hs.container&&($r.container=hs.container,delete hs.container),hs.renderer==="canvas"){var os=hs.rendererSettings.canvas;if(!os){var xs=window.devicePixelRatio||1;os=document.createElement("canvas"),$r.container.appendChild(os),os.width=($r.container?$r.container.offsetWidth:hs.animationData.w)*xs,os.height=($r.container?$r.container.offsetHeight:hs.animationData.h)*xs,os.style.width="100%",os.style.height="100%"}var is=os;typeof OffscreenCanvas>"u"?($r.canvas=os,$r.instructionsHandler=vr(os)):(os instanceof OffscreenCanvas||(is=os.transferControlToOffscreen(),hs.rendererSettings.canvas=is),ps.push(is))}r[zr]=$r,t.postMessage({type:"load",payload:{params:hs,id:zr}},ps)}),es}var Pr={loadAnimation:dr};return Pr}();return lottie})}),yt$2=dt();const lottie_workerQ23FJ6ZRYP5OKMTN=Object.freeze(Object.defineProperty({__proto__:null,default:yt$2},Symbol.toStringTag,{value:"Module"}));var fa=u((t,e)=>{typeof navigator<"u"&&function(i,r){typeof t=="object"&&typeof e<"u"?e.exports=r():typeof define=="function"&&define.amd?define(r):(i=typeof globalThis<"u"?globalThis:i||self,i.lottie=r())}(t,function(){var i="http://www.w3.org/2000/svg",r="",o=!1,Zt=-999999,tr=function(br){o=!!br},ar=function(){return o},ir=function(br){r=br},fr=function(){return r};function gr(br){return document.createElement(br)}function nr(br,Cr){var Rr,qr=br.length,Qr;for(Rr=0;Rr<qr;Rr+=1){Qr=br[Rr].prototype;for(var Jr in Qr)Object.prototype.hasOwnProperty.call(Qr,Jr)&&(Cr.prototype[Jr]=Qr[Jr])}}function rr(br){function Cr(){}return Cr.prototype=br,Cr}var vr=function(){function br(Cr){this.audios=[],this.audioFactory=Cr,this._volume=1,this._isMuted=!1}return br.prototype={addAudio:function(Cr){this.audios.push(Cr)},pause:function(){var Cr,Rr=this.audios.length;for(Cr=0;Cr<Rr;Cr+=1)this.audios[Cr].pause()},resume:function(){var Cr,Rr=this.audios.length;for(Cr=0;Cr<Rr;Cr+=1)this.audios[Cr].resume()},setRate:function(Cr){var Rr,qr=this.audios.length;for(Rr=0;Rr<qr;Rr+=1)this.audios[Rr].setRate(Cr)},createAudio:function(Cr){return this.audioFactory?this.audioFactory(Cr):window.Howl?new window.Howl({src:[Cr]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(Cr){this.audioFactory=Cr},setVolume:function(Cr){this._volume=Cr,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var Cr,Rr=this.audios.length;for(Cr=0;Cr<Rr;Cr+=1)this.audios[Cr].volume(this._volume*(this._isMuted?0:1))}},function(){return new br}}(),cr=function(){function br(Rr,qr){var Qr=0,Jr=[],fs;switch(Rr){case"int16":case"uint8c":fs=1;break;default:fs=1.1;break}for(Qr=0;Qr<qr;Qr+=1)Jr.push(fs);return Jr}function Cr(Rr,qr){return Rr==="float32"?new Float32Array(qr):Rr==="int16"?new Int16Array(qr):Rr==="uint8c"?new Uint8ClampedArray(qr):br(Rr,qr)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?Cr:br}();function ur(br){return Array.apply(null,{length:br})}var Er=!0,or=null,sr="",pr=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),dr=Math.pow,Pr=Math.sqrt,Ir=Math.floor,zr=Math.min,$r=150,es=Math.PI/180,hs=.5519;function ps(br,Cr,Rr,qr){this.type=br,this.currentTime=Cr,this.totalTime=Rr,this.direction=qr<0?-1:1}function os(br,Cr){this.type=br,this.direction=Cr<0?-1:1}function xs(br,Cr,Rr,qr){this.type=br,this.currentLoop=Rr,this.totalLoops=Cr,this.direction=qr<0?-1:1}function is(br,Cr,Rr){this.type=br,this.firstFrame=Cr,this.totalFrames=Rr}function cs(br,Cr){this.type=br,this.target=Cr}function Ar(br,Cr){this.type="renderFrameError",this.nativeError=br,this.currentTime=Cr}function Tr(br){this.type="configError",this.nativeError=br}var yr=function(){var br=0;return function(){return br+=1,sr+"__lottie_element_"+br}}();function Mr(br,Cr,Rr){var qr,Qr,Jr,fs,Ss,us,Ds,ks;switch(fs=Math.floor(br*6),Ss=br*6-fs,us=Rr*(1-Cr),Ds=Rr*(1-Ss*Cr),ks=Rr*(1-(1-Ss)*Cr),fs%6){case 0:qr=Rr,Qr=ks,Jr=us;break;case 1:qr=Ds,Qr=Rr,Jr=us;break;case 2:qr=us,Qr=Rr,Jr=ks;break;case 3:qr=us,Qr=Ds,Jr=Rr;break;case 4:qr=ks,Qr=us,Jr=Rr;break;case 5:qr=Rr,Qr=us,Jr=Ds;break}return[qr,Qr,Jr]}function Ur(br,Cr,Rr){var qr=Math.max(br,Cr,Rr),Qr=Math.min(br,Cr,Rr),Jr=qr-Qr,fs,Ss=qr===0?0:Jr/qr,us=qr/255;switch(qr){case Qr:fs=0;break;case br:fs=Cr-Rr+Jr*(Cr<Rr?6:0),fs/=6*Jr;break;case Cr:fs=Rr-br+Jr*2,fs/=6*Jr;break;case Rr:fs=br-Cr+Jr*4,fs/=6*Jr;break}return[fs,Ss,us]}function jr(br,Cr){var Rr=Ur(br[0]*255,br[1]*255,br[2]*255);return Rr[1]+=Cr,Rr[1]>1?Rr[1]=1:Rr[1]<=0&&(Rr[1]=0),Mr(Rr[0],Rr[1],Rr[2])}function Vs(br,Cr){var Rr=Ur(br[0]*255,br[1]*255,br[2]*255);return Rr[2]+=Cr,Rr[2]>1?Rr[2]=1:Rr[2]<0&&(Rr[2]=0),Mr(Rr[0],Rr[1],Rr[2])}function Ts(br,Cr){var Rr=Ur(br[0]*255,br[1]*255,br[2]*255);return Rr[0]+=Cr/360,Rr[0]>1?Rr[0]-=1:Rr[0]<0&&(Rr[0]+=1),Mr(Rr[0],Rr[1],Rr[2])}(function(){var br=[],Cr,Rr;for(Cr=0;Cr<256;Cr+=1)Rr=Cr.toString(16),br[Cr]=Rr.length===1?"0"+Rr:Rr;return function(qr,Qr,Jr){return qr<0&&(qr=0),Qr<0&&(Qr=0),Jr<0&&(Jr=0),"#"+br[qr]+br[Qr]+br[Jr]}})();var Ns=function(br){Er=!!br},Bs=function(){return Er},Ys=function(br){or=br},Hs=function(){return or},Qs=function(br){$r=br},na=function(){return $r},ra=function(br){sr=br};function $s(br){return document.createElementNS(i,br)}function sa(br){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?sa=function(Cr){return typeof Cr}:sa=function(Cr){return Cr&&typeof Symbol=="function"&&Cr.constructor===Symbol&&Cr!==Symbol.prototype?"symbol":typeof Cr},sa(br)}var Rs=function(){var br=1,Cr=[],Rr,qr,Qr={onmessage:function(){},postMessage:function(ys){Rr({data:ys})}},Jr={postMessage:function(ys){Qr.onmessage({data:ys})}};function fs(ys){if(window.Worker&&window.Blob&&ar()){var hr=new Blob(["var _workerSelf = self;
846 self.onmessage = ",ys.toString()],{type:"text/javascript"}),_r=URL.createObjectURL(hr);return new Worker(_r)}return Rr=ys,Qr}function Ss(){qr||(qr=fs(function(ys){function hr(){function xr(Xr,Nr){var Or,Gr,Lr=Xr.length,Kr,ts,Wr,as;for(Gr=0;Gr<Lr;Gr+=1)if(Or=Xr[Gr],"ks"in Or&&!Or.completed){if(Or.completed=!0,Or.hasMask){var ls=Or.masksProperties;for(ts=ls.length,Kr=0;Kr<ts;Kr+=1)if(ls[Kr].pt.k.i)lr(ls[Kr].pt.k);else for(as=ls[Kr].pt.k.length,Wr=0;Wr<as;Wr+=1)ls[Kr].pt.k[Wr].s&&lr(ls[Kr].pt.k[Wr].s[0]),ls[Kr].pt.k[Wr].e&&lr(ls[Kr].pt.k[Wr].e[0])}Or.ty===0?(Or.layers=Fr(Or.refId,Nr),xr(Or.layers,Nr)):Or.ty===4?er(Or.shapes):Or.ty===5&&Zr(Or)}}function Dr(Xr,Nr){if(Xr){var Or=0,Gr=Xr.length;for(Or=0;Or<Gr;Or+=1)Xr[Or].t===1&&(Xr[Or].data.layers=Fr(Xr[Or].data.refId,Nr),xr(Xr[Or].data.layers,Nr))}}function Vr(Xr,Nr){for(var Or=0,Gr=Nr.length;Or<Gr;){if(Nr[Or].id===Xr)return Nr[Or];Or+=1}return null}function Fr(Xr,Nr){var Or=Vr(Xr,Nr);return Or?Or.layers.__used?JSON.parse(JSON.stringify(Or.layers)):(Or.layers.__used=!0,Or.layers):null}function er(Xr){var Nr,Or=Xr.length,Gr,Lr;for(Nr=Or-1;Nr>=0;Nr-=1)if(Xr[Nr].ty==="sh")if(Xr[Nr].ks.k.i)lr(Xr[Nr].ks.k);else for(Lr=Xr[Nr].ks.k.length,Gr=0;Gr<Lr;Gr+=1)Xr[Nr].ks.k[Gr].s&&lr(Xr[Nr].ks.k[Gr].s[0]),Xr[Nr].ks.k[Gr].e&&lr(Xr[Nr].ks.k[Gr].e[0]);else Xr[Nr].ty==="gr"&&er(Xr[Nr].it)}function lr(Xr){var Nr,Or=Xr.i.length;for(Nr=0;Nr<Or;Nr+=1)Xr.i[Nr][0]+=Xr.v[Nr][0],Xr.i[Nr][1]+=Xr.v[Nr][1],Xr.o[Nr][0]+=Xr.v[Nr][0],Xr.o[Nr][1]+=Xr.v[Nr][1]}function mr(Xr,Nr){var Or=Nr?Nr.split("."):[100,100,100];return Xr[0]>Or[0]?!0:Or[0]>Xr[0]?!1:Xr[1]>Or[1]?!0:Or[1]>Xr[1]?!1:Xr[2]>Or[2]?!0:Or[2]>Xr[2]?!1:null}var Sr=function(){var Xr=[4,4,14];function Nr(Gr){var Lr=Gr.t.d;Gr.t.d={k:[{s:Lr,t:0}]}}function Or(Gr){var Lr,Kr=Gr.length;for(Lr=0;Lr<Kr;Lr+=1)Gr[Lr].ty===5&&Nr(Gr[Lr])}return function(Gr){if(mr(Xr,Gr.v)&&(Or(Gr.layers),Gr.assets)){var Lr,Kr=Gr.assets.length;for(Lr=0;Lr<Kr;Lr+=1)Gr.assets[Lr].layers&&Or(Gr.assets[Lr].layers)}}}(),wr=function(){var Xr=[4,7,99];return function(Nr){if(Nr.chars&&!mr(Xr,Nr.v)){var Or,Gr=Nr.chars.length;for(Or=0;Or<Gr;Or+=1){var Lr=Nr.chars[Or];Lr.data&&Lr.data.shapes&&(er(Lr.data.shapes),Lr.data.ip=0,Lr.data.op=99999,Lr.data.st=0,Lr.data.sr=1,Lr.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},Nr.chars[Or].t||(Lr.data.shapes.push({ty:"no"}),Lr.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),kr=function(){var Xr=[5,7,15];function Nr(Gr){var Lr=Gr.t.p;typeof Lr.a=="number"&&(Lr.a={a:0,k:Lr.a}),typeof Lr.p=="number"&&(Lr.p={a:0,k:Lr.p}),typeof Lr.r=="number"&&(Lr.r={a:0,k:Lr.r})}function Or(Gr){var Lr,Kr=Gr.length;for(Lr=0;Lr<Kr;Lr+=1)Gr[Lr].ty===5&&Nr(Gr[Lr])}return function(Gr){if(mr(Xr,Gr.v)&&(Or(Gr.layers),Gr.assets)){var Lr,Kr=Gr.assets.length;for(Lr=0;Lr<Kr;Lr+=1)Gr.assets[Lr].layers&&Or(Gr.assets[Lr].layers)}}}(),Br=function(){var Xr=[4,1,9];function Nr(Gr){var Lr,Kr=Gr.length,ts,Wr;for(Lr=0;Lr<Kr;Lr+=1)if(Gr[Lr].ty==="gr")Nr(Gr[Lr].it);else if(Gr[Lr].ty==="fl"||Gr[Lr].ty==="st")if(Gr[Lr].c.k&&Gr[Lr].c.k[0].i)for(Wr=Gr[Lr].c.k.length,ts=0;ts<Wr;ts+=1)Gr[Lr].c.k[ts].s&&(Gr[Lr].c.k[ts].s[0]/=255,Gr[Lr].c.k[ts].s[1]/=255,Gr[Lr].c.k[ts].s[2]/=255,Gr[Lr].c.k[ts].s[3]/=255),Gr[Lr].c.k[ts].e&&(Gr[Lr].c.k[ts].e[0]/=255,Gr[Lr].c.k[ts].e[1]/=255,Gr[Lr].c.k[ts].e[2]/=255,Gr[Lr].c.k[ts].e[3]/=255);else Gr[Lr].c.k[0]/=255,Gr[Lr].c.k[1]/=255,Gr[Lr].c.k[2]/=255,Gr[Lr].c.k[3]/=255}function Or(Gr){var Lr,Kr=Gr.length;for(Lr=0;Lr<Kr;Lr+=1)Gr[Lr].ty===4&&Nr(Gr[Lr].shapes)}return function(Gr){if(mr(Xr,Gr.v)&&(Or(Gr.layers),Gr.assets)){var Lr,Kr=Gr.assets.length;for(Lr=0;Lr<Kr;Lr+=1)Gr.assets[Lr].layers&&Or(Gr.assets[Lr].layers)}}}(),Yr=function(){var Xr=[4,4,18];function Nr(Gr){var Lr,Kr=Gr.length,ts,Wr;for(Lr=Kr-1;Lr>=0;Lr-=1)if(Gr[Lr].ty==="sh")if(Gr[Lr].ks.k.i)Gr[Lr].ks.k.c=Gr[Lr].closed;else for(Wr=Gr[Lr].ks.k.length,ts=0;ts<Wr;ts+=1)Gr[Lr].ks.k[ts].s&&(Gr[Lr].ks.k[ts].s[0].c=Gr[Lr].closed),Gr[Lr].ks.k[ts].e&&(Gr[Lr].ks.k[ts].e[0].c=Gr[Lr].closed);
vendor: 165,660 bytes, lines 846-847
846else Gr[Lr].ty==="gr"&&Nr(Gr[Lr].it)}function Or(Gr){var Lr,Kr,ts=Gr.length,Wr,as,ls,ds;for(Kr=0;Kr<ts;Kr+=1){if(Lr=Gr[Kr],Lr.hasMask){var ws=Lr.masksProperties;for(as=ws.length,Wr=0;Wr<as;Wr+=1)if(ws[Wr].pt.k.i)ws[Wr].pt.k.c=ws[Wr].cl;else for(ds=ws[Wr].pt.k.length,ls=0;ls<ds;ls+=1)ws[Wr].pt.k[ls].s&&(ws[Wr].pt.k[ls].s[0].c=ws[Wr].cl),ws[Wr].pt.k[ls].e&&(ws[Wr].pt.k[ls].e[0].c=ws[Wr].cl)}Lr.ty===4&&Nr(Lr.shapes)}}return function(Gr){if(mr(Xr,Gr.v)&&(Or(Gr.layers),Gr.assets)){var Lr,Kr=Gr.assets.length;for(Lr=0;Lr<Kr;Lr+=1)Gr.assets[Lr].layers&&Or(Gr.assets[Lr].layers)}}}();function Hr(Xr){Xr.__complete||(Br(Xr),Sr(Xr),wr(Xr),kr(Xr),Yr(Xr),xr(Xr.layers,Xr.assets),Dr(Xr.chars,Xr.assets),Xr.__complete=!0)}function Zr(Xr){Xr.t.a.length===0&&"m"in Xr.t.p}var ss={};return ss.completeData=Hr,ss.checkColors=Br,ss.checkChars=wr,ss.checkPathProperties=kr,ss.checkShapes=Yr,ss.completeLayers=xr,ss}if(Jr.dataManager||(Jr.dataManager=hr()),Jr.assetLoader||(Jr.assetLoader=function(){function xr(Vr){var Fr=Vr.getResponseHeader("content-type");return Fr&&Vr.responseType==="json"&&Fr.indexOf("json")!==-1||Vr.response&&sa(Vr.response)==="object"?Vr.response:Vr.response&&typeof Vr.response=="string"?JSON.parse(Vr.response):Vr.responseText?JSON.parse(Vr.responseText):null}function Dr(Vr,Fr,er,lr){var mr,Sr=new XMLHttpRequest;try{Sr.responseType="json"}catch{}Sr.onreadystatechange=function(){if(Sr.readyState===4)if(Sr.status===200)mr=xr(Sr),er(mr);else try{mr=xr(Sr),er(mr)}catch(wr){lr&&lr(wr)}};try{Sr.open(["G","E","T"].join(""),Vr,!0)}catch{Sr.open(["G","E","T"].join(""),Fr+"/"+Vr,!0)}Sr.send()}return{load:Dr}}()),ys.data.type==="loadAnimation")Jr.assetLoader.load(ys.data.path,ys.data.fullPath,function(xr){Jr.dataManager.completeData(xr),Jr.postMessage({id:ys.data.id,payload:xr,status:"success"})},function(){Jr.postMessage({id:ys.data.id,status:"error"})});else if(ys.data.type==="complete"){var _r=ys.data.animation;Jr.dataManager.completeData(_r),Jr.postMessage({id:ys.data.id,payload:_r,status:"success"})}else ys.data.type==="loadData"&&Jr.assetLoader.load(ys.data.path,ys.data.fullPath,function(xr){Jr.postMessage({id:ys.data.id,payload:xr,status:"success"})},function(){Jr.postMessage({id:ys.data.id,status:"error"})})}),qr.onmessage=function(ys){var hr=ys.data,_r=hr.id,xr=Cr[_r];Cr[_r]=null,hr.status==="success"?xr.onComplete(hr.payload):xr.onError&&xr.onError()})}function us(ys,hr){br+=1;var _r="processId_"+br;return Cr[_r]={onComplete:ys,onError:hr},_r}function Ds(ys,hr,_r){Ss();var xr=us(hr,_r);qr.postMessage({type:"loadAnimation",path:ys,fullPath:window.location.origin+window.location.pathname,id:xr})}function ks(ys,hr,_r){Ss();var xr=us(hr,_r);qr.postMessage({type:"loadData",path:ys,fullPath:window.location.origin+window.location.pathname,id:xr})}function Ls(ys,hr,_r){Ss();var xr=us(hr,_r);qr.postMessage({type:"complete",animation:ys,id:xr})}return{loadAnimation:Ds,loadData:ks,completeAnimation:Ls}}(),Ms=function(){var br=function(){var Vr=gr("canvas");Vr.width=1,Vr.height=1;var Fr=Vr.getContext("2d");return Fr.fillStyle="rgba(0,0,0,0)",Fr.fillRect(0,0,1,1),Vr}();function Cr(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function Rr(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function qr(Vr,Fr,er){var lr="";if(Vr.e)lr=Vr.p;else if(Fr){var mr=Vr.p;mr.indexOf("images/")!==-1&&(mr=mr.split("/")[1]),lr=Fr+mr}else lr=er,lr+=Vr.u?Vr.u:"",lr+=Vr.p;return lr}function Qr(Vr){var Fr=0,er=setInterval(function(){var lr=Vr.getBBox();(lr.width||Fr>500)&&(this._imageLoaded(),clearInterval(er)),Fr+=1}.bind(this),50)}function Jr(Vr){var Fr=qr(Vr,this.assetsPath,this.path),er=$s("image");pr?this.testImageLoaded(er):er.addEventListener("load",this._imageLoaded,!1),er.addEventListener("error",function(){lr.img=br,this._imageLoaded()}.bind(this),!1),er.setAttributeNS("http://www.w3.org/1999/xlink","href",Fr),this._elementHelper.append?this._elementHelper.append(er):this._elementHelper.appendChild(er);var lr={img:er,assetData:Vr};return lr}function fs(Vr){var Fr=qr(Vr,this.assetsPath,this.path),er=gr("img");er.crossOrigin="anonymous",er.addEventListener("load",this._imageLoaded,!1),er.addEventListener("error",function(){lr.img=br,this._imageLoaded()}.bind(this),!1),er.src=Fr;var lr={img:er,assetData:Vr};return lr}function Ss(Vr){var Fr={assetData:Vr},er=qr(Vr,this.assetsPath,this.path);return Rs.loadData(er,function(lr){Fr.img=lr,this._footageLoaded()}.bind(this),function(){Fr.img={},this._footageLoaded()}.bind(this)),Fr}function us(Vr,Fr){this.imagesLoadedCb=Fr;var er,lr=Vr.length;for(er=0;er<lr;er+=1)Vr[er].layers||(!Vr[er].t||Vr[er].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(Vr[er]))):Vr[er].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(Vr[er]))))}function Ds(Vr){this.path=Vr||""}function ks(Vr){this.assetsPath=Vr||""}function Ls(Vr){for(var Fr=0,er=this.images.length;Fr<er;){if(this.images[Fr].assetData===Vr)return this.images[Fr].img;Fr+=1}return null}function ys(){this.imagesLoadedCb=null,this.images.length=0}function hr(){return this.totalImages===this.loadedAssets}function _r(){return this.totalFootages===this.loadedFootagesCount}function xr(Vr,Fr){Vr==="svg"?(this._elementHelper=Fr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Dr(){this._imageLoaded=Cr.bind(this),this._footageLoaded=Rr.bind(this),this.testImageLoaded=Qr.bind(this),this.createFootageData=Ss.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Dr.prototype={loadAssets:us,setAssetsPath:ks,setPath:Ds,loadedImages:hr,loadedFootages:_r,destroy:ys,getAsset:Ls,createImgData:fs,createImageData:Jr,imageLoaded:Cr,footageLoaded:Rr,setCacheType:xr},Dr}();function ua(){}ua.prototype={triggerEvent:function(br,Cr){if(this._cbs[br])for(var Rr=this._cbs[br],qr=0;qr<Rr.length;qr+=1)Rr[qr](Cr)},addEventListener:function(br,Cr){return this._cbs[br]||(this._cbs[br]=[]),this._cbs[br].push(Cr),function(){this.removeEventListener(br,Cr)}.bind(this)},removeEventListener:function(br,Cr){if(!Cr)this._cbs[br]=null;else if(this._cbs[br]){for(var Rr=0,qr=this._cbs[br].length;Rr<qr;)this._cbs[br][Rr]===Cr&&(this._cbs[br].splice(Rr,1),Rr-=1,qr-=1),Rr+=1;this._cbs[br].length||(this._cbs[br]=null)}}};var ka=function(){function br(Cr){for(var Rr=Cr.split(`\r
847`),qr={},Qr,Jr=0,fs=0;fs<Rr.length;fs+=1)Qr=Rr[fs].split(":"),Qr.length===2&&(qr[Qr[0]]=Qr[1].trim(),Jr+=1);if(Jr===0)throw new Error;return qr}return function(Cr){for(var Rr=[],qr=0;qr<Cr.length;qr+=1){var Qr=Cr[qr],Jr={time:Qr.tm,duration:Qr.dr};try{Jr.payload=JSON.parse(Cr[qr].cm)}catch{try{Jr.payload=br(Cr[qr].cm)}catch{Jr.payload={name:Cr[qr].cm}}}Rr.push(Jr)}return Rr}}(),ya=function(){function br(Cr){this.compositions.push(Cr)}return function(){function Cr(Rr){for(var qr=0,Qr=this.compositions.length;qr<Qr;){if(this.compositions[qr].data&&this.compositions[qr].data.nm===Rr)return this.compositions[qr].prepareFrame&&this.compositions[qr].data.xt&&this.compositions[qr].prepareFrame(this.currentFrame),this.compositions[qr].compInterface;qr+=1}return null}return Cr.compositions=[],Cr.currentFrame=0,Cr.registerComposition=br,Cr}}(),la={},_a=function(br,Cr){la[br]=Cr};function ca(br){return la[br]}function aa(){if(la.canvas)return"canvas";for(var br in la)if(la[br])return br;return""}function da(br){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?da=function(Cr){return typeof Cr}:da=function(Cr){return Cr&&typeof Symbol=="function"&&Cr.constructor===Symbol&&Cr!==Symbol.prototype?"symbol":typeof Cr},da(br)}var js=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=yr(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Bs(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ya(),this.imagePreloader=new Ms,this.audioController=vr(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ps("drawnFrame",0,0,0),this.expressionsPlugin=Hs()};nr([ua],js),js.prototype.setParams=function(br){(br.wrapper||br.container)&&(this.wrapper=br.wrapper||br.container);var Cr="svg";br.animType?Cr=br.animType:br.renderer&&(Cr=br.renderer);var Rr=ca(Cr);this.renderer=new Rr(this,br.rendererSettings),this.imagePreloader.setCacheType(Cr,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=Cr,br.loop===""||br.loop===null||br.loop===void 0||br.loop===!0?this.loop=!0:br.loop===!1?this.loop=!1:this.loop=parseInt(br.loop,10),this.autoplay="autoplay"in br?br.autoplay:!0,this.name=br.name?br.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(br,"autoloadSegments")?br.autoloadSegments:!0,this.assetsPath=br.assetsPath,this.initialSegment=br.initialSegment,br.audioFactory&&this.audioController.setAudioFactory(br.audioFactory),br.animationData?this.setupAnimation(br.animationData):br.path&&(br.path.lastIndexOf("\\")!==-1?this.path=br.path.substr(0,br.path.lastIndexOf("\\")+1):this.path=br.path.substr(0,br.path.lastIndexOf("/")+1),this.fileName=br.path.substr(br.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Rs.loadAnimation(br.path,this.configAnimation,this.onSetupError))},js.prototype.onSetupError=function(){this.trigger("data_failed")},js.prototype.setupAnimation=function(br){Rs.completeAnimation(br,this.configAnimation)},js.prototype.setData=function(br,Cr){Cr&&da(Cr)!=="object"&&(Cr=JSON.parse(Cr));var Rr={wrapper:br,animationData:Cr},qr=br.attributes;Rr.path=qr.getNamedItem("data-animation-path")?qr.getNamedItem("data-animation-path").value:qr.getNamedItem("data-bm-path")?qr.getNamedItem("data-bm-path").value:qr.getNamedItem("bm-path")?qr.getNamedItem("bm-path").value:"",Rr.animType=qr.getNamedItem("data-anim-type")?qr.getNamedItem("data-anim-type").value:qr.getNamedItem("data-bm-type")?qr.getNamedItem("data-bm-type").value:qr.getNamedItem("bm-type")?qr.getNamedItem("bm-type").value:qr.getNamedItem("data-bm-renderer")?qr.getNamedItem("data-bm-renderer").value:qr.getNamedItem("bm-renderer")?qr.getNamedItem("bm-renderer").value:aa()||"canvas";var Qr=qr.getNamedItem("data-anim-loop")?qr.getNamedItem("data-anim-loop").value:qr.getNamedItem("data-bm-loop")?qr.getNamedItem("data-bm-loop").value:qr.getNamedItem("bm-loop")?qr.getNamedItem("bm-loop").value:"";Qr==="false"?Rr.loop=!1:Qr==="true"?Rr.loop=!0:Qr!==""&&(Rr.loop=parseInt(Qr,10));var Jr=qr.getNamedItem("data-anim-autoplay")?qr.getNamedItem("data-anim-autoplay").value:qr.getNamedItem("data-bm-autoplay")?qr.getNamedItem("data-bm-autoplay").value:qr.getNamedItem("bm-autoplay")?qr.getNamedItem("bm-autoplay").value:!0;Rr.autoplay=Jr!=="false",Rr.name=qr.getNamedItem("data-name")?qr.getNamedItem("data-name").value:qr.getNamedItem("data-bm-name")?qr.getNamedItem("data-bm-name").value:qr.getNamedItem("bm-name")?qr.getNamedItem("bm-name").value:"";var fs=qr.getNamedItem("data-anim-prerender")?qr.getNamedItem("data-anim-prerender").value:qr.getNamedItem("data-bm-prerender")?qr.getNamedItem("data-bm-prerender").value:qr.getNamedItem("bm-prerender")?qr.getNamedItem("bm-prerender").value:"";fs==="false"&&(Rr.prerender=!1),Rr.path?this.setParams(Rr):this.trigger("destroy")},js.prototype.includeLayers=function(br){br.op>this.animationData.op&&(this.animationData.op=br.op,this.totalFrames=Math.floor(br.op-this.animationData.ip));var Cr=this.animationData.layers,Rr,qr=Cr.length,Qr=br.layers,Jr,fs=Qr.length;for(Jr=0;Jr<fs;Jr+=1)for(Rr=0;Rr<qr;){if(Cr[Rr].id===Qr[Jr].id){Cr[Rr]=Qr[Jr];break}Rr+=1}if((br.chars||br.fonts)&&(this.renderer.globalData.fontManager.addChars(br.chars),this.renderer.globalData.fontManager.addFonts(br.fonts,this.renderer.globalData.defs)),br.assets)for(qr=br.assets.length,Rr=0;Rr<qr;Rr+=1)this.animationData.assets.push(br.assets[Rr]);this.animationData.__complete=!1,Rs.completeAnimation(this.animationData,this.onSegmentComplete)},js.prototype.onSegmentComplete=function(br){this.animationData=br;var Cr=Hs();Cr&&Cr.initExpressions(this),this.loadNextSegment()},js.prototype.loadNextSegment=function(){var br=this.animationData.segments;if(!br||br.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var Cr=br.shift();this.timeCompleted=Cr.time*this.frameRate;var Rr=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Rs.loadData(Rr,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},js.prototype.loadSegments=function(){var br=this.animationData.segments;br||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},js.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},js.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},js.prototype.configAnimation=function(br){if(this.renderer)try{this.animationData=br,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(br),br.assets||(br.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(br.assets),this.markers=ka(br.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(Cr){this.triggerConfigError(Cr)}},js.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},js.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var br=Hs();br&&br.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},js.prototype.resize=function(br,Cr){var Rr=typeof br=="number"?br:void 0,qr=typeof Cr=="number"?Cr:void 0;this.renderer.updateContainerSize(Rr,qr)},js.prototype.setSubframe=function(br){this.isSubframeEnabled=!!br},js.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},js.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(br){this.triggerRenderFrameError(br)}},js.prototype.play=function(br){br&&this.name!==br||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},js.prototype.pause=function(br){br&&this.name!==br||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},js.prototype.togglePause=function(br){br&&this.name!==br||(this.isPaused===!0?this.play():this.pause())},js.prototype.stop=function(br){br&&this.name!==br||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},js.prototype.getMarkerData=function(br){for(var Cr,Rr=0;Rr<this.markers.length;Rr+=1)if(Cr=this.markers[Rr],Cr.payload&&Cr.payload.name===br)return Cr;return null},js.prototype.goToAndStop=function(br,Cr,Rr){if(!(Rr&&this.name!==Rr)){var qr=Number(br);if(isNaN(qr)){var Qr=this.getMarkerData(br);Qr&&this.goToAndStop(Qr.time,!0)}else Cr?this.setCurrentRawFrameValue(br):this.setCurrentRawFrameValue(br*this.frameModifier);this.pause()}},js.prototype.goToAndPlay=function(br,Cr,Rr){if(!(Rr&&this.name!==Rr)){var qr=Number(br);if(isNaN(qr)){var Qr=this.getMarkerData(br);Qr&&(Qr.duration?this.playSegments([Qr.time,Qr.time+Qr.duration],!0):this.goToAndStop(Qr.time,!0))}else this.goToAndStop(qr,Cr,Rr);this.play()}},js.prototype.advanceTime=function(br){if(!(this.isPaused===!0||this.isLoaded===!1)){var Cr=this.currentRawFrame+br*this.frameModifier,Rr=!1;Cr>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(Cr>this.totalFrames?Cr%this.totalFrames:0)||(Rr=!0,Cr=this.totalFrames-1):Cr>=this.totalFrames?(this.playCount+=1,this.checkSegments(Cr%this.totalFrames)||(this.setCurrentRawFrameValue(Cr%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(Cr):Cr<0?this.checkSegments(Cr%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+Cr%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(Rr=!0,Cr=0)):this.setCurrentRawFrameValue(Cr),Rr&&(this.setCurrentRawFrameValue(Cr),this.pause(),this.trigger("complete"))}},js.prototype.adjustSegment=function(br,Cr){this.playCount=0,br[1]<br[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=br[0]-br[1],this.timeCompleted=this.totalFrames,this.firstFrame=br[1],this.setCurrentRawFrameValue(this.totalFrames-.001-Cr)):br[1]>br[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=br[1]-br[0],this.timeCompleted=this.totalFrames,this.firstFrame=br[0],this.setCurrentRawFrameValue(.001+Cr)),this.trigger("segmentStart")},js.prototype.setSegment=function(br,Cr){var Rr=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<br?Rr=br:this.currentRawFrame+this.firstFrame>Cr&&(Rr=Cr-br)),this.firstFrame=br,this.totalFrames=Cr-br,this.timeCompleted=this.totalFrames,Rr!==-1&&this.goToAndStop(Rr,!0)},js.prototype.playSegments=function(br,Cr){if(Cr&&(this.segments.length=0),da(br[0])==="object"){var Rr,qr=br.length;for(Rr=0;Rr<qr;Rr+=1)this.segments.push(br[Rr])}else this.segments.push(br);this.segments.length&&Cr&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},js.prototype.resetSegments=function(br){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),br&&this.checkSegments(0)},js.prototype.checkSegments=function(br){return this.segments.length?(this.adjustSegment(this.segments.shift(),br),!0):!1},js.prototype.destroy=function(br){br&&this.name!==br||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},js.prototype.setCurrentRawFrameValue=function(br){this.currentRawFrame=br,this.gotoFrame()},js.prototype.setSpeed=function(br){this.playSpeed=br,this.updaFrameModifier()},js.prototype.setDirection=function(br){this.playDirection=br<0?-1:1,this.updaFrameModifier()},js.prototype.setLoop=function(br){this.loop=br},js.prototype.setVolume=function(br,Cr){Cr&&this.name!==Cr||this.audioController.setVolume(br)},js.prototype.getVolume=function(){return this.audioController.getVolume()},js.prototype.mute=function(br){br&&this.name!==br||this.audioController.mute()},js.prototype.unmute=function(br){br&&this.name!==br||this.audioController.unmute()},js.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},js.prototype.getPath=function(){return this.path},js.prototype.getAssetsPath=function(br){var Cr="";if(br.e)Cr=br.p;else if(this.assetsPath){var Rr=br.p;Rr.indexOf("images/")!==-1&&(Rr=Rr.split("/")[1]),Cr=this.assetsPath+Rr}else Cr=this.path,Cr+=br.u?br.u:"",Cr+=br.p;return Cr},js.prototype.getAssetData=function(br){for(var Cr=0,Rr=this.assets.length;Cr<Rr;){if(br===this.assets[Cr].id)return this.assets[Cr];Cr+=1}return null},js.prototype.hide=function(){this.renderer.hide()},js.prototype.show=function(){this.renderer.show()},js.prototype.getDuration=function(br){return br?this.totalFrames:this.totalFrames/this.frameRate},js.prototype.updateDocumentData=function(br,Cr,Rr){try{var qr=this.renderer.getElementByPath(br);qr.updateDocumentData(Cr,Rr)}catch{}},js.prototype.trigger=function(br){if(this._cbs&&this._cbs[br])switch(br){case"enterFrame":this.triggerEvent(br,new ps(br,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(br,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(br,new xs(br,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(br,new os(br,this.frameMult));break;case"segmentStart":this.triggerEvent(br,new is(br,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(br,new cs(br,this));break;default:this.triggerEvent(br)}br==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ps(br,this.currentFrame,this.totalFrames,this.frameMult)),br==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new xs(br,this.loop,this.playCount,this.frameMult)),br==="complete"&&this.onComplete&&this.onComplete.call(this,new os(br,this.frameMult)),br==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new is(br,this.firstFrame,this.totalFrames)),br==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new cs(br,this))},js.prototype.triggerRenderFrameError=function(br){var Cr=new Ar(br,this.currentFrame);this.triggerEvent("error",Cr),this.onError&&this.onError.call(this,Cr)},js.prototype.triggerConfigError=function(br){var Cr=new Tr(br,this.currentFrame);this.triggerEvent("error",Cr),this.onError&&this.onError.call(this,Cr)};var Us=function(){var br={},Cr=[],Rr=0,qr=0,Qr=0,Jr=!0,fs=!1;function Ss(Or){for(var Gr=0,Lr=Or.target;Gr<qr;)Cr[Gr].animation===Lr&&(Cr.splice(Gr,1),Gr-=1,qr-=1,Lr.isPaused||Ls()),Gr+=1}function us(Or,Gr){if(!Or)return null;for(var Lr=0;Lr<qr;){if(Cr[Lr].elem===Or&&Cr[Lr].elem!==null)return Cr[Lr].animation;Lr+=1}var Kr=new js;return ys(Kr,Or),Kr.setData(Or,Gr),Kr}function Ds(){var Or,Gr=Cr.length,Lr=[];for(Or=0;Or<Gr;Or+=1)Lr.push(Cr[Or].animation);return Lr}function ks(){Qr+=1,Yr()}function Ls(){Qr-=1}function ys(Or,Gr){Or.addEventListener("destroy",Ss),Or.addEventListener("_active",ks),Or.addEventListener("_idle",Ls),Cr.push({elem:Gr,animation:Or}),qr+=1}function hr(Or){var Gr=new js;return ys(Gr,null),Gr.setParams(Or),Gr}function _r(Or,Gr){var Lr;for(Lr=0;Lr<qr;Lr+=1)Cr[Lr].animation.setSpeed(Or,Gr)}function xr(Or,Gr){var Lr;for(Lr=0;Lr<qr;Lr+=1)Cr[Lr].animation.setDirection(Or,Gr)}function Dr(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.play(Or)}function Vr(Or){var Gr=Or-Rr,Lr;for(Lr=0;Lr<qr;Lr+=1)Cr[Lr].animation.advanceTime(Gr);Rr=Or,Qr&&!fs?window.requestAnimationFrame(Vr):Jr=!0}function Fr(Or){Rr=Or,window.requestAnimationFrame(Vr)}function er(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.pause(Or)}function lr(Or,Gr,Lr){var Kr;for(Kr=0;Kr<qr;Kr+=1)Cr[Kr].animation.goToAndStop(Or,Gr,Lr)}function mr(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.stop(Or)}function Sr(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.togglePause(Or)}function wr(Or){var Gr;for(Gr=qr-1;Gr>=0;Gr-=1)Cr[Gr].animation.destroy(Or)}function kr(Or,Gr,Lr){var Kr=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),ts,Wr=Kr.length;for(ts=0;ts<Wr;ts+=1)Lr&&Kr[ts].setAttribute("data-bm-type",Lr),us(Kr[ts],Or);if(Gr&&Wr===0){Lr||(Lr="svg");var as=document.getElementsByTagName("body")[0];as.innerText="";var ls=gr("div");ls.style.width="100%",ls.style.height="100%",ls.setAttribute("data-bm-type",Lr),as.appendChild(ls),us(ls,Or)}}function Br(){var Or;for(Or=0;Or<qr;Or+=1)Cr[Or].animation.resize()}function Yr(){!fs&&Qr&&Jr&&(window.requestAnimationFrame(Fr),Jr=!1)}function Hr(){fs=!0}function Zr(){fs=!1,Yr()}function ss(Or,Gr){var Lr;for(Lr=0;Lr<qr;Lr+=1)Cr[Lr].animation.setVolume(Or,Gr)}function Xr(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.mute(Or)}function Nr(Or){var Gr;for(Gr=0;Gr<qr;Gr+=1)Cr[Gr].animation.unmute(Or)}return br.registerAnimation=us,br.loadAnimation=hr,br.setSpeed=_r,br.setDirection=xr,br.play=Dr,br.pause=er,br.stop=mr,br.togglePause=Sr,br.searchAnimations=kr,br.resize=Br,br.goToAndStop=lr,br.destroy=wr,br.freeze=Hr,br.unfreeze=Zr,br.setVolume=ss,br.mute=Xr,br.unmute=Nr,br.getRegisteredAnimations=Ds,br}(),qs=function(){var br={};br.getBezierEasing=Rr;var Cr={};function Rr(Fr,er,lr,mr,Sr){var wr=Sr||("bez_"+Fr+"_"+er+"_"+lr+"_"+mr).replace(/\./g,"p");if(Cr[wr])return Cr[wr];var kr=new Vr([Fr,er,lr,mr]);return Cr[wr]=kr,kr}var qr=4,Qr=.001,Jr=1e-7,fs=10,Ss=11,us=1/(Ss-1),Ds=typeof Float32Array=="function";function ks(Fr,er){return 1-3*er+3*Fr}function Ls(Fr,er){return 3*er-6*Fr}function ys(Fr){return 3*Fr}function hr(Fr,er,lr){return((ks(er,lr)*Fr+Ls(er,lr))*Fr+ys(er))*Fr}function _r(Fr,er,lr){return 3*ks(er,lr)*Fr*Fr+2*Ls(er,lr)*Fr+ys(er)}function xr(Fr,er,lr,mr,Sr){var wr,kr,Br=0;do kr=er+(lr-er)/2,wr=hr(kr,mr,Sr)-Fr,wr>0?lr=kr:er=kr;while(Math.abs(wr)>Jr&&++Br<fs);return kr}function Dr(Fr,er,lr,mr){for(var Sr=0;Sr<qr;++Sr){var wr=_r(er,lr,mr);if(wr===0)return er;var kr=hr(er,lr,mr)-Fr;er-=kr/wr}return er}function Vr(Fr){this._p=Fr,this._mSampleValues=Ds?new Float32Array(Ss):new Array(Ss),this._precomputed=!1,this.get=this.get.bind(this)}return Vr.prototype={get:function(Fr){var er=this._p[0],lr=this._p[1],mr=this._p[2],Sr=this._p[3];return this._precomputed||this._precompute(),er===lr&&mr===Sr?Fr:Fr===0?0:Fr===1?1:hr(this._getTForX(Fr),lr,Sr)},_precompute:function(){var Fr=this._p[0],er=this._p[1],lr=this._p[2],mr=this._p[3];this._precomputed=!0,(Fr!==er||lr!==mr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var Fr=this._p[0],er=this._p[2],lr=0;lr<Ss;++lr)this._mSampleValues[lr]=hr(lr*us,Fr,er)},_getTForX:function(Fr){for(var er=this._p[0],lr=this._p[2],mr=this._mSampleValues,Sr=0,wr=1,kr=Ss-1;wr!==kr&&mr[wr]<=Fr;++wr)Sr+=us;--wr;var Br=(Fr-mr[wr])/(mr[wr+1]-mr[wr]),Yr=Sr+Br*us,Hr=_r(Yr,er,lr);return Hr>=Qr?Dr(Fr,Yr,er,lr):Hr===0?Yr:xr(Fr,Sr,Sr+us,er,lr)}},br}(),ta=function(){function br(Cr){return Cr.concat(ur(Cr.length))}return{double:br}}(),ga=function(){return function(br,Cr,Rr){var qr=0,Qr=br,Jr=ur(Qr),fs={newElement:Ss,release:us};function Ss(){var Ds;return qr?(qr-=1,Ds=Jr[qr]):Ds=Cr(),Ds}function us(Ds){qr===Qr&&(Jr=ta.double(Jr),Qr*=2),Rr&&Rr(Ds),Jr[qr]=Ds,qr+=1}return fs}}(),Ha=function(){function br(){return{addedLength:0,percents:cr("float32",na()),lengths:cr("float32",na())}}return ga(8,br)}(),Na=function(){function br(){return{lengths:[],totalLength:0}}function Cr(Rr){var qr,Qr=Rr.lengths.length;for(qr=0;qr<Qr;qr+=1)Ha.release(Rr.lengths[qr]);Rr.lengths.length=0}return ga(8,br,Cr)}();function Ka(){var br=Math;function Cr(ys,hr,_r,xr,Dr,Vr){var Fr=ys*xr+hr*Dr+_r*Vr-Dr*xr-Vr*ys-_r*hr;return Fr>-.001&&Fr<.001}function Rr(ys,hr,_r,xr,Dr,Vr,Fr,er,lr){if(_r===0&&Vr===0&&lr===0)return Cr(ys,hr,xr,Dr,Fr,er);var mr=br.sqrt(br.pow(xr-ys,2)+br.pow(Dr-hr,2)+br.pow(Vr-_r,2)),Sr=br.sqrt(br.pow(Fr-ys,2)+br.pow(er-hr,2)+br.pow(lr-_r,2)),wr=br.sqrt(br.pow(Fr-xr,2)+br.pow(er-Dr,2)+br.pow(lr-Vr,2)),kr;return mr>Sr?mr>wr?kr=mr-Sr-wr:kr=wr-Sr-mr:wr>Sr?kr=wr-Sr-mr:kr=Sr-mr-wr,kr>-1e-4&&kr<1e-4}var qr=function(){return function(ys,hr,_r,xr){var Dr=na(),Vr,Fr,er,lr,mr,Sr=0,wr,kr=[],Br=[],Yr=Ha.newElement();for(er=_r.length,Vr=0;Vr<Dr;Vr+=1){for(mr=Vr/(Dr-1),wr=0,Fr=0;Fr<er;Fr+=1)lr=dr(1-mr,3)*ys[Fr]+3*dr(1-mr,2)*mr*_r[Fr]+3*(1-mr)*dr(mr,2)*xr[Fr]+dr(mr,3)*hr[Fr],kr[Fr]=lr,Br[Fr]!==null&&(wr+=dr(kr[Fr]-Br[Fr],2)),Br[Fr]=kr[Fr];wr&&(wr=Pr(wr),Sr+=wr),Yr.percents[Vr]=mr,Yr.lengths[Vr]=Sr}return Yr.addedLength=Sr,Yr}}();function Qr(ys){var hr=Na.newElement(),_r=ys.c,xr=ys.v,Dr=ys.o,Vr=ys.i,Fr,er=ys._length,lr=hr.lengths,mr=0;for(Fr=0;Fr<er-1;Fr+=1)lr[Fr]=qr(xr[Fr],xr[Fr+1],Dr[Fr],Vr[Fr+1]),mr+=lr[Fr].addedLength;return _r&&er&&(lr[Fr]=qr(xr[Fr],xr[0],Dr[Fr],Vr[0]),mr+=lr[Fr].addedLength),hr.totalLength=mr,hr}function Jr(ys){this.segmentLength=0,this.points=new Array(ys)}function fs(ys,hr){this.partialLength=ys,this.point=hr}var Ss=function(){var ys={};return function(hr,_r,xr,Dr){var Vr=(hr[0]+"_"+hr[1]+"_"+_r[0]+"_"+_r[1]+"_"+xr[0]+"_"+xr[1]+"_"+Dr[0]+"_"+Dr[1]).replace(/\./g,"p");if(!ys[Vr]){var Fr=na(),er,lr,mr,Sr,wr,kr=0,Br,Yr,Hr=null;hr.length===2&&(hr[0]!==_r[0]||hr[1]!==_r[1])&&Cr(hr[0],hr[1],_r[0],_r[1],hr[0]+xr[0],hr[1]+xr[1])&&Cr(hr[0],hr[1],_r[0],_r[1],_r[0]+Dr[0],_r[1]+Dr[1])&&(Fr=2);var Zr=new Jr(Fr);for(mr=xr.length,er=0;er<Fr;er+=1){for(Yr=ur(mr),wr=er/(Fr-1),Br=0,lr=0;lr<mr;lr+=1)Sr=dr(1-wr,3)*hr[lr]+3*dr(1-wr,2)*wr*(hr[lr]+xr[lr])+3*(1-wr)*dr(wr,2)*(_r[lr]+Dr[lr])+dr(wr,3)*_r[lr],Yr[lr]=Sr,Hr!==null&&(Br+=dr(Yr[lr]-Hr[lr],2));Br=Pr(Br),kr+=Br,Zr.points[er]=new fs(Br,Yr),Hr=Yr}Zr.segmentLength=kr,ys[Vr]=Zr}return ys[Vr]}}();function us(ys,hr){var _r=hr.percents,xr=hr.lengths,Dr=_r.length,Vr=Ir((Dr-1)*ys),Fr=ys*hr.addedLength,er=0;if(Vr===Dr-1||Vr===0||Fr===xr[Vr])return _r[Vr];for(var lr=xr[Vr]>Fr?-1:1,mr=!0;mr;)if(xr[Vr]<=Fr&&xr[Vr+1]>Fr?(er=(Fr-xr[Vr])/(xr[Vr+1]-xr[Vr]),mr=!1):Vr+=lr,Vr<0||Vr>=Dr-1){if(Vr===Dr-1)return _r[Vr];mr=!1}return _r[Vr]+(_r[Vr+1]-_r[Vr])*er}function Ds(ys,hr,_r,xr,Dr,Vr){var Fr=us(Dr,Vr),er=1-Fr,lr=br.round((er*er*er*ys[0]+(Fr*er*er+er*Fr*er+er*er*Fr)*_r[0]+(Fr*Fr*er+er*Fr*Fr+Fr*er*Fr)*xr[0]+Fr*Fr*Fr*hr[0])*1e3)/1e3,mr=br.round((er*er*er*ys[1]+(Fr*er*er+er*Fr*er+er*er*Fr)*_r[1]+(Fr*Fr*er+er*Fr*Fr+Fr*er*Fr)*xr[1]+Fr*Fr*Fr*hr[1])*1e3)/1e3;return[lr,mr]}var ks=cr("float32",8);function Ls(ys,hr,_r,xr,Dr,Vr,Fr){Dr<0?Dr=0:Dr>1&&(Dr=1);var er=us(Dr,Fr);Vr=Vr>1?1:Vr;var lr=us(Vr,Fr),mr,Sr=ys.length,wr=1-er,kr=1-lr,Br=wr*wr*wr,Yr=er*wr*wr*3,Hr=er*er*wr*3,Zr=er*er*er,ss=wr*wr*kr,Xr=er*wr*kr+wr*er*kr+wr*wr*lr,Nr=er*er*kr+wr*er*lr+er*wr*lr,Or=er*er*lr,Gr=wr*kr*kr,Lr=er*kr*kr+wr*lr*kr+wr*kr*lr,Kr=er*lr*kr+wr*lr*lr+er*kr*lr,ts=er*lr*lr,Wr=kr*kr*kr,as=lr*kr*kr+kr*lr*kr+kr*kr*lr,ls=lr*lr*kr+kr*lr*lr+lr*kr*lr,ds=lr*lr*lr;for(mr=0;mr<Sr;mr+=1)ks[mr*4]=br.round((Br*ys[mr]+Yr*_r[mr]+Hr*xr[mr]+Zr*hr[mr])*1e3)/1e3,ks[mr*4+1]=br.round((ss*ys[mr]+Xr*_r[mr]+Nr*xr[mr]+Or*hr[mr])*1e3)/1e3,ks[mr*4+2]=br.round((Gr*ys[mr]+Lr*_r[mr]+Kr*xr[mr]+ts*hr[mr])*1e3)/1e3,ks[mr*4+3]=br.round((Wr*ys[mr]+as*_r[mr]+ls*xr[mr]+ds*hr[mr])*1e3)/1e3;return ks}return{getSegmentsLength:Qr,getNewSegment:Ls,getPointInSegment:Ds,buildBezierData:Ss,pointOnLine2D:Cr,pointOnLine3D:Rr}}var xn=Ka(),Wn=Zt,Zn=Math.abs;function co(br,Cr){var Rr=this.offsetTime,qr;this.propType==="multidimensional"&&(qr=cr("float32",this.pv.length));for(var Qr=Cr.lastIndex,Jr=Qr,fs=this.keyframes.length-1,Ss=!0,us,Ds,ks;Ss;){if(us=this.keyframes[Jr],Ds=this.keyframes[Jr+1],Jr===fs-1&&br>=Ds.t-Rr){us.h&&(us=Ds),Qr=0;break}if(Ds.t-Rr>br){Qr=Jr;break}Jr<fs-1?Jr+=1:(Qr=0,Ss=!1)}ks=this.keyframesMetadata[Jr]||{};var Ls,ys,hr,_r,xr,Dr,Vr=Ds.t-Rr,Fr=us.t-Rr,er;if(us.to){ks.bezierData||(ks.bezierData=xn.buildBezierData(us.s,Ds.s||us.e,us.to,us.ti));var lr=ks.bezierData;if(br>=Vr||br<Fr){var mr=br>=Vr?lr.points.length-1:0;for(ys=lr.points[mr].point.length,Ls=0;Ls<ys;Ls+=1)qr[Ls]=lr.points[mr].point[Ls]}else{ks.__fnct?Dr=ks.__fnct:(Dr=qs.getBezierEasing(us.o.x,us.o.y,us.i.x,us.i.y,us.n).get,ks.__fnct=Dr),hr=Dr((br-Fr)/(Vr-Fr));var Sr=lr.segmentLength*hr,wr,kr=Cr.lastFrame<br&&Cr._lastKeyframeIndex===Jr?Cr._lastAddedLength:0;for(xr=Cr.lastFrame<br&&Cr._lastKeyframeIndex===Jr?Cr._lastPoint:0,Ss=!0,_r=lr.points.length;Ss;){if(kr+=lr.points[xr].partialLength,Sr===0||hr===0||xr===lr.points.length-1){for(ys=lr.points[xr].point.length,Ls=0;Ls<ys;Ls+=1)qr[Ls]=lr.points[xr].point[Ls];break}else if(Sr>=kr&&Sr<kr+lr.points[xr+1].partialLength){for(wr=(Sr-kr)/lr.points[xr+1].partialLength,ys=lr.points[xr].point.length,Ls=0;Ls<ys;Ls+=1)qr[Ls]=lr.points[xr].point[Ls]+(lr.points[xr+1].point[Ls]-lr.points[xr].point[Ls])*wr;break}xr<_r-1?xr+=1:Ss=!1}Cr._lastPoint=xr,Cr._lastAddedLength=kr-lr.points[xr].partialLength,Cr._lastKeyframeIndex=Jr}}else{var Br,Yr,Hr,Zr,ss;if(fs=us.s.length,er=Ds.s||us.e,this.sh&&us.h!==1)if(br>=Vr)qr[0]=er[0],qr[1]=er[1],qr[2]=er[2];else if(br<=Fr)qr[0]=us.s[0],qr[1]=us.s[1],qr[2]=us.s[2];else{var Xr=ph(us.s),Nr=ph(er),Or=(br-Fr)/(Vr-Fr);xh(qr,Ph(Xr,Nr,Or))}else for(Jr=0;Jr<fs;Jr+=1)us.h!==1&&(br>=Vr?hr=1:br<Fr?hr=0:(us.o.x.constructor===Array?(ks.__fnct||(ks.__fnct=[]),ks.__fnct[Jr]?Dr=ks.__fnct[Jr]:(Br=us.o.x[Jr]===void 0?us.o.x[0]:us.o.x[Jr],Yr=us.o.y[Jr]===void 0?us.o.y[0]:us.o.y[Jr],Hr=us.i.x[Jr]===void 0?us.i.x[0]:us.i.x[Jr],Zr=us.i.y[Jr]===void 0?us.i.y[0]:us.i.y[Jr],Dr=qs.getBezierEasing(Br,Yr,Hr,Zr).get,ks.__fnct[Jr]=Dr)):ks.__fnct?Dr=ks.__fnct:(Br=us.o.x,Yr=us.o.y,Hr=us.i.x,Zr=us.i.y,Dr=qs.getBezierEasing(Br,Yr,Hr,Zr).get,us.keyframeMetadata=Dr),hr=Dr((br-Fr)/(Vr-Fr)))),er=Ds.s||us.e,ss=us.h===1?us.s[Jr]:us.s[Jr]+(er[Jr]-us.s[Jr])*hr,this.propType==="multidimensional"?qr[Jr]=ss:qr=ss}return Cr.lastIndex=Qr,qr}function Ph(br,Cr,Rr){var qr=[],Qr=br[0],Jr=br[1],fs=br[2],Ss=br[3],us=Cr[0],Ds=Cr[1],ks=Cr[2],Ls=Cr[3],ys,hr,_r,xr,Dr;return hr=Qr*us+Jr*Ds+fs*ks+Ss*Ls,hr<0&&(hr=-hr,us=-us,Ds=-Ds,ks=-ks,Ls=-Ls),1-hr>1e-6?(ys=Math.acos(hr),_r=Math.sin(ys),xr=Math.sin((1-Rr)*ys)/_r,Dr=Math.sin(Rr*ys)/_r):(xr=1-Rr,Dr=Rr),qr[0]=xr*Qr+Dr*us,qr[1]=xr*Jr+Dr*Ds,qr[2]=xr*fs+Dr*ks,qr[3]=xr*Ss+Dr*Ls,qr}function xh(br,Cr){var Rr=Cr[0],qr=Cr[1],Qr=Cr[2],Jr=Cr[3],fs=Math.atan2(2*qr*Jr-2*Rr*Qr,1-2*qr*qr-2*Qr*Qr),Ss=Math.asin(2*Rr*qr+2*Qr*Jr),us=Math.atan2(2*Rr*Jr-2*qr*Qr,1-2*Rr*Rr-2*Qr*Qr);br[0]=fs/es,br[1]=Ss/es,br[2]=us/es}function ph(br){var Cr=br[0]*es,Rr=br[1]*es,qr=br[2]*es,Qr=Math.cos(Cr/2),Jr=Math.cos(Rr/2),fs=Math.cos(qr/2),Ss=Math.sin(Cr/2),us=Math.sin(Rr/2),Ds=Math.sin(qr/2),ks=Qr*Jr*fs-Ss*us*Ds,Ls=Ss*us*fs+Qr*Jr*Ds,ys=Ss*Jr*fs+Qr*us*Ds,hr=Qr*us*fs-Ss*Jr*Ds;return[Ls,ys,hr,ks]}function fh(){var br=this.comp.renderedFrame-this.offsetTime,Cr=this.keyframes[0].t-this.offsetTime,Rr=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(br===this._caching.lastFrame||this._caching.lastFrame!==Wn&&(this._caching.lastFrame>=Rr&&br>=Rr||this._caching.lastFrame<Cr&&br<Cr))){this._caching.lastFrame>=br&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var qr=this.interpolateValue(br,this._caching);this.pv=qr}return this._caching.lastFrame=br,this.pv}function So(br){var Cr;if(this.propType==="unidimensional")Cr=br*this.mult,Zn(this.v-Cr)>1e-5&&(this.v=Cr,this._mdf=!0);else for(var Rr=0,qr=this.v.length;Rr<qr;)Cr=br[Rr]*this.mult,Zn(this.v[Rr]-Cr)>1e-5&&(this.v[Rr]=Cr,this._mdf=!0),Rr+=1}function Eo(){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 br,Cr=this.effectsSequence.length,Rr=this.kf?this.pv:this.data.k;for(br=0;br<Cr;br+=1)Rr=this.effectsSequence[br](Rr);this.setVValue(Rr),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ho(br){this.effectsSequence.push(br),this.container.addDynamicProperty(this)}function Uo(br,Cr,Rr,qr){this.propType="unidimensional",this.mult=Rr||1,this.data=Cr,this.v=Rr?Cr.k*Rr:Cr.k,this.pv=Cr.k,this._mdf=!1,this.elem=br,this.container=qr,this.comp=br.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Eo,this.setVValue=So,this.addEffect=ho}function Xo(br,Cr,Rr,qr){this.propType="multidimensional",this.mult=Rr||1,this.data=Cr,this._mdf=!1,this.elem=br,this.container=qr,this.comp=br.comp,this.k=!1,this.kf=!1,this.frameId=-1;var Qr,Jr=Cr.k.length;for(this.v=cr("float32",Jr),this.pv=cr("float32",Jr),this.vel=cr("float32",Jr),Qr=0;Qr<Jr;Qr+=1)this.v[Qr]=Cr.k[Qr]*this.mult,this.pv[Qr]=Cr.k[Qr];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Eo,this.setVValue=So,this.addEffect=ho}function Th(br,Cr,Rr,qr){this.propType="unidimensional",this.keyframes=Cr.k,this.keyframesMetadata=[],this.offsetTime=br.data.st,this.frameId=-1,this._caching={lastFrame:Wn,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=Cr,this.mult=Rr||1,this.elem=br,this.container=qr,this.comp=br.comp,this.v=Wn,this.pv=Wn,this._isFirstFrame=!0,this.getValue=Eo,this.setVValue=So,this.interpolateValue=co,this.effectsSequence=[fh.bind(this)],this.addEffect=ho}function Mh(br,Cr,Rr,qr){this.propType="multidimensional";var Qr,Jr=Cr.k.length,fs,Ss,us,Ds;for(Qr=0;Qr<Jr-1;Qr+=1)Cr.k[Qr].to&&Cr.k[Qr].s&&Cr.k[Qr+1]&&Cr.k[Qr+1].s&&(fs=Cr.k[Qr].s,Ss=Cr.k[Qr+1].s,us=Cr.k[Qr].to,Ds=Cr.k[Qr].ti,(fs.length===2&&!(fs[0]===Ss[0]&&fs[1]===Ss[1])&&xn.pointOnLine2D(fs[0],fs[1],Ss[0],Ss[1],fs[0]+us[0],fs[1]+us[1])&&xn.pointOnLine2D(fs[0],fs[1],Ss[0],Ss[1],Ss[0]+Ds[0],Ss[1]+Ds[1])||fs.length===3&&!(fs[0]===Ss[0]&&fs[1]===Ss[1]&&fs[2]===Ss[2])&&xn.pointOnLine3D(fs[0],fs[1],fs[2],Ss[0],Ss[1],Ss[2],fs[0]+us[0],fs[1]+us[1],fs[2]+us[2])&&xn.pointOnLine3D(fs[0],fs[1],fs[2],Ss[0],Ss[1],Ss[2],Ss[0]+Ds[0],Ss[1]+Ds[1],Ss[2]+Ds[2]))&&(Cr.k[Qr].to=null,Cr.k[Qr].ti=null),fs[0]===Ss[0]&&fs[1]===Ss[1]&&us[0]===0&&us[1]===0&&Ds[0]===0&&Ds[1]===0&&(fs.length===2||fs[2]===Ss[2]&&us[2]===0&&Ds[2]===0)&&(Cr.k[Qr].to=null,Cr.k[Qr].ti=null));this.effectsSequence=[fh.bind(this)],this.data=Cr,this.keyframes=Cr.k,this.keyframesMetadata=[],this.offsetTime=br.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=Rr||1,this.elem=br,this.container=qr,this.comp=br.comp,this.getValue=Eo,this.setVValue=So,this.interpolateValue=co,this.frameId=-1;var ks=Cr.k[0].s.length;for(this.v=cr("float32",ks),this.pv=cr("float32",ks),Qr=0;Qr<ks;Qr+=1)this.v[Qr]=Wn,this.pv[Qr]=Wn;this._caching={lastFrame:Wn,lastIndex:0,value:cr("float32",ks)},this.addEffect=ho}var Gs=function(){function br(Rr,qr,Qr,Jr,fs){qr.sid&&(qr=Rr.globalData.slotManager.getProp(qr));var Ss;if(!qr.k.length)Ss=new Uo(Rr,qr,Jr,fs);else if(typeof qr.k[0]=="number")Ss=new Xo(Rr,qr,Jr,fs);else switch(Qr){case 0:Ss=new Th(Rr,qr,Jr,fs);break;case 1:Ss=new Mh(Rr,qr,Jr,fs);break}return Ss.effectsSequence.length&&fs.addDynamicProperty(Ss),Ss}var Cr={getProp:br};return Cr}();function Fa(){}Fa.prototype={addDynamicProperty:function(br){this.dynamicProperties.indexOf(br)===-1&&(this.dynamicProperties.push(br),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var br,Cr=this.dynamicProperties.length;for(br=0;br<Cr;br+=1)this.dynamicProperties[br].getValue(),this.dynamicProperties[br]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(br){this.container=br,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ws=function(){function br(){return cr("float32",2)}return ga(8,br)}();function Ia(){this.c=!1,this._length=0,this._maxLength=8,this.v=ur(this._maxLength),this.o=ur(this._maxLength),this.i=ur(this._maxLength)}Ia.prototype.setPathData=function(br,Cr){this.c=br,this.setLength(Cr);for(var Rr=0;Rr<Cr;)this.v[Rr]=Ws.newElement(),this.o[Rr]=Ws.newElement(),this.i[Rr]=Ws.newElement(),Rr+=1},Ia.prototype.setLength=function(br){for(;this._maxLength<br;)this.doubleArrayLength();this._length=br},Ia.prototype.doubleArrayLength=function(){this.v=this.v.concat(ur(this._maxLength)),this.i=this.i.concat(ur(this._maxLength)),this.o=this.o.concat(ur(this._maxLength)),this._maxLength*=2},Ia.prototype.setXYAt=function(br,Cr,Rr,qr,Qr){var Jr;switch(this._length=Math.max(this._length,qr+1),this._length>=this._maxLength&&this.doubleArrayLength(),Rr){case"v":Jr=this.v;break;case"i":Jr=this.i;break;case"o":Jr=this.o;break;default:Jr=[];break}(!Jr[qr]||Jr[qr]&&!Qr)&&(Jr[qr]=Ws.newElement()),Jr[qr][0]=br,Jr[qr][1]=Cr},Ia.prototype.setTripleAt=function(br,Cr,Rr,qr,Qr,Jr,fs,Ss){this.setXYAt(br,Cr,"v",fs,Ss),this.setXYAt(Rr,qr,"o",fs,Ss),this.setXYAt(Qr,Jr,"i",fs,Ss)},Ia.prototype.reverse=function(){var br=new Ia;br.setPathData(this.c,this._length);var Cr=this.v,Rr=this.o,qr=this.i,Qr=0;this.c&&(br.setTripleAt(Cr[0][0],Cr[0][1],qr[0][0],qr[0][1],Rr[0][0],Rr[0][1],0,!1),Qr=1);var Jr=this._length-1,fs=this._length,Ss;for(Ss=Qr;Ss<fs;Ss+=1)br.setTripleAt(Cr[Jr][0],Cr[Jr][1],qr[Jr][0],qr[Jr][1],Rr[Jr][0],Rr[Jr][1],Ss,!1),Jr-=1;return br},Ia.prototype.length=function(){return this._length};var Ta=function(){function br(){return new Ia}function Cr(Qr){var Jr=Qr._length,fs;for(fs=0;fs<Jr;fs+=1)Ws.release(Qr.v[fs]),Ws.release(Qr.i[fs]),Ws.release(Qr.o[fs]),Qr.v[fs]=null,Qr.i[fs]=null,Qr.o[fs]=null;Qr._length=0,Qr.c=!1}function Rr(Qr){var Jr=qr.newElement(),fs,Ss=Qr._length===void 0?Qr.v.length:Qr._length;for(Jr.setLength(Ss),Jr.c=Qr.c,fs=0;fs<Ss;fs+=1)Jr.setTripleAt(Qr.v[fs][0],Qr.v[fs][1],Qr.o[fs][0],Qr.o[fs][1],Qr.i[fs][0],Qr.i[fs][1],fs);return Jr}var qr=ga(4,br,Cr);return qr.clone=Rr,qr}();function Yn(){this._length=0,this._maxLength=4,this.shapes=ur(this._maxLength)}Yn.prototype.addShape=function(br){this._length===this._maxLength&&(this.shapes=this.shapes.concat(ur(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=br,this._length+=1},Yn.prototype.releaseShapes=function(){var br;for(br=0;br<this._length;br+=1)Ta.release(this.shapes[br]);this._length=0};var Ga=function(){var br={newShapeCollection:Qr,release:Jr},Cr=0,Rr=4,qr=ur(Rr);function Qr(){var fs;return Cr?(Cr-=1,fs=qr[Cr]):fs=new Yn,fs}function Jr(fs){var Ss,us=fs._length;for(Ss=0;Ss<us;Ss+=1)Ta.release(fs.shapes[Ss]);fs._length=0,Cr===Rr&&(qr=ta.double(qr),Rr*=2),qr[Cr]=fs,Cr+=1}return br}(),io=function(){var br=-999999;function Cr(Vr,Fr,er){var lr=er.lastIndex,mr,Sr,wr,kr,Br,Yr,Hr,Zr,ss,Xr=this.keyframes;if(Vr<Xr[0].t-this.offsetTime)mr=Xr[0].s[0],wr=!0,lr=0;else if(Vr>=Xr[Xr.length-1].t-this.offsetTime)mr=Xr[Xr.length-1].s?Xr[Xr.length-1].s[0]:Xr[Xr.length-2].e[0],wr=!0;else{for(var Nr=lr,Or=Xr.length-1,Gr=!0,Lr,Kr,ts;Gr&&(Lr=Xr[Nr],Kr=Xr[Nr+1],!(Kr.t-this.offsetTime>Vr));)Nr<Or-1?Nr+=1:Gr=!1;if(ts=this.keyframesMetadata[Nr]||{},wr=Lr.h===1,lr=Nr,!wr){if(Vr>=Kr.t-this.offsetTime)Zr=1;else if(Vr<Lr.t-this.offsetTime)Zr=0;else{var Wr;ts.__fnct?Wr=ts.__fnct:(Wr=qs.getBezierEasing(Lr.o.x,Lr.o.y,Lr.i.x,Lr.i.y).get,ts.__fnct=Wr),Zr=Wr((Vr-(Lr.t-this.offsetTime))/(Kr.t-this.offsetTime-(Lr.t-this.offsetTime)))}Sr=Kr.s?Kr.s[0]:Lr.e[0]}mr=Lr.s[0]}for(Yr=Fr._length,Hr=mr.i[0].length,er.lastIndex=lr,kr=0;kr<Yr;kr+=1)for(Br=0;Br<Hr;Br+=1)ss=wr?mr.i[kr][Br]:mr.i[kr][Br]+(Sr.i[kr][Br]-mr.i[kr][Br])*Zr,Fr.i[kr][Br]=ss,ss=wr?mr.o[kr][Br]:mr.o[kr][Br]+(Sr.o[kr][Br]-mr.o[kr][Br])*Zr,Fr.o[kr][Br]=ss,ss=wr?mr.v[kr][Br]:mr.v[kr][Br]+(Sr.v[kr][Br]-mr.v[kr][Br])*Zr,Fr.v[kr][Br]=ss}function Rr(){var Vr=this.comp.renderedFrame-this.offsetTime,Fr=this.keyframes[0].t-this.offsetTime,er=this.keyframes[this.keyframes.length-1].t-this.offsetTime,lr=this._caching.lastFrame;return lr!==br&&(lr<Fr&&Vr<Fr||lr>er&&Vr>er)||(this._caching.lastIndex=lr<Vr?this._caching.lastIndex:0,this.interpolateShape(Vr,this.pv,this._caching)),this._caching.lastFrame=Vr,this.pv}function qr(){this.paths=this.localShapeCollection}function Qr(Vr,Fr){if(Vr._length!==Fr._length||Vr.c!==Fr.c)return!1;var er,lr=Vr._length;for(er=0;er<lr;er+=1)if(Vr.v[er][0]!==Fr.v[er][0]||Vr.v[er][1]!==Fr.v[er][1]||Vr.o[er][0]!==Fr.o[er][0]||Vr.o[er][1]!==Fr.o[er][1]||Vr.i[er][0]!==Fr.i[er][0]||Vr.i[er][1]!==Fr.i[er][1])return!1;return!0}function Jr(Vr){Qr(this.v,Vr)||(this.v=Ta.clone(Vr),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function fs(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var Vr;this.kf?Vr=this.pv:this.data.ks?Vr=this.data.ks.k:Vr=this.data.pt.k;var Fr,er=this.effectsSequence.length;for(Fr=0;Fr<er;Fr+=1)Vr=this.effectsSequence[Fr](Vr);this.setVValue(Vr),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Ss(Vr,Fr,er){this.propType="shape",this.comp=Vr.comp,this.container=Vr,this.elem=Vr,this.data=Fr,this.k=!1,this.kf=!1,this._mdf=!1;var lr=er===3?Fr.pt.k:Fr.ks.k;this.v=Ta.clone(lr),this.pv=Ta.clone(this.v),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=qr,this.effectsSequence=[]}function us(Vr){this.effectsSequence.push(Vr),this.container.addDynamicProperty(this)}Ss.prototype.interpolateShape=Cr,Ss.prototype.getValue=fs,Ss.prototype.setVValue=Jr,Ss.prototype.addEffect=us;function Ds(Vr,Fr,er){this.propType="shape",this.comp=Vr.comp,this.elem=Vr,this.container=Vr,this.offsetTime=Vr.data.st,this.keyframes=er===3?Fr.pt.k:Fr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var lr=this.keyframes[0].s[0].i.length;this.v=Ta.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,lr),this.pv=Ta.clone(this.v),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=br,this.reset=qr,this._caching={lastFrame:br,lastIndex:0},this.effectsSequence=[Rr.bind(this)]}Ds.prototype.getValue=fs,Ds.prototype.interpolateShape=Cr,Ds.prototype.setVValue=Jr,Ds.prototype.addEffect=us;var ks=function(){var Vr=hs;function Fr(er,lr){this.v=Ta.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=lr.d,this.elem=er,this.comp=er.comp,this.frameId=-1,this.initDynamicPropertyContainer(er),this.p=Gs.getProp(er,lr.p,1,0,this),this.s=Gs.getProp(er,lr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Fr.prototype={reset:qr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var er=this.p.v[0],lr=this.p.v[1],mr=this.s.v[0]/2,Sr=this.s.v[1]/2,wr=this.d!==3,kr=this.v;kr.v[0][0]=er,kr.v[0][1]=lr-Sr,kr.v[1][0]=wr?er+mr:er-mr,kr.v[1][1]=lr,kr.v[2][0]=er,kr.v[2][1]=lr+Sr,kr.v[3][0]=wr?er-mr:er+mr,kr.v[3][1]=lr,kr.i[0][0]=wr?er-mr*Vr:er+mr*Vr,kr.i[0][1]=lr-Sr,kr.i[1][0]=wr?er+mr:er-mr,kr.i[1][1]=lr-Sr*Vr,kr.i[2][0]=wr?er+mr*Vr:er-mr*Vr,kr.i[2][1]=lr+Sr,kr.i[3][0]=wr?er-mr:er+mr,kr.i[3][1]=lr+Sr*Vr,kr.o[0][0]=wr?er+mr*Vr:er-mr*Vr,kr.o[0][1]=lr-Sr,kr.o[1][0]=wr?er+mr:er-mr,kr.o[1][1]=lr+Sr*Vr,kr.o[2][0]=wr?er-mr*Vr:er+mr*Vr,kr.o[2][1]=lr+Sr,kr.o[3][0]=wr?er-mr:er+mr,kr.o[3][1]=lr-Sr*Vr}},nr([Fa],Fr),Fr}(),Ls=function(){function Vr(Fr,er){this.v=Ta.newElement(),this.v.setPathData(!0,0),this.elem=Fr,this.comp=Fr.comp,this.data=er,this.frameId=-1,this.d=er.d,this.initDynamicPropertyContainer(Fr),er.sy===1?(this.ir=Gs.getProp(Fr,er.ir,0,0,this),this.is=Gs.getProp(Fr,er.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Gs.getProp(Fr,er.pt,0,0,this),this.p=Gs.getProp(Fr,er.p,1,0,this),this.r=Gs.getProp(Fr,er.r,0,es,this),this.or=Gs.getProp(Fr,er.or,0,0,this),this.os=Gs.getProp(Fr,er.os,0,.01,this),this.localShapeCollection=Ga.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return Vr.prototype={reset:qr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Fr=Math.floor(this.pt.v)*2,er=Math.PI*2/Fr,lr=!0,mr=this.or.v,Sr=this.ir.v,wr=this.os.v,kr=this.is.v,Br=2*Math.PI*mr/(Fr*2),Yr=2*Math.PI*Sr/(Fr*2),Hr,Zr,ss,Xr,Nr=-Math.PI/2;Nr+=this.r.v;var Or=this.data.d===3?-1:1;for(this.v._length=0,Hr=0;Hr<Fr;Hr+=1){Zr=lr?mr:Sr,ss=lr?wr:kr,Xr=lr?Br:Yr;var Gr=Zr*Math.cos(Nr),Lr=Zr*Math.sin(Nr),Kr=Gr===0&&Lr===0?0:Lr/Math.sqrt(Gr*Gr+Lr*Lr),ts=Gr===0&&Lr===0?0:-Gr/Math.sqrt(Gr*Gr+Lr*Lr);Gr+=+this.p.v[0],Lr+=+this.p.v[1],this.v.setTripleAt(Gr,Lr,Gr-Kr*Xr*ss*Or,Lr-ts*Xr*ss*Or,Gr+Kr*Xr*ss*Or,Lr+ts*Xr*ss*Or,Hr,!0),lr=!lr,Nr+=er*Or}},convertPolygonToPath:function(){var Fr=Math.floor(this.pt.v),er=Math.PI*2/Fr,lr=this.or.v,mr=this.os.v,Sr=2*Math.PI*lr/(Fr*4),wr,kr=-Math.PI*.5,Br=this.data.d===3?-1:1;for(kr+=this.r.v,this.v._length=0,wr=0;wr<Fr;wr+=1){var Yr=lr*Math.cos(kr),Hr=lr*Math.sin(kr),Zr=Yr===0&&Hr===0?0:Hr/Math.sqrt(Yr*Yr+Hr*Hr),ss=Yr===0&&Hr===0?0:-Yr/Math.sqrt(Yr*Yr+Hr*Hr);Yr+=+this.p.v[0],Hr+=+this.p.v[1],this.v.setTripleAt(Yr,Hr,Yr-Zr*Sr*mr*Br,Hr-ss*Sr*mr*Br,Yr+Zr*Sr*mr*Br,Hr+ss*Sr*mr*Br,wr,!0),kr+=er*Br}this.paths.length=0,this.paths[0]=this.v}},nr([Fa],Vr),Vr}(),ys=function(){function Vr(Fr,er){this.v=Ta.newElement(),this.v.c=!0,this.localShapeCollection=Ga.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Fr,this.comp=Fr.comp,this.frameId=-1,this.d=er.d,this.initDynamicPropertyContainer(Fr),this.p=Gs.getProp(Fr,er.p,1,0,this),this.s=Gs.getProp(Fr,er.s,1,0,this),this.r=Gs.getProp(Fr,er.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return Vr.prototype={convertRectToPath:function(){var Fr=this.p.v[0],er=this.p.v[1],lr=this.s.v[0]/2,mr=this.s.v[1]/2,Sr=zr(lr,mr,this.r.v),wr=Sr*(1-hs);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Fr+lr,er-mr+Sr,Fr+lr,er-mr+Sr,Fr+lr,er-mr+wr,0,!0),this.v.setTripleAt(Fr+lr,er+mr-Sr,Fr+lr,er+mr-wr,Fr+lr,er+mr-Sr,1,!0),Sr!==0?(this.v.setTripleAt(Fr+lr-Sr,er+mr,Fr+lr-Sr,er+mr,Fr+lr-wr,er+mr,2,!0),this.v.setTripleAt(Fr-lr+Sr,er+mr,Fr-lr+wr,er+mr,Fr-lr+Sr,er+mr,3,!0),this.v.setTripleAt(Fr-lr,er+mr-Sr,Fr-lr,er+mr-Sr,Fr-lr,er+mr-wr,4,!0),this.v.setTripleAt(Fr-lr,er-mr+Sr,Fr-lr,er-mr+wr,Fr-lr,er-mr+Sr,5,!0),this.v.setTripleAt(Fr-lr+Sr,er-mr,Fr-lr+Sr,er-mr,Fr-lr+wr,er-mr,6,!0),this.v.setTripleAt(Fr+lr-Sr,er-mr,Fr+lr-wr,er-mr,Fr+lr-Sr,er-mr,7,!0)):(this.v.setTripleAt(Fr-lr,er+mr,Fr-lr+wr,er+mr,Fr-lr,er+mr,2),this.v.setTripleAt(Fr-lr,er-mr,Fr-lr,er-mr+wr,Fr-lr,er-mr,3))):(this.v.setTripleAt(Fr+lr,er-mr+Sr,Fr+lr,er-mr+wr,Fr+lr,er-mr+Sr,0,!0),Sr!==0?(this.v.setTripleAt(Fr+lr-Sr,er-mr,Fr+lr-Sr,er-mr,Fr+lr-wr,er-mr,1,!0),this.v.setTripleAt(Fr-lr+Sr,er-mr,Fr-lr+wr,er-mr,Fr-lr+Sr,er-mr,2,!0),this.v.setTripleAt(Fr-lr,er-mr+Sr,Fr-lr,er-mr+Sr,Fr-lr,er-mr+wr,3,!0),this.v.setTripleAt(Fr-lr,er+mr-Sr,Fr-lr,er+mr-wr,Fr-lr,er+mr-Sr,4,!0),this.v.setTripleAt(Fr-lr+Sr,er+mr,Fr-lr+Sr,er+mr,Fr-lr+wr,er+mr,5,!0),this.v.setTripleAt(Fr+lr-Sr,er+mr,Fr+lr-wr,er+mr,Fr+lr-Sr,er+mr,6,!0),this.v.setTripleAt(Fr+lr,er+mr-Sr,Fr+lr,er+mr-Sr,Fr+lr,er+mr-wr,7,!0)):(this.v.setTripleAt(Fr-lr,er-mr,Fr-lr+wr,er-mr,Fr-lr,er-mr,1,!0),this.v.setTripleAt(Fr-lr,er+mr,Fr-lr,er+mr-wr,Fr-lr,er+mr,2,!0),this.v.setTripleAt(Fr+lr,er+mr,Fr+lr-wr,er+mr,Fr+lr,er+mr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:qr},nr([Fa],Vr),Vr}();function hr(Vr,Fr,er){var lr;if(er===3||er===4){var mr=er===3?Fr.pt:Fr.ks,Sr=mr.k;Sr.length?lr=new Ds(Vr,Fr,er):lr=new Ss(Vr,Fr,er)}else er===5?lr=new ys(Vr,Fr):er===6?lr=new ks(Vr,Fr):er===7&&(lr=new Ls(Vr,Fr));return lr.k&&Vr.addDynamicProperty(lr),lr}function _r(){return Ss}function xr(){return Ds}var Dr={};return Dr.getShapeProp=hr,Dr.getConstructorFunction=_r,Dr.getKeyframedConstructorFunction=xr,Dr}(),Pa=function(){var br=Math.cos,Cr=Math.sin,Rr=Math.tan,qr=Math.round;function Qr(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Jr(Lr){if(Lr===0)return this;var Kr=br(Lr),ts=Cr(Lr);return this._t(Kr,-ts,0,0,ts,Kr,0,0,0,0,1,0,0,0,0,1)}function fs(Lr){if(Lr===0)return this;var Kr=br(Lr),ts=Cr(Lr);return this._t(1,0,0,0,0,Kr,-ts,0,0,ts,Kr,0,0,0,0,1)}function Ss(Lr){if(Lr===0)return this;var Kr=br(Lr),ts=Cr(Lr);return this._t(Kr,0,ts,0,0,1,0,0,-ts,0,Kr,0,0,0,0,1)}function us(Lr){if(Lr===0)return this;var Kr=br(Lr),ts=Cr(Lr);return this._t(Kr,-ts,0,0,ts,Kr,0,0,0,0,1,0,0,0,0,1)}function Ds(Lr,Kr){return this._t(1,Kr,Lr,1,0,0)}function ks(Lr,Kr){return this.shear(Rr(Lr),Rr(Kr))}function Ls(Lr,Kr){var ts=br(Kr),Wr=Cr(Kr);return this._t(ts,Wr,0,0,-Wr,ts,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,Rr(Lr),1,0,0,0,0,1,0,0,0,0,1)._t(ts,-Wr,0,0,Wr,ts,0,0,0,0,1,0,0,0,0,1)}function ys(Lr,Kr,ts){return!ts&&ts!==0&&(ts=1),Lr===1&&Kr===1&&ts===1?this:this._t(Lr,0,0,0,0,Kr,0,0,0,0,ts,0,0,0,0,1)}function hr(Lr,Kr,ts,Wr,as,ls,ds,ws,Fs,Cs,zs,ms,bs,rs,Ps,As){return this.props[0]=Lr,this.props[1]=Kr,this.props[2]=ts,this.props[3]=Wr,this.props[4]=as,this.props[5]=ls,this.props[6]=ds,this.props[7]=ws,this.props[8]=Fs,this.props[9]=Cs,this.props[10]=zs,this.props[11]=ms,this.props[12]=bs,this.props[13]=rs,this.props[14]=Ps,this.props[15]=As,this}function _r(Lr,Kr,ts){return ts=ts||0,Lr!==0||Kr!==0||ts!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,Lr,Kr,ts,1):this}function xr(Lr,Kr,ts,Wr,as,ls,ds,ws,Fs,Cs,zs,ms,bs,rs,Ps,As){var vs=this.props;if(Lr===1&&Kr===0&&ts===0&&Wr===0&&as===0&&ls===1&&ds===0&&ws===0&&Fs===0&&Cs===0&&zs===1&&ms===0)return vs[12]=vs[12]*Lr+vs[15]*bs,vs[13]=vs[13]*ls+vs[15]*rs,vs[14]=vs[14]*zs+vs[15]*Ps,vs[15]*=As,this._identityCalculated=!1,this;var gs=vs[0],_s=vs[1],ns=vs[2],Es=vs[3],Os=vs[4],Is=vs[5],Ks=vs[6],Js=vs[7],ha=vs[8],ea=vs[9],Aa=vs[10],oa=vs[11],Xs=vs[12],Pn=vs[13],Ua=vs[14],Oa=vs[15];return vs[0]=gs*Lr+_s*as+ns*Fs+Es*bs,vs[1]=gs*Kr+_s*ls+ns*Cs+Es*rs,vs[2]=gs*ts+_s*ds+ns*zs+Es*Ps,vs[3]=gs*Wr+_s*ws+ns*ms+Es*As,vs[4]=Os*Lr+Is*as+Ks*Fs+Js*bs,vs[5]=Os*Kr+Is*ls+Ks*Cs+Js*rs,vs[6]=Os*ts+Is*ds+Ks*zs+Js*Ps,vs[7]=Os*Wr+Is*ws+Ks*ms+Js*As,vs[8]=ha*Lr+ea*as+Aa*Fs+oa*bs,vs[9]=ha*Kr+ea*ls+Aa*Cs+oa*rs,vs[10]=ha*ts+ea*ds+Aa*zs+oa*Ps,vs[11]=ha*Wr+ea*ws+Aa*ms+oa*As,vs[12]=Xs*Lr+Pn*as+Ua*Fs+Oa*bs,vs[13]=Xs*Kr+Pn*ls+Ua*Cs+Oa*rs,vs[14]=Xs*ts+Pn*ds+Ua*zs+Oa*Ps,vs[15]=Xs*Wr+Pn*ws+Ua*ms+Oa*As,this._identityCalculated=!1,this}function Dr(Lr){var Kr=Lr.props;return this.transform(Kr[0],Kr[1],Kr[2],Kr[3],Kr[4],Kr[5],Kr[6],Kr[7],Kr[8],Kr[9],Kr[10],Kr[11],Kr[12],Kr[13],Kr[14],Kr[15])}function Vr(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function Fr(Lr){for(var Kr=0;Kr<16;){if(Lr.props[Kr]!==this.props[Kr])return!1;Kr+=1}return!0}function er(Lr){var Kr;for(Kr=0;Kr<16;Kr+=1)Lr.props[Kr]=this.props[Kr];return Lr}function lr(Lr){var Kr;for(Kr=0;Kr<16;Kr+=1)this.props[Kr]=Lr[Kr]}function mr(Lr,Kr,ts){return{x:Lr*this.props[0]+Kr*this.props[4]+ts*this.props[8]+this.props[12],y:Lr*this.props[1]+Kr*this.props[5]+ts*this.props[9]+this.props[13],z:Lr*this.props[2]+Kr*this.props[6]+ts*this.props[10]+this.props[14]}}function Sr(Lr,Kr,ts){return Lr*this.props[0]+Kr*this.props[4]+ts*this.props[8]+this.props[12]}function wr(Lr,Kr,ts){return Lr*this.props[1]+Kr*this.props[5]+ts*this.props[9]+this.props[13]}function kr(Lr,Kr,ts){return Lr*this.props[2]+Kr*this.props[6]+ts*this.props[10]+this.props[14]}function Br(){var Lr=this.props[0]*this.props[5]-this.props[1]*this.props[4],Kr=this.props[5]/Lr,ts=-this.props[1]/Lr,Wr=-this.props[4]/Lr,as=this.props[0]/Lr,ls=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/Lr,ds=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/Lr,ws=new Pa;return ws.props[0]=Kr,ws.props[1]=ts,ws.props[4]=Wr,ws.props[5]=as,ws.props[12]=ls,ws.props[13]=ds,ws}function Yr(Lr){var Kr=this.getInverseMatrix();return Kr.applyToPointArray(Lr[0],Lr[1],Lr[2]||0)}function Hr(Lr){var Kr,ts=Lr.length,Wr=[];for(Kr=0;Kr<ts;Kr+=1)Wr[Kr]=Yr(Lr[Kr]);return Wr}function Zr(Lr,Kr,ts){var Wr=cr("float32",6);if(this.isIdentity())Wr[0]=Lr[0],Wr[1]=Lr[1],Wr[2]=Kr[0],Wr[3]=Kr[1],Wr[4]=ts[0],Wr[5]=ts[1];else{var as=this.props[0],ls=this.props[1],ds=this.props[4],ws=this.props[5],Fs=this.props[12],Cs=this.props[13];Wr[0]=Lr[0]*as+Lr[1]*ds+Fs,Wr[1]=Lr[0]*ls+Lr[1]*ws+Cs,Wr[2]=Kr[0]*as+Kr[1]*ds+Fs,Wr[3]=Kr[0]*ls+Kr[1]*ws+Cs,Wr[4]=ts[0]*as+ts[1]*ds+Fs,Wr[5]=ts[0]*ls+ts[1]*ws+Cs}return Wr}function ss(Lr,Kr,ts){var Wr;return this.isIdentity()?Wr=[Lr,Kr,ts]:Wr=[Lr*this.props[0]+Kr*this.props[4]+ts*this.props[8]+this.props[12],Lr*this.props[1]+Kr*this.props[5]+ts*this.props[9]+this.props[13],Lr*this.props[2]+Kr*this.props[6]+ts*this.props[10]+this.props[14]],Wr}function Xr(Lr,Kr){if(this.isIdentity())return Lr+","+Kr;var ts=this.props;return Math.round((Lr*ts[0]+Kr*ts[4]+ts[12])*100)/100+","+Math.round((Lr*ts[1]+Kr*ts[5]+ts[13])*100)/100}function Nr(){for(var Lr=0,Kr=this.props,ts="matrix3d(",Wr=1e4;Lr<16;)ts+=qr(Kr[Lr]*Wr)/Wr,ts+=Lr===15?")":",",Lr+=1;return ts}function Or(Lr){var Kr=1e4;return Lr<1e-6&&Lr>0||Lr>-1e-6&&Lr<0?qr(Lr*Kr)/Kr:Lr}function Gr(){var Lr=this.props,Kr=Or(Lr[0]),ts=Or(Lr[1]),Wr=Or(Lr[4]),as=Or(Lr[5]),ls=Or(Lr[12]),ds=Or(Lr[13]);return"matrix("+Kr+","+ts+","+Wr+","+as+","+ls+","+ds+")"}return function(){this.reset=Qr,this.rotate=Jr,this.rotateX=fs,this.rotateY=Ss,this.rotateZ=us,this.skew=ks,this.skewFromAxis=Ls,this.shear=Ds,this.scale=ys,this.setTransform=hr,this.translate=_r,this.transform=xr,this.multiply=Dr,this.applyToPoint=mr,this.applyToX=Sr,this.applyToY=wr,this.applyToZ=kr,this.applyToPointArray=ss,this.applyToTriplePoints=Zr,this.applyToPointStringified=Xr,this.toCSS=Nr,this.to2dCSS=Gr,this.clone=er,this.cloneFromProps=lr,this.equals=Fr,this.inversePoints=Hr,this.inversePoint=Yr,this.getInverseMatrix=Br,this._t=this.transform,this.isIdentity=Vr,this._identity=!0,this._identityCalculated=!1,this.props=cr("float32",16),this.reset()}}();function lo(br){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lo=function(Cr){return typeof Cr}:lo=function(Cr){return Cr&&typeof Symbol=="function"&&Cr.constructor===Symbol&&Cr!==Symbol.prototype?"symbol":typeof Cr},lo(br)}var Zs={};function Jo(br){ir(br)}function Va(){Us.searchAnimations()}function Dh(br){Ns(br)}function Sh(br){ra(br)}function Fh(br){return Us.loadAnimation(br)}function Ih(br){if(typeof br=="string")switch(br){case"high":Qs(200);break;default:case"medium":Qs(50);break;case"low":Qs(10);break}else!isNaN(br)&&br>1&&Qs(br)}function Lh(){return typeof navigator<"u"}function Vh(br,Cr){br==="expressions"&&Ys(Cr)}function Rh(br){switch(br){case"propertyFactory":return Gs;case"shapePropertyFactory":return io;case"matrix":return Pa;default:return null}}Zs.play=Us.play,Zs.pause=Us.pause,Zs.setLocationHref=Jo,Zs.togglePause=Us.togglePause,Zs.setSpeed=Us.setSpeed,Zs.setDirection=Us.setDirection,Zs.stop=Us.stop,Zs.searchAnimations=Va,Zs.registerAnimation=Us.registerAnimation,Zs.loadAnimation=Fh,Zs.setSubframeRendering=Dh,Zs.resize=Us.resize,Zs.goToAndStop=Us.goToAndStop,Zs.destroy=Us.destroy,Zs.setQuality=Ih,Zs.inBrowser=Lh,Zs.installPlugin=Vh,Zs.freeze=Us.freeze,Zs.unfreeze=Us.unfreeze,Zs.setVolume=Us.setVolume,Zs.mute=Us.mute,Zs.unmute=Us.unmute,Zs.getRegisteredAnimations=Us.getRegisteredAnimations,Zs.useWebWorker=tr,Zs.setIDPrefix=Sh,Zs.__getFactory=Rh,Zs.version="5.12.2";function Bh(){document.readyState==="complete"&&(clearInterval(zh),Va())}function Oh(br){for(var Cr=uh.split("&"),Rr=0;Rr<Cr.length;Rr+=1){var qr=Cr[Rr].split("=");if(decodeURIComponent(qr[0])==br)return decodeURIComponent(qr[1])}return null}var uh="";{var ch=document.getElementsByTagName("script"),Eh=ch.length-1,Zo=ch[Eh]||{src:""};uh=Zo.src?Zo.src.replace(/^[^\?]+\??/,""):"",Oh("renderer")}var zh=setInterval(Bh,100);try{!((typeof t>"u"?"undefined":lo(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Zs)}catch{}var kn=function(){var br={},Cr={};br.registerModifier=Rr,br.getModifier=qr;function Rr(Qr,Jr){Cr[Qr]||(Cr[Qr]=Jr)}function qr(Qr,Jr,fs){return new Cr[Qr](Jr,fs)}return br}();function Xa(){}Xa.prototype.initModifierProperties=function(){},Xa.prototype.addShapeToModifier=function(){},Xa.prototype.addShape=function(br){if(!this.closed){br.sh.container.addDynamicProperty(br.sh);var Cr={shape:br.sh,data:br,localShapeCollection:Ga.newShapeCollection()};this.shapes.push(Cr),this.addShapeToModifier(Cr),this._isAnimated&&br.setAsAnimated()}},Xa.prototype.init=function(br,Cr){this.shapes=[],this.elem=br,this.initDynamicPropertyContainer(br),this.initModifierProperties(br,Cr),this.frameId=Zt,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Xa.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},nr([Fa],Xa);function Ba(){}nr([Xa],Ba),Ba.prototype.initModifierProperties=function(br,Cr){this.s=Gs.getProp(br,Cr.s,0,.01,this),this.e=Gs.getProp(br,Cr.e,0,.01,this),this.o=Gs.getProp(br,Cr.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=Cr.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Ba.prototype.addShapeToModifier=function(br){br.pathsData=[]},Ba.prototype.calculateShapeEdges=function(br,Cr,Rr,qr,Qr){var Jr=[];Cr<=1?Jr.push({s:br,e:Cr}):br>=1?Jr.push({s:br-1,e:Cr-1}):(Jr.push({s:br,e:1}),Jr.push({s:0,e:Cr-1}));var fs=[],Ss,us=Jr.length,Ds;for(Ss=0;Ss<us;Ss+=1)if(Ds=Jr[Ss],!(Ds.e*Qr<qr||Ds.s*Qr>qr+Rr)){var ks,Ls;Ds.s*Qr<=qr?ks=0:ks=(Ds.s*Qr-qr)/Rr,Ds.e*Qr>=qr+Rr?Ls=1:Ls=(Ds.e*Qr-qr)/Rr,fs.push([ks,Ls])}return fs.length||fs.push([0,0]),fs},Ba.prototype.releasePathsData=function(br){var Cr,Rr=br.length;for(Cr=0;Cr<Rr;Cr+=1)Na.release(br[Cr]);return br.length=0,br},Ba.prototype.processShapes=function(br){var Cr,Rr;if(this._mdf||br){var qr=this.o.v%360/360;if(qr<0&&(qr+=1),this.s.v>1?Cr=1+qr:this.s.v<0?Cr=0+qr:Cr=this.s.v+qr,this.e.v>1?Rr=1+qr:this.e.v<0?Rr=0+qr:Rr=this.e.v+qr,Cr>Rr){var Qr=Cr;Cr=Rr,Rr=Qr}Cr=Math.round(Cr*1e4)*1e-4,Rr=Math.round(Rr*1e4)*1e-4,this.sValue=Cr,this.eValue=Rr}else Cr=this.sValue,Rr=this.eValue;var Jr,fs,Ss=this.shapes.length,us,Ds,ks,Ls,ys,hr=0;if(Rr===Cr)for(fs=0;fs<Ss;fs+=1)this.shapes[fs].localShapeCollection.releaseShapes(),this.shapes[fs].shape._mdf=!0,this.shapes[fs].shape.paths=this.shapes[fs].localShapeCollection,this._mdf&&(this.shapes[fs].pathsData.length=0);else if(Rr===1&&Cr===0||Rr===0&&Cr===1){if(this._mdf)for(fs=0;fs<Ss;fs+=1)this.shapes[fs].pathsData.length=0,this.shapes[fs].shape._mdf=!0}else{var _r=[],xr,Dr;for(fs=0;fs<Ss;fs+=1)if(xr=this.shapes[fs],!xr.shape._mdf&&!this._mdf&&!br&&this.m!==2)xr.shape.paths=xr.localShapeCollection;else{if(Jr=xr.shape.paths,Ds=Jr._length,ys=0,!xr.shape._mdf&&xr.pathsData.length)ys=xr.totalShapeLength;else{for(ks=this.releasePathsData(xr.pathsData),us=0;us<Ds;us+=1)Ls=xn.getSegmentsLength(Jr.shapes[us]),ks.push(Ls),ys+=Ls.totalLength;xr.totalShapeLength=ys,xr.pathsData=ks}hr+=ys,xr.shape._mdf=!0}var Vr=Cr,Fr=Rr,er=0,lr;for(fs=Ss-1;fs>=0;fs-=1)if(xr=this.shapes[fs],xr.shape._mdf){for(Dr=xr.localShapeCollection,Dr.releaseShapes(),this.m===2&&Ss>1?(lr=this.calculateShapeEdges(Cr,Rr,xr.totalShapeLength,er,hr),er+=xr.totalShapeLength):lr=[[Vr,Fr]],Ds=lr.length,us=0;us<Ds;us+=1){Vr=lr[us][0],Fr=lr[us][1],_r.length=0,Fr<=1?_r.push({s:xr.totalShapeLength*Vr,e:xr.totalShapeLength*Fr}):Vr>=1?_r.push({s:xr.totalShapeLength*(Vr-1),e:xr.totalShapeLength*(Fr-1)}):(_r.push({s:xr.totalShapeLength*Vr,e:xr.totalShapeLength}),_r.push({s:0,e:xr.totalShapeLength*(Fr-1)}));var mr=this.addShapes(xr,_r[0]);if(_r[0].s!==_r[0].e){if(_r.length>1){var Sr=xr.shape.paths.shapes[xr.shape.paths._length-1];if(Sr.c){var wr=mr.pop();this.addPaths(mr,Dr),mr=this.addShapes(xr,_r[1],wr)}else this.addPaths(mr,Dr),mr=this.addShapes(xr,_r[1])}this.addPaths(mr,Dr)}}xr.shape.paths=Dr}}},Ba.prototype.addPaths=function(br,Cr){var Rr,qr=br.length;for(Rr=0;Rr<qr;Rr+=1)Cr.addShape(br[Rr])},Ba.prototype.addSegment=function(br,Cr,Rr,qr,Qr,Jr,fs){Qr.setXYAt(Cr[0],Cr[1],"o",Jr),Qr.setXYAt(Rr[0],Rr[1],"i",Jr+1),fs&&Qr.setXYAt(br[0],br[1],"v",Jr),Qr.setXYAt(qr[0],qr[1],"v",Jr+1)},Ba.prototype.addSegmentFromArray=function(br,Cr,Rr,qr){Cr.setXYAt(br[1],br[5],"o",Rr),Cr.setXYAt(br[2],br[6],"i",Rr+1),qr&&Cr.setXYAt(br[0],br[4],"v",Rr),Cr.setXYAt(br[3],br[7],"v",Rr+1)},Ba.prototype.addShapes=function(br,Cr,Rr){var qr=br.pathsData,Qr=br.shape.paths.shapes,Jr,fs=br.shape.paths._length,Ss,us,Ds=0,ks,Ls,ys,hr,_r=[],xr,Dr=!0;for(Rr?(Ls=Rr._length,xr=Rr._length):(Rr=Ta.newElement(),Ls=0,xr=0),_r.push(Rr),Jr=0;Jr<fs;Jr+=1){for(ys=qr[Jr].lengths,Rr.c=Qr[Jr].c,us=Qr[Jr].c?ys.length:ys.length+1,Ss=1;Ss<us;Ss+=1)if(ks=ys[Ss-1],Ds+ks.addedLength<Cr.s)Ds+=ks.addedLength,Rr.c=!1;else if(Ds>Cr.e){Rr.c=!1;break}else Cr.s<=Ds&&Cr.e>=Ds+ks.addedLength?(this.addSegment(Qr[Jr].v[Ss-1],Qr[Jr].o[Ss-1],Qr[Jr].i[Ss],Qr[Jr].v[Ss],Rr,Ls,Dr),Dr=!1):(hr=xn.getNewSegment(Qr[Jr].v[Ss-1],Qr[Jr].v[Ss],Qr[Jr].o[Ss-1],Qr[Jr].i[Ss],(Cr.s-Ds)/ks.addedLength,(Cr.e-Ds)/ks.addedLength,ys[Ss-1]),this.addSegmentFromArray(hr,Rr,Ls,Dr),Dr=!1,Rr.c=!1),Ds+=ks.addedLength,Ls+=1;if(Qr[Jr].c&&ys.length){if(ks=ys[Ss-1],Ds<=Cr.e){var Vr=ys[Ss-1].addedLength;Cr.s<=Ds&&Cr.e>=Ds+Vr?(this.addSegment(Qr[Jr].v[Ss-1],Qr[Jr].o[Ss-1],Qr[Jr].i[0],Qr[Jr].v[0],Rr,Ls,Dr),Dr=!1):(hr=xn.getNewSegment(Qr[Jr].v[Ss-1],Qr[Jr].v[0],Qr[Jr].o[Ss-1],Qr[Jr].i[0],(Cr.s-Ds)/Vr,(Cr.e-Ds)/Vr,ys[Ss-1]),this.addSegmentFromArray(hr,Rr,Ls,Dr),Dr=!1,Rr.c=!1)}else Rr.c=!1;Ds+=ks.addedLength,Ls+=1}if(Rr._length&&(Rr.setXYAt(Rr.v[xr][0],Rr.v[xr][1],"i",xr),Rr.setXYAt(Rr.v[Rr._length-1][0],Rr.v[Rr._length-1][1],"o",Rr._length-1)),Ds>Cr.e)break;Jr<fs-1&&(Rr=Ta.newElement(),Dr=!0,_r.push(Rr),Ls=0)}return _r};function Sn(){}nr([Xa],Sn),Sn.prototype.initModifierProperties=function(br,Cr){this.getValue=this.processKeys,this.amount=Gs.getProp(br,Cr.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Sn.prototype.processPath=function(br,Cr){var Rr=Cr/100,qr=[0,0],Qr=br._length,Jr=0;for(Jr=0;Jr<Qr;Jr+=1)qr[0]+=br.v[Jr][0],qr[1]+=br.v[Jr][1];qr[0]/=Qr,qr[1]/=Qr;var fs=Ta.newElement();fs.c=br.c;var Ss,us,Ds,ks,Ls,ys;for(Jr=0;Jr<Qr;Jr+=1)Ss=br.v[Jr][0]+(qr[0]-br.v[Jr][0])*Rr,us=br.v[Jr][1]+(qr[1]-br.v[Jr][1])*Rr,Ds=br.o[Jr][0]+(qr[0]-br.o[Jr][0])*-Rr,ks=br.o[Jr][1]+(qr[1]-br.o[Jr][1])*-Rr,Ls=br.i[Jr][0]+(qr[0]-br.i[Jr][0])*-Rr,ys=br.i[Jr][1]+(qr[1]-br.i[Jr][1])*-Rr,fs.setTripleAt(Ss,us,Ds,ks,Ls,ys,Jr);return fs},Sn.prototype.processShapes=function(br){var Cr,Rr,qr=this.shapes.length,Qr,Jr,fs=this.amount.v;if(fs!==0){var Ss,us;for(Rr=0;Rr<qr;Rr+=1){if(Ss=this.shapes[Rr],us=Ss.localShapeCollection,!(!Ss.shape._mdf&&!this._mdf&&!br))for(us.releaseShapes(),Ss.shape._mdf=!0,Cr=Ss.shape.paths.shapes,Jr=Ss.shape.paths._length,Qr=0;Qr<Jr;Qr+=1)us.addShape(this.processPath(Cr[Qr],fs));Ss.shape.paths=Ss.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Rn=function(){var br=[0,0];function Cr(us){var Ds=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||Ds,this.a&&us.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&us.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&us.skewFromAxis(-this.sk.v,this.sa.v),this.r?us.rotate(-this.r.v):us.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.data.p.s?this.data.p.z?us.translate(this.px.v,this.py.v,-this.pz.v):us.translate(this.px.v,this.py.v,0):us.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function Rr(us){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||us){var Ds;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var ks,Ls;if(Ds=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(ks=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/Ds,0),Ls=this.p.getValueAtTime(this.p.keyframes[0].t/Ds,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(ks=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/Ds,0),Ls=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/Ds,0)):(ks=this.p.pv,Ls=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/Ds,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){ks=[],Ls=[];var ys=this.px,hr=this.py;ys._caching.lastFrame+ys.offsetTime<=ys.keyframes[0].t?(ks[0]=ys.getValueAtTime((ys.keyframes[0].t+.01)/Ds,0),ks[1]=hr.getValueAtTime((hr.keyframes[0].t+.01)/Ds,0),Ls[0]=ys.getValueAtTime(ys.keyframes[0].t/Ds,0),Ls[1]=hr.getValueAtTime(hr.keyframes[0].t/Ds,0)):ys._caching.lastFrame+ys.offsetTime>=ys.keyframes[ys.keyframes.length-1].t?(ks[0]=ys.getValueAtTime(ys.keyframes[ys.keyframes.length-1].t/Ds,0),ks[1]=hr.getValueAtTime(hr.keyframes[hr.keyframes.length-1].t/Ds,0),Ls[0]=ys.getValueAtTime((ys.keyframes[ys.keyframes.length-1].t-.01)/Ds,0),Ls[1]=hr.getValueAtTime((hr.keyframes[hr.keyframes.length-1].t-.01)/Ds,0)):(ks=[ys.pv,hr.pv],Ls[0]=ys.getValueAtTime((ys._caching.lastFrame+ys.offsetTime-.01)/Ds,ys.offsetTime),Ls[1]=hr.getValueAtTime((hr._caching.lastFrame+hr.offsetTime-.01)/Ds,hr.offsetTime))}else Ls=br,ks=Ls;this.v.rotate(-Math.atan2(ks[1]-Ls[1],ks[0]-Ls[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 qr(){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 Qr(){}function Jr(us){this._addDynamicProperty(us),this.elem.addDynamicProperty(us),this._isDirty=!0}function fs(us,Ds,ks){if(this.elem=us,this.frameId=-1,this.propType="transform",this.data=Ds,this.v=new Pa,this.pre=new Pa,this.appliedTransformations=0,this.initDynamicPropertyContainer(ks||us),Ds.p&&Ds.p.s?(this.px=Gs.getProp(us,Ds.p.x,0,0,this),this.py=Gs.getProp(us,Ds.p.y,0,0,this),Ds.p.z&&(this.pz=Gs.getProp(us,Ds.p.z,0,0,this))):this.p=Gs.getProp(us,Ds.p||{k:[0,0,0]},1,0,this),Ds.rx){if(this.rx=Gs.getProp(us,Ds.rx,0,es,this),this.ry=Gs.getProp(us,Ds.ry,0,es,this),this.rz=Gs.getProp(us,Ds.rz,0,es,this),Ds.or.k[0].ti){var Ls,ys=Ds.or.k.length;for(Ls=0;Ls<ys;Ls+=1)Ds.or.k[Ls].to=null,Ds.or.k[Ls].ti=null}this.or=Gs.getProp(us,Ds.or,1,es,this),this.or.sh=!0}else this.r=Gs.getProp(us,Ds.r||{k:0},0,es,this);Ds.sk&&(this.sk=Gs.getProp(us,Ds.sk,0,es,this),this.sa=Gs.getProp(us,Ds.sa,0,es,this)),this.a=Gs.getProp(us,Ds.a||{k:[0,0,0]},1,0,this),this.s=Gs.getProp(us,Ds.s||{k:[100,100,100]},1,.01,this),Ds.o?this.o=Gs.getProp(us,Ds.o,0,.01,us):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}fs.prototype={applyToMatrix:Cr,getValue:Rr,precalculateMatrix:qr,autoOrient:Qr},nr([Fa],fs),fs.prototype.addDynamicProperty=Jr,fs.prototype._addDynamicProperty=Fa.prototype.addDynamicProperty;function Ss(us,Ds,ks){return new fs(us,Ds,ks)}return{getTransformProperty:Ss}}();function Ja(){}nr([Xa],Ja),Ja.prototype.initModifierProperties=function(br,Cr){this.getValue=this.processKeys,this.c=Gs.getProp(br,Cr.c,0,null,this),this.o=Gs.getProp(br,Cr.o,0,null,this),this.tr=Rn.getTransformProperty(br,Cr.tr,this),this.so=Gs.getProp(br,Cr.tr.so,0,.01,this),this.eo=Gs.getProp(br,Cr.tr.eo,0,.01,this),this.data=Cr,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Pa,this.rMatrix=new Pa,this.sMatrix=new Pa,this.tMatrix=new Pa,this.matrix=new Pa},Ja.prototype.applyTransforms=function(br,Cr,Rr,qr,Qr,Jr){var fs=Jr?-1:1,Ss=qr.s.v[0]+(1-qr.s.v[0])*(1-Qr),us=qr.s.v[1]+(1-qr.s.v[1])*(1-Qr);br.translate(qr.p.v[0]*fs*Qr,qr.p.v[1]*fs*Qr,qr.p.v[2]),Cr.translate(-qr.a.v[0],-qr.a.v[1],qr.a.v[2]),Cr.rotate(-qr.r.v*fs*Qr),Cr.translate(qr.a.v[0],qr.a.v[1],qr.a.v[2]),Rr.translate(-qr.a.v[0],-qr.a.v[1],qr.a.v[2]),Rr.scale(Jr?1/Ss:Ss,Jr?1/us:us),Rr.translate(qr.a.v[0],qr.a.v[1],qr.a.v[2])},Ja.prototype.init=function(br,Cr,Rr,qr){for(this.elem=br,this.arr=Cr,this.pos=Rr,this.elemsData=qr,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(br),this.initModifierProperties(br,Cr[Rr]);Rr>0;)Rr-=1,this._elements.unshift(Cr[Rr]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ja.prototype.resetElements=function(br){var Cr,Rr=br.length;for(Cr=0;Cr<Rr;Cr+=1)br[Cr]._processed=!1,br[Cr].ty==="gr"&&this.resetElements(br[Cr].it)},Ja.prototype.cloneElements=function(br){var Cr=JSON.parse(JSON.stringify(br));return this.resetElements(Cr),Cr},Ja.prototype.changeGroupRender=function(br,Cr){var Rr,qr=br.length;for(Rr=0;Rr<qr;Rr+=1)br[Rr]._render=Cr,br[Rr].ty==="gr"&&this.changeGroupRender(br[Rr].it,Cr)},Ja.prototype.processShapes=function(br){var Cr,Rr,qr,Qr,Jr,fs=!1;if(this._mdf||br){var Ss=Math.ceil(this.c.v);if(this._groups.length<Ss){for(;this._groups.length<Ss;){var us={it:this.cloneElements(this._elements),ty:"gr"};us.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,us),this._groups.splice(0,0,us),this._currentCopies+=1}this.elem.reloadShapes(),fs=!0}Jr=0;var Ds;for(qr=0;qr<=this._groups.length-1;qr+=1){if(Ds=Jr<Ss,this._groups[qr]._render=Ds,this.changeGroupRender(this._groups[qr].it,Ds),!Ds){var ks=this.elemsData[qr].it,Ls=ks[ks.length-1];Ls.transform.op.v!==0?(Ls.transform.op._mdf=!0,Ls.transform.op.v=0):Ls.transform.op._mdf=!1}Jr+=1}this._currentCopies=Ss;var ys=this.o.v,hr=ys%1,_r=ys>0?Math.floor(ys):Math.ceil(ys),xr=this.pMatrix.props,Dr=this.rMatrix.props,Vr=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var Fr=0;if(ys>0){for(;Fr<_r;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),Fr+=1;hr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,hr,!1),Fr+=hr)}else if(ys<0){for(;Fr>_r;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Fr-=1;hr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-hr,!0),Fr-=hr)}qr=this.data.m===1?0:this._currentCopies-1,Qr=this.data.m===1?1:-1,Jr=this._currentCopies;for(var er,lr;Jr;){if(Cr=this.elemsData[qr].it,Rr=Cr[Cr.length-1].transform.mProps.v.props,lr=Rr.length,Cr[Cr.length-1].transform.mProps._mdf=!0,Cr[Cr.length-1].transform.op._mdf=!0,Cr[Cr.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(qr/(this._currentCopies-1)),Fr!==0){for((qr!==0&&Qr===1||qr!==this._currentCopies-1&&Qr===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Dr[0],Dr[1],Dr[2],Dr[3],Dr[4],Dr[5],Dr[6],Dr[7],Dr[8],Dr[9],Dr[10],Dr[11],Dr[12],Dr[13],Dr[14],Dr[15]),this.matrix.transform(Vr[0],Vr[1],Vr[2],Vr[3],Vr[4],Vr[5],Vr[6],Vr[7],Vr[8],Vr[9],Vr[10],Vr[11],Vr[12],Vr[13],Vr[14],Vr[15]),this.matrix.transform(xr[0],xr[1],xr[2],xr[3],xr[4],xr[5],xr[6],xr[7],xr[8],xr[9],xr[10],xr[11],xr[12],xr[13],xr[14],xr[15]),er=0;er<lr;er+=1)Rr[er]=this.matrix.props[er];this.matrix.reset()}else for(this.matrix.reset(),er=0;er<lr;er+=1)Rr[er]=this.matrix.props[er];Fr+=1,Jr-=1,qr+=Qr}}else for(Jr=this._currentCopies,qr=0,Qr=1;Jr;)Cr=this.elemsData[qr].it,Rr=Cr[Cr.length-1].transform.mProps.v.props,Cr[Cr.length-1].transform.mProps._mdf=!1,Cr[Cr.length-1].transform.op._mdf=!1,Jr-=1,qr+=Qr;return fs},Ja.prototype.addShape=function(){};function ro(){}nr([Xa],ro),ro.prototype.initModifierProperties=function(br,Cr){this.getValue=this.processKeys,this.rd=Gs.getProp(br,Cr.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ro.prototype.processPath=function(br,Cr){var Rr=Ta.newElement();Rr.c=br.c;var qr,Qr=br._length,Jr,fs,Ss,us,Ds,ks,Ls=0,ys,hr,_r,xr,Dr,Vr;for(qr=0;qr<Qr;qr+=1)Jr=br.v[qr],Ss=br.o[qr],fs=br.i[qr],Jr[0]===Ss[0]&&Jr[1]===Ss[1]&&Jr[0]===fs[0]&&Jr[1]===fs[1]?(qr===0||qr===Qr-1)&&!br.c?(Rr.setTripleAt(Jr[0],Jr[1],Ss[0],Ss[1],fs[0],fs[1],Ls),Ls+=1):(qr===0?us=br.v[Qr-1]:us=br.v[qr-1],Ds=Math.sqrt(Math.pow(Jr[0]-us[0],2)+Math.pow(Jr[1]-us[1],2)),ks=Ds?Math.min(Ds/2,Cr)/Ds:0,Dr=Jr[0]+(us[0]-Jr[0])*ks,ys=Dr,Vr=Jr[1]-(Jr[1]-us[1])*ks,hr=Vr,_r=ys-(ys-Jr[0])*hs,xr=hr-(hr-Jr[1])*hs,Rr.setTripleAt(ys,hr,_r,xr,Dr,Vr,Ls),Ls+=1,qr===Qr-1?us=br.v[0]:us=br.v[qr+1],Ds=Math.sqrt(Math.pow(Jr[0]-us[0],2)+Math.pow(Jr[1]-us[1],2)),ks=Ds?Math.min(Ds/2,Cr)/Ds:0,_r=Jr[0]+(us[0]-Jr[0])*ks,ys=_r,xr=Jr[1]+(us[1]-Jr[1])*ks,hr=xr,Dr=ys-(ys-Jr[0])*hs,Vr=hr-(hr-Jr[1])*hs,Rr.setTripleAt(ys,hr,_r,xr,Dr,Vr,Ls),Ls+=1):(Rr.setTripleAt(br.v[qr][0],br.v[qr][1],br.o[qr][0],br.o[qr][1],br.i[qr][0],br.i[qr][1],Ls),Ls+=1);return Rr},ro.prototype.processShapes=function(br){var Cr,Rr,qr=this.shapes.length,Qr,Jr,fs=this.rd.v;if(fs!==0){var Ss,us;for(Rr=0;Rr<qr;Rr+=1){if(Ss=this.shapes[Rr],us=Ss.localShapeCollection,!(!Ss.shape._mdf&&!this._mdf&&!br))for(us.releaseShapes(),Ss.shape._mdf=!0,Cr=Ss.shape.paths.shapes,Jr=Ss.shape.paths._length,Qr=0;Qr<Jr;Qr+=1)us.addShape(this.processPath(Cr[Qr],fs));Ss.shape.paths=Ss.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Bn(br,Cr){return Math.abs(br-Cr)*1e5<=Math.min(Math.abs(br),Math.abs(Cr))}function mo(br){return Math.abs(br)<=1e-5}function Lo(br,Cr,Rr){return br*(1-Rr)+Cr*Rr}function Fn(br,Cr,Rr){return[Lo(br[0],Cr[0],Rr),Lo(br[1],Cr[1],Rr)]}function Ah(br,Cr,Rr){if(br===0)return[];var qr=Cr*Cr-4*br*Rr;if(qr<0)return[];var Qr=-Cr/(2*br);if(qr===0)return[Qr];var Jr=Math.sqrt(qr)/(2*br);return[Qr-Jr,Qr+Jr]}function po(br,Cr,Rr,qr){return[-br+3*Cr-3*Rr+qr,3*br-6*Cr+3*Rr,-3*br+3*Cr,br]}function mh(br){return new va(br,br,br,br,!1)}function va(br,Cr,Rr,qr,Qr){Qr&&On(br,Cr)&&(Cr=Fn(br,qr,1/3)),Qr&&On(Rr,qr)&&(Rr=Fn(br,qr,2/3));var Jr=po(br[0],Cr[0],Rr[0],qr[0]),fs=po(br[1],Cr[1],Rr[1],qr[1]);this.a=[Jr[0],fs[0]],this.b=[Jr[1],fs[1]],this.c=[Jr[2],fs[2]],this.d=[Jr[3],fs[3]],this.points=[br,Cr,Rr,qr]}va.prototype.point=function(br){return[((this.a[0]*br+this.b[0])*br+this.c[0])*br+this.d[0],((this.a[1]*br+this.b[1])*br+this.c[1])*br+this.d[1]]},va.prototype.derivative=function(br){return[(3*br*this.a[0]+2*this.b[0])*br+this.c[0],(3*br*this.a[1]+2*this.b[1])*br+this.c[1]]},va.prototype.tangentAngle=function(br){var Cr=this.derivative(br);return Math.atan2(Cr[1],Cr[0])},va.prototype.normalAngle=function(br){var Cr=this.derivative(br);return Math.atan2(Cr[0],Cr[1])},va.prototype.inflectionPoints=function(){var br=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(mo(br))return[];var Cr=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/br,Rr=Cr*Cr-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/br;if(Rr<0)return[];var qr=Math.sqrt(Rr);return mo(qr)?qr>0&&qr<1?[Cr]:[]:[Cr-qr,Cr+qr].filter(function(Qr){return Qr>0&&Qr<1})},va.prototype.split=function(br){if(br<=0)return[mh(this.points[0]),this];if(br>=1)return[this,mh(this.points[this.points.length-1])];var Cr=Fn(this.points[0],this.points[1],br),Rr=Fn(this.points[1],this.points[2],br),qr=Fn(this.points[2],this.points[3],br),Qr=Fn(Cr,Rr,br),Jr=Fn(Rr,qr,br),fs=Fn(Qr,Jr,br);return[new va(this.points[0],Cr,Qr,fs,!0),new va(fs,Jr,qr,this.points[3],!0)]};function Ko(br,Cr){var Rr=br.points[0][Cr],qr=br.points[br.points.length-1][Cr];if(Rr>qr){var Qr=qr;qr=Rr,Rr=Qr}for(var Jr=Ah(3*br.a[Cr],2*br.b[Cr],br.c[Cr]),fs=0;fs<Jr.length;fs+=1)if(Jr[fs]>0&&Jr[fs]<1){var Ss=br.point(Jr[fs])[Cr];Ss<Rr?Rr=Ss:Ss>qr&&(qr=Ss)}return{min:Rr,max:qr}}va.prototype.bounds=function(){return{x:Ko(this,0),y:Ko(this,1)}},va.prototype.boundingBox=function(){var br=this.bounds();return{left:br.x.min,right:br.x.max,top:br.y.min,bottom:br.y.max,width:br.x.max-br.x.min,height:br.y.max-br.y.min,cx:(br.x.max+br.x.min)/2,cy:(br.y.max+br.y.min)/2}};function za(br,Cr,Rr){var qr=br.boundingBox();return{cx:qr.cx,cy:qr.cy,width:qr.width,height:qr.height,bez:br,t:(Cr+Rr)/2,t1:Cr,t2:Rr}}function Qo(br){var Cr=br.bez.split(.5);return[za(Cr[0],br.t1,br.t),za(Cr[1],br.t,br.t2)]}function th(br,Cr){return Math.abs(br.cx-Cr.cx)*2<br.width+Cr.width&&Math.abs(br.cy-Cr.cy)*2<br.height+Cr.height}function fo(br,Cr,Rr,qr,Qr,Jr){if(th(br,Cr)){if(Rr>=Jr||br.width<=qr&&br.height<=qr&&Cr.width<=qr&&Cr.height<=qr){Qr.push([br.t,Cr.t]);return}var fs=Qo(br),Ss=Qo(Cr);fo(fs[0],Ss[0],Rr+1,qr,Qr,Jr),fo(fs[0],Ss[1],Rr+1,qr,Qr,Jr),fo(fs[1],Ss[0],Rr+1,qr,Qr,Jr),fo(fs[1],Ss[1],Rr+1,qr,Qr,Jr)}}va.prototype.intersections=function(br,Cr,Rr){Cr===void 0&&(Cr=2),Rr===void 0&&(Rr=7);var qr=[];return fo(za(this,0,1),za(br,0,1),0,Cr,qr,Rr),qr},va.shapeSegment=function(br,Cr){var Rr=(Cr+1)%br.length();return new va(br.v[Cr],br.o[Cr],br.i[Rr],br.v[Rr],!0)},va.shapeSegmentInverted=function(br,Cr){var Rr=(Cr+1)%br.length();return new va(br.v[Rr],br.i[Rr],br.o[Cr],br.v[Cr],!0)};function No(br,Cr){return[br[1]*Cr[2]-br[2]*Cr[1],br[2]*Cr[0]-br[0]*Cr[2],br[0]*Cr[1]-br[1]*Cr[0]]}function so(br,Cr,Rr,qr){var Qr=[br[0],br[1],1],Jr=[Cr[0],Cr[1],1],fs=[Rr[0],Rr[1],1],Ss=[qr[0],qr[1],1],us=No(No(Qr,Jr),No(fs,Ss));return mo(us[2])?null:[us[0]/us[2],us[1]/us[2]]}function Un(br,Cr,Rr){return[br[0]+Math.cos(Cr)*Rr,br[1]-Math.sin(Cr)*Rr]}function Ao(br,Cr){return Math.hypot(br[0]-Cr[0],br[1]-Cr[1])}function On(br,Cr){return Bn(br[0],Cr[0])&&Bn(br[1],Cr[1])}function ao(){}nr([Xa],ao),ao.prototype.initModifierProperties=function(br,Cr){this.getValue=this.processKeys,this.amplitude=Gs.getProp(br,Cr.s,0,null,this),this.frequency=Gs.getProp(br,Cr.r,0,null,this),this.pointsType=Gs.getProp(br,Cr.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Co(br,Cr,Rr,qr,Qr,Jr,fs){var Ss=Rr-Math.PI/2,us=Rr+Math.PI/2,Ds=Cr[0]+Math.cos(Rr)*qr*Qr,ks=Cr[1]-Math.sin(Rr)*qr*Qr;br.setTripleAt(Ds,ks,Ds+Math.cos(Ss)*Jr,ks-Math.sin(Ss)*Jr,Ds+Math.cos(us)*fs,ks-Math.sin(us)*fs,br.length())}function Go(br,Cr){var Rr=[Cr[0]-br[0],Cr[1]-br[1]],qr=-Math.PI*.5,Qr=[Math.cos(qr)*Rr[0]-Math.sin(qr)*Rr[1],Math.sin(qr)*Rr[0]+Math.cos(qr)*Rr[1]];return Qr}function Ch(br,Cr){var Rr=Cr===0?br.length()-1:Cr-1,qr=(Cr+1)%br.length(),Qr=br.v[Rr],Jr=br.v[qr],fs=Go(Qr,Jr);return Math.atan2(0,1)-Math.atan2(fs[1],fs[0])}function dh(br,Cr,Rr,qr,Qr,Jr,fs){var Ss=Ch(Cr,Rr),us=Cr.v[Rr%Cr._length],Ds=Cr.v[Rr===0?Cr._length-1:Rr-1],ks=Cr.v[(Rr+1)%Cr._length],Ls=Jr===2?Math.sqrt(Math.pow(us[0]-Ds[0],2)+Math.pow(us[1]-Ds[1],2)):0,ys=Jr===2?Math.sqrt(Math.pow(us[0]-ks[0],2)+Math.pow(us[1]-ks[1],2)):0;Co(br,Cr.v[Rr%Cr._length],Ss,fs,qr,ys/((Qr+1)*2),Ls/((Qr+1)*2))}function $h(br,Cr,Rr,qr,Qr,Jr){for(var fs=0;fs<qr;fs+=1){var Ss=(fs+1)/(qr+1),us=Qr===2?Math.sqrt(Math.pow(Cr.points[3][0]-Cr.points[0][0],2)+Math.pow(Cr.points[3][1]-Cr.points[0][1],2)):0,Ds=Cr.normalAngle(Ss),ks=Cr.point(Ss);Co(br,ks,Ds,Jr,Rr,us/((qr+1)*2),us/((qr+1)*2)),Jr=-Jr}return Jr}ao.prototype.processPath=function(br,Cr,Rr,qr){var Qr=br._length,Jr=Ta.newElement();if(Jr.c=br.c,br.c||(Qr-=1),Qr===0)return Jr;var fs=-1,Ss=va.shapeSegment(br,0);dh(Jr,br,0,Cr,Rr,qr,fs);for(var us=0;us<Qr;us+=1)fs=$h(Jr,Ss,Cr,Rr,qr,-fs),us===Qr-1&&!br.c?Ss=null:Ss=va.shapeSegment(br,(us+1)%Qr),dh(Jr,br,us+1,Cr,Rr,qr,fs);return Jr},ao.prototype.processShapes=function(br){var Cr,Rr,qr=this.shapes.length,Qr,Jr,fs=this.amplitude.v,Ss=Math.max(0,Math.round(this.frequency.v)),us=this.pointsType.v;if(fs!==0){var Ds,ks;for(Rr=0;Rr<qr;Rr+=1){if(Ds=this.shapes[Rr],ks=Ds.localShapeCollection,!(!Ds.shape._mdf&&!this._mdf&&!br))for(ks.releaseShapes(),Ds.shape._mdf=!0,Cr=Ds.shape.paths.shapes,Jr=Ds.shape.paths._length,Qr=0;Qr<Jr;Qr+=1)ks.addShape(this.processPath(Cr[Qr],fs,Ss,us));Ds.shape.paths=Ds.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Vo(br,Cr,Rr){var qr=Math.atan2(Cr[0]-br[0],Cr[1]-br[1]);return[Un(br,qr,Rr),Un(Cr,qr,Rr)]}function no(br,Cr){var Rr,qr,Qr,Jr,fs,Ss,us;us=Vo(br.points[0],br.points[1],Cr),Rr=us[0],qr=us[1],us=Vo(br.points[1],br.points[2],Cr),Qr=us[0],Jr=us[1],us=Vo(br.points[2],br.points[3],Cr),fs=us[0],Ss=us[1];var Ds=so(Rr,qr,Qr,Jr);Ds===null&&(Ds=qr);var ks=so(fs,Ss,Qr,Jr);return ks===null&&(ks=fs),new va(Rr,Ds,ks,Ss)}function jo(br,Cr,Rr,qr,Qr){var Jr=Cr.points[3],fs=Rr.points[0];if(qr===3||On(Jr,fs))return Jr;if(qr===2){var Ss=-Cr.tangentAngle(1),us=-Rr.tangentAngle(0)+Math.PI,Ds=so(Jr,Un(Jr,Ss+Math.PI/2,100),fs,Un(fs,Ss+Math.PI/2,100)),ks=Ds?Ao(Ds,Jr):Ao(Jr,fs)/2,Ls=Un(Jr,Ss,2*ks*hs);return br.setXYAt(Ls[0],Ls[1],"o",br.length()-1),Ls=Un(fs,us,2*ks*hs),br.setTripleAt(fs[0],fs[1],fs[0],fs[1],Ls[0],Ls[1],br.length()),fs}var ys=On(Jr,Cr.points[2])?Cr.points[0]:Cr.points[2],hr=On(fs,Rr.points[1])?Rr.points[3]:Rr.points[1],_r=so(ys,Jr,fs,hr);return _r&&Ao(_r,Jr)<Qr?(br.setTripleAt(_r[0],_r[1],_r[0],_r[1],_r[0],_r[1],br.length()),_r):Jr}function ko(br,Cr){var Rr=br.intersections(Cr);return Rr.length&&Bn(Rr[0][0],1)&&Rr.shift(),Rr.length?Rr[0]:null}function eh(br,Cr){var Rr=br.slice(),qr=Cr.slice(),Qr=ko(br[br.length-1],Cr[0]);return Qr&&(Rr[br.length-1]=br[br.length-1].split(Qr[0])[0],qr[0]=Cr[0].split(Qr[1])[1]),br.length>1&&Cr.length>1&&(Qr=ko(br[0],Cr[Cr.length-1]),Qr)?[[br[0].split(Qr[0])[0]],[Cr[Cr.length-1].split(Qr[1])[1]]]:[Rr,qr]}function kh(br){for(var Cr,Rr=1;Rr<br.length;Rr+=1)Cr=eh(br[Rr-1],br[Rr]),br[Rr-1]=Cr[0],br[Rr]=Cr[1];return br.length>1&&(Cr=eh(br[br.length-1],br[0]),br[br.length-1]=Cr[0],br[0]=Cr[1]),br}function ih(br,Cr){var Rr=br.inflectionPoints(),qr,Qr,Jr,fs;if(Rr.length===0)return[no(br,Cr)];if(Rr.length===1||Bn(Rr[1],1))return Jr=br.split(Rr[0]),qr=Jr[0],Qr=Jr[1],[no(qr,Cr),no(Qr,Cr)];Jr=br.split(Rr[0]),qr=Jr[0];var Ss=(Rr[1]-Rr[0])/(1-Rr[0]);return Jr=Jr[1].split(Ss),fs=Jr[0],Qr=Jr[1],[no(qr,Cr),no(fs,Cr),no(Qr,Cr)]}function go(){}nr([Xa],go),go.prototype.initModifierProperties=function(br,Cr){this.getValue=this.processKeys,this.amount=Gs.getProp(br,Cr.a,0,null,this),this.miterLimit=Gs.getProp(br,Cr.ml,0,null,this),this.lineJoin=Cr.lj,this._isAnimated=this.amount.effectsSequence.length!==0},go.prototype.processPath=function(br,Cr,Rr,qr){var Qr=Ta.newElement();Qr.c=br.c;var Jr=br.length();br.c||(Jr-=1);var fs,Ss,us,Ds=[];for(fs=0;fs<Jr;fs+=1)us=va.shapeSegment(br,fs),Ds.push(ih(us,Cr));if(!br.c)for(fs=Jr-1;fs>=0;fs-=1)us=va.shapeSegmentInverted(br,fs),Ds.push(ih(us,Cr));Ds=kh(Ds);var ks=null,Ls=null;for(fs=0;fs<Ds.length;fs+=1){var ys=Ds[fs];for(Ls&&(ks=jo(Qr,Ls,ys[0],Rr,qr)),Ls=ys[ys.length-1],Ss=0;Ss<ys.length;Ss+=1)us=ys[Ss],ks&&On(us.points[0],ks)?Qr.setXYAt(us.points[1][0],us.points[1][1],"o",Qr.length()-1):Qr.setTripleAt(us.points[0][0],us.points[0][1],us.points[1][0],us.points[1][1],us.points[0][0],us.points[0][1],Qr.length()),Qr.setTripleAt(us.points[3][0],us.points[3][1],us.points[3][0],us.points[3][1],us.points[2][0],us.points[2][1],Qr.length()),ks=us.points[3]}return Ds.length&&jo(Qr,Ls,Ds[0][0],Rr,qr),Qr},go.prototype.processShapes=function(br){var Cr,Rr,qr=this.shapes.length,Qr,Jr,fs=this.amount.v,Ss=this.miterLimit.v,us=this.lineJoin;if(fs!==0){var Ds,ks;for(Rr=0;Rr<qr;Rr+=1){if(Ds=this.shapes[Rr],ks=Ds.localShapeCollection,!(!Ds.shape._mdf&&!this._mdf&&!br))for(ks.releaseShapes(),Ds.shape._mdf=!0,Cr=Ds.shape.paths.shapes,Jr=Ds.shape.paths._length,Qr=0;Qr<Jr;Qr+=1)ks.addShape(this.processPath(Cr[Qr],fs,us,Ss));Ds.shape.paths=Ds.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function rh(br){for(var Cr=br.fStyle?br.fStyle.split(" "):[],Rr="normal",qr="normal",Qr=Cr.length,Jr,fs=0;fs<Qr;fs+=1)switch(Jr=Cr[fs].toLowerCase(),Jr){case"italic":qr="italic";break;case"bold":Rr="700";break;case"black":Rr="900";break;case"medium":Rr="500";break;case"regular":case"normal":Rr="400";break;case"light":case"thin":Rr="200";break}return{style:qr,weight:br.fWeight||Rr}}var In=function(){var br=5e3,Cr={w:0,size:0,shapes:[],data:{shapes:[]}},Rr=[];Rr=Rr.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var qr=127988,Qr=917631,Jr=917601,fs=917626,Ss=65039,us=8205,Ds=127462,ks=127487,Ls=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function ys(Or){var Gr=Or.split(","),Lr,Kr=Gr.length,ts=[];for(Lr=0;Lr<Kr;Lr+=1)Gr[Lr]!=="sans-serif"&&Gr[Lr]!=="monospace"&&ts.push(Gr[Lr]);return ts.join(",")}function hr(Or,Gr){var Lr=gr("span");Lr.setAttribute("aria-hidden",!0),Lr.style.fontFamily=Gr;var Kr=gr("span");Kr.innerText="giItT1WQy@!-/#",Lr.style.position="absolute",Lr.style.left="-10000px",Lr.style.top="-10000px",Lr.style.fontSize="300px",Lr.style.fontVariant="normal",Lr.style.fontStyle="normal",Lr.style.fontWeight="normal",Lr.style.letterSpacing="0",Lr.appendChild(Kr),document.body.appendChild(Lr);var ts=Kr.offsetWidth;return Kr.style.fontFamily=ys(Or)+", "+Gr,{node:Kr,w:ts,parent:Lr}}function _r(){var Or,Gr=this.fonts.length,Lr,Kr,ts=Gr;for(Or=0;Or<Gr;Or+=1)this.fonts[Or].loaded?ts-=1:this.fonts[Or].fOrigin==="n"||this.fonts[Or].origin===0?this.fonts[Or].loaded=!0:(Lr=this.fonts[Or].monoCase.node,Kr=this.fonts[Or].monoCase.w,Lr.offsetWidth!==Kr?(ts-=1,this.fonts[Or].loaded=!0):(Lr=this.fonts[Or].sansCase.node,Kr=this.fonts[Or].sansCase.w,Lr.offsetWidth!==Kr&&(ts-=1,this.fonts[Or].loaded=!0)),this.fonts[Or].loaded&&(this.fonts[Or].sansCase.parent.parentNode.removeChild(this.fonts[Or].sansCase.parent),this.fonts[Or].monoCase.parent.parentNode.removeChild(this.fonts[Or].monoCase.parent)));ts!==0&&Date.now()-this.initTime<br?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function xr(Or,Gr){var Lr=document.body&&Gr?"svg":"canvas",Kr,ts=rh(Or);if(Lr==="svg"){var Wr=$s("text");Wr.style.fontSize="100px",Wr.setAttribute("font-family",Or.fFamily),Wr.setAttribute("font-style",ts.style),Wr.setAttribute("font-weight",ts.weight),Wr.textContent="1",Or.fClass?(Wr.style.fontFamily="inherit",Wr.setAttribute("class",Or.fClass)):Wr.style.fontFamily=Or.fFamily,Gr.appendChild(Wr),Kr=Wr}else{var as=new OffscreenCanvas(500,500).getContext("2d");as.font=ts.style+" "+ts.weight+" 100px "+Or.fFamily,Kr=as}function ls(ds){return Lr==="svg"?(Kr.textContent=ds,Kr.getComputedTextLength()):Kr.measureText(ds).width}return{measureText:ls}}function Dr(Or,Gr){if(!Or){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Or.list;return}if(!document.body){this.isLoaded=!0,Or.list.forEach(function(zs){zs.helper=xr(zs),zs.cache={}}),this.fonts=Or.list;return}var Lr=Or.list,Kr,ts=Lr.length,Wr=ts;for(Kr=0;Kr<ts;Kr+=1){var as=!0,ls,ds;if(Lr[Kr].loaded=!1,Lr[Kr].monoCase=hr(Lr[Kr].fFamily,"monospace"),Lr[Kr].sansCase=hr(Lr[Kr].fFamily,"sans-serif"),!Lr[Kr].fPath)Lr[Kr].loaded=!0,Wr-=1;else if(Lr[Kr].fOrigin==="p"||Lr[Kr].origin===3){if(ls=document.querySelectorAll('style[f-forigin="p"][f-family="'+Lr[Kr].fFamily+'"], style[f-origin="3"][f-family="'+Lr[Kr].fFamily+'"]'),ls.length>0&&(as=!1),as){var ws=gr("style");ws.setAttribute("f-forigin",Lr[Kr].fOrigin),ws.setAttribute("f-origin",Lr[Kr].origin),ws.setAttribute("f-family",Lr[Kr].fFamily),ws.type="text/css",ws.innerText="@font-face {font-family: "+Lr[Kr].fFamily+"; font-style: normal; src: url('"+Lr[Kr].fPath+"');}",Gr.appendChild(ws)}}else if(Lr[Kr].fOrigin==="g"||Lr[Kr].origin===1){for(ls=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ds=0;ds<ls.length;ds+=1)ls[ds].href.indexOf(Lr[Kr].fPath)!==-1&&(as=!1);if(as){var Fs=gr("link");Fs.setAttribute("f-forigin",Lr[Kr].fOrigin),Fs.setAttribute("f-origin",Lr[Kr].origin),Fs.type="text/css",Fs.rel="stylesheet",Fs.href=Lr[Kr].fPath,document.body.appendChild(Fs)}}else if(Lr[Kr].fOrigin==="t"||Lr[Kr].origin===2){for(ls=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ds=0;ds<ls.length;ds+=1)Lr[Kr].fPath===ls[ds].src&&(as=!1);if(as){var Cs=gr("link");Cs.setAttribute("f-forigin",Lr[Kr].fOrigin),Cs.setAttribute("f-origin",Lr[Kr].origin),Cs.setAttribute("rel","stylesheet"),Cs.setAttribute("href",Lr[Kr].fPath),Gr.appendChild(Cs)}}Lr[Kr].helper=xr(Lr[Kr],Gr),Lr[Kr].cache={},this.fonts.push(Lr[Kr])}Wr===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function Vr(Or){if(Or){this.chars||(this.chars=[]);var Gr,Lr=Or.length,Kr,ts=this.chars.length,Wr;for(Gr=0;Gr<Lr;Gr+=1){for(Kr=0,Wr=!1;Kr<ts;)this.chars[Kr].style===Or[Gr].style&&this.chars[Kr].fFamily===Or[Gr].fFamily&&this.chars[Kr].ch===Or[Gr].ch&&(Wr=!0),Kr+=1;Wr||(this.chars.push(Or[Gr]),ts+=1)}}}function Fr(Or,Gr,Lr){for(var Kr=0,ts=this.chars.length;Kr<ts;){if(this.chars[Kr].ch===Or&&this.chars[Kr].style===Gr&&this.chars[Kr].fFamily===Lr)return this.chars[Kr];Kr+=1}return(typeof Or=="string"&&Or.charCodeAt(0)!==13||!Or)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Or,Gr,Lr)),Cr}function er(Or,Gr,Lr){var Kr=this.getFontByName(Gr),ts=Or;if(!Kr.cache[ts]){var Wr=Kr.helper;if(Or===" "){var as=Wr.measureText("|"+Or+"|"),ls=Wr.measureText("||");Kr.cache[ts]=(as-ls)/100}else Kr.cache[ts]=Wr.measureText(Or)/100}return Kr.cache[ts]*Lr}function lr(Or){for(var Gr=0,Lr=this.fonts.length;Gr<Lr;){if(this.fonts[Gr].fName===Or)return this.fonts[Gr];Gr+=1}return this.fonts[0]}function mr(Or){var Gr=0,Lr=Or.charCodeAt(0);if(Lr>=55296&&Lr<=56319){var Kr=Or.charCodeAt(1);Kr>=56320&&Kr<=57343&&(Gr=(Lr-55296)*1024+Kr-56320+65536)}return Gr}function Sr(Or,Gr){var Lr=Or.toString(16)+Gr.toString(16);return Ls.indexOf(Lr)!==-1}function wr(Or){return Or===us}function kr(Or){return Or===Ss}function Br(Or){var Gr=mr(Or);return Gr>=Ds&&Gr<=ks}function Yr(Or){return Br(Or.substr(0,2))&&Br(Or.substr(2,2))}function Hr(Or){return Rr.indexOf(Or)!==-1}function Zr(Or,Gr){var Lr=mr(Or.substr(Gr,2));if(Lr!==qr)return!1;var Kr=0;for(Gr+=2;Kr<5;){if(Lr=mr(Or.substr(Gr,2)),Lr<Jr||Lr>fs)return!1;Kr+=1,Gr+=2}return mr(Or.substr(Gr,2))===Qr}function ss(){this.isLoaded=!0}var Xr=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)};Xr.isModifier=Sr,Xr.isZeroWidthJoiner=wr,Xr.isFlagEmoji=Yr,Xr.isRegionalCode=Br,Xr.isCombinedCharacter=Hr,Xr.isRegionalFlag=Zr,Xr.isVariationSelector=kr,Xr.BLACK_FLAG_CODE_POINT=qr;var Nr={addChars:Vr,addFonts:Dr,getCharData:Fr,getFontByName:lr,measureText:er,checkLoadedFonts:_r,setIsLoaded:ss};return Xr.prototype=Nr,Xr}();function sh(br){this.animationData=br}sh.prototype.getProp=function(br){return this.animationData.slots&&this.animationData.slots[br.sid]?Object.assign(br,this.animationData.slots[br.sid].p):br};function wo(br){return new sh(br)}function Kn(){}Kn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(br){this.renderableComponents.indexOf(br)===-1&&this.renderableComponents.push(br)},removeRenderableComponent:function(br){this.renderableComponents.indexOf(br)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(br),1)},prepareRenderableFrame:function(br){this.checkLayerLimits(br)},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(br){this.data.ip-this.data.st<=br&&this.data.op-this.data.st>br?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 br,Cr=this.renderableComponents.length;for(br=0;br<Cr;br+=1)this.renderableComponents[br].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var Ro=function(){var br={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(Cr){return br[Cr]||""}}();function Bo(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,0,0,Rr)}function gh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,0,0,Rr)}function Nh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,1,0,Rr)}function Gh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,1,0,Rr)}function jh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,0,0,Rr)}function qh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,0,0,Rr)}function Hh(br,Cr,Rr){this.p=Gs.getProp(Cr,br.v,0,0,Rr)}function Wh(){this.p={}}function yh(br,Cr){var Rr=br.ef||[];this.effectElements=[];var qr,Qr=Rr.length,Jr;for(qr=0;qr<Qr;qr+=1)Jr=new yo(Rr[qr],Cr),this.effectElements.push(Jr)}function yo(br,Cr){this.init(br,Cr)}nr([Fa],yo),yo.prototype.getValue=yo.prototype.iterateDynamicProperties,yo.prototype.init=function(br,Cr){this.data=br,this.effectElements=[],this.initDynamicPropertyContainer(Cr);var Rr,qr=this.data.ef.length,Qr,Jr=this.data.ef;for(Rr=0;Rr<qr;Rr+=1){switch(Qr=null,Jr[Rr].ty){case 0:Qr=new Bo(Jr[Rr],Cr,this);break;case 1:Qr=new gh(Jr[Rr],Cr,this);break;case 2:Qr=new Nh(Jr[Rr],Cr,this);break;case 3:Qr=new Gh(Jr[Rr],Cr,this);break;case 4:case 7:Qr=new Hh(Jr[Rr],Cr,this);break;case 10:Qr=new jh(Jr[Rr],Cr,this);break;case 11:Qr=new qh(Jr[Rr],Cr,this);break;case 5:Qr=new yh(Jr[Rr],Cr);break;default:Qr=new Wh(Jr[Rr]);break}Qr&&this.effectElements.push(Qr)}};function En(){}En.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var br=0,Cr=this.data.masksProperties.length;br<Cr;){if(this.data.masksProperties[br].mode!=="n"&&this.data.masksProperties[br].cl!==!1)return!0;br+=1}return!1},initExpressions:function(){},setBlendMode:function(){var br=Ro(this.data.bm),Cr=this.baseElement||this.layerElement;Cr.style["mix-blend-mode"]=br},initBaseData:function(br,Cr,Rr){this.globalData=Cr,this.comp=Rr,this.data=br,this.layerId=yr(),this.data.sr||(this.data.sr=1),this.effectsManager=new yh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Za(){}Za.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(br,Cr){var Rr,qr=this.dynamicProperties.length;for(Rr=0;Rr<qr;Rr+=1)(Cr||this._isParent&&this.dynamicProperties[Rr].propType==="transform")&&(this.dynamicProperties[Rr].getValue(),this.dynamicProperties[Rr]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(br){this.dynamicProperties.indexOf(br)===-1&&this.dynamicProperties.push(br)}};function $a(br,Cr,Rr){this.initFrame(),this.initRenderable(),this.assetData=Cr.getAssetData(br.refId),this.footageData=Cr.imageLoader.getAsset(this.assetData),this.initBaseData(br,Cr,Rr)}$a.prototype.prepareFrame=function(){},nr([Kn,En,Za],$a),$a.prototype.getBaseElement=function(){return null},$a.prototype.renderFrame=function(){},$a.prototype.destroy=function(){},$a.prototype.initExpressions=function(){},$a.prototype.getFootageData=function(){return this.footageData};function xa(br,Cr,Rr){this.initFrame(),this.initRenderable(),this.assetData=Cr.getAssetData(br.refId),this.initBaseData(br,Cr,Rr),this._isPlaying=!1,this._canPlay=!1;var qr=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(qr),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=br.tm?Gs.getProp(this,br.tm,0,Cr.frameRate,this):{_placeholder:!0},this.lv=Gs.getProp(this,br.au&&br.au.lv?br.au.lv:{k:[100]},1,.01,this)}xa.prototype.prepareFrame=function(br){if(this.prepareRenderableFrame(br,!0),this.prepareProperties(br,!0),this.tm._placeholder)this._currentTime=br/this.data.sr;else{var Cr=this.tm.v;this._currentTime=Cr}this._volume=this.lv.v[0];var Rr=this._volume*this._volumeMultiplier;this._previousVolume!==Rr&&(this._previousVolume=Rr,this.audio.volume(Rr))},nr([Kn,En,Za],xa),xa.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},xa.prototype.show=function(){},xa.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xa.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xa.prototype.resume=function(){this._canPlay=!0},xa.prototype.setRate=function(br){this.audio.rate(br)},xa.prototype.volume=function(br){this._volumeMultiplier=br,this._previousVolume=br*this._volume,this.audio.volume(this._previousVolume)},xa.prototype.getBaseElement=function(){return null},xa.prototype.destroy=function(){},xa.prototype.sourceRectAtTime=function(){},xa.prototype.initExpressions=function(){};function Sa(){}Sa.prototype.checkLayers=function(br){var Cr,Rr=this.layers.length,qr;for(this.completeLayers=!0,Cr=Rr-1;Cr>=0;Cr-=1)this.elements[Cr]||(qr=this.layers[Cr],qr.ip-qr.st<=br-this.layers[Cr].st&&qr.op-qr.st>br-this.layers[Cr].st&&this.buildItem(Cr)),this.completeLayers=this.elements[Cr]?this.completeLayers:!1;this.checkPendingElements()},Sa.prototype.createItem=function(br){switch(br.ty){case 2:return this.createImage(br);case 0:return this.createComp(br);case 1:return this.createSolid(br);case 3:return this.createNull(br);case 4:return this.createShape(br);case 5:return this.createText(br);case 6:return this.createAudio(br);case 13:return this.createCamera(br);case 15:return this.createFootage(br);default:return this.createNull(br)}},Sa.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Sa.prototype.createAudio=function(br){return new xa(br,this.globalData,this)},Sa.prototype.createFootage=function(br){return new $a(br,this.globalData,this)},Sa.prototype.buildAllItems=function(){var br,Cr=this.layers.length;for(br=0;br<Cr;br+=1)this.buildItem(br);this.checkPendingElements()},Sa.prototype.includeLayers=function(br){this.completeLayers=!1;var Cr,Rr=br.length,qr,Qr=this.layers.length;for(Cr=0;Cr<Rr;Cr+=1)for(qr=0;qr<Qr;){if(this.layers[qr].id===br[Cr].id){this.layers[qr]=br[Cr];break}qr+=1}},Sa.prototype.setProjectInterface=function(br){this.globalData.projectInterface=br},Sa.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},Sa.prototype.buildElementParenting=function(br,Cr,Rr){for(var qr=this.elements,Qr=this.layers,Jr=0,fs=Qr.length;Jr<fs;)Qr[Jr].ind==Cr&&(!qr[Jr]||qr[Jr]===!0?(this.buildItem(Jr),this.addPendingElement(br)):(Rr.push(qr[Jr]),qr[Jr].setAsParent(),Qr[Jr].parent!==void 0?this.buildElementParenting(br,Qr[Jr].parent,Rr):br.setHierarchy(Rr))),Jr+=1},Sa.prototype.addPendingElement=function(br){this.pendingElements.push(br)},Sa.prototype.searchExtraCompositions=function(br){var Cr,Rr=br.length;for(Cr=0;Cr<Rr;Cr+=1)if(br[Cr].xt){var qr=this.createComp(br[Cr]);qr.initExpressions(),this.globalData.projectInterface.registerComposition(qr)}},Sa.prototype.getElementById=function(br){var Cr,Rr=this.elements.length;for(Cr=0;Cr<Rr;Cr+=1)if(this.elements[Cr].data.ind===br)return this.elements[Cr];return null},Sa.prototype.getElementByPath=function(br){var Cr=br.shift(),Rr;if(typeof Cr=="number")Rr=this.elements[Cr];else{var qr,Qr=this.elements.length;for(qr=0;qr<Qr;qr+=1)if(this.elements[qr].data.nm===Cr){Rr=this.elements[qr];break}}return br.length===0?Rr:Rr.getElementByPath(br)},Sa.prototype.setupGlobalData=function(br,Cr){this.globalData.fontManager=new In,this.globalData.slotManager=wo(br),this.globalData.fontManager.addChars(br.chars),this.globalData.fontManager.addFonts(br.fonts,Cr),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=br.fr,this.globalData.nm=br.nm,this.globalData.compSize={w:br.w,h:br.h}};var zn={TRANSFORM_EFFECT:"transformEFfect"};function La(){}La.prototype={initTransform:function(){var br=new Pa;this.finalTransform={mProp:this.data.ks?Rn.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:br,localMat:br,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var br,Cr=this.finalTransform.mat,Rr=0,qr=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;Rr<qr;){if(this.hierarchy[Rr].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}Rr+=1}if(this.finalTransform._matMdf)for(br=this.finalTransform.mProp.v.props,Cr.cloneFromProps(br),Rr=0;Rr<qr;Rr+=1)Cr.multiply(this.hierarchy[Rr].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var br=0,Cr=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;br<Cr;)this.localTransforms[br]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[br]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),br+=1;if(this.finalTransform._localMatMdf){var Rr=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(Rr),br=1;br<Cr;br+=1){var qr=this.localTransforms[br].matrix;Rr.multiply(qr)}Rr.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var Qr=this.finalTransform.localOpacity;for(br=0;br<Cr;br+=1)Qr*=this.localTransforms[br].opacity*.01;this.finalTransform.localOpacity=Qr}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var br=this.renderableEffectsManager.getEffects(zn.TRANSFORM_EFFECT);if(br.length){this.localTransforms=[],this.finalTransform.localMat=new Pa;var Cr=0,Rr=br.length;for(Cr=0;Cr<Rr;Cr+=1)this.localTransforms.push(br[Cr])}}},globalToLocal:function(br){var Cr=[];Cr.push(this.finalTransform);for(var Rr=!0,qr=this.comp;Rr;)qr.finalTransform?(qr.data.hasMask&&Cr.splice(0,0,qr.finalTransform),qr=qr.comp):Rr=!1;var Qr,Jr=Cr.length,fs;for(Qr=0;Qr<Jr;Qr+=1)fs=Cr[Qr].mat.applyToPointArray(0,0,0),br=[br[0]-fs[0],br[1]-fs[1],0];return br},mHelper:new Pa};function Gn(br,Cr,Rr){this.data=br,this.element=Cr,this.globalData=Rr,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var qr=this.globalData.defs,Qr,Jr=this.masksProperties?this.masksProperties.length:0;this.viewData=ur(Jr),this.solidPath="";var fs,Ss=this.masksProperties,us=0,Ds=[],ks,Ls,ys=yr(),hr,_r,xr,Dr,Vr="clipPath",Fr="clip-path";for(Qr=0;Qr<Jr;Qr+=1)if((Ss[Qr].mode!=="a"&&Ss[Qr].mode!=="n"||Ss[Qr].inv||Ss[Qr].o.k!==100||Ss[Qr].o.x)&&(Vr="mask",Fr="mask"),(Ss[Qr].mode==="s"||Ss[Qr].mode==="i")&&us===0?(hr=$s("rect"),hr.setAttribute("fill","#ffffff"),hr.setAttribute("width",this.element.comp.data.w||0),hr.setAttribute("height",this.element.comp.data.h||0),Ds.push(hr)):hr=null,fs=$s("path"),Ss[Qr].mode==="n")this.viewData[Qr]={op:Gs.getProp(this.element,Ss[Qr].o,0,.01,this.element),prop:io.getShapeProp(this.element,Ss[Qr],3),elem:fs,lastPath:""},qr.appendChild(fs);else{us+=1,fs.setAttribute("fill",Ss[Qr].mode==="s"?"#000000":"#ffffff"),fs.setAttribute("clip-rule","nonzero");var er;if(Ss[Qr].x.k!==0?(Vr="mask",Fr="mask",Dr=Gs.getProp(this.element,Ss[Qr].x,0,null,this.element),er=yr(),_r=$s("filter"),_r.setAttribute("id",er),xr=$s("feMorphology"),xr.setAttribute("operator","erode"),xr.setAttribute("in","SourceGraphic"),xr.setAttribute("radius","0"),_r.appendChild(xr),qr.appendChild(_r),fs.setAttribute("stroke",Ss[Qr].mode==="s"?"#000000":"#ffffff")):(xr=null,Dr=null),this.storedData[Qr]={elem:fs,x:Dr,expan:xr,lastPath:"",lastOperator:"",filterId:er,lastRadius:0},Ss[Qr].mode==="i"){Ls=Ds.length;var lr=$s("g");for(ks=0;ks<Ls;ks+=1)lr.appendChild(Ds[ks]);var mr=$s("mask");mr.setAttribute("mask-type","alpha"),mr.setAttribute("id",ys+"_"+us),mr.appendChild(fs),qr.appendChild(mr),lr.setAttribute("mask","url("+fr()+"#"+ys+"_"+us+")"),Ds.length=0,Ds.push(lr)}else Ds.push(fs);Ss[Qr].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[Qr]={elem:fs,lastPath:"",op:Gs.getProp(this.element,Ss[Qr].o,0,.01,this.element),prop:io.getShapeProp(this.element,Ss[Qr],3),invRect:hr},this.viewData[Qr].prop.k||this.drawPath(Ss[Qr],this.viewData[Qr].prop.v,this.viewData[Qr])}for(this.maskElement=$s(Vr),Jr=Ds.length,Qr=0;Qr<Jr;Qr+=1)this.maskElement.appendChild(Ds[Qr]);us>0&&(this.maskElement.setAttribute("id",ys),this.element.maskedElement.setAttribute(Fr,"url("+fr()+"#"+ys+")"),qr.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Gn.prototype.getMaskProperty=function(br){return this.viewData[br].prop},Gn.prototype.renderFrame=function(br){var Cr=this.element.finalTransform.mat,Rr,qr=this.masksProperties.length;for(Rr=0;Rr<qr;Rr+=1)if((this.viewData[Rr].prop._mdf||br)&&this.drawPath(this.masksProperties[Rr],this.viewData[Rr].prop.v,this.viewData[Rr]),(this.viewData[Rr].op._mdf||br)&&this.viewData[Rr].elem.setAttribute("fill-opacity",this.viewData[Rr].op.v),this.masksProperties[Rr].mode!=="n"&&(this.viewData[Rr].invRect&&(this.element.finalTransform.mProp._mdf||br)&&this.viewData[Rr].invRect.setAttribute("transform",Cr.getInverseMatrix().to2dCSS()),this.storedData[Rr].x&&(this.storedData[Rr].x._mdf||br))){var Qr=this.storedData[Rr].expan;this.storedData[Rr].x.v<0?(this.storedData[Rr].lastOperator!=="erode"&&(this.storedData[Rr].lastOperator="erode",this.storedData[Rr].elem.setAttribute("filter","url("+fr()+"#"+this.storedData[Rr].filterId+")")),Qr.setAttribute("radius",-this.storedData[Rr].x.v)):(this.storedData[Rr].lastOperator!=="dilate"&&(this.storedData[Rr].lastOperator="dilate",this.storedData[Rr].elem.setAttribute("filter",null)),this.storedData[Rr].elem.setAttribute("stroke-width",this.storedData[Rr].x.v*2))}},Gn.prototype.getMaskelement=function(){return this.maskElement},Gn.prototype.createLayerSolidPath=function(){var br="M0,0 ";return br+=" h"+this.globalData.compSize.w,br+=" v"+this.globalData.compSize.h,br+=" h-"+this.globalData.compSize.w,br+=" v-"+this.globalData.compSize.h+" ",br},Gn.prototype.drawPath=function(br,Cr,Rr){var qr=" M"+Cr.v[0][0]+","+Cr.v[0][1],Qr,Jr;for(Jr=Cr._length,Qr=1;Qr<Jr;Qr+=1)qr+=" C"+Cr.o[Qr-1][0]+","+Cr.o[Qr-1][1]+" "+Cr.i[Qr][0]+","+Cr.i[Qr][1]+" "+Cr.v[Qr][0]+","+Cr.v[Qr][1];if(Cr.c&&Jr>1&&(qr+=" C"+Cr.o[Qr-1][0]+","+Cr.o[Qr-1][1]+" "+Cr.i[0][0]+","+Cr.i[0][1]+" "+Cr.v[0][0]+","+Cr.v[0][1]),Rr.lastPath!==qr){var fs="";Rr.elem&&(Cr.c&&(fs=br.inv?this.solidPath+qr:qr),Rr.elem.setAttribute("d",fs)),Rr.lastPath=qr}},Gn.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var wn=function(){var br={};br.createFilter=Cr,br.createAlphaToLuminanceFilter=Rr;function Cr(qr,Qr){var Jr=$s("filter");return Jr.setAttribute("id",qr),Qr!==!0&&(Jr.setAttribute("filterUnits","objectBoundingBox"),Jr.setAttribute("x","0%"),Jr.setAttribute("y","0%"),Jr.setAttribute("width","100%"),Jr.setAttribute("height","100%")),Jr}function Rr(){var qr=$s("feColorMatrix");return qr.setAttribute("type","matrix"),qr.setAttribute("color-interpolation-filters","sRGB"),qr.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),qr}return br}(),Qn=function(){var br={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(br.maskType=!1),/firefox/i.test(navigator.userAgent)&&(br.svgLumaHidden=!1),br}(),vo={},ah="filter_result_";function To(br){var Cr,Rr="SourceGraphic",qr=br.data.ef?br.data.ef.length:0,Qr=yr(),Jr=wn.createFilter(Qr,!0),fs=0;this.filters=[];var Ss;for(Cr=0;Cr<qr;Cr+=1){Ss=null;var us=br.data.ef[Cr].ty;if(vo[us]){var Ds=vo[us].effect;Ss=new Ds(Jr,br.effectsManager.effectElements[Cr],br,ah+fs,Rr),Rr=ah+fs,vo[us].countsAsEffect&&(fs+=1)}Ss&&this.filters.push(Ss)}fs&&(br.globalData.defs.appendChild(Jr),br.layerElement.setAttribute("filter","url("+fr()+"#"+Qr+")")),this.filters.length&&br.addRenderableComponent(this)}To.prototype.renderFrame=function(br){var Cr,Rr=this.filters.length;for(Cr=0;Cr<Rr;Cr+=1)this.filters[Cr].renderFrame(br)},To.prototype.getEffects=function(br){var Cr,Rr=this.filters.length,qr=[];for(Cr=0;Cr<Rr;Cr+=1)this.filters[Cr].type===br&&qr.push(this.filters[Cr]);return qr};function uo(){}uo.prototype={initRendererElement:function(){this.layerElement=$s("g")},createContainerElements:function(){this.matteElement=$s("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var br=null;if(this.data.td){this.matteMasks={};var Cr=$s("g");Cr.setAttribute("id",this.layerId),Cr.appendChild(this.layerElement),br=Cr,this.globalData.defs.appendChild(Cr)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),br=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var Rr=$s("clipPath"),qr=$s("path");qr.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var Qr=yr();if(Rr.setAttribute("id",Qr),Rr.appendChild(qr),this.globalData.defs.appendChild(Rr),this.checkMasks()){var Jr=$s("g");Jr.setAttribute("clip-path","url("+fr()+"#"+Qr+")"),Jr.appendChild(this.layerElement),this.transformedElement=Jr,br?br.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+fr()+"#"+Qr+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Gn(this.data,this,this.globalData),this.renderableEffectsManager=new To(this),this.searchEffectTransforms()},getMatte:function(br){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[br]){var Cr=this.layerId+"_"+br,Rr,qr,Qr,Jr;if(br===1||br===3){var fs=$s("mask");fs.setAttribute("id",Cr),fs.setAttribute("mask-type",br===3?"luminance":"alpha"),Qr=$s("use"),Qr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),fs.appendChild(Qr),this.globalData.defs.appendChild(fs),!Qn.maskType&&br===1&&(fs.setAttribute("mask-type","luminance"),Rr=yr(),qr=wn.createFilter(Rr),this.globalData.defs.appendChild(qr),qr.appendChild(wn.createAlphaToLuminanceFilter()),Jr=$s("g"),Jr.appendChild(Qr),fs.appendChild(Jr),Jr.setAttribute("filter","url("+fr()+"#"+Rr+")"))}else if(br===2){var Ss=$s("mask");Ss.setAttribute("id",Cr),Ss.setAttribute("mask-type","alpha");var us=$s("g");Ss.appendChild(us),Rr=yr(),qr=wn.createFilter(Rr);var Ds=$s("feComponentTransfer");Ds.setAttribute("in","SourceGraphic"),qr.appendChild(Ds);var ks=$s("feFuncA");ks.setAttribute("type","table"),ks.setAttribute("tableValues","1.0 0.0"),Ds.appendChild(ks),this.globalData.defs.appendChild(qr);var Ls=$s("rect");Ls.setAttribute("width",this.comp.data.w),Ls.setAttribute("height",this.comp.data.h),Ls.setAttribute("x","0"),Ls.setAttribute("y","0"),Ls.setAttribute("fill","#ffffff"),Ls.setAttribute("opacity","0"),us.setAttribute("filter","url("+fr()+"#"+Rr+")"),us.appendChild(Ls),Qr=$s("use"),Qr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),us.appendChild(Qr),Qn.maskType||(Ss.setAttribute("mask-type","luminance"),qr.appendChild(wn.createAlphaToLuminanceFilter()),Jr=$s("g"),us.appendChild(Ls),Jr.appendChild(this.layerElement),us.appendChild(Jr)),this.globalData.defs.appendChild(Ss)}this.matteMasks[br]=Cr}return this.matteMasks[br]},setMatte:function(br){this.matteElement&&this.matteElement.setAttribute("mask","url("+fr()+"#"+br+")")}};function Ln(){}Ln.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(br){this.hierarchy=br},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function $n(){}(function(){var br={initElement:function(Cr,Rr,qr){this.initFrame(),this.initBaseData(Cr,Rr,qr),this.initTransform(Cr,Rr,qr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var Cr=this.baseElement||this.layerElement;Cr.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var Cr=this.baseElement||this.layerElement;Cr.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(Cr){this._mdf=!1,this.prepareRenderableFrame(Cr),this.prepareProperties(Cr,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};nr([Kn,rr(br)],$n)})();function Qa(br,Cr,Rr){this.assetData=Cr.getAssetData(br.refId),this.assetData&&this.assetData.sid&&(this.assetData=Cr.slotManager.getProp(this.assetData)),this.initElement(br,Cr,Rr),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}nr([En,La,uo,Ln,Za,$n],Qa),Qa.prototype.createContent=function(){var br=this.globalData.getAssetsPath(this.assetData);this.innerElem=$s("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",br),this.layerElement.appendChild(this.innerElem)},Qa.prototype.sourceRectAtTime=function(){return this.sourceRect};function Mo(br,Cr){this.elem=br,this.pos=Cr}function bo(){}bo.prototype={addShapeToModifiers:function(br){var Cr,Rr=this.shapeModifiers.length;for(Cr=0;Cr<Rr;Cr+=1)this.shapeModifiers[Cr].addShape(br)},isShapeInAnimatedModifiers:function(br){for(var Cr=0,Rr=this.shapeModifiers.length;Cr<Rr;)if(this.shapeModifiers[Cr].isAnimatedWithShape(br))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var br,Cr=this.shapes.length;for(br=0;br<Cr;br+=1)this.shapes[br].sh.reset();Cr=this.shapeModifiers.length;var Rr;for(br=Cr-1;br>=0&&(Rr=this.shapeModifiers[br].processShapes(this._isFirstFrame),!Rr);br-=1);}},searchProcessedElement:function(br){for(var Cr=this.processedElements,Rr=0,qr=Cr.length;Rr<qr;){if(Cr[Rr].elem===br)return Cr[Rr].pos;Rr+=1}return 0},addProcessedElement:function(br,Cr){for(var Rr=this.processedElements,qr=Rr.length;qr;)if(qr-=1,Rr[qr].elem===br){Rr[qr].pos=Cr;return}Rr.push(new Mo(br,Cr))},prepareFrame:function(br){this.prepareRenderableFrame(br),this.prepareProperties(br,this.isInRange)}};var nh={1:"butt",2:"round",3:"square"},qo={1:"miter",2:"round",3:"bevel"};function Oo(br,Cr,Rr){this.caches=[],this.styles=[],this.transformers=br,this.lStr="",this.sh=Rr,this.lvl=Cr,this._isAnimated=!!Rr.k;for(var qr=0,Qr=br.length;qr<Qr;){if(br[qr].mProps.dynamicProperties.length){this._isAnimated=!0;break}qr+=1}}Oo.prototype.setAsAnimated=function(){this._isAnimated=!0};function Ho(br,Cr){this.data=br,this.type=br.ty,this.d="",this.lvl=Cr,this._mdf=!1,this.closed=br.hd===!0,this.pElem=$s("path"),this.msElem=null}Ho.prototype.reset=function(){this.d="",this._mdf=!1};function _o(br,Cr,Rr,qr){this.elem=br,this.frameId=-1,this.dataProps=ur(Cr.length),this.renderer=Rr,this.k=!1,this.dashStr="",this.dashArray=cr("float32",Cr.length?Cr.length-1:0),this.dashoffset=cr("float32",1),this.initDynamicPropertyContainer(qr);var Qr,Jr=Cr.length||0,fs;for(Qr=0;Qr<Jr;Qr+=1)fs=Gs.getProp(br,Cr[Qr].v,0,0,this),this.k=fs.k||this.k,this.dataProps[Qr]={n:Cr[Qr].n,p:fs};this.k||this.getValue(!0),this._isAnimated=this.k}_o.prototype.getValue=function(br){if(!(this.elem.globalData.frameId===this.frameId&&!br)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||br,this._mdf)){var Cr=0,Rr=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),Cr=0;Cr<Rr;Cr+=1)this.dataProps[Cr].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[Cr].p.v:this.dashArray[Cr]=this.dataProps[Cr].p.v:this.dashoffset[0]=this.dataProps[Cr].p.v}},nr([Fa],_o);function oh(br,Cr,Rr){this.initDynamicPropertyContainer(br),this.getValue=this.iterateDynamicProperties,this.o=Gs.getProp(br,Cr.o,0,.01,this),this.w=Gs.getProp(br,Cr.w,0,null,this),this.d=new _o(br,Cr.d||{},"svg",this),this.c=Gs.getProp(br,Cr.c,1,255,this),this.style=Rr,this._isAnimated=!!this._isAnimated}nr([Fa],oh);function zo(br,Cr,Rr){this.initDynamicPropertyContainer(br),this.getValue=this.iterateDynamicProperties,this.o=Gs.getProp(br,Cr.o,0,.01,this),this.c=Gs.getProp(br,Cr.c,1,255,this),this.style=Rr}nr([Fa],zo);function hh(br,Cr,Rr){this.initDynamicPropertyContainer(br),this.getValue=this.iterateDynamicProperties,this.style=Rr}nr([Fa],hh);function oo(br,Cr,Rr){this.data=Cr,this.c=cr("uint8c",Cr.p*4);var qr=Cr.k.k[0].s?Cr.k.k[0].s.length-Cr.p*4:Cr.k.k.length-Cr.p*4;this.o=cr("float32",qr),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=qr,this.initDynamicPropertyContainer(Rr),this.prop=Gs.getProp(br,Cr.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}oo.prototype.comparePoints=function(br,Cr){for(var Rr=0,qr=this.o.length/2,Qr;Rr<qr;){if(Qr=Math.abs(br[Rr*4]-br[Cr*4+Rr*2]),Qr>.01)return!1;Rr+=1}return!0},oo.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var br=0,Cr=this.data.k.k.length;br<Cr;){if(!this.comparePoints(this.data.k.k[br].s,this.data.p))return!1;br+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},oo.prototype.getValue=function(br){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||br){var Cr,Rr=this.data.p*4,qr,Qr;for(Cr=0;Cr<Rr;Cr+=1)qr=Cr%4===0?100:255,Qr=Math.round(this.prop.v[Cr]*qr),this.c[Cr]!==Qr&&(this.c[Cr]=Qr,this._cmdf=!br);if(this.o.length)for(Rr=this.prop.v.length,Cr=this.data.p*4;Cr<Rr;Cr+=1)qr=Cr%2===0?100:1,Qr=Cr%2===0?Math.round(this.prop.v[Cr]*100):this.prop.v[Cr],this.o[Cr-this.data.p*4]!==Qr&&(this.o[Cr-this.data.p*4]=Qr,this._omdf=!br);this._mdf=!br}},nr([Fa],oo);function to(br,Cr,Rr){this.initDynamicPropertyContainer(br),this.getValue=this.iterateDynamicProperties,this.initGradientData(br,Cr,Rr)}to.prototype.initGradientData=function(br,Cr,Rr){this.o=Gs.getProp(br,Cr.o,0,.01,this),this.s=Gs.getProp(br,Cr.s,1,null,this),this.e=Gs.getProp(br,Cr.e,1,null,this),this.h=Gs.getProp(br,Cr.h||{k:0},0,.01,this),this.a=Gs.getProp(br,Cr.a||{k:0},0,es,this),this.g=new oo(br,Cr.g,this),this.style=Rr,this.stops=[],this.setGradientData(Rr.pElem,Cr),this.setGradientOpacity(Cr,Rr),this._isAnimated=!!this._isAnimated},to.prototype.setGradientData=function(br,Cr){var Rr=yr(),qr=$s(Cr.t===1?"linearGradient":"radialGradient");qr.setAttribute("id",Rr),qr.setAttribute("spreadMethod","pad"),qr.setAttribute("gradientUnits","userSpaceOnUse");var Qr=[],Jr,fs,Ss;for(Ss=Cr.g.p*4,fs=0;fs<Ss;fs+=4)Jr=$s("stop"),qr.appendChild(Jr),Qr.push(Jr);br.setAttribute(Cr.ty==="gf"?"fill":"stroke","url("+fr()+"#"+Rr+")"),this.gf=qr,this.cst=Qr},to.prototype.setGradientOpacity=function(br,Cr){if(this.g._hasOpacity&&!this.g._collapsable){var Rr,qr,Qr,Jr=$s("mask"),fs=$s("path");Jr.appendChild(fs);var Ss=yr(),us=yr();Jr.setAttribute("id",us);var Ds=$s(br.t===1?"linearGradient":"radialGradient");Ds.setAttribute("id",Ss),Ds.setAttribute("spreadMethod","pad"),Ds.setAttribute("gradientUnits","userSpaceOnUse"),Qr=br.g.k.k[0].s?br.g.k.k[0].s.length:br.g.k.k.length;var ks=this.stops;for(qr=br.g.p*4;qr<Qr;qr+=2)Rr=$s("stop"),Rr.setAttribute("stop-color","rgb(255,255,255)"),Ds.appendChild(Rr),ks.push(Rr);fs.setAttribute(br.ty==="gf"?"fill":"stroke","url("+fr()+"#"+Ss+")"),br.ty==="gs"&&(fs.setAttribute("stroke-linecap",nh[br.lc||2]),fs.setAttribute("stroke-linejoin",qo[br.lj||2]),br.lj===1&&fs.setAttribute("stroke-miterlimit",br.ml)),this.of=Ds,this.ms=Jr,this.ost=ks,this.maskId=us,Cr.msElem=fs}},nr([Fa],to);function Do(br,Cr,Rr){this.initDynamicPropertyContainer(br),this.getValue=this.iterateDynamicProperties,this.w=Gs.getProp(br,Cr.w,0,null,this),this.d=new _o(br,Cr.d||{},"svg",this),this.initGradientData(br,Cr,Rr),this._isAnimated=!!this._isAnimated}nr([to,Fa],Do);function $o(){this.it=[],this.prevViewData=[],this.gr=$s("g")}function wh(br,Cr,Rr){this.transform={mProps:br,op:Cr,container:Rr},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var vh=function(br,Cr,Rr,qr){if(Cr===0)return"";var Qr=br.o,Jr=br.i,fs=br.v,Ss,us=" M"+qr.applyToPointStringified(fs[0][0],fs[0][1]);for(Ss=1;Ss<Cr;Ss+=1)us+=" C"+qr.applyToPointStringified(Qr[Ss-1][0],Qr[Ss-1][1])+" "+qr.applyToPointStringified(Jr[Ss][0],Jr[Ss][1])+" "+qr.applyToPointStringified(fs[Ss][0],fs[Ss][1]);return Rr&&Cr&&(us+=" C"+qr.applyToPointStringified(Qr[Ss-1][0],Qr[Ss-1][1])+" "+qr.applyToPointStringified(Jr[0][0],Jr[0][1])+" "+qr.applyToPointStringified(fs[0][0],fs[0][1]),us+="z"),us},Yh=function(){var br=new Pa,Cr=new Pa,Rr={createRenderFunction:qr};function qr(Ls){switch(Ls.ty){case"fl":return Ss;case"gf":return Ds;case"gs":return us;case"st":return ks;case"sh":case"el":case"rc":case"sr":return fs;case"tr":return Qr;case"no":return Jr;default:return null}}function Qr(Ls,ys,hr){(hr||ys.transform.op._mdf)&&ys.transform.container.setAttribute("opacity",ys.transform.op.v),(hr||ys.transform.mProps._mdf)&&ys.transform.container.setAttribute("transform",ys.transform.mProps.v.to2dCSS())}function Jr(){}function fs(Ls,ys,hr){var _r,xr,Dr,Vr,Fr,er,lr=ys.styles.length,mr=ys.lvl,Sr,wr,kr,Br;for(er=0;er<lr;er+=1){if(Vr=ys.sh._mdf||hr,ys.styles[er].lvl<mr){for(wr=Cr.reset(),kr=mr-ys.styles[er].lvl,Br=ys.transformers.length-1;!Vr&&kr>0;)Vr=ys.transformers[Br].mProps._mdf||Vr,kr-=1,Br-=1;if(Vr)for(kr=mr-ys.styles[er].lvl,Br=ys.transformers.length-1;kr>0;)wr.multiply(ys.transformers[Br].mProps.v),kr-=1,Br-=1}else wr=br;if(Sr=ys.sh.paths,xr=Sr._length,Vr){for(Dr="",_r=0;_r<xr;_r+=1)Fr=Sr.shapes[_r],Fr&&Fr._length&&(Dr+=vh(Fr,Fr._length,Fr.c,wr));ys.caches[er]=Dr}else Dr=ys.caches[er];ys.styles[er].d+=Ls.hd===!0?"":Dr,ys.styles[er]._mdf=Vr||ys.styles[er]._mdf}}function Ss(Ls,ys,hr){var _r=ys.style;(ys.c._mdf||hr)&&_r.pElem.setAttribute("fill","rgb("+Ir(ys.c.v[0])+","+Ir(ys.c.v[1])+","+Ir(ys.c.v[2])+")"),(ys.o._mdf||hr)&&_r.pElem.setAttribute("fill-opacity",ys.o.v)}function us(Ls,ys,hr){Ds(Ls,ys,hr),ks(Ls,ys,hr)}function Ds(Ls,ys,hr){var _r=ys.gf,xr=ys.g._hasOpacity,Dr=ys.s.v,Vr=ys.e.v;if(ys.o._mdf||hr){var Fr=Ls.ty==="gf"?"fill-opacity":"stroke-opacity";ys.style.pElem.setAttribute(Fr,ys.o.v)}if(ys.s._mdf||hr){var er=Ls.t===1?"x1":"cx",lr=er==="x1"?"y1":"cy";_r.setAttribute(er,Dr[0]),_r.setAttribute(lr,Dr[1]),xr&&!ys.g._collapsable&&(ys.of.setAttribute(er,Dr[0]),ys.of.setAttribute(lr,Dr[1]))}var mr,Sr,wr,kr;if(ys.g._cmdf||hr){mr=ys.cst;var Br=ys.g.c;for(wr=mr.length,Sr=0;Sr<wr;Sr+=1)kr=mr[Sr],kr.setAttribute("offset",Br[Sr*4]+"%"),kr.setAttribute("stop-color","rgb("+Br[Sr*4+1]+","+Br[Sr*4+2]+","+Br[Sr*4+3]+")")}if(xr&&(ys.g._omdf||hr)){var Yr=ys.g.o;for(ys.g._collapsable?mr=ys.cst:mr=ys.ost,wr=mr.length,Sr=0;Sr<wr;Sr+=1)kr=mr[Sr],ys.g._collapsable||kr.setAttribute("offset",Yr[Sr*2]+"%"),kr.setAttribute("stop-opacity",Yr[Sr*2+1])}if(Ls.t===1)(ys.e._mdf||hr)&&(_r.setAttribute("x2",Vr[0]),_r.setAttribute("y2",Vr[1]),xr&&!ys.g._collapsable&&(ys.of.setAttribute("x2",Vr[0]),ys.of.setAttribute("y2",Vr[1])));else{var Hr;if((ys.s._mdf||ys.e._mdf||hr)&&(Hr=Math.sqrt(Math.pow(Dr[0]-Vr[0],2)+Math.pow(Dr[1]-Vr[1],2)),_r.setAttribute("r",Hr),xr&&!ys.g._collapsable&&ys.of.setAttribute("r",Hr)),ys.e._mdf||ys.h._mdf||ys.a._mdf||hr){Hr||(Hr=Math.sqrt(Math.pow(Dr[0]-Vr[0],2)+Math.pow(Dr[1]-Vr[1],2)));var Zr=Math.atan2(Vr[1]-Dr[1],Vr[0]-Dr[0]),ss=ys.h.v;ss>=1?ss=.99:ss<=-1&&(ss=-.99);var Xr=Hr*ss,Nr=Math.cos(Zr+ys.a.v)*Xr+Dr[0],Or=Math.sin(Zr+ys.a.v)*Xr+Dr[1];_r.setAttribute("fx",Nr),_r.setAttribute("fy",Or),xr&&!ys.g._collapsable&&(ys.of.setAttribute("fx",Nr),ys.of.setAttribute("fy",Or))}}}function ks(Ls,ys,hr){var _r=ys.style,xr=ys.d;xr&&(xr._mdf||hr)&&xr.dashStr&&(_r.pElem.setAttribute("stroke-dasharray",xr.dashStr),_r.pElem.setAttribute("stroke-dashoffset",xr.dashoffset[0])),ys.c&&(ys.c._mdf||hr)&&_r.pElem.setAttribute("stroke","rgb("+Ir(ys.c.v[0])+","+Ir(ys.c.v[1])+","+Ir(ys.c.v[2])+")"),(ys.o._mdf||hr)&&_r.pElem.setAttribute("stroke-opacity",ys.o.v),(ys.w._mdf||hr)&&(_r.pElem.setAttribute("stroke-width",ys.w.v),_r.msElem&&_r.msElem.setAttribute("stroke-width",ys.w.v))}return Rr}();function ba(br,Cr,Rr){this.shapes=[],this.shapesData=br.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(br,Cr,Rr),this.prevViewData=[]}nr([En,La,uo,bo,Ln,Za,$n],ba),ba.prototype.initSecondaryElement=function(){},ba.prototype.identityMatrix=new Pa,ba.prototype.buildExpressionInterface=function(){},ba.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},ba.prototype.filterUniqueShapes=function(){var br,Cr=this.shapes.length,Rr,qr,Qr=this.stylesList.length,Jr,fs=[],Ss=!1;for(qr=0;qr<Qr;qr+=1){for(Jr=this.stylesList[qr],Ss=!1,fs.length=0,br=0;br<Cr;br+=1)Rr=this.shapes[br],Rr.styles.indexOf(Jr)!==-1&&(fs.push(Rr),Ss=Rr._isAnimated||Ss);fs.length>1&&Ss&&this.setShapesAsAnimated(fs)}},ba.prototype.setShapesAsAnimated=function(br){var Cr,Rr=br.length;for(Cr=0;Cr<Rr;Cr+=1)br[Cr].setAsAnimated()},ba.prototype.createStyleElement=function(br,Cr){var Rr,qr=new Ho(br,Cr),Qr=qr.pElem;if(br.ty==="st")Rr=new oh(this,br,qr);else if(br.ty==="fl")Rr=new zo(this,br,qr);else if(br.ty==="gf"||br.ty==="gs"){var Jr=br.ty==="gf"?to:Do;Rr=new Jr(this,br,qr),this.globalData.defs.appendChild(Rr.gf),Rr.maskId&&(this.globalData.defs.appendChild(Rr.ms),this.globalData.defs.appendChild(Rr.of),Qr.setAttribute("mask","url("+fr()+"#"+Rr.maskId+")"))}else br.ty==="no"&&(Rr=new hh(this,br,qr));return(br.ty==="st"||br.ty==="gs")&&(Qr.setAttribute("stroke-linecap",nh[br.lc||2]),Qr.setAttribute("stroke-linejoin",qo[br.lj||2]),Qr.setAttribute("fill-opacity","0"),br.lj===1&&Qr.setAttribute("stroke-miterlimit",br.ml)),br.r===2&&Qr.setAttribute("fill-rule","evenodd"),br.ln&&Qr.setAttribute("id",br.ln),br.cl&&Qr.setAttribute("class",br.cl),br.bm&&(Qr.style["mix-blend-mode"]=Ro(br.bm)),this.stylesList.push(qr),this.addToAnimatedContents(br,Rr),Rr},ba.prototype.createGroupElement=function(br){var Cr=new $o;return br.ln&&Cr.gr.setAttribute("id",br.ln),br.cl&&Cr.gr.setAttribute("class",br.cl),br.bm&&(Cr.gr.style["mix-blend-mode"]=Ro(br.bm)),Cr},ba.prototype.createTransformElement=function(br,Cr){var Rr=Rn.getTransformProperty(this,br,this),qr=new wh(Rr,Rr.o,Cr);return this.addToAnimatedContents(br,qr),qr},ba.prototype.createShapeElement=function(br,Cr,Rr){var qr=4;br.ty==="rc"?qr=5:br.ty==="el"?qr=6:br.ty==="sr"&&(qr=7);var Qr=io.getShapeProp(this,br,qr,this),Jr=new Oo(Cr,Rr,Qr);return this.shapes.push(Jr),this.addShapeToModifiers(Jr),this.addToAnimatedContents(br,Jr),Jr},ba.prototype.addToAnimatedContents=function(br,Cr){for(var Rr=0,qr=this.animatedContents.length;Rr<qr;){if(this.animatedContents[Rr].element===Cr)return;Rr+=1}this.animatedContents.push({fn:Yh.createRenderFunction(br),element:Cr,data:br})},ba.prototype.setElementStyles=function(br){var Cr=br.styles,Rr,qr=this.stylesList.length;for(Rr=0;Rr<qr;Rr+=1)this.stylesList[Rr].closed||Cr.push(this.stylesList[Rr])},ba.prototype.reloadShapes=function(){this._isFirstFrame=!0;var br,Cr=this.itemsData.length;for(br=0;br<Cr;br+=1)this.prevViewData[br]=this.itemsData[br];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),Cr=this.dynamicProperties.length,br=0;br<Cr;br+=1)this.dynamicProperties[br].getValue();this.renderModifiers()},ba.prototype.searchShapes=function(br,Cr,Rr,qr,Qr,Jr,fs){var Ss=[].concat(Jr),us,Ds=br.length-1,ks,Ls,ys=[],hr=[],_r,xr,Dr;for(us=Ds;us>=0;us-=1){if(Dr=this.searchProcessedElement(br[us]),Dr?Cr[us]=Rr[Dr-1]:br[us]._render=fs,br[us].ty==="fl"||br[us].ty==="st"||br[us].ty==="gf"||br[us].ty==="gs"||br[us].ty==="no")Dr?Cr[us].style.closed=!1:Cr[us]=this.createStyleElement(br[us],Qr),br[us]._render&&Cr[us].style.pElem.parentNode!==qr&&qr.appendChild(Cr[us].style.pElem),ys.push(Cr[us].style);else if(br[us].ty==="gr"){if(!Dr)Cr[us]=this.createGroupElement(br[us]);else for(Ls=Cr[us].it.length,ks=0;ks<Ls;ks+=1)Cr[us].prevViewData[ks]=Cr[us].it[ks];this.searchShapes(br[us].it,Cr[us].it,Cr[us].prevViewData,Cr[us].gr,Qr+1,Ss,fs),br[us]._render&&Cr[us].gr.parentNode!==qr&&qr.appendChild(Cr[us].gr)}else br[us].ty==="tr"?(Dr||(Cr[us]=this.createTransformElement(br[us],qr)),_r=Cr[us].transform,Ss.push(_r)):br[us].ty==="sh"||br[us].ty==="rc"||br[us].ty==="el"||br[us].ty==="sr"?(Dr||(Cr[us]=this.createShapeElement(br[us],Ss,Qr)),this.setElementStyles(Cr[us])):br[us].ty==="tm"||br[us].ty==="rd"||br[us].ty==="ms"||br[us].ty==="pb"||br[us].ty==="zz"||br[us].ty==="op"?(Dr?(xr=Cr[us],xr.closed=!1):(xr=kn.getModifier(br[us].ty),xr.init(this,br[us]),Cr[us]=xr,this.shapeModifiers.push(xr)),hr.push(xr)):br[us].ty==="rp"&&(Dr?(xr=Cr[us],xr.closed=!0):(xr=kn.getModifier(br[us].ty),Cr[us]=xr,xr.init(this,br,us,Cr),this.shapeModifiers.push(xr),fs=!1),hr.push(xr));this.addProcessedElement(br[us],us+1)}for(Ds=ys.length,us=0;us<Ds;us+=1)ys[us].closed=!0;for(Ds=hr.length,us=0;us<Ds;us+=1)hr[us].closed=!0},ba.prototype.renderInnerContent=function(){this.renderModifiers();var br,Cr=this.stylesList.length;for(br=0;br<Cr;br+=1)this.stylesList[br].reset();for(this.renderShape(),br=0;br<Cr;br+=1)(this.stylesList[br]._mdf||this._isFirstFrame)&&(this.stylesList[br].msElem&&(this.stylesList[br].msElem.setAttribute("d",this.stylesList[br].d),this.stylesList[br].d="M0 0"+this.stylesList[br].d),this.stylesList[br].pElem.setAttribute("d",this.stylesList[br].d||"M0 0"))},ba.prototype.renderShape=function(){var br,Cr=this.animatedContents.length,Rr;for(br=0;br<Cr;br+=1)Rr=this.animatedContents[br],(this._isFirstFrame||Rr.element._isAnimated)&&Rr.data!==!0&&Rr.fn(Rr.data,Rr.element,this._isFirstFrame)},ba.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Wo(br,Cr,Rr,qr,Qr,Jr){this.o=br,this.sw=Cr,this.sc=Rr,this.fc=qr,this.m=Qr,this.p=Jr,this._mdf={o:!0,sw:!!Cr,sc:!!Rr,fc:!!qr,m:!0,p:!0}}Wo.prototype.update=function(br,Cr,Rr,qr,Qr,Jr){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var fs=!1;return this.o!==br&&(this.o=br,this._mdf.o=!0,fs=!0),this.sw!==Cr&&(this.sw=Cr,this._mdf.sw=!0,fs=!0),this.sc!==Rr&&(this.sc=Rr,this._mdf.sc=!0,fs=!0),this.fc!==qr&&(this.fc=qr,this._mdf.fc=!0,fs=!0),this.m!==Qr&&(this.m=Qr,this._mdf.m=!0,fs=!0),Jr.length&&(this.p[0]!==Jr[0]||this.p[1]!==Jr[1]||this.p[4]!==Jr[4]||this.p[5]!==Jr[5]||this.p[12]!==Jr[12]||this.p[13]!==Jr[13])&&(this.p=Jr,this._mdf.p=!0,fs=!0),fs};function pa(br,Cr){this._frameId=Zt,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,Cr.d&&Cr.d.sid&&(Cr.d=br.globalData.slotManager.getProp(Cr.d)),this.data=Cr,this.elem=br,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}pa.prototype.defaultBoxWidth=[0,0],pa.prototype.copyData=function(br,Cr){for(var Rr in Cr)Object.prototype.hasOwnProperty.call(Cr,Rr)&&(br[Rr]=Cr[Rr]);return br},pa.prototype.setCurrentData=function(br){br.__complete||this.completeTextData(br),this.currentData=br,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},pa.prototype.searchProperty=function(){return this.searchKeyframes()},pa.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},pa.prototype.addEffect=function(br){this.effectsSequence.push(br),this.elem.addDynamicProperty(this)},pa.prototype.getValue=function(br){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!br)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var Cr=this.currentData,Rr=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var qr,Qr=this.effectsSequence.length,Jr=br||this.data.d.k[this.keysIndex].s;for(qr=0;qr<Qr;qr+=1)Rr!==this.keysIndex?Jr=this.effectsSequence[qr](Jr,Jr.t):Jr=this.effectsSequence[qr](this.currentData,Jr.t);Cr!==Jr&&this.setCurrentData(Jr),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},pa.prototype.getKeyframeValue=function(){for(var br=this.data.d.k,Cr=this.elem.comp.renderedFrame,Rr=0,qr=br.length;Rr<=qr-1&&!(Rr===qr-1||br[Rr+1].t>Cr);)Rr+=1;return this.keysIndex!==Rr&&(this.keysIndex=Rr),this.data.d.k[this.keysIndex].s},pa.prototype.buildFinalText=function(br){for(var Cr=[],Rr=0,qr=br.length,Qr,Jr,fs=!1,Ss=!1,us="";Rr<qr;)fs=Ss,Ss=!1,Qr=br.charCodeAt(Rr),us=br.charAt(Rr),In.isCombinedCharacter(Qr)?fs=!0:Qr>=55296&&Qr<=56319?In.isRegionalFlag(br,Rr)?us=br.substr(Rr,14):(Jr=br.charCodeAt(Rr+1),Jr>=56320&&Jr<=57343&&(In.isModifier(Qr,Jr)?(us=br.substr(Rr,2),fs=!0):In.isFlagEmoji(br.substr(Rr,4))?us=br.substr(Rr,4):us=br.substr(Rr,2))):Qr>56319?(Jr=br.charCodeAt(Rr+1),In.isVariationSelector(Qr)&&(fs=!0)):In.isZeroWidthJoiner(Qr)&&(fs=!0,Ss=!0),fs?(Cr[Cr.length-1]+=us,fs=!1):Cr.push(us),Rr+=us.length;return Cr},pa.prototype.completeTextData=function(br){br.__complete=!0;var Cr=this.elem.globalData.fontManager,Rr=this.data,qr=[],Qr,Jr,fs,Ss=0,us,Ds=Rr.m.g,ks=0,Ls=0,ys=0,hr=[],_r=0,xr=0,Dr,Vr,Fr=Cr.getFontByName(br.f),er,lr=0,mr=rh(Fr);br.fWeight=mr.weight,br.fStyle=mr.style,br.finalSize=br.s,br.finalText=this.buildFinalText(br.t),Jr=br.finalText.length,br.finalLineHeight=br.lh;var Sr=br.tr/1e3*br.finalSize,wr;if(br.sz)for(var kr=!0,Br=br.sz[0],Yr=br.sz[1],Hr,Zr;kr;){Zr=this.buildFinalText(br.t),Hr=0,_r=0,Jr=Zr.length,Sr=br.tr/1e3*br.finalSize;var ss=-1;for(Qr=0;Qr<Jr;Qr+=1)wr=Zr[Qr].charCodeAt(0),fs=!1,Zr[Qr]===" "?ss=Qr:(wr===13||wr===3)&&(_r=0,fs=!0,Hr+=br.finalLineHeight||br.finalSize*1.2),Cr.chars?(er=Cr.getCharData(Zr[Qr],Fr.fStyle,Fr.fFamily),lr=fs?0:er.w*br.finalSize/100):lr=Cr.measureText(Zr[Qr],br.f,br.finalSize),_r+lr>Br&&Zr[Qr]!==" "?(ss===-1?Jr+=1:Qr=ss,Hr+=br.finalLineHeight||br.finalSize*1.2,Zr.splice(Qr,ss===Qr?1:0,"\r"),ss=-1,_r=0):(_r+=lr,_r+=Sr);Hr+=Fr.ascent*br.finalSize/100,this.canResize&&br.finalSize>this.minimumFontSize&&Yr<Hr?(br.finalSize-=1,br.finalLineHeight=br.finalSize*br.lh/br.s):(br.finalText=Zr,Jr=br.finalText.length,kr=!1)}_r=-Sr,lr=0;var Xr=0,Nr;for(Qr=0;Qr<Jr;Qr+=1)if(fs=!1,Nr=br.finalText[Qr],wr=Nr.charCodeAt(0),wr===13||wr===3?(Xr=0,hr.push(_r),xr=_r>xr?_r:xr,_r=-2*Sr,us="",fs=!0,ys+=1):us=Nr,Cr.chars?(er=Cr.getCharData(Nr,Fr.fStyle,Cr.getFontByName(br.f).fFamily),lr=fs?0:er.w*br.finalSize/100):lr=Cr.measureText(us,br.f,br.finalSize),Nr===" "?Xr+=lr+Sr:(_r+=lr+Sr+Xr,Xr=0),qr.push({l:lr,an:lr,add:ks,n:fs,anIndexes:[],val:us,line:ys,animatorJustifyOffset:0}),Ds==2){if(ks+=lr,us===""||us===" "||Qr===Jr-1){for((us===""||us===" ")&&(ks-=lr);Ls<=Qr;)qr[Ls].an=ks,qr[Ls].ind=Ss,qr[Ls].extra=lr,Ls+=1;Ss+=1,ks=0}}else if(Ds==3){if(ks+=lr,us===""||Qr===Jr-1){for(us===""&&(ks-=lr);Ls<=Qr;)qr[Ls].an=ks,qr[Ls].ind=Ss,qr[Ls].extra=lr,Ls+=1;ks=0,Ss+=1}}else qr[Ss].ind=Ss,qr[Ss].extra=0,Ss+=1;if(br.l=qr,xr=_r>xr?_r:xr,hr.push(_r),br.sz)br.boxWidth=br.sz[0],br.justifyOffset=0;else switch(br.boxWidth=xr,br.j){case 1:br.justifyOffset=-br.boxWidth;break;case 2:br.justifyOffset=-br.boxWidth/2;break;default:br.justifyOffset=0}br.lineWidths=hr;var Or=Rr.a,Gr,Lr;Vr=Or.length;var Kr,ts,Wr=[];for(Dr=0;Dr<Vr;Dr+=1){for(Gr=Or[Dr],Gr.a.sc&&(br.strokeColorAnim=!0),Gr.a.sw&&(br.strokeWidthAnim=!0),(Gr.a.fc||Gr.a.fh||Gr.a.fs||Gr.a.fb)&&(br.fillColorAnim=!0),ts=0,Kr=Gr.s.b,Qr=0;Qr<Jr;Qr+=1)Lr=qr[Qr],Lr.anIndexes[Dr]=ts,(Kr==1&&Lr.val!==""||Kr==2&&Lr.val!==""&&Lr.val!==" "||Kr==3&&(Lr.n||Lr.val==" "||Qr==Jr-1)||Kr==4&&(Lr.n||Qr==Jr-1))&&(Gr.s.rn===1&&Wr.push(ts),ts+=1);Rr.a[Dr].s.totalChars=ts;var as=-1,ls;if(Gr.s.rn===1)for(Qr=0;Qr<Jr;Qr+=1)Lr=qr[Qr],as!=Lr.anIndexes[Dr]&&(as=Lr.anIndexes[Dr],ls=Wr.splice(Math.floor(Math.random()*Wr.length),1)[0]),Lr.anIndexes[Dr]=ls}br.yOffset=br.finalLineHeight||br.finalSize*1.2,br.ls=br.ls||0,br.ascent=Fr.ascent*br.finalSize/100},pa.prototype.updateDocumentData=function(br,Cr){Cr=Cr===void 0?this.keysIndex:Cr;var Rr=this.copyData({},this.data.d.k[Cr].s);Rr=this.copyData(Rr,br),this.data.d.k[Cr].s=Rr,this.recalculate(Cr),this.setCurrentData(Rr),this.elem.addDynamicProperty(this)},pa.prototype.recalculate=function(br){var Cr=this.data.d.k[br].s;Cr.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(Cr)},pa.prototype.canResizeFont=function(br){this.canResize=br,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},pa.prototype.setMinimumFontSize=function(br){this.minimumFontSize=Math.floor(br)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var bh=function(){var br=Math.max,Cr=Math.min,Rr=Math.floor;function qr(Jr,fs){this._currentTextLength=-1,this.k=!1,this.data=fs,this.elem=Jr,this.comp=Jr.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Jr),this.s=Gs.getProp(Jr,fs.s||{k:0},0,0,this),"e"in fs?this.e=Gs.getProp(Jr,fs.e,0,0,this):this.e={v:100},this.o=Gs.getProp(Jr,fs.o||{k:0},0,0,this),this.xe=Gs.getProp(Jr,fs.xe||{k:0},0,0,this),this.ne=Gs.getProp(Jr,fs.ne||{k:0},0,0,this),this.sm=Gs.getProp(Jr,fs.sm||{k:100},0,0,this),this.a=Gs.getProp(Jr,fs.a,0,.01,this),this.dynamicProperties.length||this.getValue()}qr.prototype={getMult:function(Jr){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var fs=0,Ss=0,us=1,Ds=1;this.ne.v>0?fs=this.ne.v/100:Ss=-this.ne.v/100,this.xe.v>0?us=1-this.xe.v/100:Ds=1+this.xe.v/100;var ks=qs.getBezierEasing(fs,Ss,us,Ds).get,Ls=0,ys=this.finalS,hr=this.finalE,_r=this.data.sh;if(_r===2)hr===ys?Ls=Jr>=hr?1:0:Ls=br(0,Cr(.5/(hr-ys)+(Jr-ys)/(hr-ys),1)),Ls=ks(Ls);else if(_r===3)hr===ys?Ls=Jr>=hr?0:1:Ls=1-br(0,Cr(.5/(hr-ys)+(Jr-ys)/(hr-ys),1)),Ls=ks(Ls);else if(_r===4)hr===ys?Ls=0:(Ls=br(0,Cr(.5/(hr-ys)+(Jr-ys)/(hr-ys),1)),Ls<.5?Ls*=2:Ls=1-2*(Ls-.5)),Ls=ks(Ls);else if(_r===5){if(hr===ys)Ls=0;else{var xr=hr-ys;Jr=Cr(br(0,Jr+.5-ys),hr-ys);var Dr=-xr/2+Jr,Vr=xr/2;Ls=Math.sqrt(1-Dr*Dr/(Vr*Vr))}Ls=ks(Ls)}else _r===6?(hr===ys?Ls=0:(Jr=Cr(br(0,Jr+.5-ys),hr-ys),Ls=(1+Math.cos(Math.PI+Math.PI*2*Jr/(hr-ys)))/2),Ls=ks(Ls)):(Jr>=Rr(ys)&&(Jr-ys<0?Ls=br(0,Cr(Cr(hr,1)-(ys-Jr),1)):Ls=br(0,Cr(hr-Jr,1))),Ls=ks(Ls));if(this.sm.v!==100){var Fr=this.sm.v*.01;Fr===0&&(Fr=1e-8);var er=.5-Fr*.5;Ls<er?Ls=0:(Ls=(Ls-er)/Fr,Ls>1&&(Ls=1))}return Ls*this.a.v},getValue:function(Jr){this.iterateDynamicProperties(),this._mdf=Jr||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Jr&&this.data.r===2&&(this.e.v=this._currentTextLength);var fs=this.data.r===2?1:100/this.data.totalChars,Ss=this.o.v/fs,us=this.s.v/fs+Ss,Ds=this.e.v/fs+Ss;if(us>Ds){var ks=us;us=Ds,Ds=ks}this.finalS=us,this.finalE=Ds}},nr([Fa],qr);function Qr(Jr,fs,Ss){return new qr(Jr,fs)}return{getTextSelectorProp:Qr}}();function Nn(br,Cr,Rr){var qr={propType:!1},Qr=Gs.getProp,Jr=Cr.a;this.a={r:Jr.r?Qr(br,Jr.r,0,es,Rr):qr,rx:Jr.rx?Qr(br,Jr.rx,0,es,Rr):qr,ry:Jr.ry?Qr(br,Jr.ry,0,es,Rr):qr,sk:Jr.sk?Qr(br,Jr.sk,0,es,Rr):qr,sa:Jr.sa?Qr(br,Jr.sa,0,es,Rr):qr,s:Jr.s?Qr(br,Jr.s,1,.01,Rr):qr,a:Jr.a?Qr(br,Jr.a,1,0,Rr):qr,o:Jr.o?Qr(br,Jr.o,0,.01,Rr):qr,p:Jr.p?Qr(br,Jr.p,1,0,Rr):qr,sw:Jr.sw?Qr(br,Jr.sw,0,0,Rr):qr,sc:Jr.sc?Qr(br,Jr.sc,1,0,Rr):qr,fc:Jr.fc?Qr(br,Jr.fc,1,0,Rr):qr,fh:Jr.fh?Qr(br,Jr.fh,0,0,Rr):qr,fs:Jr.fs?Qr(br,Jr.fs,0,.01,Rr):qr,fb:Jr.fb?Qr(br,Jr.fb,0,.01,Rr):qr,t:Jr.t?Qr(br,Jr.t,0,0,Rr):qr},this.s=bh.getTextSelectorProp(br,Cr.s,Rr),this.s.t=Cr.s.t}function Xn(br,Cr,Rr){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=br,this._renderType=Cr,this._elem=Rr,this._animatorsData=ur(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(Rr)}Xn.prototype.searchProperties=function(){var br,Cr=this._textData.a.length,Rr,qr=Gs.getProp;for(br=0;br<Cr;br+=1)Rr=this._textData.a[br],this._animatorsData[br]=new Nn(this._elem,Rr,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:qr(this._elem,this._textData.p.a,0,0,this),f:qr(this._elem,this._textData.p.f,0,0,this),l:qr(this._elem,this._textData.p.l,0,0,this),r:qr(this._elem,this._textData.p.r,0,0,this),p:qr(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=qr(this._elem,this._textData.m.a,1,0,this)},Xn.prototype.getMeasures=function(br,Cr){if(this.lettersChangedFlag=Cr,!(!this._mdf&&!this._isFirstFrame&&!Cr&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var Rr=this._moreOptions.alignment.v,qr=this._animatorsData,Qr=this._textData,Jr=this.mHelper,fs=this._renderType,Ss=this.renderedLetters.length,us,Ds,ks,Ls,ys=br.l,hr,_r,xr,Dr,Vr,Fr,er,lr,mr,Sr,wr,kr,Br,Yr,Hr;if(this._hasMaskedPath){if(Hr=this._pathData.m,!this._pathData.n||this._pathData._mdf){var Zr=Hr.v;this._pathData.r.v&&(Zr=Zr.reverse()),hr={tLength:0,segments:[]},Ls=Zr._length-1;var ss;for(kr=0,ks=0;ks<Ls;ks+=1)ss=xn.buildBezierData(Zr.v[ks],Zr.v[ks+1],[Zr.o[ks][0]-Zr.v[ks][0],Zr.o[ks][1]-Zr.v[ks][1]],[Zr.i[ks+1][0]-Zr.v[ks+1][0],Zr.i[ks+1][1]-Zr.v[ks+1][1]]),hr.tLength+=ss.segmentLength,hr.segments.push(ss),kr+=ss.segmentLength;ks=Ls,Hr.v.c&&(ss=xn.buildBezierData(Zr.v[ks],Zr.v[0],[Zr.o[ks][0]-Zr.v[ks][0],Zr.o[ks][1]-Zr.v[ks][1]],[Zr.i[0][0]-Zr.v[0][0],Zr.i[0][1]-Zr.v[0][1]]),hr.tLength+=ss.segmentLength,hr.segments.push(ss),kr+=ss.segmentLength),this._pathData.pi=hr}if(hr=this._pathData.pi,_r=this._pathData.f.v,er=0,Fr=1,Dr=0,Vr=!0,Sr=hr.segments,_r<0&&Hr.v.c)for(hr.tLength<Math.abs(_r)&&(_r=-Math.abs(_r)%hr.tLength),er=Sr.length-1,mr=Sr[er].points,Fr=mr.length-1;_r<0;)_r+=mr[Fr].partialLength,Fr-=1,Fr<0&&(er-=1,mr=Sr[er].points,Fr=mr.length-1);mr=Sr[er].points,lr=mr[Fr-1],xr=mr[Fr],wr=xr.partialLength}Ls=ys.length,us=0,Ds=0;var Xr=br.finalSize*1.2*.714,Nr=!0,Or,Gr,Lr,Kr,ts;Kr=qr.length;var Wr,as=-1,ls,ds,ws,Fs=_r,Cs=er,zs=Fr,ms=-1,bs,rs,Ps,As,vs,gs,_s,ns,Es="",Os=this.defaultPropsArray,Is;if(br.j===2||br.j===1){var Ks=0,Js=0,ha=br.j===2?-.5:-1,ea=0,Aa=!0;for(ks=0;ks<Ls;ks+=1)if(ys[ks].n){for(Ks&&(Ks+=Js);ea<ks;)ys[ea].animatorJustifyOffset=Ks,ea+=1;Ks=0,Aa=!0}else{for(Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.t.propType&&(Aa&&br.j===2&&(Js+=Or.t.v*ha),Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Wr.length?Ks+=Or.t.v*Wr[0]*ha:Ks+=Or.t.v*Wr*ha);Aa=!1}for(Ks&&(Ks+=Js);ea<ks;)ys[ea].animatorJustifyOffset=Ks,ea+=1}for(ks=0;ks<Ls;ks+=1){if(Jr.reset(),bs=1,ys[ks].n)us=0,Ds+=br.yOffset,Ds+=Nr?1:0,_r=Fs,Nr=!1,this._hasMaskedPath&&(er=Cs,Fr=zs,mr=Sr[er].points,lr=mr[Fr-1],xr=mr[Fr],wr=xr.partialLength,Dr=0),Es="",ns="",gs="",Is="",Os=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ms!==ys[ks].line){switch(br.j){case 1:_r+=kr-br.lineWidths[ys[ks].line];break;case 2:_r+=(kr-br.lineWidths[ys[ks].line])/2;break}ms=ys[ks].line}as!==ys[ks].ind&&(ys[as]&&(_r+=ys[as].extra),_r+=ys[ks].an/2,as=ys[ks].ind),_r+=Rr[0]*ys[ks].an*.005;var oa=0;for(Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.p.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Wr.length?oa+=Or.p.v[0]*Wr[0]:oa+=Or.p.v[0]*Wr),Or.a.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Wr.length?oa+=Or.a.v[0]*Wr[0]:oa+=Or.a.v[0]*Wr);for(Vr=!0,this._pathData.a.v&&(_r=ys[0].an*.5+(kr-this._pathData.f.v-ys[0].an*.5-ys[ys.length-1].an*.5)*as/(Ls-1),_r+=this._pathData.f.v);Vr;)Dr+wr>=_r+oa||!mr?(Br=(_r+oa-Dr)/xr.partialLength,ds=lr.point[0]+(xr.point[0]-lr.point[0])*Br,ws=lr.point[1]+(xr.point[1]-lr.point[1])*Br,Jr.translate(-Rr[0]*ys[ks].an*.005,-(Rr[1]*Xr)*.01),Vr=!1):mr&&(Dr+=xr.partialLength,Fr+=1,Fr>=mr.length&&(Fr=0,er+=1,Sr[er]?mr=Sr[er].points:Hr.v.c?(Fr=0,er=0,mr=Sr[er].points):(Dr-=xr.partialLength,mr=null)),mr&&(lr=xr,xr=mr[Fr],wr=xr.partialLength));ls=ys[ks].an/2-ys[ks].add,Jr.translate(-ls,0,0)}else ls=ys[ks].an/2-ys[ks].add,Jr.translate(-ls,0,0),Jr.translate(-Rr[0]*ys[ks].an*.005,-Rr[1]*Xr*.01,0);for(Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.t.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),(us!==0||br.j!==0)&&(this._hasMaskedPath?Wr.length?_r+=Or.t.v*Wr[0]:_r+=Or.t.v*Wr:Wr.length?us+=Or.t.v*Wr[0]:us+=Or.t.v*Wr));for(br.strokeWidthAnim&&(Ps=br.sw||0),br.strokeColorAnim&&(br.sc?rs=[br.sc[0],br.sc[1],br.sc[2]]:rs=[0,0,0]),br.fillColorAnim&&br.fc&&(As=[br.fc[0],br.fc[1],br.fc[2]]),Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.a.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Wr.length?Jr.translate(-Or.a.v[0]*Wr[0],-Or.a.v[1]*Wr[1],Or.a.v[2]*Wr[2]):Jr.translate(-Or.a.v[0]*Wr,-Or.a.v[1]*Wr,Or.a.v[2]*Wr));for(Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.s.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Wr.length?Jr.scale(1+(Or.s.v[0]-1)*Wr[0],1+(Or.s.v[1]-1)*Wr[1],1):Jr.scale(1+(Or.s.v[0]-1)*Wr,1+(Or.s.v[1]-1)*Wr,1));for(Lr=0;Lr<Kr;Lr+=1){if(Or=qr[Lr].a,Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),Or.sk.propType&&(Wr.length?Jr.skewFromAxis(-Or.sk.v*Wr[0],Or.sa.v*Wr[1]):Jr.skewFromAxis(-Or.sk.v*Wr,Or.sa.v*Wr)),Or.r.propType&&(Wr.length?Jr.rotateZ(-Or.r.v*Wr[2]):Jr.rotateZ(-Or.r.v*Wr)),Or.ry.propType&&(Wr.length?Jr.rotateY(Or.ry.v*Wr[1]):Jr.rotateY(Or.ry.v*Wr)),Or.rx.propType&&(Wr.length?Jr.rotateX(Or.rx.v*Wr[0]):Jr.rotateX(Or.rx.v*Wr)),Or.o.propType&&(Wr.length?bs+=(Or.o.v*Wr[0]-bs)*Wr[0]:bs+=(Or.o.v*Wr-bs)*Wr),br.strokeWidthAnim&&Or.sw.propType&&(Wr.length?Ps+=Or.sw.v*Wr[0]:Ps+=Or.sw.v*Wr),br.strokeColorAnim&&Or.sc.propType)for(vs=0;vs<3;vs+=1)Wr.length?rs[vs]+=(Or.sc.v[vs]-rs[vs])*Wr[0]:rs[vs]+=(Or.sc.v[vs]-rs[vs])*Wr;if(br.fillColorAnim&&br.fc){if(Or.fc.propType)for(vs=0;vs<3;vs+=1)Wr.length?As[vs]+=(Or.fc.v[vs]-As[vs])*Wr[0]:As[vs]+=(Or.fc.v[vs]-As[vs])*Wr;Or.fh.propType&&(Wr.length?As=Ts(As,Or.fh.v*Wr[0]):As=Ts(As,Or.fh.v*Wr)),Or.fs.propType&&(Wr.length?As=jr(As,Or.fs.v*Wr[0]):As=jr(As,Or.fs.v*Wr)),Or.fb.propType&&(Wr.length?As=Vs(As,Or.fb.v*Wr[0]):As=Vs(As,Or.fb.v*Wr))}}for(Lr=0;Lr<Kr;Lr+=1)Or=qr[Lr].a,Or.p.propType&&(Gr=qr[Lr].s,Wr=Gr.getMult(ys[ks].anIndexes[Lr],Qr.a[Lr].s.totalChars),this._hasMaskedPath?Wr.length?Jr.translate(0,Or.p.v[1]*Wr[0],-Or.p.v[2]*Wr[1]):Jr.translate(0,Or.p.v[1]*Wr,-Or.p.v[2]*Wr):Wr.length?Jr.translate(Or.p.v[0]*Wr[0],Or.p.v[1]*Wr[1],-Or.p.v[2]*Wr[2]):Jr.translate(Or.p.v[0]*Wr,Or.p.v[1]*Wr,-Or.p.v[2]*Wr));if(br.strokeWidthAnim&&(gs=Ps<0?0:Ps),br.strokeColorAnim&&(_s="rgb("+Math.round(rs[0]*255)+","+Math.round(rs[1]*255)+","+Math.round(rs[2]*255)+")"),br.fillColorAnim&&br.fc&&(ns="rgb("+Math.round(As[0]*255)+","+Math.round(As[1]*255)+","+Math.round(As[2]*255)+")"),this._hasMaskedPath){if(Jr.translate(0,-br.ls),Jr.translate(0,Rr[1]*Xr*.01+Ds,0),this._pathData.p.v){Yr=(xr.point[1]-lr.point[1])/(xr.point[0]-lr.point[0]);var Xs=Math.atan(Yr)*180/Math.PI;xr.point[0]<lr.point[0]&&(Xs+=180),Jr.rotate(-Xs*Math.PI/180)}Jr.translate(ds,ws,0),_r-=Rr[0]*ys[ks].an*.005,ys[ks+1]&&as!==ys[ks+1].ind&&(_r+=ys[ks].an/2,_r+=br.tr*.001*br.finalSize)}else{switch(Jr.translate(us,Ds,0),br.ps&&Jr.translate(br.ps[0],br.ps[1]+br.ascent,0),br.j){case 1:Jr.translate(ys[ks].animatorJustifyOffset+br.justifyOffset+(br.boxWidth-br.lineWidths[ys[ks].line]),0,0);break;case 2:Jr.translate(ys[ks].animatorJustifyOffset+br.justifyOffset+(br.boxWidth-br.lineWidths[ys[ks].line])/2,0,0);break}Jr.translate(0,-br.ls),Jr.translate(ls,0,0),Jr.translate(Rr[0]*ys[ks].an*.005,Rr[1]*Xr*.01,0),us+=ys[ks].l+br.tr*.001*br.finalSize}fs==="html"?Es=Jr.toCSS():fs==="svg"?Es=Jr.to2dCSS():Os=[Jr.props[0],Jr.props[1],Jr.props[2],Jr.props[3],Jr.props[4],Jr.props[5],Jr.props[6],Jr.props[7],Jr.props[8],Jr.props[9],Jr.props[10],Jr.props[11],Jr.props[12],Jr.props[13],Jr.props[14],Jr.props[15]],Is=bs}Ss<=ks?(ts=new Wo(Is,gs,_s,ns,Es,Os),this.renderedLetters.push(ts),Ss+=1,this.lettersChangedFlag=!0):(ts=this.renderedLetters[ks],this.lettersChangedFlag=ts.update(Is,gs,_s,ns,Es,Os)||this.lettersChangedFlag)}}},Xn.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Xn.prototype.mHelper=new Pa,Xn.prototype.defaultPropsArray=[],nr([Fa],Xn);function Wa(){}Wa.prototype.initElement=function(br,Cr,Rr){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(br,Cr,Rr),this.textProperty=new pa(this,br.t,this.dynamicProperties),this.textAnimator=new Xn(br.t,this.renderType,this),this.initTransform(br,Cr,Rr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Wa.prototype.prepareFrame=function(br){this._mdf=!1,this.prepareRenderableFrame(br),this.prepareProperties(br,this.isInRange)},Wa.prototype.createPathShape=function(br,Cr){var Rr,qr=Cr.length,Qr,Jr="";for(Rr=0;Rr<qr;Rr+=1)Cr[Rr].ty==="sh"&&(Qr=Cr[Rr].ks.k,Jr+=vh(Qr,Qr.i.length,!0,br));return Jr},Wa.prototype.updateDocumentData=function(br,Cr){this.textProperty.updateDocumentData(br,Cr)},Wa.prototype.canResizeFont=function(br){this.textProperty.canResizeFont(br)},Wa.prototype.setMinimumFontSize=function(br){this.textProperty.setMinimumFontSize(br)},Wa.prototype.applyTextPropertiesToMatrix=function(br,Cr,Rr,qr,Qr){switch(br.ps&&Cr.translate(br.ps[0],br.ps[1]+br.ascent,0),Cr.translate(0,-br.ls,0),br.j){case 1:Cr.translate(br.justifyOffset+(br.boxWidth-br.lineWidths[Rr]),0,0);break;case 2:Cr.translate(br.justifyOffset+(br.boxWidth-br.lineWidths[Rr])/2,0,0);break}Cr.translate(qr,Qr,0)},Wa.prototype.buildColor=function(br){return"rgb("+Math.round(br[0]*255)+","+Math.round(br[1]*255)+","+Math.round(br[2]*255)+")"},Wa.prototype.emptyProp=new Wo,Wa.prototype.destroy=function(){},Wa.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Fo={shapes:[]};function Ra(br,Cr,Rr){this.textSpans=[],this.renderType="svg",this.initElement(br,Cr,Rr)}nr([En,La,uo,Ln,Za,$n,Wa],Ra),Ra.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=$s("text"))},Ra.prototype.buildTextContents=function(br){for(var Cr=0,Rr=br.length,qr=[],Qr="";Cr<Rr;)br[Cr]==="\r"||br[Cr]==="�"?(qr.push(Qr),Qr=""):Qr+=br[Cr],Cr+=1;return qr.push(Qr),qr},Ra.prototype.buildShapeData=function(br,Cr){if(br.shapes&&br.shapes.length){var Rr=br.shapes[0];if(Rr.it){var qr=Rr.it[Rr.it.length-1];qr.s&&(qr.s.k[0]=Cr,qr.s.k[1]=Cr)}}return br},Ra.prototype.buildNewText=function(){this.addDynamicProperty(this);var br,Cr,Rr=this.textProperty.currentData;this.renderedLetters=ur(Rr?Rr.l.length:0),Rr.fc?this.layerElement.setAttribute("fill",this.buildColor(Rr.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),Rr.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(Rr.sc)),this.layerElement.setAttribute("stroke-width",Rr.sw)),this.layerElement.setAttribute("font-size",Rr.finalSize);var qr=this.globalData.fontManager.getFontByName(Rr.f);if(qr.fClass)this.layerElement.setAttribute("class",qr.fClass);else{this.layerElement.setAttribute("font-family",qr.fFamily);var Qr=Rr.fWeight,Jr=Rr.fStyle;this.layerElement.setAttribute("font-style",Jr),this.layerElement.setAttribute("font-weight",Qr)}this.layerElement.setAttribute("aria-label",Rr.t);var fs=Rr.l||[],Ss=!!this.globalData.fontManager.chars;Cr=fs.length;var us,Ds=this.mHelper,ks="",Ls=this.data.singleShape,ys=0,hr=0,_r=!0,xr=Rr.tr*.001*Rr.finalSize;if(Ls&&!Ss&&!Rr.sz){var Dr=this.textContainer,Vr="start";switch(Rr.j){case 1:Vr="end";break;case 2:Vr="middle";break;default:Vr="start";break}Dr.setAttribute("text-anchor",Vr),Dr.setAttribute("letter-spacing",xr);var Fr=this.buildTextContents(Rr.finalText);for(Cr=Fr.length,hr=Rr.ps?Rr.ps[1]+Rr.ascent:0,br=0;br<Cr;br+=1)us=this.textSpans[br].span||$s("tspan"),us.textContent=Fr[br],us.setAttribute("x",0),us.setAttribute("y",hr),us.style.display="inherit",Dr.appendChild(us),this.textSpans[br]||(this.textSpans[br]={span:null,glyph:null}),this.textSpans[br].span=us,hr+=Rr.finalLineHeight;this.layerElement.appendChild(Dr)}else{var er=this.textSpans.length,lr;for(br=0;br<Cr;br+=1){if(this.textSpans[br]||(this.textSpans[br]={span:null,childSpan:null,glyph:null}),!Ss||!Ls||br===0){if(us=er>br?this.textSpans[br].span:$s(Ss?"g":"text"),er<=br){if(us.setAttribute("stroke-linecap","butt"),us.setAttribute("stroke-linejoin","round"),us.setAttribute("stroke-miterlimit","4"),this.textSpans[br].span=us,Ss){var mr=$s("g");us.appendChild(mr),this.textSpans[br].childSpan=mr}this.textSpans[br].span=us,this.layerElement.appendChild(us)}us.style.display="inherit"}if(Ds.reset(),Ls&&(fs[br].n&&(ys=-xr,hr+=Rr.yOffset,hr+=_r?1:0,_r=!1),this.applyTextPropertiesToMatrix(Rr,Ds,fs[br].line,ys,hr),ys+=fs[br].l||0,ys+=xr),Ss){lr=this.globalData.fontManager.getCharData(Rr.finalText[br],qr.fStyle,this.globalData.fontManager.getFontByName(Rr.f).fFamily);var Sr;if(lr.t===1)Sr=new ja(lr.data,this.globalData,this);else{var wr=Fo;lr.data&&lr.data.shapes&&(wr=this.buildShapeData(lr.data,Rr.finalSize)),Sr=new ba(wr,this.globalData,this)}if(this.textSpans[br].glyph){var kr=this.textSpans[br].glyph;this.textSpans[br].childSpan.removeChild(kr.layerElement),kr.destroy()}this.textSpans[br].glyph=Sr,Sr._debug=!0,Sr.prepareFrame(0),Sr.renderFrame(),this.textSpans[br].childSpan.appendChild(Sr.layerElement),lr.t===1&&this.textSpans[br].childSpan.setAttribute("transform","scale("+Rr.finalSize/100+","+Rr.finalSize/100+")")}else Ls&&us.setAttribute("transform","translate("+Ds.props[12]+","+Ds.props[13]+")"),us.textContent=fs[br].val,us.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}Ls&&us&&us.setAttribute("d",ks)}for(;br<this.textSpans.length;)this.textSpans[br].span.style.display="none",br+=1;this._sizeChanged=!0},Ra.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var br=this.layerElement.getBBox();this.bbox={top:br.y,left:br.x,width:br.width,height:br.height}}return this.bbox},Ra.prototype.getValue=function(){var br,Cr=this.textSpans.length,Rr;for(this.renderedFrame=this.comp.renderedFrame,br=0;br<Cr;br+=1)Rr=this.textSpans[br].glyph,Rr&&(Rr.prepareFrame(this.comp.renderedFrame-this.data.st),Rr._mdf&&(this._mdf=!0))},Ra.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var br,Cr,Rr=this.textAnimator.renderedLetters,qr=this.textProperty.currentData.l;Cr=qr.length;var Qr,Jr,fs;for(br=0;br<Cr;br+=1)qr[br].n||(Qr=Rr[br],Jr=this.textSpans[br].span,fs=this.textSpans[br].glyph,fs&&fs.renderFrame(),Qr._mdf.m&&Jr.setAttribute("transform",Qr.m),Qr._mdf.o&&Jr.setAttribute("opacity",Qr.o),Qr._mdf.sw&&Jr.setAttribute("stroke-width",Qr.sw),Qr._mdf.sc&&Jr.setAttribute("stroke",Qr.sc),Qr._mdf.fc&&Jr.setAttribute("fill",Qr.fc))}};function Yo(br,Cr,Rr){this.initElement(br,Cr,Rr)}nr([Qa],Yo),Yo.prototype.createContent=function(){var br=$s("rect");br.setAttribute("width",this.data.sw),br.setAttribute("height",this.data.sh),br.setAttribute("fill",this.data.sc),this.layerElement.appendChild(br)};function Ya(br,Cr,Rr){this.initFrame(),this.initBaseData(br,Cr,Rr),this.initFrame(),this.initTransform(br,Cr,Rr),this.initHierarchy()}Ya.prototype.prepareFrame=function(br){this.prepareProperties(br,!0)},Ya.prototype.renderFrame=function(){},Ya.prototype.getBaseElement=function(){return null},Ya.prototype.destroy=function(){},Ya.prototype.sourceRectAtTime=function(){},Ya.prototype.hide=function(){},nr([En,La,Ln,Za],Ya);function Ca(){}nr([Sa],Ca),Ca.prototype.createNull=function(br){return new Ya(br,this.globalData,this)},Ca.prototype.createShape=function(br){return new ba(br,this.globalData,this)},Ca.prototype.createText=function(br){return new Ra(br,this.globalData,this)},Ca.prototype.createImage=function(br){return new Qa(br,this.globalData,this)},Ca.prototype.createSolid=function(br){return new Yo(br,this.globalData,this)},Ca.prototype.configAnimation=function(br){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+br.w+" "+br.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",br.w),this.svgElement.setAttribute("height",br.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,
8470,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var Cr=this.globalData.defs;this.setupGlobalData(br,Cr),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=br;var Rr=$s("clipPath"),qr=$s("rect");qr.setAttribute("width",br.w),qr.setAttribute("height",br.h),qr.setAttribute("x",0),qr.setAttribute("y",0);var Qr=yr();Rr.setAttribute("id",Qr),Rr.appendChild(qr),this.layerElement.setAttribute("clip-path","url("+fr()+"#"+Qr+")"),Cr.appendChild(Rr),this.layers=br.layers,this.elements=ur(br.layers.length)},Ca.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var br,Cr=this.layers?this.layers.length:0;for(br=0;br<Cr;br+=1)this.elements[br]&&this.elements[br].destroy&&this.elements[br].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Ca.prototype.updateContainerSize=function(){},Ca.prototype.findIndexByInd=function(br){var Cr=0,Rr=this.layers.length;for(Cr=0;Cr<Rr;Cr+=1)if(this.layers[Cr].ind===br)return Cr;return-1},Ca.prototype.buildItem=function(br){var Cr=this.elements;if(!(Cr[br]||this.layers[br].ty===99)){Cr[br]=!0;var Rr=this.createItem(this.layers[br]);if(Cr[br]=Rr,Hs()&&(this.layers[br].ty===0&&this.globalData.projectInterface.registerComposition(Rr),Rr.initExpressions()),this.appendElementInPos(Rr,br),this.layers[br].tt){var qr="tp"in this.layers[br]?this.findIndexByInd(this.layers[br].tp):br-1;if(qr===-1)return;if(!this.elements[qr]||this.elements[qr]===!0)this.buildItem(qr),this.addPendingElement(Rr);else{var Qr=Cr[qr],Jr=Qr.getMatte(this.layers[br].tt);Rr.setMatte(Jr)}}}},Ca.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var br=this.pendingElements.pop();if(br.checkParenting(),br.data.tt)for(var Cr=0,Rr=this.elements.length;Cr<Rr;){if(this.elements[Cr]===br){var qr="tp"in br.data?this.findIndexByInd(br.data.tp):Cr-1,Qr=this.elements[qr],Jr=Qr.getMatte(this.layers[Cr].tt);br.setMatte(Jr);break}Cr+=1}}},Ca.prototype.renderFrame=function(br){if(!(this.renderedFrame===br||this.destroyed)){br===null?br=this.renderedFrame:this.renderedFrame=br,this.globalData.frameNum=br,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=br,this.globalData._mdf=!1;var Cr,Rr=this.layers.length;for(this.completeLayers||this.checkLayers(br),Cr=Rr-1;Cr>=0;Cr-=1)(this.completeLayers||this.elements[Cr])&&this.elements[Cr].prepareFrame(br-this.layers[Cr].st);if(this.globalData._mdf)for(Cr=0;Cr<Rr;Cr+=1)(this.completeLayers||this.elements[Cr])&&this.elements[Cr].renderFrame()}},Ca.prototype.appendElementInPos=function(br,Cr){var Rr=br.getBaseElement();if(Rr){for(var qr=0,Qr;qr<Cr;)this.elements[qr]&&this.elements[qr]!==!0&&this.elements[qr].getBaseElement()&&(Qr=this.elements[qr].getBaseElement()),qr+=1;Qr?this.layerElement.insertBefore(Rr,Qr):this.layerElement.appendChild(Rr)}},Ca.prototype.hide=function(){this.layerElement.style.display="none"},Ca.prototype.show=function(){this.layerElement.style.display="block"};function qa(){}nr([En,La,Ln,Za,$n],qa),qa.prototype.initElement=function(br,Cr,Rr){this.initFrame(),this.initBaseData(br,Cr,Rr),this.initTransform(br,Cr,Rr),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!Cr.progressiveLoad)&&this.buildAllItems(),this.hide()},qa.prototype.prepareFrame=function(br){if(this._mdf=!1,this.prepareRenderableFrame(br),this.prepareProperties(br,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=br/this.data.sr;else{var Cr=this.tm.v;Cr===this.data.op&&(Cr=this.data.op-1),this.renderedFrame=Cr}var Rr,qr=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),Rr=qr-1;Rr>=0;Rr-=1)(this.completeLayers||this.elements[Rr])&&(this.elements[Rr].prepareFrame(this.renderedFrame-this.layers[Rr].st),this.elements[Rr]._mdf&&(this._mdf=!0))}},qa.prototype.renderInnerContent=function(){var br,Cr=this.layers.length;for(br=0;br<Cr;br+=1)(this.completeLayers||this.elements[br])&&this.elements[br].renderFrame()},qa.prototype.setElements=function(br){this.elements=br},qa.prototype.getElements=function(){return this.elements},qa.prototype.destroyElements=function(){var br,Cr=this.layers.length;for(br=0;br<Cr;br+=1)this.elements[br]&&this.elements[br].destroy()},qa.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ja(br,Cr,Rr){this.layers=br.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?ur(this.layers.length):[],this.initElement(br,Cr,Rr),this.tm=br.tm?Gs.getProp(this,br.tm,0,Cr.frameRate,this):{_placeholder:!0}}nr([Ca,qa,uo],ja),ja.prototype.createComp=function(br){return new ja(br,this.globalData,this)};function jn(br,Cr){this.animationItem=br,this.layers=null,this.renderedFrame=-1,this.svgElement=$s("svg");var Rr="";if(Cr&&Cr.title){var qr=$s("title"),Qr=yr();qr.setAttribute("id",Qr),qr.textContent=Cr.title,this.svgElement.appendChild(qr),Rr+=Qr}if(Cr&&Cr.description){var Jr=$s("desc"),fs=yr();Jr.setAttribute("id",fs),Jr.textContent=Cr.description,this.svgElement.appendChild(Jr),Rr+=" "+fs}Rr&&this.svgElement.setAttribute("aria-labelledby",Rr);var Ss=$s("defs");this.svgElement.appendChild(Ss);var us=$s("g");this.svgElement.appendChild(us),this.layerElement=us,this.renderConfig={preserveAspectRatio:Cr&&Cr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:Cr&&Cr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:Cr&&Cr.contentVisibility||"visible",progressiveLoad:Cr&&Cr.progressiveLoad||!1,hideOnTransparent:!(Cr&&Cr.hideOnTransparent===!1),viewB
vendor: 184,679 bytes, lines 847-848
847oxOnly:Cr&&Cr.viewBoxOnly||!1,viewBoxSize:Cr&&Cr.viewBoxSize||!1,className:Cr&&Cr.className||"",id:Cr&&Cr.id||"",focusable:Cr&&Cr.focusable,filterSize:{width:Cr&&Cr.filterSize&&Cr.filterSize.width||"100%",height:Cr&&Cr.filterSize&&Cr.filterSize.height||"100%",x:Cr&&Cr.filterSize&&Cr.filterSize.x||"0%",y:Cr&&Cr.filterSize&&Cr.filterSize.y||"0%"},width:Cr&&Cr.width,height:Cr&&Cr.height,runExpressions:!Cr||Cr.runExpressions===void 0||Cr.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:Ss,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return nr([Ca],jn),jn.prototype.createComp=function(br){return new ja(br,this.globalData,this)},_a("svg",jn),kn.registerModifier("tm",Ba),kn.registerModifier("pb",Sn),kn.registerModifier("rp",Ja),kn.registerModifier("rd",ro),kn.registerModifier("zz",ao),kn.registerModifier("op",go),Zs})}),ma=fa();const lottie_lightKMJEUZFYTNG7ODX7=Object.freeze(Object.defineProperty({__proto__:null,default:ma},Symbol.toStringTag,{value:"Module"}));var ut$2=u((exports,module)=>{typeof navigator<"u"&&function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.lottie=e())}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r=t.length,o;for(i=0;i<r;i+=1){o=t[i].prototype;for(var Zt in o)Object.prototype.hasOwnProperty.call(o,Zt)&&(e.prototype[Zt]=o[Zt])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].pause()},resume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].resume()},setRate:function(e){var i,r=this.audios.length;for(i=0;i<r;i+=1)this.audios[i].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(i,r){var o=0,Zt=[],tr;switch(i){case"int16":case"uint8c":tr=1;break;default:tr=1.1;break}for(o=0;o<r;o+=1)Zt.push(tr);return Zt}function e(i,r){return i==="float32"?new Float32Array(r):i==="int16"?new Int16Array(r):i==="uint8c"?new Uint8ClampedArray(r):t(i,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(e){return typeof e}:_typeof$6=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,i=t.length;for(e=0;e<i;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var i=createSizedArray(t.length),r,o=t.length;for(r=0;r<o;r+=1)i[r]=Math.abs(t[r]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function BMEnterFrameEvent(t,e,i,r){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,r){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,i){var r,o,Zt,tr,ar,ir,fr,gr;switch(tr=Math.floor(t*6),ar=t*6-tr,ir=i*(1-e),fr=i*(1-ar*e),gr=i*(1-(1-ar)*e),tr%6){case 0:r=i,o=gr,Zt=ir;break;case 1:r=fr,o=i,Zt=ir;break;case 2:r=ir,o=i,Zt=gr;break;case 3:r=ir,o=fr,Zt=i;break;case 4:r=gr,o=ir,Zt=i;break;case 5:r=i,o=ir,Zt=fr;break}return[r,o,Zt]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),o=Math.min(t,e,i),Zt=r-o,tr,ar=r===0?0:Zt/r,ir=r/255;switch(r){case o:tr=0;break;case t:tr=e-i+Zt*(e<i?6:0),tr/=6*Zt;break;case e:tr=i-t+Zt*2,tr/=6*Zt;break;case i:tr=t-e+Zt*4,tr/=6*Zt;break}return[tr,ar,ir]}function addSaturationToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(r,o,Zt){return r<0&&(r=0),o<0&&(o=0),Zt<0&&(Zt=0),"#"+t[r]+t[o]+t[Zt]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(e){return typeof e}:_typeof$5=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(t)}var dataManager=function(){var t=1,e=[],i,r,o={onmessage:function(){},postMessage:function(rr){i({data:rr})}},Zt={postMessage:function(rr){o.onmessage({data:rr})}};function tr(rr){if(window.Worker&&window.Blob&&getWebWorker()){var vr=new Blob(["var _workerSelf = self; self.onmessage = ",rr.toString()],{type:"text/javascript"}),cr=URL.createObjectURL(vr);return new Worker(cr)}return i=rr,o}function ar(){r||(r=tr(function(rr){function vr(){function ur(is,cs){var Ar,Tr,yr=is.length,Mr,Ur,jr,Vs;for(Tr=0;Tr<yr;Tr+=1)if(Ar=is[Tr],"ks"in Ar&&!Ar.completed){if(Ar.completed=!0,Ar.hasMask){var Ts=Ar.masksProperties;for(Ur=Ts.length,Mr=0;Mr<Ur;Mr+=1)if(Ts[Mr].pt.k.i)dr(Ts[Mr].pt.k);else for(Vs=Ts[Mr].pt.k.length,jr=0;jr<Vs;jr+=1)Ts[Mr].pt.k[jr].s&&dr(Ts[Mr].pt.k[jr].s[0]),Ts[Mr].pt.k[jr].e&&dr(Ts[Mr].pt.k[jr].e[0])}Ar.ty===0?(Ar.layers=sr(Ar.refId,cs),ur(Ar.layers,cs)):Ar.ty===4?pr(Ar.shapes):Ar.ty===5&&os(Ar)}}function Er(is,cs){if(is){var Ar=0,Tr=is.length;for(Ar=0;Ar<Tr;Ar+=1)is[Ar].t===1&&(is[Ar].data.layers=sr(is[Ar].data.refId,cs),ur(is[Ar].data.layers,cs))}}function or(is,cs){for(var Ar=0,Tr=cs.length;Ar<Tr;){if(cs[Ar].id===is)return cs[Ar];Ar+=1}return null}function sr(is,cs){var Ar=or(is,cs);return Ar?Ar.layers.__used?JSON.parse(JSON.stringify(Ar.layers)):(Ar.layers.__used=!0,Ar.layers):null}function pr(is){var cs,Ar=is.length,Tr,yr;for(cs=Ar-1;cs>=0;cs-=1)if(is[cs].ty==="sh")if(is[cs].ks.k.i)dr(is[cs].ks.k);else for(yr=is[cs].ks.k.length,Tr=0;Tr<yr;Tr+=1)is[cs].ks.k[Tr].s&&dr(is[cs].ks.k[Tr].s[0]),is[cs].ks.k[Tr].e&&dr(is[cs].ks.k[Tr].e[0]);else is[cs].ty==="gr"&&pr(is[cs].it)}function dr(is){var cs,Ar=is.i.length;for(cs=0;cs<Ar;cs+=1)is.i[cs][0]+=is.v[cs][0],is.i[cs][1]+=is.v[cs][1],is.o[cs][0]+=is.v[cs][0],is.o[cs][1]+=is.v[cs][1]}function Pr(is,cs){var Ar=cs?cs.split("."):[100,100,100];return is[0]>Ar[0]?!0:Ar[0]>is[0]?!1:is[1]>Ar[1]?!0:Ar[1]>is[1]?!1:is[2]>Ar[2]?!0:Ar[2]>is[2]?!1:null}var Ir=function(){var is=[4,4,14];function cs(Tr){var yr=Tr.t.d;Tr.t.d={k:[{s:yr,t:0}]}}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),zr=function(){var is=[4,7,99];return function(cs){if(cs.chars&&!Pr(is,cs.v)){var Ar,Tr=cs.chars.length;for(Ar=0;Ar<Tr;Ar+=1){var yr=cs.chars[Ar];yr.data&&yr.data.shapes&&(pr(yr.data.shapes),yr.data.ip=0,yr.data.op=99999,yr.data.st=0,yr.data.sr=1,yr.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},cs.chars[Ar].t||(yr.data.shapes.push({ty:"no"}),yr.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),$r=function(){var is=[5,7,15];function cs(Tr){var yr=Tr.t.p;typeof yr.a=="number"&&(yr.a={a:0,k:yr.a}),typeof yr.p=="number"&&(yr.p={a:0,k:yr.p}),typeof yr.r=="number"&&(yr.r={a:0,k:yr.r})}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),es=function(){var is=[4,1,9];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=0;yr<Mr;yr+=1)if(Tr[yr].ty==="gr")cs(Tr[yr].it);else if(Tr[yr].ty==="fl"||Tr[yr].ty==="st")if(Tr[yr].c.k&&Tr[yr].c.k[0].i)for(jr=Tr[yr].c.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].c.k[Ur].s&&(Tr[yr].c.k[Ur].s[0]/=255,Tr[yr].c.k[Ur].s[1]/=255,Tr[yr].c.k[Ur].s[2]/=255,Tr[yr].c.k[Ur].s[3]/=255),Tr[yr].c.k[Ur].e&&(Tr[yr].c.k[Ur].e[0]/=255,Tr[yr].c.k[Ur].e[1]/=255,Tr[yr].c.k[Ur].e[2]/=255,Tr[yr].c.k[Ur].e[3]/=255);else Tr[yr].c.k[0]/=255,Tr[yr].c.k[1]/=255,Tr[yr].c.k[2]/=255,Tr[yr].c.k[3]/=255}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===4&&cs(Tr[yr].shapes)}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),hs=function(){var is=[4,4,18];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=Mr-1;yr>=0;yr-=1)if(Tr[yr].ty==="sh")if(Tr[yr].ks.k.i)Tr[yr].ks.k.c=Tr[yr].closed;else for(jr=Tr[yr].ks.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].ks.k[Ur].s&&(Tr[yr].ks.k[Ur].s[0].c=Tr[yr].closed),Tr[yr].ks.k[Ur].e&&(Tr[yr].ks.k[Ur].e[0].c=Tr[yr].closed);else Tr[yr].ty==="gr"&&cs(Tr[yr].it)}function Ar(Tr){var yr,Mr,Ur=Tr.length,jr,Vs,Ts,Ns;for(Mr=0;Mr<Ur;Mr+=1){if(yr=Tr[Mr],yr.hasMask){var Bs=yr.masksProperties;for(Vs=Bs.length,jr=0;jr<Vs;jr+=1)if(Bs[jr].pt.k.i)Bs[jr].pt.k.c=Bs[jr].cl;else for(Ns=Bs[jr].pt.k.length,Ts=0;Ts<Ns;Ts+=1)Bs[jr].pt.k[Ts].s&&(Bs[jr].pt.k[Ts].s[0].c=Bs[jr].cl),Bs[jr].pt.k[Ts].e&&(Bs[jr].pt.k[Ts].e[0].c=Bs[jr].cl)}yr.ty===4&&cs(yr.shapes)}}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}();function ps(is){is.__complete||(es(is),Ir(is),zr(is),$r(is),hs(is),ur(is.layers,is.assets),Er(is.chars,is.assets),is.__complete=!0)}function os(is){is.t.a.length===0&&"m"in is.t.p}var xs={};return xs.completeData=ps,xs.checkColors=es,xs.checkChars=zr,xs.checkPathProperties=$r,xs.checkShapes=hs,xs.completeLayers=ur,xs}if(Zt.dataManager||(Zt.dataManager=vr()),Zt.assetLoader||(Zt.assetLoader=function(){function ur(or){var sr=or.getResponseHeader("content-type");return sr&&or.responseType==="json"&&sr.indexOf("json")!==-1||or.response&&_typeof$5(or.response)==="object"?or.response:or.response&&typeof or.response=="string"?JSON.parse(or.response):or.responseText?JSON.parse(or.responseText):null}function Er(or,sr,pr,dr){var Pr,Ir=new XMLHttpRequest;try{Ir.responseType="json"}catch{}Ir.onreadystatechange=function(){if(Ir.readyState===4)if(Ir.status===200)Pr=ur(Ir),pr(Pr);else try{Pr=ur(Ir),pr(Pr)}catch(zr){dr&&dr(zr)}};try{Ir.open(["G","E","T"].join(""),or,!0)}catch{Ir.open(["G","E","T"].join(""),sr+"/"+or,!0)}Ir.send()}return{load:Er}}()),rr.data.type==="loadAnimation")Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.dataManager.completeData(ur),Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})});else if(rr.data.type==="complete"){var cr=rr.data.animation;Zt.dataManager.completeData(cr),Zt.postMessage({id:rr.data.id,payload:cr,status:"success"})}else rr.data.type==="loadData"&&Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})})}),r.onmessage=function(rr){var vr=rr.data,cr=vr.id,ur=e[cr];e[cr]=null,vr.status==="success"?ur.onComplete(vr.payload):ur.onError&&ur.onError()})}function ir(rr,vr){t+=1;var cr="processId_"+t;return e[cr]={onComplete:rr,onError:vr},cr}function fr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadAnimation",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function gr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadData",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function nr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"complete",animation:rr,id:ur})}return{loadAnimation:fr,loadData:gr,completeAnimation:nr}}(),ImagePreloader=function(){var t=function(){var or=createTag("canvas");or.width=1,or.height=1;var sr=or.getContext("2d");return sr.fillStyle="rgba(0,0,0,0)",sr.fillRect(0,0,1,1),or}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(or,sr,pr){var dr="";if(or.e)dr=or.p;else if(sr){var Pr=or.p;Pr.indexOf("images/")!==-1&&(Pr=Pr.split("/")[1]),dr=sr+Pr}else dr=pr,dr+=or.u?or.u:"",dr+=or.p;return dr}function o(or){var sr=0,pr=setInterval(function(){var dr=or.getBBox();(dr.width||sr>500)&&(this._imageLoaded(),clearInterval(pr)),sr+=1}.bind(this),50)}function Zt(or){var sr=r(or,this.assetsPath,this.path),pr=createNS("image");isSafari?this.testImageLoaded(pr):pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.setAttributeNS("http://www.w3.org/1999/xlink","href",sr),this._elementHelper.append?this._elementHelper.append(pr):this._elementHelper.appendChild(pr);var dr={img:pr,assetData:or};return dr}function tr(or){var sr=r(or,this.assetsPath,this.path),pr=createTag("img");pr.crossOrigin="anonymous",pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.src=sr;var dr={img:pr,assetData:or};return dr}function ar(or){var sr={assetData:or},pr=r(or,this.assetsPath,this.path);return dataManager.loadData(pr,function(dr){sr.img=dr,this._footageLoaded()}.bind(this),function(){sr.img={},this._footageLoaded()}.bind(this)),sr}function ir(or,sr){this.imagesLoadedCb=sr;var pr,dr=or.length;for(pr=0;pr<dr;pr+=1)or[pr].layers||(!or[pr].t||or[pr].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(or[pr]))):or[pr].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(or[pr]))))}function fr(or){this.path=or||""}function gr(or){this.assetsPath=or||""}function nr(or){for(var sr=0,pr=this.images.length;sr<pr;){if(this.images[sr].assetData===or)return this.images[sr].img;sr+=1}return null}function rr(){this.imagesLoadedCb=null,this.images.length=0}function vr(){return this.totalImages===this.loadedAssets}function cr(){return this.totalFootages===this.loadedFootagesCount}function ur(or,sr){or==="svg"?(this._elementHelper=sr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Er(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=ar.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Er.prototype={loadAssets:ir,setAssetsPath:gr,setPath:fr,loadedImages:vr,loadedFootages:cr,destroy:rr,getAsset:nr,createImgData:tr,createImageData:Zt,imageLoaded:e,footageLoaded:i,setCacheType:ur},Er}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],r=0;r<i.length;r+=1)i[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,r=this._cbs[t].length;i<r;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,r-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function t(e){for(var i=e.split(`\r
848`),r={},o,Zt=0,tr=0;tr<i.length;tr+=1)o=i[tr].split(":"),o.length===2&&(r[o[0]]=o[1].trim(),Zt+=1);if(Zt===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var o=e[r],Zt={time:o.tm,duration:o.dr};try{Zt.payload=JSON.parse(e[r].cm)}catch{try{Zt.payload=t(e[r].cm)}catch{Zt.payload={name:e[r].cm}}}i.push(Zt)}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var r=0,o=this.compositions.length;r<o;){if(this.compositions[r].data&&this.compositions[r].data.nm===i)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(e){return typeof e}:_typeof$4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},r=t.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";o==="false"?i.loop=!1:o==="true"?i.loop=!0:o!==""&&(i.loop=parseInt(o,10));var Zt=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;i.autoplay=Zt!=="false",i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var tr=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";tr==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,r=e.length,o=t.layers,Zt,tr=o.length;for(Zt=0;Zt<tr;Zt+=1)for(i=0;i<r;){if(e[i].id===o[Zt].id){e[i]=o[Zt];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,i=0;i<r;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,r=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.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,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&this.goToAndStop(o.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(r,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!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):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var i,r=t.length;for(i=0;i<r;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,i){try{var r=this.renderer.getElementByPath(t);r.updateDocumentData(e,i)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,r=0,o=0,Zt=!0,tr=!1;function ar(Ar){for(var Tr=0,yr=Ar.target;Tr<r;)e[Tr].animation===yr&&(e.splice(Tr,1),Tr-=1,r-=1,yr.isPaused||nr()),Tr+=1}function ir(Ar,Tr){if(!Ar)return null;for(var yr=0;yr<r;){if(e[yr].elem===Ar&&e[yr].elem!==null)return e[yr].animation;yr+=1}var Mr=new AnimationItem;return rr(Mr,Ar),Mr.setData(Ar,Tr),Mr}function fr(){var Ar,Tr=e.length,yr=[];for(Ar=0;Ar<Tr;Ar+=1)yr.push(e[Ar].animation);return yr}function gr(){o+=1,hs()}function nr(){o-=1}function rr(Ar,Tr){Ar.addEventListener("destroy",ar),Ar.addEventListener("_active",gr),Ar.addEventListener("_idle",nr),e.push({elem:Tr,animation:Ar}),r+=1}function vr(Ar){var Tr=new AnimationItem;return rr(Tr,null),Tr.setParams(Ar),Tr}function cr(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setSpeed(Ar,Tr)}function ur(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setDirection(Ar,Tr)}function Er(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.play(Ar)}function or(Ar){var Tr=Ar-i,yr;for(yr=0;yr<r;yr+=1)e[yr].animation.advanceTime(Tr);i=Ar,o&&!tr?window.requestAnimationFrame(or):Zt=!0}function sr(Ar){i=Ar,window.requestAnimationFrame(or)}function pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.pause(Ar)}function dr(Ar,Tr,yr){var Mr;for(Mr=0;Mr<r;Mr+=1)e[Mr].animation.goToAndStop(Ar,Tr,yr)}function Pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.stop(Ar)}function Ir(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.togglePause(Ar)}function zr(Ar){var Tr;for(Tr=r-1;Tr>=0;Tr-=1)e[Tr].animation.destroy(Ar)}function $r(Ar,Tr,yr){var Mr=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Ur,jr=Mr.length;for(Ur=0;Ur<jr;Ur+=1)yr&&Mr[Ur].setAttribute("data-bm-type",yr),ir(Mr[Ur],Ar);if(Tr&&jr===0){yr||(yr="svg");var Vs=document.getElementsByTagName("body")[0];Vs.innerText="";var Ts=createTag("div");Ts.style.width="100%",Ts.style.height="100%",Ts.setAttribute("data-bm-type",yr),Vs.appendChild(Ts),ir(Ts,Ar)}}function es(){var Ar;for(Ar=0;Ar<r;Ar+=1)e[Ar].animation.resize()}function hs(){!tr&&o&&Zt&&(window.requestAnimationFrame(sr),Zt=!1)}function ps(){tr=!0}function os(){tr=!1,hs()}function xs(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setVolume(Ar,Tr)}function is(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.mute(Ar)}function cs(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.unmute(Ar)}return t.registerAnimation=ir,t.loadAnimation=vr,t.setSpeed=cr,t.setDirection=ur,t.play=Er,t.pause=pr,t.stop=Pr,t.togglePause=Ir,t.searchAnimations=$r,t.resize=es,t.goToAndStop=dr,t.destroy=zr,t.freeze=ps,t.unfreeze=os,t.setVolume=xs,t.mute=is,t.unmute=cs,t.getRegisteredAnimations=fr,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(sr,pr,dr,Pr,Ir){var zr=Ir||("bez_"+sr+"_"+pr+"_"+dr+"_"+Pr).replace(/\./g,"p");if(e[zr])return e[zr];var $r=new or([sr,pr,dr,Pr]);return e[zr]=$r,$r}var r=4,o=.001,Zt=1e-7,tr=10,ar=11,ir=1/(ar-1),fr=typeof Float32Array=="function";function gr(sr,pr){return 1-3*pr+3*sr}function nr(sr,pr){return 3*pr-6*sr}function rr(sr){return 3*sr}function vr(sr,pr,dr){return((gr(pr,dr)*sr+nr(pr,dr))*sr+rr(pr))*sr}function cr(sr,pr,dr){return 3*gr(pr,dr)*sr*sr+2*nr(pr,dr)*sr+rr(pr)}function ur(sr,pr,dr,Pr,Ir){var zr,$r,es=0;do $r=pr+(dr-pr)/2,zr=vr($r,Pr,Ir)-sr,zr>0?dr=$r:pr=$r;while(Math.abs(zr)>Zt&&++es<tr);return $r}function Er(sr,pr,dr,Pr){for(var Ir=0;Ir<r;++Ir){var zr=cr(pr,dr,Pr);if(zr===0)return pr;var $r=vr(pr,dr,Pr)-sr;pr-=$r/zr}return pr}function or(sr){this._p=sr,this._mSampleValues=fr?new Float32Array(ar):new Array(ar),this._precomputed=!1,this.get=this.get.bind(this)}return or.prototype={get:function(sr){var pr=this._p[0],dr=this._p[1],Pr=this._p[2],Ir=this._p[3];return this._precomputed||this._precompute(),pr===dr&&Pr===Ir?sr:sr===0?0:sr===1?1:vr(this._getTForX(sr),dr,Ir)},_precompute:function(){var sr=this._p[0],pr=this._p[1],dr=this._p[2],Pr=this._p[3];this._precomputed=!0,(sr!==pr||dr!==Pr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var sr=this._p[0],pr=this._p[2],dr=0;dr<ar;++dr)this._mSampleValues[dr]=vr(dr*ir,sr,pr)},_getTForX:function(sr){for(var pr=this._p[0],dr=this._p[2],Pr=this._mSampleValues,Ir=0,zr=1,$r=ar-1;zr!==$r&&Pr[zr]<=sr;++zr)Ir+=ir;--zr;var es=(sr-Pr[zr])/(Pr[zr+1]-Pr[zr]),hs=Ir+es*ir,ps=cr(hs,pr,dr);return ps>=o?Er(sr,hs,pr,dr):ps===0?hs:ur(sr,Ir,Ir+ir,pr,dr)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){var r=0,o=t,Zt=createSizedArray(o),tr={newElement:ar,release:ir};function ar(){var fr;return r?(r-=1,fr=Zt[r]):fr=e(),fr}function ir(fr){r===o&&(Zt=pooling.double(Zt),o*=2),i&&i(fr),Zt[r]=fr,r+=1}return tr}}(),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(i){var r,o=i.lengths.length;for(r=0;r<o;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(rr,vr,cr,ur,Er,or){var sr=rr*ur+vr*Er+cr*or-Er*ur-or*rr-cr*vr;return sr>-.001&&sr<.001}function i(rr,vr,cr,ur,Er,or,sr,pr,dr){if(cr===0&&or===0&&dr===0)return e(rr,vr,ur,Er,sr,pr);var Pr=t.sqrt(t.pow(ur-rr,2)+t.pow(Er-vr,2)+t.pow(or-cr,2)),Ir=t.sqrt(t.pow(sr-rr,2)+t.pow(pr-vr,2)+t.pow(dr-cr,2)),zr=t.sqrt(t.pow(sr-ur,2)+t.pow(pr-Er,2)+t.pow(dr-or,2)),$r;return Pr>Ir?Pr>zr?$r=Pr-Ir-zr:$r=zr-Ir-Pr:zr>Ir?$r=zr-Ir-Pr:$r=Ir-Pr-zr,$r>-1e-4&&$r<1e-4}var r=function(){return function(rr,vr,cr,ur){var Er=getDefaultCurveSegments(),or,sr,pr,dr,Pr,Ir=0,zr,$r=[],es=[],hs=bezierLengthPool.newElement();for(pr=cr.length,or=0;or<Er;or+=1){for(Pr=or/(Er-1),zr=0,sr=0;sr<pr;sr+=1)dr=bmPow(1-Pr,3)*rr[sr]+3*bmPow(1-Pr,2)*Pr*cr[sr]+3*(1-Pr)*bmPow(Pr,2)*ur[sr]+bmPow(Pr,3)*vr[sr],$r[sr]=dr,es[sr]!==null&&(zr+=bmPow($r[sr]-es[sr],2)),es[sr]=$r[sr];zr&&(zr=bmSqrt(zr),Ir+=zr),hs.percents[or]=Pr,hs.lengths[or]=Ir}return hs.addedLength=Ir,hs}}();function o(rr){var vr=segmentsLengthPool.newElement(),cr=rr.c,ur=rr.v,Er=rr.o,or=rr.i,sr,pr=rr._length,dr=vr.lengths,Pr=0;for(sr=0;sr<pr-1;sr+=1)dr[sr]=r(ur[sr],ur[sr+1],Er[sr],or[sr+1]),Pr+=dr[sr].addedLength;return cr&&pr&&(dr[sr]=r(ur[sr],ur[0],Er[sr],or[0]),Pr+=dr[sr].addedLength),vr.totalLength=Pr,vr}function Zt(rr){this.segmentLength=0,this.points=new Array(rr)}function tr(rr,vr){this.partialLength=rr,this.point=vr}var ar=function(){var rr={};return function(vr,cr,ur,Er){var or=(vr[0]+"_"+vr[1]+"_"+cr[0]+"_"+cr[1]+"_"+ur[0]+"_"+ur[1]+"_"+Er[0]+"_"+Er[1]).replace(/\./g,"p");if(!rr[or]){var sr=getDefaultCurveSegments(),pr,dr,Pr,Ir,zr,$r=0,es,hs,ps=null;vr.length===2&&(vr[0]!==cr[0]||vr[1]!==cr[1])&&e(vr[0],vr[1],cr[0],cr[1],vr[0]+ur[0],vr[1]+ur[1])&&e(vr[0],vr[1],cr[0],cr[1],cr[0]+Er[0],cr[1]+Er[1])&&(sr=2);var os=new Zt(sr);for(Pr=ur.length,pr=0;pr<sr;pr+=1){for(hs=createSizedArray(Pr),zr=pr/(sr-1),es=0,dr=0;dr<Pr;dr+=1)Ir=bmPow(1-zr,3)*vr[dr]+3*bmPow(1-zr,2)*zr*(vr[dr]+ur[dr])+3*(1-zr)*bmPow(zr,2)*(cr[dr]+Er[dr])+bmPow(zr,3)*cr[dr],hs[dr]=Ir,ps!==null&&(es+=bmPow(hs[dr]-ps[dr],2));es=bmSqrt(es),$r+=es,os.points[pr]=new tr(es,hs),ps=hs}os.segmentLength=$r,rr[or]=os}return rr[or]}}();function ir(rr,vr){var cr=vr.percents,ur=vr.lengths,Er=cr.length,or=bmFloor((Er-1)*rr),sr=rr*vr.addedLength,pr=0;if(or===Er-1||or===0||sr===ur[or])return cr[or];for(var dr=ur[or]>sr?-1:1,Pr=!0;Pr;)if(ur[or]<=sr&&ur[or+1]>sr?(pr=(sr-ur[or])/(ur[or+1]-ur[or]),Pr=!1):or+=dr,or<0||or>=Er-1){if(or===Er-1)return cr[or];Pr=!1}return cr[or]+(cr[or+1]-cr[or])*pr}function fr(rr,vr,cr,ur,Er,or){var sr=ir(Er,or),pr=1-sr,dr=t.round((pr*pr*pr*rr[0]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[0]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[0]+sr*sr*sr*vr[0])*1e3)/1e3,Pr=t.round((pr*pr*pr*rr[1]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[1]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[1]+sr*sr*sr*vr[1])*1e3)/1e3;return[dr,Pr]}var gr=createTypedArray("float32",8);function nr(rr,vr,cr,ur,Er,or,sr){Er<0?Er=0:Er>1&&(Er=1);var pr=ir(Er,sr);or=or>1?1:or;var dr=ir(or,sr),Pr,Ir=rr.length,zr=1-pr,$r=1-dr,es=zr*zr*zr,hs=pr*zr*zr*3,ps=pr*pr*zr*3,os=pr*pr*pr,xs=zr*zr*$r,is=pr*zr*$r+zr*pr*$r+zr*zr*dr,cs=pr*pr*$r+zr*pr*dr+pr*zr*dr,Ar=pr*pr*dr,Tr=zr*$r*$r,yr=pr*$r*$r+zr*dr*$r+zr*$r*dr,Mr=pr*dr*$r+zr*dr*dr+pr*$r*dr,Ur=pr*dr*dr,jr=$r*$r*$r,Vs=dr*$r*$r+$r*dr*$r+$r*$r*dr,Ts=dr*dr*$r+$r*dr*dr+dr*$r*dr,Ns=dr*dr*dr;for(Pr=0;Pr<Ir;Pr+=1)gr[Pr*4]=t.round((es*rr[Pr]+hs*cr[Pr]+ps*ur[Pr]+os*vr[Pr])*1e3)/1e3,gr[Pr*4+1]=t.round((xs*rr[Pr]+is*cr[Pr]+cs*ur[Pr]+Ar*vr[Pr])*1e3)/1e3,gr[Pr*4+2]=t.round((Tr*rr[Pr]+yr*cr[Pr]+Mr*ur[Pr]+Ur*vr[Pr])*1e3)/1e3,gr[Pr*4+3]=t.round((jr*rr[Pr]+Vs*cr[Pr]+Ts*ur[Pr]+Ns*vr[Pr])*1e3)/1e3;return gr}return{getSegmentsLength:o,getNewSegment:nr,getPointInSegment:fr,buildBezierData:ar,pointOnLine2D:e,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var o=e.lastIndex,Zt=o,tr=this.keyframes.length-1,ar=!0,ir,fr,gr;ar;){if(ir=this.keyframes[Zt],fr=this.keyframes[Zt+1],Zt===tr-1&&t>=fr.t-i){ir.h&&(ir=fr),o=0;break}if(fr.t-i>t){o=Zt;break}Zt<tr-1?Zt+=1:(o=0,ar=!1)}gr=this.keyframesMetadata[Zt]||{};var nr,rr,vr,cr,ur,Er,or=fr.t-i,sr=ir.t-i,pr;if(ir.to){gr.bezierData||(gr.bezierData=bez.buildBezierData(ir.s,fr.s||ir.e,ir.to,ir.ti));var dr=gr.bezierData;if(t>=or||t<sr){var Pr=t>=or?dr.points.length-1:0;for(rr=dr.points[Pr].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[Pr].point[nr]}else{gr.__fnct?Er=gr.__fnct:(Er=BezierFactory.getBezierEasing(ir.o.x,ir.o.y,ir.i.x,ir.i.y,ir.n).get,gr.__fnct=Er),vr=Er((t-sr)/(or-sr));var Ir=dr.segmentLength*vr,zr,$r=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastAddedLength:0;for(ur=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastPoint:0,ar=!0,cr=dr.points.length;ar;){if($r+=dr.points[ur].partialLength,Ir===0||vr===0||ur===dr.points.length-1){for(rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr];break}else if(Ir>=$r&&Ir<$r+dr.points[ur+1].partialLength){for(zr=(Ir-$r)/dr.points[ur+1].partialLength,rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr]+(dr.points[ur+1].point[nr]-dr.points[ur].point[nr])*zr;break}ur<cr-1?ur+=1:ar=!1}e._lastPoint=ur,e._lastAddedLength=$r-dr.points[ur].partialLength,e._lastKeyframeIndex=Zt}}else{var es,hs,ps,os,xs;if(tr=ir.s.length,pr=fr.s||ir.e,this.sh&&ir.h!==1)if(t>=or)r[0]=pr[0],r[1]=pr[1],r[2]=pr[2];else if(t<=sr)r[0]=ir.s[0],r[1]=ir.s[1],r[2]=ir.s[2];else{var is=createQuaternion(ir.s),cs=createQuaternion(pr),Ar=(t-sr)/(or-sr);quaternionToEuler(r,slerp(is,cs,Ar))}else for(Zt=0;Zt<tr;Zt+=1)ir.h!==1&&(t>=or?vr=1:t<sr?vr=0:(ir.o.x.constructor===Array?(gr.__fnct||(gr.__fnct=[]),gr.__fnct[Zt]?Er=gr.__fnct[Zt]:(es=ir.o.x[Zt]===void 0?ir.o.x[0]:ir.o.x[Zt],hs=ir.o.y[Zt]===void 0?ir.o.y[0]:ir.o.y[Zt],ps=ir.i.x[Zt]===void 0?ir.i.x[0]:ir.i.x[Zt],os=ir.i.y[Zt]===void 0?ir.i.y[0]:ir.i.y[Zt],Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,gr.__fnct[Zt]=Er)):gr.__fnct?Er=gr.__fnct:(es=ir.o.x,hs=ir.o.y,ps=ir.i.x,os=ir.i.y,Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,ir.keyframeMetadata=Er),vr=Er((t-sr)/(or-sr)))),pr=fr.s||ir.e,xs=ir.h===1?ir.s[Zt]:ir.s[Zt]+(pr[Zt]-ir.s[Zt])*vr,this.propType==="multidimensional"?r[Zt]=xs:r=xs}return e.lastIndex=o,r}function slerp(t,e,i){var r=[],o=t[0],Zt=t[1],tr=t[2],ar=t[3],ir=e[0],fr=e[1],gr=e[2],nr=e[3],rr,vr,cr,ur,Er;return vr=o*ir+Zt*fr+tr*gr+ar*nr,vr<0&&(vr=-vr,ir=-ir,fr=-fr,gr=-gr,nr=-nr),1-vr>1e-6?(rr=Math.acos(vr),cr=Math.sin(rr),ur=Math.sin((1-i)*rr)/cr,Er=Math.sin(i*rr)/cr):(ur=1-i,Er=i),r[0]=ur*o+Er*ir,r[1]=ur*Zt+Er*fr,r[2]=ur*tr+Er*gr,r[3]=ur*ar+Er*nr,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],o=e[2],Zt=e[3],tr=Math.atan2(2*r*Zt-2*i*o,1-2*r*r-2*o*o),ar=Math.asin(2*i*r+2*o*Zt),ir=Math.atan2(2*i*Zt-2*r*o,1-2*i*i-2*o*o);t[0]=tr/degToRads,t[1]=ar/degToRads,t[2]=ir/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,o=Math.cos(e/2),Zt=Math.cos(i/2),tr=Math.cos(r/2),ar=Math.sin(e/2),ir=Math.sin(i/2),fr=Math.sin(r/2),gr=o*Zt*tr-ar*ir*fr,nr=ar*ir*tr+o*Zt*fr,rr=ar*Zt*tr+o*ir*fr,vr=o*ir*tr-ar*Zt*fr;return[nr,rr,vr,gr]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}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 i=0,r=this.v.length;i<r;)e=t[i]*this.mult,mathAbs(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=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,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,i,r){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,i,r){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,Zt=e.k.length;for(this.v=createTypedArray("float32",Zt),this.pv=createTypedArray("float32",Zt),this.vel=createTypedArray("float32",Zt),o=0;o<Zt;o+=1)this.v[o]=e.k[o]*this.mult,this.pv[o]=e.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,i,r){this.propType="multidimensional";var o,Zt=e.k.length,tr,ar,ir,fr;for(o=0;o<Zt-1;o+=1)e.k[o].to&&e.k[o].s&&e.k[o+1]&&e.k[o+1].s&&(tr=e.k[o].s,ar=e.k[o+1].s,ir=e.k[o].to,fr=e.k[o].ti,(tr.length===2&&!(tr[0]===ar[0]&&tr[1]===ar[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],tr[0]+ir[0],tr[1]+ir[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],ar[0]+fr[0],ar[1]+fr[1])||tr.length===3&&!(tr[0]===ar[0]&&tr[1]===ar[1]&&tr[2]===ar[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],tr[0]+ir[0],tr[1]+ir[1],tr[2]+ir[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],ar[0]+fr[0],ar[1]+fr[1],ar[2]+fr[2]))&&(e.k[o].to=null,e.k[o].ti=null),tr[0]===ar[0]&&tr[1]===ar[1]&&ir[0]===0&&ir[1]===0&&fr[0]===0&&fr[1]===0&&(tr.length===2||tr[2]===ar[2]&&ir[2]===0&&fr[2]===0)&&(e.k[o].to=null,e.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var gr=e.k[0].s.length;for(this.v=createTypedArray("float32",gr),this.pv=createTypedArray("float32",gr),o=0;o<gr;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",gr)},this.addEffect=addEffect}var PropertyFactory=function(){function t(i,r,o,Zt,tr){r.sid&&(r=i.globalData.slotManager.getProp(r));var ar;if(!r.k.length)ar=new ValueProperty(i,r,Zt,tr);else if(typeof r.k[0]=="number")ar=new MultiDimensionalProperty(i,r,Zt,tr);else switch(o){case 0:ar=new KeyframedValueProperty(i,r,Zt,tr);break;case 1:ar=new KeyframedMultidimensionalProperty(i,r,Zt,tr);break}return ar.effectsSequence.length&&tr.addDynamicProperty(ar),ar}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,r,o){var Zt;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":Zt=this.v;break;case"i":Zt=this.i;break;case"o":Zt=this.o;break;default:Zt=[];break}(!Zt[r]||Zt[r]&&!o)&&(Zt[r]=pointPool.newElement()),Zt[r][0]=t,Zt[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,o,Zt,tr,ar){this.setXYAt(t,e,"v",tr,ar),this.setXYAt(i,r,"o",tr,ar),this.setXYAt(o,Zt,"i",tr,ar)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,o=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),o=1);var Zt=this._length-1,tr=this._length,ar;for(ar=o;ar<tr;ar+=1)t.setTripleAt(e[Zt][0],e[Zt][1],r[Zt][0],r[Zt][1],i[Zt][0],i[Zt][1],ar,!1),Zt-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(o){var Zt=o._length,tr;for(tr=0;tr<Zt;tr+=1)pointPool.release(o.v[tr]),pointPool.release(o.i[tr]),pointPool.release(o.o[tr]),o.v[tr]=null,o.i[tr]=null,o.o[tr]=null;o._length=0,o.c=!1}function i(o){var Zt=r.newElement(),tr,ar=o._length===void 0?o.v.length:o._length;for(Zt.setLength(ar),Zt.c=o.c,tr=0;tr<ar;tr+=1)Zt.setTripleAt(o.v[tr][0],o.v[tr][1],o.o[tr][0],o.o[tr][1],o.i[tr][0],o.i[tr][1],tr);return Zt}var r=poolFactory(4,t,e);return r.clone=i,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:o,release:Zt},e=0,i=4,r=createSizedArray(i);function o(){var tr;return e?(e-=1,tr=r[e]):tr=new ShapeCollection,tr}function Zt(tr){var ar,ir=tr._length;for(ar=0;ar<ir;ar+=1)shapePool.release(tr.shapes[ar]);tr._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=tr,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(or,sr,pr){var dr=pr.lastIndex,Pr,Ir,zr,$r,es,hs,ps,os,xs,is=this.keyframes;if(or<is[0].t-this.offsetTime)Pr=is[0].s[0],zr=!0,dr=0;else if(or>=is[is.length-1].t-this.offsetTime)Pr=is[is.length-1].s?is[is.length-1].s[0]:is[is.length-2].e[0],zr=!0;else{for(var cs=dr,Ar=is.length-1,Tr=!0,yr,Mr,Ur;Tr&&(yr=is[cs],Mr=is[cs+1],!(Mr.t-this.offsetTime>or));)cs<Ar-1?cs+=1:Tr=!1;if(Ur=this.keyframesMetadata[cs]||{},zr=yr.h===1,dr=cs,!zr){if(or>=Mr.t-this.offsetTime)os=1;else if(or<yr.t-this.offsetTime)os=0;else{var jr;Ur.__fnct?jr=Ur.__fnct:(jr=BezierFactory.getBezierEasing(yr.o.x,yr.o.y,yr.i.x,yr.i.y).get,Ur.__fnct=jr),os=jr((or-(yr.t-this.offsetTime))/(Mr.t-this.offsetTime-(yr.t-this.offsetTime)))}Ir=Mr.s?Mr.s[0]:yr.e[0]}Pr=yr.s[0]}for(hs=sr._length,ps=Pr.i[0].length,pr.lastIndex=dr,$r=0;$r<hs;$r+=1)for(es=0;es<ps;es+=1)xs=zr?Pr.i[$r][es]:Pr.i[$r][es]+(Ir.i[$r][es]-Pr.i[$r][es])*os,sr.i[$r][es]=xs,xs=zr?Pr.o[$r][es]:Pr.o[$r][es]+(Ir.o[$r][es]-Pr.o[$r][es])*os,sr.o[$r][es]=xs,xs=zr?Pr.v[$r][es]:Pr.v[$r][es]+(Ir.v[$r][es]-Pr.v[$r][es])*os,sr.v[$r][es]=xs}function i(){var or=this.comp.renderedFrame-this.offsetTime,sr=this.keyframes[0].t-this.offsetTime,pr=this.keyframes[this.keyframes.length-1].t-this.offsetTime,dr=this._caching.lastFrame;return dr!==t&&(dr<sr&&or<sr||dr>pr&&or>pr)||(this._caching.lastIndex=dr<or?this._caching.lastIndex:0,this.interpolateShape(or,this.pv,this._caching)),this._caching.lastFrame=or,this.pv}function r(){this.paths=this.localShapeCollection}function o(or,sr){if(or._length!==sr._length||or.c!==sr.c)return!1;var pr,dr=or._length;for(pr=0;pr<dr;pr+=1)if(or.v[pr][0]!==sr.v[pr][0]||or.v[pr][1]!==sr.v[pr][1]||or.o[pr][0]!==sr.o[pr][0]||or.o[pr][1]!==sr.o[pr][1]||or.i[pr][0]!==sr.i[pr][0]||or.i[pr][1]!==sr.i[pr][1])return!1;return!0}function Zt(or){o(this.v,or)||(this.v=shapePool.clone(or),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function tr(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var or;this.kf?or=this.pv:this.data.ks?or=this.data.ks.k:or=this.data.pt.k;var sr,pr=this.effectsSequence.length;for(sr=0;sr<pr;sr+=1)or=this.effectsSequence[sr](or);this.setVValue(or),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ar(or,sr,pr){this.propType="shape",this.comp=or.comp,this.container=or,this.elem=or,this.data=sr,this.k=!1,this.kf=!1,this._mdf=!1;var dr=pr===3?sr.pt.k:sr.ks.k;this.v=shapePool.clone(dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function ir(or){this.effectsSequence.push(or),this.container.addDynamicProperty(this)}ar.prototype.interpolateShape=e,ar.prototype.getValue=tr,ar.prototype.setVValue=Zt,ar.prototype.addEffect=ir;function fr(or,sr,pr){this.propType="shape",this.comp=or.comp,this.elem=or,this.container=or,this.offsetTime=or.data.st,this.keyframes=pr===3?sr.pt.k:sr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var dr=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}fr.prototype.getValue=tr,fr.prototype.interpolateShape=e,fr.prototype.setVValue=Zt,fr.prototype.addEffect=ir;var gr=function(){var or=roundCorner;function sr(pr,dr){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=dr.d,this.elem=pr,this.comp=pr.comp,this.frameId=-1,this.initDynamicPropertyContainer(pr),this.p=PropertyFactory.getProp(pr,dr.p,1,0,this),this.s=PropertyFactory.getProp(pr,dr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return sr.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var pr=this.p.v[0],dr=this.p.v[1],Pr=this.s.v[0]/2,Ir=this.s.v[1]/2,zr=this.d!==3,$r=this.v;$r.v[0][0]=pr,$r.v[0][1]=dr-Ir,$r.v[1][0]=zr?pr+Pr:pr-Pr,$r.v[1][1]=dr,$r.v[2][0]=pr,$r.v[2][1]=dr+Ir,$r.v[3][0]=zr?pr-Pr:pr+Pr,$r.v[3][1]=dr,$r.i[0][0]=zr?pr-Pr*or:pr+Pr*or,$r.i[0][1]=dr-Ir,$r.i[1][0]=zr?pr+Pr:pr-Pr,$r.i[1][1]=dr-Ir*or,$r.i[2][0]=zr?pr+Pr*or:pr-Pr*or,$r.i[2][1]=dr+Ir,$r.i[3][0]=zr?pr-Pr:pr+Pr,$r.i[3][1]=dr+Ir*or,$r.o[0][0]=zr?pr+Pr*or:pr-Pr*or,$r.o[0][1]=dr-Ir,$r.o[1][0]=zr?pr+Pr:pr-Pr,$r.o[1][1]=dr+Ir*or,$r.o[2][0]=zr?pr-Pr*or:pr+Pr*or,$r.o[2][1]=dr+Ir,$r.o[3][0]=zr?pr-Pr:pr+Pr,$r.o[3][1]=dr-Ir*or}},extendPrototype([DynamicPropertyContainer],sr),sr}(),nr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=sr,this.comp=sr.comp,this.data=pr,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),pr.sy===1?(this.ir=PropertyFactory.getProp(sr,pr.ir,0,0,this),this.is=PropertyFactory.getProp(sr,pr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(sr,pr.pt,0,0,this),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,degToRads,this),this.or=PropertyFactory.getProp(sr,pr.or,0,0,this),this.os=PropertyFactory.getProp(sr,pr.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return or.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var sr=Math.floor(this.pt.v)*2,pr=Math.PI*2/sr,dr=!0,Pr=this.or.v,Ir=this.ir.v,zr=this.os.v,$r=this.is.v,es=2*Math.PI*Pr/(sr*2),hs=2*Math.PI*Ir/(sr*2),ps,os,xs,is,cs=-Math.PI/2;cs+=this.r.v;var Ar=this.data.d===3?-1:1;for(this.v._length=0,ps=0;ps<sr;ps+=1){os=dr?Pr:Ir,xs=dr?zr:$r,is=dr?es:hs;var Tr=os*Math.cos(cs),yr=os*Math.sin(cs),Mr=Tr===0&&yr===0?0:yr/Math.sqrt(Tr*Tr+yr*yr),Ur=Tr===0&&yr===0?0:-Tr/Math.sqrt(Tr*Tr+yr*yr);Tr+=+this.p.v[0],yr+=+this.p.v[1],this.v.setTripleAt(Tr,yr,Tr-Mr*is*xs*Ar,yr-Ur*is*xs*Ar,Tr+Mr*is*xs*Ar,yr+Ur*is*xs*Ar,ps,!0),dr=!dr,cs+=pr*Ar}},convertPolygonToPath:function(){var sr=Math.floor(this.pt.v),pr=Math.PI*2/sr,dr=this.or.v,Pr=this.os.v,Ir=2*Math.PI*dr/(sr*4),zr,$r=-Math.PI*.5,es=this.data.d===3?-1:1;for($r+=this.r.v,this.v._length=0,zr=0;zr<sr;zr+=1){var hs=dr*Math.cos($r),ps=dr*Math.sin($r),os=hs===0&&ps===0?0:ps/Math.sqrt(hs*hs+ps*ps),xs=hs===0&&ps===0?0:-hs/Math.sqrt(hs*hs+ps*ps);hs+=+this.p.v[0],ps+=+this.p.v[1],this.v.setTripleAt(hs,ps,hs-os*Ir*Pr*es,ps-xs*Ir*Pr*es,hs+os*Ir*Pr*es,ps+xs*Ir*Pr*es,zr,!0),$r+=pr*es}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],or),or}(),rr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=sr,this.comp=sr.comp,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.s=PropertyFactory.getProp(sr,pr.s,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return or.prototype={convertRectToPath:function(){var sr=this.p.v[0],pr=this.p.v[1],dr=this.s.v[0]/2,Pr=this.s.v[1]/2,Ir=bmMin(dr,Pr,this.r.v),zr=Ir*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,0,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,sr+dr,pr+Pr-Ir,1,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,2,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,sr-dr+Ir,pr+Pr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,4,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,sr-dr,pr-Pr+Ir,5,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,6,!0),this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,sr+dr-Ir,pr-Pr,7,!0)):(this.v.setTripleAt(sr-dr,pr+Pr,sr-dr+zr,pr+Pr,sr-dr,pr+Pr,2),this.v.setTripleAt(sr-dr,pr-Pr,sr-dr,pr-Pr+zr,sr-dr,pr-Pr,3))):(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,sr+dr,pr-Pr+Ir,0,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,sr-dr+Ir,pr-Pr,2,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,sr-dr,pr+Pr-Ir,4,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,5,!0),this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,sr+dr-Ir,pr+Pr,6,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,7,!0)):(this.v.setTripleAt(sr-dr,pr-Pr,sr-dr+zr,pr-Pr,sr-dr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr,pr+Pr,sr-dr,pr+Pr-zr,sr-dr,pr+Pr,2,!0),this.v.setTripleAt(sr+dr,pr+Pr,sr+dr-zr,pr+Pr,sr+dr,pr+Pr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],or),or}();function vr(or,sr,pr){var dr;if(pr===3||pr===4){var Pr=pr===3?sr.pt:sr.ks,Ir=Pr.k;Ir.length?dr=new fr(or,sr,pr):dr=new ar(or,sr,pr)}else pr===5?dr=new rr(or,sr):pr===6?dr=new gr(or,sr):pr===7&&(dr=new nr(or,sr));return dr.k&&or.addDynamicProperty(dr),dr}function cr(){return ar}function ur(){return fr}var Er={};return Er.getShapeProp=vr,Er.getConstructorFunction=cr,Er.getKeyframedConstructorFunction=ur,Er}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Zt(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function tr(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(1,0,0,0,0,Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1)}function ar(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,0,Ur,0,0,1,0,0,-Ur,0,Mr,0,0,0,0,1)}function ir(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function fr(yr,Mr){return this._t(1,Mr,yr,1,0,0)}function gr(yr,Mr){return this.shear(i(yr),i(Mr))}function nr(yr,Mr){var Ur=t(Mr),jr=e(Mr);return this._t(Ur,jr,0,0,-jr,Ur,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(yr),1,0,0,0,0,1,0,0,0,0,1)._t(Ur,-jr,0,0,jr,Ur,0,0,0,0,1,0,0,0,0,1)}function rr(yr,Mr,Ur){return!Ur&&Ur!==0&&(Ur=1),yr===1&&Mr===1&&Ur===1?this:this._t(yr,0,0,0,0,Mr,0,0,0,0,Ur,0,0,0,0,1)}function vr(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){return this.props[0]=yr,this.props[1]=Mr,this.props[2]=Ur,this.props[3]=jr,this.props[4]=Vs,this.props[5]=Ts,this.props[6]=Ns,this.props[7]=Bs,this.props[8]=Ys,this.props[9]=Hs,this.props[10]=Qs,this.props[11]=na,this.props[12]=ra,this.props[13]=$s,this.props[14]=sa,this.props[15]=Rs,this}function cr(yr,Mr,Ur){return Ur=Ur||0,yr!==0||Mr!==0||Ur!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,yr,Mr,Ur,1):this}function ur(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){var Ms=this.props;if(yr===1&&Mr===0&&Ur===0&&jr===0&&Vs===0&&Ts===1&&Ns===0&&Bs===0&&Ys===0&&Hs===0&&Qs===1&&na===0)return Ms[12]=Ms[12]*yr+Ms[15]*ra,Ms[13]=Ms[13]*Ts+Ms[15]*$s,Ms[14]=Ms[14]*Qs+Ms[15]*sa,Ms[15]*=Rs,this._identityCalculated=!1,this;var ua=Ms[0],ka=Ms[1],ya=Ms[2],la=Ms[3],_a=Ms[4],ca=Ms[5],aa=Ms[6],da=Ms[7],js=Ms[8],Us=Ms[9],qs=Ms[10],ta=Ms[11],ga=Ms[12],Ha=Ms[13],Na=Ms[14],Ka=Ms[15];return Ms[0]=ua*yr+ka*Vs+ya*Ys+la*ra,Ms[1]=ua*Mr+ka*Ts+ya*Hs+la*$s,Ms[2]=ua*Ur+ka*Ns+ya*Qs+la*sa,Ms[3]=ua*jr+ka*Bs+ya*na+la*Rs,Ms[4]=_a*yr+ca*Vs+aa*Ys+da*ra,Ms[5]=_a*Mr+ca*Ts+aa*Hs+da*$s,Ms[6]=_a*Ur+ca*Ns+aa*Qs+da*sa,Ms[7]=_a*jr+ca*Bs+aa*na+da*Rs,Ms[8]=js*yr+Us*Vs+qs*Ys+ta*ra,Ms[9]=js*Mr+Us*Ts+qs*Hs+ta*$s,Ms[10]=js*Ur+Us*Ns+qs*Qs+ta*sa,Ms[11]=js*jr+Us*Bs+qs*na+ta*Rs,Ms[12]=ga*yr+Ha*Vs+Na*Ys+Ka*ra,Ms[13]=ga*Mr+Ha*Ts+Na*Hs+Ka*$s,Ms[14]=ga*Ur+Ha*Ns+Na*Qs+Ka*sa,Ms[15]=ga*jr+Ha*Bs+Na*na+Ka*Rs,this._identityCalculated=!1,this}function Er(yr){var Mr=yr.props;return this.transform(Mr[0],Mr[1],Mr[2],Mr[3],Mr[4],Mr[5],Mr[6],Mr[7],Mr[8],Mr[9],Mr[10],Mr[11],Mr[12],Mr[13],Mr[14],Mr[15])}function or(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function sr(yr){for(var Mr=0;Mr<16;){if(yr.props[Mr]!==this.props[Mr])return!1;Mr+=1}return!0}function pr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)yr.props[Mr]=this.props[Mr];return yr}function dr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)this.props[Mr]=yr[Mr]}function Pr(yr,Mr,Ur){return{x:yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],y:yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],z:yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}}function Ir(yr,Mr,Ur){return yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12]}function zr(yr,Mr,Ur){return yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13]}function $r(yr,Mr,Ur){return yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}function es(){var yr=this.props[0]*this.props[5]-this.props[1]*this.props[4],Mr=this.props[5]/yr,Ur=-this.props[1]/yr,jr=-this.props[4]/yr,Vs=this.props[0]/yr,Ts=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/yr,Ns=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/yr,Bs=new Matrix;return Bs.props[0]=Mr,Bs.props[1]=Ur,Bs.props[4]=jr,Bs.props[5]=Vs,Bs.props[12]=Ts,Bs.props[13]=Ns,Bs}function hs(yr){var Mr=this.getInverseMatrix();return Mr.applyToPointArray(yr[0],yr[1],yr[2]||0)}function ps(yr){var Mr,Ur=yr.length,jr=[];for(Mr=0;Mr<Ur;Mr+=1)jr[Mr]=hs(yr[Mr]);return jr}function os(yr,Mr,Ur){var jr=createTypedArray("float32",6);if(this.isIdentity())jr[0]=yr[0],jr[1]=yr[1],jr[2]=Mr[0],jr[3]=Mr[1],jr[4]=Ur[0],jr[5]=Ur[1];else{var Vs=this.props[0],Ts=this.props[1],Ns=this.props[4],Bs=this.props[5],Ys=this.props[12],Hs=this.props[13];jr[0]=yr[0]*Vs+yr[1]*Ns+Ys,jr[1]=yr[0]*Ts+yr[1]*Bs+Hs,jr[2]=Mr[0]*Vs+Mr[1]*Ns+Ys,jr[3]=Mr[0]*Ts+Mr[1]*Bs+Hs,jr[4]=Ur[0]*Vs+Ur[1]*Ns+Ys,jr[5]=Ur[0]*Ts+Ur[1]*Bs+Hs}return jr}function xs(yr,Mr,Ur){var jr;return this.isIdentity()?jr=[yr,Mr,Ur]:jr=[yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]],jr}function is(yr,Mr){if(this.isIdentity())return yr+","+Mr;var Ur=this.props;return Math.round((yr*Ur[0]+Mr*Ur[4]+Ur[12])*100)/100+","+Math.round((yr*Ur[1]+Mr*Ur[5]+Ur[13])*100)/100}function cs(){for(var yr=0,Mr=this.props,Ur="matrix3d(",jr=1e4;yr<16;)Ur+=r(Mr[yr]*jr)/jr,Ur+=yr===15?")":",",yr+=1;return Ur}function Ar(yr){var Mr=1e4;return yr<1e-6&&yr>0||yr>-1e-6&&yr<0?r(yr*Mr)/Mr:yr}function Tr(){var yr=this.props,Mr=Ar(yr[0]),Ur=Ar(yr[1]),jr=Ar(yr[4]),Vs=Ar(yr[5]),Ts=Ar(yr[12]),Ns=Ar(yr[13]);return"matrix("+Mr+","+Ur+","+jr+","+Vs+","+Ts+","+Ns+")"}return function(){this.reset=o,this.rotate=Zt,this.rotateX=tr,this.rotateY=ar,this.rotateZ=ir,this.skew=gr,this.skewFromAxis=nr,this.shear=fr,this.scale=rr,this.setTransform=vr,this.translate=cr,this.transform=ur,this.multiply=Er,this.applyToPoint=Pr,this.applyToX=Ir,this.applyToY=zr,this.applyToZ=$r,this.applyToPointArray=xs,this.applyToTriplePoints=os,this.applyToPointStringified=is,this.toCSS=cs,this.to2dCSS=Tr,this.clone=pr,this.cloneFromProps=dr,this.equals=sr,this.inversePoints=ps,this.inversePoint=hs,this.getInverseMatrix=es,this._t=this.transform,this.isIdentity=or,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(e){return typeof e}:_typeof$3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)}function inBrowser(){return typeof navigator<"u"}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("&"),i=0;i<e.length;i+=1){var r=e[i].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{!((typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=i,t.getModifier=r;function i(o,Zt){e[o]||(e[o]=Zt)}function r(o,Zt,tr){return new e[o](Zt,tr)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,r,o){var Zt=[];e<=1?Zt.push({s:t,e}):t>=1?Zt.push({s:t-1,e:e-1}):(Zt.push({s:t,e:1}),Zt.push({s:0,e:e-1}));var tr=[],ar,ir=Zt.length,fr;for(ar=0;ar<ir;ar+=1)if(fr=Zt[ar],!(fr.e*o<r||fr.s*o>r+i)){var gr,nr;fr.s*o<=r?gr=0:gr=(fr.s*o-r)/i,fr.e*o>=r+i?nr=1:nr=(fr.e*o-r)/i,tr.push([gr,nr])}return tr.length||tr.push([0,0]),tr},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?e=1+r:this.s.v<0?e=0+r:e=this.s.v+r,this.e.v>1?i=1+r:this.e.v<0?i=0+r:i=this.e.v+r,e>i){var o=e;e=i,i=o}e=Math.round(e*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var Zt,tr,ar=this.shapes.length,ir,fr,gr,nr,rr,vr=0;if(i===e)for(tr=0;tr<ar;tr+=1)this.shapes[tr].localShapeCollection.releaseShapes(),this.shapes[tr].shape._mdf=!0,this.shapes[tr].shape.paths=this.shapes[tr].localShapeCollection,this._mdf&&(this.shapes[tr].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(tr=0;tr<ar;tr+=1)this.shapes[tr].pathsData.length=0,this.shapes[tr].shape._mdf=!0}else{var cr=[],ur,Er;for(tr=0;tr<ar;tr+=1)if(ur=this.shapes[tr],!ur.shape._mdf&&!this._mdf&&!t&&this.m!==2)ur.shape.paths=ur.localShapeCollection;else{if(Zt=ur.shape.paths,fr=Zt._length,rr=0,!ur.shape._mdf&&ur.pathsData.length)rr=ur.totalShapeLength;else{for(gr=this.releasePathsData(ur.pathsData),ir=0;ir<fr;ir+=1)nr=bez.getSegmentsLength(Zt.shapes[ir]),gr.push(nr),rr+=nr.totalLength;ur.totalShapeLength=rr,ur.pathsData=gr}vr+=rr,ur.shape._mdf=!0}var or=e,sr=i,pr=0,dr;for(tr=ar-1;tr>=0;tr-=1)if(ur=this.shapes[tr],ur.shape._mdf){for(Er=ur.localShapeCollection,Er.releaseShapes(),this.m===2&&ar>1?(dr=this.calculateShapeEdges(e,i,ur.totalShapeLength,pr,vr),pr+=ur.totalShapeLength):dr=[[or,sr]],fr=dr.length,ir=0;ir<fr;ir+=1){or=dr[ir][0],sr=dr[ir][1],cr.length=0,sr<=1?cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength*sr}):or>=1?cr.push({s:ur.totalShapeLength*(or-1),e:ur.totalShapeLength*(sr-1)}):(cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength}),cr.push({s:0,e:ur.totalShapeLength*(sr-1)}));var Pr=this.addShapes(ur,cr[0]);if(cr[0].s!==cr[0].e){if(cr.length>1){var Ir=ur.shape.paths.shapes[ur.shape.paths._length-1];if(Ir.c){var zr=Pr.pop();this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1],zr)}else this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1])}this.addPaths(Pr,Er)}}ur.shape.paths=Er}}},TrimModifier.prototype.addPaths=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,r,o,Zt,tr){o.setXYAt(e[0],e[1],"o",Zt),o.setXYAt(i[0],i[1],"i",Zt+1),tr&&o.setXYAt(t[0],t[1],"v",Zt),o.setXYAt(r[0],r[1],"v",Zt+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,r){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),r&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var r=t.pathsData,o=t.shape.paths.shapes,Zt,tr=t.shape.paths._length,ar,ir,fr=0,gr,nr,rr,vr,cr=[],ur,Er=!0;for(i?(nr=i._length,ur=i._length):(i=shapePool.newElement(),nr=0,ur=0),cr.push(i),Zt=0;Zt<tr;Zt+=1){for(rr=r[Zt].lengths,i.c=o[Zt].c,ir=o[Zt].c?rr.length:rr.length+1,ar=1;ar<ir;ar+=1)if(gr=rr[ar-1],fr+gr.addedLength<e.s)fr+=gr.addedLength,i.c=!1;else if(fr>e.e){i.c=!1;break}else e.s<=fr&&e.e>=fr+gr.addedLength?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[ar],o[Zt].v[ar],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[ar],o[Zt].o[ar-1],o[Zt].i[ar],(e.s-fr)/gr.addedLength,(e.e-fr)/gr.addedLength,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1),fr+=gr.addedLength,nr+=1;if(o[Zt].c&&rr.length){if(gr=rr[ar-1],fr<=e.e){var or=rr[ar-1].addedLength;e.s<=fr&&e.e>=fr+or?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[0],o[Zt].v[0],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[0],o[Zt].o[ar-1],o[Zt].i[0],(e.s-fr)/or,(e.e-fr)/or,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1)}else i.c=!1;fr+=gr.addedLength,nr+=1}if(i._length&&(i.setXYAt(i.v[ur][0],i.v[ur][1],"i",ur),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),fr>e.e)break;Zt<tr-1&&(i=shapePool.newElement(),Er=!0,cr.push(i),nr=0)}return cr};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,r=[0,0],o=t._length,Zt=0;for(Zt=0;Zt<o;Zt+=1)r[0]+=t.v[Zt][0],r[1]+=t.v[Zt][1];r[0]/=o,r[1]/=o;var tr=shapePool.newElement();tr.c=t.c;var ar,ir,fr,gr,nr,rr;for(Zt=0;Zt<o;Zt+=1)ar=t.v[Zt][0]+(r[0]-t.v[Zt][0])*i,ir=t.v[Zt][1]+(r[1]-t.v[Zt][1])*i,fr=t.o[Zt][0]+(r[0]-t.o[Zt][0])*-i,gr=t.o[Zt][1]+(r[1]-t.o[Zt][1])*-i,nr=t.i[Zt][0]+(r[0]-t.i[Zt][0])*-i,rr=t.i[Zt][1]+(r[1]-t.i[Zt][1])*-i,tr.setTripleAt(ar,ir,fr,gr,nr,rr,Zt);return tr},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(ir){var fr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||fr,this.a&&ir.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&ir.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&ir.skewFromAxis(-this.sk.v,this.sa.v),this.r?ir.rotate(-this.r.v):ir.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.data.p.s?this.data.p.z?ir.translate(this.px.v,this.py.v,-this.pz.v):ir.translate(this.px.v,this.py.v,0):ir.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(ir){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||ir){var fr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var gr,nr;if(fr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(gr=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/fr,0),nr=this.p.getValueAtTime(this.p.keyframes[0].t/fr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(gr=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/fr,0),nr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/fr,0)):(gr=this.p.pv,nr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/fr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){gr=[],nr=[];var rr=this.px,vr=this.py;rr._caching.lastFrame+rr.offsetTime<=rr.keyframes[0].t?(gr[0]=rr.getValueAtTime((rr.keyframes[0].t+.01)/fr,0),gr[1]=vr.getValueAtTime((vr.keyframes[0].t+.01)/fr,0),nr[0]=rr.getValueAtTime(rr.keyframes[0].t/fr,0),nr[1]=vr.getValueAtTime(vr.keyframes[0].t/fr,0)):rr._caching.lastFrame+rr.offsetTime>=rr.keyframes[rr.keyframes.length-1].t?(gr[0]=rr.getValueAtTime(rr.keyframes[rr.keyframes.length-1].t/fr,0),gr[1]=vr.getValueAtTime(vr.keyframes[vr.keyframes.length-1].t/fr,0),nr[0]=rr.getValueAtTime((rr.keyframes[rr.keyframes.length-1].t-.01)/fr,0),nr[1]=vr.getValueAtTime((vr.keyframes[vr.keyframes.length-1].t-.01)/fr,0)):(gr=[rr.pv,vr.pv],nr[0]=rr.getValueAtTime((rr._caching.lastFrame+rr.offsetTime-.01)/fr,rr.offsetTime),nr[1]=vr.getValueAtTime((vr._caching.lastFrame+vr.offsetTime-.01)/fr,vr.offsetTime))}else nr=t,gr=nr;this.v.rotate(-Math.atan2(gr[1]-nr[1],gr[0]-nr[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 r(){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 o(){}function Zt(ir){this._addDynamicProperty(ir),this.elem.addDynamicProperty(ir),this._isDirty=!0}function tr(ir,fr,gr){if(this.elem=ir,this.frameId=-1,this.propType="transform",this.data=fr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(gr||ir),fr.p&&fr.p.s?(this.px=PropertyFactory.getProp(ir,fr.p.x,0,0,this),this.py=PropertyFactory.getProp(ir,fr.p.y,0,0,this),fr.p.z&&(this.pz=PropertyFactory.getProp(ir,fr.p.z,0,0,this))):this.p=PropertyFactory.getProp(ir,fr.p||{k:[0,0,0]},1,0,this),fr.rx){if(this.rx=PropertyFactory.getProp(ir,fr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(ir,fr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(ir,fr.rz,0,degToRads,this),fr.or.k[0].ti){var nr,rr=fr.or.k.length;for(nr=0;nr<rr;nr+=1)fr.or.k[nr].to=null,fr.or.k[nr].ti=null}this.or=PropertyFactory.getProp(ir,fr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(ir,fr.r||{k:0},0,degToRads,this);fr.sk&&(this.sk=PropertyFactory.getProp(ir,fr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(ir,fr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(ir,fr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(ir,fr.s||{k:[100,100,100]},1,.01,this),fr.o?this.o=PropertyFactory.getProp(ir,fr.o,0,.01,ir):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}tr.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:o},extendPrototype([DynamicPropertyContainer],tr),tr.prototype.addDynamicProperty=Zt,tr.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function ar(ir,fr,gr){return new tr(ir,fr,gr)}return{getTransformProperty:ar}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,r,o,Zt){var tr=Zt?-1:1,ar=r.s.v[0]+(1-r.s.v[0])*(1-o),ir=r.s.v[1]+(1-r.s.v[1])*(1-o);t.translate(r.p.v[0]*tr*o,r.p.v[1]*tr*o,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*tr*o),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(Zt?1/ar:ar,Zt?1/ir:ir),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,r){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,r,o,Zt,tr=!1;if(this._mdf||t){var ar=Math.ceil(this.c.v);if(this._groups.length<ar){for(;this._groups.length<ar;){var ir={it:this.cloneElements(this._elements),ty:"gr"};ir.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,ir),this._groups.splice(0,0,ir),this._currentCopies+=1}this.elem.reloadShapes(),tr=!0}Zt=0;var fr;for(r=0;r<=this._groups.length-1;r+=1){if(fr=Zt<ar,this._groups[r]._render=fr,this.changeGroupRender(this._groups[r].it,fr),!fr){var gr=this.elemsData[r].it,nr=gr[gr.length-1];nr.transform.op.v!==0?(nr.transform.op._mdf=!0,nr.transform.op.v=0):nr.transform.op._mdf=!1}Zt+=1}this._currentCopies=ar;var rr=this.o.v,vr=rr%1,cr=rr>0?Math.floor(rr):Math.ceil(rr),ur=this.pMatrix.props,Er=this.rMatrix.props,or=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var sr=0;if(rr>0){for(;sr<cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),sr+=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,vr,!1),sr+=vr)}else if(rr<0){for(;sr>cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),sr-=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-vr,!0),sr-=vr)}r=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,Zt=this._currentCopies;for(var pr,dr;Zt;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,dr=i.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)*(r/(this._currentCopies-1)),sr!==0){for((r!==0&&o===1||r!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Er[0],Er[1],Er[2],Er[3],Er[4],Er[5],Er[6],Er[7],Er[8],Er[9],Er[10],Er[11],Er[12],Er[13],Er[14],Er[15]),this.matrix.transform(or[0],or[1],or[2],or[3],or[4],or[5],or[6],or[7],or[8],or[9],or[10],or[11],or[12],or[13],or[14],or[15]),this.matrix.transform(ur[0],ur[1],ur[2],ur[3],ur[4],ur[5],ur[6],ur[7],ur[8],ur[9],ur[10],ur[11],ur[12],ur[13],ur[14],ur[15]),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];this.matrix.reset()}else for(this.matrix.reset(),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];sr+=1,Zt-=1,r+=o}}else for(Zt=this._currentCopies,r=0,o=1;Zt;)e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,Zt-=1,r+=o;return tr},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i=shapePool.newElement();i.c=t.c;var r,o=t._length,Zt,tr,ar,ir,fr,gr,nr=0,rr,vr,cr,ur,Er,or;for(r=0;r<o;r+=1)Zt=t.v[r],ar=t.o[r],tr=t.i[r],Zt[0]===ar[0]&&Zt[1]===ar[1]&&Zt[0]===tr[0]&&Zt[1]===tr[1]?(r===0||r===o-1)&&!t.c?(i.setTripleAt(Zt[0],Zt[1],ar[0],ar[1],tr[0],tr[1],nr),nr+=1):(r===0?ir=t.v[o-1]:ir=t.v[r-1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,Er=Zt[0]+(ir[0]-Zt[0])*gr,rr=Er,or=Zt[1]-(Zt[1]-ir[1])*gr,vr=or,cr=rr-(rr-Zt[0])*roundCorner,ur=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1,r===o-1?ir=t.v[0]:ir=t.v[r+1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,cr=Zt[0]+(ir[0]-Zt[0])*gr,rr=cr,ur=Zt[1]+(ir[1]-Zt[1])*gr,vr=ur,Er=rr-(rr-Zt[0])*roundCorner,or=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],nr),nr+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.rd.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(t===0)return[];var r=e*e-4*t*i;if(r<0)return[];var o=-e/(2*t);if(r===0)return[o];var Zt=Math.sqrt(r)/(2*t);return[o-Zt,o+Zt]}function polynomialCoefficients(t,e,i,r){return[-t+3*e-3*i+r,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,r,o){o&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),o&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var Zt=polynomialCoefficients(t[0],e[0],i[0],r[0]),tr=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[Zt[0],tr[0]],this.b=[Zt[1],tr[1]],this.c=[Zt[2],tr[2]],this.d=[Zt[3],tr[3]],this.points=[t,e,i,r]}PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var r=Math.sqrt(i);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter(function(o){return o>0&&o<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),i=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),o=lerpPoint(e,i,t),Zt=lerpPoint(i,r,t),tr=lerpPoint(o,Zt,t);return[new PolynomialBezier(this.points[0],e,o,tr,!0),new PolynomialBezier(tr,Zt,r,this.points[3],!0)]};function extrema(t,e){var i=t.points[0][e],r=t.points[t.points.length-1][e];if(i>r){var o=r;r=i,i=o}for(var Zt=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),tr=0;tr<Zt.length;tr+=1)if(Zt[tr]>0&&Zt[tr]<1){var ar=t.point(Zt[tr])[e];ar<i?i=ar:ar>r&&(r=ar)}return{min:i,max:r}}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,i){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,i,r,o,Zt){if(boxIntersect(t,e)){if(i>=Zt||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){o.push([t.t,e.t]);return}var tr=splitData(t),ar=splitData(e);intersectsImpl(tr[0],ar[0],i+1,r,o,Zt),intersectsImpl(tr[0],ar[1],i+1,r,o,Zt),intersectsImpl(tr[1],ar[0],i+1,r,o,Zt),intersectsImpl(tr[1],ar[1],i+1,r,o,Zt)}}PolynomialBezier.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,i),r},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,r){var o=[t[0],t[1],1],Zt=[e[0],e[1],1],tr=[i[0],i[1],1],ar=[r[0],r[1],1],ir=crossProduct(crossProduct(o,Zt),crossProduct(tr,ar));return floatZero(ir[2])?null:[ir[0]/ir[2],ir[1]/ir[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,r,o,Zt,tr){var ar=i-Math.PI/2,ir=i+Math.PI/2,fr=e[0]+Math.cos(i)*r*o,gr=e[1]-Math.sin(i)*r*o;t.setTripleAt(fr,gr,fr+Math.cos(ar)*Zt,gr-Math.sin(ar)*Zt,fr+Math.cos(ir)*tr,gr-Math.sin(ir)*tr,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,o=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return o}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),o=t.v[i],Zt=t.v[r],tr=getPerpendicularVector(o,Zt);return Math.atan2(0,1)-Math.atan2(tr[1],tr[0])}function zigZagCorner(t,e,i,r,o,Zt,tr){var ar=getProjectingAngle(e,i),ir=e.v[i%e._length],fr=e.v[i===0?e._length-1:i-1],gr=e.v[(i+1)%e._length],nr=Zt===2?Math.sqrt(Math.pow(ir[0]-fr[0],2)+Math.pow(ir[1]-fr[1],2)):0,rr=Zt===2?Math.sqrt(Math.pow(ir[0]-gr[0],2)+Math.pow(ir[1]-gr[1],2)):0;setPoint(t,e.v[i%e._length],ar,tr,r,rr/((o+1)*2),nr/((o+1)*2))}function zigZagSegment(t,e,i,r,o,Zt){for(var tr=0;tr<r;tr+=1){var ar=(tr+1)/(r+1),ir=o===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,fr=e.normalAngle(ar),gr=e.point(ar);setPoint(t,gr,fr,Zt,i,ir/((r+1)*2),ir/((r+1)*2)),Zt=-Zt}return Zt}ZigZagModifier.prototype.processPath=function(t,e,i,r){var o=t._length,Zt=shapePool.newElement();if(Zt.c=t.c,t.c||(o-=1),o===0)return Zt;var tr=-1,ar=PolynomialBezier.shapeSegment(t,0);zigZagCorner(Zt,t,0,e,i,r,tr);for(var ir=0;ir<o;ir+=1)tr=zigZagSegment(Zt,ar,e,i,r,-tr),ir===o-1&&!t.c?ar=null:ar=PolynomialBezier.shapeSegment(t,(ir+1)%o),zigZagCorner(Zt,t,ir+1,e,i,r,tr);return Zt},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amplitude.v,ar=Math.max(0,Math.round(this.frequency.v)),ir=this.pointsType.v;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ar,ir));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(t,e,i){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,i),polarOffset(e,r,i)]}function offsetSegment(t,e){var i,r,o,Zt,tr,ar,ir;ir=linearOffset(t.points[0],t.points[1],e),i=ir[0],r=ir[1],ir=linearOffset(t.points[1],t.points[2],e),o=ir[0],Zt=ir[1],ir=linearOffset(t.points[2],t.points[3],e),tr=ir[0],ar=ir[1];var fr=lineIntersection(i,r,o,Zt);fr===null&&(fr=r);var gr=lineIntersection(tr,ar,o,Zt);return gr===null&&(gr=tr),new PolynomialBezier(i,fr,gr,ar)}function joinLines(t,e,i,r,o){var Zt=e.points[3],tr=i.points[0];if(r===3||pointEqual(Zt,tr))return Zt;if(r===2){var ar=-e.tangentAngle(1),ir=-i.tangentAngle(0)+Math.PI,fr=lineIntersection(Zt,polarOffset(Zt,ar+Math.PI/2,100),tr,polarOffset(tr,ar+Math.PI/2,100)),gr=fr?pointDistance(fr,Zt):pointDistance(Zt,tr)/2,nr=polarOffset(Zt,ar,2*gr*roundCorner);return t.setXYAt(nr[0],nr[1],"o",t.length()-1),nr=polarOffset(tr,ir,2*gr*roundCorner),t.setTripleAt(tr[0],tr[1],tr[0],tr[1],nr[0],nr[1],t.length()),tr}var rr=pointEqual(Zt,e.points[2])?e.points[0]:e.points[2],vr=pointEqual(tr,i.points[1])?i.points[3]:i.points[1],cr=lineIntersection(rr,Zt,tr,vr);return cr&&pointDistance(cr,Zt)<o?(t.setTripleAt(cr[0],cr[1],cr[0],cr[1],cr[0],cr[1],t.length()),cr):Zt}function getIntersection(t,e){var i=t.intersections(e);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),r=e.slice(),o=getIntersection(t[t.length-1],e[0]);return o&&(i[t.length-1]=t[t.length-1].split(o[0])[0],r[0]=e[0].split(o[1])[1]),t.length>1&&e.length>1&&(o=getIntersection(t[0],e[e.length-1]),o)?[[t[0].split(o[0])[0]],[e[e.length-1].split(o[1])[1]]]:[i,r]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i=t.inflectionPoints(),r,o,Zt,tr;if(i.length===0)return[offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return Zt=t.split(i[0]),r=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(o,e)];Zt=t.split(i[0]),r=Zt[0];var ar=(i[1]-i[0])/(1-i[0]);return Zt=Zt[1].split(ar),tr=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(tr,e),offsetSegment(o,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,i,r){var o=shapePool.newElement();o.c=t.c;var Zt=t.length();t.c||(Zt-=1);var tr,ar,ir,fr=[];for(tr=0;tr<Zt;tr+=1)ir=PolynomialBezier.shapeSegment(t,tr),fr.push(offsetSegmentSplit(ir,e));if(!t.c)for(tr=Zt-1;tr>=0;tr-=1)ir=PolynomialBezier.shapeSegmentInverted(t,tr),fr.push(offsetSegmentSplit(ir,e));fr=pruneIntersections(fr);var gr=null,nr=null;for(tr=0;tr<fr.length;tr+=1){var rr=fr[tr];for(nr&&(gr=joinLines(o,nr,rr[0],i,r)),nr=rr[rr.length-1],ar=0;ar<rr.length;ar+=1)ir=rr[ar],gr&&pointEqual(ir.points[0],gr)?o.setXYAt(ir.points[1][0],ir.points[1][1],"o",o.length()-1):o.setTripleAt(ir.points[0][0],ir.points[0][1],ir.points[1][0],ir.points[1][1],ir.points[0][0],ir.points[0][1],o.length()),o.setTripleAt(ir.points[3][0],ir.points[3][1],ir.points[3][0],ir.points[3][1],ir.points[2][0],ir.points[2][1],o.length()),gr=ir.points[3]}return fr.length&&joinLines(o,nr,fr[0][0],i,r),o},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v,ar=this.miterLimit.v,ir=this.lineJoin;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ir,ar));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",o=e.length,Zt,tr=0;tr<o;tr+=1)switch(Zt=e[tr].toLowerCase(),Zt){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:r,weight:t.fWeight||i}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,o=917631,Zt=917601,tr=917626,ar=65039,ir=8205,fr=127462,gr=127487,nr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function rr(Ar){var Tr=Ar.split(","),yr,Mr=Tr.length,Ur=[];for(yr=0;yr<Mr;yr+=1)Tr[yr]!=="sans-serif"&&Tr[yr]!=="monospace"&&Ur.push(Tr[yr]);return Ur.join(",")}function vr(Ar,Tr){var yr=createTag("span");yr.setAttribute("aria-hidden",!0),yr.style.fontFamily=Tr;var Mr=createTag("span");Mr.innerText="giItT1WQy@!-/#",yr.style.position="absolute",yr.style.left="-10000px",yr.style.top="-10000px",yr.style.fontSize="300px",yr.style.fontVariant="normal",yr.style.fontStyle="normal",yr.style.fontWeight="normal",yr.style.letterSpacing="0",yr.appendChild(Mr),document.body.appendChild(yr);var Ur=Mr.offsetWidth;return Mr.style.fontFamily=rr(Ar)+", "+Tr,{node:Mr,w:Ur,parent:yr}}function cr(){var Ar,Tr=this.fonts.length,yr,Mr,Ur=Tr;for(Ar=0;Ar<Tr;Ar+=1)this.fonts[Ar].loaded?Ur-=1:this.fonts[Ar].fOrigin==="n"||this.fonts[Ar].origin===0?this.fonts[Ar].loaded=!0:(yr=this.fonts[Ar].monoCase.node,Mr=this.fonts[Ar].monoCase.w,yr.offsetWidth!==Mr?(Ur-=1,this.fonts[Ar].loaded=!0):(yr=this.fonts[Ar].sansCase.node,Mr=this.fonts[Ar].sansCase.w,yr.offsetWidth!==Mr&&(Ur-=1,this.fonts[Ar].loaded=!0)),this.fonts[Ar].loaded&&(this.fonts[Ar].sansCase.parent.parentNode.removeChild(this.fonts[Ar].sansCase.parent),this.fonts[Ar].monoCase.parent.parentNode.removeChild(this.fonts[Ar].monoCase.parent)));Ur!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function ur(Ar,Tr){var yr=document.body&&Tr?"svg":"canvas",Mr,Ur=getFontProperties(Ar);if(yr==="svg"){var jr=createNS("text");jr.style.fontSize="100px",jr.setAttribute("font-family",Ar.fFamily),jr.setAttribute("font-style",Ur.style),jr.setAttribute("font-weight",Ur.weight),jr.textContent="1",Ar.fClass?(jr.style.fontFamily="inherit",jr.setAttribute("class",Ar.fClass)):jr.style.fontFamily=Ar.fFamily,Tr.appendChild(jr),Mr=jr}else{var Vs=new OffscreenCanvas(500,500).getContext("2d");Vs.font=Ur.style+" "+Ur.weight+" 100px "+Ar.fFamily,Mr=Vs}function Ts(Ns){return yr==="svg"?(Mr.textContent=Ns,Mr.getComputedTextLength()):Mr.measureText(Ns).width}return{measureText:Ts}}function Er(Ar,Tr){if(!Ar){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Ar.list;return}if(!document.body){this.isLoaded=!0,Ar.list.forEach(function(Qs){Qs.helper=ur(Qs),Qs.cache={}}),this.fonts=Ar.list;return}var yr=Ar.list,Mr,Ur=yr.length,jr=Ur;for(Mr=0;Mr<Ur;Mr+=1){var Vs=!0,Ts,Ns;if(yr[Mr].loaded=!1,yr[Mr].monoCase=vr(yr[Mr].fFamily,"monospace"),yr[Mr].sansCase=vr(yr[Mr].fFamily,"sans-serif"),!yr[Mr].fPath)yr[Mr].loaded=!0,jr-=1;else if(yr[Mr].fOrigin==="p"||yr[Mr].origin===3){if(Ts=document.querySelectorAll('style[f-forigin="p"][f-family="'+yr[Mr].fFamily+'"], style[f-origin="3"][f-family="'+yr[Mr].fFamily+'"]'),Ts.length>0&&(Vs=!1),Vs){var Bs=createTag("style");Bs.setAttribute("f-forigin",yr[Mr].fOrigin),Bs.setAttribute("f-origin",yr[Mr].origin),Bs.setAttribute("f-family",yr[Mr].fFamily),Bs.type="text/css",Bs.innerText="@font-face {font-family: "+yr[Mr].fFamily+"; font-style: normal; src: url('"+yr[Mr].fPath+"');}",Tr.appendChild(Bs)}}else if(yr[Mr].fOrigin==="g"||yr[Mr].origin===1){for(Ts=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ns=0;Ns<Ts.length;Ns+=1)Ts[Ns].href.indexOf(yr[Mr].fPath)!==-1&&(Vs=!1);if(Vs){var Ys=createTag("link");Ys.setAttribute("f-forigin",yr[Mr].fOrigin),Ys.setAttribute("f-origin",yr[Mr].origin),Ys.type="text/css",Ys.rel="stylesheet",Ys.href=yr[Mr].fPath,document.body.appendChild(Ys)}}else if(yr[Mr].fOrigin==="t"||yr[Mr].origin===2){for(Ts=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ns=0;Ns<Ts.length;Ns+=1)yr[Mr].fPath===Ts[Ns].src&&(Vs=!1);if(Vs){var Hs=createTag("link");Hs.setAttribute("f-forigin",yr[Mr].fOrigin),Hs.setAttribute("f-origin",yr[Mr].origin),Hs.setAttribute("rel","stylesheet"),Hs.setAttribute("href",yr[Mr].fPath),Tr.appendChild(Hs)}}yr[Mr].helper=ur(yr[Mr],Tr),yr[Mr].cache={},this.fonts.push(yr[Mr])}jr===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function or(Ar){if(Ar){this.chars||(this.chars=[]);var Tr,yr=Ar.length,Mr,Ur=this.chars.length,jr;for(Tr=0;Tr<yr;Tr+=1){for(Mr=0,jr=!1;Mr<Ur;)this.chars[Mr].style===Ar[Tr].style&&this.chars[Mr].fFamily===Ar[Tr].fFamily&&this.chars[Mr].ch===Ar[Tr].ch&&(jr=!0),Mr+=1;jr||(this.chars.push(Ar[Tr]),Ur+=1)}}}function sr(Ar,Tr,yr){for(var Mr=0,Ur=this.chars.length;Mr<Ur;){if(this.chars[Mr].ch===Ar&&this.chars[Mr].style===Tr&&this.chars[Mr].fFamily===yr)return this.chars[Mr];Mr+=1}return(typeof Ar=="string"&&Ar.charCodeAt(0)!==13||!Ar)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Ar,Tr,yr)),e}function pr(Ar,Tr,yr){var Mr=this.getFontByName(Tr),Ur=Ar;if(!Mr.cache[Ur]){var jr=Mr.helper;if(Ar===" "){var Vs=jr.measureText("|"+Ar+"|"),Ts=jr.measureText("||");Mr.cache[Ur]=(Vs-Ts)/100}else Mr.cache[Ur]=jr.measureText(Ar)/100}return Mr.cache[Ur]*yr}function dr(Ar){for(var Tr=0,yr=this.fonts.length;Tr<yr;){if(this.fonts[Tr].fName===Ar)return this.fonts[Tr];Tr+=1}return this.fonts[0]}function Pr(Ar){var Tr=0,yr=Ar.charCodeAt(0);if(yr>=55296&&yr<=56319){var Mr=Ar.charCodeAt(1);Mr>=56320&&Mr<=57343&&(Tr=(yr-55296)*1024+Mr-56320+65536)}return Tr}function Ir(Ar,Tr){var yr=Ar.toString(16)+Tr.toString(16);return nr.indexOf(yr)!==-1}function zr(Ar){return Ar===ir}function $r(Ar){return Ar===ar}function es(Ar){var Tr=Pr(Ar);return Tr>=fr&&Tr<=gr}function hs(Ar){return es(Ar.substr(0,2))&&es(Ar.substr(2,2))}function ps(Ar){return i.indexOf(Ar)!==-1}function os(Ar,Tr){var yr=Pr(Ar.substr(Tr,2));if(yr!==r)return!1;var Mr=0;for(Tr+=2;Mr<5;){if(yr=Pr(Ar.substr(Tr,2)),yr<Zt||yr>tr)return!1;Mr+=1,Tr+=2}return Pr(Ar.substr(Tr,2))===o}function xs(){this.isLoaded=!0}var is=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)};is.isModifier=Ir,is.isZeroWidthJoiner=zr,is.isFlagEmoji=hs,is.isRegionalCode=es,is.isCombinedCharacter=ps,is.isRegionalFlag=os,is.isVariationSelector=$r,is.BLACK_FLAG_CODE_POINT=r;var cs={addChars:or,addFonts:Er,getCharData:sr,getFontByName:dr,measureText:pr,checkLoadedFonts:cr,setIsLoaded:xs};return is.prototype=cs,is}();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(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];var r,o=i.length,Zt;for(r=0;r<o;r+=1)Zt=new GroupEffect(i[r],e),this.effectElements.push(Zt)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o,Zt=this.data.ef;for(i=0;i<r;i+=1){switch(o=null,Zt[i].ty){case 0:o=new SliderEffect(Zt[i],e,this);break;case 1:o=new AngleEffect(Zt[i],e,this);break;case 2:o=new ColorEffect(Zt[i],e,this);break;case 3:o=new PointEffect(Zt[i],e,this);break;case 4:case 7:o=new CheckboxEffect(Zt[i],e,this);break;case 10:o=new LayerIndexEffect(Zt[i],e,this);break;case 11:o=new MaskIndexEffect(Zt[i],e,this);break;case 5:o=new EffectsManager(Zt[i],e);break;default:o=new NoValueEffect(Zt[i]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),i=t("effects"),r=t("shape"),o=t("text"),Zt=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var tr=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(tr),this.data.ty===0||this.data.xt?this.compInterface=Zt(this):this.data.ty===4?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=o(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(e||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.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,i=this.layers.length,r;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,r,o=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<o;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){for(var r=this.elements,o=this.layers,Zt=0,tr=o.length;Zt<tr;)o[Zt].ind==e&&(!r[Zt]||r[Zt]===!0?(this.buildItem(Zt),this.addPendingElement(t)):(i.push(r[Zt]),r[Zt].setAsParent(),o[Zt].parent!==void 0?this.buildElementParenting(t,o[Zt].parent,i):t.setHierarchy(i))),Zt+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.nm===e){i=this.elements[r];break}}return t.length===0?i:i.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<r;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;i.multiply(r)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var o=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)o*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=o}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,Zt=e.length,tr;for(o=0;o<Zt;o+=1)tr=e[o].mat.applyToPointArray(0,0,0),t=[t[0]-tr[0],t[1]-tr[1],0];return t},mHelper:new Matrix};function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,o,Zt=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(Zt),this.solidPath="";var tr,ar=this.masksProperties,ir=0,fr=[],gr,nr,rr=createElementID(),vr,cr,ur,Er,or="clipPath",sr="clip-path";for(o=0;o<Zt;o+=1)if((ar[o].mode!=="a"&&ar[o].mode!=="n"||ar[o].inv||ar[o].o.k!==100||ar[o].o.x)&&(or="mask",sr="mask"),(ar[o].mode==="s"||ar[o].mode==="i")&&ir===0?(vr=createNS("rect"),vr.setAttribute("fill","#ffffff"),vr.setAttribute("width",this.element.comp.data.w||0),vr.setAttribute("height",this.element.comp.data.h||0),fr.push(vr)):vr=null,tr=createNS("path"),ar[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),elem:tr,lastPath:""},r.appendChild(tr);else{ir+=1,tr.setAttribute("fill",ar[o].mode==="s"?"#000000":"#ffffff"),tr.setAttribute("clip-rule","nonzero");var pr;if(ar[o].x.k!==0?(or="mask",sr="mask",Er=PropertyFactory.getProp(this.element,ar[o].x,0,null,this.element),pr=createElementID(),cr=createNS("filter"),cr.setAttribute("id",pr),ur=createNS("feMorphology"),ur.setAttribute("operator","erode"),ur.setAttribute("in","SourceGraphic"),ur.setAttribute("radius","0"),cr.appendChild(ur),r.appendChild(cr),tr.setAttribute("stroke",ar[o].mode==="s"?"#000000":"#ffffff")):(ur=null,Er=null),this.storedData[o]={elem:tr,x:Er,expan:ur,lastPath:"",lastOperator:"",filterId:pr,lastRadius:0},ar[o].mode==="i"){nr=fr.length;var dr=createNS("g");for(gr=0;gr<nr;gr+=1)dr.appendChild(fr[gr]);var Pr=createNS("mask");Pr.setAttribute("mask-type","alpha"),Pr.setAttribute("id",rr+"_"+ir),Pr.appendChild(tr),r.appendChild(Pr),dr.setAttribute("mask","url("+getLocationHref()+"#"+rr+"_"+ir+")"),fr.length=0,fr.push(dr)}else fr.push(tr);ar[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:tr,lastPath:"",op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),invRect:vr},this.viewData[o].prop.k||this.drawPath(ar[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(or),Zt=fr.length,o=0;o<Zt;o+=1)this.maskElement.appendChild(fr[o]);ir>0&&(this.maskElement.setAttribute("id",rr),this.element.maskedElement.setAttribute(sr,"url("+getLocationHref()+"#"+rr+")"),r.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,i,r=this.masksProperties.length;for(i=0;i<r;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var o=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),o.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,i){var r=" M"+e.v[0][0]+","+e.v[0][1],o,Zt;for(Zt=e._length,o=1;o<Zt;o+=1)r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[o][0]+","+e.i[o][1]+" "+e.v[o][0]+","+e.v[o][1];if(e.c&&Zt>1&&(r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var tr="";i.elem&&(e.c&&(tr=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",tr)),i.lastPath=r}},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=i;function e(r,o){var Zt=createNS("filter");return Zt.setAttribute("id",r),o!==!0&&(Zt.setAttribute("filterUnits","objectBoundingBox"),Zt.setAttribute("x","0%"),Zt.setAttribute("y","0%"),Zt.setAttribute("width","100%"),Zt.setAttribute("height","100%")),Zt}function i(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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={},idPrefix="filter_result_";function SVGEffects(t){var e,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),Zt=filtersFactory.createFilter(o,!0),tr=0;this.filters=[];var ar;for(e=0;e<r;e+=1){ar=null;var ir=t.data.ef[e].ty;if(registeredEffects[ir]){var fr=registeredEffects[ir].effect;ar=new fr(Zt,t.effectsManager.effectElements[e],t,idPrefix+tr,i),i=idPrefix+tr,registeredEffects[ir].countsAsEffect&&(tr+=1)}ar&&this.filters.push(ar)}tr&&(t.globalData.defs.appendChild(Zt),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function registerEffect(t,e,i){registeredEffects[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var o=createElementID();if(i.setAttribute("id",o),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var Zt=createNS("g");Zt.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),Zt.appendChild(this.layerElement),this.transformedElement=Zt,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,r,o,Zt;if(t===1||t===3){var tr=createNS("mask");tr.setAttribute("id",e),tr.setAttribute("mask-type",t===3?"luminance":"alpha"),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tr.appendChild(o),this.globalData.defs.appendChild(tr),!featureSupport.maskType&&t===1&&(tr.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),Zt.appendChild(o),tr.appendChild(Zt),Zt.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var ar=createNS("mask");ar.setAttribute("id",e),ar.setAttribute("mask-type","alpha");var ir=createNS("g");ar.appendChild(ir),i=createElementID(),r=filtersFactory.createFilter(i);var fr=createNS("feComponentTransfer");fr.setAttribute("in","SourceGraphic"),r.appendChild(fr);var gr=createNS("feFuncA");gr.setAttribute("type","table"),gr.setAttribute("tableValues","1.0 0.0"),fr.appendChild(gr),this.globalData.defs.appendChild(r);var nr=createNS("rect");nr.setAttribute("width",this.comp.data.w),nr.setAttribute("height",this.comp.data.h),nr.setAttribute("x","0"),nr.setAttribute("y","0"),nr.setAttribute("fill","#ffffff"),nr.setAttribute("opacity","0"),ir.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),ir.appendChild(nr),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ir.appendChild(o),featureSupport.maskType||(ar.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),ir.appendChild(nr),Zt.appendChild(this.layerElement),ir.appendChild(Zt)),this.globalData.defs.appendChild(ar)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(e,i,r){this.initFrame(),this.initBaseData(e,i,r),this.initTransform(e,i,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,i=this.shapeModifiers.length;e<i;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var i;for(t=e-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,r=e.length;i<r;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,r=i.length;r;)if(r-=1,i[r].elem===t){i[r].pos=e;return}i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var r=0,o=t.length;r<o;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,i,r){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,Zt=e.length||0,tr;for(o=0;o<Zt;o+=1)tr=PropertyFactory.getProp(t,e[o].v,0,0,this),this.k=tr.k||this.k,this.dataProps[o]={n:e[o].n,p:tr};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<i;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var r=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,r=this.o.length/2,o;i<r;){if(o=Math.abs(t[i*4]-t[e*4+i*2]),o>.01)return!1;i+=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;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i=this.data.p*4,r,o;for(e=0;e<i;e+=1)r=e%4===0?100:255,o=Math.round(this.prop.v[e]*r),this.c[e]!==o&&(this.c[e]=o,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)r=e%2===0?100:1,o=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==o&&(this.o[e-this.data.p*4]=o,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),r=createNS(e.t===1?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var o=[],Zt,tr,ar;for(ar=e.g.p*4,tr=0;tr<ar;tr+=4)Zt=createNS("stop"),r.appendChild(Zt),o.push(Zt);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,o,Zt=createNS("mask"),tr=createNS("path");Zt.appendChild(tr);var ar=createElementID(),ir=createElementID();Zt.setAttribute("id",ir);var fr=createNS(t.t===1?"linearGradient":"radialGradient");fr.setAttribute("id",ar),fr.setAttribute("spreadMethod","pad"),fr.setAttribute("gradientUnits","userSpaceOnUse"),o=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var gr=this.stops;for(r=t.g.p*4;r<o;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),fr.appendChild(i),gr.push(i);tr.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+ar+")"),t.ty==="gs"&&(tr.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),tr.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&tr.setAttribute("stroke-miterlimit",t.ml)),this.of=fr,this.ms=Zt,this.ost=gr,this.maskId=ir,e.msElem=tr}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,e,i,r){if(e===0)return"";var o=t.o,Zt=t.i,tr=t.v,ar,ir=" M"+r.applyToPointStringified(tr[0][0],tr[0][1]);for(ar=1;ar<e;ar+=1)ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[ar][0],Zt[ar][1])+" "+r.applyToPointStringified(tr[ar][0],tr[ar][1]);return i&&e&&(ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[0][0],Zt[0][1])+" "+r.applyToPointStringified(tr[0][0],tr[0][1]),ir+="z"),ir},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(nr){switch(nr.ty){case"fl":return ar;case"gf":return fr;case"gs":return ir;case"st":return gr;case"sh":case"el":case"rc":case"sr":return tr;case"tr":return o;case"no":return Zt;default:return null}}function o(nr,rr,vr){(vr||rr.transform.op._mdf)&&rr.transform.container.setAttribute("opacity",rr.transform.op.v),(vr||rr.transform.mProps._mdf)&&rr.transform.container.setAttribute("transform",rr.transform.mProps.v.to2dCSS())}function Zt(){}function tr(nr,rr,vr){var cr,ur,Er,or,sr,pr,dr=rr.styles.length,Pr=rr.lvl,Ir,zr,$r,es;for(pr=0;pr<dr;pr+=1){if(or=rr.sh._mdf||vr,rr.styles[pr].lvl<Pr){for(zr=e.reset(),$r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;!or&&$r>0;)or=rr.transformers[es].mProps._mdf||or,$r-=1,es-=1;if(or)for($r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;$r>0;)zr.multiply(rr.transformers[es].mProps.v),$r-=1,es-=1}else zr=t;if(Ir=rr.sh.paths,ur=Ir._length,or){for(Er="",cr=0;cr<ur;cr+=1)sr=Ir.shapes[cr],sr&&sr._length&&(Er+=buildShapeString(sr,sr._length,sr.c,zr));rr.caches[pr]=Er}else Er=rr.caches[pr];rr.styles[pr].d+=nr.hd===!0?"":Er,rr.styles[pr]._mdf=or||rr.styles[pr]._mdf}}function ar(nr,rr,vr){var cr=rr.style;(rr.c._mdf||vr)&&cr.pElem.setAttribute("fill","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("fill-opacity",rr.o.v)}function ir(nr,rr,vr){fr(nr,rr,vr),gr(nr,rr,vr)}function fr(nr,rr,vr){var cr=rr.gf,ur=rr.g._hasOpacity,Er=rr.s.v,or=rr.e.v;if(rr.o._mdf||vr){var sr=nr.ty==="gf"?"fill-opacity":"stroke-opacity";rr.style.pElem.setAttribute(sr,rr.o.v)}if(rr.s._mdf||vr){var pr=nr.t===1?"x1":"cx",dr=pr==="x1"?"y1":"cy";cr.setAttribute(pr,Er[0]),cr.setAttribute(dr,Er[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute(pr,Er[0]),rr.of.setAttribute(dr,Er[1]))}var Pr,Ir,zr,$r;if(rr.g._cmdf||vr){Pr=rr.cst;var es=rr.g.c;for(zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],$r.setAttribute("offset",es[Ir*4]+"%"),$r.setAttribute("stop-color","rgb("+es[Ir*4+1]+","+es[Ir*4+2]+","+es[Ir*4+3]+")")}if(ur&&(rr.g._omdf||vr)){var hs=rr.g.o;for(rr.g._collapsable?Pr=rr.cst:Pr=rr.ost,zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],rr.g._collapsable||$r.setAttribute("offset",hs[Ir*2]+"%"),$r.setAttribute("stop-opacity",hs[Ir*2+1])}if(nr.t===1)(rr.e._mdf||vr)&&(cr.setAttribute("x2",or[0]),cr.setAttribute("y2",or[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute("x2",or[0]),rr.of.setAttribute("y2",or[1])));else{var ps;if((rr.s._mdf||rr.e._mdf||vr)&&(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)),cr.setAttribute("r",ps),ur&&!rr.g._collapsable&&rr.of.setAttribute("r",ps)),rr.e._mdf||rr.h._mdf||rr.a._mdf||vr){ps||(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)));var os=Math.atan2(or[1]-Er[1],or[0]-Er[0]),xs=rr.h.v;xs>=1?xs=.99:xs<=-1&&(xs=-.99);var is=ps*xs,cs=Math.cos(os+rr.a.v)*is+Er[0],Ar=Math.sin(os+rr.a.v)*is+Er[1];cr.setAttribute("fx",cs),cr.setAttribute("fy",Ar),ur&&!rr.g._collapsable&&(rr.of.setAttribute("fx",cs),rr.of.setAttribute("fy",Ar))}}}function gr(nr,rr,vr){var cr=rr.style,ur=rr.d;ur&&(ur._mdf||vr)&&ur.dashStr&&(cr.pElem.setAttribute("stroke-dasharray",ur.dashStr),cr.pElem.setAttribute("stroke-dashoffset",ur.dashoffset[0])),rr.c&&(rr.c._mdf||vr)&&cr.pElem.setAttribute("stroke","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("stroke-opacity",rr.o.v),(rr.w._mdf||vr)&&(cr.pElem.setAttribute("stroke-width",rr.w.v),cr.msElem&&cr.msElem.setAttribute("stroke-width",rr.w.v))}return i}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),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,i,r,o=this.stylesList.length,Zt,tr=[],ar=!1;for(r=0;r<o;r+=1){for(Zt=this.stylesList[r],ar=!1,tr.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(Zt)!==-1&&(tr.push(i),ar=i._isAnimated||ar);tr.length>1&&ar&&this.setShapesAsAnimated(tr)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,r=new SVGStyleData(t,e),o=r.pElem;if(t.ty==="st")i=new SVGStrokeStyleData(this,t,r);else if(t.ty==="fl")i=new SVGFillStyleData(this,t,r);else if(t.ty==="gf"||t.ty==="gs"){var Zt=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new Zt(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),o.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return(t.ty==="st"||t.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),o.setAttribute("fill-opacity","0"),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&o.setAttribute("fill-rule","evenodd"),t.ln&&o.setAttribute("id",t.ln),t.cl&&o.setAttribute("class",t.cl),t.bm&&(o.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var r=4;t.ty==="rc"?r=5:t.ty==="el"?r=6:t.ty==="sr"&&(r=7);var o=ShapePropertyFactory.getShapeProp(this,t,r,this),Zt=new SVGShapeData(e,i,o);return this.shapes.push(Zt),this.addShapeToModifiers(Zt),this.addToAnimatedContents(t,Zt),Zt},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,i,r=this.stylesList.length;for(i=0;i<r;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,r,o,Zt,tr){var ar=[].concat(Zt),ir,fr=t.length-1,gr,nr,rr=[],vr=[],cr,ur,Er;for(ir=fr;ir>=0;ir-=1){if(Er=this.searchProcessedElement(t[ir]),Er?e[ir]=i[Er-1]:t[ir]._render=tr,t[ir].ty==="fl"||t[ir].ty==="st"||t[ir].ty==="gf"||t[ir].ty==="gs"||t[ir].ty==="no")Er?e[ir].style.closed=!1:e[ir]=this.createStyleElement(t[ir],o),t[ir]._render&&e[ir].style.pElem.parentNode!==r&&r.appendChild(e[ir].style.pElem),rr.push(e[ir].style);else if(t[ir].ty==="gr"){if(!Er)e[ir]=this.createGroupElement(t[ir]);else for(nr=e[ir].it.length,gr=0;gr<nr;gr+=1)e[ir].prevViewData[gr]=e[ir].it[gr];this.searchShapes(t[ir].it,e[ir].it,e[ir].prevViewData,e[ir].gr,o+1,ar,tr),t[ir]._render&&e[ir].gr.parentNode!==r&&r.appendChild(e[ir].gr)}else t[ir].ty==="tr"?(Er||(e[ir]=this.createTransformElement(t[ir],r)),cr=e[ir].transform,ar.push(cr)):t[ir].ty==="sh"||t[ir].ty==="rc"||t[ir].ty==="el"||t[ir].ty==="sr"?(Er||(e[ir]=this.createShapeElement(t[ir],ar,o)),this.setElementStyles(e[ir])):t[ir].ty==="tm"||t[ir].ty==="rd"||t[ir].ty==="ms"||t[ir].ty==="pb"||t[ir].ty==="zz"||t[ir].ty==="op"?(Er?(ur=e[ir],ur.closed=!1):(ur=ShapeModifiers.getModifier(t[ir].ty),ur.init(this,t[ir]),e[ir]=ur,this.shapeModifiers.push(ur)),vr.push(ur)):t[ir].ty==="rp"&&(Er?(ur=e[ir],ur.closed=!0):(ur=ShapeModifiers.getModifier(t[ir].ty),e[ir]=ur,ur.init(this,t,ir,e),this.shapeModifiers.push(ur),tr=!1),vr.push(ur));this.addProcessedElement(t[ir],ir+1)}for(fr=rr.length,ir=0;ir<fr;ir+=1)rr[ir].closed=!0;for(fr=vr.length,ir=0;ir<fr;ir+=1)vr[ir].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,i;for(t=0;t<e;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,i,r,o,Zt){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=o,this.p=Zt,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,i,r,o,Zt){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var tr=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,tr=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,tr=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,tr=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,tr=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,tr=!0),Zt.length&&(this.p[0]!==Zt[0]||this.p[1]!==Zt[1]||this.p[4]!==Zt[4]||this.p[5]!==Zt[5]||this.p[12]!==Zt[12]||this.p[13]!==Zt[13])&&(this.p=Zt,this._mdf.p=!0,tr=!0),tr};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,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,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,o=this.effectsSequence.length,Zt=t||this.data.d.k[this.keysIndex].s;for(r=0;r<o;r+=1)i!==this.keysIndex?Zt=this.effectsSequence[r](Zt,Zt.t):Zt=this.effectsSequence[r](this.currentData,Zt.t);e!==Zt&&this.setCurrentData(Zt),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,r=t.length;i<=r-1&&!(i===r-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],i=0,r=t.length,o,Zt,tr=!1,ar=!1,ir="";i<r;)tr=ar,ar=!1,o=t.charCodeAt(i),ir=t.charAt(i),FontManager.isCombinedCharacter(o)?tr=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(t,i)?ir=t.substr(i,14):(Zt=t.charCodeAt(i+1),Zt>=56320&&Zt<=57343&&(FontManager.isModifier(o,Zt)?(ir=t.substr(i,2),tr=!0):FontManager.isFlagEmoji(t.substr(i,4))?ir=t.substr(i,4):ir=t.substr(i,2))):o>56319?(Zt=t.charCodeAt(i+1),FontManager.isVariationSelector(o)&&(tr=!0)):FontManager.isZeroWidthJoiner(o)&&(tr=!0,ar=!0),tr?(e[e.length-1]+=ir,tr=!1):e.push(ir),i+=ir.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],o,Zt,tr,ar=0,ir,fr=i.m.g,gr=0,nr=0,rr=0,vr=[],cr=0,ur=0,Er,or,sr=e.getFontByName(t.f),pr,dr=0,Pr=getFontProperties(sr);t.fWeight=Pr.weight,t.fStyle=Pr.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),Zt=t.finalText.length,t.finalLineHeight=t.lh;var Ir=t.tr/1e3*t.finalSize,zr;if(t.sz)for(var $r=!0,es=t.sz[0],hs=t.sz[1],ps,os;$r;){os=this.buildFinalText(t.t),ps=0,cr=0,Zt=os.length,Ir=t.tr/1e3*t.finalSize;var xs=-1;for(o=0;o<Zt;o+=1)zr=os[o].charCodeAt(0),tr=!1,os[o]===" "?xs=o:(zr===13||zr===3)&&(cr=0,tr=!0,ps+=t.finalLineHeight||t.finalSize*1.2),e.chars?(pr=e.getCharData(os[o],sr.fStyle,sr.fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(os[o],t.f,t.finalSize),cr+dr>es&&os[o]!==" "?(xs===-1?Zt+=1:o=xs,ps+=t.finalLineHeight||t.finalSize*1.2,os.splice(o,xs===o?1:0,"\r"),xs=-1,cr=0):(cr+=dr,cr+=Ir);ps+=sr.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&hs<ps?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=os,Zt=t.finalText.length,$r=!1)}cr=-Ir,dr=0;var is=0,cs;for(o=0;o<Zt;o+=1)if(tr=!1,cs=t.finalText[o],zr=cs.charCodeAt(0),zr===13||zr===3?(is=0,vr.push(cr),ur=cr>ur?cr:ur,cr=-2*Ir,ir="",tr=!0,rr+=1):ir=cs,e.chars?(pr=e.getCharData(cs,sr.fStyle,e.getFontByName(t.f).fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(ir,t.f,t.finalSize),cs===" "?is+=dr+Ir:(cr+=dr+Ir+is,is=0),r.push({l:dr,an:dr,add:gr,n:tr,anIndexes:[],val:ir,line:rr,animatorJustifyOffset:0}),fr==2){if(gr+=dr,ir===""||ir===" "||o===Zt-1){for((ir===""||ir===" ")&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;ar+=1,gr=0}}else if(fr==3){if(gr+=dr,ir===""||o===Zt-1){for(ir===""&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;gr=0,ar+=1}}else r[ar].ind=ar,r[ar].extra=0,ar+=1;if(t.l=r,ur=cr>ur?cr:ur,vr.push(cr),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=ur,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=vr;var Ar=i.a,Tr,yr;or=Ar.length;var Mr,Ur,jr=[];for(Er=0;Er<or;Er+=1){for(Tr=Ar[Er],Tr.a.sc&&(t.strokeColorAnim=!0),Tr.a.sw&&(t.strokeWidthAnim=!0),(Tr.a.fc||Tr.a.fh||Tr.a.fs||Tr.a.fb)&&(t.fillColorAnim=!0),Ur=0,Mr=Tr.s.b,o=0;o<Zt;o+=1)yr=r[o],yr.anIndexes[Er]=Ur,(Mr==1&&yr.val!==""||Mr==2&&yr.val!==""&&yr.val!==" "||Mr==3&&(yr.n||yr.val==" "||o==Zt-1)||Mr==4&&(yr.n||o==Zt-1))&&(Tr.s.rn===1&&jr.push(Ur),Ur+=1);i.a[Er].s.totalChars=Ur;var Vs=-1,Ts;if(Tr.s.rn===1)for(o=0;o<Zt;o+=1)yr=r[o],Vs!=yr.anIndexes[Er]&&(Vs=yr.anIndexes[Er],Ts=jr.splice(Math.floor(Math.random()*jr.length),1)[0]),yr.anIndexes[Er]=Ts}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=sr.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,i=Math.floor;function r(Zt,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=Zt,this.comp=Zt.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Zt),this.s=PropertyFactory.getProp(Zt,tr.s||{k:0},0,0,this),"e"in tr?this.e=PropertyFactory.getProp(Zt,tr.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(Zt,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(Zt,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(Zt,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(Zt,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(Zt,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(Zt){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var tr=0,ar=0,ir=1,fr=1;this.ne.v>0?tr=this.ne.v/100:ar=-this.ne.v/100,this.xe.v>0?ir=1-this.xe.v/100:fr=1+this.xe.v/100;var gr=BezierFactory.getBezierEasing(tr,ar,ir,fr).get,nr=0,rr=this.finalS,vr=this.finalE,cr=this.data.sh;if(cr===2)vr===rr?nr=Zt>=vr?1:0:nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===3)vr===rr?nr=Zt>=vr?0:1:nr=1-t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===4)vr===rr?nr=0:(nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr<.5?nr*=2:nr=1-2*(nr-.5)),nr=gr(nr);else if(cr===5){if(vr===rr)nr=0;else{var ur=vr-rr;Zt=e(t(0,Zt+.5-rr),vr-rr);var Er=-ur/2+Zt,or=ur/2;nr=Math.sqrt(1-Er*Er/(or*or))}nr=gr(nr)}else cr===6?(vr===rr?nr=0:(Zt=e(t(0,Zt+.5-rr),vr-rr),nr=(1+Math.cos(Math.PI+Math.PI*2*Zt/(vr-rr)))/2),nr=gr(nr)):(Zt>=i(rr)&&(Zt-rr<0?nr=t(0,e(e(vr,1)-(rr-Zt),1)):nr=t(0,e(vr-Zt,1))),nr=gr(nr));if(this.sm.v!==100){var sr=this.sm.v*.01;sr===0&&(sr=1e-8);var pr=.5-sr*.5;nr<pr?nr=0:(nr=(nr-pr)/sr,nr>1&&(nr=1))}return nr*this.a.v},getValue:function(Zt){this.iterateDynamicProperties(),this._mdf=Zt||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Zt&&this.data.r===2&&(this.e.v=this._currentTextLength);var tr=this.data.r===2?1:100/this.data.totalChars,ar=this.o.v/tr,ir=this.s.v/tr+ar,fr=this.e.v/tr+ar;if(ir>fr){var gr=ir;ir=fr,fr=gr}this.finalS=ir,this.finalE=fr}},extendPrototype([DynamicPropertyContainer],r);function o(Zt,tr,ar){return new r(Zt,tr)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},o=PropertyFactory.getProp,Zt=e.a;this.a={r:Zt.r?o(t,Zt.r,0,degToRads,i):r,rx:Zt.rx?o(t,Zt.rx,0,degToRads,i):r,ry:Zt.ry?o(t,Zt.ry,0,degToRads,i):r,sk:Zt.sk?o(t,Zt.sk,0,degToRads,i):r,sa:Zt.sa?o(t,Zt.sa,0,degToRads,i):r,s:Zt.s?o(t,Zt.s,1,.01,i):r,a:Zt.a?o(t,Zt.a,1,0,i):r,o:Zt.o?o(t,Zt.o,0,.01,i):r,p:Zt.p?o(t,Zt.p,1,0,i):r,sw:Zt.sw?o(t,Zt.sw,0,0,i):r,sc:Zt.sc?o(t,Zt.sc,1,0,i):r,fc:Zt.fc?o(t,Zt.fc,1,0,i):r,fh:Zt.fh?o(t,Zt.fh,0,0,i):r,fs:Zt.fs?o(t,Zt.fs,0,.01,i):r,fb:Zt.fb?o(t,Zt.fb,0,.01,i):r,t:Zt.t?o(t,Zt.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,r=PropertyFactory.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,r=this._animatorsData,o=this._textData,Zt=this.mHelper,tr=this._renderType,ar=this.renderedLetters.length,ir,fr,gr,nr,rr=t.l,vr,cr,ur,Er,or,sr,pr,dr,Pr,Ir,zr,$r,es,hs,ps;if(this._hasMaskedPath){if(ps=this._pathData.m,!this._pathData.n||this._pathData._mdf){var os=ps.v;this._pathData.r.v&&(os=os.reverse()),vr={tLength:0,segments:[]},nr=os._length-1;var xs;for($r=0,gr=0;gr<nr;gr+=1)xs=bez.buildBezierData(os.v[gr],os.v[gr+1],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[gr+1][0]-os.v[gr+1][0],os.i[gr+1][1]-os.v[gr+1][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength;gr=nr,ps.v.c&&(xs=bez.buildBezierData(os.v[gr],os.v[0],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[0][0]-os.v[0][0],os.i[0][1]-os.v[0][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength),this._pathData.pi=vr}if(vr=this._pathData.pi,cr=this._pathData.f.v,pr=0,sr=1,Er=0,or=!0,Ir=vr.segments,cr<0&&ps.v.c)for(vr.tLength<Math.abs(cr)&&(cr=-Math.abs(cr)%vr.tLength),pr=Ir.length-1,Pr=Ir[pr].points,sr=Pr.length-1;cr<0;)cr+=Pr[sr].partialLength,sr-=1,sr<0&&(pr-=1,Pr=Ir[pr].points,sr=Pr.length-1);Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength}nr=rr.length,ir=0,fr=0;var is=t.finalSize*1.2*.714,cs=!0,Ar,Tr,yr,Mr,Ur;Mr=r.length;var jr,Vs=-1,Ts,Ns,Bs,Ys=cr,Hs=pr,Qs=sr,na=-1,ra,$s,sa,Rs,Ms,ua,ka,ya,la="",_a=this.defaultPropsArray,ca;if(t.j===2||t.j===1){var aa=0,da=0,js=t.j===2?-.5:-1,Us=0,qs=!0;for(gr=0;gr<nr;gr+=1)if(rr[gr].n){for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1;aa=0,qs=!0}else{for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(qs&&t.j===2&&(da+=Ar.t.v*js),Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?aa+=Ar.t.v*jr[0]*js:aa+=Ar.t.v*jr*js);qs=!1}for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1}for(gr=0;gr<nr;gr+=1){if(Zt.reset(),ra=1,rr[gr].n)ir=0,fr+=t.yOffset,fr+=cs?1:0,cr=Ys,cs=!1,this._hasMaskedPath&&(pr=Hs,sr=Qs,Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength,Er=0),la="",ya="",ua="",ca="",_a=this.defaultPropsArray;else{if(this._hasMaskedPath){if(na!==rr[gr].line){switch(t.j){case 1:cr+=$r-t.lineWidths[rr[gr].line];break;case 2:cr+=($r-t.lineWidths[rr[gr].line])/2;break}na=rr[gr].line}Vs!==rr[gr].ind&&(rr[Vs]&&(cr+=rr[Vs].extra),cr+=rr[gr].an/2,Vs=rr[gr].ind),cr+=i[0]*rr[gr].an*.005;var ta=0;for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.p.v[0]*jr[0]:ta+=Ar.p.v[0]*jr),Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.a.v[0]*jr[0]:ta+=Ar.a.v[0]*jr);for(or=!0,this._pathData.a.v&&(cr=rr[0].an*.5+($r-this._pathData.f.v-rr[0].an*.5-rr[rr.length-1].an*.5)*Vs/(nr-1),cr+=this._pathData.f.v);or;)Er+zr>=cr+ta||!Pr?(es=(cr+ta-Er)/ur.partialLength,Ns=dr.point[0]+(ur.point[0]-dr.point[0])*es,Bs=dr.point[1]+(ur.point[1]-dr.point[1])*es,Zt.translate(-i[0]*rr[gr].an*.005,-(i[1]*is)*.01),or=!1):Pr&&(Er+=ur.partialLength,sr+=1,sr>=Pr.length&&(sr=0,pr+=1,Ir[pr]?Pr=Ir[pr].points:ps.v.c?(sr=0,pr=0,Pr=Ir[pr].points):(Er-=ur.partialLength,Pr=null)),Pr&&(dr=ur,ur=Pr[sr],zr=ur.partialLength));Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0)}else Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0),Zt.translate(-i[0]*rr[gr].an*.005,-i[1]*is*.01,0);for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),(ir!==0||t.j!==0)&&(this._hasMaskedPath?jr.length?cr+=Ar.t.v*jr[0]:cr+=Ar.t.v*jr:jr.length?ir+=Ar.t.v*jr[0]:ir+=Ar.t.v*jr));for(t.strokeWidthAnim&&(sa=t.sw||0),t.strokeColorAnim&&(t.sc?$s=[t.sc[0],t.sc[1],t.sc[2]]:$s=[0,0,0]),t.fillColorAnim&&t.fc&&(Rs=[t.fc[0],t.fc[1],t.fc[2]]),yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.translate(-Ar.a.v[0]*jr[0],-Ar.a.v[1]*jr[1],Ar.a.v[2]*jr[2]):Zt.translate(-Ar.a.v[0]*jr,-Ar.a.v[1]*jr,Ar.a.v[2]*jr));for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.s.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.scale(1+(Ar.s.v[0]-1)*jr[0],1+(Ar.s.v[1]-1)*jr[1],1):Zt.scale(1+(Ar.s.v[0]-1)*jr,1+(Ar.s.v[1]-1)*jr,1));for(yr=0;yr<Mr;yr+=1){if(Ar=r[yr].a,Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),Ar.sk.propType&&(jr.length?Zt.skewFromAxis(-Ar.sk.v*jr[0],Ar.sa.v*jr[1]):Zt.skewFromAxis(-Ar.sk.v*jr,Ar.sa.v*jr)),Ar.r.propType&&(jr.length?Zt.rotateZ(-Ar.r.v*jr[2]):Zt.rotateZ(-Ar.r.v*jr)),Ar.ry.propType&&(jr.length?Zt.rotateY(Ar.ry.v*jr[1]):Zt.rotateY(Ar.ry.v*jr)),Ar.rx.propType&&(jr.length?Zt.rotateX(Ar.rx.v*jr[0]):Zt.rotateX(Ar.rx.v*jr)),Ar.o.propType&&(jr.length?ra+=(Ar.o.v*jr[0]-ra)*jr[0]:ra+=(Ar.o.v*jr-ra)*jr),t.strokeWidthAnim&&Ar.sw.propType&&(jr.length?sa+=Ar.sw.v*jr[0]:sa+=Ar.sw.v*jr),t.strokeColorAnim&&Ar.sc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr[0]:$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr;if(t.fillColorAnim&&t.fc){if(Ar.fc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr[0]:Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr;Ar.fh.propType&&(jr.length?Rs=addHueToRGB(Rs,Ar.fh.v*jr[0]):Rs=addHueToRGB(Rs,Ar.fh.v*jr)),Ar.fs.propType&&(jr.length?Rs=addSaturationToRGB(Rs,Ar.fs.v*jr[0]):Rs=addSaturationToRGB(Rs,Ar.fs.v*jr)),Ar.fb.propType&&(jr.length?Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr[0]):Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr))}}for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),this._hasMaskedPath?jr.length?Zt.translate(0,Ar.p.v[1]*jr[0],-Ar.p.v[2]*jr[1]):Zt.translate(0,Ar.p.v[1]*jr,-Ar.p.v[2]*jr):jr.length?Zt.translate(Ar.p.v[0]*jr[0],Ar.p.v[1]*jr[1],-Ar.p.v[2]*jr[2]):Zt.translate(Ar.p.v[0]*jr,Ar.p.v[1]*jr,-Ar.p.v[2]*jr));if(t.strokeWidthAnim&&(ua=sa<0?0:sa),t.strokeColorAnim&&(ka="rgb("+Math.round($s[0]*255)+","+Math.round($s[1]*255)+","+Math.round($s[2]*255)+")"),t.fillColorAnim&&t.fc&&(ya="rgb("+Math.round(Rs[0]*255)+","+Math.round(Rs[1]*255)+","+Math.round(Rs[2]*255)+")"),this._hasMaskedPath){if(Zt.translate(0,-t.ls),Zt.translate(0,i[1]*is*.01+fr,0),this._pathData.p.v){hs=(ur.point[1]-dr.point[1])/(ur.point[0]-dr.point[0]);var ga=Math.atan(hs)*180/Math.PI;ur.point[0]<dr.point[0]&&(ga+=180),Zt.rotate(-ga*Math.PI/180)}Zt.translate(Ns,Bs,0),cr-=i[0]*rr[gr].an*.005,rr[gr+1]&&Vs!==rr[gr+1].ind&&(cr+=rr[gr].an/2,cr+=t.tr*.001*t.finalSize)}else{switch(Zt.translate(ir,fr,0),t.ps&&Zt.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line]),0,0);break;case 2:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line])/2,0,0);break}Zt.translate(0,-t.ls),Zt.translate(Ts,0,0),Zt.translate(i[0]*rr[gr].an*.005,i[1]*is*.01,0),ir+=rr[gr].l+t.tr*.001*t.finalSize}tr==="html"?la=Zt.toCSS():tr==="svg"?la=Zt.to2dCSS():_a=[Zt.props[0],Zt.props[1],Zt.props[2],Zt.props[3],Zt.props[4],Zt.props[5],Zt.props[6],Zt.props[7],Zt.props[8],Zt.props[9],Zt.props[10],Zt.props[11],Zt.props[12],Zt.props[13],Zt.props[14],Zt.props[15]],ca=ra}ar<=gr?(Ur=new LetterProps(ca,ua,ka,ya,la,_a),this.renderedLetters.push(Ur),ar+=1,this.lettersChangedFlag=!0):(Ur=this.renderedLetters[gr],this.lettersChangedFlag=Ur.update(ca,ua,ka,ya,la,_a)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var i,r=e.length,o,Zt="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(o=e[i].ks.k,Zt+=buildShapeString(o,o.i.length,!0,t));return Zt},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,r,o){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break}e.translate(r,o,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,r=[],o="";e<i;)t[e]==="\r"||t[e]==="�"?(r.push(o),o=""):o+=t[e],e+=1;return r.push(o),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var r=i.it[i.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var o=i.fWeight,Zt=i.fStyle;this.layerElement.setAttribute("font-style",Zt),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",i.t);var tr=i.l||[],ar=!!this.globalData.fontManager.chars;e=tr.length;var ir,fr=this.mHelper,gr="",nr=this.data.singleShape,rr=0,vr=0,cr=!0,ur=i.tr*.001*i.finalSize;if(nr&&!ar&&!i.sz){var Er=this.textContainer,or="start";switch(i.j){case 1:or="end";break;case 2:or="middle";break;default:or="start";break}Er.setAttribute("text-anchor",or),Er.setAttribute("letter-spacing",ur);var sr=this.buildTextContents(i.finalText);for(e=sr.length,vr=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)ir=this.textSpans[t].span||createNS("tspan"),ir.textContent=sr[t],ir.setAttribute("x",0),ir.setAttribute("y",vr),ir.style.display="inherit",Er.appendChild(ir),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=ir,vr+=i.finalLineHeight;this.layerElement.appendChild(Er)}else{var pr=this.textSpans.length,dr;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!ar||!nr||t===0){if(ir=pr>t?this.textSpans[t].span:createNS(ar?"g":"text"),pr<=t){if(ir.setAttribute("stroke-linecap","butt"),ir.setAttribute("stroke-linejoin","round"),ir.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=ir,ar){var Pr=createNS("g");ir.appendChild(Pr),this.textSpans[t].childSpan=Pr}this.textSpans[t].span=ir,this.layerElement.appendChild(ir)}ir.style.display="inherit"}if(fr.reset(),nr&&(tr[t].n&&(rr=-ur,vr+=i.yOffset,vr+=cr?1:0,cr=!1),this.applyTextPropertiesToMatrix(i,fr,tr[t].line,rr,vr),rr+=tr[t].l||0,rr+=ur),ar){dr=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var Ir;if(dr.t===1)Ir=new SVGCompElement(dr.data,this.globalData,this);else{var zr=emptyShapeData;dr.data&&dr.data.shapes&&(zr=this.buildShapeData(dr.data,i.finalSize)),Ir=new SVGShapeElement(zr,this.globalData,this)}if(this.textSpans[t].glyph){var $r=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild($r.layerElement),$r.destroy()}this.textSpans[t].glyph=Ir,Ir._debug=!0,Ir.prepareFrame(0),Ir.renderFrame(),this.textSpans[t].childSpan.appendChild(Ir.layerElement),dr.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else nr&&ir.setAttribute("transform","translate("+fr.props[12]+","+fr.props[13]+")"),ir.textContent=tr[t].val,ir.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}nr&&ir&&ir.setAttribute("d",gr)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,i=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;e=r.length;var o,Zt,tr;for(t=0;t<e;t+=1)r[t].n||(o=i[t],Zt=this.textSpans[t].span,tr=this.textSpans[t].glyph,tr&&tr.renderFrame(),o._mdf.m&&Zt.setAttribute("transform",o.m),o._mdf.o&&Zt.setAttribute("op
848acity",o.o),o._mdf.sw&&Zt.setAttribute("stroke-width",o.sw),o._mdf.sc&&Zt.setAttribute("stroke",o.sc),o._mdf.fc&&Zt.setAttribute("fill",o.fc))}};function ISolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var o=createElementID();i.setAttribute("id",o),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(i);else{var o=e[r],Zt=o.getMatte(this.layers[t].tt);i.setMatte(Zt)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,o=this.elements[r],Zt=o.getMatte(this.layers[e].tt);t.setMatte(Zt);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=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<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var r=0,o;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&
vendor: 35,054 bytes, line 848
848(o=this.elements[r].getBaseElement()),r+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var r=createNS("title"),o=createElementID();r.setAttribute("id",o),r.textContent=e.title,this.svgElement.appendChild(r),i+=o}if(e&&e.description){var Zt=createNS("desc"),tr=createElementID();Zt.setAttribute("id",tr),Zt.textContent=e.description,this.svgElement.appendChild(Zt),i+=" "+tr}i&&this.svgElement.setAttribute("aria-labelledby",i);var ar=createNS("defs");this.svgElement.appendChild(ar);var ir=createNS("g");this.svgElement.appendChild(ir),this.layerElement=ir,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ar,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier);var CompExpressionInterface=function(){return function(t){function e(i){for(var r=0,o=t.layers.length;r<o;){if(t.layers[r].nm===i||t.layers[r].ind===i)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(e){return typeof e}:_typeof$2=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(t)}function seedRandom(t,e){var i=this,r=256,o=6,Zt=52,tr="random",ar=e.pow(r,o),ir=e.pow(2,Zt),fr=ir*2,gr=r-1;function nr(sr,pr,dr){var Pr=[];pr=pr===!0?{entropy:!0}:pr||{};var Ir=ur(cr(pr.entropy?[sr,or(t)]:sr===null?Er():sr,3),Pr),zr=new rr(Pr),$r=function(){for(var es=zr.g(o),hs=ar,ps=0;es<ir;)es=(es+ps)*r,hs*=r,ps=zr.g(1);for(;es>=fr;)es/=2,hs/=2,ps>>>=1;return(es+ps)/hs};return $r.int32=function(){return zr.g(4)|0},$r.quick=function(){return zr.g(4)/4294967296},$r.double=$r,ur(or(zr.S),t),(pr.pass||dr||function(es,hs,ps,os){return os&&(os.S&&vr(os,zr),es.state=function(){return vr(zr,{})}),ps?(e[tr]=es,hs):es})($r,Ir,"global"in pr?pr.global:this==e,pr.state)}e["seed"+tr]=nr;function rr(sr){var pr,dr=sr.length,Pr=this,Ir=0,zr=Pr.i=Pr.j=0,$r=Pr.S=[];for(dr||(sr=[dr++]);Ir<r;)$r[Ir]=Ir++;for(Ir=0;Ir<r;Ir++)$r[Ir]=$r[zr=gr&zr+sr[Ir%dr]+(pr=$r[Ir])],$r[zr]=pr;Pr.g=function(es){for(var hs,ps=0,os=Pr.i,xs=Pr.j,is=Pr.S;es--;)hs=is[os=gr&os+1],ps=ps*r+is[gr&(is[os]=is[xs=gr&xs+hs])+(is[xs]=hs)];return Pr.i=os,Pr.j=xs,ps}}function vr(sr,pr){return pr.i=sr.i,pr.j=sr.j,pr.S=sr.S.slice(),pr}function cr(sr,pr){var dr=[],Pr=_typeof$2(sr),Ir;if(pr&&Pr=="object")for(Ir in sr)try{dr.push(cr(sr[Ir],pr-1))}catch{}return dr.length?dr:Pr=="string"?sr:sr+"\0"}function ur(sr,pr){for(var dr=sr+"",Pr,Ir=0;Ir<dr.length;)pr[gr&Ir]=gr&(Pr^=pr[gr&Ir]*19)+dr.charCodeAt(Ir++);return or(pr)}function Er(){try{var sr=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(sr),or(sr)}catch{var pr=i.navigator,dr=pr&&pr.plugins;return[+new Date,i,dr,i.screen,or(t)]}}function or(sr){return String.fromCharCode.apply(0,sr)}ur(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(e){return typeof e}:_typeof$1=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")return-t;if($bm_isInstanceOfArray(t)){var i,r=t.length,o=[];for(i=0;i<r;i+=1)o[i]=-t[i];return o}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e)||i==="string"||r==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]+e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e))return i==="string"&&(t=parseInt(t,10)),r==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]-e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]*e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t*e[Zt];return o}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]/e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t/e[Zt];return o}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var r=i;i=e,e=r}return Math.min(Math.max(t,e),i)}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 i,r=Math.min(t.length,e.length),o=0;for(i=0;i<r;i+=1)o+=Math.pow(e[i]-t[i],2);return Math.sqrt(o)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],o=Math.max(e,i,r),Zt=Math.min(e,i,r),tr,ar,ir=(o+Zt)/2;if(o===Zt)tr=0,ar=0;else{var fr=o-Zt;switch(ar=ir>.5?fr/(2-o-Zt):fr/(o+Zt),o){case e:tr=(i-r)/fr+(i<r?6:0);break;case i:tr=(r-e)/fr+2;break;case r:tr=(e-i)/fr+4;break}tr/=6}return[tr,ar,ir,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e=t[0],i=t[1],r=t[2],o,Zt,tr;if(i===0)o=r,tr=r,Zt=r;else{var ar=r<.5?r*(1+i):r+i-r*i,ir=2*r-ar;o=hue2rgb(ir,ar,e+1/3),Zt=hue2rgb(ir,ar,e),tr=hue2rgb(ir,ar,e-1/3)}return[o,Zt,tr,t[3]]}function linear(t,e,i,r,o){if((r===void 0||o===void 0)&&(r=e,o=i,e=0,i=1),i<e){var Zt=i;i=e,e=Zt}if(t<=e)return r;if(t>=i)return o;var tr=i===e?0:(t-e)/(i-e);if(!r.length)return r+(o-r)*tr;var ar,ir=r.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=r[ar]+(o[ar]-r[ar])*tr;return fr}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var o=createTypedArray("float32",r),Zt=BMMath.random();for(i=0;i<r;i+=1)o[i]=t[i]+Zt*(e[i]-t[i]);return o}t===void 0&&(t=0);var tr=BMMath.random();return t+tr*(e-t)}function createPath(t,e,i,r){var o,Zt=t.length,tr=shapePool.newElement();tr.setPathData(!!r,Zt);var ar=[0,0],ir,fr;for(o=0;o<Zt;o+=1)ir=e&&e[o]?e[o]:ar,fr=i&&i[o]?i[o]:ar,tr.setTripleAt(t[o][0],t[o][1],fr[0]+t[o][0],fr[1]+t[o][1],ir[0]+t[o][0],ir[1]+t[o][1],o,!0);return tr}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,i){var r,o,Zt=this.pv.length?this.pv.length:1,tr=createTypedArray("float32",Zt);e=5;var ar=Math.floor(time*e);for(r=0,o=0;r<ar;){for(o=0;o<Zt;o+=1)tr[o]+=-i+i*2*BMMath.random();r+=1}var ir=time*e,fr=ir-Math.floor(ir),gr=createTypedArray("float32",Zt);if(Zt>1){for(o=0;o<Zt;o+=1)gr[o]=this.pv[o]+tr[o]+(-i+i*2*BMMath.random())*fr;return gr}return this.pv+tr[0]+(-i+i*2*BMMath.random())*fr}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,o=-Math.atan2(i[1],i[2])/degToRads;return[o,r,0]}function easeOut(t,e,i,r,o){return applyEase(easeOutBez,t,e,i,r,o)}function easeIn(t,e,i,r,o){return applyEase(easeInBez,t,e,i,r,o)}function ease(t,e,i,r,o){return applyEase(easeInOutBez,t,e,i,r,o)}function applyEase(t,e,i,r,o,Zt){o===void 0?(o=i,Zt=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var tr=t(e);if($bm_isInstanceOfArray(o)){var ar,ir=o.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=(Zt[ar]-o[ar])*tr+o[ar];return fr}return(Zt-o)*tr+o}function nearestKey(t){var e,i=data.k.length,r,o;if(!data.k.length||typeof data.k[0]=="number")r=0,o=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,o=data.k[0].t;else{for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,o=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,o=data.k[e+1].t):(r=e+1,o=data.k[e].t);break}r===-1&&(r=e+1,o=data.k[e].t)}var Zt={};return Zt.index=r,Zt.time=o/elem.comp.globalData.frameRate,Zt}function key(t){var e,i,r;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 o=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=o.length,i=0;i<r;i+=1)e[i]=o[i],e.value[i]=o[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(i){var r=0,o=[];function Zt(){r+=1}function tr(){r-=1,r===0&&ir()}function ar(fr){o.indexOf(fr)===-1&&o.push(fr)}function ir(){var fr,gr=o.length;for(fr=0;fr<gr;fr+=1)o[fr].release();o.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=Zt,i.renderer.globalData.popExpression=tr,i.renderer.globalData.registerExpressionProperty=ar}return t}(),MaskManagerInterface=function(){function t(i,r){this._mask=i,this._data=r}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(i){var r=createSizedArray(i.viewData.length),o,Zt=i.viewData.length;for(o=0;o<Zt;o+=1)r[o]=new t(i.viewData[o],i.masksProperties[o]);var tr=function(ar){for(o=0;o<Zt;){if(i.masksProperties[o].nm===ar)return r[o];o+=1}return null};return tr};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(tr,ar,ir){Object.defineProperty(tr,"velocity",{get:function(){return ar.getVelocityAtTime(ar.comp.currentFrame)}}),tr.numKeys=ar.keyframes?ar.keyframes.length:0,tr.key=function(fr){if(!tr.numKeys)return 0;var gr="";"s"in ar.keyframes[fr-1]?gr=ar.keyframes[fr-1].s:"e"in ar.keyframes[fr-2]?gr=ar.keyframes[fr-2].e:gr=ar.keyframes[fr-2].s;var nr=ir==="unidimensional"?new Number(gr):Object.assign({},gr);return nr.time=ar.keyframes[fr-1].t/ar.elem.comp.globalData.frameRate,nr.value=ir==="unidimensional"?gr[0]:gr,nr},tr.valueAtTime=ar.getValueAtTime,tr.speedAtTime=ar.getSpeedAtTime,tr.velocityAtTime=ar.getVelocityAtTime,tr.propertyGroup=ar.propertyGroup}function r(tr){(!tr||!("pv"in tr))&&(tr=t);var ar=1/tr.mult,ir=tr.pv*ar,fr=new Number(ir);return fr.value=ir,i(fr,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ir=tr.v*ar,fr.value!==ir&&(fr=new Number(ir),fr.value=ir,i(fr,tr,"unidimensional")),fr}}function o(tr){(!tr||!("pv"in tr))&&(tr=e);var ar=1/tr.mult,ir=tr.data&&tr.data.l||tr.pv.length,fr=createTypedArray("float32",ir),gr=createTypedArray("float32",ir);return fr.value=gr,i(fr,tr,"multidimensional"),function(){tr.k&&tr.getValue();for(var nr=0;nr<ir;nr+=1)gr[nr]=tr.v[nr]*ar,fr[nr]=gr[nr];return fr}}function Zt(){return t}return function(tr){return tr?tr.propType==="unidimensional"?r(tr):o(tr):Zt}}(),TransformExpressionInterface=function(){return function(t){function e(tr){switch(tr){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var i,r,o,Zt;return t.p?Zt=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(o=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?Zt():[i(),r(),o?o():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(fr){var gr=new Matrix;if(fr!==void 0){var nr=this._elem.finalTransform.mProp.getValueAtTime(fr);nr.clone(gr)}else{var rr=this._elem.finalTransform.mProp;rr.applyToMatrix(gr)}return gr}function e(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.applyPoint(nr,fr)}function i(fr,gr){var nr=this.getMatrix(gr);return this.applyPoint(nr,fr)}function r(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.invertPoint(nr,fr)}function o(fr,gr){var nr=this.getMatrix(gr);return this.invertPoint(nr,fr)}function Zt(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.applyToPointArray(gr[0],gr[1],gr[2]||0)}function tr(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.inversePoint(gr)}function ar(fr){var gr=new Matrix;if(gr.reset(),this._elem.finalTransform.mProp.applyToMatrix(gr),this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(gr);return gr.inversePoint(fr)}return gr.inversePoint(fr)}function ir(){return[1,1,1,1]}return function(fr){var gr;function nr(ur){vr.mask=new MaskManagerInterface(ur,fr)}function rr(ur){vr.effect=ur}function vr(ur){switch(ur){case"ADBE Root Vectors Group":case"Contents":case 2:return vr.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return gr;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return vr.effect;case"ADBE Text Properties":return vr.textInterface;default:return null}}vr.getMatrix=t,vr.invertPoint=tr,vr.applyPoint=Zt,vr.toWorld=i,vr.toWorldVec=e,vr.fromWorld=o,vr.fromWorldVec=r,vr.toComp=i,vr.fromComp=ar,vr.sampleImage=ir,vr.sourceRectAtTime=fr.sourceRectAtTime.bind(fr),vr._elem=fr,gr=TransformExpressionInterface(fr.finalTransform.mProp);var cr=getDescriptor(gr,"anchorPoint");return Object.defineProperties(vr,{hasParent:{get:function(){return fr.hierarchy.length}},parent:{get:function(){return fr.hierarchy[0].layerInterface}},rotation:getDescriptor(gr,"rotation"),scale:getDescriptor(gr,"scale"),position:getDescriptor(gr,"position"),opacity:getDescriptor(gr,"opacity"),anchorPoint:cr,anchor_point:cr,transform:{get:function(){return gr}},active:{get:function(){return fr.isInRange}}}),vr.startTime=fr.data.st,vr.index=fr.data.ind,vr.source=fr.data.refId,vr.height=fr.data.ty===0?fr.data.h:100,vr.width=fr.data.ty===0?fr.data.w:100,vr.inPoint=fr.data.ip/fr.comp.globalData.frameRate,vr.outPoint=fr.data.op/fr.comp.globalData.frameRate,vr._name=fr.data.nm,vr.registerMaskInterface=nr,vr.registerEffectsInterface=rr,vr}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=i===void 0?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){var i={_name:t};function r(o){return o=o===void 0?1:o,o<=0?i:e(o-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(o,Zt){if(o.effectsManager){var tr=[],ar=o.data.ef,ir,fr=o.effectsManager.effectElements.length;for(ir=0;ir<fr;ir+=1)tr.push(i(ar[ir],o.effectsManager.effectElements[ir],Zt,o));var gr=o.data.ef||[],nr=function(rr){for(ir=0,fr=gr.length;ir<fr;){if(rr===gr[ir].nm||rr===gr[ir].mn||rr===gr[ir].ix)return tr[ir];ir+=1}return null};return Object.defineProperty(nr,"numProperties",{get:function(){return gr.length}}),nr}return null}function i(o,Zt,tr,ar){function ir(vr){for(var cr=o.ef,ur=0,Er=cr.length;ur<Er;){if(vr===cr[ur].nm||vr===cr[ur].mn||vr===cr[ur].ix)return cr[ur].ty===5?gr[ur]:gr[ur]();ur+=1}throw new Error}var fr=propertyGroupFactory(ir,tr),gr=[],nr,rr=o.ef.length;for(nr=0;nr<rr;nr+=1)o.ef[nr].ty===5?gr.push(i(o.ef[nr],Zt.effectElements[nr],Zt.effectElements[nr].propertyGroup,ar)):gr.push(r(Zt.effectElements[nr],o.ef[nr].ty,ar,fr));return o.mn==="ADBE Color Control"&&Object.defineProperty(ir,"color",{get:function(){return gr[0]()}}),Object.defineProperties(ir,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:fr}}),ir.enabled=o.en!==0,ir.active=ir.enabled,ir}function r(o,Zt,tr,ar){var ir=ExpressionPropertyInterface(o.p);function fr(){return Zt===10?tr.comp.compInterface(o.p.v):ir()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",ar)),fr}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function o(tr){return tr==="Shape"||tr==="shape"||tr==="Path"||tr==="path"||tr==="ADBE Vector Shape"||tr===2?o.path:null}var Zt=propertyGroupFactory(o,i);return r.setGroupProperty(PropertyInterface("Path",Zt)),Object.defineProperties(o,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),o}}(),ShapeExpressionInterface=function(){function t(cr,ur,Er){var or=[],sr,pr=cr?cr.length:0;for(sr=0;sr<pr;sr+=1)cr[sr].ty==="gr"?or.push(i(cr[sr],ur[sr],Er)):cr[sr].ty==="fl"?or.push(r(cr[sr],ur[sr],Er)):cr[sr].ty==="st"?or.push(tr(cr[sr],ur[sr],Er)):cr[sr].ty==="tm"?or.push(ar(cr[sr],ur[sr],Er)):cr[sr].ty==="tr"||(cr[sr].ty==="el"?or.push(fr(cr[sr],ur[sr],Er)):cr[sr].ty==="sr"?or.push(gr(cr[sr],ur[sr],Er)):cr[sr].ty==="sh"?or.push(ShapePathInterface(cr[sr],ur[sr],Er)):cr[sr].ty==="rc"?or.push(nr(cr[sr],ur[sr],Er)):cr[sr].ty==="rd"?or.push(rr(cr[sr],ur[sr],Er)):cr[sr].ty==="rp"?or.push(vr(cr[sr],ur[sr],Er)):cr[sr].ty==="gf"?or.push(o(cr[sr],ur[sr],Er)):or.push(Zt(cr[sr],ur[sr])));return or}function e(cr,ur,Er){var or,sr=function(dr){for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr||or[Pr].mn===dr||or[Pr].propertyIndex===dr||or[Pr].ix===dr||or[Pr].ind===dr)return or[Pr];Pr+=1}return typeof dr=="number"?or[dr-1]:null};sr.propertyGroup=propertyGroupFactory(sr,Er),or=t(cr.it,ur.it,sr.propertyGroup),sr.numProperties=or.length;var pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],sr.propertyGroup);return sr.transform=pr,sr.propertyIndex=cr.cix,sr._name=cr.nm,sr}function i(cr,ur,Er){var or=function(dr){switch(dr){case"ADBE Vectors Group":case"Contents":case 2:return or.content;default:return or.transform}};or.propertyGroup=propertyGroupFactory(or,Er);var sr=e(cr,ur,or.propertyGroup),pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],or.propertyGroup);return or.content=sr,or.transform=pr,Object.defineProperty(or,"_name",{get:function(){return cr.nm}}),or.numProperties=cr.np,or.propertyIndex=cr.ix,or.nm=cr.nm,or.mn=cr.mn,or}function r(cr,ur,Er){function or(sr){return sr==="Color"||sr==="color"?or.color:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function o(cr,ur,Er){function or(sr){return sr==="Start Point"||sr==="start point"?or.startPoint:sr==="End Point"||sr==="end point"?or.endPoint:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{startPoint:{get:ExpressionPropertyInterface(ur.s)},endPoint:{get:ExpressionPropertyInterface(ur.e)},opacity:{get:ExpressionPropertyInterface(ur.o)},type:{get:function(){return"a"}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.s.setGroupProperty(PropertyInterface("Start Point",Er)),ur.e.setGroupProperty(PropertyInterface("End Point",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function Zt(){function cr(){return null}return cr}function tr(cr,ur,Er){var or=propertyGroupFactory(zr,Er),sr=propertyGroupFactory(Ir,or);function pr($r){Object.defineProperty(Ir,cr.d[$r].nm,{get:ExpressionPropertyInterface(ur.d.dataProps[$r].p)})}var dr,Pr=cr.d?cr.d.length:0,Ir={};for(dr=0;dr<Pr;dr+=1)pr(dr),ur.d.dataProps[dr].p.setGroupProperty(sr);function zr($r){return $r==="Color"||$r==="color"?zr.color:$r==="Opacity"||$r==="opacity"?zr.opacity:$r==="Stroke Width"||$r==="stroke width"?zr.strokeWidth:null}return Object.defineProperties(zr,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},strokeWidth:{get:ExpressionPropertyInterface(ur.w)},dash:{get:function(){return Ir}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",or)),ur.o.setGroupProperty(PropertyInterface("Opacity",or)),ur.w.setGroupProperty(PropertyInterface("Stroke Width",or)),zr}function ar(cr,ur,Er){function or(pr){return pr===cr.e.ix||pr==="End"||pr==="end"?or.end:pr===cr.s.ix?or.start:pr===cr.o.ix?or.offset:null}var sr=propertyGroupFactory(or,Er);return or.propertyIndex=cr.ix,ur.s.setGroupProperty(PropertyInterface("Start",sr)),ur.e.setGroupProperty(PropertyInterface("End",sr)),ur.o.setGroupProperty(PropertyInterface("Offset",sr)),or.propertyIndex=cr.ix,or.propertyGroup=Er,Object.defineProperties(or,{start:{get:ExpressionPropertyInterface(ur.s)},end:{get:ExpressionPropertyInterface(ur.e)},offset:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function ir(cr,ur,Er){function or(pr){return cr.a.ix===pr||pr==="Anchor Point"?or.anchorPoint:cr.o.ix===pr||pr==="Opacity"?or.opacity:cr.p.ix===pr||pr==="Position"?or.position:cr.r.ix===pr||pr==="Rotation"||pr==="ADBE Vector Rotation"?or.rotation:cr.s.ix===pr||pr==="Scale"?or.scale:cr.sk&&cr.sk.ix===pr||pr==="Skew"?or.skew:cr.sa&&cr.sa.ix===pr||pr==="Skew Axis"?or.skewAxis:null}var sr=propertyGroupFactory(or,Er);return ur.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",sr)),ur.transform.mProps.p.setGroupProperty(PropertyInterface("Position",sr)),ur.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",sr)),ur.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",sr)),ur.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",sr)),ur.transform.mProps.sk&&(ur.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",sr)),ur.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",sr))),ur.transform.op.setGroupProperty(PropertyInterface("Opacity",sr)),Object.defineProperties(or,{opacity:{get:ExpressionPropertyInterface(ur.transform.mProps.o)},position:{get:ExpressionPropertyInterface(ur.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(ur.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(ur.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(ur.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(ur.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(ur.transform.mProps.sa)},_name:{value:cr.nm}}),or.ty="tr",or.mn=cr.mn,or.propertyGroup=Er,or}function fr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.s.ix===dr?or.size:null}var sr=propertyGroupFactory(or,Er);or.propertyIndex=cr.ix;var pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return pr.s.setGroupProperty(PropertyInterface("Size",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),Object.defineProperties(or,{size:{get:ExpressionPropertyInterface(pr.s)},position:{get:ExpressionPropertyInterface(pr.p)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function gr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.rotation:cr.pt.ix===dr?or.points:cr.or.ix===dr||dr==="ADBE Vector Star Outer Radius"?or.outerRadius:cr.os.ix===dr?or.outerRoundness:cr.ir&&(cr.ir.ix===dr||dr==="ADBE Vector Star Inner Radius")?or.innerRadius:cr.is&&cr.is.ix===dr?or.innerRoundness:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.or.setGroupProperty(PropertyInterface("Outer Radius",sr)),pr.os.setGroupProperty(PropertyInterface("Outer Roundness",
vendor: 1,060 bytes, line 848
848sr)),pr.pt.setGroupProperty(PropertyInterface("Points",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),cr.ir&&(pr.ir.setGroupProperty(PropertyInterface("Inner Radius",sr)),pr.is.setGroupProperty(PropertyInterface("Inner Roundness",sr))),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},rotation:{get:ExpressionPropertyInterface(pr.r)},points:{get:ExpressionPropertyInterface(pr.pt)},outerRadius:{get:ExpressionPropertyInterface(pr.or)},outerRoundness:{get:ExpressionPropertyInterface(pr.os)},innerRadius:{get:ExpressionPropertyInterface(pr.ir)},innerRoundness:{get:ExpressionPropertyInterface(pr.is)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function nr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.roundness:cr.s.ix===dr||dr==="Size"||dr==="ADBE Vector Rect Size"?or.size:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.
vendor: 154,984 bytes, lines 848-849
848s.setGroupProperty(PropertyInterface("Size",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},roundness:{get:ExpressionPropertyInterface(pr.r)},size:{get:ExpressionPropertyInterface(pr.s)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function rr(cr,ur,Er){function or(dr){return cr.r.ix===dr||dr==="Round Corners 1"?or.radius:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.rd.setGroupProperty(PropertyInterface("Radius",sr)),Object.defineProperties(or,{radius:{get:ExpressionPropertyInterface(pr.rd)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function vr(cr,ur,Er){function or(dr){return cr.c.ix===dr||dr==="Copies"?or.copies:cr.o.ix===dr||dr==="Offset"?or.offset:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.c.setGroupProperty(PropertyInterface("Copies",sr)),pr.o.setGroupProperty(PropertyInterface("Offset",sr)),Object.defineProperties(or,{copies:{get:ExpressionPropertyInterface(pr.c)},offset:{get:ExpressionPropertyInterface(pr.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}return function(cr,ur,Er){var or;function sr(dr){if(typeof dr=="number")return dr=dr===void 0?1:dr,dr===0?Er:or[dr-1];for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr)return or[Pr];Pr+=1}return null}function pr(){return Er}return sr.propertyGroup=propertyGroupFactory(sr,pr),or=t(cr,ur,sr.propertyGroup),sr.numProperties=or.length,sr._name="Contents",sr}}(),TextExpressionInterface=function(){return function(t){var e;function i(r){switch(r){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return(!e||r!==e.value)&&(e=new String(r),e.value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),i}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}var FootageInterface=function(){var t=function(i){var r="",o=i.getFootageData();function Zt(){return r="",o=i.getFootageData(),tr}function tr(ar){if(o[ar])return r=ar,o=o[ar],_typeof(o)==="object"?tr:o;var ir=ar.indexOf(r);if(ir!==-1){var fr=parseInt(ar.substr(ir+r.length),10);return o=o[fr],_typeof(o)==="object"?tr:o}return""}return Zt},e=function(i){function r(o){return o==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(o){return o==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=e(i),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(tr,ar,ir){ar.x&&(ir.k=!0,ir.x=!0,ir.initiateExpression=ExpressionManager.initiateExpression,ir.effectsSequence.push(ir.initiateExpression(tr,ar,ir).bind(ir)))}function e(tr){return tr*=this.elem.globalData.frameRate,tr-=this.offsetTime,tr!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<tr?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(tr,this._cachingAtTime),this._cachingAtTime.lastFrame=tr),this._cachingAtTime.value}function i(tr){var ar=-.01,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr=0;if(ir.length){var nr;for(nr=0;nr<ir.length;nr+=1)gr+=Math.pow(fr[nr]-ir[nr],2);gr=Math.sqrt(gr)*100}else gr=0;return gr}function r(tr){if(this.vel!==void 0)return this.vel;var ar=-.001,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr;if(ir.length){gr=createTypedArray("float32",ir.length);var nr;for(nr=0;nr<ir.length;nr+=1)gr[nr]=(fr[nr]-ir[nr])/ar}else gr=(fr-ir)/ar;return gr}function o(){return this.pv}function Zt(tr){this.propertyGroup=tr}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:o,setGroupProperty:Zt}}();function addPropertyDecorator(){function t(rr,vr,cr){if(!this.k||!this.keyframes)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[Er.length-1].t;if(ur<=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(or-this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,or-this.elem.data.ip),pr=or-sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[Er.length-1-vr].t,sr=or-pr);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((ur-pr)/sr);if(zr%2!==0)return this.getValueAtTime((sr-(ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),es=this.getValueAtTime(or/this.comp.globalData.frameRate,0),hs=this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0),ps=Math.floor((ur-pr)/sr);if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=(es[dr]-$r[dr])*ps+hs[dr];return Ir}return(es-$r)*ps+hs}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*((ur-or)/this.comp.globalData.frameRate)/5e-4;return Ir}return os+(os-xs)*((ur-or)/.001)}return this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}function e(rr,vr,cr){if(!this.k)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[0].t;if(ur>=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,this.elem.data.op-or),pr=or+sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[vr].t,sr=pr-or);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((or-ur)/sr);if(zr%2===0)return this.getValueAtTime(((or-ur)%sr+or)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(or/this.comp.globalData.frameRate,0),es=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),hs=this.getValueAtTime((sr-(or-ur)%sr+or)/this.comp.globalData.frameRate,0),ps=Math.floor((or-ur)/sr)+1;if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=hs[dr]-(es[dr]-$r[dr])*ps;return Ir}return hs-(es-$r)*ps}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*(or-ur)/.001;return Ir}return os+(os-xs)*(or-ur)/.001}return this.getValueAtTime((sr-((or-ur)%sr+or))/this.comp.globalData.frameRate,0)}function i(rr,vr){if(!this.k)return this.pv;if(rr=(rr||.4)*.5,vr=Math.floor(vr||5),vr<=1)return this.pv;var cr=this.comp.renderedFrame/this.comp.globalData.frameRate,ur=cr-rr,Er=cr+rr,or=vr>1?(Er-ur)/(vr-1):1,sr=0,pr=0,dr;this.pv.length?dr=createTypedArray("float32",this.pv.length):dr=0;for(var Pr;sr<vr;){if(Pr=this.getValueAtTime(ur+sr*or),this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]+=Pr[pr];else dr+=Pr;sr+=1}if(this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]/=vr;else dr/=vr;return dr}function r(rr){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var vr=this._transformCachingAtTime.v;if(vr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var cr=this.a.getValueAtTime(rr);vr.translate(-cr[0]*this.a.mult,-cr[1]*this.a.mult,cr[2]*this.a.mult)}if(this.appliedTransformations<2){var ur=this.s.getValueAtTime(rr);vr.scale(ur[0]*this.s.mult,ur[1]*this.s.mult,ur[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Er=this.sk.getValueAtTime(rr),or=this.sa.getValueAtTime(rr);vr.skewFromAxis(-Er*this.sk.mult,or*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var sr=this.r.getValueAtTime(rr);vr.rotate(-sr*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var pr=this.rz.getValueAtTime(rr),dr=this.ry.getValueAtTime(rr),Pr=this.rx.getValueAtTime(rr),Ir=this.or.getValueAtTime(rr);vr.rotateZ(-pr*this.rz.mult).rotateY(dr*this.ry.mult).rotateX(Pr*this.rx.mult).rotateZ(-Ir[2]*this.or.mult).rotateY(Ir[1]*this.or.mult).rotateX(Ir[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var zr=this.px.getValueAtTime(rr),$r=this.py.getValueAtTime(rr);if(this.data.p.z){var es=this.pz.getValueAtTime(rr);vr.translate(zr*this.px.mult,$r*this.py.mult,-es*this.pz.mult)}else vr.translate(zr*this.px.mult,$r*this.py.mult,0)}else{var hs=this.p.getValueAtTime(rr);vr.translate(hs[0]*this.p.mult,hs[1]*this.p.mult,-hs[2]*this.p.mult)}return vr}function o(){return this.v.clone(new Matrix)}var Zt=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(rr,vr,cr){var ur=Zt(rr,vr,cr);return ur.dynamicProperties.length?ur.getValueAtTime=r.bind(ur):ur.getValueAtTime=o.bind(ur),ur.setGroupProperty=expressionHelpers.setGroupProperty,ur};var tr=PropertyFactory.getProp;PropertyFactory.getProp=function(rr,vr,cr,ur,Er){var or=tr(rr,vr,cr,ur,Er);or.kf?or.getValueAtTime=expressionHelpers.getValueAtTime.bind(or):or.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(or),or.setGroupProperty=expressionHelpers.setGroupProperty,or.loopOut=t,or.loopIn=e,or.smooth=i,or.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(or),or.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(or),or.numKeys=vr.a===1?vr.k.length:0,or.propertyIndex=vr.ix;var sr=0;return cr!==0&&(sr=createTypedArray("float32",vr.a===1?vr.k[0].s.length:vr.k.length)),or._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:sr},expressionHelpers.searchExpressions(rr,vr,or),or.k&&Er.addDynamicProperty(or),or};function ar(rr){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),rr*=this.elem.globalData.frameRate,rr-=this.offsetTime,rr!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<rr?this._caching.lastIndex:0,this._cachingAtTime.lastTime=rr,this.interpolateShape(rr,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var ir=ShapePropertyFactory.getConstructorFunction(),fr=ShapePropertyFactory.getKeyframedConstructorFunction();function gr(){}gr.prototype={vertices:function(rr,vr){this.k&&this.getValue();var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0));var ur,Er=cr._length,or=cr[rr],sr=cr.v,pr=createSizedArray(Er);for(ur=0;ur<Er;ur+=1)rr==="i"||rr==="o"?pr[ur]=[or[ur][0]-sr[ur][0],or[ur][1]-sr[ur][1]]:pr[ur]=[or[ur][0],or[ur][1]];return pr},points:function(rr){return this.vertices("v",rr)},inTangents:function(rr){return this.vertices("i",rr)},outTangents:function(rr){return this.vertices("o",rr)},isClosed:function(){return this.v.c},pointOnPath:function(rr,vr){var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(cr));for(var ur=this._segmentsLength,Er=ur.lengths,or=ur.totalLength*rr,sr=0,pr=Er.length,dr=0,Pr;sr<pr;){if(dr+Er[sr].addedLength>or){var Ir=sr,zr=cr.c&&sr===pr-1?0:sr+1,$r=(or-dr)/Er[sr].addedLength;Pr=bez.getPointInSegment(cr.v[Ir],cr.v[zr],cr.o[Ir],cr.i[zr],$r,Er[sr]);break}else dr+=Er[sr].addedLength;sr+=1}return Pr||(Pr=cr.c?[cr.v[0][0],cr.v[0][1]]:[cr.v[cr._length-1][0],cr.v[cr._length-1][1]]),Pr},vectorOnPath:function(rr,vr,cr){rr==1?rr=this.v.c:rr==0&&(rr=.999);var ur=this.pointOnPath(rr,vr),Er=this.pointOnPath(rr+.001,vr),or=Er[0]-ur[0],sr=Er[1]-ur[1],pr=Math.sqrt(Math.pow(or,2)+Math.pow(sr,2));if(pr===0)return[0,0];var dr=cr==="tangent"?[or/pr,sr/pr]:[-sr/pr,or/pr];return dr},tangentOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"tangent")},normalOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([gr],ir),extendPrototype([gr],fr),fr.prototype.getValueAtTime=ar,fr.prototype.initiateExpression=ExpressionManager.initiateExpression;var nr=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(rr,vr,cr,ur,Er){var or=nr(rr,vr,cr,ur,Er);return or.propertyIndex=vr.ix,or.lock=!1,cr===3?expressionHelpers.searchExpressions(rr,vr.pt,or):cr===4&&expressionHelpers.searchExpressions(rr,vr.ks,or),or.k&&rr.addDynamicProperty(or),or}}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,i){var r=this.calculateExpression(i);if(e.t!==r){var o={};return this.copyData(o,e),o.t=r.toString(),o.__complete=!1,o}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),i=this.searchExpressions();return this.kf=e||i,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,i){var r=createNS("feMerge");r.setAttribute("result",e);var o,Zt;for(Zt=0;Zt<i.length;Zt+=1)o=createNS("feMergeNode"),o.setAttribute("in",i[Zt]),r.appendChild(o),r.appendChild(o);return r}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,i,r,o){this.filterManager=e;var Zt=createNS("feColorMatrix");Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","linearRGB"),Zt.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=Zt,Zt.setAttribute("result",r+"_tint_1"),t.appendChild(Zt),Zt=createNS("feColorMatrix"),Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),Zt.setAttribute("result",r+"_tint_2"),t.appendChild(Zt),this.matrixFilter=Zt;var tr=this.createMergeNode(r,[o,r+"_tint_1",r+"_tint_2"]);t.appendChild(tr)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}};function SVGFillFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r),t.appendChild(o),this.matrixFilter=o}SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,i,r,o;for(this.filterManager.effectElements[1].p.v===1?(o=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,o=r+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),r;r<o;r+=1)e=createNS("path"),i.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var Zt=createNS("mask"),tr=createElementID();Zt.setAttribute("id",tr),Zt.setAttribute("mask-type","alpha"),Zt.appendChild(i),this.elem.globalData.defs.appendChild(Zt);var ar=createNS("g");for(ar.setAttribute("mask","url("+getLocationHref()+"#"+tr+")");t[0];)ar.appendChild(t[0]);this.elem.layerElement.appendChild(ar),this.masker=Zt,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,i=this.paths.length,r,o;for(e=0;e<i;e+=1)if(this.paths[e].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[e].m],o=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&o.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var Zt;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var tr=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ar=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ir=o.getTotalLength();Zt="0 0 0 "+ir*tr+" ";var fr=ir*(ar-tr),gr=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,nr=Math.floor(fr/gr),rr;for(rr=0;rr<nr;rr+=1)Zt+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";Zt+="0 "+ir*10+" 0 0"}else Zt="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;o.setAttribute("stroke-dasharray",Zt)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var vr=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(vr[0]*255)+","+bmFloor(vr[1]*255)+","+bmFloor(vr[2]*255)+")")}};function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(o);var Zt=createNS("feComponentTransfer");Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),this.matrixFilter=Zt;var tr=createNS("feFuncR");tr.setAttribute("type","table"),Zt.appendChild(tr),this.feFuncR=tr;var ar=createNS("feFuncG");ar.setAttribute("type","table"),Zt.appendChild(ar),this.feFuncG=ar;var ir=createNS("feFuncB");ir.setAttribute("type","table"),Zt.appendChild(ir),this.feFuncB=ir,t.appendChild(Zt)}SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,o=r[0]+" "+i[0]+" "+e[0],Zt=r[1]+" "+i[1]+" "+e[1],tr=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",Zt),this.feFuncB.setAttribute("tableValues",tr)}};function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var o=this.filterManager.effectElements,Zt=createNS("feComponentTransfer");(o[10].p.k||o[10].p.v!==0||o[11].p.k||o[11].p.v!==1||o[12].p.k||o[12].p.v!==1||o[13].p.k||o[13].p.v!==0||o[14].p.k||o[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",Zt)),(o[17].p.k||o[17].p.v!==0||o[18].p.k||o[18].p.v!==1||o[19].p.k||o[19].p.v!==1||o[20].p.k||o[20].p.v!==0||o[21].p.k||o[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",Zt)),(o[24].p.k||o[24].p.v!==0||o[25].p.k||o[25].p.v!==1||o[26].p.k||o[26].p.v!==1||o[27].p.k||o[27].p.v!==0||o[28].p.k||o[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",Zt)),(o[31].p.k||o[31].p.v!==0||o[32].p.k||o[32].p.v!==1||o[33].p.k||o[33].p.v!==1||o[34].p.k||o[34].p.v!==0||o[35].p.k||o[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",Zt)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(Zt.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(Zt)),(o[3].p.k||o[3].p.v!==0||o[4].p.k||o[4].p.v!==1||o[5].p.k||o[5].p.v!==1||o[6].p.k||o[6].p.v!==0||o[7].p.k||o[7].p.v!==1)&&(Zt=createNS("feComponentTransfer"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),t.appendChild(Zt),this.feFuncRComposed=this.createFeFunc("feFuncR",Zt),this.feFuncGComposed=this.createFeFunc("feFuncG",Zt),this.feFuncBComposed=this.createFeFunc("feFuncB",Zt))}SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,r,o){for(var Zt=0,tr=256,ar,ir=Math.min(t,e),fr=Math.max(t,e),gr=Array.call(null,{length:tr}),nr,rr=0,vr=o-r,cr=e-t;Zt<=256;)ar=Zt/256,ar<=ir?nr=cr<0?o:r:ar>=fr?nr=cr<0?r:o:nr=r+vr*Math.pow((ar-t)/cr,1/i),gr[rr]=nr,rr+=1,Zt+=256/(tr-1);return gr.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,i,r,o){var Zt=e.container.globalData.renderConfig.filterSize,tr=e.data.fs||Zt;t.setAttribute("x",tr.x||Zt.x),t.setAttribute("y",tr.y||Zt.y),t.setAttribute("width",tr.width||Zt.width),t.setAttribute("height",tr.height||Zt.height),this.filterManager=e;var ar=createNS("feGaussianBlur");ar.setAttribute("in","SourceAlpha"),ar.setAttribute("result",r+"_drop_shadow_1"),ar.setAttribute("stdDeviation","0"),this.feGaussianBlur=ar,t.appendChild(ar);var ir=createNS("feOffset");ir.setAttribute("dx","25"),ir.setAttribute("dy","0"),ir.setAttribute("in",r+"_drop_shadow_1"),ir.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=ir,t.appendChild(ir);var fr=createNS("feFlood");fr.setAttribute("flood-color","#00ff00"),fr.setAttribute("flood-opacity","1"),fr.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=fr,t.appendChild(fr);var gr=createNS("feComposite");gr.setAttribute("in",r+"_drop_shadow_3"),gr.setAttribute("in2",r+"_drop_shadow_2"),gr.setAttribute("operator","in"),gr.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(gr);var nr=this.createMergeNode(r,[r+"_drop_shadow_4",o]);t.appendChild(nr)}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 i=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=i*Math.cos(r),Zt=i*Math.sin(r);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",Zt)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var r=i.children,o=0,Zt=r.length;o<Zt&&r[o]!==t.layerElement;)o+=1;var tr;o<=Zt-2&&(tr=r[o+1]);var ar=createNS("use");ar.setAttribute("href","#"+e),tr?i.insertBefore(ar,tr):i.appendChild(ar)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var o=t.globalData.defs;o.appendChild(r);var Zt=createNS("symbol");Zt.setAttribute("id",i),this.replaceInParent(e,i),Zt.appendChild(e.layerElement),o.appendChild(Zt);var tr=createNS("use");tr.setAttribute("href","#"+i),r.appendChild(tr),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,r=e.length;i<r;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(t,e,i,r){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("result",r),t.appendChild(o),this.feGaussianBlur=o}SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,i=this.filterManager.effectElements[0].p.v*e,r=this.filterManager.effectElements[1].p.v,o=r==3?0:i,Zt=r==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",o+" "+Zt);var tr=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",tr)}};function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,i=e[0].p.v,r=e[1].p.v,o=e[2].p.v===1,Zt=e[3].p.v,tr=o?Zt:e[4].p.v,ar=e[5].p.v,ir=e[6].p.v,fr=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(tr*.01,Zt*.01,1),this.matrix.rotate(-fr*degToRads),this.matrix.skewFromAxis(-ar*degToRads,(ir+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(t,e){this.init(e)}return extendPrototype([TransformEffect],SVGTransformEffect),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),registerEffect(35,SVGTransformEffect,!1),lottie})}),gt=ut$2();const lottie_svgMJGYILXDNRTSROOT=Object.freeze(Object.defineProperty({__proto__:null,default:gt},Symbol.toStringTag,{value:"Module"}));var wa$1=u((t,e)=>{typeof navigator<"u"&&function(i,r){typeof t=="object"&&typeof e<"u"?e.exports=r():typeof define=="function"&&define.amd?define(r):(i=typeof globalThis<"u"?globalThis:i||self,i.lottie=r())}(t,function(){var i="http://www.w3.org/2000/svg",r="",o=!1,Zt=-999999,tr=function(er){o=!!er},ar=function(){return o},ir=function(er){r=er},fr=function(){return r};function gr(er){return document.createElement(er)}function nr(er,lr){var mr,Sr=er.length,wr;for(mr=0;mr<Sr;mr+=1){wr=er[mr].prototype;for(var kr in wr)Object.prototype.hasOwnProperty.call(wr,kr)&&(lr.prototype[kr]=wr[kr])}}function rr(er){function lr(){}return lr.prototype=er,lr}var vr=function(){function er(lr){this.audios=[],this.audioFactory=lr,this._volume=1,this._isMuted=!1}return er.prototype={addAudio:function(lr){this.audios.push(lr)},pause:function(){var lr,mr=this.audios.length;for(lr=0;lr<mr;lr+=1)this.audios[lr].pause()},resume:function(){var lr,mr=this.audios.length;for(lr=0;lr<mr;lr+=1)this.audios[lr].resume()},setRate:function(lr){var mr,Sr=this.audios.length;for(mr=0;mr<Sr;mr+=1)this.audios[mr].setRate(lr)},createAudio:function(lr){return this.audioFactory?this.audioFactory(lr):window.Howl?new window.Howl({src:[lr]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(lr){this.audioFactory=lr},setVolume:function(lr){this._volume=lr,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var lr,mr=this.audios.length;for(lr=0;lr<mr;lr+=1)this.audios[lr].volume(this._volume*(this._isMuted?0:1))}},function(){return new er}}(),cr=function(){function er(mr,Sr){var wr=0,kr=[],Br;switch(mr){case"int16":case"uint8c":Br=1;break;default:Br=1.1;break}for(wr=0;wr<Sr;wr+=1)kr.push(Br);return kr}function lr(mr,Sr){return mr==="float32"?new Float32Array(Sr):mr==="int16"?new Int16Array(Sr):mr==="uint8c"?new Uint8ClampedArray(Sr):er(mr,Sr)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?lr:er}();function ur(er){return Array.apply(null,{length:er})}var Er=!0,or=null,sr="",pr=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),dr=Math.pow,Pr=Math.sqrt,Ir=Math.floor,zr=Math.min,$r=150,es=Math.PI/180,hs=.5519;function ps(er,lr,mr,Sr){this.type=er,this.currentTime=lr,this.totalTime=mr,this.direction=Sr<0?-1:1}function os(er,lr){this.type=er,this.direction=lr<0?-1:1}function xs(er,lr,mr,Sr){this.type=er,this.currentLoop=mr,this.totalLoops=lr,this.direction=Sr<0?-1:1}function is(er,lr,mr){this.type=er,this.firstFrame=lr,this.totalFrames=mr}function cs(er,lr){this.type=er,this.target=lr}function Ar(er,lr){this.type="renderFrameError",this.nativeError=er,this.currentTime=lr}function Tr(er){this.type="configError",this.nativeError=er}var yr=function(){var er=0;return function(){return er+=1,sr+"__lottie_element_"+er}}();function Mr(er,lr,mr){var Sr,wr,kr,Br,Yr,Hr,Zr,ss;switch(Br=Math.floor(er*6),Yr=er*6-Br,Hr=mr*(1-lr),Zr=mr*(1-Yr*lr),ss=mr*(1-(1-Yr)*lr),Br%6){case 0:Sr=mr,wr=ss,kr=Hr;break;case 1:Sr=Zr,wr=mr,kr=Hr;break;case 2:Sr=Hr,wr=mr,kr=ss;break;case 3:Sr=Hr,wr=Zr,kr=mr;break;case 4:Sr=ss,wr=Hr,kr=mr;break;case 5:Sr=mr,wr=Hr,kr=Zr;break}return[Sr,wr,kr]}function Ur(er,lr,mr){var Sr=Math.max(er,lr,mr),wr=Math.min(er,lr,mr),kr=Sr-wr,Br,Yr=Sr===0?0:kr/Sr,Hr=Sr/255;switch(Sr){case wr:Br=0;break;case er:Br=lr-mr+kr*(lr<mr?6:0),Br/=6*kr;break;case lr:Br=mr-er+kr*2,Br/=6*kr;break;case mr:Br=er-lr+kr*4,Br/=6*kr;break}return[Br,Yr,Hr]}function jr(er,lr){var mr=Ur(er[0]*255,er[1]*255,er[2]*255);return mr[1]+=lr,mr[1]>1?mr[1]=1:mr[1]<=0&&(mr[1]=0),Mr(mr[0],mr[1],mr[2])}function Vs(er,lr){var mr=Ur(er[0]*255,er[1]*255,er[2]*255);return mr[2]+=lr,mr[2]>1?mr[2]=1:mr[2]<0&&(mr[2]=0),Mr(mr[0],mr[1],mr[2])}function Ts(er,lr){var mr=Ur(er[0]*255,er[1]*255,er[2]*255);return mr[0]+=lr/360,mr[0]>1?mr[0]-=1:mr[0]<0&&(mr[0]+=1),Mr(mr[0],mr[1],mr[2])}(function(){var er=[],lr,mr;for(lr=0;lr<256;lr+=1)mr=lr.toString(16),er[lr]=mr.length===1?"0"+mr:mr;return function(Sr,wr,kr){return Sr<0&&(Sr=0),wr<0&&(wr=0),kr<0&&(kr=0),"#"+er[Sr]+er[wr]+er[kr]}})();var Ns=function(er){Er=!!er},Bs=function(){return Er},Ys=function(er){or=er},Hs=function(){return or},Qs=function(er){$r=er},na=function(){return $r},ra=function(er){sr=er};function $s(er){return document.createElementNS(i,er)}function sa(er){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?sa=function(lr){return typeof lr}:sa=function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},sa(er)}var Rs=function(){var er=1,lr=[],mr,Sr,wr={onmessage:function(){},postMessage:function(Nr){mr({data:Nr})}},kr={postMessage:function(Nr){wr.onmessage({data:Nr})}};function Br(Nr){if(window.Worker&&window.Blob&&ar()){var Or=new Blob(["var _workerSelf = self; self.onmessage = ",Nr.toString()],{type:"text/javascript"}),Gr=URL.createObjectURL(Or);return new Worker(Gr)}return mr=Nr,wr}function Yr(){Sr||(Sr=Br(function(Nr){function Or(){function Lr(As,vs){var gs,_s,ns=As.length,Es,Os,Is,Ks;for(_s=0;_s<ns;_s+=1)if(gs=As[_s],"ks"in gs&&!gs.completed){if(gs.completed=!0,gs.hasMask){var Js=gs.masksProperties;for(Os=Js.length,Es=0;Es<Os;Es+=1)if(Js[Es].pt.k.i)ls(Js[Es].pt.k);else for(Ks=Js[Es].pt.k.length,Is=0;Is<Ks;Is+=1)Js[Es].pt.k[Is].s&&ls(Js[Es].pt.k[Is].s[0]),Js[Es].pt.k[Is].e&&ls(Js[Es].pt.k[Is].e[0])}gs.ty===0?(gs.layers=Wr(gs.refId,vs),Lr(gs.layers,vs)):gs.ty===4?as(gs.shapes):gs.ty===5&&rs(gs)}}function Kr(As,vs){if(As){var gs=0,_s=As.length;for(gs=0;gs<_s;gs+=1)As[gs].t===1&&(As[gs].data.layers=Wr(As[gs].data.refId,vs),Lr(As[gs].data.layers,vs))}}function ts(As,vs){for(var gs=0,_s=vs.length;gs<_s;){if(vs[gs].id===As)return vs[gs];gs+=1}return null}function Wr(As,vs){var gs=ts(As,vs);return gs?gs.layers.__used?JSON.parse(JSON.stringify(gs.layers)):(gs.layers.__used=!0,gs.layers):null}function as(As){var vs,gs=As.length,_s,ns;for(vs=gs-1;vs>=0;vs-=1)if(As[vs].ty==="sh")if(As[vs].ks.k.i)ls(As[vs].ks.k);else for(ns=As[vs].ks.k.length,_s=0;_s<ns;_s+=1)As[vs].ks.k[_s].s&&ls(As[vs].ks.k[_s].s[0]),As[vs].ks.k[_s].e&&ls(As[vs].ks.k[_s].e[0]);else As[vs].ty==="gr"&&as(As[vs].it)}function ls(As){var vs,gs=As.i.length;for(vs=0;vs<gs;vs+=1)As.i[vs][0]+=As.v[vs][0],As.i[vs][1]+=As.v[vs][1],As.o[vs][0]+=As.v[vs][0],As.o[vs][1]+=As.v[vs][1]}function ds(As,vs){var gs=vs?vs.split("."):[100,100,100];return As[0]>gs[0]?!0:gs[0]>As[0]?!1:As[1]>gs[1]?!0:gs[1]>As[1]?!1:As[2]>gs[2]?!0:gs[2]>As[2]?!1:null}var ws=function(){var As=[4,4,14];function vs(_s){var ns=_s.t.d;_s.t.d={k:[{s:ns,t:0}]}}function gs(_s){var ns,Es=_s.length;for(ns=0;ns<Es;ns+=1)_s[ns].ty===5&&vs(_s[ns])}return function(_s){if(ds(As,_s.v)&&(gs(_s.layers),_s.assets)){var ns,Es=_s.assets.length;for(ns=0;ns<Es;ns+=1)_s.assets[ns].layers&&gs(_s.assets[ns].layers)}}}(),Fs=function(){var As=[4,7,99];return function(vs){if(vs.chars&&!ds(As,vs.v)){var gs,_s=vs.chars.length;for(gs=0;gs<_s;gs+=1){var ns=vs.chars[gs];ns.data&&ns.data.shapes&&(as(ns.data.shapes),ns.data.ip=0,ns.data.op=99999,ns.data.st=0,ns.data.sr=1,ns.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},vs.chars[gs].t||(ns.data.shapes.push({ty:"no"}),ns.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Cs=function(){var As=[5,7,15];function vs(_s){var ns=_s.t.p;typeof ns.a=="number"&&(ns.a={a:0,k:ns.a}),typeof ns.p=="number"&&(ns.p={a:0,k:ns.p}),typeof ns.r=="number"&&(ns.r={a:0,k:ns.r})}function gs(_s){var ns,Es=_s.length;for(ns=0;ns<Es;ns+=1)_s[ns].ty===5&&vs(_s[ns])}return function(_s){if(ds(As,_s.v)&&(gs(_s.layers),_s.assets)){var ns,Es=_s.assets.length;for(ns=0;ns<Es;ns+=1)_s.assets[ns].layers&&gs(_s.assets[ns].layers)}}}(),zs=function(){var As=[4,1,9];function vs(_s){var ns,Es=_s.length,Os,Is;for(ns=0;ns<Es;ns+=1)if(_s[ns].ty==="gr")vs(_s[ns].it);else if(_s[ns].ty==="fl"||_s[ns].ty==="st")if(_s[ns].c.k&&_s[ns].c.k[0].i)for(Is=_s[ns].c.k.length,Os=0;Os<Is;Os+=1)_s[ns].c.k[Os].s&&(_s[ns].c.k[Os].s[0]/=255,_s[ns].c.k[Os].s[1]/=255,_s[ns].c.k[Os].s[2]/=255,_s[ns].c.k[Os].s[3]/=255),_s[ns].c.k[Os].e&&(_s[ns].c.k[Os].e[0]/=255,_s[ns].c.k[Os].e[1]/=255,_s[ns].c.k[Os].e[2]/=255,_s[ns].c.k[Os].e[3]/=255);else _s[ns].c.k[0]/=255,_s[ns].c.k[1]/=255,_s[ns].c.k[2]/=255,_s[ns].c.k[3]/=255}function gs(_s){var ns,Es=_s.length;for(ns=0;ns<Es;ns+=1)_s[ns].ty===4&&vs(_s[ns].shapes)}return function(_s){if(ds(As,_s.v)&&(gs(_s.layers),_s.assets)){var ns,Es=_s.assets.length;for(ns=0;ns<Es;ns+=1)_s.assets[ns].layers&&gs(_s.assets[ns].layers)}}}(),ms=function(){var As=[4,4,18];function vs(_s){var ns,Es=_s.length,Os,Is;for(ns=Es-1;ns>=0;ns-=1)if(_s[ns].ty==="sh")if(_s[ns].ks.k.i)_s[ns].ks.k.c=_s[ns].closed;else for(Is=_s[ns].ks.k.length,Os=0;Os<Is;Os+=1)_s[ns].ks.k[Os].s&&(_s[ns].ks.k[Os].s[0].c=_s[ns].closed),_s[ns].ks.k[Os].e&&(_s[ns].ks.k[Os].e[0].c=_s[ns].closed);else _s[ns].ty==="gr"&&vs(_s[ns].it)}function gs(_s){var ns,Es,Os=_s.length,Is,Ks,Js,ha;for(Es=0;Es<Os;Es+=1){if(ns=_s[Es],ns.hasMask){var ea=ns.masksProperties;for(Ks=ea.length,Is=0;Is<Ks;Is+=1)if(ea[Is].pt.k.i)ea[Is].pt.k.c=ea[Is].cl;else for(ha=ea[Is].pt.k.length,Js=0;Js<ha;Js+=1)ea[Is].pt.k[Js].s&&(ea[Is].pt.k[Js].s[0].c=ea[Is].cl),ea[Is].pt.k[Js].e&&(ea[Is].pt.k[Js].e[0].c=ea[Is].cl)}ns.ty===4&&vs(ns.shapes)}}return function(_s){if(ds(As,_s.v)&&(gs(_s.layers),_s.assets)){var ns,Es=_s.assets.length;for(ns=0;ns<Es;ns+=1)_s.assets[ns].layers&&gs(_s.assets[ns].layers)}}}();function bs(As){As.__complete||(zs(As),ws(As),Fs(As),Cs(As),ms(As),Lr(As.layers,As.assets),Kr(As.chars,As.assets),As.__complete=!0)}function rs(As){As.t.a.length===0&&"m"in As.t.p}var Ps={};return Ps.completeData=bs,Ps.checkColors=zs,Ps.checkChars=Fs,Ps.checkPathProperties=Cs,Ps.checkShapes=ms,Ps.completeLayers=Lr,Ps}if(kr.dataManager||(kr.dataManager=Or()),kr.assetLoader||(kr.assetLoader=function(){function Lr(ts){var Wr=ts.getResponseHeader("content-type");return Wr&&ts.responseType==="json"&&Wr.indexOf("json")!==-1||ts.response&&sa(ts.response)==="object"?ts.response:ts.response&&typeof ts.response=="string"?JSON.parse(ts.response):ts.responseText?JSON.parse(ts.responseText):null}function Kr(ts,Wr,as,ls){var ds,ws=new XMLHttpRequest;try{ws.responseType="json"}catch{}ws.onreadystatechange=function(){if(ws.readyState===4)if(ws.status===200)ds=Lr(ws),as(ds);else try{ds=Lr(ws),as(ds)}catch(Fs){ls&&ls(Fs)}};try{ws.open(["G","E","T"].join(""),ts,!0)}catch{ws.open(["G","E","T"].join(""),Wr+"/"+ts,!0)}ws.send()}return{load:Kr}}()),Nr.data.type==="loadAnimation")kr.assetLoader.load(Nr.data.path,Nr.data.fullPath,function(Lr){kr.dataManager.completeData(Lr),kr.postMessage({id:Nr.data.id,payload:Lr,status:"success"})},function(){kr.postMessage({id:Nr.data.id,status:"error"})});else if(Nr.data.type==="complete"){var Gr=Nr.data.animation;kr.dataManager.completeData(Gr),kr.postMessage({id:Nr.data.id,payload:Gr,status:"success"})}else Nr.data.type==="loadData"&&kr.assetLoader.load(Nr.data.path,Nr.data.fullPath,function(Lr){kr.postMessage({id:Nr.data.id,payload:Lr,status:"success"})},function(){kr.postMessage({id:Nr.data.id,status:"error"})})}),Sr.onmessage=function(Nr){var Or=Nr.data,Gr=Or.id,Lr=lr[Gr];lr[Gr]=null,Or.status==="success"?Lr.onComplete(Or.payload):Lr.onError&&Lr.onError()})}function Hr(Nr,Or){er+=1;var Gr="processId_"+er;return lr[Gr]={onComplete:Nr,onError:Or},Gr}function Zr(Nr,Or,Gr){Yr();var Lr=Hr(Or,Gr);Sr.postMessage({type:"loadAnimation",path:Nr,fullPath:window.location.origin+window.location.pathname,id:Lr})}function ss(Nr,Or,Gr){Yr();var Lr=Hr(Or,Gr);Sr.postMessage({type:"loadData",path:Nr,fullPath:window.location.origin+window.location.pathname,id:Lr})}function Xr(Nr,Or,Gr){Yr();var Lr=Hr(Or,Gr);Sr.postMessage({type:"complete",animation:Nr,id:Lr})}return{loadAnimation:Zr,loadData:ss,completeAnimation:Xr}}(),Ms=function(){var er=function(){var ts=gr("canvas");ts.width=1,ts.height=1;var Wr=ts.getContext("2d");return Wr.fillStyle="rgba(0,0,0,0)",Wr.fillRect(0,0,1,1),ts}();function lr(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function mr(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function Sr(ts,Wr,as){var ls="";if(ts.e)ls=ts.p;else if(Wr){var ds=ts.p;ds.indexOf("images/")!==-1&&(ds=ds.split("/")[1]),ls=Wr+ds}else ls=as,ls+=ts.u?ts.u:"",ls+=ts.p;return ls}function wr(ts){var Wr=0,as=setInterval(function(){var ls=ts.getBBox();(ls.width||Wr>500)&&(this._imageLoaded(),clearInterval(as)),Wr+=1}.bind(this),50)}function kr(ts){var Wr=Sr(ts,this.assetsPath,this.path),as=$s("image");pr?this.testImageLoaded(as):as.addEventListener("load",this._imageLoaded,!1),as.addEventListener("error",function(){ls.img=er,this._imageLoaded()}.bind(this),!1),as.setAttributeNS("http://www.w3.org/1999/xlink","href",Wr),this._elementHelper.append?this._elementHelper.append(as):this._elementHelper.appendChild(as);var ls={img:as,assetData:ts};return ls}function Br(ts){var Wr=Sr(ts,this.assetsPath,this.path),as=gr("img");as.crossOrigin="anonymous",as.addEventListener("load",this._imageLoaded,!1),as.addEventListener("error",function(){ls.img=er,this._imageLoaded()}.bind(this),!1),as.src=Wr;var ls={img:as,assetData:ts};return ls}function Yr(ts){var Wr={assetData:ts},as=Sr(ts,this.assetsPath,this.path);return Rs.loadData(as,function(ls){Wr.img=ls,this._footageLoaded()}.bind(this),function(){Wr.img={},this._footageLoaded()}.bind(this)),Wr}function Hr(ts,Wr){this.imagesLoadedCb=Wr;var as,ls=ts.length;for(as=0;as<ls;as+=1)ts[as].layers||(!ts[as].t||ts[as].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(ts[as]))):ts[as].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(ts[as]))))}function Zr(ts){this.path=ts||""}function ss(ts){this.assetsPath=ts||""}function Xr(ts){for(var Wr=0,as=this.images.length;Wr<as;){if(this.images[Wr].assetData===ts)return this.images[Wr].img;Wr+=1}return null}function Nr(){this.imagesLoadedCb=null,this.images.length=0}function Or(){return this.totalImages===this.loadedAssets}function Gr(){return this.totalFootages===this.loadedFootagesCount}function Lr(ts,Wr){ts==="svg"?(this._elementHelper=Wr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Kr(){this._imageLoaded=lr.bind(this),this._footageLoaded=mr.bind(this),this.testImageLoaded=wr.bind(this),this.createFootageData=Yr.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Kr.prototype={loadAssets:Hr,setAssetsPath:ss,setPath:Zr,loadedImages:Or,loadedFootages:Gr,destroy:Nr,getAsset:Xr,createImgData:Br,createImageData:kr,imageLoaded:lr,footageLoaded:mr,setCacheType:Lr},Kr}();function ua(){}ua.prototype={triggerEvent:function(er,lr){if(this._cbs[er])for(var mr=this._cbs[er],Sr=0;Sr<mr.length;Sr+=1)mr[Sr](lr)},addEventListener:function(er,lr){return this._cbs[er]||(this._cbs[er]=[]),this._cbs[er].push(lr),function(){this.removeEventListener(er,lr)}.bind(this)},removeEventListener:function(er,lr){if(!lr)this._cbs[er]=null;else if(this._cbs[er]){for(var mr=0,Sr=this._cbs[er].length;mr<Sr;)this._cbs[er][mr]===lr&&(this._cbs[er].splice(mr,1),mr-=1,Sr-=1),mr+=1;this._cbs[er].length||(this._cbs[er]=null)}}};var ka=function(){function er(lr){for(var mr=lr.split(`\r
849`),Sr={},wr,kr=0,Br=0;Br<mr.length;Br+=1)wr=mr[Br].split(":"),wr.length===2&&(Sr[wr[0]]=wr[1].trim(),kr+=1);if(kr===0)throw new Error;return Sr}return function(lr){for(var mr=[],Sr=0;Sr<lr.length;Sr+=1){var wr=lr[Sr],kr={time:wr.tm,duration:wr.dr};try{kr.payload=JSON.parse(lr[Sr].cm)}catch{try{kr.payload=er(lr[Sr].cm)}catch{kr.payload={name:lr[Sr].cm}}}mr.push(kr)}return mr}}(),ya=function(){function er(lr){this.compositions.push(lr)}return function(){function lr(mr){for(var Sr=0,wr=this.compositions.length;Sr<wr;){if(this.compositions[Sr].data&&this.compositions[Sr].data.nm===mr)return this.compositions[Sr].prepareFrame&&this.compositions[Sr].data.xt&&this.compositions[Sr].prepareFrame(this.currentFrame),this.compositions[Sr].compInterface;Sr+=1}return null}return lr.compositions=[],lr.currentFrame=0,lr.registerComposition=er,lr}}(),la={},_a=function(er,lr){la[er]=lr};function ca(er){return la[er]}function aa(){if(la.canvas)return"canvas";for(var er in la)if(la[er])return er;return""}function da(er){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?da=function(lr){return typeof lr}:da=function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},da(er)}var js=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=yr(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Bs(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ya(),this.imagePreloader=new Ms,this.audioController=vr(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new ps("drawnFrame",0,0,0),this.expressionsPlugin=Hs()};nr([ua],js),js.prototype.setParams=function(er){(er.wrapper||er.container)&&(this.wrapper=er.wrapper||er.container);var lr="svg";er.animType?lr=er.animType:er.renderer&&(lr=er.renderer);var mr=ca(lr);this.renderer=new mr(this,er.rendererSettings),this.imagePreloader.setCacheType(lr,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=lr,er.loop===""||er.loop===null||er.loop===void 0||er.loop===!0?this.loop=!0:er.loop===!1?this.loop=!1:this.loop=parseInt(er.loop,10),this.autoplay="autoplay"in er?er.autoplay:!0,this.name=er.name?er.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(er,"autoloadSegments")?er.autoloadSegments:!0,this.assetsPath=er.assetsPath,this.initialSegment=er.initialSegment,er.audioFactory&&this.audioController.setAudioFactory(er.audioFactory),er.animationData?this.setupAnimation(er.animationData):er.path&&(er.path.lastIndexOf("\\")!==-1?this.path=er.path.substr(0,er.path.lastIndexOf("\\")+1):this.path=er.path.substr(0,er.path.lastIndexOf("/")+1),this.fileName=er.path.substr(er.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Rs.loadAnimation(er.path,this.configAnimation,this.onSetupError))},js.prototype.onSetupError=function(){this.trigger("data_failed")},js.prototype.setupAnimation=function(er){Rs.completeAnimation(er,this.configAnimation)},js.prototype.setData=function(er,lr){lr&&da(lr)!=="object"&&(lr=JSON.parse(lr));var mr={wrapper:er,animationData:lr},Sr=er.attributes;mr.path=Sr.getNamedItem("data-animation-path")?Sr.getNamedItem("data-animation-path").value:Sr.getNamedItem("data-bm-path")?Sr.getNamedItem("data-bm-path").value:Sr.getNamedItem("bm-path")?Sr.getNamedItem("bm-path").value:"",mr.animType=Sr.getNamedItem("data-anim-type")?Sr.getNamedItem("data-anim-type").value:Sr.getNamedItem("data-bm-type")?Sr.getNamedItem("data-bm-type").value:Sr.getNamedItem("bm-type")?Sr.getNamedItem("bm-type").value:Sr.getNamedItem("data-bm-renderer")?Sr.getNamedItem("data-bm-renderer").value:Sr.getNamedItem("bm-renderer")?Sr.getNamedItem("bm-renderer").value:aa()||"canvas";var wr=Sr.getNamedItem("data-anim-loop")?Sr.getNamedItem("data-anim-loop").value:Sr.getNamedItem("data-bm-loop")?Sr.getNamedItem("data-bm-loop").value:Sr.getNamedItem("bm-loop")?Sr.getNamedItem("bm-loop").value:"";wr==="false"?mr.loop=!1:wr==="true"?mr.loop=!0:wr!==""&&(mr.loop=parseInt(wr,10));var kr=Sr.getNamedItem("data-anim-autoplay")?Sr.getNamedItem("data-anim-autoplay").value:Sr.getNamedItem("data-bm-autoplay")?Sr.getNamedItem("data-bm-autoplay").value:Sr.getNamedItem("bm-autoplay")?Sr.getNamedItem("bm-autoplay").value:!0;mr.autoplay=kr!=="false",mr.name=Sr.getNamedItem("data-name")?Sr.getNamedItem("data-name").value:Sr.getNamedItem("data-bm-name")?Sr.getNamedItem("data-bm-name").value:Sr.getNamedItem("bm-name")?Sr.getNamedItem("bm-name").value:"";var Br=Sr.getNamedItem("data-anim-prerender")?Sr.getNamedItem("data-anim-prerender").value:Sr.getNamedItem("data-bm-prerender")?Sr.getNamedItem("data-bm-prerender").value:Sr.getNamedItem("bm-prerender")?Sr.getNamedItem("bm-prerender").value:"";Br==="false"&&(mr.prerender=!1),mr.path?this.setParams(mr):this.trigger("destroy")},js.prototype.includeLayers=function(er){er.op>this.animationData.op&&(this.animationData.op=er.op,this.totalFrames=Math.floor(er.op-this.animationData.ip));var lr=this.animationData.layers,mr,Sr=lr.length,wr=er.layers,kr,Br=wr.length;for(kr=0;kr<Br;kr+=1)for(mr=0;mr<Sr;){if(lr[mr].id===wr[kr].id){lr[mr]=wr[kr];break}mr+=1}if((er.chars||er.fonts)&&(this.renderer.globalData.fontManager.addChars(er.chars),this.renderer.globalData.fontManager.addFonts(er.fonts,this.renderer.globalData.defs)),er.assets)for(Sr=er.assets.length,mr=0;mr<Sr;mr+=1)this.animationData.assets.push(er.assets[mr]);this.animationData.__complete=!1,Rs.completeAnimation(this.animationData,this.onSegmentComplete)},js.prototype.onSegmentComplete=function(er){this.animationData=er;var lr=Hs();lr&&lr.initExpressions(this),this.loadNextSegment()},js.prototype.loadNextSegment=function(){var er=this.animationData.segments;if(!er||er.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var lr=er.shift();this.timeCompleted=lr.time*this.frameRate;var mr=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Rs.loadData(mr,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},js.prototype.loadSegments=function(){var er=this.animationData.segments;er||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},js.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},js.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},js.prototype.configAnimation=function(er){if(this.renderer)try{this.animationData=er,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(er),er.assets||(er.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(er.assets),this.markers=ka(er.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(lr){this.triggerConfigError(lr)}},js.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},js.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var er=Hs();er&&er.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},js.prototype.resize=function(er,lr){var mr=typeof er=="number"?er:void 0,Sr=typeof lr=="number"?lr:void 0;this.renderer.updateContainerSize(mr,Sr)},js.prototype.setSubframe=function(er){this.isSubframeEnabled=!!er},js.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},js.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(er){this.triggerRenderFrameError(er)}},js.prototype.play=function(er){er&&this.name!==er||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},js.prototype.pause=function(er){er&&this.name!==er||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},js.prototype.togglePause=function(er){er&&this.name!==er||(this.isPaused===!0?this.play():this.pause())},js.prototype.stop=function(er){er&&this.name!==er||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},js.prototype.getMarkerData=function(er){for(var lr,mr=0;mr<this.markers.length;mr+=1)if(lr=this.markers[mr],lr.payload&&lr.payload.name===er)return lr;return null},js.prototype.goToAndStop=function(er,lr,mr){if(!(mr&&this.name!==mr)){var Sr=Number(er);if(isNaN(Sr)){var wr=this.getMarkerData(er);wr&&this.goToAndStop(wr.time,!0)}else lr?this.setCurrentRawFrameValue(er):this.setCurrentRawFrameValue(er*this.frameModifier);this.pause()}},js.prototype.goToAndPlay=function(er,lr,mr){if(!(mr&&this.name!==mr)){var Sr=Number(er);if(isNaN(Sr)){var wr=this.getMarkerData(er);wr&&(wr.duration?this.playSegments([wr.time,wr.time+wr.duration],!0):this.goToAndStop(wr.time,!0))}else this.goToAndStop(Sr,lr,mr);this.play()}},js.prototype.advanceTime=function(er){if(!(this.isPaused===!0||this.isLoaded===!1)){var lr=this.currentRawFrame+er*this.frameModifier,mr=!1;lr>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(lr>this.totalFrames?lr%this.totalFrames:0)||(mr=!0,lr=this.totalFrames-1):lr>=this.totalFrames?(this.playCount+=1,this.checkSegments(lr%this.totalFrames)||(this.setCurrentRawFrameValue(lr%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(lr):lr<0?this.checkSegments(lr%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+lr%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(mr=!0,lr=0)):this.setCurrentRawFrameValue(lr),mr&&(this.setCurrentRawFrameValue(lr),this.pause(),this.trigger("complete"))}},js.prototype.adjustSegment=function(er,lr){this.playCount=0,er[1]<er[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=er[0]-er[1],this.timeCompleted=this.totalFrames,this.firstFrame=er[1],this.setCurrentRawFrameValue(this.totalFrames-.001-lr)):er[1]>er[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=er[1]-er[0],this.timeCompleted=this.totalFrames,this.firstFrame=er[0],this.setCurrentRawFrameValue(.001+lr)),this.trigger("segmentStart")},js.prototype.setSegment=function(er,lr){var mr=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<er?mr=er:this.currentRawFrame+this.firstFrame>lr&&(mr=lr-er)),this.firstFrame=er,this.totalFrames=lr-er,this.timeCompleted=this.totalFrames,mr!==-1&&this.goToAndStop(mr,!0)},js.prototype.playSegments=function(er,lr){if(lr&&(this.segments.length=0),da(er[0])==="object"){var mr,Sr=er.length;for(mr=0;mr<Sr;mr+=1)this.segments.push(er[mr])}else this.segments.push(er);this.segments.length&&lr&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},js.prototype.resetSegments=function(er){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),er&&this.checkSegments(0)},js.prototype.checkSegments=function(er){return this.segments.length?(this.adjustSegment(this.segments.shift(),er),!0):!1},js.prototype.destroy=function(er){er&&this.name!==er||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},js.prototype.setCurrentRawFrameValue=function(er){this.currentRawFrame=er,this.gotoFrame()},js.prototype.setSpeed=function(er){this.playSpeed=er,this.updaFrameModifier()},js.prototype.setDirection=function(er){this.playDirection=er<0?-1:1,this.updaFrameModifier()},js.prototype.setLoop=function(er){this.loop=er},js.prototype.setVolume=function(er,lr){lr&&this.name!==lr||this.audioController.setVolume(er)},js.prototype.getVolume=function(){return this.audioController.getVolume()},js.prototype.mute=function(er){er&&this.name!==er||this.audioController.mute()},js.prototype.unmute=function(er){er&&this.name!==er||this.audioController.unmute()},js.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},js.prototype.getPath=function(){return this.path},js.prototype.getAssetsPath=function(er){var lr="";if(er.e)lr=er.p;else if(this.assetsPath){var mr=er.p;mr.indexOf("images/")!==-1&&(mr=mr.split("/")[1]),lr=this.assetsPath+mr}else lr=this.path,lr+=er.u?er.u:"",lr+=er.p;return lr},js.prototype.getAssetData=function(er){for(var lr=0,mr=this.assets.length;lr<mr;){if(er===this.assets[lr].id)return this.assets[lr];lr+=1}return null},js.prototype.hide=function(){this.renderer.hide()},js.prototype.show=function(){this.renderer.show()},js.prototype.getDuration=function(er){return er?this.totalFrames:this.totalFrames/this.frameRate},js.prototype.updateDocumentData=function(er,lr,mr){try{var Sr=this.renderer.getElementByPath(er);Sr.updateDocumentData(lr,mr)}catch{}},js.prototype.trigger=function(er){if(this._cbs&&this._cbs[er])switch(er){case"enterFrame":this.triggerEvent(er,new ps(er,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(er,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(er,new xs(er,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(er,new os(er,this.frameMult));break;case"segmentStart":this.triggerEvent(er,new is(er,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(er,new cs(er,this));break;default:this.triggerEvent(er)}er==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new ps(er,this.currentFrame,this.totalFrames,this.frameMult)),er==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new xs(er,this.loop,this.playCount,this.frameMult)),er==="complete"&&this.onComplete&&this.onComplete.call(this,new os(er,this.frameMult)),er==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new is(er,this.firstFrame,this.totalFrames)),er==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new cs(er,this))},js.prototype.triggerRenderFrameError=function(er){var lr=new Ar(er,this.currentFrame);this.triggerEvent("error",lr),this.onError&&this.onError.call(this,lr)},js.prototype.triggerConfigError=function(er){var lr=new Tr(er,this.currentFrame);this.triggerEvent("error",lr),this.onError&&this.onError.call(this,lr)};var Us=function(){var er={},lr=[],mr=0,Sr=0,wr=0,kr=!0,Br=!1;function Yr(gs){for(var _s=0,ns=gs.target;_s<Sr;)lr[_s].animation===ns&&(lr.splice(_s,1),_s-=1,Sr-=1,ns.isPaused||Xr()),_s+=1}function Hr(gs,_s){if(!gs)return null;for(var ns=0;ns<Sr;){if(lr[ns].elem===gs&&lr[ns].elem!==null)return lr[ns].animation;ns+=1}var Es=new js;return Nr(Es,gs),Es.setData(gs,_s),Es}function Zr(){var gs,_s=lr.length,ns=[];for(gs=0;gs<_s;gs+=1)ns.push(lr[gs].animation);return ns}function ss(){wr+=1,ms()}function Xr(){wr-=1}function Nr(gs,_s){gs.addEventListener("destroy",Yr),gs.addEventListener("_active",ss),gs.addEventListener("_idle",Xr),lr.push({elem:_s,animation:gs}),Sr+=1}function Or(gs){var _s=new js;return Nr(_s,null),_s.setParams(gs),_s}function Gr(gs,_s){var ns;for(ns=0;ns<Sr;ns+=1)lr[ns].animation.setSpeed(gs,_s)}function Lr(gs,_s){var ns;for(ns=0;ns<Sr;ns+=1)lr[ns].animation.setDirection(gs,_s)}function Kr(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.play(gs)}function ts(gs){var _s=gs-mr,ns;for(ns=0;ns<Sr;ns+=1)lr[ns].animation.advanceTime(_s);mr=gs,wr&&!Br?window.requestAnimationFrame(ts):kr=!0}function Wr(gs){mr=gs,window.requestAnimationFrame(ts)}function as(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.pause(gs)}function ls(gs,_s,ns){var Es;for(Es=0;Es<Sr;Es+=1)lr[Es].animation.goToAndStop(gs,_s,ns)}function ds(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.stop(gs)}function ws(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.togglePause(gs)}function Fs(gs){var _s;for(_s=Sr-1;_s>=0;_s-=1)lr[_s].animation.destroy(gs)}function Cs(gs,_s,ns){var Es=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Os,Is=Es.length;for(Os=0;Os<Is;Os+=1)ns&&Es[Os].setAttribute("data-bm-type",ns),Hr(Es[Os],gs);if(_s&&Is===0){ns||(ns="svg");var Ks=document.getElementsByTagName("body")[0];Ks.innerText="";var Js=gr("div");Js.style.width="100%",Js.style.height="100%",Js.setAttribute("data-bm-type",ns),Ks.appendChild(Js),Hr(Js,gs)}}function zs(){var gs;for(gs=0;gs<Sr;gs+=1)lr[gs].animation.resize()}function ms(){!Br&&wr&&kr&&(window.requestAnimationFrame(Wr),kr=!1)}function bs(){Br=!0}function rs(){Br=!1,ms()}function Ps(gs,_s){var ns;for(ns=0;ns<Sr;ns+=1)lr[ns].animation.setVolume(gs,_s)}function As(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.mute(gs)}function vs(gs){var _s;for(_s=0;_s<Sr;_s+=1)lr[_s].animation.unmute(gs)}return er.registerAnimation=Hr,er.loadAnimation=Or,er.setSpeed=Gr,er.setDirection=Lr,er.play=Kr,er.pause=as,er.stop=ds,er.togglePause=ws,er.searchAnimations=Cs,er.resize=zs,er.goToAndStop=ls,er.destroy=Fs,er.freeze=bs,er.unfreeze=rs,er.setVolume=Ps,er.mute=As,er.unmute=vs,er.getRegisteredAnimations=Zr,er}(),qs=function(){var er={};er.getBezierEasing=mr;var lr={};function mr(Wr,as,ls,ds,ws){var Fs=ws||("bez_"+Wr+"_"+as+"_"+ls+"_"+ds).replace(/\./g,"p");if(lr[Fs])return lr[Fs];var Cs=new ts([Wr,as,ls,ds]);return lr[Fs]=Cs,Cs}var Sr=4,wr=.001,kr=1e-7,Br=10,Yr=11,Hr=1/(Yr-1),Zr=typeof Float32Array=="function";function ss(Wr,as){return 1-3*as+3*Wr}function Xr(Wr,as){return 3*as-6*Wr}function Nr(Wr){return 3*Wr}function Or(Wr,as,ls){return((ss(as,ls)*Wr+Xr(as,ls))*Wr+Nr(as))*Wr}function Gr(Wr,as,ls){return 3*ss(as,ls)*Wr*Wr+2*Xr(as,ls)*Wr+Nr(as)}function Lr(Wr,as,ls,ds,ws){var Fs,Cs,zs=0;do Cs=as+(ls-as)/2,Fs=Or(Cs,ds,ws)-Wr,Fs>0?ls=Cs:as=Cs;while(Math.abs(Fs)>kr&&++zs<Br);return Cs}function Kr(Wr,as,ls,ds){for(var ws=0;ws<Sr;++ws){var Fs=Gr(as,ls,ds);if(Fs===0)return as;var Cs=Or(as,ls,ds)-Wr;as-=Cs/Fs}return as}function ts(Wr){this._p=Wr,this._mSampleValues=Zr?new Float32Array(Yr):new Array(Yr),this._precomputed=!1,this.get=this.get.bind(this)}return ts.prototype={get:function(Wr){var as=this._p[0],ls=this._p[1],ds=this._p[2],ws=this._p[3];return this._precomputed||this._precompute(),as===ls&&ds===ws?Wr:Wr===0?0:Wr===1?1:Or(this._getTForX(Wr),ls,ws)},_precompute:function(){var Wr=this._p[0],as=this._p[1],ls=this._p[2],ds=this._p[3];this._precomputed=!0,(Wr!==as||ls!==ds)&&this._calcSampleValues()},_calcSampleValues:function(){for(var Wr=this._p[0],as=this._p[2],ls=0;ls<Yr;++ls)this._mSampleValues[ls]=Or(ls*Hr,Wr,as)},_getTForX:function(Wr){for(var as=this._p[0],ls=this._p[2],ds=this._mSampleValues,ws=0,Fs=1,Cs=Yr-1;Fs!==Cs&&ds[Fs]<=Wr;++Fs)ws+=Hr;--Fs;var zs=(Wr-ds[Fs])/(ds[Fs+1]-ds[Fs]),ms=ws+zs*Hr,bs=Gr(ms,as,ls);return bs>=wr?Kr(Wr,ms,as,ls):bs===0?ms:Lr(Wr,ws,ws+Hr,as,ls)}},er}(),ta=function(){function er(lr){return lr.concat(ur(lr.length))}return{double:er}}(),ga=function(){return function(er,lr,mr){var Sr=0,wr=er,kr=ur(wr),Br={newElement:Yr,release:Hr};function Yr(){var Zr;return Sr?(Sr-=1,Zr=kr[Sr]):Zr=lr(),Zr}function Hr(Zr){Sr===wr&&(kr=ta.double(kr),wr*=2),mr&&mr(Zr),kr[Sr]=Zr,Sr+=1}return Br}}(),Ha=function(){function er(){return{addedLength:0,percents:cr("float32",na()),lengths:cr("float32",na())}}return ga(8,er)}(),Na=function(){function er(){return{lengths:[],totalLength:0}}function lr(mr){var Sr,wr=mr.lengths.length;for(Sr=0;Sr<wr;Sr+=1)Ha.release(mr.lengths[Sr]);mr.lengths.length=0}return ga(8,er,lr)}();function Ka(){var er=Math;function lr(Nr,Or,Gr,Lr,Kr,ts){var Wr=Nr*Lr+Or*Kr+Gr*ts-Kr*Lr-ts*Nr-Gr*Or;return Wr>-.001&&Wr<.001}function mr(Nr,Or,Gr,Lr,Kr,ts,Wr,as,ls){if(Gr===0&&ts===0&&ls===0)return lr(Nr,Or,Lr,Kr,Wr,as);var ds=er.sqrt(er.pow(Lr-Nr,2)+er.pow(Kr-Or,2)+er.pow(ts-Gr,2)),ws=er.sqrt(er.pow(Wr-Nr,2)+er.pow(as-Or,2)+er.pow(ls-Gr,2)),Fs=er.sqrt(er.pow(Wr-Lr,2)+er.pow(as-Kr,2)+er.pow(ls-ts,2)),Cs;return ds>ws?ds>Fs?Cs=ds-ws-Fs:Cs=Fs-ws-ds:Fs>ws?Cs=Fs-ws-ds:Cs=ws-ds-Fs,Cs>-1e-4&&Cs<1e-4}var Sr=function(){return function(Nr,Or,Gr,Lr){var Kr=na(),ts,Wr,as,ls,ds,ws=0,Fs,Cs=[],zs=[],ms=Ha.newElement();for(as=Gr.length,ts=0;ts<Kr;ts+=1){for(ds=ts/(Kr-1),Fs=0,Wr=0;Wr<as;Wr+=1)ls=dr(1-ds,3)*Nr[Wr]+3*dr(1-ds,2)*ds*Gr[Wr]+3*(1-ds)*dr(ds,2)*Lr[Wr]+dr(ds,3)*Or[Wr],Cs[Wr]=ls,zs[Wr]!==null&&(Fs+=dr(Cs[Wr]-zs[Wr],2)),zs[Wr]=Cs[Wr];Fs&&(Fs=Pr(Fs),ws+=Fs),ms.percents[ts]=ds,ms.lengths[ts]=ws}return ms.addedLength=ws,ms}}();function wr(Nr){var Or=Na.newElement(),Gr=Nr.c,Lr=Nr.v,Kr=Nr.o,ts=Nr.i,Wr,as=Nr._length,ls=Or.lengths,ds=0;for(Wr=0;Wr<as-1;Wr+=1)ls[Wr]=Sr(Lr[Wr],Lr[Wr+1],Kr[Wr],ts[Wr+1]),ds+=ls[Wr].addedLength;return Gr&&as&&(ls[Wr]=Sr(Lr[Wr],Lr[0],Kr[Wr],ts[0]),ds+=ls[Wr].addedLength),Or.totalLength=ds,Or}function kr(Nr){this.segmentLength=0,this.points=new Array(Nr)}function Br(Nr,Or){this.partialLength=Nr,this.point=Or}var Yr=function(){var Nr={};return function(Or,Gr,Lr,Kr){var ts=(Or[0]+"_"+Or[1]+"_"+Gr[0]+"_"+Gr[1]+"_"+Lr[0]+"_"+Lr[1]+"_"+Kr[0]+"_"+Kr[1]).replace(/\./g,"p");if(!Nr[ts]){var Wr=na(),as,ls,ds,ws,Fs,Cs=0,zs,ms,bs=null;Or.length===2&&(Or[0]!==Gr[0]||Or[1]!==Gr[1])&&lr(Or[0],Or[1],Gr[0],Gr[1],Or[0]+Lr[0],Or[1]+Lr[1])&&lr(Or[0],Or[1],Gr[0],Gr[1],Gr[0]+Kr[0],Gr[1]+Kr[1])&&(Wr=2);var rs=new kr(Wr);for(ds=Lr.length,as=0;as<Wr;as+=1){for(ms=ur(ds),Fs=as/(Wr-1),zs=0,ls=0;ls<ds;ls+=1)ws=dr(1-Fs,3)*Or[ls]+3*dr(1-Fs,2)*Fs*(Or[ls]+Lr[ls])+3*(1-Fs)*dr(Fs,2)*(Gr[ls]+Kr[ls])+dr(Fs,3)*Gr[ls],ms[ls]=ws,bs!==null&&(zs+=dr(ms[ls]-bs[ls],2));zs=Pr(zs),Cs+=zs,rs.points[as]=new Br(zs,ms),bs=ms}rs.segmentLength=Cs,Nr[ts]=rs}return Nr[ts]}}();function Hr(Nr,Or){var Gr=Or.percents,Lr=Or.lengths,Kr=Gr.length,ts=Ir((Kr-1)*Nr),Wr=Nr*Or.addedLength,as=0;if(ts===Kr-1||ts===0||Wr===Lr[ts])return Gr[ts];for(var ls=Lr[ts]>Wr?-1:1,ds=!0;ds;)if(Lr[ts]<=Wr&&Lr[ts+1]>Wr?(as=(Wr-Lr[ts])/(Lr[ts+1]-Lr[ts]),ds=!1):ts+=ls,ts<0||ts>=Kr-1){if(ts===Kr-1)return Gr[ts];ds=!1}return Gr[ts]+(Gr[ts+1]-Gr[ts])*as}function Zr(Nr,Or,Gr,Lr,Kr,ts){var Wr=Hr(Kr,ts),as=1-Wr,ls=er.round((as*as*as*Nr[0]+(Wr*as*as+as*Wr*as+as*as*Wr)*Gr[0]+(Wr*Wr*as+as*Wr*Wr+Wr*as*Wr)*Lr[0]+Wr*Wr*Wr*Or[0])*1e3)/1e3,ds=er.round((as*as*as*Nr[1]+(Wr*as*as+as*Wr*as+as*as*Wr)*Gr[1]+(Wr*Wr*as+as*Wr*Wr+Wr*as*Wr)*Lr[1]+Wr*Wr*Wr*Or[1])*1e3)/1e3;return[ls,ds]}var ss=cr("float32",8);function Xr(Nr,Or,Gr,Lr,Kr,ts,Wr){Kr<0?Kr=0:Kr>1&&(Kr=1);var as=Hr(Kr,Wr);ts=ts>1?1:ts;var ls=Hr(ts,Wr),ds,ws=Nr.length,Fs=1-as,Cs=1-ls,zs=Fs*Fs*Fs,ms=as*Fs*Fs*3,bs=as*as*Fs*3,rs=as*as*as,Ps=Fs*Fs*Cs,As=as*Fs*Cs+Fs*as*Cs+Fs*Fs*ls,vs=as*as*Cs+Fs*as*ls+as*Fs*ls,gs=as*as*ls,_s=Fs*Cs*Cs,ns=as*Cs*Cs+Fs*ls*Cs+Fs*Cs*ls,Es=as*ls*Cs+Fs*ls*ls+as*Cs*ls,Os=as*ls*ls,Is=Cs*Cs*Cs,Ks=ls*Cs*Cs+Cs*ls*Cs+Cs*Cs*ls,Js=ls*ls*Cs+Cs*ls*ls+ls*Cs*ls,ha=ls*ls*ls;for(ds=0;ds<ws;ds+=1)ss[ds*4]=er.round((zs*Nr[ds]+ms*Gr[ds]+bs*Lr[ds]+rs*Or[ds])*1e3)/1e3,ss[ds*4+1]=er.round((Ps*Nr[ds]+As*Gr[ds]+vs*Lr[ds]+gs*Or[ds])*1e3)/1e3,ss[ds*4+2]=er.round((_s*Nr[ds]+ns*Gr[ds]+Es*Lr[ds]+Os*Or[ds])*1e3)/1e3,ss[ds*4+3]=er.round((Is*Nr[ds]+Ks*Gr[ds]+Js*Lr[ds]+ha*Or[ds])*1e3)/1e3;return ss}return{getSegmentsLength:wr,getNewSegment:Xr,getPointInSegment:Zr,buildBezierData:Yr,pointOnLine2D:lr,pointOnLine3D:mr}}var xn=Ka(),Wn=Zt,Zn=Math.abs;function co(er,lr){var mr=this.offsetTime,Sr;this.propType==="multidimensional"&&(Sr=cr("float32",this.pv.length));for(var wr=lr.lastIndex,kr=wr,Br=this.keyframes.length-1,Yr=!0,Hr,Zr,ss;Yr;){if(Hr=this.keyframes[kr],Zr=this.keyframes[kr+1],kr===Br-1&&er>=Zr.t-mr){Hr.h&&(Hr=Zr),wr=0;break}if(Zr.t-mr>er){wr=kr;break}kr<Br-1?kr+=1:(wr=0,Yr=!1)}ss=this.keyframesMetadata[kr]||{};var Xr,Nr,Or,Gr,Lr,Kr,ts=Zr.t-mr,Wr=Hr.t-mr,as;if(Hr.to){ss.bezierData||(ss.bezierData=xn.buildBezierData(Hr.s,Zr.s||Hr.e,Hr.to,Hr.ti));var ls=ss.bezierData;if(er>=ts||er<Wr){var ds=er>=ts?ls.points.length-1:0;for(Nr=ls.points[ds].point.length,Xr=0;Xr<Nr;Xr+=1)Sr[Xr]=ls.points[ds].point[Xr]}else{ss.__fnct?Kr=ss.__fnct:(Kr=qs.getBezierEasing(Hr.o.x,Hr.o.y,Hr.i.x,Hr.i.y,Hr.n).get,ss.__fnct=Kr),Or=Kr((er-Wr)/(ts-Wr));var ws=ls.segmentLength*Or,Fs,Cs=lr.lastFrame<er&&lr._lastKeyframeIndex===kr?lr._lastAddedLength:0;for(Lr=lr.lastFrame<er&&lr._lastKeyframeIndex===kr?lr._lastPoint:0,Yr=!0,Gr=ls.points.length;Yr;){if(Cs+=ls.points[Lr].partialLength,ws===0||Or===0||Lr===ls.points.length-1){for(Nr=ls.points[Lr].point.length,Xr=0;Xr<Nr;Xr+=1)Sr[Xr]=ls.points[Lr].point[Xr];break}else if(ws>=Cs&&ws<Cs+ls.points[Lr+1].partialLength){for(Fs=(ws-Cs)/ls.points[Lr+1].partialLength,Nr=ls.points[Lr].point.length,Xr=0;Xr<Nr;Xr+=1)Sr[Xr]=ls.points[Lr].point[Xr]+(ls.points[Lr+1].point[Xr]-ls.points[Lr].point[Xr])*Fs;break}Lr<Gr-1?Lr+=1:Yr=!1}lr._lastPoint=Lr,lr._lastAddedLength=Cs-ls.points[Lr].partialLength,lr._lastKeyframeIndex=kr}}else{var zs,ms,bs,rs,Ps;if(Br=Hr.s.length,as=Zr.s||Hr.e,this.sh&&Hr.h!==1)if(er>=ts)Sr[0]=as[0],Sr[1]=as[1],Sr[2]=as[2];else if(er<=Wr)Sr[0]=Hr.s[0],Sr[1]=Hr.s[1],Sr[2]=Hr.s[2];else{var As=ph(Hr.s),vs=ph(as),gs=(er-Wr)/(ts-Wr);xh(Sr,Ph(As,vs,gs))}else for(kr=0;kr<Br;kr+=1)Hr.h!==1&&(er>=ts?Or=1:er<Wr?Or=0:(Hr.o.x.constructor===Array?(ss.__fnct||(ss.__fnct=[]),ss.__fnct[kr]?Kr=ss.__fnct[kr]:(zs=Hr.o.x[kr]===void 0?Hr.o.x[0]:Hr.o.x[kr],ms=Hr.o.y[kr]===void 0?Hr.o.y[0]:Hr.o.y[kr],bs=Hr.i.x[kr]===void 0?Hr.i.x[0]:Hr.i.x[kr],rs=Hr.i.y[kr]===void 0?Hr.i.y[0]:Hr.i.y[kr],Kr=qs.getBezierEasing(zs,ms,bs,rs).get,ss.__fnct[kr]=Kr)):ss.__fnct?Kr=ss.__fnct:(zs=Hr.o.x,ms=Hr.o.y,bs=Hr.i.x,rs=Hr.i.y,Kr=qs.getBezierEasing(zs,ms,bs,rs).get,Hr.keyframeMetadata=Kr),Or=Kr((er-Wr)/(ts-Wr)))),as=Zr.s||Hr.e,Ps=Hr.h===1?Hr.s[kr]:Hr.s[kr]+(as[kr]-Hr.s[kr])*Or,this.propType==="multidimensional"?Sr[kr]=Ps:Sr=Ps}return lr.lastIndex=wr,Sr}function Ph(er,lr,mr){var Sr=[],wr=er[0],kr=er[1],Br=er[2],Yr=er[3],Hr=lr[0],Zr=lr[1],ss=lr[2],Xr=lr[3],Nr,Or,Gr,Lr,Kr;return Or=wr*Hr+kr*Zr+Br*ss+Yr*Xr,Or<0&&(Or=-Or,Hr=-Hr,Zr=-Zr,ss=-ss,Xr=-Xr),1-Or>1e-6?(Nr=Math.acos(Or),Gr=Math.sin(Nr),Lr=Math.sin((1-mr)*Nr)/Gr,Kr=Math.sin(mr*Nr)/Gr):(Lr=1-mr,Kr=mr),Sr[0]=Lr*wr+Kr*Hr,Sr[1]=Lr*kr+Kr*Zr,Sr[2]=Lr*Br+Kr*ss,Sr[3]=Lr*Yr+Kr*Xr,Sr}function xh(er,lr){var mr=lr[0],Sr=lr[1],wr=lr[2],kr=lr[3],Br=Math.atan2(2*Sr*kr-2*mr*wr,1-2*Sr*Sr-2*wr*wr),Yr=Math.asin(2*mr*Sr+2*wr*kr),Hr=Math.atan2(2*mr*kr-2*Sr*wr,1-2*mr*mr-2*wr*wr);er[0]=Br/es,er[1]=Yr/es,er[2]=Hr/es}function ph(er){var lr=er[0]*es,mr=er[1]*es,Sr=er[2]*es,wr=Math.cos(lr/2),kr=Math.cos(mr/2),Br=Math.cos(Sr/2),Yr=Math.sin(lr/2),Hr=Math.sin(mr/2),Zr=Math.sin(Sr/2),ss=wr*kr*Br-Yr*Hr*Zr,Xr=Yr*Hr*Br+wr*kr*Zr,Nr=Yr*kr*Br+wr*Hr*Zr,Or=wr*Hr*Br-Yr*kr*Zr;return[Xr,Nr,Or,ss]}function fh(){var er=this.comp.renderedFrame-this.offsetTime,lr=this.keyframes[0].t-this.offsetTime,mr=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(er===this._caching.lastFrame||this._caching.lastFrame!==Wn&&(this._caching.lastFrame>=mr&&er>=mr||this._caching.lastFrame<lr&&er<lr))){this._caching.lastFrame>=er&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var Sr=this.interpolateValue(er,this._caching);this.pv=Sr}return this._caching.lastFrame=er,this.pv}function So(er){var lr;if(this.propType==="unidimensional")lr=er*this.mult,Zn(this.v-lr)>1e-5&&(this.v=lr,this._mdf=!0);else for(var mr=0,Sr=this.v.length;mr<Sr;)lr=er[mr]*this.mult,Zn(this.v[mr]-lr)>1e-5&&(this.v[mr]=lr,this._mdf=!0),mr+=1}function Eo(){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 er,lr=this.effectsSequence.length,mr=this.kf?this.pv:this.data.k;for(er=0;er<lr;er+=1)mr=this.effectsSequence[er](mr);this.setVValue(mr),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ho(er){this.effectsSequence.push(er),this.container.addDynamicProperty(this)}function Uo(er,lr,mr,Sr){this.propType="unidimensional",this.mult=mr||1,this.data=lr,this.v=mr?lr.k*mr:lr.k,this.pv=lr.k,this._mdf=!1,this.elem=er,this.container=Sr,this.comp=er.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Eo,this.setVValue=So,this.addEffect=ho}function Xo(er,lr,mr,Sr){this.propType="multidimensional",this.mult=mr||1,this.data=lr,this._mdf=!1,this.elem=er,this.container=Sr,this.comp=er.comp,this.k=!1,this.kf=!1,this.frameId=-1;var wr,kr=lr.k.length;for(this.v=cr("float32",kr),this.pv=cr("float32",kr),this.vel=cr("float32",kr),wr=0;wr<kr;wr+=1)this.v[wr]=lr.k[wr]*this.mult,this.pv[wr]=lr.k[wr];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Eo,this.setVValue=So,this.addEffect=ho}function Th(er,lr,mr,Sr){this.propType="unidimensional",this.keyframes=lr.k,this.keyframesMetadata=[],this.offsetTime=er.data.st,this.frameId=-1,this._caching={lastFrame:Wn,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=lr,this.mult=mr||1,this.elem=er,this.container=Sr,this.comp=er.comp,this.v=Wn,this.pv=Wn,this._isFirstFrame=!0,this.getValue=Eo,this.setVValue=So,this.interpolateValue=co,this.effectsSequence=[fh.bind(this)],this.addEffect=ho}function Mh(er,lr,mr,Sr){this.propType="multidimensional";var wr,kr=lr.k.length,Br,Yr,Hr,Zr;for(wr=0;wr<kr-1;wr+=1)lr.k[wr].to&&lr.k[wr].s&&lr.k[wr+1]&&lr.k[wr+1].s&&(Br=lr.k[wr].s,Yr=lr.k[wr+1].s,Hr=lr.k[wr].to,Zr=lr.k[wr].ti,(Br.length===2&&!(Br[0]===Yr[0]&&Br[1]===Yr[1])&&xn.pointOnLine2D(Br[0],Br[1],Yr[0],Yr[1],Br[0]+Hr[0],Br[1]+Hr[1])&&xn.pointOnLine2D(Br[0],Br[1],Yr[0],Yr[1],Yr[0]+Zr[0],Yr[1]+Zr[1])||Br.length===3&&!(Br[0]===Yr[0]&&Br[1]===Yr[1]&&Br[2]===Yr[2])&&xn.pointOnLine3D(Br[0],Br[1],Br[2],Yr[0],Yr[1],Yr[2],Br[0]+Hr[0],Br[1]+Hr[1],Br[2]+Hr[2])&&xn.pointOnLine3D(Br[0],Br[1],Br[2],Yr[0],Yr[1],Yr[2],Yr[0]+Zr[0],Yr[1]+Zr[1],Yr[2]+Zr[2]))&&(lr.k[wr].to=null,lr.k[wr].ti=null),Br[0]===Yr[0]&&Br[1]===Yr[1]&&Hr[0]===0&&Hr[1]===0&&Zr[0]===0&&Zr[1]===0&&(Br.length===2||Br[2]===Yr[2]&&Hr[2]===0&&Zr[2]===0)&&(lr.k[wr].to=null,lr.k[wr].ti=null));this.effectsSequence=[fh.bind(this)],this.data=lr,this.keyframes=lr.k,this.keyframesMetadata=[],this.offsetTime=er.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=mr||1,this.elem=er,this.container=Sr,this.comp=er.comp,this.getValue=Eo,this.setVValue=So,this.interpolateValue=co,this.frameId=-1;var ss=lr.k[0].s.length;for(this.v=cr("float32",ss),this.pv=cr("float32",ss),wr=0;wr<ss;wr+=1)this.v[wr]=Wn,this.pv[wr]=Wn;this._caching={lastFrame:Wn,lastIndex:0,value:cr("float32",ss)},this.addEffect=ho}var Gs=function(){function er(mr,Sr,wr,kr,Br){Sr.sid&&(Sr=mr.globalData.slotManager.getProp(Sr));var Yr;if(!Sr.k.length)Yr=new Uo(mr,Sr,kr,Br);else if(typeof Sr.k[0]=="number")Yr=new Xo(mr,Sr,kr,Br);else switch(wr){case 0:Yr=new Th(mr,Sr,kr,Br);break;case 1:Yr=new Mh(mr,Sr,kr,Br);break}return Yr.effectsSequence.length&&Br.addDynamicProperty(Yr),Yr}var lr={getProp:er};return lr}();function Fa(){}Fa.prototype={addDynamicProperty:function(er){this.dynamicProperties.indexOf(er)===-1&&(this.dynamicProperties.push(er),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var er,lr=this.dynamicProperties.length;for(er=0;er<lr;er+=1)this.dynamicProperties[er].getValue(),this.dynamicProperties[er]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(er){this.container=er,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ws=function(){function er(){return cr("float32",2)}return ga(8,er)}();function Ia(){this.c=!1,this._length=0,this._maxLength=8,this.v=ur(this._maxLength),this.o=ur(this._maxLength),this.i=ur(this._maxLength)}Ia.prototype.setPathData=function(er,lr){this.c=er,this.setLength(lr);for(var mr=0;mr<lr;)this.v[mr]=Ws.newElement(),this.o[mr]=Ws.newElement(),this.i[mr]=Ws.newElement(),mr+=1},Ia.prototype.setLength=function(er){for(;this._maxLength<er;)this.doubleArrayLength();this._length=er},Ia.prototype.doubleArrayLength=function(){this.v=this.v.concat(ur(this._maxLength)),this.i=this.i.concat(ur(this._maxLength)),this.o=this.o.concat(ur(this._maxLength)),this._maxLength*=2},Ia.prototype.setXYAt=function(er,lr,mr,Sr,wr){var kr;switch(this._length=Math.max(this._length,Sr+1),this._length>=this._maxLength&&this.doubleArrayLength(),mr){case"v":kr=this.v;break;case"i":kr=this.i;break;case"o":kr=this.o;break;default:kr=[];break}(!kr[Sr]||kr[Sr]&&!wr)&&(kr[Sr]=Ws.newElement()),kr[Sr][0]=er,kr[Sr][1]=lr},Ia.prototype.setTripleAt=function(er,lr,mr,Sr,wr,kr,Br,Yr){this.setXYAt(er,lr,"v",Br,Yr),this.setXYAt(mr,Sr,"o",Br,Yr),this.setXYAt(wr,kr,"i",Br,Yr)},Ia.prototype.reverse=function(){var er=new Ia;er.setPathData(this.c,this._length);var lr=this.v,mr=this.o,Sr=this.i,wr=0;this.c&&(er.setTripleAt(lr[0][0],lr[0][1],Sr[0][0],Sr[0][1],mr[0][0],mr[0][1],0,!1),wr=1);var kr=this._length-1,Br=this._length,Yr;for(Yr=wr;Yr<Br;Yr+=1)er.setTripleAt(lr[kr][0],lr[kr][1],Sr[kr][0],Sr[kr][1],mr[kr][0],mr[kr][1],Yr,!1),kr-=1;return er},Ia.prototype.length=function(){return this._length};var Ta=function(){function er(){return new Ia}function lr(wr){var kr=wr._length,Br;for(Br=0;Br<kr;Br+=1)Ws.release(wr.v[Br]),Ws.release(wr.i[Br]),Ws.release(wr.o[Br]),wr.v[Br]=null,wr.i[Br]=null,wr.o[Br]=null;wr._length=0,wr.c=!1}function mr(wr){var kr=Sr.newElement(),Br,Yr=wr._length===void 0?wr.v.length:wr._length;for(kr.setLength(Yr),kr.c=wr.c,Br=0;Br<Yr;Br+=1)kr.setTripleAt(wr.v[Br][0],wr.v[Br][1],wr.o[Br][0],wr.o[Br][1],wr.i[Br][0],wr.i[Br][1],Br);return kr}var Sr=ga(4,er,lr);return Sr.clone=mr,Sr}();function Yn(){this._length=0,this._maxLength=4,this.shapes=ur(this._maxLength)}Yn.prototype.addShape=function(er){this._length===this._maxLength&&(this.shapes=this.shapes.concat(ur(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=er,this._length+=1},Yn.prototype.releaseShapes=function(){var er;for(er=0;er<this._length;er+=1)Ta.release(this.shapes[er]);this._length=0};var Ga=function(){var er={newShapeCollection:wr,release:kr},lr=0,mr=4,Sr=ur(mr);function wr(){var Br;return lr?(lr-=1,Br=Sr[lr]):Br=new Yn,Br}function kr(Br){var Yr,Hr=Br._length;for(Yr=0;Yr<Hr;Yr+=1)Ta.release(Br.shapes[Yr]);Br._length=0,lr===mr&&(Sr=ta.double(Sr),mr*=2),Sr[lr]=Br,lr+=1}return er}(),io=function(){var er=-999999;function lr(ts,Wr,as){var ls=as.lastIndex,ds,ws,Fs,Cs,zs,ms,bs,rs,Ps,As=this.keyframes;if(ts<As[0].t-this.offsetTime)ds=As[0].s[0],Fs=!0,ls=0;else if(ts>=As[As.length-1].t-this.offsetTime)ds=As[As.length-1].s?As[As.length-1].s[0]:As[As.length-2].e[0],Fs=!0;else{for(var vs=ls,gs=As.length-1,_s=!0,ns,Es,Os;_s&&(ns=As[vs],Es=As[vs+1],!(Es.t-this.offsetTime>ts));)vs<gs-1?vs+=1:_s=!1;if(Os=this.keyframesMetadata[vs]||{},Fs=ns.h===1,ls=vs,!Fs){if(ts>=Es.t-this.offsetTime)rs=1;else if(ts<ns.t-this.offsetTime)rs=0;else{var Is;Os.__fnct?Is=Os.__fnct:(Is=qs.getBezierEasing(ns.o.x,ns.o.y,ns.i.x,ns.i.y).get,Os.__fnct=Is),rs=Is((ts-(ns.t-this.offsetTime))/(Es.t-this.offsetTime-(ns.t-this.offsetTime)))}ws=Es.s?Es.s[0]:ns.e[0]}ds=ns.s[0]}for(ms=Wr._length,bs=ds.i[0].length,as.lastIndex=ls,Cs=0;Cs<ms;Cs+=1)for(zs=0;zs<bs;zs+=1)Ps=Fs?ds.i[Cs][zs]:ds.i[Cs][zs]+(ws.i[Cs][zs]-ds.i[Cs][zs])*rs,Wr.i[Cs][zs]=Ps,Ps=Fs?ds.o[Cs][zs]:ds.o[Cs][zs]+(ws.o[Cs][zs]-ds.o[Cs][zs])*rs,Wr.o[Cs][zs]=Ps,Ps=Fs?ds.v[Cs][zs]:ds.v[Cs][zs]+(ws.v[Cs][zs]-ds.v[Cs][zs])*rs,Wr.v[Cs][zs]=Ps}function mr(){var ts=this.comp.renderedFrame-this.offsetTime,Wr=this.keyframes[0].t-this.offsetTime,as=this.keyframes[this.keyframes.length-1].t-this.offsetTime,ls=this._caching.lastFrame;return ls!==er&&(ls<Wr&&ts<Wr||ls>as&&ts>as)||(this._caching.lastIndex=ls<ts?this._caching.lastIndex:0,this.interpolateShape(ts,this.pv,this._caching)),this._caching.lastFrame=ts,this.pv}function Sr(){this.paths=this.localShapeCollection}function wr(ts,Wr){if(ts._length!==Wr._length||ts.c!==Wr.c)return!1;var as,ls=ts._length;for(as=0;as<ls;as+=1)if(ts.v[as][0]!==Wr.v[as][0]||ts.v[as][1]!==Wr.v[as][1]||ts.o[as][0]!==Wr.o[as][0]||ts.o[as][1]!==Wr.o[as][1]||ts.i[as][0]!==Wr.i[as][0]||ts.i[as][1]!==Wr.i[as][1])return!1;return!0}function kr(ts){wr(this.v,ts)||(this.v=Ta.clone(ts),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function Br(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var ts;this.kf?ts=this.pv:this.data.ks?ts=this.data.ks.k:ts=this.data.pt.k;var Wr,as=this.effectsSequence.length;for(Wr=0;Wr<as;Wr+=1)ts=this.effectsSequence[Wr](ts);this.setVValue(ts),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Yr(ts,Wr,as){this.propType="shape",this.comp=ts.comp,this.container=ts,this.elem=ts,this.data=Wr,this.k=!1,this.kf=!1,this._mdf=!1;var ls=as===3?Wr.pt.k:Wr.ks.k;this.v=Ta.clone(ls),this.pv=Ta.clone(this.v),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=Sr,this.effectsSequence=[]}function Hr(ts){this.effectsSequence.push(ts),this.container.addDynamicProperty(this)}Yr.prototype.interpolateShape=lr,Yr.prototype.getValue=Br,Yr.prototype.setVValue=kr,Yr.prototype.addEffect=Hr;function Zr(ts,Wr,as){this.propType="shape",this.comp=ts.comp,this.elem=ts,this.container=ts,this.offsetTime=ts.data.st,this.keyframes=as===3?Wr.pt.k:Wr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var ls=this.keyframes[0].s[0].i.length;this.v=Ta.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,ls),this.pv=Ta.clone(this.v),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=er,this.reset=Sr,this._caching={lastFrame:er,lastIndex:0},this.effectsSequence=[mr.bind(this)]}Zr.prototype.getValue=Br,Zr.prototype.interpolateShape=lr,Zr.prototype.setVValue=kr,Zr.prototype.addEffect=Hr;var ss=function(){var ts=hs;function Wr(as,ls){this.v=Ta.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Ga.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=ls.d,this.elem=as,this.comp=as.comp,this.frameId=-1,this.initDynamicPropertyContainer(as),this.p=Gs.getProp(as,ls.p,1,0,this),this.s=Gs.getProp(as,ls.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Wr.prototype={reset:Sr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var as=this.p.v[0],ls=this.p.v[1],ds=this.s.v[0]/2,ws=this.s.v[1]/2,Fs=this.d!==3,Cs=this.v;Cs.v[0][0]=as,Cs.v[0][1]=ls-ws,Cs.v[1][0]=Fs?as+ds:as-ds,Cs.v[1][1]=ls,Cs.v[2][0]=as,Cs.v[2][1]=ls+ws,Cs.v[3][0]=Fs?as-ds:as+ds,Cs.v[3][1]=ls,Cs.i[0][0]=Fs?as-ds*ts:as+ds*ts,Cs.i[0][1]=ls-ws,Cs.i[1][0]=Fs?as+ds:as-ds,Cs.i[1][1]=ls-ws*ts,Cs.i[2][0]=Fs?as+ds*ts:as-ds*ts,Cs.i[2][1]=ls+ws,Cs.i[3][0]=Fs?as-ds:as+ds,Cs.i[3][1]=ls+ws*ts,Cs.o[0][0]=Fs?as+ds*ts:as-ds*ts,Cs.o[0][1]=ls-ws,Cs.o[1][0]=Fs?as+ds:as-ds,Cs.o[1][1]=ls+ws*ts,Cs.o[2][0]=Fs?as-ds*ts:as+ds*ts,Cs.o[2][1]=ls+ws,Cs.o[3][0]=Fs?as-ds:as+ds,Cs.o[3][1]=ls-ws*ts}},nr([Fa],Wr),Wr}(),Xr=function(){function ts(Wr,as){this.v=Ta.newElement(),this.v.setPathData(!0,0),this.elem=Wr,this.comp=Wr.comp,this.data=as,this.frameId=-1,this.d=as.d,this.initDynamicPropertyContainer(Wr),as.sy===1?(this.ir=Gs.getProp(Wr,as.ir,0,0,this),this.is=Gs.getProp(Wr,as.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Gs.getProp(Wr,as.pt,0,0,this),this.p=Gs.getProp(Wr,as.p,1,0,this),this.r=Gs.getProp(Wr,as.r,0,es,this),this.or=Gs.getProp(Wr,as.or,0,0,this),this.os=Gs.getProp(Wr,as.os,0,.01,this),this.localShapeCollection=Ga.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return ts.prototype={reset:Sr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Wr=Math.floor(this.pt.v)*2,as=Math.PI*2/Wr,ls=!0,ds=this.or.v,ws=this.ir.v,Fs=this.os.v,Cs=this.is.v,zs=2*Math.PI*ds/(Wr*2),ms=2*Math.PI*ws/(Wr*2),bs,rs,Ps,As,vs=-Math.PI/2;vs+=this.r.v;var gs=this.data.d===3?-1:1;for(this.v._length=0,bs=0;bs<Wr;bs+=1){rs=ls?ds:ws,Ps=ls?Fs:Cs,As=ls?zs:ms;var _s=rs*Math.cos(vs),ns=rs*Math.sin(vs),Es=_s===0&&ns===0?0:ns/Math.sqrt(_s*_s+ns*ns),Os=_s===0&&ns===0?0:-_s/Math.sqrt(_s*_s+ns*ns);_s+=+this.p.v[0],ns+=+this.p.v[1],this.v.setTripleAt(_s,ns,_s-Es*As*Ps*gs,ns-Os*As*Ps*gs,_s+Es*As*Ps*gs,ns+Os*As*Ps*gs,bs,!0),ls=!ls,vs+=as*gs}},convertPolygonToPath:function(){var Wr=Math.floor(this.pt.v),as=Math.PI*2/Wr,ls=this.or.v,ds=this.os.v,ws=2*Math.PI*ls/(Wr*4),Fs,Cs=-Math.PI*.5,zs=this.data.d===3?-1:1;for(Cs+=this.r.v,this.v._length=0,Fs=0;Fs<Wr;Fs+=1){var ms=ls*Math.cos(Cs),bs=ls*Math.sin(Cs),rs=ms===0&&bs===0?0:bs/Math.sqrt(ms*ms+bs*bs),Ps=ms===0&&bs===0?0:-ms/Math.sqrt(ms*ms+bs*bs);ms+=+this.p.v[0],bs+=+this.p.v[1],this.v.setTripleAt(ms,bs,ms-rs*ws*ds*zs,bs-Ps*ws*ds*zs,ms+rs*ws*ds*zs,bs+Ps*ws*ds*zs,Fs,!0),Cs+=as*zs}this.paths.length=0,this.paths[0]=this.v}},nr([Fa],ts),ts}(),Nr=function(){function ts(Wr,as){this.v=Ta.newElement(),this.v.c=!0,this.localShapeCollection=Ga.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Wr,this.comp=Wr.comp,this.frameId=-1,this.d=as.d,this.initDynamicPropertyContainer(Wr),this.p=Gs.getProp(Wr,as.p,1,0,this),this.s=Gs.getProp(Wr,as.s,1,0,this),this.r=Gs.getProp(Wr,as.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return ts.prototype={convertRectToPath:function(){var Wr=this.p.v[0],as=this.p.v[1],ls=this.s.v[0]/2,ds=this.s.v[1]/2,ws=zr(ls,ds,this.r.v),Fs=ws*(1-hs);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Wr+ls,as-ds+ws,Wr+ls,as-ds+ws,Wr+ls,as-ds+Fs,0,!0),this.v.setTripleAt(Wr+ls,as+ds-ws,Wr+ls,as+ds-Fs,Wr+ls,as+ds-ws,1,!0),ws!==0?(this.v.setTripleAt(Wr+ls-ws,as+ds,Wr+ls-ws,as+ds,Wr+ls-Fs,as+ds,2,!0),this.v.setTripleAt(Wr-ls+ws,as+ds,Wr-ls+Fs,as+ds,Wr-ls+ws,as+ds,3,!0),this.v.setTripleAt(Wr-ls,as+ds-ws,Wr-ls,as+ds-ws,Wr-ls,as+ds-Fs,4,!0),this.v.setTripleAt(Wr-ls,as-ds+ws,Wr-ls,as-ds+Fs,Wr-ls,as-ds+ws,5,!0),this.v.setTripleAt(Wr-ls+ws,as-ds,Wr-ls+ws,as-ds,Wr-ls+Fs,as-ds,6,!0),this.v.setTripleAt(Wr+ls-ws,as-ds,Wr+ls-Fs,as-ds,Wr+ls-ws,as-ds,7,!0)):(this.v.setTripleAt(Wr-ls,as+ds,Wr-ls+Fs,as+ds,Wr-ls,as+ds,2),this.v.setTripleAt(Wr-ls,as-ds,Wr-ls,as-ds+Fs,Wr-ls,as-ds,3))):(this.v.setTripleAt(Wr+ls,as-ds+ws,Wr+ls,as-ds+Fs,Wr+ls,as-ds+ws,0,!0),ws!==0?(this.v.setTripleAt(Wr+ls-ws,as-ds,Wr+ls-ws,as-ds,Wr+ls-Fs,as-ds,1,!0),this.v.setTripleAt(Wr-ls+ws,as-ds,Wr-ls+Fs,as-ds,Wr-ls+ws,as-ds,2,!0),this.v.setTripleAt(Wr-ls,as-ds+ws,Wr-ls,as-ds+ws,Wr-ls,as-ds+Fs,3,!0),this.v.setTripleAt(Wr-ls,as+ds-ws,Wr-ls,as+ds-Fs,Wr-ls,as+ds-ws,4,!0),this.v.setTripleAt(Wr-ls+ws,as+ds,Wr-ls+ws,as+ds,Wr-ls+Fs,as+ds,5,!0),this.v.setTripleAt(Wr+ls-ws,as+ds,Wr+ls-Fs,as+ds,Wr+ls-ws,as+ds,6,!0),this.v.setTripleAt(Wr+ls,as+ds-ws,Wr+ls,as+ds-ws,Wr+ls,as+ds-Fs,7,!0)):(this.v.setTripleAt(Wr-ls,as-ds,Wr-ls+Fs,as-ds,Wr-ls,as-ds,1,!0),this.v.setTripleAt(Wr-ls,as+ds,Wr-ls,as+ds-Fs,Wr-ls,as+ds,2,!0),this.v.setTripleAt(Wr+ls,as+ds,Wr+ls-Fs,as+ds,Wr+ls,as+ds,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:Sr},nr([Fa],ts),ts}();function Or(ts,Wr,as){var ls;if(as===3||as===4){var ds=as===3?Wr.pt:Wr.ks,ws=ds.k;ws.length?ls=new Zr(ts,Wr,as):ls=new Yr(ts,Wr,as)}else as===5?ls=new Nr(ts,Wr):as===6?ls=new ss(ts,Wr):as===7&&(ls=new Xr(ts,Wr));return ls.k&&ts.addDynamicProperty(ls),ls}function Gr(){return Yr}function Lr(){return Zr}var Kr={};return Kr.getShapeProp=Or,Kr.getConstructorFunction=Gr,Kr.getKeyframedConstructorFunction=Lr,Kr}(),Pa=function(){var er=Math.cos,lr=Math.sin,mr=Math.tan,Sr=Math.round;function wr(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function kr(ns){if(ns===0)return this;var Es=er(ns),Os=lr(ns);return this._t(Es,-Os,0,0,Os,Es,0,0,0,0,1,0,0,0,0,1)}function Br(ns){if(ns===0)return this;var Es=er(ns),Os=lr(ns);return this._t(1,0,0,0,0,Es,-Os,0,0,Os,Es,0,0,0,0,1)}function Yr(ns){if(ns===0)return this;var Es=er(ns),Os=lr(ns);return this._t(Es,0,Os,0,0,1,0,0,-Os,0,Es,0,0,0,0,1)}function Hr(ns){if(ns===0)return this;var Es=er(ns),Os=lr(ns);return this._t(Es,-Os,0,0,Os,Es,0,0,0,0,1,0,0,0,0,1)}function Zr(ns,Es){return this._t(1,Es,ns,1,0,0)}function ss(ns,Es){return this.shear(mr(ns),mr(Es))}function Xr(ns,Es){var Os=er(Es),Is=lr(Es);return this._t(Os,Is,0,0,-Is,Os,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,mr(ns),1,0,0,0,0,1,0,0,0,0,1)._t(Os,-Is,0,0,Is,Os,0,0,0,0,1,0,0,0,0,1)}function Nr(ns,Es,Os){return!Os&&Os!==0&&(Os=1),ns===1&&Es===1&&Os===1?this:this._t(ns,0,0,0,0,Es,0,0,0,0,Os,0,0,0,0,1)}function Or(ns,Es,Os,Is,Ks,Js,ha,ea,Aa,oa,Xs,Pn,Ua,Oa,An,Ma){return this.props[0]=ns,this.props[1]=Es,this.props[2]=Os,this.props[3]=Is,this.props[4]=Ks,this.props[5]=Js,this.props[6]=ha,this.props[7]=ea,this.props[8]=Aa,this.props[9]=oa,this.props[10]=Xs,this.props[11]=Pn,this.props[12]=Ua,this.props[13]=Oa,this.props[14]=An,this.props[15]=Ma,this}function Gr(ns,Es,Os){return Os=Os||0,ns!==0||Es!==0||Os!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,ns,Es,Os,1):this}function Lr(ns,Es,Os,Is,Ks,Js,ha,ea,Aa,oa,Xs,Pn,Ua,Oa,An,Ma){var ia=this.props;if(ns===1&&Es===0&&Os===0&&Is===0&&Ks===0&&Js===1&&ha===0&&ea===0&&Aa===0&&oa===0&&Xs===1&&Pn===0)return ia[12]=ia[12]*ns+ia[15]*Ua,ia[13]=ia[13]*Js+ia[15]*Oa,ia[14]=ia[14]*Xs+ia[15]*An,ia[15]*=Ma,this._identityCalculated=!1,this;var Cn=ia[0],Jn=ia[1],qn=ia[2],Mn=ia[3],Hn=ia[4],Vn=ia[5],Dn=ia[6],Po=ia[7],xo=ia[8],eo=ia[9],lh=ia[10],Io=ia[11],_h=ia[12],Uh=ia[13],Xh=ia[14],Jh=ia[15];return ia[0]=Cn*ns+Jn*Ks+qn*Aa+Mn*Ua,ia[1]=Cn*Es+Jn*Js+qn*oa+Mn*Oa,ia[2]=Cn*Os+Jn*ha+qn*Xs+Mn*An,ia[3]=Cn*Is+Jn*ea+qn*Pn+Mn*Ma,ia[4]=Hn*ns+Vn*Ks+Dn*Aa+Po*Ua,ia[5]=Hn*Es+Vn*Js+Dn*oa+Po*Oa,ia[6]=Hn*Os+Vn*ha+Dn*Xs+Po*An,ia[7]=Hn*Is+Vn*ea+Dn*Pn+Po*Ma,ia[8]=xo*ns+eo*Ks+lh*Aa+Io*Ua,ia[9]=xo*Es+eo*Js+lh*oa+Io*Oa,ia[10]=xo*Os+eo*ha+lh*Xs+Io*An,ia[11]=xo*Is+eo*ea+lh*Pn+Io*Ma,ia[12]=_h*ns+Uh*Ks+Xh*Aa+Jh*Ua,ia[13]=_h*Es+Uh*Js+Xh*oa+Jh*Oa,ia[14]=_h*Os+Uh*ha+Xh*Xs+Jh*An,ia[15]=_h*Is+Uh*ea+Xh*Pn+Jh*Ma,this._identityCalculated=!1,this}function Kr(ns){var Es=ns.props;return this.transform(Es[0],Es[1],Es[2],Es[3],Es[4],Es[5],Es[6],Es[7],Es[8],Es[9],Es[10],Es[11],Es[12],Es[13],Es[14],Es[15])}function ts(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function Wr(ns){for(var Es=0;Es<16;){if(ns.props[Es]!==this.props[Es])return!1;Es+=1}return!0}function as(ns){var Es;for(Es=0;Es<16;Es+=1)ns.props[Es]=this.props[Es];return ns}function ls(ns){var Es;for(Es=0;Es<16;Es+=1)this.props[Es]=ns[Es]}function ds(ns,Es,Os){return{x:ns*this.props[0]+Es*this.props[4]+Os*this.props[8]+this.props[12],y:ns*this.props[1]+Es*this.props[5]+Os*this.props[9]+this.props[13],z:ns*this.props[2]+Es*this.props[6]+Os*this.props[10]+this.props[14]}}function ws(ns,Es,Os){return ns*this.props[0]+Es*this.props[4]+Os*this.props[8]+this.props[12]}function Fs(ns,Es,Os){return ns*this.props[1]+Es*this.props[5]+Os*this.props[9]+this.props[13]}function Cs(ns,Es,Os){return ns*this.props[2]+Es*this.props[6]+Os*this.props[10]+this.props[14]}function zs(){var ns=this.props[0]*this.props[5]-this.props[1]*this.props[4],Es=this.props[5]/ns,Os=-this.props[1]/ns,Is=-this.props[4]/ns,Ks=this.props[0]/ns,Js=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/ns,ha=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/ns,ea=new Pa;return ea.props[0]=Es,ea.props[1]=Os,ea.props[4]=Is,ea.props[5]=Ks,ea.props[12]=Js,ea.props[13]=ha,ea}function ms(ns){var Es=this.getInverseMatrix();return Es.applyToPointArray(ns[0],ns[1],ns[2]||0)}function bs(ns){var Es,Os=ns.length,Is=[];for(Es=0;Es<Os;Es+=1)Is[Es]=ms(ns[Es]);return Is}function rs(ns,Es,Os){var Is=cr("float32",6);if(this.isIdentity())Is[0]=ns[0],Is[1]=ns[1],Is[2]=Es[0],Is[3]=Es[1],Is[4]=Os[0],Is[5]=Os[1];else{var Ks=this.props[0],Js=this.props[1],ha=this.props[4],ea=this.props[5],Aa=this.props[12],oa=this.props[13];Is[0]=ns[0]*Ks+ns[1]*ha+Aa,Is[1]=ns[0]*Js+ns[1]*ea+oa,Is[2]=Es[0]*Ks+Es[1]*ha+Aa,Is[3]=Es[0]*Js+Es[1]*ea+oa,Is[4]=Os[0]*Ks+Os[1]*ha+Aa,Is[5]=Os[0]*Js+Os[1]*ea+oa}return Is}function Ps(ns,Es,Os){var Is;return this.isIdentity()?Is=[ns,Es,Os]:Is=[ns*this.props[0]+Es*this.props[4]+Os*this.props[8]+this.props[12],ns*this.props[1]+Es*this.props[5]+Os*this.props[9]+this.props[13],ns*this.props[2]+Es*this.props[6]+Os*this.props[10]+this.props[14]],Is}function As(ns,Es){if(this.isIdentity())return ns+","+Es;var Os=this.props;return Math.round((ns*Os[0]+Es*Os[4]+Os[12])*100)/100+","+Math.round((ns*Os[1]+Es*Os[5]+Os[13])*100)/100}function vs(){for(var ns=0,Es=this.props,Os="matrix3d(",Is=1e4;ns<16;)Os+=Sr(Es[ns]*Is)/Is,Os+=ns===15?")":",",ns+=1;return Os}function gs(ns){var Es=1e4;return ns<1e-6&&ns>0||ns>-1e-6&&ns<0?Sr(ns*Es)/Es:ns}function _s(){var ns=this.props,Es=gs(ns[0]),Os=gs(ns[1]),Is=gs(ns[4]),Ks=gs(ns[5]),Js=gs(ns[12]),ha=gs(ns[13]);return"matrix("+Es+","+Os+","+Is+","+Ks+","+Js+","+ha+")"}return function(){this.reset=wr,this.rotate=kr,this.rotateX=Br,this.rotateY=Yr,this.rotateZ=Hr,this.skew=ss,this.skewFromAxis=Xr,this.shear=Zr,this.scale=Nr,this.setTransform=Or,this.translate=Gr,this.transform=Lr,this.multiply=Kr,this.applyToPoint=ds,this.applyToX=ws,this.applyToY=Fs,this.applyToZ=Cs,this.applyToPointArray=Ps,this.applyToTriplePoints=rs,this.applyToPointStringified=As,this.toCSS=vs,this.to2dCSS=_s,this.clone=as,this.cloneFromProps=ls,this.equals=Wr,this.inversePoints=bs,this.inversePoint=ms,this.getInverseMatrix=zs,this._t=this.transform,this.isIdentity=ts,this._identity=!0,this._identityCalculated=!1,this.props=cr("float32",16),this.reset()}}();function lo(er){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?lo=function(lr){return typeof lr}:lo=function(lr){return lr&&typeof Symbol=="function"&&lr.constructor===Symbol&&lr!==Symbol.prototype?"symbol":typeof lr},lo(er)}var Zs={};function Jo(er){ir(er)}function Va(){Us.searchAnimations()}function Dh(er){Ns(er)}function Sh(er){ra(er)}function Fh(er){return Us.loadAnimation(er)}function Ih(er){if(typeof er=="string")switch(er){case"high":Qs(200);break;default:case"medium":Qs(50);break;case"low":Qs(10);break}else!isNaN(er)&&er>1&&Qs(er)}function Lh(){return typeof navigator<"u"}function Vh(er,lr){er==="expressions"&&Ys(lr)}function Rh(er){switch(er){case"propertyFactory":return Gs;case"shapePropertyFactory":return io;case"matrix":return Pa;default:return null}}Zs.play=Us.play,Zs.pause=Us.pause,Zs.setLocationHref=Jo,Zs.togglePause=Us.togglePause,Zs.setSpeed=Us.setSpeed,Zs.setDirection=Us.setDirection,Zs.stop=Us.stop,Zs.searchAnimations=Va,Zs.registerAnimation=Us.registerAnimation,Zs.loadAnimation=Fh,Zs.setSubframeRendering=Dh,Zs.resize=Us.resize,Zs.goToAndStop=Us.goToAndStop,Zs.destroy=Us.destroy,Zs.setQuality=Ih,Zs.inBrowser=Lh,Zs.installPlugin=Vh,Zs.freeze=Us.freeze,Zs.unfreeze=Us.unfreeze,Zs.setVolume=Us.setVolume,Zs.mute=Us.mute,Zs.unmute=Us.unmute,Zs.getRegisteredAnimations=Us.getRegisteredAnimations,Zs.useWebWorker=tr,Zs.setIDPrefix=Sh,Zs.__getFactory=Rh,Zs.version="5.12.2";function Bh(){document.readyState==="complete"&&(clearInterval(zh),Va())}function Oh(er){for(var lr=uh.split("&"),mr=0;mr<lr.length;mr+=1){var Sr=lr[mr].split("=");if(decodeURIComponent(Sr[0])==er)return decodeURIComponent(Sr[1])}return null}var uh="";{var ch=document.getElementsByTagName("script"),Eh=ch.length-1,Zo=ch[Eh]||{src:""};uh=Zo.src?Zo.src.replace(/^[^\?]+\??/,""):"",Oh("renderer")}var zh=setInterval(Bh,100);try{!((typeof t>"u"?"undefined":lo(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Zs)}catch{}var kn=function(){var er={},lr={};er.registerModifier=mr,er.getModifier=Sr;function mr(wr,kr){lr[wr]||(lr[wr]=kr)}function Sr(wr,kr,Br){return new lr[wr](kr,Br)}return er}();function Xa(){}Xa.prototype.initModifierProperties=function(){},Xa.prototype.addShapeToModifier=function(){},Xa.prototype.addShape=function(er){if(!this.closed){er.sh.container.addDynamicProperty(er.sh);var lr={shape:er.sh,data:er,localShapeCollection:Ga.newShapeCollection()};this.shapes.push(lr),this.addShapeToModifier(lr),this._isAnimated&&er.setAsAnimated()}},Xa.prototype.init=function(er,lr){this.shapes=[],this.elem=er,this.initDynamicPropertyContainer(er),this.initModifierProperties(er,lr),this.frameId=Zt,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Xa.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},nr([Fa],Xa);function Ba(){}nr([Xa],Ba),Ba.prototype.initModifierProperties=function(er,lr){this.s=Gs.getProp(er,lr.s,0,.01,this),this.e=Gs.getProp(er,lr.e,0,.01,this),this.o=Gs.getProp(er,lr.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=lr.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Ba.prototype.addShapeToModifier=function(er){er.pathsData=[]},Ba.prototype.calculateShapeEdges=function(er,lr,mr,Sr,wr){var kr=[];lr<=1?kr.push({s:er,e:lr}):er>=1?kr.push({s:er-1,e:lr-1}):(kr.push({s:er,e:1}),kr.push({s:0,e:lr-1}));var Br=[],Yr,Hr=kr.length,Zr;for(Yr=0;Yr<Hr;Yr+=1)if(Zr=kr[Yr],!(Zr.e*wr<Sr||Zr.s*wr>Sr+mr)){var ss,Xr;Zr.s*wr<=Sr?ss=0:ss=(Zr.s*wr-Sr)/mr,Zr.e*wr>=Sr+mr?Xr=1:Xr=(Zr.e*wr-Sr)/mr,Br.push([ss,Xr])}return Br.length||Br.push([0,0]),Br},Ba.prototype.releasePathsData=function(er){var lr,mr=er.length;for(lr=0;lr<mr;lr+=1)Na.release(er[lr]);return er.length=0,er},Ba.prototype.processShapes=function(er){var lr,mr;if(this._mdf||er){var Sr=this.o.v%360/360;if(Sr<0&&(Sr+=1),this.s.v>1?lr=1+Sr:this.s.v<0?lr=0+Sr:lr=this.s.v+Sr,this.e.v>1?mr=1+Sr:this.e.v<0?mr=0+Sr:mr=this.e.v+Sr,lr>mr){var wr=lr;lr=mr,mr=wr}lr=Math.round(lr*1e4)*1e-4,mr=Math.round(mr*1e4)*1e-4,this.sValue=lr,this.eValue=mr}else lr=this.sValue,mr=this.eValue;var kr,Br,Yr=this.shapes.length,Hr,Zr,ss,Xr,Nr,Or=0;if(mr===lr)for(Br=0;Br<Yr;Br+=1)this.shapes[Br].localShapeCollection.releaseShapes(),this.shapes[Br].shape._mdf=!0,this.shapes[Br].shape.paths=this.shapes[Br].localShapeCollection,this._mdf&&(this.shapes[Br].pathsData.length=0);else if(mr===1&&lr===0||mr===0&&lr===1){if(this._mdf)for(Br=0;Br<Yr;Br+=1)this.shapes[Br].pathsData.length=0,this.shapes[Br].shape._mdf=!0}else{var Gr=[],Lr,Kr;for(Br=0;Br<Yr;Br+=1)if(Lr=this.shapes[Br],!Lr.shape._mdf&&!this._mdf&&!er&&this.m!==2)Lr.shape.paths=Lr.localShapeCollection;else{if(kr=Lr.shape.paths,Zr=kr._length,Nr=0,!Lr.shape._mdf&&Lr.pathsData.length)Nr=Lr.totalShapeLength;else{for(ss=this.releasePathsData(Lr.pathsData),Hr=0;Hr<Zr;Hr+=1)Xr=xn.getSegmentsLength(kr.shapes[Hr]),ss.push(Xr),Nr+=Xr.totalLength;Lr.totalShapeLength=Nr,Lr.pathsData=ss}Or+=Nr,Lr.shape._mdf=!0}var ts=lr,Wr=mr,as=0,ls;for(Br=Yr-1;Br>=0;Br-=1)if(Lr=this.shapes[Br],Lr.shape._mdf){for(Kr=Lr.localShapeCollection,Kr.releaseShapes(),this.m===2&&Yr>1?(ls=this.calculateShapeEdges(lr,mr,Lr.totalShapeLength,as,Or),as+=Lr.totalShapeLength):ls=[[ts,Wr]],Zr=ls.length,Hr=0;Hr<Zr;Hr+=1){ts=ls[Hr][0],Wr=ls[Hr][1],Gr.length=0,Wr<=1?Gr.push({s:Lr.totalShapeLength*ts,e:Lr.totalShapeLength*Wr}):ts>=1?Gr.push({s:Lr.totalShapeLength*(ts-1),e:Lr.totalShapeLength*(Wr-1)}):(Gr.push({s:Lr.totalShapeLength*ts,e:Lr.totalShapeLength}),Gr.push({s:0,e:Lr.totalShapeLength*(Wr-1)}));var ds=this.addShapes(Lr,Gr[0]);if(Gr[0].s!==Gr[0].e){if(Gr.length>1){var ws=Lr.shape.paths.shapes[Lr.shape.paths._length-1];if(ws.c){var Fs=ds.pop();this.addPaths(ds,Kr),ds=this.addShapes(Lr,Gr[1],Fs)}else this.addPaths(ds,Kr),ds=this.addShapes(Lr,Gr[1])}this.addPaths(ds,Kr)}}Lr.shape.paths=Kr}}},Ba.prototype.addPaths=function(er,lr){var mr,Sr=er.length;for(mr=0;mr<Sr;mr+=1)lr.addShape(er[mr])},Ba.prototype.addSegment=function(er,lr,mr,Sr,wr,kr,Br){wr.setXYAt(lr[0],lr[1],"o",kr),wr.setXYAt(mr[0],mr[1],"i",kr+1),Br&&wr.setXYAt(er[0],er[1],"v",kr),wr.setXYAt(Sr[0],Sr[1],"v",kr+1)},Ba.prototype.addSegmentFromArray=function(er,lr,mr,Sr){lr.setXYAt(er[1],er[5],"o",mr),lr.setXYAt(er[2],er[6],"i",mr+1),Sr&&lr.setXYAt(er[0],er[4],"v",mr),lr.setXYAt(er[3],er[7],"v",mr+1)},Ba.prototype.addShapes=function(er,lr,mr){var Sr=er.pathsData,wr=er.shape.paths.shapes,kr,Br=er.shape.paths._length,Yr,Hr,Zr=0,ss,Xr,Nr,Or,Gr=[],Lr,Kr=!0;for(mr?(Xr=mr._length,Lr=mr._length):(mr=Ta.newElement(),Xr=0,Lr=0),Gr.push(mr),kr=0;kr<Br;kr+=1){for(Nr=Sr[kr].lengths,mr.c=wr[kr].c,Hr=wr[kr].c?Nr.length:Nr.length+1,Yr=1;Yr<Hr;Yr+=1)if(ss=Nr[Yr-1],Zr+ss.addedLength<lr.s)Zr+=ss.addedLength,mr.c=!1;else if(Zr>lr.e){mr.c=!1;break}else lr.s<=Zr&&lr.e>=Zr+ss.addedLength?(this.addSegment(wr[kr].v[Yr-1],wr[kr].o[Yr-1],wr[kr].i[Yr],wr[kr].v[Yr],mr,Xr,Kr),Kr=!1):(Or=xn.getNewSegment(wr[kr].v[Yr-1],wr[kr].v[Yr],wr[kr].o[Yr-1],wr[kr].i[Yr],(lr.s-Zr)/ss.addedLength,(lr.e-Zr)/ss.addedLength,Nr[Yr-1]),this.addSegmentFromArray(Or,mr,Xr,Kr),Kr=!1,mr.c=!1),Zr+=ss.addedLength,Xr+=1;if(wr[kr].c&&Nr.length){if(ss=Nr[Yr-1],Zr<=lr.e){var ts=Nr[Yr-1].addedLength;lr.s<=Zr&&lr.e>=Zr+ts?(this.addSegment(wr[kr].v[Yr-1],wr[kr].o[Yr-1],wr[kr].i[0],wr[kr].v[0],mr,Xr,Kr),Kr=!1):(Or=xn.getNewSegment(wr[kr].v[Yr-1],wr[kr].v[0],wr[kr].o[Yr-1],wr[kr].i[0],(lr.s-Zr)/ts,(lr.e-Zr)/ts,Nr[Yr-1]),this.addSegmentFromArray(Or,mr,Xr,Kr),Kr=!1,mr.c=!1)}else mr.c=!1;Zr+=ss.addedLength,Xr+=1}if(mr._length&&(mr.setXYAt(mr.v[Lr][0],mr.v[Lr][1],"i",Lr),mr.setXYAt(mr.v[mr._length-1][0],mr.v[mr._length-1][1],"o",mr._length-1)),Zr>lr.e)break;kr<Br-1&&(mr=Ta.newElement(),Kr=!0,Gr.push(mr),Xr=0)}return Gr};function Sn(){}nr([Xa],Sn),Sn.prototype.initModifierProperties=function(er,lr){this.getValue=this.processKeys,this.amount=Gs.getProp(er,lr.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Sn.prototype.processPath=function(er,lr){var mr=lr/100,Sr=[0,0],wr=er._length,kr=0;for(kr=0;kr<wr;kr+=1)Sr[0]+=er.v[kr][0],Sr[1]+=er.v[kr][1];Sr[0]/=wr,Sr[1]/=wr;var Br=Ta.newElement();Br.c=er.c;var Yr,Hr,Zr,ss,Xr,Nr;for(kr=0;kr<wr;kr+=1)Yr=er.v[kr][0]+(Sr[0]-er.v[kr][0])*mr,Hr=er.v[kr][1]+(Sr[1]-er.v[kr][1])*mr,Zr=er.o[kr][0]+(Sr[0]-er.o[kr][0])*-mr,ss=er.o[kr][1]+(Sr[1]-er.o[kr][1])*-mr,Xr=er.i[kr][0]+(Sr[0]-er.i[kr][0])*-mr,Nr=er.i[kr][1]+(Sr[1]-er.i[kr][1])*-mr,Br.setTripleAt(Yr,Hr,Zr,ss,Xr,Nr,kr);return Br},Sn.prototype.processShapes=function(er){var lr,mr,Sr=this.shapes.length,wr,kr,Br=this.amount.v;if(Br!==0){var Yr,Hr;for(mr=0;mr<Sr;mr+=1){if(Yr=this.shapes[mr],Hr=Yr.localShapeCollection,!(!Yr.shape._mdf&&!this._mdf&&!er))for(Hr.releaseShapes(),Yr.shape._mdf=!0,lr=Yr.shape.paths.shapes,kr=Yr.shape.paths._length,wr=0;wr<kr;wr+=1)Hr.addShape(this.processPath(lr[wr],Br));Yr.shape.paths=Yr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Rn=function(){var er=[0,0];function lr(Hr){var Zr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||Zr,this.a&&Hr.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&Hr.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&Hr.skewFromAxis(-this.sk.v,this.sa.v),this.r?Hr.rotate(-this.r.v):Hr.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.data.p.s?this.data.p.z?Hr.translate(this.px.v,this.py.v,-this.pz.v):Hr.translate(this.px.v,this.py.v,0):Hr.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function mr(Hr){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||Hr){var Zr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var ss,Xr;if(Zr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(ss=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/Zr,0),Xr=this.p.getValueAtTime(this.p.keyframes[0].t/Zr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(ss=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/Zr,0),Xr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/Zr,0)):(ss=this.p.pv,Xr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/Zr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){ss=[],Xr=[];var Nr=this.px,Or=this.py;Nr._caching.lastFrame+Nr.offsetTime<=Nr.keyframes[0].t?(ss[0]=Nr.getValueAtTime((Nr.keyframes[0].t+.01)/Zr,0),ss[1]=Or.getValueAtTime((Or.keyframes[0].t+.01)/Zr,0),Xr[0]=Nr.getValueAtTime(Nr.keyframes[0].t/Zr,0),Xr[1]=Or.getValueAtTime(Or.keyframes[0].t/Zr,0)):Nr._caching.lastFrame+Nr.offsetTime>=Nr.keyframes[Nr.keyframes.length-1].t?(ss[0]=Nr.getValueAtTime(Nr.keyframes[Nr.keyframes.length-1].t/Zr,0),ss[1]=Or.getValueAtTime(Or.keyframes[Or.keyframes.length-1].t/Zr,0),Xr[0]=Nr.getValueAtTime((Nr.keyframes[Nr.keyframes.length-1].t-.01)/Zr,0),Xr[1]=Or.getValueAtTime((Or.keyframes[Or.keyframes.length-1].t-.01)/Zr,0)):(ss=[Nr.pv,Or.pv],Xr[0]=Nr.getValueAtTime((Nr._caching.lastFrame+Nr.offsetTime-.01)/Zr,Nr.offsetTime),Xr[1]=Or.getValueAtTime((Or._caching.lastFrame+Or.offsetTime-.01)/Zr,Or.offsetTime))}else Xr=er,ss=Xr;this.v.rotate(-Math.atan2(ss[1]-Xr[1],ss[0]-Xr[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 Sr(){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 wr(){}function kr(Hr){this._addDynamicProperty(Hr),this.elem.addDynamicProperty(Hr),this._isDirty=!0}function Br(Hr,Zr,ss){if(this.elem=Hr,this.frameId=-1,this.propType="transform",this.data=Zr,this.v=new Pa,this.pre=new Pa,this.appliedTransformations=0,this.initDynamicPropertyContainer(ss||Hr),Zr.p&&Zr.p.s?(this.px=Gs.getProp(Hr,Zr.p.x,0,0,this),this.py=Gs.getProp(Hr,Zr.p.y,0,0,this),Zr.p.z&&(this.pz=Gs.getProp(Hr,Zr.p.z,0,0,this))):this.p=Gs.getProp(Hr,Zr.p||{k:[0,0,0]},1,0,this),Zr.rx){if(this.rx=Gs.getProp(Hr,Zr.rx,0,es,this),this.ry=Gs.getProp(Hr,Zr.ry,0,es,this),this.rz=Gs.getProp(Hr,Zr.rz,0,es,this),Zr.or.k[0].ti){var Xr,Nr=Zr.or.k.length;for(Xr=0;Xr<Nr;Xr+=1)Zr.or.k[Xr].to=null,Zr.or.k[Xr].ti=null}this.or=Gs.getProp(Hr,Zr.or,1,es,this),this.or.sh=!0}else this.r=Gs.getProp(Hr,Zr.r||{k:0},0,es,this);Zr.sk&&(this.sk=Gs.getProp(Hr,Zr.sk,0,es,this),this.sa=Gs.getProp(Hr,Zr.sa,0,es,this)),this.a=Gs.getProp(Hr,Zr.a||{k:[0,0,0]},1,0,this),this.s=Gs.getProp(Hr,Zr.s||{k:[100,100,100]},1,.01,this),Zr.o?this.o=Gs.getProp(Hr,Zr.o,0,.01,Hr):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}Br.prototype={applyToMatrix:lr,getValue:mr,precalculateMatrix:Sr,autoOrient:wr},nr([Fa],Br),Br.prototype.addDynamicProperty=kr,Br.prototype._addDynamicProperty=Fa.prototype.addDynamicProperty;function Yr(Hr,Zr,ss){return new Br(Hr,Zr,ss)}return{getTransformProperty:Yr}}();function Ja(){}nr([Xa],Ja),Ja.prototype.initModifierProperties=function(er,lr){this.getValue=this.processKeys,this.c=Gs.getProp(er,lr.c,0,null,this),this.o=Gs.getProp(er,lr.o,0,null,this),this.tr=Rn.getTransformProperty(er,lr.tr,this),this.so=Gs.getProp(er,lr.tr.so,0,.01,this),this.eo=Gs.getProp(er,lr.tr.eo,0,.01,this),this.data=lr,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Pa,this.rMatrix=new Pa,this.sMatrix=new Pa,this.tMatrix=new Pa,this.matrix=new Pa},Ja.prototype.applyTransforms=function(er,lr,mr,Sr,wr,kr){var Br=kr?-1:1,Yr=Sr.s.v[0]+(1-Sr.s.v[0])*(1-wr),Hr=Sr.s.v[1]+(1-Sr.s.v[1])*(1-wr);er.translate(Sr.p.v[0]*Br*wr,Sr.p.v[1]*Br*wr,Sr.p.v[2]),lr.translate(-Sr.a.v[0],-Sr.a.v[1],Sr.a.v[2]),lr.rotate(-Sr.r.v*Br*wr),lr.translate(Sr.a.v[0],Sr.a.v[1],Sr.a.v[2]),mr.translate(-Sr.a.v[0],-Sr.a.v[1],Sr.a.v[2]),mr.scale(kr?1/Yr:Yr,kr?1/Hr:Hr),mr.translate(Sr.a.v[0],Sr.a.v[1],Sr.a.v[2])},Ja.prototype.init=function(er,lr,mr,Sr){for(this.elem=er,this.arr=lr,this.pos=mr,this.elemsData=Sr,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(er),this.initModifierProperties(er,lr[mr]);mr>0;)mr-=1,this._elements.unshift(lr[mr]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Ja.prototype.resetElements=function(er){var lr,mr=er.length;for(lr=0;lr<mr;lr+=1)er[lr]._processed=!1,er[lr].ty==="gr"&&this.resetElements(er[lr].it)},Ja.prototype.cloneElements=function(er){var lr=JSON.parse(JSON.stringify(er));return this.resetElements(lr),lr},Ja.prototype.changeGroupRender=function(er,lr){var mr,Sr=er.length;for(mr=0;mr<Sr;mr+=1)er[mr]._render=lr,er[mr].ty==="gr"&&this.changeGroupRender(er[mr].it,lr)},Ja.prototype.processShapes=function(er){var lr,mr,Sr,wr,kr,Br=!1;if(this._mdf||er){var Yr=Math.ceil(this.c.v);if(this._groups.length<Yr){for(;this._groups.length<Yr;){var Hr={it:this.cloneElements(this._elements),ty:"gr"};Hr.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,Hr),this._groups.splice(0,0,Hr),this._currentCopies+=1}this.elem.reloadShapes(),Br=!0}kr=0;var Zr;for(Sr=0;Sr<=this._groups.length-1;Sr+=1){if(Zr=kr<Yr,this._groups[Sr]._render=Zr,this.changeGroupRender(this._groups[Sr].it,Zr),!Zr){var ss=this.elemsData[Sr].it,Xr=ss[ss.length-1];Xr.transform.op.v!==0?(Xr.transform.op._mdf=!0,Xr.transform.op.v=0):Xr.transform.op._mdf=!1}kr+=1}this._currentCopies=Yr;var Nr=this.o.v,Or=Nr%1,Gr=Nr>0?Math.floor(Nr):Math.ceil(Nr),Lr=this.pMatrix.props,Kr=this.rMatrix.props,ts=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var Wr=0;if(Nr>0){for(;Wr<Gr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),Wr+=1;Or&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,Or,!1),Wr+=Or)}else if(Nr<0){for(;Wr>Gr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Wr-=1;Or&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-Or,!0),Wr-=Or)}Sr=this.data.m===1?0:this._currentCopies-1,wr=this.data.m===1?1:-1,kr=this._currentCopies;for(var as,ls;kr;){if(lr=this.elemsData[Sr].it,mr=lr[lr.length-1].transform.mProps.v.props,ls=mr.length,lr[lr.length-1].transform.mProps._mdf=!0,lr[lr.length-1].transform.op._mdf=!0,lr[lr.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(Sr/(this._currentCopies-1)),Wr!==0){for((Sr!==0&&wr===1||Sr!==this._currentCopies-1&&wr===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Kr[0],Kr[1],Kr[2],Kr[3],Kr[4],Kr[5],Kr[6],Kr[7],Kr[8],Kr[9],Kr[10],Kr[11],Kr[12],Kr[13],Kr[14],Kr[15]),this.matrix.transform(ts[0],ts[1],ts[2],ts[3],ts[4],ts[5],ts[6],ts[7],ts[8],ts[9],ts[10],ts[11],ts[12],ts[13],ts[14],ts[15]),this.matrix.transform(Lr[0],Lr[1],Lr[2],Lr[3],Lr[4],Lr[5],Lr[6],Lr[7],Lr[8],Lr[9],Lr[10],Lr[11],Lr[12],Lr[13],Lr[14],Lr[15]),as=0;as<ls;as+=1)mr[as]=this.matrix.props[as];this.matrix.reset()}else for(this.matrix.reset(),as=0;as<ls;as+=1)mr[as]=this.matrix.props[as];Wr+=1,kr-=1,Sr+=wr}}else for(kr=this._currentCopies,Sr=0,wr=1;kr;)lr=this.elemsData[Sr].it,mr=lr[lr.length-1].transform.mProps.v.props,lr[lr.length-1].transform.mProps._mdf=!1,lr[lr.length-1].transform.op._mdf=!1,kr-=1,Sr+=wr;return Br},Ja.prototype.addShape=function(){};function ro(){}nr([Xa],ro),ro.prototype.initModifierProperties=function(er,lr){this.getValue=this.processKeys,this.rd=Gs.getProp(er,lr.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ro.prototype.processPath=function(er,lr){var mr=Ta.newElement();mr.c=er.c;var Sr,wr=er._length,kr,Br,Yr,Hr,Zr,ss,Xr=0,Nr,Or,Gr,Lr,Kr,ts;for(Sr=0;Sr<wr;Sr+=1)kr=er.v[Sr],Yr=er.o[Sr],Br=er.i[Sr],kr[0]===Yr[0]&&kr[1]===Yr[1]&&kr[0]===Br[0]&&kr[1]===Br[1]?(Sr===0||Sr===wr-1)&&!er.c?(mr.setTripleAt(kr[0],kr[1],Yr[0],Yr[1],Br[0],Br[1],Xr),Xr+=1):(Sr===0?Hr=er.v[wr-1]:Hr=er.v[Sr-1],Zr=Math.sqrt(Math.pow(kr[0]-Hr[0],2)+Math.pow(kr[1]-Hr[1],2)),ss=Zr?Math.min(Zr/2,lr)/Zr:0,Kr=kr[0]+(Hr[0]-kr[0])*ss,Nr=Kr,ts=kr[1]-(kr[1]-Hr[1])*ss,Or=ts,Gr=Nr-(Nr-kr[0])*hs,Lr=Or-(Or-kr[1])*hs,mr.setTripleAt(Nr,Or,Gr,Lr,Kr,ts,Xr),Xr+=1,Sr===wr-1?Hr=er.v[0]:Hr=er.v[Sr+1],Zr=Math.sqrt(Math.pow(kr[0]-Hr[0],2)+Math.pow(kr[1]-Hr[1],2)),ss=Zr?Math.min(Zr/2,lr)/Zr:0,Gr=kr[0]+(Hr[0]-kr[0])*ss,Nr=Gr,Lr=kr[1]+(Hr[1]-kr[1])*ss,Or=Lr,Kr=Nr-(Nr-kr[0])*hs,ts=Or-(Or-kr[1])*hs,mr.setTripleAt(Nr,Or,Gr,Lr,Kr,ts,Xr),Xr+=1):(mr.setTripleAt(er.v[Sr][0],er.v[Sr][1],er.o[Sr][0],er.o[Sr][1],er.i[Sr][0],er.i[Sr][1],Xr),Xr+=1);return mr},ro.prototype.processShapes=function(er){var lr,mr,Sr=this.shapes.length,wr,kr,Br=this.rd.v;if(Br!==0){var Yr,Hr;for(mr=0;mr<Sr;mr+=1){if(Yr=this.shapes[mr],Hr=Yr.localShapeCollection,!(!Yr.shape._mdf&&!this._mdf&&!er))for(Hr.releaseShapes(),Yr.shape._mdf=!0,lr=Yr.shape.paths.shapes,kr=Yr.shape.paths._length,wr=0;wr<kr;wr+=1)Hr.addShape(this.processPath(lr[wr],Br));Yr.shape.paths=Yr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Bn(er,lr){return Math.abs(er-lr)*1e5<=Math.min(Math.abs(er),Math.abs(lr))}function mo(er){return Math.abs(er)<=1e-5}function Lo(er,lr,mr){return er*(1-mr)+lr*mr}function Fn(er,lr,mr){return[Lo(er[0],lr[0],mr),Lo(er[1],lr[1],mr)]}function Ah(er,lr,mr){if(er===0)return[];var Sr=lr*lr-4*er*mr;if(Sr<0)return[];var wr=-lr/(2*er);if(Sr===0)return[wr];var kr=Math.sqrt(Sr)/(2*er);return[wr-kr,wr+kr]}function po(er,lr,mr,Sr){return[-er+3*lr-3*mr+Sr,3*er-6*lr+3*mr,-3*er+3*lr,er]}function mh(er){return new va(er,er,er,er,!1)}function va(er,lr,mr,Sr,wr){wr&&On(er,lr)&&(lr=Fn(er,Sr,1/3)),wr&&On(mr,Sr)&&(mr=Fn(er,Sr,2/3));var kr=po(er[0],lr[0],mr[0],Sr[0]),Br=po(er[1],lr[1],mr[1],Sr[1]);this.a=[kr[0],Br[0]],this.b=[kr[1],Br[1]],this.c=[kr[2],Br[2]],this.d=[kr[3],Br[3]],this.points=[er,lr,mr,Sr]}va.prototype.point=function(er){return[((this.a[0]*er+this.b[0])*er+this.c[0])*er+this.d[0],((this.a[1]*er+this.b[1])*er+this.c[1])*er+this.d[1]]},va.prototype.derivative=function(er){return[(3*er*this.a[0]+2*this.b[0])*er+this.c[0],(3*er*this.a[1]+2*this.b[1])*er+this.c[1]]},va.prototype.tangentAngle=function(er){var lr=this.derivative(er);return Math.atan2(lr[1],lr[0])},va.prototype.normalAngle=function(er){var lr=this.derivative(er);return Math.atan2(lr[0],lr[1])},va.prototype.inflectionPoints=function(){var er=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(mo(er))return[];var lr=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/er,mr=lr*lr-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/er;if(mr<0)return[];var Sr=Math.sqrt(mr);return mo(Sr)?Sr>0&&Sr<1?[lr]:[]:[lr-Sr,lr+Sr].filter(function(wr){return wr>0&&wr<1})},va.prototype.split=function(er){if(er<=0)return[mh(this.points[0]),this];if(er>=1)return[this,mh(this.points[this.points.length-1])];var lr=Fn(this.points[0],this.points[1],er),mr=Fn(this.points[1],this.points[2],er),Sr=Fn(this.points[2],this.points[3],er),wr=Fn(lr,mr,er),kr=Fn(mr,Sr,er),Br=Fn(wr,kr,er);return[new va(this.points[0],lr,wr,Br,!0),new va(Br,kr,Sr,this.points[3],!0)]};function Ko(er,lr){var mr=er.points[0][lr],Sr=er.points[er.points.length-1][lr];if(mr>Sr){var wr=Sr;Sr=mr,mr=wr}for(var kr=Ah(3*er.a[lr],2*er.b[lr],er.c[lr]),Br=0;Br<kr.length;Br+=1)if(kr[Br]>0&&kr[Br]<1){var Yr=er.point(kr[Br])[lr];Yr<mr?mr=Yr:Yr>Sr&&(Sr=Yr)}return{min:mr,max:Sr}}va.prototype.bounds=function(){return{x:Ko(this,0),y:Ko(this,1)}},va.prototype.boundingBox=function(){var er=this.bounds();return{left:er.x.min,right:er.x.max,top:er.y.min,bottom:er.y.max,width:er.x.max-er.x.min,height:er.y.max-er.y.min,cx:(er.x.max+er.x.min)/2,cy:(er.y.max+er.y.min)/2}};function za(er,lr,mr){var Sr=er.boundingBox();return{cx:Sr.cx,cy:Sr.cy,width:Sr.width,height:Sr.height,bez:er,t:(lr+mr)/2,t1:lr,t2:mr}}function Qo(er){var lr=er.bez.split(.5);return[za(lr[0],er.t1,er.t),za(lr[1],er.t,er.t2)]}function th(er,lr){return Math.abs(er.cx-lr.cx)*2<er.width+lr.width&&Math.abs(er.cy-lr.cy)*2<er.height+lr.height}function fo(er,lr,mr,Sr,wr,kr){if(th(er,lr)){if(mr>=kr||er.width<=Sr&&er.height<=Sr&&lr.width<=Sr&&lr.height<=Sr){wr.push([er.t,lr.t]);return}var Br=Qo(er),Yr=Qo(lr);fo(Br[0],Yr[0],mr+1,Sr,wr,kr),fo(Br[0],Yr[1],mr+1,Sr,wr,kr),fo(Br[1],Yr[0],mr+1,Sr,wr,kr),fo(Br[1],Yr[1],mr+1,Sr,wr,kr)}}va.prototype.intersections=function(er,lr,mr){lr===void 0&&(lr=2),mr===void 0&&(mr=7);var Sr=[];return fo(za(this,0,1),za(er,0,1),0,lr,Sr,mr),Sr},va.shapeSegment=function(er,lr){var mr=(lr+1)%er.length();return new va(er.v[lr],er.o[lr],er.i[mr],er.v[mr],!0)},va.shapeSegmentInverted=function(er,lr){var mr=(lr+1)%er.length();return new va(er.v[mr],er.i[mr],er.o[lr],er.v[lr],!0)};function No(er,lr){return[er[1]*lr[2]-er[2]*lr[1],er[2]*lr[0]-er[0]*lr[2],er[0]*lr[1]-er[1]*lr[0]]}function so(er,lr,mr,Sr){var wr=[er[0],er[1],1],kr=[lr[0],lr[1],1],Br=[mr[0],mr[1],1],Yr=[Sr[0],Sr[1],1],Hr=No(No(wr,kr),No(Br,Yr));return mo(Hr[2])?null:[Hr[0]/Hr[2],Hr[1]/Hr[2]]}function Un(er,lr,mr){return[er[0]+Math.cos(lr)*mr,er[1]-Math.sin(lr)*mr]}function Ao(er,lr){return Math.hypot(er[0]-lr[0],er[1]-lr[1])}function On(er,lr){return Bn(er[0],lr[0])&&Bn(er[1],lr[1])}function ao(){}nr([Xa],ao),ao.prototype.initModifierProperties=function(er,lr){this.getValue=this.processKeys,this.amplitude=Gs.getProp(er,lr.s,0,null,this),this.frequency=Gs.getProp(er,lr.r,0,null,this),this.pointsType=Gs.getProp(er,lr.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Co(er,lr,mr,Sr,wr,kr,Br){var Yr=mr-Math.PI/2,Hr=mr+Math.PI/2,Zr=lr[0]+Math.cos(mr)*Sr*wr,ss=lr[1]-Math.sin(mr)*Sr*wr;er.setTripleAt(Zr,ss,Zr+Math.cos(Yr)*kr,ss-Math.sin(Yr)*kr,Zr+Math.cos(Hr)*Br,ss-Math.sin(Hr)*Br,er.length())}function Go(er,lr){var mr=[lr[0]-er[0],lr[1]-er[1]],Sr=-Math.PI*.5,wr=[Math.cos(Sr)*mr[0]-Math.sin(Sr)*mr[1],Math.sin(Sr)*mr[0]+Math.cos(Sr)*mr[1]];return wr}function Ch(er,lr){var mr=lr===0?er.length()-1:lr-1,Sr=(lr+1)%er.length(),wr=er.v[mr],kr=er.v[Sr],Br=Go(wr,kr);return Math.atan2(0,1)-Math.atan2(Br[1],Br[0])}function dh(er,lr,mr,Sr,wr,kr,Br){var Yr=Ch(lr,mr),Hr=lr.v[mr%lr._length],Zr=lr.v[mr===0?lr._length-1:mr-1],ss=lr.v[(mr+1)%lr._length],Xr=kr===2?Math.sqrt(Math.pow(Hr[0]-Zr[0],2)+Math.pow(Hr[1]-Zr[1],2)):0,Nr=kr===2?Math.sqrt(Math.pow(Hr[0]-ss[0],2)+Math.pow(Hr[1]-ss[1],2)):0;Co(er,lr.v[mr%lr._length],Yr,Br,Sr,Nr/((wr+1)*2),Xr/((wr+1)*2))}function $h(er,lr,mr,Sr,wr,kr){for(var Br=0;Br<Sr;Br+=1){var Yr=(Br+1)/(Sr+1),Hr=wr===2?Math.sqrt(Math.pow(lr.points[3][0]-lr.points[0][0],2)+Math.pow(lr.points[3][1]-lr.points[0][1],2)):0,Zr=lr.normalAngle(Yr),ss=lr.point(Yr);Co(er,ss,Zr,kr,mr,Hr/((Sr+1)*2),Hr/((Sr+1)*2)),kr=-kr}return kr}ao.prototype.processPath=function(er,lr,mr,Sr){var wr=er._length,kr=Ta.newElement();if(kr.c=er.c,er.c||(wr-=1),wr===0)return kr;var Br=-1,Yr=va.shapeSegment(er,0);dh(kr,er,0,lr,mr,Sr,Br);for(var Hr=0;Hr<wr;Hr+=1)Br=$h(kr,Yr,lr,mr,Sr,-Br),Hr===wr-1&&!er.c?Yr=null:Yr=va.shapeSegment(er,(Hr+1)%wr),dh(kr,er,Hr+1,lr,mr,Sr,Br);return kr},ao.prototype.processShapes=function(er){var lr,mr,Sr=this.shapes.length,wr,kr,Br=this.amplitude.v,Yr=Math.max(0,Math.round(this.frequency.v)),Hr=this.pointsType.v;if(Br!==0){var Zr,ss;for(mr=0;mr<Sr;mr+=1){if(Zr=this.shapes[mr],ss=Zr.localShapeCollection,!(!Zr.shape._mdf&&!this._mdf&&!er))for(ss.releaseShapes(),Zr.shape._mdf=!0,lr=Zr.shape.paths.shapes,kr=Zr.shape.paths._length,wr=0;wr<kr;wr+=1)ss.addShape(this.processPath(lr[wr],Br,Yr,Hr));Zr.shape.paths=Zr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Vo(er,lr,mr){var Sr=Math.atan2(lr[0]-er[0],lr[1]-er[1]);return[Un(er,Sr,mr),Un(lr,Sr,mr)]}function no(er,lr){var mr,Sr,wr,kr,Br,Yr,Hr;Hr=Vo(er.points[0],er.points[1],lr),mr=Hr[0],Sr=Hr[1],Hr=Vo(er.points[1],er.points[2],lr),wr=Hr[0],kr=Hr[1],Hr=Vo(er.points[2],er.points[3],lr),Br=Hr[0],Yr=Hr[1];var Zr=so(mr,Sr,wr,kr);Zr===null&&(Zr=Sr);var ss=so(Br,Yr,wr,kr);return ss===null&&(ss=Br),new va(mr,Zr,ss,Yr)}function jo(er,lr,mr,Sr,wr){var kr=lr.points[3],Br=mr.points[0];if(Sr===3||On(kr,Br))return kr;if(Sr===2){var Yr=-lr.tangentAngle(1),Hr=-mr.tangentAngle(0)+Math.PI,Zr=so(kr,Un(kr,Yr+Math.PI/2,100),Br,Un(Br,Yr+Math.PI/2,100)),ss=Zr?Ao(Zr,kr):Ao(kr,Br)/2,Xr=Un(kr,Yr,2*ss*hs);return er.setXYAt(Xr[0],Xr[1],"o",er.length()-1),Xr=Un(Br,Hr,2*ss*hs),er.setTripleAt(Br[0],Br[1],Br[0],Br[1],Xr[0],Xr[1],er.length()),Br}var Nr=On(kr,lr.points[2])?lr.points[0]:lr.points[2],Or=On(Br,mr.points[1])?mr.points[3]:mr.points[1],Gr=so(Nr,kr,Br,Or);return Gr&&Ao(Gr,kr)<wr?(er.setTripleAt(Gr[0],Gr[1],Gr[0],Gr[1],Gr[0],Gr[1],er.length()),Gr):kr}function ko(er,lr){var mr=er.intersections(lr);return mr.length&&Bn(mr[0][0],1)&&mr.shift(),mr.length?mr[0]:null}function eh(er,lr){var mr=er.slice(),Sr=lr.slice(),wr=ko(er[er.length-1],lr[0]);return wr&&(mr[er.length-1]=er[er.length-1].split(wr[0])[0],Sr[0]=lr[0].split(wr[1])[1]),er.length>1&&lr.length>1&&(wr=ko(er[0],lr[lr.length-1]),wr)?[[er[0].split(wr[0])[0]],[lr[lr.length-1].split(wr[1])[1]]]:[mr,Sr]}function kh(er){for(var lr,mr=1;mr<er.length;mr+=1)lr=eh(er[mr-1],er[mr]),er[mr-1]=lr[0],er[mr]=lr[1];return er.length>1&&(lr=eh(er[er.length-1],er[0]),er[er.length-1]=lr[0],er[0]=lr[1]),er}function ih(er,lr){var mr=er.inflectionPoints(),Sr,wr,kr,Br;if(mr.length===0)return[no(er,lr)];if(mr.length===1||Bn(mr[1],1))return kr=er.split(mr[0]),Sr=kr[0],wr=kr[1],[no(Sr,lr),no(wr,lr)];kr=er.split(mr[0]),Sr=kr[0];var Yr=(mr[1]-mr[0])/(1-mr[0]);return kr=kr[1].split(Yr),Br=kr[0],wr=kr[1],[no(Sr,lr),no(Br,lr),no(wr,lr)]}function go(){}nr([Xa],go),go.prototype.initModifierProperties=function(er,lr){this.getValue=this.processKeys,this.amount=Gs.getProp(er,lr.a,0,null,this),this.miterLimit=Gs.getProp(er,lr.ml,0,null,this),this.lineJoin=lr.lj,this._isAnimated=this.amount.effectsSequence.length!==0},go.prototype.processPath=function(er,lr,mr,Sr){var wr=Ta.newElement();wr.c=er.c;var kr=er.length();er.c||(kr-=1);var Br,Yr,Hr,Zr=[];for(Br=0;Br<kr;Br+=1)Hr=va.shapeSegment(er,Br),Zr.push(ih(Hr,lr));if(!er.c)for(Br=kr-1;Br>=0;Br-=1)Hr=va.shapeSegmentInverted(er,Br),Zr.push(ih(Hr,lr));Zr=kh(Zr);var ss=null,Xr=null;for(Br=0;Br<Zr.length;Br+=1){var Nr=Zr[Br];for(Xr&&(ss=jo(wr,Xr,Nr[0],mr,Sr)),Xr=Nr[Nr.length-1],Yr=0;Yr<Nr.length;Yr+=1)Hr=Nr[Yr],ss&&On(Hr.points[0],ss)?wr.setXYAt(Hr.points[1][0],Hr.points[1][1],"o",wr.length()-1):wr.setTripleAt(Hr.points[0][0],Hr.points[0][1],Hr.points[1][0],Hr.points[1][1],Hr.points[0][0],Hr.points[0][1],wr.length()),wr.setTripleAt(Hr.points[3][0],Hr.points[3][1],Hr.points[3][0],Hr.points[3][1],Hr.points[2][0],Hr.points[2][1],wr.length()),ss=Hr.points[3]}return Zr.length&&jo(wr,Xr,Zr[0][0],mr,Sr),wr},go.prototype.processShapes=function(er){var lr,mr,Sr=this.shapes.length,wr,kr,Br=this.amount.v,Yr=this.miterLimit.v,Hr=this.lineJoin;if(Br!==0){var Zr,ss;for(mr=0;mr<Sr;mr+=1){if(Zr=this.shapes[mr],ss=Zr.localShapeCollection,!(!Zr.shape._mdf&&!this._mdf&&!er))for(ss.releaseShapes(),Zr.shape._mdf=!0,lr=Zr.shape.paths.shapes,kr=Zr.shape.paths._length,wr=0;wr<kr;wr+=1)ss.addShape(this.processPath(lr[wr],Br,Hr,Yr));Zr.shape.paths=Zr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function rh(er){for(var lr=er.fStyle?er.fStyle.split(" "):[],mr="normal",Sr="normal",wr=lr.length,kr,Br=0;Br<wr;Br+=1)switch(kr=lr[Br].toLowerCase(),kr){case"italic":Sr="italic";break;case"bold":mr="700";break;case"black":mr="900";break;case"medium":mr="500";break;case"regular":case"normal":mr="400";break;case"light":case"thin":mr="200";break}return{style:Sr,weight:er.fWeight||mr}}var In=function(){var er=5e3,lr={w:0,size:0,shapes:[],data:{shapes:[]}},mr=[];mr=mr.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var Sr=127988,wr=917631,kr=917601,Br=917626,Yr=65039,Hr=8205,Zr=127462,ss=127487,Xr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function Nr(gs){var _s=gs.split(","),ns,Es=_s.length,Os=[];for(ns=0;ns<Es;ns+=1)_s[ns]!=="sans-serif"&&_s[ns]!=="monospace"&&Os.push(_s[ns]);return Os.join(",")}function Or(gs,_s){var ns=gr("span");ns.setAttribute("aria-hidden",!0),ns.style.fontFamily=_s;var Es=gr("span");Es.innerText="giItT1WQy@!-/#",ns.style.position="absolute",ns.style.left="-10000px",ns.style.top="-10000px",ns.style.fontSize="300px",ns.style.fontVariant="normal",ns.style.fontStyle="normal",ns.style.fontWeight="normal",ns.style.letterSpacing="0",ns.appendChild(Es),document.body.appendChild(ns);var Os=Es.offsetWidth;return Es.style.fontFamily=Nr(gs)+", "+_s,{node:Es,w:Os,parent:ns}}function Gr(){var gs,_s=this.fonts.length,ns,Es,Os=_s;for(gs=0;gs<_s;gs+=1)this.fonts[gs].loaded?Os-=1:this.fonts[gs].fOrigin==="n"||this.fonts[gs].origin===0?this.fonts[gs].loaded=!0:(ns=this.fonts[gs].monoCase.node,Es=this.fonts[gs].monoCase.w,ns.offsetWidth!==Es?(Os-=1,this.fonts[gs].loaded=!0):(ns=this.fonts[gs].sansCase.node,Es=this.fonts[gs].sansCase.w,ns.offsetWidth!==Es&&(Os-=1,this.fonts[gs].loaded=!0)),this.fonts[gs].loaded&&(this.fonts[gs].sansCase.parent.parentNode.removeChild(this.fonts[gs].sansCase.parent),this.fonts[gs].monoCase.parent.parentNode.removeChild(this.fonts[gs].monoCase.parent)));Os!==0&&Date.now()-this.initTime<er?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function Lr(gs,_s){var ns=document.body&&_s?"svg":"canvas",Es,Os=rh(gs);if(ns==="svg"){var Is=$s("text");Is.style.fontSize="100px",Is.setAttribute("font-family",gs.fFamily),Is.setAttribute("font-style",Os.style),Is.setAttribute("font-weight",Os.weight),Is.textContent="1",gs.fClass?(Is.style.fontFamily="inherit",Is.setAttribute("class",gs.fClass)):Is.style.fontFamily=gs.fFamily,_s.appendChild(Is),Es=Is}else{var Ks=new OffscreenCanvas(500,500).getContext("2d");Ks.font=Os.style+" "+Os.weight+" 100px "+gs.fFamily,Es=Ks}function Js(ha){return ns==="svg"?(Es.textContent=ha,Es.getComputedTextLength()):Es.measureText(ha).width}return{measureText:Js}}function Kr(gs,_s){if(!gs){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=gs.list;return}if(!document.body){this.isLoaded=!0,gs.list.forEach(function(Xs){Xs.helper=Lr(Xs),Xs.cache={}}),this.fonts=gs.list;return}var ns=gs.list,Es,Os=ns.length,Is=Os;for(Es=0;Es<Os;Es+=1){var Ks=!0,Js,ha;if(ns[Es].loaded=!1,ns[Es].monoCase=Or(ns[Es].fFamily,"monospace"),ns[Es].sansCase=Or(ns[Es].fFamily,"sans-serif"),!ns[Es].fPath)ns[Es].loaded=!0,Is-=1;else if(ns[Es].fOrigin==="p"||ns[Es].origin===3){if(Js=document.querySelectorAll('style[f-forigin="p"][f-family="'+ns[Es].fFamily+'"], style[f-origin="3"][f-family="'+ns[Es].fFamily+'"]'),Js.length>0&&(Ks=!1),Ks){var ea=gr("style");ea.setAttribute("f-forigin",ns[Es].fOrigin),ea.setAttribute("f-origin",ns[Es].origin),ea.setAttribute("f-family",ns[Es].fFamily),ea.type="text/css",ea.innerText="@font-face {font-family: "+ns[Es].fFamily+"; font-style: normal; src: url('"+ns[Es].fPath+"');}",_s.appendChild(ea)}}else if(ns[Es].fOrigin==="g"||ns[Es].origin===1){for(Js=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ha=0;ha<Js.length;ha+=1)Js[ha].href.indexOf(ns[Es].fPath)!==-1&&(Ks=!1);if(Ks){var Aa=gr("link");Aa.setAttribute("f-forigin",ns[Es].fOrigin),Aa.setAttribute("f-origin",ns[Es].origin),Aa.type="text/css",Aa.rel="stylesheet",Aa.href=ns[Es].fPath,document.body.appendChild(Aa)}}else if(ns[Es].fOrigin==="t"||ns[Es].origin===2){for(Js=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ha=0;ha<Js.length;ha+=1)ns[Es].fPath===Js[ha].src&&(Ks=!1);if(Ks){var oa=gr("link");oa.setAttribute("f-forigin",ns[Es].fOrigin),oa.setAttribute("f-origin",ns[Es].origin),oa.setAttribute("rel","stylesheet"),oa.setAttribute("href",ns[Es].fPath),_s.appendChild(oa)}}ns[Es].helper=Lr(ns[Es],_s),ns[Es].cache={},this.fonts.push(ns[Es])}Is===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function ts(gs){if(gs){this.chars||(this.chars=[]);var _s,ns=gs.length,Es,Os=this.chars.length,Is;for(_s=0;_s<ns;_s+=1){for(Es=0,Is=!1;Es<Os;)this.chars[Es].style===gs[_s].style&&this.chars[Es].fFamily===gs[_s].fFamily&&this.chars[Es].ch===gs[_s].ch&&(Is=!0),Es+=1;Is||(this.chars.push(gs[_s]),Os+=1)}}}function Wr(gs,_s,ns){for(var Es=0,Os=this.chars.length;Es<Os;){if(this.chars[Es].ch===gs&&this.chars[Es].style===_s&&this.chars[Es].fFamily===ns)return this.chars[Es];Es+=1}return(typeof gs=="string"&&gs.charCodeAt(0)!==13||!gs)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",gs,_s,ns)),lr}function as(gs,_s,ns){var Es=this.getFontByName(_s),Os=gs;if(!Es.cache[Os]){var Is=Es.helper;if(gs===" "){var Ks=Is.measureText("|"+gs+"|"),Js=Is.measureText("||");Es.cache[Os]=(Ks-Js)/100}else Es.cache[Os]=Is.measureText(gs)/100}return Es.cache[Os]*ns}function ls(gs){for(var _s=0,ns=this.fonts.length;_s<ns;){if(this.fonts[_s].fName===gs)return this.fonts[_s];_s+=1}return this.fonts[0]}function ds(gs){var _s=0,ns=gs.charCodeAt(0);if(ns>=55296&&ns<=56319){var Es=gs.charCodeAt(1);Es>=56320&&Es<=57343&&(_s=(ns-55296)*1024+Es-56320+65536)}return _s}function ws(gs,_s){var ns=gs.toString(16)+_s.toString(16);return Xr.indexOf(ns)!==-1}function Fs(gs){return gs===Hr}function Cs(gs){return gs===Yr}function zs(gs){var _s=ds(gs);return _s>=Zr&&_s<=ss}function ms(gs){return zs(gs.substr(0,2))&&zs(gs.substr(2,2))}function bs(gs){return mr.indexOf(gs)!==-1}function rs(gs,_s){var ns=ds(gs.substr(_s,2));if(ns!==Sr)return!1;var Es=0;for(_s+=2;Es<5;){if(ns=ds(gs.substr(_s,2)),ns<kr||ns>Br)return!1;Es+=1,_s+=2}return ds(gs.substr(_s,2))===wr}function Ps(){this.isLoaded=!0}var As=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)};As.isModifier=ws,As.isZeroWidthJoiner=Fs,As.isFlagEmoji=ms,As.isRegionalCode=zs,As.isCombinedCharacter=bs,As.isRegionalFlag=rs,As.isVariationSelector=Cs,As.BLACK_FLAG_CODE_POINT=Sr;var vs={addChars:ts,addFonts:Kr,getCharData:Wr,getFontByName:ls,measureText:as,checkLoadedFonts:Gr,setIsLoaded:Ps};return As.prototype=vs,As}();function sh(er){this.animationData=er}sh.prototype.getProp=function(er){return this.animationData.slots&&this.animationData.slots[er.sid]?Object.assign(er,this.animationData.slots[er.sid].p):er};function wo(er){return new sh(er)}function Kn(){}Kn.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(er){this.renderableComponents.indexOf(er)===-1&&this.renderableComponents.push(er)},removeRenderableComponent:function(er){this.renderableComponents.indexOf(er)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(er),1)},prepareRenderableFrame:function(er){this.checkLayerLimits(er)},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(er){this.data.ip-this.data.st<=er&&this.data.op-this.data.st>er?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 er,lr=this.renderableComponents.length;for(er=0;er<lr;er+=1)this.renderableComponents[er].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var Ro=function(){var er={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(lr){return er[lr]||""}}();function Bo(er,lr,mr){this.p=Gs.getProp(lr,er.v,0,0,mr)}function gh(er,lr,mr){this.p=Gs.getProp(lr,er.v,0,0,mr)}function Nh(er,lr,mr){this.p=Gs.getProp(lr,er.v,1,0,mr)}function Gh(er,lr,mr){this.p=Gs.getProp(lr,er.v,1,0,mr)}function jh(er,lr,mr){this.p=Gs.getProp(lr,er.v,0,0,mr)}function qh(er,lr,mr){this.p=Gs.getProp(lr,er.v,0,0,mr)}function Hh(er,lr,mr){this.p=Gs.getProp(lr,er.v,0,0,mr)}function Wh(){this.p={}}function yh(er,lr){var mr=er.ef||[];this.effectElements=[];var Sr,wr=mr.length,kr;for(Sr=0;Sr<wr;Sr+=1)kr=new yo(mr[Sr],lr),this.effectElements.push(kr)}function yo(er,lr){this.init(er,lr)}nr([Fa],yo),yo.prototype.getValue=yo.prototype.iterateDynamicProperties,yo.prototype.init=function(er,lr){this.data=er,this.effectElements=[],this.initDynamicPropertyContainer(lr);var mr,Sr=this.data.ef.length,wr,kr=this.data.ef;for(mr=0;mr<Sr;mr+=1){switch(wr=null,kr[mr].ty){case 0:wr=new Bo(kr[mr],lr,this);break;case 1:wr=new gh(kr[mr],lr,this);break;case 2:wr=new Nh(kr[mr],lr,this);break;case 3:wr=new Gh(kr[mr],lr,this);break;case 4:case 7:wr=new Hh(kr[mr],lr,this);break;case 10:wr=new jh(kr[mr],lr,this);break;case 11:wr=new qh(kr[mr],lr,this);break;case 5:wr=new yh(kr[mr],lr);break;default:wr=new Wh(kr[mr]);break}wr&&this.effectElements.push(wr)}};function En(){}En.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var er=0,lr=this.data.masksProperties.length;er<lr;){if(this.data.masksProperties[er].mode!=="n"&&this.data.masksProperties[er].cl!==!1)return!0;er+=1}return!1},initExpressions:function(){},setBlendMode:function(){var er=Ro(this.data.bm),lr=this.baseElement||this.layerElement;lr.style["mix-blend-mode"]=er},initBaseData:function(er,lr,mr){this.globalData=lr,this.comp=mr,this.data=er,this.layerId=yr(),this.data.sr||(this.data.sr=1),this.effectsManager=new yh(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Za(){}Za.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(er,lr){var mr,Sr=this.dynamicProperties.length;for(mr=0;mr<Sr;mr+=1)(lr||this._isParent&&this.dynamicProperties[mr].propType==="transform")&&(this.dynamicProperties[mr].getValue(),this.dynamicProperties[mr]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(er){this.dynamicProperties.indexOf(er)===-1&&this.dynamicProperties.push(er)}};function $a(er,lr,mr){this.initFrame(),this.initRenderable(),this.assetData=lr.getAssetData(er.refId),this.footageData=lr.imageLoader.getAsset(this.assetData),this.initBaseData(er,lr,mr)}$a.prototype.prepareFrame=function(){},nr([Kn,En,Za],$a),$a.prototype.getBaseElement=function(){return null},$a.prototype.renderFrame=function(){},$a.prototype.destroy=function(){},$a.prototype.initExpressions=function(){},$a.prototype.getFootageData=function(){return this.footageData};function xa(er,lr,mr){this.initFrame(),this.initRenderable(),this.assetData=lr.getAssetData(er.refId),this.initBaseData(er,lr,mr),this._isPlaying=!1,this._canPlay=!1;var Sr=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(Sr),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=er.tm?Gs.getProp(this,er.tm,0,lr.frameRate,this):{_placeholder:!0},this.lv=Gs.getProp(this,er.au&&er.au.lv?er.au.lv:{k:[100]},1,.01,this)}xa.prototype.prepareFrame=function(er){if(this.prepareRenderableFrame(er,!0),this.prepareProperties(er,!0),this.tm._placeholder)this._currentTime=er/this.data.sr;else{var lr=this.tm.v;this._currentTime=lr}this._volume=this.lv.v[0];var mr=this._volume*this._volumeMultiplier;this._previousVolume!==mr&&(this._previousVolume=mr,this.audio.volume(mr))},nr([Kn,En,Za],xa),xa.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},xa.prototype.show=function(){},xa.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},xa.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},xa.prototype.resume=function(){this._canPlay=!0},xa.prototype.setRate=function(er){this.audio.rate(er)},xa.prototype.volume=function(er){this._volumeMultiplier=er,this._previousVolume=er*this._volume,this.audio.volume(this._previousVolume)},xa.prototype.getBaseElement=function(){return null},xa.prototype.destroy=function(){},xa.prototype.sourceRectAtTime=function(){},xa.prototype.initExpressions=function(){};function Sa(){}Sa.prototype.checkLayers=function(er){var lr,mr=this.layers.length,Sr;for(this.completeLayers=!0,lr=mr-1;lr>=0;lr-=1)this.elements[lr]||(Sr=this.layers[lr],Sr.ip-Sr.st<=er-this.layers[lr].st&&Sr.op-Sr.st>er-this.layers[lr].st&&this.buildItem(lr)),this.completeLayers=this.elements[lr]?this.completeLayers:!1;this.checkPendingElements()},Sa.prototype.createItem=function(er){switch(er.ty){case 2:return this.createImage(er);case 0:return this.createComp(er);case 1:return this.createSolid(er);case 3:return this.createNull(er);case 4:return this.createShape(er);case 5:return this.createText(er);case 6:return this.createAudio(er);case 13:return this.createCamera(er);case 15:return this.createFootage(er);default:return this.createNull(er)}},Sa.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Sa.prototype.createAudio=function(er){return new xa(er,this.globalData,this)},Sa.prototype.createFootage=function(er){return new $a(er,this.globalData,this)},Sa.prototype.buildAllItems=function(){var er,lr=this.layers.length;for(er=0;er<lr;er+=1)this.buildItem(er);this.checkPendingElements()},Sa.prototype.includeLayers=function(er){this.completeLayers=!1;var lr,mr=er.length,Sr,wr=this.layers.length;for(lr=0;lr<mr;lr+=1)for(Sr=0;Sr<wr;){if(this.layers[Sr].id===er[lr].id){this.layers[Sr]=er[lr];break}Sr+=1}},Sa.prototype.setProjectInterface=function(er){this.globalData.projectInterface=er},Sa.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},Sa.prototype.buildElementParenting=function(er,lr,mr){for(var Sr=this.elements,wr=this.layers,kr=0,Br=wr.length;kr<Br;)wr[kr].ind==lr&&(!Sr[kr]||Sr[kr]===!0?(this.buildItem(kr),this.addPendingElement(er)):(mr.push(Sr[kr]),Sr[kr].setAsParent(),wr[kr].parent!==void 0?this.buildElementParenting(er,wr[kr].parent,mr):er.setHierarchy(mr))),kr+=1},Sa.prototype.addPendingElement=function(er){this.pendingElements.push(er)},Sa.prototype.searchExtraCompositions=function(er){var lr,mr=er.length;for(lr=0;lr<mr;lr+=1)if(er[lr].xt){var Sr=this.createComp(er[lr]);Sr.initExpressions(),this.globalData.projectInterface.registerComposition(Sr)}},Sa.prototype.getElementById=function(er){var lr,mr=this.elements.length;for(lr=0;lr<mr;lr+=1)if(this.elements[lr].data.ind===er)return this.elements[lr];return null},Sa.prototype.getElementByPath=function(er){var lr=er.shift(),mr;if(typeof lr=="number")mr=this.elements[lr];else{var Sr,wr=this.elements.length;for(Sr=0;Sr<wr;Sr+=1)if(this.elements[Sr].data.nm===lr){mr=this.elements[Sr];break}}return er.length===0?mr:mr.getElementByPath(er)},Sa.prototype.setupGlobalData=function(er,lr){this.globalData.fontManager=new In,this.globalData.slotManager=wo(er),this.globalData.fontManager.addChars(er.chars),this.globalData.fontManager.addFonts(er.fonts,lr),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=er.fr,this.globalData.nm=er.nm,this.globalData.compSize={w:er.w,h:er.h}};var zn={TRANSFORM_EFFECT:"transformEFfect"};function La(){}La.prototype={initTransform:function(){var er=new Pa;this.finalTransform={mProp:this.data.ks?Rn.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:er,localMat:er,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var er,lr=this.finalTransform.mat,mr=0,Sr=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;mr<Sr;){if(this.hierarchy[mr].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}mr+=1}if(this.finalTransform._matMdf)for(er=this.finalTransform.mProp.v.props,lr.cloneFromProps(er),mr=0;mr<Sr;mr+=1)lr.multiply(this.hierarchy[mr].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var er=0,lr=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;er<lr;)this.localTransforms[er]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[er]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),er+=1;if(this.finalTransform._localMatMdf){var mr=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(mr),er=1;er<lr;er+=1){var Sr=this.localTransforms[er].matrix;mr.multiply(Sr)}mr.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var wr=this.finalTransform.localOpacity;for(er=0;er<lr;er+=1)wr*=this.localTransforms[er].opacity*.01;this.finalTransform.localOpacity=wr}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var er=this.renderableEffectsManager.getEffects(zn.TRANSFORM_EFFECT);if(er.length){this.localTransforms=[],this.finalTransform.localMat=new Pa;var lr=0,mr=er.length;for(lr=0;lr<mr;lr+=1)this.localTransforms.push(er[lr])}}},globalToLocal:function(er){var lr=[];lr.push(this.finalTransform);for(var mr=!0,Sr=this.comp;mr;)Sr.finalTransform?(Sr.data.hasMask&&lr.splice(0,0,Sr.finalTransform),Sr=Sr.comp):mr=!1;var wr,kr=lr.length,Br;for(wr=0;wr<kr;wr+=1)Br=lr[wr].mat.applyToPointArray(0,0,0),er=[er[0]-Br[0],er[1]-Br[1],0];return er},mHelper:new Pa};function Gn(er,lr,mr){this.data=er,this.element=lr,this.globalData=mr,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var Sr=this.globalData.defs,wr,kr=this.masksProperties?this.masksProperties.length:0;this.viewData=ur(kr),this.solidPath="";var Br,Yr=this.masksProperties,Hr=0,Zr=[],ss,Xr,Nr=yr(),Or,Gr,Lr,Kr,ts="clipPath",Wr="clip-path";for(wr=0;wr<kr;wr+=1)if((Yr[wr].mode!=="a"&&Yr[wr].mode!=="n"||Yr[wr].inv||Yr[wr].o.k!==100||Yr[wr].o.x)&&(ts="mask",Wr="mask"),(Yr[wr].mode==="s"||Yr[wr].mode==="i")&&Hr===0?(Or=$s("rect"),Or.setAttribute("fill","#ffffff"),Or.setAttribute("width",this.element.comp.data.w||0),Or.setAttribute("height",this.element.comp.data.h||0),Zr.push(Or)):Or=null,Br=$s("path"),Yr[wr].mode==="n")this.viewData[wr]={op:Gs.getProp(this.element,Yr[wr].o,0,.01,this.element),prop:io.getShapeProp(this.element,Yr[wr],3),elem:Br,lastPath:""},Sr.appendChild(Br);else{Hr+=1,Br.setAttribute("fill",Yr[wr].mode==="s"?"#000000":"#ffffff"),Br.setAttribute("clip-rule","nonzero");var as;if(Yr[wr].x.k!==0?(ts="mask",Wr="mask",Kr=Gs.getProp(this.element,Yr[wr].x,0,null,this.element),as=yr(),Gr=$s("filter"),Gr.setAttribute("id",as),Lr=$s("feMorphology"),Lr.setAttribute("operator","erode"),Lr.setAttribute("in","SourceGraphic"),Lr.setAttribute("radius","0"),Gr.appendChild(Lr),Sr.appendChild(Gr),Br.setAttribute("stroke",Yr[wr].mode==="s"?"#000000":"#ffffff")):(Lr=null,Kr=null),this.storedData[wr]={elem:Br,x:Kr,expan:Lr,lastPath:"",lastOperator:"",filterId:as,lastRadius:0},Yr[wr].mode==="i"){Xr=Zr.length;var ls=$s("g");for(ss=0;ss<Xr;ss+=1)ls.appendChild(Zr[ss]);var ds=$s("mask");ds.setAttribute("mask-type","alpha"),ds.setAttribute("id",Nr+"_"+Hr),ds.appendChild(Br),Sr.appendChild(ds),ls.setAttribute("mask","url("+fr()+"#"+Nr+"_"+Hr+")"),Zr.length=0,Zr.push(ls)}else Zr.push(Br);Yr[wr].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[wr]={elem:Br,lastPath:"",op:Gs.getProp(this.element,Yr[wr].o,0,.01,this.element),prop:io.getShapeProp(this.element,Yr[wr],3),invRect:Or},this.viewData[wr].prop.k||this.drawPath(Yr[wr],this.viewData[wr].prop.v,this.viewData[wr])}for(this.maskElement=$s(ts),kr=Zr.length,wr=0;wr<kr;wr+=1)this.maskElement.appendChild(Zr[wr]);Hr>0&&(this.maskElement.setAttribute("id",Nr),this.element.maskedElement.setAttribute(Wr,"url("+fr()+"#"+Nr+")"),Sr.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Gn.prototype.getMaskProperty=function(er){return this.viewData[er].prop},Gn.prototype.renderFrame=function(er){var lr=this.element.finalTransform.mat,mr,Sr=this.masksProperties.length;for(mr=0;mr<Sr;mr+=1)if((this.viewData[mr].prop._mdf||er)&&this.drawPath(this.masksProperties[mr],this.viewData[mr].prop.v,this.viewData[mr]),(this.viewData[mr].op._mdf||er)&&this.viewData[mr].elem.setAttribute("fill-opacity",this.viewData[mr].op.v),this.masksProperties[mr].mode!=="n"&&(this.viewData[mr].invRect&&(this.element.finalTransform.mProp._mdf||er)&&this.viewData[mr].invRect.setAttribute("transform",lr.getInverseMatrix().to2dCSS()),this.storedData[mr].x&&(this.storedData[mr].x._mdf||er))){var wr=this.storedData[mr].expan;this.storedData[mr].x.v<0?(this.storedData[mr].lastOperator!=="erode"&&(this.storedData[mr].lastOperator="erode",this.storedData[mr].elem.setAttribute("filter","url("+fr()+"#"+this.storedData[mr].filterId+")")),wr.setAttribute("radius",-this.storedData[mr].x.v)):(this.storedData[mr].lastOperator!=="dilate"&&(this.storedData[mr].lastOperator="dilate",this.storedData[mr].elem.setAttribute("filter",null)),this.storedData[mr].elem.setAttribute("stroke-width",this.storedData[mr].x.v*2))}},Gn.prototype.getMaskelement=function(){return this.maskElement},Gn.prototype.createLayerSolidPath=function(){var er="M0,0 ";return er+=" h"+this.globalData.compSize.w,er+=" v"+this.globalData.compSize.h,er+=" h-"+this.globalData.compSize.w,er+=" v-"+this.globalData.compSize.h+" ",er},Gn.prototype.drawPath=function(er,lr,mr){var Sr=" M"+lr.v[0][0]+","+lr.v[0][1],wr,kr;for(kr=lr._length,wr=1;wr<kr;wr+=1)Sr+=" C"+lr.o[wr-1][0]+","+lr.o[wr-1][1]+" "+lr.i[wr][0]+","+lr.i[wr][1]+" "+lr.v[wr][0]+","+lr.v[wr][1];if(lr.c&&kr>1&&(Sr+=" C"+lr.o[wr-1][0]+","+lr.o[wr-1][1]+" "+lr.i[0][0]+","+lr.i[0][1]+" "+lr.v[0][0]+","+lr.v[0][1]),mr.lastPath!==Sr){var Br="";mr.elem&&(lr.c&&(Br=er.inv?this.solidPath+Sr:Sr),mr.elem.setAttribute("d",Br)),mr.lastPath=Sr}},Gn.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var wn=function(){var er={};er.createFilter=lr,er.createAlphaToLuminanceFilter=mr;function lr(Sr,wr){var kr=$s("filter");return kr.setAttribute("id",Sr),wr!==!0&&(kr.setAttribute("filterUnits","objectBoundingBox"),kr.setAttribute("x","0%"),kr.setAttribute("y","0%"),kr.setAttribute("width","100%"),kr.setAttribute("height","100%")),kr}function mr(){var Sr=$s("feColorMatrix");return Sr.setAttribute("type","matrix"),Sr.setAttribute("color-interpolation-filters","sRGB"),Sr.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),Sr}return er}(),Qn=function(){var er={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(er.maskType=!1),/firefox/i.test(navigator.userAgent)&&(er.svgLumaHidden=!1),er}(),vo={},ah="filter_result_";function To(er){var lr,mr="SourceGraphic",Sr=er.data.ef?er.data.ef.length:0,wr=yr(),kr=wn.createFilter(wr,!0),Br=0;this.filters=[];var Yr;for(lr=0;lr<Sr;lr+=1){Yr=null;var Hr=er.data.ef[lr].ty;if(vo[Hr]){var Zr=vo[Hr].effect;Yr=new Zr(kr,er.effectsManager.effectElements[lr],er,ah+Br,mr),mr=ah+Br,vo[Hr].countsAsEffect&&(Br+=1)}Yr&&this.filters.push(Yr)}Br&&(er.globalData.defs.appendChild(kr),er.layerElement.setAttribute("filter","url("+fr()+"#"+wr+")")),this.filters.length&&er.addRenderableComponent(this)}To.prototype.renderFrame=function(er){var lr,mr=this.filters.length;for(lr=0;lr<mr;lr+=1)this.filters[lr].renderFrame(er)},To.prototype.getEffects=function(er){var lr,mr=this.filters.length,Sr=[];for(lr=0;lr<mr;lr+=1)this.filters[lr].type===er&&Sr.push(this.filters[lr]);return Sr};function uo(){}uo.prototype={initRendererElement:function(){this.layerElement=$s("g")},createContainerElements:function(){this.matteElement=$s("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var er=null;if(this.data.td){this.matteMasks={};var lr=$s("g");lr.setAttribute("id",this.layerId),lr.appendChild(this.layerElement),er=lr,this.globalData.defs.appendChild(lr)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),er=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var mr=$s("clipPath"),Sr=$s("path");Sr.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var wr=yr();if(mr.setAttribute("id",wr),mr.appendChild(Sr),this.globalData.defs.appendChild(mr),this.checkMasks()){var kr=$s("g");kr.setAttribute("clip-path","url("+fr()+"#"+wr+")"),kr.appendChild(this.layerElement),this.transformedElement=kr,er?er.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+fr()+"#"+wr+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("op
849acity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Gn(this.data,this,this.globalData),this.renderableEffectsManager=new To(this),this.searchEffectTransforms()},getMatte:function(er){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[er]){var lr=this.layerId+"_"+er,mr,Sr,wr,kr;if(er===1||er===3){var Br=$s("mask");Br.setAttribute("id",lr),Br.setAttribute("mask-type",er===3?"luminance":"alpha"),wr=$s("use"),wr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),Br.appendChild(wr),this.globalData.defs.appendChild(Br),!Qn.maskType&&er===1&&(Br.setAttribute("mask-type","luminance"),mr=yr(),Sr=wn.createFilter(mr),this.globalData.defs.appendChild(Sr),Sr.appendChild(wn.createAlphaToLuminanceFilter()),kr=$s("g"),kr.appendChild(wr),Br.appendChild(kr),kr.setAttribute("filter","url("+fr()+"#"+mr+")"))}else if(er===2){var Yr=$s("mask");Yr.setAttribute("id",lr),Yr.setAttribute("mask-type","alpha");var Hr=$s("g");Yr.appendChild(Hr),mr=yr(),Sr=wn.createFilter(mr);var Zr=$s("feComponentTransfer");Zr.setAttribute("in","SourceGraphic"),Sr.appendChild(Zr);var ss=$s("feFuncA");ss.setAttribute("type","table"),ss.setAttribute("tableValues","1.0 0.0"),Zr.appendChild(ss),this.globalData.defs.appendChild(Sr);var Xr=$s("rect");Xr.setAttribute("width",this.comp.data.w),Xr.setAttribute("height",this.comp.data.h),Xr.setAttribute("x","0"),Xr.setAttribute("y","0"),Xr.setAttribute("fill","#ffffff"),Xr.setAttribute("opacity","0"),Hr.setAttribute("filter","url("+fr()+"#"+mr+")"),Hr.appendChild(Xr),wr=$s("use"),wr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),Hr.appendChild(wr),Qn.maskType||(Yr.setAttribute("mask-type","luminance"),Sr.appendChild(wn.createAlphaToLuminanceFilter()),kr=$s("g"),Hr.appendChild(Xr),kr.appendChild(this.layerElement),Hr.appendChild(kr)),this.globalData.defs.appendChild(Yr)}this.matteMasks[er]=lr}return this.matteMasks[er]},setMatte:function(er){this.matteElement&&this.matteElement.setAttribute("mask","url("+fr()+"#"+er+")")}};function Ln(){}Ln.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(er){this.hierarchy=er},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function $n(){}(function(){var er={initElement:function(lr,mr,Sr){this.initFrame(),this.initBaseData(lr,mr,Sr),this.initTransform(lr,mr,Sr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var lr=this.baseElement||this.layerElement;lr.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var lr=this.baseElement||this.layerElement;lr.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(lr){this._mdf=!1,this.prepareRenderableFrame(lr),this.prepareProperties(lr,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};nr([Kn,rr(er)],$n)})();function Qa(er,lr,mr){this.assetData=lr.getAssetData(er.refId),this.assetData&&this.assetData.sid&&(this.assetData=lr.slotManager.getProp(this.assetData)),this.initElement(er,lr,mr),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}nr([En,La,uo,Ln,Za,$n],Qa),Qa.prototype.createContent=function(){var er=this.globalData.getAssetsPath(this.assetData);this.innerElem=$s("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",er),this.layerElement.appendChild(this.innerElem)},Qa.prototype.sourceRectAtTime=function(){return this.sourceRect};function Mo(er,lr){this.elem=er,this.pos=lr}function bo(){}bo.prototype={addShapeToModifiers:function(er){var lr,mr=this.shapeModifiers.length;for(lr=0;lr<mr;lr+=1)this.shapeModifiers[lr].addShape(er)},isShapeInAnimatedModifiers:function(er){for(var lr=0,mr=this.shapeModifiers.length;lr<mr;)if(this.shapeModifiers[lr].isAnimatedWithShape(er))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var er,lr=this.shapes.length;for(er=0;er<lr;er+=1)this.shapes[er].sh.reset();lr=this.shapeModifiers.length;var mr;for(er=lr-1;er>=0&&(mr=this.shapeModifiers[er].processShapes(this._isFirstFrame),!mr);er-=1);}},searchProcessedElement:function(er){for(var lr=this.processedElements,mr=0,Sr=lr.length;mr<Sr;){if(lr[mr].elem===er)return lr[mr].pos;mr+=1}return 0},addProcessedElement:function(er,lr){for(var mr=this.processedElements,Sr=mr.length;Sr;)if(Sr-=1,mr[Sr].elem===er){mr[Sr].pos=lr;return}mr.push(new Mo(er,lr))},prepareFrame:function(er){this.prepareRenderableFrame(er),this.prepareProperties(er,this.isInRange)}};var nh={1:"butt",2:"round",3:"square"},qo={1:"miter",2:"round",3:"bevel"};function Oo(er,lr,mr){this.caches=[],this.styles=[],this.transformers=er,this.lStr="",this.sh=mr,this.lvl=lr,this._isAnimated=!!mr.k;for(var Sr=0,wr=er.length;Sr<wr;){if(er[Sr].mProps.dynamicProperties.length){this._isAnimated=!0;break}Sr+=1}}Oo.prototype.setAsAnimated=function(){this._isAnimated=!0};function Ho(er,lr){this.data=er,this.type=er.ty,this.d="",this.lvl=lr,this._mdf=!1,this.closed=er.hd===!0,this.pElem=$s("path"),this.msElem=null}Ho.prototype.reset=function(){this.d="",this._mdf=!1};function _o(er,lr,mr,Sr){this.elem=er,this.frameId=-1,this.dataProps=ur(lr.length),this.renderer=mr,this.k=!1,this.dashStr="",this.dashArray=cr("float32",lr.length?lr.length-1:0),this.dashoffset=cr("float32",1),this.initDynamicPropertyContainer(Sr);var wr,kr=lr.length||0,Br;for(wr=0;wr<kr;wr+=1)Br=Gs.getProp(er,lr[wr].v,0,0,this),this.k=Br.k||this.k,this.dataProps[wr]={n:lr[wr].n,p:Br};this.k||this.getValue(!0),this._isAnimated=this.k}_o.prototype.getValue=function(er){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 5,618 bytes, line 849
849!er)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||er,this._mdf)){var lr=0,mr=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),lr=0;lr<mr;lr+=1)this.dataProps[lr].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[lr].p.v:this.dashArray[lr]=this.dataProps[lr].p.v:this.dashoffset[0]=this.dataProps[lr].p.v}},nr([Fa],_o);function oh(er,lr,mr){this.initDynamicPropertyContainer(er),this.getValue=this.iterateDynamicProperties,this.o=Gs.getProp(er,lr.o,0,.01,this),this.w=Gs.getProp(er,lr.w,0,null,this),this.d=new _o(er,lr.d||{},"svg",this),this.c=Gs.getProp(er,lr.c,1,255,this),this.style=mr,this._isAnimated=!!this._isAnimated}nr([Fa],oh);function zo(er,lr,mr){this.initDynamicPropertyContainer(er),this.getValue=this.iterateDynamicProperties,this.o=Gs.getProp(er,lr.o,0,.01,this),this.c=Gs.getProp(er,lr.c,1,255,this),this.style=mr}nr([Fa],zo);function hh(er,lr,mr){this.initDynamicPropertyContainer(er),this.getValue=this.iterateDynamicProperties,this.style=mr}nr([Fa],hh);function oo(er,lr,mr){this.data=lr,this.c=cr("uint8c",lr.p*4);var Sr=lr.k.k[0].s?lr.k.k[0].s.length-lr.p*4:lr.k.k.length-lr.p*4;this.o=cr("float32",Sr),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=Sr,this.initDynamicPropertyContainer(mr),this.prop=Gs.getProp(er,lr.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}oo.prototype.comparePoints=function(er,lr){for(var mr=0,Sr=this.o.length/2,wr;mr<Sr;){if(wr=Math.abs(er[mr*4]-er[lr*4+mr*2]),wr>.01)return!1;mr+=1}return!0},oo.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var er=0,lr=this.data.k.k.length;er<lr;){if(!this.comparePoints(this.data.k.k[er].s,this.data.p))return!1;er+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},oo.prototype.getValue=function(er){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||er){var lr,mr=this.data.p*4,Sr,wr;for(lr=0;lr<mr;lr+=1)Sr=lr%4===0?100:255,wr=Math.round(this.prop.v[lr]*Sr),this.c[lr]!==wr&&(this.c[lr]=wr,this._cmdf=!er);if(this.o.length)for(mr=this.prop.v.length,lr=this.data.p*4;lr<mr;lr+=1)Sr=lr%2===0?100:1,wr=lr%2===0?Math.round(this.prop.v[lr]*100):this.prop.v[lr],this.o[lr-this.data.p*4]!==wr&&(this.o[lr-this.data.p*4]=wr,this._omdf=!er);this._mdf=!er}},nr([Fa],oo);function to(er,lr,mr){this.initDynamicPropertyContainer(er),this.getValue=this.iterateDynamicProperties,this.initGradientData(er,lr,mr)}to.prototype.initGradientData=function(er,lr,mr){this.o=Gs.getProp(er,lr.o,0,.01,this),this.s=Gs.getProp(er,lr.s,1,null,this),this.e=Gs.getProp(er,lr.e,1,null,this),this.h=Gs.getProp(er,lr.h||{k:0},0,.01,this),this.a=Gs.getProp(er,lr.a||{k:0},0,es,this),this.g=new oo(er,lr.g,this),this.style=mr,this.stops=[],this.setGradientData(mr.pElem,lr),this.setGradientOpacity(lr,mr),this._isAnimated=!!this._isAnimated},to.prototype.setGradientData=function(er,lr){var mr=yr(),Sr=$s(lr.t===1?"linearGradient":"radialGradient");Sr.setAttribute("id",mr),Sr.setAttribute("spreadMethod","pad"),Sr.setAttribute("gradientUnits","userSpaceOnUse");var wr=[],kr,Br,Yr;for(Yr=lr.g.p*4,Br=0;Br<Yr;Br+=4)kr=$s("stop"),Sr.appendChild(kr),wr.push(kr);er.setAttribute(lr.ty==="gf"?"fill":"stroke","url("+fr()+"#"+mr+")"),this.gf=Sr,this.cst=wr},to.prototype.setGradientOpacity=function(er,lr){if(this.g._hasOpacity&&!this.g._collapsable){var mr,Sr,wr,kr=$s("mask"),Br=$s("path");kr.appendChild(Br);var Yr=yr(),Hr=yr();kr.setAttribute("id",Hr);var Zr=$s(er.t===1?"linearGradient":"radialGradient");Zr.setAttribute("id",Yr),Zr.setAttribute("spreadMethod","pad"),Zr.setAttribute("gradientUnits","userSpaceOnUse"),wr=er.g.k.k[0].s?er.g.k.k[0].s.length:er.g.k.k.length;var ss=this.stops;for(Sr=er.g.p*4;Sr<wr;Sr+=2)mr=$s("stop"),mr.setAttribute("stop-color","rgb(255,255,255)"),Zr.appendChild(mr),ss.push(mr);Br.setAttribute(er.ty==="gf"?"fill":"stroke","url("+fr()+"#"+Yr+")"),er.ty==="gs"&&(Br.setAttribute("stroke-linecap",nh[er.lc||2]),Br.setAttribute("stroke-linejoin",qo[er.lj||2]),er.lj===1&&Br.setAttribute("stroke-miterlimit",er.ml)),this.of=Zr,this.ms=kr,this.ost=ss,this.maskId=Hr,lr.msElem=Br}},nr([Fa],to);function Do(er,lr,mr){this.initDynamicPropertyContainer(er),this.getValue=this.iterateDynamicProperties,this.w=Gs.getProp(er,lr.w,0,null,this),this.d=new _o(er,lr.d||{},"svg",this),this.initGradientData(er,lr,mr),this._isAnimated=!!this._isAnimated}nr([to,Fa],Do);function $o(){this.it=[],this.prevViewData=[],this.gr=$s("g")}function wh(er,lr,mr){this.transform={mProps:er,op:lr,container:mr},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var vh=function(er,lr,mr,Sr){if(lr===0)return"";var wr=er.o,kr=er.i,Br=er.v,Yr,Hr=" M"+Sr.applyToPointStringified(Br[0][0],Br[0][1]);for(Yr=1;Yr<lr;Yr+=1)Hr+=" C"+Sr.applyToPointStringified(wr[Yr-1][0],wr[Yr-1][1])+" "+Sr.applyToPointStringified(kr[Yr][0],kr[Yr][1])+" "+Sr.applyToPointStringified(Br[Yr][0],Br[Yr][1]);return mr&&lr&&(Hr+=" C"+Sr.applyToPointStringified(wr[Yr-1][0],wr[Yr-1][1])+" "+Sr.applyToPointStringified(kr[0][0],kr[0][1])+" "+Sr.applyToPointStringified(Br[0][0],Br[0][1]),Hr+="z"),Hr},Yh=function(){var er=new Pa,lr=new Pa,mr={createRenderFunction:Sr};function Sr(Xr){switch(Xr.ty){case"fl":return Yr;case"gf":return Zr;case"gs":return Hr;case"st":return ss;case"sh":case"el":case"rc":case"sr":return Br;case"tr":return wr;case"no":return kr;default:return null}}function wr(Xr,Nr,Or){(Or||Nr.transform.op._mdf)&&Nr.transform.container.setAttribute("op
849acity",Nr.transform.op.v),(Or||Nr.transform.mProps._mdf)&&Nr.transform.container.setAttribute("transform",Nr.transform.mProps.v.to2dCSS())}function kr(){}function Br(Xr,Nr,Or){var Gr,Lr,Kr,ts,Wr,as,ls=Nr.styles.length,ds=Nr.lvl,ws,Fs,Cs,zs;for(as=0;as<ls;as+=1){if(ts=Nr.sh._mdf||Or,Nr.styles[as].lvl<ds){for(Fs=lr.reset(),Cs=ds-Nr.styles[as].lvl,zs=Nr.transformers.length-1;!ts&&Cs>0;)ts=Nr.transformers[zs].mProps._mdf||ts,Cs-=1,zs-=1;if(ts)for(Cs=ds-Nr.styles[as].lvl,zs=Nr.transformers.length-1;Cs>0;)Fs.multiply(Nr.transformers[zs].mProps.v),Cs-=1,zs-=1}else Fs=er;if(ws=Nr.sh.paths,Lr=ws._length,ts){for(Kr="",Gr=0;Gr<Lr;Gr+=1)Wr=ws.shapes[Gr],Wr&&Wr._length&&(Kr+=vh(Wr,Wr._length,Wr.c,Fs));Nr.caches[as]=Kr}else Kr=Nr.caches[as];Nr.styles[as].d+=Xr.hd===!0?"":Kr,Nr.styles[as]._mdf=ts||Nr.styles[as]._mdf}}function Yr(Xr,Nr,Or){var Gr=Nr.style;(Nr.c._mdf||Or)&&Gr.pElem.setAttribute("fill","rgb("+Ir(Nr.c.v[0])+","+Ir(Nr.c.v[1])+","+Ir(Nr.c.v[2])+")"),(Nr.o._mdf||Or)&&Gr.pElem.setAttribute("fill-opacity",Nr.o.v)}function Hr(Xr,Nr,Or){Zr(Xr,Nr,Or),ss(Xr,Nr,Or)}function Zr(Xr,Nr,Or){var Gr=Nr.gf,Lr=Nr.g._hasOpacity,Kr=Nr.s.v,ts=Nr.e.v;if(Nr.o._mdf||Or){var Wr=Xr.ty==="gf"?"fill-opacity":"stroke-opacity";Nr.style.pElem.setAttribute(Wr,Nr.o.v)}if(Nr.s._mdf||Or){var as=Xr.t===1?"x1":"cx",ls=as==="x1"?"y1":"cy";Gr.setAttribute(as,Kr[0]),Gr.setAttribute(ls,Kr[1]),Lr&&!Nr.g._collapsable&&(Nr.of.setAttribute(as,Kr[0]),Nr.of.setAttribute(ls,Kr[1]))}var ds,ws,Fs,Cs;if(Nr.g._cmdf||Or){ds=Nr.cst;var zs=Nr.g.c;for(Fs=ds.length,ws=0;ws<Fs;ws+=1)Cs=ds[ws],Cs.setAttribute("offset",zs[ws*4]+"%"),Cs.setAttribute("stop-color","rgb("+zs[ws*4+1]+","+zs[ws*4+2]+","+zs[ws*4+3]+")")}if(Lr&&(Nr.g._omdf||Or)){var ms=Nr.g.o;for(Nr.g._collapsable?ds=Nr.cst:ds=Nr.ost,Fs=ds.length,ws=0;ws<Fs;ws+=1)Cs=ds[ws],Nr.g._collapsable||Cs.setAttribute("offset",ms[ws*2]+"%"),Cs.setAttribute("stop-opacity",ms[ws*2+1])}if(Xr.t===1)(Nr.e._mdf||Or)&&(Gr.setAttribute("x2",ts[0]),Gr.setAttribute("y2",ts[1]),Lr&&!Nr.g._collapsable&&(Nr.of.setAttribute("x2",ts[0]),Nr.of.setAttribute("y2",ts[1])));else{var bs;if((Nr.s._mdf||Nr.e._mdf||Or)&&(bs=Math.sqrt(Math.pow(Kr[0]-ts[0],2)+Math.pow(Kr[1]-ts[1],2)),Gr.setAttribute("r",bs),Lr&&!Nr.g._collapsable&&Nr.of.setAttribute("r",bs)),Nr.e._mdf||Nr.h._mdf||Nr.a._mdf||Or){bs||(bs=Math.sqrt(Math.pow(Kr[0]-ts[0],2)+Math.pow(Kr[1]-ts[1],2)));var rs=Math.atan2(ts[1]-Kr[1],ts[0]-Kr[0]),Ps=Nr.h.v;Ps>=1?Ps=.99:Ps<=-1&&(Ps=-.99);var As=bs*Ps,vs=Math.cos(rs+Nr.a.v)*As+Kr[0],gs=Math.sin(rs+Nr.a.v)*As+Kr[1];Gr.setAttribute("fx",vs),Gr.setAttribute("fy",gs),Lr&&!Nr.g._collapsable&&(Nr.of.setAttribute("fx",vs),Nr.of.setAttribute("fy",gs))}}}function ss(Xr,Nr,Or){var Gr=Nr.style,Lr=Nr.d;Lr&&(Lr._mdf||Or)&&Lr.dashStr&&(Gr.pElem.setAttribute("stroke-dasharray",Lr.dashStr),Gr.pElem.setAttribute("stroke-dashoffset",Lr.dashoffset[0])),Nr.c&&(Nr.c._mdf||Or)&&Gr.pElem.setAttribute("stroke","rgb("+Ir(Nr.c.v[0])+","+Ir(Nr.c.v[1])+","+Ir(Nr.c.v[2])+")"),(Nr.o._mdf||Or)&&Gr.pElem.setAttribute("stroke-opacity",Nr.o.v),(Nr.w._mdf||Or)&&(Gr.pElem.setAttribute("stroke-width",Nr.w.v),Gr.msElem&&Gr.msElem.setAttribute("stroke-width",Nr.w.v))}return mr}();function ba(er,lr,mr){this.shapes=[],this.shapesData=er.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(er,lr,mr),this.prevViewData=[]}nr([En,La,uo,bo,Ln,Za,$n],ba),ba.prototype.initSecondaryElement=function(){},ba.prototype.identityMatrix=new Pa,ba.prototype.buildExpressionInterface=function(){},ba.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},ba.prototype.filterUniqueShapes=function(){var er,lr=this.shapes.length,mr,Sr,wr=this.stylesList.length,kr,Br=[],Yr=!1;for(Sr=0;Sr<wr;Sr+=1){for(kr=this.stylesList[Sr],Yr=!1,Br.length=0,er=0;er<lr;er+=1)mr=this.shapes[er],mr.styles.indexOf(kr)!==-1&&(Br.push(mr),Yr=mr._isAnimated||Yr);Br.length>1&&Yr&&this.setShapesAsAnimated(Br)}},ba.prototype.setShapesAsAnimated=function(er){var lr,mr=er.length;for(lr=0;lr<mr;lr+=1)er[lr].setAsAnimated()},ba.prototype.createStyleElement=function(er,lr){var mr,Sr=new Ho(er,lr),wr=Sr.pElem;if(er.ty==="st")mr=new oh(this,er,Sr);else if(er.ty==="fl")mr=new zo(this,er,Sr);else if(er.ty==="gf"||er.ty==="gs"){var kr=er.ty==="gf"?to:Do;mr=new kr(this,er,Sr),this.globalData.defs.appendChild(mr.gf),mr.maskId&&(this.globalData.defs.appendChild(mr.ms),this.globalData.defs.appendChild(mr.of),wr.setAttribute("mask","url("+fr()+"#"+mr.maskId+")"))}else er.ty==="no"&&(mr=new hh(this,er,Sr));return(er.ty==="st"||er.ty==="gs")&&(wr.setAttribute("stroke-linecap",nh[er.lc||2]),wr.setAttribute("stroke-linejoin",qo[er.lj||2]),wr.setAttribute("fill-opacity","0"),er.lj===1&&wr.setAttribute("stroke-miterlimit",er.ml)),er.r===2&&wr.setAttribute("fill-rule","evenodd"),er.ln&&wr.setAttribute("id",er.ln),er.cl&&wr.setAttribute("class",er.cl),er.bm&&(wr.style["mix-blend-mode"]=Ro(er.bm)),this.stylesList.push(Sr),this.addToAnimatedContents(er,mr),mr},ba.prototype.createGroupElement=function(er){var lr=new $o;return er.ln&&lr.gr.setAttribute("id",er.ln),er.cl&&lr.gr.setAttribute("class",er.cl),er.bm&&(lr.gr.style["mix-blend-mode"]=Ro(er.bm)),lr},ba.prototype.createTransformElement=function(er,lr){var mr=Rn.getTransformProperty(this,er,this),Sr=new wh(mr,mr.o,lr);return this.addToAnimatedContents(er,Sr),Sr},ba.prototype.createShapeElement=function(er,lr,mr){var Sr=4;er.ty==="rc"?Sr=5:er.ty==="el"?Sr=6:er.ty==="sr"&&(Sr=7);var wr=io.getShapeProp(this,er,Sr,this),kr=new Oo(lr,mr,wr);return this.shapes.push(kr),this.addShapeToModifiers(kr),this.addToAnimatedContents(er,kr),kr},ba.prototype.addToAnimatedContents=function(er,lr){for(var mr=0,Sr=this.animatedContents.length;mr<Sr;){if(this.animatedContents[mr].element===lr)return;mr+=1}this.animatedContents.push({fn:Yh.createRenderFunction(er),element:lr,data:er})},ba.prototype.setElementStyles=function(er){var lr=er.styles,mr,Sr=this.stylesList.length;for(mr=0;mr<Sr;mr+=1)this.stylesList[mr].closed||lr.push(this.stylesList[mr])},ba.prototype.reloadShapes=function(){this._isFirstFrame=!0;var er,lr=this.itemsData.length;for(er=0;er<lr;er+=1)this.prevViewData[er]=this.itemsData[er];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),lr=this.dynamicProperties.length,er=0;er<lr;er+=1)this.dynamicProperties[er].getValue();this.renderModifiers()},ba.prototype.searchShapes=function(er,lr,mr,Sr,wr,kr,Br){var Yr=[].concat(kr),Hr,Zr=er.length-1,ss,Xr,Nr=[],Or=[],Gr,Lr,Kr;for(Hr=Zr;Hr>=0;Hr-=1){if(Kr=this.searchProcessedElement(er[Hr]),Kr?lr[Hr]=mr[Kr-1]:er[Hr]._render=Br,er[Hr].ty==="fl"||er[Hr].ty==="st"||er[Hr].ty==="gf"||er[Hr].ty==="gs"||er[Hr].ty==="no")Kr?lr[Hr].style.closed=!1:lr[Hr]=this.createStyleElement(er[Hr],wr),er[Hr]._render&&lr[Hr].style.pElem.parentNode!==Sr&&Sr.appendChild(lr[Hr].style.pElem),Nr.push(lr[Hr].style);else if(er[Hr].ty==="gr"){if(!Kr)lr[Hr]=this.createGroupElement(er[Hr]);else for(Xr=lr[Hr].it.length,ss=0;ss<Xr;ss+=1)lr[Hr].prevViewData[ss]=lr[Hr].it[ss];this.searchShapes(er[Hr].it,lr[Hr].it,lr[Hr].prevViewData,lr[Hr].gr,wr+1,Yr,Br),er[Hr]._render&&lr[Hr].gr.parentNode!==Sr&&Sr.appendChild(lr[Hr].gr)}else er[Hr].ty==="tr"?(Kr||(lr[Hr]=this.createTransformElement(er[Hr],Sr)),Gr=lr[Hr].transform,Yr.push(Gr)):er[Hr].ty==="sh"||er[Hr].ty==="rc"||er[Hr].ty==="el"||er[Hr].ty==="sr"?(Kr||(lr[Hr]=this.createShapeElement(er[Hr],Yr,wr)),this.setElementStyles(lr[Hr])):er[Hr].ty==="tm"||er[Hr].ty==="rd"||er[Hr].ty==="ms"||er[Hr].ty==="pb"||er[Hr].ty==="zz"||er[Hr].ty==="op"?(Kr?(Lr=lr[Hr],Lr.closed=!1):(Lr=kn.getModifier(er[Hr].ty),Lr.init(this,er[Hr]),lr[Hr]=Lr,this.shapeModifiers.push(Lr)),Or.push(Lr)):er[Hr].ty==="rp"&&(Kr?(Lr=lr[Hr],Lr.closed=!0):(Lr=kn.getModifier(er[Hr].ty),lr[Hr]=Lr,Lr.init(this,er,Hr,lr),this.shapeModifiers.push(Lr),Br=!1),Or.push(Lr));this.addProcessedElement(er[Hr],Hr+1)}for(Zr=Nr.length,Hr=0;Hr<Zr;Hr+=1)Nr[Hr].closed=!0;for(Zr=Or.length,Hr=0;Hr<Zr;Hr+=1)Or[Hr].closed=!0},ba.prototype.renderInnerContent=function(){this.renderModifiers();var er,lr=this.stylesList.length;for(er=0;er<lr;er+=1)this.stylesList[er].reset();for(this.renderShape(),er=0;er<lr;er+=1)(this.stylesList[er]._mdf||this._isFirstFrame)&&(this.stylesList[er].msElem&&(this.stylesList[er].msElem.setAttribute("d",this.stylesList[er].d),this.stylesList[er].d="M0 0"+this.stylesList[er].d),this.stylesList[er].pElem.setAttribute("d",this.stylesList[er].d||"M0 0"))},ba.prototype.renderShape=function(){var er,lr=this.animatedContents.length,mr;for(er=0;er<lr;er+=1)mr=this.animatedContents[er],(this._isFirstFrame||mr.element._isAnimated)&&mr.data!==!0&&mr.fn(mr.data,mr.element,this._isFirstFrame)},ba.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function Wo(er,lr,mr,Sr,wr,kr){this.o=er,this.sw=lr,this.sc=mr,this.fc=Sr,this.m=wr,this.p=kr,this._mdf={o:!0,sw:!!lr,sc:!!mr,fc:!!Sr,m:!0,p:!0}}Wo.prototype.update=function(er,lr,mr,Sr,wr,kr){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var Br=!1;return this.o!==er&&(this.o=er,this._mdf.o=!0,Br=!0),this.sw!==lr&&(this.sw=lr,this._mdf.sw=!0,Br=!0),this.sc!==mr&&(this.sc=mr,this._mdf.sc=!0,Br=!0),this.fc!==Sr&&(this.fc=Sr,this._mdf.fc=!0,Br=!0),this.m!==wr&&(this.m=wr,this._mdf.m=!0,Br=!0),kr.length&&(this.p[0]!==kr[0]||this.p[1]!==kr[1]||this.p[4]!==kr[4]||this.p[5]!==kr[5]||this.p[12]!==kr[12]||this.p[13]!==kr[13])&&(this.p=kr,this._mdf.p=!0,Br=!0),Br};function pa(er,lr){this._frameId=Zt,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,lr.d&&lr.d.sid&&(lr.d=er.globalData.slotManager.getProp(lr.d)),this.data=lr,this.elem=er,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}pa.prototype.defaultBoxWidth=[0,0],pa.prototype.copyData=function(er,lr){for(var mr in lr)Object.prototype.hasOwnProperty.call(lr,mr)&&(er[mr]=lr[mr]);return er},pa.prototype.setCurrentData=function(er){er.__complete||this.completeTextData(er),this.currentData=er,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},pa.prototype.searchProperty=function(){return this.searchKeyframes()},pa.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},pa.prototype.addEffect=function(er){this.effectsSequence.push(er),this.elem.addDynamicProperty(this)},pa.prototype.getValue=function(er){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!er)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var lr=this.currentData,mr=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var Sr,wr=this.effectsSequence.length,kr=er||this.data.d.k[this.keysIndex].s;for(Sr=0;Sr<wr;Sr+=1)mr!==this.keysIndex?kr=this.effectsSequence[Sr](kr,kr.t):kr=this.effectsSequence[Sr](this.currentData,kr.t);lr!==kr&&this.setCurrentData(kr),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},pa.prototype.getKeyframeValue=function(){for(var er=this.data.d.k,lr=this.elem.comp.renderedFrame,mr=0,Sr=er.length;mr<=Sr-1&&!(mr===Sr-1||er[mr+1].t>lr);)mr+=1;return this.keysIndex!==mr&&(this.keysIndex=mr),this.data.d.k[this.keysIndex].s},pa.prototype.buildFinalText=function(er){for(var lr=[],mr=0,Sr=er.length,wr,kr,Br=!1,Yr=!1,Hr="";mr<Sr;)Br=Yr,Yr=!1,wr=er.charCodeAt(mr),Hr=er.charAt(mr),In.isCombinedCharacter(wr)?Br=!0:wr>=55296&&wr<=56319?In.isRegionalFlag(er,mr)?Hr=er.substr(mr,14):(kr=er.charCodeAt(mr+1),kr>=56320&&kr<=57343&&(In.isModifier(wr,kr)?(Hr=er.substr(mr,2),Br=!0):In.isFlagEmoji(er.substr(mr,4))?Hr=er.substr(mr,4):Hr=er.substr(mr,2))):wr>56319?(kr=er.charCodeAt(mr+1),In.isVariationSelector(wr)&&(Br=!0)):In.isZeroWidthJoiner(wr)&&(Br=!0,Yr=!0),Br?(lr[lr.length-1]+=Hr,Br=!1):lr.push(Hr),mr+=Hr.length;return lr},pa.prototype.completeTextData=function(er){er.__complete=!0;var lr=this.elem.globalData.fontManager,mr=this.data,Sr=[],wr,kr,Br,Yr=0,Hr,Zr=mr.m.g,ss=0,Xr=0,Nr=0,Or=[],Gr=0,Lr=0,Kr,ts,Wr=lr.getFontByName(er.f),as,ls=0,ds=rh(Wr);er.fWeight=ds.weight,er.fStyle=ds.style,er.finalSize=er.s,er.finalText=this.buildFinalText(er.t),kr=er.finalText.length,er.finalLineHeight=er.lh;var ws=er.tr/1e3*er.finalSize,Fs;
vendor: 32,001 bytes, line 849
849if(er.sz)for(var Cs=!0,zs=er.sz[0],ms=er.sz[1],bs,rs;Cs;){rs=this.buildFinalText(er.t),bs=0,Gr=0,kr=rs.length,ws=er.tr/1e3*er.finalSize;var Ps=-1;for(wr=0;wr<kr;wr+=1)Fs=rs[wr].charCodeAt(0),Br=!1,rs[wr]===" "?Ps=wr:(Fs===13||Fs===3)&&(Gr=0,Br=!0,bs+=er.finalLineHeight||er.finalSize*1.2),lr.chars?(as=lr.getCharData(rs[wr],Wr.fStyle,Wr.fFamily),ls=Br?0:as.w*er.finalSize/100):ls=lr.measureText(rs[wr],er.f,er.finalSize),Gr+ls>zs&&rs[wr]!==" "?(Ps===-1?kr+=1:wr=Ps,bs+=er.finalLineHeight||er.finalSize*1.2,rs.splice(wr,Ps===wr?1:0,"\r"),Ps=-1,Gr=0):(Gr+=ls,Gr+=ws);bs+=Wr.ascent*er.finalSize/100,this.canResize&&er.finalSize>this.minimumFontSize&&ms<bs?(er.finalSize-=1,er.finalLineHeight=er.finalSize*er.lh/er.s):(er.finalText=rs,kr=er.finalText.length,Cs=!1)}Gr=-ws,ls=0;var As=0,vs;for(wr=0;wr<kr;wr+=1)if(Br=!1,vs=er.finalText[wr],Fs=vs.charCodeAt(0),Fs===13||Fs===3?(As=0,Or.push(Gr),Lr=Gr>Lr?Gr:Lr,Gr=-2*ws,Hr="",Br=!0,Nr+=1):Hr=vs,lr.chars?(as=lr.getCharData(vs,Wr.fStyle,lr.getFontByName(er.f).fFamily),ls=Br?0:as.w*er.finalSize/100):ls=lr.measureText(Hr,er.f,er.finalSize),vs===" "?As+=ls+ws:(Gr+=ls+ws+As,As=0),Sr.push({l:ls,an:ls,add:ss,n:Br,anIndexes:[],val:Hr,line:Nr,animatorJustifyOffset:0}),Zr==2){if(ss+=ls,Hr===""||Hr===" "||wr===kr-1){for((Hr===""||Hr===" ")&&(ss-=ls);Xr<=wr;)Sr[Xr].an=ss,Sr[Xr].ind=Yr,Sr[Xr].extra=ls,Xr+=1;Yr+=1,ss=0}}else if(Zr==3){if(ss+=ls,Hr===""||wr===kr-1){for(Hr===""&&(ss-=ls);Xr<=wr;)Sr[Xr].an=ss,Sr[Xr].ind=Yr,Sr[Xr].extra=ls,Xr+=1;ss=0,Yr+=1}}else Sr[Yr].ind=Yr,Sr[Yr].extra=0,Yr+=1;if(er.l=Sr,Lr=Gr>Lr?Gr:Lr,Or.push(Gr),er.sz)er.boxWidth=er.sz[0],er.justifyOffset=0;else switch(er.boxWidth=Lr,er.j){case 1:er.justifyOffset=-er.boxWidth;break;case 2:er.justifyOffset=-er.boxWidth/2;break;default:er.justifyOffset=0}er.lineWidths=Or;var gs=mr.a,_s,ns;ts=gs.length;var Es,Os,Is=[];for(Kr=0;Kr<ts;Kr+=1){for(_s=gs[Kr],_s.a.sc&&(er.strokeColorAnim=!0),_s.a.sw&&(er.strokeWidthAnim=!0),(_s.a.fc||_s.a.fh||_s.a.fs||_s.a.fb)&&(er.fillColorAnim=!0),Os=0,Es=_s.s.b,wr=0;wr<kr;wr+=1)ns=Sr[wr],ns.anIndexes[Kr]=Os,(Es==1&&ns.val!==""||Es==2&&ns.val!==""&&ns.val!==" "||Es==3&&(ns.n||ns.val==" "||wr==kr-1)||Es==4&&(ns.n||wr==kr-1))&&(_s.s.rn===1&&Is.push(Os),Os+=1);mr.a[Kr].s.totalChars=Os;var Ks=-1,Js;if(_s.s.rn===1)for(wr=0;wr<kr;wr+=1)ns=Sr[wr],Ks!=ns.anIndexes[Kr]&&(Ks=ns.anIndexes[Kr],Js=Is.splice(Math.floor(Math.random()*Is.length),1)[0]),ns.anIndexes[Kr]=Js}er.yOffset=er.finalLineHeight||er.finalSize*1.2,er.ls=er.ls||0,er.ascent=Wr.ascent*er.finalSize/100},pa.prototype.updateDocumentData=function(er,lr){lr=lr===void 0?this.keysIndex:lr;var mr=this.copyData({},this.data.d.k[lr].s);mr=this.copyData(mr,er),this.data.d.k[lr].s=mr,this.recalculate(lr),this.setCurrentData(mr),this.elem.addDynamicProperty(this)},pa.prototype.recalculate=function(er){var lr=this.data.d.k[er].s;lr.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(lr)},pa.prototype.canResizeFont=function(er){this.canResize=er,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},pa.prototype.setMinimumFontSize=function(er){this.minimumFontSize=Math.floor(er)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var bh=function(){var er=Math.max,lr=Math.min,mr=Math.floor;function Sr(kr,Br){this._currentTextLength=-1,this.k=!1,this.data=Br,this.elem=kr,this.comp=kr.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(kr),this.s=Gs.getProp(kr,Br.s||{k:0},0,0,this),"e"in Br?this.e=Gs.getProp(kr,Br.e,0,0,this):this.e={v:100},this.o=Gs.getProp(kr,Br.o||{k:0},0,0,this),this.xe=Gs.getProp(kr,Br.xe||{k:0},0,0,this),this.ne=Gs.getProp(kr,Br.ne||{k:0},0,0,this),this.sm=Gs.getProp(kr,Br.sm||{k:100},0,0,this),this.a=Gs.getProp(kr,Br.a,0,.01,this),this.dynamicProperties.length||this.getValue()}Sr.prototype={getMult:function(kr){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var Br=0,Yr=0,Hr=1,Zr=1;this.ne.v>0?Br=this.ne.v/100:Yr=-this.ne.v/100,this.xe.v>0?Hr=1-this.xe.v/100:Zr=1+this.xe.v/100;var ss=qs.getBezierEasing(Br,Yr,Hr,Zr).get,Xr=0,Nr=this.finalS,Or=this.finalE,Gr=this.data.sh;if(Gr===2)Or===Nr?Xr=kr>=Or?1:0:Xr=er(0,lr(.5/(Or-Nr)+(kr-Nr)/(Or-Nr),1)),Xr=ss(Xr);else if(Gr===3)Or===Nr?Xr=kr>=Or?0:1:Xr=1-er(0,lr(.5/(Or-Nr)+(kr-Nr)/(Or-Nr),1)),Xr=ss(Xr);else if(Gr===4)Or===Nr?Xr=0:(Xr=er(0,lr(.5/(Or-Nr)+(kr-Nr)/(Or-Nr),1)),Xr<.5?Xr*=2:Xr=1-2*(Xr-.5)),Xr=ss(Xr);else if(Gr===5){if(Or===Nr)Xr=0;else{var Lr=Or-Nr;kr=lr(er(0,kr+.5-Nr),Or-Nr);var Kr=-Lr/2+kr,ts=Lr/2;Xr=Math.sqrt(1-Kr*Kr/(ts*ts))}Xr=ss(Xr)}else Gr===6?(Or===Nr?Xr=0:(kr=lr(er(0,kr+.5-Nr),Or-Nr),Xr=(1+Math.cos(Math.PI+Math.PI*2*kr/(Or-Nr)))/2),Xr=ss(Xr)):(kr>=mr(Nr)&&(kr-Nr<0?Xr=er(0,lr(lr(Or,1)-(Nr-kr),1)):Xr=er(0,lr(Or-kr,1))),Xr=ss(Xr));if(this.sm.v!==100){var Wr=this.sm.v*.01;Wr===0&&(Wr=1e-8);var as=.5-Wr*.5;Xr<as?Xr=0:(Xr=(Xr-as)/Wr,Xr>1&&(Xr=1))}return Xr*this.a.v},getValue:function(kr){this.iterateDynamicProperties(),this._mdf=kr||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,kr&&this.data.r===2&&(this.e.v=this._currentTextLength);var Br=this.data.r===2?1:100/this.data.totalChars,Yr=this.o.v/Br,Hr=this.s.v/Br+Yr,Zr=this.e.v/Br+Yr;if(Hr>Zr){var ss=Hr;Hr=Zr,Zr=ss}this.finalS=Hr,this.finalE=Zr}},nr([Fa],Sr);function wr(kr,Br,Yr){return new Sr(kr,Br)}return{getTextSelectorProp:wr}}();function Nn(er,lr,mr){var Sr={propType:!1},wr=Gs.getProp,kr=lr.a;this.a={r:kr.r?wr(er,kr.r,0,es,mr):Sr,rx:kr.rx?wr(er,kr.rx,0,es,mr):Sr,ry:kr.ry?wr(er,kr.ry,0,es,mr):Sr,sk:kr.sk?wr(er,kr.sk,0,es,mr):Sr,sa:kr.sa?wr(er,kr.sa,0,es,mr):Sr,s:kr.s?wr(er,kr.s,1,.01,mr):Sr,a:kr.a?wr(er,kr.a,1,0,mr):Sr,o:kr.o?wr(er,kr.o,0,.01,mr):Sr,p:kr.p?wr(er,kr.p,1,0,mr):Sr,sw:kr.sw?wr(er,kr.sw,0,0,mr):Sr,sc:kr.sc?wr(er,kr.sc,1,0,mr):Sr,fc:kr.fc?wr(er,kr.fc,1,0,mr):Sr,fh:kr.fh?wr(er,kr.fh,0,0,mr):Sr,fs:kr.fs?wr(er,kr.fs,0,.01,mr):Sr,fb:kr.fb?wr(er,kr.fb,0,.01,mr):Sr,t:kr.t?wr(er,kr.t,0,0,mr):Sr},this.s=bh.getTextSelectorProp(er,lr.s,mr),this.s.t=lr.s.t}function Xn(er,lr,mr){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=er,this._renderType=lr,this._elem=mr,this._animatorsData=ur(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(mr)}Xn.prototype.searchProperties=function(){var er,lr=this._textData.a.length,mr,Sr=Gs.getProp;for(er=0;er<lr;er+=1)mr=this._textData.a[er],this._animatorsData[er]=new Nn(this._elem,mr,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:Sr(this._elem,this._textData.p.a,0,0,this),f:Sr(this._elem,this._textData.p.f,0,0,this),l:Sr(this._elem,this._textData.p.l,0,0,this),r:Sr(this._elem,this._textData.p.r,0,0,this),p:Sr(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=Sr(this._elem,this._textData.m.a,1,0,this)},Xn.prototype.getMeasures=function(er,lr){if(this.lettersChangedFlag=lr,!(!this._mdf&&!this._isFirstFrame&&!lr&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var mr=this._moreOptions.alignment.v,Sr=this._animatorsData,wr=this._textData,kr=this.mHelper,Br=this._renderType,Yr=this.renderedLetters.length,Hr,Zr,ss,Xr,Nr=er.l,Or,Gr,Lr,Kr,ts,Wr,as,ls,ds,ws,Fs,Cs,zs,ms,bs;if(this._hasMaskedPath){if(bs=this._pathData.m,!this._pathData.n||this._pathData._mdf){var rs=bs.v;this._pathData.r.v&&(rs=rs.reverse()),Or={tLength:0,segments:[]},Xr=rs._length-1;var Ps;for(Cs=0,ss=0;ss<Xr;ss+=1)Ps=xn.buildBezierData(rs.v[ss],rs.v[ss+1],[rs.o[ss][0]-rs.v[ss][0],rs.o[ss][1]-rs.v[ss][1]],[rs.i[ss+1][0]-rs.v[ss+1][0],rs.i[ss+1][1]-rs.v[ss+1][1]]),Or.tLength+=Ps.segmentLength,Or.segments.push(Ps),Cs+=Ps.segmentLength;ss=Xr,bs.v.c&&(Ps=xn.buildBezierData(rs.v[ss],rs.v[0],[rs.o[ss][0]-rs.v[ss][0],rs.o[ss][1]-rs.v[ss][1]],[rs.i[0][0]-rs.v[0][0],rs.i[0][1]-rs.v[0][1]]),Or.tLength+=Ps.segmentLength,Or.segments.push(Ps),Cs+=Ps.segmentLength),this._pathData.pi=Or}if(Or=this._pathData.pi,Gr=this._pathData.f.v,as=0,Wr=1,Kr=0,ts=!0,ws=Or.segments,Gr<0&&bs.v.c)for(Or.tLength<Math.abs(Gr)&&(Gr=-Math.abs(Gr)%Or.tLength),as=ws.length-1,ds=ws[as].points,Wr=ds.length-1;Gr<0;)Gr+=ds[Wr].partialLength,Wr-=1,Wr<0&&(as-=1,ds=ws[as].points,Wr=ds.length-1);ds=ws[as].points,ls=ds[Wr-1],Lr=ds[Wr],Fs=Lr.partialLength}Xr=Nr.length,Hr=0,Zr=0;var As=er.finalSize*1.2*.714,vs=!0,gs,_s,ns,Es,Os;Es=Sr.length;var Is,Ks=-1,Js,ha,ea,Aa=Gr,oa=as,Xs=Wr,Pn=-1,Ua,Oa,An,Ma,ia,Cn,Jn,qn,Mn="",Hn=this.defaultPropsArray,Vn;if(er.j===2||er.j===1){var Dn=0,Po=0,xo=er.j===2?-.5:-1,eo=0,lh=!0;for(ss=0;ss<Xr;ss+=1)if(Nr[ss].n){for(Dn&&(Dn+=Po);eo<ss;)Nr[eo].animatorJustifyOffset=Dn,eo+=1;Dn=0,lh=!0}else{for(ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.t.propType&&(lh&&er.j===2&&(Po+=gs.t.v*xo),_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),Is.length?Dn+=gs.t.v*Is[0]*xo:Dn+=gs.t.v*Is*xo);lh=!1}for(Dn&&(Dn+=Po);eo<ss;)Nr[eo].animatorJustifyOffset=Dn,eo+=1}for(ss=0;ss<Xr;ss+=1){if(kr.reset(),Ua=1,Nr[ss].n)Hr=0,Zr+=er.yOffset,Zr+=vs?1:0,Gr=Aa,vs=!1,this._hasMaskedPath&&(as=oa,Wr=Xs,ds=ws[as].points,ls=ds[Wr-1],Lr=ds[Wr],Fs=Lr.partialLength,Kr=0),Mn="",qn="",Cn="",Vn="",Hn=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Pn!==Nr[ss].line){switch(er.j){case 1:Gr+=Cs-er.lineWidths[Nr[ss].line];break;case 2:Gr+=(Cs-er.lineWidths[Nr[ss].line])/2;break}Pn=Nr[ss].line}Ks!==Nr[ss].ind&&(Nr[Ks]&&(Gr+=Nr[Ks].extra),Gr+=Nr[ss].an/2,Ks=Nr[ss].ind),Gr+=mr[0]*Nr[ss].an*.005;var Io=0;for(ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.p.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),Is.length?Io+=gs.p.v[0]*Is[0]:Io+=gs.p.v[0]*Is),gs.a.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),Is.length?Io+=gs.a.v[0]*Is[0]:Io+=gs.a.v[0]*Is);for(ts=!0,this._pathData.a.v&&(Gr=Nr[0].an*.5+(Cs-this._pathData.f.v-Nr[0].an*.5-Nr[Nr.length-1].an*.5)*Ks/(Xr-1),Gr+=this._pathData.f.v);ts;)Kr+Fs>=Gr+Io||!ds?(zs=(Gr+Io-Kr)/Lr.partialLength,ha=ls.point[0]+(Lr.point[0]-ls.point[0])*zs,ea=ls.point[1]+(Lr.point[1]-ls.point[1])*zs,kr.translate(-mr[0]*Nr[ss].an*.005,-(mr[1]*As)*.01),ts=!1):ds&&(Kr+=Lr.partialLength,Wr+=1,Wr>=ds.length&&(Wr=0,as+=1,ws[as]?ds=ws[as].points:bs.v.c?(Wr=0,as=0,ds=ws[as].points):(Kr-=Lr.partialLength,ds=null)),ds&&(ls=Lr,Lr=ds[Wr],Fs=Lr.partialLength));Js=Nr[ss].an/2-Nr[ss].add,kr.translate(-Js,0,0)}else Js=Nr[ss].an/2-Nr[ss].add,kr.translate(-Js,0,0),kr.translate(-mr[0]*Nr[ss].an*.005,-mr[1]*As*.01,0);for(ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.t.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),(Hr!==0||er.j!==0)&&(this._hasMaskedPath?Is.length?Gr+=gs.t.v*Is[0]:Gr+=gs.t.v*Is:Is.length?Hr+=gs.t.v*Is[0]:Hr+=gs.t.v*Is));for(er.strokeWidthAnim&&(An=er.sw||0),er.strokeColorAnim&&(er.sc?Oa=[er.sc[0],er.sc[1],er.sc[2]]:Oa=[0,0,0]),er.fillColorAnim&&er.fc&&(Ma=[er.fc[0],er.fc[1],er.fc[2]]),ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.a.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),Is.length?kr.translate(-gs.a.v[0]*Is[0],-gs.a.v[1]*Is[1],gs.a.v[2]*Is[2]):kr.translate(-gs.a.v[0]*Is,-gs.a.v[1]*Is,gs.a.v[2]*Is));for(ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.s.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),Is.length?kr.scale(1+(gs.s.v[0]-1)*Is[0],1+(gs.s.v[1]-1)*Is[1],1):kr.scale(1+(gs.s.v[0]-1)*Is,1+(gs.s.v[1]-1)*Is,1));for(ns=0;ns<Es;ns+=1){if(gs=Sr[ns].a,_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),gs.sk.propType&&(Is.length?kr.skewFromAxis(-gs.sk.v*Is[0],gs.sa.v*Is[1]):kr.skewFromAxis(-gs.sk.v*Is,gs.sa.v*Is)),gs.r.propType&&(Is.length?kr.rotateZ(-gs.r.v*Is[2]):kr.rotateZ(-gs.r.v*Is)),gs.ry.propType&&(Is.length?kr.rotateY(gs.ry.v*Is[1]):kr.rotateY(gs.ry.v*Is)),gs.rx.propType&&(Is.length?kr.rotateX(gs.rx.v*Is[0]):kr.rotateX(gs.rx.v*Is)),gs.o.propType&&(Is.length?Ua+=(gs.o.v*Is[0]-Ua)*Is[0]:Ua+=(gs.o.v*Is-Ua)*Is),er.strokeWidthAnim&&gs.sw.propType&&(Is.length?An+=gs.sw.v*Is[0]:An+=gs.sw.v*Is),er.strokeColorAnim&&gs.sc.propType)for(ia=0;ia<3;ia+=1)Is.length?Oa[ia]+=(gs.sc.v[ia]-Oa[ia])*Is[0]:Oa[ia]+=(gs.sc.v[ia]-Oa[ia])*Is;if(er.fillColorAnim&&er.fc){if(gs.fc.propType)for(ia=0;ia<3;ia+=1)Is.length?Ma[ia]+=(gs.fc.v[ia]-Ma[ia])*Is[0]:Ma[ia]+=(gs.fc.v[ia]-Ma[ia])*Is;gs.fh.propType&&(Is.length?Ma=Ts(Ma,gs.fh.v*Is[0]):Ma=Ts(Ma,gs.fh.v*Is)),gs.fs.propType&&(Is.length?Ma=jr(Ma,gs.fs.v*Is[0]):Ma=jr(Ma,gs.fs.v*Is)),gs.fb.propType&&(Is.length?Ma=Vs(Ma,gs.fb.v*Is[0]):Ma=Vs(Ma,gs.fb.v*Is))}}for(ns=0;ns<Es;ns+=1)gs=Sr[ns].a,gs.p.propType&&(_s=Sr[ns].s,Is=_s.getMult(Nr[ss].anIndexes[ns],wr.a[ns].s.totalChars),this._hasMaskedPath?Is.length?kr.translate(0,gs.p.v[1]*Is[0],-gs.p.v[2]*Is[1]):kr.translate(0,gs.p.v[1]*Is,-gs.p.v[2]*Is):Is.length?kr.translate(gs.p.v[0]*Is[0],gs.p.v[1]*Is[1],-gs.p.v[2]*Is[2]):kr.translate(gs.p.v[0]*Is,gs.p.v[1]*Is,-gs.p.v[2]*Is));if(er.strokeWidthAnim&&(Cn=An<0?0:An),er.strokeColorAnim&&(Jn="rgb("+Math.round(Oa[0]*255)+","+Math.round(Oa[1]*255)+","+Math.round(Oa[2]*255)+")"),er.fillColorAnim&&er.fc&&(qn="rgb("+Math.round(Ma[0]*255)+","+Math.round(Ma[1]*255)+","+Math.round(Ma[2]*255)+")"),this._hasMaskedPath){if(kr.translate(0,-er.ls),kr.translate(0,mr[1]*As*.01+Zr,0),this._pathData.p.v){ms=(Lr.point[1]-ls.point[1])/(Lr.point[0]-ls.point[0]);var _h=Math.atan(ms)*180/Math.PI;Lr.point[0]<ls.point[0]&&(_h+=180),kr.rotate(-_h*Math.PI/180)}kr.translate(ha,ea,0),Gr-=mr[0]*Nr[ss].an*.005,Nr[ss+1]&&Ks!==Nr[ss+1].ind&&(Gr+=Nr[ss].an/2,Gr+=er.tr*.001*er.finalSize)}else{switch(kr.translate(Hr,Zr,0),er.ps&&kr.translate(er.ps[0],er.ps[1]+er.ascent,0),er.j){case 1:kr.translate(Nr[ss].animatorJustifyOffset+er.justifyOffset+(er.boxWidth-er.lineWidths[Nr[ss].line]),0,0);break;case 2:kr.translate(Nr[ss].animatorJustifyOffset+er.justifyOffset+(er.boxWidth-er.lineWidths[Nr[ss].line])/2,0,0);break}kr.translate(0,-er.ls),kr.translate(Js,0,0),kr.translate(mr[0]*Nr[ss].an*.005,mr[1]*As*.01,0),Hr+=Nr[ss].l+er.tr*.001*er.finalSize}Br==="html"?Mn=kr.toCSS():Br==="svg"?Mn=kr.to2dCSS():Hn=[kr.props[0],kr.props[1],kr.props[2],kr.props[3],kr.props[4],kr.props[5],kr.props[6],kr.props[7],kr.props[8],kr.props[9],kr.props[10],kr.props[11],kr.props[12],kr.props[13],kr.props[14],kr.props[15]],Vn=Ua}Yr<=ss?(Os=new Wo(Vn,Cn,Jn,qn,Mn,Hn),this.renderedLetters.push(Os),Yr+=1,this.lettersChangedFlag=!0):(Os=this.renderedLetters[ss],this.lettersChangedFlag=Os.update(Vn,Cn,Jn,qn,Mn,Hn)||this.lettersChangedFlag)}}},Xn.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Xn.prototype.mHelper=new Pa,Xn.prototype.defaultPropsArray=[],nr([Fa],Xn);function Wa(){}Wa.prototype.initElement=function(er,lr,mr){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(er,lr,mr),this.textProperty=new pa(this,er.t,this.dynamicProperties),this.textAnimator=new Xn(er.t,this.renderType,this),this.initTransform(er,lr,mr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Wa.prototype.prepareFrame=function(er){this._mdf=!1,this.prepareRenderableFrame(er),this.prepareProperties(er,this.isInRange)},Wa.prototype.createPathShape=function(er,lr){var mr,Sr=lr.length,wr,kr="";for(mr=0;mr<Sr;mr+=1)lr[mr].ty==="sh"&&(wr=lr[mr].ks.k,kr+=vh(wr,wr.i.length,!0,er));return kr},Wa.prototype.updateDocumentData=function(er,lr){this.textProperty.updateDocumentData(er,lr)},Wa.prototype.canResizeFont=function(er){this.textProperty.canResizeFont(er)},Wa.prototype.setMinimumFontSize=function(er){this.textProperty.setMinimumFontSize(er)},Wa.prototype.applyTextPropertiesToMatrix=function(er,lr,mr,Sr,wr){switch(er.ps&&lr.translate(er.ps[0],er.ps[1]+er.ascent,0),lr.translate(0,-er.ls,0),er.j){case 1:lr.translate(er.justifyOffset+(er.boxWidth-er.lineWidths[mr]),0,0);break;case 2:lr.translate(er.justifyOffset+(er.boxWidth-er.lineWidths[mr])/2,0,0);break}lr.translate(Sr,wr,0)},Wa.prototype.buildColor=function(er){return"rgb("+Math.round(er[0]*255)+","+Math.round(er[1]*255)+","+Math.round(er[2]*255)+")"},Wa.prototype.emptyProp=new Wo,Wa.prototype.destroy=function(){},Wa.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Fo={shapes:[]};function Ra(er,lr,mr){this.textSpans=[],this.renderType="svg",this.initElement(er,lr,mr)}nr([En,La,uo,Ln,Za,$n,Wa],Ra),Ra.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=$s("text"))},Ra.prototype.buildTextContents=function(er){for(var lr=0,mr=er.length,Sr=[],wr="";lr<mr;)er[lr]==="\r"||er[lr]==="�"?(Sr.push(wr),wr=""):wr+=er[lr],lr+=1;return Sr.push(wr),Sr},Ra.prototype.buildShapeData=function(er,lr){if(er.shapes&&er.shapes.length){var mr=er.shapes[0];if(mr.it){var Sr=mr.it[mr.it.length-1];Sr.s&&(Sr.s.k[0]=lr,Sr.s.k[1]=lr)}}return er},Ra.prototype.buildNewText=function(){this.addDynamicProperty(this);var er,lr,mr=this.textProperty.currentData;this.renderedLetters=ur(mr?mr.l.length:0),mr.fc?this.layerElement.setAttribute("fill",this.buildColor(mr.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),mr.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(mr.sc)),this.layerElement.setAttribute("stroke-width",mr.sw)),this.layerElement.setAttribute("font-size",mr.finalSize);var Sr=this.globalData.fontManager.getFontByName(mr.f);if(Sr.fClass)this.layerElement.setAttribute("class",Sr.fClass);else{this.layerElement.setAttribute("font-family",Sr.fFamily);var wr=mr.fWeight,kr=mr.fStyle;this.layerElement.setAttribute("font-style",kr),this.layerElement.setAttribute("font-weight",wr)}this.layerElement.setAttribute("aria-label",mr.t);var Br=mr.l||[],Yr=!!this.globalData.fontManager.chars;lr=Br.length;var Hr,Zr=this.mHelper,ss="",Xr=this.data.singleShape,Nr=0,Or=0,Gr=!0,Lr=mr.tr*.001*mr.finalSize;if(Xr&&!Yr&&!mr.sz){var Kr=this.textContainer,ts="start";switch(mr.j){case 1:ts="end";break;case 2:ts="middle";break;default:ts="start";break}Kr.setAttribute("text-anchor",ts),Kr.setAttribute("letter-spacing",Lr);var Wr=this.buildTextContents(mr.finalText);for(lr=Wr.length,Or=mr.ps?mr.ps[1]+mr.ascent:0,er=0;er<lr;er+=1)Hr=this.textSpans[er].span||$s("tspan"),Hr.textContent=Wr[er],Hr.setAttribute("x",0),Hr.setAttribute("y",Or),Hr.style.display="inherit",Kr.appendChild(Hr),this.textSpans[er]||(this.textSpans[er]={span:null,glyph:null}),this.textSpans[er].span=Hr,Or+=mr.finalLineHeight;this.layerElement.appendChild(Kr)}else{var as=this.textSpans.length,ls;for(er=0;er<lr;er+=1){if(this.textSpans[er]||(this.textSpans[er]={span:null,childSpan:null,glyph:null}),!Yr||!Xr||er===0){if(Hr=as>er?this.textSpans[er].span:$s(Yr?"g":"text"),as<=er){if(Hr.setAttribute("stroke-linecap","butt"),Hr.setAttribute("stroke-linejoin","round"),Hr.setAttribute("stroke-miterlimit","4"),this.textSpans[er].span=Hr,Yr){var ds=$s("g");Hr.appendChild(ds),this.textSpans[er].childSpan=ds}this.textSpans[er].span=Hr,this.layerElement.appendChild(Hr)}Hr.style.display="inherit"}if(Zr.reset(),Xr&&(Br[er].n&&(Nr=-Lr,Or+=mr.yOffset,Or+=Gr?1:0,Gr=!1),this.applyTextPropertiesToMatrix(mr,Zr,Br[er].line,Nr,Or),Nr+=Br[er].l||0,Nr+=Lr),Yr){ls=this.globalData.fontManager.getCharData(mr.finalText[er],Sr.fStyle,this.globalData.fontManager.getFontByName(mr.f).fFamily);var ws;if(ls.t===1)ws=new ja(ls.data,this.globalData,this);else{var Fs=Fo;ls.data&&ls.data.shapes&&(Fs=this.buildShapeData(ls.data,mr.finalSize)),ws=new ba(Fs,this.globalData,this)}if(this.textSpans[er].glyph){var Cs=this.textSpans[er].glyph;this.textSpans[er].childSpan.removeChild(Cs.layerElement),Cs.destroy()}this.textSpans[er].glyph=ws,ws._debug=!0,ws.prepareFrame(0),ws.renderFrame(),this.textSpans[er].childSpan.appendChild(ws.layerElement),ls.t===1&&this.textSpans[er].childSpan.setAttribute("transform","scale("+mr.finalSize/100+","+mr.finalSize/100+")")}else Xr&&Hr.setAttribute("transform","translate("+Zr.props[12]+","+Zr.props[13]+")"),Hr.textContent=Br[er].val,Hr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}Xr&&Hr&&Hr.setAttribute("d",ss)}for(;er<this.textSpans.length;)this.textSpans[er].span.style.display="none",er+=1;this._sizeChanged=!0},Ra.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var er=this.layerElement.getBBox();this.bbox={top:er.y,left:er.x,width:er.width,height:er.height}}return this.bbox},Ra.prototype.getValue=function(){var er,lr=this.textSpans.length,mr;for(this.renderedFrame=this.comp.renderedFrame,er=0;er<lr;er+=1)mr=this.textSpans[er].glyph,mr&&(mr.prepareFrame(this.comp.renderedFrame-this.data.st),mr._mdf&&(this._mdf=!0))},Ra.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var er,lr,mr=this.textAnimator.renderedLetters,Sr=this.textProperty.currentData.l;lr=Sr.length;var wr,kr,Br;for(er=0;er<lr;er+=1)Sr[er].n||(wr=mr[er],kr=this.textSpans[er].span,Br=this.textSpans[er].glyph,Br&&Br.renderFrame(),wr._mdf.m&&kr.setAttribute("transform",wr.m),wr._mdf.o&&kr.setAttribute("opacity",wr.o),wr._mdf.sw&&kr.setAttribute("stroke-width",wr.sw),wr._mdf.sc&&kr.setAttribute("stroke",wr.sc),wr._mdf.fc&&kr.setAttribute("fill",wr.fc))}};function Yo(er,lr,mr){this.initElement(er,lr,mr)}nr([Qa],Yo),Yo.prototype.createContent=function(){var er=$s("rect");er.setAttribute("width",this.data.sw),er.setAttribute("height",this.data.sh),er.setAttribute("fill",this.data.sc),this.layerElement.appendChild(er)};function Ya(er,lr,mr){this.initFrame(),this.initBaseData(er,lr,mr),this.initFrame(),this.initTransform(er,lr,mr),this.initHierarchy()}Ya.prototype.prepareFrame=function(er){this.prepareProperties(er,!0)},Ya.prototype.renderFrame=function(){},Ya.prototype.getBaseElement=function(){return null},Ya.prototype.destroy=function(){},Ya.prototype.sourceRectAtTime=function(){},Ya.prototype.hide=function(){},nr([En,La,Ln,Za],Ya);function Ca(){}nr([Sa],Ca),Ca.prototype.createNull=function(er){return new Ya(er,this.globalData,this)},Ca.prototype.createShape=function(er){return new ba(er,this.globalData,this)},Ca.prototype.createText=function(er){return new Ra(er,this.globalData,this)},Ca.prototype.createImage=function(er){return new Qa(er,this.globalData,this)},Ca.prototype.createSolid=function(er){return new Yo(er,this.globalData,this)},Ca.prototype.configAnimation=function(er){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+er.w+" "+er.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",er.w),this.svgElement.setAttribute("height",er.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var lr=this.globalData.defs;this.setupGlobalData(er,lr),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=er;var mr=$s("clipPath"),Sr=$s("rect");Sr.setAttribute("width",er.w),Sr.setAttribute("height",er.h),Sr.setAttribute("x",0),Sr.setAttribute("y",0);var wr=yr();mr.setAttribute("id",wr),mr.appendChild(Sr),this.layerElement.setAttribute("clip-path","url("+fr()+"#"+wr+")"),lr.appendChild(mr),this.layers=er.layers,this.elements=ur(er.layers.length)},Ca.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var er,lr=this.layers?this.layers.length:0;for(er=0;er<lr;er+=1)this.elements[er]&&this.elements[er].destroy&&this.elements[er].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},Ca.prototype.updateContainerSize=function(){},Ca.prototype.findIndexByInd=function(er){var lr=0,mr=this.layers.length;for(lr=0;lr<mr;lr+=1)if(this.layers[lr].ind===er)return lr;return-1},Ca.prototype.buildItem=function(er){var lr=this.elements;if(!(lr[er]||this.layers[er].ty===99)){lr[er]=!0;var mr=this.createItem(this.layers[er]);if(lr[er]=mr,Hs()&&(this.layers[er].ty===0&&this.globalData.projectInterface.registerComposition(mr),mr.initExpressions()),this.appendElementInPos(mr,er),this.layers[er].tt){var Sr="tp"in this.layers[er]?this.findIndexByInd(this.layers[er].tp):er-1;if(Sr===-1)return;if(!this.elements[Sr]||this.elements[Sr]===!0)this.buildItem(Sr),this.addPendingElement(mr);else{var wr=lr[Sr],kr=wr.getMatte(this.layers[er].tt);mr.setMatte(kr)}}}},Ca.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var er=this.pendingElements.pop();if(er.checkParenting(),er.data.tt)for(var lr=0,mr=this.elements.length;lr<mr;){if(this.elements[lr]===er){var Sr="tp"in er.data?this.findIndexByInd(er.data.tp):lr-1,wr=this.elements[Sr],kr=wr.getMatte(this.layers[lr].tt);er.setMatte(kr);break}lr+=1}}},Ca.prototype.renderFrame=function(er){if(!(this.renderedFrame===er||this.destroyed)){er===null?er=this.renderedFrame:this.renderedFrame=er,this.globalData.frameNum=er,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=er,this.globalData._mdf=!1;var lr,mr=this.layers.length;for(this.completeLayers||this.checkLayers(er),lr=mr-1;lr>=0;lr-=1)(this.completeLayers||this.elements[lr])&&this.elements[lr].prepareFrame(er-this.layers[lr].st);if(this.globalData._mdf)for(lr=0;lr<mr;lr+=1)(this.completeLayers||this.elements[lr])&&this.elements[lr].renderFrame()}},Ca.prototype.appendElementInPos=function(er,lr){var mr=er.getBaseElement();if(mr){for(var Sr=0,wr;Sr<lr;)this.elements[Sr]&&this.elements[Sr]!==!0&&this.elements[Sr].getBaseElement()&&(wr=this.elements[Sr].getBaseElement()),Sr+=1;wr?this.layerElement.insertBefore(mr,wr):this.layerElement.appendChild(mr)}},Ca.prototype.hide=function(){this.layerElement.style.display="none"},Ca.prototype.show=function(){this.layerElement.style.display="block"};function qa(){}nr([En,La,Ln,Za,$n],qa),qa.prototype.initElement=function(er,lr,mr){this.initFrame(),this.initBaseData(er,lr,mr),this.initTransform(er,lr,mr),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!lr.progressiveLoad)&&this.buildAllItems(),this.hide()},qa.prototype.prepareFrame=function(er){if(this._mdf=!1,this.prepareRenderableFrame(er),this.prepareProperties(er,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=er/this.data.sr;else{var lr=this.tm.v;lr===this.data.op&&(lr=this.data.op-1),this.renderedFrame=lr}var mr,Sr=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),mr=Sr-1;mr>=0;mr-=1)(this.completeLayers||this.elements[mr])&&(this.elements[mr].prepareFrame(this.renderedFrame-this.layers[mr].st),this.elements[mr]._mdf&&(this._mdf=!0))}},qa.prototype.renderInnerContent=function(){var er,lr=this.layers.length;for(er=0;er<lr;er+=1)(this.completeLayers||this.elements[er])&&this.elements[er].renderFrame()},qa.prototype.setElements=function(er){this.elements=er},qa.prototype.getElements=function(){return this.elements},qa.prototype.destroyElements=function(){var er,lr=this.layers.length;for(er=0;er<lr;er+=1)this.elements[er]&&this.elements[er].destroy()},qa.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function ja(er,lr,mr){this.layers=er.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?ur(this.layers.length):[],this.initElement(er,lr,mr),this.tm=er.tm?Gs.getProp(this,er.tm,0,lr.frameRate,this):{_placeholder:!0}}nr([Ca,qa,uo],ja),ja.prototype.createComp=function(er){return new ja(er,this.globalData,this)};function jn(er,lr){this.animationItem=er,this.layers=null,this.renderedFrame=-1,this.svgElement=$s("svg");var mr="";if(lr&&lr.title){var Sr=$s("title"),wr=yr();Sr.setAttribute("id",wr),Sr.textContent=lr.title,this.svgElement.appendChild(Sr),mr+=wr}if(lr&&lr.description){var kr=$s("desc"),Br=yr();kr.setAttribute("id",Br),kr.textContent=lr.description,this.svgElement.appendChild(kr),mr+=" "+Br}mr&&this.svgElement.setAttribute("aria-labelledby",mr);var Yr=$s("defs");this.svgElement.appendChild(Yr);var Hr=$s("g");this.svgElement.appendChild(Hr),this.layerElement=Hr,this.renderConfig={preserveAspectRatio:lr&&lr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:lr&&lr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:lr&&lr.contentVisibility||"visible",progressiveLoad:lr&&lr.progressiveLoad||!1,hideOnTransparent:!(lr&&lr.hideOnTransparent===!1),viewBoxOnly:lr&&lr.viewBoxOnly||!1,viewBoxSize:lr&&lr.viewBoxSize||!1,className:lr&&lr.className||"",id:lr&&lr.id||"",focusable:lr&&lr.focusable,filterSize:{width:lr&&lr.filterSize&&lr.filterSize.width||"100%",height:lr&&lr.filterSize&&lr.filterSize.height||"100%",x:lr&&lr.filterSize&&lr.filterSize.x||"0%",y:lr&&lr.filterSize&&lr.filterSize.y||"0%"},width:lr&&lr.width,height:lr&&lr.height,runExpressions:!lr||lr.runExpressions===void 0||lr.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:Yr,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}nr([Ca],jn),jn.prototype.createComp=function(er){return new ja(er,this.globalData,this)};function br(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}br.prototype={addTransformSequence:function(er){var lr,mr=er.length,Sr="_";for(lr=0;lr<mr;lr+=1)Sr+=er[lr].transform.key+"_";var wr=this.sequences[Sr];return wr||(wr={transforms:[].concat(er),finalTransform:new Pa,_mdf:!1},this.sequences[Sr]=wr,this.sequenceList.push(wr)),wr},processSequence:function(er,lr){for(var mr=0,Sr=er.transforms.length,wr=lr;mr<Sr&&!lr;){if(er.transforms[mr].transform.mProps._mdf){wr=!0;break}mr+=1}if(wr)for(er.finalTransform.reset(),mr=Sr-1;mr>=0;mr-=1)er.finalTransform.multiply(er.transforms[mr].transform.mProps.v);er._mdf=wr},processSequences:function(er){var lr,mr=this.sequenceList.length;for(lr=0;lr<mr;lr+=1)this.processSequence(this.sequenceList[lr],er)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var Cr=function(){var er="__lottie_element_luma_buffer",lr=null,mr=null,Sr=null;function wr(){var Yr=$s("svg"),Hr=$s("filter"),Zr=$s("feColorMatrix");return Hr.setAttribute("id",er),Zr.setAttribute("type","matrix"),Zr.setAttribute("color-interpolation-filters","sRGB"),Zr.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),Hr.appendChild(Zr),Yr.appendChild(Hr),Yr.setAttribute("id",er+"_svg"),Qn.svgLumaHidden&&(Yr.style.display="none"),Yr}function kr(){lr||(Sr=wr(),document.body.appendChild(Sr),lr=gr("canvas"),mr=lr.getContext("2d"),mr.filter="url(#"+er+")",mr.fillStyle="rgba(0,0,0,0)",mr.fillRect(0,0,1,1))}function Br(Yr){return lr||kr(),lr.width=Yr.width,lr.height=Yr.height,mr.filter="url
849(#"+er+")",lr}return{load:kr,get:Br}};function Rr(er,lr){if(Qn.offscreenCanvas)return new OffscreenCanvas(er,lr);var mr=gr("canvas");return mr.width=er,mr.height=lr,mr}var qr=function(){return{loadLumaCanvas:Cr.load,getLumaCanvas:Cr.get,createCanvas:Rr}}(),Qr={};function Jr(er){var lr,mr=er.data.ef?er.data.ef.length:0;this.filters=[];var Sr;for(lr=0;lr<mr;lr+=1){Sr=null;var wr=er.data.ef[lr].ty;if(Qr[wr]){var kr=Qr[wr].effect;Sr=new kr(er.effectsManager.effectElements[lr],er)}Sr&&this.filters.push(Sr)}this.filters.length&&er.addRenderableComponent(this)}Jr.prototype.renderFrame=function(er){var lr,mr=this.filters.length;for(lr=0;lr<mr;lr+=1)this.filters[lr].renderFrame(er)},Jr.prototype.getEffects=function(er){var lr,mr=this.filters.length,Sr=[];for(lr=0;lr<mr;lr+=1)this.filters[lr].type===er&&Sr.push(this.filters[lr]);return Sr};function fs(er,lr){this.data=er,this.element=lr,this.masksProperties=this.data.masksProperties||[],this.viewData=ur(this.masksProperties.length);var mr,Sr=this.masksProperties.length,wr=!1;for(mr=0;mr<Sr;mr+=1)this.masksProperties[mr].mode!=="n"&&(wr=!0),this.viewData[mr]=io.getShapeProp(this.element,this.masksProperties[mr],3);this.hasMasks=wr,wr&&this.element.addRenderableComponent(this)}fs.prototype.renderFrame=function(){if(this.hasMasks){var er=this.element.finalTransform.mat,lr=this.element.canvasContext,mr,Sr=this.masksProperties.length,wr,kr,Br;for(lr.beginPath(),mr=0;mr<Sr;mr+=1)if(this.masksProperties[mr].mode!=="n"){this.masksProperties[mr].inv&&(lr.moveTo(0,0),lr.lineTo(this.element.globalData.compSize.w,0),lr.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),lr.lineTo(0,this.element.globalData.compSize.h),lr.lineTo(0,0)),Br=this.viewData[mr].v,wr=er.applyToPointArray(Br.v[0][0],Br.v[0][1],0),lr.moveTo(wr[0],wr[1]);var Yr,Hr=Br._length;for(Yr=1;Yr<Hr;Yr+=1)kr=er.applyToTriplePoints(Br.o[Yr-1],Br.i[Yr],Br.v[Yr]),lr.bezierCurveTo(kr[0],kr[1],kr[2],kr[3],kr[4],kr[5]);kr=er.applyToTriplePoints(Br.o[Yr-1],Br.i[0],Br.v[0]),lr.bezierCurveTo(kr[0],kr[1],kr[2],kr[3],kr[4],kr[5])}this.element.globalData.renderer.save(!0),lr.clip()}},fs.prototype.getMaskProperty=Gn.prototype.getMaskProperty,fs.prototype.destroy=function(){this.element=null};function Ss(){}var us={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};Ss.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var er=this.globalData.canvasContext,lr=qr.createCanvas(er.canvas.width,er.canvas.height);this.buffers.push(lr);var mr=qr.createCanvas(er.canvas.width,er.canvas.height);this.buffers.push(mr),this.data.tt>=3&&!document._isProxy&&qr.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new Jr(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var er=this.globalData;if(er.blendMode!==this.data.bm){er.blendMode=this.data.bm;var lr=Ro(this.data.bm);er.canvasContext.globalCompositeOperation=lr}},createRenderableComponents:function(){this.maskManager=new fs(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(zn.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(er){er.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 er=this.buffers[0],lr=er.getContext("2d");this.clearCanvas(lr),lr.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 er=this.buffers[1],lr=er.getContext("2d");this.clearCanvas(lr),lr.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 mr=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(mr.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var Sr=qr.getLumaCanvas(this.canvasContext.canvas),wr=Sr.getContext("2d");wr.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(Sr,0,0)}this.canvasContext.globalCompositeOperation=us[this.data.tt],this.canvasContext.drawImage(er,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(er){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!er)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var lr=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(lr),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(lr),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 Pa},Ss.prototype.hide=Ss.prototype.hideElement,Ss.prototype.show=Ss.prototype.showElement;function Ds(er,lr,mr,Sr){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var wr=4;lr.ty==="rc"?wr=5:lr.ty==="el"?wr=6:lr.ty==="sr"&&(wr=7),this.sh=io.getShapeProp(er,lr,wr,er);var kr,Br=mr.length,Yr;for(kr=0;kr<Br;kr+=1)mr[kr].closed||(Yr={transforms:Sr.addTransformSequence(mr[kr].transforms),trNodes:[]},this.styledShapes.push(Yr),mr[kr].elements.push(Yr))}Ds.prototype.setAsAnimated=Oo.prototype.setAsAnimated;function ks(er,lr,mr){this.shapes=[],this.shapesData=er.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new br,this.initElement(er,lr,mr)}nr([En,La,Ss,bo,Ln,Za,Kn],ks),ks.prototype.initElement=$n.prototype.initElement,ks.prototype.transformHelper={opacity:1,_opMdf:!1},ks.prototype.dashResetter=[],ks.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},ks.prototype.createStyleElement=function(er,lr){var mr={data:er,type:er.ty,preTransforms:this.transformsManager.addTransformSequence(lr),transforms:[],elements:[],closed:er.hd===!0},Sr={};if(er.ty==="fl"||er.ty==="st"?(Sr.c=Gs.getProp(this,er.c,1,255,this),Sr.c.k||(mr.co="rgb("+Ir(Sr.c.v[0])+","+Ir(Sr.c.v[1])+","+Ir(Sr.c.v[2])+")")):(er.ty==="gf"||er.ty==="gs")&&(Sr.s=Gs.getProp(this,er.s,1,null,this),Sr.e=Gs.getProp(this,er.e,1,null,this),Sr.h=Gs.getProp(this,er.h||{k:0},0,.01,this),Sr.a=Gs.getProp(this,er.a||{k:0},0,es,this),Sr.g=new oo(this,er.g,this)),Sr.o=Gs.getProp(this,er.o,0,.01,this),er.ty==="st"||er.ty==="gs"){if(mr.lc=nh[er.lc||2],mr.lj=qo[er.lj||2],er.lj==1&&(mr.ml=er.ml),Sr.w=Gs.getProp(this,er.w,0,null,this),Sr.w.k||(mr.wi=Sr.w.v),er.d){var wr=new _o(this,er.d,"canvas",this);Sr.d=wr,Sr.d.k||(mr.da=Sr.d.dashArray,mr.do=Sr.d.dashoffset[0])}}else mr.r=er.r===2?"evenodd":"nonzero";return this.stylesList.push(mr),Sr.style=mr,Sr},ks.prototype.createGroupElement=function(){var er={it:[],prevViewData:[]};return er},ks.prototype.createTransformElement=function(er){var lr={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:Gs.getProp(this,er.o,0,.01,this),mProps:Rn.getTransformProperty(this,er,this)}};return lr},ks.prototype.createShapeElement=function(er){var lr=new Ds(this,er,this.stylesList,this.transformsManager);return this.shapes.push(lr),this.addShapeToModifiers(lr),lr},ks.prototype.reloadShapes=function(){this._isFirstFrame=!0;var er,lr=this.itemsData.length;for(er=0;er<lr;er+=1)this.prevViewData[er]=this.itemsData[er];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),lr=this.dynamicProperties.length,er=0;er<lr;er+=1)this.dynamicProperties[er].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},ks.prototype.addTransformToStyleList=function(er){var lr,mr=this.stylesList.length;for(lr=0;lr<mr;lr+=1)this.stylesList[lr].closed||this.stylesList[lr].transforms.push(er)},ks.prototype.removeTransformFromStyleList=function(){var er,lr=this.stylesList.length;for(er=0;er<lr;er+=1)this.stylesList[er].closed||this.stylesList[er].transforms.pop()},ks.prototype.closeStyles=function(er){var lr,mr=er.length;for(lr=0;lr<mr;lr+=1)er[lr].closed=!0},ks.prototype.searchShapes=function(er,lr,mr,Sr,wr){var kr,Br=er.length-1,Yr,Hr,Zr=[],ss=[],Xr,Nr,Or,Gr=[].concat(wr);for(kr=Br;kr>=0;kr-=1){if(Xr=this.searchProcessedElement(er[kr]),Xr?lr[kr]=mr[Xr-1]:er[kr]._shouldRender=Sr,er[kr].ty==="fl"||er[kr].ty==="st"||er[kr].ty==="gf"||er[kr].ty==="gs")Xr?lr[kr].style.closed=!1:lr[kr]=this.createStyleElement(er[kr],Gr),Zr.push(lr[kr].style);else if(er[kr].ty==="gr"){if(!Xr)lr[kr]=this.createGroupElement(er[kr]);else for(Hr=lr[kr].it.length,Yr=0;Yr<Hr;Yr+=1)lr[kr].prevViewData[Yr]=lr[kr].it[Yr];this.searchShapes(er[kr].it,lr[kr].it,lr[kr].prevViewData,Sr,Gr)}else er[kr].ty==="tr"?(Xr||(Or=this.createTransformElement(er[kr]),lr[kr]=Or),Gr.pu
vendor: 209,296 bytes, lines 849-850
849sh(lr[kr]),this.addTransformToStyleList(lr[kr])):er[kr].ty==="sh"||er[kr].ty==="rc"||er[kr].ty==="el"||er[kr].ty==="sr"?Xr||(lr[kr]=this.createShapeElement(er[kr])):er[kr].ty==="tm"||er[kr].ty==="rd"||er[kr].ty==="pb"||er[kr].ty==="zz"||er[kr].ty==="op"?(Xr?(Nr=lr[kr],Nr.closed=!1):(Nr=kn.getModifier(er[kr].ty),Nr.init(this,er[kr]),lr[kr]=Nr,this.shapeModifiers.push(Nr)),ss.push(Nr)):er[kr].ty==="rp"&&(Xr?(Nr=lr[kr],Nr.closed=!0):(Nr=kn.getModifier(er[kr].ty),lr[kr]=Nr,Nr.init(this,er,kr,lr),this.shapeModifiers.push(Nr),Sr=!1),ss.push(Nr));this.addProcessedElement(er[kr],kr+1)}for(this.removeTransformFromStyleList(),this.closeStyles(Zr),Br=ss.length,kr=0;kr<Br;kr+=1)ss[kr].closed=!0},ks.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},ks.prototype.renderShapeTransform=function(er,lr){(er._opMdf||lr.op._mdf||this._isFirstFrame)&&(lr.opacity=er.opacity,lr.opacity*=lr.op.v,lr._opMdf=!0)},ks.prototype.drawLayer=function(){var er,lr=this.stylesList.length,mr,Sr,wr,kr,Br,Yr,Hr=this.globalData.renderer,Zr=this.globalData.canvasContext,ss,Xr;for(er=0;er<lr;er+=1)if(Xr=this.stylesList[er],ss=Xr.type,!((ss==="st"||ss==="gs")&&Xr.wi===0||!Xr.data._shouldRender||Xr.coOp===0||this.globalData.currentGlobalAlpha===0)){for(Hr.save(),Br=Xr.elements,ss==="st"||ss==="gs"?(Hr.ctxStrokeStyle(ss==="st"?Xr.co:Xr.grd),Hr.ctxLineWidth(Xr.wi),Hr.ctxLineCap(Xr.lc),Hr.ctxLineJoin(Xr.lj),Hr.ctxMiterLimit(Xr.ml||0)):Hr.ctxFillStyle(ss==="fl"?Xr.co:Xr.grd),Hr.ctxOpacity(Xr.coOp),ss!=="st"&&ss!=="gs"&&Zr.beginPath(),Hr.ctxTransform(Xr.preTransforms.finalTransform.props),Sr=Br.length,mr=0;mr<Sr;mr+=1){for((ss==="st"||ss==="gs")&&(Zr.beginPath(),Xr.da&&(Zr.setLineDash(Xr.da),Zr.lineDashOffset=Xr.do)),Yr=Br[mr].trNodes,kr=Yr.length,wr=0;wr<kr;wr+=1)Yr[wr].t==="m"?Zr.moveTo(Yr[wr].p[0],Yr[wr].p[1]):Yr[wr].t==="c"?Zr.bezierCurveTo(Yr[wr].pts[0],Yr[wr].pts[1],Yr[wr].pts[2],Yr[wr].pts[3],Yr[wr].pts[4],Yr[wr].pts[5]):Zr.closePath();(ss==="st"||ss==="gs")&&(Hr.ctxStroke(),Xr.da&&Zr.setLineDash(this.dashResetter))}ss!=="st"&&ss!=="gs"&&this.globalData.renderer.ctxFill(Xr.r),Hr.restore()}},ks.prototype.renderShape=function(er,lr,mr,Sr){var wr,kr=lr.length-1,Br;for(Br=er,wr=kr;wr>=0;wr-=1)lr[wr].ty==="tr"?(Br=mr[wr].transform,this.renderShapeTransform(er,Br)):lr[wr].ty==="sh"||lr[wr].ty==="el"||lr[wr].ty==="rc"||lr[wr].ty==="sr"?this.renderPath(lr[wr],mr[wr]):lr[wr].ty==="fl"?this.renderFill(lr[wr],mr[wr],Br):lr[wr].ty==="st"?this.renderStroke(lr[wr],mr[wr],Br):lr[wr].ty==="gf"||lr[wr].ty==="gs"?this.renderGradientFill(lr[wr],mr[wr],Br):lr[wr].ty==="gr"?this.renderShape(Br,lr[wr].it,mr[wr].it):lr[wr].ty;Sr&&this.drawLayer()},ks.prototype.renderStyledShape=function(er,lr){if(this._isFirstFrame||lr._mdf||er.transforms._mdf){var mr=er.trNodes,Sr=lr.paths,wr,kr,Br,Yr=Sr._length;mr.length=0;var Hr=er.transforms.finalTransform;for(Br=0;Br<Yr;Br+=1){var Zr=Sr.shapes[Br];if(Zr&&Zr.v){for(kr=Zr._length,wr=1;wr<kr;wr+=1)wr===1&&mr.push({t:"m",p:Hr.applyToPointArray(Zr.v[0][0],Zr.v[0][1],0)}),mr.push({t:"c",pts:Hr.applyToTriplePoints(Zr.o[wr-1],Zr.i[wr],Zr.v[wr])});kr===1&&mr.push({t:"m",p:Hr.applyToPointArray(Zr.v[0][0],Zr.v[0][1],0)}),Zr.c&&kr&&(mr.push({t:"c",pts:Hr.applyToTriplePoints(Zr.o[wr-1],Zr.i[0],Zr.v[0])}),mr.push({t:"z"}))}}er.trNodes=mr}},ks.prototype.renderPath=function(er,lr){if(er.hd!==!0&&er._shouldRender){var mr,Sr=lr.styledShapes.length;for(mr=0;mr<Sr;mr+=1)this.renderStyledShape(lr.styledShapes[mr],lr.sh)}},ks.prototype.renderFill=function(er,lr,mr){var Sr=lr.style;(lr.c._mdf||this._isFirstFrame)&&(Sr.co="rgb("+Ir(lr.c.v[0])+","+Ir(lr.c.v[1])+","+Ir(lr.c.v[2])+")"),(lr.o._mdf||mr._opMdf||this._isFirstFrame)&&(Sr.coOp=lr.o.v*mr.opacity)},ks.prototype.renderGradientFill=function(er,lr,mr){var Sr=lr.style,wr;if(!Sr.grd||lr.g._mdf||lr.s._mdf||lr.e._mdf||er.t!==1&&(lr.h._mdf||lr.a._mdf)){var kr=this.globalData.canvasContext,Br=lr.s.v,Yr=lr.e.v;if(er.t===1)wr=kr.createLinearGradient(Br[0],Br[1],Yr[0],Yr[1]);else{var Hr=Math.sqrt(Math.pow(Br[0]-Yr[0],2)+Math.pow(Br[1]-Yr[1],2)),Zr=Math.atan2(Yr[1]-Br[1],Yr[0]-Br[0]),ss=lr.h.v;ss>=1?ss=.99:ss<=-1&&(ss=-.99);var Xr=Hr*ss,Nr=Math.cos(Zr+lr.a.v)*Xr+Br[0],Or=Math.sin(Zr+lr.a.v)*Xr+Br[1];wr=kr.createRadialGradient(Nr,Or,0,Br[0],Br[1],Hr)}var Gr,Lr=er.g.p,Kr=lr.g.c,ts=1;for(Gr=0;Gr<Lr;Gr+=1)lr.g._hasOpacity&&lr.g._collapsable&&(ts=lr.g.o[Gr*2+1]),wr.addColorStop(Kr[Gr*4]/100,"rgba("+Kr[Gr*4+1]+","+Kr[Gr*4+2]+","+Kr[Gr*4+3]+","+ts+")");Sr.grd=wr}Sr.coOp=lr.o.v*mr.opacity},ks.prototype.renderStroke=function(er,lr,mr){var Sr=lr.style,wr=lr.d;wr&&(wr._mdf||this._isFirstFrame)&&(Sr.da=wr.dashArray,Sr.do=wr.dashoffset[0]),(lr.c._mdf||this._isFirstFrame)&&(Sr.co="rgb("+Ir(lr.c.v[0])+","+Ir(lr.c.v[1])+","+Ir(lr.c.v[2])+")"),(lr.o._mdf||mr._opMdf||this._isFirstFrame)&&(Sr.coOp=lr.o.v*mr.opacity),(lr.w._mdf||this._isFirstFrame)&&(Sr.wi=lr.w.v)},ks.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function Ls(er,lr,mr){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(er,lr,mr)}nr([En,La,Ss,Ln,Za,Kn,Wa],Ls),Ls.prototype.tHelper=gr("canvas").getContext("2d"),Ls.prototype.buildNewText=function(){var er=this.textProperty.currentData;this.renderedLetters=ur(er.l?er.l.length:0);var lr=!1;er.fc?(lr=!0,this.values.fill=this.buildColor(er.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=lr;var mr=!1;er.sc&&(mr=!0,this.values.stroke=this.buildColor(er.sc),this.values.sWidth=er.sw);var Sr=this.globalData.fontManager.getFontByName(er.f),wr,kr,Br=er.l,Yr=this.mHelper;this.stroke=mr,this.values.fValue=er.finalSize+"px "+this.globalData.fontManager.getFontByName(er.f).fFamily,kr=er.finalText.length;var Hr,Zr,ss,Xr,Nr,Or,Gr,Lr,Kr,ts,Wr=this.data.singleShape,as=er.tr*.001*er.finalSize,ls=0,ds=0,ws=!0,Fs=0;for(wr=0;wr<kr;wr+=1){Hr=this.globalData.fontManager.getCharData(er.finalText[wr],Sr.fStyle,this.globalData.fontManager.getFontByName(er.f).fFamily),Zr=Hr&&Hr.data||{},Yr.reset(),Wr&&Br[wr].n&&(ls=-as,ds+=er.yOffset,ds+=ws?1:0,ws=!1),Nr=Zr.shapes?Zr.shapes[0].it:[],Gr=Nr.length,Yr.scale(er.finalSize/100,er.finalSize/100),Wr&&this.applyTextPropertiesToMatrix(er,Yr,Br[wr].line,ls,ds),Kr=ur(Gr-1);var Cs=0;for(Or=0;Or<Gr;Or+=1)if(Nr[Or].ty==="sh"){for(Xr=Nr[Or].ks.k.i.length,Lr=Nr[Or].ks.k,ts=[],ss=1;ss<Xr;ss+=1)ss===1&&ts.push(Yr.applyToX(Lr.v[0][0],Lr.v[0][1],0),Yr.applyToY(Lr.v[0][0],Lr.v[0][1],0)),ts.push(Yr.applyToX(Lr.o[ss-1][0],Lr.o[ss-1][1],0),Yr.applyToY(Lr.o[ss-1][0],Lr.o[ss-1][1],0),Yr.applyToX(Lr.i[ss][0],Lr.i[ss][1],0),Yr.applyToY(Lr.i[ss][0],Lr.i[ss][1],0),Yr.applyToX(Lr.v[ss][0],Lr.v[ss][1],0),Yr.applyToY(Lr.v[ss][0],Lr.v[ss][1],0));ts.push(Yr.applyToX(Lr.o[ss-1][0],Lr.o[ss-1][1],0),Yr.applyToY(Lr.o[ss-1][0],Lr.o[ss-1][1],0),Yr.applyToX(Lr.i[0][0],Lr.i[0][1],0),Yr.applyToY(Lr.i[0][0],Lr.i[0][1],0),Yr.applyToX(Lr.v[0][0],Lr.v[0][1],0),Yr.applyToY(Lr.v[0][0],Lr.v[0][1],0)),Kr[Cs]=ts,Cs+=1}Wr&&(ls+=Br[wr].l,ls+=as),this.textSpans[Fs]?this.textSpans[Fs].elem=Kr:this.textSpans[Fs]={elem:Kr},Fs+=1}},Ls.prototype.renderInnerContent=function(){this.validateText();var er=this.canvasContext;er.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var lr,mr,Sr,wr,kr,Br,Yr=this.textAnimator.renderedLetters,Hr=this.textProperty.currentData.l;mr=Hr.length;var Zr,ss=null,Xr=null,Nr=null,Or,Gr,Lr=this.globalData.renderer;for(lr=0;lr<mr;lr+=1)if(!Hr[lr].n){if(Zr=Yr[lr],Zr&&(Lr.save(),Lr.ctxTransform(Zr.p),Lr.ctxOpacity(Zr.o)),this.fill){for(Zr&&Zr.fc?ss!==Zr.fc&&(Lr.ctxFillStyle(Zr.fc),ss=Zr.fc):ss!==this.values.fill&&(ss=this.values.fill,Lr.ctxFillStyle(this.values.fill)),Or=this.textSpans[lr].elem,wr=Or.length,this.globalData.canvasContext.beginPath(),Sr=0;Sr<wr;Sr+=1)for(Gr=Or[Sr],Br=Gr.length,this.globalData.canvasContext.moveTo(Gr[0],Gr[1]),kr=2;kr<Br;kr+=6)this.globalData.canvasContext.bezierCurveTo(Gr[kr],Gr[kr+1],Gr[kr+2],Gr[kr+3],Gr[kr+4],Gr[kr+5]);this.globalData.canvasContext.closePath(),Lr.ctxFill()}if(this.stroke){for(Zr&&Zr.sw?Nr!==Zr.sw&&(Nr=Zr.sw,Lr.ctxLineWidth(Zr.sw)):Nr!==this.values.sWidth&&(Nr=this.values.sWidth,Lr.ctxLineWidth(this.values.sWidth)),Zr&&Zr.sc?Xr!==Zr.sc&&(Xr=Zr.sc,Lr.ctxStrokeStyle(Zr.sc)):Xr!==this.values.stroke&&(Xr=this.values.stroke,Lr.ctxStrokeStyle(this.values.stroke)),Or=this.textSpans[lr].elem,wr=Or.length,this.globalData.canvasContext.beginPath(),Sr=0;Sr<wr;Sr+=1)for(Gr=Or[Sr],Br=Gr.length,this.globalData.canvasContext.moveTo(Gr[0],Gr[1]),kr=2;kr<Br;kr+=6)this.globalData.canvasContext.bezierCurveTo(Gr[kr],Gr[kr+1],Gr[kr+2],Gr[kr+3],Gr[kr+4],Gr[kr+5]);this.globalData.canvasContext.closePath(),Lr.ctxStroke()}Zr&&this.globalData.renderer.restore()}};function ys(er,lr,mr){this.assetData=lr.getAssetData(er.refId),this.img=lr.imageLoader.getAsset(this.assetData),this.initElement(er,lr,mr)}nr([En,La,Ss,Ln,Za,Kn],ys),ys.prototype.initElement=ba.prototype.initElement,ys.prototype.prepareFrame=Qa.prototype.prepareFrame,ys.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var er=gr("canvas");er.width=this.assetData.w,er.height=this.assetData.h;var lr=er.getContext("2d"),mr=this.img.width,Sr=this.img.height,wr=mr/Sr,kr=this.assetData.w/this.assetData.h,Br,Yr,Hr=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;wr>kr&&Hr==="xMidYMid slice"||wr<kr&&Hr!=="xMidYMid slice"?(Yr=Sr,Br=Yr*kr):(Br=mr,Yr=Br/kr),lr.drawImage(this.img,(mr-Br)/2,(Sr-Yr)/2,Br,Yr,0,0,this.assetData.w,this.assetData.h),this.img=er}},ys.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},ys.prototype.destroy=function(){this.img=null};function hr(er,lr,mr){this.initElement(er,lr,mr)}nr([En,La,Ss,Ln,Za,Kn],hr),hr.prototype.initElement=ba.prototype.initElement,hr.prototype.prepareFrame=Qa.prototype.prepareFrame,hr.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function _r(){}nr([Sa],_r),_r.prototype.createShape=function(er){return new ks(er,this.globalData,this)},_r.prototype.createText=function(er){return new Ls(er,this.globalData,this)},_r.prototype.createImage=function(er){return new ys(er,this.globalData,this)},_r.prototype.createSolid=function(er){return new hr(er,this.globalData,this)},_r.prototype.createNull=jn.prototype.createNull,_r.prototype.ctxTransform=function(er){er[0]===1&&er[1]===0&&er[4]===0&&er[5]===1&&er[12]===0&&er[13]===0||this.canvasContext.transform(er[0],er[1],er[4],er[5],er[12],er[13])},_r.prototype.ctxOpacity=function(er){this.canvasContext.globalAlpha*=er<0?0:er},_r.prototype.ctxFillStyle=function(er){this.canvasContext.fillStyle=er},_r.prototype.ctxStrokeStyle=function(er){this.canvasContext.strokeStyle=er},_r.prototype.ctxLineWidth=function(er){this.canvasContext.lineWidth=er},_r.prototype.ctxLineCap=function(er){this.canvasContext.lineCap=er},_r.prototype.ctxLineJoin=function(er){this.canvasContext.lineJoin=er},_r.prototype.ctxMiterLimit=function(er){this.canvasContext.miterLimit=er},_r.prototype.ctxFill=function(er){this.canvasContext.fill(er)},_r.prototype.ctxFillRect=function(er,lr,mr,Sr){this.canvasContext.fillRect(er,lr,mr,Sr)},_r.prototype.ctxStroke=function(){this.canvasContext.stroke()},_r.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},_r.prototype.save=function(){this.canvasContext.save()},_r.prototype.restore=function(er){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}er&&(this.globalData.blendMode="source-over"),this.contextData.restore(er)},_r.prototype.configAnimation=function(er){if(this.animationItem.wrapper){this.animationItem.container=gr("canvas");var lr=this.animationItem.container.style;lr.width="100%",lr.height="100%";var mr="0px 0px 0px";lr.transformOrigin=mr,lr.mozTransformOrigin=mr,lr.webkitTransformOrigin=mr,lr["-webkit-transform"]=mr,lr.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=er,this.layers=er.layers,this.transformCanvas={w:er.w,h:er.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(er,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=ur(er.layers.length),this.updateContainerSize()},_r.prototype.updateContainerSize=function(er,lr){this.reset();var mr,Sr;er?(mr=er,Sr=lr,this.canvasContext.canvas.width=mr,this.canvasContext.canvas.height=Sr):(this.animationItem.wrapper&&this.animationItem.container?(mr=this.animationItem.wrapper.offsetWidth,Sr=this.animationItem.wrapper.offsetHeight):(mr=this.canvasContext.canvas.width,Sr=this.canvasContext.canvas.height),this.canvasContext.canvas.width=mr*this.renderConfig.dpr,this.canvasContext.canvas.height=Sr*this.renderConfig.dpr);var wr,kr;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var Br=this.renderConfig.preserveAspectRatio.split(" "),Yr=Br[1]||"meet",Hr=Br[0]||"xMidYMid",Zr=Hr.substr(0,4),ss=Hr.substr(4);wr=mr/Sr,kr=this.transformCanvas.w/this.transformCanvas.h,kr>wr&&Yr==="meet"||kr<wr&&Yr==="slice"?(this.transformCanvas.sx=mr/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=mr/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=Sr/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=Sr/(this.transformCanvas.h/this.renderConfig.dpr)),Zr==="xMid"&&(kr<wr&&Yr==="meet"||kr>wr&&Yr==="slice")?this.transformCanvas.tx=(mr-this.transformCanvas.w*(Sr/this.transformCanvas.h))/2*this.renderConfig.dpr:Zr==="xMax"&&(kr<wr&&Yr==="meet"||kr>wr&&Yr==="slice")?this.transformCanvas.tx=(mr-this.transformCanvas.w*(Sr/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,ss==="YMid"&&(kr>wr&&Yr==="meet"||kr<wr&&Yr==="slice")?this.transformCanvas.ty=(Sr-this.transformCanvas.h*(mr/this.transformCanvas.w))/2*this.renderConfig.dpr:ss==="YMax"&&(kr>wr&&Yr==="meet"||kr<wr&&Yr==="slice")?this.transformCanvas.ty=(Sr-this.transformCanvas.h*(mr/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=mr/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=Sr/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},_r.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var er,lr=this.layers?this.layers.length:0;for(er=lr-1;er>=0;er-=1)this.elements[er]&&this.elements[er].destroy&&this.elements[er].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},_r.prototype.renderFrame=function(er,lr){if(!(this.renderedFrame===er&&this.renderConfig.clearCanvas===!0&&!lr||this.destroyed||er===-1)){this.renderedFrame=er,this.globalData.frameNum=er-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||lr,this.globalData.projectInterface.currentFrame=er;var mr,Sr=this.layers.length;for(this.completeLayers||this.checkLayers(er),mr=Sr-1;mr>=0;mr-=1)(this.completeLayers||this.elements[mr])&&this.elements[mr].prepareFrame(er-this.layers[mr].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),mr=Sr-1;mr>=0;mr-=1)(this.completeLayers||this.elements[mr])&&this.elements[mr].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},_r.prototype.buildItem=function(er){var lr=this.elements;if(!(lr[er]||this.layers[er].ty===99)){var mr=this.createItem(this.layers[er],this,this.globalData);lr[er]=mr,mr.initExpressions()}},_r.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var er=this.pendingElements.pop();er.checkParenting()}},_r.prototype.hide=function(){this.animationItem.container.style.display="none"},_r.prototype.show=function(){this.animationItem.container.style.display="block"};function xr(){this.opacity=-1,this.transform=cr("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function Dr(){this.stack=[],this.cArrPos=0,this.cTr=new Pa;var er,lr=15;for(er=0;er<lr;er+=1){var mr=new xr;this.stack[er]=mr}this._length=lr,this.nativeContext=null,this.transformMat=new Pa,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}Dr.prototype.duplicate=function(){var er=this._length*2,lr=0;for(lr=this._length;lr<er;lr+=1)this.stack[lr]=new xr;this._length=er},Dr.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},Dr.prototype.restore=function(er){this.cArrPos-=1;var lr=this.stack[this.cArrPos],mr=lr.transform,Sr,wr=this.cTr.props;for(Sr=0;Sr<16;Sr+=1)wr[Sr]=mr[Sr];if(er){this.nativeContext.restore();var kr=this.stack[this.cArrPos+1];this.appliedFillStyle=kr.fillStyle,this.appliedStrokeStyle=kr.strokeStyle,this.appliedLineWidth=kr.lineWidth,this.appliedLineCap=kr.lineCap,this.appliedLineJoin=kr.lineJoin,this.appliedMiterLimit=kr.miterLimit}this.nativeContext.setTransform(mr[0],mr[1],mr[4],mr[5],mr[12],mr[13]),(er||lr.opacity!==-1&&this.currentOpacity!==lr.opacity)&&(this.nativeContext.globalAlpha=lr.opacity,this.currentOpacity=lr.opacity),this.currentFillStyle=lr.fillStyle,this.currentStrokeStyle=lr.strokeStyle,this.currentLineWidth=lr.lineWidth,this.currentLineCap=lr.lineCap,this.currentLineJoin=lr.lineJoin,this.currentMiterLimit=lr.miterLimit},Dr.prototype.save=function(er){er&&this.nativeContext.save();var lr=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var mr=this.stack[this.cArrPos],Sr;for(Sr=0;Sr<16;Sr+=1)mr.transform[Sr]=lr[Sr];this.cArrPos+=1;var wr=this.stack[this.cArrPos];wr.opacity=mr.opacity,wr.fillStyle=mr.fillStyle,wr.strokeStyle=mr.strokeStyle,wr.lineWidth=mr.lineWidth,wr.lineCap=mr.lineCap,wr.lineJoin=mr.lineJoin,wr.miterLimit=mr.miterLimit},Dr.prototype.setOpacity=function(er){this.stack[this.cArrPos].opacity=er},Dr.prototype.setContext=function(er){this.nativeContext=er},Dr.prototype.fillStyle=function(er){this.stack[this.cArrPos].fillStyle!==er&&(this.currentFillStyle=er,this.stack[this.cArrPos].fillStyle=er)},Dr.prototype.strokeStyle=function(er){this.stack[this.cArrPos].strokeStyle!==er&&(this.currentStrokeStyle=er,this.stack[this.cArrPos].strokeStyle=er)},Dr.prototype.lineWidth=function(er){this.stack[this.cArrPos].lineWidth!==er&&(this.currentLineWidth=er,this.stack[this.cArrPos].lineWidth=er)},Dr.prototype.lineCap=function(er){this.stack[this.cArrPos].lineCap!==er&&(this.currentLineCap=er,this.stack[this.cArrPos].lineCap=er)},Dr.prototype.lineJoin=function(er){this.stack[this.cArrPos].lineJoin!==er&&(this.currentLineJoin=er,this.stack[this.cArrPos].lineJoin=er)},Dr.prototype.miterLimit=function(er){this.stack[this.cArrPos].miterLimit!==er&&(this.currentMiterLimit=er,this.stack[this.cArrPos].miterLimit=er)},Dr.prototype.transform=function(er){this.transformMat.cloneFromProps(er);var lr=this.cTr;this.transformMat.multiply(lr),lr.cloneFromProps(this.transformMat.props);var mr=lr.props;this.nativeContext.setTransform(mr[0],mr[1],mr[4],mr[5],mr[12],mr[13])},Dr.prototype.opacity=function(er){var lr=this.stack[this.cArrPos].opacity;lr*=er<0?0:er,this.stack[this.cArrPos].opacity!==lr&&(this.currentOpacity!==er&&(this.nativeContext.globalAlpha=er,this.currentOpacity=er),this.stack[this.cArrPos].opacity=lr)},Dr.prototype.fill=function(er){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(er)},Dr.prototype.fillRect=function(er,lr,mr,Sr){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(er,lr,mr,Sr)},Dr.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function Vr(er,lr,mr){this.completeLayers=!1,this.layers=er.layers,this.pendingElements=[],this.elements=ur(this.layers.length),this.initElement(er,lr,mr),this.tm=er.tm?Gs.getProp(this,er.tm,0,lr.frameRate,this):{_placeholder:!0}}nr([_r,qa,Ss],Vr),Vr.prototype.renderInnerContent=function(){var er=this.canvasContext;er.beginPath(),er.moveTo(0,0),er.lineTo(this.data.w,0),er.lineTo(this.data.w,this.data.h),er.lineTo(0,this.data.h),er.lineTo(0,0),er.clip();var lr,mr=this.layers.length;for(lr=mr-1;lr>=0;lr-=1)(this.completeLayers||this.elements[lr])&&this.elements[lr].renderFrame()},Vr.prototype.destroy=function(){var er,lr=this.layers.length;for(er=lr-1;er>=0;er-=1)this.elements[er]&&this.elements[er].destroy();this.layers=null,this.elements=null},Vr.prototype.createComp=function(er){return new Vr(er,this.globalData,this)};function Fr(er,lr){this.animationItem=er,this.renderConfig={clearCanvas:lr&&lr.clearCanvas!==void 0?lr.clearCanvas:!0,context:lr&&lr.context||null,progressiveLoad:lr&&lr.progressiveLoad||!1,preserveAspectRatio:lr&&lr.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:lr&&lr.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:lr&&lr.contentVisibility||"visible",className:lr&&lr.className||"",id:lr&&lr.id||"",runExpressions:!lr||lr.runExpressions===void 0||lr.runExpressions},this.renderConfig.dpr=lr&&lr.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=lr&&lr.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new Dr,this.elements=[],this.pendingElements=[],this.transformMat=new Pa,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))}return nr([_r],Fr),Fr.prototype.createComp=function(er){return new Vr(er,this.globalData,this)},_a("canvas",Fr),kn.registerModifier("tm",Ba),kn.registerModifier("pb",Sn),kn.registerModifier("rp",Ja),kn.registerModifier("rd",ro),kn.registerModifier("zz",ao),kn.registerModifier("op",go),Zs})}),Ea=wa$1();const lottie_light_canvasB5UTTNXAPRI6IBWW=Object.freeze(Object.defineProperty({__proto__:null,default:Ea},Symbol.toStringTag,{value:"Module"}));var ut$1=u((exports,module)=>{typeof navigator<"u"&&function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.lottie=e())}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r=t.length,o;for(i=0;i<r;i+=1){o=t[i].prototype;for(var Zt in o)Object.prototype.hasOwnProperty.call(o,Zt)&&(e.prototype[Zt]=o[Zt])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].pause()},resume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].resume()},setRate:function(e){var i,r=this.audios.length;for(i=0;i<r;i+=1)this.audios[i].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(i,r){var o=0,Zt=[],tr;switch(i){case"int16":case"uint8c":tr=1;break;default:tr=1.1;break}for(o=0;o<r;o+=1)Zt.push(tr);return Zt}function e(i,r){return i==="float32"?new Float32Array(r):i==="int16"?new Int16Array(r):i==="uint8c"?new Uint8ClampedArray(r):t(i,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(e){return typeof e}:_typeof$6=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,i=t.length;for(e=0;e<i;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var i=createSizedArray(t.length),r,o=t.length;for(r=0;r<o;r+=1)i[r]=Math.abs(t[r]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function BMEnterFrameEvent(t,e,i,r){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,r){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,i){var r,o,Zt,tr,ar,ir,fr,gr;switch(tr=Math.floor(t*6),ar=t*6-tr,ir=i*(1-e),fr=i*(1-ar*e),gr=i*(1-(1-ar)*e),tr%6){case 0:r=i,o=gr,Zt=ir;break;case 1:r=fr,o=i,Zt=ir;break;case 2:r=ir,o=i,Zt=gr;break;case 3:r=ir,o=fr,Zt=i;break;case 4:r=gr,o=ir,Zt=i;break;case 5:r=i,o=ir,Zt=fr;break}return[r,o,Zt]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),o=Math.min(t,e,i),Zt=r-o,tr,ar=r===0?0:Zt/r,ir=r/255;switch(r){case o:tr=0;break;case t:tr=e-i+Zt*(e<i?6:0),tr/=6*Zt;break;case e:tr=i-t+Zt*2,tr/=6*Zt;break;case i:tr=t-e+Zt*4,tr/=6*Zt;break}return[tr,ar,ir]}function addSaturationToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}(function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(r,o,Zt){return r<0&&(r=0),o<0&&(o=0),Zt<0&&(Zt=0),"#"+t[r]+t[o]+t[Zt]}})();var setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(e){return typeof e}:_typeof$5=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(t)}var dataManager=function(){var t=1,e=[],i,r,o={onmessage:function(){},postMessage:function(rr){i({data:rr})}},Zt={postMessage:function(rr){o.onmessage({data:rr})}};function tr(rr){if(window.Worker&&window.Blob&&getWebWorker()){var vr=new Blob(["var _workerSelf = self; self.onmessage = ",rr.toString()],{type:"text/javascript"}),cr=URL.createObjectURL(vr);return new Worker(cr)}return i=rr,o}function ar(){r||(r=tr(function(rr){function vr(){function ur(is,cs){var Ar,Tr,yr=is.length,Mr,Ur,jr,Vs;for(Tr=0;Tr<yr;Tr+=1)if(Ar=is[Tr],"ks"in Ar&&!Ar.completed){if(Ar.completed=!0,Ar.hasMask){var Ts=Ar.masksProperties;for(Ur=Ts.length,Mr=0;Mr<Ur;Mr+=1)if(Ts[Mr].pt.k.i)dr(Ts[Mr].pt.k);else for(Vs=Ts[Mr].pt.k.length,jr=0;jr<Vs;jr+=1)Ts[Mr].pt.k[jr].s&&dr(Ts[Mr].pt.k[jr].s[0]),Ts[Mr].pt.k[jr].e&&dr(Ts[Mr].pt.k[jr].e[0])}Ar.ty===0?(Ar.layers=sr(Ar.refId,cs),ur(Ar.layers,cs)):Ar.ty===4?pr(Ar.shapes):Ar.ty===5&&os(Ar)}}function Er(is,cs){if(is){var Ar=0,Tr=is.length;for(Ar=0;Ar<Tr;Ar+=1)is[Ar].t===1&&(is[Ar].data.layers=sr(is[Ar].data.refId,cs),ur(is[Ar].data.layers,cs))}}function or(is,cs){for(var Ar=0,Tr=cs.length;Ar<Tr;){if(cs[Ar].id===is)return cs[Ar];Ar+=1}return null}function sr(is,cs){var Ar=or(is,cs);return Ar?Ar.layers.__used?JSON.parse(JSON.stringify(Ar.layers)):(Ar.layers.__used=!0,Ar.layers):null}function pr(is){var cs,Ar=is.length,Tr,yr;for(cs=Ar-1;cs>=0;cs-=1)if(is[cs].ty==="sh")if(is[cs].ks.k.i)dr(is[cs].ks.k);else for(yr=is[cs].ks.k.length,Tr=0;Tr<yr;Tr+=1)is[cs].ks.k[Tr].s&&dr(is[cs].ks.k[Tr].s[0]),is[cs].ks.k[Tr].e&&dr(is[cs].ks.k[Tr].e[0]);else is[cs].ty==="gr"&&pr(is[cs].it)}function dr(is){var cs,Ar=is.i.length;for(cs=0;cs<Ar;cs+=1)is.i[cs][0]+=is.v[cs][0],is.i[cs][1]+=is.v[cs][1],is.o[cs][0]+=is.v[cs][0],is.o[cs][1]+=is.v[cs][1]}function Pr(is,cs){var Ar=cs?cs.split("."):[100,100,100];return is[0]>Ar[0]?!0:Ar[0]>is[0]?!1:is[1]>Ar[1]?!0:Ar[1]>is[1]?!1:is[2]>Ar[2]?!0:Ar[2]>is[2]?!1:null}var Ir=function(){var is=[4,4,14];function cs(Tr){var yr=Tr.t.d;Tr.t.d={k:[{s:yr,t:0}]}}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),zr=function(){var is=[4,7,99];return function(cs){if(cs.chars&&!Pr(is,cs.v)){var Ar,Tr=cs.chars.length;for(Ar=0;Ar<Tr;Ar+=1){var yr=cs.chars[Ar];yr.data&&yr.data.shapes&&(pr(yr.data.shapes),yr.data.ip=0,yr.data.op=99999,yr.data.st=0,yr.data.sr=1,yr.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},cs.chars[Ar].t||(yr.data.shapes.push({ty:"no"}),yr.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),$r=function(){var is=[5,7,15];function cs(Tr){var yr=Tr.t.p;typeof yr.a=="number"&&(yr.a={a:0,k:yr.a}),typeof yr.p=="number"&&(yr.p={a:0,k:yr.p}),typeof yr.r=="number"&&(yr.r={a:0,k:yr.r})}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),es=function(){var is=[4,1,9];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=0;yr<Mr;yr+=1)if(Tr[yr].ty==="gr")cs(Tr[yr].it);else if(Tr[yr].ty==="fl"||Tr[yr].ty==="st")if(Tr[yr].c.k&&Tr[yr].c.k[0].i)for(jr=Tr[yr].c.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].c.k[Ur].s&&(Tr[yr].c.k[Ur].s[0]/=255,Tr[yr].c.k[Ur].s[1]/=255,Tr[yr].c.k[Ur].s[2]/=255,Tr[yr].c.k[Ur].s[3]/=255),Tr[yr].c.k[Ur].e&&(Tr[yr].c.k[Ur].e[0]/=255,Tr[yr].c.k[Ur].e[1]/=255,Tr[yr].c.k[Ur].e[2]/=255,Tr[yr].c.k[Ur].e[3]/=255);else Tr[yr].c.k[0]/=255,Tr[yr].c.k[1]/=255,Tr[yr].c.k[2]/=255,Tr[yr].c.k[3]/=255}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===4&&cs(Tr[yr].shapes)}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),hs=function(){var is=[4,4,18];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=Mr-1;yr>=0;yr-=1)if(Tr[yr].ty==="sh")if(Tr[yr].ks.k.i)Tr[yr].ks.k.c=Tr[yr].closed;else for(jr=Tr[yr].ks.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].ks.k[Ur].s&&(Tr[yr].ks.k[Ur].s[0].c=Tr[yr].closed),Tr[yr].ks.k[Ur].e&&(Tr[yr].ks.k[Ur].e[0].c=Tr[yr].closed);else Tr[yr].ty==="gr"&&cs(Tr[yr].it)}function Ar(Tr){var yr,Mr,Ur=Tr.length,jr,Vs,Ts,Ns;for(Mr=0;Mr<Ur;Mr+=1){if(yr=Tr[Mr],yr.hasMask){var Bs=yr.masksProperties;for(Vs=Bs.length,jr=0;jr<Vs;jr+=1)if(Bs[jr].pt.k.i)Bs[jr].pt.k.c=Bs[jr].cl;else for(Ns=Bs[jr].pt.k.length,Ts=0;Ts<Ns;Ts+=1)Bs[jr].pt.k[Ts].s&&(Bs[jr].pt.k[Ts].s[0].c=Bs[jr].cl),Bs[jr].pt.k[Ts].e&&(Bs[jr].pt.k[Ts].e[0].c=Bs[jr].cl)}yr.ty===4&&cs(yr.shapes)}}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}();function ps(is){is.__complete||(es(is),Ir(is),zr(is),$r(is),hs(is),ur(is.layers,is.assets),Er(is.chars,is.assets),is.__complete=!0)}function os(is){is.t.a.length===0&&"m"in is.t.p}var xs={};return xs.completeData=ps,xs.checkColors=es,xs.checkChars=zr,xs.checkPathProperties=$r,xs.checkShapes=hs,xs.completeLayers=ur,xs}if(Zt.dataManager||(Zt.dataManager=vr()),Zt.assetLoader||(Zt.assetLoader=function(){function ur(or){var sr=or.getResponseHeader("content-type");return sr&&or.responseType==="json"&&sr.indexOf("json")!==-1||or.response&&_typeof$5(or.response)==="object"?or.response:or.response&&typeof or.response=="string"?JSON.parse(or.response):or.responseText?JSON.parse(or.responseText):null}function Er(or,sr,pr,dr){var Pr,Ir=new XMLHttpRequest;try{Ir.responseType="json"}catch{}Ir.onreadystatechange=function(){if(Ir.readyState===4)if(Ir.status===200)Pr=ur(Ir),pr(Pr);else try{Pr=ur(Ir),pr(Pr)}catch(zr){dr&&dr(zr)}};try{Ir.open(["G","E","T"].join(""),or,!0)}catch{Ir.open(["G","E","T"].join(""),sr+"/"+or,!0)}Ir.send()}return{load:Er}}()),rr.data.type==="loadAnimation")Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.dataManager.completeData(ur),Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})});else if(rr.data.type==="complete"){var cr=rr.data.animation;Zt.dataManager.completeData(cr),Zt.postMessage({id:rr.data.id,payload:cr,status:"success"})}else rr.data.type==="loadData"&&Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})})}),r.onmessage=function(rr){var vr=rr.data,cr=vr.id,ur=e[cr];e[cr]=null,vr.status==="success"?ur.onComplete(vr.payload):ur.onError&&ur.onError()})}function ir(rr,vr){t+=1;var cr="processId_"+t;return e[cr]={onComplete:rr,onError:vr},cr}function fr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadAnimation",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function gr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadData",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function nr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"complete",animation:rr,id:ur})}return{loadAnimation:fr,loadData:gr,completeAnimation:nr}}(),ImagePreloader=function(){var t=function(){var or=createTag("canvas");or.width=1,or.height=1;var sr=or.getContext("2d");return sr.fillStyle="rgba(0,0,0,0)",sr.fillRect(0,0,1,1),or}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(or,sr,pr){var dr="";if(or.e)dr=or.p;else if(sr){var Pr=or.p;Pr.indexOf("images/")!==-1&&(Pr=Pr.split("/")[1]),dr=sr+Pr}else dr=pr,dr+=or.u?or.u:"",dr+=or.p;return dr}function o(or){var sr=0,pr=setInterval(function(){var dr=or.getBBox();(dr.width||sr>500)&&(this._imageLoaded(),clearInterval(pr)),sr+=1}.bind(this),50)}function Zt(or){var sr=r(or,this.assetsPath,this.path),pr=createNS("image");isSafari?this.testImageLoaded(pr):pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.setAttributeNS("http://www.w3.org/1999/xlink","href",sr),this._elementHelper.append?this._elementHelper.append(pr):this._elementHelper.appendChild(pr);var dr={img:pr,assetData:or};return dr}function tr(or){var sr=r(or,this.assetsPath,this.path),pr=createTag("img");pr.crossOrigin="anonymous",pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.src=sr;var dr={img:pr,assetData:or};return dr}function ar(or){var sr={assetData:or},pr=r(or,this.assetsPath,this.path);return dataManager.loadData(pr,function(dr){sr.img=dr,this._footageLoaded()}.bind(this),function(){sr.img={},this._footageLoaded()}.bind(this)),sr}function ir(or,sr){this.imagesLoadedCb=sr;var pr,dr=or.length;for(pr=0;pr<dr;pr+=1)or[pr].layers||(!or[pr].t||or[pr].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(or[pr]))):or[pr].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(or[pr]))))}function fr(or){this.path=or||""}function gr(or){this.assetsPath=or||""}function nr(or){for(var sr=0,pr=this.images.length;sr<pr;){if(this.images[sr].assetData===or)return this.images[sr].img;sr+=1}return null}function rr(){this.imagesLoadedCb=null,this.images.length=0}function vr(){return this.totalImages===this.loadedAssets}function cr(){return this.totalFootages===this.loadedFootagesCount}function ur(or,sr){or==="svg"?(this._elementHelper=sr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Er(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=ar.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Er.prototype={loadAssets:ir,setAssetsPath:gr,setPath:fr,loadedImages:vr,loadedFootages:cr,destroy:rr,getAsset:nr,createImgData:tr,createImageData:Zt,imageLoaded:e,footageLoaded:i,setCacheType:ur},Er}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],r=0;r<i.length;r+=1)i[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,r=this._cbs[t].length;i<r;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,r-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function t(e){for(var i=e.split(`\r
850`),r={},o,Zt=0,tr=0;tr<i.length;tr+=1)o=i[tr].split(":"),o.length===2&&(r[o[0]]=o[1].trim(),Zt+=1);if(Zt===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var o=e[r],Zt={time:o.tm,duration:o.dr};try{Zt.payload=JSON.parse(e[r].cm)}catch{try{Zt.payload=t(e[r].cm)}catch{Zt.payload={name:e[r].cm}}}i.push(Zt)}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var r=0,o=this.compositions.length;r<o;){if(this.compositions[r].data&&this.compositions[r].data.nm===i)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(e){return typeof e}:_typeof$4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},r=t.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";o==="false"?i.loop=!1:o==="true"?i.loop=!0:o!==""&&(i.loop=parseInt(o,10));var Zt=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;i.autoplay=Zt!=="false",i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var tr=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";tr==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,r=e.length,o=t.layers,Zt,tr=o.length;for(Zt=0;Zt<tr;Zt+=1)for(i=0;i<r;){if(e[i].id===o[Zt].id){e[i]=o[Zt];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,i=0;i<r;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,r=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.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,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&this.goToAndStop(o.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(r,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!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):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var i,r=t.length;for(i=0;i<r;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,i){try{var r=this.renderer.getElementByPath(t);r.updateDocumentData(e,i)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,r=0,o=0,Zt=!0,tr=!1;function ar(Ar){for(var Tr=0,yr=Ar.target;Tr<r;)e[Tr].animation===yr&&(e.splice(Tr,1),Tr-=1,r-=1,yr.isPaused||nr()),Tr+=1}function ir(Ar,Tr){if(!Ar)return null;for(var yr=0;yr<r;){if(e[yr].elem===Ar&&e[yr].elem!==null)return e[yr].animation;yr+=1}var Mr=new AnimationItem;return rr(Mr,Ar),Mr.setData(Ar,Tr),Mr}function fr(){var Ar,Tr=e.length,yr=[];for(Ar=0;Ar<Tr;Ar+=1)yr.push(e[Ar].animation);return yr}function gr(){o+=1,hs()}function nr(){o-=1}function rr(Ar,Tr){Ar.addEventListener("destroy",ar),Ar.addEventListener("_active",gr),Ar.addEventListener("_idle",nr),e.push({elem:Tr,animation:Ar}),r+=1}function vr(Ar){var Tr=new AnimationItem;return rr(Tr,null),Tr.setParams(Ar),Tr}function cr(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setSpeed(Ar,Tr)}function ur(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setDirection(Ar,Tr)}function Er(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.play(Ar)}function or(Ar){var Tr=Ar-i,yr;for(yr=0;yr<r;yr+=1)e[yr].animation.advanceTime(Tr);i=Ar,o&&!tr?window.requestAnimationFrame(or):Zt=!0}function sr(Ar){i=Ar,window.requestAnimationFrame(or)}function pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.pause(Ar)}function dr(Ar,Tr,yr){var Mr;for(Mr=0;Mr<r;Mr+=1)e[Mr].animation.goToAndStop(Ar,Tr,yr)}function Pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.stop(Ar)}function Ir(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.togglePause(Ar)}function zr(Ar){var Tr;for(Tr=r-1;Tr>=0;Tr-=1)e[Tr].animation.destroy(Ar)}function $r(Ar,Tr,yr){var Mr=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Ur,jr=Mr.length;for(Ur=0;Ur<jr;Ur+=1)yr&&Mr[Ur].setAttribute("data-bm-type",yr),ir(Mr[Ur],Ar);if(Tr&&jr===0){yr||(yr="svg");var Vs=document.getElementsByTagName("body")[0];Vs.innerText="";var Ts=createTag("div");Ts.style.width="100%",Ts.style.height="100%",Ts.setAttribute("data-bm-type",yr),Vs.appendChild(Ts),ir(Ts,Ar)}}function es(){var Ar;for(Ar=0;Ar<r;Ar+=1)e[Ar].animation.resize()}function hs(){!tr&&o&&Zt&&(window.requestAnimationFrame(sr),Zt=!1)}function ps(){tr=!0}function os(){tr=!1,hs()}function xs(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setVolume(Ar,Tr)}function is(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.mute(Ar)}function cs(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.unmute(Ar)}return t.registerAnimation=ir,t.loadAnimation=vr,t.setSpeed=cr,t.setDirection=ur,t.play=Er,t.pause=pr,t.stop=Pr,t.togglePause=Ir,t.searchAnimations=$r,t.resize=es,t.goToAndStop=dr,t.destroy=zr,t.freeze=ps,t.unfreeze=os,t.setVolume=xs,t.mute=is,t.unmute=cs,t.getRegisteredAnimations=fr,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(sr,pr,dr,Pr,Ir){var zr=Ir||("bez_"+sr+"_"+pr+"_"+dr+"_"+Pr).replace(/\./g,"p");if(e[zr])return e[zr];var $r=new or([sr,pr,dr,Pr]);return e[zr]=$r,$r}var r=4,o=.001,Zt=1e-7,tr=10,ar=11,ir=1/(ar-1),fr=typeof Float32Array=="function";function gr(sr,pr){return 1-3*pr+3*sr}function nr(sr,pr){return 3*pr-6*sr}function rr(sr){return 3*sr}function vr(sr,pr,dr){return((gr(pr,dr)*sr+nr(pr,dr))*sr+rr(pr))*sr}function cr(sr,pr,dr){return 3*gr(pr,dr)*sr*sr+2*nr(pr,dr)*sr+rr(pr)}function ur(sr,pr,dr,Pr,Ir){var zr,$r,es=0;do $r=pr+(dr-pr)/2,zr=vr($r,Pr,Ir)-sr,zr>0?dr=$r:pr=$r;while(Math.abs(zr)>Zt&&++es<tr);return $r}function Er(sr,pr,dr,Pr){for(var Ir=0;Ir<r;++Ir){var zr=cr(pr,dr,Pr);if(zr===0)return pr;var $r=vr(pr,dr,Pr)-sr;pr-=$r/zr}return pr}function or(sr){this._p=sr,this._mSampleValues=fr?new Float32Array(ar):new Array(ar),this._precomputed=!1,this.get=this.get.bind(this)}return or.prototype={get:function(sr){var pr=this._p[0],dr=this._p[1],Pr=this._p[2],Ir=this._p[3];return this._precomputed||this._precompute(),pr===dr&&Pr===Ir?sr:sr===0?0:sr===1?1:vr(this._getTForX(sr),dr,Ir)},_precompute:function(){var sr=this._p[0],pr=this._p[1],dr=this._p[2],Pr=this._p[3];this._precomputed=!0,(sr!==pr||dr!==Pr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var sr=this._p[0],pr=this._p[2],dr=0;dr<ar;++dr)this._mSampleValues[dr]=vr(dr*ir,sr,pr)},_getTForX:function(sr){for(var pr=this._p[0],dr=this._p[2],Pr=this._mSampleValues,Ir=0,zr=1,$r=ar-1;zr!==$r&&Pr[zr]<=sr;++zr)Ir+=ir;--zr;var es=(sr-Pr[zr])/(Pr[zr+1]-Pr[zr]),hs=Ir+es*ir,ps=cr(hs,pr,dr);return ps>=o?Er(sr,hs,pr,dr):ps===0?hs:ur(sr,Ir,Ir+ir,pr,dr)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){var r=0,o=t,Zt=createSizedArray(o),tr={newElement:ar,release:ir};function ar(){var fr;return r?(r-=1,fr=Zt[r]):fr=e(),fr}function ir(fr){r===o&&(Zt=pooling.double(Zt),o*=2),i&&i(fr),Zt[r]=fr,r+=1}return tr}}(),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(i){var r,o=i.lengths.length;for(r=0;r<o;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(rr,vr,cr,ur,Er,or){var sr=rr*ur+vr*Er+cr*or-Er*ur-or*rr-cr*vr;return sr>-.001&&sr<.001}function i(rr,vr,cr,ur,Er,or,sr,pr,dr){if(cr===0&&or===0&&dr===0)return e(rr,vr,ur,Er,sr,pr);var Pr=t.sqrt(t.pow(ur-rr,2)+t.pow(Er-vr,2)+t.pow(or-cr,2)),Ir=t.sqrt(t.pow(sr-rr,2)+t.pow(pr-vr,2)+t.pow(dr-cr,2)),zr=t.sqrt(t.pow(sr-ur,2)+t.pow(pr-Er,2)+t.pow(dr-or,2)),$r;return Pr>Ir?Pr>zr?$r=Pr-Ir-zr:$r=zr-Ir-Pr:zr>Ir?$r=zr-Ir-Pr:$r=Ir-Pr-zr,$r>-1e-4&&$r<1e-4}var r=function(){return function(rr,vr,cr,ur){var Er=getDefaultCurveSegments(),or,sr,pr,dr,Pr,Ir=0,zr,$r=[],es=[],hs=bezierLengthPool.newElement();for(pr=cr.length,or=0;or<Er;or+=1){for(Pr=or/(Er-1),zr=0,sr=0;sr<pr;sr+=1)dr=bmPow(1-Pr,3)*rr[sr]+3*bmPow(1-Pr,2)*Pr*cr[sr]+3*(1-Pr)*bmPow(Pr,2)*ur[sr]+bmPow(Pr,3)*vr[sr],$r[sr]=dr,es[sr]!==null&&(zr+=bmPow($r[sr]-es[sr],2)),es[sr]=$r[sr];zr&&(zr=bmSqrt(zr),Ir+=zr),hs.percents[or]=Pr,hs.lengths[or]=Ir}return hs.addedLength=Ir,hs}}();function o(rr){var vr=segmentsLengthPool.newElement(),cr=rr.c,ur=rr.v,Er=rr.o,or=rr.i,sr,pr=rr._length,dr=vr.lengths,Pr=0;for(sr=0;sr<pr-1;sr+=1)dr[sr]=r(ur[sr],ur[sr+1],Er[sr],or[sr+1]),Pr+=dr[sr].addedLength;return cr&&pr&&(dr[sr]=r(ur[sr],ur[0],Er[sr],or[0]),Pr+=dr[sr].addedLength),vr.totalLength=Pr,vr}function Zt(rr){this.segmentLength=0,this.points=new Array(rr)}function tr(rr,vr){this.partialLength=rr,this.point=vr}var ar=function(){var rr={};return function(vr,cr,ur,Er){var or=(vr[0]+"_"+vr[1]+"_"+cr[0]+"_"+cr[1]+"_"+ur[0]+"_"+ur[1]+"_"+Er[0]+"_"+Er[1]).replace(/\./g,"p");if(!rr[or]){var sr=getDefaultCurveSegments(),pr,dr,Pr,Ir,zr,$r=0,es,hs,ps=null;vr.length===2&&(vr[0]!==cr[0]||vr[1]!==cr[1])&&e(vr[0],vr[1],cr[0],cr[1],vr[0]+ur[0],vr[1]+ur[1])&&e(vr[0],vr[1],cr[0],cr[1],cr[0]+Er[0],cr[1]+Er[1])&&(sr=2);var os=new Zt(sr);for(Pr=ur.length,pr=0;pr<sr;pr+=1){for(hs=createSizedArray(Pr),zr=pr/(sr-1),es=0,dr=0;dr<Pr;dr+=1)Ir=bmPow(1-zr,3)*vr[dr]+3*bmPow(1-zr,2)*zr*(vr[dr]+ur[dr])+3*(1-zr)*bmPow(zr,2)*(cr[dr]+Er[dr])+bmPow(zr,3)*cr[dr],hs[dr]=Ir,ps!==null&&(es+=bmPow(hs[dr]-ps[dr],2));es=bmSqrt(es),$r+=es,os.points[pr]=new tr(es,hs),ps=hs}os.segmentLength=$r,rr[or]=os}return rr[or]}}();function ir(rr,vr){var cr=vr.percents,ur=vr.lengths,Er=cr.length,or=bmFloor((Er-1)*rr),sr=rr*vr.addedLength,pr=0;if(or===Er-1||or===0||sr===ur[or])return cr[or];for(var dr=ur[or]>sr?-1:1,Pr=!0;Pr;)if(ur[or]<=sr&&ur[or+1]>sr?(pr=(sr-ur[or])/(ur[or+1]-ur[or]),Pr=!1):or+=dr,or<0||or>=Er-1){if(or===Er-1)return cr[or];Pr=!1}return cr[or]+(cr[or+1]-cr[or])*pr}function fr(rr,vr,cr,ur,Er,or){var sr=ir(Er,or),pr=1-sr,dr=t.round((pr*pr*pr*rr[0]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[0]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[0]+sr*sr*sr*vr[0])*1e3)/1e3,Pr=t.round((pr*pr*pr*rr[1]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[1]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[1]+sr*sr*sr*vr[1])*1e3)/1e3;return[dr,Pr]}var gr=createTypedArray("float32",8);function nr(rr,vr,cr,ur,Er,or,sr){Er<0?Er=0:Er>1&&(Er=1);var pr=ir(Er,sr);or=or>1?1:or;var dr=ir(or,sr),Pr,Ir=rr.length,zr=1-pr,$r=1-dr,es=zr*zr*zr,hs=pr*zr*zr*3,ps=pr*pr*zr*3,os=pr*pr*pr,xs=zr*zr*$r,is=pr*zr*$r+zr*pr*$r+zr*zr*dr,cs=pr*pr*$r+zr*pr*dr+pr*zr*dr,Ar=pr*pr*dr,Tr=zr*$r*$r,yr=pr*$r*$r+zr*dr*$r+zr*$r*dr,Mr=pr*dr*$r+zr*dr*dr+pr*$r*dr,Ur=pr*dr*dr,jr=$r*$r*$r,Vs=dr*$r*$r+$r*dr*$r+$r*$r*dr,Ts=dr*dr*$r+$r*dr*dr+dr*$r*dr,Ns=dr*dr*dr;for(Pr=0;Pr<Ir;Pr+=1)gr[Pr*4]=t.round((es*rr[Pr]+hs*cr[Pr]+ps*ur[Pr]+os*vr[Pr])*1e3)/1e3,gr[Pr*4+1]=t.round((xs*rr[Pr]+is*cr[Pr]+cs*ur[Pr]+Ar*vr[Pr])*1e3)/1e3,gr[Pr*4+2]=t.round((Tr*rr[Pr]+yr*cr[Pr]+Mr*ur[Pr]+Ur*vr[Pr])*1e3)/1e3,gr[Pr*4+3]=t.round((jr*rr[Pr]+Vs*cr[Pr]+Ts*ur[Pr]+Ns*vr[Pr])*1e3)/1e3;return gr}return{getSegmentsLength:o,getNewSegment:nr,getPointInSegment:fr,buildBezierData:ar,pointOnLine2D:e,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var o=e.lastIndex,Zt=o,tr=this.keyframes.length-1,ar=!0,ir,fr,gr;ar;){if(ir=this.keyframes[Zt],fr=this.keyframes[Zt+1],Zt===tr-1&&t>=fr.t-i){ir.h&&(ir=fr),o=0;break}if(fr.t-i>t){o=Zt;break}Zt<tr-1?Zt+=1:(o=0,ar=!1)}gr=this.keyframesMetadata[Zt]||{};var nr,rr,vr,cr,ur,Er,or=fr.t-i,sr=ir.t-i,pr;if(ir.to){gr.bezierData||(gr.bezierData=bez.buildBezierData(ir.s,fr.s||ir.e,ir.to,ir.ti));var dr=gr.bezierData;if(t>=or||t<sr){var Pr=t>=or?dr.points.length-1:0;for(rr=dr.points[Pr].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[Pr].point[nr]}else{gr.__fnct?Er=gr.__fnct:(Er=BezierFactory.getBezierEasing(ir.o.x,ir.o.y,ir.i.x,ir.i.y,ir.n).get,gr.__fnct=Er),vr=Er((t-sr)/(or-sr));var Ir=dr.segmentLength*vr,zr,$r=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastAddedLength:0;for(ur=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastPoint:0,ar=!0,cr=dr.points.length;ar;){if($r+=dr.points[ur].partialLength,Ir===0||vr===0||ur===dr.points.length-1){for(rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr];break}else if(Ir>=$r&&Ir<$r+dr.points[ur+1].partialLength){for(zr=(Ir-$r)/dr.points[ur+1].partialLength,rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr]+(dr.points[ur+1].point[nr]-dr.points[ur].point[nr])*zr;break}ur<cr-1?ur+=1:ar=!1}e._lastPoint=ur,e._lastAddedLength=$r-dr.points[ur].partialLength,e._lastKeyframeIndex=Zt}}else{var es,hs,ps,os,xs;if(tr=ir.s.length,pr=fr.s||ir.e,this.sh&&ir.h!==1)if(t>=or)r[0]=pr[0],r[1]=pr[1],r[2]=pr[2];else if(t<=sr)r[0]=ir.s[0],r[1]=ir.s[1],r[2]=ir.s[2];else{var is=createQuaternion(ir.s),cs=createQuaternion(pr),Ar=(t-sr)/(or-sr);quaternionToEuler(r,slerp(is,cs,Ar))}else for(Zt=0;Zt<tr;Zt+=1)ir.h!==1&&(t>=or?vr=1:t<sr?vr=0:(ir.o.x.constructor===Array?(gr.__fnct||(gr.__fnct=[]),gr.__fnct[Zt]?Er=gr.__fnct[Zt]:(es=ir.o.x[Zt]===void 0?ir.o.x[0]:ir.o.x[Zt],hs=ir.o.y[Zt]===void 0?ir.o.y[0]:ir.o.y[Zt],ps=ir.i.x[Zt]===void 0?ir.i.x[0]:ir.i.x[Zt],os=ir.i.y[Zt]===void 0?ir.i.y[0]:ir.i.y[Zt],Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,gr.__fnct[Zt]=Er)):gr.__fnct?Er=gr.__fnct:(es=ir.o.x,hs=ir.o.y,ps=ir.i.x,os=ir.i.y,Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,ir.keyframeMetadata=Er),vr=Er((t-sr)/(or-sr)))),pr=fr.s||ir.e,xs=ir.h===1?ir.s[Zt]:ir.s[Zt]+(pr[Zt]-ir.s[Zt])*vr,this.propType==="multidimensional"?r[Zt]=xs:r=xs}return e.lastIndex=o,r}function slerp(t,e,i){var r=[],o=t[0],Zt=t[1],tr=t[2],ar=t[3],ir=e[0],fr=e[1],gr=e[2],nr=e[3],rr,vr,cr,ur,Er;return vr=o*ir+Zt*fr+tr*gr+ar*nr,vr<0&&(vr=-vr,ir=-ir,fr=-fr,gr=-gr,nr=-nr),1-vr>1e-6?(rr=Math.acos(vr),cr=Math.sin(rr),ur=Math.sin((1-i)*rr)/cr,Er=Math.sin(i*rr)/cr):(ur=1-i,Er=i),r[0]=ur*o+Er*ir,r[1]=ur*Zt+Er*fr,r[2]=ur*tr+Er*gr,r[3]=ur*ar+Er*nr,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],o=e[2],Zt=e[3],tr=Math.atan2(2*r*Zt-2*i*o,1-2*r*r-2*o*o),ar=Math.asin(2*i*r+2*o*Zt),ir=Math.atan2(2*i*Zt-2*r*o,1-2*i*i-2*o*o);t[0]=tr/degToRads,t[1]=ar/degToRads,t[2]=ir/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,o=Math.cos(e/2),Zt=Math.cos(i/2),tr=Math.cos(r/2),ar=Math.sin(e/2),ir=Math.sin(i/2),fr=Math.sin(r/2),gr=o*Zt*tr-ar*ir*fr,nr=ar*ir*tr+o*Zt*fr,rr=ar*Zt*tr+o*ir*fr,vr=o*ir*tr-ar*Zt*fr;return[nr,rr,vr,gr]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}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 i=0,r=this.v.length;i<r;)e=t[i]*this.mult,mathAbs(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=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,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,i,r){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,i,r){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,Zt=e.k.length;for(this.v=createTypedArray("float32",Zt),this.pv=createTypedArray("float32",Zt),this.vel=createTypedArray("float32",Zt),o=0;o<Zt;o+=1)this.v[o]=e.k[o]*this.mult,this.pv[o]=e.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,i,r){this.propType="multidimensional";var o,Zt=e.k.length,tr,ar,ir,fr;for(o=0;o<Zt-1;o+=1)e.k[o].to&&e.k[o].s&&e.k[o+1]&&e.k[o+1].s&&(tr=e.k[o].s,ar=e.k[o+1].s,ir=e.k[o].to,fr=e.k[o].ti,(tr.length===2&&!(tr[0]===ar[0]&&tr[1]===ar[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],tr[0]+ir[0],tr[1]+ir[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],ar[0]+fr[0],ar[1]+fr[1])||tr.length===3&&!(tr[0]===ar[0]&&tr[1]===ar[1]&&tr[2]===ar[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],tr[0]+ir[0],tr[1]+ir[1],tr[2]+ir[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],ar[0]+fr[0],ar[1]+fr[1],ar[2]+fr[2]))&&(e.k[o].to=null,e.k[o].ti=null),tr[0]===ar[0]&&tr[1]===ar[1]&&ir[0]===0&&ir[1]===0&&fr[0]===0&&fr[1]===0&&(tr.length===2||tr[2]===ar[2]&&ir[2]===0&&fr[2]===0)&&(e.k[o].to=null,e.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var gr=e.k[0].s.length;for(this.v=createTypedArray("float32",gr),this.pv=createTypedArray("float32",gr),o=0;o<gr;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",gr)},this.addEffect=addEffect}var PropertyFactory=function(){function t(i,r,o,Zt,tr){r.sid&&(r=i.globalData.slotManager.getProp(r));var ar;if(!r.k.length)ar=new ValueProperty(i,r,Zt,tr);else if(typeof r.k[0]=="number")ar=new MultiDimensionalProperty(i,r,Zt,tr);else switch(o){case 0:ar=new KeyframedValueProperty(i,r,Zt,tr);break;case 1:ar=new KeyframedMultidimensionalProperty(i,r,Zt,tr);break}return ar.effectsSequence.length&&tr.addDynamicProperty(ar),ar}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,r,o){var Zt;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":Zt=this.v;break;case"i":Zt=this.i;break;case"o":Zt=this.o;break;default:Zt=[];break}(!Zt[r]||Zt[r]&&!o)&&(Zt[r]=pointPool.newElement()),Zt[r][0]=t,Zt[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,o,Zt,tr,ar){this.setXYAt(t,e,"v",tr,ar),this.setXYAt(i,r,"o",tr,ar),this.setXYAt(o,Zt,"i",tr,ar)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,o=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),o=1);var Zt=this._length-1,tr=this._length,ar;for(ar=o;ar<tr;ar+=1)t.setTripleAt(e[Zt][0],e[Zt][1],r[Zt][0],r[Zt][1],i[Zt][0],i[Zt][1],ar,!1),Zt-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(o){var Zt=o._length,tr;for(tr=0;tr<Zt;tr+=1)pointPool.release(o.v[tr]),pointPool.release(o.i[tr]),pointPool.release(o.o[tr]),o.v[tr]=null,o.i[tr]=null,o.o[tr]=null;o._length=0,o.c=!1}function i(o){var Zt=r.newElement(),tr,ar=o._length===void 0?o.v.length:o._length;for(Zt.setLength(ar),Zt.c=o.c,tr=0;tr<ar;tr+=1)Zt.setTripleAt(o.v[tr][0],o.v[tr][1],o.o[tr][0],o.o[tr][1],o.i[tr][0],o.i[tr][1],tr);return Zt}var r=poolFactory(4,t,e);return r.clone=i,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:o,release:Zt},e=0,i=4,r=createSizedArray(i);function o(){var tr;return e?(e-=1,tr=r[e]):tr=new ShapeCollection,tr}function Zt(tr){var ar,ir=tr._length;for(ar=0;ar<ir;ar+=1)shapePool.release(tr.shapes[ar]);tr._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=tr,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(or,sr,pr){var dr=pr.lastIndex,Pr,Ir,zr,$r,es,hs,ps,os,xs,is=this.keyframes;if(or<is[0].t-this.offsetTime)Pr=is[0].s[0],zr=!0,dr=0;else if(or>=is[is.length-1].t-this.offsetTime)Pr=is[is.length-1].s?is[is.length-1].s[0]:is[is.length-2].e[0],zr=!0;else{for(var cs=dr,Ar=is.length-1,Tr=!0,yr,Mr,Ur;Tr&&(yr=is[cs],Mr=is[cs+1],!(Mr.t-this.offsetTime>or));)cs<Ar-1?cs+=1:Tr=!1;if(Ur=this.keyframesMetadata[cs]||{},zr=yr.h===1,dr=cs,!zr){if(or>=Mr.t-this.offsetTime)os=1;else if(or<yr.t-this.offsetTime)os=0;else{var jr;Ur.__fnct?jr=Ur.__fnct:(jr=BezierFactory.getBezierEasing(yr.o.x,yr.o.y,yr.i.x,yr.i.y).get,Ur.__fnct=jr),os=jr((or-(yr.t-this.offsetTime))/(Mr.t-this.offsetTime-(yr.t-this.offsetTime)))}Ir=Mr.s?Mr.s[0]:yr.e[0]}Pr=yr.s[0]}for(hs=sr._length,ps=Pr.i[0].length,pr.lastIndex=dr,$r=0;$r<hs;$r+=1)for(es=0;es<ps;es+=1)xs=zr?Pr.i[$r][es]:Pr.i[$r][es]+(Ir.i[$r][es]-Pr.i[$r][es])*os,sr.i[$r][es]=xs,xs=zr?Pr.o[$r][es]:Pr.o[$r][es]+(Ir.o[$r][es]-Pr.o[$r][es])*os,sr.o[$r][es]=xs,xs=zr?Pr.v[$r][es]:Pr.v[$r][es]+(Ir.v[$r][es]-Pr.v[$r][es])*os,sr.v[$r][es]=xs}function i(){var or=this.comp.renderedFrame-this.offsetTime,sr=this.keyframes[0].t-this.offsetTime,pr=this.keyframes[this.keyframes.length-1].t-this.offsetTime,dr=this._caching.lastFrame;return dr!==t&&(dr<sr&&or<sr||dr>pr&&or>pr)||(this._caching.lastIndex=dr<or?this._caching.lastIndex:0,this.interpolateShape(or,this.pv,this._caching)),this._caching.lastFrame=or,this.pv}function r(){this.paths=this.localShapeCollection}function o(or,sr){if(or._length!==sr._length||or.c!==sr.c)return!1;var pr,dr=or._length;for(pr=0;pr<dr;pr+=1)if(or.v[pr][0]!==sr.v[pr][0]||or.v[pr][1]!==sr.v[pr][1]||or.o[pr][0]!==sr.o[pr][0]||or.o[pr][1]!==sr.o[pr][1]||or.i[pr][0]!==sr.i[pr][0]||or.i[pr][1]!==sr.i[pr][1])return!1;return!0}function Zt(or){o(this.v,or)||(this.v=shapePool.clone(or),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function tr(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var or;this.kf?or=this.pv:this.data.ks?or=this.data.ks.k:or=this.data.pt.k;var sr,pr=this.effectsSequence.length;for(sr=0;sr<pr;sr+=1)or=this.effectsSequence[sr](or);this.setVValue(or),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ar(or,sr,pr){this.propType="shape",this.comp=or.comp,this.container=or,this.elem=or,this.data=sr,this.k=!1,this.kf=!1,this._mdf=!1;var dr=pr===3?sr.pt.k:sr.ks.k;this.v=shapePool.clone(dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function ir(or){this.effectsSequence.push(or),this.container.addDynamicProperty(this)}ar.prototype.interpolateShape=e,ar.prototype.getValue=tr,ar.prototype.setVValue=Zt,ar.prototype.addEffect=ir;function fr(or,sr,pr){this.propType="shape",this.comp=or.comp,this.elem=or,this.container=or,this.offsetTime=or.data.st,this.keyframes=pr===3?sr.pt.k:sr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var dr=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}fr.prototype.getValue=tr,fr.prototype.interpolateShape=e,fr.prototype.setVValue=Zt,fr.prototype.addEffect=ir;var gr=function(){var or=roundCorner;function sr(pr,dr){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=dr.d,this.elem=pr,this.comp=pr.comp,this.frameId=-1,this.initDynamicPropertyContainer(pr),this.p=PropertyFactory.getProp(pr,dr.p,1,0,this),this.s=PropertyFactory.getProp(pr,dr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return sr.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var pr=this.p.v[0],dr=this.p.v[1],Pr=this.s.v[0]/2,Ir=this.s.v[1]/2,zr=this.d!==3,$r=this.v;$r.v[0][0]=pr,$r.v[0][1]=dr-Ir,$r.v[1][0]=zr?pr+Pr:pr-Pr,$r.v[1][1]=dr,$r.v[2][0]=pr,$r.v[2][1]=dr+Ir,$r.v[3][0]=zr?pr-Pr:pr+Pr,$r.v[3][1]=dr,$r.i[0][0]=zr?pr-Pr*or:pr+Pr*or,$r.i[0][1]=dr-Ir,$r.i[1][0]=zr?pr+Pr:pr-Pr,$r.i[1][1]=dr-Ir*or,$r.i[2][0]=zr?pr+Pr*or:pr-Pr*or,$r.i[2][1]=dr+Ir,$r.i[3][0]=zr?pr-Pr:pr+Pr,$r.i[3][1]=dr+Ir*or,$r.o[0][0]=zr?pr+Pr*or:pr-Pr*or,$r.o[0][1]=dr-Ir,$r.o[1][0]=zr?pr+Pr:pr-Pr,$r.o[1][1]=dr+Ir*or,$r.o[2][0]=zr?pr-Pr*or:pr+Pr*or,$r.o[2][1]=dr+Ir,$r.o[3][0]=zr?pr-Pr:pr+Pr,$r.o[3][1]=dr-Ir*or}},extendPrototype([DynamicPropertyContainer],sr),sr}(),nr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=sr,this.comp=sr.comp,this.data=pr,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),pr.sy===1?(this.ir=PropertyFactory.getProp(sr,pr.ir,0,0,this),this.is=PropertyFactory.getProp(sr,pr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(sr,pr.pt,0,0,this),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,degToRads,this),this.or=PropertyFactory.getProp(sr,pr.or,0,0,this),this.os=PropertyFactory.getProp(sr,pr.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return or.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var sr=Math.floor(this.pt.v)*2,pr=Math.PI*2/sr,dr=!0,Pr=this.or.v,Ir=this.ir.v,zr=this.os.v,$r=this.is.v,es=2*Math.PI*Pr/(sr*2),hs=2*Math.PI*Ir/(sr*2),ps,os,xs,is,cs=-Math.PI/2;cs+=this.r.v;var Ar=this.data.d===3?-1:1;for(this.v._length=0,ps=0;ps<sr;ps+=1){os=dr?Pr:Ir,xs=dr?zr:$r,is=dr?es:hs;var Tr=os*Math.cos(cs),yr=os*Math.sin(cs),Mr=Tr===0&&yr===0?0:yr/Math.sqrt(Tr*Tr+yr*yr),Ur=Tr===0&&yr===0?0:-Tr/Math.sqrt(Tr*Tr+yr*yr);Tr+=+this.p.v[0],yr+=+this.p.v[1],this.v.setTripleAt(Tr,yr,Tr-Mr*is*xs*Ar,yr-Ur*is*xs*Ar,Tr+Mr*is*xs*Ar,yr+Ur*is*xs*Ar,ps,!0),dr=!dr,cs+=pr*Ar}},convertPolygonToPath:function(){var sr=Math.floor(this.pt.v),pr=Math.PI*2/sr,dr=this.or.v,Pr=this.os.v,Ir=2*Math.PI*dr/(sr*4),zr,$r=-Math.PI*.5,es=this.data.d===3?-1:1;for($r+=this.r.v,this.v._length=0,zr=0;zr<sr;zr+=1){var hs=dr*Math.cos($r),ps=dr*Math.sin($r),os=hs===0&&ps===0?0:ps/Math.sqrt(hs*hs+ps*ps),xs=hs===0&&ps===0?0:-hs/Math.sqrt(hs*hs+ps*ps);hs+=+this.p.v[0],ps+=+this.p.v[1],this.v.setTripleAt(hs,ps,hs-os*Ir*Pr*es,ps-xs*Ir*Pr*es,hs+os*Ir*Pr*es,ps+xs*Ir*Pr*es,zr,!0),$r+=pr*es}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],or),or}(),rr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=sr,this.comp=sr.comp,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.s=PropertyFactory.getProp(sr,pr.s,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return or.prototype={convertRectToPath:function(){var sr=this.p.v[0],pr=this.p.v[1],dr=this.s.v[0]/2,Pr=this.s.v[1]/2,Ir=bmMin(dr,Pr,this.r.v),zr=Ir*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,0,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,sr+dr,pr+Pr-Ir,1,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,2,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,sr-dr+Ir,pr+Pr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,4,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,sr-dr,pr-Pr+Ir,5,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,6,!0),this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,sr+dr-Ir,pr-Pr,7,!0)):(this.v.setTripleAt(sr-dr,pr+Pr,sr-dr+zr,pr+Pr,sr-dr,pr+Pr,2),this.v.setTripleAt(sr-dr,pr-Pr,sr-dr,pr-Pr+zr,sr-dr,pr-Pr,3))):(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,sr+dr,pr-Pr+Ir,0,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,sr-dr+Ir,pr-Pr,2,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,sr-dr,pr+Pr-Ir,4,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,5,!0),this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,sr+dr-Ir,pr+Pr,6,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,7,!0)):(this.v.setTripleAt(sr-dr,pr-Pr,sr-dr+zr,pr-Pr,sr-dr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr,pr+Pr,sr-dr,pr+Pr-zr,sr-dr,pr+Pr,2,!0),this.v.setTripleAt(sr+dr,pr+Pr,sr+dr-zr,pr+Pr,sr+dr,pr+Pr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],or),or}();function vr(or,sr,pr){var dr;if(pr===3||pr===4){var Pr=pr===3?sr.pt:sr.ks,Ir=Pr.k;Ir.length?dr=new fr(or,sr,pr):dr=new ar(or,sr,pr)}else pr===5?dr=new rr(or,sr):pr===6?dr=new gr(or,sr):pr===7&&(dr=new nr(or,sr));return dr.k&&or.addDynamicProperty(dr),dr}function cr(){return ar}function ur(){return fr}var Er={};return Er.getShapeProp=vr,Er.getConstructorFunction=cr,Er.getKeyframedConstructorFunction=ur,Er}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Zt(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function tr(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(1,0,0,0,0,Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1)}function ar(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,0,Ur,0,0,1,0,0,-Ur,0,Mr,0,0,0,0,1)}function ir(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function fr(yr,Mr){return this._t(1,Mr,yr,1,0,0)}function gr(yr,Mr){return this.shear(i(yr),i(Mr))}function nr(yr,Mr){var Ur=t(Mr),jr=e(Mr);return this._t(Ur,jr,0,0,-jr,Ur,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(yr),1,0,0,0,0,1,0,0,0,0,1)._t(Ur,-jr,0,0,jr,Ur,0,0,0,0,1,0,0,0,0,1)}function rr(yr,Mr,Ur){return!Ur&&Ur!==0&&(Ur=1),yr===1&&Mr===1&&Ur===1?this:this._t(yr,0,0,0,0,Mr,0,0,0,0,Ur,0,0,0,0,1)}function vr(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){return this.props[0]=yr,this.props[1]=Mr,this.props[2]=Ur,this.props[3]=jr,this.props[4]=Vs,this.props[5]=Ts,this.props[6]=Ns,this.props[7]=Bs,this.props[8]=Ys,this.props[9]=Hs,this.props[10]=Qs,this.props[11]=na,this.props[12]=ra,this.props[13]=$s,this.props[14]=sa,this.props[15]=Rs,this}function cr(yr,Mr,Ur){return Ur=Ur||0,yr!==0||Mr!==0||Ur!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,yr,Mr,Ur,1):this}function ur(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){var Ms=this.props;if(yr===1&&Mr===0&&Ur===0&&jr===0&&Vs===0&&Ts===1&&Ns===0&&Bs===0&&Ys===0&&Hs===0&&Qs===1&&na===0)return Ms[12]=Ms[12]*yr+Ms[15]*ra,Ms[13]=Ms[13]*Ts+Ms[15]*$s,Ms[14]=Ms[14]*Qs+Ms[15]*sa,Ms[15]*=Rs,this._identityCalculated=!1,this;var ua=Ms[0],ka=Ms[1],ya=Ms[2],la=Ms[3],_a=Ms[4],ca=Ms[5],aa=Ms[6],da=Ms[7],js=Ms[8],Us=Ms[9],qs=Ms[10],ta=Ms[11],ga=Ms[12],Ha=Ms[13],Na=Ms[14],Ka=Ms[15];return Ms[0]=ua*yr+ka*Vs+ya*Ys+la*ra,Ms[1]=ua*Mr+ka*Ts+ya*Hs+la*$s,Ms[2]=ua*Ur+ka*Ns+ya*Qs+la*sa,Ms[3]=ua*jr+ka*Bs+ya*na+la*Rs,Ms[4]=_a*yr+ca*Vs+aa*Ys+da*ra,Ms[5]=_a*Mr+ca*Ts+aa*Hs+da*$s,Ms[6]=_a*Ur+ca*Ns+aa*Qs+da*sa,Ms[7]=_a*jr+ca*Bs+aa*na+da*Rs,Ms[8]=js*yr+Us*Vs+qs*Ys+ta*ra,Ms[9]=js*Mr+Us*Ts+qs*Hs+ta*$s,Ms[10]=js*Ur+Us*Ns+qs*Qs+ta*sa,Ms[11]=js*jr+Us*Bs+qs*na+ta*Rs,Ms[12]=ga*yr+Ha*Vs+Na*Ys+Ka*ra,Ms[13]=ga*Mr+Ha*Ts+Na*Hs+Ka*$s,Ms[14]=ga*Ur+Ha*Ns+Na*Qs+Ka*sa,Ms[15]=ga*jr+Ha*Bs+Na*na+Ka*Rs,this._identityCalculated=!1,this}function Er(yr){var Mr=yr.props;return this.transform(Mr[0],Mr[1],Mr[2],Mr[3],Mr[4],Mr[5],Mr[6],Mr[7],Mr[8],Mr[9],Mr[10],Mr[11],Mr[12],Mr[13],Mr[14],Mr[15])}function or(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function sr(yr){for(var Mr=0;Mr<16;){if(yr.props[Mr]!==this.props[Mr])return!1;Mr+=1}return!0}function pr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)yr.props[Mr]=this.props[Mr];return yr}function dr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)this.props[Mr]=yr[Mr]}function Pr(yr,Mr,Ur){return{x:yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],y:yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],z:yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}}function Ir(yr,Mr,Ur){return yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12]}function zr(yr,Mr,Ur){return yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13]}function $r(yr,Mr,Ur){return yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}function es(){var yr=this.props[0]*this.props[5]-this.props[1]*this.props[4],Mr=this.props[5]/yr,Ur=-this.props[1]/yr,jr=-this.props[4]/yr,Vs=this.props[0]/yr,Ts=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/yr,Ns=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/yr,Bs=new Matrix;return Bs.props[0]=Mr,Bs.props[1]=Ur,Bs.props[4]=jr,Bs.props[5]=Vs,Bs.props[12]=Ts,Bs.props[13]=Ns,Bs}function hs(yr){var Mr=this.getInverseMatrix();return Mr.applyToPointArray(yr[0],yr[1],yr[2]||0)}function ps(yr){var Mr,Ur=yr.length,jr=[];for(Mr=0;Mr<Ur;Mr+=1)jr[Mr]=hs(yr[Mr]);return jr}function os(yr,Mr,Ur){var jr=createTypedArray("float32",6);if(this.isIdentity())jr[0]=yr[0],jr[1]=yr[1],jr[2]=Mr[0],jr[3]=Mr[1],jr[4]=Ur[0],jr[5]=Ur[1];else{var Vs=this.props[0],Ts=this.props[1],Ns=this.props[4],Bs=this.props[5],Ys=this.props[12],Hs=this.props[13];jr[0]=yr[0]*Vs+yr[1]*Ns+Ys,jr[1]=yr[0]*Ts+yr[1]*Bs+Hs,jr[2]=Mr[0]*Vs+Mr[1]*Ns+Ys,jr[3]=Mr[0]*Ts+Mr[1]*Bs+Hs,jr[4]=Ur[0]*Vs+Ur[1]*Ns+Ys,jr[5]=Ur[0]*Ts+Ur[1]*Bs+Hs}return jr}function xs(yr,Mr,Ur){var jr;return this.isIdentity()?jr=[yr,Mr,Ur]:jr=[yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]],jr}function is(yr,Mr){if(this.isIdentity())return yr+","+Mr;var Ur=this.props;return Math.round((yr*Ur[0]+Mr*Ur[4]+Ur[12])*100)/100+","+Math.round((yr*Ur[1]+Mr*Ur[5]+Ur[13])*100)/100}function cs(){for(var yr=0,Mr=this.props,Ur="matrix3d(",jr=1e4;yr<16;)Ur+=r(Mr[yr]*jr)/jr,Ur+=yr===15?")":",",yr+=1;return Ur}function Ar(yr){var Mr=1e4;return yr<1e-6&&yr>0||yr>-1e-6&&yr<0?r(yr*Mr)/Mr:yr}function Tr(){var yr=this.props,Mr=Ar(yr[0]),Ur=Ar(yr[1]),jr=Ar(yr[4]),Vs=Ar(yr[5]),Ts=Ar(yr[12]),Ns=Ar(yr[13]);return"matrix("+Mr+","+Ur+","+jr+","+Vs+","+Ts+","+Ns+")"}return function(){this.reset=o,this.rotate=Zt,this.rotateX=tr,this.rotateY=ar,this.rotateZ=ir,this.skew=gr,this.skewFromAxis=nr,this.shear=fr,this.scale=rr,this.setTransform=vr,this.translate=cr,this.transform=ur,this.multiply=Er,this.applyToPoint=Pr,this.applyToX=Ir,this.applyToY=zr,this.applyToZ=$r,this.applyToPointArray=xs,this.applyToTriplePoints=os,this.applyToPointStringified=is,this.toCSS=cs,this.to2dCSS=Tr,this.clone=pr,this.cloneFromProps=dr,this.equals=sr,this.inversePoints=ps,this.inversePoint=hs,this.getInverseMatrix=es,this._t=this.transform,this.isIdentity=or,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(e){return typeof e}:_typeof$3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)}function inBrowser(){return typeof navigator<"u"}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("&"),i=0;i<e.length;i+=1){var r=e[i].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{!((typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=i,t.getModifier=r;function i(o,Zt){e[o]||(e[o]=Zt)}function r(o,Zt,tr){return new e[o](Zt,tr)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,r,o){var Zt=[];e<=1?Zt.push({s:t,e}):t>=1?Zt.push({s:t-1,e:e-1}):(Zt.push({s:t,e:1}),Zt.push({s:0,e:e-1}));var tr=[],ar,ir=Zt.length,fr;for(ar=0;ar<ir;ar+=1)if(fr=Zt[ar],!(fr.e*o<r||fr.s*o>r+i)){var gr,nr;fr.s*o<=r?gr=0:gr=(fr.s*o-r)/i,fr.e*o>=r+i?nr=1:nr=(fr.e*o-r)/i,tr.push([gr,nr])}return tr.length||tr.push([0,0]),tr},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?e=1+r:this.s.v<0?e=0+r:e=this.s.v+r,this.e.v>1?i=1+r:this.e.v<0?i=0+r:i=this.e.v+r,e>i){var o=e;e=i,i=o}e=Math.round(e*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var Zt,tr,ar=this.shapes.length,ir,fr,gr,nr,rr,vr=0;if(i===e)for(tr=0;tr<ar;tr+=1)this.shapes[tr].localShapeCollection.releaseShapes(),this.shapes[tr].shape._mdf=!0,this.shapes[tr].shape.paths=this.shapes[tr].localShapeCollection,this._mdf&&(this.shapes[tr].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(tr=0;tr<ar;tr+=1)this.shapes[tr].pathsData.length=0,this.shapes[tr].shape._mdf=!0}else{var cr=[],ur,Er;for(tr=0;tr<ar;tr+=1)if(ur=this.shapes[tr],!ur.shape._mdf&&!this._mdf&&!t&&this.m!==2)ur.shape.paths=ur.localShapeCollection;else{if(Zt=ur.shape.paths,fr=Zt._length,rr=0,!ur.shape._mdf&&ur.pathsData.length)rr=ur.totalShapeLength;else{for(gr=this.releasePathsData(ur.pathsData),ir=0;ir<fr;ir+=1)nr=bez.getSegmentsLength(Zt.shapes[ir]),gr.push(nr),rr+=nr.totalLength;ur.totalShapeLength=rr,ur.pathsData=gr}vr+=rr,ur.shape._mdf=!0}var or=e,sr=i,pr=0,dr;for(tr=ar-1;tr>=0;tr-=1)if(ur=this.shapes[tr],ur.shape._mdf){for(Er=ur.localShapeCollection,Er.releaseShapes(),this.m===2&&ar>1?(dr=this.calculateShapeEdges(e,i,ur.totalShapeLength,pr,vr),pr+=ur.totalShapeLength):dr=[[or,sr]],fr=dr.length,ir=0;ir<fr;ir+=1){or=dr[ir][0],sr=dr[ir][1],cr.length=0,sr<=1?cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength*sr}):or>=1?cr.push({s:ur.totalShapeLength*(or-1),e:ur.totalShapeLength*(sr-1)}):(cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength}),cr.push({s:0,e:ur.totalShapeLength*(sr-1)}));var Pr=this.addShapes(ur,cr[0]);if(cr[0].s!==cr[0].e){if(cr.length>1){var Ir=ur.shape.paths.shapes[ur.shape.paths._length-1];if(Ir.c){var zr=Pr.pop();this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1],zr)}else this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1])}this.addPaths(Pr,Er)}}ur.shape.paths=Er}}},TrimModifier.prototype.addPaths=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,r,o,Zt,tr){o.setXYAt(e[0],e[1],"o",Zt),o.setXYAt(i[0],i[1],"i",Zt+1),tr&&o.setXYAt(t[0],t[1],"v",Zt),o.setXYAt(r[0],r[1],"v",Zt+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,r){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),r&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var r=t.pathsData,o=t.shape.paths.shapes,Zt,tr=t.shape.paths._length,ar,ir,fr=0,gr,nr,rr,vr,cr=[],ur,Er=!0;for(i?(nr=i._length,ur=i._length):(i=shapePool.newElement(),nr=0,ur=0),cr.push(i),Zt=0;Zt<tr;Zt+=1){for(rr=r[Zt].lengths,i.c=o[Zt].c,ir=o[Zt].c?rr.length:rr.length+1,ar=1;ar<ir;ar+=1)if(gr=rr[ar-1],fr+gr.addedLength<e.s)fr+=gr.addedLength,i.c=!1;else if(fr>e.e){i.c=!1;break}else e.s<=fr&&e.e>=fr+gr.addedLength?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[ar],o[Zt].v[ar],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[ar],o[Zt].o[ar-1],o[Zt].i[ar],(e.s-fr)/gr.addedLength,(e.e-fr)/gr.addedLength,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1),fr+=gr.addedLength,nr+=1;if(o[Zt].c&&rr.length){if(gr=rr[ar-1],fr<=e.e){var or=rr[ar-1].addedLength;e.s<=fr&&e.e>=fr+or?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[0],o[Zt].v[0],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[0],o[Zt].o[ar-1],o[Zt].i[0],(e.s-fr)/or,(e.e-fr)/or,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1)}else i.c=!1;fr+=gr.addedLength,nr+=1}if(i._length&&(i.setXYAt(i.v[ur][0],i.v[ur][1],"i",ur),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),fr>e.e)break;Zt<tr-1&&(i=shapePool.newElement(),Er=!0,cr.push(i),nr=0)}return cr};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,r=[0,0],o=t._length,Zt=0;for(Zt=0;Zt<o;Zt+=1)r[0]+=t.v[Zt][0],r[1]+=t.v[Zt][1];r[0]/=o,r[1]/=o;var tr=shapePool.newElement();tr.c=t.c;var ar,ir,fr,gr,nr,rr;for(Zt=0;Zt<o;Zt+=1)ar=t.v[Zt][0]+(r[0]-t.v[Zt][0])*i,ir=t.v[Zt][1]+(r[1]-t.v[Zt][1])*i,fr=t.o[Zt][0]+(r[0]-t.o[Zt][0])*-i,gr=t.o[Zt][1]+(r[1]-t.o[Zt][1])*-i,nr=t.i[Zt][0]+(r[0]-t.i[Zt][0])*-i,rr=t.i[Zt][1]+(r[1]-t.i[Zt][1])*-i,tr.setTripleAt(ar,ir,fr,gr,nr,rr,Zt);return tr},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(ir){var fr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||fr,this.a&&ir.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&ir.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&ir.skewFromAxis(-this.sk.v,this.sa.v),this.r?ir.rotate(-this.r.v):ir.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.data.p.s?this.data.p.z?ir.translate(this.px.v,this.py.v,-this.pz.v):ir.translate(this.px.v,this.py.v,0):ir.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(ir){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||ir){var fr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var gr,nr;if(fr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(gr=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/fr,0),nr=this.p.getValueAtTime(this.p.keyframes[0].t/fr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(gr=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/fr,0),nr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/fr,0)):(gr=this.p.pv,nr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/fr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){gr=[],nr=[];var rr=this.px,vr=this.py;rr._caching.lastFrame+rr.offsetTime<=rr.keyframes[0].t?(gr[0]=rr.getValueAtTime((rr.keyframes[0].t+.01)/fr,0),gr[1]=vr.getValueAtTime((vr.keyframes[0].t+.01)/fr,0),nr[0]=rr.getValueAtTime(rr.keyframes[0].t/fr,0),nr[1]=vr.getValueAtTime(vr.keyframes[0].t/fr,0)):rr._caching.lastFrame+rr.offsetTime>=rr.keyframes[rr.keyframes.length-1].t?(gr[0]=rr.getValueAtTime(rr.keyframes[rr.keyframes.length-1].t/fr,0),gr[1]=vr.getValueAtTime(vr.keyframes[vr.keyframes.length-1].t/fr,0),nr[0]=rr.getValueAtTime((rr.keyframes[rr.keyframes.length-1].t-.01)/fr,0),nr[1]=vr.getValueAtTime((vr.keyframes[vr.keyframes.length-1].t-.01)/fr,0)):(gr=[rr.pv,vr.pv],nr[0]=rr.getValueAtTime((rr._caching.lastFrame+rr.offsetTime-.01)/fr,rr.offsetTime),nr[1]=vr.getValueAtTime((vr._caching.lastFrame+vr.offsetTime-.01)/fr,vr.offsetTime))}else nr=t,gr=nr;this.v.rotate(-Math.atan2(gr[1]-nr[1],gr[0]-nr[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 r(){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 o(){}function Zt(ir){this._addDynamicProperty(ir),this.elem.addDynamicProperty(ir),this._isDirty=!0}function tr(ir,fr,gr){if(this.elem=ir,this.frameId=-1,this.propType="transform",this.data=fr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(gr||ir),fr.p&&fr.p.s?(this.px=PropertyFactory.getProp(ir,fr.p.x,0,0,this),this.py=PropertyFactory.getProp(ir,fr.p.y,0,0,this),fr.p.z&&(this.pz=PropertyFactory.getProp(ir,fr.p.z,0,0,this))):this.p=PropertyFactory.getProp(ir,fr.p||{k:[0,0,0]},1,0,this),fr.rx){if(this.rx=PropertyFactory.getProp(ir,fr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(ir,fr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(ir,fr.rz,0,degToRads,this),fr.or.k[0].ti){var nr,rr=fr.or.k.length;for(nr=0;nr<rr;nr+=1)fr.or.k[nr].to=null,fr.or.k[nr].ti=null}this.or=PropertyFactory.getProp(ir,fr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(ir,fr.r||{k:0},0,degToRads,this);fr.sk&&(this.sk=PropertyFactory.getProp(ir,fr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(ir,fr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(ir,fr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(ir,fr.s||{k:[100,100,100]},1,.01,this),fr.o?this.o=PropertyFactory.getProp(ir,fr.o,0,.01,ir):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}tr.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:o},extendPrototype([DynamicPropertyContainer],tr),tr.prototype.addDynamicProperty=Zt,tr.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function ar(ir,fr,gr){return new tr(ir,fr,gr)}return{getTransformProperty:ar}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,r,o,Zt){var tr=Zt?-1:1,ar=r.s.v[0]+(1-r.s.v[0])*(1-o),ir=r.s.v[1]+(1-r.s.v[1])*(1-o);t.translate(r.p.v[0]*tr*o,r.p.v[1]*tr*o,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*tr*o),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(Zt?1/ar:ar,Zt?1/ir:ir),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,r){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,r,o,Zt,tr=!1;if(this._mdf||t){var ar=Math.ceil(this.c.v);if(this._groups.length<ar){for(;this._groups.length<ar;){var ir={it:this.cloneElements(this._elements),ty:"gr"};ir.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,ir),this._groups.splice(0,0,ir),this._currentCopies+=1}this.elem.reloadShapes(),tr=!0}Zt=0;var fr;for(r=0;r<=this._groups.length-1;r+=1){if(fr=Zt<ar,this._groups[r]._render=fr,this.changeGroupRender(this._groups[r].it,fr),!fr){var gr=this.elemsData[r].it,nr=gr[gr.length-1];nr.transform.op.v!==0?(nr.transform.op._mdf=!0,nr.transform.op.v=0):nr.transform.op._mdf=!1}Zt+=1}this._currentCopies=ar;var rr=this.o.v,vr=rr%1,cr=rr>0?Math.floor(rr):Math.ceil(rr),ur=this.pMatrix.props,Er=this.rMatrix.props,or=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var sr=0;if(rr>0){for(;sr<cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),sr+=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,vr,!1),sr+=vr)}else if(rr<0){for(;sr>cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),sr-=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-vr,!0),sr-=vr)}r=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,Zt=this._currentCopies;for(var pr,dr;Zt;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,dr=i.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)*(r/(this._currentCopies-1)),sr!==0){for((r!==0&&o===1||r!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Er[0],Er[1],Er[2],Er[3],Er[4],Er[5],Er[6],Er[7],Er[8],Er[9],Er[10],Er[11],Er[12],Er[13],Er[14],Er[15]),this.matrix.transform(or[0],or[1],or[2],or[3],or[4],or[5],or[6],or[7],or[8],or[9],or[10],or[11],or[12],or[13],or[14],or[15]),this.matrix.transform(ur[0],ur[1],ur[2],ur[3],ur[4],ur[5],ur[6],ur[7],ur[8],ur[9],ur[10],ur[11],ur[12],ur[13],ur[14],ur[15]),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];this.matrix.reset()}else for(this.matrix.reset(),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];sr+=1,Zt-=1,r+=o}}else for(Zt=this._currentCopies,r=0,o=1;Zt;)e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,Zt-=1,r+=o;return tr},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i=shapePool.newElement();i.c=t.c;var r,o=t._length,Zt,tr,ar,ir,fr,gr,nr=0,rr,vr,cr,ur,Er,or;for(r=0;r<o;r+=1)Zt=t.v[r],ar=t.o[r],tr=t.i[r],Zt[0]===ar[0]&&Zt[1]===ar[1]&&Zt[0]===tr[0]&&Zt[1]===tr[1]?(r===0||r===o-1)&&!t.c?(i.setTripleAt(Zt[0],Zt[1],ar[0],ar[1],tr[0],tr[1],nr),nr+=1):(r===0?ir=t.v[o-1]:ir=t.v[r-1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,Er=Zt[0]+(ir[0]-Zt[0])*gr,rr=Er,or=Zt[1]-(Zt[1]-ir[1])*gr,vr=or,cr=rr-(rr-Zt[0])*roundCorner,ur=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1,r===o-1?ir=t.v[0]:ir=t.v[r+1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,cr=Zt[0]+(ir[0]-Zt[0])*gr,rr=cr,ur=Zt[1]+(ir[1]-Zt[1])*gr,vr=ur,Er=rr-(rr-Zt[0])*roundCorner,or=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],nr),nr+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.rd.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(t===0)return[];var r=e*e-4*t*i;if(r<0)return[];var o=-e/(2*t);if(r===0)return[o];var Zt=Math.sqrt(r)/(2*t);return[o-Zt,o+Zt]}function polynomialCoefficients(t,e,i,r){return[-t+3*e-3*i+r,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,r,o){o&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),o&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var Zt=polynomialCoefficients(t[0],e[0],i[0],r[0]),tr=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[Zt[0],tr[0]],this.b=[Zt[1],tr[1]],this.c=[Zt[2],tr[2]],this.d=[Zt[3],tr[3]],this.points=[t,e,i,r]}PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var r=Math.sqrt(i);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter(function(o){return o>0&&o<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),i=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),o=lerpPoint(e,i,t),Zt=lerpPoint(i,r,t),tr=lerpPoint(o,Zt,t);return[new PolynomialBezier(this.points[0],e,o,tr,!0),new PolynomialBezier(tr,Zt,r,this.points[3],!0)]};function extrema(t,e){var i=t.points[0][e],r=t.points[t.points.length-1][e];if(i>r){var o=r;r=i,i=o}for(var Zt=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),tr=0;tr<Zt.length;tr+=1)if(Zt[tr]>0&&Zt[tr]<1){var ar=t.point(Zt[tr])[e];ar<i?i=ar:ar>r&&(r=ar)}return{min:i,max:r}}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,i){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,i,r,o,Zt){if(boxIntersect(t,e)){if(i>=Zt||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){o.push([t.t,e.t]);return}var tr=splitData(t),ar=splitData(e);intersectsImpl(tr[0],ar[0],i+1,r,o,Zt),intersectsImpl(tr[0],ar[1],i+1,r,o,Zt),intersectsImpl(tr[1],ar[0],i+1,r,o,Zt),intersectsImpl(tr[1],ar[1],i+1,r,o,Zt)}}PolynomialBezier.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,i),r},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,r){var o=[t[0],t[1],1],Zt=[e[0],e[1],1],tr=[i[0],i[1],1],ar=[r[0],r[1],1],ir=crossProduct(crossProduct(o,Zt),crossProduct(tr,ar));return floatZero(ir[2])?null:[ir[0]/ir[2],ir[1]/ir[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,r,o,Zt,tr){var ar=i-Math.PI/2,ir=i+Math.PI/2,fr=e[0]+Math.cos(i)*r*o,gr=e[1]-Math.sin(i)*r*o;t.setTripleAt(fr,gr,fr+Math.cos(ar)*Zt,gr-Math.sin(ar)*Zt,fr+Math.cos(ir)*tr,gr-Math.sin(ir)*tr,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,o=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return o}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),o=t.v[i],Zt=t.v[r],tr=getPerpendicularVector(o,Zt);return Math.atan2(0,1)-Math.atan2(tr[1],tr[0])}function zigZagCorner(t,e,i,r,o,Zt,tr){var ar=getProjectingAngle(e,i),ir=e.v[i%e._length],fr=e.v[i===0?e._length-1:i-1],gr=e.v[(i+1)%e._length],nr=Zt===2?Math.sqrt(Math.pow(ir[0]-fr[0],2)+Math.pow(ir[1]-fr[1],2)):0,rr=Zt===2?Math.sqrt(Math.pow(ir[0]-gr[0],2)+Math.pow(ir[1]-gr[1],2)):0;setPoint(t,e.v[i%e._length],ar,tr,r,rr/((o+1)*2),nr/((o+1)*2))}function zigZagSegment(t,e,i,r,o,Zt){for(var tr=0;tr<r;tr+=1){var ar=(tr+1)/(r+1),ir=o===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,fr=e.normalAngle(ar),gr=e.point(ar);setPoint(t,gr,fr,Zt,i,ir/((r+1)*2),ir/((r+1)*2)),Zt=-Zt}return Zt}ZigZagModifier.prototype.processPath=function(t,e,i,r){var o=t._length,Zt=shapePool.newElement();if(Zt.c=t.c,t.c||(o-=1),o===0)return Zt;var tr=-1,ar=PolynomialBezier.shapeSegment(t,0);zigZagCorner(Zt,t,0,e,i,r,tr);for(var ir=0;ir<o;ir+=1)tr=zigZagSegment(Zt,ar,e,i,r,-tr),ir===o-1&&!t.c?ar=null:ar=PolynomialBezier.shapeSegment(t,(ir+1)%o),zigZagCorner(Zt,t,ir+1,e,i,r,tr);return Zt},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amplitude.v,ar=Math.max(0,Math.round(this.frequency.v)),ir=this.pointsType.v;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ar,ir));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(t,e,i){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,i),polarOffset(e,r,i)]}function offsetSegment(t,e){var i,r,o,Zt,tr,ar,ir;ir=linearOffset(t.points[0],t.points[1],e),i=ir[0],r=ir[1],ir=linearOffset(t.points[1],t.points[2],e),o=ir[0],Zt=ir[1],ir=linearOffset(t.points[2],t.points[3],e),tr=ir[0],ar=ir[1];var fr=lineIntersection(i,r,o,Zt);fr===null&&(fr=r);var gr=lineIntersection(tr,ar,o,Zt);return gr===null&&(gr=tr),new PolynomialBezier(i,fr,gr,ar)}function joinLines(t,e,i,r,o){var Zt=e.points[3],tr=i.points[0];if(r===3||pointEqual(Zt,tr))return Zt;if(r===2){var ar=-e.tangentAngle(1),ir=-i.tangentAngle(0)+Math.PI,fr=lineIntersection(Zt,polarOffset(Zt,ar+Math.PI/2,100),tr,polarOffset(tr,ar+Math.PI/2,100)),gr=fr?pointDistance(fr,Zt):pointDistance(Zt,tr)/2,nr=polarOffset(Zt,ar,2*gr*roundCorner);return t.setXYAt(nr[0],nr[1],"o",t.length()-1),nr=polarOffset(tr,ir,2*gr*roundCorner),t.setTripleAt(tr[0],tr[1],tr[0],tr[1],nr[0],nr[1],t.length()),tr}var rr=pointEqual(Zt,e.points[2])?e.points[0]:e.points[2],vr=pointEqual(tr,i.points[1])?i.points[3]:i.points[1],cr=lineIntersection(rr,Zt,tr,vr);return cr&&pointDistance(cr,Zt)<o?(t.setTripleAt(cr[0],cr[1],cr[0],cr[1],cr[0],cr[1],t.length()),cr):Zt}function getIntersection(t,e){var i=t.intersections(e);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),r=e.slice(),o=getIntersection(t[t.length-1],e[0]);return o&&(i[t.length-1]=t[t.length-1].split(o[0])[0],r[0]=e[0].split(o[1])[1]),t.length>1&&e.length>1&&(o=getIntersection(t[0],e[e.length-1]),o)?[[t[0].split(o[0])[0]],[e[e.length-1].split(o[1])[1]]]:[i,r]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i=t.inflectionPoints(),r,o,Zt,tr;if(i.length===0)return[offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return Zt=t.split(i[0]),r=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(o,e)];Zt=t.split(i[0]),r=Zt[0];var ar=(i[1]-i[0])/(1-i[0]);return Zt=Zt[1].split(ar),tr=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(tr,e),offsetSegment(o,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,i,r){var o=shapePool.newElement();o.c=t.c;var Zt=t.length();t.c||(Zt-=1);var tr,ar,ir,fr=[];for(tr=0;tr<Zt;tr+=1)ir=PolynomialBezier.shapeSegment(t,tr),fr.push(offsetSegmentSplit(ir,e));if(!t.c)for(tr=Zt-1;tr>=0;tr-=1)ir=PolynomialBezier.shapeSegmentInverted(t,tr),fr.push(offsetSegmentSplit(ir,e));fr=pruneIntersections(fr);var gr=null,nr=null;for(tr=0;tr<fr.length;tr+=1){var rr=fr[tr];for(nr&&(gr=joinLines(o,nr,rr[0],i,r)),nr=rr[rr.length-1],ar=0;ar<rr.length;ar+=1)ir=rr[ar],gr&&pointEqual(ir.points[0],gr)?o.setXYAt(ir.points[1][0],ir.points[1][1],"o",o.length()-1):o.setTripleAt(ir.points[0][0],ir.points[0][1],ir.points[1][0],ir.points[1][1],ir.points[0][0],ir.points[0][1],o.length()),o.setTripleAt(ir.points[3][0],ir.points[3][1],ir.points[3][0],ir.points[3][1],ir.points[2][0],ir.points[2][1],o.length()),gr=ir.points[3]}return fr.length&&joinLines(o,nr,fr[0][0],i,r),o},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v,ar=this.miterLimit.v,ir=this.lineJoin;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ir,ar));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",o=e.length,Zt,tr=0;tr<o;tr+=1)switch(Zt=e[tr].toLowerCase(),Zt){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:r,weight:t.fWeight||i}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,o=917631,Zt=917601,tr=917626,ar=65039,ir=8205,fr=127462,gr=127487,nr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function rr(Ar){var Tr=Ar.split(","),yr,Mr=Tr.length,Ur=[];for(yr=0;yr<Mr;yr+=1)Tr[yr]!=="sans-serif"&&Tr[yr]!=="monospace"&&Ur.push(Tr[yr]);return Ur.join(",")}function vr(Ar,Tr){var yr=createTag("span");yr.setAttribute("aria-hidden",!0),yr.style.fontFamily=Tr;var Mr=createTag("span");Mr.innerText="giItT1WQy@!-/#",yr.style.position="absolute",yr.style.left="-10000px",yr.style.top="-10000px",yr.style.fontSize="300px",yr.style.fontVariant="normal",yr.style.fontStyle="normal",yr.style.fontWeight="normal",yr.style.letterSpacing="0",yr.appendChild(Mr),document.body.appendChild(yr);var Ur=Mr.offsetWidth;return Mr.style.fontFamily=rr(Ar)+", "+Tr,{node:Mr,w:Ur,parent:yr}}function cr(){var Ar,Tr=this.fonts.length,yr,Mr,Ur=Tr;for(Ar=0;Ar<Tr;Ar+=1)this.fonts[Ar].loaded?Ur-=1:this.fonts[Ar].fOrigin==="n"||this.fonts[Ar].origin===0?this.fonts[Ar].loaded=!0:(yr=this.fonts[Ar].monoCase.node,Mr=this.fonts[Ar].monoCase.w,yr.offsetWidth!==Mr?(Ur-=1,this.fonts[Ar].loaded=!0):(yr=this.fonts[Ar].sansCase.node,Mr=this.fonts[Ar].sansCase.w,yr.offsetWidth!==Mr&&(Ur-=1,this.fonts[Ar].loaded=!0)),this.fonts[Ar].loaded&&(this.fonts[Ar].sansCase.parent.parentNode.removeChild(this.fonts[Ar].sansCase.parent),this.fonts[Ar].monoCase.parent.parentNode.removeChild(this.fonts[Ar].monoCase.parent)));Ur!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function ur(Ar,Tr){var yr=document.body&&Tr?"svg":"canvas",Mr,Ur=getFontProperties(Ar);if(yr==="svg"){var jr=createNS("text");jr.style.fontSize="100px",jr.setAttribute("font-family",Ar.fFamily),jr.setAttribute("font-style",Ur.style),jr.setAttribute("font-weight",Ur.weight),jr.textContent="1",Ar.fClass?(jr.style.fontFamily="inherit",jr.setAttribute("class",Ar.fClass)):jr.style.fontFamily=Ar.fFamily,Tr.appendChild(jr),Mr=jr}else{var Vs=new OffscreenCanvas(500,500).getContext("2d");Vs.font=Ur.style+" "+Ur.weight+" 100px "+Ar.fFamily,Mr=Vs}function Ts(Ns){return yr==="svg"?(Mr.textContent=Ns,Mr.getComputedTextLength()):Mr.measureText(Ns).width}return{measureText:Ts}}function Er(Ar,Tr){if(!Ar){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Ar.list;return}if(!document.body){this.isLoaded=!0,Ar.list.forEach(function(Qs){Qs.helper=ur(Qs),Qs.cache={}}),this.fonts=Ar.list;return}var yr=Ar.list,Mr,Ur=yr.length,jr=Ur;for(Mr=0;Mr<Ur;Mr+=1){var Vs=!0,Ts,Ns;if(yr[Mr].loaded=!1,yr[Mr].monoCase=vr(yr[Mr].fFamily,"monospace"),yr[Mr].sansCase=vr(yr[Mr].fFamily,"sans-serif"),!yr[Mr].fPath)yr[Mr].loaded=!0,jr-=1;else if(yr[Mr].fOrigin==="p"||yr[Mr].origin===3){if(Ts=document.querySelectorAll('style[f-forigin="p"][f-family="'+yr[Mr].fFamily+'"], style[f-origin="3"][f-family="'+yr[Mr].fFamily+'"]'),Ts.length>0&&(Vs=!1),Vs){var Bs=createTag("style");Bs.setAttribute("f-forigin",yr[Mr].fOrigin),Bs.setAttribute("f-origin",yr[Mr].origin),Bs.setAttribute("f-family",yr[Mr].fFamily),Bs.type="text/css",Bs.innerText="@font-face {font-family: "+yr[Mr].fFamily+"; font-style: normal; src: url('"+yr[Mr].fPath+"');}",Tr.appendChild(Bs)}}else if(yr[Mr].fOrigin==="g"||yr[Mr].origin===1){for(Ts=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ns=0;Ns<Ts.length;Ns+=1)Ts[Ns].href.indexOf(yr[Mr].fPath)!==-1&&(Vs=!1);if(Vs){var Ys=createTag("link");Ys.setAttribute("f-forigin",yr[Mr].fOrigin),Ys.setAttribute("f-origin",yr[Mr].origin),Ys.type="text/css",Ys.rel="stylesheet",Ys.href=yr[Mr].fPath,document.body.appendChild(Ys)}}else if(yr[Mr].fOrigin==="t"||yr[Mr].origin===2){for(Ts=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ns=0;Ns<Ts.length;Ns+=1)yr[Mr].fPath===Ts[Ns].src&&(Vs=!1);if(Vs){var Hs=createTag("link");Hs.setAttribute("f-forigin",yr[Mr].fOrigin),Hs.setAttribute("f-origin",yr[Mr].origin),Hs.setAttribute("rel","stylesheet"),Hs.setAttribute("href",yr[Mr].fPath),Tr.appendChild(Hs)}}yr[Mr].helper=ur(yr[Mr],Tr),yr[Mr].cache={},this.fonts.push(yr[Mr])}jr===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function or(Ar){if(Ar){this.chars||(this.chars=[]);var Tr,yr=Ar.length,Mr,Ur=this.chars.length,jr;for(Tr=0;Tr<yr;Tr+=1){for(Mr=0,jr=!1;Mr<Ur;)this.chars[Mr].style===Ar[Tr].style&&this.chars[Mr].fFamily===Ar[Tr].fFamily&&this.chars[Mr].ch===Ar[Tr].ch&&(jr=!0),Mr+=1;jr||(this.chars.push(Ar[Tr]),Ur+=1)}}}function sr(Ar,Tr,yr){for(var Mr=0,Ur=this.chars.length;Mr<Ur;){if(this.chars[Mr].ch===Ar&&this.chars[Mr].style===Tr&&this.chars[Mr].fFamily===yr)return this.chars[Mr];Mr+=1}return(typeof Ar=="string"&&Ar.charCodeAt(0)!==13||!Ar)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Ar,Tr,yr)),e}function pr(Ar,Tr,yr){var Mr=this.getFontByName(Tr),Ur=Ar;if(!Mr.cache[Ur]){var jr=Mr.helper;if(Ar===" "){var Vs=jr.measureText("|"+Ar+"|"),Ts=jr.measureText("||");Mr.cache[Ur]=(Vs-Ts)/100}else Mr.cache[Ur]=jr.measureText(Ar)/100}return Mr.cache[Ur]*yr}function dr(Ar){for(var Tr=0,yr=this.fonts.length;Tr<yr;){if(this.fonts[Tr].fName===Ar)return this.fonts[Tr];Tr+=1}return this.fonts[0]}function Pr(Ar){var Tr=0,yr=Ar.charCodeAt(0);if(yr>=55296&&yr<=56319){var Mr=Ar.charCodeAt(1);Mr>=56320&&Mr<=57343&&(Tr=(yr-55296)*1024+Mr-56320+65536)}return Tr}function Ir(Ar,Tr){var yr=Ar.toString(16)+Tr.toString(16);return nr.indexOf(yr)!==-1}function zr(Ar){return Ar===ir}function $r(Ar){return Ar===ar}function es(Ar){var Tr=Pr(Ar);return Tr>=fr&&Tr<=gr}function hs(Ar){return es(Ar.substr(0,2))&&es(Ar.substr(2,2))}function ps(Ar){return i.indexOf(Ar)!==-1}function os(Ar,Tr){var yr=Pr(Ar.substr(Tr,2));if(yr!==r)return!1;var Mr=0;for(Tr+=2;Mr<5;){if(yr=Pr(Ar.substr(Tr,2)),yr<Zt||yr>tr)return!1;Mr+=1,Tr+=2}return Pr(Ar.substr(Tr,2))===o}function xs(){this.isLoaded=!0}var is=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)};is.isModifier=Ir,is.isZeroWidthJoiner=zr,is.isFlagEmoji=hs,is.isRegionalCode=es,is.isCombinedCharacter=ps,is.isRegionalFlag=os,is.isVariationSelector=$r,is.BLACK_FLAG_CODE_POINT=r;var cs={addChars:or,addFonts:Er,getCharData:sr,getFontByName:dr,measureText:pr,checkLoadedFonts:cr,setIsLoaded:xs};return is.prototype=cs,is}();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(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];var r,o=i.length,Zt;for(r=0;r<o;r+=1)Zt=new GroupEffect(i[r],e),this.effectElements.push(Zt)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o,Zt=this.data.ef;for(i=0;i<r;i+=1){switch(o=null,Zt[i].ty){case 0:o=new SliderEffect(Zt[i],e,this);break;case 1:o=new AngleEffect(Zt[i],e,this);break;case 2:o=new ColorEffect(Zt[i],e,this);break;case 3:o=new PointEffect(Zt[i],e,this);break;case 4:case 7:o=new CheckboxEffect(Zt[i],e,this);break;case 10:o=new LayerIndexEffect(Zt[i],e,this);break;case 11:o=new MaskIndexEffect(Zt[i],e,this);break;case 5:o=new EffectsManager(Zt[i],e);break;default:o=new NoValueEffect(Zt[i]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),i=t("effects"),r=t("shape"),o=t("text"),Zt=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var tr=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(tr),this.data.ty===0||this.data.xt?this.compInterface=Zt(this):this.data.ty===4?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=o(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(e||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.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,i=this.layers.length,r;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,r,o=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<o;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){for(var r=this.elements,o=this.layers,Zt=0,tr=o.length;Zt<tr;)o[Zt].ind==e&&(!r[Zt]||r[Zt]===!0?(this.buildItem(Zt),this.addPendingElement(t)):(i.push(r[Zt]),r[Zt].setAsParent(),o[Zt].parent!==void 0?this.buildElementParenting(t,o[Zt].parent,i):t.setHierarchy(i))),Zt+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.nm===e){i=this.elements[r];break}}return t.length===0?i:i.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<r;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;i.multiply(r)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var o=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)o*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=o}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,Zt=e.length,tr;for(o=0;o<Zt;o+=1)tr=e[o].mat.applyToPointArray(0,0,0),t=[t[0]-tr[0],t[1]-tr[1],0];return t},mHelper:new Matrix};function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,o,Zt=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(Zt),this.solidPath="";var tr,ar=this.masksProperties,ir=0,fr=[],gr,nr,rr=createElementID(),vr,cr,ur,Er,or="clipPath",sr="clip-path";for(o=0;o<Zt;o+=1)if((ar[o].mode!=="a"&&ar[o].mode!=="n"||ar[o].inv||ar[o].o.k!==100||ar[o].o.x)&&(or="mask",sr="mask"),(ar[o].mode==="s"||ar[o].mode==="i")&&ir===0?(vr=createNS("rect"),vr.setAttribute("fill","#ffffff"),vr.setAttribute("width",this.element.comp.data.w||0),vr.setAttribute("height",this.element.comp.data.h||0),fr.push(vr)):vr=null,tr=createNS("path"),ar[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),elem:tr,lastPath:""},r.appendChild(tr);else{ir+=1,tr.setAttribute("fill",ar[o].mode==="s"?"#000000":"#ffffff"),tr.setAttribute("clip-rule","nonzero");var pr;if(ar[o].x.k!==0?(or="mask",sr="mask",Er=PropertyFactory.getProp(this.element,ar[o].x,0,null,this.element),pr=createElementID(),cr=createNS("filter"),cr.setAttribute("id",pr),ur=createNS("feMorphology"),ur.setAttribute("operator","erode"),ur.setAttribute("in","SourceGraphic"),ur.setAttribute("radius","0"),cr.appendChild(ur),r.appendChild(cr),tr.setAttribute("stroke",ar[o].mode==="s"?"#000000":"#ffffff")):(ur=null,Er=null),this.storedData[o]={elem:tr,x:Er,expan:ur,lastPath:"",lastOperator:"",filterId:pr,lastRadius:0},ar[o].mode==="i"){nr=fr.length;var dr=createNS("g");for(gr=0;gr<nr;gr+=1)dr.appendChild(fr[gr]);var Pr=createNS("mask");Pr.setAttribute("mask-type","alpha"),Pr.setAttribute("id",rr+"_"+ir),Pr.appendChild(tr),r.appendChild(Pr),dr.setAttribute("mask","url("+getLocationHref()+"#"+rr+"_"+ir+")"),fr.length=0,fr.push(dr)}else fr.push(tr);ar[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:tr,lastPath:"",op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),invRect:vr},this.viewData[o].prop.k||this.drawPath(ar[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(or),Zt=fr.length,o=0;o<Zt;o+=1)this.maskElement.appendChild(fr[o]);ir>0&&(this.maskElement.setAttribute("id",rr),this.element.maskedElement.setAttribute(sr,"url("+getLocationHref()+"#"+rr+")"),r.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,i,r=this.masksProperties.length;for(i=0;i<r;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var o=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),o.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,i){var r=" M"+e.v[0][0]+","+e.v[0][1],o,Zt;for(Zt=e._length,o=1;o<Zt;o+=1)r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[o][0]+","+e.i[o][1]+" "+e.v[o][0]+","+e.v[o][1];if(e.c&&Zt>1&&(r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var tr="";i.elem&&(e.c&&(tr=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",tr)),i.lastPath=r}},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=i;function e(r,o){var Zt=createNS("filter");return Zt.setAttribute("id",r),o!==!0&&(Zt.setAttribute("filterUnits","objectBoundingBox"),Zt.setAttribute("x","0%"),Zt.setAttribute("y","0%"),Zt.setAttribute("width","100%"),Zt.setAttribute("height","100%")),Zt}function i(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),Zt=filtersFactory.createFilter(o,!0),tr=0;this.filters=[];var ar;for(e=0;e<r;e+=1){ar=null;var ir=t.data.ef[e].ty;if(registeredEffects$1[ir]){var fr=registeredEffects$1[ir].effect;ar=new fr(Zt,t.effectsManager.effectElements[e],t,idPrefix+tr,i),i=idPrefix+tr,registeredEffects$1[ir].countsAsEffect&&(tr+=1)}ar&&this.filters.push(ar)}tr&&(t.globalData.defs.appendChild(Zt),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var o=createElementID();if(i.setAttribute("id",o),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var Zt=createNS("g");Zt.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),Zt.appendChild(this.layerElement),this.transformedElement=Zt,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,r,o,Zt;if(t===1||t===3){var tr=createNS("mask");tr.setAttribute("id",e),tr.setAttribute("mask-type",t===3?"luminance":"alpha"),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tr.appendChild(o),this.globalData.defs.appendChild(tr),!featureSupport.maskType&&t===1&&(tr.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),Zt.appendChild(o),tr.appendChild(Zt),Zt.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var ar=createNS("mask");ar.setAttribute("id",e),ar.setAttribute("mask-type","alpha");var ir=createNS("g");ar.appendChild(ir),i=createElementID(),r=filtersFactory.createFilter(i);var fr=createNS("feComponentTransfer");fr.setAttribute("in","SourceGraphic"),r.appendChild(fr);var gr=createNS("feFuncA");gr.setAttribute("type","table"),gr.setAttribute("tableValues","1.0 0.0"),fr.appendChild(gr),this.globalData.defs.appendChild(r);var nr=createNS("rect");nr.setAttribute("width",this.comp.data.w),nr.setAttribute("height",this.comp.data.h),nr.setAttribute("x","0"),nr.setAttribute("y","0"),nr.setAttribute("fill","#ffffff"),nr.setAttribute("opacity","0"),ir.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),ir.appendChild(nr),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ir.appendChild(o),featureSupport.maskType||(ar.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),ir.appendChild(nr),Zt.appendChild(this.layerElement),ir.appendChild(Zt)),this.globalData.defs.appendChild(ar)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(e,i,r){this.initFrame(),this.initBaseData(e,i,r),this.initTransform(e,i,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,i=this.shapeModifiers.length;e<i;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var i;for(t=e-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,r=e.length;i<r;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,r=i.length;r;)if(r-=1,i[r].elem===t){i[r].pos=e;return}i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var r=0,o=t.length;r<o;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,i,r){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,Zt=e.length||0,tr;for(o=0;o<Zt;o+=1)tr=PropertyFactory.getProp(t,e[o].v,0,0,this),this.k=tr.k||this.k,this.dataProps[o]={n:e[o].n,p:tr};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<i;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var r=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,r=this.o.length/2,o;i<r;){if(o=Math.abs(t[i*4]-t[e*4+i*2]),o>.01)return!1;i+=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;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i=this.data.p*4,r,o;for(e=0;e<i;e+=1)r=e%4===0?100:255,o=Math.round(this.prop.v[e]*r),this.c[e]!==o&&(this.c[e]=o,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)r=e%2===0?100:1,o=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==o&&(this.o[e-this.data.p*4]=o,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),r=createNS(e.t===1?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var o=[],Zt,tr,ar;for(ar=e.g.p*4,tr=0;tr<ar;tr+=4)Zt=createNS("stop"),r.appendChild(Zt),o.push(Zt);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,o,Zt=createNS("mask"),tr=createNS("path");Zt.appendChild(tr);var ar=createElementID(),ir=createElementID();Zt.setAttribute("id",ir);var fr=createNS(t.t===1?"linearGradient":"radialGradient");fr.setAttribute("id",ar),fr.setAttribute("spreadMethod","pad"),fr.setAttribute("gradientUnits","userSpaceOnUse"),o=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var gr=this.stops;for(r=t.g.p*4;r<o;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),fr.appendChild(i),gr.push(i);tr.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+ar+")"),t.ty==="gs"&&(tr.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),tr.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&tr.setAttribute("stroke-miterlimit",t.ml)),this.of=fr,this.ms=Zt,this.ost=gr,this.maskId=ir,e.msElem=tr}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,e,i,r){if(e===0)return"";var o=t.o,Zt=t.i,tr=t.v,ar,ir=" M"+r.applyToPointStringified(tr[0][0],tr[0][1]);for(ar=1;ar<e;ar+=1)ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[ar][0],Zt[ar][1])+" "+r.applyToPointStringified(tr[ar][0],tr[ar][1]);return i&&e&&(ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[0][0],Zt[0][1])+" "+r.applyToPointStringified(tr[0][0],tr[0][1]),ir+="z"),ir},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(nr){switch(nr.ty){case"fl":return ar;case"gf":return fr;case"gs":return ir;case"st":return gr;case"sh":case"el":case"rc":case"sr":return tr;case"tr":return o;case"no":return Zt;default:return null}}function o(nr,rr,vr){(vr||rr.transform.op._mdf)&&rr.transform.container.setAttribute("opacity",rr.transform.op.v),(vr||rr.transform.mProps._mdf)&&rr.transform.container.setAttribute("transform",rr.transform.mProps.v.to2dCSS())}function Zt(){}function tr(nr,rr,vr){var cr,ur,Er,or,sr,pr,dr=rr.styles.length,Pr=rr.lvl,Ir,zr,$r,es;for(pr=0;pr<dr;pr+=1){if(or=rr.sh._mdf||vr,rr.styles[pr].lvl<Pr){for(zr=e.reset(),$r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;!or&&$r>0;)or=rr.transformers[es].mProps._mdf||or,$r-=1,es-=1;if(or)for($r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;$r>0;)zr.multiply(rr.transformers[es].mProps.v),$r-=1,es-=1}else zr=t;if(Ir=rr.sh.paths,ur=Ir._length,or){for(Er="",cr=0;cr<ur;cr+=1)sr=Ir.shapes[cr],sr&&sr._length&&(Er+=buildShapeString(sr,sr._length,sr.c,zr));rr.caches[pr]=Er}else Er=rr.caches[pr];rr.styles[pr].d+=nr.hd===!0?"":Er,rr.styles[pr]._mdf=or||rr.styles[pr]._mdf}}function ar(nr,rr,vr){var cr=rr.style;(rr.c._mdf||vr)&&cr.pElem.setAttribute("fill","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("fill-opacity",rr.o.v)}function ir(nr,rr,vr){fr(nr,rr,vr),gr(nr,rr,vr)}function fr(nr,rr,vr){var cr=rr.gf,ur=rr.g._hasOpacity,Er=rr.s.v,or=rr.e.v;if(rr.o._mdf||vr){var sr=nr.ty==="gf"?"fill-opacity":"stroke-opacity";rr.style.pElem.setAttribute(sr,rr.o.v)}if(rr.s._mdf||vr){var pr=nr.t===1?"x1":"cx",dr=pr==="x1"?"y1":"cy";cr.setAttribute(pr,Er[0]),cr.setAttribute(dr,Er[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute(pr,Er[0]),rr.of.setAttribute(dr,Er[1]))}var Pr,Ir,zr,$r;if(rr.g._cmdf||vr){Pr=rr.cst;var es=rr.g.c;for(zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],$r.setAttribute("offset",es[Ir*4]+"%"),$r.setAttribute("stop-color","rgb("+es[Ir*4+1]+","+es[Ir*4+2]+","+es[Ir*4+3]+")")}if(ur&&(rr.g._omdf||vr)){var hs=rr.g.o;for(rr.g._collapsable?Pr=rr.cst:Pr=rr.ost,zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],rr.g._collapsable||$r.setAttribute("offset",hs[Ir*2]+"%"),$r.setAttribute("stop-opacity",hs[Ir*2+1])}if(nr.t===1)(rr.e._mdf||vr)&&(cr.setAttribute("x2",or[0]),cr.setAttribute("y2",or[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute("x2",or[0]),rr.of.setAttribute("y2",or[1])));else{var ps;if((rr.s._mdf||rr.e._mdf||vr)&&(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)),cr.setAttribute("r",ps),ur&&!rr.g._collapsable&&rr.of.setAttribute("r",ps)),rr.e._mdf||rr.h._mdf||rr.a._mdf||vr){ps||(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)));var os=Math.atan2(or[1]-Er[1],or[0]-Er[0]),xs=rr.h.v;xs>=1?xs=.99:xs<=-1&&(xs=-.99);var is=ps*xs,cs=Math.cos(os+rr.a.v)*is+Er[0],Ar=Math.sin(os+rr.a.v)*is+Er[1];cr.setAttribute("fx",cs),cr.setAttribute("fy",Ar),ur&&!rr.g._collapsable&&(rr.of.setAttribute("fx",cs),rr.of.setAttribute("fy",Ar))}}}function gr(nr,rr,vr){var cr=rr.style,ur=rr.d;ur&&(ur._mdf||vr)&&ur.dashStr&&(cr.pElem.setAttribute("stroke-dasharray",ur.dashStr),cr.pElem.setAttribute("stroke-dashoffset",ur.dashoffset[0])),rr.c&&(rr.c._mdf||vr)&&cr.pElem.setAttribute("stroke","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("stroke-opacity",rr.o.v),(rr.w._mdf||vr)&&(cr.pElem.setAttribute("stroke-width",rr.w.v),cr.msElem&&cr.msElem.setAttribute("stroke-width",rr.w.v))}return i}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),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,i,r,o=this.stylesList.length,Zt,tr=[],ar=!1;for(r=0;r<o;r+=1){for(Zt=this.stylesList[r],ar=!1,tr.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(Zt)!==-1&&(tr.push(i),ar=i._isAnimated||ar);tr.length>1&&ar&&this.setShapesAsAnimated(tr)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,r=new SVGStyleData(t,e),o=r.pElem;if(t.ty==="st")i=new SVGStrokeStyleData(this,t,r);else if(t.ty==="fl")i=new SVGFillStyleData(this,t,r);else if(t.ty==="gf"||t.ty==="gs"){var Zt=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new Zt(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),o.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return(t.ty==="st"||t.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),o.setAttribute("fill-opacity","0"),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&o.setAttribute("fill-rule","evenodd"),t.ln&&o.setAttribute("id",t.ln),t.cl&&o.setAttribute("class",t.cl),t.bm&&(o.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var r=4;t.ty==="rc"?r=5:t.ty==="el"?r=6:t.ty==="sr"&&(r=7);var o=ShapePropertyFactory.getShapeProp(this,t,r,this),Zt=new SVGShapeData(e,i,o);return this.shapes.push(Zt),this.addShapeToModifiers(Zt),this.addToAnimatedContents(t,Zt),Zt},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,i,r=this.stylesList.length;for(i=0;i<r;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,r,o,Zt,tr){var ar=[].concat(Zt),ir,fr=t.length-1,gr,nr,rr=[],vr=[],cr,ur,Er;for(ir=fr;ir>=0;ir-=1){if(Er=this.searchProcessedElement(t[ir]),Er?e[ir]=i[Er-1]:t[ir]._render=tr,t[ir].ty==="fl"||t[ir].ty==="st"||t[ir].ty==="gf"||t[ir].ty==="gs"||t[ir].ty==="no")Er?e[ir].style.closed=!1:e[ir]=this.createStyleElement(t[ir],o),t[ir]._render&&e[ir].style.pElem.parentNode!==r&&r.appendChild(e[ir].style.pElem),rr.push(e[ir].style);else if(t[ir].ty==="gr"){if(!Er)e[ir]=this.createGroupElement(t[ir]);else for(nr=e[ir].it.length,gr=0;gr<nr;gr+=1)e[ir].prevViewData[gr]=e[ir].it[gr];this.searchShapes(t[ir].it,e[ir].it,e[ir].prevViewData,e[ir].gr,o+1,ar,tr),t[ir]._render&&e[ir].gr.parentNode!==r&&r.appendChild(e[ir].gr)}else t[ir].ty==="tr"?(Er||(e[ir]=this.createTransformElement(t[ir],r)),cr=e[ir].transform,ar.push(cr)):t[ir].ty==="sh"||t[ir].ty==="rc"||t[ir].ty==="el"||t[ir].ty==="sr"?(Er||(e[ir]=this.createShapeElement(t[ir],ar,o)),this.setElementStyles(e[ir])):t[ir].ty==="tm"||t[ir].ty==="rd"||t[ir].ty==="ms"||t[ir].ty==="pb"||t[ir].ty==="zz"||t[ir].ty==="op"?(Er?(ur=e[ir],ur.closed=!1):(ur=ShapeModifiers.getModifier(t[ir].ty),ur.init(this,t[ir]),e[ir]=ur,this.shapeModifiers.push(ur)),vr.push(ur)):t[ir].ty==="rp"&&(Er?(ur=e[ir],ur.closed=!0):(ur=ShapeModifiers.getModifier(t[ir].ty),e[ir]=ur,ur.init(this,t,ir,e),this.shapeModifiers.push(ur),tr=!1),vr.push(ur));this.addProcessedElement(t[ir],ir+1)}for(fr=rr.length,ir=0;ir<fr;ir+=1)rr[ir].closed=!0;for(fr=vr.length,ir=0;ir<fr;ir+=1)vr[ir].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,i;for(t=0;t<e;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,i,r,o,Zt){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=o,this.p=Zt,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,i,r,o,Zt){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var tr=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,tr=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,tr=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,tr=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,tr=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,tr=!0),Zt.length&&(this.p[0]!==Zt[0]||this.p[1]!==Zt[1]||this.p[4]!==Zt[4]||this.p[5]!==Zt[5]||this.p[12]!==Zt[12]||this.p[13]!==Zt[13])&&(this.p=Zt,this._mdf.p=!0,tr=!0),tr};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,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,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,o=this.effectsSequence.length,Zt=t||this.data.d.k[this.keysIndex].s;for(r=0;r<o;r+=1)i!==this.keysIndex?Zt=this.effectsSequence[r](Zt,Zt.t):Zt=this.effectsSequence[r](this.currentData,Zt.t);e!==Zt&&this.setCurrentData(Zt),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,r=t.length;i<=r-1&&!(i===r-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],i=0,r=t.length,o,Zt,tr=!1,ar=!1,ir="";i<r;)tr=ar,ar=!1,o=t.charCodeAt(i),ir=t.charAt(i),FontManager.isCombinedCharacter(o)?tr=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(t,i)?ir=t.substr(i,14):(Zt=t.charCodeAt(i+1),Zt>=56320&&Zt<=57343&&(FontManager.isModifier(o,Zt)?(ir=t.substr(i,2),tr=!0):FontManager.isFlagEmoji(t.substr(i,4))?ir=t.substr(i,4):ir=t.substr(i,2))):o>56319?(Zt=t.charCodeAt(i+1),FontManager.isVariationSelector(o)&&(tr=!0)):FontManager.isZeroWidthJoiner(o)&&(tr=!0,ar=!0),tr?(e[e.length-1]+=ir,tr=!1):e.push(ir),i+=ir.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],o,Zt,tr,ar=0,ir,fr=i.m.g,gr=0,nr=0,rr=0,vr=[],cr=0,ur=0,Er,or,sr=e.getFontByName(t.f),pr,dr=0,Pr=getFontProperties(sr);t.fWeight=Pr.weight,t.fStyle=Pr.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),Zt=t.finalText.length,t.finalLineHeight=t.lh;var Ir=t.tr/1e3*t.finalSize,zr;if(t.sz)for(var $r=!0,es=t.sz[0],hs=t.sz[1],ps,os;$r;){os=this.buildFinalText(t.t),ps=0,cr=0,Zt=os.length,Ir=t.tr/1e3*t.finalSize;var xs=-1;for(o=0;o<Zt;o+=1)zr=os[o].charCodeAt(0),tr=!1,os[o]===" "?xs=o:(zr===13||zr===3)&&(cr=0,tr=!0,ps+=t.finalLineHeight||t.finalSize*1.2),e.chars?(pr=e.getCharData(os[o],sr.fStyle,sr.fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(os[o],t.f,t.finalSize),cr+dr>es&&os[o]!==" "?(xs===-1?Zt+=1:o=xs,ps+=t.finalLineHeight||t.finalSize*1.2,os.splice(o,xs===o?1:0,"\r"),xs=-1,cr=0):(cr+=dr,cr+=Ir);ps+=sr.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&hs<ps?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=os,Zt=t.finalText.length,$r=!1)}cr=-Ir,dr=0;var is=0,cs;for(o=0;o<Zt;o+=1)if(tr=!1,cs=t.finalText[o],zr=cs.charCodeAt(0),zr===13||zr===3?(is=0,vr.push(cr),ur=cr>ur?cr:ur,cr=-2*Ir,ir="",tr=!0,rr+=1):ir=cs,e.chars?(pr=e.getCharData(cs,sr.fStyle,e.getFontByName(t.f).fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(ir,t.f,t.finalSize),cs===" "?is+=dr+Ir:(cr+=dr+Ir+is,is=0),r.push({l:dr,an:dr,add:gr,n:tr,anIndexes:[],val:ir,line:rr,animatorJustifyOffset:0}),fr==2){if(gr+=dr,ir===""||ir===" "||o===Zt-1){for((ir===""||ir===" ")&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;ar+=1,gr=0}}else if(fr==3){if(gr+=dr,ir===""||o===Zt-1){for(ir===""&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;gr=0,ar+=1}}else r[ar].ind=ar,r[ar].extra=0,ar+=1;if(t.l=r,ur=cr>ur?cr:ur,vr.push(cr),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=ur,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=vr;var Ar=i.a,Tr,yr;or=Ar.length;var Mr,Ur,jr=[];for(Er=0;Er<or;Er+=1){for(Tr=Ar[Er],Tr.a.sc&&(t.strokeColorAnim=!0),Tr.a.sw&&(t.strokeWidthAnim=!0),(Tr.a.fc||Tr.a.fh||Tr.a.fs||Tr.a.fb)&&(t.fillColorAnim=!0),Ur=0,Mr=Tr.s.b,o=0;o<Zt;o+=1)yr=r[o],yr.anIndexes[Er]=Ur,(Mr==1&&yr.val!==""||Mr==2&&yr.val!==""&&yr.val!==" "||Mr==3&&(yr.n||yr.val==" "||o==Zt-1)||Mr==4&&(yr.n||o==Zt-1))&&(Tr.s.rn===1&&jr.push(Ur),Ur+=1);i.a[Er].s.totalChars=Ur;var Vs=-1,Ts;if(Tr.s.rn===1)for(o=0;o<Zt;o+=1)yr=r[o],Vs!=yr.anIndexes[Er]&&(Vs=yr.anIndexes[Er],Ts=jr.splice(Math.floor(Math.random()*jr.length),1)[0]),yr.anIndexes[Er]=Ts}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=sr.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,i=Math.floor;function r(Zt,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=Zt,this.comp=Zt.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Zt),this.s=PropertyFactory.getProp(Zt,tr.s||{k:0},0,0,this),"e"in tr?this.e=PropertyFactory.getProp(Zt,tr.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(Zt,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(Zt,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(Zt,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(Zt,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(Zt,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(Zt){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var tr=0,ar=0,ir=1,fr=1;this.ne.v>0?tr=this.ne.v/100:ar=-this.ne.v/100,this.xe.v>0?ir=1-this.xe.v/100:fr=1+this.xe.v/100;var gr=BezierFactory.getBezierEasing(tr,ar,ir,fr).get,nr=0,rr=this.finalS,vr=this.finalE,cr=this.data.sh;if(cr===2)vr===rr?nr=Zt>=vr?1:0:nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===3)vr===rr?nr=Zt>=vr?0:1:nr=1-t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===4)vr===rr?nr=0:(nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr<.5?nr*=2:nr=1-2*(nr-.5)),nr=gr(nr);else if(cr===5){if(vr===rr)nr=0;else{var ur=vr-rr;Zt=e(t(0,Zt+.5-rr),vr-rr);var Er=-ur/2+Zt,or=ur/2;nr=Math.sqrt(1-Er*Er/(or*or))}nr=gr(nr)}else cr===6?(vr===rr?nr=0:(Zt=e(t(0,Zt+.5-rr),vr-rr),nr=(1+Math.cos(Math.PI+Math.PI*2*Zt/(vr-rr)))/2),nr=gr(nr)):(Zt>=i(rr)&&(Zt-rr<0?nr=t(0,e(e(vr,1)-(rr-Zt),1)):nr=t(0,e(vr-Zt,1))),nr=gr(nr));if(this.sm.v!==100){var sr=this.sm.v*.01;sr===0&&(sr=1e-8);var pr=.5-sr*.5;nr<pr?nr=0:(nr=(nr-pr)/sr,nr>1&&(nr=1))}return nr*this.a.v},getValue:function(Zt){this.iterateDynamicProperties(),this._mdf=Zt||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Zt&&this.data.r===2&&(this.e.v=this._currentTextLength);var tr=this.data.r===2?1:100/this.data.totalChars,ar=this.o.v/tr,ir=this.s.v/tr+ar,fr=this.e.v/tr+ar;if(ir>fr){var gr=ir;ir=fr,fr=gr}this.finalS=ir,this.finalE=fr}},extendPrototype([DynamicPropertyContainer],r);function o(Zt,tr,ar){return new r(Zt,tr)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},o=PropertyFactory.getProp,Zt=e.a;this.a={r:Zt.r?o(t,Zt.r,0,degToRads,i):r,rx:Zt.rx?o(t,Zt.rx,0,degToRads,i):r,ry:Zt.ry?o(t,Zt.ry,0,degToRads,i):r,sk:Zt.sk?o(t,Zt.sk,0,degToRads,i):r,sa:Zt.sa?o(t,Zt.sa,0,degToRads,i):r,s:Zt.s?o(t,Zt.s,1,.01,i):r,a:Zt.a?o(t,Zt.a,1,0,i):r,o:Zt.o?o(t,Zt.o,0,.01,i):r,p:Zt.p?o(t,Zt.p,1,0,i):r,sw:Zt.sw?o(t,Zt.sw,0,0,i):r,sc:Zt.sc?o(t,Zt.sc,1,0,i):r,fc:Zt.fc?o(t,Zt.fc,1,0,i):r,fh:Zt.fh?o(t,Zt.fh,0,0,i):r,fs:Zt.fs?o(t,Zt.fs,0,.01,i):r,fb:Zt.fb?o(t,Zt.fb,0,.01,i):r,t:Zt.t?o(t,Zt.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,r=PropertyFactory.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,r=this._animatorsData,o=this._textData,Zt=this.mHelper,tr=this._renderType,ar=this.renderedLetters.length,ir,fr,gr,nr,rr=t.l,vr,cr,ur,Er,or,sr,pr,dr,Pr,Ir,zr,$r,es,hs,ps;if(this._hasMaskedPath){if(ps=this._pathData.m,!this._pathData.n||this._pathData._mdf){var os=ps.v;this._pathData.r.v&&(os=os.reverse()),vr={tLength:0,segments:[]},nr=os._length-1;var xs;for($r=0,gr=0;gr<nr;gr+=1)xs=bez.buildBezierData(os.v[gr],os.v[gr+1],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[gr+1][0]-os.v[gr+1][0],os.i[gr+1][1]-os.v[gr+1][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength;gr=nr,ps.v.c&&(xs=bez.buildBezierData(os.v[gr],os.v[0],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[0][0]-os.v[0][0],os.i[0][1]-os.v[0][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength),this._pathData.pi=vr}if(vr=this._pathData.pi,cr=this._pathData.f.v,pr=0,sr=1,Er=0,or=!0,Ir=vr.segments,cr<0&&ps.v.c)for(vr.tLength<Math.abs(cr)&&(cr=-Math.abs(cr)%vr.tLength),pr=Ir.length-1,Pr=Ir[pr].points,sr=Pr.length-1;cr<0;)cr+=Pr[sr].partialLength,sr-=1,sr<0&&(pr-=1,Pr=Ir[pr].points,sr=Pr.length-1);Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength}nr=rr.length,ir=0,fr=0;var is=t.finalSize*1.2*.714,cs=!0,Ar,Tr,yr,Mr,Ur;Mr=r.length;var jr,Vs=-1,Ts,Ns,Bs,Ys=cr,Hs=pr,Qs=sr,na=-1,ra,$s,sa,Rs,Ms,ua,ka,ya,la="",_a=this.defaultPropsArray,ca;if(t.j===2||t.j===1){var aa=0,da=0,js=t.j===2?-.5:-1,Us=0,qs=!0;for(gr=0;gr<nr;gr+=1)if(rr[gr].n){for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1;aa=0,qs=!0}else{for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(qs&&t.j===2&&(da+=Ar.t.v*js),Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?aa+=Ar.t.v*jr[0]*js:aa+=Ar.t.v*jr*js);qs=!1}for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1}for(gr=0;gr<nr;gr+=1){if(Zt.reset(),ra=1,rr[gr].n)ir=0,fr+=t.yOffset,fr+=cs?1:0,cr=Ys,cs=!1,this._hasMaskedPath&&(pr=Hs,sr=Qs,Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength,Er=0),la="",ya="",ua="",ca="",_a=this.defaultPropsArray;else{if(this._hasMaskedPath){if(na!==rr[gr].line){switch(t.j){case 1:cr+=$r-t.lineWidths[rr[gr].line];break;case 2:cr+=($r-t.lineWidths[rr[gr].line])/2;break}na=rr[gr].line}Vs!==rr[gr].ind&&(rr[Vs]&&(cr+=rr[Vs].extra),cr+=rr[gr].an/2,Vs=rr[gr].ind),cr+=i[0]*rr[gr].an*.005;var ta=0;for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.p.v[0]*jr[0]:ta+=Ar.p.v[0]*jr),Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.a.v[0]*jr[0]:ta+=Ar.a.v[0]*jr);for(or=!0,this._pathData.a.v&&(cr=rr[0].an*.5+($r-this._pathData.f.v-rr[0].an*.5-rr[rr.length-1].an*.5)*Vs/(nr-1),cr+=this._pathData.f.v);or;)Er+zr>=cr+ta||!Pr?(es=(cr+ta-Er)/ur.partialLength,Ns=dr.point[0]+(ur.point[0]-dr.point[0])*es,Bs=dr.point[1]+(ur.point[1]-dr.point[1])*es,Zt.translate(-i[0]*rr[gr].an*.005,-(i[1]*is)*.01),or=!1):Pr&&(Er+=ur.partialLength,sr+=1,sr>=Pr.length&&(sr=0,pr+=1,Ir[pr]?Pr=Ir[pr].points:ps.v.c?(sr=0,pr=0,Pr=Ir[pr].points):(Er-=ur.partialLength,Pr=null)),Pr&&(dr=ur,ur=Pr[sr],zr=ur.partialLength));Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0)}else Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0),Zt.translate(-i[0]*rr[gr].an*.005,-i[1]*is*.01,0);for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),(ir!==0||t.j!==0)&&(this._hasMaskedPath?jr.length?cr+=Ar.t.v*jr[0]:cr+=Ar.t.v*jr:jr.length?ir+=Ar.t.v*jr[0]:ir+=Ar.t.v*jr));for(t.strokeWidthAnim&&(sa=t.sw||0),t.strokeColorAnim&&(t.sc?$s=[t.sc[0],t.sc[1],t.sc[2]]:$s=[0,0,0]),t.fillColorAnim&&t.fc&&(Rs=[t.fc[0],t.fc[1],t.fc[2]]),yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.translate(-Ar.a.v[0]*jr[0],-Ar.a.v[1]*jr[1],Ar.a.v[2]*jr[2]):Zt.translate(-Ar.a.v[0]*jr,-Ar.a.v[1]*jr,Ar.a.v[2]*jr));for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.s.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.scale(1+(Ar.s.v[0]-1)*jr[0],1+(Ar.s.v[1]-1)*jr[1],1):Zt.scale(1+(Ar.s.v[0]-1)*jr,1+(Ar.s.v[1]-1)*jr,1));for(yr=0;yr<Mr;yr+=1){if(Ar=r[yr].a,Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),Ar.sk.propType&&(jr.length?Zt.skewFromAxis(-Ar.sk.v*jr[0],Ar.sa.v*jr[1]):Zt.skewFromAxis(-Ar.sk.v*jr,Ar.sa.v*jr)),Ar.r.propType&&(jr.length?Zt.rotateZ(-Ar.r.v*jr[2]):Zt.rotateZ(-Ar.r.v*jr)),Ar.ry.propType&&(jr.length?Zt.rotateY(Ar.ry.v*jr[1]):Zt.rotateY(Ar.ry.v*jr)),Ar.rx.propType&&(jr.length?Zt.rotateX(Ar.rx.v*jr[0]):Zt.rotateX(Ar.rx.v*jr)),Ar.o.propType&&(jr.length?ra+=(Ar.o.v*jr[0]-ra)*jr[0]:ra+=(Ar.o.v*jr-ra)*jr),t.strokeWidthAnim&&Ar.sw.propType&&(jr.length?sa+=Ar.sw.v*jr[0]:sa+=Ar.sw.v*jr),t.strokeColorAnim&&Ar.sc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr[0]:$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr;if(t.fillColorAnim&&t.fc){if(Ar.fc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr[0]:Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr;Ar.fh.propType&&(jr.length?Rs=addHueToRGB(Rs,Ar.fh.v*jr[0]):Rs=addHueToRGB(Rs,Ar.fh.v*jr)),Ar.fs.propType&&(jr.length?Rs=addSaturationToRGB(Rs,Ar.fs.v*jr[0]):Rs=addSaturationToRGB(Rs,Ar.fs.v*jr)),Ar.fb.propType&&(jr.length?Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr[0]):Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr))}}for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),this._hasMaskedPath?jr.length?Zt.translate(0,Ar.p.v[1]*jr[0],-Ar.p.v[2]*jr[1]):Zt.translate(0,Ar.p.v[1]*jr,-Ar.p.v[2]*jr):jr.length?Zt.translate(Ar.p.v[0]*jr[0],Ar.p.v[1]*jr[1],-Ar.p.v[2]*jr[2]):Zt.translate(Ar.p.v[0]*jr,Ar.p.v[1]*jr,-Ar.p.v[2]*jr));if(t.strokeWidthAnim&&(ua=sa<0?0:sa),t.strokeColorAnim&&(ka="rgb("+Math.round($s[0]*255)+","+Math.round($s[1]*255)+","+Math.round($s[2]*255)+")"),t.fillColorAnim&&t.fc&&(ya="rgb("+Math.round(Rs[0]*255)+","+Math.round(Rs[1]*255)+","+Math.round(Rs[2]*255)+")"),this._hasMaskedPath){if(Zt.translate(0,-t.ls),Zt.translate(0,i[1]*is*.01+fr,0),this._pathData.p.v){hs=(ur.point[1]-dr.point[1])/(ur.point[0]-dr.point[0]);var ga=Math.atan(hs)*180/Math.PI;ur.point[0]<dr.point[0]&&(ga+=180),Zt.rotate(-ga*Math.PI/180)}Zt.translate(Ns,Bs,0),cr-=i[0]*rr[gr].an*.005,rr[gr+1]&&Vs!==rr[gr+1].ind&&(cr+=rr[gr].an/2,cr+=t.tr*.001*t.finalSize)}else{switch(Zt.translate(ir,fr,0),t.ps&&Zt.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line]),0,0);break;case 2:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line])/2,0,0);break}Zt.translate(0,-t.ls),Zt.translate(Ts,0,0),Zt.translate(i[0]*rr[gr].an*.005,i[1]*is*.01,0),ir+=rr[gr].l+t.tr*.001*t.finalSize}tr==="html"?la=Zt.toCSS():tr==="svg"?la=Zt.to2dCSS():_a=[Zt.props[0],Zt.props[1],Zt.props[2],Zt.props[3],Zt.props[4],Zt.props[5],Zt.props[6],Zt.props[7],Zt.props[8],Zt.props[9],Zt.props[10],Zt.props[11],Zt.props[12],Zt.props[13],Zt.props[14],Zt.props[15]],ca=ra}ar<=gr?(Ur=new LetterProps(ca,ua,ka,ya,la,_a),this.renderedLetters.push(Ur),ar+=1,this.lettersChangedFlag=!0):(Ur=this.renderedLetters[gr],this.lettersChangedFlag=Ur.update(ca,ua,ka,ya,la,_a)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var i,r=e.length,o,Zt="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(o=e[i].ks.k,Zt+=buildShapeString(o,o.i.length,!0,t));return Zt},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,r,o){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break}e.translate(r,o,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,r=[],o="";e<i;)t[e]==="\r"||t[e]==="�"?(r.push(o),o=""):o+=t[e],e+=1;return r.push(o),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var r=i.it[i.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var o=i.fWeight,Zt=i.fStyle;this.layerElement.setAttribute("font-style",Zt),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",i.t);var tr=i.l||[],ar=!!this.globalData.fontManager.chars;e=tr.length;var ir,fr=this.mHelper,gr="",nr=this.data.singleShape,rr=0,vr=0,cr=!0,ur=i.tr*.001*i.finalSize;if(nr&&!ar&&!i.sz){var Er=this.textContainer,or="start";switch(i.j){case 1:or="end";break;case 2:or="middle";break;default:or="start";break}Er.setAttribute("text-anchor",or),Er.setAttribute("letter-spacing",ur);var sr=this.buildTextContents(i.finalText);for(e=sr.length,vr=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)ir=this.textSpans[t].span||createNS("tspan"),ir.textContent=sr[t],ir.setAttribute("x",0),ir.setAttribute("y",vr),ir.style.display="inherit",Er.appendChild(ir),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=ir,vr+=i.finalLineHeight;this.layerElement.appendChild(Er)}else{var pr=this.textSpans.length,dr;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!ar||!nr||t===0){if(ir=pr>t?this.textSpans[t].span:createNS(ar?"g":"text"),pr<=t){if(ir.setAttribute("stroke-linecap","butt"),ir.setAttribute("stroke-linejoin","round"),ir.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=ir,ar){var Pr=createNS("g");ir.appendChild(Pr),this.textSpans[t].childSpan=Pr}this.textSpans[t].span=ir,this.layerElement.appendChild(ir)}ir.style.display="inherit"}if(fr.reset(),nr&&(tr[t].n&&(rr=-ur,vr+=i.yOffset,vr+=cr?1:0,cr=!1),this.applyTextPropertiesToMatrix(i,fr,tr[t].line,rr,vr),rr+=tr[t].l||0,rr+=ur),ar){dr=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var Ir;if(dr.t===1)Ir=new SVGCompElement(dr.data,this.globalData,this);else{var zr=emptyShapeData;dr.data&&dr.data.shapes&&(zr=this.buildShapeData(dr.data,i.finalSize)),Ir=new SVGShapeElement(zr,this.globalData,this)}if(this.textSpans[t].glyph){var $r=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild($r.layerElement),$r.destroy()}this.textSpans[t].glyph=Ir,Ir._debug=!0,Ir.prepareFrame(0),Ir.renderFrame(),this.textSpans[t].childSpan.appendChild(Ir.layerElement),dr.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else nr&&ir.setAttribute("transform","translate("+fr.props[12]+","+fr.props[13]+")"),ir.textContent=tr[t].val,ir.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}nr&&ir&&ir.setAttribute("d",gr)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,i=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;e=r.length;var o,Zt,tr;for(t=0;t<e;t+=1)r[t].n||(o=i[t],Zt=this.textSpans[t].span,tr=this.textSpans[t].glyph,tr&&tr.renderFrame(),o._mdf.m&&Zt.setAttribute("transform",o.m),o._mdf.o&&Zt.setAttribute("op
850acity",o.o),o._mdf.sw&&Zt.setAttribute("stroke-width",o.sw),o._mdf.sc&&Zt.setAttribute("stroke",o.sc),o._mdf.fc&&Zt.setAttribute("fill",o.fc))}};function ISolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var o=createElementID();i.setAttribute("id",o),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(i);else{var o=e[r],Zt=o.getMatte(this.layers[t].tt);i.setMatte(Zt)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,o=this.elements[r],Zt=o.getMatte(this.layers[e].tt);t.setMatte(Zt);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=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<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var r=0,o;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&
vendor: 5,438 bytes, line 850
850(o=this.elements[r].getBaseElement()),r+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var r=createNS("title"),o=createElementID();r.setAttribute("id",o),r.textContent=e.title,this.svgElement.appendChild(r),i+=o}if(e&&e.description){var Zt=createNS("desc"),tr=createElementID();Zt.setAttribute("id",tr),Zt.textContent=e.description,this.svgElement.appendChild(Zt),i+=" "+tr}i&&this.svgElement.setAttribute("aria-labelledby",i);var ar=createNS("defs");this.svgElement.appendChild(ar);var ir=createNS("g");this.svgElement.appendChild(ir),this.layerElement=ir,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ar,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(t){var e,i=t.length,r="_";for(e=0;e<i;e+=1)r+=t[e].transform.key+"_";var o=this.sequences[r];return o||(o={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=o,this.sequenceList.push(o)),o},processSequence:function(t,e){for(var i=0,r=t.transforms.length,o=e;i<r&&!e;){if(t.transforms[i].transform.mProps._mdf){o=!0;break}i+=1}if(o)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=o},processSequences:function(t){var e,i=this.sequenceList.length;for(e=0;e<i;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,i=null,r=null;function o(){var ar=createNS("svg"),ir=createNS("filter"),fr=createNS("feColorMatrix");return ir.setAttribute("id",t),fr.setAttribute("type","matrix"),fr.setAttribute("color-interpolation-filters","sRGB"),fr.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),ir.appendChild(fr),ar.appendChild(ir),ar.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(ar.style.display="none"),ar}function Zt(){e||(r=o(),document.body.appendChild(r),e=createTag("canvas"),i=e.getContext("2d"),i.filter="url
850(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function tr(ar){return e||Zt(),e.width=ar.width,e.height=ar.height,i.filter="url(#"+t+")",e}return{load:Zt,get:tr}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var i=createTag("canvas");return i.width=t,i.height=e,i}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;this.filters=[];var r;for(e=0;e<i;e+=1){r=null;var o=t.data.ef[e].ty;if(registeredEffects[o]){var Zt=registeredEffects[o].effect;r=new Zt(t.effectsManager.effectElements[e],t)}r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i,r=this.masksProperties.length,o=!1;for(i=0;i<r;i+=1)this.masksProperties[i].mode!=="n"&&(o=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,i,r=this.masksProperties.length,o,Zt,tr;for(e.beginPath(),i=0;i<r;i+=1)if(this.masksProperties[i].mode!=="n"){this.masksProperties[i].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),tr=this.viewData[i].v,o=t.applyToPointArray(tr.v[0][0],tr.v[0][1],0),e.moveTo(o[0],o[1]);var ar,ir=tr._length;for(ar=1;ar<ir;ar+=1)Zt=t.applyToTriplePoints(tr.o[ar-1],tr.i[ar],tr.v[ar]),e.bezierCurveTo(Zt[0],Zt[1],Zt[2],Zt[3],Zt[4],Zt[5]);Zt=t.applyToTriplePoints(tr.o[ar-1],tr.i[0],tr.v[0]),e.bezierCurveTo(Zt[0],Zt[1],Zt[2],Zt[3],Zt[4],Zt[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var i=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0],e=t.getContext("2d");this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");this.clearCanvas(e),e.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 i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas),o=r.getContext("2d");o.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!t)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var e=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(e),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;
vendor: 61,829 bytes, line 850
850function CVShapeData(t,e,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;e.ty==="rc"?o=5:e.ty==="el"?o=6:e.ty==="sr"&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,o,t);var Zt,tr=i.length,ar;for(Zt=0;Zt<tr;Zt+=1)i[Zt].closed||(ar={transforms:r.addTransformSequence(i[Zt].transforms),trNodes:[]},this.styledShapes.push(ar),i[Zt].elements.push(ar))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var i={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:t.hd===!0},r={};if(t.ty==="fl"||t.ty==="st"?(r.c=PropertyFactory.getProp(this,t.c,1,255,this),r.c.k||(i.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):(t.ty==="gf"||t.ty==="gs")&&(r.s=PropertyFactory.getProp(this,t.s,1,null,this),r.e=PropertyFactory.getProp(this,t.e,1,null,this),r.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,t.g,this)),r.o=PropertyFactory.getProp(this,t.o,0,.01,this),t.ty==="st"||t.ty==="gs"){if(i.lc=lineCapEnum[t.lc||2],i.lj=lineJoinEnum[t.lj||2],t.lj==1&&(i.ml=t.ml),r.w=PropertyFactory.getProp(this,t.w,0,null,this),r.w.k||(i.wi=r.w.v),t.d){var o=new DashProperty(this,t.d,"canvas",this);r.d=o,r.d.k||(i.da=r.d.dashArray,i.do=r.d.dashoffset[0])}}else i.r=t.r===2?"evenodd":"nonzero";return this.stylesList.push(i),r.style=i,r},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,i,r,o){var Zt,tr=t.length-1,ar,ir,fr=[],gr=[],nr,rr,vr,cr=[].concat(o);for(Zt=tr;Zt>=0;Zt-=1){if(nr=this.searchProcessedElement(t[Zt]),nr?e[Zt]=i[nr-1]:t[Zt]._shouldRender=r,t[Zt].ty==="fl"||t[Zt].ty==="st"||t[Zt].ty==="gf"||t[Zt].ty==="gs")nr?e[Zt].style.closed=!1:e[Zt]=this.createStyleElement(t[Zt],cr),fr.push(e[Zt].style);else if(t[Zt].ty==="gr"){if(!nr)e[Zt]=this.createGroupElement(t[Zt]);else for(ir=e[Zt].it.length,ar=0;ar<ir;ar+=1)e[Zt].prevViewData[ar]=e[Zt].it[ar];this.searchShapes(t[Zt].it,e[Zt].it,e[Zt].prevViewData,r,cr)}else t[Zt].ty==="tr"?(nr||(vr=this.createTransformElement(t[Zt]),e[Zt]=vr),cr.push(e[Zt]),this.addTransformToStyleList(e[Zt])):t[Zt].ty==="sh"||t[Zt].ty==="rc"||t[Zt].ty==="el"||t[Zt].ty==="sr"?nr||(e[Zt]=this.createShapeElement(t[Zt])):t[Zt].ty==="tm"||t[Zt].ty==="rd"||t[Zt].ty==="pb"||t[Zt].ty==="zz"||t[Zt].ty==="op"?(nr?(rr=e[Zt],rr.closed=!1):(rr=ShapeModifiers.getModifier(t[Zt].ty),rr.init(this,t[Zt]),e[Zt]=rr,this.shapeModifiers.push(rr)),gr.push(rr)):t[Zt].ty==="rp"&&(nr?(rr=e[Zt],rr.closed=!0):(rr=ShapeModifiers.getModifier(t[Zt].ty),e[Zt]=rr,rr.init(this,t,Zt,e),this.shapeModifiers.push(rr),r=!1),gr.push(rr));this.addProcessedElement(t[Zt],Zt+1)}for(this.removeTransformFromStyleList(),this.closeStyles(fr),tr=gr.length,Zt=0;Zt<tr;Zt+=1)gr[Zt].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e=this.stylesList.length,i,r,o,Zt,tr,ar,ir=this.globalData.renderer,fr=this.globalData.canvasContext,gr,nr;for(t=0;t<e;t+=1)if(nr=this.stylesList[t],gr=nr.type,!((gr==="st"||gr==="gs")&&nr.wi===0||!nr.data._shouldRender||nr.coOp===0||this.globalData.currentGlobalAlpha===0)){for(ir.save(),tr=nr.elements,gr==="st"||gr==="gs"?(ir.ctxStrokeStyle(gr==="st"?nr.co:nr.grd),ir.ctxLineWidth(nr.wi),ir.ctxLineCap(nr.lc),ir.ctxLineJoin(nr.lj),ir.ctxMiterLimit(nr.ml||0)):ir.ctxFillStyle(gr==="fl"?nr.co:nr.grd),ir.ctxOpacity(nr.coOp),gr!=="st"&&gr!=="gs"&&fr.beginPath(),ir.ctxTransform(nr.preTransforms.finalTransform.props),r=tr.length,i=0;i<r;i+=1){for((gr==="st"||gr==="gs")&&(fr.beginPath(),nr.da&&(fr.setLineDash(nr.da),fr.lineDashOffset=nr.do)),ar=tr[i].trNodes,Zt=ar.length,o=0;o<Zt;o+=1)ar[o].t==="m"?fr.moveTo(ar[o].p[0],ar[o].p[1]):ar[o].t==="c"?fr.bezierCurveTo(ar[o].pts[0],ar[o].pts[1],ar[o].pts[2],ar[o].pts[3],ar[o].pts[4],ar[o].pts[5]):fr.closePath();(gr==="st"||gr==="gs")&&(ir.ctxStroke(),nr.da&&fr.setLineDash(this.dashResetter))}gr!=="st"&&gr!=="gs"&&this.globalData.renderer.ctxFill(nr.r),ir.restore()}},CVShapeElement.prototype.renderShape=function(t,e,i,r){var o,Zt=e.length-1,tr;for(tr=t,o=Zt;o>=0;o-=1)e[o].ty==="tr"?(tr=i[o].transform,this.renderShapeTransform(t,tr)):e[o].ty==="sh"||e[o].ty==="el"||e[o].ty==="rc"||e[o].ty==="sr"?this.renderPath(e[o],i[o]):e[o].ty==="fl"?this.renderFill(e[o],i[o],tr):e[o].ty==="st"?this.renderStroke(e[o],i[o],tr):e[o].ty==="gf"||e[o].ty==="gs"?this.renderGradientFill(e[o],i[o],tr):e[o].ty==="gr"?this.renderShape(tr,e[o].it,i[o].it):e[o].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var i=t.trNodes,r=e.paths,o,Zt,tr,ar=r._length;i.length=0;var ir=t.transforms.finalTransform;for(tr=0;tr<ar;tr+=1){var fr=r.shapes[tr];if(fr&&fr.v){for(Zt=fr._length,o=1;o<Zt;o+=1)o===1&&i.push({t:"m",p:ir.applyToPointArray(fr.v[0][0],fr.v[0][1],0)}),i.push({t:"c",pts:ir.applyToTriplePoints(fr.o[o-1],fr.i[o],fr.v[o])});Zt===1&&i.push({t:"m",p:ir.applyToPointArray(fr.v[0][0],fr.v[0][1],0)}),fr.c&&Zt&&(i.push({t:"c",pts:ir.applyToTriplePoints(fr.o[o-1],fr.i[0],fr.v[0])}),i.push({t:"z"}))}}t.trNodes=i}},CVShapeElement.prototype.renderPath=function(t,e){if(t.hd!==!0&&t._shouldRender){var i,r=e.styledShapes.length;for(i=0;i<r;i+=1)this.renderStyledShape(e.styledShapes[i],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,i){var r=e.style;(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,i){var r=e.style,o;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var Zt=this.globalData.canvasContext,tr=e.s.v,ar=e.e.v;if(t.t===1)o=Zt.createLinearGradient(tr[0],tr[1],ar[0],ar[1]);else{var ir=Math.sqrt(Math.pow(tr[0]-ar[0],2)+Math.pow(tr[1]-ar[1],2)),fr=Math.atan2(ar[1]-tr[1],ar[0]-tr[0]),gr=e.h.v;gr>=1?gr=.99:gr<=-1&&(gr=-.99);var nr=ir*gr,rr=Math.cos(fr+e.a.v)*nr+tr[0],vr=Math.sin(fr+e.a.v)*nr+tr[1];o=Zt.createRadialGradient(rr,vr,0,tr[0],tr[1],ir)}var cr,ur=t.g.p,Er=e.g.c,or=1;for(cr=0;cr<ur;cr+=1)e.g._hasOpacity&&e.g._collapsable&&(or=e.g.o[cr*2+1]),o.addColorStop(Er[cr*4]/100,"rgba("+Er[cr*4+1]+","+Er[cr*4+2]+","+Er[cr*4+3]+","+or+")");r.grd=o}r.coOp=e.o.v*i.opacity},CVShapeElement.prototype.renderStroke=function(t,e,i){var r=e.style,o=e.d;o&&(o._mdf||this._isFirstFrame)&&(r.da=o.dashArray,r.do=o.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(r.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||i._opMdf||this._isFirstFrame)&&(r.coOp=e.o.v*i.opacity),(e.w._mdf||this._isFirstFrame)&&(r.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(t,e,i){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var i=!1;t.sc&&(i=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var r=this.globalData.fontManager.getFontByName(t.f),o,Zt,tr=t.l,ar=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,Zt=t.finalText.length;var ir,fr,gr,nr,rr,vr,cr,ur,Er,or,sr=this.data.singleShape,pr=t.tr*.001*t.finalSize,dr=0,Pr=0,Ir=!0,zr=0;for(o=0;o<Zt;o+=1){ir=this.globalData.fontManager.getCharData(t.finalText[o],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),fr=ir&&ir.data||{},ar.reset(),sr&&tr[o].n&&(dr=-pr,Pr+=t.yOffset,Pr+=Ir?1:0,Ir=!1),rr=fr.shapes?fr.shapes[0].it:[],cr=rr.length,ar.scale(t.finalSize/100,t.finalSize/100),sr&&this.applyTextPropertiesToMatrix(t,ar,tr[o].line,dr,Pr),Er=createSizedArray(cr-1);var $r=0;for(vr=0;vr<cr;vr+=1)if(rr[vr].ty==="sh"){for(nr=rr[vr].ks.k.i.length,ur=rr[vr].ks.k,or=[],gr=1;gr<nr;gr+=1)gr===1&&or.push(ar.applyToX(ur.v[0][0],ur.v[0][1],0),ar.applyToY(ur.v[0][0],ur.v[0][1],0)),or.push(ar.applyToX(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToY(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToX(ur.i[gr][0],ur.i[gr][1],0),ar.applyToY(ur.i[gr][0],ur.i[gr][1],0),ar.applyToX(ur.v[gr][0],ur.v[gr][1],0),ar.applyToY(ur.v[gr][0],ur.v[gr][1],0));or.push(ar.applyToX(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToY(ur.o[gr-1][0],ur.o[gr-1][1],0),ar.applyToX(ur.i[0][0],ur.i[0][1],0),ar.applyToY(ur.i[0][0],ur.i[0][1],0),ar.applyToX(ur.v[0][0],ur.v[0][1],0),ar.applyToY(ur.v[0][0],ur.v[0][1],0)),Er[$r]=or,$r+=1}sr&&(dr+=tr[o].l,dr+=pr),this.textSpans[zr]?this.textSpans[zr].elem=Er:this.textSpans[zr]={elem:Er},zr+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var t=this.canvasContext;t.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,i,r,o,Zt,tr,ar=this.textAnimator.renderedLetters,ir=this.textProperty.currentData.l;i=ir.length;var fr,gr=null,nr=null,rr=null,vr,cr,ur=this.globalData.renderer;for(e=0;e<i;e+=1)if(!ir[e].n){if(fr=ar[e],fr&&(ur.save(),ur.ctxTransform(fr.p),ur.ctxOpacity(fr.o)),this.fill){for(fr&&fr.fc?gr!==fr.fc&&(ur.ctxFillStyle(fr.fc),gr=fr.fc):gr!==this.values.fill&&(gr=this.values.fill,ur.ctxFillStyle(this.values.fill)),vr=this.textSpans[e].elem,o=vr.length,this.globalData.canvasContext.beginPath(),r=0;r<o;r+=1)for(cr=vr[r],tr=cr.length,this.globalData.canvasContext.moveTo(cr[0],cr[1]),Zt=2;Zt<tr;Zt+=6)this.globalData.canvasContext.bezierCurveTo(cr[Zt],cr[Zt+1],cr[Zt+2],cr[Zt+3],cr[Zt+4],cr[Zt+5]);this.globalData.canvasContext.closePath(),ur.ctxFill()}if(this.stroke){for(fr&&fr.sw?rr!==fr.sw&&(rr=fr.sw,ur.ctxLineWidth(fr.sw)):rr!==this.values.sWidth&&(rr=this.values.sWidth,ur.ctxLineWidth(this.values.sWidth)),fr&&fr.sc?nr!==fr.sc&&(nr=fr.sc,ur.ctxStrokeStyle(fr.sc)):nr!==this.values.stroke&&(nr=this.values.stroke,ur.ctxStrokeStyle(this.values.stroke)),vr=this.textSpans[e].elem,o=vr.length,this.globalData.canvasContext.beginPath(),r=0;r<o;r+=1)for(cr=vr[r],tr=cr.length,this.globalData.canvasContext.moveTo(cr[0],cr[1]),Zt=2;Zt<tr;Zt+=6)this.globalData.canvasContext.bezierCurveTo(cr[Zt],cr[Zt+1],cr[Zt+2],cr[Zt+3],cr[Zt+4],cr[Zt+5]);this.globalData.canvasContext.closePath(),ur.ctxStroke()}fr&&this.globalData.renderer.restore()}};function CVImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e=t.getContext("2d"),i=this.img.width,r=this.img.height,o=i/r,Zt=this.assetData.w/this.assetData.h,tr,ar,ir=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;o>Zt&&ir==="xMidYMid slice"||o<Zt&&ir!=="xMidYMid slice"?(ar=r,tr=ar*Zt):(tr=i,ar=tr/Zt),e.drawImage(this.img,(i-tr)/2,(r-ar)/2,tr,ar,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,i,r){this.canvasContext.fillRect(t,e,i,r)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var i="0px 0px 0px";e.transformOrigin=i,e.mozTransformOrigin=i,e.webkitTransformOrigin=i,e["-webkit-transform"]=i,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){this.reset();var i,r;t?(i=t,r=e,this.canvasContext.canvas.width=i,this.canvasContext.canvas.height=r):(this.animationItem.wrapper&&this.animationItem.container?(i=this.animationItem.wrapper.offsetWidth,r=this.animationItem.wrapper.offsetHeight):(i=this.canvasContext.canvas.width,r=this.canvasContext.canvas.height),this.canvasContext.canvas.width=i*this.renderConfig.dpr,this.canvasContext.canvas.height=r*this.renderConfig.dpr);var o,Zt;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var tr=this.renderConfig.preserveAspectRatio.split(" "),ar=tr[1]||"meet",ir=tr[0]||"xMidYMid",fr=ir.substr(0,4),gr=ir.substr(4);o=i/r,Zt=this.transformCanvas.w/this.transformCanvas.h,Zt>o&&ar==="meet"||Zt<o&&ar==="slice"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr)),fr==="xMid"&&(Zt<o&&ar==="meet"||Zt>o&&ar==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:fr==="xMax"&&(Zt<o&&ar==="meet"||Zt>o&&ar==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,gr==="YMid"&&(Zt>o&&ar==="meet"||Zt<o&&ar==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:gr==="YMax"&&(Zt>o&&ar==="meet"||Zt<o&&ar==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(i/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=i/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=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 i,r=this.layers.length;for(this.completeLayers||this.checkLayers(t),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].prepareFrame(t-this.layers[i].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&this.elements[i].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 i=this.createItem(this.layers[t],this,this.globalData);e[t]=i,i.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<e;t+=1){var i=new CanvasContext;this.stack[t]=i}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var t=this._length*2,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e=this.stack[this.cArrPos],i=e.transform,r,o=this.cTr.props;for(r=0;r<16;r+=1)o[r]=i[r];if(t){this.nativeContext.restore();var Zt=this.stack[this.cArrPos+1];this.appliedFillStyle=Zt.fillStyle,this.appliedStrokeStyle=Zt.strokeStyle,this.appliedLineWidth=Zt.lineWidth,this.appliedLineCap=Zt.lineCap,this.appliedLineJoin=Zt.lineJoin,this.appliedMiterLimit=Zt.miterLimit}this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13]),(t||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var i=this.stack[this.cArrPos],r;for(r=0;r<16;r+=1)i.transform[r]=e[r];this.cArrPos+=1;var o=this.stack[this.cArrPos];o.opacity=i.opacity,o.fillStyle=i.fillStyle,o.strokeStyle=i.strokeStyle,o.lineWidth=i.lineWidth,o.lineCap=i.lineCap,o.lineJoin=i.lineJoin,o.miterLimit=i.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var i=e.props;this.nativeContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,i,r){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,i,r)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(t,e,i){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,i=this.layers.length;for(e=i-1;e>=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)},registerRenderer("canvas",CanvasRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier);var CompExpressionInterface=function(){return function(t){function e(i){for(var r=0,o=t.layers.length;r<o;){if(t.layers[r].nm===i||t.layers[r].ind===i)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(e){return typeof e}:_typeof$2=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(t)}function seedRandom(t,e){var i=this,r=256,o=6,Zt=52,tr="random",ar=e.pow(r,o),ir=e.pow(2,Zt),fr=ir*2,gr=r-1;function nr(sr,pr,dr){var Pr=[];pr=pr===!0?{entropy:!0}:pr||{};var Ir=ur(cr(pr.entropy?[sr,or(t)]:sr===null?Er():sr,3),Pr),zr=new rr(Pr),$r=function(){for(var es=zr.g(o),hs=ar,ps=0;es<ir;)es=(es+ps)*r,hs*=r,ps=zr.g(1);for(;es>=fr;)es/=2,hs/=2,ps>>>=1;return(es+ps)/hs};return $r.int32=function(){return zr.g(4)|0},$r.quick=function(){return zr.g(4)/4294967296},$r.double=$r,ur(or(zr.S),t),(pr.pass||dr||function(es,hs,ps,os){return os&&(os.S&&vr(os,zr),es.state=function(){return vr(zr,{})}),ps?(e[tr]=es,hs):es})($r,Ir,"global"in pr?pr.global:this==e,pr.state)}e["seed"+tr]=nr;function rr(sr){var pr,dr=sr.length,Pr=this,Ir=0,zr=Pr.i=Pr.j=0,$r=Pr.S=[];for(dr||(sr=[dr++]);Ir<r;)$r[Ir]=Ir++;for(Ir=0;Ir<r;Ir++)$r[Ir]=$r[zr=gr&zr+sr[Ir%dr]+(pr=$r[Ir])],$r[zr]=pr;Pr.g=function(es){for(var hs,ps=0,os=Pr.i,xs=Pr.j,is=Pr.S;es--;)hs=is[os=gr&os+1],ps=ps*r+is[gr&(is[os]=is[xs=gr&xs+hs])+(is[xs]=hs)];return Pr.i=os,Pr.j=xs,ps}}function vr(sr,pr){return pr.i=sr.i,pr.j=sr.j,pr.S=sr.S.slice(),pr}function cr(sr,pr){var dr=[],Pr=_typeof$2(sr),Ir;if(pr&&Pr=="object")for(Ir in sr)try{dr.push(cr(sr[Ir],pr-1))}catch{}return dr.length?dr:Pr=="string"?sr:sr+"\0"}function ur(sr,pr){for(var dr=sr+"",Pr,Ir=0;Ir<dr.length;)pr[gr&Ir]=gr&(Pr^=pr[gr&Ir]*19)+dr.charCodeAt(Ir++);return or(pr)}function Er(){try{var sr=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(sr),or(sr)}catch{var pr=i.navigator,dr=pr&&pr.plugins;return[+new Date,i,dr,i.screen,or(t)]}}function or(sr){return String.fromCharCode.apply(0,sr)}ur(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(e){return typeof e}:_typeof$1=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")return-t;if($bm_isInstanceOfArray(t)){var i,r=t.length,o=[];for(i=0;i<r;i+=1)o[i]=-t[i];return o}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e)||i==="string"||r==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]+e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e))return i==="string"&&(t=parseInt(t,10)),r==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]-e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]*e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t*e[Zt];return o}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]/e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t/e[Zt];return o}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var r=i;i=e,e=r}return Math.min(Math.max(t,e),i)}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 i,r=Math.min(t.length,e.length),o=0;for(i=0;i<r;i+=1)o+=Math.pow(e[i]-t[i],2);return Math.sqrt(o)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],o=Math.max(e,i,r),Zt=Math.min(e,i,r),tr,ar,ir=(o+Zt)/2;if(o===Zt)tr=0,ar=0;else{var fr=o-Zt;switch(ar=ir>.5?fr/(2-o-Zt):fr/(o+Zt),o){case e:tr=(i-r)/fr+(i<r?6:0);break;case i:tr=(r-e)/fr+2;break;case r:tr=(e-i)/fr+4;break}tr/=6}return[tr,ar,ir,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e=t[0],i=t[1],r=t[2],o,Zt,tr;if(i===0)o=r,tr=r,Zt=r;else{var ar=r<.5?r*(1+i):r+i-r*i,ir=2*r-ar;o=hue2rgb(ir,ar,e+1/3),Zt=hue2rgb(ir,ar,e),tr=hue2rgb(ir,ar,e-1/3)}return[o,Zt,tr,t[3]]}function linear(t,e,i,r,o){if((r===void 0||o===void 0)&&(r=e,o=i,e=0,i=1),i<e){var Zt=i;i=e,e=Zt}if(t<=e)return r;if(t>=i)return o;var tr=i===e?0:(t-e)/(i-e);if(!r.length)return r+(o-r)*tr;var ar,ir=r.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=r[ar]+(o[ar]-r[ar])*tr;return fr}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var o=createTypedArray("float32",r),Zt=BMMath.random();for(i=0;i<r;i+=1)o[i]=t[i]+Zt*(e[i]-t[i]);return o}t===void 0&&(t=0);var tr=BMMath.random();return t+tr*(e-t)}function createPath(t,e,i,r){var o,Zt=t.length,tr=shapePool.newElement();tr.setPathData(!!r,Zt);var ar=[0,0],ir,fr;for(o=0;o<Zt;o+=1)ir=e&&e[o]?e[o]:ar,fr=i&&i[o]?i[o]:ar,tr.setTripleAt(t[o][0],t[o][1],fr[0]+t[o][0],fr[1]+t[o][1],ir[0]+t[o][0],ir[1]+t[o][1],o,!0);return tr}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,i){var r,o,Zt=this.pv.length?this.pv.length:1,tr=createTypedArray("float32",Zt);e=5;var ar=Math.floor(time*e);for(r=0,o=0;r<ar;){for(o=0;o<Zt;o+=1)tr[o]+=-i+i*2*BMMath.random();r+=1}var ir=time*e,fr=ir-Math.floor(ir),gr=createTypedArray("float32",Zt);if(Zt>1){for(o=0;o<Zt;o+=1)gr[o]=this.pv[o]+tr[o]+(-i+i*2*BMMath.random())*fr;return gr}return this.pv+tr[0]+(-i+i*2*BMMath.random())*fr}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,o=-Math.atan2(i[1],i[2])/degToRads;return[o,r,0]}function easeOut(t,e,i,r,o){return applyEase(easeOutBez,t,e,i,r,o)}function easeIn(t,e,i,r,o){return applyEase(easeInBez,t,e,i,r,o)}function ease(t,e,i,r,o){return applyEase(easeInOutBez,t,e,i,r,o)}function applyEase(t,e,i,r,o,Zt){o===void 0?(o=i,Zt=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var tr=t(e);if($bm_isInstanceOfArray(o)){var ar,ir=o.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=(Zt[ar]-o[ar])*tr+o[ar];return fr}return(Zt-o)*tr+o}function nearestKey(t){var e,i=data.k.length,r,o;if(!data.k.length||typeof data.k[0]=="number")r=0,o=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,o=data.k[0].t;else{for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,o=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,o=data.k[e+1].t):(r=e+1,o=data.k[e].t);break}r===-1&&(r=e+1,o=data.k[e].t)}var Zt={};return Zt.index=r,Zt.time=o/elem.comp.globalData.frameRate,Zt}function key(t){var e,i,r;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 o=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=o.length,i=0;i<r;i+=1)e[i]=o[i],e.value[i]=o[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(i){var r=0,o=[];function Zt(){r+=1}function tr(){r-=1,r===0&&ir()}function ar(fr){o.indexOf(fr)===-1&&o.push(fr)}function ir(){var fr,gr=o.length;for(fr=0;fr<gr;fr+=1)o[fr].release();o.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=Zt,i.renderer.globalData.popExpression=tr,i.renderer.globalData.registerExpressionProperty=ar}return t}(),MaskManagerInterface=function(){function t(i,r){this._mask=i,this._data=r}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(i){var r=createSizedArray(i.viewData.length),o,Zt=i.viewData.length;for(o=0;o<Zt;o+=1)r[o]=new t(i.viewData[o],i.masksProperties[o]);var tr=function(ar){for(o=0;o<Zt;){if(i.masksProperties[o].nm===ar)return r[o];o+=1}return null};return tr};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(tr,ar,ir){Object.defineProperty(tr,"velocity",{get:function(){return ar.getVelocityAtTime(ar.comp.currentFrame)}}),tr.numKeys=ar.keyframes?ar.keyframes.length:0,tr.key=function(fr){if(!tr.numKeys)return 0;var gr="";"s"in ar.keyframes[fr-1]?gr=ar.keyframes[fr-1].s:"e"in ar.keyframes[fr-2]?gr=ar.keyframes[fr-2].e:gr=ar.keyframes[fr-2].s;var nr=ir==="unidimensional"?new Number(gr):Object.assign({},gr);return nr.time=ar.keyframes[fr-1].t/ar.elem.comp.globalData.frameRate,nr.value=ir==="unidimensional"?gr[0]:gr,nr},tr.valueAtTime=ar.getValueAtTime,tr.speedAtTime=ar.getSpeedAtTime,tr.velocityAtTime=ar.getVelocityAtTime,tr.propertyGroup=ar.propertyGroup}function r(tr){(!tr||!("pv"in tr))&&(tr=t);var ar=1/tr.mult,ir=tr.pv*ar,fr=new Number(ir);return fr.value=ir,i(fr,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ir=tr.v*ar,fr.value!==ir&&(fr=new Number(ir),fr.value=ir,i(fr,tr,"unidimensional")),fr}}function o(tr){(!tr||!("pv"in tr))&&(tr=e);var ar=1/tr.mult,ir=tr.data&&tr.data.l||tr.pv.length,fr=createTypedArray("float32",ir),gr=createTypedArray("float32",ir);return fr.value=gr,i(fr,tr,"multidimensional"),function(){tr.k&&tr.getValue();for(var nr=0;nr<ir;nr+=1)gr[nr]=tr.v[nr]*ar,fr[nr]=gr[nr];return fr}}function Zt(){return t}return function(tr){return tr?tr.propType==="unidimensional"?r(tr):o(tr):Zt}}(),TransformExpressionInterface=function(){return function(t){function e(tr){switch(tr){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var i,r,o,Zt;return t.p?Zt=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(o=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?Zt():[i(),r(),o?o():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(fr){var gr=new Matrix;if(fr!==void 0){var nr=this._elem.finalTransform.mProp.getValueAtTime(fr);nr.clone(gr)}else{var rr=this._elem.finalTransform.mProp;rr.applyToMatrix(gr)}return gr}function e(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.applyPoint(nr,fr)}function i(fr,gr){var nr=this.getMatrix(gr);return this.applyPoint(nr,fr)}function r(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.invertPoint(nr,fr)}function o(fr,gr){var nr=this.getMatrix(gr);return this.invertPoint(nr,fr)}function Zt(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.applyToPointArray(gr[0],gr[1],gr[2]||0)}function tr(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.inversePoint(gr)}function ar(fr){var gr=new Matrix;if(gr.reset(),this._elem.finalTransform.mProp.applyToMatrix(gr),this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(gr);return gr.inversePoint(fr)}return gr.inversePoint(fr)}function ir(){return[1,1,1,1]}return function(fr){var gr;function nr(ur){vr.mask=new MaskManagerInterface(ur,fr)}function rr(ur){vr.effect=ur}function vr(ur){switch(ur){case"ADBE Root Vectors Group":case"Contents":case 2:return vr.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return gr;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return vr.effect;case"ADBE Text Properties":return vr.textInterface;default:return null}}vr.getMatrix=t,vr.invertPoint=tr,vr.applyPoint=Zt,vr.toWorld=i,vr.toWorldVec=e,vr.fromWorld=o,vr.fromWorldVec=r,vr.toComp=i,vr.fromComp=ar,vr.sampleImage=ir,vr.sourceRectAtTime=fr.sourceRectAtTime.bind(fr),vr._elem=fr,gr=TransformExpressionInterface(fr.finalTransform.mProp);var cr=getDescriptor(gr,"anchorPoint");return Object.defineProperties(vr,{hasParent:{get:function(){return fr.hierarchy.length}},parent:{get:function(){return fr.hierarchy[0].layerInterface}},rotation:getDescriptor(gr,"rotation"),scale:getDescriptor(gr,"scale"),position:getDescriptor(gr,"position"),opacity:getDescriptor(gr,"opacity"),anchorPoint:cr,anchor_point:cr,transform:{get:function(){return gr}},active:{get:function(){return fr.isInRange}}}),vr.startTime=fr.data.st,vr.index=fr.data.ind,vr.source=fr.data.refId,vr.height=fr.data.ty===0?fr.data.h:100,vr.width=fr.data.ty===0?fr.data.w:100,vr.inPoint=fr.data.ip/fr.comp.globalData.frameRate,vr.outPoint=fr.data.op/fr.comp.globalData.frameRate,vr._name=fr.data.nm,vr.registerMaskInterface=nr,vr.registerEffectsInterface=rr,vr}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=i===void 0?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){var i={_name:t};function r(o){return o=o===void 0?1:o,o<=0?i:e(o-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(o,Zt){if(o.effectsManager){var tr=[],ar=o.data.ef,ir,fr=o.effectsManager.effectElements.length;for(ir=0;ir<fr;ir+=1)tr.push(i(ar[ir],o.effectsManager.effectElements[ir],Zt,o));var gr=o.data.ef||[],nr=function(rr){for(ir=0,fr=gr.length;ir<fr;){if(rr===gr[ir].nm||rr===gr[ir].mn||rr===gr[ir].ix)return tr[ir];ir+=1}return null};return Object.defineProperty(nr,"numProperties",{get:function(){return gr.length}}),nr}return null}function i(o,Zt,tr,ar){function ir(vr){for(var cr=o.ef,ur=0,Er=cr.length;ur<Er;){if(vr===cr[ur].nm||vr===cr[ur].mn||vr===cr[ur].ix)return cr[ur].ty===5?gr[ur]:gr[ur]();ur+=1}throw new Error}var fr=propertyGroupFactory(ir,tr),gr=[],nr,rr=o.ef.length;for(nr=0;nr<rr;nr+=1)o.ef[nr].ty===5?gr.push(i(o.ef[nr],Zt.effectElements[nr],Zt.effectElements[nr].propertyGroup,ar)):gr.push(r(Zt.effectElements[nr],o.ef[nr].ty,ar,fr));return o.mn==="ADBE Color Control"&&Object.defineProperty(ir,"color",{get:function(){return gr[0]()}}),Object.defineProperties(ir,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:fr}}),ir.enabled=o.en!==0,ir.active=ir.enabled,ir}function r(o,Zt,tr,ar){var ir=ExpressionPropertyInterface(o.p);function fr(){return Zt===10?tr.comp.compInterface(o.p.v):ir()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",ar)),fr}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function o(tr){return tr==="Shape"||tr==="shape"||tr==="Path"||tr==="path"||tr==="ADBE Vector Shape"||tr===2?o.path:null}var Zt=propertyGroupFactory(o,i);return r.setGroupProperty(PropertyInterface("Path",Zt)),Object.defineProperties(o,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),o}}(),ShapeExpressionInterface=function(){function t(cr,ur,Er){var or=[],sr,pr=cr?cr.length:0;for(sr=0;sr<pr;sr+=1)cr[sr].ty==="gr"?or.push(i(cr[sr],ur[sr],Er)):cr[sr].ty==="fl"?or.push(r(cr[sr],ur[sr],Er)):cr[sr].ty==="st"?or.push(tr(cr[sr],ur[sr],Er)):cr[sr].ty==="tm"?or.push(ar(cr[sr],ur[sr],Er)):cr[sr].ty==="tr"||(cr[sr].ty==="el"?or.push(fr(cr[sr],ur[sr],Er)):cr[sr].ty==="sr"?or.push(gr(cr[sr],ur[sr],Er)):cr[sr].ty==="sh"?or.push(ShapePathInterface(cr[sr],ur[sr],Er)):cr[sr].ty==="rc"?or.push(nr(cr[sr],ur[sr],Er)):cr[sr].ty==="rd"?or.push(rr(cr[sr],ur[sr],Er)):cr[sr].ty==="rp"?or.push(vr(cr[sr],ur[sr],Er)):cr[sr].ty==="gf"?or.push(o(cr[sr],ur[sr],Er)):or.push(Zt(cr[sr],ur[sr])));return or}function e(cr,ur,Er){var or,sr=function(dr){for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr||or[Pr].mn===dr||or[Pr].propertyIndex===dr||or[Pr].ix===dr||or[Pr].ind===dr)return or[Pr];Pr+=1}return typeof dr=="number"?or[dr-1]:null};sr.propertyGroup=propertyGroupFactory(sr,Er),or=t(cr.it,ur.it,sr.propertyGroup),sr.numProperties=or.length;var pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],sr.propertyGroup);return sr.transform=pr,sr.propertyIndex=cr.cix,sr._name=cr.nm,sr}function i(cr,ur,Er){var or=function(dr){switch(dr){case"ADBE Vectors Group":case"Contents":case 2:return or.content;default:return or.transform}};or.propertyGroup=propertyGroupFactory(or,Er);var sr=e(cr,ur,or.propertyGroup),pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],or.propertyGroup);return or.content=sr,or.transform=pr,Object.defineProperty(or,"_name",{get:function(){return cr.nm}}),or.numProperties=cr.np,or.propertyIndex=cr.ix,or.nm=cr.nm,or.mn=cr.mn,or}function r(cr,ur,Er){function or(sr){return sr==="Color"||sr==="color"?or.color:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function o(cr,ur,Er){function or(sr){return sr==="Start Point"||sr==="start point"?or.startPoint:sr==="End Point"||sr==="end point"?or.endPoint:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{startPoint:{get:ExpressionPropertyInterface(ur.s)},endPoint:{get:ExpressionPropertyInterface(ur.e)},opacity:{get:ExpressionPropertyInterface(ur.o)},type:{get:function(){return"a"}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.s.setGroupProperty(PropertyInterface("Start Point",Er)),ur.e.setGroupProperty(PropertyInterface("End Point",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function Zt(){function cr(){return null}return cr}function tr(cr,ur,Er){var or=propertyGroupFactory(zr,Er),sr=propertyGroupFactory(Ir,or);function pr($r){Object.defineProperty(Ir,cr.d[$r].nm,{get:ExpressionPropertyInterface(ur.d.dataProps[$r].p)})}var dr,Pr=cr.d?cr.d.length:0,Ir={};for(dr=0;dr<Pr;dr+=1)pr(dr),ur.d.dataProps[dr].p.setGroupProperty(sr);function zr($r){return $r==="Color"||$r==="color"?zr.color:$r==="Opacity"||$r==="opacity"?zr.opacity:$r==="Stroke Width"||$r==="stroke width"?zr.strokeWidth:null}return Object.defineProperties(zr,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},strokeWidth:{get:ExpressionPropertyInterface(ur.w)},dash:{get:function(){return Ir}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",or)),ur.o.setGroupProperty(PropertyInterface("Opacity",or)),ur.w.setGroupProperty(PropertyInterface("Stroke Width",or)),zr}function ar(cr,ur,Er){function or(pr){return pr===cr.e.ix||pr==="End"||pr==="end"?or.end:pr===cr.s.ix?or.start:pr===cr.o.ix?or.offset:null}var sr=propertyGroupFactory(or,Er);return or.propertyIndex=cr.ix,ur.s.setGroupProperty(PropertyInterface("Start",sr)),ur.e.setGroupProperty(PropertyInterface("End",sr)),ur.o.setGroupProperty(PropertyInterface("Offset",sr)),or.propertyIndex=cr.ix,or.propertyGroup=Er,Object.defineProperties(or,{start:{get:ExpressionPropertyInterface(ur.s)},end:{get:ExpressionPropertyInterface(ur.e)},offset:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function ir(cr,ur,Er){function or(pr){return cr.a.ix===pr||pr==="Anchor Point"?or.anchorPoint:cr.o.ix===pr||pr==="Opacity"?or.opacity:cr.p.ix===pr||pr==="Position"?or.position:cr.r.ix===pr||pr==="Rotation"||pr==="ADBE Vector Rotation"?or.rotation:cr.s.ix===pr||pr==="Scale"?or.scale:cr.sk&&cr.sk.ix===pr||pr==="Skew"?or.skew:cr.sa&&cr.sa.ix===pr||pr==="Skew Axis"?or.skewAxis:null}var sr=propertyGroupFactory(or,Er);return ur.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",sr)),ur.transform.mProps.p.setGroupProperty(PropertyInterface("Position",sr)),ur.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",sr)),ur.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",sr)),ur.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",sr)),ur.transform.mProps.sk&&(ur.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",sr)),ur.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",sr))),ur.transform.op.setGroupProperty(PropertyInterface("Opacity",sr)),Object.defineProperties(or,{opacity:{get:ExpressionPropertyInterface(ur.transform.mProps.o)},position:{get:ExpressionPropertyInterface(ur.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(ur.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(ur.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(ur.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(ur.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(ur.transform.mProps.sa)},_name:{value:cr.nm}}),or.ty="tr",or.mn=cr.mn,or.propertyGroup=Er,or}function fr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.s.ix===dr?or.size:null}var sr=propertyGroupFactory(or,Er);or.propertyIndex=cr.ix;var pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return pr.s.setGroupProperty(PropertyInterface("Size",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),Object.defineProperties(or,{size:{get:ExpressionPropertyInterface(pr.s)},position:{get:ExpressionPropertyInterface(pr.p)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function gr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.rotation:cr.pt.ix===dr?or.points:cr.or.ix===dr||dr==="ADBE Vector Star Outer Radius"?or.outerRadius:cr.os.ix===dr?or.outerRoundness:cr.ir&&(cr.ir.ix===dr||dr==="ADBE Vector Star Inner Radius")?or.innerRadius:cr.is&&cr.is.ix===dr?or.innerRoundness:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.or.setGroupProperty(PropertyInterface("Outer Radius",sr)),pr.os.setGroupProperty(PropertyInterface("Outer Roundness",
vendor: 1,060 bytes, line 850
850sr)),pr.pt.setGroupProperty(PropertyInterface("Points",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),cr.ir&&(pr.ir.setGroupProperty(PropertyInterface("Inner Radius",sr)),pr.is.setGroupProperty(PropertyInterface("Inner Roundness",sr))),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},rotation:{get:ExpressionPropertyInterface(pr.r)},points:{get:ExpressionPropertyInterface(pr.pt)},outerRadius:{get:ExpressionPropertyInterface(pr.or)},outerRoundness:{get:ExpressionPropertyInterface(pr.os)},innerRadius:{get:ExpressionPropertyInterface(pr.ir)},innerRoundness:{get:ExpressionPropertyInterface(pr.is)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function nr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.roundness:cr.s.ix===dr||dr==="Size"||dr==="ADBE Vector Rect Size"?or.size:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.
vendor: 19,810 bytes, line 850
850s.setGroupProperty(PropertyInterface("Size",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},roundness:{get:ExpressionPropertyInterface(pr.r)},size:{get:ExpressionPropertyInterface(pr.s)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function rr(cr,ur,Er){function or(dr){return cr.r.ix===dr||dr==="Round Corners 1"?or.radius:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.rd.setGroupProperty(PropertyInterface("Radius",sr)),Object.defineProperties(or,{radius:{get:ExpressionPropertyInterface(pr.rd)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function vr(cr,ur,Er){function or(dr){return cr.c.ix===dr||dr==="Copies"?or.copies:cr.o.ix===dr||dr==="Offset"?or.offset:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.c.setGroupProperty(PropertyInterface("Copies",sr)),pr.o.setGroupProperty(PropertyInterface("Offset",sr)),Object.defineProperties(or,{copies:{get:ExpressionPropertyInterface(pr.c)},offset:{get:ExpressionPropertyInterface(pr.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}return function(cr,ur,Er){var or;function sr(dr){if(typeof dr=="number")return dr=dr===void 0?1:dr,dr===0?Er:or[dr-1];for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr)return or[Pr];Pr+=1}return null}function pr(){return Er}return sr.propertyGroup=propertyGroupFactory(sr,pr),or=t(cr,ur,sr.propertyGroup),sr.numProperties=or.length,sr._name="Contents",sr}}(),TextExpressionInterface=function(){return function(t){var e;function i(r){switch(r){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return(!e||r!==e.value)&&(e=new String(r),e.value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),i}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}var FootageInterface=function(){var t=function(i){var r="",o=i.getFootageData();function Zt(){return r="",o=i.getFootageData(),tr}function tr(ar){if(o[ar])return r=ar,o=o[ar],_typeof(o)==="object"?tr:o;var ir=ar.indexOf(r);if(ir!==-1){var fr=parseInt(ar.substr(ir+r.length),10);return o=o[fr],_typeof(o)==="object"?tr:o}return""}return Zt},e=function(i){function r(o){return o==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(o){return o==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=e(i),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(tr,ar,ir){ar.x&&(ir.k=!0,ir.x=!0,ir.initiateExpression=ExpressionManager.initiateExpression,ir.effectsSequence.push(ir.initiateExpression(tr,ar,ir).bind(ir)))}function e(tr){return tr*=this.elem.globalData.frameRate,tr-=this.offsetTime,tr!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<tr?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(tr,this._cachingAtTime),this._cachingAtTime.lastFrame=tr),this._cachingAtTime.value}function i(tr){var ar=-.01,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr=0;if(ir.length){var nr;for(nr=0;nr<ir.length;nr+=1)gr+=Math.pow(fr[nr]-ir[nr],2);gr=Math.sqrt(gr)*100}else gr=0;return gr}function r(tr){if(this.vel!==void 0)return this.vel;var ar=-.001,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr;if(ir.length){gr=createTypedArray("float32",ir.length);var nr;for(nr=0;nr<ir.length;nr+=1)gr[nr]=(fr[nr]-ir[nr])/ar}else gr=(fr-ir)/ar;return gr}function o(){return this.pv}function Zt(tr){this.propertyGroup=tr}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:o,setGroupProperty:Zt}}();function addPropertyDecorator(){function t(rr,vr,cr){if(!this.k||!this.keyframes)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[Er.length-1].t;if(ur<=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(or-this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,or-this.elem.data.ip),pr=or-sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[Er.length-1-vr].t,sr=or-pr);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((ur-pr)/sr);if(zr%2!==0)return this.getValueAtTime((sr-(ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),es=this.getValueAtTime(or/this.comp.globalData.frameRate,0),hs=this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0),ps=Math.floor((ur-pr)/sr);if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=(es[dr]-$r[dr])*ps+hs[dr];return Ir}return(es-$r)*ps+hs}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*((ur-or)/this.comp.globalData.frameRate)/5e-4;return Ir}return os+(os-xs)*((ur-or)/.001)}return this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}function e(rr,vr,cr){if(!this.k)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[0].t;if(ur>=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,this.elem.data.op-or),pr=or+sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[vr].t,sr=pr-or);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((or-ur)/sr);if(zr%2===0)return this.getValueAtTime(((or-ur)%sr+or)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(or/this.comp.globalData.frameRate,0),es=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),hs=this.getValueAtTime((sr-(or-ur)%sr+or)/this.comp.globalData.frameRate,0),ps=Math.floor((or-ur)/sr)+1;if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=hs[dr]-(es[dr]-$r[dr])*ps;return Ir}return hs-(es-$r)*ps}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*(or-ur)/.001;return Ir}return os+(os-xs)*(or-ur)/.001}return this.getValueAtTime((sr-((or-ur)%sr+or))/this.comp.globalData.frameRate,0)}function i(rr,vr){if(!this.k)return this.pv;if(rr=(rr||.4)*.5,vr=Math.floor(vr||5),vr<=1)return this.pv;var cr=this.comp.renderedFrame/this.comp.globalData.frameRate,ur=cr-rr,Er=cr+rr,or=vr>1?(Er-ur)/(vr-1):1,sr=0,pr=0,dr;this.pv.length?dr=createTypedArray("float32",this.pv.length):dr=0;for(var Pr;sr<vr;){if(Pr=this.getValueAtTime(ur+sr*or),this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]+=Pr[pr];else dr+=Pr;sr+=1}if(this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]/=vr;else dr/=vr;return dr}function r(rr){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var vr=this._transformCachingAtTime.v;if(vr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var cr=this.a.getValueAtTime(rr);vr.translate(-cr[0]*this.a.mult,-cr[1]*this.a.mult,cr[2]*this.a.mult)}if(this.appliedTransformations<2){var ur=this.s.getValueAtTime(rr);vr.scale(ur[0]*this.s.mult,ur[1]*this.s.mult,ur[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Er=this.sk.getValueAtTime(rr),or=this.sa.getValueAtTime(rr);vr.skewFromAxis(-Er*this.sk.mult,or*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var sr=this.r.getValueAtTime(rr);vr.rotate(-sr*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var pr=this.rz.getValueAtTime(rr),dr=this.ry.getValueAtTime(rr),Pr=this.rx.getValueAtTime(rr),Ir=this.or.getValueAtTime(rr);vr.rotateZ(-pr*this.rz.mult).rotateY(dr*this.ry.mult).rotateX(Pr*this.rx.mult).rotateZ(-Ir[2]*this.or.mult).rotateY(Ir[1]*this.or.mult).rotateX(Ir[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var zr=this.px.getValueAtTime(rr),$r=this.py.getValueAtTime(rr);if(this.data.p.z){var es=this.pz.getValueAtTime(rr);vr.translate(zr*this.px.mult,$r*this.py.mult,-es*this.pz.mult)}else vr.translate(zr*this.px.mult,$r*this.py.mult,0)}else{var hs=this.p.getValueAtTime(rr);vr.translate(hs[0]*this.p.mult,hs[1]*this.p.mult,-hs[2]*this.p.mult)}return vr}function o(){return this.v.clone(new Matrix)}var Zt=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(rr,vr,cr){var ur=Zt(rr,vr,cr);return ur.dynamicProperties.length?ur.getValueAtTime=r.bind(ur):ur.getValueAtTime=o.bind(ur),ur.setGroupProperty=expressionHelpers.setGroupProperty,ur};var tr=PropertyFactory.getProp;PropertyFactory.getProp=function(rr,vr,cr,ur,Er){var or=tr(rr,vr,cr,ur,Er);or.kf?or.getValueAtTime=expressionHelpers.getValueAtTime.bind(or):or.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(or),or.setGroupProperty=expressionHelpers.setGroupProperty,or.loopOut=t,or.loopIn=e,or.smooth=i,or.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(or),or.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(or),or.numKeys=vr.a===1?vr.k.length:0,or.propertyIndex=vr.ix;var sr=0;return cr!==0&&(sr=createTypedArray("float32",vr.a===1?vr.k[0].s.length:vr.k.length)),or._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:sr},expressionHelpers.searchExpressions(rr,vr,or),or.k&&Er.addDynamicProperty(or),or};function ar(rr){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),rr*=this.elem.globalData.frameRate,rr-=this.offsetTime,rr!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<rr?this._caching.lastIndex:0,this._cachingAtTime.lastTime=rr,this.interpolateShape(rr,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var ir=ShapePropertyFactory.getConstructorFunction(),fr=ShapePropertyFactory.getKeyframedConstructorFunction();function gr(){}gr.prototype={vertices:function(rr,vr){this.k&&this.getValue();var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0));var ur,Er=cr._length,or=cr[rr],sr=cr.v,pr=createSizedArray(Er);for(ur=0;ur<Er;ur+=1)rr==="i"||rr==="o"?pr[ur]=[or[ur][0]-sr[ur][0],or[ur][1]-sr[ur][1]]:pr[ur]=[or[ur][0],or[ur][1]];return pr},points:function(rr){return this.vertices("v",rr)},inTangents:function(rr){return this.vertices("i",rr)},outTangents:function(rr){return this.vertices("o",rr)},isClosed:function(){return this.v.c},pointOnPath:function(rr,vr){var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(cr));for(var ur=this._segmentsLength,Er=ur.lengths,or=ur.totalLength*rr,sr=0,pr=Er.length,dr=0,Pr;sr<pr;){if(dr+Er[sr].addedLength>or){var Ir=sr,zr=cr.c&&sr===pr-1?0:sr+1,$r=(or-dr)/Er[sr].addedLength;Pr=bez.getPointInSegment(cr.v[Ir],cr.v[zr],cr.o[Ir],cr.i[zr],$r,Er[sr]);break}else dr+=Er[sr].addedLength;sr+=1}return Pr||(Pr=cr.c?[cr.v[0][0],cr.v[0][1]]:[cr.v[cr._length-1][0],cr.v[cr._length-1][1]]),Pr},vectorOnPath:function(rr,vr,cr){rr==1?rr=this.v.c:rr==0&&(rr=.999);var ur=this.pointOnPath(rr,vr),Er=this.pointOnPath(rr+.001,vr),or=Er[0]-ur[0],sr=Er[1]-ur[1],pr=Math.sqrt(Math.pow(or,2)+Math.pow(sr,2));if(pr===0)return[0,0];var dr=cr==="tangent"?[or/pr,sr/pr]:[-sr/pr,or/pr];return dr},tangentOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"tangent")},normalOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([gr],ir),extendPrototype([gr],fr),fr.prototype.getValueAtTime=ar,fr.prototype.initiateExpression=ExpressionManager.initiateExpression;var nr=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(rr,vr,cr,ur,Er){var or=nr(rr,vr,cr,ur,Er);return or.propertyIndex=vr.ix,or.lock=!1,cr===3?expressionHelpers.searchExpressions(rr,vr.pt,or):cr===4&&expressionHelpers.searchExpressions(rr,vr.ks,or),or.k&&rr.addDynamicProperty(or),or}}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,i){var r=this.calculateExpression(i);if(e.t!==r){var o={};return this.copyData(o,e),o.t=r.toString(),o.__complete=!1,o}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),i=this.searchExpressions();return this.kf=e||i,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,i=e[0].p.v,r=e[1].p.v,o=e[2].p.v===1,Zt=e[3].p.v,tr=o?Zt:e[4].p.v,ar=e[5].p.v,ir=e[6].p.v,fr=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(tr*.01,Zt*.01,1),this.matrix.rotate(-fr*degToRads),this.matrix.skewFromAxis(-ar*degToRads,(ir+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function CVTransformEffect(t){this.init(t)}return extendPrototype([TransformEffect],CVTransformEffect),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(35,CVTransformEffect),lottie})}),yt$1=ut$1();const lottie_canvasCDSUBMCLMZNYH5VV=Object.freeze(Object.defineProperty({__proto__:null,default:yt$1},Symbol.toStringTag,{value:"Module"}));var wa=u((t,e)=>{typeof navigator<"u"&&function(i,r){typeof t=="object"&&typeof e<"u"?e.exports=r():typeof define=="function"&&define.amd?define(r):(i=typeof globalThis<"u"?globalThis:i||self,i.lottie=r())}(t,function(){var i="http://www.w3.org/2000/svg",r="",o=!1,Zt=-999999,tr=function(hr){o=!!hr},ar=function(){return o},ir=function(hr){r=hr},fr=function(){return r};function gr(hr){return document.createElement(hr)}function nr(hr,_r){var xr,Dr=hr.length,Vr;for(xr=0;xr<Dr;xr+=1){Vr=hr[xr].prototype;for(var Fr in Vr)Object.prototype.hasOwnProperty.call(Vr,Fr)&&(_r.prototype[Fr]=Vr[Fr])}}function rr(hr){function _r(){}return _r.prototype=hr,_r}var vr=function(){function hr(_r){this.audios=[],this.audioFactory=_r,this._volume=1,this._isMuted=!1}return hr.prototype={addAudio:function(_r){this.audios.push(_r)},pause:function(){var _r,xr=this.audios.length;for(_r=0;_r<xr;_r+=1)this.audios[_r].pause()},resume:function(){var _r,xr=this.audios.length;for(_r=0;_r<xr;_r+=1)this.audios[_r].resume()},setRate:function(_r){var xr,Dr=this.audios.length;for(xr=0;xr<Dr;xr+=1)this.audios[xr].setRate(_r)},createAudio:function(_r){return this.audioFactory?this.audioFactory(_r):window.Howl?new window.Howl({src:[_r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(_r){this.audioFactory=_r},setVolume:function(_r){this._volume=_r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var _r,xr=this.audios.length;for(_r=0;_r<xr;_r+=1)this.audios[_r].volume(this._volume*(this._isMuted?0:1))}},function(){return new hr}}(),cr=function(){function hr(xr,Dr){var Vr=0,Fr=[],er;switch(xr){case"int16":case"uint8c":er=1;break;default:er=1.1;break}for(Vr=0;Vr<Dr;Vr+=1)Fr.push(er);return Fr}function _r(xr,Dr){return xr==="float32"?new Float32Array(Dr):xr==="int16"?new Int16Array(Dr):xr==="uint8c"?new Uint8ClampedArray(Dr):hr(xr,Dr)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?_r:hr}();function ur(hr){return Array.apply(null,{length:hr})}var Er=!0,or=null,sr="",pr=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),dr=Math.pow,Pr=Math.sqrt,Ir=Math.floor,zr=Math.max,$r=Math.min,es=150,hs=Math.PI/180,ps=.5519;function os(hr){hr.style.position="absolute",hr.style.top=0,hr.style.left=0,hr.style.display="block",hr.style.transformOrigin="0 0",hr.style.webkitTransformOrigin="0 0",hr.style.backfaceVisibility="visible",hr.style.webkitBackfaceVisibility="visible",hr.style.transformStyle="preserve-3d",hr.style.webkitTransformStyle="preserve-3d",hr.style.mozTransformStyle="preserve-3d"}function xs(hr,_r,xr,Dr){this.type=hr,this.currentTime=_r,this.totalTime=xr,this.direction=Dr<0?-1:1}function is(hr,_r){this.type=hr,this.direction=_r<0?-1:1}function cs(hr,_r,xr,Dr){this.type=hr,this.currentLoop=xr,this.totalLoops=_r,this.direction=Dr<0?-1:1}function Ar(hr,_r,xr){this.type=hr,this.firstFrame=_r,this.totalFrames=xr}function Tr(hr,_r){this.type=hr,this.target=_r}function yr(hr,_r){this.type="renderFrameError",this.nativeError=hr,this.currentTime=_r}function Mr(hr){this.type="configError",this.nativeError=hr}var Ur=function(){var hr=0;return function(){return hr+=1,sr+"__lottie_element_"+hr}}();function jr(hr,_r,xr){var Dr,Vr,Fr,er,lr,mr,Sr,wr;switch(er=Math.floor(hr*6),lr=hr*6-er,mr=xr*(1-_r),Sr=xr*(1-lr*_r),wr=xr*(1-(1-lr)*_r),er%6){case 0:Dr=xr,Vr=wr,Fr=mr;break;case 1:Dr=Sr,Vr=xr,Fr=mr;break;case 2:Dr=mr,Vr=xr,Fr=wr;break;case 3:Dr=mr,Vr=Sr,Fr=xr;break;case 4:Dr=wr,Vr=mr,Fr=xr;break;case 5:Dr=xr,Vr=mr,Fr=Sr;break}return[Dr,Vr,Fr]}function Vs(hr,_r,xr){var Dr=Math.max(hr,_r,xr),Vr=Math.min(hr,_r,xr),Fr=Dr-Vr,er,lr=Dr===0?0:Fr/Dr,mr=Dr/255;switch(Dr){case Vr:er=0;break;case hr:er=_r-xr+Fr*(_r<xr?6:0),er/=6*Fr;break;case _r:er=xr-hr+Fr*2,er/=6*Fr;break;case xr:er=hr-_r+Fr*4,er/=6*Fr;break}return[er,lr,mr]}function Ts(hr,_r){var xr=Vs(hr[0]*255,hr[1]*255,hr[2]*255);return xr[1]+=_r,xr[1]>1?xr[1]=1:xr[1]<=0&&(xr[1]=0),jr(xr[0],xr[1],xr[2])}function Ns(hr,_r){var xr=Vs(hr[0]*255,hr[1]*255,hr[2]*255);return xr[2]+=_r,xr[2]>1?xr[2]=1:xr[2]<0&&(xr[2]=0),jr(xr[0],xr[1],xr[2])}function Bs(hr,_r){var xr=Vs(hr[0]*255,hr[1]*255,hr[2]*255);return xr[0]+=_r/360,xr[0]>1?xr[0]-=1:xr[0]<0&&(xr[0]+=1),jr(xr[0],xr[1],xr[2])}(function(){var hr=[],_r,xr;for(_r=0;_r<256;_r+=1)xr=_r.toString(16),hr[_r]=xr.length===1?"0"+xr:xr;return function(Dr,Vr,Fr){return Dr<0&&(Dr=0),Vr<0&&(Vr=0),Fr<0&&(Fr=0),"#"+hr[Dr]+hr[Vr]+hr[Fr]}})();var Ys=function(hr){Er=!!hr},Hs=function(){return Er},Qs=function(hr){or=hr},na=function(){return or},ra=function(hr){es=hr},$s=function(){return es},sa=function(hr){sr=hr};function Rs(hr){return document.createElementNS(i,hr)}function Ms(hr){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ms=function(_r){return typeof _r}:Ms=function(_r){return _r&&typeof Symbol=="function"&&_r.constructor===Symbol&&_r!==Symbol.prototype?"symbol":typeof _r},Ms(hr)}var ua=function(){var hr=1,_r=[],xr,Dr,Vr={onmessage:function(){},postMessage:function(Br){xr({data:Br})}},Fr={postMessage:function(Br){Vr.onmessage({data:Br})}};function er(Br){if(window.Worker&&window.Blob&&ar()){var Yr=new Blob(["var _workerSelf = self;
850 self.onmessage = ",Br.toString()],{type:"text/javascript"}),Hr=URL.createObjectURL(Yr);return new Worker(Hr)}return xr=Br,Vr}function lr(){Dr||(Dr=er(function(Br){function Yr(){function Zr(Cs,zs){var ms,bs,rs=Cs.length,Ps,As,vs,gs;for(bs=0;bs<rs;bs+=1)if(ms=Cs[bs],"ks"in ms&&!ms.completed){if(ms.completed=!0,ms.hasMask){var _s=ms.masksProperties;for(As=_s.length,Ps=0;Ps<As;Ps+=1)if(_s[Ps].pt.k.i)Gr(_s[Ps].pt.k);else for(gs=_s[Ps].pt.k.length,vs=0;vs<gs;vs+=1)_s[Ps].pt.k[vs].s&&Gr(_s[Ps].pt.k[vs].s[0]),_s[Ps].pt.k[vs].e&&Gr(_s[Ps].pt.k[vs].e[0])}ms.ty===0?(ms.layers=Nr(ms.refId,zs),Zr(ms.layers,zs)):ms.ty===4?Or(ms.shapes):ms.ty===5&&ws(ms)}}function ss(Cs,zs){if(Cs){var ms=0,bs=Cs.length;for(ms=0;ms<bs;ms+=1)Cs[ms].t===1&&(Cs[ms].data.layers=Nr(Cs[ms].data.refId,zs),Zr(Cs[ms].data.layers,zs))}}function Xr(Cs,zs){for(var ms=0,bs=zs.length;ms<bs;){if(zs[ms].id===Cs)return zs[ms];ms+=1}return null}function Nr(Cs,zs){var ms=Xr(Cs,zs);return ms?ms.layers.__used?JSON.parse(JSON.stringify(ms.layers)):(ms.layers.__used=!0,ms.layers):null}function Or(Cs){var zs,ms=Cs.length,bs,rs;for(zs=ms-1;zs>=0;zs-=1)if(Cs[zs].ty==="sh")if(Cs[zs].ks.k.i)Gr(Cs[zs].ks.k);else for(rs=Cs[zs].ks.k.length,bs=0;bs<rs;bs+=1)Cs[zs].ks.k[bs].s&&Gr(Cs[zs].ks.k[bs].s[0]),Cs[zs].ks.k[bs].e&&Gr(Cs[zs].ks.k[bs].e[0]);else Cs[zs].ty==="gr"&&Or(Cs[zs].it)}function Gr(Cs){var zs,ms=Cs.i.length;for(zs=0;zs<ms;zs+=1)Cs.i[zs][0]+=Cs.v[zs][0],Cs.i[zs][1]+=Cs.v[zs][1],Cs.o[zs][0]+=Cs.v[zs][0],Cs.o[zs][1]+=Cs.v[zs][1]}function Lr(Cs,zs){var ms=zs?zs.split("."):[100,100,100];return Cs[0]>ms[0]?!0:ms[0]>Cs[0]?!1:Cs[1]>ms[1]?!0:ms[1]>Cs[1]?!1:Cs[2]>ms[2]?!0:ms[2]>Cs[2]?!1:null}var Kr=function(){var Cs=[4,4,14];function zs(bs){var rs=bs.t.d;bs.t.d={k:[{s:rs,t:0}]}}function ms(bs){var rs,Ps=bs.length;for(rs=0;rs<Ps;rs+=1)bs[rs].ty===5&&zs(bs[rs])}return function(bs){if(Lr(Cs,bs.v)&&(ms(bs.layers),bs.assets)){var rs,Ps=bs.assets.length;for(rs=0;rs<Ps;rs+=1)bs.assets[rs].layers&&ms(bs.assets[rs].layers)}}}(),ts=function(){var Cs=[4,7,99];return function(zs){if(zs.chars&&!Lr(Cs,zs.v)){var ms,bs=zs.chars.length;for(ms=0;ms<bs;ms+=1){var rs=zs.chars[ms];rs.data&&rs.data.shapes&&(Or(rs.data.shapes),rs.data.ip=0,rs.data.op=99999,rs.data.st=0,rs.data.sr=1,rs.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},zs.chars[ms].t||(rs.data.shapes.push({ty:"no"}),rs.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),Wr=function(){var Cs=[5,7,15];function zs(bs){var rs=bs.t.p;typeof rs.a=="number"&&(rs.a={a:0,k:rs.a}),typeof rs.p=="number"&&(rs.p={a:0,k:rs.p}),typeof rs.r=="number"&&(rs.r={a:0,k:rs.r})}function ms(bs){var rs,Ps=bs.length;for(rs=0;rs<Ps;rs+=1)bs[rs].ty===5&&zs(bs[rs])}return function(bs){if(Lr(Cs,bs.v)&&(ms(bs.layers),bs.assets)){var rs,Ps=bs.assets.length;for(rs=0;rs<Ps;rs+=1)bs.assets[rs].layers&&ms(bs.assets[rs].layers)}}}(),as=function(){var Cs=[4,1,9];function zs(bs){var rs,Ps=bs.length,As,vs;for(rs=0;rs<Ps;rs+=1)if(bs[rs].ty==="gr")zs(bs[rs].it);else if(bs[rs].ty==="fl"||bs[rs].ty==="st")if(bs[rs].c.k&&bs[rs].c.k[0].i)for(vs=bs[rs].c.k.length,As=0;As<vs;As+=1)bs[rs].c.k[As].s&&(bs[rs].c.k[As].s[0]/=255,bs[rs].c.k[As].s[1]/=255,bs[rs].c.k[As].s[2]/=255,bs[rs].c.k[As].s[3]/=255),bs[rs].c.k[As].e&&(bs[rs].c.k[As].e[0]/=255,bs[rs].c.k[As].e[1]/=255,bs[rs].c.k[As].e[2]/=255,bs[rs].c.k[As].e[3]/=255);else bs[rs].c.k[0]/=255,bs[rs].c.k[1]/=255,bs[rs].c.k[2]/=255,bs[rs].c.k[3]/=255}function ms(bs){var rs,Ps=bs.length;for(rs=0;rs<Ps;rs+=1)bs[rs].ty===4&&zs(bs[rs].shapes)}return function(bs){if(Lr(Cs,bs.v)&&(ms(bs.layers),bs.assets)){var rs,Ps=bs.assets.length;for(rs=0;rs<Ps;rs+=1)bs.assets[rs].layers&&ms(bs.assets[rs].layers)}}}(),ls=function(){var Cs=[4,4,18];function zs(bs){var rs,Ps=bs.length,As,vs;for(rs=Ps-1;rs>=0;rs-=1)if(bs[rs].ty==="sh")if(bs[rs].ks.k.i)bs[rs].ks.k.c=bs[rs].closed;else for(vs=bs[rs].ks.k.length,As=0;As<vs;As+=1)bs[rs].ks.k[As].s&&(bs[rs].ks.k[As].s[0].c=bs[rs].closed),bs[rs].ks.k[As].e&&(bs[rs].ks.k[As].e[0].c=bs[rs].closed);else bs[rs].ty==="gr"&&zs(bs[rs].it)}function ms(bs){var rs,Ps,As=bs.length,vs,gs,_s,ns;for(Ps=0;Ps<As;Ps+=1){if(rs=bs[Ps],rs.hasMask){var Es=rs.masksProperties;for(gs=Es.length,vs=0;vs<gs;vs+=1)if(Es[vs].pt.k.i)Es[vs].pt.k.c=Es[vs].cl;else for(ns=Es[vs].pt.k.length,_s=0;_s<ns;_s+=1)Es[vs].pt.k[_s].s&&(Es[vs].pt.k[_s].s[0].c=Es[vs].cl),Es[vs].pt.k[_s].e&&(Es[vs].pt.k[_s].e[0].c=Es[vs].cl)}rs.ty===4&&zs(rs.shapes)}}return function(bs){if(Lr(Cs,bs.v)&&(ms(bs.layers),bs.assets)){var rs,Ps=bs.assets.length;for(rs=0;rs<Ps;rs+=1)bs.assets[rs].layers&&ms(bs.assets[rs].layers)}}}();function ds(Cs){Cs.__complete||(as(Cs),Kr(Cs),ts(Cs),Wr(Cs),ls(Cs),Zr(Cs.layers,Cs.assets),ss(Cs.chars,Cs.assets),Cs.__complete=!0)}function ws(Cs){Cs.t.a.length===0&&"m"in Cs.t.p}var Fs={};return Fs.completeData=ds,Fs.checkColors=as,Fs.checkChars=ts,Fs.checkPathProperties=Wr,Fs.checkShapes=ls,Fs.completeLayers=Zr,Fs}if(Fr.dataManager||(Fr.dataManager=Yr()),Fr.assetLoader||(Fr.assetLoader=function(){function Zr(Xr){var Nr=Xr.getResponseHeader("content-type");return Nr&&Xr.responseType==="json"&&Nr.indexOf("json")!==-1||Xr.response&&Ms(Xr.response)==="object"?Xr.response:Xr.response&&typeof Xr.response=="string"?JSON.parse(Xr.response):Xr.responseText?JSON.parse(Xr.responseText):null}function ss(Xr,Nr,Or,Gr){var Lr,Kr=new XMLHttpRequest;try{Kr.responseType="json"}catch{}Kr.onreadystatechange=function(){if(Kr.readyState===4)if(Kr.status===200)Lr=Zr(Kr),Or(Lr);else try{Lr=Zr(Kr),Or(Lr)}catch(ts){Gr&&Gr(ts)}};try{Kr.open(["G","E","T"].join(""),Xr,!0)}catch{Kr.open(["G","E","T"].join(""),Nr+"/"+Xr,!0)}Kr.send()}return{load:ss}}()),Br.data.type==="loadAnimation")Fr.assetLoader.load(Br.data.path,Br.data.fullPath,function(Zr){Fr.dataManager.completeData(Zr),Fr.postMessage({id:Br.data.id,payload:Zr,status:"success"})},function(){Fr.postMessage({id:Br.data.id,status:"error"})});else if(Br.data.type==="complete"){var Hr=Br.data.animation;Fr.dataManager.completeData(Hr),Fr.postMessage({id:Br.data.id,payload:Hr,status:"success"})}
vendor: 116,816 bytes, lines 850-851
850else Br.data.type==="loadData"&&Fr.assetLoader.load(Br.data.path,Br.data.fullPath,function(Zr){Fr.postMessage({id:Br.data.id,payload:Zr,status:"success"})},function(){Fr.postMessage({id:Br.data.id,status:"error"})})}),Dr.onmessage=function(Br){var Yr=Br.data,Hr=Yr.id,Zr=_r[Hr];_r[Hr]=null,Yr.status==="success"?Zr.onComplete(Yr.payload):Zr.onError&&Zr.onError()})}function mr(Br,Yr){hr+=1;var Hr="processId_"+hr;return _r[Hr]={onComplete:Br,onError:Yr},Hr}function Sr(Br,Yr,Hr){lr();var Zr=mr(Yr,Hr);Dr.postMessage({type:"loadAnimation",path:Br,fullPath:window.location.origin+window.location.pathname,id:Zr})}function wr(Br,Yr,Hr){lr();var Zr=mr(Yr,Hr);Dr.postMessage({type:"loadData",path:Br,fullPath:window.location.origin+window.location.pathname,id:Zr})}function kr(Br,Yr,Hr){lr();var Zr=mr(Yr,Hr);Dr.postMessage({type:"complete",animation:Br,id:Zr})}return{loadAnimation:Sr,loadData:wr,completeAnimation:kr}}(),ka=function(){var hr=function(){var Xr=gr("canvas");Xr.width=1,Xr.height=1;var Nr=Xr.getContext("2d");return Nr.fillStyle="rgba(0,0,0,0)",Nr.fillRect(0,0,1,1),Xr}();function _r(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function xr(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function Dr(Xr,Nr,Or){var Gr="";if(Xr.e)Gr=Xr.p;else if(Nr){var Lr=Xr.p;Lr.indexOf("images/")!==-1&&(Lr=Lr.split("/")[1]),Gr=Nr+Lr}else Gr=Or,Gr+=Xr.u?Xr.u:"",Gr+=Xr.p;return Gr}function Vr(Xr){var Nr=0,Or=setInterval(function(){var Gr=Xr.getBBox();(Gr.width||Nr>500)&&(this._imageLoaded(),clearInterval(Or)),Nr+=1}.bind(this),50)}function Fr(Xr){var Nr=Dr(Xr,this.assetsPath,this.path),Or=Rs("image");pr?this.testImageLoaded(Or):Or.addEventListener("load",this._imageLoaded,!1),Or.addEventListener("error",function(){Gr.img=hr,this._imageLoaded()}.bind(this),!1),Or.setAttributeNS("http://www.w3.org/1999/xlink","href",Nr),this._elementHelper.append?this._elementHelper.append(Or):this._elementHelper.appendChild(Or);var Gr={img:Or,assetData:Xr};return Gr}function er(Xr){var Nr=Dr(Xr,this.assetsPath,this.path),Or=gr("img");Or.crossOrigin="anonymous",Or.addEventListener("load",this._imageLoaded,!1),Or.addEventListener("error",function(){Gr.img=hr,this._imageLoaded()}.bind(this),!1),Or.src=Nr;var Gr={img:Or,assetData:Xr};return Gr}function lr(Xr){var Nr={assetData:Xr},Or=Dr(Xr,this.assetsPath,this.path);return ua.loadData(Or,function(Gr){Nr.img=Gr,this._footageLoaded()}.bind(this),function(){Nr.img={},this._footageLoaded()}.bind(this)),Nr}function mr(Xr,Nr){this.imagesLoadedCb=Nr;var Or,Gr=Xr.length;for(Or=0;Or<Gr;Or+=1)Xr[Or].layers||(!Xr[Or].t||Xr[Or].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(Xr[Or]))):Xr[Or].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(Xr[Or]))))}function Sr(Xr){this.path=Xr||""}function wr(Xr){this.assetsPath=Xr||""}function kr(Xr){for(var Nr=0,Or=this.images.length;Nr<Or;){if(this.images[Nr].assetData===Xr)return this.images[Nr].img;Nr+=1}return null}function Br(){this.imagesLoadedCb=null,this.images.length=0}function Yr(){return this.totalImages===this.loadedAssets}function Hr(){return this.totalFootages===this.loadedFootagesCount}function Zr(Xr,Nr){Xr==="svg"?(this._elementHelper=Nr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function ss(){this._imageLoaded=_r.bind(this),this._footageLoaded=xr.bind(this),this.testImageLoaded=Vr.bind(this),this.createFootageData=lr.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return ss.prototype={loadAssets:mr,setAssetsPath:wr,setPath:Sr,loadedImages:Yr,loadedFootages:Hr,destroy:Br,getAsset:kr,createImgData:er,createImageData:Fr,imageLoaded:_r,footageLoaded:xr,setCacheType:Zr},ss}();function ya(){}ya.prototype={triggerEvent:function(hr,_r){if(this._cbs[hr])for(var xr=this._cbs[hr],Dr=0;Dr<xr.length;Dr+=1)xr[Dr](_r)},addEventListener:function(hr,_r){return this._cbs[hr]||(this._cbs[hr]=[]),this._cbs[hr].push(_r),function(){this.removeEventListener(hr,_r)}.bind(this)},removeEventListener:function(hr,_r){if(!_r)this._cbs[hr]=null;else if(this._cbs[hr]){for(var xr=0,Dr=this._cbs[hr].length;xr<Dr;)this._cbs[hr][xr]===_r&&(this._cbs[hr].splice(xr,1),xr-=1,Dr-=1),xr+=1;this._cbs[hr].length||(this._cbs[hr]=null)}}};var la=function(){function hr(_r){for(var xr=_r.split(`\r
851`),Dr={},Vr,Fr=0,er=0;er<xr.length;er+=1)Vr=xr[er].split(":"),Vr.length===2&&(Dr[Vr[0]]=Vr[1].trim(),Fr+=1);if(Fr===0)throw new Error;return Dr}return function(_r){for(var xr=[],Dr=0;Dr<_r.length;Dr+=1){var Vr=_r[Dr],Fr={time:Vr.tm,duration:Vr.dr};try{Fr.payload=JSON.parse(_r[Dr].cm)}catch{try{Fr.payload=hr(_r[Dr].cm)}catch{Fr.payload={name:_r[Dr].cm}}}xr.push(Fr)}return xr}}(),_a=function(){function hr(_r){this.compositions.push(_r)}return function(){function _r(xr){for(var Dr=0,Vr=this.compositions.length;Dr<Vr;){if(this.compositions[Dr].data&&this.compositions[Dr].data.nm===xr)return this.compositions[Dr].prepareFrame&&this.compositions[Dr].data.xt&&this.compositions[Dr].prepareFrame(this.currentFrame),this.compositions[Dr].compInterface;Dr+=1}return null}return _r.compositions=[],_r.currentFrame=0,_r.registerComposition=hr,_r}}(),ca={},aa=function(hr,_r){ca[hr]=_r};function da(hr){return ca[hr]}function js(){if(ca.canvas)return"canvas";for(var hr in ca)if(ca[hr])return hr;return""}function Us(hr){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Us=function(_r){return typeof _r}:Us=function(_r){return _r&&typeof Symbol=="function"&&_r.constructor===Symbol&&_r!==Symbol.prototype?"symbol":typeof _r},Us(hr)}var qs=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=Ur(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Hs(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=_a(),this.imagePreloader=new ka,this.audioController=vr(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new xs("drawnFrame",0,0,0),this.expressionsPlugin=na()};nr([ya],qs),qs.prototype.setParams=function(hr){(hr.wrapper||hr.container)&&(this.wrapper=hr.wrapper||hr.container);var _r="svg";hr.animType?_r=hr.animType:hr.renderer&&(_r=hr.renderer);var xr=da(_r);this.renderer=new xr(this,hr.rendererSettings),this.imagePreloader.setCacheType(_r,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=_r,hr.loop===""||hr.loop===null||hr.loop===void 0||hr.loop===!0?this.loop=!0:hr.loop===!1?this.loop=!1:this.loop=parseInt(hr.loop,10),this.autoplay="autoplay"in hr?hr.autoplay:!0,this.name=hr.name?hr.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(hr,"autoloadSegments")?hr.autoloadSegments:!0,this.assetsPath=hr.assetsPath,this.initialSegment=hr.initialSegment,hr.audioFactory&&this.audioController.setAudioFactory(hr.audioFactory),hr.animationData?this.setupAnimation(hr.animationData):hr.path&&(hr.path.lastIndexOf("\\")!==-1?this.path=hr.path.substr(0,hr.path.lastIndexOf("\\")+1):this.path=hr.path.substr(0,hr.path.lastIndexOf("/")+1),this.fileName=hr.path.substr(hr.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),ua.loadAnimation(hr.path,this.configAnimation,this.onSetupError))},qs.prototype.onSetupError=function(){this.trigger("data_failed")},qs.prototype.setupAnimation=function(hr){ua.completeAnimation(hr,this.configAnimation)},qs.prototype.setData=function(hr,_r){_r&&Us(_r)!=="object"&&(_r=JSON.parse(_r));var xr={wrapper:hr,animationData:_r},Dr=hr.attributes;xr.path=Dr.getNamedItem("data-animation-path")?Dr.getNamedItem("data-animation-path").value:Dr.getNamedItem("data-bm-path")?Dr.getNamedItem("data-bm-path").value:Dr.getNamedItem("bm-path")?Dr.getNamedItem("bm-path").value:"",xr.animType=Dr.getNamedItem("data-anim-type")?Dr.getNamedItem("data-anim-type").value:Dr.getNamedItem("data-bm-type")?Dr.getNamedItem("data-bm-type").value:Dr.getNamedItem("bm-type")?Dr.getNamedItem("bm-type").value:Dr.getNamedItem("data-bm-renderer")?Dr.getNamedItem("data-bm-renderer").value:Dr.getNamedItem("bm-renderer")?Dr.getNamedItem("bm-renderer").value:js()||"canvas";var Vr=Dr.getNamedItem("data-anim-loop")?Dr.getNamedItem("data-anim-loop").value:Dr.getNamedItem("data-bm-loop")?Dr.getNamedItem("data-bm-loop").value:Dr.getNamedItem("bm-loop")?Dr.getNamedItem("bm-loop").value:"";Vr==="false"?xr.loop=!1:Vr==="true"?xr.loop=!0:Vr!==""&&(xr.loop=parseInt(Vr,10));var Fr=Dr.getNamedItem("data-anim-autoplay")?Dr.getNamedItem("data-anim-autoplay").value:Dr.getNamedItem("data-bm-autoplay")?Dr.getNamedItem("data-bm-autoplay").value:Dr.getNamedItem("bm-autoplay")?Dr.getNamedItem("bm-autoplay").value:!0;xr.autoplay=Fr!=="false",xr.name=Dr.getNamedItem("data-name")?Dr.getNamedItem("data-name").value:Dr.getNamedItem("data-bm-name")?Dr.getNamedItem("data-bm-name").value:Dr.getNamedItem("bm-name")?Dr.getNamedItem("bm-name").value:"";var er=Dr.getNamedItem("data-anim-prerender")?Dr.getNamedItem("data-anim-prerender").value:Dr.getNamedItem("data-bm-prerender")?Dr.getNamedItem("data-bm-prerender").value:Dr.getNamedItem("bm-prerender")?Dr.getNamedItem("bm-prerender").value:"";er==="false"&&(xr.prerender=!1),xr.path?this.setParams(xr):this.trigger("destroy")},qs.prototype.includeLayers=function(hr){hr.op>this.animationData.op&&(this.animationData.op=hr.op,this.totalFrames=Math.floor(hr.op-this.animationData.ip));var _r=this.animationData.layers,xr,Dr=_r.length,Vr=hr.layers,Fr,er=Vr.length;for(Fr=0;Fr<er;Fr+=1)for(xr=0;xr<Dr;){if(_r[xr].id===Vr[Fr].id){_r[xr]=Vr[Fr];break}xr+=1}if((hr.chars||hr.fonts)&&(this.renderer.globalData.fontManager.addChars(hr.chars),this.renderer.globalData.fontManager.addFonts(hr.fonts,this.renderer.globalData.defs)),hr.assets)for(Dr=hr.assets.length,xr=0;xr<Dr;xr+=1)this.animationData.assets.push(hr.assets[xr]);this.animationData.__complete=!1,ua.completeAnimation(this.animationData,this.onSegmentComplete)},qs.prototype.onSegmentComplete=function(hr){this.animationData=hr;var _r=na();_r&&_r.initExpressions(this),this.loadNextSegment()},qs.prototype.loadNextSegment=function(){var hr=this.animationData.segments;if(!hr||hr.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var _r=hr.shift();this.timeCompleted=_r.time*this.frameRate;var xr=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,ua.loadData(xr,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},qs.prototype.loadSegments=function(){var hr=this.animationData.segments;hr||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},qs.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},qs.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},qs.prototype.configAnimation=function(hr){if(this.renderer)try{this.animationData=hr,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(hr),hr.assets||(hr.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(hr.assets),this.markers=la(hr.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(_r){this.triggerConfigError(_r)}},qs.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},qs.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var hr=na();hr&&hr.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},qs.prototype.resize=function(hr,_r){var xr=typeof hr=="number"?hr:void 0,Dr=typeof _r=="number"?_r:void 0;this.renderer.updateContainerSize(xr,Dr)},qs.prototype.setSubframe=function(hr){this.isSubframeEnabled=!!hr},qs.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},qs.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(hr){this.triggerRenderFrameError(hr)}},qs.prototype.play=function(hr){hr&&this.name!==hr||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},qs.prototype.pause=function(hr){hr&&this.name!==hr||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},qs.prototype.togglePause=function(hr){hr&&this.name!==hr||(this.isPaused===!0?this.play():this.pause())},qs.prototype.stop=function(hr){hr&&this.name!==hr||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},qs.prototype.getMarkerData=function(hr){for(var _r,xr=0;xr<this.markers.length;xr+=1)if(_r=this.markers[xr],_r.payload&&_r.payload.name===hr)return _r;return null},qs.prototype.goToAndStop=function(hr,_r,xr){if(!(xr&&this.name!==xr)){var Dr=Number(hr);if(isNaN(Dr)){var Vr=this.getMarkerData(hr);Vr&&this.goToAndStop(Vr.time,!0)}else _r?this.setCurrentRawFrameValue(hr):this.setCurrentRawFrameValue(hr*this.frameModifier);this.pause()}},qs.prototype.goToAndPlay=function(hr,_r,xr){if(!(xr&&this.name!==xr)){var Dr=Number(hr);if(isNaN(Dr)){var Vr=this.getMarkerData(hr);Vr&&(Vr.duration?this.playSegments([Vr.time,Vr.time+Vr.duration],!0):this.goToAndStop(Vr.time,!0))}else this.goToAndStop(Dr,_r,xr);this.play()}},qs.prototype.advanceTime=function(hr){if(!(this.isPaused===!0||this.isLoaded===!1)){var _r=this.currentRawFrame+hr*this.frameModifier,xr=!1;_r>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(_r>this.totalFrames?_r%this.totalFrames:0)||(xr=!0,_r=this.totalFrames-1):_r>=this.totalFrames?(this.playCount+=1,this.checkSegments(_r%this.totalFrames)||(this.setCurrentRawFrameValue(_r%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(_r):_r<0?this.checkSegments(_r%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+_r%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(xr=!0,_r=0)):this.setCurrentRawFrameValue(_r),xr&&(this.setCurrentRawFrameValue(_r),this.pause(),this.trigger("complete"))}},qs.prototype.adjustSegment=function(hr,_r){this.playCount=0,hr[1]<hr[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=hr[0]-hr[1],this.timeCompleted=this.totalFrames,this.firstFrame=hr[1],this.setCurrentRawFrameValue(this.totalFrames-.001-_r)):hr[1]>hr[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=hr[1]-hr[0],this.timeCompleted=this.totalFrames,this.firstFrame=hr[0],this.setCurrentRawFrameValue(.001+_r)),this.trigger("segmentStart")},qs.prototype.setSegment=function(hr,_r){var xr=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<hr?xr=hr:this.currentRawFrame+this.firstFrame>_r&&(xr=_r-hr)),this.firstFrame=hr,this.totalFrames=_r-hr,this.timeCompleted=this.totalFrames,xr!==-1&&this.goToAndStop(xr,!0)},qs.prototype.playSegments=function(hr,_r){if(_r&&(this.segments.length=0),Us(hr[0])==="object"){var xr,Dr=hr.length;for(xr=0;xr<Dr;xr+=1)this.segments.push(hr[xr])}else this.segments.push(hr);this.segments.length&&_r&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},qs.prototype.resetSegments=function(hr){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),hr&&this.checkSegments(0)},qs.prototype.checkSegments=function(hr){return this.segments.length?(this.adjustSegment(this.segments.shift(),hr),!0):!1},qs.prototype.destroy=function(hr){hr&&this.name!==hr||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},qs.prototype.setCurrentRawFrameValue=function(hr){this.currentRawFrame=hr,this.gotoFrame()},qs.prototype.setSpeed=function(hr){this.playSpeed=hr,this.updaFrameModifier()},qs.prototype.setDirection=function(hr){this.playDirection=hr<0?-1:1,this.updaFrameModifier()},qs.prototype.setLoop=function(hr){this.loop=hr},qs.prototype.setVolume=function(hr,_r){_r&&this.name!==_r||this.audioController.setVolume(hr)},qs.prototype.getVolume=function(){return this.audioController.getVolume()},qs.prototype.mute=function(hr){hr&&this.name!==hr||this.audioController.mute()},qs.prototype.unmute=function(hr){hr&&this.name!==hr||this.audioController.unmute()},qs.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},qs.prototype.getPath=function(){return this.path},qs.prototype.getAssetsPath=function(hr){var _r="";if(hr.e)_r=hr.p;else if(this.assetsPath){var xr=hr.p;xr.indexOf("images/")!==-1&&(xr=xr.split("/")[1]),_r=this.assetsPath+xr}else _r=this.path,_r+=hr.u?hr.u:"",_r+=hr.p;return _r},qs.prototype.getAssetData=function(hr){for(var _r=0,xr=this.assets.length;_r<xr;){if(hr===this.assets[_r].id)return this.assets[_r];_r+=1}return null},qs.prototype.hide=function(){this.renderer.hide()},qs.prototype.show=function(){this.renderer.show()},qs.prototype.getDuration=function(hr){return hr?this.totalFrames:this.totalFrames/this.frameRate},qs.prototype.updateDocumentData=function(hr,_r,xr){try{var Dr=this.renderer.getElementByPath(hr);Dr.updateDocumentData(_r,xr)}catch{}},qs.prototype.trigger=function(hr){if(this._cbs&&this._cbs[hr])switch(hr){case"enterFrame":this.triggerEvent(hr,new xs(hr,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(hr,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(hr,new cs(hr,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(hr,new is(hr,this.frameMult));break;case"segmentStart":this.triggerEvent(hr,new Ar(hr,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(hr,new Tr(hr,this));break;default:this.triggerEvent(hr)}hr==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new xs(hr,this.currentFrame,this.totalFrames,this.frameMult)),hr==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new cs(hr,this.loop,this.playCount,this.frameMult)),hr==="complete"&&this.onComplete&&this.onComplete.call(this,new is(hr,this.frameMult)),hr==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new Ar(hr,this.firstFrame,this.totalFrames)),hr==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Tr(hr,this))},qs.prototype.triggerRenderFrameError=function(hr){var _r=new yr(hr,this.currentFrame);this.triggerEvent("error",_r),this.onError&&this.onError.call(this,_r)},qs.prototype.triggerConfigError=function(hr){var _r=new Mr(hr,this.currentFrame);this.triggerEvent("error",_r),this.onError&&this.onError.call(this,_r)};var ta=function(){var hr={},_r=[],xr=0,Dr=0,Vr=0,Fr=!0,er=!1;function lr(ms){for(var bs=0,rs=ms.target;bs<Dr;)_r[bs].animation===rs&&(_r.splice(bs,1),bs-=1,Dr-=1,rs.isPaused||kr()),bs+=1}function mr(ms,bs){if(!ms)return null;for(var rs=0;rs<Dr;){if(_r[rs].elem===ms&&_r[rs].elem!==null)return _r[rs].animation;rs+=1}var Ps=new qs;return Br(Ps,ms),Ps.setData(ms,bs),Ps}function Sr(){var ms,bs=_r.length,rs=[];for(ms=0;ms<bs;ms+=1)rs.push(_r[ms].animation);return rs}function wr(){Vr+=1,ls()}function kr(){Vr-=1}function Br(ms,bs){ms.addEventListener("destroy",lr),ms.addEventListener("_active",wr),ms.addEventListener("_idle",kr),_r.push({elem:bs,animation:ms}),Dr+=1}function Yr(ms){var bs=new qs;return Br(bs,null),bs.setParams(ms),bs}function Hr(ms,bs){var rs;for(rs=0;rs<Dr;rs+=1)_r[rs].animation.setSpeed(ms,bs)}function Zr(ms,bs){var rs;for(rs=0;rs<Dr;rs+=1)_r[rs].animation.setDirection(ms,bs)}function ss(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.play(ms)}function Xr(ms){var bs=ms-xr,rs;for(rs=0;rs<Dr;rs+=1)_r[rs].animation.advanceTime(bs);xr=ms,Vr&&!er?window.requestAnimationFrame(Xr):Fr=!0}function Nr(ms){xr=ms,window.requestAnimationFrame(Xr)}function Or(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.pause(ms)}function Gr(ms,bs,rs){var Ps;for(Ps=0;Ps<Dr;Ps+=1)_r[Ps].animation.goToAndStop(ms,bs,rs)}function Lr(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.stop(ms)}function Kr(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.togglePause(ms)}function ts(ms){var bs;for(bs=Dr-1;bs>=0;bs-=1)_r[bs].animation.destroy(ms)}function Wr(ms,bs,rs){var Ps=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),As,vs=Ps.length;for(As=0;As<vs;As+=1)rs&&Ps[As].setAttribute("data-bm-type",rs),mr(Ps[As],ms);if(bs&&vs===0){rs||(rs="svg");var gs=document.getElementsByTagName("body")[0];gs.innerText="";var _s=gr("div");_s.style.width="100%",_s.style.height="100%",_s.setAttribute("data-bm-type",rs),gs.appendChild(_s),mr(_s,ms)}}function as(){var ms;for(ms=0;ms<Dr;ms+=1)_r[ms].animation.resize()}function ls(){!er&&Vr&&Fr&&(window.requestAnimationFrame(Nr),Fr=!1)}function ds(){er=!0}function ws(){er=!1,ls()}function Fs(ms,bs){var rs;for(rs=0;rs<Dr;rs+=1)_r[rs].animation.setVolume(ms,bs)}function Cs(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.mute(ms)}function zs(ms){var bs;for(bs=0;bs<Dr;bs+=1)_r[bs].animation.unmute(ms)}return hr.registerAnimation=mr,hr.loadAnimation=Yr,hr.setSpeed=Hr,hr.setDirection=Zr,hr.play=ss,hr.pause=Or,hr.stop=Lr,hr.togglePause=Kr,hr.searchAnimations=Wr,hr.resize=as,hr.goToAndStop=Gr,hr.destroy=ts,hr.freeze=ds,hr.unfreeze=ws,hr.setVolume=Fs,hr.mute=Cs,hr.unmute=zs,hr.getRegisteredAnimations=Sr,hr}(),ga=function(){var hr={};hr.getBezierEasing=xr;var _r={};function xr(Nr,Or,Gr,Lr,Kr){var ts=Kr||("bez_"+Nr+"_"+Or+"_"+Gr+"_"+Lr).replace(/\./g,"p");if(_r[ts])return _r[ts];var Wr=new Xr([Nr,Or,Gr,Lr]);return _r[ts]=Wr,Wr}var Dr=4,Vr=.001,Fr=1e-7,er=10,lr=11,mr=1/(lr-1),Sr=typeof Float32Array=="function";function wr(Nr,Or){return 1-3*Or+3*Nr}function kr(Nr,Or){return 3*Or-6*Nr}function Br(Nr){return 3*Nr}function Yr(Nr,Or,Gr){return((wr(Or,Gr)*Nr+kr(Or,Gr))*Nr+Br(Or))*Nr}function Hr(Nr,Or,Gr){return 3*wr(Or,Gr)*Nr*Nr+2*kr(Or,Gr)*Nr+Br(Or)}function Zr(Nr,Or,Gr,Lr,Kr){var ts,Wr,as=0;do Wr=Or+(Gr-Or)/2,ts=Yr(Wr,Lr,Kr)-Nr,ts>0?Gr=Wr:Or=Wr;while(Math.abs(ts)>Fr&&++as<er);return Wr}function ss(Nr,Or,Gr,Lr){for(var Kr=0;Kr<Dr;++Kr){var ts=Hr(Or,Gr,Lr);if(ts===0)return Or;var Wr=Yr(Or,Gr,Lr)-Nr;Or-=Wr/ts}return Or}function Xr(Nr){this._p=Nr,this._mSampleValues=Sr?new Float32Array(lr):new Array(lr),this._precomputed=!1,this.get=this.get.bind(this)}return Xr.prototype={get:function(Nr){var Or=this._p[0],Gr=this._p[1],Lr=this._p[2],Kr=this._p[3];return this._precomputed||this._precompute(),Or===Gr&&Lr===Kr?Nr:Nr===0?0:Nr===1?1:Yr(this._getTForX(Nr),Gr,Kr)},_precompute:function(){var Nr=this._p[0],Or=this._p[1],Gr=this._p[2],Lr=this._p[3];this._precomputed=!0,(Nr!==Or||Gr!==Lr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var Nr=this._p[0],Or=this._p[2],Gr=0;Gr<lr;++Gr)this._mSampleValues[Gr]=Yr(Gr*mr,Nr,Or)},_getTForX:function(Nr){for(var Or=this._p[0],Gr=this._p[2],Lr=this._mSampleValues,Kr=0,ts=1,Wr=lr-1;ts!==Wr&&Lr[ts]<=Nr;++ts)Kr+=mr;--ts;var as=(Nr-Lr[ts])/(Lr[ts+1]-Lr[ts]),ls=Kr+as*mr,ds=Hr(ls,Or,Gr);return ds>=Vr?ss(Nr,ls,Or,Gr):ds===0?ls:Zr(Nr,Kr,Kr+mr,Or,Gr)}},hr}(),Ha=function(){function hr(_r){return _r.concat(ur(_r.length))}return{double:hr}}(),Na=function(){return function(hr,_r,xr){var Dr=0,Vr=hr,Fr=ur(Vr),er={newElement:lr,release:mr};function lr(){var Sr;return Dr?(Dr-=1,Sr=Fr[Dr]):Sr=_r(),Sr}function mr(Sr){Dr===Vr&&(Fr=Ha.double(Fr),Vr*=2),xr&&xr(Sr),Fr[Dr]=Sr,Dr+=1}return er}}(),Ka=function(){function hr(){return{addedLength:0,percents:cr("float32",$s()),lengths:cr("float32",$s())}}return Na(8,hr)}(),xn=function(){function hr(){return{lengths:[],totalLength:0}}function _r(xr){var Dr,Vr=xr.lengths.length;for(Dr=0;Dr<Vr;Dr+=1)Ka.release(xr.lengths[Dr]);xr.lengths.length=0}return Na(8,hr,_r)}();function Wn(){var hr=Math;function _r(Br,Yr,Hr,Zr,ss,Xr){var Nr=Br*Zr+Yr*ss+Hr*Xr-ss*Zr-Xr*Br-Hr*Yr;return Nr>-.001&&Nr<.001}function xr(Br,Yr,Hr,Zr,ss,Xr,Nr,Or,Gr){if(Hr===0&&Xr===0&&Gr===0)return _r(Br,Yr,Zr,ss,Nr,Or);var Lr=hr.sqrt(hr.pow(Zr-Br,2)+hr.pow(ss-Yr,2)+hr.pow(Xr-Hr,2)),Kr=hr.sqrt(hr.pow(Nr-Br,2)+hr.pow(Or-Yr,2)+hr.pow(Gr-Hr,2)),ts=hr.sqrt(hr.pow(Nr-Zr,2)+hr.pow(Or-ss,2)+hr.pow(Gr-Xr,2)),Wr;return Lr>Kr?Lr>ts?Wr=Lr-Kr-ts:Wr=ts-Kr-Lr:ts>Kr?Wr=ts-Kr-Lr:Wr=Kr-Lr-ts,Wr>-1e-4&&Wr<1e-4}var Dr=function(){return function(Br,Yr,Hr,Zr){var ss=$s(),Xr,Nr,Or,Gr,Lr,Kr=0,ts,Wr=[],as=[],ls=Ka.newElement();for(Or=Hr.length,Xr=0;Xr<ss;Xr+=1){for(Lr=Xr/(ss-1),ts=0,Nr=0;Nr<Or;Nr+=1)Gr=dr(1-Lr,3)*Br[Nr]+3*dr(1-Lr,2)*Lr*Hr[Nr]+3*(1-Lr)*dr(Lr,2)*Zr[Nr]+dr(Lr,3)*Yr[Nr],Wr[Nr]=Gr,as[Nr]!==null&&(ts+=dr(Wr[Nr]-as[Nr],2)),as[Nr]=Wr[Nr];ts&&(ts=Pr(ts),Kr+=ts),ls.percents[Xr]=Lr,ls.lengths[Xr]=Kr}return ls.addedLength=Kr,ls}}();function Vr(Br){var Yr=xn.newElement(),Hr=Br.c,Zr=Br.v,ss=Br.o,Xr=Br.i,Nr,Or=Br._length,Gr=Yr.lengths,Lr=0;for(Nr=0;Nr<Or-1;Nr+=1)Gr[Nr]=Dr(Zr[Nr],Zr[Nr+1],ss[Nr],Xr[Nr+1]),Lr+=Gr[Nr].addedLength;return Hr&&Or&&(Gr[Nr]=Dr(Zr[Nr],Zr[0],ss[Nr],Xr[0]),Lr+=Gr[Nr].addedLength),Yr.totalLength=Lr,Yr}function Fr(Br){this.segmentLength=0,this.points=new Array(Br)}function er(Br,Yr){this.partialLength=Br,this.point=Yr}var lr=function(){var Br={};return function(Yr,Hr,Zr,ss){var Xr=(Yr[0]+"_"+Yr[1]+"_"+Hr[0]+"_"+Hr[1]+"_"+Zr[0]+"_"+Zr[1]+"_"+ss[0]+"_"+ss[1]).replace(/\./g,"p");if(!Br[Xr]){var Nr=$s(),Or,Gr,Lr,Kr,ts,Wr=0,as,ls,ds=null;Yr.length===2&&(Yr[0]!==Hr[0]||Yr[1]!==Hr[1])&&_r(Yr[0],Yr[1],Hr[0],Hr[1],Yr[0]+Zr[0],Yr[1]+Zr[1])&&_r(Yr[0],Yr[1],Hr[0],Hr[1],Hr[0]+ss[0],Hr[1]+ss[1])&&(Nr=2);var ws=new Fr(Nr);for(Lr=Zr.length,Or=0;Or<Nr;Or+=1){for(ls=ur(Lr),ts=Or/(Nr-1),as=0,Gr=0;Gr<Lr;Gr+=1)Kr=dr(1-ts,3)*Yr[Gr]+3*dr(1-ts,2)*ts*(Yr[Gr]+Zr[Gr])+3*(1-ts)*dr(ts,2)*(Hr[Gr]+ss[Gr])+dr(ts,3)*Hr[Gr],ls[Gr]=Kr,ds!==null&&(as+=dr(ls[Gr]-ds[Gr],2));as=Pr(as),Wr+=as,ws.points[Or]=new er(as,ls),ds=ls}ws.segmentLength=Wr,Br[Xr]=ws}return Br[Xr]}}();function mr(Br,Yr){var Hr=Yr.percents,Zr=Yr.lengths,ss=Hr.length,Xr=Ir((ss-1)*Br),Nr=Br*Yr.addedLength,Or=0;if(Xr===ss-1||Xr===0||Nr===Zr[Xr])return Hr[Xr];for(var Gr=Zr[Xr]>Nr?-1:1,Lr=!0;Lr;)if(Zr[Xr]<=Nr&&Zr[Xr+1]>Nr?(Or=(Nr-Zr[Xr])/(Zr[Xr+1]-Zr[Xr]),Lr=!1):Xr+=Gr,Xr<0||Xr>=ss-1){if(Xr===ss-1)return Hr[Xr];Lr=!1}return Hr[Xr]+(Hr[Xr+1]-Hr[Xr])*Or}function Sr(Br,Yr,Hr,Zr,ss,Xr){var Nr=mr(ss,Xr),Or=1-Nr,Gr=hr.round((Or*Or*Or*Br[0]+(Nr*Or*Or+Or*Nr*Or+Or*Or*Nr)*Hr[0]+(Nr*Nr*Or+Or*Nr*Nr+Nr*Or*Nr)*Zr[0]+Nr*Nr*Nr*Yr[0])*1e3)/1e3,Lr=hr.round((Or*Or*Or*Br[1]+(Nr*Or*Or+Or*Nr*Or+Or*Or*Nr)*Hr[1]+(Nr*Nr*Or+Or*Nr*Nr+Nr*Or*Nr)*Zr[1]+Nr*Nr*Nr*Yr[1])*1e3)/1e3;return[Gr,Lr]}var wr=cr("float32",8);function kr(Br,Yr,Hr,Zr,ss,Xr,Nr){ss<0?ss=0:ss>1&&(ss=1);var Or=mr(ss,Nr);Xr=Xr>1?1:Xr;var Gr=mr(Xr,Nr),Lr,Kr=Br.length,ts=1-Or,Wr=1-Gr,as=ts*ts*ts,ls=Or*ts*ts*3,ds=Or*Or*ts*3,ws=Or*Or*Or,Fs=ts*ts*Wr,Cs=Or*ts*Wr+ts*Or*Wr+ts*ts*Gr,zs=Or*Or*Wr+ts*Or*Gr+Or*ts*Gr,ms=Or*Or*Gr,bs=ts*Wr*Wr,rs=Or*Wr*Wr+ts*Gr*Wr+ts*Wr*Gr,Ps=Or*Gr*Wr+ts*Gr*Gr+Or*Wr*Gr,As=Or*Gr*Gr,vs=Wr*Wr*Wr,gs=Gr*Wr*Wr+Wr*Gr*Wr+Wr*Wr*Gr,_s=Gr*Gr*Wr+Wr*Gr*Gr+Gr*Wr*Gr,ns=Gr*Gr*Gr;for(Lr=0;Lr<Kr;Lr+=1)wr[Lr*4]=hr.round((as*Br[Lr]+ls*Hr[Lr]+ds*Zr[Lr]+ws*Yr[Lr])*1e3)/1e3,wr[Lr*4+1]=hr.round((Fs*Br[Lr]+Cs*Hr[Lr]+zs*Zr[Lr]+ms*Yr[Lr])*1e3)/1e3,wr[Lr*4+2]=hr.round((bs*Br[Lr]+rs*Hr[Lr]+Ps*Zr[Lr]+As*Yr[Lr])*1e3)/1e3,wr[Lr*4+3]=hr.round((vs*Br[Lr]+gs*Hr[Lr]+_s*Zr[Lr]+ns*Yr[Lr])*1e3)/1e3;return wr}return{getSegmentsLength:Vr,getNewSegment:kr,getPointInSegment:Sr,buildBezierData:lr,pointOnLine2D:_r,pointOnLine3D:xr}}var Zn=Wn(),co=Zt,Ph=Math.abs;function xh(hr,_r){var xr=this.offsetTime,Dr;this.propType==="multidimensional"&&(Dr=cr("float32",this.pv.length));for(var Vr=_r.lastIndex,Fr=Vr,er=this.keyframes.length-1,lr=!0,mr,Sr,wr;lr;){if(mr=this.keyframes[Fr],Sr=this.keyframes[Fr+1],Fr===er-1&&hr>=Sr.t-xr){mr.h&&(mr=Sr),Vr=0;break}if(Sr.t-xr>hr){Vr=Fr;break}Fr<er-1?Fr+=1:(Vr=0,lr=!1)}wr=this.keyframesMetadata[Fr]||{};var kr,Br,Yr,Hr,Zr,ss,Xr=Sr.t-xr,Nr=mr.t-xr,Or;if(mr.to){wr.bezierData||(wr.bezierData=Zn.buildBezierData(mr.s,Sr.s||mr.e,mr.to,mr.ti));var Gr=wr.bezierData;if(hr>=Xr||hr<Nr){var Lr=hr>=Xr?Gr.points.length-1:0;for(Br=Gr.points[Lr].point.length,kr=0;kr<Br;kr+=1)Dr[kr]=Gr.points[Lr].point[kr]}else{wr.__fnct?ss=wr.__fnct:(ss=ga.getBezierEasing(mr.o.x,mr.o.y,mr.i.x,mr.i.y,mr.n).get,wr.__fnct=ss),Yr=ss((hr-Nr)/(Xr-Nr));var Kr=Gr.segmentLength*Yr,ts,Wr=_r.lastFrame<hr&&_r._lastKeyframeIndex===Fr?_r._lastAddedLength:0;for(Zr=_r.lastFrame<hr&&_r._lastKeyframeIndex===Fr?_r._lastPoint:0,lr=!0,Hr=Gr.points.length;lr;){if(Wr+=Gr.points[Zr].partialLength,Kr===0||Yr===0||Zr===Gr.points.length-1){for(Br=Gr.points[Zr].point.length,kr=0;kr<Br;kr+=1)Dr[kr]=Gr.points[Zr].point[kr];break}else if(Kr>=Wr&&Kr<Wr+Gr.points[Zr+1].partialLength){for(ts=(Kr-Wr)/Gr.points[Zr+1].partialLength,Br=Gr.points[Zr].point.length,kr=0;kr<Br;kr+=1)Dr[kr]=Gr.points[Zr].point[kr]+(Gr.points[Zr+1].point[kr]-Gr.points[Zr].point[kr])*ts;break}Zr<Hr-1?Zr+=1:lr=!1}_r._lastPoint=Zr,_r._lastAddedLength=Wr-Gr.points[Zr].partialLength,_r._lastKeyframeIndex=Fr}}else{var as,ls,ds,ws,Fs;if(er=mr.s.length,Or=Sr.s||mr.e,this.sh&&mr.h!==1)if(hr>=Xr)Dr[0]=Or[0],Dr[1]=Or[1],Dr[2]=Or[2];else if(hr<=Nr)Dr[0]=mr.s[0],Dr[1]=mr.s[1],Dr[2]=mr.s[2];else{var Cs=So(mr.s),zs=So(Or),ms=(hr-Nr)/(Xr-Nr);fh(Dr,ph(Cs,zs,ms))}else for(Fr=0;Fr<er;Fr+=1)mr.h!==1&&(hr>=Xr?Yr=1:hr<Nr?Yr=0:(mr.o.x.constructor===Array?(wr.__fnct||(wr.__fnct=[]),wr.__fnct[Fr]?ss=wr.__fnct[Fr]:(as=mr.o.x[Fr]===void 0?mr.o.x[0]:mr.o.x[Fr],ls=mr.o.y[Fr]===void 0?mr.o.y[0]:mr.o.y[Fr],ds=mr.i.x[Fr]===void 0?mr.i.x[0]:mr.i.x[Fr],ws=mr.i.y[Fr]===void 0?mr.i.y[0]:mr.i.y[Fr],ss=ga.getBezierEasing(as,ls,ds,ws).get,wr.__fnct[Fr]=ss)):wr.__fnct?ss=wr.__fnct:(as=mr.o.x,ls=mr.o.y,ds=mr.i.x,ws=mr.i.y,ss=ga.getBezierEasing(as,ls,ds,ws).get,mr.keyframeMetadata=ss),Yr=ss((hr-Nr)/(Xr-Nr)))),Or=Sr.s||mr.e,Fs=mr.h===1?mr.s[Fr]:mr.s[Fr]+(Or[Fr]-mr.s[Fr])*Yr,this.propType==="multidimensional"?Dr[Fr]=Fs:Dr=Fs}return _r.lastIndex=Vr,Dr}function ph(hr,_r,xr){var Dr=[],Vr=hr[0],Fr=hr[1],er=hr[2],lr=hr[3],mr=_r[0],Sr=_r[1],wr=_r[2],kr=_r[3],Br,Yr,Hr,Zr,ss;return Yr=Vr*mr+Fr*Sr+er*wr+lr*kr,Yr<0&&(Yr=-Yr,mr=-mr,Sr=-Sr,wr=-wr,kr=-kr),1-Yr>1e-6?(Br=Math.acos(Yr),Hr=Math.sin(Br),Zr=Math.sin((1-xr)*Br)/Hr,ss=Math.sin(xr*Br)/Hr):(Zr=1-xr,ss=xr),Dr[0]=Zr*Vr+ss*mr,Dr[1]=Zr*Fr+ss*Sr,Dr[2]=Zr*er+ss*wr,Dr[3]=Zr*lr+ss*kr,Dr}function fh(hr,_r){var xr=_r[0],Dr=_r[1],Vr=_r[2],Fr=_r[3],er=Math.atan2(2*Dr*Fr-2*xr*Vr,1-2*Dr*Dr-2*Vr*Vr),lr=Math.asin(2*xr*Dr+2*Vr*Fr),mr=Math.atan2(2*xr*Fr-2*Dr*Vr,1-2*xr*xr-2*Vr*Vr);hr[0]=er/hs,hr[1]=lr/hs,hr[2]=mr/hs}function So(hr){var _r=hr[0]*hs,xr=hr[1]*hs,Dr=hr[2]*hs,Vr=Math.cos(_r/2),Fr=Math.cos(xr/2),er=Math.cos(Dr/2),lr=Math.sin(_r/2),mr=Math.sin(xr/2),Sr=Math.sin(Dr/2),wr=Vr*Fr*er-lr*mr*Sr,kr=lr*mr*er+Vr*Fr*Sr,Br=lr*Fr*er+Vr*mr*Sr,Yr=Vr*mr*er-lr*Fr*Sr;return[kr,Br,Yr,wr]}function Eo(){var hr=this.comp.renderedFrame-this.offsetTime,_r=this.keyframes[0].t-this.offsetTime,xr=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(hr===this._caching.lastFrame||this._caching.lastFrame!==co&&(this._caching.lastFrame>=xr&&hr>=xr||this._caching.lastFrame<_r&&hr<_r))){this._caching.lastFrame>=hr&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var Dr=this.interpolateValue(hr,this._caching);this.pv=Dr}return this._caching.lastFrame=hr,this.pv}function ho(hr){var _r;if(this.propType==="unidimensional")_r=hr*this.mult,Ph(this.v-_r)>1e-5&&(this.v=_r,this._mdf=!0);else for(var xr=0,Dr=this.v.length;xr<Dr;)_r=hr[xr]*this.mult,Ph(this.v[xr]-_r)>1e-5&&(this.v[xr]=_r,this._mdf=!0),xr+=1}function Uo(){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 hr,_r=this.effectsSequence.length,xr=this.kf?this.pv:this.data.k;for(hr=0;hr<_r;hr+=1)xr=this.effectsSequence[hr](xr);this.setVValue(xr),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function Xo(hr){this.effectsSequence.push(hr),this.container.addDynamicProperty(this)}function Th(hr,_r,xr,Dr){this.propType="unidimensional",this.mult=xr||1,this.data=_r,this.v=xr?_r.k*xr:_r.k,this.pv=_r.k,this._mdf=!1,this.elem=hr,this.container=Dr,this.comp=hr.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=Uo,this.setVValue=ho,this.addEffect=Xo}function Mh(hr,_r,xr,Dr){this.propType="multidimensional",this.mult=xr||1,this.data=_r,this._mdf=!1,this.elem=hr,this.container=Dr,this.comp=hr.comp,this.k=!1,this.kf=!1,this.frameId=-1;var Vr,Fr=_r.k.length;for(this.v=cr("float32",Fr),this.pv=cr("float32",Fr),this.vel=cr("float32",Fr),Vr=0;Vr<Fr;Vr+=1)this.v[Vr]=_r.k[Vr]*this.mult,this.pv[Vr]=_r.k[Vr];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=Uo,this.setVValue=ho,this.addEffect=Xo}function Gs(hr,_r,xr,Dr){this.propType="unidimensional",this.keyframes=_r.k,this.keyframesMetadata=[],this.offsetTime=hr.data.st,this.frameId=-1,this._caching={lastFrame:co,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=_r,this.mult=xr||1,this.elem=hr,this.container=Dr,this.comp=hr.comp,this.v=co,this.pv=co,this._isFirstFrame=!0,this.getValue=Uo,this.setVValue=ho,this.interpolateValue=xh,this.effectsSequence=[Eo.bind(this)],this.addEffect=Xo}function Fa(hr,_r,xr,Dr){this.propType="multidimensional";var Vr,Fr=_r.k.length,er,lr,mr,Sr;for(Vr=0;Vr<Fr-1;Vr+=1)_r.k[Vr].to&&_r.k[Vr].s&&_r.k[Vr+1]&&_r.k[Vr+1].s&&(er=_r.k[Vr].s,lr=_r.k[Vr+1].s,mr=_r.k[Vr].to,Sr=_r.k[Vr].ti,(er.length===2&&!(er[0]===lr[0]&&er[1]===lr[1])&&Zn.pointOnLine2D(er[0],er[1],lr[0],lr[1],er[0]+mr[0],er[1]+mr[1])&&Zn.pointOnLine2D(er[0],er[1],lr[0],lr[1],lr[0]+Sr[0],lr[1]+Sr[1])||er.length===3&&!(er[0]===lr[0]&&er[1]===lr[1]&&er[2]===lr[2])&&Zn.pointOnLine3D(er[0],er[1],er[2],lr[0],lr[1],lr[2],er[0]+mr[0],er[1]+mr[1],er[2]+mr[2])&&Zn.pointOnLine3D(er[0],er[1],er[2],lr[0],lr[1],lr[2],lr[0]+Sr[0],lr[1]+Sr[1],lr[2]+Sr[2]))&&(_r.k[Vr].to=null,_r.k[Vr].ti=null),er[0]===lr[0]&&er[1]===lr[1]&&mr[0]===0&&mr[1]===0&&Sr[0]===0&&Sr[1]===0&&(er.length===2||er[2]===lr[2]&&mr[2]===0&&Sr[2]===0)&&(_r.k[Vr].to=null,_r.k[Vr].ti=null));this.effectsSequence=[Eo.bind(this)],this.data=_r,this.keyframes=_r.k,this.keyframesMetadata=[],this.offsetTime=hr.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=xr||1,this.elem=hr,this.container=Dr,this.comp=hr.comp,this.getValue=Uo,this.setVValue=ho,this.interpolateValue=xh,this.frameId=-1;var wr=_r.k[0].s.length;for(this.v=cr("float32",wr),this.pv=cr("float32",wr),Vr=0;Vr<wr;Vr+=1)this.v[Vr]=co,this.pv[Vr]=co;this._caching={lastFrame:co,lastIndex:0,value:cr("float32",wr)},this.addEffect=Xo}var Ws=function(){function hr(xr,Dr,Vr,Fr,er){Dr.sid&&(Dr=xr.globalData.slotManager.getProp(Dr));var lr;if(!Dr.k.length)lr=new Th(xr,Dr,Fr,er);else if(typeof Dr.k[0]=="number")lr=new Mh(xr,Dr,Fr,er);else switch(Vr){case 0:lr=new Gs(xr,Dr,Fr,er);break;case 1:lr=new Fa(xr,Dr,Fr,er);break}return lr.effectsSequence.length&&er.addDynamicProperty(lr),lr}var _r={getProp:hr};return _r}();function Ia(){}Ia.prototype={addDynamicProperty:function(hr){this.dynamicProperties.indexOf(hr)===-1&&(this.dynamicProperties.push(hr),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var hr,_r=this.dynamicProperties.length;for(hr=0;hr<_r;hr+=1)this.dynamicProperties[hr].getValue(),this.dynamicProperties[hr]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(hr){this.container=hr,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var Ta=function(){function hr(){return cr("float32",2)}return Na(8,hr)}();function Yn(){this.c=!1,this._length=0,this._maxLength=8,this.v=ur(this._maxLength),this.o=ur(this._maxLength),this.i=ur(this._maxLength)}Yn.prototype.setPathData=function(hr,_r){this.c=hr,this.setLength(_r);for(var xr=0;xr<_r;)this.v[xr]=Ta.newElement(),this.o[xr]=Ta.newElement(),this.i[xr]=Ta.newElement(),xr+=1},Yn.prototype.setLength=function(hr){for(;this._maxLength<hr;)this.doubleArrayLength();this._length=hr},Yn.prototype.doubleArrayLength=function(){this.v=this.v.concat(ur(this._maxLength)),this.i=this.i.concat(ur(this._maxLength)),this.o=this.o.concat(ur(this._maxLength)),this._maxLength*=2},Yn.prototype.setXYAt=function(hr,_r,xr,Dr,Vr){var Fr;switch(this._length=Math.max(this._length,Dr+1),this._length>=this._maxLength&&this.doubleArrayLength(),xr){case"v":Fr=this.v;break;case"i":Fr=this.i;break;case"o":Fr=this.o;break;default:Fr=[];break}(!Fr[Dr]||Fr[Dr]&&!Vr)&&(Fr[Dr]=Ta.newElement()),Fr[Dr][0]=hr,Fr[Dr][1]=_r},Yn.prototype.setTripleAt=function(hr,_r,xr,Dr,Vr,Fr,er,lr){this.setXYAt(hr,_r,"v",er,lr),this.setXYAt(xr,Dr,"o",er,lr),this.setXYAt(Vr,Fr,"i",er,lr)},Yn.prototype.reverse=function(){var hr=new Yn;hr.setPathData(this.c,this._length);var _r=this.v,xr=this.o,Dr=this.i,Vr=0;this.c&&(hr.setTripleAt(_r[0][0],_r[0][1],Dr[0][0],Dr[0][1],xr[0][0],xr[0][1],0,!1),Vr=1);var Fr=this._length-1,er=this._length,lr;for(lr=Vr;lr<er;lr+=1)hr.setTripleAt(_r[Fr][0],_r[Fr][1],Dr[Fr][0],Dr[Fr][1],xr[Fr][0],xr[Fr][1],lr,!1),Fr-=1;return hr},Yn.prototype.length=function(){return this._length};var Ga=function(){function hr(){return new Yn}function _r(Vr){var Fr=Vr._length,er;for(er=0;er<Fr;er+=1)Ta.release(Vr.v[er]),Ta.release(Vr.i[er]),Ta.release(Vr.o[er]),Vr.v[er]=null,Vr.i[er]=null,Vr.o[er]=null;Vr._length=0,Vr.c=!1}function xr(Vr){var Fr=Dr.newElement(),er,lr=Vr._length===void 0?Vr.v.length:Vr._length;for(Fr.setLength(lr),Fr.c=Vr.c,er=0;er<lr;er+=1)Fr.setTripleAt(Vr.v[er][0],Vr.v[er][1],Vr.o[er][0],Vr.o[er][1],Vr.i[er][0],Vr.i[er][1],er);return Fr}var Dr=Na(4,hr,_r);return Dr.clone=xr,Dr}();function io(){this._length=0,this._maxLength=4,this.shapes=ur(this._maxLength)}io.prototype.addShape=function(hr){this._length===this._maxLength&&(this.shapes=this.shapes.concat(ur(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=hr,this._length+=1},io.prototype.releaseShapes=function(){var hr;for(hr=0;hr<this._length;hr+=1)Ga.release(this.shapes[hr]);this._length=0};var Pa=function(){var hr={newShapeCollection:Vr,release:Fr},_r=0,xr=4,Dr=ur(xr);function Vr(){var er;return _r?(_r-=1,er=Dr[_r]):er=new io,er}function Fr(er){var lr,mr=er._length;for(lr=0;lr<mr;lr+=1)Ga.release(er.shapes[lr]);er._length=0,_r===xr&&(Dr=Ha.double(Dr),xr*=2),Dr[_r]=er,_r+=1}return hr}(),lo=function(){var hr=-999999;function _r(Xr,Nr,Or){var Gr=Or.lastIndex,Lr,Kr,ts,Wr,as,ls,ds,ws,Fs,Cs=this.keyframes;if(Xr<Cs[0].t-this.offsetTime)Lr=Cs[0].s[0],ts=!0,Gr=0;else if(Xr>=Cs[Cs.length-1].t-this.offsetTime)Lr=Cs[Cs.length-1].s?Cs[Cs.length-1].s[0]:Cs[Cs.length-2].e[0],ts=!0;else{for(var zs=Gr,ms=Cs.length-1,bs=!0,rs,Ps,As;bs&&(rs=Cs[zs],Ps=Cs[zs+1],!(Ps.t-this.offsetTime>Xr));)zs<ms-1?zs+=1:bs=!1;if(As=this.keyframesMetadata[zs]||{},ts=rs.h===1,Gr=zs,!ts){if(Xr>=Ps.t-this.offsetTime)ws=1;else if(Xr<rs.t-this.offsetTime)ws=0;else{var vs;As.__fnct?vs=As.__fnct:(vs=ga.getBezierEasing(rs.o.x,rs.o.y,rs.i.x,rs.i.y).get,As.__fnct=vs),ws=vs((Xr-(rs.t-this.offsetTime))/(Ps.t-this.offsetTime-(rs.t-this.offsetTime)))}Kr=Ps.s?Ps.s[0]:rs.e[0]}Lr=rs.s[0]}for(ls=Nr._length,ds=Lr.i[0].length,Or.lastIndex=Gr,Wr=0;Wr<ls;Wr+=1)for(as=0;as<ds;as+=1)Fs=ts?Lr.i[Wr][as]:Lr.i[Wr][as]+(Kr.i[Wr][as]-Lr.i[Wr][as])*ws,Nr.i[Wr][as]=Fs,Fs=ts?Lr.o[Wr][as]:Lr.o[Wr][as]+(Kr.o[Wr][as]-Lr.o[Wr][as])*ws,Nr.o[Wr][as]=Fs,Fs=ts?Lr.v[Wr][as]:Lr.v[Wr][as]+(Kr.v[Wr][as]-Lr.v[Wr][as])*ws,Nr.v[Wr][as]=Fs}function xr(){var Xr=this.comp.renderedFrame-this.offsetTime,Nr=this.keyframes[0].t-this.offsetTime,Or=this.keyframes[this.keyframes.length-1].t-this.offsetTime,Gr=this._caching.lastFrame;return Gr!==hr&&(Gr<Nr&&Xr<Nr||Gr>Or&&Xr>Or)||(this._caching.lastIndex=Gr<Xr?this._caching.lastIndex:0,this.interpolateShape(Xr,this.pv,this._caching)),this._caching.lastFrame=Xr,this.pv}function Dr(){this.paths=this.localShapeCollection}function Vr(Xr,Nr){if(Xr._length!==Nr._length||Xr.c!==Nr.c)return!1;var Or,Gr=Xr._length;for(Or=0;Or<Gr;Or+=1)if(Xr.v[Or][0]!==Nr.v[Or][0]||Xr.v[Or][1]!==Nr.v[Or][1]||Xr.o[Or][0]!==Nr.o[Or][0]||Xr.o[Or][1]!==Nr.o[Or][1]||Xr.i[Or][0]!==Nr.i[Or][0]||Xr.i[Or][1]!==Nr.i[Or][1])return!1;return!0}function Fr(Xr){Vr(this.v,Xr)||(this.v=Ga.clone(Xr),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function er(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var Xr;this.kf?Xr=this.pv:this.data.ks?Xr=this.data.ks.k:Xr=this.data.pt.k;var Nr,Or=this.effectsSequence.length;for(Nr=0;Nr<Or;Nr+=1)Xr=this.effectsSequence[Nr](Xr);this.setVValue(Xr),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function lr(Xr,Nr,Or){this.propType="shape",this.comp=Xr.comp,this.container=Xr,this.elem=Xr,this.data=Nr,this.k=!1,this.kf=!1,this._mdf=!1;var Gr=Or===3?Nr.pt.k:Nr.ks.k;this.v=Ga.clone(Gr),this.pv=Ga.clone(this.v),this.localShapeCollection=Pa.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=Dr,this.effectsSequence=[]}function mr(Xr){this.effectsSequence.push(Xr),this.container.addDynamicProperty(this)}lr.prototype.interpolateShape=_r,lr.prototype.getValue=er,lr.prototype.setVValue=Fr,lr.prototype.addEffect=mr;function Sr(Xr,Nr,Or){this.propType="shape",this.comp=Xr.comp,this.elem=Xr,this.container=Xr,this.offsetTime=Xr.data.st,this.keyframes=Or===3?Nr.pt.k:Nr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var Gr=this.keyframes[0].s[0].i.length;this.v=Ga.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,Gr),this.pv=Ga.clone(this.v),this.localShapeCollection=Pa.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=hr,this.reset=Dr,this._caching={lastFrame:hr,lastIndex:0},this.effectsSequence=[xr.bind(this)]}Sr.prototype.getValue=er,Sr.prototype.interpolateShape=_r,Sr.prototype.setVValue=Fr,Sr.prototype.addEffect=mr;var wr=function(){var Xr=ps;function Nr(Or,Gr){this.v=Ga.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Pa.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=Gr.d,this.elem=Or,this.comp=Or.comp,this.frameId=-1,this.initDynamicPropertyContainer(Or),this.p=Ws.getProp(Or,Gr.p,1,0,this),this.s=Ws.getProp(Or,Gr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return Nr.prototype={reset:Dr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var Or=this.p.v[0],Gr=this.p.v[1],Lr=this.s.v[0]/2,Kr=this.s.v[1]/2,ts=this.d!==3,Wr=this.v;Wr.v[0][0]=Or,Wr.v[0][1]=Gr-Kr,Wr.v[1][0]=ts?Or+Lr:Or-Lr,Wr.v[1][1]=Gr,Wr.v[2][0]=Or,Wr.v[2][1]=Gr+Kr,Wr.v[3][0]=ts?Or-Lr:Or+Lr,Wr.v[3][1]=Gr,Wr.i[0][0]=ts?Or-Lr*Xr:Or+Lr*Xr,Wr.i[0][1]=Gr-Kr,Wr.i[1][0]=ts?Or+Lr:Or-Lr,Wr.i[1][1]=Gr-Kr*Xr,Wr.i[2][0]=ts?Or+Lr*Xr:Or-Lr*Xr,Wr.i[2][1]=Gr+Kr,Wr.i[3][0]=ts?Or-Lr:Or+Lr,Wr.i[3][1]=Gr+Kr*Xr,Wr.o[0][0]=ts?Or+Lr*Xr:Or-Lr*Xr,Wr.o[0][1]=Gr-Kr,Wr.o[1][0]=ts?Or+Lr:Or-Lr,Wr.o[1][1]=Gr+Kr*Xr,Wr.o[2][0]=ts?Or-Lr*Xr:Or+Lr*Xr,Wr.o[2][1]=Gr+Kr,Wr.o[3][0]=ts?Or-Lr:Or+Lr,Wr.o[3][1]=Gr-Kr*Xr}},nr([Ia],Nr),Nr}(),kr=function(){function Xr(Nr,Or){this.v=Ga.newElement(),this.v.setPathData(!0,0),this.elem=Nr,this.comp=Nr.comp,this.data=Or,this.frameId=-1,this.d=Or.d,this.initDynamicPropertyContainer(Nr),Or.sy===1?(this.ir=Ws.getProp(Nr,Or.ir,0,0,this),this.is=Ws.getProp(Nr,Or.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=Ws.getProp(Nr,Or.pt,0,0,this),this.p=Ws.getProp(Nr,Or.p,1,0,this),this.r=Ws.getProp(Nr,Or.r,0,hs,this),this.or=Ws.getProp(Nr,Or.or,0,0,this),this.os=Ws.getProp(Nr,Or.os,0,.01,this),this.localShapeCollection=Pa.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return Xr.prototype={reset:Dr,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var Nr=Math.floor(this.pt.v)*2,Or=Math.PI*2/Nr,Gr=!0,Lr=this.or.v,Kr=this.ir.v,ts=this.os.v,Wr=this.is.v,as=2*Math.PI*Lr/(Nr*2),ls=2*Math.PI*Kr/(Nr*2),ds,ws,Fs,Cs,zs=-Math.PI/2;zs+=this.r.v;var ms=this.data.d===3?-1:1;for(this.v._length=0,ds=0;ds<Nr;ds+=1){ws=Gr?Lr:Kr,Fs=Gr?ts:Wr,Cs=Gr?as:ls;var bs=ws*Math.cos(zs),rs=ws*Math.sin(zs),Ps=bs===0&&rs===0?0:rs/Math.sqrt(bs*bs+rs*rs),As=bs===0&&rs===0?0:-bs/Math.sqrt(bs*bs+rs*rs);bs+=+this.p.v[0],rs+=+this.p.v[1],this.v.setTripleAt(bs,rs,bs-Ps*Cs*Fs*ms,rs-As*Cs*Fs*ms,bs+Ps*Cs*Fs*ms,rs+As*Cs*Fs*ms,ds,!0),Gr=!Gr,zs+=Or*ms}},convertPolygonToPath:function(){var Nr=Math.floor(this.pt.v),Or=Math.PI*2/Nr,Gr=this.or.v,Lr=this.os.v,Kr=2*Math.PI*Gr/(Nr*4),ts,Wr=-Math.PI*.5,as=this.data.d===3?-1:1;for(Wr+=this.r.v,this.v._length=0,ts=0;ts<Nr;ts+=1){var ls=Gr*Math.cos(Wr),ds=Gr*Math.sin(Wr),ws=ls===0&&ds===0?0:ds/Math.sqrt(ls*ls+ds*ds),Fs=ls===0&&ds===0?0:-ls/Math.sqrt(ls*ls+ds*ds);ls+=+this.p.v[0],ds+=+this.p.v[1],this.v.setTripleAt(ls,ds,ls-ws*Kr*Lr*as,ds-Fs*Kr*Lr*as,ls+ws*Kr*Lr*as,ds+Fs*Kr*Lr*as,ts,!0),Wr+=Or*as}this.paths.length=0,this.paths[0]=this.v}},nr([Ia],Xr),Xr}(),Br=function(){function Xr(Nr,Or){this.v=Ga.newElement(),this.v.c=!0,this.localShapeCollection=Pa.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Nr,this.comp=Nr.comp,this.frameId=-1,this.d=Or.d,this.initDynamicPropertyContainer(Nr),this.p=Ws.getProp(Nr,Or.p,1,0,this),this.s=Ws.getProp(Nr,Or.s,1,0,this),this.r=Ws.getProp(Nr,Or.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return Xr.prototype={convertRectToPath:function(){var Nr=this.p.v[0],Or=this.p.v[1],Gr=this.s.v[0]/2,Lr=this.s.v[1]/2,Kr=$r(Gr,Lr,this.r.v),ts=Kr*(1-ps);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Nr+Gr,Or-Lr+Kr,Nr+Gr,Or-Lr+Kr,Nr+Gr,Or-Lr+ts,0,!0),this.v.setTripleAt(Nr+Gr,Or+Lr-Kr,Nr+Gr,Or+Lr-ts,Nr+Gr,Or+Lr-Kr,1,!0),Kr!==0?(this.v.setTripleAt(Nr+Gr-Kr,Or+Lr,Nr+Gr-Kr,Or+Lr,Nr+Gr-ts,Or+Lr,2,!0),this.v.setTripleAt(Nr-Gr+Kr,Or+Lr,Nr-Gr+ts,Or+Lr,Nr-Gr+Kr,Or+Lr,3,!0),this.v.setTripleAt(Nr-Gr,Or+Lr-Kr,Nr-Gr,Or+Lr-Kr,Nr-Gr,Or+Lr-ts,4,!0),this.v.setTripleAt(Nr-Gr,Or-Lr+Kr,Nr-Gr,Or-Lr+ts,Nr-Gr,Or-Lr+Kr,5,!0),this.v.setTripleAt(Nr-Gr+Kr,Or-Lr,Nr-Gr+Kr,Or-Lr,Nr-Gr+ts,Or-Lr,6,!0),this.v.setTripleAt(Nr+Gr-Kr,Or-Lr,Nr+Gr-ts,Or-Lr,Nr+Gr-Kr,Or-Lr,7,!0)):(this.v.setTripleAt(Nr-Gr,Or+Lr,Nr-Gr+ts,Or+Lr,Nr-Gr,Or+Lr,2),this.v.setTripleAt(Nr-Gr,Or-Lr,Nr-Gr,Or-Lr+ts,Nr-Gr,Or-Lr,3))):(this.v.setTripleAt(Nr+Gr,Or-Lr+Kr,Nr+Gr,Or-Lr+ts,Nr+Gr,Or-Lr+Kr,0,!0),Kr!==0?(this.v.setTripleAt(Nr+Gr-Kr,Or-Lr,Nr+Gr-Kr,Or-Lr,Nr+Gr-ts,Or-Lr,1,!0),this.v.setTripleAt(Nr-Gr+Kr,Or-Lr,Nr-Gr+ts,Or-Lr,Nr-Gr+Kr,Or-Lr,2,!0),this.v.setTripleAt(Nr-Gr,Or-Lr+Kr,Nr-Gr,Or-Lr+Kr,Nr-Gr,Or-Lr+ts,3,!0),this.v.setTripleAt(Nr-Gr,Or+Lr-Kr,Nr-Gr,Or+Lr-ts,Nr-Gr,Or+Lr-Kr,4,!0),this.v.setTripleAt(Nr-Gr+Kr,Or+Lr,Nr-Gr+Kr,Or+Lr,Nr-Gr+ts,Or+Lr,5,!0),this.v.setTripleAt(Nr+Gr-Kr,Or+Lr,Nr+Gr-ts,Or+Lr,Nr+Gr-Kr,Or+Lr,6,!0),this.v.setTripleAt(Nr+Gr,Or+Lr-Kr,Nr+Gr,Or+Lr-Kr,Nr+Gr,Or+Lr-ts,7,!0)):(this.v.setTripleAt(Nr-Gr,Or-Lr,Nr-Gr+ts,Or-Lr,Nr-Gr,Or-Lr,1,!0),this.v.setTripleAt(Nr-Gr,Or+Lr,Nr-Gr,Or+Lr-ts,Nr-Gr,Or+Lr,2,!0),this.v.setTripleAt(Nr+Gr,Or+Lr,Nr+Gr-ts,Or+Lr,Nr+Gr,Or+Lr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:Dr},nr([Ia],Xr),Xr}();function Yr(Xr,Nr,Or){var Gr;if(Or===3||Or===4){var Lr=Or===3?Nr.pt:Nr.ks,Kr=Lr.k;Kr.length?Gr=new Sr(Xr,Nr,Or):Gr=new lr(Xr,Nr,Or)}else Or===5?Gr=new Br(Xr,Nr):Or===6?Gr=new wr(Xr,Nr):Or===7&&(Gr=new kr(Xr,Nr));return Gr.k&&Xr.addDynamicProperty(Gr),Gr}function Hr(){return lr}function Zr(){return Sr}var ss={};return ss.getShapeProp=Yr,ss.getConstructorFunction=Hr,ss.getKeyframedConstructorFunction=Zr,ss}(),Zs=function(){var hr=Math.cos,_r=Math.sin,xr=Math.tan,Dr=Math.round;function Vr(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Fr(rs){if(rs===0)return this;var Ps=hr(rs),As=_r(rs);return this._t(Ps,-As,0,0,As,Ps,0,0,0,0,1,0,0,0,0,1)}function er(rs){if(rs===0)return this;var Ps=hr(rs),As=_r(rs);return this._t(1,0,0,0,0,Ps,-As,0,0,As,Ps,0,0,0,0,1)}function lr(rs){if(rs===0)return this;var Ps=hr(rs),As=_r(rs);return this._t(Ps,0,As,0,0,1,0,0,-As,0,Ps,0,0,0,0,1)}function mr(rs){if(rs===0)return this;var Ps=hr(rs),As=_r(rs);return this._t(Ps,-As,0,0,As,Ps,0,0,0,0,1,0,0,0,0,1)}function Sr(rs,Ps){return this._t(1,Ps,rs,1,0,0)}function wr(rs,Ps){return this.shear(xr(rs),xr(Ps))}function kr(rs,Ps){var As=hr(Ps),vs=_r(Ps);return this._t(As,vs,0,0,-vs,As,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,xr(rs),1,0,0,0,0,1,0,0,0,0,1)._t(As,-vs,0,0,vs,As,0,0,0,0,1,0,0,0,0,1)}function Br(rs,Ps,As){return!As&&As!==0&&(As=1),rs===1&&Ps===1&&As===1?this:this._t(rs,0,0,0,0,Ps,0,0,0,0,As,0,0,0,0,1)}function Yr(rs,Ps,As,vs,gs,_s,ns,Es,Os,Is,Ks,Js,ha,ea,Aa,oa){return this.props[0]=rs,this.props[1]=Ps,this.props[2]=As,this.props[3]=vs,this.props[4]=gs,this.props[5]=_s,this.props[6]=ns,this.props[7]=Es,this.props[8]=Os,this.props[9]=Is,this.props[10]=Ks,this.props[11]=Js,this.props[12]=ha,this.props[13]=ea,this.props[14]=Aa,this.props[15]=oa,this}function Hr(rs,Ps,As){return As=As||0,rs!==0||Ps!==0||As!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,rs,Ps,As,1):this}function Zr(rs,Ps,As,vs,gs,_s,ns,Es,Os,Is,Ks,Js,ha,ea,Aa,oa){var Xs=this.props;if(rs===1&&Ps===0&&As===0&&vs===0&&gs===0&&_s===1&&ns===0&&Es===0&&Os===0&&Is===0&&Ks===1&&Js===0)return Xs[12]=Xs[12]*rs+Xs[15]*ha,Xs[13]=Xs[13]*_s+Xs[15]*ea,Xs[14]=Xs[14]*Ks+Xs[15]*Aa,Xs[15]*=oa,this._identityCalculated=!1,this;var Pn=Xs[0],Ua=Xs[1],Oa=Xs[2],An=Xs[3],Ma=Xs[4],ia=Xs[5],Cn=Xs[6],Jn=Xs[7],qn=Xs[8],Mn=Xs[9],Hn=Xs[10],Vn=Xs[11],Dn=Xs[12],Po=Xs[13],xo=Xs[14],eo=Xs[15];return Xs[0]=Pn*rs+Ua*gs+Oa*Os+An*ha,Xs[1]=Pn*Ps+Ua*_s+Oa*Is+An*ea,Xs[2]=Pn*As+Ua*ns+Oa*Ks+An*Aa,Xs[3]=Pn*vs+Ua*Es+Oa*Js+An*oa,Xs[4]=Ma*rs+ia*gs+Cn*Os+Jn*ha,Xs[5]=Ma*Ps+ia*_s+Cn*Is+Jn*ea,Xs[6]=Ma*As+ia*ns+Cn*Ks+Jn*Aa,Xs[7]=Ma*vs+ia*Es+Cn*Js+Jn*oa,Xs[8]=qn*rs+Mn*gs+Hn*Os+Vn*ha,Xs[9]=qn*Ps+Mn*_s+Hn*Is+Vn*ea,Xs[10]=qn*As+Mn*ns+Hn*Ks+Vn*Aa,Xs[11]=qn*vs+Mn*Es+Hn*Js+Vn*oa,Xs[12]=Dn*rs+Po*gs+xo*Os+eo*ha,Xs[13]=Dn*Ps+Po*_s+xo*Is+eo*ea,Xs[14]=Dn*As+Po*ns+xo*Ks+eo*Aa,Xs[15]=Dn*vs+Po*Es+xo*Js+eo*oa,this._identityCalculated=!1,this}function ss(rs){var Ps=rs.props;return this.transform(Ps[0],Ps[1],Ps[2],Ps[3],Ps[4],Ps[5],Ps[6],Ps[7],Ps[8],Ps[9],Ps[10],Ps[11],Ps[12],Ps[13],Ps[14],Ps[15])}function Xr(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function Nr(rs){for(var Ps=0;Ps<16;){if(rs.props[Ps]!==this.props[Ps])return!1;Ps+=1}return!0}function Or(rs){var Ps;for(Ps=0;Ps<16;Ps+=1)rs.props[Ps]=this.props[Ps];return rs}function Gr(rs){var Ps;for(Ps=0;Ps<16;Ps+=1)this.props[Ps]=rs[Ps]}function Lr(rs,Ps,As){return{x:rs*this.props[0]+Ps*this.props[4]+As*this.props[8]+this.props[12],y:rs*this.props[1]+Ps*this.props[5]+As*this.props[9]+this.props[13],z:rs*this.props[2]+Ps*this.props[6]+As*this.props[10]+this.props[14]}}function Kr(rs,Ps,As){return rs*this.props[0]+Ps*this.props[4]+As*this.props[8]+this.props[12]}function ts(rs,Ps,As){return rs*this.props[1]+Ps*this.props[5]+As*this.props[9]+this.props[13]}function Wr(rs,Ps,As){return rs*this.props[2]+Ps*this.props[6]+As*this.props[10]+this.props[14]}function as(){var rs=this.props[0]*this.props[5]-this.props[1]*this.props[4],Ps=this.props[5]/rs,As=-this.props[1]/rs,vs=-this.props[4]/rs,gs=this.props[0]/rs,_s=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/rs,ns=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/rs,Es=new Zs;return Es.props[0]=Ps,Es.props[1]=As,Es.props[4]=vs,Es.props[5]=gs,Es.props[12]=_s,Es.props[13]=ns,Es}function ls(rs){var Ps=this.getInverseMatrix();return Ps.applyToPointArray(rs[0],rs[1],rs[2]||0)}function ds(rs){var Ps,As=rs.length,vs=[];for(Ps=0;Ps<As;Ps+=1)vs[Ps]=ls(rs[Ps]);return vs}function ws(rs,Ps,As){var vs=cr("float32",6);if(this.isIdentity())vs[0]=rs[0],vs[1]=rs[1],vs[2]=Ps[0],vs[3]=Ps[1],vs[4]=As[0],vs[5]=As[1];else{var gs=this.props[0],_s=this.props[1],ns=this.props[4],Es=this.props[5],Os=this.props[12],Is=this.props[13];vs[0]=rs[0]*gs+rs[1]*ns+Os,vs[1]=rs[0]*_s+rs[1]*Es+Is,vs[2]=Ps[0]*gs+Ps[1]*ns+Os,vs[3]=Ps[0]*_s+Ps[1]*Es+Is,vs[4]=As[0]*gs+As[1]*ns+Os,vs[5]=As[0]*_s+As[1]*Es+Is}return vs}function Fs(rs,Ps,As){var vs;return this.isIdentity()?vs=[rs,Ps,As]:vs=[rs*this.props[0]+Ps*this.props[4]+As*this.props[8]+this.props[12],rs*this.props[1]+Ps*this.props[5]+As*this.props[9]+this.props[13],rs*this.props[2]+Ps*this.props[6]+As*this.props[10]+this.props[14]],vs}function Cs(rs,Ps){if(this.isIdentity())return rs+","+Ps;var As=this.props;return Math.round((rs*As[0]+Ps*As[4]+As[12])*100)/100+","+Math.round((rs*As[1]+Ps*As[5]+As[13])*100)/100}function zs(){for(var rs=0,Ps=this.props,As="matrix3d(",vs=1e4;rs<16;)As+=Dr(Ps[rs]*vs)/vs,As+=rs===15?")":",",rs+=1;return As}function ms(rs){var Ps=1e4;return rs<1e-6&&rs>0||rs>-1e-6&&rs<0?Dr(rs*Ps)/Ps:rs}function bs(){var rs=this.props,Ps=ms(rs[0]),As=ms(rs[1]),vs=ms(rs[4]),gs=ms(rs[5]),_s=ms(rs[12]),ns=ms(rs[13]);return"matrix("+Ps+","+As+","+vs+","+gs+","+_s+","+ns+")"}return function(){this.reset=Vr,this.rotate=Fr,this.rotateX=er,this.rotateY=lr,this.rotateZ=mr,this.skew=wr,this.skewFromAxis=kr,this.shear=Sr,this.scale=Br,this.setTransform=Yr,this.translate=Hr,this.transform=Zr,this.multiply=ss,this.applyToPoint=Lr,this.applyToX=Kr,this.applyToY=ts,this.applyToZ=Wr,this.applyToPointArray=Fs,this.applyToTriplePoints=ws,this.applyToPointStringified=Cs,this.toCSS=zs,this.to2dCSS=bs,this.clone=Or,this.cloneFromProps=Gr,this.equals=Nr,this.inversePoints=ds,this.inversePoint=ls,this.getInverseMatrix=as,this._t=this.transform,this.isIdentity=Xr,this._identity=!0,this._identityCalculated=!1,this.props=cr("float32",16),this.reset()}}();function Jo(hr){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Jo=function(_r){return typeof _r}:Jo=function(_r){return _r&&typeof Symbol=="function"&&_r.constructor===Symbol&&_r!==Symbol.prototype?"symbol":typeof _r},Jo(hr)}var Va={};function Dh(hr){ir(hr)}function Sh(){ta.searchAnimations()}function Fh(hr){Ys(hr)}function Ih(hr){sa(hr)}function Lh(hr){return ta.loadAnimation(hr)}function Vh(hr){if(typeof hr=="string")switch(hr){case"high":ra(200);break;default:case"medium":ra(50);break;case"low":ra(10);break}else!isNaN(hr)&&hr>1&&ra(hr)}function Rh(){return typeof navigator<"u"}function Bh(hr,_r){hr==="expressions"&&Qs(_r)}function Oh(hr){switch(hr){case"propertyFactory":return Ws;case"shapePropertyFactory":return lo;case"matrix":return Zs;default:return null}}Va.play=ta.play,Va.pause=ta.pause,Va.setLocationHref=Dh,Va.togglePause=ta.togglePause,Va.setSpeed=ta.setSpeed,Va.setDirection=ta.setDirection,Va.stop=ta.stop,Va.searchAnimations=Sh,Va.registerAnimation=ta.registerAnimation,Va.loadAnimation=Lh,Va.setSubframeRendering=Fh,Va.resize=ta.resize,Va.goToAndStop=ta.goToAndStop,Va.destroy=ta.destroy,Va.setQuality=Vh,Va.inBrowser=Rh,Va.installPlugin=Bh,Va.freeze=ta.freeze,Va.unfreeze=ta.unfreeze,Va.setVolume=ta.setVolume,Va.mute=ta.mute,Va.unmute=ta.unmute,Va.getRegisteredAnimations=ta.getRegisteredAnimations,Va.useWebWorker=tr,Va.setIDPrefix=Ih,Va.__getFactory=Oh,Va.version="5.12.2";function uh(){document.readyState==="complete"&&(clearInterval(Xa),Sh())}function ch(hr){for(var _r=Eh.split("&"),xr=0;xr<_r.length;xr+=1){var Dr=_r[xr].split("=");if(decodeURIComponent(Dr[0])==hr)return decodeURIComponent(Dr[1])}return null}var Eh="";{var Zo=document.getElementsByTagName("script"),zh=Zo.length-1,kn=Zo[zh]||{src:""};Eh=kn.src?kn.src.replace(/^[^\?]+\??/,""):"",ch("renderer")}var Xa=setInterval(uh,100);try{!((typeof t>"u"?"undefined":Jo(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=Va)}catch{}var Ba=function(){var hr={},_r={};hr.registerModifier=xr,hr.getModifier=Dr;function xr(Vr,Fr){_r[Vr]||(_r[Vr]=Fr)}function Dr(Vr,Fr,er){return new _r[Vr](Fr,er)}return hr}();function Sn(){}Sn.prototype.initModifierProperties=function(){},Sn.prototype.addShapeToModifier=function(){},Sn.prototype.addShape=function(hr){if(!this.closed){hr.sh.container.addDynamicProperty(hr.sh);var _r={shape:hr.sh,data:hr,localShapeCollection:Pa.newShapeCollection()};this.shapes.push(_r),this.addShapeToModifier(_r),this._isAnimated&&hr.setAsAnimated()}},Sn.prototype.init=function(hr,_r){this.shapes=[],this.elem=hr,this.initDynamicPropertyContainer(hr),this.initModifierProperties(hr,_r),this.frameId=Zt,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Sn.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},nr([Ia],Sn);function Rn(){}nr([Sn],Rn),Rn.prototype.initModifierProperties=function(hr,_r){this.s=Ws.getProp(hr,_r.s,0,.01,this),this.e=Ws.getProp(hr,_r.e,0,.01,this),this.o=Ws.getProp(hr,_r.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=_r.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},Rn.prototype.addShapeToModifier=function(hr){hr.pathsData=[]},Rn.prototype.calculateShapeEdges=function(hr,_r,xr,Dr,Vr){var Fr=[];_r<=1?Fr.push({s:hr,e:_r}):hr>=1?Fr.push({s:hr-1,e:_r-1}):(Fr.push({s:hr,e:1}),Fr.push({s:0,e:_r-1}));var er=[],lr,mr=Fr.length,Sr;for(lr=0;lr<mr;lr+=1)if(Sr=Fr[lr],!(Sr.e*Vr<Dr||Sr.s*Vr>Dr+xr)){var wr,kr;Sr.s*Vr<=Dr?wr=0:wr=(Sr.s*Vr-Dr)/xr,Sr.e*Vr>=Dr+xr?kr=1:kr=(Sr.e*Vr-Dr)/xr,er.push([wr,kr])}return er.length||er.push([0,0]),er},Rn.prototype.releasePathsData=function(hr){var _r,xr=hr.length;for(_r=0;_r<xr;_r+=1)xn.release(hr[_r]);return hr.length=0,hr},Rn.prototype.processShapes=function(hr){var _r,xr;if(this._mdf||hr){var Dr=this.o.v%360/360;if(Dr<0&&(Dr+=1),this.s.v>1?_r=1+Dr:this.s.v<0?_r=0+Dr:_r=this.s.v+Dr,this.e.v>1?xr=1+Dr:this.e.v<0?xr=0+Dr:xr=this.e.v+Dr,_r>xr){var Vr=_r;_r=xr,xr=Vr}_r=Math.round(_r*1e4)*1e-4,xr=Math.round(xr*1e4)*1e-4,this.sValue=_r,this.eValue=xr}else _r=this.sValue,xr=this.eValue;var Fr,er,lr=this.shapes.length,mr,Sr,wr,kr,Br,Yr=0;if(xr===_r)for(er=0;er<lr;er+=1)this.shapes[er].localShapeCollection.releaseShapes(),this.shapes[er].shape._mdf=!0,this.shapes[er].shape.paths=this.shapes[er].localShapeCollection,this._mdf&&(this.shapes[er].pathsData.length=0);else if(xr===1&&_r===0||xr===0&&_r===1){if(this._mdf)for(er=0;er<lr;er+=1)this.shapes[er].pathsData.length=0,this.shapes[er].shape._mdf=!0}else{var Hr=[],Zr,ss;for(er=0;er<lr;er+=1)if(Zr=this.shapes[er],!Zr.shape._mdf&&!this._mdf&&!hr&&this.m!==2)Zr.shape.paths=Zr.localShapeCollection;else{if(Fr=Zr.shape.paths,Sr=Fr._length,Br=0,!Zr.shape._mdf&&Zr.pathsData.length)Br=Zr.totalShapeLength;else{for(wr=this.releasePathsData(Zr.pathsData),mr=0;mr<Sr;mr+=1)kr=Zn.getSegmentsLength(Fr.shapes[mr]),wr.push(kr),Br+=kr.totalLength;Zr.totalShapeLength=Br,Zr.pathsData=wr}Yr+=Br,Zr.shape._mdf=!0}var Xr=_r,Nr=xr,Or=0,Gr;for(er=lr-1;er>=0;er-=1)if(Zr=this.shapes[er],Zr.shape._mdf){for(ss=Zr.localShapeCollection,ss.releaseShapes(),this.m===2&&lr>1?(Gr=this.calculateShapeEdges(_r,xr,Zr.totalShapeLength,Or,Yr),Or+=Zr.totalShapeLength):Gr=[[Xr,Nr]],Sr=Gr.length,mr=0;mr<Sr;mr+=1){Xr=Gr[mr][0],Nr=Gr[mr][1],Hr.length=0,Nr<=1?Hr.push({s:Zr.totalShapeLength*Xr,e:Zr.totalShapeLength*Nr}):Xr>=1?Hr.push({s:Zr.totalShapeLength*(Xr-1),e:Zr.totalShapeLength*(Nr-1)}):(Hr.push({s:Zr.totalShapeLength*Xr,e:Zr.totalShapeLength}),Hr.push({s:0,e:Zr.totalShapeLength*(Nr-1)}));var Lr=this.addShapes(Zr,Hr[0]);if(Hr[0].s!==Hr[0].e){if(Hr.length>1){var Kr=Zr.shape.paths.shapes[Zr.shape.paths._length-1];if(Kr.c){var ts=Lr.pop();this.addPaths(Lr,ss),Lr=this.addShapes(Zr,Hr[1],ts)}else this.addPaths(Lr,ss),Lr=this.addShapes(Zr,Hr[1])}this.addPaths(Lr,ss)}}Zr.shape.paths=ss}}},Rn.prototype.addPaths=function(hr,_r){var xr,Dr=hr.length;for(xr=0;xr<Dr;xr+=1)_r.addShape(hr[xr])},Rn.prototype.addSegment=function(hr,_r,xr,Dr,Vr,Fr,er){Vr.setXYAt(_r[0],_r[1],"o",Fr),Vr.setXYAt(xr[0],xr[1],"i",Fr+1),er&&Vr.setXYAt(hr[0],hr[1],"v",Fr),Vr.setXYAt(Dr[0],Dr[1],"v",Fr+1)},Rn.prototype.addSegmentFromArray=function(hr,_r,xr,Dr){_r.setXYAt(hr[1],hr[5],"o",xr),_r.setXYAt(hr[2],hr[6],"i",xr+1),Dr&&_r.setXYAt(hr[0],hr[4],"v",xr),_r.setXYAt(hr[3],hr[7],"v",xr+1)},Rn.prototype.addShapes=function(hr,_r,xr){var Dr=hr.pathsData,Vr=hr.shape.paths.shapes,Fr,er=hr.shape.paths._length,lr,mr,Sr=0,wr,kr,Br,Yr,Hr=[],Zr,ss=!0;for(xr?(kr=xr._length,Zr=xr._length):(xr=Ga.newElement(),kr=0,Zr=0),Hr.push(xr),Fr=0;Fr<er;Fr+=1){for(Br=Dr[Fr].lengths,xr.c=Vr[Fr].c,mr=Vr[Fr].c?Br.length:Br.length+1,lr=1;lr<mr;lr+=1)if(wr=Br[lr-1],Sr+wr.addedLength<_r.s)Sr+=wr.addedLength,xr.c=!1;else if(Sr>_r.e){xr.c=!1;break}else _r.s<=Sr&&_r.e>=Sr+wr.addedLength?(this.addSegment(Vr[Fr].v[lr-1],Vr[Fr].o[lr-1],Vr[Fr].i[lr],Vr[Fr].v[lr],xr,kr,ss),ss=!1):(Yr=Zn.getNewSegment(Vr[Fr].v[lr-1],Vr[Fr].v[lr],Vr[Fr].o[lr-1],Vr[Fr].i[lr],(_r.s-Sr)/wr.addedLength,(_r.e-Sr)/wr.addedLength,Br[lr-1]),this.addSegmentFromArray(Yr,xr,kr,ss),ss=!1,xr.c=!1),Sr+=wr.addedLength,kr+=1;if(Vr[Fr].c&&Br.length){if(wr=Br[lr-1],Sr<=_r.e){var Xr=Br[lr-1].addedLength;_r.s<=Sr&&_r.e>=Sr+Xr?(this.addSegment(Vr[Fr].v[lr-1],Vr[Fr].o[lr-1],Vr[Fr].i[0],Vr[Fr].v[0],xr,kr,ss),ss=!1):(Yr=Zn.getNewSegment(Vr[Fr].v[lr-1],Vr[Fr].v[0],Vr[Fr].o[lr-1],Vr[Fr].i[0],(_r.s-Sr)/Xr,(_r.e-Sr)/Xr,Br[lr-1]),this.addSegmentFromArray(Yr,xr,kr,ss),ss=!1,xr.c=!1)}else xr.c=!1;Sr+=wr.addedLength,kr+=1}if(xr._length&&(xr.setXYAt(xr.v[Zr][0],xr.v[Zr][1],"i",Zr),xr.setXYAt(xr.v[xr._length-1][0],xr.v[xr._length-1][1],"o",xr._length-1)),Sr>_r.e)break;Fr<er-1&&(xr=Ga.newElement(),ss=!0,Hr.push(xr),kr=0)}return Hr};function Ja(){}nr([Sn],Ja),Ja.prototype.initModifierProperties=function(hr,_r){this.getValue=this.processKeys,this.amount=Ws.getProp(hr,_r.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},Ja.prototype.processPath=function(hr,_r){var xr=_r/100,Dr=[0,0],Vr=hr._length,Fr=0;for(Fr=0;Fr<Vr;Fr+=1)Dr[0]+=hr.v[Fr][0],Dr[1]+=hr.v[Fr][1];Dr[0]/=Vr,Dr[1]/=Vr;var er=Ga.newElement();er.c=hr.c;var lr,mr,Sr,wr,kr,Br;for(Fr=0;Fr<Vr;Fr+=1)lr=hr.v[Fr][0]+(Dr[0]-hr.v[Fr][0])*xr,mr=hr.v[Fr][1]+(Dr[1]-hr.v[Fr][1])*xr,Sr=hr.o[Fr][0]+(Dr[0]-hr.o[Fr][0])*-xr,wr=hr.o[Fr][1]+(Dr[1]-hr.o[Fr][1])*-xr,kr=hr.i[Fr][0]+(Dr[0]-hr.i[Fr][0])*-xr,Br=hr.i[Fr][1]+(Dr[1]-hr.i[Fr][1])*-xr,er.setTripleAt(lr,mr,Sr,wr,kr,Br,Fr);return er},Ja.prototype.processShapes=function(hr){var _r,xr,Dr=this.shapes.length,Vr,Fr,er=this.amount.v;if(er!==0){var lr,mr;for(xr=0;xr<Dr;xr+=1){if(lr=this.shapes[xr],mr=lr.localShapeCollection,!(!lr.shape._mdf&&!this._mdf&&!hr))for(mr.releaseShapes(),lr.shape._mdf=!0,_r=lr.shape.paths.shapes,Fr=lr.shape.paths._length,Vr=0;Vr<Fr;Vr+=1)mr.addShape(this.processPath(_r[Vr],er));lr.shape.paths=lr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var ro=function(){var hr=[0,0];function _r(mr){var Sr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||Sr,this.a&&mr.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&mr.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&mr.skewFromAxis(-this.sk.v,this.sa.v),this.r?mr.rotate(-this.r.v):mr.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.data.p.s?this.data.p.z?mr.translate(this.px.v,this.py.v,-this.pz.v):mr.translate(this.px.v,this.py.v,0):mr.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function xr(mr){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||mr){var Sr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var wr,kr;if(Sr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(wr=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/Sr,0),kr=this.p.getValueAtTime(this.p.keyframes[0].t/Sr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(wr=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/Sr,0),kr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/Sr,0)):(wr=this.p.pv,kr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/Sr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){wr=[],kr=[];var Br=this.px,Yr=this.py;Br._caching.lastFrame+Br.offsetTime<=Br.keyframes[0].t?(wr[0]=Br.getValueAtTime((Br.keyframes[0].t+.01)/Sr,0),wr[1]=Yr.getValueAtTime((Yr.keyframes[0].t+.01)/Sr,0),kr[0]=Br.getValueAtTime(Br.keyframes[0].t/Sr,0),kr[1]=Yr.getValueAtTime(Yr.keyframes[0].t/Sr,0)):Br._caching.lastFrame+Br.offsetTime>=Br.keyframes[Br.keyframes.length-1].t?(wr[0]=Br.getValueAtTime(Br.keyframes[Br.keyframes.length-1].t/Sr,0),wr[1]=Yr.getValueAtTime(Yr.keyframes[Yr.keyframes.length-1].t/Sr,0),kr[0]=Br.getValueAtTime((Br.keyframes[Br.keyframes.length-1].t-.01)/Sr,0),kr[1]=Yr.getValueAtTime((Yr.keyframes[Yr.keyframes.length-1].t-.01)/Sr,0)):(wr=[Br.pv,Yr.pv],kr[0]=Br.getValueAtTime((Br._caching.lastFrame+Br.offsetTime-.01)/Sr,Br.offsetTime),kr[1]=Yr.getValueAtTime((Yr._caching.lastFrame+Yr.offsetTime-.01)/Sr,Yr.offsetTime))}else kr=hr,wr=kr;this.v.rotate(-Math.atan2(wr[1]-kr[1],wr[0]-kr[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 Dr(){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 Vr(){}function Fr(mr){this._addDynamicProperty(mr),this.elem.addDynamicProperty(mr),this._isDirty=!0}function er(mr,Sr,wr){if(this.elem=mr,this.frameId=-1,this.propType="transform",this.data=Sr,this.v=new Zs,this.pre=new Zs,this.appliedTransformations=0,this.initDynamicPropertyContainer(wr||mr),Sr.p&&Sr.p.s?(this.px=Ws.getProp(mr,Sr.p.x,0,0,this),this.py=Ws.getProp(mr,Sr.p.y,0,0,this),Sr.p.z&&(this.pz=Ws.getProp(mr,Sr.p.z,0,0,this))):this.p=Ws.getProp(mr,Sr.p||{k:[0,0,0]},1,0,this),Sr.rx){if(this.rx=Ws.getProp(mr,Sr.rx,0,hs,this),this.ry=Ws.getProp(mr,Sr.ry,0,hs,this),this.rz=Ws.getProp(mr,Sr.rz,0,hs,this),Sr.or.k[0].ti){var kr,Br=Sr.or.k.length;for(kr=0;kr<Br;kr+=1)Sr.or.k[kr].to=null,Sr.or.k[kr].ti=null}this.or=Ws.getProp(mr,Sr.or,1,hs,this),this.or.sh=!0}else this.r=Ws.getProp(mr,Sr.r||{k:0},0,hs,this);Sr.sk&&(this.sk=Ws.getProp(mr,Sr.sk,0,hs,this),this.sa=Ws.getProp(mr,Sr.sa,0,hs,this)),this.a=Ws.getProp(mr,Sr.a||{k:[0,0,0]},1,0,this),this.s=Ws.getProp(mr,Sr.s||{k:[100,100,100]},1,.01,this),Sr.o?this.o=Ws.getProp(mr,Sr.o,0,.01,mr):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}er.prototype={applyToMatrix:_r,getValue:xr,precalculateMatrix:Dr,autoOrient:Vr},nr([Ia],er),er.prototype.addDynamicProperty=Fr,er.prototype._addDynamicProperty=Ia.prototype.addDynamicProperty;function lr(mr,Sr,wr){return new er(mr,Sr,wr)}return{getTransformProperty:lr}}();function Bn(){}nr([Sn],Bn),Bn.prototype.initModifierProperties=function(hr,_r){this.getValue=this.processKeys,this.c=Ws.getProp(hr,_r.c,0,null,this),this.o=Ws.getProp(hr,_r.o,0,null,this),this.tr=ro.getTransformProperty(hr,_r.tr,this),this.so=Ws.getProp(hr,_r.tr.so,0,.01,this),this.eo=Ws.getProp(hr,_r.tr.eo,0,.01,this),this.data=_r,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Zs,this.rMatrix=new Zs,this.sMatrix=new Zs,this.tMatrix=new Zs,this.matrix=new Zs},Bn.prototype.applyTransforms=function(hr,_r,xr,Dr,Vr,Fr){var er=Fr?-1:1,lr=Dr.s.v[0]+(1-Dr.s.v[0])*(1-Vr),mr=Dr.s.v[1]+(1-Dr.s.v[1])*(1-Vr);hr.translate(Dr.p.v[0]*er*Vr,Dr.p.v[1]*er*Vr,Dr.p.v[2]),_r.translate(-Dr.a.v[0],-Dr.a.v[1],Dr.a.v[2]),_r.rotate(-Dr.r.v*er*Vr),_r.translate(Dr.a.v[0],Dr.a.v[1],Dr.a.v[2]),xr.translate(-Dr.a.v[0],-Dr.a.v[1],Dr.a.v[2]),xr.scale(Fr?1/lr:lr,Fr?1/mr:mr),xr.translate(Dr.a.v[0],Dr.a.v[1],Dr.a.v[2])},Bn.prototype.init=function(hr,_r,xr,Dr){for(this.elem=hr,this.arr=_r,this.pos=xr,this.elemsData=Dr,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(hr),this.initModifierProperties(hr,_r[xr]);xr>0;)xr-=1,this._elements.unshift(_r[xr]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},Bn.prototype.resetElements=function(hr){var _r,xr=hr.length;for(_r=0;_r<xr;_r+=1)hr[_r]._processed=!1,hr[_r].ty==="gr"&&this.resetElements(hr[_r].it)},Bn.prototype.cloneElements=function(hr){var _r=JSON.parse(JSON.stringify(hr));return this.resetElements(_r),_r},Bn.prototype.changeGroupRender=function(hr,_r){var xr,Dr=hr.length;for(xr=0;xr<Dr;xr+=1)hr[xr]._render=_r,hr[xr].ty==="gr"&&this.changeGroupRender(hr[xr].it,_r)},Bn.prototype.processShapes=function(hr){var _r,xr,Dr,Vr,Fr,er=!1;if(this._mdf||hr){var lr=Math.ceil(this.c.v);if(this._groups.length<lr){for(;this._groups.length<lr;){var mr={it:this.cloneElements(this._elements),ty:"gr"};mr.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,mr),this._groups.splice(0,0,mr),this._currentCopies+=1}this.elem.reloadShapes(),er=!0}Fr=0;var Sr;for(Dr=0;Dr<=this._groups.length-1;Dr+=1){if(Sr=Fr<lr,this._groups[Dr]._render=Sr,this.changeGroupRender(this._groups[Dr].it,Sr),!Sr){var wr=this.elemsData[Dr].it,kr=wr[wr.length-1];kr.transform.op.v!==0?(kr.transform.op._mdf=!0,kr.transform.op.v=0):kr.transform.op._mdf=!1}Fr+=1}this._currentCopies=lr;var Br=this.o.v,Yr=Br%1,Hr=Br>0?Math.floor(Br):Math.ceil(Br),Zr=this.pMatrix.props,ss=this.rMatrix.props,Xr=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var Nr=0;if(Br>0){for(;Nr<Hr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),Nr+=1;Yr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,Yr,!1),Nr+=Yr)}else if(Br<0){for(;Nr>Hr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Nr-=1;Yr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-Yr,!0),Nr-=Yr)}Dr=this.data.m===1?0:this._currentCopies-1,Vr=this.data.m===1?1:-1,Fr=this._currentCopies;for(var Or,Gr;Fr;){if(_r=this.elemsData[Dr].it,xr=_r[_r.length-1].transform.mProps.v.props,Gr=xr.length,_r[_r.length-1].transform.mProps._mdf=!0,_r[_r.length-1].transform.op._mdf=!0,_r[_r.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(Dr/(this._currentCopies-1)),Nr!==0){for((Dr!==0&&Vr===1||Dr!==this._currentCopies-1&&Vr===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(ss[0],ss[1],ss[2],ss[3],ss[4],ss[5],ss[6],ss[7],ss[8],ss[9],ss[10],ss[11],ss[12],ss[13],ss[14],ss[15]),this.matrix.transform(Xr[0],Xr[1],Xr[2],Xr[3],Xr[4],Xr[5],Xr[6],Xr[7],Xr[8],Xr[9],Xr[10],Xr[11],Xr[12],Xr[13],Xr[14],Xr[15]),this.matrix.transform(Zr[0],Zr[1],Zr[2],Zr[3],Zr[4],Zr[5],Zr[6],Zr[7],Zr[8],Zr[9],Zr[10],Zr[11],Zr[12],Zr[13],Zr[14],Zr[15]),Or=0;Or<Gr;Or+=1)xr[Or]=this.matrix.props[Or];this.matrix.reset()}else for(this.matrix.reset(),Or=0;Or<Gr;Or+=1)xr[Or]=this.matrix.props[Or];Nr+=1,Fr-=1,Dr+=Vr}}else for(Fr=this._currentCopies,Dr=0,Vr=1;Fr;)_r=this.elemsData[Dr].it,xr=_r[_r.length-1].transform.mProps.v.props,_r[_r.length-1].transform.mProps._mdf=!1,_r[_r.length-1].transform.op._mdf=!1,Fr-=1,Dr+=Vr;return er},Bn.prototype.addShape=function(){};function mo(){}nr([Sn],mo),mo.prototype.initModifierProperties=function(hr,_r){this.getValue=this.processKeys,this.rd=Ws.getProp(hr,_r.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},mo.prototype.processPath=function(hr,_r){var xr=Ga.newElement();xr.c=hr.c;var Dr,Vr=hr._length,Fr,er,lr,mr,Sr,wr,kr=0,Br,Yr,Hr,Zr,ss,Xr;for(Dr=0;Dr<Vr;Dr+=1)Fr=hr.v[Dr],lr=hr.o[Dr],er=hr.i[Dr],Fr[0]===lr[0]&&Fr[1]===lr[1]&&Fr[0]===er[0]&&Fr[1]===er[1]?(Dr===0||Dr===Vr-1)&&!hr.c?(xr.setTripleAt(Fr[0],Fr[1],lr[0],lr[1],er[0],er[1],kr),kr+=1):(Dr===0?mr=hr.v[Vr-1]:mr=hr.v[Dr-1],Sr=Math.sqrt(Math.pow(Fr[0]-mr[0],2)+Math.pow(Fr[1]-mr[1],2)),wr=Sr?Math.min(Sr/2,_r)/Sr:0,ss=Fr[0]+(mr[0]-Fr[0])*wr,Br=ss,Xr=Fr[1]-(Fr[1]-mr[1])*wr,Yr=Xr,Hr=Br-(Br-Fr[0])*ps,Zr=Yr-(Yr-Fr[1])*ps,xr.setTripleAt(Br,Yr,Hr,Zr,ss,Xr,kr),kr+=1,Dr===Vr-1?mr=hr.v[0]:mr=hr.v[Dr+1],Sr=Math.sqrt(Math.pow(Fr[0]-mr[0],2)+Math.pow(Fr[1]-mr[1],2)),wr=Sr?Math.min(Sr/2,_r)/Sr:0,Hr=Fr[0]+(mr[0]-Fr[0])*wr,Br=Hr,Zr=Fr[1]+(mr[1]-Fr[1])*wr,Yr=Zr,ss=Br-(Br-Fr[0])*ps,Xr=Yr-(Yr-Fr[1])*ps,xr.setTripleAt(Br,Yr,Hr,Zr,ss,Xr,kr),kr+=1):(xr.setTripleAt(hr.v[Dr][0],hr.v[Dr][1],hr.o[Dr][0],hr.o[Dr][1],hr.i[Dr][0],hr.i[Dr][1],kr),kr+=1);return xr},mo.prototype.processShapes=function(hr){var _r,xr,Dr=this.shapes.length,Vr,Fr,er=this.rd.v;if(er!==0){var lr,mr;for(xr=0;xr<Dr;xr+=1){if(lr=this.shapes[xr],mr=lr.localShapeCollection,!(!lr.shape._mdf&&!this._mdf&&!hr))for(mr.releaseShapes(),lr.shape._mdf=!0,_r=lr.shape.paths.shapes,Fr=lr.shape.paths._length,Vr=0;Vr<Fr;Vr+=1)mr.addShape(this.processPath(_r[Vr],er));lr.shape.paths=lr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Lo(hr,_r){return Math.abs(hr-_r)*1e5<=Math.min(Math.abs(hr),Math.abs(_r))}function Fn(hr){return Math.abs(hr)<=1e-5}function Ah(hr,_r,xr){return hr*(1-xr)+_r*xr}function po(hr,_r,xr){return[Ah(hr[0],_r[0],xr),Ah(hr[1],_r[1],xr)]}function mh(hr,_r,xr){if(hr===0)return[];var Dr=_r*_r-4*hr*xr;if(Dr<0)return[];var Vr=-_r/(2*hr);if(Dr===0)return[Vr];var Fr=Math.sqrt(Dr)/(2*hr);return[Vr-Fr,Vr+Fr]}function va(hr,_r,xr,Dr){return[-hr+3*_r-3*xr+Dr,3*hr-6*_r+3*xr,-3*hr+3*_r,hr]}function Ko(hr){return new za(hr,hr,hr,hr,!1)}function za(hr,_r,xr,Dr,Vr){Vr&&Co(hr,_r)&&(_r=po(hr,Dr,1/3)),Vr&&Co(xr,Dr)&&(xr=po(hr,Dr,2/3));var Fr=va(hr[0],_r[0],xr[0],Dr[0]),er=va(hr[1],_r[1],xr[1],Dr[1]);this.a=[Fr[0],er[0]],this.b=[Fr[1],er[1]],this.c=[Fr[2],er[2]],this.d=[Fr[3],er[3]],this.points=[hr,_r,xr,Dr]}za.prototype.point=function(hr){return[((this.a[0]*hr+this.b[0])*hr+this.c[0])*hr+this.d[0],((this.a[1]*hr+this.b[1])*hr+this.c[1])*hr+this.d[1]]},za.prototype.derivative=function(hr){return[(3*hr*this.a[0]+2*this.b[0])*hr+this.c[0],(3*hr*this.a[1]+2*this.b[1])*hr+this.c[1]]},za.prototype.tangentAngle=function(hr){var _r=this.derivative(hr);return Math.atan2(_r[1],_r[0])},za.prototype.normalAngle=function(hr){var _r=this.derivative(hr);return Math.atan2(_r[0],_r[1])},za.prototype.inflectionPoints=function(){var hr=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Fn(hr))return[];var _r=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/hr,xr=_r*_r-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/hr;if(xr<0)return[];var Dr=Math.sqrt(xr);return Fn(Dr)?Dr>0&&Dr<1?[_r]:[]:[_r-Dr,_r+Dr].filter(function(Vr){return Vr>0&&Vr<1})},za.prototype.split=function(hr){if(hr<=0)return[Ko(this.points[0]),this];if(hr>=1)return[this,Ko(this.points[this.points.length-1])];var _r=po(this.points[0],this.points[1],hr),xr=po(this.points[1],this.points[2],hr),Dr=po(this.points[2],this.points[3],hr),Vr=po(_r,xr,hr),Fr=po(xr,Dr,hr),er=po(Vr,Fr,hr);return[new za(this.points[0],_r,Vr,er,!0),new za(er,Fr,Dr,this.points[3],!0)]};function Qo(hr,_r){var xr=hr.points[0][_r],Dr=hr.points[hr.points.length-1][_r];if(xr>Dr){var Vr=Dr;Dr=xr,xr=Vr}for(var Fr=mh(3*hr.a[_r],2*hr.b[_r],hr.c[_r]),er=0;er<Fr.length;er+=1)if(Fr[er]>0&&Fr[er]<1){var lr=hr.point(Fr[er])[_r];lr<xr?xr=lr:lr>Dr&&(Dr=lr)}return{min:xr,max:Dr}}za.prototype.bounds=function(){return{x:Qo(this,0),y:Qo(this,1)}},za.prototype.boundingBox=function(){var hr=this.bounds();return{left:hr.x.min,right:hr.x.max,top:hr.y.min,bottom:hr.y.max,width:hr.x.max-hr.x.min,height:hr.y.max-hr.y.min,cx:(hr.x.max+hr.x.min)/2,cy:(hr.y.max+hr.y.min)/2}};function th(hr,_r,xr){var Dr=hr.boundingBox();return{cx:Dr.cx,cy:Dr.cy,width:Dr.width,height:Dr.height,bez:hr,t:(_r+xr)/2,t1:_r,t2:xr}}function fo(hr){var _r=hr.bez.split(.5);return[th(_r[0],hr.t1,hr.t),th(_r[1],hr.t,hr.t2)]}function No(hr,_r){return Math.abs(hr.cx-_r.cx)*2<hr.width+_r.width&&Math.abs(hr.cy-_r.cy)*2<hr.height+_r.height}function so(hr,_r,xr,Dr,Vr,Fr){if(No(hr,_r)){if(xr>=Fr||hr.width<=Dr&&hr.height<=Dr&&_r.width<=Dr&&_r.height<=Dr){Vr.push([hr.t,_r.t]);return}var er=fo(hr),lr=fo(_r);so(er[0],lr[0],xr+1,Dr,Vr,Fr),so(er[0],lr[1],xr+1,Dr,Vr,Fr),so(er[1],lr[0],xr+1,Dr,Vr,Fr),so(er[1],lr[1],xr+1,Dr,Vr,Fr)}}za.prototype.intersections=function(hr,_r,xr){_r===void 0&&(_r=2),xr===void 0&&(xr=7);var Dr=[];return so(th(this,0,1),th(hr,0,1),0,_r,Dr,xr),Dr},za.shapeSegment=function(hr,_r){var xr=(_r+1)%hr.length();return new za(hr.v[_r],hr.o[_r],hr.i[xr],hr.v[xr],!0)},za.shapeSegmentInverted=function(hr,_r){var xr=(_r+1)%hr.length();return new za(hr.v[xr],hr.i[xr],hr.o[_r],hr.v[_r],!0)};function Un(hr,_r){return[hr[1]*_r[2]-hr[2]*_r[1],hr[2]*_r[0]-hr[0]*_r[2],hr[0]*_r[1]-hr[1]*_r[0]]}function Ao(hr,_r,xr,Dr){var Vr=[hr[0],hr[1],1],Fr=[_r[0],_r[1],1],er=[xr[0],xr[1],1],lr=[Dr[0],Dr[1],1],mr=Un(Un(Vr,Fr),Un(er,lr));return Fn(mr[2])?null:[mr[0]/mr[2],mr[1]/mr[2]]}function On(hr,_r,xr){return[hr[0]+Math.cos(_r)*xr,hr[1]-Math.sin(_r)*xr]}function ao(hr,_r){return Math.hypot(hr[0]-_r[0],hr[1]-_r[1])}function Co(hr,_r){return Lo(hr[0],_r[0])&&Lo(hr[1],_r[1])}function Go(){}nr([Sn],Go),Go.prototype.initModifierProperties=function(hr,_r){this.getValue=this.processKeys,this.amplitude=Ws.getProp(hr,_r.s,0,null,this),this.frequency=Ws.getProp(hr,_r.r,0,null,this),this.pointsType=Ws.getProp(hr,_r.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function Ch(hr,_r,xr,Dr,Vr,Fr,er){var lr=xr-Math.PI/2,mr=xr+Math.PI/2,Sr=_r[0]+Math.cos(xr)*Dr*Vr,wr=_r[1]-Math.sin(xr)*Dr*Vr;hr.setTripleAt(Sr,wr,Sr+Math.cos(lr)*Fr,wr-Math.sin(lr)*Fr,Sr+Math.cos(mr)*er,wr-Math.sin(mr)*er,hr.length())}function dh(hr,_r){var xr=[_r[0]-hr[0],_r[1]-hr[1]],Dr=-Math.PI*.5,Vr=[Math.cos(Dr)*xr[0]-Math.sin(Dr)*xr[1],Math.sin(Dr)*xr[0]+Math.cos(Dr)*xr[1]];return Vr}function $h(hr,_r){var xr=_r===0?hr.length()-1:_r-1,Dr=(_r+1)%hr.length(),Vr=hr.v[xr],Fr=hr.v[Dr],er=dh(Vr,Fr);return Math.atan2(0,1)-Math.atan2(er[1],er[0])}function Vo(hr,_r,xr,Dr,Vr,Fr,er){var lr=$h(_r,xr),mr=_r.v[xr%_r._length],Sr=_r.v[xr===0?_r._length-1:xr-1],wr=_r.v[(xr+1)%_r._length],kr=Fr===2?Math.sqrt(Math.pow(mr[0]-Sr[0],2)+Math.pow(mr[1]-Sr[1],2)):0,Br=Fr===2?Math.sqrt(Math.pow(mr[0]-wr[0],2)+Math.pow(mr[1]-wr[1],2)):0;Ch(hr,_r.v[xr%_r._length],lr,er,Dr,Br/((Vr+1)*2),kr/((Vr+1)*2))}function no(hr,_r,xr,Dr,Vr,Fr){for(var er=0;er<Dr;er+=1){var lr=(er+1)/(Dr+1),mr=Vr===2?Math.sqrt(Math.pow(_r.points[3][0]-_r.points[0][0],2)+Math.pow(_r.points[3][1]-_r.points[0][1],2)):0,Sr=_r.normalAngle(lr),wr=_r.point(lr);Ch(hr,wr,Sr,Fr,xr,mr/((Dr+1)*2),mr/((Dr+1)*2)),Fr=-Fr}return Fr}Go.prototype.processPath=function(hr,_r,xr,Dr){var Vr=hr._length,Fr=Ga.newElement();if(Fr.c=hr.c,hr.c||(Vr-=1),Vr===0)return Fr;var er=-1,lr=za.shapeSegment(hr,0);Vo(Fr,hr,0,_r,xr,Dr,er);for(var mr=0;mr<Vr;mr+=1)er=no(Fr,lr,_r,xr,Dr,-er),mr===Vr-1&&!hr.c?lr=null:lr=za.shapeSegment(hr,(mr+1)%Vr),Vo(Fr,hr,mr+1,_r,xr,Dr,er);return Fr},Go.prototype.processShapes=function(hr){var _r,xr,Dr=this.shapes.length,Vr,Fr,er=this.amplitude.v,lr=Math.max(0,Math.round(this.frequency.v)),mr=this.pointsType.v;if(er!==0){var Sr,wr;for(xr=0;xr<Dr;xr+=1){if(Sr=this.shapes[xr],wr=Sr.localShapeCollection,!(!Sr.shape._mdf&&!this._mdf&&!hr))for(wr.releaseShapes(),Sr.shape._mdf=!0,_r=Sr.shape.paths.shapes,Fr=Sr.shape.paths._length,Vr=0;Vr<Fr;Vr+=1)wr.addShape(this.processPath(_r[Vr],er,lr,mr));Sr.shape.paths=Sr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function jo(hr,_r,xr){var Dr=Math.atan2(_r[0]-hr[0],_r[1]-hr[1]);return[On(hr,Dr,xr),On(_r,Dr,xr)]}function ko(hr,_r){var xr,Dr,Vr,Fr,er,lr,mr;mr=jo(hr.points[0],hr.points[1],_r),xr=mr[0],Dr=mr[1],mr=jo(hr.points[1],hr.points[2],_r),Vr=mr[0],Fr=mr[1],mr=jo(hr.points[2],hr.points[3],_r),er=mr[0],lr=mr[1];var Sr=Ao(xr,Dr,Vr,Fr);Sr===null&&(Sr=Dr);var wr=Ao(er,lr,Vr,Fr);return wr===null&&(wr=er),new za(xr,Sr,wr,lr)}function eh(hr,_r,xr,Dr,Vr){var Fr=_r.points[3],er=xr.points[0];if(Dr===3||Co(Fr,er))return Fr;if(Dr===2){var lr=-_r.tangentAngle(1),mr=-xr.tangentAngle(0)+Math.PI,Sr=Ao(Fr,On(Fr,lr+Math.PI/2,100),er,On(er,lr+Math.PI/2,100)),wr=Sr?ao(Sr,Fr):ao(Fr,er)/2,kr=On(Fr,lr,2*wr*ps);return hr.setXYAt(kr[0],kr[1],"o",hr.length()-1),kr=On(er,mr,2*wr*ps),hr.setTripleAt(er[0],er[1],er[0],er[1],kr[0],kr[1],hr.length()),er}var Br=Co(Fr,_r.points[2])?_r.points[0]:_r.points[2],Yr=Co(er,xr.points[1])?xr.points[3]:xr.points[1],Hr=Ao(Br,Fr,er,Yr);return Hr&&ao(Hr,Fr)<Vr?(hr.setTripleAt(Hr[0],Hr[1],Hr[0],Hr[1],Hr[0],Hr[1],hr.length()),Hr):Fr}function kh(hr,_r){var xr=hr.intersections(_r);return xr.length&&Lo(xr[0][0],1)&&xr.shift(),xr.length?xr[0]:null}function ih(hr,_r){var xr=hr.slice(),Dr=_r.slice(),Vr=kh(hr[hr.length-1],_r[0]);return Vr&&(xr[hr.length-1]=hr[hr.length-1].split(Vr[0])[0],Dr[0]=_r[0].split(Vr[1])[1]),hr.length>1&&_r.length>1&&(Vr=kh(hr[0],_r[_r.length-1]),Vr)?[[hr[0].split(Vr[0])[0]],[_r[_r.length-1].split(Vr[1])[1]]]:[xr,Dr]}function go(hr){for(var _r,xr=1;xr<hr.length;xr+=1)_r=ih(hr[xr-1],hr[xr]),hr[xr-1]=_r[0],hr[xr]=_r[1];return hr.length>1&&(_r=ih(hr[hr.length-1],hr[0]),hr[hr.length-1]=_r[0],hr[0]=_r[1]),hr}function rh(hr,_r){var xr=hr.inflectionPoints(),Dr,Vr,Fr,er;if(xr.length===0)return[ko(hr,_r)];if(xr.length===1||Lo(xr[1],1))return Fr=hr.split(xr[0]),Dr=Fr[0],Vr=Fr[1],[ko(Dr,_r),ko(Vr,_r)];Fr=hr.split(xr[0]),Dr=Fr[0];var lr=(xr[1]-xr[0])/(1-xr[0]);return Fr=Fr[1].split(lr),er=Fr[0],Vr=Fr[1],[ko(Dr,_r),ko(er,_r),ko(Vr,_r)]}function In(){}nr([Sn],In),In.prototype.initModifierProperties=function(hr,_r){this.getValue=this.processKeys,this.amount=Ws.getProp(hr,_r.a,0,null,this),this.miterLimit=Ws.getProp(hr,_r.ml,0,null,this),this.lineJoin=_r.lj,this._isAnimated=this.amount.effectsSequence.length!==0},In.prototype.processPath=function(hr,_r,xr,Dr){var Vr=Ga.newElement();Vr.c=hr.c;var Fr=hr.length();hr.c||(Fr-=1);var er,lr,mr,Sr=[];for(er=0;er<Fr;er+=1)mr=za.shapeSegment(hr,er),Sr.push(rh(mr,_r));if(!hr.c)for(er=Fr-1;er>=0;er-=1)mr=za.shapeSegmentInverted(hr,er),Sr.push(rh(mr,_r));Sr=go(Sr);var wr=null,kr=null;for(er=0;er<Sr.length;er+=1){var Br=Sr[er];for(kr&&(wr=eh(Vr,kr,Br[0],xr,Dr)),kr=Br[Br.length-1],lr=0;lr<Br.length;lr+=1)mr=Br[lr],wr&&Co(mr.points[0],wr)?Vr.setXYAt(mr.points[1][0],mr.points[1][1],"o",Vr.length()-1):Vr.setTripleAt(mr.points[0][0],mr.points[0][1],mr.points[1][0],mr.points[1][1],mr.points[0][0],mr.points[0][1],Vr.length()),Vr.setTripleAt(mr.points[3][0],mr.points[3][1],mr.points[3][0],mr.points[3][1],mr.points[2][0],mr.points[2][1],Vr.length()),wr=mr.points[3]}return Sr.length&&eh(Vr,kr,Sr[0][0],xr,Dr),Vr},In.prototype.processShapes=function(hr){var _r,xr,Dr=this.shapes.length,Vr,Fr,er=this.amount.v,lr=this.miterLimit.v,mr=this.lineJoin;if(er!==0){var Sr,wr;for(xr=0;xr<Dr;xr+=1){if(Sr=this.shapes[xr],wr=Sr.localShapeCollection,!(!Sr.shape._mdf&&!this._mdf&&!hr))for(wr.releaseShapes(),Sr.shape._mdf=!0,_r=Sr.shape.paths.shapes,Fr=Sr.shape.paths._length,Vr=0;Vr<Fr;Vr+=1)wr.addShape(this.processPath(_r[Vr],er,mr,lr));Sr.shape.paths=Sr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function sh(hr){for(var _r=hr.fStyle?hr.fStyle.split(" "):[],xr="normal",Dr="normal",Vr=_r.length,Fr,er=0;er<Vr;er+=1)switch(Fr=_r[er].toLowerCase(),Fr){case"italic":Dr="italic";break;case"bold":xr="700";break;case"black":xr="900";break;case"medium":xr="500";break;case"regular":case"normal":xr="400";break;case"light":case"thin":xr="200";break}return{style:Dr,weight:hr.fWeight||xr}}var wo=function(){var hr=5e3,_r={w:0,size:0,shapes:[],data:{shapes:[]}},xr=[];xr=xr.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var Dr=127988,Vr=917631,Fr=917601,er=917626,lr=65039,mr=8205,Sr=127462,wr=127487,kr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function Br(ms){var bs=ms.split(","),rs,Ps=bs.length,As=[];for(rs=0;rs<Ps;rs+=1)bs[rs]!=="sans-serif"&&bs[rs]!=="monospace"&&As.push(bs[rs]);return As.join(",")}function Yr(ms,bs){var rs=gr("span");rs.setAttribute("aria-hidden",!0),rs.style.fontFamily=bs;var Ps=gr("span");Ps.innerText="giItT1WQy@!-/#",rs.style.position="absolute",rs.style.left="-10000px",rs.style.top="-10000px",rs.style.fontSize="300px",rs.style.fontVariant="normal",rs.style.fontStyle="normal",rs.style.fontWeight="normal",rs.style.letterSpacing="0",rs.appendChild(Ps),document.body.appendChild(rs);var As=Ps.offsetWidth;return Ps.style.fontFamily=Br(ms)+", "+bs,{node:Ps,w:As,parent:rs}}function Hr(){var ms,bs=this.fonts.length,rs,Ps,As=bs;for(ms=0;ms<bs;ms+=1)this.fonts[ms].loaded?As-=1:this.fonts[ms].fOrigin==="n"||this.fonts[ms].origin===0?this.fonts[ms].loaded=!0:(rs=this.fonts[ms].monoCase.node,Ps=this.fonts[ms].monoCase.w,rs.offsetWidth!==Ps?(As-=1,this.fonts[ms].loaded=!0):(rs=this.fonts[ms].sansCase.node,Ps=this.fonts[ms].sansCase.w,rs.offsetWidth!==Ps&&(As-=1,this.fonts[ms].loaded=!0)),this.fonts[ms].loaded&&(this.fonts[ms].sansCase.parent.parentNode.removeChild(this.fonts[ms].sansCase.parent),this.fonts[ms].monoCase.parent.parentNode.removeChild(this.fonts[ms].monoCase.parent)));As!==0&&Date.now()-this.initTime<hr?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function Zr(ms,bs){var rs=document.body&&bs?"svg":"canvas",Ps,As=sh(ms);if(rs==="svg"){var vs=Rs("text");vs.style.fontSize="100px",vs.setAttribute("font-family",ms.fFamily),vs.setAttribute("font-style",As.style),vs.setAttribute("font-weight",As.weight),vs.textContent="1",ms.fClass?(vs.style.fontFamily="inherit",vs.setAttribute("class",ms.fClass)):vs.style.fontFamily=ms.fFamily,bs.appendChild(vs),Ps=vs}else{var gs=new OffscreenCanvas(500,500).getContext("2d");gs.font=As.style+" "+As.weight+" 100px "+ms.fFamily,Ps=gs}function _s(ns){return rs==="svg"?(Ps.textContent=ns,Ps.getComputedTextLength()):Ps.measureText(ns).width}return{measureText:_s}}function ss(ms,bs){if(!ms){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=ms.list;return}if(!document.body){this.isLoaded=!0,ms.list.forEach(function(Ks){Ks.helper=Zr(Ks),Ks.cache={}}),this.fonts=ms.list;return}var rs=ms.list,Ps,As=rs.length,vs=As;for(Ps=0;Ps<As;Ps+=1){var gs=!0,_s,ns;if(rs[Ps].loaded=!1,rs[Ps].monoCase=Yr(rs[Ps].fFamily,"monospace"),rs[Ps].sansCase=Yr(rs[Ps].fFamily,"sans-serif"),!rs[Ps].fPath)rs[Ps].loaded=!0,vs-=1;else if(rs[Ps].fOrigin==="p"||rs[Ps].origin===3){if(_s=document.querySelectorAll('style[f-forigin="p"][f-family="'+rs[Ps].fFamily+'"], style[f-origin="3"][f-family="'+rs[Ps].fFamily+'"]'),_s.length>0&&(gs=!1),gs){var Es=gr("style");Es.setAttribute("f-forigin",rs[Ps].fOrigin),Es.setAttribute("f-origin",rs[Ps].origin),Es.setAttribute("f-family",rs[Ps].fFamily),Es.type="text/css",Es.innerText="@font-face {font-family: "+rs[Ps].fFamily+"; font-style: normal; src: url('"+rs[Ps].fPath+"');}",bs.appendChild(Es)}}else if(rs[Ps].fOrigin==="g"||rs[Ps].origin===1){for(_s=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ns=0;ns<_s.length;ns+=1)_s[ns].href.indexOf(rs[Ps].fPath)!==-1&&(gs=!1);if(gs){var Os=gr("link");Os.setAttribute("f-forigin",rs[Ps].fOrigin),Os.setAttribute("f-origin",rs[Ps].origin),Os.type="text/css",Os.rel="stylesheet",Os.href=rs[Ps].fPath,document.body.appendChild(Os)}}else if(rs[Ps].fOrigin==="t"||rs[Ps].origin===2){for(_s=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ns=0;ns<_s.length;ns+=1)rs[Ps].fPath===_s[ns].src&&(gs=!1);if(gs){var Is=gr("link");Is.setAttribute("f-forigin",rs[Ps].fOrigin),Is.setAttribute("f-origin",rs[Ps].origin),Is.setAttribute("rel","stylesheet"),Is.setAttribute("href",rs[Ps].fPath),bs.appendChild(Is)}}rs[Ps].helper=Zr(rs[Ps],bs),rs[Ps].cache={},this.fonts.push(rs[Ps])}vs===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function Xr(ms){if(ms){this.chars||(this.chars=[]);var bs,rs=ms.length,Ps,As=this.chars.length,vs;for(bs=0;bs<rs;bs+=1){for(Ps=0,vs=!1;Ps<As;)this.chars[Ps].style===ms[bs].style&&this.chars[Ps].fFamily===ms[bs].fFamily&&this.chars[Ps].ch===ms[bs].ch&&(vs=!0),Ps+=1;vs||(this.chars.push(ms[bs]),As+=1)}}}function Nr(ms,bs,rs){for(var Ps=0,As=this.chars.length;Ps<As;){if(this.chars[Ps].ch===ms&&this.chars[Ps].style===bs&&this.chars[Ps].fFamily===rs)return this.chars[Ps];Ps+=1}return(typeof ms=="string"&&ms.charCodeAt(0)!==13||!ms)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",ms,bs,rs)),_r}function Or(ms,bs,rs){var Ps=this.getFontByName(bs),As=ms;if(!Ps.cache[As]){var vs=Ps.helper;if(ms===" "){var gs=vs.measureText("|"+ms+"|"),_s=vs.measureText("||");Ps.cache[As]=(gs-_s)/100}else Ps.cache[As]=vs.measureText(ms)/100}return Ps.cache[As]*rs}function Gr(ms){for(var bs=0,rs=this.fonts.length;bs<rs;){if(this.fonts[bs].fName===ms)return this.fonts[bs];bs+=1}return this.fonts[0]}function Lr(ms){var bs=0,rs=ms.charCodeAt(0);if(rs>=55296&&rs<=56319){var Ps=ms.charCodeAt(1);Ps>=56320&&Ps<=57343&&(bs=(rs-55296)*1024+Ps-56320+65536)}return bs}function Kr(ms,bs){var rs=ms.toString(16)+bs.toString(16);return kr.indexOf(rs)!==-1}function ts(ms){return ms===mr}function Wr(ms){return ms===lr}function as(ms){var bs=Lr(ms);return bs>=Sr&&bs<=wr}function ls(ms){return as(ms.substr(0,2))&&as(ms.substr(2,2))}function ds(ms){return xr.indexOf(ms)!==-1}function ws(ms,bs){var rs=Lr(ms.substr(bs,2));if(rs!==Dr)return!1;var Ps=0;for(bs+=2;Ps<5;){if(rs=Lr(ms.substr(bs,2)),rs<Fr||rs>er)return!1;Ps+=1,bs+=2}return Lr(ms.substr(bs,2))===Vr}function Fs(){this.isLoaded=!0}var Cs=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)};Cs.isModifier=Kr,Cs.isZeroWidthJoiner=ts,Cs.isFlagEmoji=ls,Cs.isRegionalCode=as,Cs.isCombinedCharacter=ds,Cs.isRegionalFlag=ws,Cs.isVariationSelector=Wr,Cs.BLACK_FLAG_CODE_POINT=Dr;var zs={addChars:Xr,addFonts:ss,getCharData:Nr,getFontByName:Gr,measureText:Or,checkLoadedFonts:Hr,setIsLoaded:Fs};return Cs.prototype=zs,Cs}();function Kn(hr){this.animationData=hr}Kn.prototype.getProp=function(hr){return this.animationData.slots&&this.animationData.slots[hr.sid]?Object.assign(hr,this.animationData.slots[hr.sid].p):hr};function Ro(hr){return new Kn(hr)}function Bo(){}Bo.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(hr){this.renderableComponents.indexOf(hr)===-1&&this.renderableComponents.push(hr)},removeRenderableComponent:function(hr){this.renderableComponents.indexOf(hr)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(hr),1)},prepareRenderableFrame:function(hr){this.checkLayerLimits(hr)},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(hr){this.data.ip-this.data.st<=hr&&this.data.op-this.data.st>hr?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 hr,_r=this.renderableComponents.length;for(hr=0;hr<_r;hr+=1)this.renderableComponents[hr].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var gh=function(){var hr={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(_r){return hr[_r]||""}}();function Nh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,0,0,xr)}function Gh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,0,0,xr)}function jh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,1,0,xr)}function qh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,1,0,xr)}function Hh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,0,0,xr)}function Wh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,0,0,xr)}function yh(hr,_r,xr){this.p=Ws.getProp(_r,hr.v,0,0,xr)}function yo(){this.p={}}function En(hr,_r){var xr=hr.ef||[];this.effectElements=[];var Dr,Vr=xr.length,Fr;for(Dr=0;Dr<Vr;Dr+=1)Fr=new Za(xr[Dr],_r),this.effectElements.push(Fr)}function Za(hr,_r){this.init(hr,_r)}nr([Ia],Za),Za.prototype.getValue=Za.prototype.iterateDynamicProperties,Za.prototype.init=function(hr,_r){this.data=hr,this.effectElements=[],this.initDynamicPropertyContainer(_r);var xr,Dr=this.data.ef.length,Vr,Fr=this.data.ef;for(xr=0;xr<Dr;xr+=1){switch(Vr=null,Fr[xr].ty){case 0:Vr=new Nh(Fr[xr],_r,this);break;case 1:Vr=new Gh(Fr[xr],_r,this);break;case 2:Vr=new jh(Fr[xr],_r,this);break;case 3:Vr=new qh(Fr[xr],_r,this);break;case 4:case 7:Vr=new yh(Fr[xr],_r,this);break;case 10:Vr=new Hh(Fr[xr],_r,this);break;case 11:Vr=new Wh(Fr[xr],_r,this);break;case 5:Vr=new En(Fr[xr],_r);break;default:Vr=new yo(Fr[xr]);break}Vr&&this.effectElements.push(Vr)}};function $a(){}$a.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var hr=0,_r=this.data.masksProperties.length;hr<_r;){if(this.data.masksProperties[hr].mode!=="n"&&this.data.masksProperties[hr].cl!==!1)return!0;hr+=1}return!1},initExpressions:function(){},setBlendMode:function(){var hr=gh(this.data.bm),_r=this.baseElement||this.layerElement;_r.style["mix-blend-mode"]=hr},initBaseData:function(hr,_r,xr){this.globalData=_r,this.comp=xr,this.data=hr,this.layerId=Ur(),this.data.sr||(this.data.sr=1),this.effectsManager=new En(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function xa(){}xa.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(hr,_r){var xr,Dr=this.dynamicProperties.length;for(xr=0;xr<Dr;xr+=1)(_r||this._isParent&&this.dynamicProperties[xr].propType==="transform")&&(this.dynamicProperties[xr].getValue(),this.dynamicProperties[xr]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(hr){this.dynamicProperties.indexOf(hr)===-1&&this.dynamicProperties.push(hr)}};function Sa(hr,_r,xr){this.initFrame(),this.initRenderable(),this.assetData=_r.getAssetData(hr.refId),this.footageData=_r.imageLoader.getAsset(this.assetData),this.initBaseData(hr,_r,xr)}Sa.prototype.prepareFrame=function(){},nr([Bo,$a,xa],Sa),Sa.prototype.getBaseElement=function(){return null},Sa.prototype.renderFrame=function(){},Sa.prototype.destroy=function(){},Sa.prototype.initExpressions=function(){},Sa.prototype.getFootageData=function(){return this.footageData};function zn(hr,_r,xr){this.initFrame(),this.initRenderable(),this.assetData=_r.getAssetData(hr.refId),this.initBaseData(hr,_r,xr),this._isPlaying=!1,this._canPlay=!1;var Dr=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(Dr),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=hr.tm?Ws.getProp(this,hr.tm,0,_r.frameRate,this):{_placeholder:!0},this.lv=Ws.getProp(this,hr.au&&hr.au.lv?hr.au.lv:{k:[100]},1,.01,this)}zn.prototype.prepareFrame=function(hr){if(this.prepareRenderableFrame(hr,!0),this.prepareProperties(hr,!0),this.tm._placeholder)this._currentTime=hr/this.data.sr;else{var _r=this.tm.v;this._currentTime=_r}this._volume=this.lv.v[0];var xr=this._volume*this._volumeMultiplier;this._previousVolume!==xr&&(this._previousVolume=xr,this.audio.volume(xr))},nr([Bo,$a,xa],zn),zn.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},zn.prototype.show=function(){},zn.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},zn.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},zn.prototype.resume=function(){this._canPlay=!0},zn.prototype.setRate=function(hr){this.audio.rate(hr)},zn.prototype.volume=function(hr){this._volumeMultiplier=hr,this._previousVolume=hr*this._volume,this.audio.volume(this._previousVolume)},zn.prototype.getBaseElement=function(){return null},zn.prototype.destroy=function(){},zn.prototype.sourceRectAtTime=function(){},zn.prototype.initExpressions=function(){};function La(){}La.prototype.checkLayers=function(hr){var _r,xr=this.layers.length,Dr;for(this.completeLayers=!0,_r=xr-1;_r>=0;_r-=1)this.elements[_r]||(Dr=this.layers[_r],Dr.ip-Dr.st<=hr-this.layers[_r].st&&Dr.op-Dr.st>hr-this.layers[_r].st&&this.buildItem(_r)),this.completeLayers=this.elements[_r]?this.completeLayers:!1;this.checkPendingElements()},La.prototype.createItem=function(hr){switch(hr.ty){case 2:return this.createImage(hr);case 0:return this.createComp(hr);case 1:return this.createSolid(hr);case 3:return this.createNull(hr);case 4:return this.createShape(hr);case 5:return this.createText(hr);case 6:return this.createAudio(hr);case 13:return this.createCamera(hr);case 15:return this.createFootage(hr);default:return this.createNull(hr)}},La.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},La.prototype.createAudio=function(hr){return new zn(hr,this.globalData,this)},La.prototype.createFootage=function(hr){return new Sa(hr,this.globalData,this)},La.prototype.buildAllItems=function(){var hr,_r=this.layers.length;for(hr=0;hr<_r;hr+=1)this.buildItem(hr);this.checkPendingElements()},La.prototype.includeLayers=function(hr){this.completeLayers=!1;var _r,xr=hr.length,Dr,Vr=this.layers.length;for(_r=0;_r<xr;_r+=1)for(Dr=0;Dr<Vr;){if(this.layers[Dr].id===hr[_r].id){this.layers[Dr]=hr[_r];break}Dr+=1}},La.prototype.setProjectInterface=function(hr){this.globalData.projectInterface=hr},La.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},La.prototype.buildElementParenting=function(hr,_r,xr){for(var Dr=this.elements,Vr=this.layers,Fr=0,er=Vr.length;Fr<er;)Vr[Fr].ind==_r&&(!Dr[Fr]||Dr[Fr]===!0?(this.buildItem(Fr),this.addPendingElement(hr)):(xr.push(Dr[Fr]),Dr[Fr].setAsParent(),Vr[Fr].parent!==void 0?this.buildElementParenting(hr,Vr[Fr].parent,xr):hr.setHierarchy(xr))),Fr+=1},La.prototype.addPendingElement=function(hr){this.pendingElements.push(hr)},La.prototype.searchExtraCompositions=function(hr){var _r,xr=hr.length;for(_r=0;_r<xr;_r+=1)if(hr[_r].xt){var Dr=this.createComp(hr[_r]);Dr.initExpressions(),this.globalData.projectInterface.registerComposition(Dr)}},La.prototype.getElementById=function(hr){var _r,xr=this.elements.length;for(_r=0;_r<xr;_r+=1)if(this.elements[_r].data.ind===hr)return this.elements[_r];return null},La.prototype.getElementByPath=function(hr){var _r=hr.shift(),xr;if(typeof _r=="number")xr=this.elements[_r];else{var Dr,Vr=this.elements.length;for(Dr=0;Dr<Vr;Dr+=1)if(this.elements[Dr].data.nm===_r){xr=this.elements[Dr];break}}return hr.length===0?xr:xr.getElementByPath(hr)},La.prototype.setupGlobalData=function(hr,_r){this.globalData.fontManager=new wo,this.globalData.slotManager=Ro(hr),this.globalData.fontManager.addChars(hr.chars),this.globalData.fontManager.addFonts(hr.fonts,_r),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=hr.fr,this.globalData.nm=hr.nm,this.globalData.compSize={w:hr.w,h:hr.h}};var Gn={TRANSFORM_EFFECT:"transformEFfect"};function wn(){}wn.prototype={initTransform:function(){var hr=new Zs;this.finalTransform={mProp:this.data.ks?ro.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:hr,localMat:hr,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var hr,_r=this.finalTransform.mat,xr=0,Dr=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;xr<Dr;){if(this.hierarchy[xr].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}xr+=1}if(this.finalTransform._matMdf)for(hr=this.finalTransform.mProp.v.props,_r.cloneFromProps(hr),xr=0;xr<Dr;xr+=1)_r.multiply(this.hierarchy[xr].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var hr=0,_r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;hr<_r;)this.localTransforms[hr]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[hr]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),hr+=1;if(this.finalTransform._localMatMdf){var xr=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(xr),hr=1;hr<_r;hr+=1){var Dr=this.localTransforms[hr].matrix;xr.multiply(Dr)}xr.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var Vr=this.finalTransform.localOpacity;for(hr=0;hr<_r;hr+=1)Vr*=this.localTransforms[hr].opacity*.01;this.finalTransform.localOpacity=Vr}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var hr=this.renderableEffectsManager.getEffects(Gn.TRANSFORM_EFFECT);if(hr.length){this.localTransforms=[],this.finalTransform.localMat=new Zs;var _r=0,xr=hr.length;for(_r=0;_r<xr;_r+=1)this.localTransforms.push(hr[_r])}}},globalToLocal:function(hr){var _r=[];_r.push(this.finalTransform);for(var xr=!0,Dr=this.comp;xr;)Dr.finalTransform?(Dr.data.hasMask&&_r.splice(0,0,Dr.finalTransform),Dr=Dr.comp):xr=!1;var Vr,Fr=_r.length,er;for(Vr=0;Vr<Fr;Vr+=1)er=_r[Vr].mat.applyToPointArray(0,0,0),hr=[hr[0]-er[0],hr[1]-er[1],0];return hr},mHelper:new Zs};function Qn(hr,_r,xr){this.data=hr,this.element=_r,this.globalData=xr,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var Dr=this.globalData.defs,Vr,Fr=this.masksProperties?this.masksProperties.length:0;this.viewData=ur(Fr),this.solidPath="";var er,lr=this.masksProperties,mr=0,Sr=[],wr,kr,Br=Ur(),Yr,Hr,Zr,ss,Xr="clipPath",Nr="clip-path";for(Vr=0;Vr<Fr;Vr+=1)if((lr[Vr].mode!=="a"&&lr[Vr].mode!=="n"||lr[Vr].inv||lr[Vr].o.k!==100||lr[Vr].o.x)&&(Xr="mask",Nr="mask"),(lr[Vr].mode==="s"||lr[Vr].mode==="i")&&mr===0?(Yr=Rs("rect"),Yr.setAttribute("fill","#ffffff"),Yr.setAttribute("width",this.element.comp.data.w||0),Yr.setAttribute("height",this.element.comp.data.h||0),Sr.push(Yr)):Yr=null,er=Rs("path"),lr[Vr].mode==="n")this.viewData[Vr]={op:Ws.getProp(this.element,lr[Vr].o,0,.01,this.element),prop:lo.getShapeProp(this.element,lr[Vr],3),elem:er,lastPath:""},Dr.appendChild(er);else{mr+=1,er.setAttribute("fill",lr[Vr].mode==="s"?"#000000":"#ffffff"),er.setAttribute("clip-rule","nonzero");var Or;if(lr[Vr].x.k!==0?(Xr="mask",Nr="mask",ss=Ws.getProp(this.element,lr[Vr].x,0,null,this.element),Or=Ur(),Hr=Rs("filter"),Hr.setAttribute("id",Or),Zr=Rs("feMorphology"),Zr.setAttribute("operator","erode"),Zr.setAttribute("in","SourceGraphic"),Zr.setAttribute("radius","0"),Hr.appendChild(Zr),Dr.appendChild(Hr),er.setAttribute("stroke",lr[Vr].mode==="s"?"#000000":"#ffffff")):(Zr=null,ss=null),this.storedData[Vr]={elem:er,x:ss,expan:Zr,lastPath:"",lastOperator:"",filterId:Or,lastRadius:0},lr[Vr].mode==="i"){kr=Sr.length;var Gr=Rs("g");for(wr=0;wr<kr;wr+=1)Gr.appendChild(Sr[wr]);var Lr=Rs("mask");Lr.setAttribute("mask-type","alpha"),Lr.setAttribute("id",Br+"_"+mr),Lr.appendChild(er),Dr.appendChild(Lr),Gr.setAttribute("mask","url("+fr()+"#"+Br+"_"+mr+")"),Sr.length=0,Sr.push(Gr)}else Sr.push(er);lr[Vr].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[Vr]={elem:er,lastPath:"",op:Ws.getProp(this.element,lr[Vr].o,0,.01,this.element),prop:lo.getShapeProp(this.element,lr[Vr],3),invRect:Yr},this.viewData[Vr].prop.k||this.drawPath(lr[Vr],this.viewData[Vr].prop.v,this.viewData[Vr])}for(this.maskElement=Rs(Xr),Fr=Sr.length,Vr=0;Vr<Fr;Vr+=1)this.maskElement.appendChild(Sr[Vr]);mr>0&&(this.maskElement.setAttribute("id",Br),this.element.maskedElement.setAttribute(Nr,"url("+fr()+"#"+Br+")"),Dr.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Qn.prototype.getMaskProperty=function(hr){return this.viewData[hr].prop},Qn.prototype.renderFrame=function(hr){var _r=this.element.finalTransform.mat,xr,Dr=this.masksProperties.length;for(xr=0;xr<Dr;xr+=1)if((this.viewData[xr].prop._mdf||hr)&&this.drawPath(this.masksProperties[xr],this.viewData[xr].prop.v,this.viewData[xr]),(this.viewData[xr].op._mdf||hr)&&this.viewData[xr].elem.setAttribute("fill-opacity",this.viewData[xr].op.v),this.masksProperties[xr].mode!=="n"&&(this.viewData[xr].invRect&&(this.element.finalTransform.mProp._mdf||hr)&&this.viewData[xr].invRect.setAttribute("transform",_r.getInverseMatrix().to2dCSS()),this.storedData[xr].x&&(this.storedData[xr].x._mdf||hr))){var Vr=this.storedData[xr].expan;this.storedData[xr].x.v<0?(this.storedData[xr].lastOperator!=="erode"&&(this.storedData[xr].lastOperator="erode",this.storedData[xr].elem.setAttribute("filter","url("+fr()+"#"+this.storedData[xr].filterId+")")),Vr.setAttribute("radius",-this.storedData[xr].x.v)):(this.storedData[xr].lastOperator!=="dilate"&&(this.storedData[xr].lastOperator="dilate",this.storedData[xr].elem.setAttribute("filter",null)),this.storedData[xr].elem.setAttribute("stroke-width",this.storedData[xr].x.v*2))}},Qn.prototype.getMaskelement=function(){return this.maskElement},Qn.prototype.createLayerSolidPath=function(){var hr="M0,0 ";return hr+=" h"+this.globalData.compSize.w,hr+=" v"+this.globalData.compSize.h,hr+=" h-"+this.globalData.compSize.w,hr+=" v-"+this.globalData.compSize.h+" ",hr},Qn.prototype.drawPath=function(hr,_r,xr){var Dr=" M"+_r.v[0][0]+","+_r.v[0][1],Vr,Fr;for(Fr=_r._length,Vr=1;Vr<Fr;Vr+=1)Dr+=" C"+_r.o[Vr-1][0]+","+_r.o[Vr-1][1]+" "+_r.i[Vr][0]+","+_r.i[Vr][1]+" "+_r.v[Vr][0]+","+_r.v[Vr][1];if(_r.c&&Fr>1&&(Dr+=" C"+_r.o[Vr-1][0]+","+_r.o[Vr-1][1]+" "+_r.i[0][0]+","+_r.i[0][1]+" "+_r.v[0][0]+","+_r.v[0][1]),xr.lastPath!==Dr){var er="";xr.elem&&(_r.c&&(er=hr.inv?this.solidPath+Dr:Dr),xr.elem.setAttribute("d",er)),xr.lastPath=Dr}},Qn.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var vo=function(){var hr={};hr.createFilter=_r,hr.createAlphaToLuminanceFilter=xr;function _r(Dr,Vr){var Fr=Rs("filter");return Fr.setAttribute("id",Dr),Vr!==!0&&(Fr.setAttribute("filterUnits","objectBoundingBox"),Fr.setAttribute("x","0%"),Fr.setAttribute("y","0%"),Fr.setAttribute("width","100%"),Fr.setAttribute("height","100%")),Fr}function xr(){var Dr=Rs("feColorMatrix");return Dr.setAttribute("type","matrix"),Dr.setAttribute("color-interpolation-filters","sRGB"),Dr.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),Dr}return hr}(),ah=function(){var hr={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(hr.maskType=!1),/firefox/i.test(navigator.userAgent)&&(hr.svgLumaHidden=!1),hr}(),To={},uo="filter_result_";function Ln(hr){var _r,xr="SourceGraphic",Dr=hr.data.ef?hr.data.ef.length:0,Vr=Ur(),Fr=vo.createFilter(Vr,!0),er=0;this.filters=[];var lr;for(_r=0;_r<Dr;_r+=1){lr=null;var mr=hr.data.ef[_r].ty;if(To[mr]){var Sr=To[mr].effect;lr=new Sr(Fr,hr.effectsManager.effectElements[_r],hr,uo+er,xr),xr=uo+er,To[mr].countsAsEffect&&(er+=1)}lr&&this.filters.push(lr)}er&&(hr.globalData.defs.appendChild(Fr),hr.layerElement.setAttribute("filter","url("+fr()+"#"+Vr+")")),this.filters.length&&hr.addRenderableComponent(this)}Ln.prototype.renderFrame=function(hr){var _r,xr=this.filters.length;for(_r=0;_r<xr;_r+=1)this.filters[_r].renderFrame(hr)},Ln.prototype.getEffects=function(hr){var _r,xr=this.filters.length,Dr=[];for(_r=0;_r<xr;_r+=1)this.filters[_r].type===hr&&Dr.push(this.filters[_r]);return Dr};function $n(){}$n.prototype={initRendererElement:function(){this.layerElement=Rs("g")},createContainerElements:function(){this.matteElement=Rs("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var hr=null;if(this.data.td){this.matteMasks={};var _r=Rs("g");_r.setAttribute("id",this.layerId),_r.appendChild(this.layerElement),hr=_r,this.globalData.defs.appendChild(_r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),hr=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var xr=Rs("clipPath"),Dr=Rs("path");Dr.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var Vr=Ur();if(xr.setAttribute("id",Vr),xr.appendChild(Dr),this.globalData.defs.appendChild(xr),this.checkMasks()){var Fr=Rs("g");Fr.setAttribute("clip-path","url("+fr()+"#"+Vr+")"),Fr.appendChild(this.layerElement),this.transformedElement=Fr,hr?hr.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+fr()+"#"+Vr+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new Qn(this.data,this,this.globalData),this.renderableEffectsManager=new Ln(this),this.searchEffectTransforms()},getMatte:function(hr){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[hr]){var _r=this.layerId+"_"+hr,xr,Dr,Vr,Fr;if(hr===1||hr===3){var er=Rs("mask");er.setAttribute("id",_r),er.setAttribute("mask-type",hr===3?"luminance":"alpha"),Vr=Rs("use"),Vr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),er.appendChild(Vr),this.globalData.defs.appendChild(er),!ah.maskType&&hr===1&&(er.setAttribute("mask-type","luminance"),xr=Ur(),Dr=vo.createFilter(xr),this.globalData.defs.appendChild(Dr),Dr.appendChild(vo.createAlphaToLuminanceFilter()),Fr=Rs("g"),Fr.appendChild(Vr),er.appendChild(Fr),Fr.setAttribute("filter","url("+fr()+"#"+xr+")"))}else if(hr===2){var lr=Rs("mask");lr.setAttribute("id",_r),lr.setAttribute("mask-type","alpha");var mr=Rs("g");lr.appendChild(mr),xr=Ur(),Dr=vo.createFilter(xr);var Sr=Rs("feComponentTransfer");Sr.setAttribute("in","SourceGraphic"),Dr.appendChild(Sr);var wr=Rs("feFuncA");wr.setAttribute("type","table"),wr.setAttribute("tableValues","1.0 0.0"),Sr.appendChild(wr),this.globalData.defs.appendChild(Dr);var kr=Rs("rect");kr.setAttribute("width",this.comp.data.w),kr.setAttribute("height",this.comp.data.h),kr.setAttribute("x","0"),kr.setAttribute("y","0"),kr.setAttribute("fill","#ffffff"),kr.setAttribute("op
851acity","0"),mr.setAttribute("filter","url("+fr()+"#"+xr+")"),mr.appendChild(kr),Vr=Rs("use"),Vr.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),mr.appendChild(Vr),ah.maskType||(lr.setAttribute("mask-type","luminance"),Dr.appendChild(vo.createAlphaToLuminanceFilter()),Fr=Rs("g"),mr.appendChild(kr),Fr.appendChild(this.layerElement),mr.appendChild(Fr)),this.globalData.defs.appendChild(lr)}this.matteMasks[hr]=_r}return this.matteMasks[hr]},setMatte:function(hr){this.matteElement&&this.matteElement.setAttribute("mask","url("+fr()+"#"+hr+")")}};function Qa(){}Qa.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(hr){this.hierarchy=hr},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function Mo(){}(function(){var hr={initElement:function(_r,xr,Dr){this.initFrame(),this.initBaseData(_r,xr,Dr),this.initTransform(_r,xr,Dr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var _r=this.baseElement||this.layerElement;_r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var _r=this.baseElement||this.layerElement;_r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(_r){this._mdf=!1,this.prepareRenderableFrame(_r),this.prepareProperties(_r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};nr([Bo,rr(hr)],Mo)})();function bo(hr,_r,xr){this.assetData=_r.getAssetData(hr.refId),this.assetData&&this.assetData.sid&&(this.assetData=_r.slotManager.getProp(this.assetData)),this.initElement(hr,_r,xr),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}nr([$a,wn,$n,Qa,xa,Mo],bo),bo.prototype.createContent=function(){var hr=this.globalData.getAssetsPath(this.assetData);this.innerElem=Rs("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",hr),this.layerElement.appendChild(this.innerElem)},bo.prototype.sourceRectAtTime=function(){return this.sourceRect};function nh(hr,_r){this.elem=hr,this.pos=_r}function qo(){}qo.prototype={addShapeToModifiers:function(hr){var _r,xr=this.shapeModifiers.length;for(_r=0;_r<xr;_r+=1)this.shapeModifiers[_r].addShape(hr)},isShapeInAnimatedModifiers:function(hr){for(var _r=0,xr=this.shapeModifiers.length;_r<xr;)if(this.shapeModifiers[_r].isAnimatedWithShape(hr))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var hr,_r=this.shapes.length;for(hr=0;hr<_r;hr+=1)this.shapes[hr].sh.reset();_r=this.shapeModifiers.length;var xr;for(hr=_r-1;hr>=0&&(xr=this.shapeModifiers[hr].processShapes(this._isFirstFrame),!xr);hr-=1);}},searchProcessedElement:function(hr){for(var _r=this.processedElements,xr=0,Dr=_r.length;xr<Dr;){if(_r[xr].elem===hr)return _r[xr].pos;xr+=1}return 0},addProcessedElement:function(hr,_r){for(var xr=this.processedElements,Dr=xr.length;Dr;)if(Dr-=1,xr[Dr].elem===hr){xr[Dr].pos=_r;return}xr.push(new nh(hr,_r))},prepareFrame:function(hr){this.prepareRenderableFrame(hr),this.prepareProperties(hr,this.isInRange)}};var Oo={1:"butt",2:"round",3:"square"},Ho={1:"miter",2:"round",3:"bevel"};function _o(hr,_r,xr){this.caches=[],this.styles=[],this.transformers=hr,this.lStr="",this.sh=xr,this.lvl=_r,this._isAnimated=!!xr.k;for(var Dr=0,Vr=hr.length;Dr<Vr;){if(hr[Dr].mProps.dynamicProperties.length){this._isAnimated=!0;break}Dr+=1}}_o.prototype.setAsAnimated=function(){this._isAnimated=!0};function oh(hr,_r){this.data=hr,this.type=hr.ty,this.d="",this.lvl=_r,this._mdf=!1,this.closed=hr.hd===!0,this.pElem=Rs("path"),this.msElem=null}oh.prototype.reset=function(){this.d="",this._mdf=!1};function zo(hr,_r,xr,Dr){this.elem=hr,this.frameId=-1,this.dataProps=ur(_r.length),this.renderer=xr,this.k=!1,this.dashStr="",this.dashArray=cr("float32",_r.length?_r.length-1:0),this.dashoffset=cr("float32",1),this.initDynamicPropertyContainer(Dr);var Vr,Fr=_r.length||0,er;for(Vr=0;Vr<Fr;Vr+=1)er=Ws.getProp(hr,_r[Vr].v,0,0,this),this.k=er.k||this.k,this.dataProps[Vr]={n:_r[Vr].n,p:er};this.k||this.getValue(!0),this._isAnimated=this.k}zo.prototype.getValue=function(hr){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 5,618 bytes, line 851
851!hr)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||hr,this._mdf)){var _r=0,xr=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),_r=0;_r<xr;_r+=1)this.dataProps[_r].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[_r].p.v:this.dashArray[_r]=this.dataProps[_r].p.v:this.dashoffset[0]=this.dataProps[_r].p.v}},nr([Ia],zo);function hh(hr,_r,xr){this.initDynamicPropertyContainer(hr),this.getValue=this.iterateDynamicProperties,this.o=Ws.getProp(hr,_r.o,0,.01,this),this.w=Ws.getProp(hr,_r.w,0,null,this),this.d=new zo(hr,_r.d||{},"svg",this),this.c=Ws.getProp(hr,_r.c,1,255,this),this.style=xr,this._isAnimated=!!this._isAnimated}nr([Ia],hh);function oo(hr,_r,xr){this.initDynamicPropertyContainer(hr),this.getValue=this.iterateDynamicProperties,this.o=Ws.getProp(hr,_r.o,0,.01,this),this.c=Ws.getProp(hr,_r.c,1,255,this),this.style=xr}nr([Ia],oo);function to(hr,_r,xr){this.initDynamicPropertyContainer(hr),this.getValue=this.iterateDynamicProperties,this.style=xr}nr([Ia],to);function Do(hr,_r,xr){this.data=_r,this.c=cr("uint8c",_r.p*4);var Dr=_r.k.k[0].s?_r.k.k[0].s.length-_r.p*4:_r.k.k.length-_r.p*4;this.o=cr("float32",Dr),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=Dr,this.initDynamicPropertyContainer(xr),this.prop=Ws.getProp(hr,_r.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Do.prototype.comparePoints=function(hr,_r){for(var xr=0,Dr=this.o.length/2,Vr;xr<Dr;){if(Vr=Math.abs(hr[xr*4]-hr[_r*4+xr*2]),Vr>.01)return!1;xr+=1}return!0},Do.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var hr=0,_r=this.data.k.k.length;hr<_r;){if(!this.comparePoints(this.data.k.k[hr].s,this.data.p))return!1;hr+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},Do.prototype.getValue=function(hr){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||hr){var _r,xr=this.data.p*4,Dr,Vr;for(_r=0;_r<xr;_r+=1)Dr=_r%4===0?100:255,Vr=Math.round(this.prop.v[_r]*Dr),this.c[_r]!==Vr&&(this.c[_r]=Vr,this._cmdf=!hr);if(this.o.length)for(xr=this.prop.v.length,_r=this.data.p*4;_r<xr;_r+=1)Dr=_r%2===0?100:1,Vr=_r%2===0?Math.round(this.prop.v[_r]*100):this.prop.v[_r],this.o[_r-this.data.p*4]!==Vr&&(this.o[_r-this.data.p*4]=Vr,this._omdf=!hr);this._mdf=!hr}},nr([Ia],Do);function $o(hr,_r,xr){this.initDynamicPropertyContainer(hr),this.getValue=this.iterateDynamicProperties,this.initGradientData(hr,_r,xr)}$o.prototype.initGradientData=function(hr,_r,xr){this.o=Ws.getProp(hr,_r.o,0,.01,this),this.s=Ws.getProp(hr,_r.s,1,null,this),this.e=Ws.getProp(hr,_r.e,1,null,this),this.h=Ws.getProp(hr,_r.h||{k:0},0,.01,this),this.a=Ws.getProp(hr,_r.a||{k:0},0,hs,this),this.g=new Do(hr,_r.g,this),this.style=xr,this.stops=[],this.setGradientData(xr.pElem,_r),this.setGradientOpacity(_r,xr),this._isAnimated=!!this._isAnimated},$o.prototype.setGradientData=function(hr,_r){var xr=Ur(),Dr=Rs(_r.t===1?"linearGradient":"radialGradient");Dr.setAttribute("id",xr),Dr.setAttribute("spreadMethod","pad"),Dr.setAttribute("gradientUnits","userSpaceOnUse");var Vr=[],Fr,er,lr;for(lr=_r.g.p*4,er=0;er<lr;er+=4)Fr=Rs("stop"),Dr.appendChild(Fr),Vr.push(Fr);hr.setAttribute(_r.ty==="gf"?"fill":"stroke","url("+fr()+"#"+xr+")"),this.gf=Dr,this.cst=Vr},$o.prototype.setGradientOpacity=function(hr,_r){if(this.g._hasOpacity&&!this.g._collapsable){var xr,Dr,Vr,Fr=Rs("mask"),er=Rs("path");Fr.appendChild(er);var lr=Ur(),mr=Ur();Fr.setAttribute("id",mr);var Sr=Rs(hr.t===1?"linearGradient":"radialGradient");Sr.setAttribute("id",lr),Sr.setAttribute("spreadMethod","pad"),Sr.setAttribute("gradientUnits","userSpaceOnUse"),Vr=hr.g.k.k[0].s?hr.g.k.k[0].s.length:hr.g.k.k.length;var wr=this.stops;for(Dr=hr.g.p*4;Dr<Vr;Dr+=2)xr=Rs("stop"),xr.setAttribute("stop-color","rgb(255,255,255)"),Sr.appendChild(xr),wr.push(xr);er.setAttribute(hr.ty==="gf"?"fill":"stroke","url("+fr()+"#"+lr+")"),hr.ty==="gs"&&(er.setAttribute("stroke-linecap",Oo[hr.lc||2]),er.setAttribute("stroke-linejoin",Ho[hr.lj||2]),hr.lj===1&&er.setAttribute("stroke-miterlimit",hr.ml)),this.of=Sr,this.ms=Fr,this.ost=wr,this.maskId=mr,_r.msElem=er}},nr([Ia],$o);function wh(hr,_r,xr){this.initDynamicPropertyContainer(hr),this.getValue=this.iterateDynamicProperties,this.w=Ws.getProp(hr,_r.w,0,null,this),this.d=new zo(hr,_r.d||{},"svg",this),this.initGradientData(hr,_r,xr),this._isAnimated=!!this._isAnimated}nr([$o,Ia],wh);function vh(){this.it=[],this.prevViewData=[],this.gr=Rs("g")}function Yh(hr,_r,xr){this.transform={mProps:hr,op:_r,container:xr},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var ba=function(hr,_r,xr,Dr){if(_r===0)return"";var Vr=hr.o,Fr=hr.i,er=hr.v,lr,mr=" M"+Dr.applyToPointStringified(er[0][0],er[0][1]);for(lr=1;lr<_r;lr+=1)mr+=" C"+Dr.applyToPointStringified(Vr[lr-1][0],Vr[lr-1][1])+" "+Dr.applyToPointStringified(Fr[lr][0],Fr[lr][1])+" "+Dr.applyToPointStringified(er[lr][0],er[lr][1]);return xr&&_r&&(mr+=" C"+Dr.applyToPointStringified(Vr[lr-1][0],Vr[lr-1][1])+" "+Dr.applyToPointStringified(Fr[0][0],Fr[0][1])+" "+Dr.applyToPointStringified(er[0][0],er[0][1]),mr+="z"),mr},Wo=function(){var hr=new Zs,_r=new Zs,xr={createRenderFunction:Dr};function Dr(kr){switch(kr.ty){case"fl":return lr;case"gf":return Sr;case"gs":return mr;case"st":return wr;case"sh":case"el":case"rc":case"sr":return er;case"tr":return Vr;case"no":return Fr;default:return null}}function Vr(kr,Br,Yr){(Yr||Br.transform.op._mdf)&&Br.transform.container.setAttribute("op
851acity",Br.transform.op.v),(Yr||Br.transform.mProps._mdf)&&Br.transform.container.setAttribute("transform",Br.transform.mProps.v.to2dCSS())}function Fr(){}function er(kr,Br,Yr){var Hr,Zr,ss,Xr,Nr,Or,Gr=Br.styles.length,Lr=Br.lvl,Kr,ts,Wr,as;for(Or=0;Or<Gr;Or+=1){if(Xr=Br.sh._mdf||Yr,Br.styles[Or].lvl<Lr){for(ts=_r.reset(),Wr=Lr-Br.styles[Or].lvl,as=Br.transformers.length-1;!Xr&&Wr>0;)Xr=Br.transformers[as].mProps._mdf||Xr,Wr-=1,as-=1;if(Xr)for(Wr=Lr-Br.styles[Or].lvl,as=Br.transformers.length-1;Wr>0;)ts.multiply(Br.transformers[as].mProps.v),Wr-=1,as-=1}else ts=hr;if(Kr=Br.sh.paths,Zr=Kr._length,Xr){for(ss="",Hr=0;Hr<Zr;Hr+=1)Nr=Kr.shapes[Hr],Nr&&Nr._length&&(ss+=ba(Nr,Nr._length,Nr.c,ts));Br.caches[Or]=ss}else ss=Br.caches[Or];Br.styles[Or].d+=kr.hd===!0?"":ss,Br.styles[Or]._mdf=Xr||Br.styles[Or]._mdf}}function lr(kr,Br,Yr){var Hr=Br.style;(Br.c._mdf||Yr)&&Hr.pElem.setAttribute("fill","rgb("+Ir(Br.c.v[0])+","+Ir(Br.c.v[1])+","+Ir(Br.c.v[2])+")"),(Br.o._mdf||Yr)&&Hr.pElem.setAttribute("fill-opacity",Br.o.v)}function mr(kr,Br,Yr){Sr(kr,Br,Yr),wr(kr,Br,Yr)}function Sr(kr,Br,Yr){var Hr=Br.gf,Zr=Br.g._hasOpacity,ss=Br.s.v,Xr=Br.e.v;if(Br.o._mdf||Yr){var Nr=kr.ty==="gf"?"fill-opacity":"stroke-opacity";Br.style.pElem.setAttribute(Nr,Br.o.v)}if(Br.s._mdf||Yr){var Or=kr.t===1?"x1":"cx",Gr=Or==="x1"?"y1":"cy";Hr.setAttribute(Or,ss[0]),Hr.setAttribute(Gr,ss[1]),Zr&&!Br.g._collapsable&&(Br.of.setAttribute(Or,ss[0]),Br.of.setAttribute(Gr,ss[1]))}var Lr,Kr,ts,Wr;if(Br.g._cmdf||Yr){Lr=Br.cst;var as=Br.g.c;for(ts=Lr.length,Kr=0;Kr<ts;Kr+=1)Wr=Lr[Kr],Wr.setAttribute("offset",as[Kr*4]+"%"),Wr.setAttribute("stop-color","rgb("+as[Kr*4+1]+","+as[Kr*4+2]+","+as[Kr*4+3]+")")}if(Zr&&(Br.g._omdf||Yr)){var ls=Br.g.o;for(Br.g._collapsable?Lr=Br.cst:Lr=Br.ost,ts=Lr.length,Kr=0;Kr<ts;Kr+=1)Wr=Lr[Kr],Br.g._collapsable||Wr.setAttribute("offset",ls[Kr*2]+"%"),Wr.setAttribute("stop-opacity",ls[Kr*2+1])}if(kr.t===1)(Br.e._mdf||Yr)&&(Hr.setAttribute("x2",Xr[0]),Hr.setAttribute("y2",Xr[1]),Zr&&!Br.g._collapsable&&(Br.of.setAttribute("x2",Xr[0]),Br.of.setAttribute("y2",Xr[1])));else{var ds;if((Br.s._mdf||Br.e._mdf||Yr)&&(ds=Math.sqrt(Math.pow(ss[0]-Xr[0],2)+Math.pow(ss[1]-Xr[1],2)),Hr.setAttribute("r",ds),Zr&&!Br.g._collapsable&&Br.of.setAttribute("r",ds)),Br.e._mdf||Br.h._mdf||Br.a._mdf||Yr){ds||(ds=Math.sqrt(Math.pow(ss[0]-Xr[0],2)+Math.pow(ss[1]-Xr[1],2)));var ws=Math.atan2(Xr[1]-ss[1],Xr[0]-ss[0]),Fs=Br.h.v;Fs>=1?Fs=.99:Fs<=-1&&(Fs=-.99);var Cs=ds*Fs,zs=Math.cos(ws+Br.a.v)*Cs+ss[0],ms=Math.sin(ws+Br.a.v)*Cs+ss[1];Hr.setAttribute("fx",zs),Hr.setAttribute("fy",ms),Zr&&!Br.g._collapsable&&(Br.of.setAttribute("fx",zs),Br.of.setAttribute("fy",ms))}}}function wr(kr,Br,Yr){var Hr=Br.style,Zr=Br.d;Zr&&(Zr._mdf||Yr)&&Zr.dashStr&&(Hr.pElem.setAttribute("stroke-dasharray",Zr.dashStr),Hr.pElem.setAttribute("stroke-dashoffset",Zr.dashoffset[0])),Br.c&&(Br.c._mdf||Yr)&&Hr.pElem.setAttribute("stroke","rgb("+Ir(Br.c.v[0])+","+Ir(Br.c.v[1])+","+Ir(Br.c.v[2])+")"),(Br.o._mdf||Yr)&&Hr.pElem.setAttribute("stroke-opacity",Br.o.v),(Br.w._mdf||Yr)&&(Hr.pElem.setAttribute("stroke-width",Br.w.v),Hr.msElem&&Hr.msElem.setAttribute("stroke-width",Br.w.v))}return xr}();function pa(hr,_r,xr){this.shapes=[],this.shapesData=hr.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(hr,_r,xr),this.prevViewData=[]}nr([$a,wn,$n,qo,Qa,xa,Mo],pa),pa.prototype.initSecondaryElement=function(){},pa.prototype.identityMatrix=new Zs,pa.prototype.buildExpressionInterface=function(){},pa.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},pa.prototype.filterUniqueShapes=function(){var hr,_r=this.shapes.length,xr,Dr,Vr=this.stylesList.length,Fr,er=[],lr=!1;for(Dr=0;Dr<Vr;Dr+=1){for(Fr=this.stylesList[Dr],lr=!1,er.length=0,hr=0;hr<_r;hr+=1)xr=this.shapes[hr],xr.styles.indexOf(Fr)!==-1&&(er.push(xr),lr=xr._isAnimated||lr);er.length>1&&lr&&this.setShapesAsAnimated(er)}},pa.prototype.setShapesAsAnimated=function(hr){var _r,xr=hr.length;for(_r=0;_r<xr;_r+=1)hr[_r].setAsAnimated()},pa.prototype.createStyleElement=function(hr,_r){var xr,Dr=new oh(hr,_r),Vr=Dr.pElem;if(hr.ty==="st")xr=new hh(this,hr,Dr);else if(hr.ty==="fl")xr=new oo(this,hr,Dr);else if(hr.ty==="gf"||hr.ty==="gs"){var Fr=hr.ty==="gf"?$o:wh;xr=new Fr(this,hr,Dr),this.globalData.defs.appendChild(xr.gf),xr.maskId&&(this.globalData.defs.appendChild(xr.ms),this.globalData.defs.appendChild(xr.of),Vr.setAttribute("mask","url("+fr()+"#"+xr.maskId+")"))}else hr.ty==="no"&&(xr=new to(this,hr,Dr));
vendor: 29,753 bytes, line 851
851return(hr.ty==="st"||hr.ty==="gs")&&(Vr.setAttribute("stroke-linecap",Oo[hr.lc||2]),Vr.setAttribute("stroke-linejoin",Ho[hr.lj||2]),Vr.setAttribute("fill-opacity","0"),hr.lj===1&&Vr.setAttribute("stroke-miterlimit",hr.ml)),hr.r===2&&Vr.setAttribute("fill-rule","evenodd"),hr.ln&&Vr.setAttribute("id",hr.ln),hr.cl&&Vr.setAttribute("class",hr.cl),hr.bm&&(Vr.style["mix-blend-mode"]=gh(hr.bm)),this.stylesList.push(Dr),this.addToAnimatedContents(hr,xr),xr},pa.prototype.createGroupElement=function(hr){var _r=new vh;return hr.ln&&_r.gr.setAttribute("id",hr.ln),hr.cl&&_r.gr.setAttribute("class",hr.cl),hr.bm&&(_r.gr.style["mix-blend-mode"]=gh(hr.bm)),_r},pa.prototype.createTransformElement=function(hr,_r){var xr=ro.getTransformProperty(this,hr,this),Dr=new Yh(xr,xr.o,_r);return this.addToAnimatedContents(hr,Dr),Dr},pa.prototype.createShapeElement=function(hr,_r,xr){var Dr=4;hr.ty==="rc"?Dr=5:hr.ty==="el"?Dr=6:hr.ty==="sr"&&(Dr=7);var Vr=lo.getShapeProp(this,hr,Dr,this),Fr=new _o(_r,xr,Vr);return this.shapes.push(Fr),this.addShapeToModifiers(Fr),this.addToAnimatedContents(hr,Fr),Fr},pa.prototype.addToAnimatedContents=function(hr,_r){for(var xr=0,Dr=this.animatedContents.length;xr<Dr;){if(this.animatedContents[xr].element===_r)return;xr+=1}this.animatedContents.push({fn:Wo.createRenderFunction(hr),element:_r,data:hr})},pa.prototype.setElementStyles=function(hr){var _r=hr.styles,xr,Dr=this.stylesList.length;for(xr=0;xr<Dr;xr+=1)this.stylesList[xr].closed||_r.push(this.stylesList[xr])},pa.prototype.reloadShapes=function(){this._isFirstFrame=!0;var hr,_r=this.itemsData.length;for(hr=0;hr<_r;hr+=1)this.prevViewData[hr]=this.itemsData[hr];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),_r=this.dynamicProperties.length,hr=0;hr<_r;hr+=1)this.dynamicProperties[hr].getValue();this.renderModifiers()},pa.prototype.searchShapes=function(hr,_r,xr,Dr,Vr,Fr,er){var lr=[].concat(Fr),mr,Sr=hr.length-1,wr,kr,Br=[],Yr=[],Hr,Zr,ss;for(mr=Sr;mr>=0;mr-=1){if(ss=this.searchProcessedElement(hr[mr]),ss?_r[mr]=xr[ss-1]:hr[mr]._render=er,hr[mr].ty==="fl"||hr[mr].ty==="st"||hr[mr].ty==="gf"||hr[mr].ty==="gs"||hr[mr].ty==="no")ss?_r[mr].style.closed=!1:_r[mr]=this.createStyleElement(hr[mr],Vr),hr[mr]._render&&_r[mr].style.pElem.parentNode!==Dr&&Dr.appendChild(_r[mr].style.pElem),Br.push(_r[mr].style);else if(hr[mr].ty==="gr"){if(!ss)_r[mr]=this.createGroupElement(hr[mr]);else for(kr=_r[mr].it.length,wr=0;wr<kr;wr+=1)_r[mr].prevViewData[wr]=_r[mr].it[wr];this.searchShapes(hr[mr].it,_r[mr].it,_r[mr].prevViewData,_r[mr].gr,Vr+1,lr,er),hr[mr]._render&&_r[mr].gr.parentNode!==Dr&&Dr.appendChild(_r[mr].gr)}else hr[mr].ty==="tr"?(ss||(_r[mr]=this.createTransformElement(hr[mr],Dr)),Hr=_r[mr].transform,lr.push(Hr)):hr[mr].ty==="sh"||hr[mr].ty==="rc"||hr[mr].ty==="el"||hr[mr].ty==="sr"?(ss||(_r[mr]=this.createShapeElement(hr[mr],lr,Vr)),this.setElementStyles(_r[mr])):hr[mr].ty==="tm"||hr[mr].ty==="rd"||hr[mr].ty==="ms"||hr[mr].ty==="pb"||hr[mr].ty==="zz"||hr[mr].ty==="op"?(ss?(Zr=_r[mr],Zr.closed=!1):(Zr=Ba.getModifier(hr[mr].ty),Zr.init(this,hr[mr]),_r[mr]=Zr,this.shapeModifiers.push(Zr)),Yr.push(Zr)):hr[mr].ty==="rp"&&(ss?(Zr=_r[mr],Zr.closed=!0):(Zr=Ba.getModifier(hr[mr].ty),_r[mr]=Zr,Zr.init(this,hr,mr,_r),this.shapeModifiers.push(Zr),er=!1),Yr.push(Zr));this.addProcessedElement(hr[mr],mr+1)}for(Sr=Br.length,mr=0;mr<Sr;mr+=1)Br[mr].closed=!0;for(Sr=Yr.length,mr=0;mr<Sr;mr+=1)Yr[mr].closed=!0},pa.prototype.renderInnerContent=function(){this.renderModifiers();var hr,_r=this.stylesList.length;for(hr=0;hr<_r;hr+=1)this.stylesList[hr].reset();for(this.renderShape(),hr=0;hr<_r;hr+=1)(this.stylesList[hr]._mdf||this._isFirstFrame)&&(this.stylesList[hr].msElem&&(this.stylesList[hr].msElem.setAttribute("d",this.stylesList[hr].d),this.stylesList[hr].d="M0 0"+this.stylesList[hr].d),this.stylesList[hr].pElem.setAttribute("d",this.stylesList[hr].d||"M0 0"))},pa.prototype.renderShape=function(){var hr,_r=this.animatedContents.length,xr;for(hr=0;hr<_r;hr+=1)xr=this.animatedContents[hr],(this._isFirstFrame||xr.element._isAnimated)&&xr.data!==!0&&xr.fn(xr.data,xr.element,this._isFirstFrame)},pa.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function bh(hr,_r,xr,Dr,Vr,Fr){this.o=hr,this.sw=_r,this.sc=xr,this.fc=Dr,this.m=Vr,this.p=Fr,this._mdf={o:!0,sw:!!_r,sc:!!xr,fc:!!Dr,m:!0,p:!0}}bh.prototype.update=function(hr,_r,xr,Dr,Vr,Fr){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var er=!1;return this.o!==hr&&(this.o=hr,this._mdf.o=!0,er=!0),this.sw!==_r&&(this.sw=_r,this._mdf.sw=!0,er=!0),this.sc!==xr&&(this.sc=xr,this._mdf.sc=!0,er=!0),this.fc!==Dr&&(this.fc=Dr,this._mdf.fc=!0,er=!0),this.m!==Vr&&(this.m=Vr,this._mdf.m=!0,er=!0),Fr.length&&(this.p[0]!==Fr[0]||this.p[1]!==Fr[1]||this.p[4]!==Fr[4]||this.p[5]!==Fr[5]||this.p[12]!==Fr[12]||this.p[13]!==Fr[13])&&(this.p=Fr,this._mdf.p=!0,er=!0),er};function Nn(hr,_r){this._frameId=Zt,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,_r.d&&_r.d.sid&&(_r.d=hr.globalData.slotManager.getProp(_r.d)),this.data=_r,this.elem=hr,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}Nn.prototype.defaultBoxWidth=[0,0],Nn.prototype.copyData=function(hr,_r){for(var xr in _r)Object.prototype.hasOwnProperty.call(_r,xr)&&(hr[xr]=_r[xr]);return hr},Nn.prototype.setCurrentData=function(hr){hr.__complete||this.completeTextData(hr),this.currentData=hr,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},Nn.prototype.searchProperty=function(){return this.searchKeyframes()},Nn.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Nn.prototype.addEffect=function(hr){this.effectsSequence.push(hr),this.elem.addDynamicProperty(this)},Nn.prototype.getValue=function(hr){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!hr)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var _r=this.currentData,xr=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var Dr,Vr=this.effectsSequence.length,Fr=hr||this.data.d.k[this.keysIndex].s;for(Dr=0;Dr<Vr;Dr+=1)xr!==this.keysIndex?Fr=this.effectsSequence[Dr](Fr,Fr.t):Fr=this.effectsSequence[Dr](this.currentData,Fr.t);_r!==Fr&&this.setCurrentData(Fr),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},Nn.prototype.getKeyframeValue=function(){for(var hr=this.data.d.k,_r=this.elem.comp.renderedFrame,xr=0,Dr=hr.length;xr<=Dr-1&&!(xr===Dr-1||hr[xr+1].t>_r);)xr+=1;return this.keysIndex!==xr&&(this.keysIndex=xr),this.data.d.k[this.keysIndex].s},Nn.prototype.buildFinalText=function(hr){for(var _r=[],xr=0,Dr=hr.length,Vr,Fr,er=!1,lr=!1,mr="";xr<Dr;)er=lr,lr=!1,Vr=hr.charCodeAt(xr),mr=hr.charAt(xr),wo.isCombinedCharacter(Vr)?er=!0:Vr>=55296&&Vr<=56319?wo.isRegionalFlag(hr,xr)?mr=hr.substr(xr,14):(Fr=hr.charCodeAt(xr+1),Fr>=56320&&Fr<=57343&&(wo.isModifier(Vr,Fr)?(mr=hr.substr(xr,2),er=!0):wo.isFlagEmoji(hr.substr(xr,4))?mr=hr.substr(xr,4):mr=hr.substr(xr,2))):Vr>56319?(Fr=hr.charCodeAt(xr+1),wo.isVariationSelector(Vr)&&(er=!0)):wo.isZeroWidthJoiner(Vr)&&(er=!0,lr=!0),er?(_r[_r.length-1]+=mr,er=!1):_r.push(mr),xr+=mr.length;return _r},Nn.prototype.completeTextData=function(hr){hr.__complete=!0;var _r=this.elem.globalData.fontManager,xr=this.data,Dr=[],Vr,Fr,er,lr=0,mr,Sr=xr.m.g,wr=0,kr=0,Br=0,Yr=[],Hr=0,Zr=0,ss,Xr,Nr=_r.getFontByName(hr.f),Or,Gr=0,Lr=sh(Nr);hr.fWeight=Lr.weight,hr.fStyle=Lr.style,hr.finalSize=hr.s,hr.finalText=this.buildFinalText(hr.t),Fr=hr.finalText.length,hr.finalLineHeight=hr.lh;var Kr=hr.tr/1e3*hr.finalSize,ts;if(hr.sz)for(var Wr=!0,as=hr.sz[0],ls=hr.sz[1],ds,ws;Wr;){ws=this.buildFinalText(hr.t),ds=0,Hr=0,Fr=ws.length,Kr=hr.tr/1e3*hr.finalSize;var Fs=-1;for(Vr=0;Vr<Fr;Vr+=1)ts=ws[Vr].charCodeAt(0),er=!1,ws[Vr]===" "?Fs=Vr:(ts===13||ts===3)&&(Hr=0,er=!0,ds+=hr.finalLineHeight||hr.finalSize*1.2),_r.chars?(Or=_r.getCharData(ws[Vr],Nr.fStyle,Nr.fFamily),Gr=er?0:Or.w*hr.finalSize/100):Gr=_r.measureText(ws[Vr],hr.f,hr.finalSize),Hr+Gr>as&&ws[Vr]!==" "?(Fs===-1?Fr+=1:Vr=Fs,ds+=hr.finalLineHeight||hr.finalSize*1.2,ws.splice(Vr,Fs===Vr?1:0,"\r"),Fs=-1,Hr=0):(Hr+=Gr,Hr+=Kr);ds+=Nr.ascent*hr.finalSize/100,this.canResize&&hr.finalSize>this.minimumFontSize&&ls<ds?(hr.finalSize-=1,hr.finalLineHeight=hr.finalSize*hr.lh/hr.s):(hr.finalText=ws,Fr=hr.finalText.length,Wr=!1)}Hr=-Kr,Gr=0;var Cs=0,zs;for(Vr=0;Vr<Fr;Vr+=1)if(er=!1,zs=hr.finalText[Vr],ts=zs.charCodeAt(0),ts===13||ts===3?(Cs=0,Yr.push(Hr),Zr=Hr>Zr?Hr:Zr,Hr=-2*Kr,mr="",er=!0,Br+=1):mr=zs,_r.chars?(Or=_r.getCharData(zs,Nr.fStyle,_r.getFontByName(hr.f).fFamily),Gr=er?0:Or.w*hr.finalSize/100):Gr=_r.measureText(mr,hr.f,hr.finalSize),zs===" "?Cs+=Gr+Kr:(Hr+=Gr+Kr+Cs,Cs=0),Dr.push({l:Gr,an:Gr,add:wr,n:er,anIndexes:[],val:mr,line:Br,animatorJustifyOffset:0}),Sr==2){if(wr+=Gr,mr===""||mr===" "||Vr===Fr-1){for((mr===""||mr===" ")&&(wr-=Gr);kr<=Vr;)Dr[kr].an=wr,Dr[kr].ind=lr,Dr[kr].extra=Gr,kr+=1;lr+=1,wr=0}}else if(Sr==3){if(wr+=Gr,mr===""||Vr===Fr-1){for(mr===""&&(wr-=Gr);kr<=Vr;)Dr[kr].an=wr,Dr[kr].ind=lr,Dr[kr].extra=Gr,kr+=1;wr=0,lr+=1}}else Dr[lr].ind=lr,Dr[lr].extra=0,lr+=1;if(hr.l=Dr,Zr=Hr>Zr?Hr:Zr,Yr.push(Hr),hr.sz)hr.boxWidth=hr.sz[0],hr.justifyOffset=0;else switch(hr.boxWidth=Zr,hr.j){case 1:hr.justifyOffset=-hr.boxWidth;break;case 2:hr.justifyOffset=-hr.boxWidth/2;break;default:hr.justifyOffset=0}hr.lineWidths=Yr;var ms=xr.a,bs,rs;Xr=ms.length;var Ps,As,vs=[];for(ss=0;ss<Xr;ss+=1){for(bs=ms[ss],bs.a.sc&&(hr.strokeColorAnim=!0),bs.a.sw&&(hr.strokeWidthAnim=!0),(bs.a.fc||bs.a.fh||bs.a.fs||bs.a.fb)&&(hr.fillColorAnim=!0),As=0,Ps=bs.s.b,Vr=0;Vr<Fr;Vr+=1)rs=Dr[Vr],rs.anIndexes[ss]=As,(Ps==1&&rs.val!==""||Ps==2&&rs.val!==""&&rs.val!==" "||Ps==3&&(rs.n||rs.val==" "||Vr==Fr-1)||Ps==4&&(rs.n||Vr==Fr-1))&&(bs.s.rn===1&&vs.push(As),As+=1);xr.a[ss].s.totalChars=As;var gs=-1,_s;if(bs.s.rn===1)for(Vr=0;Vr<Fr;Vr+=1)rs=Dr[Vr],gs!=rs.anIndexes[ss]&&(gs=rs.anIndexes[ss],_s=vs.splice(Math.floor(Math.random()*vs.length),1)[0]),rs.anIndexes[ss]=_s}hr.yOffset=hr.finalLineHeight||hr.finalSize*1.2,hr.ls=hr.ls||0,hr.ascent=Nr.ascent*hr.finalSize/100},Nn.prototype.updateDocumentData=function(hr,_r){_r=_r===void 0?this.keysIndex:_r;var xr=this.copyData({},this.data.d.k[_r].s);xr=this.copyData(xr,hr),this.data.d.k[_r].s=xr,this.recalculate(_r),this.setCurrentData(xr),this.elem.addDynamicProperty(this)},Nn.prototype.recalculate=function(hr){var _r=this.data.d.k[hr].s;_r.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(_r)},Nn.prototype.canResizeFont=function(hr){this.canResize=hr,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},Nn.prototype.setMinimumFontSize=function(hr){this.minimumFontSize=Math.floor(hr)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var Xn=function(){var hr=Math.max,_r=Math.min,xr=Math.floor;function Dr(Fr,er){this._currentTextLength=-1,this.k=!1,this.data=er,this.elem=Fr,this.comp=Fr.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Fr),this.s=Ws.getProp(Fr,er.s||{k:0},0,0,this),"e"in er?this.e=Ws.getProp(Fr,er.e,0,0,this):this.e={v:100},this.o=Ws.getProp(Fr,er.o||{k:0},0,0,this),this.xe=Ws.getProp(Fr,er.xe||{k:0},0,0,this),this.ne=Ws.getProp(Fr,er.ne||{k:0},0,0,this),this.sm=Ws.getProp(Fr,er.sm||{k:100},0,0,this),this.a=Ws.getProp(Fr,er.a,0,.01,this),this.dynamicProperties.length||this.getValue()}Dr.prototype={getMult:function(Fr){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var er=0,lr=0,mr=1,Sr=1;this.ne.v>0?er=this.ne.v/100:lr=-this.ne.v/100,this.xe.v>0?mr=1-this.xe.v/100:Sr=1+this.xe.v/100;var wr=ga.getBezierEasing(er,lr,mr,Sr).get,kr=0,Br=this.finalS,Yr=this.finalE,Hr=this.data.sh;if(Hr===2)Yr===Br?kr=Fr>=Yr?1:0:kr=hr(0,_r(.5/(Yr-Br)+(Fr-Br)/(Yr-Br),1)),kr=wr(kr);else if(Hr===3)Yr===Br?kr=Fr>=Yr?0:1:kr=1-hr(0,_r(.5/(Yr-Br)+(Fr-Br)/(Yr-Br),1)),kr=wr(kr);else if(Hr===4)Yr===Br?kr=0:(kr=hr(0,_r(.5/(Yr-Br)+(Fr-Br)/(Yr-Br),1)),kr<.5?kr*=2:kr=1-2*(kr-.5)),kr=wr(kr);else if(Hr===5){if(Yr===Br)kr=0;else{var Zr=Yr-Br;Fr=_r(hr(0,Fr+.5-Br),Yr-Br);var ss=-Zr/2+Fr,Xr=Zr/2;kr=Math.sqrt(1-ss*ss/(Xr*Xr))}kr=wr(kr)}else Hr===6?(Yr===Br?kr=0:(Fr=_r(hr(0,Fr+.5-Br),Yr-Br),kr=(1+Math.cos(Math.PI+Math.PI*2*Fr/(Yr-Br)))/2),kr=wr(kr)):(Fr>=xr(Br)&&(Fr-Br<0?kr=hr(0,_r(_r(Yr,1)-(Br-Fr),1)):kr=hr(0,_r(Yr-Fr,1))),kr=wr(kr));if(this.sm.v!==100){var Nr=this.sm.v*.01;Nr===0&&(Nr=1e-8);var Or=.5-Nr*.5;kr<Or?kr=0:(kr=(kr-Or)/Nr,kr>1&&(kr=1))}return kr*this.a.v},getValue:function(Fr){this.iterateDynamicProperties(),this._mdf=Fr||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Fr&&this.data.r===2&&(this.e.v=this._currentTextLength);var er=this.data.r===2?1:100/this.data.totalChars,lr=this.o.v/er,mr=this.s.v/er+lr,Sr=this.e.v/er+lr;if(mr>Sr){var wr=mr;mr=Sr,Sr=wr}this.finalS=mr,this.finalE=Sr}},nr([Ia],Dr);function Vr(Fr,er,lr){return new Dr(Fr,er)}return{getTextSelectorProp:Vr}}();function Wa(hr,_r,xr){var Dr={propType:!1},Vr=Ws.getProp,Fr=_r.a;this.a={r:Fr.r?Vr(hr,Fr.r,0,hs,xr):Dr,rx:Fr.rx?Vr(hr,Fr.rx,0,hs,xr):Dr,ry:Fr.ry?Vr(hr,Fr.ry,0,hs,xr):Dr,sk:Fr.sk?Vr(hr,Fr.sk,0,hs,xr):Dr,sa:Fr.sa?Vr(hr,Fr.sa,0,hs,xr):Dr,s:Fr.s?Vr(hr,Fr.s,1,.01,xr):Dr,a:Fr.a?Vr(hr,Fr.a,1,0,xr):Dr,o:Fr.o?Vr(hr,Fr.o,0,.01,xr):Dr,p:Fr.p?Vr(hr,Fr.p,1,0,xr):Dr,sw:Fr.sw?Vr(hr,Fr.sw,0,0,xr):Dr,sc:Fr.sc?Vr(hr,Fr.sc,1,0,xr):Dr,fc:Fr.fc?Vr(hr,Fr.fc,1,0,xr):Dr,fh:Fr.fh?Vr(hr,Fr.fh,0,0,xr):Dr,fs:Fr.fs?Vr(hr,Fr.fs,0,.01,xr):Dr,fb:Fr.fb?Vr(hr,Fr.fb,0,.01,xr):Dr,t:Fr.t?Vr(hr,Fr.t,0,0,xr):Dr},this.s=Xn.getTextSelectorProp(hr,_r.s,xr),this.s.t=_r.s.t}function Fo(hr,_r,xr){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=hr,this._renderType=_r,this._elem=xr,this._animatorsData=ur(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(xr)}Fo.prototype.searchProperties=function(){var hr,_r=this._textData.a.length,xr,Dr=Ws.getProp;for(hr=0;hr<_r;hr+=1)xr=this._textData.a[hr],this._animatorsData[hr]=new Wa(this._elem,xr,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:Dr(this._elem,this._textData.p.a,0,0,this),f:Dr(this._elem,this._textData.p.f,0,0,this),l:Dr(this._elem,this._textData.p.l,0,0,this),r:Dr(this._elem,this._textData.p.r,0,0,this),p:Dr(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=Dr(this._elem,this._textData.m.a,1,0,this)},Fo.prototype.getMeasures=function(hr,_r){if(this.lettersChangedFlag=_r,!(!this._mdf&&!this._isFirstFrame&&!_r&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var xr=this._moreOptions.alignment.v,Dr=this._animatorsData,Vr=this._textData,Fr=this.mHelper,er=this._renderType,lr=this.renderedLetters.length,mr,Sr,wr,kr,Br=hr.l,Yr,Hr,Zr,ss,Xr,Nr,Or,Gr,Lr,Kr,ts,Wr,as,ls,ds;if(this._hasMaskedPath){if(ds=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ws=ds.v;this._pathData.r.v&&(ws=ws.reverse()),Yr={tLength:0,segments:[]},kr=ws._length-1;var Fs;for(Wr=0,wr=0;wr<kr;wr+=1)Fs=Zn.buildBezierData(ws.v[wr],ws.v[wr+1],[ws.o[wr][0]-ws.v[wr][0],ws.o[wr][1]-ws.v[wr][1]],[ws.i[wr+1][0]-ws.v[wr+1][0],ws.i[wr+1][1]-ws.v[wr+1][1]]),Yr.tLength+=Fs.segmentLength,Yr.segments.push(Fs),Wr+=Fs.segmentLength;wr=kr,ds.v.c&&(Fs=Zn.buildBezierData(ws.v[wr],ws.v[0],[ws.o[wr][0]-ws.v[wr][0],ws.o[wr][1]-ws.v[wr][1]],[ws.i[0][0]-ws.v[0][0],ws.i[0][1]-ws.v[0][1]]),Yr.tLength+=Fs.segmentLength,Yr.segments.push(Fs),Wr+=Fs.segmentLength),this._pathData.pi=Yr}if(Yr=this._pathData.pi,Hr=this._pathData.f.v,Or=0,Nr=1,ss=0,Xr=!0,Kr=Yr.segments,Hr<0&&ds.v.c)for(Yr.tLength<Math.abs(Hr)&&(Hr=-Math.abs(Hr)%Yr.tLength),Or=Kr.length-1,Lr=Kr[Or].points,Nr=Lr.length-1;Hr<0;)Hr+=Lr[Nr].partialLength,Nr-=1,Nr<0&&(Or-=1,Lr=Kr[Or].points,Nr=Lr.length-1);Lr=Kr[Or].points,Gr=Lr[Nr-1],Zr=Lr[Nr],ts=Zr.partialLength}kr=Br.length,mr=0,Sr=0;var Cs=hr.finalSize*1.2*.714,zs=!0,ms,bs,rs,Ps,As;Ps=Dr.length;var vs,gs=-1,_s,ns,Es,Os=Hr,Is=Or,Ks=Nr,Js=-1,ha,ea,Aa,oa,Xs,Pn,Ua,Oa,An="",Ma=this.defaultPropsArray,ia;if(hr.j===2||hr.j===1){var Cn=0,Jn=0,qn=hr.j===2?-.5:-1,Mn=0,Hn=!0;for(wr=0;wr<kr;wr+=1)if(Br[wr].n){for(Cn&&(Cn+=Jn);Mn<wr;)Br[Mn].animatorJustifyOffset=Cn,Mn+=1;Cn=0,Hn=!0}else{for(rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.t.propType&&(Hn&&hr.j===2&&(Jn+=ms.t.v*qn),bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),vs.length?Cn+=ms.t.v*vs[0]*qn:Cn+=ms.t.v*vs*qn);Hn=!1}for(Cn&&(Cn+=Jn);Mn<wr;)Br[Mn].animatorJustifyOffset=Cn,Mn+=1}for(wr=0;wr<kr;wr+=1){if(Fr.reset(),ha=1,Br[wr].n)mr=0,Sr+=hr.yOffset,Sr+=zs?1:0,Hr=Os,zs=!1,this._hasMaskedPath&&(Or=Is,Nr=Ks,Lr=Kr[Or].points,Gr=Lr[Nr-1],Zr=Lr[Nr],ts=Zr.partialLength,ss=0),An="",Oa="",Pn="",ia="",Ma=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Js!==Br[wr].line){switch(hr.j){case 1:Hr+=Wr-hr.lineWidths[Br[wr].line];break;case 2:Hr+=(Wr-hr.lineWidths[Br[wr].line])/2;break}Js=Br[wr].line}gs!==Br[wr].ind&&(Br[gs]&&(Hr+=Br[gs].extra),Hr+=Br[wr].an/2,gs=Br[wr].ind),Hr+=xr[0]*Br[wr].an*.005;var Vn=0;for(rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.p.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),vs.length?Vn+=ms.p.v[0]*vs[0]:Vn+=ms.p.v[0]*vs),ms.a.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),vs.length?Vn+=ms.a.v[0]*vs[0]:Vn+=ms.a.v[0]*vs);for(Xr=!0,this._pathData.a.v&&(Hr=Br[0].an*.5+(Wr-this._pathData.f.v-Br[0].an*.5-Br[Br.length-1].an*.5)*gs/(kr-1),Hr+=this._pathData.f.v);Xr;)ss+ts>=Hr+Vn||!Lr?(as=(Hr+Vn-ss)/Zr.partialLength,ns=Gr.point[0]+(Zr.point[0]-Gr.point[0])*as,Es=Gr.point[1]+(Zr.point[1]-Gr.point[1])*as,Fr.translate(-xr[0]*Br[wr].an*.005,-(xr[1]*Cs)*.01),Xr=!1):Lr&&(ss+=Zr.partialLength,Nr+=1,Nr>=Lr.length&&(Nr=0,Or+=1,Kr[Or]?Lr=Kr[Or].points:ds.v.c?(Nr=0,Or=0,Lr=Kr[Or].points):(ss-=Zr.partialLength,Lr=null)),Lr&&(Gr=Zr,Zr=Lr[Nr],ts=Zr.partialLength));_s=Br[wr].an/2-Br[wr].add,Fr.translate(-_s,0,0)}else _s=Br[wr].an/2-Br[wr].add,Fr.translate(-_s,0,0),Fr.translate(-xr[0]*Br[wr].an*.005,-xr[1]*Cs*.01,0);for(rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.t.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),(mr!==0||hr.j!==0)&&(this._hasMaskedPath?vs.length?Hr+=ms.t.v*vs[0]:Hr+=ms.t.v*vs:vs.length?mr+=ms.t.v*vs[0]:mr+=ms.t.v*vs));for(hr.strokeWidthAnim&&(Aa=hr.sw||0),hr.strokeColorAnim&&(hr.sc?ea=[hr.sc[0],hr.sc[1],hr.sc[2]]:ea=[0,0,0]),hr.fillColorAnim&&hr.fc&&(oa=[hr.fc[0],hr.fc[1],hr.fc[2]]),rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.a.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),vs.length?Fr.translate(-ms.a.v[0]*vs[0],-ms.a.v[1]*vs[1],ms.a.v[2]*vs[2]):Fr.translate(-ms.a.v[0]*vs,-ms.a.v[1]*vs,ms.a.v[2]*vs));for(rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.s.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),vs.length?Fr.scale(1+(ms.s.v[0]-1)*vs[0],1+(ms.s.v[1]-1)*vs[1],1):Fr.scale(1+(ms.s.v[0]-1)*vs,1+(ms.s.v[1]-1)*vs,1));for(rs=0;rs<Ps;rs+=1){if(ms=Dr[rs].a,bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),ms.sk.propType&&(vs.length?Fr.skewFromAxis(-ms.sk.v*vs[0],ms.sa.v*vs[1]):Fr.skewFromAxis(-ms.sk.v*vs,ms.sa.v*vs)),ms.r.propType&&(vs.length?Fr.rotateZ(-ms.r.v*vs[2]):Fr.rotateZ(-ms.r.v*vs)),ms.ry.propType&&(vs.length?Fr.rotateY(ms.ry.v*vs[1]):Fr.rotateY(ms.ry.v*vs)),ms.rx.propType&&(vs.length?Fr.rotateX(ms.rx.v*vs[0]):Fr.rotateX(ms.rx.v*vs)),ms.o.propType&&(vs.length?ha+=(ms.o.v*vs[0]-ha)*vs[0]:ha+=(ms.o.v*vs-ha)*vs),hr.strokeWidthAnim&&ms.sw.propType&&(vs.length?Aa+=ms.sw.v*vs[0]:Aa+=ms.sw.v*vs),hr.strokeColorAnim&&ms.sc.propType)for(Xs=0;Xs<3;Xs+=1)vs.length?ea[Xs]+=(ms.sc.v[Xs]-ea[Xs])*vs[0]:ea[Xs]+=(ms.sc.v[Xs]-ea[Xs])*vs;if(hr.fillColorAnim&&hr.fc){if(ms.fc.propType)for(Xs=0;Xs<3;Xs+=1)vs.length?oa[Xs]+=(ms.fc.v[Xs]-oa[Xs])*vs[0]:oa[Xs]+=(ms.fc.v[Xs]-oa[Xs])*vs;ms.fh.propType&&(vs.length?oa=Bs(oa,ms.fh.v*vs[0]):oa=Bs(oa,ms.fh.v*vs)),ms.fs.propType&&(vs.length?oa=Ts(oa,ms.fs.v*vs[0]):oa=Ts(oa,ms.fs.v*vs)),ms.fb.propType&&(vs.length?oa=Ns(oa,ms.fb.v*vs[0]):oa=Ns(oa,ms.fb.v*vs))}}for(rs=0;rs<Ps;rs+=1)ms=Dr[rs].a,ms.p.propType&&(bs=Dr[rs].s,vs=bs.getMult(Br[wr].anIndexes[rs],Vr.a[rs].s.totalChars),this._hasMaskedPath?vs.length?Fr.translate(0,ms.p.v[1]*vs[0],-ms.p.v[2]*vs[1]):Fr.translate(0,ms.p.v[1]*vs,-ms.p.v[2]*vs):vs.length?Fr.translate(ms.p.v[0]*vs[0],ms.p.v[1]*vs[1],-ms.p.v[2]*vs[2]):Fr.translate(ms.p.v[0]*vs,ms.p.v[1]*vs,-ms.p.v[2]*vs));if(hr.strokeWidthAnim&&(Pn=Aa<0?0:Aa),hr.strokeColorAnim&&(Ua="rgb("+Math.round(ea[0]*255)+","+Math.round(ea[1]*255)+","+Math.round(ea[2]*255)+")"),hr.fillColorAnim&&hr.fc&&(Oa="rgb("+Math.round(oa[0]*255)+","+Math.round(oa[1]*255)+","+Math.round(oa[2]*255)+")"),this._hasMaskedPath){if(Fr.translate(0,-hr.ls),Fr.translate(0,xr[1]*Cs*.01+Sr,0),this._pathData.p.v){ls=(Zr.point[1]-Gr.point[1])/(Zr.point[0]-Gr.point[0]);var Dn=Math.atan(ls)*180/Math.PI;Zr.point[0]<Gr.point[0]&&(Dn+=180),Fr.rotate(-Dn*Math.PI/180)}Fr.translate(ns,Es,0),Hr-=xr[0]*Br[wr].an*.005,Br[wr+1]&&gs!==Br[wr+1].ind&&(Hr+=Br[wr].an/2,Hr+=hr.tr*.001*hr.finalSize)}else{switch(Fr.translate(mr,Sr,0),hr.ps&&Fr.translate(hr.ps[0],hr.ps[1]+hr.ascent,0),hr.j){case 1:Fr.translate(Br[wr].animatorJustifyOffset+hr.justifyOffset+(hr.boxWidth-hr.lineWidths[Br[wr].line]),0,0);break;case 2:Fr.translate(Br[wr].animatorJustifyOffset+hr.justifyOffset+(hr.boxWidth-hr.lineWidths[Br[wr].line])/2,0,0);break}Fr.translate(0,-hr.ls),Fr.translate(_s,0,0),Fr.translate(xr[0]*Br[wr].an*.005,xr[1]*Cs*.01,0),mr+=Br[wr].l+hr.tr*.001*hr.finalSize}er==="html"?An=Fr.toCSS():er==="svg"?An=Fr.to2dCSS():Ma=[Fr.props[0],Fr.props[1],Fr.props[2],Fr.props[3],Fr.props[4],Fr.props[5],Fr.props[6],Fr.props[7],Fr.props[8],Fr.props[9],Fr.props[10],Fr.props[11],Fr.props[12],Fr.props[13],Fr.props[14],Fr.props[15]],ia=ha}lr<=wr?(As=new bh(ia,Pn,Ua,Oa,An,Ma),this.renderedLetters.push(As),lr+=1,this.lettersChangedFlag=!0):(As=this.renderedLetters[wr],this.lettersChangedFlag=As.update(ia,Pn,Ua,Oa,An,Ma)||this.lettersChangedFlag)}}},Fo.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Fo.prototype.mHelper=new Zs,Fo.prototype.defaultPropsArray=[],nr([Ia],Fo);function Ra(){}Ra.prototype.initElement=function(hr,_r,xr){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(hr,_r,xr),this.textProperty=new Nn(this,hr.t,this.dynamicProperties),this.textAnimator=new Fo(hr.t,this.renderType,this),this.initTransform(hr,_r,xr),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},Ra.prototype.prepareFrame=function(hr){this._mdf=!1,this.prepareRenderableFrame(hr),this.prepareProperties(hr,this.isInRange)},Ra.prototype.createPathShape=function(hr,_r){var xr,Dr=_r.length,Vr,Fr="";for(xr=0;xr<Dr;xr+=1)_r[xr].ty==="sh"&&(Vr=_r[xr].ks.k,Fr+=ba(Vr,Vr.i.length,!0,hr));return Fr},Ra.prototype.updateDocumentData=function(hr,_r){this.textProperty.updateDocumentData(hr,_r)},Ra.prototype.canResizeFont=function(hr){this.textProperty.canResizeFont(hr)},Ra.prototype.setMinimumFontSize=function(hr){this.textProperty.setMinimumFontSize(hr)},Ra.prototype.applyTextPropertiesToMatrix=function(hr,_r,xr,Dr,Vr){switch(hr.ps&&_r.translate(hr.ps[0],hr.ps[1]+hr.ascent,0),_r.translate(0,-hr.ls,0),hr.j){case 1:_r.translate(hr.justifyOffset+(hr.boxWidth-hr.lineWidths[xr]),0,0);break;case 2:_r.translate(hr.justifyOffset+(hr.boxWidth-hr.lineWidths[xr])/2,0,0);break}_r.translate(Dr,Vr,0)},Ra.prototype.buildColor=function(hr){return"rgb("+Math.round(hr[0]*255)+","+Math.round(hr[1]*255)+","+Math.round(hr[2]*255)+")"},Ra.prototype.emptyProp=new bh,Ra.prototype.destroy=function(){},Ra.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var Yo={shapes:[]};function Ya(hr,_r,xr){this.textSpans=[],this.renderType="svg",this.initElement(hr,_r,xr)}nr([$a,wn,$n,Qa,xa,Mo,Ra],Ya),Ya.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Rs("text"))},Ya.prototype.buildTextContents=function(hr){for(var _r=0,xr=hr.length,Dr=[],Vr="";_r<xr;)hr[_r]==="\r"||hr[_r]==="�"?(Dr.push(Vr),Vr=""):Vr+=hr[_r],_r+=1;return Dr.push(Vr),Dr},Ya.prototype.buildShapeData=function(hr,_r){if(hr.shapes&&hr.shapes.length){var xr=hr.shapes[0];if(xr.it){var Dr=xr.it[xr.it.length-1];Dr.s&&(Dr.s.k[0]=_r,Dr.s.k[1]=_r)}}return hr},Ya.prototype.buildNewText=function(){this.addDynamicProperty(this);var hr,_r,xr=this.textProperty.currentData;this.renderedLetters=ur(xr?xr.l.length:0),xr.fc?this.layerElement.setAttribute("fill",this.buildColor(xr.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),xr.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(xr.sc)),this.layerElement.setAttribute("stroke-width",xr.sw)),this.layerElement.setAttribute("font-size",xr.finalSize);var Dr=this.globalData.fontManager.getFontByName(xr.f);if(Dr.fClass)this.layerElement.setAttribute("class",Dr.fClass);else{this.layerElement.setAttribute("font-family",Dr.fFamily);var Vr=xr.fWeight,Fr=xr.fStyle;this.layerElement.setAttribute("font-style",Fr),this.layerElement.setAttribute("font-weight",Vr)}this.layerElement.setAttribute("aria-label",xr.t);var er=xr.l||[],lr=!!this.globalData.fontManager.chars;_r=er.length;var mr,Sr=this.mHelper,wr="",kr=this.data.singleShape,Br=0,Yr=0,Hr=!0,Zr=xr.tr*.001*xr.finalSize;if(kr&&!lr&&!xr.sz){var ss=this.textContainer,Xr="start";switch(xr.j){case 1:Xr="end";break;case 2:Xr="middle";break;default:Xr="start";break}ss.setAttribute("text-anchor",Xr),ss.setAttribute("letter-spacing",Zr);var Nr=this.buildTextContents(xr.finalText);for(_r=Nr.length,Yr=xr.ps?xr.ps[1]+xr.ascent:0,hr=0;hr<_r;hr+=1)mr=this.textSpans[hr].span||Rs("tspan"),mr.textContent=Nr[hr],mr.setAttribute("x",0),mr.setAttribute("y",Yr),mr.style.display="inherit",ss.appendChild(mr),this.textSpans[hr]||(this.textSpans[hr]={span:null,glyph:null}),this.textSpans[hr].span=mr,Yr+=xr.finalLineHeight;this.layerElement.appendChild(ss)}else{var Or=this.textSpans.length,Gr;for(hr=0;hr<_r;hr+=1){if(this.textSpans[hr]||(this.textSpans[hr]={span:null,childSpan:null,glyph:null}),!lr||!kr||hr===0){if(mr=Or>hr?this.textSpans[hr].span:Rs(lr?"g":"text"),Or<=hr){if(mr.setAttribute("stroke-linecap","butt"),mr.setAttribute("stroke-linejoin","round"),mr.setAttribute("stroke-miterlimit","4"),this.textSpans[hr].span=mr,lr){var Lr=Rs("g");mr.appendChild(Lr),this.textSpans[hr].childSpan=Lr}this.textSpans[hr].span=mr,this.layerElement.appendChild(mr)}mr.style.display="inherit"}if(Sr.reset(),kr&&(er[hr].n&&(Br=-Zr,Yr+=xr.yOffset,Yr+=Hr?1:0,Hr=!1),this.applyTextPropertiesToMatrix(xr,Sr,er[hr].line,Br,Yr),Br+=er[hr].l||0,Br+=Zr),lr){Gr=this.globalData.fontManager.getCharData(xr.finalText[hr],Dr.fStyle,this.globalData.fontManager.getFontByName(xr.f).fFamily);var Kr;if(Gr.t===1)Kr=new br(Gr.data,this.globalData,this);else{var ts=Yo;Gr.data&&Gr.data.shapes&&(ts=this.buildShapeData(Gr.data,xr.finalSize)),Kr=new pa(ts,this.globalData,this)}if(this.textSpans[hr].glyph){var Wr=this.textSpans[hr].glyph;this.textSpans[hr].childSpan.removeChild(Wr.layerElement),Wr.destroy()}this.textSpans[hr].glyph=Kr,Kr._debug=!0,Kr.prepareFrame(0),Kr.renderFrame(),this.textSpans[hr].childSpan.appendChild(Kr.layerElement),Gr.t===1&&this.textSpans[hr].childSpan.setAttribute("transform","scale("+xr.finalSize/100+","+xr.finalSize/100+")")}else kr&&mr.setAttribute("transform","translate("+Sr.props[12]+","+Sr.props[13]+")"),mr.textContent=er[hr].val,mr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}kr&&mr&&mr.setAttribute("d",wr)}for(;hr<this.textSpans.length;)this.textSpans[hr].span.style.display="none",hr+=1;this._sizeChanged=!0},Ya.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var hr=this.layerElement.getBBox();this.bbox={top:hr.y,left:hr.x,width:hr.width,height:hr.height}}return this.bbox},Ya.prototype.getValue=function(){var hr,_r=this.textSpans.length,xr;for(this.renderedFrame=this.comp.renderedFrame,hr=0;hr<_r;hr+=1)xr=this.textSpans[hr].glyph,xr&&(xr.prepareFrame(this.comp.renderedFrame-this.data.st),xr._mdf&&(this._mdf=!0))},Ya.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var hr,_r,xr=this.textAnimator.renderedLetters,Dr=this.textProperty.currentData.l;_r=Dr.length;var Vr,Fr,er;for(hr=0;hr<_r;hr+=1)Dr[hr].n||(Vr=xr[hr],Fr=this.textSpans[hr].span,er=this.textSpans[hr].glyph,er&&er.renderFrame(),Vr._mdf.m&&Fr.setAttribute("transform",Vr.m),Vr._mdf.o&&Fr.setAttribute("op
851acity",Vr.o),Vr._mdf.sw&&Fr.setAttribute("stroke-width",Vr.sw),Vr._mdf.sc&&Fr.setAttribute("stroke",Vr.sc),Vr._mdf.fc&&Fr.setAttribute("fill",Vr.fc))}};function Ca(hr,_r,xr){this.initElement(hr,_r,xr)}nr([bo],Ca),Ca.prototype.createContent=function(){var hr=Rs("rect");hr.setAttribute("width",this.data.sw),hr.setAttribute("height",this.data.sh),hr.setAttribute("fill",this.data.sc),this.layerElement.appendChild(hr)};function qa(hr,_r,xr){this.initFrame(),this.initBaseData(hr,_r,xr),this.initFrame(),this.initTransform(hr,_r,xr),this.initHierarchy()}qa.prototype.prepareFrame=function(hr){this.prepareProperties(hr,!0)},qa.prototype.renderFrame=function(){},qa.prototype.getBaseElement=function(){return null},qa.prototype.destroy=function(){},qa.prototype.sourceRectAtTime=function(){},qa.prototype.hide=function(){},nr([$a,wn,Qa,xa],qa);function ja(){}nr([La],ja),ja.prototype.createNull=function(hr){return new qa(hr,this.globalData,this)},ja.prototype.createShape=function(hr){return new pa(hr,this.globalData,this)},ja.prototype.createText=function(hr){return new Ya(hr,this.globalData,this)},ja.prototype.createImage=function(hr){return new bo(hr,this.globalData,this)},ja.prototype.createSolid=function(hr){return new Ca(hr,this.globalData,this)},ja.prototype.configAnimation=function(hr){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+hr.w+" "+hr.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",hr.w),this.svgElement.setAttribute("height",hr.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var _r=this.globalData.defs;this.setupGlobalData(hr,_r),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=hr;var xr=Rs("clipPath"),Dr=Rs("rect");Dr.setAttribute("width",hr.w),Dr.setAttribute("height",hr.h),Dr.setAttribute("x",0),Dr.setAttribute("y",0);var Vr=Ur();xr.setAttribute("id",Vr),xr.appendChild(Dr),this.layerElement.setAttribute("clip-path","url("+fr()+"#"+Vr+")"),_r.appendChild(xr),this.layers=hr.layers,this.elements=ur(hr.layers.length)},ja.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var hr,_r=this.layers?this.layers.length:0;for(hr=0;hr<_r;hr+=1)this.elements[hr]&&this.elements[hr].destroy&&this.elements[hr].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},ja.prototype.updateContainerSize=function(){},ja.prototype.findIndexByInd=function(hr){var _r=0,xr=this.layers.length;for(_r=0;_r<xr;_r+=1)if(this.layers[_r].ind===hr)return _r;return-1},ja.prototype.buildItem=function(hr){var _r=this.elements;if(!(_r[hr]||this.layers[hr].ty===99)){_r[hr]=!0;var xr=this.createItem(this.layers[hr]);if(_r[hr]=xr,na()&&(this.layers[hr].ty===0&&this.globalData.projectInterface.registerComposition(xr),xr.initExpressions()),this.appendElementInPos(xr,hr),this.layers[hr].tt){var Dr="tp"in this.layers[hr]?this.findIndexByInd(this.layers[hr].tp):hr-1;if(Dr===-1)return;if(!this.elements[Dr]||this.elements[Dr]===!0)this.buildItem(Dr),this.addPendingElement(xr);else{var Vr=_r[Dr],Fr=Vr.getMatte(this.layers[hr].tt);xr.setMatte(Fr)}}}},ja.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var hr=this.pendingElements.pop();if(hr.checkParenting(),hr.data.tt)for(var _r=0,xr=this.elements.length;_r<xr;){if(this.elements[_r]===hr){var Dr="tp"in hr.data?this.findIndexByInd(hr.data.tp):_r-1,Vr=this.elements[Dr],Fr=Vr.getMatte(this.layers[_r].tt);hr.setMatte(Fr);break}_r+=1}}},ja.prototype.renderFrame=function(hr){if(!(this.renderedFrame===hr||this.destroyed)){hr===null?hr=this.renderedFrame:this.renderedFrame=hr,this.globalData.frameNum=hr,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=hr,this.globalData._mdf=!1;var _r,xr=this.layers.length;for(this.completeLayers||this.checkLayers(hr),_r=xr-1;_r>=0;_r-=1)(this.completeLayers||this.elements[_r])&&this.elements[_r].prepareFrame(hr-this.layers[_r].st);if(this.globalData._mdf)for(_r=0;_r<xr;_r+=1)(this.completeLayers||this.elements[_r])&&this.elements[_r].renderFrame()}},ja.prototype.appendElementInPos=function(hr,_r){var xr=hr.getBaseElement();if(xr){for(var Dr=0,Vr;Dr<_r;)this.elements[Dr]&&this.elements[Dr]!==!0&&this.elements[Dr].getBaseElement()&&
vendor: 213,092 bytes, lines 851-852
851(Vr=this.elements[Dr].getBaseElement()),Dr+=1;Vr?this.layerElement.insertBefore(xr,Vr):this.layerElement.appendChild(xr)}},ja.prototype.hide=function(){this.layerElement.style.display="none"},ja.prototype.show=function(){this.layerElement.style.display="block"};function jn(){}nr([$a,wn,Qa,xa,Mo],jn),jn.prototype.initElement=function(hr,_r,xr){this.initFrame(),this.initBaseData(hr,_r,xr),this.initTransform(hr,_r,xr),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!_r.progressiveLoad)&&this.buildAllItems(),this.hide()},jn.prototype.prepareFrame=function(hr){if(this._mdf=!1,this.prepareRenderableFrame(hr),this.prepareProperties(hr,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=hr/this.data.sr;else{var _r=this.tm.v;_r===this.data.op&&(_r=this.data.op-1),this.renderedFrame=_r}var xr,Dr=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),xr=Dr-1;xr>=0;xr-=1)(this.completeLayers||this.elements[xr])&&(this.elements[xr].prepareFrame(this.renderedFrame-this.layers[xr].st),this.elements[xr]._mdf&&(this._mdf=!0))}},jn.prototype.renderInnerContent=function(){var hr,_r=this.layers.length;for(hr=0;hr<_r;hr+=1)(this.completeLayers||this.elements[hr])&&this.elements[hr].renderFrame()},jn.prototype.setElements=function(hr){this.elements=hr},jn.prototype.getElements=function(){return this.elements},jn.prototype.destroyElements=function(){var hr,_r=this.layers.length;for(hr=0;hr<_r;hr+=1)this.elements[hr]&&this.elements[hr].destroy()},jn.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function br(hr,_r,xr){this.layers=hr.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?ur(this.layers.length):[],this.initElement(hr,_r,xr),this.tm=hr.tm?Ws.getProp(this,hr.tm,0,_r.frameRate,this):{_placeholder:!0}}nr([ja,jn,$n],br),br.prototype.createComp=function(hr){return new br(hr,this.globalData,this)};function Cr(hr,_r){this.animationItem=hr,this.layers=null,this.renderedFrame=-1,this.svgElement=Rs("svg");var xr="";if(_r&&_r.title){var Dr=Rs("title"),Vr=Ur();Dr.setAttribute("id",Vr),Dr.textContent=_r.title,this.svgElement.appendChild(Dr),xr+=Vr}if(_r&&_r.description){var Fr=Rs("desc"),er=Ur();Fr.setAttribute("id",er),Fr.textContent=_r.description,this.svgElement.appendChild(Fr),xr+=" "+er}xr&&this.svgElement.setAttribute("aria-labelledby",xr);var lr=Rs("defs");this.svgElement.appendChild(lr);var mr=Rs("g");this.svgElement.appendChild(mr),this.layerElement=mr,this.renderConfig={preserveAspectRatio:_r&&_r.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:_r&&_r.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:_r&&_r.contentVisibility||"visible",progressiveLoad:_r&&_r.progressiveLoad||!1,hideOnTransparent:!(_r&&_r.hideOnTransparent===!1),viewBoxOnly:_r&&_r.viewBoxOnly||!1,viewBoxSize:_r&&_r.viewBoxSize||!1,className:_r&&_r.className||"",id:_r&&_r.id||"",focusable:_r&&_r.focusable,filterSize:{width:_r&&_r.filterSize&&_r.filterSize.width||"100%",height:_r&&_r.filterSize&&_r.filterSize.height||"100%",x:_r&&_r.filterSize&&_r.filterSize.x||"0%",y:_r&&_r.filterSize&&_r.filterSize.y||"0%"},width:_r&&_r.width,height:_r&&_r.height,runExpressions:!_r||_r.runExpressions===void 0||_r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:lr,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}nr([ja],Cr),Cr.prototype.createComp=function(hr){return new br(hr,this.globalData,this)};var Rr={};function qr(hr){var _r,xr=hr.data.ef?hr.data.ef.length:0;this.filters=[];var Dr;for(_r=0;_r<xr;_r+=1){Dr=null;var Vr=hr.data.ef[_r].ty;if(Rr[Vr]){var Fr=Rr[Vr].effect;Dr=new Fr(hr.effectsManager.effectElements[_r],hr)}Dr&&this.filters.push(Dr)}this.filters.length&&hr.addRenderableComponent(this)}qr.prototype.renderFrame=function(hr){var _r,xr=this.filters.length;for(_r=0;_r<xr;_r+=1)this.filters[_r].renderFrame(hr)},qr.prototype.getEffects=function(hr){var _r,xr=this.filters.length,Dr=[];for(_r=0;_r<xr;_r+=1)this.filters[_r].type===hr&&Dr.push(this.filters[_r]);return Dr};function Qr(){}Qr.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=gr(this.data.tg||"div"),this.data.hasMask?(this.svgElement=Rs("svg"),this.layerElement=Rs("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,os(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new qr(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 hr=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var _r=this.finalTransform.mat.toCSS();hr.transform=_r,hr.webkitTransform=_r}this.finalTransform._opMdf&&(hr.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 Qn(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},Qr.prototype.getBaseElement=$n.prototype.getBaseElement,Qr.prototype.destroyBaseElement=Qr.prototype.destroy,Qr.prototype.buildElementParenting=La.prototype.buildElementParenting;function Jr(hr,_r,xr){this.initElement(hr,_r,xr)}nr([$a,wn,Qr,Qa,xa,Mo],Jr),Jr.prototype.createContent=function(){var hr;this.data.hasMask?(hr=Rs("rect"),hr.setAttribute("width",this.data.sw),hr.setAttribute("height",this.data.sh),hr.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(hr=gr("div"),hr.style.width=this.data.sw+"px",hr.style.height=this.data.sh+"px",hr.style.backgroundColor=this.data.sc),this.layerElement.appendChild(hr)};function fs(hr,_r,xr){this.shapes=[],this.shapesData=hr.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=Rs("g"),this.initElement(hr,_r,xr),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}nr([$a,wn,Jr,pa,Qr,Qa,xa,Bo],fs),fs.prototype._renderShapeFrame=fs.prototype.renderInnerContent,fs.prototype.createContent=function(){var hr;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),hr=this.svgElement;else{hr=Rs("svg");var _r=this.comp.data?this.comp.data:this.globalData.compSize;hr.setAttribute("width",_r.w),hr.setAttribute("height",_r.h),hr.appendChild(this.shapesContainer),this.layerElement.appendChild(hr)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=hr},fs.prototype.getTransformedPoint=function(hr,_r){var xr,Dr=hr.length;for(xr=0;xr<Dr;xr+=1)_r=hr[xr].mProps.v.applyToPointArray(_r[0],_r[1],0);return _r},fs.prototype.calculateShapeBoundingBox=function(hr,_r){var xr=hr.sh.v,Dr=hr.transformers,Vr,Fr=xr._length,er,lr,mr,Sr;if(!(Fr<=1)){for(Vr=0;Vr<Fr-1;Vr+=1)er=this.getTransformedPoint(Dr,xr.v[Vr]),lr=this.getTransformedPoint(Dr,xr.o[Vr]),mr=this.getTransformedPoint(Dr,xr.i[Vr+1]),Sr=this.getTransformedPoint(Dr,xr.v[Vr+1]),this.checkBounds(er,lr,mr,Sr,_r);xr.c&&(er=this.getTransformedPoint(Dr,xr.v[Vr]),lr=this.getTransformedPoint(Dr,xr.o[Vr]),mr=this.getTransformedPoint(Dr,xr.i[0]),Sr=this.getTransformedPoint(Dr,xr.v[0]),this.checkBounds(er,lr,mr,Sr,_r))}},fs.prototype.checkBounds=function(hr,_r,xr,Dr,Vr){this.getBoundsOfCurve(hr,_r,xr,Dr);var Fr=this.shapeBoundingBox;Vr.x=$r(Fr.left,Vr.x),Vr.xMax=zr(Fr.right,Vr.xMax),Vr.y=$r(Fr.top,Vr.y),Vr.yMax=zr(Fr.bottom,Vr.yMax)},fs.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},fs.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},fs.prototype.getBoundsOfCurve=function(hr,_r,xr,Dr){for(var Vr=[[hr[0],Dr[0]],[hr[1],Dr[1]]],Fr,er,lr,mr,Sr,wr,kr,Br=0;Br<2;++Br)er=6*hr[Br]-12*_r[Br]+6*xr[Br],Fr=-3*hr[Br]+9*_r[Br]-9*xr[Br]+3*Dr[Br],lr=3*_r[Br]-3*hr[Br],er|=0,Fr|=0,lr|=0,Fr===0&&er===0||(Fr===0?(mr=-lr/er,mr>0&&mr<1&&Vr[Br].push(this.calculateF(mr,hr,_r,xr,Dr,Br))):(Sr=er*er-4*lr*Fr,Sr>=0&&(wr=(-er+Pr(Sr))/(2*Fr),wr>0&&wr<1&&Vr[Br].push(this.calculateF(wr,hr,_r,xr,Dr,Br)),kr=(-er-Pr(Sr))/(2*Fr),kr>0&&kr<1&&Vr[Br].push(this.calculateF(kr,hr,_r,xr,Dr,Br)))));this.shapeBoundingBox.left=$r.apply(null,Vr[0]),this.shapeBoundingBox.top=$r.apply(null,Vr[1]),this.shapeBoundingBox.right=zr.apply(null,Vr[0]),this.shapeBoundingBox.bottom=zr.apply(null,Vr[1])},fs.prototype.calculateF=function(hr,_r,xr,Dr,Vr,Fr){return dr(1-hr,3)*_r[Fr]+3*dr(1-hr,2)*hr*xr[Fr]+3*(1-hr)*dr(hr,2)*Dr[Fr]+dr(hr,3)*Vr[Fr]},fs.prototype.calculateBoundingBox=function(hr,_r){var xr,Dr=hr.length;for(xr=0;xr<Dr;xr+=1)hr[xr]&&hr[xr].sh?this.calculateShapeBoundingBox(hr[xr],_r):hr[xr]&&hr[xr].it?this.calculateBoundingBox(hr[xr].it,_r):hr[xr]&&hr[xr].style&&hr[xr].w&&this.expandStrokeBoundingBox(hr[xr].w,_r)},fs.prototype.expandStrokeBoundingBox=function(hr,_r){var xr=0;if(hr.keyframes){for(var Dr=0;Dr<hr.keyframes.length;Dr+=1){var Vr=hr.keyframes[Dr].s;Vr>xr&&(xr=Vr)}xr*=hr.mult}else xr=hr.v*hr.mult;_r.x-=xr,_r.xMax+=xr,_r.y-=xr,_r.yMax+=xr},fs.prototype.currentBoxContains=function(hr){return this.currentBBox.x<=hr.x&&this.currentBBox.y<=hr.y&&this.currentBBox.width+this.currentBBox.x>=hr.x+hr.width&&this.currentBBox.height+this.currentBBox.y>=hr.y+hr.height},fs.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var hr=this.tempBoundingBox,_r=999999;if(hr.x=_r,hr.xMax=-_r,hr.y=_r,hr.yMax=-_r,this.calculateBoundingBox(this.itemsData,hr),hr.width=hr.xMax<hr.x?0:hr.xMax-hr.x,hr.height=hr.yMax<hr.y?0:hr.yMax-hr.y,this.currentBoxContains(hr))return;var xr=!1;if(this.currentBBox.w!==hr.width&&(this.currentBBox.w=hr.width,this.shapeCont.setAttribute("width",hr.width),xr=!0),this.currentBBox.h!==hr.height&&(this.currentBBox.h=hr.height,this.shapeCont.setAttribute("height",hr.height),xr=!0),xr||this.currentBBox.x!==hr.x||this.currentBBox.y!==hr.y){this.currentBBox.w=hr.width,this.currentBBox.h=hr.height,this.currentBBox.x=hr.x,this.currentBBox.y=hr.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var Dr=this.shapeCont.style,Vr="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";Dr.transform=Vr,Dr.webkitTransform=Vr}}};function Ss(hr,_r,xr){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(hr,_r,xr)}nr([$a,wn,Qr,Qa,xa,Mo,Ra],Ss),Ss.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var hr=Rs("g");this.maskedElement.appendChild(hr),this.innerElem=hr}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},Ss.prototype.buildNewText=function(){var hr=this.textProperty.currentData;this.renderedLetters=ur(hr.l?hr.l.length:0);var _r=this.innerElem.style,xr=hr.fc?this.buildColor(hr.fc):"rgba(0,0,0,0)";_r.fill=xr,_r.color=xr,hr.sc&&(_r.stroke=this.buildColor(hr.sc),_r.strokeWidth=hr.sw+"px");var Dr=this.globalData.fontManager.getFontByName(hr.f);if(!this.globalData.fontManager.chars)if(_r.fontSize=hr.finalSize+"px",_r.lineHeight=hr.finalSize+"px",Dr.fClass)this.innerElem.className=Dr.fClass;else{_r.fontFamily=Dr.fFamily;var Vr=hr.fWeight,Fr=hr.fStyle;_r.fontStyle=Fr,_r.fontWeight=Vr}var er,lr,mr=hr.l;lr=mr.length;var Sr,wr,kr,Br=this.mHelper,Yr,Hr="",Zr=0;for(er=0;er<lr;er+=1){if(this.globalData.fontManager.chars?(this.textPaths[Zr]?Sr=this.textPaths[Zr]:(Sr=Rs("path"),Sr.setAttribute("stroke-linecap",Oo[1]),Sr.setAttribute("stroke-linejoin",Ho[2]),Sr.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[Zr]?(wr=this.textSpans[Zr],kr=wr.children[0]):(wr=gr("div"),wr.style.lineHeight=0,kr=Rs("svg"),kr.appendChild(Sr),os(wr)))):this.isMasked?Sr=this.textPaths[Zr]?this.textPaths[Zr]:Rs("text"):this.textSpans[Zr]?(wr=this.textSpans[Zr],Sr=this.textPaths[Zr]):(wr=gr("span"),os(wr),Sr=gr("span"),os(Sr),wr.appendChild(Sr)),this.globalData.fontManager.chars){var ss=this.globalData.fontManager.getCharData(hr.finalText[er],Dr.fStyle,this.globalData.fontManager.getFontByName(hr.f).fFamily),Xr;if(ss?Xr=ss.data:Xr=null,Br.reset(),Xr&&Xr.shapes&&Xr.shapes.length&&(Yr=Xr.shapes[0].it,Br.scale(hr.finalSize/100,hr.finalSize/100),Hr=this.createPathShape(Br,Yr),Sr.setAttribute("d",Hr)),this.isMasked)this.innerElem.appendChild(Sr);else{if(this.innerElem.appendChild(wr),Xr&&Xr.shapes){document.body.appendChild(kr);var Nr=kr.getBBox();kr.setAttribute("width",Nr.width+2),kr.setAttribute("height",Nr.height+2),kr.setAttribute("viewBox",Nr.x-1+" "+(Nr.y-1)+" "+(Nr.width+2)+" "+(Nr.height+2));var Or=kr.style,Gr="translate("+(Nr.x-1)+"px,"+(Nr.y-1)+"px)";Or.transform=Gr,Or.webkitTransform=Gr,mr[er].yOffset=Nr.y-1}else kr.setAttribute("width",1),kr.setAttribute("height",1);wr.appendChild(kr)}}else if(Sr.textContent=mr[er].val,Sr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(Sr);else{this.innerElem.appendChild(wr);var Lr=Sr.style,Kr="translate3d(0,"+-hr.finalSize/1.2+"px,0)";Lr.transform=Kr,Lr.webkitTransform=Kr}this.isMasked?this.textSpans[Zr]=Sr:this.textSpans[Zr]=wr,this.textSpans[Zr].style.display="block",this.textPaths[Zr]=Sr,Zr+=1}for(;Zr<this.textSpans.length;)this.textSpans[Zr].style.display="none",Zr+=1},Ss.prototype.renderInnerContent=function(){this.validateText();var hr;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),hr=this.svgElement.style;var _r="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";hr.transform=_r,hr.webkitTransform=_r}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var xr,Dr,Vr=0,Fr=this.textAnimator.renderedLetters,er=this.textProperty.currentData.l;Dr=er.length;var lr,mr,Sr;for(xr=0;xr<Dr;xr+=1)er[xr].n?Vr+=1:(mr=this.textSpans[xr],Sr=this.textPaths[xr],lr=Fr[Vr],Vr+=1,lr._mdf.m&&(this.isMasked?mr.setAttribute("transform",lr.m):(mr.style.webkitTransform=lr.m,mr.style.transform=lr.m)),mr.style.opacity=lr.o,lr.sw&&lr._mdf.sw&&Sr.setAttribute("stroke-width",lr.sw),lr.sc&&lr._mdf.sc&&Sr.setAttribute("stroke",lr.sc),lr.fc&&lr._mdf.fc&&(Sr.setAttribute("fill",lr.fc),Sr.style.color=lr.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var wr=this.innerElem.getBBox();this.currentBBox.w!==wr.width&&(this.currentBBox.w=wr.width,this.svgElement.setAttribute("width",wr.width)),this.currentBBox.h!==wr.height&&(this.currentBBox.h=wr.height,this.svgElement.setAttribute("height",wr.height));var kr=1;if(this.currentBBox.w!==wr.width+kr*2||this.currentBBox.h!==wr.height+kr*2||this.currentBBox.x!==wr.x-kr||this.currentBBox.y!==wr.y-kr){this.currentBBox.w=wr.width+kr*2,this.currentBBox.h=wr.height+kr*2,this.currentBBox.x=wr.x-kr,this.currentBBox.y=wr.y-kr,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),hr=this.svgElement.style;var Br="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";hr.transform=Br,hr.webkitTransform=Br}}}};function us(hr,_r,xr){this.initFrame(),this.initBaseData(hr,_r,xr),this.initHierarchy();var Dr=Ws.getProp;if(this.pe=Dr(this,hr.pe,0,0,this),hr.ks.p.s?(this.px=Dr(this,hr.ks.p.x,1,0,this),this.py=Dr(this,hr.ks.p.y,1,0,this),this.pz=Dr(this,hr.ks.p.z,1,0,this)):this.p=Dr(this,hr.ks.p,1,0,this),hr.ks.a&&(this.a=Dr(this,hr.ks.a,1,0,this)),hr.ks.or.k.length&&hr.ks.or.k[0].to){var Vr,Fr=hr.ks.or.k.length;for(Vr=0;Vr<Fr;Vr+=1)hr.ks.or.k[Vr].to=null,hr.ks.or.k[Vr].ti=null}this.or=Dr(this,hr.ks.or,1,hs,this),this.or.sh=!0,this.rx=Dr(this,hr.ks.rx,0,hs,this),this.ry=Dr(this,hr.ks.ry,0,hs,this),this.rz=Dr(this,hr.ks.rz,0,hs,this),this.mat=new Zs,this._prevMat=new Zs,this._isFirstFrame=!0,this.finalTransform={mProp:this}}nr([$a,xa,Qa],us),us.prototype.setup=function(){var hr,_r=this.comp.threeDElements.length,xr,Dr,Vr;for(hr=0;hr<_r;hr+=1)if(xr=this.comp.threeDElements[hr],xr.type==="3d"){Dr=xr.perspectiveElem.style,Vr=xr.container.style;var Fr=this.pe.v+"px",er="0px 0px 0px",lr="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";Dr.perspective=Fr,Dr.webkitPerspective=Fr,Vr.transformOrigin=er,Vr.mozTransformOrigin=er,Vr.webkitTransformOrigin=er,Dr.transform=lr,Dr.webkitTransform=lr}},us.prototype.createElements=function(){},us.prototype.hide=function(){},us.prototype.renderFrame=function(){var hr=this._isFirstFrame,_r,xr;if(this.hierarchy)for(xr=this.hierarchy.length,_r=0;_r<xr;_r+=1)hr=this.hierarchy[_r].finalTransform.mProp._mdf||hr;if(hr||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(xr=this.hierarchy.length-1,_r=xr;_r>=0;_r-=1){var Dr=this.hierarchy[_r].finalTransform.mProp;this.mat.translate(-Dr.p.v[0],-Dr.p.v[1],Dr.p.v[2]),this.mat.rotateX(-Dr.or.v[0]).rotateY(-Dr.or.v[1]).rotateZ(Dr.or.v[2]),this.mat.rotateX(-Dr.rx.v).rotateY(-Dr.ry.v).rotateZ(Dr.rz.v),this.mat.scale(1/Dr.s.v[0],1/Dr.s.v[1],1/Dr.s.v[2]),this.mat.translate(Dr.a.v[0],Dr.a.v[1],Dr.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 Vr;this.p?Vr=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:Vr=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var Fr=Math.sqrt(Math.pow(Vr[0],2)+Math.pow(Vr[1],2)+Math.pow(Vr[2],2)),er=[Vr[0]/Fr,Vr[1]/Fr,Vr[2]/Fr],lr=Math.sqrt(er[2]*er[2]+er[0]*er[0]),mr=Math.atan2(er[1],lr),Sr=Math.atan2(er[0],-er[2]);this.mat.rotateY(Sr).rotateX(-mr)}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 wr=!this._prevMat.equals(this.mat);if((wr||this.pe._mdf)&&this.comp.threeDElements){xr=this.comp.threeDElements.length;var kr,Br,Yr;for(_r=0;_r<xr;_r+=1)if(kr=this.comp.threeDElements[_r],kr.type==="3d"){if(wr){var Hr=this.mat.toCSS();Yr=kr.container.style,Yr.transform=Hr,Yr.webkitTransform=Hr}this.pe._mdf&&(Br=kr.perspectiveElem.style,Br.perspective=this.pe.v+"px",Br.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},us.prototype.prepareFrame=function(hr){this.prepareProperties(hr,!0)},us.prototype.destroy=function(){},us.prototype.getBaseElement=function(){return null};function Ds(hr,_r,xr){this.assetData=_r.getAssetData(hr.refId),this.initElement(hr,_r,xr)}nr([$a,wn,Qr,Jr,Qa,xa,Bo],Ds),Ds.prototype.createContent=function(){var hr=this.globalData.getAssetsPath(this.assetData),_r=new Image;this.data.hasMask?(this.imageElem=Rs("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",hr),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(_r),_r.crossOrigin="anonymous",_r.src=hr,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function ks(hr,_r){this.animationItem=hr,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:_r&&_r.className||"",imagePreserveAspectRatio:_r&&_r.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(_r&&_r.hideOnTransparent===!1),filterSize:{width:_r&&_r.filterSize&&_r.filterSize.width||"400%",height:_r&&_r.filterSize&&_r.filterSize.height||"400%",x:_r&&_r.filterSize&&_r.filterSize.x||"-100%",y:_r&&_r.filterSize&&_r.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}nr([La],ks),ks.prototype.buildItem=Cr.prototype.buildItem,ks.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var hr=this.pendingElements.pop();hr.checkParenting()}},ks.prototype.appendElementInPos=function(hr,_r){var xr=hr.getBaseElement();if(xr){var Dr=this.layers[_r];if(!Dr.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(xr,_r);else{for(var Vr=0,Fr,er,lr;Vr<_r;)this.elements[Vr]&&this.elements[Vr]!==!0&&this.elements[Vr].getBaseElement&&(er=this.elements[Vr],lr=this.layers[Vr].ddd?this.getThreeDContainerByPos(Vr):er.getBaseElement(),Fr=lr||Fr),Vr+=1;Fr?(!Dr.ddd||!this.supports3d)&&this.layerElement.insertBefore(xr,Fr):(!Dr.ddd||!this.supports3d)&&this.layerElement.appendChild(xr)}else this.addTo3dContainer(xr,_r)}},ks.prototype.createShape=function(hr){return this.supports3d?new fs(hr,this.globalData,this):new pa(hr,this.globalData,this)},ks.prototype.createText=function(hr){return this.supports3d?new Ss(hr,this.globalData,this):new Ya(hr,this.globalData,this)},ks.prototype.createCamera=function(hr){return this.camera=new us(hr,this.globalData,this),this.camera},ks.prototype.createImage=function(hr){return this.supports3d?new Ds(hr,this.globalData,this):new bo(hr,this.globalData,this)},ks.prototype.createSolid=function(hr){return this.supports3d?new Jr(hr,this.globalData,this):new Ca(hr,this.globalData,this)},ks.prototype.createNull=Cr.prototype.createNull,ks.prototype.getThreeDContainerByPos=function(hr){for(var _r=0,xr=this.threeDElements.length;_r<xr;){if(this.threeDElements[_r].startPos<=hr&&this.threeDElements[_r].endPos>=hr)return this.threeDElements[_r].perspectiveElem;_r+=1}return null},ks.prototype.createThreeDContainer=function(hr,_r){var xr=gr("div"),Dr,Vr;os(xr);var Fr=gr("div");if(os(Fr),_r==="3d"){Dr=xr.style,Dr.width=this.globalData.compSize.w+"px",Dr.height=this.globalData.compSize.h+"px";var er="50% 50%";Dr.webkitTransformOrigin=er,Dr.mozTransformOrigin=er,Dr.transformOrigin=er,Vr=Fr.style;var lr="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";Vr.transform=lr,Vr.webkitTransform=lr}xr.appendChild(Fr);var mr={container:Fr,perspectiveElem:xr,startPos:hr,endPos:hr,type:_r};return this.threeDElements.push(mr),mr},ks.prototype.build3dContainers=function(){var hr,_r=this.layers.length,xr,Dr="";for(hr=0;hr<_r;hr+=1)this.layers[hr].ddd&&this.layers[hr].ty!==3?(Dr!=="3d"&&(Dr="3d",xr=this.createThreeDContainer(hr,"3d")),xr.endPos=Math.max(xr.endPos,hr)):(Dr!=="2d"&&(Dr="2d",xr=this.createThreeDContainer(hr,"2d")),xr.endPos=Math.max(xr.endPos,hr));for(_r=this.threeDElements.length,hr=_r-1;hr>=0;hr-=1)this.resizerElem.appendChild(this.threeDElements[hr].perspectiveElem)},ks.prototype.addTo3dContainer=function(hr,_r){for(var xr=0,Dr=this.threeDElements.length;xr<Dr;){if(_r<=this.threeDElements[xr].endPos){for(var Vr=this.threeDElements[xr].startPos,Fr;Vr<_r;)this.elements[Vr]&&this.elements[Vr].getBaseElement&&(Fr=this.elements[Vr].getBaseElement()),Vr+=1;Fr?this.threeDElements[xr].container.insertBefore(hr,Fr):this.threeDElements[xr].container.appendChild(hr);break}xr+=1}},ks.prototype.configAnimation=function(hr){var _r=gr("div"),xr=this.animationItem.wrapper,Dr=_r.style;Dr.width=hr.w+"px",Dr.height=hr.h+"px",this.resizerElem=_r,os(_r),Dr.transformStyle="flat",Dr.mozTransformStyle="flat",Dr.webkitTransformStyle="flat",this.renderConfig.className&&_r.setAttribute("class",this.renderConfig.className),xr.appendChild(_r),Dr.overflow="hidden";var Vr=Rs("svg");Vr.setAttribute("width","1"),Vr.setAttribute("height","1"),os(Vr),this.resizerElem.appendChild(Vr);var Fr=Rs("defs");Vr.appendChild(Fr),this.data=hr,this.setupGlobalData(hr,Vr),this.globalData.defs=Fr,this.layers=hr.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},ks.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var hr,_r=this.layers?this.layers.length:0;for(hr=0;hr<_r;hr+=1)this.elements[hr]&&this.elements[hr].destroy&&this.elements[hr].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},ks.prototype.updateContainerSize=function(){var hr=this.animationItem.wrapper.offsetWidth,_r=this.animationItem.wrapper.offsetHeight,xr=hr/_r,Dr=this.globalData.compSize.w/this.globalData.compSize.h,Vr,Fr,er,lr;Dr>xr?(Vr=hr/this.globalData.compSize.w,Fr=hr/this.globalData.compSize.w,er=0,lr=(_r-this.globalData.compSize.h*(hr/this.globalData.compSize.w))/2):(Vr=_r/this.globalData.compSize.h,Fr=_r/this.globalData.compSize.h,er=(hr-this.globalData.compSize.w*(_r/this.globalData.compSize.h))/2,lr=0);var mr=this.resizerElem.style;mr.webkitTransform="matrix3d("+Vr+",0,0,0,0,"+Fr+",0,0,0,0,1,0,"+er+","+lr+",0,1)",mr.transform=mr.webkitTransform},ks.prototype.renderFrame=Cr.prototype.renderFrame,ks.prototype.hide=function(){this.resizerElem.style.display="none"},ks.prototype.show=function(){this.resizerElem.style.display="block"},ks.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var hr=this.globalData.compSize.w,_r=this.globalData.compSize.h,xr,Dr=this.threeDElements.length;for(xr=0;xr<Dr;xr+=1){var Vr=this.threeDElements[xr].perspectiveElem.style;Vr.webkitPerspective=Math.sqrt(Math.pow(hr,2)+Math.pow(_r,2))+"px",Vr.perspective=Vr.webkitPerspective}}},ks.prototype.searchExtraCompositions=function(hr){var _r,xr=hr.length,Dr=gr("div");for(_r=0;_r<xr;_r+=1)if(hr[_r].xt){var Vr=this.createComp(hr[_r],Dr,this.globalData.comp,null);Vr.initExpressions(),this.globalData.projectInterface.registerComposition(Vr)}};function Ls(hr,_r,xr){this.layers=hr.layers,this.supports3d=!hr.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?ur(this.layers.length):[],this.initElement(hr,_r,xr),this.tm=hr.tm?Ws.getProp(this,hr.tm,0,_r.frameRate,this):{_placeholder:!0}}nr([ks,jn,Qr],Ls),Ls.prototype._createBaseContainerElements=Ls.prototype.createContainerElements,Ls.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},Ls.prototype.addTo3dContainer=function(hr,_r){for(var xr=0,Dr;xr<_r;)this.elements[xr]&&this.elements[xr].getBaseElement&&(Dr=this.elements[xr].getBaseElement()),xr+=1;Dr?this.layerElement.insertBefore(hr,Dr):this.layerElement.appendChild(hr)},Ls.prototype.createComp=function(hr){return this.supports3d?new Ls(hr,this.globalData,this):new br(hr,this.globalData,this)};function ys(hr,_r){this.animationItem=hr,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:_r&&_r.className||"",imagePreserveAspectRatio:_r&&_r.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(_r&&_r.hideOnTransparent===!1),filterSize:{width:_r&&_r.filterSize&&_r.filterSize.width||"400%",height:_r&&_r.filterSize&&_r.filterSize.height||"400%",x:_r&&_r.filterSize&&_r.filterSize.x||"-100%",y:_r&&_r.filterSize&&_r.filterSize.y||"-100%"},runExpressions:!_r||_r.runExpressions===void 0||_r.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}return nr([ks],ys),ys.prototype.createComp=function(hr){return this.supports3d?new Ls(hr,this.globalData,this):new br(hr,this.globalData,this)},aa("html",ys),Ba.registerModifier("tm",Rn),Ba.registerModifier("pb",Ja),Ba.registerModifier("rp",Bn),Ba.registerModifier("rd",mo),Ba.registerModifier("zz",Go),Ba.registerModifier("op",In),Va})}),Da=wa();const lottie_light_htmlSLCECTRTSYWXEBDN=Object.freeze(Object.defineProperty({__proto__:null,default:Da},Symbol.toStringTag,{value:"Module"}));var ut=u((exports,module)=>{typeof navigator<"u"&&function(t,e){typeof exports=="object"&&typeof module<"u"?module.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.lottie=e())}(exports,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var i,r=t.length,o;for(i=0;i<r;i+=1){o=t[i].prototype;for(var Zt in o)Object.prototype.hasOwnProperty.call(o,Zt)&&(e.prototype[Zt]=o[Zt])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].pause()},resume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].resume()},setRate:function(e){var i,r=this.audios.length;for(i=0;i<r;i+=1)this.audios[i].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,i=this.audios.length;for(e=0;e<i;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(i,r){var o=0,Zt=[],tr;switch(i){case"int16":case"uint8c":tr=1;break;default:tr=1.1;break}for(o=0;o<r;o+=1)Zt.push(tr);return Zt}function e(i,r){return i==="float32"?new Float32Array(r):i==="int16"?new Int16Array(r):i==="uint8c"?new Uint8ClampedArray(r):t(i,r)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(e){return typeof e}:_typeof$6=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,i=t.length;for(e=0;e<i;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var i=createSizedArray(t.length),r,o=t.length;for(r=0;r<o;r+=1)i[r]=Math.abs(t[r]);return i}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,i,r){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=r<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,i,r){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=r<0?-1:1}function BMSegmentStartEvent(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,i){var r,o,Zt,tr,ar,ir,fr,gr;switch(tr=Math.floor(t*6),ar=t*6-tr,ir=i*(1-e),fr=i*(1-ar*e),gr=i*(1-(1-ar)*e),tr%6){case 0:r=i,o=gr,Zt=ir;break;case 1:r=fr,o=i,Zt=ir;break;case 2:r=ir,o=i,Zt=gr;break;case 3:r=ir,o=fr,Zt=i;break;case 4:r=gr,o=ir,Zt=i;break;case 5:r=i,o=ir,Zt=fr;break}return[r,o,Zt]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),o=Math.min(t,e,i),Zt=r-o,tr,ar=r===0?0:Zt/r,ir=r/255;switch(r){case o:tr=0;break;case t:tr=e-i+Zt*(e<i?6:0),tr/=6*Zt;break;case e:tr=i-t+Zt*2,tr/=6*Zt;break;case i:tr=t-e+Zt*4,tr/=6*Zt;break}return[tr,ar,ir]}function addSaturationToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[1]+=e,i[1]>1?i[1]=1:i[1]<=0&&(i[1]=0),HSVtoRGB(i[0],i[1],i[2])}function addBrightnessToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[2]+=e,i[2]>1?i[2]=1:i[2]<0&&(i[2]=0),HSVtoRGB(i[0],i[1],i[2])}function addHueToRGB(t,e){var i=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);return i[0]+=e/360,i[0]>1?i[0]-=1:i[0]<0&&(i[0]+=1),HSVtoRGB(i[0],i[1],i[2])}var rgbToHex=function(){var t=[],e,i;for(e=0;e<256;e+=1)i=e.toString(16),t[e]=i.length===1?"0"+i:i;return function(r,o,Zt){return r<0&&(r=0),o<0&&(o=0),Zt<0&&(Zt=0),"#"+t[r]+t[o]+t[Zt]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(e){return typeof e}:_typeof$5=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(t)}var dataManager=function(){var t=1,e=[],i,r,o={onmessage:function(){},postMessage:function(rr){i({data:rr})}},Zt={postMessage:function(rr){o.onmessage({data:rr})}};function tr(rr){if(window.Worker&&window.Blob&&getWebWorker()){var vr=new Blob(["var _workerSelf = self; self.onmessage = ",rr.toString()],{type:"text/javascript"}),cr=URL.createObjectURL(vr);return new Worker(cr)}return i=rr,o}function ar(){r||(r=tr(function(rr){function vr(){function ur(is,cs){var Ar,Tr,yr=is.length,Mr,Ur,jr,Vs;for(Tr=0;Tr<yr;Tr+=1)if(Ar=is[Tr],"ks"in Ar&&!Ar.completed){if(Ar.completed=!0,Ar.hasMask){var Ts=Ar.masksProperties;for(Ur=Ts.length,Mr=0;Mr<Ur;Mr+=1)if(Ts[Mr].pt.k.i)dr(Ts[Mr].pt.k);else for(Vs=Ts[Mr].pt.k.length,jr=0;jr<Vs;jr+=1)Ts[Mr].pt.k[jr].s&&dr(Ts[Mr].pt.k[jr].s[0]),Ts[Mr].pt.k[jr].e&&dr(Ts[Mr].pt.k[jr].e[0])}Ar.ty===0?(Ar.layers=sr(Ar.refId,cs),ur(Ar.layers,cs)):Ar.ty===4?pr(Ar.shapes):Ar.ty===5&&os(Ar)}}function Er(is,cs){if(is){var Ar=0,Tr=is.length;for(Ar=0;Ar<Tr;Ar+=1)is[Ar].t===1&&(is[Ar].data.layers=sr(is[Ar].data.refId,cs),ur(is[Ar].data.layers,cs))}}function or(is,cs){for(var Ar=0,Tr=cs.length;Ar<Tr;){if(cs[Ar].id===is)return cs[Ar];Ar+=1}return null}function sr(is,cs){var Ar=or(is,cs);return Ar?Ar.layers.__used?JSON.parse(JSON.stringify(Ar.layers)):(Ar.layers.__used=!0,Ar.layers):null}function pr(is){var cs,Ar=is.length,Tr,yr;for(cs=Ar-1;cs>=0;cs-=1)if(is[cs].ty==="sh")if(is[cs].ks.k.i)dr(is[cs].ks.k);else for(yr=is[cs].ks.k.length,Tr=0;Tr<yr;Tr+=1)is[cs].ks.k[Tr].s&&dr(is[cs].ks.k[Tr].s[0]),is[cs].ks.k[Tr].e&&dr(is[cs].ks.k[Tr].e[0]);else is[cs].ty==="gr"&&pr(is[cs].it)}function dr(is){var cs,Ar=is.i.length;for(cs=0;cs<Ar;cs+=1)is.i[cs][0]+=is.v[cs][0],is.i[cs][1]+=is.v[cs][1],is.o[cs][0]+=is.v[cs][0],is.o[cs][1]+=is.v[cs][1]}function Pr(is,cs){var Ar=cs?cs.split("."):[100,100,100];return is[0]>Ar[0]?!0:Ar[0]>is[0]?!1:is[1]>Ar[1]?!0:Ar[1]>is[1]?!1:is[2]>Ar[2]?!0:Ar[2]>is[2]?!1:null}var Ir=function(){var is=[4,4,14];function cs(Tr){var yr=Tr.t.d;Tr.t.d={k:[{s:yr,t:0}]}}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),zr=function(){var is=[4,7,99];return function(cs){if(cs.chars&&!Pr(is,cs.v)){var Ar,Tr=cs.chars.length;for(Ar=0;Ar<Tr;Ar+=1){var yr=cs.chars[Ar];yr.data&&yr.data.shapes&&(pr(yr.data.shapes),yr.data.ip=0,yr.data.op=99999,yr.data.st=0,yr.data.sr=1,yr.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},cs.chars[Ar].t||(yr.data.shapes.push({ty:"no"}),yr.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),$r=function(){var is=[5,7,15];function cs(Tr){var yr=Tr.t.p;typeof yr.a=="number"&&(yr.a={a:0,k:yr.a}),typeof yr.p=="number"&&(yr.p={a:0,k:yr.p}),typeof yr.r=="number"&&(yr.r={a:0,k:yr.r})}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===5&&cs(Tr[yr])}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),es=function(){var is=[4,1,9];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=0;yr<Mr;yr+=1)if(Tr[yr].ty==="gr")cs(Tr[yr].it);else if(Tr[yr].ty==="fl"||Tr[yr].ty==="st")if(Tr[yr].c.k&&Tr[yr].c.k[0].i)for(jr=Tr[yr].c.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].c.k[Ur].s&&(Tr[yr].c.k[Ur].s[0]/=255,Tr[yr].c.k[Ur].s[1]/=255,Tr[yr].c.k[Ur].s[2]/=255,Tr[yr].c.k[Ur].s[3]/=255),Tr[yr].c.k[Ur].e&&(Tr[yr].c.k[Ur].e[0]/=255,Tr[yr].c.k[Ur].e[1]/=255,Tr[yr].c.k[Ur].e[2]/=255,Tr[yr].c.k[Ur].e[3]/=255);else Tr[yr].c.k[0]/=255,Tr[yr].c.k[1]/=255,Tr[yr].c.k[2]/=255,Tr[yr].c.k[3]/=255}function Ar(Tr){var yr,Mr=Tr.length;for(yr=0;yr<Mr;yr+=1)Tr[yr].ty===4&&cs(Tr[yr].shapes)}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}(),hs=function(){var is=[4,4,18];function cs(Tr){var yr,Mr=Tr.length,Ur,jr;for(yr=Mr-1;yr>=0;yr-=1)if(Tr[yr].ty==="sh")if(Tr[yr].ks.k.i)Tr[yr].ks.k.c=Tr[yr].closed;else for(jr=Tr[yr].ks.k.length,Ur=0;Ur<jr;Ur+=1)Tr[yr].ks.k[Ur].s&&(Tr[yr].ks.k[Ur].s[0].c=Tr[yr].closed),Tr[yr].ks.k[Ur].e&&(Tr[yr].ks.k[Ur].e[0].c=Tr[yr].closed);else Tr[yr].ty==="gr"&&cs(Tr[yr].it)}function Ar(Tr){var yr,Mr,Ur=Tr.length,jr,Vs,Ts,Ns;for(Mr=0;Mr<Ur;Mr+=1){if(yr=Tr[Mr],yr.hasMask){var Bs=yr.masksProperties;for(Vs=Bs.length,jr=0;jr<Vs;jr+=1)if(Bs[jr].pt.k.i)Bs[jr].pt.k.c=Bs[jr].cl;else for(Ns=Bs[jr].pt.k.length,Ts=0;Ts<Ns;Ts+=1)Bs[jr].pt.k[Ts].s&&(Bs[jr].pt.k[Ts].s[0].c=Bs[jr].cl),Bs[jr].pt.k[Ts].e&&(Bs[jr].pt.k[Ts].e[0].c=Bs[jr].cl)}yr.ty===4&&cs(yr.shapes)}}return function(Tr){if(Pr(is,Tr.v)&&(Ar(Tr.layers),Tr.assets)){var yr,Mr=Tr.assets.length;for(yr=0;yr<Mr;yr+=1)Tr.assets[yr].layers&&Ar(Tr.assets[yr].layers)}}}();function ps(is){is.__complete||(es(is),Ir(is),zr(is),$r(is),hs(is),ur(is.layers,is.assets),Er(is.chars,is.assets),is.__complete=!0)}function os(is){is.t.a.length===0&&"m"in is.t.p}var xs={};return xs.completeData=ps,xs.checkColors=es,xs.checkChars=zr,xs.checkPathProperties=$r,xs.checkShapes=hs,xs.completeLayers=ur,xs}if(Zt.dataManager||(Zt.dataManager=vr()),Zt.assetLoader||(Zt.assetLoader=function(){function ur(or){var sr=or.getResponseHeader("content-type");return sr&&or.responseType==="json"&&sr.indexOf("json")!==-1||or.response&&_typeof$5(or.response)==="object"?or.response:or.response&&typeof or.response=="string"?JSON.parse(or.response):or.responseText?JSON.parse(or.responseText):null}function Er(or,sr,pr,dr){var Pr,Ir=new XMLHttpRequest;try{Ir.responseType="json"}catch{}Ir.onreadystatechange=function(){if(Ir.readyState===4)if(Ir.status===200)Pr=ur(Ir),pr(Pr);else try{Pr=ur(Ir),pr(Pr)}catch(zr){dr&&dr(zr)}};try{Ir.open(["G","E","T"].join(""),or,!0)}catch{Ir.open(["G","E","T"].join(""),sr+"/"+or,!0)}Ir.send()}return{load:Er}}()),rr.data.type==="loadAnimation")Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.dataManager.completeData(ur),Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})});else if(rr.data.type==="complete"){var cr=rr.data.animation;Zt.dataManager.completeData(cr),Zt.postMessage({id:rr.data.id,payload:cr,status:"success"})}else rr.data.type==="loadData"&&Zt.assetLoader.load(rr.data.path,rr.data.fullPath,function(ur){Zt.postMessage({id:rr.data.id,payload:ur,status:"success"})},function(){Zt.postMessage({id:rr.data.id,status:"error"})})}),r.onmessage=function(rr){var vr=rr.data,cr=vr.id,ur=e[cr];e[cr]=null,vr.status==="success"?ur.onComplete(vr.payload):ur.onError&&ur.onError()})}function ir(rr,vr){t+=1;var cr="processId_"+t;return e[cr]={onComplete:rr,onError:vr},cr}function fr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadAnimation",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function gr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"loadData",path:rr,fullPath:window.location.origin+window.location.pathname,id:ur})}function nr(rr,vr,cr){ar();var ur=ir(vr,cr);r.postMessage({type:"complete",animation:rr,id:ur})}return{loadAnimation:fr,loadData:gr,completeAnimation:nr}}(),ImagePreloader=function(){var t=function(){var or=createTag("canvas");or.width=1,or.height=1;var sr=or.getContext("2d");return sr.fillStyle="rgba(0,0,0,0)",sr.fillRect(0,0,1,1),or}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(or,sr,pr){var dr="";if(or.e)dr=or.p;else if(sr){var Pr=or.p;Pr.indexOf("images/")!==-1&&(Pr=Pr.split("/")[1]),dr=sr+Pr}else dr=pr,dr+=or.u?or.u:"",dr+=or.p;return dr}function o(or){var sr=0,pr=setInterval(function(){var dr=or.getBBox();(dr.width||sr>500)&&(this._imageLoaded(),clearInterval(pr)),sr+=1}.bind(this),50)}function Zt(or){var sr=r(or,this.assetsPath,this.path),pr=createNS("image");isSafari?this.testImageLoaded(pr):pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.setAttributeNS("http://www.w3.org/1999/xlink","href",sr),this._elementHelper.append?this._elementHelper.append(pr):this._elementHelper.appendChild(pr);var dr={img:pr,assetData:or};return dr}function tr(or){var sr=r(or,this.assetsPath,this.path),pr=createTag("img");pr.crossOrigin="anonymous",pr.addEventListener("load",this._imageLoaded,!1),pr.addEventListener("error",function(){dr.img=t,this._imageLoaded()}.bind(this),!1),pr.src=sr;var dr={img:pr,assetData:or};return dr}function ar(or){var sr={assetData:or},pr=r(or,this.assetsPath,this.path);return dataManager.loadData(pr,function(dr){sr.img=dr,this._footageLoaded()}.bind(this),function(){sr.img={},this._footageLoaded()}.bind(this)),sr}function ir(or,sr){this.imagesLoadedCb=sr;var pr,dr=or.length;for(pr=0;pr<dr;pr+=1)or[pr].layers||(!or[pr].t||or[pr].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(or[pr]))):or[pr].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(or[pr]))))}function fr(or){this.path=or||""}function gr(or){this.assetsPath=or||""}function nr(or){for(var sr=0,pr=this.images.length;sr<pr;){if(this.images[sr].assetData===or)return this.images[sr].img;sr+=1}return null}function rr(){this.imagesLoadedCb=null,this.images.length=0}function vr(){return this.totalImages===this.loadedAssets}function cr(){return this.totalFootages===this.loadedFootagesCount}function ur(or,sr){or==="svg"?(this._elementHelper=sr,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function Er(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=o.bind(this),this.createFootageData=ar.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return Er.prototype={loadAssets:ir,setAssetsPath:gr,setPath:fr,loadedImages:vr,loadedFootages:cr,destroy:rr,getAsset:nr,createImgData:tr,createImageData:Zt,imageLoaded:e,footageLoaded:i,setCacheType:ur},Er}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],r=0;r<i.length;r+=1)i[r](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(!e)this._cbs[t]=null;else if(this._cbs[t]){for(var i=0,r=this._cbs[t].length;i<r;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,r-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var markerParser=function(){function t(e){for(var i=e.split(`\r
852`),r={},o,Zt=0,tr=0;tr<i.length;tr+=1)o=i[tr].split(":"),o.length===2&&(r[o[0]]=o[1].trim(),Zt+=1);if(Zt===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var o=e[r],Zt={time:o.tm,duration:o.dr};try{Zt.payload=JSON.parse(e[r].cm)}catch{try{Zt.payload=t(e[r].cm)}catch{Zt.payload={name:e[r].cm}}}i.push(Zt)}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var r=0,o=this.compositions.length;r<o;){if(this.compositions[r].data&&this.compositions[r].data.nm===i)return this.compositions[r].prepareFrame&&this.compositions[r].data.xt&&this.compositions[r].prepareFrame(this.currentFrame),this.compositions[r].compInterface;r+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(e){return typeof e}:_typeof$4=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var i=getRenderer(e);this.renderer=new i(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,t.loop===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&_typeof$4(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},r=t.attributes;i.path=r.getNamedItem("data-animation-path")?r.getNamedItem("data-animation-path").value:r.getNamedItem("data-bm-path")?r.getNamedItem("data-bm-path").value:r.getNamedItem("bm-path")?r.getNamedItem("bm-path").value:"",i.animType=r.getNamedItem("data-anim-type")?r.getNamedItem("data-anim-type").value:r.getNamedItem("data-bm-type")?r.getNamedItem("data-bm-type").value:r.getNamedItem("bm-type")?r.getNamedItem("bm-type").value:r.getNamedItem("data-bm-renderer")?r.getNamedItem("data-bm-renderer").value:r.getNamedItem("bm-renderer")?r.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var o=r.getNamedItem("data-anim-loop")?r.getNamedItem("data-anim-loop").value:r.getNamedItem("data-bm-loop")?r.getNamedItem("data-bm-loop").value:r.getNamedItem("bm-loop")?r.getNamedItem("bm-loop").value:"";o==="false"?i.loop=!1:o==="true"?i.loop=!0:o!==""&&(i.loop=parseInt(o,10));var Zt=r.getNamedItem("data-anim-autoplay")?r.getNamedItem("data-anim-autoplay").value:r.getNamedItem("data-bm-autoplay")?r.getNamedItem("data-bm-autoplay").value:r.getNamedItem("bm-autoplay")?r.getNamedItem("bm-autoplay").value:!0;i.autoplay=Zt!=="false",i.name=r.getNamedItem("data-name")?r.getNamedItem("data-name").value:r.getNamedItem("data-bm-name")?r.getNamedItem("data-bm-name").value:r.getNamedItem("bm-name")?r.getNamedItem("bm-name").value:"";var tr=r.getNamedItem("data-anim-prerender")?r.getNamedItem("data-anim-prerender").value:r.getNamedItem("data-bm-prerender")?r.getNamedItem("data-bm-prerender").value:r.getNamedItem("bm-prerender")?r.getNamedItem("bm-prerender").value:"";tr==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e=this.animationData.layers,i,r=e.length,o=t.layers,Zt,tr=o.length;for(Zt=0;Zt<tr;Zt+=1)for(i=0;i<r;){if(e[i].id===o[Zt].id){e[i]=o[Zt];break}i+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(r=t.assets.length,i=0;i<r;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var e=t.shift();this.timeCompleted=e.time*this.frameRate;var i=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(i,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,r=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,r)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.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,i=0;i<this.markers.length;i+=1)if(e=this.markers[i],e.payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&this.goToAndStop(o.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var r=Number(t);if(isNaN(r)){var o=this.getMarkerData(t);o&&(o.duration?this.playSegments([o.time,o.time+o.duration],!0):this.goToAndStop(o.time,!0))}else this.goToAndStop(r,e,i);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,i=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(i=!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):(i=!0,e=0)):this.setCurrentRawFrameValue(e),i&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]<t[0]?(this.frameModifier>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 i=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?i=t:this.currentRawFrame+this.firstFrame>e&&(i=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,i!==-1&&this.goToAndStop(i,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){var i,r=t.length;for(i=0;i<r;i+=1)this.segments.push(t[i])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.expressionsPlugin=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var i=t.p;i.indexOf("images/")!==-1&&(i=i.split("/")[1]),e=this.assetsPath+i}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,i=this.assets.length;e<i;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,i){try{var r=this.renderer.getElementByPath(t);r.updateDocumentData(e,i)}catch{}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],i=0,r=0,o=0,Zt=!0,tr=!1;function ar(Ar){for(var Tr=0,yr=Ar.target;Tr<r;)e[Tr].animation===yr&&(e.splice(Tr,1),Tr-=1,r-=1,yr.isPaused||nr()),Tr+=1}function ir(Ar,Tr){if(!Ar)return null;for(var yr=0;yr<r;){if(e[yr].elem===Ar&&e[yr].elem!==null)return e[yr].animation;yr+=1}var Mr=new AnimationItem;return rr(Mr,Ar),Mr.setData(Ar,Tr),Mr}function fr(){var Ar,Tr=e.length,yr=[];for(Ar=0;Ar<Tr;Ar+=1)yr.push(e[Ar].animation);return yr}function gr(){o+=1,hs()}function nr(){o-=1}function rr(Ar,Tr){Ar.addEventListener("destroy",ar),Ar.addEventListener("_active",gr),Ar.addEventListener("_idle",nr),e.push({elem:Tr,animation:Ar}),r+=1}function vr(Ar){var Tr=new AnimationItem;return rr(Tr,null),Tr.setParams(Ar),Tr}function cr(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setSpeed(Ar,Tr)}function ur(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setDirection(Ar,Tr)}function Er(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.play(Ar)}function or(Ar){var Tr=Ar-i,yr;for(yr=0;yr<r;yr+=1)e[yr].animation.advanceTime(Tr);i=Ar,o&&!tr?window.requestAnimationFrame(or):Zt=!0}function sr(Ar){i=Ar,window.requestAnimationFrame(or)}function pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.pause(Ar)}function dr(Ar,Tr,yr){var Mr;for(Mr=0;Mr<r;Mr+=1)e[Mr].animation.goToAndStop(Ar,Tr,yr)}function Pr(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.stop(Ar)}function Ir(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.togglePause(Ar)}function zr(Ar){var Tr;for(Tr=r-1;Tr>=0;Tr-=1)e[Tr].animation.destroy(Ar)}function $r(Ar,Tr,yr){var Mr=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Ur,jr=Mr.length;for(Ur=0;Ur<jr;Ur+=1)yr&&Mr[Ur].setAttribute("data-bm-type",yr),ir(Mr[Ur],Ar);if(Tr&&jr===0){yr||(yr="svg");var Vs=document.getElementsByTagName("body")[0];Vs.innerText="";var Ts=createTag("div");Ts.style.width="100%",Ts.style.height="100%",Ts.setAttribute("data-bm-type",yr),Vs.appendChild(Ts),ir(Ts,Ar)}}function es(){var Ar;for(Ar=0;Ar<r;Ar+=1)e[Ar].animation.resize()}function hs(){!tr&&o&&Zt&&(window.requestAnimationFrame(sr),Zt=!1)}function ps(){tr=!0}function os(){tr=!1,hs()}function xs(Ar,Tr){var yr;for(yr=0;yr<r;yr+=1)e[yr].animation.setVolume(Ar,Tr)}function is(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.mute(Ar)}function cs(Ar){var Tr;for(Tr=0;Tr<r;Tr+=1)e[Tr].animation.unmute(Ar)}return t.registerAnimation=ir,t.loadAnimation=vr,t.setSpeed=cr,t.setDirection=ur,t.play=Er,t.pause=pr,t.stop=Pr,t.togglePause=Ir,t.searchAnimations=$r,t.resize=es,t.goToAndStop=dr,t.destroy=zr,t.freeze=ps,t.unfreeze=os,t.setVolume=xs,t.mute=is,t.unmute=cs,t.getRegisteredAnimations=fr,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(sr,pr,dr,Pr,Ir){var zr=Ir||("bez_"+sr+"_"+pr+"_"+dr+"_"+Pr).replace(/\./g,"p");if(e[zr])return e[zr];var $r=new or([sr,pr,dr,Pr]);return e[zr]=$r,$r}var r=4,o=.001,Zt=1e-7,tr=10,ar=11,ir=1/(ar-1),fr=typeof Float32Array=="function";function gr(sr,pr){return 1-3*pr+3*sr}function nr(sr,pr){return 3*pr-6*sr}function rr(sr){return 3*sr}function vr(sr,pr,dr){return((gr(pr,dr)*sr+nr(pr,dr))*sr+rr(pr))*sr}function cr(sr,pr,dr){return 3*gr(pr,dr)*sr*sr+2*nr(pr,dr)*sr+rr(pr)}function ur(sr,pr,dr,Pr,Ir){var zr,$r,es=0;do $r=pr+(dr-pr)/2,zr=vr($r,Pr,Ir)-sr,zr>0?dr=$r:pr=$r;while(Math.abs(zr)>Zt&&++es<tr);return $r}function Er(sr,pr,dr,Pr){for(var Ir=0;Ir<r;++Ir){var zr=cr(pr,dr,Pr);if(zr===0)return pr;var $r=vr(pr,dr,Pr)-sr;pr-=$r/zr}return pr}function or(sr){this._p=sr,this._mSampleValues=fr?new Float32Array(ar):new Array(ar),this._precomputed=!1,this.get=this.get.bind(this)}return or.prototype={get:function(sr){var pr=this._p[0],dr=this._p[1],Pr=this._p[2],Ir=this._p[3];return this._precomputed||this._precompute(),pr===dr&&Pr===Ir?sr:sr===0?0:sr===1?1:vr(this._getTForX(sr),dr,Ir)},_precompute:function(){var sr=this._p[0],pr=this._p[1],dr=this._p[2],Pr=this._p[3];this._precomputed=!0,(sr!==pr||dr!==Pr)&&this._calcSampleValues()},_calcSampleValues:function(){for(var sr=this._p[0],pr=this._p[2],dr=0;dr<ar;++dr)this._mSampleValues[dr]=vr(dr*ir,sr,pr)},_getTForX:function(sr){for(var pr=this._p[0],dr=this._p[2],Pr=this._mSampleValues,Ir=0,zr=1,$r=ar-1;zr!==$r&&Pr[zr]<=sr;++zr)Ir+=ir;--zr;var es=(sr-Pr[zr])/(Pr[zr+1]-Pr[zr]),hs=Ir+es*ir,ps=cr(hs,pr,dr);return ps>=o?Er(sr,hs,pr,dr):ps===0?hs:ur(sr,Ir,Ir+ir,pr,dr)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,i){var r=0,o=t,Zt=createSizedArray(o),tr={newElement:ar,release:ir};function ar(){var fr;return r?(r-=1,fr=Zt[r]):fr=e(),fr}function ir(fr){r===o&&(Zt=pooling.double(Zt),o*=2),i&&i(fr),Zt[r]=fr,r+=1}return tr}}(),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(i){var r,o=i.lengths.length;for(r=0;r<o;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(rr,vr,cr,ur,Er,or){var sr=rr*ur+vr*Er+cr*or-Er*ur-or*rr-cr*vr;return sr>-.001&&sr<.001}function i(rr,vr,cr,ur,Er,or,sr,pr,dr){if(cr===0&&or===0&&dr===0)return e(rr,vr,ur,Er,sr,pr);var Pr=t.sqrt(t.pow(ur-rr,2)+t.pow(Er-vr,2)+t.pow(or-cr,2)),Ir=t.sqrt(t.pow(sr-rr,2)+t.pow(pr-vr,2)+t.pow(dr-cr,2)),zr=t.sqrt(t.pow(sr-ur,2)+t.pow(pr-Er,2)+t.pow(dr-or,2)),$r;return Pr>Ir?Pr>zr?$r=Pr-Ir-zr:$r=zr-Ir-Pr:zr>Ir?$r=zr-Ir-Pr:$r=Ir-Pr-zr,$r>-1e-4&&$r<1e-4}var r=function(){return function(rr,vr,cr,ur){var Er=getDefaultCurveSegments(),or,sr,pr,dr,Pr,Ir=0,zr,$r=[],es=[],hs=bezierLengthPool.newElement();for(pr=cr.length,or=0;or<Er;or+=1){for(Pr=or/(Er-1),zr=0,sr=0;sr<pr;sr+=1)dr=bmPow(1-Pr,3)*rr[sr]+3*bmPow(1-Pr,2)*Pr*cr[sr]+3*(1-Pr)*bmPow(Pr,2)*ur[sr]+bmPow(Pr,3)*vr[sr],$r[sr]=dr,es[sr]!==null&&(zr+=bmPow($r[sr]-es[sr],2)),es[sr]=$r[sr];zr&&(zr=bmSqrt(zr),Ir+=zr),hs.percents[or]=Pr,hs.lengths[or]=Ir}return hs.addedLength=Ir,hs}}();function o(rr){var vr=segmentsLengthPool.newElement(),cr=rr.c,ur=rr.v,Er=rr.o,or=rr.i,sr,pr=rr._length,dr=vr.lengths,Pr=0;for(sr=0;sr<pr-1;sr+=1)dr[sr]=r(ur[sr],ur[sr+1],Er[sr],or[sr+1]),Pr+=dr[sr].addedLength;return cr&&pr&&(dr[sr]=r(ur[sr],ur[0],Er[sr],or[0]),Pr+=dr[sr].addedLength),vr.totalLength=Pr,vr}function Zt(rr){this.segmentLength=0,this.points=new Array(rr)}function tr(rr,vr){this.partialLength=rr,this.point=vr}var ar=function(){var rr={};return function(vr,cr,ur,Er){var or=(vr[0]+"_"+vr[1]+"_"+cr[0]+"_"+cr[1]+"_"+ur[0]+"_"+ur[1]+"_"+Er[0]+"_"+Er[1]).replace(/\./g,"p");if(!rr[or]){var sr=getDefaultCurveSegments(),pr,dr,Pr,Ir,zr,$r=0,es,hs,ps=null;vr.length===2&&(vr[0]!==cr[0]||vr[1]!==cr[1])&&e(vr[0],vr[1],cr[0],cr[1],vr[0]+ur[0],vr[1]+ur[1])&&e(vr[0],vr[1],cr[0],cr[1],cr[0]+Er[0],cr[1]+Er[1])&&(sr=2);var os=new Zt(sr);for(Pr=ur.length,pr=0;pr<sr;pr+=1){for(hs=createSizedArray(Pr),zr=pr/(sr-1),es=0,dr=0;dr<Pr;dr+=1)Ir=bmPow(1-zr,3)*vr[dr]+3*bmPow(1-zr,2)*zr*(vr[dr]+ur[dr])+3*(1-zr)*bmPow(zr,2)*(cr[dr]+Er[dr])+bmPow(zr,3)*cr[dr],hs[dr]=Ir,ps!==null&&(es+=bmPow(hs[dr]-ps[dr],2));es=bmSqrt(es),$r+=es,os.points[pr]=new tr(es,hs),ps=hs}os.segmentLength=$r,rr[or]=os}return rr[or]}}();function ir(rr,vr){var cr=vr.percents,ur=vr.lengths,Er=cr.length,or=bmFloor((Er-1)*rr),sr=rr*vr.addedLength,pr=0;if(or===Er-1||or===0||sr===ur[or])return cr[or];for(var dr=ur[or]>sr?-1:1,Pr=!0;Pr;)if(ur[or]<=sr&&ur[or+1]>sr?(pr=(sr-ur[or])/(ur[or+1]-ur[or]),Pr=!1):or+=dr,or<0||or>=Er-1){if(or===Er-1)return cr[or];Pr=!1}return cr[or]+(cr[or+1]-cr[or])*pr}function fr(rr,vr,cr,ur,Er,or){var sr=ir(Er,or),pr=1-sr,dr=t.round((pr*pr*pr*rr[0]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[0]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[0]+sr*sr*sr*vr[0])*1e3)/1e3,Pr=t.round((pr*pr*pr*rr[1]+(sr*pr*pr+pr*sr*pr+pr*pr*sr)*cr[1]+(sr*sr*pr+pr*sr*sr+sr*pr*sr)*ur[1]+sr*sr*sr*vr[1])*1e3)/1e3;return[dr,Pr]}var gr=createTypedArray("float32",8);function nr(rr,vr,cr,ur,Er,or,sr){Er<0?Er=0:Er>1&&(Er=1);var pr=ir(Er,sr);or=or>1?1:or;var dr=ir(or,sr),Pr,Ir=rr.length,zr=1-pr,$r=1-dr,es=zr*zr*zr,hs=pr*zr*zr*3,ps=pr*pr*zr*3,os=pr*pr*pr,xs=zr*zr*$r,is=pr*zr*$r+zr*pr*$r+zr*zr*dr,cs=pr*pr*$r+zr*pr*dr+pr*zr*dr,Ar=pr*pr*dr,Tr=zr*$r*$r,yr=pr*$r*$r+zr*dr*$r+zr*$r*dr,Mr=pr*dr*$r+zr*dr*dr+pr*$r*dr,Ur=pr*dr*dr,jr=$r*$r*$r,Vs=dr*$r*$r+$r*dr*$r+$r*$r*dr,Ts=dr*dr*$r+$r*dr*dr+dr*$r*dr,Ns=dr*dr*dr;for(Pr=0;Pr<Ir;Pr+=1)gr[Pr*4]=t.round((es*rr[Pr]+hs*cr[Pr]+ps*ur[Pr]+os*vr[Pr])*1e3)/1e3,gr[Pr*4+1]=t.round((xs*rr[Pr]+is*cr[Pr]+cs*ur[Pr]+Ar*vr[Pr])*1e3)/1e3,gr[Pr*4+2]=t.round((Tr*rr[Pr]+yr*cr[Pr]+Mr*ur[Pr]+Ur*vr[Pr])*1e3)/1e3,gr[Pr*4+3]=t.round((jr*rr[Pr]+Vs*cr[Pr]+Ts*ur[Pr]+Ns*vr[Pr])*1e3)/1e3;return gr}return{getSegmentsLength:o,getNewSegment:nr,getPointInSegment:fr,buildBezierData:ar,pointOnLine2D:e,pointOnLine3D:i}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var i=this.offsetTime,r;this.propType==="multidimensional"&&(r=createTypedArray("float32",this.pv.length));for(var o=e.lastIndex,Zt=o,tr=this.keyframes.length-1,ar=!0,ir,fr,gr;ar;){if(ir=this.keyframes[Zt],fr=this.keyframes[Zt+1],Zt===tr-1&&t>=fr.t-i){ir.h&&(ir=fr),o=0;break}if(fr.t-i>t){o=Zt;break}Zt<tr-1?Zt+=1:(o=0,ar=!1)}gr=this.keyframesMetadata[Zt]||{};var nr,rr,vr,cr,ur,Er,or=fr.t-i,sr=ir.t-i,pr;if(ir.to){gr.bezierData||(gr.bezierData=bez.buildBezierData(ir.s,fr.s||ir.e,ir.to,ir.ti));var dr=gr.bezierData;if(t>=or||t<sr){var Pr=t>=or?dr.points.length-1:0;for(rr=dr.points[Pr].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[Pr].point[nr]}else{gr.__fnct?Er=gr.__fnct:(Er=BezierFactory.getBezierEasing(ir.o.x,ir.o.y,ir.i.x,ir.i.y,ir.n).get,gr.__fnct=Er),vr=Er((t-sr)/(or-sr));var Ir=dr.segmentLength*vr,zr,$r=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastAddedLength:0;for(ur=e.lastFrame<t&&e._lastKeyframeIndex===Zt?e._lastPoint:0,ar=!0,cr=dr.points.length;ar;){if($r+=dr.points[ur].partialLength,Ir===0||vr===0||ur===dr.points.length-1){for(rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr];break}else if(Ir>=$r&&Ir<$r+dr.points[ur+1].partialLength){for(zr=(Ir-$r)/dr.points[ur+1].partialLength,rr=dr.points[ur].point.length,nr=0;nr<rr;nr+=1)r[nr]=dr.points[ur].point[nr]+(dr.points[ur+1].point[nr]-dr.points[ur].point[nr])*zr;break}ur<cr-1?ur+=1:ar=!1}e._lastPoint=ur,e._lastAddedLength=$r-dr.points[ur].partialLength,e._lastKeyframeIndex=Zt}}else{var es,hs,ps,os,xs;if(tr=ir.s.length,pr=fr.s||ir.e,this.sh&&ir.h!==1)if(t>=or)r[0]=pr[0],r[1]=pr[1],r[2]=pr[2];else if(t<=sr)r[0]=ir.s[0],r[1]=ir.s[1],r[2]=ir.s[2];else{var is=createQuaternion(ir.s),cs=createQuaternion(pr),Ar=(t-sr)/(or-sr);quaternionToEuler(r,slerp(is,cs,Ar))}else for(Zt=0;Zt<tr;Zt+=1)ir.h!==1&&(t>=or?vr=1:t<sr?vr=0:(ir.o.x.constructor===Array?(gr.__fnct||(gr.__fnct=[]),gr.__fnct[Zt]?Er=gr.__fnct[Zt]:(es=ir.o.x[Zt]===void 0?ir.o.x[0]:ir.o.x[Zt],hs=ir.o.y[Zt]===void 0?ir.o.y[0]:ir.o.y[Zt],ps=ir.i.x[Zt]===void 0?ir.i.x[0]:ir.i.x[Zt],os=ir.i.y[Zt]===void 0?ir.i.y[0]:ir.i.y[Zt],Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,gr.__fnct[Zt]=Er)):gr.__fnct?Er=gr.__fnct:(es=ir.o.x,hs=ir.o.y,ps=ir.i.x,os=ir.i.y,Er=BezierFactory.getBezierEasing(es,hs,ps,os).get,ir.keyframeMetadata=Er),vr=Er((t-sr)/(or-sr)))),pr=fr.s||ir.e,xs=ir.h===1?ir.s[Zt]:ir.s[Zt]+(pr[Zt]-ir.s[Zt])*vr,this.propType==="multidimensional"?r[Zt]=xs:r=xs}return e.lastIndex=o,r}function slerp(t,e,i){var r=[],o=t[0],Zt=t[1],tr=t[2],ar=t[3],ir=e[0],fr=e[1],gr=e[2],nr=e[3],rr,vr,cr,ur,Er;return vr=o*ir+Zt*fr+tr*gr+ar*nr,vr<0&&(vr=-vr,ir=-ir,fr=-fr,gr=-gr,nr=-nr),1-vr>1e-6?(rr=Math.acos(vr),cr=Math.sin(rr),ur=Math.sin((1-i)*rr)/cr,Er=Math.sin(i*rr)/cr):(ur=1-i,Er=i),r[0]=ur*o+Er*ir,r[1]=ur*Zt+Er*fr,r[2]=ur*tr+Er*gr,r[3]=ur*ar+Er*nr,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],o=e[2],Zt=e[3],tr=Math.atan2(2*r*Zt-2*i*o,1-2*r*r-2*o*o),ar=Math.asin(2*i*r+2*o*Zt),ir=Math.atan2(2*i*Zt-2*r*o,1-2*i*i-2*o*o);t[0]=tr/degToRads,t[1]=ar/degToRads,t[2]=ir/degToRads}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,o=Math.cos(e/2),Zt=Math.cos(i/2),tr=Math.cos(r/2),ar=Math.sin(e/2),ir=Math.sin(i/2),fr=Math.sin(r/2),gr=o*Zt*tr-ar*ir*fr,nr=ar*ir*tr+o*Zt*fr,rr=ar*Zt*tr+o*ir*fr,vr=o*ir*tr-ar*Zt*fr;return[nr,rr,vr,gr]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=i&&t>=i||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(t,this._caching);this.pv=r}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 i=0,r=this.v.length;i<r;)e=t[i]*this.mult,mathAbs(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=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,i=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)i=this.effectsSequence[t](i);this.setVValue(i),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(t,e,i,r){this.propType="unidimensional",this.mult=i||1,this.data=e,this.v=i?e.k*i:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,i,r){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=r,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,Zt=e.k.length;for(this.v=createTypedArray("float32",Zt),this.pv=createTypedArray("float32",Zt),this.vel=createTypedArray("float32",Zt),o=0;o<Zt;o+=1)this.v[o]=e.k[o]*this.mult,this.pv[o]=e.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,i,r){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,i,r){this.propType="multidimensional";var o,Zt=e.k.length,tr,ar,ir,fr;for(o=0;o<Zt-1;o+=1)e.k[o].to&&e.k[o].s&&e.k[o+1]&&e.k[o+1].s&&(tr=e.k[o].s,ar=e.k[o+1].s,ir=e.k[o].to,fr=e.k[o].ti,(tr.length===2&&!(tr[0]===ar[0]&&tr[1]===ar[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],tr[0]+ir[0],tr[1]+ir[1])&&bez.pointOnLine2D(tr[0],tr[1],ar[0],ar[1],ar[0]+fr[0],ar[1]+fr[1])||tr.length===3&&!(tr[0]===ar[0]&&tr[1]===ar[1]&&tr[2]===ar[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],tr[0]+ir[0],tr[1]+ir[1],tr[2]+ir[2])&&bez.pointOnLine3D(tr[0],tr[1],tr[2],ar[0],ar[1],ar[2],ar[0]+fr[0],ar[1]+fr[1],ar[2]+fr[2]))&&(e.k[o].to=null,e.k[o].ti=null),tr[0]===ar[0]&&tr[1]===ar[1]&&ir[0]===0&&ir[1]===0&&fr[0]===0&&fr[1]===0&&(tr.length===2||tr[2]===ar[2]&&ir[2]===0&&fr[2]===0)&&(e.k[o].to=null,e.k[o].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=i||1,this.elem=t,this.container=r,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var gr=e.k[0].s.length;for(this.v=createTypedArray("float32",gr),this.pv=createTypedArray("float32",gr),o=0;o<gr;o+=1)this.v[o]=initFrame,this.pv[o]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",gr)},this.addEffect=addEffect}var PropertyFactory=function(){function t(i,r,o,Zt,tr){r.sid&&(r=i.globalData.slotManager.getProp(r));var ar;if(!r.k.length)ar=new ValueProperty(i,r,Zt,tr);else if(typeof r.k[0]=="number")ar=new MultiDimensionalProperty(i,r,Zt,tr);else switch(o){case 0:ar=new KeyframedValueProperty(i,r,Zt,tr);break;case 1:ar=new KeyframedMultidimensionalProperty(i,r,Zt,tr);break}return ar.effectsSequence.length&&tr.addDynamicProperty(ar),ar}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var t,e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=pointPool.newElement(),this.o[i]=pointPool.newElement(),this.i[i]=pointPool.newElement(),i+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,i,r,o){var Zt;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":Zt=this.v;break;case"i":Zt=this.i;break;case"o":Zt=this.o;break;default:Zt=[];break}(!Zt[r]||Zt[r]&&!o)&&(Zt[r]=pointPool.newElement()),Zt[r][0]=t,Zt[r][1]=e},ShapePath.prototype.setTripleAt=function(t,e,i,r,o,Zt,tr,ar){this.setXYAt(t,e,"v",tr,ar),this.setXYAt(i,r,"o",tr,ar),this.setXYAt(o,Zt,"i",tr,ar)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,o=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],r[0][0],r[0][1],i[0][0],i[0][1],0,!1),o=1);var Zt=this._length-1,tr=this._length,ar;for(ar=o;ar<tr;ar+=1)t.setTripleAt(e[Zt][0],e[Zt][1],r[Zt][0],r[Zt][1],i[Zt][0],i[Zt][1],ar,!1),Zt-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(o){var Zt=o._length,tr;for(tr=0;tr<Zt;tr+=1)pointPool.release(o.v[tr]),pointPool.release(o.i[tr]),pointPool.release(o.o[tr]),o.v[tr]=null,o.i[tr]=null,o.o[tr]=null;o._length=0,o.c=!1}function i(o){var Zt=r.newElement(),tr,ar=o._length===void 0?o.v.length:o._length;for(Zt.setLength(ar),Zt.c=o.c,tr=0;tr<ar;tr+=1)Zt.setTripleAt(o.v[tr][0],o.v[tr][1],o.o[tr][0],o.o[tr][1],o.i[tr][0],o.i[tr][1],tr);return Zt}var r=poolFactory(4,t,e);return r.clone=i,r}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=function(){var t={newShapeCollection:o,release:Zt},e=0,i=4,r=createSizedArray(i);function o(){var tr;return e?(e-=1,tr=r[e]):tr=new ShapeCollection,tr}function Zt(tr){var ar,ir=tr._length;for(ar=0;ar<ir;ar+=1)shapePool.release(tr.shapes[ar]);tr._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=tr,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(or,sr,pr){var dr=pr.lastIndex,Pr,Ir,zr,$r,es,hs,ps,os,xs,is=this.keyframes;if(or<is[0].t-this.offsetTime)Pr=is[0].s[0],zr=!0,dr=0;else if(or>=is[is.length-1].t-this.offsetTime)Pr=is[is.length-1].s?is[is.length-1].s[0]:is[is.length-2].e[0],zr=!0;else{for(var cs=dr,Ar=is.length-1,Tr=!0,yr,Mr,Ur;Tr&&(yr=is[cs],Mr=is[cs+1],!(Mr.t-this.offsetTime>or));)cs<Ar-1?cs+=1:Tr=!1;if(Ur=this.keyframesMetadata[cs]||{},zr=yr.h===1,dr=cs,!zr){if(or>=Mr.t-this.offsetTime)os=1;else if(or<yr.t-this.offsetTime)os=0;else{var jr;Ur.__fnct?jr=Ur.__fnct:(jr=BezierFactory.getBezierEasing(yr.o.x,yr.o.y,yr.i.x,yr.i.y).get,Ur.__fnct=jr),os=jr((or-(yr.t-this.offsetTime))/(Mr.t-this.offsetTime-(yr.t-this.offsetTime)))}Ir=Mr.s?Mr.s[0]:yr.e[0]}Pr=yr.s[0]}for(hs=sr._length,ps=Pr.i[0].length,pr.lastIndex=dr,$r=0;$r<hs;$r+=1)for(es=0;es<ps;es+=1)xs=zr?Pr.i[$r][es]:Pr.i[$r][es]+(Ir.i[$r][es]-Pr.i[$r][es])*os,sr.i[$r][es]=xs,xs=zr?Pr.o[$r][es]:Pr.o[$r][es]+(Ir.o[$r][es]-Pr.o[$r][es])*os,sr.o[$r][es]=xs,xs=zr?Pr.v[$r][es]:Pr.v[$r][es]+(Ir.v[$r][es]-Pr.v[$r][es])*os,sr.v[$r][es]=xs}function i(){var or=this.comp.renderedFrame-this.offsetTime,sr=this.keyframes[0].t-this.offsetTime,pr=this.keyframes[this.keyframes.length-1].t-this.offsetTime,dr=this._caching.lastFrame;return dr!==t&&(dr<sr&&or<sr||dr>pr&&or>pr)||(this._caching.lastIndex=dr<or?this._caching.lastIndex:0,this.interpolateShape(or,this.pv,this._caching)),this._caching.lastFrame=or,this.pv}function r(){this.paths=this.localShapeCollection}function o(or,sr){if(or._length!==sr._length||or.c!==sr.c)return!1;var pr,dr=or._length;for(pr=0;pr<dr;pr+=1)if(or.v[pr][0]!==sr.v[pr][0]||or.v[pr][1]!==sr.v[pr][1]||or.o[pr][0]!==sr.o[pr][0]||or.o[pr][1]!==sr.o[pr][1]||or.i[pr][0]!==sr.i[pr][0]||or.i[pr][1]!==sr.i[pr][1])return!1;return!0}function Zt(or){o(this.v,or)||(this.v=shapePool.clone(or),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function tr(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var or;this.kf?or=this.pv:this.data.ks?or=this.data.ks.k:or=this.data.pt.k;var sr,pr=this.effectsSequence.length;for(sr=0;sr<pr;sr+=1)or=this.effectsSequence[sr](or);this.setVValue(or),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function ar(or,sr,pr){this.propType="shape",this.comp=or.comp,this.container=or,this.elem=or,this.data=sr,this.k=!1,this.kf=!1,this._mdf=!1;var dr=pr===3?sr.pt.k:sr.ks.k;this.v=shapePool.clone(dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function ir(or){this.effectsSequence.push(or),this.container.addDynamicProperty(this)}ar.prototype.interpolateShape=e,ar.prototype.getValue=tr,ar.prototype.setVValue=Zt,ar.prototype.addEffect=ir;function fr(or,sr,pr){this.propType="shape",this.comp=or.comp,this.elem=or,this.container=or,this.offsetTime=or.data.st,this.keyframes=pr===3?sr.pt.k:sr.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var dr=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,dr),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=r,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}fr.prototype.getValue=tr,fr.prototype.interpolateShape=e,fr.prototype.setVValue=Zt,fr.prototype.addEffect=ir;var gr=function(){var or=roundCorner;function sr(pr,dr){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=dr.d,this.elem=pr,this.comp=pr.comp,this.frameId=-1,this.initDynamicPropertyContainer(pr),this.p=PropertyFactory.getProp(pr,dr.p,1,0,this),this.s=PropertyFactory.getProp(pr,dr.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return sr.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var pr=this.p.v[0],dr=this.p.v[1],Pr=this.s.v[0]/2,Ir=this.s.v[1]/2,zr=this.d!==3,$r=this.v;$r.v[0][0]=pr,$r.v[0][1]=dr-Ir,$r.v[1][0]=zr?pr+Pr:pr-Pr,$r.v[1][1]=dr,$r.v[2][0]=pr,$r.v[2][1]=dr+Ir,$r.v[3][0]=zr?pr-Pr:pr+Pr,$r.v[3][1]=dr,$r.i[0][0]=zr?pr-Pr*or:pr+Pr*or,$r.i[0][1]=dr-Ir,$r.i[1][0]=zr?pr+Pr:pr-Pr,$r.i[1][1]=dr-Ir*or,$r.i[2][0]=zr?pr+Pr*or:pr-Pr*or,$r.i[2][1]=dr+Ir,$r.i[3][0]=zr?pr-Pr:pr+Pr,$r.i[3][1]=dr+Ir*or,$r.o[0][0]=zr?pr+Pr*or:pr-Pr*or,$r.o[0][1]=dr-Ir,$r.o[1][0]=zr?pr+Pr:pr-Pr,$r.o[1][1]=dr+Ir*or,$r.o[2][0]=zr?pr-Pr*or:pr+Pr*or,$r.o[2][1]=dr+Ir,$r.o[3][0]=zr?pr-Pr:pr+Pr,$r.o[3][1]=dr-Ir*or}},extendPrototype([DynamicPropertyContainer],sr),sr}(),nr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=sr,this.comp=sr.comp,this.data=pr,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),pr.sy===1?(this.ir=PropertyFactory.getProp(sr,pr.ir,0,0,this),this.is=PropertyFactory.getProp(sr,pr.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(sr,pr.pt,0,0,this),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,degToRads,this),this.or=PropertyFactory.getProp(sr,pr.or,0,0,this),this.os=PropertyFactory.getProp(sr,pr.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return or.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var sr=Math.floor(this.pt.v)*2,pr=Math.PI*2/sr,dr=!0,Pr=this.or.v,Ir=this.ir.v,zr=this.os.v,$r=this.is.v,es=2*Math.PI*Pr/(sr*2),hs=2*Math.PI*Ir/(sr*2),ps,os,xs,is,cs=-Math.PI/2;cs+=this.r.v;var Ar=this.data.d===3?-1:1;for(this.v._length=0,ps=0;ps<sr;ps+=1){os=dr?Pr:Ir,xs=dr?zr:$r,is=dr?es:hs;var Tr=os*Math.cos(cs),yr=os*Math.sin(cs),Mr=Tr===0&&yr===0?0:yr/Math.sqrt(Tr*Tr+yr*yr),Ur=Tr===0&&yr===0?0:-Tr/Math.sqrt(Tr*Tr+yr*yr);Tr+=+this.p.v[0],yr+=+this.p.v[1],this.v.setTripleAt(Tr,yr,Tr-Mr*is*xs*Ar,yr-Ur*is*xs*Ar,Tr+Mr*is*xs*Ar,yr+Ur*is*xs*Ar,ps,!0),dr=!dr,cs+=pr*Ar}},convertPolygonToPath:function(){var sr=Math.floor(this.pt.v),pr=Math.PI*2/sr,dr=this.or.v,Pr=this.os.v,Ir=2*Math.PI*dr/(sr*4),zr,$r=-Math.PI*.5,es=this.data.d===3?-1:1;for($r+=this.r.v,this.v._length=0,zr=0;zr<sr;zr+=1){var hs=dr*Math.cos($r),ps=dr*Math.sin($r),os=hs===0&&ps===0?0:ps/Math.sqrt(hs*hs+ps*ps),xs=hs===0&&ps===0?0:-hs/Math.sqrt(hs*hs+ps*ps);hs+=+this.p.v[0],ps+=+this.p.v[1],this.v.setTripleAt(hs,ps,hs-os*Ir*Pr*es,ps-xs*Ir*Pr*es,hs+os*Ir*Pr*es,ps+xs*Ir*Pr*es,zr,!0),$r+=pr*es}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],or),or}(),rr=function(){function or(sr,pr){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=sr,this.comp=sr.comp,this.frameId=-1,this.d=pr.d,this.initDynamicPropertyContainer(sr),this.p=PropertyFactory.getProp(sr,pr.p,1,0,this),this.s=PropertyFactory.getProp(sr,pr.s,1,0,this),this.r=PropertyFactory.getProp(sr,pr.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return or.prototype={convertRectToPath:function(){var sr=this.p.v[0],pr=this.p.v[1],dr=this.s.v[0]/2,Pr=this.s.v[1]/2,Ir=bmMin(dr,Pr,this.r.v),zr=Ir*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,0,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,sr+dr,pr+Pr-Ir,1,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,2,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,sr-dr+Ir,pr+Pr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,4,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,sr-dr,pr-Pr+Ir,5,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,6,!0),this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,sr+dr-Ir,pr-Pr,7,!0)):(this.v.setTripleAt(sr-dr,pr+Pr,sr-dr+zr,pr+Pr,sr-dr,pr+Pr,2),this.v.setTripleAt(sr-dr,pr-Pr,sr-dr,pr-Pr+zr,sr-dr,pr-Pr,3))):(this.v.setTripleAt(sr+dr,pr-Pr+Ir,sr+dr,pr-Pr+zr,sr+dr,pr-Pr+Ir,0,!0),Ir!==0?(this.v.setTripleAt(sr+dr-Ir,pr-Pr,sr+dr-Ir,pr-Pr,sr+dr-zr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr+Ir,pr-Pr,sr-dr+zr,pr-Pr,sr-dr+Ir,pr-Pr,2,!0),this.v.setTripleAt(sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+Ir,sr-dr,pr-Pr+zr,3,!0),this.v.setTripleAt(sr-dr,pr+Pr-Ir,sr-dr,pr+Pr-zr,sr-dr,pr+Pr-Ir,4,!0),this.v.setTripleAt(sr-dr+Ir,pr+Pr,sr-dr+Ir,pr+Pr,sr-dr+zr,pr+Pr,5,!0),this.v.setTripleAt(sr+dr-Ir,pr+Pr,sr+dr-zr,pr+Pr,sr+dr-Ir,pr+Pr,6,!0),this.v.setTripleAt(sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-Ir,sr+dr,pr+Pr-zr,7,!0)):(this.v.setTripleAt(sr-dr,pr-Pr,sr-dr+zr,pr-Pr,sr-dr,pr-Pr,1,!0),this.v.setTripleAt(sr-dr,pr+Pr,sr-dr,pr+Pr-zr,sr-dr,pr+Pr,2,!0),this.v.setTripleAt(sr+dr,pr+Pr,sr+dr-zr,pr+Pr,sr+dr,pr+Pr,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],or),or}();function vr(or,sr,pr){var dr;if(pr===3||pr===4){var Pr=pr===3?sr.pt:sr.ks,Ir=Pr.k;Ir.length?dr=new fr(or,sr,pr):dr=new ar(or,sr,pr)}else pr===5?dr=new rr(or,sr):pr===6?dr=new gr(or,sr):pr===7&&(dr=new nr(or,sr));return dr.k&&or.addDynamicProperty(dr),dr}function cr(){return ar}function ur(){return fr}var Er={};return Er.getShapeProp=vr,Er.getConstructorFunction=cr,Er.getKeyframedConstructorFunction=ur,Er}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function o(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function Zt(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function tr(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(1,0,0,0,0,Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1)}function ar(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,0,Ur,0,0,1,0,0,-Ur,0,Mr,0,0,0,0,1)}function ir(yr){if(yr===0)return this;var Mr=t(yr),Ur=e(yr);return this._t(Mr,-Ur,0,0,Ur,Mr,0,0,0,0,1,0,0,0,0,1)}function fr(yr,Mr){return this._t(1,Mr,yr,1,0,0)}function gr(yr,Mr){return this.shear(i(yr),i(Mr))}function nr(yr,Mr){var Ur=t(Mr),jr=e(Mr);return this._t(Ur,jr,0,0,-jr,Ur,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(yr),1,0,0,0,0,1,0,0,0,0,1)._t(Ur,-jr,0,0,jr,Ur,0,0,0,0,1,0,0,0,0,1)}function rr(yr,Mr,Ur){return!Ur&&Ur!==0&&(Ur=1),yr===1&&Mr===1&&Ur===1?this:this._t(yr,0,0,0,0,Mr,0,0,0,0,Ur,0,0,0,0,1)}function vr(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){return this.props[0]=yr,this.props[1]=Mr,this.props[2]=Ur,this.props[3]=jr,this.props[4]=Vs,this.props[5]=Ts,this.props[6]=Ns,this.props[7]=Bs,this.props[8]=Ys,this.props[9]=Hs,this.props[10]=Qs,this.props[11]=na,this.props[12]=ra,this.props[13]=$s,this.props[14]=sa,this.props[15]=Rs,this}function cr(yr,Mr,Ur){return Ur=Ur||0,yr!==0||Mr!==0||Ur!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,yr,Mr,Ur,1):this}function ur(yr,Mr,Ur,jr,Vs,Ts,Ns,Bs,Ys,Hs,Qs,na,ra,$s,sa,Rs){var Ms=this.props;if(yr===1&&Mr===0&&Ur===0&&jr===0&&Vs===0&&Ts===1&&Ns===0&&Bs===0&&Ys===0&&Hs===0&&Qs===1&&na===0)return Ms[12]=Ms[12]*yr+Ms[15]*ra,Ms[13]=Ms[13]*Ts+Ms[15]*$s,Ms[14]=Ms[14]*Qs+Ms[15]*sa,Ms[15]*=Rs,this._identityCalculated=!1,this;var ua=Ms[0],ka=Ms[1],ya=Ms[2],la=Ms[3],_a=Ms[4],ca=Ms[5],aa=Ms[6],da=Ms[7],js=Ms[8],Us=Ms[9],qs=Ms[10],ta=Ms[11],ga=Ms[12],Ha=Ms[13],Na=Ms[14],Ka=Ms[15];return Ms[0]=ua*yr+ka*Vs+ya*Ys+la*ra,Ms[1]=ua*Mr+ka*Ts+ya*Hs+la*$s,Ms[2]=ua*Ur+ka*Ns+ya*Qs+la*sa,Ms[3]=ua*jr+ka*Bs+ya*na+la*Rs,Ms[4]=_a*yr+ca*Vs+aa*Ys+da*ra,Ms[5]=_a*Mr+ca*Ts+aa*Hs+da*$s,Ms[6]=_a*Ur+ca*Ns+aa*Qs+da*sa,Ms[7]=_a*jr+ca*Bs+aa*na+da*Rs,Ms[8]=js*yr+Us*Vs+qs*Ys+ta*ra,Ms[9]=js*Mr+Us*Ts+qs*Hs+ta*$s,Ms[10]=js*Ur+Us*Ns+qs*Qs+ta*sa,Ms[11]=js*jr+Us*Bs+qs*na+ta*Rs,Ms[12]=ga*yr+Ha*Vs+Na*Ys+Ka*ra,Ms[13]=ga*Mr+Ha*Ts+Na*Hs+Ka*$s,Ms[14]=ga*Ur+Ha*Ns+Na*Qs+Ka*sa,Ms[15]=ga*jr+Ha*Bs+Na*na+Ka*Rs,this._identityCalculated=!1,this}function Er(yr){var Mr=yr.props;return this.transform(Mr[0],Mr[1],Mr[2],Mr[3],Mr[4],Mr[5],Mr[6],Mr[7],Mr[8],Mr[9],Mr[10],Mr[11],Mr[12],Mr[13],Mr[14],Mr[15])}function or(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function sr(yr){for(var Mr=0;Mr<16;){if(yr.props[Mr]!==this.props[Mr])return!1;Mr+=1}return!0}function pr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)yr.props[Mr]=this.props[Mr];return yr}function dr(yr){var Mr;for(Mr=0;Mr<16;Mr+=1)this.props[Mr]=yr[Mr]}function Pr(yr,Mr,Ur){return{x:yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],y:yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],z:yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}}function Ir(yr,Mr,Ur){return yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12]}function zr(yr,Mr,Ur){return yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13]}function $r(yr,Mr,Ur){return yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]}function es(){var yr=this.props[0]*this.props[5]-this.props[1]*this.props[4],Mr=this.props[5]/yr,Ur=-this.props[1]/yr,jr=-this.props[4]/yr,Vs=this.props[0]/yr,Ts=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/yr,Ns=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/yr,Bs=new Matrix;return Bs.props[0]=Mr,Bs.props[1]=Ur,Bs.props[4]=jr,Bs.props[5]=Vs,Bs.props[12]=Ts,Bs.props[13]=Ns,Bs}function hs(yr){var Mr=this.getInverseMatrix();return Mr.applyToPointArray(yr[0],yr[1],yr[2]||0)}function ps(yr){var Mr,Ur=yr.length,jr=[];for(Mr=0;Mr<Ur;Mr+=1)jr[Mr]=hs(yr[Mr]);return jr}function os(yr,Mr,Ur){var jr=createTypedArray("float32",6);if(this.isIdentity())jr[0]=yr[0],jr[1]=yr[1],jr[2]=Mr[0],jr[3]=Mr[1],jr[4]=Ur[0],jr[5]=Ur[1];else{var Vs=this.props[0],Ts=this.props[1],Ns=this.props[4],Bs=this.props[5],Ys=this.props[12],Hs=this.props[13];jr[0]=yr[0]*Vs+yr[1]*Ns+Ys,jr[1]=yr[0]*Ts+yr[1]*Bs+Hs,jr[2]=Mr[0]*Vs+Mr[1]*Ns+Ys,jr[3]=Mr[0]*Ts+Mr[1]*Bs+Hs,jr[4]=Ur[0]*Vs+Ur[1]*Ns+Ys,jr[5]=Ur[0]*Ts+Ur[1]*Bs+Hs}return jr}function xs(yr,Mr,Ur){var jr;return this.isIdentity()?jr=[yr,Mr,Ur]:jr=[yr*this.props[0]+Mr*this.props[4]+Ur*this.props[8]+this.props[12],yr*this.props[1]+Mr*this.props[5]+Ur*this.props[9]+this.props[13],yr*this.props[2]+Mr*this.props[6]+Ur*this.props[10]+this.props[14]],jr}function is(yr,Mr){if(this.isIdentity())return yr+","+Mr;var Ur=this.props;return Math.round((yr*Ur[0]+Mr*Ur[4]+Ur[12])*100)/100+","+Math.round((yr*Ur[1]+Mr*Ur[5]+Ur[13])*100)/100}function cs(){for(var yr=0,Mr=this.props,Ur="matrix3d(",jr=1e4;yr<16;)Ur+=r(Mr[yr]*jr)/jr,Ur+=yr===15?")":",",yr+=1;return Ur}function Ar(yr){var Mr=1e4;return yr<1e-6&&yr>0||yr>-1e-6&&yr<0?r(yr*Mr)/Mr:yr}function Tr(){var yr=this.props,Mr=Ar(yr[0]),Ur=Ar(yr[1]),jr=Ar(yr[4]),Vs=Ar(yr[5]),Ts=Ar(yr[12]),Ns=Ar(yr[13]);return"matrix("+Mr+","+Ur+","+jr+","+Vs+","+Ts+","+Ns+")"}return function(){this.reset=o,this.rotate=Zt,this.rotateX=tr,this.rotateY=ar,this.rotateZ=ir,this.skew=gr,this.skewFromAxis=nr,this.shear=fr,this.scale=rr,this.setTransform=vr,this.translate=cr,this.transform=ur,this.multiply=Er,this.applyToPoint=Pr,this.applyToX=Ir,this.applyToY=zr,this.applyToZ=$r,this.applyToPointArray=xs,this.applyToTriplePoints=os,this.applyToPointStringified=is,this.toCSS=cs,this.to2dCSS=Tr,this.clone=pr,this.cloneFromProps=dr,this.equals=sr,this.inversePoints=ps,this.inversePoint=hs,this.getInverseMatrix=es,this._t=this.transform,this.isIdentity=or,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(e){return typeof e}:_typeof$3=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return 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)}function inBrowser(){return typeof navigator<"u"}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("&"),i=0;i<e.length;i+=1){var r=e[i].split("=");if(decodeURIComponent(r[0])==t)return decodeURIComponent(r[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{!((typeof exports>"u"?"undefined":_typeof$3(exports))==="object"&&typeof module<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=i,t.getModifier=r;function i(o,Zt){e[o]||(e[o]=Zt)}function r(o,Zt,tr){return new e[o](Zt,tr)}return t}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,i,r,o){var Zt=[];e<=1?Zt.push({s:t,e}):t>=1?Zt.push({s:t-1,e:e-1}):(Zt.push({s:t,e:1}),Zt.push({s:0,e:e-1}));var tr=[],ar,ir=Zt.length,fr;for(ar=0;ar<ir;ar+=1)if(fr=Zt[ar],!(fr.e*o<r||fr.s*o>r+i)){var gr,nr;fr.s*o<=r?gr=0:gr=(fr.s*o-r)/i,fr.e*o>=r+i?nr=1:nr=(fr.e*o-r)/i,tr.push([gr,nr])}return tr.length||tr.push([0,0]),tr},TrimModifier.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var r=this.o.v%360/360;if(r<0&&(r+=1),this.s.v>1?e=1+r:this.s.v<0?e=0+r:e=this.s.v+r,this.e.v>1?i=1+r:this.e.v<0?i=0+r:i=this.e.v+r,e>i){var o=e;e=i,i=o}e=Math.round(e*1e4)*1e-4,i=Math.round(i*1e4)*1e-4,this.sValue=e,this.eValue=i}else e=this.sValue,i=this.eValue;var Zt,tr,ar=this.shapes.length,ir,fr,gr,nr,rr,vr=0;if(i===e)for(tr=0;tr<ar;tr+=1)this.shapes[tr].localShapeCollection.releaseShapes(),this.shapes[tr].shape._mdf=!0,this.shapes[tr].shape.paths=this.shapes[tr].localShapeCollection,this._mdf&&(this.shapes[tr].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(tr=0;tr<ar;tr+=1)this.shapes[tr].pathsData.length=0,this.shapes[tr].shape._mdf=!0}else{var cr=[],ur,Er;for(tr=0;tr<ar;tr+=1)if(ur=this.shapes[tr],!ur.shape._mdf&&!this._mdf&&!t&&this.m!==2)ur.shape.paths=ur.localShapeCollection;else{if(Zt=ur.shape.paths,fr=Zt._length,rr=0,!ur.shape._mdf&&ur.pathsData.length)rr=ur.totalShapeLength;else{for(gr=this.releasePathsData(ur.pathsData),ir=0;ir<fr;ir+=1)nr=bez.getSegmentsLength(Zt.shapes[ir]),gr.push(nr),rr+=nr.totalLength;ur.totalShapeLength=rr,ur.pathsData=gr}vr+=rr,ur.shape._mdf=!0}var or=e,sr=i,pr=0,dr;for(tr=ar-1;tr>=0;tr-=1)if(ur=this.shapes[tr],ur.shape._mdf){for(Er=ur.localShapeCollection,Er.releaseShapes(),this.m===2&&ar>1?(dr=this.calculateShapeEdges(e,i,ur.totalShapeLength,pr,vr),pr+=ur.totalShapeLength):dr=[[or,sr]],fr=dr.length,ir=0;ir<fr;ir+=1){or=dr[ir][0],sr=dr[ir][1],cr.length=0,sr<=1?cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength*sr}):or>=1?cr.push({s:ur.totalShapeLength*(or-1),e:ur.totalShapeLength*(sr-1)}):(cr.push({s:ur.totalShapeLength*or,e:ur.totalShapeLength}),cr.push({s:0,e:ur.totalShapeLength*(sr-1)}));var Pr=this.addShapes(ur,cr[0]);if(cr[0].s!==cr[0].e){if(cr.length>1){var Ir=ur.shape.paths.shapes[ur.shape.paths._length-1];if(Ir.c){var zr=Pr.pop();this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1],zr)}else this.addPaths(Pr,Er),Pr=this.addShapes(ur,cr[1])}this.addPaths(Pr,Er)}}ur.shape.paths=Er}}},TrimModifier.prototype.addPaths=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)e.addShape(t[i])},TrimModifier.prototype.addSegment=function(t,e,i,r,o,Zt,tr){o.setXYAt(e[0],e[1],"o",Zt),o.setXYAt(i[0],i[1],"i",Zt+1),tr&&o.setXYAt(t[0],t[1],"v",Zt),o.setXYAt(r[0],r[1],"v",Zt+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,i,r){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),r&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},TrimModifier.prototype.addShapes=function(t,e,i){var r=t.pathsData,o=t.shape.paths.shapes,Zt,tr=t.shape.paths._length,ar,ir,fr=0,gr,nr,rr,vr,cr=[],ur,Er=!0;for(i?(nr=i._length,ur=i._length):(i=shapePool.newElement(),nr=0,ur=0),cr.push(i),Zt=0;Zt<tr;Zt+=1){for(rr=r[Zt].lengths,i.c=o[Zt].c,ir=o[Zt].c?rr.length:rr.length+1,ar=1;ar<ir;ar+=1)if(gr=rr[ar-1],fr+gr.addedLength<e.s)fr+=gr.addedLength,i.c=!1;else if(fr>e.e){i.c=!1;break}else e.s<=fr&&e.e>=fr+gr.addedLength?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[ar],o[Zt].v[ar],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[ar],o[Zt].o[ar-1],o[Zt].i[ar],(e.s-fr)/gr.addedLength,(e.e-fr)/gr.addedLength,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1),fr+=gr.addedLength,nr+=1;if(o[Zt].c&&rr.length){if(gr=rr[ar-1],fr<=e.e){var or=rr[ar-1].addedLength;e.s<=fr&&e.e>=fr+or?(this.addSegment(o[Zt].v[ar-1],o[Zt].o[ar-1],o[Zt].i[0],o[Zt].v[0],i,nr,Er),Er=!1):(vr=bez.getNewSegment(o[Zt].v[ar-1],o[Zt].v[0],o[Zt].o[ar-1],o[Zt].i[0],(e.s-fr)/or,(e.e-fr)/or,rr[ar-1]),this.addSegmentFromArray(vr,i,nr,Er),Er=!1,i.c=!1)}else i.c=!1;fr+=gr.addedLength,nr+=1}if(i._length&&(i.setXYAt(i.v[ur][0],i.v[ur][1],"i",ur),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),fr>e.e)break;Zt<tr-1&&(i=shapePool.newElement(),Er=!0,cr.push(i),nr=0)}return cr};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var i=e/100,r=[0,0],o=t._length,Zt=0;for(Zt=0;Zt<o;Zt+=1)r[0]+=t.v[Zt][0],r[1]+=t.v[Zt][1];r[0]/=o,r[1]/=o;var tr=shapePool.newElement();tr.c=t.c;var ar,ir,fr,gr,nr,rr;for(Zt=0;Zt<o;Zt+=1)ar=t.v[Zt][0]+(r[0]-t.v[Zt][0])*i,ir=t.v[Zt][1]+(r[1]-t.v[Zt][1])*i,fr=t.o[Zt][0]+(r[0]-t.o[Zt][0])*-i,gr=t.o[Zt][1]+(r[1]-t.o[Zt][1])*-i,nr=t.i[Zt][0]+(r[0]-t.i[Zt][0])*-i,rr=t.i[Zt][1]+(r[1]-t.i[Zt][1])*-i,tr.setTripleAt(ar,ir,fr,gr,nr,rr,Zt);return tr},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(ir){var fr=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||fr,this.a&&ir.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&ir.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&ir.skewFromAxis(-this.sk.v,this.sa.v),this.r?ir.rotate(-this.r.v):ir.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.data.p.s?this.data.p.z?ir.translate(this.px.v,this.py.v,-this.pz.v):ir.translate(this.px.v,this.py.v,0):ir.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(ir){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||ir){var fr;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.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.autoOriented){var gr,nr;if(fr=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(gr=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/fr,0),nr=this.p.getValueAtTime(this.p.keyframes[0].t/fr,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(gr=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/fr,0),nr=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/fr,0)):(gr=this.p.pv,nr=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/fr,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){gr=[],nr=[];var rr=this.px,vr=this.py;rr._caching.lastFrame+rr.offsetTime<=rr.keyframes[0].t?(gr[0]=rr.getValueAtTime((rr.keyframes[0].t+.01)/fr,0),gr[1]=vr.getValueAtTime((vr.keyframes[0].t+.01)/fr,0),nr[0]=rr.getValueAtTime(rr.keyframes[0].t/fr,0),nr[1]=vr.getValueAtTime(vr.keyframes[0].t/fr,0)):rr._caching.lastFrame+rr.offsetTime>=rr.keyframes[rr.keyframes.length-1].t?(gr[0]=rr.getValueAtTime(rr.keyframes[rr.keyframes.length-1].t/fr,0),gr[1]=vr.getValueAtTime(vr.keyframes[vr.keyframes.length-1].t/fr,0),nr[0]=rr.getValueAtTime((rr.keyframes[rr.keyframes.length-1].t-.01)/fr,0),nr[1]=vr.getValueAtTime((vr.keyframes[vr.keyframes.length-1].t-.01)/fr,0)):(gr=[rr.pv,vr.pv],nr[0]=rr.getValueAtTime((rr._caching.lastFrame+rr.offsetTime-.01)/fr,rr.offsetTime),nr[1]=vr.getValueAtTime((vr._caching.lastFrame+vr.offsetTime-.01)/fr,vr.offsetTime))}else nr=t,gr=nr;this.v.rotate(-Math.atan2(gr[1]-nr[1],gr[0]-nr[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 r(){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 o(){}function Zt(ir){this._addDynamicProperty(ir),this.elem.addDynamicProperty(ir),this._isDirty=!0}function tr(ir,fr,gr){if(this.elem=ir,this.frameId=-1,this.propType="transform",this.data=fr,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(gr||ir),fr.p&&fr.p.s?(this.px=PropertyFactory.getProp(ir,fr.p.x,0,0,this),this.py=PropertyFactory.getProp(ir,fr.p.y,0,0,this),fr.p.z&&(this.pz=PropertyFactory.getProp(ir,fr.p.z,0,0,this))):this.p=PropertyFactory.getProp(ir,fr.p||{k:[0,0,0]},1,0,this),fr.rx){if(this.rx=PropertyFactory.getProp(ir,fr.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(ir,fr.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(ir,fr.rz,0,degToRads,this),fr.or.k[0].ti){var nr,rr=fr.or.k.length;for(nr=0;nr<rr;nr+=1)fr.or.k[nr].to=null,fr.or.k[nr].ti=null}this.or=PropertyFactory.getProp(ir,fr.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(ir,fr.r||{k:0},0,degToRads,this);fr.sk&&(this.sk=PropertyFactory.getProp(ir,fr.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(ir,fr.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(ir,fr.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(ir,fr.s||{k:[100,100,100]},1,.01,this),fr.o?this.o=PropertyFactory.getProp(ir,fr.o,0,.01,ir):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}tr.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:o},extendPrototype([DynamicPropertyContainer],tr),tr.prototype.addDynamicProperty=Zt,tr.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function ar(ir,fr,gr){return new tr(ir,fr,gr)}return{getTransformProperty:ar}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,i,r,o,Zt){var tr=Zt?-1:1,ar=r.s.v[0]+(1-r.s.v[0])*(1-o),ir=r.s.v[1]+(1-r.s.v[1])*(1-o);t.translate(r.p.v[0]*tr*o,r.p.v[1]*tr*o,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*tr*o),e.translate(r.a.v[0],r.a.v[1],r.a.v[2]),i.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),i.scale(Zt?1/ar:ar,Zt?1/ir:ir),i.translate(r.a.v[0],r.a.v[1],r.a.v[2])},RepeaterModifier.prototype.init=function(t,e,i,r){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=r,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[i]);i>0;)i-=1,this._elements.unshift(e[i]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e]._processed=!1,t[e].ty==="gr"&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,i,r,o,Zt,tr=!1;if(this._mdf||t){var ar=Math.ceil(this.c.v);if(this._groups.length<ar){for(;this._groups.length<ar;){var ir={it:this.cloneElements(this._elements),ty:"gr"};ir.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,ir),this._groups.splice(0,0,ir),this._currentCopies+=1}this.elem.reloadShapes(),tr=!0}Zt=0;var fr;for(r=0;r<=this._groups.length-1;r+=1){if(fr=Zt<ar,this._groups[r]._render=fr,this.changeGroupRender(this._groups[r].it,fr),!fr){var gr=this.elemsData[r].it,nr=gr[gr.length-1];nr.transform.op.v!==0?(nr.transform.op._mdf=!0,nr.transform.op.v=0):nr.transform.op._mdf=!1}Zt+=1}this._currentCopies=ar;var rr=this.o.v,vr=rr%1,cr=rr>0?Math.floor(rr):Math.ceil(rr),ur=this.pMatrix.props,Er=this.rMatrix.props,or=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var sr=0;if(rr>0){for(;sr<cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),sr+=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,vr,!1),sr+=vr)}else if(rr<0){for(;sr>cr;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),sr-=1;vr&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-vr,!0),sr-=vr)}r=this.data.m===1?0:this._currentCopies-1,o=this.data.m===1?1:-1,Zt=this._currentCopies;for(var pr,dr;Zt;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,dr=i.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)*(r/(this._currentCopies-1)),sr!==0){for((r!==0&&o===1||r!==this._currentCopies-1&&o===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(Er[0],Er[1],Er[2],Er[3],Er[4],Er[5],Er[6],Er[7],Er[8],Er[9],Er[10],Er[11],Er[12],Er[13],Er[14],Er[15]),this.matrix.transform(or[0],or[1],or[2],or[3],or[4],or[5],or[6],or[7],or[8],or[9],or[10],or[11],or[12],or[13],or[14],or[15]),this.matrix.transform(ur[0],ur[1],ur[2],ur[3],ur[4],ur[5],ur[6],ur[7],ur[8],ur[9],ur[10],ur[11],ur[12],ur[13],ur[14],ur[15]),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];this.matrix.reset()}else for(this.matrix.reset(),pr=0;pr<dr;pr+=1)i[pr]=this.matrix.props[pr];sr+=1,Zt-=1,r+=o}}else for(Zt=this._currentCopies,r=0,o=1;Zt;)e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,Zt-=1,r+=o;return tr},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var i=shapePool.newElement();i.c=t.c;var r,o=t._length,Zt,tr,ar,ir,fr,gr,nr=0,rr,vr,cr,ur,Er,or;for(r=0;r<o;r+=1)Zt=t.v[r],ar=t.o[r],tr=t.i[r],Zt[0]===ar[0]&&Zt[1]===ar[1]&&Zt[0]===tr[0]&&Zt[1]===tr[1]?(r===0||r===o-1)&&!t.c?(i.setTripleAt(Zt[0],Zt[1],ar[0],ar[1],tr[0],tr[1],nr),nr+=1):(r===0?ir=t.v[o-1]:ir=t.v[r-1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,Er=Zt[0]+(ir[0]-Zt[0])*gr,rr=Er,or=Zt[1]-(Zt[1]-ir[1])*gr,vr=or,cr=rr-(rr-Zt[0])*roundCorner,ur=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1,r===o-1?ir=t.v[0]:ir=t.v[r+1],fr=Math.sqrt(Math.pow(Zt[0]-ir[0],2)+Math.pow(Zt[1]-ir[1],2)),gr=fr?Math.min(fr/2,e)/fr:0,cr=Zt[0]+(ir[0]-Zt[0])*gr,rr=cr,ur=Zt[1]+(ir[1]-Zt[1])*gr,vr=ur,Er=rr-(rr-Zt[0])*roundCorner,or=vr-(vr-Zt[1])*roundCorner,i.setTripleAt(rr,vr,cr,ur,Er,or,nr),nr+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],nr),nr+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.rd.v;if(tr!==0){var ar,ir;for(i=0;i<r;i+=1){if(ar=this.shapes[i],ir=ar.localShapeCollection,!(!ar.shape._mdf&&!this._mdf&&!t))for(ir.releaseShapes(),ar.shape._mdf=!0,e=ar.shape.paths.shapes,Zt=ar.shape.paths._length,o=0;o<Zt;o+=1)ir.addShape(this.processPath(e[o],tr));ar.shape.paths=ar.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,i){return t*(1-i)+e*i}function lerpPoint(t,e,i){return[lerp(t[0],e[0],i),lerp(t[1],e[1],i)]}function quadRoots(t,e,i){if(t===0)return[];var r=e*e-4*t*i;if(r<0)return[];var o=-e/(2*t);if(r===0)return[o];var Zt=Math.sqrt(r)/(2*t);return[o-Zt,o+Zt]}function polynomialCoefficients(t,e,i,r){return[-t+3*e-3*i+r,3*t-6*e+3*i,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,i,r,o){o&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),o&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var Zt=polynomialCoefficients(t[0],e[0],i[0],r[0]),tr=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[Zt[0],tr[0]],this.b=[Zt[1],tr[1]],this.c=[Zt[2],tr[2]],this.d=[Zt[3],tr[3]],this.points=[t,e,i,r]}PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,i=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(i<0)return[];var r=Math.sqrt(i);return floatZero(r)?r>0&&r<1?[e]:[]:[e-r,e+r].filter(function(o){return o>0&&o<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),i=lerpPoint(this.points[1],this.points[2],t),r=lerpPoint(this.points[2],this.points[3],t),o=lerpPoint(e,i,t),Zt=lerpPoint(i,r,t),tr=lerpPoint(o,Zt,t);return[new PolynomialBezier(this.points[0],e,o,tr,!0),new PolynomialBezier(tr,Zt,r,this.points[3],!0)]};function extrema(t,e){var i=t.points[0][e],r=t.points[t.points.length-1][e];if(i>r){var o=r;r=i,i=o}for(var Zt=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),tr=0;tr<Zt.length;tr+=1)if(Zt[tr]>0&&Zt[tr]<1){var ar=t.point(Zt[tr])[e];ar<i?i=ar:ar>r&&(r=ar)}return{min:i,max:r}}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,i){var r=t.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:t,t:(e+i)/2,t1:e,t2:i}}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<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,i,r,o,Zt){if(boxIntersect(t,e)){if(i>=Zt||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){o.push([t.t,e.t]);return}var tr=splitData(t),ar=splitData(e);intersectsImpl(tr[0],ar[0],i+1,r,o,Zt),intersectsImpl(tr[0],ar[1],i+1,r,o,Zt),intersectsImpl(tr[1],ar[0],i+1,r,o,Zt),intersectsImpl(tr[1],ar[1],i+1,r,o,Zt)}}PolynomialBezier.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,r,i),r},PolynomialBezier.shapeSegment=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[i],t.v[i],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new PolynomialBezier(t.v[i],t.i[i],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,i,r){var o=[t[0],t[1],1],Zt=[e[0],e[1],1],tr=[i[0],i[1],1],ar=[r[0],r[1],1],ir=crossProduct(crossProduct(o,Zt),crossProduct(tr,ar));return floatZero(ir[2])?null:[ir[0]/ir[2],ir[1]/ir[2]]}function polarOffset(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}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,i,r,o,Zt,tr){var ar=i-Math.PI/2,ir=i+Math.PI/2,fr=e[0]+Math.cos(i)*r*o,gr=e[1]-Math.sin(i)*r*o;t.setTripleAt(fr,gr,fr+Math.cos(ar)*Zt,gr-Math.sin(ar)*Zt,fr+Math.cos(ir)*tr,gr-Math.sin(ir)*tr,t.length())}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,o=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return o}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),o=t.v[i],Zt=t.v[r],tr=getPerpendicularVector(o,Zt);return Math.atan2(0,1)-Math.atan2(tr[1],tr[0])}function zigZagCorner(t,e,i,r,o,Zt,tr){var ar=getProjectingAngle(e,i),ir=e.v[i%e._length],fr=e.v[i===0?e._length-1:i-1],gr=e.v[(i+1)%e._length],nr=Zt===2?Math.sqrt(Math.pow(ir[0]-fr[0],2)+Math.pow(ir[1]-fr[1],2)):0,rr=Zt===2?Math.sqrt(Math.pow(ir[0]-gr[0],2)+Math.pow(ir[1]-gr[1],2)):0;setPoint(t,e.v[i%e._length],ar,tr,r,rr/((o+1)*2),nr/((o+1)*2))}function zigZagSegment(t,e,i,r,o,Zt){for(var tr=0;tr<r;tr+=1){var ar=(tr+1)/(r+1),ir=o===2?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,fr=e.normalAngle(ar),gr=e.point(ar);setPoint(t,gr,fr,Zt,i,ir/((r+1)*2),ir/((r+1)*2)),Zt=-Zt}return Zt}ZigZagModifier.prototype.processPath=function(t,e,i,r){var o=t._length,Zt=shapePool.newElement();if(Zt.c=t.c,t.c||(o-=1),o===0)return Zt;var tr=-1,ar=PolynomialBezier.shapeSegment(t,0);zigZagCorner(Zt,t,0,e,i,r,tr);for(var ir=0;ir<o;ir+=1)tr=zigZagSegment(Zt,ar,e,i,r,-tr),ir===o-1&&!t.c?ar=null:ar=PolynomialBezier.shapeSegment(t,(ir+1)%o),zigZagCorner(Zt,t,ir+1,e,i,r,tr);return Zt},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amplitude.v,ar=Math.max(0,Math.round(this.frequency.v)),ir=this.pointsType.v;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ar,ir));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(t,e,i){var r=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,r,i),polarOffset(e,r,i)]}function offsetSegment(t,e){var i,r,o,Zt,tr,ar,ir;ir=linearOffset(t.points[0],t.points[1],e),i=ir[0],r=ir[1],ir=linearOffset(t.points[1],t.points[2],e),o=ir[0],Zt=ir[1],ir=linearOffset(t.points[2],t.points[3],e),tr=ir[0],ar=ir[1];var fr=lineIntersection(i,r,o,Zt);fr===null&&(fr=r);var gr=lineIntersection(tr,ar,o,Zt);return gr===null&&(gr=tr),new PolynomialBezier(i,fr,gr,ar)}function joinLines(t,e,i,r,o){var Zt=e.points[3],tr=i.points[0];if(r===3||pointEqual(Zt,tr))return Zt;if(r===2){var ar=-e.tangentAngle(1),ir=-i.tangentAngle(0)+Math.PI,fr=lineIntersection(Zt,polarOffset(Zt,ar+Math.PI/2,100),tr,polarOffset(tr,ar+Math.PI/2,100)),gr=fr?pointDistance(fr,Zt):pointDistance(Zt,tr)/2,nr=polarOffset(Zt,ar,2*gr*roundCorner);return t.setXYAt(nr[0],nr[1],"o",t.length()-1),nr=polarOffset(tr,ir,2*gr*roundCorner),t.setTripleAt(tr[0],tr[1],tr[0],tr[1],nr[0],nr[1],t.length()),tr}var rr=pointEqual(Zt,e.points[2])?e.points[0]:e.points[2],vr=pointEqual(tr,i.points[1])?i.points[3]:i.points[1],cr=lineIntersection(rr,Zt,tr,vr);return cr&&pointDistance(cr,Zt)<o?(t.setTripleAt(cr[0],cr[1],cr[0],cr[1],cr[0],cr[1],t.length()),cr):Zt}function getIntersection(t,e){var i=t.intersections(e);return i.length&&floatEqual(i[0][0],1)&&i.shift(),i.length?i[0]:null}function pruneSegmentIntersection(t,e){var i=t.slice(),r=e.slice(),o=getIntersection(t[t.length-1],e[0]);return o&&(i[t.length-1]=t[t.length-1].split(o[0])[0],r[0]=e[0].split(o[1])[1]),t.length>1&&e.length>1&&(o=getIntersection(t[0],e[e.length-1]),o)?[[t[0].split(o[0])[0]],[e[e.length-1].split(o[1])[1]]]:[i,r]}function pruneIntersections(t){for(var e,i=1;i<t.length;i+=1)e=pruneSegmentIntersection(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var i=t.inflectionPoints(),r,o,Zt,tr;if(i.length===0)return[offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return Zt=t.split(i[0]),r=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(o,e)];Zt=t.split(i[0]),r=Zt[0];var ar=(i[1]-i[0])/(1-i[0]);return Zt=Zt[1].split(ar),tr=Zt[0],o=Zt[1],[offsetSegment(r,e),offsetSegment(tr,e),offsetSegment(o,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,i,r){var o=shapePool.newElement();o.c=t.c;var Zt=t.length();t.c||(Zt-=1);var tr,ar,ir,fr=[];for(tr=0;tr<Zt;tr+=1)ir=PolynomialBezier.shapeSegment(t,tr),fr.push(offsetSegmentSplit(ir,e));if(!t.c)for(tr=Zt-1;tr>=0;tr-=1)ir=PolynomialBezier.shapeSegmentInverted(t,tr),fr.push(offsetSegmentSplit(ir,e));fr=pruneIntersections(fr);var gr=null,nr=null;for(tr=0;tr<fr.length;tr+=1){var rr=fr[tr];for(nr&&(gr=joinLines(o,nr,rr[0],i,r)),nr=rr[rr.length-1],ar=0;ar<rr.length;ar+=1)ir=rr[ar],gr&&pointEqual(ir.points[0],gr)?o.setXYAt(ir.points[1][0],ir.points[1][1],"o",o.length()-1):o.setTripleAt(ir.points[0][0],ir.points[0][1],ir.points[1][0],ir.points[1][1],ir.points[0][0],ir.points[0][1],o.length()),o.setTripleAt(ir.points[3][0],ir.points[3][1],ir.points[3][0],ir.points[3][1],ir.points[2][0],ir.points[2][1],o.length()),gr=ir.points[3]}return fr.length&&joinLines(o,nr,fr[0][0],i,r),o},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,o,Zt,tr=this.amount.v,ar=this.miterLimit.v,ir=this.lineJoin;if(tr!==0){var fr,gr;for(i=0;i<r;i+=1){if(fr=this.shapes[i],gr=fr.localShapeCollection,!(!fr.shape._mdf&&!this._mdf&&!t))for(gr.releaseShapes(),fr.shape._mdf=!0,e=fr.shape.paths.shapes,Zt=fr.shape.paths._length,o=0;o<Zt;o+=1)gr.addShape(this.processPath(e[o],tr,ir,ar));fr.shape.paths=fr.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",o=e.length,Zt,tr=0;tr<o;tr+=1)switch(Zt=e[tr].toLowerCase(),Zt){case"italic":r="italic";break;case"bold":i="700";break;case"black":i="900";break;case"medium":i="500";break;case"regular":case"normal":i="400";break;case"light":case"thin":i="200";break}return{style:r,weight:t.fWeight||i}}var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},i=[];i=i.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=127988,o=917631,Zt=917601,tr=917626,ar=65039,ir=8205,fr=127462,gr=127487,nr=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function rr(Ar){var Tr=Ar.split(","),yr,Mr=Tr.length,Ur=[];for(yr=0;yr<Mr;yr+=1)Tr[yr]!=="sans-serif"&&Tr[yr]!=="monospace"&&Ur.push(Tr[yr]);return Ur.join(",")}function vr(Ar,Tr){var yr=createTag("span");yr.setAttribute("aria-hidden",!0),yr.style.fontFamily=Tr;var Mr=createTag("span");Mr.innerText="giItT1WQy@!-/#",yr.style.position="absolute",yr.style.left="-10000px",yr.style.top="-10000px",yr.style.fontSize="300px",yr.style.fontVariant="normal",yr.style.fontStyle="normal",yr.style.fontWeight="normal",yr.style.letterSpacing="0",yr.appendChild(Mr),document.body.appendChild(yr);var Ur=Mr.offsetWidth;return Mr.style.fontFamily=rr(Ar)+", "+Tr,{node:Mr,w:Ur,parent:yr}}function cr(){var Ar,Tr=this.fonts.length,yr,Mr,Ur=Tr;for(Ar=0;Ar<Tr;Ar+=1)this.fonts[Ar].loaded?Ur-=1:this.fonts[Ar].fOrigin==="n"||this.fonts[Ar].origin===0?this.fonts[Ar].loaded=!0:(yr=this.fonts[Ar].monoCase.node,Mr=this.fonts[Ar].monoCase.w,yr.offsetWidth!==Mr?(Ur-=1,this.fonts[Ar].loaded=!0):(yr=this.fonts[Ar].sansCase.node,Mr=this.fonts[Ar].sansCase.w,yr.offsetWidth!==Mr&&(Ur-=1,this.fonts[Ar].loaded=!0)),this.fonts[Ar].loaded&&(this.fonts[Ar].sansCase.parent.parentNode.removeChild(this.fonts[Ar].sansCase.parent),this.fonts[Ar].monoCase.parent.parentNode.removeChild(this.fonts[Ar].monoCase.parent)));Ur!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function ur(Ar,Tr){var yr=document.body&&Tr?"svg":"canvas",Mr,Ur=getFontProperties(Ar);if(yr==="svg"){var jr=createNS("text");jr.style.fontSize="100px",jr.setAttribute("font-family",Ar.fFamily),jr.setAttribute("font-style",Ur.style),jr.setAttribute("font-weight",Ur.weight),jr.textContent="1",Ar.fClass?(jr.style.fontFamily="inherit",jr.setAttribute("class",Ar.fClass)):jr.style.fontFamily=Ar.fFamily,Tr.appendChild(jr),Mr=jr}else{var Vs=new OffscreenCanvas(500,500).getContext("2d");Vs.font=Ur.style+" "+Ur.weight+" 100px "+Ar.fFamily,Mr=Vs}function Ts(Ns){return yr==="svg"?(Mr.textContent=Ns,Mr.getComputedTextLength()):Mr.measureText(Ns).width}return{measureText:Ts}}function Er(Ar,Tr){if(!Ar){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=Ar.list;return}if(!document.body){this.isLoaded=!0,Ar.list.forEach(function(Qs){Qs.helper=ur(Qs),Qs.cache={}}),this.fonts=Ar.list;return}var yr=Ar.list,Mr,Ur=yr.length,jr=Ur;for(Mr=0;Mr<Ur;Mr+=1){var Vs=!0,Ts,Ns;if(yr[Mr].loaded=!1,yr[Mr].monoCase=vr(yr[Mr].fFamily,"monospace"),yr[Mr].sansCase=vr(yr[Mr].fFamily,"sans-serif"),!yr[Mr].fPath)yr[Mr].loaded=!0,jr-=1;else if(yr[Mr].fOrigin==="p"||yr[Mr].origin===3){if(Ts=document.querySelectorAll('style[f-forigin="p"][f-family="'+yr[Mr].fFamily+'"], style[f-origin="3"][f-family="'+yr[Mr].fFamily+'"]'),Ts.length>0&&(Vs=!1),Vs){var Bs=createTag("style");Bs.setAttribute("f-forigin",yr[Mr].fOrigin),Bs.setAttribute("f-origin",yr[Mr].origin),Bs.setAttribute("f-family",yr[Mr].fFamily),Bs.type="text/css",Bs.innerText="@font-face {font-family: "+yr[Mr].fFamily+"; font-style: normal; src: url('"+yr[Mr].fPath+"');}",Tr.appendChild(Bs)}}else if(yr[Mr].fOrigin==="g"||yr[Mr].origin===1){for(Ts=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Ns=0;Ns<Ts.length;Ns+=1)Ts[Ns].href.indexOf(yr[Mr].fPath)!==-1&&(Vs=!1);if(Vs){var Ys=createTag("link");Ys.setAttribute("f-forigin",yr[Mr].fOrigin),Ys.setAttribute("f-origin",yr[Mr].origin),Ys.type="text/css",Ys.rel="stylesheet",Ys.href=yr[Mr].fPath,document.body.appendChild(Ys)}}else if(yr[Mr].fOrigin==="t"||yr[Mr].origin===2){for(Ts=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Ns=0;Ns<Ts.length;Ns+=1)yr[Mr].fPath===Ts[Ns].src&&(Vs=!1);if(Vs){var Hs=createTag("link");Hs.setAttribute("f-forigin",yr[Mr].fOrigin),Hs.setAttribute("f-origin",yr[Mr].origin),Hs.setAttribute("rel","stylesheet"),Hs.setAttribute("href",yr[Mr].fPath),Tr.appendChild(Hs)}}yr[Mr].helper=ur(yr[Mr],Tr),yr[Mr].cache={},this.fonts.push(yr[Mr])}jr===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function or(Ar){if(Ar){this.chars||(this.chars=[]);var Tr,yr=Ar.length,Mr,Ur=this.chars.length,jr;for(Tr=0;Tr<yr;Tr+=1){for(Mr=0,jr=!1;Mr<Ur;)this.chars[Mr].style===Ar[Tr].style&&this.chars[Mr].fFamily===Ar[Tr].fFamily&&this.chars[Mr].ch===Ar[Tr].ch&&(jr=!0),Mr+=1;jr||(this.chars.push(Ar[Tr]),Ur+=1)}}}function sr(Ar,Tr,yr){for(var Mr=0,Ur=this.chars.length;Mr<Ur;){if(this.chars[Mr].ch===Ar&&this.chars[Mr].style===Tr&&this.chars[Mr].fFamily===yr)return this.chars[Mr];Mr+=1}return(typeof Ar=="string"&&Ar.charCodeAt(0)!==13||!Ar)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",Ar,Tr,yr)),e}function pr(Ar,Tr,yr){var Mr=this.getFontByName(Tr),Ur=Ar;if(!Mr.cache[Ur]){var jr=Mr.helper;if(Ar===" "){var Vs=jr.measureText("|"+Ar+"|"),Ts=jr.measureText("||");Mr.cache[Ur]=(Vs-Ts)/100}else Mr.cache[Ur]=jr.measureText(Ar)/100}return Mr.cache[Ur]*yr}function dr(Ar){for(var Tr=0,yr=this.fonts.length;Tr<yr;){if(this.fonts[Tr].fName===Ar)return this.fonts[Tr];Tr+=1}return this.fonts[0]}function Pr(Ar){var Tr=0,yr=Ar.charCodeAt(0);if(yr>=55296&&yr<=56319){var Mr=Ar.charCodeAt(1);Mr>=56320&&Mr<=57343&&(Tr=(yr-55296)*1024+Mr-56320+65536)}return Tr}function Ir(Ar,Tr){var yr=Ar.toString(16)+Tr.toString(16);return nr.indexOf(yr)!==-1}function zr(Ar){return Ar===ir}function $r(Ar){return Ar===ar}function es(Ar){var Tr=Pr(Ar);return Tr>=fr&&Tr<=gr}function hs(Ar){return es(Ar.substr(0,2))&&es(Ar.substr(2,2))}function ps(Ar){return i.indexOf(Ar)!==-1}function os(Ar,Tr){var yr=Pr(Ar.substr(Tr,2));if(yr!==r)return!1;var Mr=0;for(Tr+=2;Mr<5;){if(yr=Pr(Ar.substr(Tr,2)),yr<Zt||yr>tr)return!1;Mr+=1,Tr+=2}return Pr(Ar.substr(Tr,2))===o}function xs(){this.isLoaded=!0}var is=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)};is.isModifier=Ir,is.isZeroWidthJoiner=zr,is.isFlagEmoji=hs,is.isRegionalCode=es,is.isCombinedCharacter=ps,is.isRegionalFlag=os,is.isVariationSelector=$r,is.BLACK_FLAG_CODE_POINT=r;var cs={addChars:or,addFonts:Er,getCharData:sr,getFontByName:dr,measureText:pr,checkLoadedFonts:cr,setIsLoaded:xs};return is.prototype=cs,is}();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(t){this.renderableComponents.indexOf(t)===-1&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){this.renderableComponents.indexOf(t)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var t,e=this.renderableComponents.length;for(t=0;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();function SliderEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function AngleEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function ColorEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function PointEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,1,0,i)}function LayerIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function MaskIndexEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function CheckboxEffect(t,e,i){this.p=PropertyFactory.getProp(e,t.v,0,0,i)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var i=t.ef||[];this.effectElements=[];var r,o=i.length,Zt;for(r=0;r<o;r+=1)Zt=new GroupEffect(i[r],e),this.effectElements.push(Zt)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,r=this.data.ef.length,o,Zt=this.data.ef;for(i=0;i<r;i+=1){switch(o=null,Zt[i].ty){case 0:o=new SliderEffect(Zt[i],e,this);break;case 1:o=new AngleEffect(Zt[i],e,this);break;case 2:o=new ColorEffect(Zt[i],e,this);break;case 3:o=new PointEffect(Zt[i],e,this);break;case 4:case 7:o=new CheckboxEffect(Zt[i],e,this);break;case 10:o=new LayerIndexEffect(Zt[i],e,this);break;case 11:o=new MaskIndexEffect(Zt[i],e,this);break;case 5:o=new EffectsManager(Zt[i],e);break;default:o=new NoValueEffect(Zt[i]);break}o&&this.effectElements.push(o)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if(this.data.masksProperties[t].mode!=="n"&&this.data.masksProperties[t].cl!==!1)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),i=t("effects"),r=t("shape"),o=t("text"),Zt=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var tr=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(tr),this.data.ty===0||this.data.xt?this.compInterface=Zt(this):this.data.ty===4?(this.layerInterface.shapeInterface=r(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=o(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm),e=this.baseElement||this.layerElement;e.style["mix-blend-mode"]=t},initBaseData:function(t,e,i){this.globalData=e,this.comp=i,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,r=this.dynamicProperties.length;for(i=0;i<r;i+=1)(e||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){this.dynamicProperties.indexOf(t)===-1&&this.dynamicProperties.push(t)}};function FootageElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,i)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(t,e,i){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,i),this._isPlaying=!1,this._canPlay=!1;var r=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(r),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var i=this._volume*this._volumeMultiplier;this._previousVolume!==i&&(this._previousVolume=i,this.audio.volume(i))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.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,i=this.layers.length,r;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e],r.ip-r.st<=t-this.layers[e].st&&r.op-r.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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,r,o=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<o;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,i){for(var r=this.elements,o=this.layers,Zt=0,tr=o.length;Zt<tr;)o[Zt].ind==e&&(!r[Zt]||r[Zt]===!0?(this.buildItem(Zt),this.addPendingElement(t)):(i.push(r[Zt]),r[Zt].setAsParent(),o[Zt].parent!==void 0?this.buildElementParenting(t,o[Zt].parent,i):t.setHierarchy(i))),Zt+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var r=this.createComp(t[e]);r.initExpressions(),this.globalData.projectInterface.registerComposition(r)}},BaseRenderer.prototype.getElementById=function(t){var e,i=this.elements.length;for(e=0;e<i;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var r,o=this.elements.length;for(r=0;r<o;r+=1)if(this.elements[r].data.nm===e){i=this.elements[r];break}}return t.length===0?i:i.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var t=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:t,localMat:t,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,i=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<r;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),i=0;i<r;i+=1)e.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var t=0,e=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;t<e;)this.localTransforms[t]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[t]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),t+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),t=1;t<e;t+=1){var r=this.localTransforms[t].matrix;i.multiply(r)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var o=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)o*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=o}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var e=0,i=t.length;for(e=0;e<i;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var i=!0,r=this.comp;i;)r.finalTransform?(r.data.hasMask&&e.splice(0,0,r.finalTransform),r=r.comp):i=!1;var o,Zt=e.length,tr;for(o=0;o<Zt;o+=1)tr=e[o].mat.applyToPointArray(0,0,0),t=[t[0]-tr[0],t[1]-tr[1],0];return t},mHelper:new Matrix};function MaskElement(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var r=this.globalData.defs,o,Zt=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(Zt),this.solidPath="";var tr,ar=this.masksProperties,ir=0,fr=[],gr,nr,rr=createElementID(),vr,cr,ur,Er,or="clipPath",sr="clip-path";for(o=0;o<Zt;o+=1)if((ar[o].mode!=="a"&&ar[o].mode!=="n"||ar[o].inv||ar[o].o.k!==100||ar[o].o.x)&&(or="mask",sr="mask"),(ar[o].mode==="s"||ar[o].mode==="i")&&ir===0?(vr=createNS("rect"),vr.setAttribute("fill","#ffffff"),vr.setAttribute("width",this.element.comp.data.w||0),vr.setAttribute("height",this.element.comp.data.h||0),fr.push(vr)):vr=null,tr=createNS("path"),ar[o].mode==="n")this.viewData[o]={op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),elem:tr,lastPath:""},r.appendChild(tr);else{ir+=1,tr.setAttribute("fill",ar[o].mode==="s"?"#000000":"#ffffff"),tr.setAttribute("clip-rule","nonzero");var pr;if(ar[o].x.k!==0?(or="mask",sr="mask",Er=PropertyFactory.getProp(this.element,ar[o].x,0,null,this.element),pr=createElementID(),cr=createNS("filter"),cr.setAttribute("id",pr),ur=createNS("feMorphology"),ur.setAttribute("operator","erode"),ur.setAttribute("in","SourceGraphic"),ur.setAttribute("radius","0"),cr.appendChild(ur),r.appendChild(cr),tr.setAttribute("stroke",ar[o].mode==="s"?"#000000":"#ffffff")):(ur=null,Er=null),this.storedData[o]={elem:tr,x:Er,expan:ur,lastPath:"",lastOperator:"",filterId:pr,lastRadius:0},ar[o].mode==="i"){nr=fr.length;var dr=createNS("g");for(gr=0;gr<nr;gr+=1)dr.appendChild(fr[gr]);var Pr=createNS("mask");Pr.setAttribute("mask-type","alpha"),Pr.setAttribute("id",rr+"_"+ir),Pr.appendChild(tr),r.appendChild(Pr),dr.setAttribute("mask","url("+getLocationHref()+"#"+rr+"_"+ir+")"),fr.length=0,fr.push(dr)}else fr.push(tr);ar[o].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[o]={elem:tr,lastPath:"",op:PropertyFactory.getProp(this.element,ar[o].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,ar[o],3),invRect:vr},this.viewData[o].prop.k||this.drawPath(ar[o],this.viewData[o].prop.v,this.viewData[o])}for(this.maskElement=createNS(or),Zt=fr.length,o=0;o<Zt;o+=1)this.maskElement.appendChild(fr[o]);ir>0&&(this.maskElement.setAttribute("id",rr),this.element.maskedElement.setAttribute(sr,"url("+getLocationHref()+"#"+rr+")"),r.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,i,r=this.masksProperties.length;for(i=0;i<r;i+=1)if((this.viewData[i].prop._mdf||t)&&this.drawPath(this.masksProperties[i],this.viewData[i].prop.v,this.viewData[i]),(this.viewData[i].op._mdf||t)&&this.viewData[i].elem.setAttribute("fill-opacity",this.viewData[i].op.v),this.masksProperties[i].mode!=="n"&&(this.viewData[i].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[i].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[i].x&&(this.storedData[i].x._mdf||t))){var o=this.storedData[i].expan;this.storedData[i].x.v<0?(this.storedData[i].lastOperator!=="erode"&&(this.storedData[i].lastOperator="erode",this.storedData[i].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[i].filterId+")")),o.setAttribute("radius",-this.storedData[i].x.v)):(this.storedData[i].lastOperator!=="dilate"&&(this.storedData[i].lastOperator="dilate",this.storedData[i].elem.setAttribute("filter",null)),this.storedData[i].elem.setAttribute("stroke-width",this.storedData[i].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" ",t},MaskElement.prototype.drawPath=function(t,e,i){var r=" M"+e.v[0][0]+","+e.v[0][1],o,Zt;for(Zt=e._length,o=1;o<Zt;o+=1)r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[o][0]+","+e.i[o][1]+" "+e.v[o][0]+","+e.v[o][1];if(e.c&&Zt>1&&(r+=" C"+e.o[o-1][0]+","+e.o[o-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var tr="";i.elem&&(e.c&&(tr=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",tr)),i.lastPath=r}},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=i;function e(r,o){var Zt=createNS("filter");return Zt.setAttribute("id",r),o!==!0&&(Zt.setAttribute("filterUnits","objectBoundingBox"),Zt.setAttribute("x","0%"),Zt.setAttribute("y","0%"),Zt.setAttribute("width","100%"),Zt.setAttribute("height","100%")),Zt}function i(){var r=createNS("feColorMatrix");return r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),r}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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,i="SourceGraphic",r=t.data.ef?t.data.ef.length:0,o=createElementID(),Zt=filtersFactory.createFilter(o,!0),tr=0;this.filters=[];var ar;for(e=0;e<r;e+=1){ar=null;var ir=t.data.ef[e].ty;if(registeredEffects$1[ir]){var fr=registeredEffects$1[ir].effect;ar=new fr(Zt,t.effectsManager.effectElements[e],t,idPrefix+tr,i),i=idPrefix+tr,registeredEffects$1[ir].countsAsEffect&&(tr+=1)}ar&&this.filters.push(ar)}tr&&(t.globalData.defs.appendChild(Zt),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function registerEffect$1(t,e,i){registeredEffects$1[t]={effect:e,countsAsEffect:i}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var i=createNS("clipPath"),r=createNS("path");r.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var o=createElementID();if(i.setAttribute("id",o),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var Zt=createNS("g");Zt.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),Zt.appendChild(this.layerElement),this.transformedElement=Zt,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,r,o,Zt;if(t===1||t===3){var tr=createNS("mask");tr.setAttribute("id",e),tr.setAttribute("mask-type",t===3?"luminance":"alpha"),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),tr.appendChild(o),this.globalData.defs.appendChild(tr),!featureSupport.maskType&&t===1&&(tr.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),Zt.appendChild(o),tr.appendChild(Zt),Zt.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(t===2){var ar=createNS("mask");ar.setAttribute("id",e),ar.setAttribute("mask-type","alpha");var ir=createNS("g");ar.appendChild(ir),i=createElementID(),r=filtersFactory.createFilter(i);var fr=createNS("feComponentTransfer");fr.setAttribute("in","SourceGraphic"),r.appendChild(fr);var gr=createNS("feFuncA");gr.setAttribute("type","table"),gr.setAttribute("tableValues","1.0 0.0"),fr.appendChild(gr),this.globalData.defs.appendChild(r);var nr=createNS("rect");nr.setAttribute("width",this.comp.data.w),nr.setAttribute("height",this.comp.data.h),nr.setAttribute("x","0"),nr.setAttribute("y","0"),nr.setAttribute("fill","#ffffff"),nr.setAttribute("opacity","0"),ir.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),ir.appendChild(nr),o=createNS("use"),o.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),ir.appendChild(o),featureSupport.maskType||(ar.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),Zt=createNS("g"),ir.appendChild(nr),Zt.appendChild(this.layerElement),ir.appendChild(Zt)),this.globalData.defs.appendChild(ar)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(e,i,r){this.initFrame(),this.initBaseData(e,i,r),this.initTransform(e,i,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var e=this.baseElement||this.layerElement;e.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var e=this.baseElement||this.layerElement;e.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,i),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(t){var e,i=this.shapeModifiers.length;for(e=0;e<i;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=0,i=this.shapeModifiers.length;e<i;)if(this.shapeModifiers[e].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();e=this.shapeModifiers.length;var i;for(t=e-1;t>=0&&(i=this.shapeModifiers[t].processShapes(this._isFirstFrame),!i);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,i=0,r=e.length;i<r;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,r=i.length;r;)if(r-=1,i[r].elem===t){i[r].pos=e;return}i.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var r=0,o=t.length;r<o;){if(t[r].mProps.dynamicProperties.length){this._isAnimated=!0;break}r+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,i,r){this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(r);var o,Zt=e.length||0,tr;for(o=0;o<Zt;o+=1)tr=PropertyFactory.getProp(t,e[o].v,0,0,this),this.k=tr.k||this.k,this.dataProps[o]={n:e[o].n,p:tr};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&!t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,i=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),e=0;e<i;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=i}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,i){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var r=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=createTypedArray("float32",r),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=r,this.initDynamicPropertyContainer(i),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(t,e){for(var i=0,r=this.o.length/2,o;i<r;){if(o=Math.abs(t[i*4]-t[e*4+i*2]),o>.01)return!1;i+=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;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,i=this.data.p*4,r,o;for(e=0;e<i;e+=1)r=e%4===0?100:255,o=Math.round(this.prop.v[e]*r),this.c[e]!==o&&(this.c[e]=o,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)r=e%2===0?100:1,o=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==o&&(this.o[e-this.data.p*4]=o,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}SVGGradientFillStyleData.prototype.initGradientData=function(t,e,i){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var i=createElementID(),r=createNS(e.t===1?"linearGradient":"radialGradient");r.setAttribute("id",i),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var o=[],Zt,tr,ar;for(ar=e.g.p*4,tr=0;tr<ar;tr+=4)Zt=createNS("stop"),r.appendChild(Zt),o.push(Zt);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,o,Zt=createNS("mask"),tr=createNS("path");Zt.appendChild(tr);var ar=createElementID(),ir=createElementID();Zt.setAttribute("id",ir);var fr=createNS(t.t===1?"linearGradient":"radialGradient");fr.setAttribute("id",ar),fr.setAttribute("spreadMethod","pad"),fr.setAttribute("gradientUnits","userSpaceOnUse"),o=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var gr=this.stops;for(r=t.g.p*4;r<o;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),fr.appendChild(i),gr.push(i);tr.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+ar+")"),t.ty==="gs"&&(tr.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),tr.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&tr.setAttribute("stroke-miterlimit",t.ml)),this.of=fr,this.ms=Zt,this.ost=gr,this.maskId=ir,e.msElem=tr}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,i){this.transform={mProps:t,op:e,container:i},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(t,e,i,r){if(e===0)return"";var o=t.o,Zt=t.i,tr=t.v,ar,ir=" M"+r.applyToPointStringified(tr[0][0],tr[0][1]);for(ar=1;ar<e;ar+=1)ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[ar][0],Zt[ar][1])+" "+r.applyToPointStringified(tr[ar][0],tr[ar][1]);return i&&e&&(ir+=" C"+r.applyToPointStringified(o[ar-1][0],o[ar-1][1])+" "+r.applyToPointStringified(Zt[0][0],Zt[0][1])+" "+r.applyToPointStringified(tr[0][0],tr[0][1]),ir+="z"),ir},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(nr){switch(nr.ty){case"fl":return ar;case"gf":return fr;case"gs":return ir;case"st":return gr;case"sh":case"el":case"rc":case"sr":return tr;case"tr":return o;case"no":return Zt;default:return null}}function o(nr,rr,vr){(vr||rr.transform.op._mdf)&&rr.transform.container.setAttribute("opacity",rr.transform.op.v),(vr||rr.transform.mProps._mdf)&&rr.transform.container.setAttribute("transform",rr.transform.mProps.v.to2dCSS())}function Zt(){}function tr(nr,rr,vr){var cr,ur,Er,or,sr,pr,dr=rr.styles.length,Pr=rr.lvl,Ir,zr,$r,es;for(pr=0;pr<dr;pr+=1){if(or=rr.sh._mdf||vr,rr.styles[pr].lvl<Pr){for(zr=e.reset(),$r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;!or&&$r>0;)or=rr.transformers[es].mProps._mdf||or,$r-=1,es-=1;if(or)for($r=Pr-rr.styles[pr].lvl,es=rr.transformers.length-1;$r>0;)zr.multiply(rr.transformers[es].mProps.v),$r-=1,es-=1}else zr=t;if(Ir=rr.sh.paths,ur=Ir._length,or){for(Er="",cr=0;cr<ur;cr+=1)sr=Ir.shapes[cr],sr&&sr._length&&(Er+=buildShapeString(sr,sr._length,sr.c,zr));rr.caches[pr]=Er}else Er=rr.caches[pr];rr.styles[pr].d+=nr.hd===!0?"":Er,rr.styles[pr]._mdf=or||rr.styles[pr]._mdf}}function ar(nr,rr,vr){var cr=rr.style;(rr.c._mdf||vr)&&cr.pElem.setAttribute("fill","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("fill-opacity",rr.o.v)}function ir(nr,rr,vr){fr(nr,rr,vr),gr(nr,rr,vr)}function fr(nr,rr,vr){var cr=rr.gf,ur=rr.g._hasOpacity,Er=rr.s.v,or=rr.e.v;if(rr.o._mdf||vr){var sr=nr.ty==="gf"?"fill-opacity":"stroke-opacity";rr.style.pElem.setAttribute(sr,rr.o.v)}if(rr.s._mdf||vr){var pr=nr.t===1?"x1":"cx",dr=pr==="x1"?"y1":"cy";cr.setAttribute(pr,Er[0]),cr.setAttribute(dr,Er[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute(pr,Er[0]),rr.of.setAttribute(dr,Er[1]))}var Pr,Ir,zr,$r;if(rr.g._cmdf||vr){Pr=rr.cst;var es=rr.g.c;for(zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],$r.setAttribute("offset",es[Ir*4]+"%"),$r.setAttribute("stop-color","rgb("+es[Ir*4+1]+","+es[Ir*4+2]+","+es[Ir*4+3]+")")}if(ur&&(rr.g._omdf||vr)){var hs=rr.g.o;for(rr.g._collapsable?Pr=rr.cst:Pr=rr.ost,zr=Pr.length,Ir=0;Ir<zr;Ir+=1)$r=Pr[Ir],rr.g._collapsable||$r.setAttribute("offset",hs[Ir*2]+"%"),$r.setAttribute("stop-opacity",hs[Ir*2+1])}if(nr.t===1)(rr.e._mdf||vr)&&(cr.setAttribute("x2",or[0]),cr.setAttribute("y2",or[1]),ur&&!rr.g._collapsable&&(rr.of.setAttribute("x2",or[0]),rr.of.setAttribute("y2",or[1])));else{var ps;if((rr.s._mdf||rr.e._mdf||vr)&&(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)),cr.setAttribute("r",ps),ur&&!rr.g._collapsable&&rr.of.setAttribute("r",ps)),rr.e._mdf||rr.h._mdf||rr.a._mdf||vr){ps||(ps=Math.sqrt(Math.pow(Er[0]-or[0],2)+Math.pow(Er[1]-or[1],2)));var os=Math.atan2(or[1]-Er[1],or[0]-Er[0]),xs=rr.h.v;xs>=1?xs=.99:xs<=-1&&(xs=-.99);var is=ps*xs,cs=Math.cos(os+rr.a.v)*is+Er[0],Ar=Math.sin(os+rr.a.v)*is+Er[1];cr.setAttribute("fx",cs),cr.setAttribute("fy",Ar),ur&&!rr.g._collapsable&&(rr.of.setAttribute("fx",cs),rr.of.setAttribute("fy",Ar))}}}function gr(nr,rr,vr){var cr=rr.style,ur=rr.d;ur&&(ur._mdf||vr)&&ur.dashStr&&(cr.pElem.setAttribute("stroke-dasharray",ur.dashStr),cr.pElem.setAttribute("stroke-dashoffset",ur.dashoffset[0])),rr.c&&(rr.c._mdf||vr)&&cr.pElem.setAttribute("stroke","rgb("+bmFloor(rr.c.v[0])+","+bmFloor(rr.c.v[1])+","+bmFloor(rr.c.v[2])+")"),(rr.o._mdf||vr)&&cr.pElem.setAttribute("stroke-opacity",rr.o.v),(rr.w._mdf||vr)&&(cr.pElem.setAttribute("stroke-width",rr.w.v),cr.msElem&&cr.msElem.setAttribute("stroke-width",rr.w.v))}return i}();function SVGShapeElement(t,e,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,i),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,i,r,o=this.stylesList.length,Zt,tr=[],ar=!1;for(r=0;r<o;r+=1){for(Zt=this.stylesList[r],ar=!1,tr.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(Zt)!==-1&&(tr.push(i),ar=i._isAnimated||ar);tr.length>1&&ar&&this.setShapesAsAnimated(tr)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var i,r=new SVGStyleData(t,e),o=r.pElem;if(t.ty==="st")i=new SVGStrokeStyleData(this,t,r);else if(t.ty==="fl")i=new SVGFillStyleData(this,t,r);else if(t.ty==="gf"||t.ty==="gs"){var Zt=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new Zt(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),o.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return(t.ty==="st"||t.ty==="gs")&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),o.setAttribute("fill-opacity","0"),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&o.setAttribute("fill-rule","evenodd"),t.ln&&o.setAttribute("id",t.ln),t.cl&&o.setAttribute("class",t.cl),t.bm&&(o.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(r),this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var i=TransformPropertyFactory.getTransformProperty(this,t,this),r=new SVGTransformData(i,i.o,e);return this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createShapeElement=function(t,e,i){var r=4;t.ty==="rc"?r=5:t.ty==="el"?r=6:t.ty==="sr"&&(r=7);var o=ShapePropertyFactory.getShapeProp(this,t,r,this),Zt=new SVGShapeData(e,i,o);return this.shapes.push(Zt),this.addShapeToModifiers(Zt),this.addToAnimatedContents(t,Zt),Zt},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var i=0,r=this.animatedContents.length;i<r;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e=t.styles,i,r=this.stylesList.length;for(i=0;i<r;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,i,r,o,Zt,tr){var ar=[].concat(Zt),ir,fr=t.length-1,gr,nr,rr=[],vr=[],cr,ur,Er;for(ir=fr;ir>=0;ir-=1){if(Er=this.searchProcessedElement(t[ir]),Er?e[ir]=i[Er-1]:t[ir]._render=tr,t[ir].ty==="fl"||t[ir].ty==="st"||t[ir].ty==="gf"||t[ir].ty==="gs"||t[ir].ty==="no")Er?e[ir].style.closed=!1:e[ir]=this.createStyleElement(t[ir],o),t[ir]._render&&e[ir].style.pElem.parentNode!==r&&r.appendChild(e[ir].style.pElem),rr.push(e[ir].style);else if(t[ir].ty==="gr"){if(!Er)e[ir]=this.createGroupElement(t[ir]);else for(nr=e[ir].it.length,gr=0;gr<nr;gr+=1)e[ir].prevViewData[gr]=e[ir].it[gr];this.searchShapes(t[ir].it,e[ir].it,e[ir].prevViewData,e[ir].gr,o+1,ar,tr),t[ir]._render&&e[ir].gr.parentNode!==r&&r.appendChild(e[ir].gr)}else t[ir].ty==="tr"?(Er||(e[ir]=this.createTransformElement(t[ir],r)),cr=e[ir].transform,ar.push(cr)):t[ir].ty==="sh"||t[ir].ty==="rc"||t[ir].ty==="el"||t[ir].ty==="sr"?(Er||(e[ir]=this.createShapeElement(t[ir],ar,o)),this.setElementStyles(e[ir])):t[ir].ty==="tm"||t[ir].ty==="rd"||t[ir].ty==="ms"||t[ir].ty==="pb"||t[ir].ty==="zz"||t[ir].ty==="op"?(Er?(ur=e[ir],ur.closed=!1):(ur=ShapeModifiers.getModifier(t[ir].ty),ur.init(this,t[ir]),e[ir]=ur,this.shapeModifiers.push(ur)),vr.push(ur)):t[ir].ty==="rp"&&(Er?(ur=e[ir],ur.closed=!0):(ur=ShapeModifiers.getModifier(t[ir].ty),e[ir]=ur,ur.init(this,t,ir,e),this.shapeModifiers.push(ur),tr=!1),vr.push(ur));this.addProcessedElement(t[ir],ir+1)}for(fr=rr.length,ir=0;ir<fr;ir+=1)rr[ir].closed=!0;for(fr=vr.length,ir=0;ir<fr;ir+=1)vr[ir].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e=this.animatedContents.length,i;for(t=0;t<e;t+=1)i=this.animatedContents[t],(this._isFirstFrame||i.element._isAnimated)&&i.data!==!0&&i.fn(i.data,i.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,i,r,o,Zt){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=o,this.p=Zt,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,i,r,o,Zt){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var tr=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,tr=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,tr=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,tr=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,tr=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,tr=!0),Zt.length&&(this.p[0]!==Zt[0]||this.p[1]!==Zt[1]||this.p[4]!==Zt[4]||this.p[5]!==Zt[5]||this.p[12]!==Zt[12]||this.p[13]!==Zt[13])&&(this.p=Zt,this._mdf.p=!0,tr=!0),tr};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,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,i=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var r,o=this.effectsSequence.length,Zt=t||this.data.d.k[this.keysIndex].s;for(r=0;r<o;r+=1)i!==this.keysIndex?Zt=this.effectsSequence[r](Zt,Zt.t):Zt=this.effectsSequence[r](this.currentData,Zt.t);e!==Zt&&this.setCurrentData(Zt),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,r=t.length;i<=r-1&&!(i===r-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e=[],i=0,r=t.length,o,Zt,tr=!1,ar=!1,ir="";i<r;)tr=ar,ar=!1,o=t.charCodeAt(i),ir=t.charAt(i),FontManager.isCombinedCharacter(o)?tr=!0:o>=55296&&o<=56319?FontManager.isRegionalFlag(t,i)?ir=t.substr(i,14):(Zt=t.charCodeAt(i+1),Zt>=56320&&Zt<=57343&&(FontManager.isModifier(o,Zt)?(ir=t.substr(i,2),tr=!0):FontManager.isFlagEmoji(t.substr(i,4))?ir=t.substr(i,4):ir=t.substr(i,2))):o>56319?(Zt=t.charCodeAt(i+1),FontManager.isVariationSelector(o)&&(tr=!0)):FontManager.isZeroWidthJoiner(o)&&(tr=!0,ar=!0),tr?(e[e.length-1]+=ir,tr=!1):e.push(ir),i+=ir.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],o,Zt,tr,ar=0,ir,fr=i.m.g,gr=0,nr=0,rr=0,vr=[],cr=0,ur=0,Er,or,sr=e.getFontByName(t.f),pr,dr=0,Pr=getFontProperties(sr);t.fWeight=Pr.weight,t.fStyle=Pr.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),Zt=t.finalText.length,t.finalLineHeight=t.lh;var Ir=t.tr/1e3*t.finalSize,zr;if(t.sz)for(var $r=!0,es=t.sz[0],hs=t.sz[1],ps,os;$r;){os=this.buildFinalText(t.t),ps=0,cr=0,Zt=os.length,Ir=t.tr/1e3*t.finalSize;var xs=-1;for(o=0;o<Zt;o+=1)zr=os[o].charCodeAt(0),tr=!1,os[o]===" "?xs=o:(zr===13||zr===3)&&(cr=0,tr=!0,ps+=t.finalLineHeight||t.finalSize*1.2),e.chars?(pr=e.getCharData(os[o],sr.fStyle,sr.fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(os[o],t.f,t.finalSize),cr+dr>es&&os[o]!==" "?(xs===-1?Zt+=1:o=xs,ps+=t.finalLineHeight||t.finalSize*1.2,os.splice(o,xs===o?1:0,"\r"),xs=-1,cr=0):(cr+=dr,cr+=Ir);ps+=sr.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&hs<ps?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=os,Zt=t.finalText.length,$r=!1)}cr=-Ir,dr=0;var is=0,cs;for(o=0;o<Zt;o+=1)if(tr=!1,cs=t.finalText[o],zr=cs.charCodeAt(0),zr===13||zr===3?(is=0,vr.push(cr),ur=cr>ur?cr:ur,cr=-2*Ir,ir="",tr=!0,rr+=1):ir=cs,e.chars?(pr=e.getCharData(cs,sr.fStyle,e.getFontByName(t.f).fFamily),dr=tr?0:pr.w*t.finalSize/100):dr=e.measureText(ir,t.f,t.finalSize),cs===" "?is+=dr+Ir:(cr+=dr+Ir+is,is=0),r.push({l:dr,an:dr,add:gr,n:tr,anIndexes:[],val:ir,line:rr,animatorJustifyOffset:0}),fr==2){if(gr+=dr,ir===""||ir===" "||o===Zt-1){for((ir===""||ir===" ")&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;ar+=1,gr=0}}else if(fr==3){if(gr+=dr,ir===""||o===Zt-1){for(ir===""&&(gr-=dr);nr<=o;)r[nr].an=gr,r[nr].ind=ar,r[nr].extra=dr,nr+=1;gr=0,ar+=1}}else r[ar].ind=ar,r[ar].extra=0,ar+=1;if(t.l=r,ur=cr>ur?cr:ur,vr.push(cr),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=ur,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=vr;var Ar=i.a,Tr,yr;or=Ar.length;var Mr,Ur,jr=[];for(Er=0;Er<or;Er+=1){for(Tr=Ar[Er],Tr.a.sc&&(t.strokeColorAnim=!0),Tr.a.sw&&(t.strokeWidthAnim=!0),(Tr.a.fc||Tr.a.fh||Tr.a.fs||Tr.a.fb)&&(t.fillColorAnim=!0),Ur=0,Mr=Tr.s.b,o=0;o<Zt;o+=1)yr=r[o],yr.anIndexes[Er]=Ur,(Mr==1&&yr.val!==""||Mr==2&&yr.val!==""&&yr.val!==" "||Mr==3&&(yr.n||yr.val==" "||o==Zt-1)||Mr==4&&(yr.n||o==Zt-1))&&(Tr.s.rn===1&&jr.push(Ur),Ur+=1);i.a[Er].s.totalChars=Ur;var Vs=-1,Ts;if(Tr.s.rn===1)for(o=0;o<Zt;o+=1)yr=r[o],Vs!=yr.anIndexes[Er]&&(Vs=yr.anIndexes[Er],Ts=jr.splice(Math.floor(Math.random()*jr.length),1)[0]),yr.anIndexes[Er]=Ts}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=sr.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?this.keysIndex:e;var i=this.copyData({},this.data.d.k[e].s);i=this.copyData(i,t),this.data.d.k[e].s=i,this.recalculate(e),this.setCurrentData(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,i=Math.floor;function r(Zt,tr){this._currentTextLength=-1,this.k=!1,this.data=tr,this.elem=Zt,this.comp=Zt.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(Zt),this.s=PropertyFactory.getProp(Zt,tr.s||{k:0},0,0,this),"e"in tr?this.e=PropertyFactory.getProp(Zt,tr.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(Zt,tr.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(Zt,tr.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(Zt,tr.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(Zt,tr.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(Zt,tr.a,0,.01,this),this.dynamicProperties.length||this.getValue()}r.prototype={getMult:function(Zt){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var tr=0,ar=0,ir=1,fr=1;this.ne.v>0?tr=this.ne.v/100:ar=-this.ne.v/100,this.xe.v>0?ir=1-this.xe.v/100:fr=1+this.xe.v/100;var gr=BezierFactory.getBezierEasing(tr,ar,ir,fr).get,nr=0,rr=this.finalS,vr=this.finalE,cr=this.data.sh;if(cr===2)vr===rr?nr=Zt>=vr?1:0:nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===3)vr===rr?nr=Zt>=vr?0:1:nr=1-t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr=gr(nr);else if(cr===4)vr===rr?nr=0:(nr=t(0,e(.5/(vr-rr)+(Zt-rr)/(vr-rr),1)),nr<.5?nr*=2:nr=1-2*(nr-.5)),nr=gr(nr);else if(cr===5){if(vr===rr)nr=0;else{var ur=vr-rr;Zt=e(t(0,Zt+.5-rr),vr-rr);var Er=-ur/2+Zt,or=ur/2;nr=Math.sqrt(1-Er*Er/(or*or))}nr=gr(nr)}else cr===6?(vr===rr?nr=0:(Zt=e(t(0,Zt+.5-rr),vr-rr),nr=(1+Math.cos(Math.PI+Math.PI*2*Zt/(vr-rr)))/2),nr=gr(nr)):(Zt>=i(rr)&&(Zt-rr<0?nr=t(0,e(e(vr,1)-(rr-Zt),1)):nr=t(0,e(vr-Zt,1))),nr=gr(nr));if(this.sm.v!==100){var sr=this.sm.v*.01;sr===0&&(sr=1e-8);var pr=.5-sr*.5;nr<pr?nr=0:(nr=(nr-pr)/sr,nr>1&&(nr=1))}return nr*this.a.v},getValue:function(Zt){this.iterateDynamicProperties(),this._mdf=Zt||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,Zt&&this.data.r===2&&(this.e.v=this._currentTextLength);var tr=this.data.r===2?1:100/this.data.totalChars,ar=this.o.v/tr,ir=this.s.v/tr+ar,fr=this.e.v/tr+ar;if(ir>fr){var gr=ir;ir=fr,fr=gr}this.finalS=ir,this.finalE=fr}},extendPrototype([DynamicPropertyContainer],r);function o(Zt,tr,ar){return new r(Zt,tr)}return{getTextSelectorProp:o}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},o=PropertyFactory.getProp,Zt=e.a;this.a={r:Zt.r?o(t,Zt.r,0,degToRads,i):r,rx:Zt.rx?o(t,Zt.rx,0,degToRads,i):r,ry:Zt.ry?o(t,Zt.ry,0,degToRads,i):r,sk:Zt.sk?o(t,Zt.sk,0,degToRads,i):r,sa:Zt.sa?o(t,Zt.sa,0,degToRads,i):r,s:Zt.s?o(t,Zt.s,1,.01,i):r,a:Zt.a?o(t,Zt.a,1,0,i):r,o:Zt.o?o(t,Zt.o,0,.01,i):r,p:Zt.p?o(t,Zt.p,1,0,i):r,sw:Zt.sw?o(t,Zt.sw,0,0,i):r,sc:Zt.sc?o(t,Zt.sc,1,0,i):r,fc:Zt.fc?o(t,Zt.fc,1,0,i):r,fh:Zt.fh?o(t,Zt.fh,0,0,i):r,fs:Zt.fs?o(t,Zt.fs,0,.01,i):r,fb:Zt.fb?o(t,Zt.fb,0,.01,i):r,t:Zt.t?o(t,Zt.t,0,0,i):r},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function TextAnimatorProperty(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,r=PropertyFactory.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:r(this._elem,this._textData.p.a,0,0,this),f:r(this._elem,this._textData.p.f,0,0,this),l:r(this._elem,this._textData.p.l,0,0,this),r:r(this._elem,this._textData.p.r,0,0,this),p:r(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=r(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,!(!this._mdf&&!this._isFirstFrame&&!e&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var i=this._moreOptions.alignment.v,r=this._animatorsData,o=this._textData,Zt=this.mHelper,tr=this._renderType,ar=this.renderedLetters.length,ir,fr,gr,nr,rr=t.l,vr,cr,ur,Er,or,sr,pr,dr,Pr,Ir,zr,$r,es,hs,ps;if(this._hasMaskedPath){if(ps=this._pathData.m,!this._pathData.n||this._pathData._mdf){var os=ps.v;this._pathData.r.v&&(os=os.reverse()),vr={tLength:0,segments:[]},nr=os._length-1;var xs;for($r=0,gr=0;gr<nr;gr+=1)xs=bez.buildBezierData(os.v[gr],os.v[gr+1],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[gr+1][0]-os.v[gr+1][0],os.i[gr+1][1]-os.v[gr+1][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength;gr=nr,ps.v.c&&(xs=bez.buildBezierData(os.v[gr],os.v[0],[os.o[gr][0]-os.v[gr][0],os.o[gr][1]-os.v[gr][1]],[os.i[0][0]-os.v[0][0],os.i[0][1]-os.v[0][1]]),vr.tLength+=xs.segmentLength,vr.segments.push(xs),$r+=xs.segmentLength),this._pathData.pi=vr}if(vr=this._pathData.pi,cr=this._pathData.f.v,pr=0,sr=1,Er=0,or=!0,Ir=vr.segments,cr<0&&ps.v.c)for(vr.tLength<Math.abs(cr)&&(cr=-Math.abs(cr)%vr.tLength),pr=Ir.length-1,Pr=Ir[pr].points,sr=Pr.length-1;cr<0;)cr+=Pr[sr].partialLength,sr-=1,sr<0&&(pr-=1,Pr=Ir[pr].points,sr=Pr.length-1);Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength}nr=rr.length,ir=0,fr=0;var is=t.finalSize*1.2*.714,cs=!0,Ar,Tr,yr,Mr,Ur;Mr=r.length;var jr,Vs=-1,Ts,Ns,Bs,Ys=cr,Hs=pr,Qs=sr,na=-1,ra,$s,sa,Rs,Ms,ua,ka,ya,la="",_a=this.defaultPropsArray,ca;if(t.j===2||t.j===1){var aa=0,da=0,js=t.j===2?-.5:-1,Us=0,qs=!0;for(gr=0;gr<nr;gr+=1)if(rr[gr].n){for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1;aa=0,qs=!0}else{for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(qs&&t.j===2&&(da+=Ar.t.v*js),Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?aa+=Ar.t.v*jr[0]*js:aa+=Ar.t.v*jr*js);qs=!1}for(aa&&(aa+=da);Us<gr;)rr[Us].animatorJustifyOffset=aa,Us+=1}for(gr=0;gr<nr;gr+=1){if(Zt.reset(),ra=1,rr[gr].n)ir=0,fr+=t.yOffset,fr+=cs?1:0,cr=Ys,cs=!1,this._hasMaskedPath&&(pr=Hs,sr=Qs,Pr=Ir[pr].points,dr=Pr[sr-1],ur=Pr[sr],zr=ur.partialLength,Er=0),la="",ya="",ua="",ca="",_a=this.defaultPropsArray;else{if(this._hasMaskedPath){if(na!==rr[gr].line){switch(t.j){case 1:cr+=$r-t.lineWidths[rr[gr].line];break;case 2:cr+=($r-t.lineWidths[rr[gr].line])/2;break}na=rr[gr].line}Vs!==rr[gr].ind&&(rr[Vs]&&(cr+=rr[Vs].extra),cr+=rr[gr].an/2,Vs=rr[gr].ind),cr+=i[0]*rr[gr].an*.005;var ta=0;for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.p.v[0]*jr[0]:ta+=Ar.p.v[0]*jr),Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?ta+=Ar.a.v[0]*jr[0]:ta+=Ar.a.v[0]*jr);for(or=!0,this._pathData.a.v&&(cr=rr[0].an*.5+($r-this._pathData.f.v-rr[0].an*.5-rr[rr.length-1].an*.5)*Vs/(nr-1),cr+=this._pathData.f.v);or;)Er+zr>=cr+ta||!Pr?(es=(cr+ta-Er)/ur.partialLength,Ns=dr.point[0]+(ur.point[0]-dr.point[0])*es,Bs=dr.point[1]+(ur.point[1]-dr.point[1])*es,Zt.translate(-i[0]*rr[gr].an*.005,-(i[1]*is)*.01),or=!1):Pr&&(Er+=ur.partialLength,sr+=1,sr>=Pr.length&&(sr=0,pr+=1,Ir[pr]?Pr=Ir[pr].points:ps.v.c?(sr=0,pr=0,Pr=Ir[pr].points):(Er-=ur.partialLength,Pr=null)),Pr&&(dr=ur,ur=Pr[sr],zr=ur.partialLength));Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0)}else Ts=rr[gr].an/2-rr[gr].add,Zt.translate(-Ts,0,0),Zt.translate(-i[0]*rr[gr].an*.005,-i[1]*is*.01,0);for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.t.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),(ir!==0||t.j!==0)&&(this._hasMaskedPath?jr.length?cr+=Ar.t.v*jr[0]:cr+=Ar.t.v*jr:jr.length?ir+=Ar.t.v*jr[0]:ir+=Ar.t.v*jr));for(t.strokeWidthAnim&&(sa=t.sw||0),t.strokeColorAnim&&(t.sc?$s=[t.sc[0],t.sc[1],t.sc[2]]:$s=[0,0,0]),t.fillColorAnim&&t.fc&&(Rs=[t.fc[0],t.fc[1],t.fc[2]]),yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.a.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.translate(-Ar.a.v[0]*jr[0],-Ar.a.v[1]*jr[1],Ar.a.v[2]*jr[2]):Zt.translate(-Ar.a.v[0]*jr,-Ar.a.v[1]*jr,Ar.a.v[2]*jr));for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.s.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),jr.length?Zt.scale(1+(Ar.s.v[0]-1)*jr[0],1+(Ar.s.v[1]-1)*jr[1],1):Zt.scale(1+(Ar.s.v[0]-1)*jr,1+(Ar.s.v[1]-1)*jr,1));for(yr=0;yr<Mr;yr+=1){if(Ar=r[yr].a,Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),Ar.sk.propType&&(jr.length?Zt.skewFromAxis(-Ar.sk.v*jr[0],Ar.sa.v*jr[1]):Zt.skewFromAxis(-Ar.sk.v*jr,Ar.sa.v*jr)),Ar.r.propType&&(jr.length?Zt.rotateZ(-Ar.r.v*jr[2]):Zt.rotateZ(-Ar.r.v*jr)),Ar.ry.propType&&(jr.length?Zt.rotateY(Ar.ry.v*jr[1]):Zt.rotateY(Ar.ry.v*jr)),Ar.rx.propType&&(jr.length?Zt.rotateX(Ar.rx.v*jr[0]):Zt.rotateX(Ar.rx.v*jr)),Ar.o.propType&&(jr.length?ra+=(Ar.o.v*jr[0]-ra)*jr[0]:ra+=(Ar.o.v*jr-ra)*jr),t.strokeWidthAnim&&Ar.sw.propType&&(jr.length?sa+=Ar.sw.v*jr[0]:sa+=Ar.sw.v*jr),t.strokeColorAnim&&Ar.sc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr[0]:$s[Ms]+=(Ar.sc.v[Ms]-$s[Ms])*jr;if(t.fillColorAnim&&t.fc){if(Ar.fc.propType)for(Ms=0;Ms<3;Ms+=1)jr.length?Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr[0]:Rs[Ms]+=(Ar.fc.v[Ms]-Rs[Ms])*jr;Ar.fh.propType&&(jr.length?Rs=addHueToRGB(Rs,Ar.fh.v*jr[0]):Rs=addHueToRGB(Rs,Ar.fh.v*jr)),Ar.fs.propType&&(jr.length?Rs=addSaturationToRGB(Rs,Ar.fs.v*jr[0]):Rs=addSaturationToRGB(Rs,Ar.fs.v*jr)),Ar.fb.propType&&(jr.length?Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr[0]):Rs=addBrightnessToRGB(Rs,Ar.fb.v*jr))}}for(yr=0;yr<Mr;yr+=1)Ar=r[yr].a,Ar.p.propType&&(Tr=r[yr].s,jr=Tr.getMult(rr[gr].anIndexes[yr],o.a[yr].s.totalChars),this._hasMaskedPath?jr.length?Zt.translate(0,Ar.p.v[1]*jr[0],-Ar.p.v[2]*jr[1]):Zt.translate(0,Ar.p.v[1]*jr,-Ar.p.v[2]*jr):jr.length?Zt.translate(Ar.p.v[0]*jr[0],Ar.p.v[1]*jr[1],-Ar.p.v[2]*jr[2]):Zt.translate(Ar.p.v[0]*jr,Ar.p.v[1]*jr,-Ar.p.v[2]*jr));if(t.strokeWidthAnim&&(ua=sa<0?0:sa),t.strokeColorAnim&&(ka="rgb("+Math.round($s[0]*255)+","+Math.round($s[1]*255)+","+Math.round($s[2]*255)+")"),t.fillColorAnim&&t.fc&&(ya="rgb("+Math.round(Rs[0]*255)+","+Math.round(Rs[1]*255)+","+Math.round(Rs[2]*255)+")"),this._hasMaskedPath){if(Zt.translate(0,-t.ls),Zt.translate(0,i[1]*is*.01+fr,0),this._pathData.p.v){hs=(ur.point[1]-dr.point[1])/(ur.point[0]-dr.point[0]);var ga=Math.atan(hs)*180/Math.PI;ur.point[0]<dr.point[0]&&(ga+=180),Zt.rotate(-ga*Math.PI/180)}Zt.translate(Ns,Bs,0),cr-=i[0]*rr[gr].an*.005,rr[gr+1]&&Vs!==rr[gr+1].ind&&(cr+=rr[gr].an/2,cr+=t.tr*.001*t.finalSize)}else{switch(Zt.translate(ir,fr,0),t.ps&&Zt.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line]),0,0);break;case 2:Zt.translate(rr[gr].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[rr[gr].line])/2,0,0);break}Zt.translate(0,-t.ls),Zt.translate(Ts,0,0),Zt.translate(i[0]*rr[gr].an*.005,i[1]*is*.01,0),ir+=rr[gr].l+t.tr*.001*t.finalSize}tr==="html"?la=Zt.toCSS():tr==="svg"?la=Zt.to2dCSS():_a=[Zt.props[0],Zt.props[1],Zt.props[2],Zt.props[3],Zt.props[4],Zt.props[5],Zt.props[6],Zt.props[7],Zt.props[8],Zt.props[9],Zt.props[10],Zt.props[11],Zt.props[12],Zt.props[13],Zt.props[14],Zt.props[15]],ca=ra}ar<=gr?(Ur=new LetterProps(ca,ua,ka,ya,la,_a),this.renderedLetters.push(Ur),ar+=1,this.lettersChangedFlag=!0):(Ur=this.renderedLetters[gr],this.lettersChangedFlag=Ur.update(ca,ua,ka,ya,la,_a)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,i),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},ITextElement.prototype.createPathShape=function(t,e){var i,r=e.length,o,Zt="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(o=e[i].ks.k,Zt+=buildShapeString(o,o.i.length,!0,t));return Zt},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,i,r,o){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[i])/2,0,0);break}e.translate(r,o,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,i=t.length,r=[],o="";e<i;)t[e]==="\r"||t[e]==="�"?(r.push(o),o=""):o+=t[e],e+=1;return r.push(o),r},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var r=i.it[i.it.length-1];r.s&&(r.s.k[0]=e,r.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i?i.l.length:0),i.fc?this.layerElement.setAttribute("fill",this.buildColor(i.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),i.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(i.sc)),this.layerElement.setAttribute("stroke-width",i.sw)),this.layerElement.setAttribute("font-size",i.finalSize);var r=this.globalData.fontManager.getFontByName(i.f);if(r.fClass)this.layerElement.setAttribute("class",r.fClass);else{this.layerElement.setAttribute("font-family",r.fFamily);var o=i.fWeight,Zt=i.fStyle;this.layerElement.setAttribute("font-style",Zt),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",i.t);var tr=i.l||[],ar=!!this.globalData.fontManager.chars;e=tr.length;var ir,fr=this.mHelper,gr="",nr=this.data.singleShape,rr=0,vr=0,cr=!0,ur=i.tr*.001*i.finalSize;if(nr&&!ar&&!i.sz){var Er=this.textContainer,or="start";switch(i.j){case 1:or="end";break;case 2:or="middle";break;default:or="start";break}Er.setAttribute("text-anchor",or),Er.setAttribute("letter-spacing",ur);var sr=this.buildTextContents(i.finalText);for(e=sr.length,vr=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)ir=this.textSpans[t].span||createNS("tspan"),ir.textContent=sr[t],ir.setAttribute("x",0),ir.setAttribute("y",vr),ir.style.display="inherit",Er.appendChild(ir),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=ir,vr+=i.finalLineHeight;this.layerElement.appendChild(Er)}else{var pr=this.textSpans.length,dr;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!ar||!nr||t===0){if(ir=pr>t?this.textSpans[t].span:createNS(ar?"g":"text"),pr<=t){if(ir.setAttribute("stroke-linecap","butt"),ir.setAttribute("stroke-linejoin","round"),ir.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=ir,ar){var Pr=createNS("g");ir.appendChild(Pr),this.textSpans[t].childSpan=Pr}this.textSpans[t].span=ir,this.layerElement.appendChild(ir)}ir.style.display="inherit"}if(fr.reset(),nr&&(tr[t].n&&(rr=-ur,vr+=i.yOffset,vr+=cr?1:0,cr=!1),this.applyTextPropertiesToMatrix(i,fr,tr[t].line,rr,vr),rr+=tr[t].l||0,rr+=ur),ar){dr=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var Ir;if(dr.t===1)Ir=new SVGCompElement(dr.data,this.globalData,this);else{var zr=emptyShapeData;dr.data&&dr.data.shapes&&(zr=this.buildShapeData(dr.data,i.finalSize)),Ir=new SVGShapeElement(zr,this.globalData,this)}if(this.textSpans[t].glyph){var $r=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild($r.layerElement),$r.destroy()}this.textSpans[t].glyph=Ir,Ir._debug=!0,Ir.prepareFrame(0),Ir.renderFrame(),this.textSpans[t].childSpan.appendChild(Ir.layerElement),dr.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else nr&&ir.setAttribute("transform","translate("+fr.props[12]+","+fr.props[13]+")"),ir.textContent=tr[t].val,ir.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}nr&&ir&&ir.setAttribute("d",gr)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e=this.textSpans.length,i;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)i=this.textSpans[t].glyph,i&&(i.prepareFrame(this.comp.renderedFrame-this.data.st),i._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,i=this.textAnimator.renderedLetters,r=this.textProperty.currentData.l;e=r.length;var o,Zt,tr;for(t=0;t<e;t+=1)r[t].n||(o=i[t],Zt=this.textSpans[t].span,tr=this.textSpans[t].glyph,tr&&tr.renderFrame(),o._mdf.m&&Zt.setAttribute("transform",o.m),o._mdf.o&&Zt.setAttribute("op
852acity",o.o),o._mdf.sw&&Zt.setAttribute("stroke-width",o.sw),o._mdf.sc&&Zt.setAttribute("stroke",o.sc),o._mdf.fc&&Zt.setAttribute("fill",o.fc))}};function ISolidElement(t,e,i){this.initElement(t,e,i)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function NullElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var i=createNS("clipPath"),r=createNS("rect");r.setAttribute("width",t.w),r.setAttribute("height",t.h),r.setAttribute("x",0),r.setAttribute("y",0);var o=createElementID();i.setAttribute("id",o),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+o+")"),e.appendChild(i),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,i=this.layers.length;for(e=0;e<i;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){e[t]=!0;var i=this.createItem(this.layers[t]);if(e[t]=i,getExpressionsPlugin()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var r="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(r===-1)return;if(!this.elements[r]||this.elements[r]===!0)this.buildItem(r),this.addPendingElement(i);else{var o=e[r],Zt=o.getMatte(this.layers[t].tt);i.setMatte(Zt)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,i=this.elements.length;e<i;){if(this.elements[e]===t){var r="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,o=this.elements[r],Zt=o.getMatte(this.layers[e].tt);t.setMatte(Zt);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=i-1;e>=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<i;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var r=0,o;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&
vendor: 61,414 bytes, line 852
852(o=this.elements[r].getBaseElement()),r+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initTransform(t,e,i),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var i,r=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=r-1;i>=0;i-=1)(this.completeLayers||this.elements[i])&&(this.elements[i].prepareFrame(this.renderedFrame-this.layers[i].st),this.elements[i]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var i="";if(e&&e.title){var r=createNS("title"),o=createElementID();r.setAttribute("id",o),r.textContent=e.title,this.svgElement.appendChild(r),i+=o}if(e&&e.description){var Zt=createNS("desc"),tr=createElementID();Zt.setAttribute("id",tr),Zt.textContent=e.description,this.svgElement.appendChild(Zt),i+=" "+tr}i&&this.svgElement.setAttribute("aria-labelledby",i);var ar=createNS("defs");this.svgElement.appendChild(ar);var ir=createNS("g");this.svgElement.appendChild(ir),this.layerElement=ir,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&e.hideOnTransparent===!1),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:ar,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};var registeredEffects={};function CVEffects(t){var e,i=t.data.ef?t.data.ef.length:0;this.filters=[];var r;for(e=0;e<i;e+=1){r=null;var o=t.data.ef[e].ty;if(registeredEffects[o]){var Zt=registeredEffects[o].effect;r=new Zt(t.effectsManager.effectElements[e],t)}r&&this.filters.push(r)}this.filters.length&&t.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,i=this.filters.length,r=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&r.push(this.filters[e]);return r};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,i){this.initElement(t,e,i)}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,i){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,i),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 i,r=t.length;for(i=0;i<r;i+=1)e=t[i].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var i=t.sh.v,r=t.transformers,o,Zt=i._length,tr,ar,ir,fr;if(!(Zt<=1)){for(o=0;o<Zt-1;o+=1)tr=this.getTransformedPoint(r,i.v[o]),ar=this.getTransformedPoint(r,i.o[o]),ir=this.getTransformedPoint(r,i.i[o+1]),fr=this.getTransformedPoint(r,i.v[o+1]),this.checkBounds(tr,ar,ir,fr,e);i.c&&(tr=this.getTransformedPoint(r,i.v[o]),ar=this.getTransformedPoint(r,i.o[o]),ir=this.getTransformedPoint(r,i.i[0]),fr=this.getTransformedPoint(r,i.v[0]),this.checkBounds(tr,ar,ir,fr,e))}},HShapeElement.prototype.checkBounds=function(t,e,i,r,o){this.getBoundsOfCurve(t,e,i,r);var Zt=this.shapeBoundingBox;o.x=bmMin(Zt.left,o.x),o.xMax=bmMax(Zt.right,o.xMax),o.y=bmMin(Zt.top,o.y),o.yMax=bmMax(Zt.bottom,o.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,i,r){for(var o=[[t[0],r[0]],[t[1],r[1]]],Zt,tr,ar,ir,fr,gr,nr,rr=0;rr<2;++rr)tr=6*t[rr]-12*e[rr]+6*i[rr],Zt=-3*t[rr]+9*e[rr]-9*i[rr]+3*r[rr],ar=3*e[rr]-3*t[rr],tr|=0,Zt|=0,ar|=0,Zt===0&&tr===0||(Zt===0?(ir=-ar/tr,ir>0&&ir<1&&o[rr].push(this.calculateF(ir,t,e,i,r,rr))):(fr=tr*tr-4*ar*Zt,fr>=0&&(gr=(-tr+bmSqrt(fr))/(2*Zt),gr>0&&gr<1&&o[rr].push(this.calculateF(gr,t,e,i,r,rr)),nr=(-tr-bmSqrt(fr))/(2*Zt),nr>0&&nr<1&&o[rr].push(this.calculateF(nr,t,e,i,r,rr)))));this.shapeBoundingBox.left=bmMin.apply(null,o[0]),this.shapeBoundingBox.top=bmMin.apply(null,o[1]),this.shapeBoundingBox.right=bmMax.apply(null,o[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,o[1])},HShapeElement.prototype.calculateF=function(t,e,i,r,o,Zt){return bmPow(1-t,3)*e[Zt]+3*bmPow(1-t,2)*t*i[Zt]+3*(1-t)*bmPow(t,2)*r[Zt]+bmPow(t,3)*o[Zt]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var i,r=t.length;for(i=0;i<r;i+=1)t[i]&&t[i].sh?this.calculateShapeBoundingBox(t[i],e):t[i]&&t[i].it?this.calculateBoundingBox(t[i].it,e):t[i]&&t[i].style&&t[i].w&&this.expandStrokeBoundingBox(t[i].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var i=0;if(t.keyframes){for(var r=0;r<t.keyframes.length;r+=1){var o=t.keyframes[r].s;o>i&&(i=o)}i*=t.mult}else i=t.v*t.mult;e.x-=i,e.xMax+=i,e.y-=i,e.yMax+=i},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<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var i=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),i=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),i=!0),i||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var r=this.shapeCont.style,o="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=o,r.webkitTransform=o}}};function HTextElement(t,e,i){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,i=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=i,e.color=i,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var r=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",r.fClass)this.innerElem.className=r.fClass;else{e.fontFamily=r.fFamily;var o=t.fWeight,Zt=t.fStyle;e.fontStyle=Zt,e.fontWeight=o}var tr,ar,ir=t.l;ar=ir.length;var fr,gr,nr,rr=this.mHelper,vr,cr="",ur=0;for(tr=0;tr<ar;tr+=1){if(this.globalData.fontManager.chars?(this.textPaths[ur]?fr=this.textPaths[ur]:(fr=createNS("path"),fr.setAttribute("stroke-linecap",lineCapEnum[1]),fr.setAttribute("stroke-linejoin",lineJoinEnum[2]),fr.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[ur]?(gr=this.textSpans[ur],nr=gr.children[0]):(gr=createTag("div"),gr.style.lineHeight=0,nr=createNS("svg"),nr.appendChild(fr),styleDiv(gr)))):this.isMasked?fr=this.textPaths[ur]?this.textPaths[ur]:createNS("text"):this.textSpans[ur]?(gr=this.textSpans[ur],fr=this.textPaths[ur]):(gr=createTag("span"),styleDiv(gr),fr=createTag("span"),styleDiv(fr),gr.appendChild(fr)),this.globalData.fontManager.chars){var Er=this.globalData.fontManager.getCharData(t.finalText[tr],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),or;if(Er?or=Er.data:or=null,rr.reset(),or&&or.shapes&&or.shapes.length&&(vr=or.shapes[0].it,rr.scale(t.finalSize/100,t.finalSize/100),cr=this.createPathShape(rr,vr),fr.setAttribute("d",cr)),this.isMasked)this.innerElem.appendChild(fr);else{if(this.innerElem.appendChild(gr),or&&or.shapes){document.body.appendChild(nr);var sr=nr.getBBox();nr.setAttribute("width",sr.width+2),nr.setAttribute("height",sr.height+2),nr.setAttribute("viewBox",sr.x-1+" "+(sr.y-1)+" "+(sr.width+2)+" "+(sr.height+2));var pr=nr.style,dr="translate("+(sr.x-1)+"px,"+(sr.y-1)+"px)";pr.transform=dr,pr.webkitTransform=dr,ir[tr].yOffset=sr.y-1}else nr.setAttribute("width",1),nr.setAttribute("height",1);gr.appendChild(nr)}}else if(fr.textContent=ir[tr].val,fr.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(fr);else{this.innerElem.appendChild(gr);var Pr=fr.style,Ir="translate3d(0,"+-t.finalSize/1.2+"px,0)";Pr.transform=Ir,Pr.webkitTransform=Ir}this.isMasked?this.textSpans[ur]=fr:this.textSpans[ur]=gr,this.textSpans[ur].style.display="block",this.textPaths[ur]=fr,ur+=1}for(;ur<this.textSpans.length;)this.textSpans[ur].style.display="none",ur+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var i,r,o=0,Zt=this.textAnimator.renderedLetters,tr=this.textProperty.currentData.l;r=tr.length;var ar,ir,fr;for(i=0;i<r;i+=1)tr[i].n?o+=1:(ir=this.textSpans[i],fr=this.textPaths[i],ar=Zt[o],o+=1,ar._mdf.m&&(this.isMasked?ir.setAttribute("transform",ar.m):(ir.style.webkitTransform=ar.m,ir.style.transform=ar.m)),ir.style.opacity=ar.o,ar.sw&&ar._mdf.sw&&fr.setAttribute("stroke-width",ar.sw),ar.sc&&ar._mdf.sc&&fr.setAttribute("stroke",ar.sc),ar.fc&&ar._mdf.fc&&(fr.setAttribute("fill",ar.fc),fr.style.color=ar.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var gr=this.innerElem.getBBox();this.currentBBox.w!==gr.width&&(this.currentBBox.w=gr.width,this.svgElement.setAttribute("width",gr.width)),this.currentBBox.h!==gr.height&&(this.currentBBox.h=gr.height,this.svgElement.setAttribute("height",gr.height));var nr=1;if(this.currentBBox.w!==gr.width+nr*2||this.currentBBox.h!==gr.height+nr*2||this.currentBBox.x!==gr.x-nr||this.currentBBox.y!==gr.y-nr){this.currentBBox.w=gr.width+nr*2,this.currentBBox.h=gr.height+nr*2,this.currentBBox.x=gr.x-nr,this.currentBBox.y=gr.y-nr,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var rr="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=rr,t.webkitTransform=rr}}}};function HCameraElement(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initHierarchy();var r=PropertyFactory.getProp;if(this.pe=r(this,t.pe,0,0,this),t.ks.p.s?(this.px=r(this,t.ks.p.x,1,0,this),this.py=r(this,t.ks.p.y,1,0,this),this.pz=r(this,t.ks.p.z,1,0,this)):this.p=r(this,t.ks.p,1,0,this),t.ks.a&&(this.a=r(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var o,Zt=t.ks.or.k.length;for(o=0;o<Zt;o+=1)t.ks.or.k[o].to=null,t.ks.or.k[o].ti=null}this.or=r(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=r(this,t.ks.rx,0,degToRads,this),this.ry=r(this,t.ks.ry,0,degToRads,this),this.rz=r(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e=this.comp.threeDElements.length,i,r,o;for(t=0;t<e;t+=1)if(i=this.comp.threeDElements[t],i.type==="3d"){r=i.perspectiveElem.style,o=i.container.style;var Zt=this.pe.v+"px",tr="0px 0px 0px",ar="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=Zt,r.webkitPerspective=Zt,o.transformOrigin=tr,o.mozTransformOrigin=tr,o.webkitTransformOrigin=tr,r.transform=ar,r.webkitTransform=ar}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame,e,i;if(this.hierarchy)for(i=this.hierarchy.length,e=0;e<i;e+=1)t=this.hierarchy[e].finalTransform.mProp._mdf||t;if(t||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(i=this.hierarchy.length-1,e=i;e>=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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 o;this.p?o=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:o=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var Zt=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),tr=[o[0]/Zt,o[1]/Zt,o[2]/Zt],ar=Math.sqrt(tr[2]*tr[2]+tr[0]*tr[0]),ir=Math.atan2(tr[1],ar),fr=Math.atan2(tr[0],-tr[2]);this.mat.rotateY(fr).rotateX(-ir)}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 gr=!this._prevMat.equals(this.mat);if((gr||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var nr,rr,vr;for(e=0;e<i;e+=1)if(nr=this.comp.threeDElements[e],nr.type==="3d"){if(gr){var cr=this.mat.toCSS();vr=nr.container.style,vr.transform=cr,vr.webkitTransform=cr}this.pe._mdf&&(rr=nr.perspectiveElem.style,rr.perspective=this.pe.v+"px",rr.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(t,e,i){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,i)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){var r=this.layers[e];if(!r.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(i,e);else{for(var o=0,Zt,tr,ar;o<e;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement&&(tr=this.elements[o],ar=this.layers[o].ddd?this.getThreeDContainerByPos(o):tr.getBaseElement(),Zt=ar||Zt),o+=1;Zt?(!r.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,Zt):(!r.ddd||!this.supports3d)&&this.layerElement.appendChild(i)}else this.addTo3dContainer(i,e)}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,i=this.threeDElements.length;e<i;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var i=createTag("div"),r,o;styleDiv(i);var Zt=createTag("div");if(styleDiv(Zt),e==="3d"){r=i.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var tr="50% 50%";r.webkitTransformOrigin=tr,r.mozTransformOrigin=tr,r.transformOrigin=tr,o=Zt.style;var ar="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.transform=ar,o.webkitTransform=ar}i.appendChild(Zt);var ir={container:Zt,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(ir),ir},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,i,r="";for(t=0;t<e;t+=1)this.layers[t].ddd&&this.layers[t].ty!==3?(r!=="3d"&&(r="3d",i=this.createThreeDContainer(t,"3d")),i.endPos=Math.max(i.endPos,t)):(r!=="2d"&&(r="2d",i=this.createThreeDContainer(t,"2d")),i.endPos=Math.max(i.endPos,t));for(e=this.threeDElements.length,t=e-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var i=0,r=this.threeDElements.length;i<r;){if(e<=this.threeDElements[i].endPos){for(var o=this.threeDElements[i].startPos,Zt;o<e;)this.elements[o]&&this.elements[o].getBaseElement&&(Zt=this.elements[o].getBaseElement()),o+=1;Zt?this.threeDElements[i].container.insertBefore(t,Zt):this.threeDElements[i].container.appendChild(t);break}i+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),i=this.animationItem.wrapper,r=e.style;r.width=t.w+"px",r.height=t.h+"px",this.resizerElem=e,styleDiv(e),r.transformStyle="flat",r.mozTransformStyle="flat",r.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),i.appendChild(e),r.overflow="hidden";var o=createNS("svg");o.setAttribute("width","1"),o.setAttribute("height","1"),styleDiv(o),this.resizerElem.appendChild(o);var Zt=createNS("defs");o.appendChild(Zt),this.data=t,this.setupGlobalData(t,o),this.globalData.defs=Zt,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,i=t/e,r=this.globalData.compSize.w/this.globalData.compSize.h,o,Zt,tr,ar;r>i?(o=t/this.globalData.compSize.w,Zt=t/this.globalData.compSize.w,tr=0,ar=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(o=e/this.globalData.compSize.h,Zt=e/this.globalData.compSize.h,tr=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,ar=0);var ir=this.resizerElem.style;ir.webkitTransform="matrix3d("+o+",0,0,0,0,"+Zt+",0,0,0,0,1,0,"+tr+","+ar+",0,1)",ir.transform=ir.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,i,r=this.threeDElements.length;for(i=0;i<r;i+=1){var o=this.threeDElements[i].perspectiveElem.style;o.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",o.perspective=o.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,i=t.length,r=createTag("div");for(e=0;e<i;e+=1)if(t[e].xt){var o=this.createComp(t[e],r,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}};function HCompElement(t,e,i){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var i=0,r;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&e.hideOnTransparent===!1),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},registerRenderer("html",HybridRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier);var CompExpressionInterface=function(){return function(t){function e(i){for(var r=0,o=t.layers.length;r<o;){if(t.layers[r].nm===i||t.layers[r].ind===i)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e}}();function _typeof$2(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(e){return typeof e}:_typeof$2=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$2(t)}function seedRandom(t,e){var i=this,r=256,o=6,Zt=52,tr="random",ar=e.pow(r,o),ir=e.pow(2,Zt),fr=ir*2,gr=r-1;function nr(sr,pr,dr){var Pr=[];pr=pr===!0?{entropy:!0}:pr||{};var Ir=ur(cr(pr.entropy?[sr,or(t)]:sr===null?Er():sr,3),Pr),zr=new rr(Pr),$r=function(){for(var es=zr.g(o),hs=ar,ps=0;es<ir;)es=(es+ps)*r,hs*=r,ps=zr.g(1);for(;es>=fr;)es/=2,hs/=2,ps>>>=1;return(es+ps)/hs};return $r.int32=function(){return zr.g(4)|0},$r.quick=function(){return zr.g(4)/4294967296},$r.double=$r,ur(or(zr.S),t),(pr.pass||dr||function(es,hs,ps,os){return os&&(os.S&&vr(os,zr),es.state=function(){return vr(zr,{})}),ps?(e[tr]=es,hs):es})($r,Ir,"global"in pr?pr.global:this==e,pr.state)}e["seed"+tr]=nr;function rr(sr){var pr,dr=sr.length,Pr=this,Ir=0,zr=Pr.i=Pr.j=0,$r=Pr.S=[];for(dr||(sr=[dr++]);Ir<r;)$r[Ir]=Ir++;for(Ir=0;Ir<r;Ir++)$r[Ir]=$r[zr=gr&zr+sr[Ir%dr]+(pr=$r[Ir])],$r[zr]=pr;Pr.g=function(es){for(var hs,ps=0,os=Pr.i,xs=Pr.j,is=Pr.S;es--;)hs=is[os=gr&os+1],ps=ps*r+is[gr&(is[os]=is[xs=gr&xs+hs])+(is[xs]=hs)];return Pr.i=os,Pr.j=xs,ps}}function vr(sr,pr){return pr.i=sr.i,pr.j=sr.j,pr.S=sr.S.slice(),pr}function cr(sr,pr){var dr=[],Pr=_typeof$2(sr),Ir;if(pr&&Pr=="object")for(Ir in sr)try{dr.push(cr(sr[Ir],pr-1))}catch{}return dr.length?dr:Pr=="string"?sr:sr+"\0"}function ur(sr,pr){for(var dr=sr+"",Pr,Ir=0;Ir<dr.length;)pr[gr&Ir]=gr&(Pr^=pr[gr&Ir]*19)+dr.charCodeAt(Ir++);return or(pr)}function Er(){try{var sr=new Uint8Array(r);return(i.crypto||i.msCrypto).getRandomValues(sr),or(sr)}catch{var pr=i.navigator,dr=pr&&pr.plugins;return[+new Date,i,dr,i.screen,or(t)]}}function or(sr){return String.fromCharCode.apply(0,sr)}ur(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(e){return typeof e}:_typeof$1=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")return-t;if($bm_isInstanceOfArray(t)){var i,r=t.length,o=[];for(i=0;i<r;i+=1)o[i]=-t[i];return o}return t.propType?t.v:-t}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e)||i==="string"||r==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]+e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}var add=sum;function sub(t,e){var i=_typeof$1(t),r=_typeof$1(e);if(isNumerable(i,t)&&isNumerable(r,e))return i==="string"&&(t=parseInt(t,10)),r==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(r,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(i,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var o=0,Zt=t.length,tr=e.length,ar=[];o<Zt||o<tr;)(typeof t[o]=="number"||t[o]instanceof Number)&&(typeof e[o]=="number"||e[o]instanceof Number)?ar[o]=t[o]-e[o]:ar[o]=e[o]===void 0?t[o]:t[o]||e[o],o+=1;return ar}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]*e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t*e[Zt];return o}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),o;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var Zt,tr;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(tr=t.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t[Zt]/e;return o}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(tr=e.length,o=createTypedArray("float32",tr),Zt=0;Zt<tr;Zt+=1)o[Zt]=t/e[Zt];return o}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,i){if(e>i){var r=i;i=e,e=r}return Math.min(Math.max(t,e),i)}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 i,r=Math.min(t.length,e.length),o=0;for(i=0;i<r;i+=1)o+=Math.pow(e[i]-t[i],2);return Math.sqrt(o)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],o=Math.max(e,i,r),Zt=Math.min(e,i,r),tr,ar,ir=(o+Zt)/2;if(o===Zt)tr=0,ar=0;else{var fr=o-Zt;switch(ar=ir>.5?fr/(2-o-Zt):fr/(o+Zt),o){case e:tr=(i-r)/fr+(i<r?6:0);break;case i:tr=(r-e)/fr+2;break;case r:tr=(e-i)/fr+4;break}tr/=6}return[tr,ar,ir,t[3]]}function hue2rgb(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+(e-t)*6*i:i<1/2?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function hslToRgb(t){var e=t[0],i=t[1],r=t[2],o,Zt,tr;if(i===0)o=r,tr=r,Zt=r;else{var ar=r<.5?r*(1+i):r+i-r*i,ir=2*r-ar;o=hue2rgb(ir,ar,e+1/3),Zt=hue2rgb(ir,ar,e),tr=hue2rgb(ir,ar,e-1/3)}return[o,Zt,tr,t[3]]}function linear(t,e,i,r,o){if((r===void 0||o===void 0)&&(r=e,o=i,e=0,i=1),i<e){var Zt=i;i=e,e=Zt}if(t<=e)return r;if(t>=i)return o;var tr=i===e?0:(t-e)/(i-e);if(!r.length)return r+(o-r)*tr;var ar,ir=r.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=r[ar]+(o[ar]-r[ar])*tr;return fr}function random(t,e){if(e===void 0&&(t===void 0?(t=0,e=1):(e=t,t=void 0)),e.length){var i,r=e.length;t||(t=createTypedArray("float32",r));var o=createTypedArray("float32",r),Zt=BMMath.random();for(i=0;i<r;i+=1)o[i]=t[i]+Zt*(e[i]-t[i]);return o}t===void 0&&(t=0);var tr=BMMath.random();return t+tr*(e-t)}function createPath(t,e,i,r){var o,Zt=t.length,tr=shapePool.newElement();tr.setPathData(!!r,Zt);var ar=[0,0],ir,fr;for(o=0;o<Zt;o+=1)ir=e&&e[o]?e[o]:ar,fr=i&&i[o]?i[o]:ar,tr.setTripleAt(t[o][0],t[o][1],fr[0]+t[o][0],fr[1]+t[o][1],ir[0]+t[o][0],ir[1]+t[o][1],o,!0);return tr}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=function t(e,i){var r,o,Zt=this.pv.length?this.pv.length:1,tr=createTypedArray("float32",Zt);e=5;var ar=Math.floor(time*e);for(r=0,o=0;r<ar;){for(o=0;o<Zt;o+=1)tr[o]+=-i+i*2*BMMath.random();r+=1}var ir=time*e,fr=ir-Math.floor(ir),gr=createTypedArray("float32",Zt);if(Zt>1){for(o=0;o<Zt;o+=1)gr[o]=this.pv[o]+tr[o]+(-i+i*2*BMMath.random())*fr;return gr}return this.pv+tr[0]+(-i+i*2*BMMath.random())*fr}.bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(t,e){var i=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],r=Math.atan2(i[0],Math.sqrt(i[1]*i[1]+i[2]*i[2]))/degToRads,o=-Math.atan2(i[1],i[2])/degToRads;return[o,r,0]}function easeOut(t,e,i,r,o){return applyEase(easeOutBez,t,e,i,r,o)}function easeIn(t,e,i,r,o){return applyEase(easeInBez,t,e,i,r,o)}function ease(t,e,i,r,o){return applyEase(easeInOutBez,t,e,i,r,o)}function applyEase(t,e,i,r,o,Zt){o===void 0?(o=i,Zt=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var tr=t(e);if($bm_isInstanceOfArray(o)){var ar,ir=o.length,fr=createTypedArray("float32",ir);for(ar=0;ar<ir;ar+=1)fr[ar]=(Zt[ar]-o[ar])*tr+o[ar];return fr}return(Zt-o)*tr+o}function nearestKey(t){var e,i=data.k.length,r,o;if(!data.k.length||typeof data.k[0]=="number")r=0,o=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,o=data.k[0].t;else{for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,o=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,o=data.k[e+1].t):(r=e+1,o=data.k[e].t);break}r===-1&&(r=e+1,o=data.k[e].t)}var Zt={};return Zt.index=r,Zt.time=o/elem.comp.globalData.frameRate,Zt}function key(t){var e,i,r;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 o=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=o.length,i=0;i<r;i+=1)e[i]=o[i],e.value[i]=o[i];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return!t&&t!==0&&(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(i){var r=0,o=[];function Zt(){r+=1}function tr(){r-=1,r===0&&ir()}function ar(fr){o.indexOf(fr)===-1&&o.push(fr)}function ir(){var fr,gr=o.length;for(fr=0;fr<gr;fr+=1)o[fr].release();o.length=0}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=Zt,i.renderer.globalData.popExpression=tr,i.renderer.globalData.registerExpressionProperty=ar}return t}(),MaskManagerInterface=function(){function t(i,r){this._mask=i,this._data=r}Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var e=function(i){var r=createSizedArray(i.viewData.length),o,Zt=i.viewData.length;for(o=0;o<Zt;o+=1)r[o]=new t(i.viewData[o],i.masksProperties[o]);var tr=function(ar){for(o=0;o<Zt;){if(i.masksProperties[o].nm===ar)return r[o];o+=1}return null};return tr};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function i(tr,ar,ir){Object.defineProperty(tr,"velocity",{get:function(){return ar.getVelocityAtTime(ar.comp.currentFrame)}}),tr.numKeys=ar.keyframes?ar.keyframes.length:0,tr.key=function(fr){if(!tr.numKeys)return 0;var gr="";"s"in ar.keyframes[fr-1]?gr=ar.keyframes[fr-1].s:"e"in ar.keyframes[fr-2]?gr=ar.keyframes[fr-2].e:gr=ar.keyframes[fr-2].s;var nr=ir==="unidimensional"?new Number(gr):Object.assign({},gr);return nr.time=ar.keyframes[fr-1].t/ar.elem.comp.globalData.frameRate,nr.value=ir==="unidimensional"?gr[0]:gr,nr},tr.valueAtTime=ar.getValueAtTime,tr.speedAtTime=ar.getSpeedAtTime,tr.velocityAtTime=ar.getVelocityAtTime,tr.propertyGroup=ar.propertyGroup}function r(tr){(!tr||!("pv"in tr))&&(tr=t);var ar=1/tr.mult,ir=tr.pv*ar,fr=new Number(ir);return fr.value=ir,i(fr,tr,"unidimensional"),function(){return tr.k&&tr.getValue(),ir=tr.v*ar,fr.value!==ir&&(fr=new Number(ir),fr.value=ir,i(fr,tr,"unidimensional")),fr}}function o(tr){(!tr||!("pv"in tr))&&(tr=e);var ar=1/tr.mult,ir=tr.data&&tr.data.l||tr.pv.length,fr=createTypedArray("float32",ir),gr=createTypedArray("float32",ir);return fr.value=gr,i(fr,tr,"multidimensional"),function(){tr.k&&tr.getValue();for(var nr=0;nr<ir;nr+=1)gr[nr]=tr.v[nr]*ar,fr[nr]=gr[nr];return fr}}function Zt(){return t}return function(tr){return tr?tr.propType==="unidimensional"?r(tr):o(tr):Zt}}(),TransformExpressionInterface=function(){return function(t){function e(tr){switch(tr){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)});var i,r,o,Zt;return t.p?Zt=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(o=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?Zt():[i(),r(),o?o():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e}}(),LayerExpressionInterface=function(){function t(fr){var gr=new Matrix;if(fr!==void 0){var nr=this._elem.finalTransform.mProp.getValueAtTime(fr);nr.clone(gr)}else{var rr=this._elem.finalTransform.mProp;rr.applyToMatrix(gr)}return gr}function e(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.applyPoint(nr,fr)}function i(fr,gr){var nr=this.getMatrix(gr);return this.applyPoint(nr,fr)}function r(fr,gr){var nr=this.getMatrix(gr);return nr.props[12]=0,nr.props[13]=0,nr.props[14]=0,this.invertPoint(nr,fr)}function o(fr,gr){var nr=this.getMatrix(gr);return this.invertPoint(nr,fr)}function Zt(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.applyToPointArray(gr[0],gr[1],gr[2]||0)}function tr(fr,gr){if(this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(fr)}return fr.inversePoint(gr)}function ar(fr){var gr=new Matrix;if(gr.reset(),this._elem.finalTransform.mProp.applyToMatrix(gr),this._elem.hierarchy&&this._elem.hierarchy.length){var nr,rr=this._elem.hierarchy.length;for(nr=0;nr<rr;nr+=1)this._elem.hierarchy[nr].finalTransform.mProp.applyToMatrix(gr);return gr.inversePoint(fr)}return gr.inversePoint(fr)}function ir(){return[1,1,1,1]}return function(fr){var gr;function nr(ur){vr.mask=new MaskManagerInterface(ur,fr)}function rr(ur){vr.effect=ur}function vr(ur){switch(ur){case"ADBE Root Vectors Group":case"Contents":case 2:return vr.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return gr;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return vr.effect;case"ADBE Text Properties":return vr.textInterface;default:return null}}vr.getMatrix=t,vr.invertPoint=tr,vr.applyPoint=Zt,vr.toWorld=i,vr.toWorldVec=e,vr.fromWorld=o,vr.fromWorldVec=r,vr.toComp=i,vr.fromComp=ar,vr.sampleImage=ir,vr.sourceRectAtTime=fr.sourceRectAtTime.bind(fr),vr._elem=fr,gr=TransformExpressionInterface(fr.finalTransform.mProp);var cr=getDescriptor(gr,"anchorPoint");return Object.defineProperties(vr,{hasParent:{get:function(){return fr.hierarchy.length}},parent:{get:function(){return fr.hierarchy[0].layerInterface}},rotation:getDescriptor(gr,"rotation"),scale:getDescriptor(gr,"scale"),position:getDescriptor(gr,"position"),opacity:getDescriptor(gr,"opacity"),anchorPoint:cr,anchor_point:cr,transform:{get:function(){return gr}},active:{get:function(){return fr.isInRange}}}),vr.startTime=fr.data.st,vr.index=fr.data.ind,vr.source=fr.data.refId,vr.height=fr.data.ty===0?fr.data.h:100,vr.width=fr.data.ty===0?fr.data.w:100,vr.inPoint=fr.data.ip/fr.comp.globalData.frameRate,vr.outPoint=fr.data.op/fr.comp.globalData.frameRate,vr._name=fr.data.nm,vr.registerMaskInterface=nr,vr.registerEffectsInterface=rr,vr}}(),propertyGroupFactory=function(){return function(t,e){return function(i){return i=i===void 0?1:i,i<=0?t:e(i-1)}}}(),PropertyInterface=function(){return function(t,e){var i={_name:t};function r(o){return o=o===void 0?1:o,o<=0?i:e(o-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(o,Zt){if(o.effectsManager){var tr=[],ar=o.data.ef,ir,fr=o.effectsManager.effectElements.length;for(ir=0;ir<fr;ir+=1)tr.push(i(ar[ir],o.effectsManager.effectElements[ir],Zt,o));var gr=o.data.ef||[],nr=function(rr){for(ir=0,fr=gr.length;ir<fr;){if(rr===gr[ir].nm||rr===gr[ir].mn||rr===gr[ir].ix)return tr[ir];ir+=1}return null};return Object.defineProperty(nr,"numProperties",{get:function(){return gr.length}}),nr}return null}function i(o,Zt,tr,ar){function ir(vr){for(var cr=o.ef,ur=0,Er=cr.length;ur<Er;){if(vr===cr[ur].nm||vr===cr[ur].mn||vr===cr[ur].ix)return cr[ur].ty===5?gr[ur]:gr[ur]();ur+=1}throw new Error}var fr=propertyGroupFactory(ir,tr),gr=[],nr,rr=o.ef.length;for(nr=0;nr<rr;nr+=1)o.ef[nr].ty===5?gr.push(i(o.ef[nr],Zt.effectElements[nr],Zt.effectElements[nr].propertyGroup,ar)):gr.push(r(Zt.effectElements[nr],o.ef[nr].ty,ar,fr));return o.mn==="ADBE Color Control"&&Object.defineProperty(ir,"color",{get:function(){return gr[0]()}}),Object.defineProperties(ir,{numProperties:{get:function(){return o.np}},_name:{value:o.nm},propertyGroup:{value:fr}}),ir.enabled=o.en!==0,ir.active=ir.enabled,ir}function r(o,Zt,tr,ar){var ir=ExpressionPropertyInterface(o.p);function fr(){return Zt===10?tr.comp.compInterface(o.p.v):ir()}return o.p.setGroupProperty&&o.p.setGroupProperty(PropertyInterface("",ar)),fr}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function o(tr){return tr==="Shape"||tr==="shape"||tr==="Path"||tr==="path"||tr==="ADBE Vector Shape"||tr===2?o.path:null}var Zt=propertyGroupFactory(o,i);return r.setGroupProperty(PropertyInterface("Path",Zt)),Object.defineProperties(o,{path:{get:function(){return r.k&&r.getValue(),r}},shape:{get:function(){return r.k&&r.getValue(),r}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:i}}),o}}(),ShapeExpressionInterface=function(){function t(cr,ur,Er){var or=[],sr,pr=cr?cr.length:0;for(sr=0;sr<pr;sr+=1)cr[sr].ty==="gr"?or.push(i(cr[sr],ur[sr],Er)):cr[sr].ty==="fl"?or.push(r(cr[sr],ur[sr],Er)):cr[sr].ty==="st"?or.push(tr(cr[sr],ur[sr],Er)):cr[sr].ty==="tm"?or.push(ar(cr[sr],ur[sr],Er)):cr[sr].ty==="tr"||(cr[sr].ty==="el"?or.push(fr(cr[sr],ur[sr],Er)):cr[sr].ty==="sr"?or.push(gr(cr[sr],ur[sr],Er)):cr[sr].ty==="sh"?or.push(ShapePathInterface(cr[sr],ur[sr],Er)):cr[sr].ty==="rc"?or.push(nr(cr[sr],ur[sr],Er)):cr[sr].ty==="rd"?or.push(rr(cr[sr],ur[sr],Er)):cr[sr].ty==="rp"?or.push(vr(cr[sr],ur[sr],Er)):cr[sr].ty==="gf"?or.push(o(cr[sr],ur[sr],Er)):or.push(Zt(cr[sr],ur[sr])));return or}function e(cr,ur,Er){var or,sr=function(dr){for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr||or[Pr].mn===dr||or[Pr].propertyIndex===dr||or[Pr].ix===dr||or[Pr].ind===dr)return or[Pr];Pr+=1}return typeof dr=="number"?or[dr-1]:null};sr.propertyGroup=propertyGroupFactory(sr,Er),or=t(cr.it,ur.it,sr.propertyGroup),sr.numProperties=or.length;var pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],sr.propertyGroup);return sr.transform=pr,sr.propertyIndex=cr.cix,sr._name=cr.nm,sr}function i(cr,ur,Er){var or=function(dr){switch(dr){case"ADBE Vectors Group":case"Contents":case 2:return or.content;default:return or.transform}};or.propertyGroup=propertyGroupFactory(or,Er);var sr=e(cr,ur,or.propertyGroup),pr=ir(cr.it[cr.it.length-1],ur.it[ur.it.length-1],or.propertyGroup);return or.content=sr,or.transform=pr,Object.defineProperty(or,"_name",{get:function(){return cr.nm}}),or.numProperties=cr.np,or.propertyIndex=cr.ix,or.nm=cr.nm,or.mn=cr.mn,or}function r(cr,ur,Er){function or(sr){return sr==="Color"||sr==="color"?or.color:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function o(cr,ur,Er){function or(sr){return sr==="Start Point"||sr==="start point"?or.startPoint:sr==="End Point"||sr==="end point"?or.endPoint:sr==="Opacity"||sr==="opacity"?or.opacity:null}return Object.defineProperties(or,{startPoint:{get:ExpressionPropertyInterface(ur.s)},endPoint:{get:ExpressionPropertyInterface(ur.e)},opacity:{get:ExpressionPropertyInterface(ur.o)},type:{get:function(){return"a"}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.s.setGroupProperty(PropertyInterface("Start Point",Er)),ur.e.setGroupProperty(PropertyInterface("End Point",Er)),ur.o.setGroupProperty(PropertyInterface("Opacity",Er)),or}function Zt(){function cr(){return null}return cr}function tr(cr,ur,Er){var or=propertyGroupFactory(zr,Er),sr=propertyGroupFactory(Ir,or);function pr($r){Object.defineProperty(Ir,cr.d[$r].nm,{get:ExpressionPropertyInterface(ur.d.dataProps[$r].p)})}var dr,Pr=cr.d?cr.d.length:0,Ir={};for(dr=0;dr<Pr;dr+=1)pr(dr),ur.d.dataProps[dr].p.setGroupProperty(sr);function zr($r){return $r==="Color"||$r==="color"?zr.color:$r==="Opacity"||$r==="opacity"?zr.opacity:$r==="Stroke Width"||$r==="stroke width"?zr.strokeWidth:null}return Object.defineProperties(zr,{color:{get:ExpressionPropertyInterface(ur.c)},opacity:{get:ExpressionPropertyInterface(ur.o)},strokeWidth:{get:ExpressionPropertyInterface(ur.w)},dash:{get:function(){return Ir}},_name:{value:cr.nm},mn:{value:cr.mn}}),ur.c.setGroupProperty(PropertyInterface("Color",or)),ur.o.setGroupProperty(PropertyInterface("Opacity",or)),ur.w.setGroupProperty(PropertyInterface("Stroke Width",or)),zr}function ar(cr,ur,Er){function or(pr){return pr===cr.e.ix||pr==="End"||pr==="end"?or.end:pr===cr.s.ix?or.start:pr===cr.o.ix?or.offset:null}var sr=propertyGroupFactory(or,Er);return or.propertyIndex=cr.ix,ur.s.setGroupProperty(PropertyInterface("Start",sr)),ur.e.setGroupProperty(PropertyInterface("End",sr)),ur.o.setGroupProperty(PropertyInterface("Offset",sr)),or.propertyIndex=cr.ix,or.propertyGroup=Er,Object.defineProperties(or,{start:{get:ExpressionPropertyInterface(ur.s)},end:{get:ExpressionPropertyInterface(ur.e)},offset:{get:ExpressionPropertyInterface(ur.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function ir(cr,ur,Er){function or(pr){return cr.a.ix===pr||pr==="Anchor Point"?or.anchorPoint:cr.o.ix===pr||pr==="Opacity"?or.opacity:cr.p.ix===pr||pr==="Position"?or.position:cr.r.ix===pr||pr==="Rotation"||pr==="ADBE Vector Rotation"?or.rotation:cr.s.ix===pr||pr==="Scale"?or.scale:cr.sk&&cr.sk.ix===pr||pr==="Skew"?or.skew:cr.sa&&cr.sa.ix===pr||pr==="Skew Axis"?or.skewAxis:null}var sr=propertyGroupFactory(or,Er);return ur.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",sr)),ur.transform.mProps.p.setGroupProperty(PropertyInterface("Position",sr)),ur.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",sr)),ur.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",sr)),ur.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",sr)),ur.transform.mProps.sk&&(ur.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",sr)),ur.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",sr))),ur.transform.op.setGroupProperty(PropertyInterface("Opacity",sr)),Object.defineProperties(or,{opacity:{get:ExpressionPropertyInterface(ur.transform.mProps.o)},position:{get:ExpressionPropertyInterface(ur.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(ur.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(ur.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(ur.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(ur.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(ur.transform.mProps.sa)},_name:{value:cr.nm}}),or.ty="tr",or.mn=cr.mn,or.propertyGroup=Er,or}function fr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.s.ix===dr?or.size:null}var sr=propertyGroupFactory(or,Er);or.propertyIndex=cr.ix;var pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return pr.s.setGroupProperty(PropertyInterface("Size",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),Object.defineProperties(or,{size:{get:ExpressionPropertyInterface(pr.s)},position:{get:ExpressionPropertyInterface(pr.p)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function gr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.rotation:cr.pt.ix===dr?or.points:cr.or.ix===dr||dr==="ADBE Vector Star Outer Radius"?or.outerRadius:cr.os.ix===dr?or.outerRoundness:cr.ir&&(cr.ir.ix===dr||dr==="ADBE Vector Star Inner Radius")?or.innerRadius:cr.is&&cr.is.ix===dr?or.innerRoundness:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.or.setGroupProperty(PropertyInterface("Outer Radius",sr)),pr.os.setGroupProperty(PropertyInterface("Outer Roundness",
vendor: 1,060 bytes, line 852
852sr)),pr.pt.setGroupProperty(PropertyInterface("Points",sr)),pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),cr.ir&&(pr.ir.setGroupProperty(PropertyInterface("Inner Radius",sr)),pr.is.setGroupProperty(PropertyInterface("Inner Roundness",sr))),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},rotation:{get:ExpressionPropertyInterface(pr.r)},points:{get:ExpressionPropertyInterface(pr.pt)},outerRadius:{get:ExpressionPropertyInterface(pr.or)},outerRoundness:{get:ExpressionPropertyInterface(pr.os)},innerRadius:{get:ExpressionPropertyInterface(pr.ir)},innerRoundness:{get:ExpressionPropertyInterface(pr.is)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function nr(cr,ur,Er){function or(dr){return cr.p.ix===dr?or.position:cr.r.ix===dr?or.roundness:cr.s.ix===dr||dr==="Size"||dr==="ADBE Vector Rect Size"?or.size:null}var sr=propertyGroupFactory(or,Er),pr=ur.sh.ty==="tm"?ur.sh.prop:ur.sh;return or.propertyIndex=cr.ix,pr.p.setGroupProperty(PropertyInterface("Position",sr)),pr.
vendor: 28,706 bytes, line 852
852s.setGroupProperty(PropertyInterface("Size",sr)),pr.r.setGroupProperty(PropertyInterface("Rotation",sr)),Object.defineProperties(or,{position:{get:ExpressionPropertyInterface(pr.p)},roundness:{get:ExpressionPropertyInterface(pr.r)},size:{get:ExpressionPropertyInterface(pr.s)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function rr(cr,ur,Er){function or(dr){return cr.r.ix===dr||dr==="Round Corners 1"?or.radius:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.rd.setGroupProperty(PropertyInterface("Radius",sr)),Object.defineProperties(or,{radius:{get:ExpressionPropertyInterface(pr.rd)},_name:{value:cr.nm}}),or.mn=cr.mn,or}function vr(cr,ur,Er){function or(dr){return cr.c.ix===dr||dr==="Copies"?or.copies:cr.o.ix===dr||dr==="Offset"?or.offset:null}var sr=propertyGroupFactory(or,Er),pr=ur;return or.propertyIndex=cr.ix,pr.c.setGroupProperty(PropertyInterface("Copies",sr)),pr.o.setGroupProperty(PropertyInterface("Offset",sr)),Object.defineProperties(or,{copies:{get:ExpressionPropertyInterface(pr.c)},offset:{get:ExpressionPropertyInterface(pr.o)},_name:{value:cr.nm}}),or.mn=cr.mn,or}return function(cr,ur,Er){var or;function sr(dr){if(typeof dr=="number")return dr=dr===void 0?1:dr,dr===0?Er:or[dr-1];for(var Pr=0,Ir=or.length;Pr<Ir;){if(or[Pr]._name===dr)return or[Pr];Pr+=1}return null}function pr(){return Er}return sr.propertyGroup=propertyGroupFactory(sr,pr),or=t(cr,ur,sr.propertyGroup),sr.numProperties=or.length,sr._name="Contents",sr}}(),TextExpressionInterface=function(){return function(t){var e;function i(r){switch(r){case"ADBE Text Document":return i.sourceText;default:return null}}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var r=t.textProperty.currentData.t;return(!e||r!==e.value)&&(e=new String(r),e.value=r||new String(r),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),i}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(e){return typeof e}:_typeof=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(t)}var FootageInterface=function(){var t=function(i){var r="",o=i.getFootageData();function Zt(){return r="",o=i.getFootageData(),tr}function tr(ar){if(o[ar])return r=ar,o=o[ar],_typeof(o)==="object"?tr:o;var ir=ar.indexOf(r);if(ir!==-1){var fr=parseInt(ar.substr(ir+r.length),10);return o=o[fr],_typeof(o)==="object"?tr:o}return""}return Zt},e=function(i){function r(o){return o==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(o){return o==="Data"?r.dataInterface:null}return r._name="Data",r.dataInterface=e(i),r}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(tr,ar,ir){ar.x&&(ir.k=!0,ir.x=!0,ir.initiateExpression=ExpressionManager.initiateExpression,ir.effectsSequence.push(ir.initiateExpression(tr,ar,ir).bind(ir)))}function e(tr){return tr*=this.elem.globalData.frameRate,tr-=this.offsetTime,tr!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<tr?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(tr,this._cachingAtTime),this._cachingAtTime.lastFrame=tr),this._cachingAtTime.value}function i(tr){var ar=-.01,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr=0;if(ir.length){var nr;for(nr=0;nr<ir.length;nr+=1)gr+=Math.pow(fr[nr]-ir[nr],2);gr=Math.sqrt(gr)*100}else gr=0;return gr}function r(tr){if(this.vel!==void 0)return this.vel;var ar=-.001,ir=this.getValueAtTime(tr),fr=this.getValueAtTime(tr+ar),gr;if(ir.length){gr=createTypedArray("float32",ir.length);var nr;for(nr=0;nr<ir.length;nr+=1)gr[nr]=(fr[nr]-ir[nr])/ar}else gr=(fr-ir)/ar;return gr}function o(){return this.pv}function Zt(tr){this.propertyGroup=tr}return{searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:o,setGroupProperty:Zt}}();function addPropertyDecorator(){function t(rr,vr,cr){if(!this.k||!this.keyframes)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[Er.length-1].t;if(ur<=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(or-this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,or-this.elem.data.ip),pr=or-sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[Er.length-1-vr].t,sr=or-pr);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((ur-pr)/sr);if(zr%2!==0)return this.getValueAtTime((sr-(ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),es=this.getValueAtTime(or/this.comp.globalData.frameRate,0),hs=this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0),ps=Math.floor((ur-pr)/sr);if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=(es[dr]-$r[dr])*ps+hs[dr];return Ir}return(es-$r)*ps+hs}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*((ur-or)/this.comp.globalData.frameRate)/5e-4;return Ir}return os+(os-xs)*((ur-or)/.001)}return this.getValueAtTime(((ur-pr)%sr+pr)/this.comp.globalData.frameRate,0)}function e(rr,vr,cr){if(!this.k)return this.pv;rr=rr?rr.toLowerCase():"";var ur=this.comp.renderedFrame,Er=this.keyframes,or=Er[0].t;if(ur>=or)return this.pv;var sr,pr;cr?(vr?sr=Math.abs(this.elem.comp.globalData.frameRate*vr):sr=Math.max(0,this.elem.data.op-or),pr=or+sr):((!vr||vr>Er.length-1)&&(vr=Er.length-1),pr=Er[vr].t,sr=pr-or);var dr,Pr,Ir;if(rr==="pingpong"){var zr=Math.floor((or-ur)/sr);if(zr%2===0)return this.getValueAtTime(((or-ur)%sr+or)/this.comp.globalData.frameRate,0)}else if(rr==="offset"){var $r=this.getValueAtTime(or/this.comp.globalData.frameRate,0),es=this.getValueAtTime(pr/this.comp.globalData.frameRate,0),hs=this.getValueAtTime((sr-(or-ur)%sr+or)/this.comp.globalData.frameRate,0),ps=Math.floor((or-ur)/sr)+1;if(this.pv.length){for(Ir=new Array($r.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=hs[dr]-(es[dr]-$r[dr])*ps;return Ir}return hs-(es-$r)*ps}else if(rr==="continue"){var os=this.getValueAtTime(or/this.comp.globalData.frameRate,0),xs=this.getValueAtTime((or+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(Ir=new Array(os.length),Pr=Ir.length,dr=0;dr<Pr;dr+=1)Ir[dr]=os[dr]+(os[dr]-xs[dr])*(or-ur)/.001;return Ir}return os+(os-xs)*(or-ur)/.001}return this.getValueAtTime((sr-((or-ur)%sr+or))/this.comp.globalData.frameRate,0)}function i(rr,vr){if(!this.k)return this.pv;if(rr=(rr||.4)*.5,vr=Math.floor(vr||5),vr<=1)return this.pv;var cr=this.comp.renderedFrame/this.comp.globalData.frameRate,ur=cr-rr,Er=cr+rr,or=vr>1?(Er-ur)/(vr-1):1,sr=0,pr=0,dr;this.pv.length?dr=createTypedArray("float32",this.pv.length):dr=0;for(var Pr;sr<vr;){if(Pr=this.getValueAtTime(ur+sr*or),this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]+=Pr[pr];else dr+=Pr;sr+=1}if(this.pv.length)for(pr=0;pr<this.pv.length;pr+=1)dr[pr]/=vr;else dr/=vr;return dr}function r(rr){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var vr=this._transformCachingAtTime.v;if(vr.cloneFromProps(this.pre.props),this.appliedTransformations<1){var cr=this.a.getValueAtTime(rr);vr.translate(-cr[0]*this.a.mult,-cr[1]*this.a.mult,cr[2]*this.a.mult)}if(this.appliedTransformations<2){var ur=this.s.getValueAtTime(rr);vr.scale(ur[0]*this.s.mult,ur[1]*this.s.mult,ur[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var Er=this.sk.getValueAtTime(rr),or=this.sa.getValueAtTime(rr);vr.skewFromAxis(-Er*this.sk.mult,or*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var sr=this.r.getValueAtTime(rr);vr.rotate(-sr*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var pr=this.rz.getValueAtTime(rr),dr=this.ry.getValueAtTime(rr),Pr=this.rx.getValueAtTime(rr),Ir=this.or.getValueAtTime(rr);vr.rotateZ(-pr*this.rz.mult).rotateY(dr*this.ry.mult).rotateX(Pr*this.rx.mult).rotateZ(-Ir[2]*this.or.mult).rotateY(Ir[1]*this.or.mult).rotateX(Ir[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var zr=this.px.getValueAtTime(rr),$r=this.py.getValueAtTime(rr);if(this.data.p.z){var es=this.pz.getValueAtTime(rr);vr.translate(zr*this.px.mult,$r*this.py.mult,-es*this.pz.mult)}else vr.translate(zr*this.px.mult,$r*this.py.mult,0)}else{var hs=this.p.getValueAtTime(rr);vr.translate(hs[0]*this.p.mult,hs[1]*this.p.mult,-hs[2]*this.p.mult)}return vr}function o(){return this.v.clone(new Matrix)}var Zt=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(rr,vr,cr){var ur=Zt(rr,vr,cr);return ur.dynamicProperties.length?ur.getValueAtTime=r.bind(ur):ur.getValueAtTime=o.bind(ur),ur.setGroupProperty=expressionHelpers.setGroupProperty,ur};var tr=PropertyFactory.getProp;PropertyFactory.getProp=function(rr,vr,cr,ur,Er){var or=tr(rr,vr,cr,ur,Er);or.kf?or.getValueAtTime=expressionHelpers.getValueAtTime.bind(or):or.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(or),or.setGroupProperty=expressionHelpers.setGroupProperty,or.loopOut=t,or.loopIn=e,or.smooth=i,or.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(or),or.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(or),or.numKeys=vr.a===1?vr.k.length:0,or.propertyIndex=vr.ix;var sr=0;return cr!==0&&(sr=createTypedArray("float32",vr.a===1?vr.k[0].s.length:vr.k.length)),or._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:sr},expressionHelpers.searchExpressions(rr,vr,or),or.k&&Er.addDynamicProperty(or),or};function ar(rr){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),rr*=this.elem.globalData.frameRate,rr-=this.offsetTime,rr!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<rr?this._caching.lastIndex:0,this._cachingAtTime.lastTime=rr,this.interpolateShape(rr,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var ir=ShapePropertyFactory.getConstructorFunction(),fr=ShapePropertyFactory.getKeyframedConstructorFunction();function gr(){}gr.prototype={vertices:function(rr,vr){this.k&&this.getValue();var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0));var ur,Er=cr._length,or=cr[rr],sr=cr.v,pr=createSizedArray(Er);for(ur=0;ur<Er;ur+=1)rr==="i"||rr==="o"?pr[ur]=[or[ur][0]-sr[ur][0],or[ur][1]-sr[ur][1]]:pr[ur]=[or[ur][0],or[ur][1]];return pr},points:function(rr){return this.vertices("v",rr)},inTangents:function(rr){return this.vertices("i",rr)},outTangents:function(rr){return this.vertices("o",rr)},isClosed:function(){return this.v.c},pointOnPath:function(rr,vr){var cr=this.v;vr!==void 0&&(cr=this.getValueAtTime(vr,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(cr));for(var ur=this._segmentsLength,Er=ur.lengths,or=ur.totalLength*rr,sr=0,pr=Er.length,dr=0,Pr;sr<pr;){if(dr+Er[sr].addedLength>or){var Ir=sr,zr=cr.c&&sr===pr-1?0:sr+1,$r=(or-dr)/Er[sr].addedLength;Pr=bez.getPointInSegment(cr.v[Ir],cr.v[zr],cr.o[Ir],cr.i[zr],$r,Er[sr]);break}else dr+=Er[sr].addedLength;sr+=1}return Pr||(Pr=cr.c?[cr.v[0][0],cr.v[0][1]]:[cr.v[cr._length-1][0],cr.v[cr._length-1][1]]),Pr},vectorOnPath:function(rr,vr,cr){rr==1?rr=this.v.c:rr==0&&(rr=.999);var ur=this.pointOnPath(rr,vr),Er=this.pointOnPath(rr+.001,vr),or=Er[0]-ur[0],sr=Er[1]-ur[1],pr=Math.sqrt(Math.pow(or,2)+Math.pow(sr,2));if(pr===0)return[0,0];var dr=cr==="tangent"?[or/pr,sr/pr]:[-sr/pr,or/pr];return dr},tangentOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"tangent")},normalOnPath:function(rr,vr){return this.vectorOnPath(rr,vr,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([gr],ir),extendPrototype([gr],fr),fr.prototype.getValueAtTime=ar,fr.prototype.initiateExpression=ExpressionManager.initiateExpression;var nr=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(rr,vr,cr,ur,Er){var or=nr(rr,vr,cr,ur,Er);return or.propertyIndex=vr.ix,or.lock=!1,cr===3?expressionHelpers.searchExpressions(rr,vr.pt,or):cr===4&&expressionHelpers.searchExpressions(rr,vr.ks,or),or.k&&rr.addDynamicProperty(or),or}}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,i){var r=this.calculateExpression(i);if(e.t!==r){var o={};return this.copyData(o,e),o.t=r.toString(),o.__complete=!1,o}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),i=this.searchExpressions();return this.kf=e||i,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,i){var r=createNS("feMerge");r.setAttribute("result",e);var o,Zt;for(Zt=0;Zt<i.length;Zt+=1)o=createNS("feMergeNode"),o.setAttribute("in",i[Zt]),r.appendChild(o),r.appendChild(o);return r}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,i,r,o){this.filterManager=e;var Zt=createNS("feColorMatrix");Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","linearRGB"),Zt.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=Zt,Zt.setAttribute("result",r+"_tint_1"),t.appendChild(Zt),Zt=createNS("feColorMatrix"),Zt.setAttribute("type","matrix"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),Zt.setAttribute("result",r+"_tint_2"),t.appendChild(Zt),this.matrixFilter=Zt;var tr=this.createMergeNode(r,[o,r+"_tint_1",r+"_tint_2"]);t.appendChild(tr)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+r+" 0"),this.matrixFilter.setAttribute("values",i[0]-e[0]+" 0 0 0 "+e[0]+" "+(i[1]-e[1])+" 0 0 0 "+e[1]+" "+(i[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}};function SVGFillFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),o.setAttribute("result",r),t.appendChild(o),this.matrixFilter=o}SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,i=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}};function SVGStrokeEffect(t,e,i){this.initialized=!1,this.filterManager=e,this.elem=i,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,i,r,o;for(this.filterManager.effectElements[1].p.v===1?(o=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,o=r+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),r;r<o;r+=1)e=createNS("path"),i.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var Zt=createNS("mask"),tr=createElementID();Zt.setAttribute("id",tr),Zt.setAttribute("mask-type","alpha"),Zt.appendChild(i),this.elem.globalData.defs.appendChild(Zt);var ar=createNS("g");for(ar.setAttribute("mask","url("+getLocationHref()+"#"+tr+")");t[0];)ar.appendChild(t[0]);this.elem.layerElement.appendChild(ar),this.masker=Zt,i.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(i),this.elem.layerElement.removeAttribute("mask"),i.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=i},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,i=this.paths.length,r,o;for(e=0;e<i;e+=1)if(this.paths[e].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[e].m],o=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&o.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var Zt;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var tr=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ar=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,ir=o.getTotalLength();Zt="0 0 0 "+ir*tr+" ";var fr=ir*(ar-tr),gr=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,nr=Math.floor(fr/gr),rr;for(rr=0;rr<nr;rr+=1)Zt+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";Zt+="0 "+ir*10+" 0 0"}else Zt="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;o.setAttribute("stroke-dasharray",Zt)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var vr=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(vr[0]*255)+","+bmFloor(vr[1]*255)+","+bmFloor(vr[2]*255)+")")}};function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var o=createNS("feColorMatrix");o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","linearRGB"),o.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(o);var Zt=createNS("feComponentTransfer");Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),this.matrixFilter=Zt;var tr=createNS("feFuncR");tr.setAttribute("type","table"),Zt.appendChild(tr),this.feFuncR=tr;var ar=createNS("feFuncG");ar.setAttribute("type","table"),Zt.appendChild(ar),this.feFuncG=ar;var ir=createNS("feFuncB");ir.setAttribute("type","table"),Zt.appendChild(ir),this.feFuncB=ir,t.appendChild(Zt)}SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,i=this.filterManager.effectElements[1].p.v,r=this.filterManager.effectElements[2].p.v,o=r[0]+" "+i[0]+" "+e[0],Zt=r[1]+" "+i[1]+" "+e[1],tr=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",Zt),this.feFuncB.setAttribute("tableValues",tr)}};function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var o=this.filterManager.effectElements,Zt=createNS("feComponentTransfer");(o[10].p.k||o[10].p.v!==0||o[11].p.k||o[11].p.v!==1||o[12].p.k||o[12].p.v!==1||o[13].p.k||o[13].p.v!==0||o[14].p.k||o[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",Zt)),(o[17].p.k||o[17].p.v!==0||o[18].p.k||o[18].p.v!==1||o[19].p.k||o[19].p.v!==1||o[20].p.k||o[20].p.v!==0||o[21].p.k||o[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",Zt)),(o[24].p.k||o[24].p.v!==0||o[25].p.k||o[25].p.v!==1||o[26].p.k||o[26].p.v!==1||o[27].p.k||o[27].p.v!==0||o[28].p.k||o[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",Zt)),(o[31].p.k||o[31].p.v!==0||o[32].p.k||o[32].p.v!==1||o[33].p.k||o[33].p.v!==1||o[34].p.k||o[34].p.v!==0||o[35].p.k||o[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",Zt)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(Zt.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(Zt)),(o[3].p.k||o[3].p.v!==0||o[4].p.k||o[4].p.v!==1||o[5].p.k||o[5].p.v!==1||o[6].p.k||o[6].p.v!==0||o[7].p.k||o[7].p.v!==1)&&(Zt=createNS("feComponentTransfer"),Zt.setAttribute("color-interpolation-filters","sRGB"),Zt.setAttribute("result",r),t.appendChild(Zt),this.feFuncRComposed=this.createFeFunc("feFuncR",Zt),this.feFuncGComposed=this.createFeFunc("feFuncG",Zt),this.feFuncBComposed=this.createFeFunc("feFuncB",Zt))}SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var i=createNS(t);return i.setAttribute("type","table"),e.appendChild(i),i},SVGProLevelsFilter.prototype.getTableValue=function(t,e,i,r,o){for(var Zt=0,tr=256,ar,ir=Math.min(t,e),fr=Math.max(t,e),gr=Array.call(null,{length:tr}),nr,rr=0,vr=o-r,cr=e-t;Zt<=256;)ar=Zt/256,ar<=ir?nr=cr<0?o:r:ar>=fr?nr=cr<0?r:o:nr=r+vr*Math.pow((ar-t)/cr,1/i),gr[rr]=nr,rr+=1,Zt+=256/(tr-1);return gr.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,i=this.filterManager.effectElements;this.feFuncRComposed&&(t||i[3].p._mdf||i[4].p._mdf||i[5].p._mdf||i[6].p._mdf||i[7].p._mdf)&&(e=this.getTableValue(i[3].p.v,i[4].p.v,i[5].p.v,i[6].p.v,i[7].p.v),this.feFuncRComposed.setAttribute("tableValues",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||i[10].p._mdf||i[11].p._mdf||i[12].p._mdf||i[13].p._mdf||i[14].p._mdf)&&(e=this.getTableValue(i[10].p.v,i[11].p.v,i[12].p.v,i[13].p.v,i[14].p.v),this.feFuncR.setAttribute("tableValues",e)),this.feFuncG&&(t||i[17].p._mdf||i[18].p._mdf||i[19].p._mdf||i[20].p._mdf||i[21].p._mdf)&&(e=this.getTableValue(i[17].p.v,i[18].p.v,i[19].p.v,i[20].p.v,i[21].p.v),this.feFuncG.setAttribute("tableValues",e)),this.feFuncB&&(t||i[24].p._mdf||i[25].p._mdf||i[26].p._mdf||i[27].p._mdf||i[28].p._mdf)&&(e=this.getTableValue(i[24].p.v,i[25].p.v,i[26].p.v,i[27].p.v,i[28].p.v),this.feFuncB.setAttribute("tableValues",e)),this.feFuncA&&(t||i[31].p._mdf||i[32].p._mdf||i[33].p._mdf||i[34].p._mdf||i[35].p._mdf)&&(e=this.getTableValue(i[31].p.v,i[32].p.v,i[33].p.v,i[34].p.v,i[35].p.v),this.feFuncA.setAttribute("tableValues",e))}};function SVGDropShadowEffect(t,e,i,r,o){var Zt=e.container.globalData.renderConfig.filterSize,tr=e.data.fs||Zt;t.setAttribute("x",tr.x||Zt.x),t.setAttribute("y",tr.y||Zt.y),t.setAttribute("width",tr.width||Zt.width),t.setAttribute("height",tr.height||Zt.height),this.filterManager=e;var ar=createNS("feGaussianBlur");ar.setAttribute("in","SourceAlpha"),ar.setAttribute("result",r+"_drop_shadow_1"),ar.setAttribute("stdDeviation","0"),this.feGaussianBlur=ar,t.appendChild(ar);var ir=createNS("feOffset");ir.setAttribute("dx","25"),ir.setAttribute("dy","0"),ir.setAttribute("in",r+"_drop_shadow_1"),ir.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=ir,t.appendChild(ir);var fr=createNS("feFlood");fr.setAttribute("flood-color","#00ff00"),fr.setAttribute("flood-opacity","1"),fr.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=fr,t.appendChild(fr);var gr=createNS("feComposite");gr.setAttribute("in",r+"_drop_shadow_3"),gr.setAttribute("in2",r+"_drop_shadow_2"),gr.setAttribute("operator","in"),gr.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(gr);var nr=this.createMergeNode(r,[r+"_drop_shadow_4",o]);t.appendChild(nr)}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 i=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=i*Math.cos(r),Zt=i*Math.sin(r);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",Zt)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,i){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=i,i.matteElement=createNS("g"),i.matteElement.appendChild(i.layerElement),i.matteElement.appendChild(i.transformedElement),i.baseElement=i.matteElement}SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,i=_svgMatteSymbols.length;e<i;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var i=t.layerElement.parentNode;if(i){for(var r=i.children,o=0,Zt=r.length;o<Zt&&r[o]!==t.layerElement;)o+=1;var tr;o<=Zt-2&&(tr=r[o+1]);var ar=createNS("use");ar.setAttribute("href","#"+e),tr?i.insertBefore(ar,tr):i.appendChild(ar)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var i=createElementID(),r=createNS("mask");r.setAttribute("id",e.layerId),r.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var o=t.globalData.defs;o.appendChild(r);var Zt=createNS("symbol");Zt.setAttribute("id",i),this.replaceInParent(e,i),Zt.appendChild(e.layerElement),o.appendChild(Zt);var tr=createNS("use");tr.setAttribute("href","#"+i),r.appendChild(tr),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,i=0,r=e.length;i<r;)e[i]&&e[i].data.ind===t&&this.setElementAsMask(this.elem,e[i]),i+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(t,e,i,r){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("result",r),t.appendChild(o),this.feGaussianBlur=o}SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,i=this.filterManager.effectElements[0].p.v*e,r=this.filterManager.effectElements[1].p.v,o=r==3?0:i,Zt=r==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",o+" "+Zt);var tr=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",tr)}};function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,i=e[0].p.v,r=e[1].p.v,o=e[2].p.v===1,Zt=e[3].p.v,tr=o?Zt:e[4].p.v,ar=e[5].p.v,ir=e[6].p.v,fr=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(tr*.01,Zt*.01,1),this.matrix.rotate(-fr*degToRads),this.matrix.skewFromAxis(-ar*degToRads,(ir+90)*degToRads),this.matrix.translate(r[0],r[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(t,e){this.init(e)}return extendPrototype([TransformEffect],SVGTransformEffect),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),lottie})}),yt=ut();const lottie_htmlX3TYKVQIL6774NQS=Object.freeze(Object.defineProperty({__proto__:null,default:yt},Symbol.toStringTag,{value:"Module"}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.