SHX-Theme/assets/dotlottie-player.js

964 lines
1.7 MiB

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.DotLottiePlayer = {}));
})(this, (function (exports) { 'use strict';
var Dl=Object.defineProperty;var Bc=Object.getOwnPropertyDescriptor;var Ir=(t,e)=>()=>(t&&(e=t(t=0)),e);var ia=(t,e)=>{for(var i in e)Dl(t,i,{get:e[i],enumerable:!0});};var pr=(t,e,i,r)=>{for(var s=r>1?void 0:r?Bc(e,i):e,a=t.length-1,o;a>=0;a--)(o=t[a])&&(s=(r?o(e,i,s):o(s))||s);return r&&s&&Dl(e,i,s),s};function Ze(t,e="dotLottie-common"){return new Error(`[${e}]: ${t}`)}function qs(t,e="dotLottie-common",...i){console.error(`[${e}]:`,t,...i);}function Ti(t,e="dotLottie-common",...i){console.warn(`[${e}]:`,t,...i);}function eh(t=""){let e=t.trim(),i=e.lastIndexOf("/"),r=e.substring(i+1),s=r.indexOf(".");return s!==-1?r.substring(0,s):r}function qa(t){return ["v","ip","op","layers","fr","w","h"].every(e=>Object.prototype.hasOwnProperty.call(t,e))}function ih(t){try{let e=JSON.parse(t);return qa(e)}catch{return !1}}function so(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}var en=Ir(()=>{});function Jc(t,e,i){return i||(i=e,e={}),typeof i!="function"&&Xr(7),Uc(t,e,[Wc],function(r){return Yl(dh(r.data[0],Zl(r.data[1])))},1,i)}function dh(t,e){return Xl(t,e)}function sn(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(ah)return ah.decode(t);var s=Yc(t),a=s[0],o=s[1];return o.length&&Xr(8),a}}function tu(t,e,i){i||(i=e,e={}),typeof i!="function"&&Xr(7);var r=[],s=function(){for(var A=0;A<r.length;++A)r[A]();},a={},o=function(A,y){Ll(function(){i(A,y);});};Ll(function(){o=i;});for(var p=t.length-22;Cs(t,p)!=101010256;--p)if(!p||t.length-p>65558)return o(Xr(13,0,1),null),s;var h=$s(t,p+8);if(h){var c=h,_=Cs(t,p+16),v=_==4294967295||c==65535;if(v){var u=Cs(t,p-12);v=Cs(t,u)==101075792,v&&(c=h=Cs(t,u+32),_=Cs(t,u+48));}for(var S=e&&e.filter,d=function(A){var y=Kc(t,_,v),m=y[0],x=y[1],w=y[2],M=y[3],N=y[4],U=y[5],Y=Zc(t,U);_=N;var dt=function(vt,bt){vt?(s(),o(vt,null)):(bt&&(a[M]=bt),--h||o(null,a));};if(!S||S({name:M,size:x,originalSize:w,compression:m}))if(!m)dt(null,lo(t,Y,Y+x));else if(m==8){var xt=t.subarray(Y,Y+x);if(x<32e4)try{dt(null,dh(xt,new zr(w)));}catch(vt){dt(vt,null);}else r.push(Jc(xt,{size:w},dt));}else dt(Xr(14,"unknown compression type "+m,1),null);else dt(null,null);},g=0;g<c;++g)d(g);}else o(null,{});return s}function eu(t){return t.issues.reduce((e,i)=>{if(i.path){let r=i.path.map(({key:s})=>s).join(".");e.nested[r]=[...e.nested[r]||[],i.message];}else e.root=[...e.root||[],i.message];return e},{nested:{}})}function xa(t,e,i){let r=t,s=[];if(e.forEach(a=>{try{r=a(r,i);}catch(o){if(i.abortEarly||i.abortPipeEarly)throw o;s.push(...o.issues);}}),s.length)throw new Pr(s);return r}function Sn(t,e){return [...t?.path||[],e]}function Ms(t,e){let[i,r=[]]=!t||typeof t=="string"?[t,e]:[void 0,t];return {error:i,pipe:r}}function iu(t=[]){return {schema:"any",async:!1,parse(e,i){return xa(e,t,{...i,reason:"any"})}}}function Pn(t,e,i){let{error:r,pipe:s}=Ms(e,i);return {schema:"array",array:{item:t},async:!1,parse(a,o){if(!Array.isArray(a))throw new Pr([{reason:"type",validation:"array",origin:"value",message:r||"Invalid type",input:a,...o}]);let p=[],h=[];if(a.forEach((c,_)=>{try{p.push(t.parse(c,{...o,path:Sn(o,{schema:"array",input:a,key:_,value:c})}));}catch(v){if(o?.abortEarly)throw v;h.push(...v.issues);}}),h.length)throw new Pr(h);return xa(p,s,{...o,reason:"array"})}}}function sh(t,e){let{error:i,pipe:r}=Ms(t,e);return {schema:"boolean",async:!1,parse(s,a){if(typeof s!="boolean")throw new Pr([{reason:"type",validation:"boolean",origin:"value",message:i||"Invalid type",input:s,...a}]);return xa(s,r,{...a,reason:"boolean"})}}}function Vl(t,e){return {schema:"literal",literal:t,async:!1,parse(i,r){if(i!==t)throw new Pr([{reason:"type",validation:"literal",origin:"value",message:e||"Invalid type",input:i,...r}]);return i}}}function ru(t,e){return {schema:"native_enum",nativeEnum:t,async:!1,parse(i,r){if(!Object.values(t).includes(i))throw new Pr([{reason:"type",validation:"native_enum",origin:"value",message:e||"Invalid type",input:i,...r}]);return i}}}function Ts(t,e){let{error:i,pipe:r}=Ms(t,e);return {schema:"number",async:!1,parse(s,a){if(typeof s!="number")throw new Pr([{reason:"type",validation:"number",origin:"value",message:i||"Invalid type",input:s,...a}]);return xa(s,r,{...a,reason:"number"})}}}function ms(t,e,i){let{error:r,pipe:s}=Ms(e,i);return {schema:"object",object:t,async:!1,parse(a,o){if(!a||typeof a!="object"||a.toString()!=="[object Object]")throw new Pr([{reason:"type",validation:"object",origin:"value",message:r||"Invalid type",input:a,...o}]);let p={},h=[];if(Object.entries(t).forEach(([c,_])=>{try{let v=a[c];p[c]=_.parse(v,{...o,path:Sn(o,{schema:"object",input:a,key:c,value:v})});}catch(v){if(o?.abortEarly)throw v;h.push(...v.issues);}}),h.length)throw new Pr(h);return xa(p,s,{...o,reason:"object"})}}}function ui(t){return {schema:"optional",wrapped:t,async:!1,parse(e,i){return e===void 0?e:t.parse(e,i)}}}function _r(t,e){let{error:i,pipe:r}=Ms(t,e);return {schema:"string",async:!1,parse(s,a){if(typeof s!="string")throw new Pr([{reason:"type",validation:"string",origin:"value",message:i||"Invalid type",input:s,...a}]);return xa(s,r,{...a,reason:"string"})}}}function su(t,e,i,r){let{key:s,value:a,error:o,pipe:p}=typeof e=="object"&&!Array.isArray(e)?{key:t,value:e,...Ms(i,r)}:{key:_r(),value:t,...Ms(e,i)};return {schema:"record",record:{key:s,value:a},async:!1,parse(h,c){if(!h||typeof h!="object"||h.toString()!=="[object Object]")throw new Pr([{reason:"type",validation:"record",origin:"value",message:o||"Invalid type",input:h,...c}]);let _={},v=[];if(Object.entries(h).forEach(([u,S])=>{let d=Sn(c,{schema:"record",input:h,key:u,value:S}),g;try{g=s.parse(u,{...c,origin:"key",path:d});}catch(y){if(c?.abortEarly)throw y;v.push(...y.issues);}let A;try{A=[a.parse(S,{...c,path:d})];}catch(y){if(c?.abortEarly)throw y;v.push(...y.issues);}g&&A&&(_[g]=A[0]);}),v.length)throw new Pr(v);return xa(_,p,{...c,reason:"record"})}}}function Rl(t,e,i,r){let{rest:s,error:a,pipe:o}=typeof e=="object"&&!Array.isArray(e)?{rest:e,...Ms(i,r)}:Ms(e,i);return {schema:"tuple",tuple:{items:t,rest:s},async:!1,parse(p,h){if(!Array.isArray(p)||!s&&t.length!==p.length||s&&t.length>p.length)throw new Pr([{reason:"type",validation:"tuple",origin:"value",message:a||"Invalid type",input:p,...h}]);let c=[],_=[];if(t.forEach((v,u)=>{try{let S=p[u];c[u]=v.parse(S,{...h,path:Sn(h,{schema:"tuple",input:p,key:u,value:S})});}catch(S){if(h?.abortEarly)throw S;_.push(...S.issues);}}),s&&p.slice(t.length).forEach((v,u)=>{try{let S=t.length+u;c[S]=s.parse(v,{...h,path:Sn(h,{schema:"tuple",input:p,key:S,value:v})});}catch(S){if(h?.abortEarly)throw S;_.push(...S.issues);}}),_.length)throw new Pr(_);return xa(c,o,{...h,reason:"tuple"})}}}function nh(t,e){return {schema:"union",union:t,async:!1,parse(i,r){let s,a=[];for(let o of t)try{s=[o.parse(i,r)];break}catch(p){a.push(...p.issues);}if(!s)throw new Pr([{reason:"type",validation:"union",origin:"value",message:e||"Invalid type",input:i,issues:a,...r}]);return s[0]}}}function wn(t,e,i){let{error:r,pipe:s}=Ms(e,i);return ms(t.reduce((a,o)=>({...a,...o.object}),{}),r,s)}function au(t,e,i,r){let{error:s,pipe:a}=Ms(i,r);return ms(Object.entries(t.object).reduce((o,[p,h])=>e.includes(p)?o:{...o,[p]:h},{}),s,a)}function nu(t,e,i){try{return {success:!0,data:t.parse(e,i)}}catch(r){return {success:!1,error:r}}}function oh(t,e){return (i,r)=>{if(i>t)throw new Pr([{validation:"max_value",origin:"value",message:e||"Invalid value",input:i,...r}]);return i}}function hh(t,e){return (i,r)=>{if(i<t)throw new Pr([{validation:"min_value",origin:"value",message:e||"Invalid value",input:i,...r}]);return i}}function Vu(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:${Lu(e)};base64,${e}`}function Bl(t){return "w"in t&&"h"in t&&!("xt"in t)&&"p"in t}async function po(t,e=()=>!0){if(!(t instanceof Uint8Array))throw new gh("DotLottie not found","INVALID_DOTLOTTIE");return await new Promise((i,r)=>{tu(t,{filter:e},(s,a)=>{s&&r(s),i(a);});})}async function yh(t,e,i){if(!(t instanceof Uint8Array))throw new gh("DotLottie not found","INVALID_DOTLOTTIE");return (await po(t,r=>r.name===e&&(!i||i(r))))[e]}async function lh(t){let e="manifest.json",i=(await po(t,r=>r.name===e))[e];if(!(typeof i>"u"))return JSON.parse(sn(i,!1))}async function Ru(t){if(!(t instanceof Uint8Array))return {success:!1,error:"DotLottie not found"};let e=await lh(t);if(typeof e>"u")return {success:!1,error:"Invalid .lottie file, manifest.json is missing"};let i=nu(Pu,e);return i.success?{success:!0}:{success:!1,error:`Invalid .lottie file, manifest.json structure is invalid, ${JSON.stringify(eu(i.error).nested,null,2)}`}}async function zl(t){let e=new Uint8Array(t),i=await Ru(e);if(i.error)throw new gh(i.error,"INVALID_DOTLOTTIE");return e}async function Ou(t,e){let i=await po(t,s=>{let a=s.name.replace("images/","");return s.name.startsWith("images/")&&(!e||e({...s,name:a}))}),r={};for(let s in i){let a=i[s];if(a instanceof Uint8Array){let o=s.replace("images/","");r[o]=Vu(a);}}return r}async function Bu(t,e){let i=new Map;for(let[s,a]of Object.entries(e))for(let o of a.assets||[])if(Bl(o)){let p=o.p;i.has(p)||i.set(p,new Set),i.get(p)?.add(s);}let r=await Ou(t,s=>i.has(s.name));for(let[s,a]of i){let o=r[s];if(o)for(let p of a){let h=e[p];for(let c of h?.assets||[])Bl(c)&&c.p===s&&(c.p=o,c.u="",c.e=1);}}}async function zu(t,e,{inlineAssets:i}={},r){let s=`animations/${e}.json`,a=await yh(t,s,r);if(typeof a>"u")return;let o=JSON.parse(sn(a,!1));if(!i)return o;let p={[e]:o};return await Bu(t,p),o}async function Nu(t,e,i){let r=`themes/${e}.lss`,s=await yh(t,r,i);if(!(typeof s>"u"))return sn(s,!1)}async function Gu(t,e){let i={},r=await po(t,s=>{let a=s.name.replace("states/","").replace(".json","");return s.name.startsWith("states/")&&(!e||e({...s,name:a}))});for(let s in r){let a=r[s];if(a instanceof Uint8Array){let o=s.replace("states/","").replace(".json","");i[o]=sn(a,!1);}}return i}async function ju(t,e,i){let r=`states/${e}.json`,s=await yh(t,r,i);return typeof s>"u"?void 0:JSON.parse(sn(s,!1))}var Fl,zc,zr,ba,ph,fh,ch,Nl,Gl,jl,uh,Nc,Gc,ql,ho,ra,pi,rn,kn,pi,pi,pi,pi,$l,pi,Hl,Wl,no,ds,oo,Ul,lo,Jl,Xr,Xl,jc,qc,Il,ao,$c,Hc,Wc,Yl,Zl,Uc,$s,Cs,rh,ah,Xc,Yc,Zc,Kc,Qc,Ll,Pr,ou,mh,hu,Kl,lu,pu,fu,En,cu,uu,du,mu,gu,yu,vu,bu,Ql,xu,tp,_u,Pu,Su,$a,ku,wu,Eu,Au,Cu,Tu,Mu,Du,Fu,Iu,Ol,Lu,gh,ep,fo=Ir(()=>{en();Fl={},zc=function(t,e,i,r,s){var a=new Worker(Fl[e]||(Fl[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 a.onmessage=function(o){var p=o.data,h=p.$e$;if(h){var c=new Error(h[0]);c.code=h[1],c.stack=h[2],s(c,null);}else s(null,p);},a.postMessage(i,r),a},zr=Uint8Array,ba=Uint16Array,ph=Uint32Array,fh=new zr([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]),ch=new zr([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]),Nl=new zr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Gl=function(t,e){for(var i=new ba(31),r=0;r<31;++r)i[r]=e+=1<<t[r-1];for(var s=new ph(i[30]),r=1;r<30;++r)for(var a=i[r];a<i[r+1];++a)s[a]=a-i[r]<<5|r;return [i,s]},jl=Gl(fh,2),uh=jl[0],Nc=jl[1];uh[28]=258,Nc[258]=28;Gc=Gl(ch,0),ql=Gc[0],ho=new ba(32768);for(pi=0;pi<32768;++pi)ra=(pi&43690)>>>1|(pi&21845)<<1,ra=(ra&52428)>>>2|(ra&13107)<<2,ra=(ra&61680)>>>4|(ra&3855)<<4,ho[pi]=((ra&65280)>>>8|(ra&255)<<8)>>>1;rn=function(t,e,i){for(var r=t.length,s=0,a=new ba(e);s<r;++s)t[s]&&++a[t[s]-1];var o=new ba(e);for(s=0;s<e;++s)o[s]=o[s-1]+a[s-1]<<1;var p;if(i){p=new ba(1<<e);var h=15-e;for(s=0;s<r;++s)if(t[s])for(var c=s<<4|t[s],_=e-t[s],v=o[t[s]-1]++<<_,u=v|(1<<_)-1;v<=u;++v)p[ho[v]>>>h]=c;}else for(p=new ba(r),s=0;s<r;++s)t[s]&&(p[s]=ho[o[t[s]-1]++]>>>15-t[s]);return p},kn=new zr(288);for(pi=0;pi<144;++pi)kn[pi]=8;for(pi=144;pi<256;++pi)kn[pi]=9;for(pi=256;pi<280;++pi)kn[pi]=7;for(pi=280;pi<288;++pi)kn[pi]=8;$l=new zr(32);for(pi=0;pi<32;++pi)$l[pi]=5;Hl=rn(kn,9,1),Wl=rn($l,5,1),no=function(t){for(var e=t[0],i=1;i<t.length;++i)t[i]>e&&(e=t[i]);return e},ds=function(t,e,i){var r=e/8|0;return (t[r]|t[r+1]<<8)>>(e&7)&i},oo=function(t,e){var i=e/8|0;return (t[i]|t[i+1]<<8|t[i+2]<<16)>>(e&7)},Ul=function(t){return (t+7)/8|0},lo=function(t,e,i){(e==null||e<0)&&(e=0),(i==null||i>t.length)&&(i=t.length);var r=new(t.BYTES_PER_ELEMENT==2?ba:t.BYTES_PER_ELEMENT==4?ph:zr)(i-e);return r.set(t.subarray(e,i)),r},Jl=["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"],Xr=function(t,e,i){var r=new Error(e||Jl[t]);if(r.code=t,Error.captureStackTrace&&Error.captureStackTrace(r,Xr),!i)throw r;return r},Xl=function(t,e,i){var r=t.length;if(!r||i&&i.f&&!i.l)return e||new zr(0);var s=!e||i,a=!i||i.i;i||(i={}),e||(e=new zr(r*3));var o=function(se){var he=e.length;if(se>he){var le=new zr(Math.max(he*2,se));le.set(e),e=le;}},p=i.f||0,h=i.p||0,c=i.b||0,_=i.l,v=i.d,u=i.m,S=i.n,d=r*8;do{if(!_){p=ds(t,h,1);var g=ds(t,h+1,3);if(h+=3,g)if(g==1)_=Hl,v=Wl,u=9,S=5;else if(g==2){var A=ds(t,h,31)+257,y=ds(t,h+10,15)+4,m=A+ds(t,h+5,31)+1;h+=14;for(var x=new zr(m),w=new zr(19),M=0;M<y;++M)w[Nl[M]]=ds(t,h+M*3,7);h+=y*3;for(var N=no(w),U=(1<<N)-1,Y=rn(w,N,1),M=0;M<m;){var dt=Y[ds(t,h,U)];h+=dt&15;var xt=dt>>>4;if(xt<16)x[M++]=xt;else {var vt=0,bt=0;for(xt==16?(bt=3+ds(t,h,3),h+=2,vt=x[M-1]):xt==17?(bt=3+ds(t,h,7),h+=3):xt==18&&(bt=11+ds(t,h,127),h+=7);bt--;)x[M++]=vt;}}var It=x.subarray(0,A),ot=x.subarray(A);u=no(It),S=no(ot),_=rn(It,u,1),v=rn(ot,S,1);}else Xr(1);else {var xt=Ul(h)+4,Tt=t[xt-4]|t[xt-3]<<8,z=xt+Tt;if(z>r){a&&Xr(0);break}s&&o(c+Tt),e.set(t.subarray(xt,z),c),i.b=c+=Tt,i.p=h=z*8,i.f=p;continue}if(h>d){a&&Xr(0);break}}s&&o(c+131072);for(var $=(1<<u)-1,E=(1<<S)-1,q=h;;q=h){var vt=_[oo(t,h)&$],nt=vt>>>4;if(h+=vt&15,h>d){a&&Xr(0);break}if(vt||Xr(2),nt<256)e[c++]=nt;else if(nt==256){q=h,_=null;break}else {var Q=nt-254;if(nt>264){var M=nt-257,Ut=fh[M];Q=ds(t,h,(1<<Ut)-1)+uh[M],h+=Ut;}var zt=v[oo(t,h)&E],qt=zt>>>4;zt||Xr(3),h+=zt&15;var ot=ql[qt];if(qt>3){var Ut=ch[qt];ot+=oo(t,h)&(1<<Ut)-1,h+=Ut;}if(h>d){a&&Xr(0);break}s&&o(c+131072);for(var Gt=c+Q;c<Gt;c+=4)e[c]=e[c-ot],e[c+1]=e[c+1-ot],e[c+2]=e[c+2-ot],e[c+3]=e[c+3-ot];c=Gt;}}i.l=_,i.p=q,i.b=c,i.f=p,_&&(p=1,i.m=u,i.d=v,i.n=S);}while(!p);return c==e.length?e:lo(e,0,c)},jc=new zr(0),qc=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},Il=function(t,e,i){for(var r=t(),s=t.toString(),a=s.slice(s.indexOf("[")+1,s.lastIndexOf("]")).replace(/\s+/g,"").split(","),o=0;o<r.length;++o){var p=r[o],h=a[o];if(typeof p=="function"){e+=";"+h+"=";var c=p.toString();if(p.prototype)if(c.indexOf("[native code]")!=-1){var _=c.indexOf(" ",8)+1;e+=c.slice(_,c.indexOf("(",_));}else {e+=c;for(var v in p.prototype)e+=";"+h+".prototype."+v+"="+p.prototype[v].toString();}else e+=c;}else i[h]=p;}return [e,i]},ao=[],$c=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},Hc=function(t,e,i,r){var s;if(!ao[i]){for(var a="",o={},p=t.length-1,h=0;h<p;++h)s=Il(t[h],a,o),a=s[0],o=s[1];ao[i]=Il(t[p],a,o);}var c=qc({},ao[i][1]);return zc(ao[i][0]+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+e.toString()+"}",i,c,$c(c),r)},Wc=function(){return [zr,ba,ph,fh,ch,Nl,uh,ql,Hl,Wl,ho,Jl,rn,no,ds,oo,Ul,lo,Xr,Xl,dh,Yl,Zl]},Yl=function(t){return postMessage(t,[t.buffer])},Zl=function(t){return t&&t.size&&new zr(t.size)},Uc=function(t,e,i,r,s,a){var o=Hc(i,r,s,function(p,h){o.terminate(),a(p,h);});return o.postMessage([t,e],e.consume?[t.buffer]:[]),function(){o.terminate();}},$s=function(t,e){return t[e]|t[e+1]<<8},Cs=function(t,e){return (t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0},rh=function(t,e){return Cs(t,e)+Cs(t,e+4)*4294967296};ah=typeof TextDecoder<"u"&&new TextDecoder,Xc=0;try{ah.decode(jc,{stream:!0}),Xc=1;}catch{}Yc=function(t){for(var e="",i=0;;){var r=t[i++],s=(r>127)+(r>223)+(r>239);if(i+s>t.length)return [e,lo(t,i-1)];s?s==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)):s&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);}};Zc=function(t,e){return e+30+$s(t,e+26)+$s(t,e+28)},Kc=function(t,e,i){var r=$s(t,e+28),s=sn(t.subarray(e+46,e+46+r),!($s(t,e+8)&2048)),a=e+46+r,o=Cs(t,e+20),p=i&&o==4294967295?Qc(t,a):[o,Cs(t,e+24),Cs(t,e+42)],h=p[0],c=p[1],_=p[2];return [$s(t,e+10),h,c,s,a+$s(t,e+30)+$s(t,e+32),_]},Qc=function(t,e){for(;$s(t,e)!=1;e+=4+$s(t,e+2));return [rh(t,e+12),rh(t,e+4),rh(t,e+20)]},Ll=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(t){t();};Pr=class extends Error{issues;constructor(t){super(t[0].message),this.name="ValiError",this.issues=t;}};ou=Object.create,mh=Object.defineProperty,hu=Object.getOwnPropertyDescriptor,Kl=Object.getOwnPropertyNames,lu=Object.getPrototypeOf,pu=Object.prototype.hasOwnProperty,fu=(t,e,i)=>e in t?mh(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,En=(t,e)=>function(){return e||(0, t[Kl(t)[0]])((e={exports:{}}).exports,e),e.exports},cu=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Kl(e))!pu.call(t,s)&&s!==i&&mh(t,s,{get:()=>e[s],enumerable:!(r=hu(e,s))||r.enumerable});return t},uu=(t,e,i)=>(i=t!=null?ou(lu(t)):{},cu(e||!t||!t.__esModule?mh(i,"default",{value:t,enumerable:!0}):i,t)),du=(t,e,i)=>(fu(t,typeof e!="symbol"?e+"":e,i),i),mu=En({"../../node_modules/.pnpm/@rgba-image+copy@0.1.3/node_modules/@rgba-image/copy/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.copy=void 0;var e=(i,r,s=0,a=0,o=i.width-s,p=i.height-a,h=0,c=0)=>{if(s=s|0,a=a|0,o=o|0,p=p|0,h=h|0,c=c|0,o<=0||p<=0)return;let _=new Uint32Array(i.data.buffer),v=new Uint32Array(r.data.buffer);for(let u=0;u<p;u++){let S=a+u;if(S<0||S>=i.height)continue;let d=c+u;if(!(d<0||d>=r.height))for(let g=0;g<o;g++){let A=s+g;if(A<0||A>=i.width)continue;let y=h+g;if(y<0||y>=r.width)continue;let m=S*i.width+A,x=d*r.width+y;v[x]=_[m];}}};t.copy=e;}}),gu=En({"../../node_modules/.pnpm/@rgba-image+create-image@0.1.1/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(s=>s===0);return (s,a,o)=>{if(s===void 0||a===void 0)throw TypeError("Not enough arguments");if(s=Math.floor(s),a=Math.floor(a),isNaN(s)||s<1||isNaN(a)||a<1)throw TypeError("Index or size is negative or greater than the allowed amount");let p=s*a*i;if(o===void 0&&(o=new Uint8ClampedArray(p)),o instanceof Uint8ClampedArray){if(o.length!==p)throw TypeError("Index or size is negative or greater than the allowed amount");if(!r)for(let h=0;h<a;h++)for(let c=0;c<s;c++){let _=(h*s+c)*i;for(let v=0;v<i;v++)o[_+v]=e[v];}return {get width(){return s},get height(){return a},get data(){return o}}}throw TypeError("Expected data to be Uint8ClampedArray or undefined")}},t.createImage=t.CreateImageFactory();}}),yu=En({"../../node_modules/.pnpm/@rgba-image+lanczos@0.1.1/node_modules/@rgba-image/lanczos/dist/filters.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.filters=void 0;var e=14,i=(a,o)=>{if(a<=-o||a>=o||a==0)return 0;let p=a*Math.PI;return Math.sin(p)/p*Math.sin(p/o)/(p/o)},r=a=>Math.round(a*((1<<e)-1)),s=(a,o,p,h,c)=>{let _=c?2:3,v=1/p,u=Math.min(1,p),S=_/u,d=Math.floor((S+1)*2),g=new Int16Array((d+2)*o),A=0;for(let y=0;y<o;y++){let m=(y+.5)*v+h,x=Math.max(0,Math.floor(m-S)),w=Math.min(a-1,Math.ceil(m+S)),M=w-x+1,N=new Float32Array(M),U=new Int16Array(M),Y=0,dt=0;for(let Tt=x;Tt<=w;Tt++){let z=i((Tt+.5-m)*u,_);Y+=z,N[dt]=z,dt++;}let xt=0;for(let Tt=0;Tt<N.length;Tt++){let z=N[Tt]/Y;xt+=z,U[Tt]=r(z);}U[o>>1]+=r(1-xt);let vt=0;for(;vt<U.length&&U[vt]===0;)vt++;let bt=U.length-1;for(;bt>0&&U[bt]===0;)bt--;let It=x+vt,ot=bt-vt+1;g[A++]=It,g[A++]=ot,g.set(U.subarray(vt,bt+1),A),A+=ot;}return g};t.filters=s;}}),vu=En({"../../node_modules/.pnpm/@rgba-image+lanczos@0.1.1/node_modules/@rgba-image/lanczos/dist/convolve.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.convolve=void 0;var e=14,i=(r,s,a,o,p,h)=>{let c=0,_=0;for(let v=0;v<o;v++){let u=0;for(let S=0;S<p;S++){let d=h[u++],g=c+d*4|0,A=0,y=0,m=0,x=0;for(let w=h[u++];w>0;w--){let M=h[u++];A=A+M*r[g]|0,y=y+M*r[g+1]|0,m=m+M*r[g+2]|0,x=x+M*r[g+3]|0,g=g+4|0;}s[_]=A+8192>>e,s[_+1]=y+8192>>e,s[_+2]=m+8192>>e,s[_+3]=x+8192>>e,_=_+o*4|0;}_=(v+1)*4|0,c=(v+1)*a*4|0;}};t.convolve=i;}}),bu=En({"../../node_modules/.pnpm/@rgba-image+lanczos@0.1.1/node_modules/@rgba-image/lanczos/dist/index.js"(t){Object.defineProperty(t,"__esModule",{value:!0}),t.lanczos2=t.lanczos=void 0;var e=mu(),i=gu(),r=yu(),s=vu(),a=(h,c,_=!1)=>{let v=c.width/h.width,u=c.height/h.height,S=r.filters(h.width,c.width,v,0,_),d=r.filters(h.height,c.height,u,0,_),g=new Uint8ClampedArray(c.width*h.height*4);s.convolve(h.data,g,h.width,h.height,c.width,S),s.convolve(g,c.data,h.height,c.width,c.height,d);},o=(h,c,_=0,v=0,u=h.width-_,S=h.height-v,d=0,g=0,A=c.width-d,y=c.height-g)=>{if(_=_|0,v=v|0,u=u|0,S=S|0,d=d|0,g=g|0,A=A|0,y=y|0,u<=0||S<=0||A<=0||y<=0)return;if(_===0&&v===0&&u===h.width&&S===h.height&&d===0&&g===0&&A===c.width&&y===c.height){a(h,c);return}let m=i.createImage(u,S),x=i.createImage(A,y);e.copy(h,m,_,v),a(m,x),e.copy(x,c,0,0,x.width,x.height,d,g);};t.lanczos=o;var p=(h,c,_=0,v=0,u=h.width-_,S=h.height-v,d=0,g=0,A=c.width-d,y=c.height-g)=>{if(_=_|0,v=v|0,u=u|0,S=S|0,d=d|0,g=g|0,A=A|0,y=y|0,u<=0||S<=0||A<=0||y<=0)return;if(_===0&&v===0&&u===h.width&&S===h.height&&d===0&&g===0&&A===c.width&&y===c.height){a(h,c,!0);return}let m=i.createImage(u,S),x=i.createImage(A,y);e.copy(h,m,_,v),a(m,x,!0),e.copy(x,c,0,0,x.width,x.height,d,g);};t.lanczos2=p;}}),Ql=(t=>(t.Bounce="bounce",t.Normal="normal",t))(Ql||{}),xu=ru(Ql),tp=ms({autoplay:ui(sh()),defaultTheme:ui(_r()),direction:ui(nh([Vl(1),Vl(-1)])),hover:ui(sh()),id:_r(),intermission:ui(Ts()),loop:ui(nh([sh(),Ts()])),playMode:ui(xu),speed:ui(Ts()),themeColor:ui(_r())}),_u=ms({animations:Pn(_r()),id:_r()}),Pu=ms({activeAnimationId:ui(_r()),animations:Pn(tp),author:ui(_r()),custom:ui(su(_r(),iu())),description:ui(_r()),generator:ui(_r()),keywords:ui(_r()),revision:ui(Ts()),themes:ui(Pn(_u)),states:ui(Pn(_r())),version:ui(_r())}),Su=au(tp,["id"]),$a=ms({state:_r()}),ku=$a,wu=wn([$a,ms({ms:Ts()})]),Eu=wn([$a,ms({count:Ts()})]),Au=$a,Cu=$a,Tu=$a,Mu=wn([$a,ms({threshold:ui(Pn(Ts([hh(0),oh(1)])))})]),Du=ms({onAfter:ui(wu),onClick:ui(ku),onComplete:ui(Tu),onEnter:ui(Eu),onMouseEnter:ui(Au),onMouseLeave:ui(Cu),onShow:ui(Mu)}),Fu=wn([Su,ms({playOnScroll:ui(Rl([Ts([hh(0),oh(1)]),Ts([hh(0),oh(1)])])),segments:ui(nh([Rl([Ts(),Ts()]),_r()]))})]);wn([Du,ms({animationId:ui(_r()),playbackSettings:Fu})]);Iu={jpeg:"image/jpeg",png:"image/png",gif:"image/gif",bmp:"image/bmp",svg:"image/svg+xml",webp:"image/webp"},Ol={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]},Lu=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 s=new Uint8Array(e.length);for(let a=0;a<e.length;a+=1)s[a]=e.charCodeAt(a);i=Array.from(s.subarray(0,8));for(let a in Ol){let o=Ol[a];if(o&&i.every((p,h)=>p===o[h]))return Iu[a]}return null},gh=class extends Error{constructor(t,e){super(t),du(this,"code"),this.name="[dotlottie-js]",this.code=e;}};uu(bu());ep=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(t){let e=await fetch(t,{method:"GET",mode:"cors"});if(!e.ok)throw new Error(`Failed to load dotLottie from ${t} with status ${e.status}`);if(e.headers.get("content-type")?.includes("application/json")){let i=await e.json();if(!qa(i))throw new Error(`Invalid lottie JSON at ${t}`);let r=eh(t);this._animationsMap.set(r,i);let s={activeAnimationId:r,animations:[{id:r}]};this._manifest=s;}else {this._dotLottie=await zl(await e.arrayBuffer());let i=await lh(this._dotLottie);if(!i)throw new Error("Manifest not found");this._manifest=i;}}loadFromLottieJSON(t){if(!qa(t))throw new Error("Invalid lottie JSON");let e="my-animation";this._animationsMap.set(e,t);let i={activeAnimationId:e,animations:[{id:e}]};this._manifest=i;}async loadFromArrayBuffer(t){this._dotLottie=await zl(t);let e=await lh(this._dotLottie);if(!e)throw new Error("Manifest not found");this._manifest=e;}async getAnimation(t){if(this._animationsMap.get(t))return this._animationsMap.get(t);if(!this._dotLottie)return;let e=await zu(this._dotLottie,t,{inlineAssets:!0});return e&&this._animationsMap.set(t,e),e}async getTheme(t){if(this._themeMap.get(t))return this._themeMap.get(t);if(!this._dotLottie)return;let e=await Nu(this._dotLottie,t);return e&&this._themeMap.set(t,e),e}async getStateMachines(){if(!this._dotLottie)return;let t=await Gu(this._dotLottie);for(let e in t)if(e){let i=t[e];if(i){let r=JSON.parse(i);if(r){let s=r.descriptor.id;this._stateMachinesMap.get(s)||this._stateMachinesMap.set(s,r);}}}return Array.from(this._stateMachinesMap.values())}async getStateMachine(t){if(this._stateMachinesMap.get(t))return this._stateMachinesMap.get(t);if(!this._dotLottie)return;let e=await ju(this._dotLottie,t);return e&&this._stateMachinesMap.set(e.descriptor.id,e),e}};});var qu,ip,$u,Hu,Wu,Uu,ce,Ju,Ds,Fs=Ir(()=>{qu=Object.create,ip=Object.defineProperty,$u=Object.getOwnPropertyDescriptor,Hu=Object.getOwnPropertyNames,Wu=Object.getPrototypeOf,Uu=Object.prototype.hasOwnProperty,ce=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ju=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Hu(e))!Uu.call(t,s)&&s!==i&&ip(t,s,{get:()=>e[s],enumerable:!(r=$u(e,s))||r.enumerable});return t},Ds=(t,e,i)=>(i=t!=null?qu(Wu(t)):{},Ju(e||!t||!t.__esModule?ip(i,"default",{value:t,enumerable:!0}):i,t));});var Mp={};ia(Mp,{relottie:()=>lm});function co(t){if(Array.isArray(t))return t;if(typeof t=="function"){let e=t();return co(e)}else return typeof t>"u"?[]:[t]}function uo(t){if(Array.isArray(t))return t.length>0?[t[0]]:[];if(typeof t=="function"){let e=t();return uo(e)}else return typeof t>"u"?[]:[t]}function Ku(t){return t===void 0?"empty":t}function nd(t){let e=[],i=-1;for(;++i<t.length;)e[i]=Sp(t[i]);return mo(r);function r(...s){let a=-1;for(;++a<e.length;)if(e[a].call(this,...s))return !0;return !1}}function od(t){return mo(e);function e(i){let r;for(r in t)if(i[r]!==t[r])return !1;return !0}}function hd(t){return mo(e);function e(i){return i&&i.type===t}}function mo(t){return e;function e(...i){return !!t.call(this,...i)}}function ld(){return !0}function Lr(t,e,i){nn(t,e)||i.fail(`Unexpected node type found ${t?.type}, has to be 'array'`);}function Vd(t,e,i={}){let r=(0, rp.parse)(t,{tokens:!0}),s=(0, ad.default)(Ad,i.parse),a=r.tokens.length,o=new Ed(a),p={hasExpressions:!1};(0, rp.traverse)(r,{enter(_,v){Id(_,v,o,e,s);},exit(_,v){Ld(_,v,o,e,s,p);}});let h={parse:{...s.messages.warning&&e.messages.length>0?{messages:e.messages}:{}}};Object.assign(e.data,h);let c=o.pop();if(nn(c,"root"))return c.hasExpressions=p.hasExpressions,c;e.fail(`Stack's last item has to be "root" but it's "${c?.type}"`,c);}function an(t){let e=i=>{let r={};return i.children.forEach(s=>{let a=typeof s.key=="string"?s.key:s.key.value,o=s.children[0];o&&(r[a]=an(o));}),r};switch(t.type){case"primitive":switch(typeof t.value){case"number":return t.value;case"string":return t.value;case"boolean":return t.value;case"object":return null;default:throw new Error(`Unknown Primitive type ${t.type}.`)}case"attribute":return t.children[0]?an(t.children[0]):null;case"collection":return t.children[0]?an(t.children[0]):null;case"element":return t.children[0]?an(t.children[0]):null;case"array":return t.children.map(an);case"root":return e(t);case"object":return e(t);default:throw new Error(`Unknown node type ${t.type}.`)}}function zd(t,e,i={}){let r={...Bd,...i.stringify},s=an(t);return JSON.stringify(s,null,r.indent)}function cp(t){if(t)throw t}function wh(t){if(typeof t!="object"||t===null)return !1;let e=Object.getPrototypeOf(t);return (e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)}function qd(){let t=[],e={run:i,use:r};return e;function i(...s){let a=-1,o=s.pop();if(typeof o!="function")throw new TypeError("Expected function as last argument, not "+o);p(null,...s);function p(h,...c){let _=t[++a],v=-1;if(h){o(h);return}for(;++v<s.length;)(c[v]===null||c[v]===void 0)&&(c[v]=s[v]);s=c,_?$d(_,p)(...c):o(null,...c);}}function r(s){if(typeof s!="function")throw new TypeError("Expected `middelware` to be a function, not "+s);return t.push(s),e}}function $d(t,e){let i;return r;function r(...o){let p=t.length>o.length,h;p&&o.push(s);try{h=t.apply(this,o);}catch(c){let _=c;if(p&&i)throw _;return s(_)}p||(h instanceof Promise?h.then(a,s):h instanceof Error?s(h):a(h));}function s(o,...p){i||(i=!0,e(o,...p));}function a(o){s(null,o);}}function Wd(t){return !t||typeof t!="object"?"":"position"in t||"type"in t?dp(t.position):"start"in t||"end"in t?dp(t):"line"in t||"column"in t?Eh(t):""}function Eh(t){return mp(t&&t.line)+":"+mp(t&&t.column)}function dp(t){return Eh(t&&t.start)+"-"+Eh(t&&t.end)}function mp(t){return t&&typeof t=="number"?t:1}function Ud(t,e){if(e!==void 0&&typeof e!="string")throw new TypeError('"ext" argument must be a string');Mn(t);let i=0,r=-1,s=t.length,a;if(e===void 0||e.length===0||e.length>t.length){for(;s--;)if(t.charCodeAt(s)===47){if(a){i=s+1;break}}else r<0&&(a=!0,r=s+1);return r<0?"":t.slice(i,r)}if(e===t)return "";let o=-1,p=e.length-1;for(;s--;)if(t.charCodeAt(s)===47){if(a){i=s+1;break}}else o<0&&(a=!0,o=s+1),p>-1&&(t.charCodeAt(s)===e.charCodeAt(p--)?p<0&&(r=s):(p=-1,r=o));return i===r?r=o:r<0&&(r=t.length),t.slice(i,r)}function Jd(t){if(Mn(t),t.length===0)return ".";let e=-1,i=t.length,r;for(;--i;)if(t.charCodeAt(i)===47){if(r){e=i;break}}else r||(r=!0);return e<0?t.charCodeAt(0)===47?"/":".":e===1&&t.charCodeAt(0)===47?"//":t.slice(0,e)}function Xd(t){Mn(t);let e=t.length,i=-1,r=0,s=-1,a=0,o;for(;e--;){let p=t.charCodeAt(e);if(p===47){if(o){r=e+1;break}continue}i<0&&(o=!0,i=e+1),p===46?s<0?s=e:a!==1&&(a=1):s>-1&&(a=-1);}return s<0||i<0||a===0||a===1&&s===i-1&&s===r+1?"":t.slice(s,i)}function Yd(...t){let e=-1,i;for(;++e<t.length;)Mn(t[e]),t[e]&&(i=i===void 0?t[e]:i+"/"+t[e]);return i===void 0?".":Zd(i)}function Zd(t){Mn(t);let e=t.charCodeAt(0)===47,i=Kd(t,!e);return i.length===0&&!e&&(i="."),i.length>0&&t.charCodeAt(t.length-1)===47&&(i+="/"),e?"/"+i:i}function Kd(t,e){let i="",r=0,s=-1,a=0,o=-1,p,h;for(;++o<=t.length;){if(o<t.length)p=t.charCodeAt(o);else {if(p===47)break;p=47;}if(p===47){if(!(s===o-1||a===1))if(s!==o-1&&a===2){if(i.length<2||r!==2||i.charCodeAt(i.length-1)!==46||i.charCodeAt(i.length-2)!==46){if(i.length>2){if(h=i.lastIndexOf("/"),h!==i.length-1){h<0?(i="",r=0):(i=i.slice(0,h),r=i.length-1-i.lastIndexOf("/")),s=o,a=0;continue}}else if(i.length>0){i="",r=0,s=o,a=0;continue}}e&&(i=i.length>0?i+"/..":"..",r=2);}else i.length>0?i+="/"+t.slice(s+1,o):i=t.slice(s+1,o),r=o-s-1;s=o,a=0;}else p===46&&a>-1?a++:a=-1;}return i}function Mn(t){if(typeof t!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(t))}function tm(){return "/"}function Ah(t){return t!==null&&typeof t=="object"&&t.href&&t.origin}function em(t){if(typeof t=="string")t=new URL(t);else if(!Ah(t)){let e=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+t+"`");throw e.code="ERR_INVALID_ARG_TYPE",e}if(t.protocol!=="file:"){let e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return im(t)}function im(t){if(t.hostname!==""){let r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}let e=t.pathname,i=-1;for(;++i<e.length;)if(e.charCodeAt(i)===37&&e.charCodeAt(i+1)===50){let r=e.charCodeAt(i+2);if(r===70||r===102){let s=new TypeError("File URL path must not include encoded / characters");throw s.code="ERR_INVALID_FILE_URL_PATH",s}}return decodeURIComponent(e)}function xh(t,e){if(t&&t.includes(Hs.sep))throw new Error("`"+e+"` cannot be a path: did not expect `"+Hs.sep+"`")}function _h(t,e){if(!t)throw new Error("`"+e+"` cannot be empty")}function gp(t,e){if(!t)throw new Error("Setting `"+e+"` requires `path` to be set too")}function sm(t){return (0, Hd.default)(t)}function Tp(){let t=qd(),e=[],i={},r,s=-1;return a.data=o,a.Parser=void 0,a.Compiler=void 0,a.freeze=p,a.attachers=e,a.use=h,a.parse=c,a.stringify=_,a.run=v,a.runSync=u,a.process=S,a.processSync=d,a;function a(){let g=Tp(),A=-1;for(;++A<e.length;)g.use(...e[A]);return g.data((0, up.default)(!0,{},i)),g}function o(g,A){return typeof g=="string"?arguments.length===2?(kh("data",r),i[g]=A,a):Cp.call(i,g)&&i[g]||null:g?(kh("data",r),i=g,a):i}function p(){if(r)return a;for(;++s<e.length;){let[g,...A]=e[s];if(A[0]===!1)continue;A[0]===!0&&(A[0]=void 0);let y=g.call(a,...A);typeof y=="function"&&t.use(y);}return r=!0,s=Number.POSITIVE_INFINITY,a}function h(g,...A){let y;if(kh("use",r),g!=null)if(typeof g=="function")M(g,...A);else if(typeof g=="object")Array.isArray(g)?w(g):x(g);else throw new TypeError("Expected usable value, not `"+g+"`");return y&&(i.settings=Object.assign(i.settings||{},y)),a;function m(N){if(typeof N=="function")M(N);else if(typeof N=="object")if(Array.isArray(N)){let[U,...Y]=N;M(U,...Y);}else x(N);else throw new TypeError("Expected usable value, not `"+N+"`")}function x(N){w(N.plugins),N.settings&&(y=Object.assign(y||{},N.settings));}function w(N){let U=-1;if(N!=null)if(Array.isArray(N))for(;++U<N.length;){let Y=N[U];m(Y);}else throw new TypeError("Expected a list of plugins, not `"+N+"`")}function M(N,U){let Y=-1,dt;for(;++Y<e.length;)if(e[Y][0]===N){dt=e[Y];break}dt?(wh(dt[1])&&wh(U)&&(U=(0, up.default)(!0,dt[1],U)),dt[1]=U):e.push([...arguments]);}}function c(g){a.freeze();let A=An(g),y=a.Parser;return Ph("parse",y),yp(y,"parse")?new y(String(A),A).parse():y(String(A),A)}function _(g,A){a.freeze();let y=An(A),m=a.Compiler;return Sh("stringify",m),vp(g),yp(m,"compile")?new m(g,y).compile():m(g,y)}function v(g,A,y){if(vp(g),a.freeze(),!y&&typeof A=="function"&&(y=A,A=void 0),!y)return new Promise(m);m(null,y);function m(x,w){t.run(g,An(A),M);function M(N,U,Y){U=U||g,N?w(N):x?x(U):y(null,U,Y);}}}function u(g,A){let y,m;return a.run(g,A,x),bp("runSync","run",m),y;function x(w,M){cp(w),y=M,m=!0;}}function S(g,A){if(a.freeze(),Ph("process",a.Parser),Sh("process",a.Compiler),!A)return new Promise(y);y(null,A);function y(m,x){let w=An(g);a.run(a.parse(w),w,(N,U,Y)=>{if(N||!U||!Y)M(N);else {let dt=a.stringify(U,Y);dt==null||(hm(dt)?Y.value=dt:Y.result=dt),M(N,Y);}});function M(N,U){N||!U?x(N):m?m(U):A(null,U);}}}function d(g){let A;a.freeze(),Ph("processSync",a.Parser),Sh("processSync",a.Compiler);let y=An(g);return a.process(y,m),bp("processSync","process",A),y;function m(x){A=!0,cp(x);}}}function yp(t,e){return typeof t=="function"&&t.prototype&&(nm(t.prototype)||e in t.prototype)}function nm(t){let e;for(e in t)if(Cp.call(t,e))return !0;return !1}function Ph(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Parser`")}function Sh(t,e){if(typeof e!="function")throw new TypeError("Cannot `"+t+"` without `Compiler`")}function kh(t,e){if(e)throw new Error("Cannot call `"+t+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function vp(t){if(!wh(t)||typeof t.type!="string")throw new TypeError("Expected node, got `"+t+"`")}function bp(t,e,i){if(!i)throw new Error("`"+t+"` finished async. Use `"+e+"` instead")}function An(t){return om(t)?t:new rm(t)}function om(t){return !!(t&&typeof t=="object"&&"message"in t&&"messages"in t)}function hm(t){return typeof t=="string"||(0, jd.default)(t)}var xp,Xu,_p,Yu,Zu,rp,Pp,Pa,Qu,td,sp,ap,ed,id,rd,sd,ad,nn,Sp,pd,fd,np,Mi,Qt,Cn,ft,qe,ee,pt,oe,Tn,fe,vh,op,_a,gs,kp,Je,cd,wp,ud,dd,md,gd,yd,vd,bd,xd,_d,sa,Pd,Sd,kd,wd,Ed,Ad,hp,Cd,go,lp,Td,Md,Ep,Dd,Fd,Ap,pp,fp,Id,Ld,Rd,Od,Bd,Nd,Gd,jd,up,Hd,ys,Hs,Qd,bh,rm,am,Cp,lm,Dp=Ir(()=>{Fs();xp=ce((t,e)=>{var i=200,r="__lodash_hash_undefined__",s=800,a=16,o=9007199254740991,p="[object Arguments]",h="[object Array]",c="[object AsyncFunction]",_="[object Boolean]",v="[object Date]",u="[object Error]",S="[object Function]",d="[object GeneratorFunction]",g="[object Map]",A="[object Number]",y="[object Null]",m="[object Object]",x="[object Proxy]",w="[object RegExp]",M="[object Set]",N="[object String]",U="[object Undefined]",Y="[object WeakMap]",dt="[object ArrayBuffer]",xt="[object DataView]",vt="[object Float32Array]",bt="[object Float64Array]",It="[object Int8Array]",ot="[object Int16Array]",Tt="[object Int32Array]",z="[object Uint8Array]",$="[object Uint8ClampedArray]",E="[object Uint16Array]",q="[object Uint32Array]",nt=/[\\^$.*+?()[\]{}|]/g,Q=/^\[object .+?Constructor\]$/,Ut=/^(?:0|[1-9]\d*)$/,zt={};zt[vt]=zt[bt]=zt[It]=zt[ot]=zt[Tt]=zt[z]=zt[$]=zt[E]=zt[q]=!0,zt[p]=zt[h]=zt[dt]=zt[_]=zt[xt]=zt[v]=zt[u]=zt[S]=zt[g]=zt[A]=zt[m]=zt[w]=zt[M]=zt[N]=zt[Y]=!1;var qt=typeof global=="object"&&global&&global.Object===Object&&global,Gt=typeof self=="object"&&self&&self.Object===Object&&self,se=qt||Gt||Function("return this")(),he=typeof t=="object"&&t&&!t.nodeType&&t,le=he&&typeof e=="object"&&e&&!e.nodeType&&e,Se=le&&le.exports===he,Pe=Se&&qt.process,Jt=function(){try{var Ot=le&&le.require&&le.require("util").types;return Ot||Pe&&Pe.binding&&Pe.binding("util")}catch{}}(),de=Jt&&Jt.isTypedArray;function Xt(Ot,Yt,ie){switch(ie.length){case 0:return Ot.call(Yt);case 1:return Ot.call(Yt,ie[0]);case 2:return Ot.call(Yt,ie[0],ie[1]);case 3:return Ot.call(Yt,ie[0],ie[1],ie[2])}return Ot.apply(Yt,ie)}function Wt(Ot,Yt){for(var ie=-1,ye=Array(Ot);++ie<Ot;)ye[ie]=Yt(ie);return ye}function ze(Ot){return function(Yt){return Ot(Yt)}}function Ke(Ot,Yt){return Ot?.[Yt]}function We(Ot,Yt){return function(ie){return Ot(Yt(ie))}}var Le=Array.prototype,Re=Function.prototype,Oe=Object.prototype,be=se["__core-js_shared__"],re=Re.toString,Nt=Oe.hasOwnProperty,ae=function(){var Ot=/[^.]+$/.exec(be&&be.keys&&be.keys.IE_PROTO||"");return Ot?"Symbol(src)_1."+Ot:""}(),ne=Oe.toString,ke=re.call(Object),$e=RegExp("^"+re.call(Nt).replace(nt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vi=Se?se.Buffer:void 0,bi=se.Symbol,Fi=se.Uint8Array,ki=vi?vi.allocUnsafe:void 0,Xi=We(Object.getPrototypeOf,Object),Ki=Object.create,Vr=Oe.propertyIsEnumerable,ha=Le.splice,jr=bi?bi.toStringTag:void 0,ns=function(){try{var Ot=ls(Object,"defineProperty");return Ot({},"",{}),Ot}catch{}}(),Js=vi?vi.isBuffer:void 0,Rr=Math.max,qr=Date.now,mr=ls(se,"Map"),$r=ls(Object,"create"),Ls=function(){function Ot(){}return function(Yt){if(!Tr(Yt))return {};if(Ki)return Ki(Yt);Ot.prototype=Yt;var ie=new Ot;return Ot.prototype=void 0,ie}}();function Kr(Ot){var Yt=-1,ie=Ot==null?0:Ot.length;for(this.clear();++Yt<ie;){var ye=Ot[Yt];this.set(ye[0],ye[1]);}}function Ca(){this.__data__=$r?$r(null):{},this.size=0;}function te(Ot){var Yt=this.has(Ot)&&delete this.__data__[Ot];return this.size-=Yt?1:0,Yt}function Xe(Ot){var Yt=this.__data__;if($r){var ie=Yt[Ot];return ie===r?void 0:ie}return Nt.call(Yt,Ot)?Yt[Ot]:void 0}function pe(Ot){var Yt=this.__data__;return $r?Yt[Ot]!==void 0:Nt.call(Yt,Ot)}function Ye(Ot,Yt){var ie=this.__data__;return this.size+=this.has(Ot)?0:1,ie[Ot]=$r&&Yt===void 0?r:Yt,this}Kr.prototype.clear=Ca,Kr.prototype.delete=te,Kr.prototype.get=Xe,Kr.prototype.has=pe,Kr.prototype.set=Ye;function Ve(Ot){var Yt=-1,ie=Ot==null?0:Ot.length;for(this.clear();++Yt<ie;){var ye=Ot[Yt];this.set(ye[0],ye[1]);}}function Qi(){this.__data__=[],this.size=0;}function ai(Ot){var Yt=this.__data__,ie=Qr(Yt,Ot);if(ie<0)return !1;var ye=Yt.length-1;return ie==ye?Yt.pop():ha.call(Yt,ie,1),--this.size,!0}function gr(Ot){var Yt=this.__data__,ie=Qr(Yt,Ot);return ie<0?void 0:Yt[ie][1]}function Ge(Ot){return Qr(this.__data__,Ot)>-1}function kr(Ot,Yt){var ie=this.__data__,ye=Qr(ie,Ot);return ye<0?(++this.size,ie.push([Ot,Yt])):ie[ye][1]=Yt,this}Ve.prototype.clear=Qi,Ve.prototype.delete=ai,Ve.prototype.get=gr,Ve.prototype.has=Ge,Ve.prototype.set=kr;function ue(Ot){var Yt=-1,ie=Ot==null?0:Ot.length;for(this.clear();++Yt<ie;){var ye=Ot[Yt];this.set(ye[0],ye[1]);}}function Vs(){this.size=0,this.__data__={hash:new Kr,map:new(mr||Ve),string:new Kr};}function ti(Ot){var Yt=ts(this,Ot).delete(Ot);return this.size-=Yt?1:0,Yt}function Ta(Ot){return ts(this,Ot).get(Ot)}function la(Ot){return ts(this,Ot).has(Ot)}function Ma(Ot,Yt){var ie=ts(this,Ot),ye=ie.size;return ie.set(Ot,Yt),this.size+=ie.size==ye?0:1,this}ue.prototype.clear=Vs,ue.prototype.delete=ti,ue.prototype.get=Ta,ue.prototype.has=la,ue.prototype.set=Ma;function os(Ot){var Yt=this.__data__=new Ve(Ot);this.size=Yt.size;}function Da(){this.__data__=new Ve,this.size=0;}function Fa(Ot){var Yt=this.__data__,ie=Yt.delete(Ot);return this.size=Yt.size,ie}function Ia(Ot){return this.__data__.get(Ot)}function La(Ot){return this.__data__.has(Ot)}function Va(Ot,Yt){var ie=this.__data__;if(ie instanceof Ve){var ye=ie.__data__;if(!mr||ye.length<i-1)return ye.push([Ot,Yt]),this.size=++ie.size,this;ie=this.__data__=new ue(ye);}return ie.set(Ot,Yt),this.size=ie.size,this}os.prototype.clear=Da,os.prototype.delete=Fa,os.prototype.get=Ia,os.prototype.has=La,os.prototype.set=Va;function Xs(Ot,Yt){var ie=fs(Ot),ye=!ie&&Ar(Ot),Te=!ie&&!ye&&Cr(Ot),Fe=!ie&&!ye&&!Te&&es(Ot),De=ie||ye||Te||Fe,ve=De?Wt(Ot.length,String):[],Ae=ve.length;for(var oi in Ot)(Yt||Nt.call(Ot,oi))&&!(De&&(oi=="length"||Te&&(oi=="offset"||oi=="parent")||Fe&&(oi=="buffer"||oi=="byteLength"||oi=="byteOffset")||sr(oi,Ae)))&&ve.push(oi);return ve}function bs(Ot,Yt,ie){(ie!==void 0&&!Ur(Ot[Yt],ie)||ie===void 0&&!(Yt in Ot))&&Ys(Ot,Yt,ie);}function pa(Ot,Yt,ie){var ye=Ot[Yt];(!(Nt.call(Ot,Yt)&&Ur(ye,ie))||ie===void 0&&!(Yt in Ot))&&Ys(Ot,Yt,ie);}function Qr(Ot,Yt){for(var ie=Ot.length;ie--;)if(Ur(Ot[ie][0],Yt))return ie;return -1}function Ys(Ot,Yt,ie){Yt=="__proto__"&&ns?ns(Ot,Yt,{configurable:!0,enumerable:!0,value:ie,writable:!0}):Ot[Yt]=ie;}var Ii=ri();function ni(Ot){return Ot==null?Ot===void 0?U:y:jr&&jr in Object(Ot)?Er(Ot):_s(Ot)}function ei(Ot){return vr(Ot)&&ni(Ot)==p}function wi(Ot){if(!Tr(Ot)||qi(Ot))return !1;var Yt=cs(Ot)?$e:Q;return Yt.test(yr(Ot))}function Gi(Ot){return vr(Ot)&&Li(Ot.length)&&!!zt[ni(Ot)]}function mi(Ot){if(!Tr(Ot))return Wr(Ot);var Yt=ar(Ot),ie=[];for(var ye in Ot)ye=="constructor"&&(Yt||!Nt.call(Ot,ye))||ie.push(ye);return ie}function rr(Ot,Yt,ie,ye,Te){Ot!==Yt&&Ii(Yt,function(Fe,De){if(Te||(Te=new os),Tr(Fe))ji(Ot,Yt,De,ie,rr,ye,Te);else {var ve=ye?ye(Ps(Ot,De),Fe,De+"",Ot,Yt,Te):void 0;ve===void 0&&(ve=Fe),bs(Ot,De,ve);}},zs);}function ji(Ot,Yt,ie,ye,Te,Fe,De){var ve=Ps(Ot,ie),Ae=Ps(Yt,ie),oi=De.get(Ae);if(oi){bs(Ot,ie,oi);return}var Be=Fe?Fe(ve,Ae,ie+"",Ot,Yt,De):void 0,Vi=Be===void 0;if(Vi){var Ei=fs(Ae),Yi=!Ei&&Cr(Ae),Mr=!Ei&&!Yi&&es(Ae);Be=Ae,Ei||Yi||Mr?fs(ve)?Be=ve:Bs(ve)?Be=Zs(ve):Yi?(Vi=!1,Be=zi(Ae,!0)):Mr?(Vi=!1,Be=wr(Ae,!0)):Be=[]:nr(Ae)||Ar(Ae)?(Be=ve,Ar(ve)?Be=us(ve):(!Tr(ve)||cs(ve))&&(Be=xs(Ae))):Vi=!1;}Vi&&(De.set(Ae,Be),Te(Be,Ae,ye,Fe,De),De.delete(Ae)),bs(Ot,ie,Be);}function Or(Ot,Yt){return Ra(ca(Ot,Yt,ua),Ot+"")}var hs=ns?function(Ot,Yt){return ns(Ot,"toString",{configurable:!0,enumerable:!1,value:Ba(Yt),writable:!0})}:ua;function zi(Ot,Yt){if(Yt)return Ot.slice();var ie=Ot.length,ye=ki?ki(ie):new Ot.constructor(ie);return Ot.copy(ye),ye}function fa(Ot){var Yt=new Ot.constructor(Ot.byteLength);return new Fi(Yt).set(new Fi(Ot)),Yt}function wr(Ot,Yt){var ie=Yt?fa(Ot.buffer):Ot.buffer;return new Ot.constructor(ie,Ot.byteOffset,Ot.length)}function Zs(Ot,Yt){var ie=-1,ye=Ot.length;for(Yt||(Yt=Array(ye));++ie<ye;)Yt[ie]=Ot[ie];return Yt}function Ne(Ot,Yt,ie,ye){var Te=!ie;ie||(ie={});for(var Fe=-1,De=Yt.length;++Fe<De;){var ve=Yt[Fe],Ae=ye?ye(ie[ve],Ot[ve],ve,ie,Ot):void 0;Ae===void 0&&(Ae=Ot[ve]),Te?Ys(ie,ve,Ae):pa(ie,ve,Ae);}return ie}function Rs(Ot){return Or(function(Yt,ie){var ye=-1,Te=ie.length,Fe=Te>1?ie[Te-1]:void 0,De=Te>2?ie[2]:void 0;for(Fe=Ot.length>3&&typeof Fe=="function"?(Te--,Fe):void 0,De&&tr(ie[0],ie[1],De)&&(Fe=Te<3?void 0:Fe,Te=1),Yt=Object(Yt);++ye<Te;){var ve=ie[ye];ve&&Ot(Yt,ve,ye,Fe);}return Yt})}function ri(Ot){return function(Yt,ie,ye){for(var Te=-1,Fe=Object(Yt),De=ye(Yt),ve=De.length;ve--;){var Ae=De[Ot?ve:++Te];if(ie(Fe[Ae],Ae,Fe)===!1)break}return Yt}}function ts(Ot,Yt){var ie=Ot.__data__;return Hr(Yt)?ie[typeof Yt=="string"?"string":"hash"]:ie.map}function ls(Ot,Yt){var ie=Ke(Ot,Yt);return wi(ie)?ie:void 0}function Er(Ot){var Yt=Nt.call(Ot,jr),ie=Ot[jr];try{Ot[jr]=void 0;var ye=!0;}catch{}var Te=ne.call(Ot);return ye&&(Yt?Ot[jr]=ie:delete Ot[jr]),Te}function xs(Ot){return typeof Ot.constructor=="function"&&!ar(Ot)?Ls(Xi(Ot)):{}}function sr(Ot,Yt){var ie=typeof Ot;return Yt=Yt??o,!!Yt&&(ie=="number"||ie!="symbol"&&Ut.test(Ot))&&Ot>-1&&Ot%1==0&&Ot<Yt}function tr(Ot,Yt,ie){if(!Tr(ie))return !1;var ye=typeof Yt;return (ye=="number"?Os(ie)&&sr(Yt,ie.length):ye=="string"&&Yt in ie)?Ur(ie[Yt],Ot):!1}function Hr(Ot){var Yt=typeof Ot;return Yt=="string"||Yt=="number"||Yt=="symbol"||Yt=="boolean"?Ot!=="__proto__":Ot===null}function qi(Ot){return !!ae&&ae in Ot}function ar(Ot){var Yt=Ot&&Ot.constructor,ie=typeof Yt=="function"&&Yt.prototype||Oe;return Ot===ie}function Wr(Ot){var Yt=[];if(Ot!=null)for(var ie in Object(Ot))Yt.push(ie);return Yt}function _s(Ot){return ne.call(Ot)}function ca(Ot,Yt,ie){return Yt=Rr(Yt===void 0?Ot.length-1:Yt,0),function(){for(var ye=arguments,Te=-1,Fe=Rr(ye.length-Yt,0),De=Array(Fe);++Te<Fe;)De[Te]=ye[Yt+Te];Te=-1;for(var ve=Array(Yt+1);++Te<Yt;)ve[Te]=ye[Te];return ve[Yt]=ie(De),Xt(Ot,this,ve)}}function Ps(Ot,Yt){if(!(Yt==="constructor"&&typeof Ot[Yt]=="function")&&Yt!="__proto__")return Ot[Yt]}var Ra=ps(hs);function ps(Ot){var Yt=0,ie=0;return function(){var ye=qr(),Te=a-(ye-ie);if(ie=ye,Te>0){if(++Yt>=s)return arguments[0]}else Yt=0;return Ot.apply(void 0,arguments)}}function yr(Ot){if(Ot!=null){try{return re.call(Ot)}catch{}try{return Ot+""}catch{}}return ""}function Ur(Ot,Yt){return Ot===Yt||Ot!==Ot&&Yt!==Yt}var Ar=ei(function(){return arguments}())?ei:function(Ot){return vr(Ot)&&Nt.call(Ot,"callee")&&!Vr.call(Ot,"callee")},fs=Array.isArray;function Os(Ot){return Ot!=null&&Li(Ot.length)&&!cs(Ot)}function Bs(Ot){return vr(Ot)&&Os(Ot)}var Cr=Js||za;function cs(Ot){if(!Tr(Ot))return !1;var Yt=ni(Ot);return Yt==S||Yt==d||Yt==c||Yt==x}function Li(Ot){return typeof Ot=="number"&&Ot>-1&&Ot%1==0&&Ot<=o}function Tr(Ot){var Yt=typeof Ot;return Ot!=null&&(Yt=="object"||Yt=="function")}function vr(Ot){return Ot!=null&&typeof Ot=="object"}function nr(Ot){if(!vr(Ot)||ni(Ot)!=m)return !1;var Yt=Xi(Ot);if(Yt===null)return !0;var ie=Nt.call(Yt,"constructor")&&Yt.constructor;return typeof ie=="function"&&ie instanceof ie&&re.call(ie)==ke}var es=de?ze(de):Gi;function us(Ot){return Ne(Ot,zs(Ot))}function zs(Ot){return Os(Ot)?Xs(Ot,!0):mi(Ot)}var Oa=Rs(function(Ot,Yt,ie){rr(Ot,Yt,ie);});function Ba(Ot){return function(){return Ot}}function ua(Ot){return Ot}function za(){return !1}e.exports=Oa;}),Xu=ce(t=>{Object.defineProperty(t,"__esModule",{value:!0});var e="[",i="]",r="{",s="}",a=":",o=",",p="true",h="false",c="null",_='"',v=new Map([["t",p],["f",h],["n",c]]),u=new Map([[_,_],["\\","\\"],["/","/"],["b","\b"],["n",`
`],["f","\f"],["r","\r"],["t"," "]]),S=new Map([[e,"Punctuator"],[i,"Punctuator"],[r,"Punctuator"],[s,"Punctuator"],[a,"Punctuator"],[o,"Punctuator"],[p,"Boolean"],[h,"Boolean"],[c,"Null"]]),d=class extends Error{constructor(Gt,{line:se,column:he,index:le}){super(`${Gt} (${se}:${he})`),this.line=se,this.column=he,this.index=le;}},g=class extends d{constructor(Gt,se){super(`Unexpected character ${Gt} found.`,se);}},A=class extends d{constructor(Gt){super(`Unexpected token ${Gt.type}(${Gt.value}) found.`,Gt.loc.start);}},y=class extends d{constructor(Gt){super("Unexpected end of input found.",Gt);}},m='"',x="/",w="*",M={comments:!1,ranges:!1};function N(Gt){return /[\s\n]/.test(Gt)}function U(Gt){return Gt>="0"&&Gt<="9"}function Y(Gt){return U(Gt)||/[a-f]/i.test(Gt)}function dt(Gt){return Gt>="1"&&Gt<="9"}function xt(Gt){return /[tfn]/.test(Gt)}function vt(Gt){return U(Gt)||Gt==="."||Gt==="-"}function bt(Gt,se){se=Object.freeze({...M,...se});let he=-1,le=1,Se=0,Pe=!1,Jt=[];function de(re,Nt,ae,ne){let ke=ae.offset+Nt.length,$e=se.ranges?{range:[ae.offset,ke]}:void 0;return {type:re,value:Nt,loc:{start:ae,end:ne||{line:ae.line,column:ae.column+Nt.length,offset:ke}},...$e}}function Xt(){let re=Gt.charAt(++he);return Pe?(le++,Se=1,Pe=!1):Se++,re==="\r"?(Pe=!0,Gt.charAt(he+1)===`
`&&he++):re===`
`&&(Pe=!0),re}function Wt(){return {line:le,column:Se,offset:he}}function ze(re){let Nt=v.get(re);if(Gt.slice(he,he+Nt.length)===Nt)return he+=Nt.length-1,Se+=Nt.length-1,{value:Nt,c:Xt()};for(let ae=1;ae<Nt.length;ae++)Nt[ae]!==Gt.charAt(he+ae)&&Re(Xt());}function Ke(re){let Nt=re;for(re=Xt();re&&re!==m;){if(re==="\\")if(Nt+=re,re=Xt(),u.has(re))Nt+=re;else if(re==="u"){Nt+=re;for(let ae=0;ae<4;ae++)re=Xt(),Y(re)?Nt+=re:Re(re);}else Re(re);else Nt+=re;re=Xt();}return re||Oe(),Nt+=re,{value:Nt,c:Xt()}}function We(re){let Nt="";if(re==="-"&&(Nt+=re,re=Xt(),U(re)||Re(re)),re==="0")Nt+=re,re=Xt(),U(re)&&Re(re);else {dt(re)||Re(re);do Nt+=re,re=Xt();while(U(re))}if(re===".")do Nt+=re,re=Xt();while(U(re));if(re==="e"||re==="E")for(Nt+=re,re=Xt(),(re==="+"||re==="-")&&(Nt+=re,re=Xt());U(re);)Nt+=re,re=Xt();return {value:Nt,c:re}}function Le(re){let Nt=re;if(re=Xt(),re==="/"){do Nt+=re,re=Xt();while(re&&re!=="\r"&&re!==`
`);return {value:Nt,c:re}}if(re===w){for(;re;)if(Nt+=re,re=Xt(),re===w&&(Nt+=re,re=Xt(),re===x))return Nt+=re,re=Xt(),{value:Nt,c:re};Oe();}Re(re);}function Re(re){throw new g(re,Wt())}function Oe(){throw new y(Wt())}let be=Xt();for(;he<Gt.length;){for(;N(be);)be=Xt();if(!be)break;let re=Wt();if(S.has(be))Jt.push(de(S.get(be),be,re)),be=Xt();else if(xt(be)){let Nt=ze(be),ae=Nt.value;be=Nt.c,Jt.push(de(S.get(ae),ae,re));}else if(vt(be)){let Nt=We(be),ae=Nt.value;be=Nt.c,Jt.push(de("Number",ae,re));}else if(be===m){let Nt=Ke(be),ae=Nt.value;be=Nt.c,Jt.push(de("String",ae,re));}else if(be===x&&se.comments){let Nt=Le(be),ae=Nt.value;be=Nt.c,Jt.push(de(ae.startsWith("//")?"LineComment":"BlockComment",ae,re,Wt()));}else Re(be);}return Jt}var It={document(Gt,se={}){return {type:"Document",body:Gt,...se}},string(Gt,se={}){return {type:"String",value:Gt,...se}},number(Gt,se={}){return {type:"Number",value:Gt,...se}},boolean(Gt,se={}){return {type:"Boolean",value:Gt,...se}},null(Gt={}){return {type:"Null",value:"null",...Gt}},array(Gt,se={}){return {type:"Array",elements:Gt,...se}},object(Gt,se={}){return {type:"Object",members:Gt,...se}},member(Gt,se,he={}){return {type:"Member",name:Gt,value:se,...he}}},ot={tokens:!1,comments:!1,ranges:!1};function Tt(Gt){let se=Gt.value.slice(1,-1),he="",le=se.indexOf("\\"),Se=0;for(;le>=0;){he+=se.slice(Se,le);let Pe=se.charAt(le+1);if(u.has(Pe))he+=u.get(Pe),Se=le+2;else if(Pe==="u"){let Jt=se.slice(le+2,le+6);if(Jt.length<4||/[^0-9a-f]/i.test(Jt))throw new d(`Invalid unicode escape \\u${Jt}.`,{line:Gt.loc.start.line,column:Gt.loc.start.column+le,offset:Gt.loc.start.offset+le});he+=String.fromCharCode(parseInt(Jt,16)),Se=le+6;}else throw new d(`Invalid escape \\${Pe}.`,{line:Gt.loc.start.line,column:Gt.loc.start.column+le,offset:Gt.loc.start.offset+le});le=se.indexOf("\\",Se);}return he+=se.slice(Se),he}function z(Gt){switch(Gt.type){case"Boolean":return Gt.value==="true";case"Number":return Number(Gt.value);case"Null":return null;case"String":return Tt(Gt)}}function $(Gt,se){se=Object.freeze({...ot,...se});let he=bt(Gt,{comments:!!se.comments,ranges:!!se.ranges}),le=0;function Se(){return he[le++]}function Pe(){let Nt=he[le++];return Nt&&Nt.type.endsWith("Comment")?Pe():Nt}let Jt=se.comments?Pe:Se;function de(Nt,ae){if(!Nt||Nt.value!==ae)throw new A(Nt)}function Xt(Nt,ae){if(!Nt||Nt.type!==ae)throw new A(Nt)}function Wt(Nt,ae){return se.ranges?{range:[Nt.offset,ae.offset]}:void 0}function ze(Nt){let ae=Wt(Nt.loc.start,Nt.loc.end);return {type:Nt.type,value:z(Nt),loc:{start:{...Nt.loc.start},end:{...Nt.loc.end}},...ae}}function Ke(Nt){Xt(Nt,"String");let ae=ze(Nt);Nt=Jt(),de(Nt,":");let ne=Re(),ke=Wt(ae.loc.start,ne.loc.end);return It.member(ae,ne,{loc:{start:{...ae.loc.start},end:{...ne.loc.end}},...ke})}function We(Nt){de(Nt,"{");let ae=[],ne=Jt();if(ne&&ne.value!=="}")do if(ae.push(Ke(ne)),ne=Jt(),ne.value===",")ne=Jt();else break;while(ne);de(ne,"}");let ke=Wt(Nt.loc.start,ne.loc.end);return It.object(ae,{loc:{start:{...Nt.loc.start},end:{...ne.loc.end}},...ke})}function Le(Nt){de(Nt,"[");let ae=[],ne=Jt();if(ne&&ne.value!=="]")do if(ae.push(Re(ne)),ne=Jt(),ne.value===",")ne=Jt();else break;while(ne);de(ne,"]");let ke=Wt(Nt.loc.start,ne.loc.end);return It.array(ae,{type:"Array",elements:ae,loc:{start:{...Nt.loc.start},end:{...ne.loc.end}},...ke})}function Re(Nt){switch(Nt=Nt||Jt(),Nt.type){case"String":case"Boolean":case"Number":case"Null":return ze(Nt);case"Punctuator":if(Nt.value==="{")return We(Nt);if(Nt.value==="[")return Le(Nt);default:throw new A(Nt)}}let Oe=Re(),be=Jt();if(be)throw new A(be);let re={loc:{start:{line:1,column:1,offset:0},end:{...Oe.loc.end}}};return se.tokens&&(re.tokens=he),se.ranges&&(re.range=Wt(re.loc.start,re.loc.end)),It.document(Oe,re)}var E=new Map([["Document",["body"]],["Object",["members"]],["Member",["name","value"]],["Array",["elements"]],["String",[]],["Number",[]],["Boolean",[]],["Null",[]]]);function q(Gt){return Gt&&typeof Gt=="object"}function nt(Gt){return q(Gt)&&typeof Gt.type=="string"}function Q(Gt,se){function he(le,Se){typeof se.enter=="function"&&se.enter(le,Se);for(let Pe of E.get(le.type)){let Jt=le[Pe];q(Jt)&&(Array.isArray(Jt)?Jt.forEach(de=>he(de,le)):nt(Jt)&&he(Jt,le));}typeof se.exit=="function"&&se.exit(le,Se);}he(Gt);}function Ut(Gt,se=()=>!0){let he=[];return Q(Gt,{enter(le,Se){he.push({node:le,parent:Se,phase:"enter"});},exit(le,Se){he.push({node:le,parent:Se,phase:"exit"});}}),he.filter(se).values()}function zt(Gt){switch(Gt.type){case"String":case"Number":case"Boolean":return Gt.value;case"Null":return null;case"Array":return Gt.elements.map(zt);case"Object":{let se={};return Gt.members.forEach(he=>{se[zt(he.name)]=zt(he.value);}),se}case"Document":return zt(Gt.body);case"Property":throw new Error("Cannot evaluate object property outside of an object.");default:throw new Error(`Unknown node type ${Gt.type}.`)}}function qt(Gt,{indent:se=0}={}){let he=zt(Gt);return JSON.stringify(he,null,se)}t.evaluate=zt,t.iterator=Ut,t.parse=$,t.print=qt,t.tokenize=bt,t.traverse=Q,t.types=It;}),_p=ce((t,e)=>{e.exports=function(i){return i!=null&&i.constructor!=null&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i)};}),Yu=ce((t,e)=>{var i=Object.prototype.hasOwnProperty,r=Object.prototype.toString,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=function(_){return typeof Array.isArray=="function"?Array.isArray(_):r.call(_)==="[object Array]"},p=function(_){if(!_||r.call(_)!=="[object Object]")return !1;var v=i.call(_,"constructor"),u=_.constructor&&_.constructor.prototype&&i.call(_.constructor.prototype,"isPrototypeOf");if(_.constructor&&!v&&!u)return !1;var S;for(S in _);return typeof S>"u"||i.call(_,S)},h=function(_,v){s&&v.name==="__proto__"?s(_,v.name,{enumerable:!0,configurable:!0,value:v.newValue,writable:!0}):_[v.name]=v.newValue;},c=function(_,v){if(v==="__proto__")if(i.call(_,v)){if(a)return a(_,v).value}else return;return _[v]};e.exports=function _(){var v,u,S,d,g,A,y=arguments[0],m=1,x=arguments.length,w=!1;for(typeof y=="boolean"&&(w=y,y=arguments[1]||{},m=2),(y==null||typeof y!="object"&&typeof y!="function")&&(y={});m<x;++m)if(v=arguments[m],v!=null)for(u in v)S=c(y,u),d=c(v,u),y!==d&&(w&&d&&(p(d)||(g=o(d)))?(g?(g=!1,A=S&&o(S)?S:[]):A=S&&p(S)?S:{},h(y,{name:u,newValue:_(w,A,d)})):typeof d<"u"&&h(y,{name:u,newValue:d}));return y};}),Zu=Ds(xp(),1),rp=Ds(Xu(),1),Pp={custom:"custom",string:{assetImageType:"asset-image-type",assetType:"asset-type",author:"author",character:"character",cssClass:"css-class",description:"description",expression:"expression",filename:"filename",fontCssClass:"font-css-class",fontFamily:"font-family",fontName:"font-name",fontPath:"font-path",fontStyle:"font-style",fontWeight:"font-weight",generator:"generator",hexColor:"hex-color",id:"id",idDataSource:"data-source-id",idImage:"image-id",idLayerXml:"layer-xml-id",idReference:"reference-id",idSound:"sound-id",keyword:"keyword",layerXmlTagName:"layer-xml-tag-name",markerComment:"marker-comment",maskMode:"mask-mode",matchName:"match-name",name:"name",path:"path",referenceId:"reference-id",shapeType:"shape-type",strokeDashType:"stroke-dash-type",text:"text",themeColor:"theme-color",version:"version"},number:{adaptiveSampleLimit:"adaptive-sample-limit",ascent:"ascent",basedOn:"based-on",baselineShift:"baseline-shift",blendMode:"blend-mode",composite:"composite",compositionIndex:"composition-index",count:"count",dataSourceType:"data-source-type",effectListIndex:"effect-list-index",effectParametersIndex:"effect-parameters-index",effectType:"effect-type",effectValueType:"effect-value-type",expressionPropertyIndex:"expression-property-index",fillRuleValue:"fill-rule-value",fontSize:"font-size",framerate:"framerate",gradientType:"gradient-type",height:"height",inPoint:"in-point",layerStyleType:"layer-style-type",layerType:"layer-type",length:"length",lineCapType:"line-cap-type",lineHeight:"line-height",lineJoin:"line-join",lineJoinType:"line-join-type",markerDuration:"marker-duration",markerTime:"marker-time",matteMode:"matte-mode",matteTarget:"matte-target",mergeMode:"merge-mode",miterLimitValue:"miter-limit-value",multiple:"multiple",numberOfProperties:"number-of-properties",outPoint:"out-point",parentIndex:"parent-index",propertyIndex:"property-index",rangeUnits:"range-units",samplesPerFrame:"samples-per-frame",shapeDirection:"shape-direction",shapePathIndex:"shape-path-index",shapePolygonStarType:"shape-polygon-star-type",shutterAngle:"shutter-angle",shutterPhase:"shutter-phase",staticValue:"static-value",textMask:"text-mask",textRangeSelectorMode:"text-range-selector-mode",textTracking:"text-tracking",textType:"text-type",textTypeCaps:"text-type-caps",textTypeGrouping:"text-type-grouping",textTypeJustify:"text-type-justify",textTypeShape:"text-type-shape",textTypeVerticalJustify:"text-type-vertical-justify",time:"time",timeStart:"start-time",timeStretch:"time-stretch",value:"value",width:"width"},intBoolean:{animated:"animated",autoOrient:"auto-orient",embedded:"embedded",enabled:"enabled",expressible:"expressible",extraComposition:"extra-composition",hold:"hold",randomize:"randomize",threedimensional:"threedimensional",xAxisValue:"x-axis-value",yAxisValue:"y-axis-value"},boolean:{closed:"closed",collapseTransform:"collapse-transform",hasMask:"has-mask",hidden:"hidden",inverted:"inverted",motionBlurEnabled:"motion-blur-enabled",splitEnabled:"split-enabled",strokeOverFill:"stroke-over-fill"},object:{animatedColor:"animated-color",animatedColorStatic:"animated-color-static",animatedMultidimensional:"animated-multidimensional",animatedMultidimensionalStatic:"animated-multidimensional-static",animatedPosition:"animated-position",animatedPositionStatic:"animated-position-static",animatedShape:"animated-shape",animatedShapeStatic:"animated-shape-static",animatedValue:"animated-value",animatedValueStatic:"animated-value-static",animation:"animation",assetDataSource:"asset-data-source",assetImage:"asset-image",assetPrecomposition:"asset-precomposition",bezier:"bezier",characterData:"character-data",characterPrecomp:"character-precomp",characterShapes:"character-shapes",effect:"effect",effectCustom:"effect-custom",effectDisplacementMap:"effect-displacement-map",effectDropShadow:"effect-drop-shadow",effectFill:"effect-fill",effectGaussianBlur:"effect-gaussian-blur",effectMatte3:"effect-matte3",effectMeshWarp:"effect-mesh-warp",effectPaintOverTransparent:"effect-paint-over-transparent",effectProLevels:"effect-pro-levels",effectPuppet:"effect-puppet",effectRadialWipe:"effect-radial-wipe",effectSpherize:"effect-spherize",effectStroke:"effect-stroke",effectTint:"effect-tint",effectTritone:"effect-tritone",effectValueAngle:"effect-value-angle",effectValueCheckbox:"effect-value-checkbox",effectValueColor:"effect-value-color",effectValueDropdown:"effect-value-dropdown",effectValueIgnored:"effect-value-ignored",effectValueLayer:"effect-value-layer",effectValueNoValue:"effect-value-no-value",effectValuePoint:"effect-value-point",effectValueSlider:"effect-value-slider",effectWavy:"effect-wavy",endOpacity:"end-opacity",gradientOverlay:"gradient-overlay",keyframe:"keyframe",keyframeBezierHandle:"keyframe-bezier-handle",layerAdjustment:"layer-adjustment",layerAudio:"layer-audio",layerCamera:"layer-camera",layerData:"layer-data",layerGuide:"layer-guide",layerImage:"layer-image",layerImagePlaceholder:"layer-image-placeholder",layerImageSequence:"layer-image-sequence",layerLight:"layer-light",layerNull:"layer-null",layerPrecomposition:"layer-precomposition",layerShape:"layer-shape",layerSolidColor:"layer-solid-color",layerStyleBevelEmboss:"layer-style-bevel-emboss",layerStyleChokeSpread:"layer-style-choke-spread",layerStyleColorOverlay:"layer-style-color-overlay",layerStyleDropShadow:"layer-style-drop-shadow",layerStyleGradientOverlay:"layer-style-gradient-overlay",layerStyleInnerGlow:"layer-style-inner-glow",layerStyleInnerShadow:"layer-style-inner-shadow",layerStyleOuterGlow:"layer-style-outer-glow",layerStyleSatin:"layer-style-satin",layerStyleStroke:"layer-style-stroke",layerText:"layer-text",layerVideo:"layer-video",layerVideoPlaceholder:"layer-video-placeholder",marker:"marker",mask:"mask",positionKeyframe:"position-keyframe",shapeEllipse:"shape-ellipse",shapeFill:"shape-fill",shapeGradientFill:"shape-gradient-fill",shapeGradientStroke:"shape-gradient-stroke",shapeGroup:"shape-group",shapeKeyframe:"shape-keyframe",shapeMerge:"shape-merge",shapeOffsetPath:"shape-offset-path",shapePath:"shape-path",shapePolygon:"shape-polygon",shapePolyStar:"shape-poly-star",shapePuckerBloat:"shape-pucker-bloat",shapeRectangle:"shape-rectangle",shapeRepeater:"shape-repeater",shapeRoundedCorners:"shape-rounded-corners",shapeStar:"shape-star",shapeStroke:"shape-stroke",shapeTransform:"shape-transform",shapeTrim:"shape-trim",shapeTwist:"shape-twist",shapeZigZags:"shape-zig-zag",splitVector:"split-vector",strokeDashDefault:"stroke-dash-default",strokeDashGap:"stroke-dash-gap",strokeDashLength:"stroke-dash-length",strokeDashOffset:"stroke-dash-offset",textFont:"text-font",textRange:"text-range",textDocumentKeyframe:"text-document-keyframe"},array:{outTangentsValue:"out-tangents-value"},collection:{assets:"assets",composition:"composition",effectList:"effect-list",effectParameters:"effect-parameters",extraCompositions:"extra-compositions",inTangents:"in-tangents",keyframeEndValue:"keyframe-end-value",keyframeList:"keyframe-list",keyframeValue:"keyframe-value",keywords:"keywords",layerStyle:"layer-style",layerStyleList:"layer-style-list",markers:"markers",masksProperties:"masks-properties",outTangents:"out-tangents",positionKeyframeList:"position-keyframe-list",shapeKeyframeList:"shape-keyframe-list",shapeKeyframeStart:"shape-keyframe-start",shapeList:"shape-list",staticValues:"static-values",strokeDashList:"stroke-dash-list",textRanges:"text-ranges",textCharacters:"text-characters",textDocumentKeyframes:"text-document-keyframes",textFontList:"text-font-list",valueInTangent:"value-in-tangent",valueOutTangent:"value-out-tangent",vertices:"vertices",xAxis:"x-axis",yAxis:"y-axis",colorRgba:"color-rgba",documentFillColor:"document-fill-color",documentStrokeColor:"document-stroke-color",wrapPosition:"wrap-position",wrapSize:"wrap-size"},element:{align:"align",altitude:"altitude",amount:"amount",anchorPoint:"anchor-point",angle:"angle",animatedColorProp:"animated-color-prop",animatedGradientColors:"animated-gradient-colors",animatedMultidimensionalProp:"animated-multidimensional-prop",animatedPositionProp:"animated-position-prop",animatedShapeBezier:"animated-shape-bezier",animatedShapeProp:"animated-shape-prop",animatedValueProp:"animated-value-prop",bevelStyle:"bevel-style",blur:"blur",blurSize:"blur-size",center:"center",chokeSpread:"choke-spread",copies:"copies",dilate:"dilate",distance:"distance",effectValueAngleValue:"effect-value-angle-value",effectValueCheckboxValue:"effect-value-checkbox-value",effectValueColorValue:"effect-value-color-value",effectValueDropdownValue:"effect-value-dropdown-value",effectValueIgnoredValue:"effect-value-ignored-value",effectValueLayerValue:"effect-value-layer-value",effectValuePointValue:"effect-value-point-value",effectValueSliderValue:"effect-value-slider-value",endPoint:"end-point",fillBrightness:"fill-brightness",fillColor:"fill-color",fillHue:"fill-hue",fillOpacity:"fill-opacity",fillRule:"fill-rule",fillSaturation:"fill-saturation",firstMargin:"first-margin",forceAlignment:"force-alignment",globalAngle:"global-angle",gradientOverlayScale:"gradient-overlay-scale",highlightAngle:"highlight-angle",highlightColor:"highlight-color",highlightLength:"highlight-length",highlightMode:"highlight-mode",highlightOpacity:"highlight-opacity",innerRadius:"inner-radius",innerRoundness:"inner-roundness",invert:"invert",inTangent:"in-tangent",jitter:"jitter",lastMargin:"last-margin",layerAudioSettings:"layer-audio-settings",layerConceal:"layer-conceal",layerStyleBlendMode:"layer-style-blend-mode",layerStyleColor:"layer-style-color",layerTransform:"layer-transform",level:"level",lineSpacing:"line-spacing",maskOpacity:"mask-opacity",maskVertices:"mask-vertices",maxAmount:"max-amount",maxEase:"max-ease",metadata:"metadata",minEase:"min-ease",miterLimit:"miter-limit",miterLimitAlternative:"miter-limit-alternative",motionBlur:"motion-blur",noise:"noise",offset:"offset",opacity:"opacity",orientation:"orientation",outerRadius:"outer-radius",outerRoundness:"outer-roundness",outTangent:"out-tangent",perpendicularToPath:"perpendicular-to-path",perspective:"perspective",points:"points",polygonRotationClockwise:"polygon-rotation-clockwise",radius:"radius",range:"range",reverse:"reverse",reversePath:"reverse-path",rotationClockwise:"rotation-clockwise",rotationX:"rotation-x",rotationY:"rotation-y",rotationZ:"rotation-z",rounded:"rounded",roundness:"roundness",scale:"scale",selectorSmoothness:"selector-smoothness",shadowColor:"shadow-color",shadowMode:"shadow-mode",shadowOpacity:"shadow-opacity",shape:"shape",shapeEllipseSize:"shape-ellipse-size",shapeFillColor:"shape-fill-color",shapeStrokeColor:"shape-stroke-color",shapeTrimEnd:"shape-trim-end",shapeTrimStart:"shape-trim-start",shapeZigZagSize:"shape-zig-zag-size",size:"size",skew:"skew",skewAxis:"skew-axis",smoothness:"smoothness",soften:"soften",source:"source",splitX:"split-x",splitY:"split-y",splitZ:"split-z",startOpacity:"start-opacity",startPoint:"start-point",strength:"strength",strokeBrightness:"stroke-brightness",strokeColor:"stroke-color",strokeHue:"stroke-hue",strokeLength:"stroke-length",strokeOpacity:"stroke-opacity",strokeSaturation:"stroke-saturation",strokeWidth:"stroke-width",technique:"technique",textAnimatorData:"text-animator-data",textCharacterData:"text-character-data",textData:"text-data",textStyle:"text-style",textAnimatedDocument:"text-animated-document",textDocument:"text-document",textFonts:"text-fonts",textGroupAlignment:"text-group-alignment",textFollowPath:"text-follow-path",textAlignmentOptions:"text-alignment-options",textSelector:"text-selector",textSelectorEnd:"text-selector-end",textSelectorStart:"text-selector-start",timeRemapping:"time-remapping",letterSpacing:"letter-spacing",transformOpacity:"transform-opacity",transformRepeater:"transform-repeater",translation:"translation",userMetadata:"user-metadata"}},Pa=function(t,e,i){var r={type:String(t)};return i==null&&(typeof e=="string"||Array.isArray(e))?i=e:Object.assign(r,e),Array.isArray(i)?r.children=i:i!=null&&(r.value=String(i)),r};Qu=(t,e)=>Pa("primitive",{value:Ku(t),...e}),td=(t,e)=>Pa("key",{...e},t),sp=(t,e,i)=>Pa("object",{title:t,...i},[...co(e)]),ap=(t,e,i)=>Pa("array",{title:t,...i},[...co(e)]),ed=(t,e,i,r)=>Pa("attribute",{key:t,title:e,...r},uo(i)),id=(t,e,i,r)=>Pa("element",{key:t,title:e,...r},uo(i)),rd=(t,e,i,r)=>Pa("collection",{key:t,title:e,...r},uo(i)),sd=(t,e)=>Pa("root",{title:Pp.object.animation,hasExpressions:!1,...e},[...co(t)]),ad=Ds(xp(),1),nn=function t(e,i,r,s,a){let o=Sp(i);if(r!=null&&(typeof r!="number"||r<0||r===Number.POSITIVE_INFINITY))throw new Error("Expected positive finite index");if(s!=null&&(!t(s)||!s.children))throw new Error("Expected parent node");if(s==null!=(r==null))throw new Error("Expected both parent and index");return e&&e.type&&typeof e.type=="string"?!!o.call(a,e,r,s):!1},Sp=function(t){if(t==null)return ld;if(typeof t=="string")return hd(t);if(typeof t=="object")return Array.isArray(t)?nd(t):od(t);if(typeof t=="function")return mo(t);throw new Error("Expected function, string, or object as test")};pd=Object.defineProperty,fd=(t,e,i)=>e in t?pd(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,np=(t,e,i)=>(fd(t,typeof e!="symbol"?e+"":e,i),i),{boolean:Mi,collection:Qt,custom:Cn,element:ft,intBoolean:qe,number:ee,object:pt,string:oe}=Pp,Tn=(t,e)=>({defaultTitle:`${t}-static`,dependents:[{key:"k",type:"Array",title:e,childType:"Object",parentTitle:t},{key:"a",type:"Constant",title:qe.animated,parentTitle:{defaultValue:0,values:{0:`${t}-static`,1:t}}}]}),fe={...Tn(pt.animatedValue,Qt.keyframeList)},vh={...Tn(pt.animatedShape,Qt.shapeKeyframeList)},op={...Tn(pt.animatedPosition,Qt.positionKeyframeList)},_a={...Tn(pt.animatedColor,Qt.keyframeList)},gs={...Tn(pt.animatedMultidimensional,Qt.keyframeList)},kp={[Qt.composition]:{defaultTitle:pt.layerPrecomposition,dependents:[{key:"ty",type:"Constant",title:ee.layerType,parentTitle:{prefix:"layer",defaultValue:0,values:{0:"precomposition",1:"solid-color",2:"image",3:"null",4:"shape",5:"text",6:"audio",7:"video-placeholder",8:"image-sequence",9:"video",10:"image-placeholder",11:"guide",12:"adjustment",13:"camera",14:"light",15:"data"}}}]},[Qt.shapeList]:{defaultTitle:pt.shapeRectangle,dependents:[{key:"ty",type:"Constant",title:oe.shapeType,parentTitle:{prefix:"shape",defaultValue:"rc",values:{rc:"rectangle",el:"ellipse",sr:"star",sh:"path",fl:"fill",st:"stroke",gf:"gradient-fill",gs:"gradient-stroke",gr:"group",tr:"transform",rd:"rounded-corners",pb:"pucker-bloat",mm:"merge",tw:"twist",op:"offset-path",zz:"zig-zag","":"modifier",rp:"repeater",tm:"trim"}}},{key:"sy",type:"Constant",title:ee.shapePolygonStarType,parentTitle:{prefix:"shape",defaultValue:1,values:{1:"star",2:"polygon"}}}]},assets:{defaultTitle:pt.assetPrecomposition,dependents:[{key:"w",type:"Number",title:ee.width,parentTitle:pt.assetImage},{key:"h",type:"Number",title:ee.height,parentTitle:pt.assetImage},{key:"t",type:"Constant",title:oe.assetType,parentTitle:{prefix:"asset",defaultValue:"seq",values:{seq:"image",3:"data-source"}}},{key:"layers",type:"Array",title:Qt.composition,parentTitle:pt.assetPrecomposition},{key:"mn",type:"String",title:oe.matchName,parentTitle:pt.assetPrecomposition},{key:"fr",type:"Number",title:ee.framerate,parentTitle:pt.assetPrecomposition},{key:"xt",type:"Number",title:qe.extraComposition,parentTitle:pt.assetPrecomposition}]},[Qt.effectList]:{defaultTitle:pt.effectCustom,dependents:[{key:"ty",type:"Constant",title:ee.effectType,parentTitle:{prefix:"effect",defaultValue:5,values:{25:"drop-shadow",21:"fill",29:"gaussian-blur",28:"matte3",24:"pro-levels",22:"stroke",20:"tint",23:"tritone",26:"radial-wipe",32:"wavy",34:"puppet",33:"spherize",7:"paint-over-transparent",31:"mesh-warp",27:"displacement-map",5:"custom"}}}]},[Qt.effectParameters]:{defaultTitle:pt.effectValueSlider,dependents:[{key:"ty",type:"Constant",title:ee.effectValueType,parentTitle:{defaultValue:0,prefix:"effect-value",values:{4:"checkbox",2:"color",7:"dropdown",6:"ignored",10:"layer",3:"point",0:"slider",1:"angle"}}}]},[Qt.layerStyleList]:{defaultTitle:pt.layerStyleStroke,dependents:[{key:"ty",type:"Constant",title:ee.layerStyleType,parentTitle:{prefix:Qt.layerStyle,defaultValue:0,values:{0:"stroke",1:"drop-shadow",2:"inner-shadow",3:"outer-glow",4:"inner-glow",5:"bevel-emboss",6:"satin",7:"color-overlay",8:"gradient-overlay"}}}]},[ft.animatedPositionProp]:{...op},[ft.animatedShapeProp]:{...vh},[ft.animatedShapeBezier]:{defaultTitle:pt.bezier},[ft.animatedColorProp]:{..._a},[ft.animatedMultidimensionalProp]:{...gs},[ft.anchorPoint]:{...op},[Qt.keyframeList]:{defaultTitle:pt.keyframe},[Qt.keyframeValue]:{defaultTitle:pt.bezier},[Qt.keyframeEndValue]:{defaultTitle:pt.bezier},[Qt.positionKeyframeList]:{defaultTitle:pt.positionKeyframe},[ft.inTangent]:{defaultTitle:pt.keyframeBezierHandle},[ft.outTangent]:{defaultTitle:pt.keyframeBezierHandle},[ft.translation]:{defaultTitle:pt.animatedPositionStatic,dependents:[{key:"k",type:"Array",title:Qt.positionKeyframeList,childType:"Object",parentTitle:pt.animatedPosition},{key:"a",type:"Constant",title:qe.animated,parentTitle:{defaultValue:0,values:{0:pt.animatedPositionStatic,1:pt.animatedPosition}}},{key:"s",type:"Boolean",title:Mi.splitEnabled,parentTitle:pt.splitVector},{key:"x",type:"Object",title:ft.animatedValueProp,parentTitle:pt.splitVector},{key:"y",type:"Object",title:ft.animatedValueProp,parentTitle:pt.splitVector},{key:"z",type:"Object",title:ft.animatedValueProp,parentTitle:pt.splitVector}]},[ft.scale]:{...gs},[ft.rotationClockwise]:{...fe},[ft.polygonRotationClockwise]:{...fe},[ft.rotationX]:{...fe},[ft.rotationY]:{...fe},[ft.rotationZ]:{...fe},[ft.skew]:{...fe},[ft.skewAxis]:{...fe},[ft.orientation]:{...gs},[ft.size]:{...gs},[ft.rounded]:{...fe},[ft.level]:{...gs},[ft.shapeEllipseSize]:{...gs},[ft.startPoint]:{...gs},[ft.endPoint]:{...gs},[ft.splitX]:{...fe},[ft.splitY]:{...fe},[ft.splitZ]:{...fe},[ft.effectValueAngleValue]:{...fe},[ft.effectValueCheckboxValue]:{...fe},[ft.effectValueColorValue]:{..._a},[ft.effectValueDropdownValue]:{...fe},[ft.effectValueLayerValue]:{...fe},[ft.effectValuePointValue]:{...gs},[ft.effectValueSliderValue]:{...fe},[ft.opacity]:{...fe},[ft.transformOpacity]:{...fe},[ft.maskOpacity]:{...fe},[ft.timeRemapping]:{...fe},[ft.dilate]:{...fe},[ft.perspective]:{...fe},[ft.highlightLength]:{...fe},[ft.highlightAngle]:{...fe},[pt.strokeDashDefault]:{...fe},[ft.miterLimitAlternative]:{...fe},[ft.strokeWidth]:{...fe},[ft.outerRadius]:{...fe},[ft.outerRoundness]:{...fe},[ft.points]:{...fe},[ft.innerRadius]:{...fe},[ft.innerRoundness]:{...fe},[ft.amount]:{...fe},[ft.copies]:{...fe},[ft.offset]:{...fe},[ft.radius]:{...fe},[Qt.shapeKeyframeList]:{defaultTitle:pt.shapeKeyframe},[Qt.shapeKeyframeStart]:{defaultTitle:pt.bezier},[pt.animatedShapeStatic]:{defaultTitle:pt.bezier},[ft.shapeTrimStart]:{...fe},[ft.shapeTrimEnd]:{...fe},[ft.angle]:{...fe},[ft.miterLimit]:{...fe},[ft.roundness]:{...fe},[ft.shapeZigZagSize]:{...fe},[pt.layerStyleChokeSpread]:{...fe},[ft.chokeSpread]:{...fe},[ft.layerStyleBlendMode]:{...fe},[ft.blurSize]:{...fe},[ft.noise]:{...fe},[ft.distance]:{...fe},[ft.layerStyleColor]:{..._a},[ft.layerConceal]:{...fe},[ft.range]:{...fe},[ft.jitter]:{...fe},[ft.source]:{...fe},[ft.strength]:{...fe},[ft.bevelStyle]:{...fe},[ft.technique]:{...fe},[ft.soften]:{...fe},[ft.globalAngle]:{...fe},[ft.altitude]:{...fe},[ft.highlightMode]:{...fe},[ft.highlightColor]:{...fe},[ft.highlightOpacity]:{...fe},[ft.shadowMode]:{...fe},[ft.shadowColor]:{..._a},[ft.shadowOpacity]:{...fe},[ft.invert]:{...fe},[ft.smoothness]:{...fe},[ft.reverse]:{...fe},[ft.align]:{...fe},[pt.gradientOverlay]:{...fe},[ft.firstMargin]:{...fe},[ft.lastMargin]:{...fe},[ft.reversePath]:{...fe},[ft.forceAlignment]:{...fe},[ft.perpendicularToPath]:{...fe},[ft.strokeWidth]:{...fe},[ft.strokeHue]:{...fe},[ft.strokeSaturation]:{...fe},[ft.strokeBrightness]:{...fe},[ft.strokeOpacity]:{...fe},[ft.strokeHue]:{...fe},[ft.fillColor]:{..._a},[ft.fillHue]:{...fe},[ft.fillSaturation]:{...fe},[ft.fillOpacity]:{...fe},[ft.fillBrightness]:{...fe},[ft.letterSpacing]:{...fe},[ft.blur]:{...fe},[ft.lineSpacing]:{...fe},[ft.minEase]:{...fe},[ft.maxEase]:{...fe},[ft.maxAmount]:{...fe},[ft.textSelectorStart]:{...fe},[ft.textSelectorEnd]:{...fe},[ft.shape]:{...vh},[ft.maskVertices]:{...vh},[ft.shapeFillColor]:{..._a},[ft.shapeStrokeColor]:{...gs},[Qt.documentStrokeColor]:{..._a},[Qt.documentFillColor]:{..._a},[ft.center]:{...gs},[ft.textGroupAlignment]:{...gs},[Qt.masksProperties]:{defaultTitle:pt.mask},[Qt.textFontList]:{defaultTitle:pt.textFont},[ft.startOpacity]:{...fe},[pt.endOpacity]:{...fe},[Qt.strokeDashList]:{defaultTitle:pt.strokeDashDefault,dependents:[{key:"n",type:"Constant",title:oe.strokeDashType,parentTitle:{prefix:"stroke-dash",defaultValue:"d",values:{d:"default",g:"gap",o:"offset"}}}]},[ft.strokeLength]:{...fe},[Qt.markers]:{defaultTitle:pt.marker},[ft.textCharacterData]:{defaultTitle:pt.characterShapes,dependents:[{key:"shapes",type:"Array",title:Qt.shapeList,parentTitle:pt.characterShapes},{key:"refId",type:"String",title:oe.referenceId,parentTitle:pt.characterPrecomp},{key:"ks",type:"Object",title:ft.layerTransform,parentTitle:pt.characterPrecomp},{key:"ip",type:"Number",title:ee.inPoint,parentTitle:pt.characterPrecomp},{key:"op",type:"Number",title:ee.outPoint,parentTitle:pt.characterPrecomp},{key:"sr",type:"Number",title:ee.timeStretch,parentTitle:pt.characterPrecomp},{key:"st",type:"Number",title:ee.timeStart,parentTitle:pt.characterPrecomp}]},[Qt.textDocumentKeyframes]:{defaultTitle:pt.textDocumentKeyframe},[Qt.textRanges]:{defaultTitle:pt.textRange}},Je=(t,e,i="ty")=>{let r=kp[t]?.dependents?.find(c=>c.key===i);if(r?.type!=="Constant")return {};let{prefix:s,values:a}=r.parentTitle,o=s?`${s}-`:"",p=Object.values(a),h={};for(let c of p)typeof c=="string"&&(h[o+c]=e);return h},cd={},wp=(t,e)=>{switch(t.type){case"Object":return kp[e]||{defaultTitle:e};case"Array":return cd[e]||{defaultTitle:e};default:throw new Error("The node.type has to be 'Array' or 'Object'")}},ud={required:{p:{[pt.assetImage]:oe.filename,[pt.assetPrecomposition]:oe.filename,[pt.assetDataSource]:oe.filename},sc:{[pt.layerSolidColor]:oe.hexColor},ch:{[Qt.textCharacters]:oe.character},fName:{[pt.textFont]:oe.fontName},fStyle:{[pt.textFont]:oe.fontStyle},style:{[Qt.textCharacters]:oe.fontStyle},fFamily:{[pt.textFont]:oe.fontFamily,[Qt.textCharacters]:oe.fontFamily},f:{[ft.textDocument]:oe.fontFamily},t:{[ft.textDocument]:oe.text}},known:{x:{[pt.animatedValue]:oe.expression,[pt.animatedValueStatic]:oe.expression,[pt.animatedShape]:oe.expression,[pt.animatedShapeStatic]:oe.expression,[pt.animatedPosition]:oe.expression,[pt.animatedPositionStatic]:oe.expression,[pt.animatedColor]:oe.expression,[pt.animatedColorStatic]:oe.expression,[pt.animatedMultidimensional]:oe.expression,[pt.animatedMultidimensionalStatic]:oe.expression,[ft.textAnimatedDocument]:oe.expression},v:{[pt.animation]:oe.version},cm:{[pt.marker]:oe.markerComment},a:{[ft.metadata]:oe.author},k:{[ft.metadata]:oe.keyword},d:{[ft.metadata]:oe.description},tc:{[ft.metadata]:oe.themeColor},g:{[ft.metadata]:oe.generator},id:{[pt.assetImage]:oe.id,[pt.assetPrecomposition]:oe.id,[pt.assetDataSource]:oe.id},refId:{[pt.layerAudio]:oe.idSound,[pt.layerPrecomposition]:oe.idReference,[pt.layerImage]:oe.idImage,[pt.layerData]:oe.idDataSource,[pt.characterPrecomp]:oe.idReference},u:{[pt.assetImage]:oe.path,[pt.assetPrecomposition]:oe.path,[pt.assetDataSource]:oe.path},nm:{[pt.animation]:oe.name,[pt.assetImage]:oe.name,[pt.assetPrecomposition]:oe.name,[pt.assetDataSource]:oe.name,[pt.textRange]:oe.name,[ft.transformRepeater]:oe.name,[pt.animatedValue]:oe.name,[pt.animatedValueStatic]:oe.name,[pt.animatedShape]:oe.name,[pt.animatedShapeStatic]:oe.name,[pt.animatedPosition]:oe.name,[pt.animatedPositionStatic]:oe.name,[pt.animatedColor]:oe.name,[pt.animatedColorStatic]:oe.name,[pt.animatedMultidimensional]:oe.name,[pt.animatedMultidimensionalStatic]:oe.name,...Je(Qt.effectParameters,oe.name),...Je(Qt.effectList,oe.name),[pt.mask]:oe.name,...Je(Qt.composition,oe.name),...Je(Qt.shapeList,oe.name),[pt.strokeDashDefault]:oe.name,[pt.strokeDashGap]:oe.name,[pt.strokeDashOffset]:oe.name,[pt.layerStyleBevelEmboss]:oe.name,[pt.layerStyleColorOverlay]:oe.name,[pt.layerStyleDropShadow]:oe.name,[pt.layerStyleGradientOverlay]:oe.name,[pt.layerStyleInnerShadow]:oe.name,[pt.layerStyleOuterGlow]:oe.name,[pt.layerStyleSatin]:oe.name,[pt.layerStyleStroke]:oe.name,[ft.layerTransform]:oe.name},mn:{[pt.animation]:oe.matchName,[pt.animatedValue]:oe.matchName,[pt.animatedValueStatic]:oe.matchName,[pt.animatedShape]:oe.matchName,[pt.animatedShapeStatic]:oe.matchName,[pt.animatedPosition]:oe.matchName,[pt.animatedPositionStatic]:oe.matchName,[pt.animatedColor]:oe.matchName,[pt.animatedColorStatic]:oe.matchName,[pt.animatedMultidimensional]:oe.matchName,[pt.animatedMultidimensionalStatic]:oe.matchName,...Je(Qt.effectParameters,oe.matchName),...Je(Qt.effectList,oe.matchName),[pt.mask]:oe.matchName,...Je(Qt.composition,oe.matchName),...Je(Qt.shapeList,oe.matchName),[pt.strokeDashDefault]:oe.matchName,[pt.strokeDashGap]:oe.matchName,[pt.strokeDashOffset]:oe.matchName,[pt.layerStyleBevelEmboss]:oe.name,[pt.layerStyleColorOverlay]:oe.name,[pt.layerStyleDropShadow]:oe.name,[pt.layerStyleGradientOverlay]:oe.name,[pt.layerStyleInnerShadow]:oe.name,[pt.layerStyleOuterGlow]:oe.name,[pt.layerStyleSatin]:oe.name,[pt.layerStyleStroke]:oe.name,[ft.transformRepeater]:oe.matchName},ln:{...Je(Qt.composition,oe.idLayerXml),...Je(Qt.shapeList,oe.idLayerXml)},cl:{...Je(Qt.composition,oe.cssClass),...Je(Qt.shapeList,oe.cssClass)},fPath:{[pt.textFont]:oe.fontPath},fWeight:{[pt.textFont]:oe.fontWeight},fClass:{[pt.textFont]:oe.fontCssClass},tg:{...Je(Qt.composition,oe.layerXmlTagName)},t:{[pt.assetImage]:oe.assetImageType}}},dd={required:{ty:{...Je(Qt.composition,ee.layerType),...Je(Qt.shapeList,oe.shapeType)}},known:{mode:{[pt.mask]:oe.maskMode},n:{[pt.strokeDashDefault]:oe.strokeDashType,[pt.strokeDashGap]:oe.strokeDashType,[pt.strokeDashOffset]:oe.strokeDashType},t:{[pt.assetImage]:oe.assetImageType}}},md={required:{ip:{[pt.animation]:ee.inPoint,...Je(Qt.composition,ee.inPoint)},op:{[pt.animation]:ee.outPoint,...Je(Qt.composition,ee.outPoint),[pt.characterPrecomp]:ee.outPoint},p:{[ft.animatedGradientColors]:ee.count},k:{[pt.animatedValueStatic]:ee.staticValue,[pt.animatedMultidimensionalStatic]:ee.staticValue,[pt.animatedPositionStatic]:ee.staticValue,[pt.animatedValue]:ee.staticValue},w:{[pt.animation]:ee.width,[pt.assetImage]:ee.width,[pt.assetPrecomposition]:ee.width,[Qt.textCharacters]:ee.width,[pt.layerPrecomposition]:ee.width},sw:{[pt.layerSolidColor]:ee.width},h:{[pt.animation]:ee.height,[pt.assetImage]:ee.height,[pt.assetPrecomposition]:ee.height,[pt.layerPrecomposition]:ee.height},sh:{[pt.layerSolidColor]:ee.height},size:{[Qt.textCharacters]:ee.fontSize},ls:{[ft.textDocument]:ee.baselineShift},t:{[pt.keyframe]:ee.time,[Qt.keyframeList]:ee.time,[Qt.keyframeValue]:ee.time,[pt.positionKeyframe]:ee.time,[Qt.positionKeyframeList]:ee.time,[pt.keyframeBezierHandle]:ee.time,[pt.shapeKeyframe]:ee.time,[pt.textDocumentKeyframe]:ee.timeStart},s:{[ft.textDocument]:ee.fontSize}},known:{v:{[pt.effectValueIgnored]:ee.value},tm:{[pt.marker]:ee.markerTime},dr:{[pt.marker]:ee.markerDuration},sa:{[ft.motionBlur]:ee.shutterAngle},sp:{[ft.motionBlur]:ee.shutterPhase},spf:{[ft.motionBlur]:ee.samplesPerFrame},asl:{[ft.motionBlur]:ee.adaptiveSampleLimit},ix:{...Je(Qt.shapeList,ee.propertyIndex),...Je(Qt.effectList,ee.propertyIndex),...Je(Qt.effectParameters,ee.propertyIndex),[pt.animatedValue]:ee.propertyIndex,[pt.animatedValueStatic]:ee.propertyIndex,[pt.animatedShape]:ee.propertyIndex,[pt.animatedShapeStatic]:ee.propertyIndex,[pt.animatedPosition]:ee.propertyIndex,[pt.animatedPositionStatic]:ee.propertyIndex,[pt.animatedColor]:ee.propertyIndex,[pt.animatedColorStatic]:ee.propertyIndex,[pt.animatedMultidimensional]:ee.propertyIndex,[pt.animatedMultidimensionalStatic]:ee.propertyIndex},ind:{...Je(Qt.composition,ee.compositionIndex),[pt.shapePath]:ee.shapePathIndex,...Je(Qt.effectParameters,ee.effectParametersIndex),...Je(Qt.effectList,ee.effectListIndex)},cix:{...Je(Qt.shapeList,ee.expressionPropertyIndex)},fr:{[pt.animation]:ee.framerate,[pt.assetPrecomposition]:ee.framerate},sr:{...Je(Qt.composition,ee.timeStretch),[pt.characterPrecomp]:ee.timeStretch},st:{...Je(Qt.composition,ee.timeStart),[pt.characterPrecomp]:ee.timeStart},l:{[pt.animatedMultidimensional]:ee.length,[pt.animatedMultidimensionalStatic]:ee.length,[pt.animatedPosition]:ee.length,[pt.animatedPositionStatic]:ee.length,[ft.translation]:ee.length},parent:{...Je(Qt.composition,ee.parentIndex)},td:{[pt.layerPrecomposition]:ee.matteTarget,[pt.layerShape]:ee.matteTarget,[pt.layerSolidColor]:ee.matteTarget,[pt.layerImage]:ee.matteTarget,[pt.layerNull]:ee.matteTarget,[pt.layerText]:ee.matteTarget},ml:{[pt.shapeGradientStroke]:ee.miterLimitValue,[pt.shapeStroke]:ee.miterLimitValue},np:{[pt.shapeGroup]:ee.numberOfProperties,[ft.effectValueAngleValue]:ee.numberOfProperties,[ft.effectValueCheckboxValue]:ee.numberOfProperties,[ft.effectValueColorValue]:ee.numberOfProperties,[ft.effectValueDropdownValue]:ee.numberOfProperties,[ft.effectValueIgnoredValue]:ee.numberOfProperties,[ft.effectValueLayerValue]:ee.numberOfProperties,[ft.effectValuePointValue]:ee.numberOfProperties,[ft.effectValueSliderValue]:ee.numberOfProperties,[pt.effect]:ee.numberOfProperties,[Qt.effectList]:ee.numberOfProperties,[Qt.effectParameters]:ee.numberOfProperties,...Je(Qt.effectList,ee.numberOfProperties),...Je(Qt.effectParameters,ee.numberOfProperties)},mm:{[pt.shapeMerge]:ee.mergeMode},ip:{[pt.characterPrecomp]:ee.inPoint},ascent:{[pt.textFont]:ee.ascent},r:{[ft.textSelector]:ee.rangeUnits},lh:{[ft.textDocument]:ee.lineHeight},tr:{[ft.textDocument]:ee.textTracking},ls:{[ft.textDocument]:ee.baselineShift}}},gd={required:{ty:{...Je(Qt.composition,ee.layerType),...Je(Qt.layerStyleList,ee.layerStyleType),...Je(Qt.effectParameters,ee.effectType),...Je(Qt.effectList,ee.effectType)},bm:{...Je(Qt.composition,ee.blendMode),...Je(Qt.shapeList,ee.blendMode)},d:{[pt.shapeEllipse]:ee.shapeDirection,[pt.shapePath]:ee.shapeDirection,[pt.shapePolygon]:ee.shapeDirection,[pt.shapeStar]:ee.shapeDirection,[pt.shapeRectangle]:ee.shapeDirection},t:{[pt.assetDataSource]:ee.dataSourceType},origin:{[pt.textFont]:ee.textType},b:{[ft.textSelector]:ee.basedOn},sh:{[ft.textSelector]:ee.textTypeShape}},known:{tt:{[pt.layerPrecomposition]:ee.matteMode,[pt.layerShape]:ee.matteMode,[pt.layerSolidColor]:ee.matteMode,[pt.layerImage]:ee.matteMode,[pt.layerNull]:ee.matteMode,[pt.layerText]:ee.matteMode},m:{[pt.shapeRepeater]:ee.composite,[pt.shapeTrim]:ee.multiple,[ft.textFollowPath]:ee.textMask},r:{[pt.shapeFill]:ee.fillRuleValue,[pt.shapeGradientFill]:ee.fillRuleValue},t:{[pt.shapeGradientFill]:ee.gradientType,[pt.shapeGradientStroke]:ee.gradientType},gt:{[pt.layerStyleGradientOverlay]:ee.gradientType},lc:{[pt.shapeGradientStroke]:ee.lineCapType,[pt.shapeStroke]:ee.lineCapType},lj:{[pt.shapeGradientStroke]:ee.lineJoinType,[pt.shapeStroke]:ee.lineJoinType,[pt.shapeOffsetPath]:ee.lineJoin},sy:{[pt.shapePolygon]:ee.shapePolygonStarType,[pt.shapeStar]:ee.shapePolygonStarType},g:{[ft.textAlignmentOptions]:ee.textTypeGrouping},j:{[ft.textDocument]:ee.textTypeJustify},ca:{[ft.textDocument]:ee.textTypeCaps},vj:{[ft.textDocument]:ee.textTypeVerticalJustify}}},yd={required:{},known:{}},vd={required:{x:{[pt.keyframe]:qe.xAxisValue,[Qt.keyframeList]:qe.xAxisValue,[Qt.keyframeValue]:qe.xAxisValue,[pt.positionKeyframe]:qe.xAxisValue,[Qt.positionKeyframeList]:qe.xAxisValue,[pt.keyframeBezierHandle]:qe.xAxisValue},y:{[pt.keyframe]:qe.yAxisValue,[Qt.keyframeList]:qe.yAxisValue,[Qt.keyframeValue]:qe.yAxisValue,[pt.positionKeyframe]:qe.yAxisValue,[Qt.positionKeyframeList]:qe.yAxisValue,[pt.keyframeBezierHandle]:qe.yAxisValue},t:{[ft.textSelector]:qe.expressible}},known:{rn:{[ft.textSelector]:qe.randomize},ddd:{[pt.animation]:qe.threedimensional,...Je(Qt.composition,qe.threedimensional)},ao:{[pt.layerPrecomposition]:qe.autoOrient,[pt.layerShape]:qe.autoOrient,[pt.layerSolidColor]:qe.autoOrient,[pt.layerImage]:qe.autoOrient,[pt.layerNull]:qe.autoOrient,[pt.layerText]:qe.autoOrient},a:{[pt.animatedValue]:qe.animated,[pt.animatedValueStatic]:qe.animated,[pt.animatedShape]:qe.animated,[pt.animatedShapeStatic]:qe.animated,[pt.animatedPosition]:qe.animated,[pt.animatedPositionStatic]:qe.animated,[pt.animatedColor]:qe.animated,[pt.animatedColorStatic]:qe.animated,[pt.animatedMultidimensional]:qe.animated,[pt.animatedMultidimensionalStatic]:qe.animated},e:{[pt.assetImage]:qe.embedded,[pt.assetDataSource]:qe.embedded},en:{...Je(Qt.effectList,qe.enabled)},xt:{[pt.assetPrecomposition]:qe.extraComposition},h:{[pt.keyframe]:qe.hold,[Qt.keyframeList]:qe.hold,[Qt.keyframeValue]:qe.hold,[pt.positionKeyframe]:qe.hold,[Qt.positionKeyframeList]:qe.hold,[pt.keyframeBezierHandle]:qe.hold,[pt.shapeKeyframe]:qe.hold}}},bd={required:{s:{[pt.splitVector]:Mi.splitEnabled}},known:{c:{[pt.bezier]:Mi.closed},inv:{[pt.mask]:Mi.inverted},hd:{...Je(Qt.composition,Mi.hidden),...Je(Qt.shapeList,Mi.hidden)},cp:{[pt.layerPrecomposition]:Mi.collapseTransform,[pt.layerShape]:Mi.collapseTransform,[pt.layerSolidColor]:Mi.collapseTransform,[pt.layerImage]:Mi.collapseTransform,[pt.layerNull]:Mi.collapseTransform,[pt.layerText]:Mi.collapseTransform},hasMask:{[pt.layerPrecomposition]:Mi.hasMask,[pt.layerShape]:Mi.hasMask,[pt.layerSolidColor]:Mi.hasMask,[pt.layerImage]:Mi.hasMask,[pt.layerNull]:Mi.hasMask,[pt.layerText]:Mi.hasMask},mb:{[pt.layerPrecomposition]:Mi.motionBlurEnabled,[pt.layerShape]:Mi.motionBlurEnabled,[pt.layerSolidColor]:Mi.motionBlurEnabled,[pt.layerImage]:Mi.motionBlurEnabled,[pt.layerNull]:Mi.motionBlurEnabled,[pt.layerText]:Mi.motionBlurEnabled},of:{[ft.textDocument]:Mi.strokeOverFill}}},xd={required:{assets:{[pt.animation]:Qt.assets},layers:{[pt.animation]:Qt.composition,[pt.assetPrecomposition]:Qt.composition},shapes:{[pt.layerShape]:Qt.shapeList,[pt.characterShapes]:Qt.shapeList},ef:{[pt.effect]:Qt.effectParameters,...Je(Qt.effectList,Qt.effectParameters)},i:{[pt.bezier]:Qt.inTangents},o:{[pt.bezier]:Qt.outTangents},v:{[pt.bezier]:Qt.vertices},k:{[ft.textAnimatedDocument]:Qt.textDocumentKeyframes,[pt.animatedValue]:Qt.keyframeList,[pt.animatedValueStatic]:Qt.staticValues,[pt.animatedMultidimensional]:Qt.keyframeList,[pt.animatedMultidimensionalStatic]:Qt.staticValues,[pt.animatedPosition]:Qt.positionKeyframeList,[pt.animatedPositionStatic]:Qt.staticValues,[pt.animatedColor]:Qt.keyframeList,[pt.animatedShape]:Qt.shapeKeyframeList,[pt.animatedColorStatic]:Qt.colorRgba},a:{[ft.textAnimatorData]:Qt.textRanges},x:{[pt.keyframeBezierHandle]:Qt.xAxis},y:{[pt.keyframeBezierHandle]:Qt.yAxis},s:{[pt.shapeKeyframe]:Qt.shapeKeyframeStart},fc:{[ft.textDocument]:Qt.documentFillColor}},known:{k:{[ft.metadata]:Qt.keywords},comps:{[pt.animation]:Qt.extraCompositions},chars:{[pt.animation]:Qt.textCharacters},markers:{[pt.animation]:Qt.markers},masksProperties:{[pt.layerPrecomposition]:Qt.masksProperties,[pt.layerShape]:Qt.masksProperties,[pt.layerSolidColor]:Qt.masksProperties,[pt.layerImage]:Qt.masksProperties,[pt.layerNull]:Qt.masksProperties,[pt.layerText]:Qt.masksProperties},ef:{[pt.layerPrecomposition]:Qt.effectList,[pt.layerShape]:Qt.effectList,[pt.layerSolidColor]:Qt.effectList,[pt.layerImage]:Qt.effectList,[pt.layerNull]:Qt.effectList,[pt.layerText]:Qt.effectList},sy:{[pt.layerPrecomposition]:Qt.layerStyle,[pt.layerShape]:Qt.layerStyle,[pt.layerSolidColor]:Qt.layerStyle,[pt.layerImage]:Qt.layerStyle,[pt.layerNull]:Qt.layerStyle,[pt.layerText]:Qt.layerStyle},d:{[pt.shapeGradientStroke]:Qt.strokeDashList,[pt.shapeStroke]:Qt.strokeDashList},it:{[pt.shapeGroup]:Qt.shapeList},s:{[pt.keyframe]:Qt.keyframeValue,[Qt.keyframeList]:Qt.keyframeValue,[pt.positionKeyframe]:Qt.keyframeValue,[Qt.positionKeyframeList]:Qt.keyframeValue,[pt.keyframeBezierHandle]:Qt.keyframeValue},e:{[pt.keyframe]:Qt.keyframeEndValue,[Qt.keyframeList]:Qt.keyframeEndValue,[Qt.keyframeValue]:Qt.keyframeEndValue,[pt.positionKeyframe]:Qt.keyframeEndValue,[Qt.positionKeyframeList]:Qt.keyframeEndValue,[pt.keyframeBezierHandle]:Qt.keyframeEndValue,[pt.shapeKeyframe]:Qt.keyframeEndValue},to:{[pt.positionKeyframe]:Qt.valueOutTangent},ti:{[pt.positionKeyframe]:Qt.valueInTangent},sz:{[ft.textDocument]:Qt.wrapSize},sc:{[ft.textDocument]:Qt.documentStrokeColor},ps:{[ft.textDocument]:Qt.wrapPosition},list:{[ft.textFonts]:Qt.textFontList}}},_d={required:{r:{[ft.layerTransform]:ft.rotationClockwise,[pt.shapeTransform]:ft.rotationClockwise,[ft.transformRepeater]:ft.rotationClockwise,[ft.textStyle]:ft.rotationClockwise,[pt.shapePolygon]:ft.polygonRotationClockwise,[pt.shapeStar]:ft.polygonRotationClockwise,[pt.shapeRectangle]:ft.rounded,[pt.shapeRoundedCorners]:ft.radius},au:{[pt.layerAudio]:ft.layerAudioSettings},t:{[pt.layerText]:ft.textAnimatorData},pe:{[pt.layerCamera]:ft.perspective},ks:{[pt.layerPrecomposition]:ft.layerTransform,[pt.layerShape]:ft.layerTransform,[pt.layerSolidColor]:ft.layerTransform,[pt.layerImage]:ft.layerTransform,[pt.layerNull]:ft.layerTransform,[pt.layerText]:ft.layerTransform,[pt.layerCamera]:ft.layerTransform,[pt.shapePath]:ft.animatedShapeProp},p:{[pt.shapeEllipse]:ft.animatedPositionProp,[pt.shapePolygon]:ft.animatedPositionProp,[pt.shapeStar]:ft.animatedPositionProp,[pt.shapeRectangle]:ft.animatedPositionProp,[ft.textAnimatorData]:ft.textFollowPath},s:{[pt.shapeEllipse]:ft.shapeEllipseSize,[pt.shapeGradientFill]:ft.startPoint,[pt.shapeGradientStroke]:ft.startPoint,[pt.shapeRectangle]:ft.size,[pt.shapeTrim]:ft.shapeTrimStart,[pt.textDocumentKeyframe]:ft.textDocument,[pt.layerStyleStroke]:ft.blurSize,[pt.layerStyleDropShadow]:ft.blurSize,[pt.layerStyleInnerShadow]:ft.blurSize,[pt.layerStyleBevelEmboss]:ft.blurSize,[pt.layerStyleSatin]:ft.blurSize},o:{[pt.shapeFill]:ft.opacity,[pt.shapeGradientFill]:ft.opacity,[pt.shapeTrim]:ft.offset,[pt.shapeGradientStroke]:ft.strokeOpacity,[pt.shapeStroke]:ft.strokeOpacity},c:{[pt.shapeFill]:ft.shapeFillColor,[pt.shapeRepeater]:ft.copies,[pt.shapeStroke]:ft.shapeStrokeColor},e:{[pt.shapeGradientFill]:ft.endPoint,[pt.shapeGradientStroke]:ft.endPoint,[pt.shapeTrim]:ft.shapeTrimEnd},g:{[pt.shapeGradientFill]:ft.animatedGradientColors,[pt.shapeGradientStroke]:ft.animatedGradientColors},or:{[pt.shapePolygon]:ft.outerRadius,[pt.shapeStar]:ft.outerRadius},os:{[pt.shapePolygon]:ft.outerRoundness,[pt.shapeStar]:ft.outerRoundness},pt:{[pt.shapePolygon]:ft.points,[pt.shapeStar]:ft.points},ir:{[pt.shapeStar]:ft.innerRadius},is:{[pt.shapeStar]:ft.innerRoundness},tr:{[pt.shapeRepeater]:ft.transformRepeater},data:{[Qt.textCharacters]:ft.textCharacterData},a:{[ft.textSelector]:ft.maxAmount},d:{[ft.textAnimatorData]:ft.textAnimatedDocument},k:{[pt.animatedShapeStatic]:ft.animatedShapeBezier,[ft.animatedGradientColors]:ft.animatedMultidimensionalProp},lv:{[ft.layerAudioSettings]:ft.level},x:{[pt.splitVector]:ft.splitX},y:{[pt.splitVector]:ft.splitY},z:{[pt.splitVector]:ft.splitZ},lc:{[pt.layerStyleDropShadow]:ft.layerConceal},m:{[ft.textAnimatorData]:ft.textAlignmentOptions},w:{[pt.shapeGradientStroke]:ft.strokeWidth,[pt.shapeStroke]:ft.strokeWidth}},known:{xe:{[ft.textSelector]:ft.maxEase},ne:{[ft.textSelector]:ft.minEase},meta:{[pt.animation]:ft.metadata},[ft.metadata]:{[pt.animation]:ft.userMetadata},mb:{[pt.animation]:ft.motionBlur},fonts:{[pt.animation]:ft.textFonts},v:{...Je(Qt.effectParameters,ee.value),[pt.strokeDashDefault]:ft.strokeLength,[pt.strokeDashGap]:ft.strokeLength,[pt.strokeDashOffset]:ft.strokeLength,[pt.effectValueAngle]:ft.effectValueAngleValue,[pt.effectValueCheckbox]:ft.effectValueCheckboxValue,[pt.effectValueColor]:ft.effectValueColorValue,[pt.effectValueDropdown]:ft.effectValueDropdownValue,[pt.effectValueIgnored]:ft.effectValueIgnoredValue,[pt.effectValueLayer]:ft.effectValueLayerValue,[pt.effectValuePoint]:ft.effectValuePointValue,[pt.effectValueSlider]:ft.effectValueSliderValue},rx:{[ft.layerTransform]:ft.rotationX,[pt.shapeTransform]:ft.rotationX,[ft.transformRepeater]:ft.rotationX,[ft.textStyle]:ft.rotationX},ry:{[ft.layerTransform]:ft.rotationY,[pt.shapeTransform]:ft.rotationY,[ft.transformRepeater]:ft.rotationY,[ft.textStyle]:ft.rotationY},rz:{[ft.layerTransform]:ft.rotationZ,[pt.shapeTransform]:ft.rotationZ,[ft.transformRepeater]:ft.rotationZ,[ft.textStyle]:ft.rotationZ},or:{[ft.layerTransform]:ft.orientation,[pt.shapeTransform]:ft.orientation,[ft.transformRepeater]:ft.orientation,[ft.textStyle]:ft.orientation},a:{[ft.layerTransform]:ft.anchorPoint,[ft.transformRepeater]:ft.anchorPoint,[pt.shapeTransform]:ft.anchorPoint,[ft.textStyle]:ft.anchorPoint,[pt.shapeGradientFill]:ft.highlightAngle,[pt.shapeGradientStroke]:ft.highlightAngle,[pt.shapePuckerBloat]:ft.amount,[pt.shapeTwist]:ft.angle,[pt.shapeOffsetPath]:ft.amount,[pt.textRange]:ft.textStyle,[ft.textFollowPath]:ft.forceAlignment,[ft.textSelector]:ft.maxAmount,[ft.textAlignmentOptions]:ft.textGroupAlignment,[pt.layerStyleDropShadow]:ft.angle,[pt.layerStyleInnerShadow]:ft.angle,[pt.layerStyleBevelEmboss]:ft.angle,[pt.layerStyleSatin]:ft.angle,[pt.layerStyleGradientOverlay]:ft.angle},s:{[ft.layerTransform]:ft.scale,[pt.shapeTransform]:ft.scale,[ft.transformRepeater]:ft.scale,[ft.textStyle]:ft.scale,[pt.shapeZigZags]:ft.shapeZigZagSize,[pt.textRange]:ft.textSelector,[pt.layerStyleStroke]:ft.size,[pt.layerStyleGradientOverlay]:ft.gradientOverlayScale,[ft.textSelector]:ft.textSelectorStart},o:{[ft.layerTransform]:ft.transformOpacity,[pt.shapeTransform]:ft.transformOpacity,[ft.transformRepeater]:ft.transformOpacity,[ft.textStyle]:ft.transformOpacity,[ft.textSelector]:ft.offset,[pt.shapeFill]:ft.opacity,[pt.shapeGradientFill]:ft.opacity,[pt.shapeGradientStroke]:ft.opacity,[pt.shapeStroke]:ft.opacity,[pt.mask]:ft.maskOpacity,[pt.shapeGradientFill]:ft.opacity,[pt.shapeRepeater]:ft.offset,[pt.keyframe]:ft.outTangent,[Qt.keyframeList]:ft.outTangent,[Qt.keyframeValue]:ft.outTangent,[pt.positionKeyframe]:ft.outTangent,[Qt.positionKeyframeList]:ft.outTangent,[pt.keyframeBezierHandle]:ft.outTangent,[pt.shapeKeyframe]:ft.outTangent,[pt.layerStyleDropShadow]:ft.opacity,[pt.layerStyleInnerShadow]:ft.opacity,[pt.layerStyleBevelEmboss]:ft.opacity,[pt.layerStyleSatin]:ft.opacity,[pt.layerStyleColorOverlay]:ft.opacity,[pt.layerStyleGradientOverlay]:ft.opacity},i:{[pt.keyframe]:ft.inTangent,[Qt.keyframeList]:ft.inTangent,[Qt.keyframeValue]:ft.inTangent,[pt.positionKeyframe]:ft.inTangent,[Qt.positionKeyframeList]:ft.inTangent,[pt.keyframeBezierHandle]:ft.inTangent,[pt.shapeKeyframe]:ft.inTangent},sk:{[ft.layerTransform]:ft.skew,[pt.shapeTransform]:ft.skew,[ft.transformRepeater]:ft.skew,[ft.textStyle]:ft.skew},sa:{[ft.layerTransform]:ft.skewAxis,[pt.shapeTransform]:ft.skewAxis,[ft.transformRepeater]:ft.skewAxis,[ft.textStyle]:ft.skewAxis},p:{[ft.layerTransform]:ft.translation,[pt.shapeTransform]:ft.translation,[ft.transformRepeater]:ft.translation,[ft.textStyle]:ft.translation,[ft.textFollowPath]:ft.perpendicularToPath},pt:{[pt.mask]:ft.maskVertices,[pt.shapeZigZags]:ft.points},x:{[pt.mask]:ft.dilate},tm:{[pt.layerPrecomposition]:ft.timeRemapping},h:{[pt.shapeGradientFill]:ft.highlightLength,[pt.shapeGradientStroke]:ft.highlightLength},r:{[pt.shapeGradientFill]:ft.fillRule,[pt.shapeZigZags]:ft.roundness,[ft.textFollowPath]:ft.reversePath,[pt.layerStyleOuterGlow]:ft.range},ml2:{[pt.shapeGradientStroke]:ft.miterLimitAlternative,[pt.shapeStroke]:ft.miterLimitAlternative},w:{[pt.shapeGradientStroke]:ft.strokeWidth,[pt.shapeStroke]:ft.strokeWidth},c:{[pt.shapeTrim]:ft.center,[pt.layerStyleStroke]:ft.layerStyleColor,[pt.layerStyleDropShadow]:ft.layerStyleColor,[pt.layerStyleInnerShadow]:ft.layerStyleColor,[pt.layerStyleBevelEmboss]:ft.layerStyleColor,[pt.layerStyleOuterGlow]:ft.layerStyleColor},ml:{[pt.shapeOffsetPath]:ft.miterLimit},so:{[pt.layerStyleBevelEmboss]:ft.shadowOpacity,[pt.layerStyleColorOverlay]:ft.opacity,[ft.transformRepeater]:ft.startOpacity},eo:{[ft.transformRepeater]:ft.startOpacity},ks:{[pt.characterPrecomp]:ft.layerTransform,[pt.shapePath]:ft.shape},f:{[ft.textFollowPath]:ft.firstMargin},l:{[ft.textFollowPath]:ft.lastMargin},sw:{[ft.textStyle]:ft.strokeWidth,[ft.textDocument]:ft.strokeWidth},sc:{[ft.textStyle]:ft.strokeColor,[ft.textDocument]:ft.strokeColor,[pt.layerStyleBevelEmboss]:ft.shadowColor},sh:{[ft.textStyle]:ft.strokeHue},ss:{[ft.textStyle]:ft.strokeSaturation},sb:{[ft.textStyle]:ft.strokeBrightness},fc:{[ft.textStyle]:ft.fillColor},fh:{[ft.textStyle]:ft.fillHue},fs:{[ft.textStyle]:ft.fillSaturation},fo:{[ft.textStyle]:ft.fillOpacity},fb:{[ft.textStyle]:ft.fillBrightness},t:{[ft.textStyle]:ft.letterSpacing},bl:{[ft.textStyle]:ft.blur},ls:{[ft.textStyle]:ft.lineSpacing},sm:{[ft.textSelector]:ft.selectorSmoothness,[pt.layerStyleBevelEmboss]:ft.shadowMode},e:{[ft.textSelector]:ft.textSelectorEnd},gf:{[pt.layerStyleGradientOverlay]:ft.animatedGradientColors},ch:{[pt.layerStyleDropShadow]:ft.chokeSpread,[pt.layerStyleInnerShadow]:ft.chokeSpread,[pt.layerStyleBevelEmboss]:ft.chokeSpread,[pt.layerStyleOuterGlow]:ft.chokeSpread},bm:{[pt.layerStyleDropShadow]:ft.layerStyleBlendMode,[pt.layerStyleInnerShadow]:ft.layerStyleBlendMode,[pt.layerStyleBevelEmboss]:ft.layerStyleBlendMode,[pt.layerStyleSatin]:ft.layerStyleBlendMode,[pt.layerStyleColorOverlay]:ft.layerStyleBlendMode,[pt.layerStyleGradientOverlay]:ft.layerStyleBlendMode},no:{[pt.layerStyleDropShadow]:ft.noise,[pt.layerStyleInnerShadow]:ft.noise,[pt.layerStyleOuterGlow]:ft.noise,[pt.layerStyleInnerGlow]:ft.noise},d:{[pt.layerStyleDropShadow]:ft.distance,[pt.layerStyleInnerShadow]:ft.distance,[pt.layerStyleBevelEmboss]:ft.distance,[pt.layerStyleOuterGlow]:ft.distance},j:{[pt.layerStyleOuterGlow]:ft.jitter},sr:{[pt.layerStyleInnerGlow]:ft.source,[pt.layerStyleBevelEmboss]:ft.strength},bs:{[pt.layerStyleBevelEmboss]:ft.bevelStyle},bt:{[pt.layerStyleBevelEmboss]:ft.technique},sf:{[pt.layerStyleBevelEmboss]:ft.soften},ga:{[pt.layerStyleBevelEmboss]:ft.globalAngle},ll:{[pt.layerStyleBevelEmboss]:ft.altitude},hm:{[pt.layerStyleBevelEmboss]:ft.highlightMode},hc:{[pt.layerStyleBevelEmboss]:ft.highlightColor},ho:{[pt.layerStyleBevelEmboss]:ft.highlightOpacity},in:{[pt.layerStyleSatin]:ft.invert},gs:{[pt.layerStyleGradientOverlay]:ft.smoothness},re:{[pt.layerStyleGradientOverlay]:ft.reverse},al:{[pt.layerStyleGradientOverlay]:ft.align},of:{[pt.layerStyleGradientOverlay]:ft.offset}}},sa=(t,e,i,r)=>{let s=(i.required[t]||{})[e];if(s)return {type:r,title:s,parentTitle:e,required:!0};let a=(i.known[t]||{})[e]||Cn;return {type:r,title:a,parentTitle:e,required:!1}},Pd=(t,e)=>sa(t,e,xd,"collection"),Sd=(t,e)=>sa(t,e,_d,"element"),kd=(t,e,i)=>{switch(e.value.type){case"String":let r=sa(t,i,ud,"attribute");return r.title===Cn?sa(t,i,dd,"constant"):r;case"Boolean":return sa(t,i,bd,"attribute");case"Number":let s=sa(t,i,md,"attribute");if(s.title===Cn){let a=sa(t,i,gd,"constant");return a.title===Cn?sa(t,i,vd,"integer-boolean"):a}else return s;case"Null":return sa(t,i,yd,"attribute");default:return {type:"missing",title:Cn,parentTitle:i,required:!1}}},wd=(t,e,i)=>{switch(e.value.type){case"Array":return Pd(t,i);case"Object":return Sd(t,i);default:return kd(t,e,i)}},Ed=class{constructor(t=1/0){this._capacity=t,np(this,"_keys",[]),np(this,"_storage",new WeakMap);}peek(){let t=this.size(),e=this._keys[t-1];return e?this._storage.get(e):void 0}pop(){let t=this._keys.pop();if(t!==void 0){let e=this._storage.get(t);return this._storage.delete(t),e}}push(t){if(this.size()===this._capacity)throw Error("Stack has reached max capacity, you cannot add more items");let e={i:this._keys.length};this._storage.set(e,t),this._keys.push(e);}size(){return this._keys.length}},Ad={position:!0,valueType:!0,messages:{warning:!1}},hp=(t,e,i)=>{i.messages.warning&&t.message(e);},Cd=(t,e)=>!e.valueType||t.type==="Array"||t.type==="Object"||t.type==="Document"?{}:{valueType:t.type.toLowerCase()},go=(t,e)=>e.position?{position:{...t.loc}}:{},lp=(t,e)=>{let i=go(t,e),r=Cd(t,e);return Qu(t.value,{...i,...r})},Td=(t,e)=>{let i=t.name.value;if(e.position){let r=go(t.name,e);return td(i,{...r})}else return i},Md=(t,e,i)=>{let r=Td(t,i),s=typeof r=="string"?r:r.value,a={...go(t,i)},{title:o}=wd(s,t,e);switch(t.value.type){case"Array":return rd(r,o,[],{...a});case"Object":return id(r,o,[],{...a});default:return ed(r,o,[],{...a})}},Ep=(t,e)=>e.loc.end.column===t.loc.end.column;Dd=t=>{let e=[];return t.elements.forEach(i=>{nn(i,"Object")&&i.members.forEach(r=>e.push(r));}),e},Fd=(t,e,i,r,s)=>{let{key:a,parentTitle:o,type:p}=i;switch(p){case"Constant":if(!nn(t,"String")&&!nn(t,"Number"))break;let{defaultValue:h,prefix:c,values:_}=o,v=_[h];if(!v)throw new Error(`[${e}] '${h}' has to present in "dependent.parentTitle.values"`);let u=t.value,S=_[u];if(!S){let A=`[${e}] '${u}' is missing in "dependent.parentTitle.values"`;hp(r,A,s);}let d=typeof S>"u"?v:S;return c&&c.length>0?`${c}-${d}`:d;case"Array":if(!nn(t,"Array"))break;let g=i.childType;if(!(g&&t.elements.find(A=>A.type===g)))break;return o;default:if(p!==t.type){let A=`${e}'s '${a}' type is ${t.type} but has to be ${p}`;hp(r,A,s);break}return o}},Ap=(t,e,i,r,s)=>{let a=e.reduce((o,p)=>{let h=p.name.value;return o[h]=p.value,o},{});for(let o of i){let{key:p}=o,h=a[p];if(!h)continue;let c=Fd(h,t,o,r,s);if(c)return c}},pp=(t,e,i,r)=>{let s=wp(t,e),{defaultTitle:a,dependents:o}=s;return o&&Ap(e,t.members,o,i,r)||a},fp=(t,e,i,r)=>{let s=wp(t,e),{defaultTitle:a,dependents:o}=s;if(!o)return a;let p=Dd(t);return Ap(e,p,o,i,r)||a},Id=(t,e,i,r,s)=>{let a=go(t,s);switch(t.type){case"Document":t.body.type!=="Object"&&r.fail(new Error(`Lottie must be "Object" but it's "${t.body.type}"`));break;case"Member":let o=i.peek();i.push(Md(t,o.title,s));break;case"Object":switch(e.type){case"Document":i.push(sd([],{...a}));break;case"Member":let p=i.peek();Lr(p,"element",r);let h=pp(t,p.title,r,s);i.push(sp(h,[],{...a}));break;case"Array":let c=i.peek();Lr(c,"array",r);let _=pp(t,c.title,r,s);i.push(sp(_,[],{...a}));break}break;case"Array":switch(e.type){case"Member":let p=i.peek();Lr(p,"collection",r);let h=fp(t,p.title,r,s);i.push(ap(h,[],{...a}));break;case"Array":let c=i.peek();Lr(c,"array",r);let _=fp(t,c.title,r,s);i.push(ap(_,[],{...a}));break}break;default:switch(e.type){case"Member":Ep(t,e)&&i.push(lp(t,s));break;case"Array":i.push(lp(t,s));break}break}},Ld=(t,e,i,r,s,a)=>{switch(t.type){case"Document":break;case"Member":let o=i.pop();switch(o.type){case"element":break;case"collection":break;case"attribute":!a.hasExpressions&&o.title==="expression"&&(a.hasExpressions=!0);break;default:r.fail("Node's type has to be 'element', 'collection or 'attribute'");}let p=i.peek();switch(p.type){case"object":break;case"root":break;default:r.fail("ParentNode's type has to be 'object' or 'root'");}p.children.push(o);break;case"Object":switch(e.type){case"Document":break;case"Member":let h=i.pop();Lr(h,"object",r);let c=i.peek();Lr(c,"element",r),h.title===c.title&&(h.title=`${c.title}-children`),c.children=[h];break;case"Array":let _=i.pop();Lr(_,"object",r);let v=i.peek();Lr(v,"array",r),v.children.push(_);break}break;case"Array":switch(e.type){case"Member":let h=i.pop();Lr(h,"array",r);let c=i.peek();Lr(c,"collection",r),h.title===c.title&&(h.title=`${c.title}-children`),c.children=[h];break;case"Array":let _=i.pop();Lr(_,"array",r);let v=i.peek();Lr(v,"array",r),v.children.push(_);break}break;default:switch(e.type){case"Member":if(Ep(t,e)){let _=i.pop();Lr(_,"primitive",r);let v=i.peek();Lr(v,"attribute",r),v.children=[_];}break;case"Array":let h=i.pop();Lr(h,"primitive",r);let c=i.peek();Lr(c,"array",r),c.children.push(h);break}break}};Rd=function(t={}){let e=this.data("settings")||{parse:{}};e.parse=(0, Zu.default)(e.parse,t),Object.assign(this,{Parser:(i,r)=>Vd(i,r,e)});},Od=Rd;Bd={indent:0};Nd=function(t={}){let e=this.data("settings")||{stringify:{}};e.stringify={...e.stringify,...t},Object.assign(this,{Compiler:(i,r)=>zd(i,r,e)});},Gd=Nd;jd=Ds(_p(),1),up=Ds(Yu(),1);Hd=Ds(_p(),1);ys=class extends Error{constructor(t,e,i){let r=[null,null],s={start:{line:null,column:null},end:{line:null,column:null}};if(super(),typeof e=="string"&&(i=e,e=void 0),typeof i=="string"){let a=i.indexOf(":");a===-1?r[1]=i:(r[0]=i.slice(0,a),r[1]=i.slice(a+1));}e&&("type"in e||"position"in e?e.position&&(s=e.position):"start"in e||"end"in e?s=e:("line"in e||"column"in e)&&(s.start=e)),this.name=Wd(e)||"1:1",this.message=typeof t=="object"?t.message:t,this.stack="",typeof t=="object"&&t.stack&&(this.stack=t.stack),this.reason=this.message,this.fatal,this.line=s.start.line,this.column=s.start.column,this.position=s,this.source=r[0],this.ruleId=r[1],this.file,this.actual,this.expected,this.url,this.note;}};ys.prototype.file="";ys.prototype.name="";ys.prototype.reason="";ys.prototype.message="";ys.prototype.stack="";ys.prototype.fatal=null;ys.prototype.column=null;ys.prototype.line=null;ys.prototype.source=null;ys.prototype.ruleId=null;ys.prototype.position=null;Hs={basename:Ud,dirname:Jd,extname:Xd,join:Yd,sep:"/"};Qd={cwd:tm};bh=["history","path","basename","stem","extname","dirname"],rm=class{constructor(t){let e;t?typeof t=="string"||sm(t)?e={value:t}:Ah(t)?e={path:t}:e=t:e={},this.data={},this.messages=[],this.history=[],this.cwd=Qd.cwd(),this.value,this.stored,this.result,this.map;let i=-1;for(;++i<bh.length;){let s=bh[i];s in e&&e[s]!==void 0&&e[s]!==null&&(this[s]=s==="history"?[...e[s]]:e[s]);}let r;for(r in e)bh.includes(r)||(this[r]=e[r]);}get path(){return this.history[this.history.length-1]}set path(t){Ah(t)&&(t=em(t)),_h(t,"path"),this.path!==t&&this.history.push(t);}get dirname(){return typeof this.path=="string"?Hs.dirname(this.path):void 0}set dirname(t){gp(this.basename,"dirname"),this.path=Hs.join(t||"",this.basename);}get basename(){return typeof this.path=="string"?Hs.basename(this.path):void 0}set basename(t){_h(t,"basename"),xh(t,"basename"),this.path=Hs.join(this.dirname||"",t);}get extname(){return typeof this.path=="string"?Hs.extname(this.path):void 0}set extname(t){if(xh(t,"extname"),gp(this.dirname,"extname"),t){if(t.charCodeAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Hs.join(this.dirname,this.stem+(t||""));}get stem(){return typeof this.path=="string"?Hs.basename(this.path,this.extname):void 0}set stem(t){_h(t,"stem"),xh(t,"stem"),this.path=Hs.join(this.dirname||"",t+(this.extname||""));}toString(t){return (this.value||"").toString(t||void 0)}message(t,e,i){let r=new ys(t,e,i);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}info(t,e,i){let r=this.message(t,e,i);return r.fatal=null,r}fail(t,e,i){let r=this.message(t,e,i);throw r.fatal=!0,r}};am=Tp().freeze(),Cp={}.hasOwnProperty;lm=am().use(Od).use(Gd).freeze();});var bf={};ia(bf,{default:()=>P0});function Gm(t){let e=Ch(Bm,[]);return Om(t).walkRules(i=>{let r=Ch(zm,{selectors:[],selector:""},[]);r.selectors=[...i.selectors],r.selector=i.selector,i.walkDecls(s=>{let a=Ch(Nm,{important:s.important,property:s.prop,value:s.value});r.children.push(a);}),e.children.push(r);}),e}function df(t,e){var i={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},r={};for(var s in i)r[i[s]]=s;var a={};t.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return "transparent";var p,h,c=r[this.toHex()];if(c)return c;if(o?.closest){var _=this.toRgb(),v=1/0,u="black";if(!a.length)for(var S in i)a[S]=new t(i[S]).toRgb();for(var d in i){var g=(p=_,h=a[d],Math.pow(p.r-h.r,2)+Math.pow(p.g-h.g,2)+Math.pow(p.b-h.b,2));g<v&&(v=g,u=d);}return u}},e.string.push([function(o){var p=o.toLowerCase(),h=p==="transparent"?"#0000":i[p];return h?new t(h).toRgb():null},"name"]);}function Qm(t,e){let i=0,r="";for(;e<t.length;e++){let s=t[e];switch(s){case"(":++i;break;case")":--i;break}if(r+=s,i===0)return r}return r}function t0(t,e=bo){if(!t)return [];let i=[t];for(let[s,a]of Object.entries(e))for(let o=0;o<i.length;o++){let p=i[o];if(typeof p!="string")continue;a.lastIndex=0;let h=a.exec(p);if(!h)continue;let c=h.index-1,_=[],v=h[0],u=p.slice(0,c+1);u&&_.push(u),_.push({...h.groups,type:s,content:v});let S=p.slice(c+v.length+1);S&&_.push(S),i.splice(o,1,..._);}let r=0;for(let s of i)switch(typeof s){case"string":throw new Error(`Unexpected sequence ${s} found at index ${r}`);case"object":r+=s.content.length,s.pos=[r-s.content.length,r],Xm.has(s.type)&&(s.content=s.content.trim()||" ");break}return i}function r0(t,e=bo){if(t=t.trim(),t==="")return [];let i=[];t=t.replace(i0,(a,o)=>(i.push({value:a,offset:o}),"\uE000".repeat(a.length))),t=t.replace(e0,(a,o,p,h)=>(i.push({value:a,offset:h}),`${o}${"\uE001".repeat(p.length)}${o}`));{let a=0,o;for(;(o=t.indexOf("(",a))>-1;){let p=Qm(t,o);i.push({value:p,offset:o}),t=`${t.substring(0,o)}(${"\xB6".repeat(p.length-2)})${t.substring(o+p.length)}`,a=o+p.length;}}let r=t0(t,e),s=new Set;for(let a of i.reverse())for(let o of r){let{offset:p,value:h}=a;if(!(o.pos[0]<=p&&p+h.length<=o.pos[1]))continue;let{content:c}=o,_=p-o.pos[0];o.content=c.slice(0,_)+h+c.slice(_+h.length),o.content!==c&&s.add(o);}for(let a of s){let o=Km(a.type);if(!o)throw new Error(`Unknown token type: ${a.type}`);o.lastIndex=0;let p=o.exec(a.content);if(!p)throw new Error(`Unable to parse content for ${a.type}: ${a.content}`);Object.assign(a,p.groups);}return r}function Dn(t,{list:e=!0}={}){if(e&&t.find(i=>i.type==="comma")){let i=[],r=[];for(let s=0;s<t.length;s++)if(t[s].type==="comma"){if(r.length===0)throw new Error("Incorrect comma at "+s);i.push(Dn(r,{list:!1})),r.length=0;}else r.push(t[s]);if(r.length===0)throw new Error("Trailing comma");return i.push(Dn(r,{list:!1})),{type:"list",list:i}}for(let i=t.length-1;i>=0;i--){let r=t[i];if(r.type==="combinator"){let s=t.slice(0,i),a=t.slice(i+1);return {type:"complex",combinator:r.content,left:Dn(s),right:Dn(a)}}}switch(t.length){case 0:throw new Error("Could not build AST.");case 1:return t[0];default:return {type:"compound",list:[...t]}}}function*In(t,e){switch(t.type){case"list":for(let i of t.list)yield*In(i,t);break;case"complex":yield*In(t.left,t),yield*In(t.right,t);break;case"compound":yield*t.list.map(i=>[i,t]);break;default:yield [t,e];}}function s0(t,e,i){if(t)for(let[r,s]of In(t,i))e(r,s);}function mf(t,{recursive:e=!0,list:i=!0}={}){let r=r0(t);if(!r)return;let s=Dn(r,{list:i});if(!e)return s;for(let[a]of In(s)){if(a.type!=="pseudo-class"||!a.argument||!Ym.has(a.name))continue;let o=a.argument,p=Zm[a.name];if(p){let h=p.exec(o);if(!h)continue;Object.assign(a,h.groups),o=h.groups.subtree;}o&&Object.assign(a,{subtree:mf(o,{recursive:!0,list:!0})});}return s}function n0(t){let e=[],i=-1;for(;++i<t.length;)e[i]=gf(t[i]);return Eo(r);function r(...s){let a=-1;for(;++a<e.length;)if(e[a].call(this,...s))return !0;return !1}}function o0(t){return Eo(e);function e(i){let r;for(r in t)if(i[r]!==t[r])return !1;return !0}}function h0(t){return Eo(e);function e(i){return i&&i.type===t}}function Eo(t){return e;function e(i,...r){return !!(i&&typeof i=="object"&&"type"in i&&t.call(this,i,...r))}}function l0(){return !0}function c0(t){return Array.isArray(t)?t:typeof t=="number"?[Vh,t]:[t]}var jp,qp,Rh,Oh,$p,_o,Po,So,Ln,Vn,Bh,Hp,Wp,Up,ko,Jp,wo,Ha,zh,Xp,Yp,Nh,pm,Gh,Rn,Zp,jh,fm,qh,Kp,cm,um,dm,mm,Qp,tf,gm,ef,rf,$h,ym,On,sf,af,Hh,Bn,vm,bm,xm,_m,Pm,na,zn,Sm,km,of,hf,on,lf,wm,Em,Am,Cm,Tm,Mm,Dm,Fm,Im,Lm,Vm,Wh,Rm,Bi,Om,Ch,Bm,zm,Nm,jm,aa,fr,vs,pf,Fp,Th,qm,yo,ff,cf,Ip,Lp,Vp,Fn,$m,Hm,Wm,Um,Ih,Rp,Jm,Mh,Dh,Op,Lh,Yr,Bp,uf,bo,Xm,Ym,zp,Zm,Km,e0,i0,a0,gf,Vh,xo,p0,f0,Nr,Uh,yf,vf,Np,Gp,vo,u0,Fh,d0,m0,g0,y0,v0,b0,x0,_0,P0,xf=Ir(()=>{Fs();jp=ce((t,e)=>{var i=String,r=function(){return {isColorSupported:!1,reset:i,bold:i,dim:i,italic:i,underline:i,inverse:i,hidden:i,strikethrough:i,black:i,red:i,green:i,yellow:i,blue:i,magenta:i,cyan:i,white:i,gray:i,bgBlack:i,bgRed:i,bgGreen:i,bgYellow:i,bgBlue:i,bgMagenta:i,bgCyan:i,bgWhite:i}};e.exports=r(),e.exports.createColors=r;}),qp=ce(()=>{}),Rh=ce((t,e)=>{var i=jp(),r=qp(),s=class extends Error{constructor(a,o,p,h,c,_){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),h&&(this.source=h),_&&(this.plugin=_),typeof o<"u"&&typeof p<"u"&&(typeof o=="number"?(this.line=o,this.column=p):(this.line=o.line,this.column=o.column,this.endLine=p.line,this.endColumn=p.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(a){if(!this.source)return "";let o=this.source;a==null&&(a=i.isColorSupported),r&&a&&(o=r(o));let p=o.split(/\r?\n/),h=Math.max(this.line-3,0),c=Math.min(this.line+2,p.length),_=String(c).length,v,u;if(a){let{bold:S,red:d,gray:g}=i.createColors(!0);v=A=>S(d(A)),u=A=>g(A);}else v=u=S=>S;return p.slice(h,c).map((S,d)=>{let g=h+1+d,A=" "+(" "+g).slice(-_)+" | ";if(g===this.line){let y=u(A.replace(/\d/g," "))+S.slice(0,this.column-1).replace(/[^\t]/g," ");return v(">")+u(A)+S+`
`+y+v("^")}return " "+u(A)+S}).join(`
`)}toString(){let a=this.showSourceCode();return a&&(a=`
`+a+`
`),this.name+": "+this.message+a}};e.exports=s,s.default=s;}),Oh=ce((t,e)=>{e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my");}),$p=ce((t,e)=>{var i={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function r(a){return a[0].toUpperCase()+a.slice(1)}var s=class{constructor(a){this.builder=a;}stringify(a,o){if(!this[a.type])throw new Error("Unknown AST node type "+a.type+". Maybe you need to change PostCSS stringifier.");this[a.type](a,o);}document(a){this.body(a);}root(a){this.body(a),a.raws.after&&this.builder(a.raws.after);}comment(a){let o=this.raw(a,"left","commentLeft"),p=this.raw(a,"right","commentRight");this.builder("/*"+o+a.text+p+"*/",a);}decl(a,o){let p=this.raw(a,"between","colon"),h=a.prop+p+this.rawValue(a,"value");a.important&&(h+=a.raws.important||" !important"),o&&(h+=";"),this.builder(h,a);}rule(a){this.block(a,this.rawValue(a,"selector")),a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end");}atrule(a,o){let p="@"+a.name,h=a.params?this.rawValue(a,"params"):"";if(typeof a.raws.afterName<"u"?p+=a.raws.afterName:h&&(p+=" "),a.nodes)this.block(a,p+h);else {let c=(a.raws.between||"")+(o?";":"");this.builder(p+h+c,a);}}body(a){let o=a.nodes.length-1;for(;o>0&&a.nodes[o].type==="comment";)o-=1;let p=this.raw(a,"semicolon");for(let h=0;h<a.nodes.length;h++){let c=a.nodes[h],_=this.raw(c,"before");_&&this.builder(_),this.stringify(c,o!==h||p);}}block(a,o){let p=this.raw(a,"between","beforeOpen");this.builder(o+p+"{",a,"start");let h;a.nodes&&a.nodes.length?(this.body(a),h=this.raw(a,"after")):h=this.raw(a,"after","emptyBody"),h&&this.builder(h),this.builder("}",a,"end");}raw(a,o,p){let h;if(p||(p=o),o&&(h=a.raws[o],typeof h<"u"))return h;let c=a.parent;if(p==="before"&&(!c||c.type==="root"&&c.first===a||c&&c.type==="document"))return "";if(!c)return i[p];let _=a.root();if(_.rawCache||(_.rawCache={}),typeof _.rawCache[p]<"u")return _.rawCache[p];if(p==="before"||p==="after")return this.beforeAfter(a,p);{let v="raw"+r(p);this[v]?h=this[v](_,a):_.walk(u=>{if(h=u.raws[o],typeof h<"u")return !1});}return typeof h>"u"&&(h=i[p]),_.rawCache[p]=h,h}rawSemicolon(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length&&p.last.type==="decl"&&(o=p.raws.semicolon,typeof o<"u"))return !1}),o}rawEmptyBody(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length===0&&(o=p.raws.after,typeof o<"u"))return !1}),o}rawIndent(a){if(a.raws.indent)return a.raws.indent;let o;return a.walk(p=>{let h=p.parent;if(h&&h!==a&&h.parent&&h.parent===a&&typeof p.raws.before<"u"){let c=p.raws.before.split(`
`);return o=c[c.length-1],o=o.replace(/\S/g,""),!1}}),o}rawBeforeComment(a,o){let p;return a.walkComments(h=>{if(typeof h.raws.before<"u")return p=h.raws.before,p.includes(`
`)&&(p=p.replace(/[^\n]+$/,"")),!1}),typeof p>"u"?p=this.raw(o,null,"beforeDecl"):p&&(p=p.replace(/\S/g,"")),p}rawBeforeDecl(a,o){let p;return a.walkDecls(h=>{if(typeof h.raws.before<"u")return p=h.raws.before,p.includes(`
`)&&(p=p.replace(/[^\n]+$/,"")),!1}),typeof p>"u"?p=this.raw(o,null,"beforeRule"):p&&(p=p.replace(/\S/g,"")),p}rawBeforeRule(a){let o;return a.walk(p=>{if(p.nodes&&(p.parent!==a||a.first!==p)&&typeof p.raws.before<"u")return o=p.raws.before,o.includes(`
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeClose(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length>0&&typeof p.raws.after<"u")return o=p.raws.after,o.includes(`
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeOpen(a){let o;return a.walk(p=>{if(p.type!=="decl"&&(o=p.raws.between,typeof o<"u"))return !1}),o}rawColon(a){let o;return a.walkDecls(p=>{if(typeof p.raws.between<"u")return o=p.raws.between.replace(/[^\s:]/g,""),!1}),o}beforeAfter(a,o){let p;a.type==="decl"?p=this.raw(a,null,"beforeDecl"):a.type==="comment"?p=this.raw(a,null,"beforeComment"):o==="before"?p=this.raw(a,null,"beforeRule"):p=this.raw(a,null,"beforeClose");let h=a.parent,c=0;for(;h&&h.type!=="root";)c+=1,h=h.parent;if(p.includes(`
`)){let _=this.raw(a,null,"indent");if(_.length)for(let v=0;v<c;v++)p+=_;}return p}rawValue(a,o){let p=a[o],h=a.raws[o];return h&&h.value===p?h.raw:p}};e.exports=s,s.default=s;}),_o=ce((t,e)=>{var i=$p();function r(s,a){new i(a).stringify(s);}e.exports=r,r.default=r;}),Po=ce((t,e)=>{var{isClean:i,my:r}=Oh(),s=Rh(),a=$p(),o=_o();function p(c,_){let v=new c.constructor;for(let u in c){if(!Object.prototype.hasOwnProperty.call(c,u)||u==="proxyCache")continue;let S=c[u],d=typeof S;u==="parent"&&d==="object"?_&&(v[u]=_):u==="source"?v[u]=S:Array.isArray(S)?v[u]=S.map(g=>p(g,v)):(d==="object"&&S!==null&&(S=p(S)),v[u]=S);}return v}var h=class{constructor(c={}){this.raws={},this[i]=!1,this[r]=!0;for(let _ in c)if(_==="nodes"){this.nodes=[];for(let v of c[_])typeof v.clone=="function"?this.append(v.clone()):this.append(v);}else this[_]=c[_];}error(c,_={}){if(this.source){let{start:v,end:u}=this.rangeBy(_);return this.source.input.error(c,{line:v.line,column:v.column},{line:u.line,column:u.column},_)}return new s(c)}warn(c,_,v){let u={node:this};for(let S in v)u[S]=v[S];return c.warn(_,u)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(c=o){c.stringify&&(c=c.stringify);let _="";return c(this,v=>{_+=v;}),_}assign(c={}){for(let _ in c)this[_]=c[_];return this}clone(c={}){let _=p(this);for(let v in c)_[v]=c[v];return _}cloneBefore(c={}){let _=this.clone(c);return this.parent.insertBefore(this,_),_}cloneAfter(c={}){let _=this.clone(c);return this.parent.insertAfter(this,_),_}replaceWith(...c){if(this.parent){let _=this,v=!1;for(let u of c)u===this?v=!0:v?(this.parent.insertAfter(_,u),_=u):this.parent.insertBefore(_,u);v||this.remove();}return this}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}before(c){return this.parent.insertBefore(this,c),this}after(c){return this.parent.insertAfter(this,c),this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}raw(c,_){return new a().raw(this,c,_)}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between;}toJSON(c,_){let v={},u=_==null;_=_||new Map;let S=0;for(let d in this){if(!Object.prototype.hasOwnProperty.call(this,d)||d==="parent"||d==="proxyCache")continue;let g=this[d];if(Array.isArray(g))v[d]=g.map(A=>typeof A=="object"&&A.toJSON?A.toJSON(null,_):A);else if(typeof g=="object"&&g.toJSON)v[d]=g.toJSON(null,_);else if(d==="source"){let A=_.get(g.input);A==null&&(A=S,_.set(g.input,S),S++),v[d]={inputId:A,start:g.start,end:g.end};}else v[d]=g;}return u&&(v.inputs=[..._.keys()].map(d=>d.toJSON())),v}positionInside(c){let _=this.toString(),v=this.source.start.column,u=this.source.start.line;for(let S=0;S<c;S++)_[S]===`
`?(v=1,u+=1):v+=1;return {line:u,column:v}}positionBy(c){let _=this.source.start;if(c.index)_=this.positionInside(c.index);else if(c.word){let v=this.toString().indexOf(c.word);v!==-1&&(_=this.positionInside(v));}return _}rangeBy(c){let _={line:this.source.start.line,column:this.source.start.column},v=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:_.line,column:_.column+1};if(c.word){let u=this.toString().indexOf(c.word);u!==-1&&(_=this.positionInside(u),v=this.positionInside(u+c.word.length));}else c.start?_={line:c.start.line,column:c.start.column}:c.index&&(_=this.positionInside(c.index)),c.end?v={line:c.end.line,column:c.end.column}:c.endIndex?v=this.positionInside(c.endIndex):c.index&&(v=this.positionInside(c.index+1));return (v.line<_.line||v.line===_.line&&v.column<=_.column)&&(v={line:_.line,column:_.column+1}),{start:_,end:v}}getProxyProcessor(){return {set(c,_,v){return c[_]===v||(c[_]=v,(_==="prop"||_==="value"||_==="name"||_==="params"||_==="important"||_==="text")&&c.markDirty()),!0},get(c,_){return _==="proxyOf"?c:_==="root"?()=>c.root().toProxy():c[_]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let _=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${_.input.from}:${_.start.line}:${_.start.column}$&`);}return c}markDirty(){if(this[i]){this[i]=!1;let c=this;for(;c=c.parent;)c[i]=!1;}}get proxyOf(){return this}};e.exports=h,h.default=h;}),So=ce((t,e)=>{var i=Po(),r=class extends i{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};e.exports=r,r.default=r;}),Ln=ce(()=>{}),Vn=ce(()=>{}),Bh=ce(()=>{}),Hp=ce((t,e)=>{var i="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",r=(a,o=21)=>(p=o)=>{let h="",c=p;for(;c--;)h+=a[Math.random()*a.length|0];return h},s=(a=21)=>{let o="",p=a;for(;p--;)o+=i[Math.random()*64|0];return o};e.exports={nanoid:s,customAlphabet:r};}),Wp=ce(()=>{}),Up=ce((t,e)=>{var{SourceMapConsumer:i,SourceMapGenerator:r}=Ln(),{existsSync:s,readFileSync:a}=Wp(),{dirname:o,join:p}=Vn();function h(_){return Buffer?Buffer.from(_,"base64").toString():window.atob(_)}var c=class{constructor(_,v){if(v.map===!1)return;this.loadAnnotation(_),this.inline=this.startWith(this.annotation,"data:");let u=v.map?v.map.prev:void 0,S=this.loadMap(v.from,u);!this.mapFile&&v.from&&(this.mapFile=v.from),this.mapFile&&(this.root=o(this.mapFile)),S&&(this.text=S);}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(_,v){return _?_.substr(0,v.length)===v:!1}getAnnotationURL(_){return _.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(_){let v=_.match(/\/\*\s*# sourceMappingURL=/gm);if(!v)return;let u=_.lastIndexOf(v.pop()),S=_.indexOf("*/",u);u>-1&&S>-1&&(this.annotation=this.getAnnotationURL(_.substring(u,S)));}decodeInline(_){let v=/^data:application\/json;charset=utf-?8;base64,/,u=/^data:application\/json;base64,/,S=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/;if(S.test(_)||d.test(_))return decodeURIComponent(_.substr(RegExp.lastMatch.length));if(v.test(_)||u.test(_))return h(_.substr(RegExp.lastMatch.length));let g=_.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}loadFile(_){if(this.root=o(_),s(_))return this.mapFile=_,a(_,"utf-8").toString().trim()}loadMap(_,v){if(v===!1)return !1;if(v){if(typeof v=="string")return v;if(typeof v=="function"){let u=v(_);if(u){let S=this.loadFile(u);if(!S)throw new Error("Unable to load previous source map: "+u.toString());return S}}else {if(v instanceof i)return r.fromSourceMap(v).toString();if(v instanceof r)return v.toString();if(this.isMap(v))return JSON.stringify(v);throw new Error("Unsupported previous source map format: "+v.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let u=this.annotation;return _&&(u=p(o(_),u)),this.loadFile(u)}}}isMap(_){return typeof _!="object"?!1:typeof _.mappings=="string"||typeof _._mappings=="string"||Array.isArray(_.sections)}};e.exports=c,c.default=c;}),ko=ce((t,e)=>{var{SourceMapConsumer:i,SourceMapGenerator:r}=Ln(),{fileURLToPath:s,pathToFileURL:a}=Bh(),{resolve:o,isAbsolute:p}=Vn(),{nanoid:h}=Hp(),c=qp(),_=Rh(),v=Up(),u=Symbol("fromOffsetCache"),S=!!(i&&r),d=!!(o&&p),g=class{constructor(A,y={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!d||/^\w+:\/\//.test(y.from)||p(y.from)?this.file=y.from:this.file=o(y.from)),d&&S){let m=new v(this.css,y);if(m.text){this.map=m;let x=m.consumer().file;!this.file&&x&&(this.file=this.mapResolve(x));}}this.file||(this.id="<input css "+h(6)+">"),this.map&&(this.map.file=this.from);}fromOffset(A){let y,m;if(this[u])m=this[u];else {let w=this.css.split(`
`);m=new Array(w.length);let M=0;for(let N=0,U=w.length;N<U;N++)m[N]=M,M+=w[N].length+1;this[u]=m;}y=m[m.length-1];let x=0;if(A>=y)x=m.length-1;else {let w=m.length-2,M;for(;x<w;)if(M=x+(w-x>>1),A<m[M])w=M-1;else if(A>=m[M+1])x=M+1;else {x=M;break}}return {line:x+1,col:A-m[x]+1}}error(A,y,m,x={}){let w,M,N;if(y&&typeof y=="object"){let Y=y,dt=m;if(typeof Y.offset=="number"){let xt=this.fromOffset(Y.offset);y=xt.line,m=xt.col;}else y=Y.line,m=Y.column;if(typeof dt.offset=="number"){let xt=this.fromOffset(dt.offset);M=xt.line,N=xt.col;}else M=dt.line,N=dt.column;}else if(!m){let Y=this.fromOffset(y);y=Y.line,m=Y.col;}let U=this.origin(y,m,M,N);return U?w=new _(A,U.endLine===void 0?U.line:{line:U.line,column:U.column},U.endLine===void 0?U.column:{line:U.endLine,column:U.endColumn},U.source,U.file,x.plugin):w=new _(A,M===void 0?y:{line:y,column:m},M===void 0?m:{line:M,column:N},this.css,this.file,x.plugin),w.input={line:y,column:m,endLine:M,endColumn:N,source:this.css},this.file&&(a&&(w.input.url=a(this.file).toString()),w.input.file=this.file),w}origin(A,y,m,x){if(!this.map)return !1;let w=this.map.consumer(),M=w.originalPositionFor({line:A,column:y});if(!M.source)return !1;let N;typeof m=="number"&&(N=w.originalPositionFor({line:m,column:x}));let U;p(M.source)?U=a(M.source):U=new URL(M.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let Y={url:U.toString(),line:M.line,column:M.column,endLine:N&&N.line,endColumn:N&&N.column};if(U.protocol==="file:")if(s)Y.file=s(U);else throw new Error("file: protocol is not available in this PostCSS build");let dt=w.sourceContentFor(M.source);return dt&&(Y.source=dt),Y}mapResolve(A){return /^\w+:\/\//.test(A)?A:o(this.map.consumer().sourceRoot||this.map.root||".",A)}get from(){return this.file||this.id}toJSON(){let A={};for(let y of ["hasBOM","css","file","id"])this[y]!=null&&(A[y]=this[y]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}};e.exports=g,g.default=g,c&&c.registerInput&&c.registerInput(g);}),Jp=ce((t,e)=>{var{SourceMapConsumer:i,SourceMapGenerator:r}=Ln(),{dirname:s,resolve:a,relative:o,sep:p}=Vn(),{pathToFileURL:h}=Bh(),c=ko(),_=!!(i&&r),v=!!(s&&a&&o&&p),u=class{constructor(S,d,g,A){this.stringify=S,this.mapOpts=g.map||{},this.root=d,this.opts=g,this.css=A,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute;}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(S=>{if(S.source&&S.source.input.map){let d=S.source.input.map;this.previousMaps.includes(d)||this.previousMaps.push(d);}});else {let S=new c(this.css,this.opts);S.map&&this.previousMaps.push(S.map);}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let S=this.mapOpts.annotation;return typeof S<"u"&&S!==!0?!1:this.previous().length?this.previous().some(d=>d.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(S=>S.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let S;for(let d=this.root.nodes.length-1;d>=0;d--)S=this.root.nodes[d],S.type==="comment"&&S.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(d);}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""));}setSourcesContent(){let S={};if(this.root)this.root.walk(d=>{if(d.source){let g=d.source.input.from;if(g&&!S[g]){S[g]=!0;let A=this.usesFileUrls?this.toFileUrl(g):this.toUrl(this.path(g));this.map.setSourceContent(A,d.source.input.css);}}});else if(this.css){let d=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(d,this.css);}}applyPrevMaps(){for(let S of this.previous()){let d=this.toUrl(this.path(S.file)),g=S.root||s(S.file),A;this.mapOpts.sourcesContent===!1?(A=new i(S.text),A.sourcesContent&&(A.sourcesContent=A.sourcesContent.map(()=>null))):A=S.consumer(),this.map.applySourceMap(A,d,this.toUrl(this.path(g)));}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(S=>S.annotation):!0}toBase64(S){return Buffer?Buffer.from(S).toString("base64"):window.btoa(unescape(encodeURIComponent(S)))}addAnnotation(){let S;this.isInline()?S="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?S=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?S=this.mapOpts.annotation(this.opts.to,this.root):S=this.outputFile()+".map";let d=`
`;this.css.includes(`\r
`)&&(d=`\r
`),this.css+=d+"/*# sourceMappingURL="+S+" */";}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let S=this.previous()[0].consumer();S.file=this.outputFile(),this.map=r.fromSourceMap(S);}else this.map=new r({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(S){if(S.indexOf("<")===0||/^\w+:\/\//.test(S)||this.mapOpts.absolute)return S;let d=this.opts.to?s(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(d=s(a(d,this.mapOpts.annotation))),S=o(d,S),S}toUrl(S){return p==="\\"&&(S=S.replace(/\\/g,"/")),encodeURI(S).replace(/[#?]/g,encodeURIComponent)}toFileUrl(S){if(h)return h(S).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(S){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(S.source.input.from):this.toUrl(this.path(S.source.input.from))}generateString(){this.css="",this.map=new r({file:this.outputFile()});let S=1,d=1,g="<no source>",A={source:"",generated:{line:0,column:0},original:{line:0,column:0}},y,m;this.stringify(this.root,(x,w,M)=>{if(this.css+=x,w&&M!=="end"&&(A.generated.line=S,A.generated.column=d-1,w.source&&w.source.start?(A.source=this.sourcePath(w),A.original.line=w.source.start.line,A.original.column=w.source.start.column-1,this.map.addMapping(A)):(A.source=g,A.original.line=1,A.original.column=0,this.map.addMapping(A))),y=x.match(/\n/g),y?(S+=y.length,m=x.lastIndexOf(`
`),d=x.length-m):d+=x.length,w&&M!=="start"){let N=w.parent||{raws:{}};(!(w.type==="decl"||w.type==="atrule"&&!w.nodes)||w!==N.last||N.raws.semicolon)&&(w.source&&w.source.end?(A.source=this.sourcePath(w),A.original.line=w.source.end.line,A.original.column=w.source.end.column-1,A.generated.line=S,A.generated.column=d-2,this.map.addMapping(A)):(A.source=g,A.original.line=1,A.original.column=0,A.generated.line=S,A.generated.column=d-1,this.map.addMapping(A)));}});}generate(){if(this.clearAnnotation(),v&&_&&this.isMap())return this.generateMap();{let S="";return this.stringify(this.root,d=>{S+=d;}),[S]}}};e.exports=u;}),wo=ce((t,e)=>{var i=Po(),r=class extends i{constructor(s){super(s),this.type="comment";}};e.exports=r,r.default=r;}),Ha=ce((t,e)=>{var{isClean:i,my:r}=Oh(),s=So(),a=wo(),o=Po(),p,h,c,_;function v(d){return d.map(g=>(g.nodes&&(g.nodes=v(g.nodes)),delete g.source,g))}function u(d){if(d[i]=!1,d.proxyOf.nodes)for(let g of d.proxyOf.nodes)u(g);}var S=class extends o{push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}each(d){if(!this.proxyOf.nodes)return;let g=this.getIterator(),A,y;for(;this.indexes[g]<this.proxyOf.nodes.length&&(A=this.indexes[g],y=d(this.proxyOf.nodes[A],A),y!==!1);)this.indexes[g]+=1;return delete this.indexes[g],y}walk(d){return this.each((g,A)=>{let y;try{y=d(g,A);}catch(m){throw g.addToError(m)}return y!==!1&&g.walk&&(y=g.walk(d)),y})}walkDecls(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="decl"&&d.test(A.prop))return g(A,y)}):this.walk((A,y)=>{if(A.type==="decl"&&A.prop===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="decl")return g(A,y)}))}walkRules(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="rule"&&d.test(A.selector))return g(A,y)}):this.walk((A,y)=>{if(A.type==="rule"&&A.selector===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="rule")return g(A,y)}))}walkAtRules(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="atrule"&&d.test(A.name))return g(A,y)}):this.walk((A,y)=>{if(A.type==="atrule"&&A.name===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="atrule")return g(A,y)}))}walkComments(d){return this.walk((g,A)=>{if(g.type==="comment")return d(g,A)})}append(...d){for(let g of d){let A=this.normalize(g,this.last);for(let y of A)this.proxyOf.nodes.push(y);}return this.markDirty(),this}prepend(...d){d=d.reverse();for(let g of d){let A=this.normalize(g,this.first,"prepend").reverse();for(let y of A)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+A.length;}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let g of this.nodes)g.cleanRaws(d);}insertBefore(d,g){let A=this.index(d),y=A===0?"prepend":!1,m=this.normalize(g,this.proxyOf.nodes[A],y).reverse();A=this.index(d);for(let w of m)this.proxyOf.nodes.splice(A,0,w);let x;for(let w in this.indexes)x=this.indexes[w],A<=x&&(this.indexes[w]=x+m.length);return this.markDirty(),this}insertAfter(d,g){let A=this.index(d),y=this.normalize(g,this.proxyOf.nodes[A]).reverse();A=this.index(d);for(let x of y)this.proxyOf.nodes.splice(A+1,0,x);let m;for(let x in this.indexes)m=this.indexes[x],A<m&&(this.indexes[x]=m+y.length);return this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let g;for(let A in this.indexes)g=this.indexes[A],g>=d&&(this.indexes[A]=g-1);return this.markDirty(),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(d,g,A){return A||(A=g,g={}),this.walkDecls(y=>{g.props&&!g.props.includes(y.prop)||g.fast&&!y.value.includes(g.fast)||(y.value=y.value.replace(d,A));}),this.markDirty(),this}every(d){return this.nodes.every(d)}some(d){return this.nodes.some(d)}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(d,g){if(typeof d=="string")d=v(p(d).nodes);else if(Array.isArray(d)){d=d.slice(0);for(let A of d)A.parent&&A.parent.removeChild(A,"ignore");}else if(d.type==="root"&&this.type!=="document"){d=d.nodes.slice(0);for(let A of d)A.parent&&A.parent.removeChild(A,"ignore");}else if(d.type)d=[d];else if(d.prop){if(typeof d.value>"u")throw new Error("Value field is missed in node creation");typeof d.value!="string"&&(d.value=String(d.value)),d=[new s(d)];}else if(d.selector)d=[new h(d)];else if(d.name)d=[new c(d)];else if(d.text)d=[new a(d)];else throw new Error("Unknown node type in node creation");return d.map(A=>(A[r]||S.rebuild(A),A=A.proxyOf,A.parent&&A.parent.removeChild(A),A[i]&&u(A),typeof A.raws.before>"u"&&g&&typeof g.raws.before<"u"&&(A.raws.before=g.raws.before.replace(/\S/g,"")),A.parent=this.proxyOf,A))}getProxyProcessor(){return {set(d,g,A){return d[g]===A||(d[g]=A,(g==="name"||g==="params"||g==="selector")&&d.markDirty()),!0},get(d,g){return g==="proxyOf"?d:d[g]?g==="each"||typeof g=="string"&&g.startsWith("walk")?(...A)=>d[g](...A.map(y=>typeof y=="function"?(m,x)=>y(m.toProxy(),x):y)):g==="every"||g==="some"?A=>d[g]((y,...m)=>A(y.toProxy(),...m)):g==="root"?()=>d.root().toProxy():g==="nodes"?d.nodes.map(A=>A.toProxy()):g==="first"||g==="last"?d[g].toProxy():d[g]:d[g]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let d=this.lastEach;return this.indexes[d]=0,d}};S.registerParse=d=>{p=d;},S.registerRule=d=>{h=d;},S.registerAtRule=d=>{c=d;},S.registerRoot=d=>{_=d;},e.exports=S,S.default=S,S.rebuild=d=>{d.type==="atrule"?Object.setPrototypeOf(d,c.prototype):d.type==="rule"?Object.setPrototypeOf(d,h.prototype):d.type==="decl"?Object.setPrototypeOf(d,s.prototype):d.type==="comment"?Object.setPrototypeOf(d,a.prototype):d.type==="root"&&Object.setPrototypeOf(d,_.prototype),d[r]=!0,d.nodes&&d.nodes.forEach(g=>{S.rebuild(g);});};}),zh=ce((t,e)=>{var i=Ha(),r,s,a=class extends i{constructor(o){super({type:"document",...o}),this.nodes||(this.nodes=[]);}toResult(o={}){return new r(new s,this,o).stringify()}};a.registerLazyResult=o=>{r=o;},a.registerProcessor=o=>{s=o;},e.exports=a,a.default=a;}),Xp=ce((t,e)=>{var i={};e.exports=function(r){i[r]||(i[r]=!0,typeof console<"u"&&console.warn&&console.warn(r));};}),Yp=ce((t,e)=>{var i=class{constructor(r,s={}){if(this.type="warning",this.text=r,s.node&&s.node.source){let a=s.node.rangeBy(s);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column;}for(let a in s)this[a]=s[a];}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};e.exports=i,i.default=i;}),Nh=ce((t,e)=>{var i=Yp(),r=class{constructor(s,a,o){this.processor=s,this.messages=[],this.root=a,this.opts=o,this.css=void 0,this.map=void 0;}toString(){return this.css}warn(s,a={}){a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);let o=new i(s,a);return this.messages.push(o),o}warnings(){return this.messages.filter(s=>s.type==="warning")}get content(){return this.css}};e.exports=r,r.default=r;}),pm=ce((t,e)=>{var i="'".charCodeAt(0),r='"'.charCodeAt(0),s="\\".charCodeAt(0),a="/".charCodeAt(0),o=`
`.charCodeAt(0),p=" ".charCodeAt(0),h="\f".charCodeAt(0),c=" ".charCodeAt(0),_="\r".charCodeAt(0),v="[".charCodeAt(0),u="]".charCodeAt(0),S="(".charCodeAt(0),d=")".charCodeAt(0),g="{".charCodeAt(0),A="}".charCodeAt(0),y=";".charCodeAt(0),m="*".charCodeAt(0),x=":".charCodeAt(0),w="@".charCodeAt(0),M=/[\t\n\f\r "#'()/;[\\\]{}]/g,N=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,U=/.[\n"'(/\\]/,Y=/[\da-f]/i;e.exports=function(dt,xt={}){let vt=dt.css.valueOf(),bt=xt.ignoreErrors,It,ot,Tt,z,$,E,q,nt,Q,Ut,zt=vt.length,qt=0,Gt=[],se=[];function he(){return qt}function le(de){throw dt.error("Unclosed "+de,qt)}function Se(){return se.length===0&&qt>=zt}function Pe(de){if(se.length)return se.pop();if(qt>=zt)return;let Xt=de?de.ignoreUnclosed:!1;switch(It=vt.charCodeAt(qt),It){case o:case p:case c:case _:case h:{ot=qt;do ot+=1,It=vt.charCodeAt(ot);while(It===p||It===o||It===c||It===_||It===h);Ut=["space",vt.slice(qt,ot)],qt=ot-1;break}case v:case u:case g:case A:case x:case y:case d:{let Wt=String.fromCharCode(It);Ut=[Wt,Wt,qt];break}case S:{if(nt=Gt.length?Gt.pop()[1]:"",Q=vt.charCodeAt(qt+1),nt==="url"&&Q!==i&&Q!==r&&Q!==p&&Q!==o&&Q!==c&&Q!==h&&Q!==_){ot=qt;do{if(E=!1,ot=vt.indexOf(")",ot+1),ot===-1)if(bt||Xt){ot=qt;break}else le("bracket");for(q=ot;vt.charCodeAt(q-1)===s;)q-=1,E=!E;}while(E);Ut=["brackets",vt.slice(qt,ot+1),qt,ot],qt=ot;}else ot=vt.indexOf(")",qt+1),z=vt.slice(qt,ot+1),ot===-1||U.test(z)?Ut=["(","(",qt]:(Ut=["brackets",z,qt,ot],qt=ot);break}case i:case r:{Tt=It===i?"'":'"',ot=qt;do{if(E=!1,ot=vt.indexOf(Tt,ot+1),ot===-1)if(bt||Xt){ot=qt+1;break}else le("string");for(q=ot;vt.charCodeAt(q-1)===s;)q-=1,E=!E;}while(E);Ut=["string",vt.slice(qt,ot+1),qt,ot],qt=ot;break}case w:{M.lastIndex=qt+1,M.test(vt),M.lastIndex===0?ot=vt.length-1:ot=M.lastIndex-2,Ut=["at-word",vt.slice(qt,ot+1),qt,ot],qt=ot;break}case s:{for(ot=qt,$=!0;vt.charCodeAt(ot+1)===s;)ot+=1,$=!$;if(It=vt.charCodeAt(ot+1),$&&It!==a&&It!==p&&It!==o&&It!==c&&It!==_&&It!==h&&(ot+=1,Y.test(vt.charAt(ot)))){for(;Y.test(vt.charAt(ot+1));)ot+=1;vt.charCodeAt(ot+1)===p&&(ot+=1);}Ut=["word",vt.slice(qt,ot+1),qt,ot],qt=ot;break}default:{It===a&&vt.charCodeAt(qt+1)===m?(ot=vt.indexOf("*/",qt+2)+1,ot===0&&(bt||Xt?ot=vt.length:le("comment")),Ut=["comment",vt.slice(qt,ot+1),qt,ot],qt=ot):(N.lastIndex=qt+1,N.test(vt),N.lastIndex===0?ot=vt.length-1:ot=N.lastIndex-2,Ut=["word",vt.slice(qt,ot+1),qt,ot],Gt.push(Ut),qt=ot);break}}return qt++,Ut}function Jt(de){se.push(de);}return {back:Jt,nextToken:Pe,endOfFile:Se,position:he}};}),Gh=ce((t,e)=>{var i=Ha(),r=class extends i{constructor(s){super(s),this.type="atrule";}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}};e.exports=r,r.default=r,i.registerAtRule(r);}),Rn=ce((t,e)=>{var i=Ha(),r,s,a=class extends i{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[]);}removeChild(o,p){let h=this.index(o);return !p&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(o)}normalize(o,p,h){let c=super.normalize(o);if(p){if(h==="prepend")this.nodes.length>1?p.raws.before=this.nodes[1].raws.before:delete p.raws.before;else if(this.first!==p)for(let _ of c)_.raws.before=p.raws.before;}return c}toResult(o={}){return new r(new s,this,o).stringify()}};a.registerLazyResult=o=>{r=o;},a.registerProcessor=o=>{s=o;},e.exports=a,a.default=a,i.registerRoot(a);}),Zp=ce((t,e)=>{var i={split(r,s,a){let o=[],p="",h=!1,c=0,_=!1,v="",u=!1;for(let S of r)u?u=!1:S==="\\"?u=!0:_?S===v&&(_=!1):S==='"'||S==="'"?(_=!0,v=S):S==="("?c+=1:S===")"?c>0&&(c-=1):c===0&&s.includes(S)&&(h=!0),h?(p!==""&&o.push(p.trim()),p="",h=!1):p+=S;return (a||p!=="")&&o.push(p.trim()),o},space(r){let s=[" ",`
`," "];return i.split(r,s)},comma(r){return i.split(r,[","],!0)}};e.exports=i,i.default=i;}),jh=ce((t,e)=>{var i=Ha(),r=Zp(),s=class extends i{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return r.comma(this.selector)}set selectors(a){let o=this.selector?this.selector.match(/,\s*/):null,p=o?o[0]:","+this.raw("between","beforeOpen");this.selector=a.join(p);}};e.exports=s,s.default=s,i.registerRule(s);}),fm=ce((t,e)=>{var i=So(),r=pm(),s=wo(),a=Gh(),o=Rn(),p=jh(),h={empty:!0,space:!0};function c(v){for(let u=v.length-1;u>=0;u--){let S=v[u],d=S[3]||S[2];if(d)return d}}var _=class{constructor(v){this.input=v,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:v,start:{offset:0,line:1,column:1}};}createTokenizer(){this.tokenizer=r(this.input);}parse(){let v;for(;!this.tokenizer.endOfFile();)switch(v=this.tokenizer.nextToken(),v[0]){case"space":this.spaces+=v[1];break;case";":this.freeSemicolon(v);break;case"}":this.end(v);break;case"comment":this.comment(v);break;case"at-word":this.atrule(v);break;case"{":this.emptyRule(v);break;default:this.other(v);break}this.endFile();}comment(v){let u=new s;this.init(u,v[2]),u.source.end=this.getPosition(v[3]||v[2]);let S=v[1].slice(2,-2);if(/^\s*$/.test(S))u.text="",u.raws.left=S,u.raws.right="";else {let d=S.match(/^(\s*)([^]*\S)(\s*)$/);u.text=d[2],u.raws.left=d[1],u.raws.right=d[3];}}emptyRule(v){let u=new p;this.init(u,v[2]),u.selector="",u.raws.between="",this.current=u;}other(v){let u=!1,S=null,d=!1,g=null,A=[],y=v[1].startsWith("--"),m=[],x=v;for(;x;){if(S=x[0],m.push(x),S==="("||S==="[")g||(g=x),A.push(S==="("?")":"]");else if(y&&d&&S==="{")g||(g=x),A.push("}");else if(A.length===0)if(S===";")if(d){this.decl(m,y);return}else break;else if(S==="{"){this.rule(m);return}else if(S==="}"){this.tokenizer.back(m.pop()),u=!0;break}else S===":"&&(d=!0);else S===A[A.length-1]&&(A.pop(),A.length===0&&(g=null));x=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(u=!0),A.length>0&&this.unclosedBracket(g),u&&d){if(!y)for(;m.length&&(x=m[m.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,y);}else this.unknownWord(m);}rule(v){v.pop();let u=new p;this.init(u,v[0][2]),u.raws.between=this.spacesAndCommentsFromEnd(v),this.raw(u,"selector",v),this.current=u;}decl(v,u){let S=new i;this.init(S,v[0][2]);let d=v[v.length-1];for(d[0]===";"&&(this.semicolon=!0,v.pop()),S.source.end=this.getPosition(d[3]||d[2]||c(v));v[0][0]!=="word";)v.length===1&&this.unknownWord(v),S.raws.before+=v.shift()[1];for(S.source.start=this.getPosition(v[0][2]),S.prop="";v.length;){let m=v[0][0];if(m===":"||m==="space"||m==="comment")break;S.prop+=v.shift()[1];}S.raws.between="";let g;for(;v.length;)if(g=v.shift(),g[0]===":"){S.raws.between+=g[1];break}else g[0]==="word"&&/\w/.test(g[1])&&this.unknownWord([g]),S.raws.between+=g[1];(S.prop[0]==="_"||S.prop[0]==="*")&&(S.raws.before+=S.prop[0],S.prop=S.prop.slice(1));let A=[],y;for(;v.length&&(y=v[0][0],!(y!=="space"&&y!=="comment"));)A.push(v.shift());this.precheckMissedSemicolon(v);for(let m=v.length-1;m>=0;m--){if(g=v[m],g[1].toLowerCase()==="!important"){S.important=!0;let x=this.stringFrom(v,m);x=this.spacesFromEnd(v)+x,x!==" !important"&&(S.raws.important=x);break}else if(g[1].toLowerCase()==="important"){let x=v.slice(0),w="";for(let M=m;M>0;M--){let N=x[M][0];if(w.trim().indexOf("!")===0&&N!=="space")break;w=x.pop()[1]+w;}w.trim().indexOf("!")===0&&(S.important=!0,S.raws.important=w,v=x);}if(g[0]!=="space"&&g[0]!=="comment")break}v.some(m=>m[0]!=="space"&&m[0]!=="comment")&&(S.raws.between+=A.map(m=>m[1]).join(""),A=[]),this.raw(S,"value",A.concat(v),u),S.value.includes(":")&&!u&&this.checkMissedSemicolon(v);}atrule(v){let u=new a;u.name=v[1].slice(1),u.name===""&&this.unnamedAtrule(u,v),this.init(u,v[2]);let S,d,g,A=!1,y=!1,m=[],x=[];for(;!this.tokenizer.endOfFile();){if(v=this.tokenizer.nextToken(),S=v[0],S==="("||S==="["?x.push(S==="("?")":"]"):S==="{"&&x.length>0?x.push("}"):S===x[x.length-1]&&x.pop(),x.length===0)if(S===";"){u.source.end=this.getPosition(v[2]),this.semicolon=!0;break}else if(S==="{"){y=!0;break}else if(S==="}"){if(m.length>0){for(g=m.length-1,d=m[g];d&&d[0]==="space";)d=m[--g];d&&(u.source.end=this.getPosition(d[3]||d[2]));}this.end(v);break}else m.push(v);else m.push(v);if(this.tokenizer.endOfFile()){A=!0;break}}u.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(u.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(u,"params",m),A&&(v=m[m.length-1],u.source.end=this.getPosition(v[3]||v[2]),this.spaces=u.raws.between,u.raws.between="")):(u.raws.afterName="",u.params=""),y&&(u.nodes=[],this.current=u);}end(v){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(v[2]),this.current=this.current.parent):this.unexpectedClose(v);}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;}freeSemicolon(v){if(this.spaces+=v[1],this.current.nodes){let u=this.current.nodes[this.current.nodes.length-1];u&&u.type==="rule"&&!u.raws.ownSemicolon&&(u.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(v){let u=this.input.fromOffset(v);return {offset:v,line:u.line,column:u.col}}init(v,u){this.current.push(v),v.source={start:this.getPosition(u),input:this.input},v.raws.before=this.spaces,this.spaces="",v.type!=="comment"&&(this.semicolon=!1);}raw(v,u,S,d){let g,A,y=S.length,m="",x=!0,w,M;for(let N=0;N<y;N+=1)g=S[N],A=g[0],A==="space"&&N===y-1&&!d?x=!1:A==="comment"?(M=S[N-1]?S[N-1][0]:"empty",w=S[N+1]?S[N+1][0]:"empty",!h[M]&&!h[w]?m.slice(-1)===","?x=!1:m+=g[1]:x=!1):m+=g[1];if(!x){let N=S.reduce((U,Y)=>U+Y[1],"");v.raws[u]={value:m,raw:N};}v[u]=m;}spacesAndCommentsFromEnd(v){let u,S="";for(;v.length&&(u=v[v.length-1][0],!(u!=="space"&&u!=="comment"));)S=v.pop()[1]+S;return S}spacesAndCommentsFromStart(v){let u,S="";for(;v.length&&(u=v[0][0],!(u!=="space"&&u!=="comment"));)S+=v.shift()[1];return S}spacesFromEnd(v){let u,S="";for(;v.length&&(u=v[v.length-1][0],u==="space");)S=v.pop()[1]+S;return S}stringFrom(v,u){let S="";for(let d=u;d<v.length;d++)S+=v[d][1];return v.splice(u,v.length-u),S}colon(v){let u=0,S,d,g;for(let[A,y]of v.entries()){if(S=y,d=S[0],d==="("&&(u+=1),d===")"&&(u-=1),u===0&&d===":")if(!g)this.doubleColon(S);else {if(g[0]==="word"&&g[1]==="progid")continue;return A}g=S;}return !1}unclosedBracket(v){throw this.input.error("Unclosed bracket",{offset:v[2]},{offset:v[2]+1})}unknownWord(v){throw this.input.error("Unknown word",{offset:v[0][2]},{offset:v[0][2]+v[0][1].length})}unexpectedClose(v){throw this.input.error("Unexpected }",{offset:v[2]},{offset:v[2]+1})}unclosedBlock(){let v=this.current.source.start;throw this.input.error("Unclosed block",v.line,v.column)}doubleColon(v){throw this.input.error("Double colon",{offset:v[2]},{offset:v[2]+v[1].length})}unnamedAtrule(v,u){throw this.input.error("At-rule without name",{offset:u[2]},{offset:u[2]+u[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(v){let u=this.colon(v);if(u===!1)return;let S=0,d;for(let g=u-1;g>=0&&(d=v[g],!(d[0]!=="space"&&(S+=1,S===2)));g--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}};e.exports=_;}),qh=ce((t,e)=>{var i=Ha(),r=fm(),s=ko();function a(o,p){let h=new s(o,p),c=new r(h);try{c.parse();}catch(_){throw _}return c.root}e.exports=a,a.default=a,i.registerParse(a);}),Kp=ce((t,e)=>{var{isClean:i,my:r}=Oh(),s=Jp(),a=_o(),o=Ha(),p=zh();Xp();var h=Nh(),c=qh(),_=Rn(),v={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},u={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},S={postcssPlugin:!0,prepare:!0,Once:!0},d=0;function g(M){return typeof M=="object"&&typeof M.then=="function"}function A(M){let N=!1,U=v[M.type];return M.type==="decl"?N=M.prop.toLowerCase():M.type==="atrule"&&(N=M.name.toLowerCase()),N&&M.append?[U,U+"-"+N,d,U+"Exit",U+"Exit-"+N]:N?[U,U+"-"+N,U+"Exit",U+"Exit-"+N]:M.append?[U,d,U+"Exit"]:[U,U+"Exit"]}function y(M){let N;return M.type==="document"?N=["Document",d,"DocumentExit"]:M.type==="root"?N=["Root",d,"RootExit"]:N=A(M),{node:M,events:N,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function m(M){return M[i]=!1,M.nodes&&M.nodes.forEach(N=>m(N)),M}var x={},w=class{constructor(M,N,U){this.stringified=!1,this.processed=!1;let Y;if(typeof N=="object"&&N!==null&&(N.type==="root"||N.type==="document"))Y=m(N);else if(N instanceof w||N instanceof h)Y=m(N.root),N.map&&(typeof U.map>"u"&&(U.map={}),U.map.inline||(U.map.inline=!1),U.map.prev=N.map);else {let dt=c;U.syntax&&(dt=U.syntax.parse),U.parser&&(dt=U.parser),dt.parse&&(dt=dt.parse);try{Y=dt(N,U);}catch(xt){this.processed=!0,this.error=xt;}Y&&!Y[r]&&o.rebuild(Y);}this.result=new h(M,Y,U),this.helpers={...x,result:this.result,postcss:x},this.plugins=this.processor.plugins.map(dt=>typeof dt=="object"&&dt.prepare?{...dt,...dt.prepare(this.result)}:dt);}get[Symbol.toStringTag](){return "LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(M,N){return this.async().then(M,N)}catch(M){return this.async().catch(M)}finally(M){return this.async().then(M,M)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let M of this.plugins){let N=this.runOnRoot(M);if(g(N))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let M=this.result.root;for(;!M[i];)M[i]=!0,this.walkSync(M);if(this.listeners.OnceExit)if(M.type==="document")for(let N of M.nodes)this.visitSync(this.listeners.OnceExit,N);else this.visitSync(this.listeners.OnceExit,M);}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let M=this.result.opts,N=a;M.syntax&&(N=M.syntax.stringify),M.stringifier&&(N=M.stringifier),N.stringify&&(N=N.stringify);let U=new s(N,this.result.root,this.result.opts).generate();return this.result.css=U[0],this.result.map=U[1],this.result}walkSync(M){M[i]=!0;let N=A(M);for(let U of N)if(U===d)M.nodes&&M.each(Y=>{Y[i]||this.walkSync(Y);});else {let Y=this.listeners[U];if(Y&&this.visitSync(Y,M.toProxy()))return}}visitSync(M,N){for(let[U,Y]of M){this.result.lastPlugin=U;let dt;try{dt=Y(N,this.helpers);}catch(xt){throw this.handleError(xt,N.proxyOf)}if(N.type!=="root"&&N.type!=="document"&&!N.parent)return !0;if(g(dt))throw this.getAsyncError()}}runOnRoot(M){this.result.lastPlugin=M;try{if(typeof M=="object"&&M.Once){if(this.result.root.type==="document"){let N=this.result.root.nodes.map(U=>M.Once(U,this.helpers));return g(N[0])?Promise.all(N):N}return M.Once(this.result.root,this.helpers)}else if(typeof M=="function")return M(this.result.root,this.result)}catch(N){throw this.handleError(N)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(M,N){let U=this.result.lastPlugin;try{N&&N.addToError(M),this.error=M,M.name==="CssSyntaxError"&&!M.plugin?(M.plugin=U.postcssPlugin,M.setMessage()):U.postcssVersion;}catch(Y){console&&console.error&&console.error(Y);}return M}async runAsync(){this.plugin=0;for(let M=0;M<this.plugins.length;M++){let N=this.plugins[M],U=this.runOnRoot(N);if(g(U))try{await U;}catch(Y){throw this.handleError(Y)}}if(this.prepareVisitors(),this.hasListener){let M=this.result.root;for(;!M[i];){M[i]=!0;let N=[y(M)];for(;N.length>0;){let U=this.visitTick(N);if(g(U))try{await U;}catch(Y){let dt=N[N.length-1].node;throw this.handleError(Y,dt)}}}if(this.listeners.OnceExit)for(let[N,U]of this.listeners.OnceExit){this.result.lastPlugin=N;try{if(M.type==="document"){let Y=M.nodes.map(dt=>U(dt,this.helpers));await Promise.all(Y);}else await U(M,this.helpers);}catch(Y){throw this.handleError(Y)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let M=(N,U,Y)=>{this.listeners[U]||(this.listeners[U]=[]),this.listeners[U].push([N,Y]);};for(let N of this.plugins)if(typeof N=="object")for(let U in N){if(!u[U]&&/^[A-Z]/.test(U))throw new Error(`Unknown event ${U} in ${N.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!S[U])if(typeof N[U]=="object")for(let Y in N[U])Y==="*"?M(N,U,N[U][Y]):M(N,U+"-"+Y.toLowerCase(),N[U][Y]);else typeof N[U]=="function"&&M(N,U,N[U]);}this.hasListener=Object.keys(this.listeners).length>0;}visitTick(M){let N=M[M.length-1],{node:U,visitors:Y}=N;if(U.type!=="root"&&U.type!=="document"&&!U.parent){M.pop();return}if(Y.length>0&&N.visitorIndex<Y.length){let[xt,vt]=Y[N.visitorIndex];N.visitorIndex+=1,N.visitorIndex===Y.length&&(N.visitors=[],N.visitorIndex=0),this.result.lastPlugin=xt;try{return vt(U.toProxy(),this.helpers)}catch(bt){throw this.handleError(bt,U)}}if(N.iterator!==0){let xt=N.iterator,vt;for(;vt=U.nodes[U.indexes[xt]];)if(U.indexes[xt]+=1,!vt[i]){vt[i]=!0,M.push(y(vt));return}N.iterator=0,delete U.indexes[xt];}let dt=N.events;for(;N.eventIndex<dt.length;){let xt=dt[N.eventIndex];if(N.eventIndex+=1,xt===d){U.nodes&&U.nodes.length&&(U[i]=!0,N.iterator=U.getIterator());return}else if(this.listeners[xt]){N.visitors=this.listeners[xt];return}}M.pop();}};w.registerPostcss=M=>{x=M;},e.exports=w,w.default=w,_.registerLazyResult(w),p.registerLazyResult(w);}),cm=ce((t,e)=>{var i=Jp(),r=_o();Xp();var s=qh(),a=Nh(),o=class{constructor(p,h,c){h=h.toString(),this.stringified=!1,this._processor=p,this._css=h,this._opts=c,this._map=void 0;let _,v=r;this.result=new a(this._processor,_,this._opts),this.result.css=h;let u=this;Object.defineProperty(this.result,"root",{get(){return u.root}});let S=new i(v,_,this._opts,h);if(S.isMap()){let[d,g]=S.generate();d&&(this.result.css=d),g&&(this.result.map=g);}}get[Symbol.toStringTag](){return "NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let p,h=s;try{p=h(this._css,this._opts);}catch(c){this.error=c;}if(this.error)throw this.error;return this._root=p,p}get messages(){return []}warnings(){return []}toString(){return this._css}then(p,h){return this.async().then(p,h)}catch(p){return this.async().catch(p)}finally(p){return this.async().then(p,p)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};e.exports=o,o.default=o;}),um=ce((t,e)=>{var i=cm(),r=Kp(),s=zh(),a=Rn(),o=class{constructor(p=[]){this.version="8.4.24",this.plugins=this.normalize(p);}use(p){return this.plugins=this.plugins.concat(this.normalize([p])),this}process(p,h={}){return this.plugins.length===0&&typeof h.parser>"u"&&typeof h.stringifier>"u"&&typeof h.syntax>"u"?new i(this,p,h):new r(this,p,h)}normalize(p){let h=[];for(let c of p)if(c.postcss===!0?c=c():c.postcss&&(c=c.postcss),typeof c=="object"&&Array.isArray(c.plugins))h=h.concat(c.plugins);else if(typeof c=="object"&&c.postcssPlugin)h.push(c);else if(typeof c=="function")h.push(c);else if(!(typeof c=="object"&&(c.parse||c.stringify)))throw new Error(c+" is not a PostCSS plugin");return h}};e.exports=o,o.default=o,a.registerProcessor(o),s.registerProcessor(o);}),dm=ce((t,e)=>{var i=So(),r=Up(),s=wo(),a=Gh(),o=ko(),p=Rn(),h=jh();function c(_,v){if(Array.isArray(_))return _.map(d=>c(d));let{inputs:u,...S}=_;if(u){v=[];for(let d of u){let g={...d,__proto__:o.prototype};g.map&&(g.map={...g.map,__proto__:r.prototype}),v.push(g);}}if(S.nodes&&(S.nodes=_.nodes.map(d=>c(d,v))),S.source){let{inputId:d,...g}=S.source;S.source=g,d!=null&&(S.source.input=v[d]);}if(S.type==="root")return new p(S);if(S.type==="decl")return new i(S);if(S.type==="rule")return new h(S);if(S.type==="comment")return new s(S);if(S.type==="atrule")return new a(S);throw new Error("Unknown node type: "+_.type)}e.exports=c,c.default=c;}),mm=ce((t,e)=>{var i=Rh(),r=So(),s=Kp(),a=Ha(),o=um(),p=_o(),h=dm(),c=zh(),_=Yp(),v=wo(),u=Gh(),S=Nh(),d=ko(),g=qh(),A=Zp(),y=jh(),m=Rn(),x=Po();function w(...M){return M.length===1&&Array.isArray(M[0])&&(M=M[0]),new o(M)}w.plugin=function(M,N){let U=!1;function Y(...xt){console&&console.warn&&!U&&(U=!0,console.warn(M+`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(M+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
https://www.w3ctech.com/topic/2226`));let vt=N(...xt);return vt.postcssPlugin=M,vt.postcssVersion=new o().version,vt}let dt;return Object.defineProperty(Y,"postcss",{get(){return dt||(dt=Y()),dt}}),Y.process=function(xt,vt,bt){return w([Y(bt)]).process(xt,vt)},Y},w.stringify=p,w.parse=g,w.fromJSON=h,w.list=A,w.comment=M=>new v(M),w.atRule=M=>new u(M),w.decl=M=>new r(M),w.rule=M=>new y(M),w.root=M=>new m(M),w.document=M=>new c(M),w.CssSyntaxError=i,w.Declaration=r,w.Container=a,w.Processor=o,w.Document=c,w.Comment=v,w.Warning=_,w.AtRule=u,w.Result=S,w.Input=d,w.Rule=y,w.Root=m,w.Node=x,s.registerPostcss(w),e.exports=w,w.default=w;}),Qp=ce(()=>{}),tf=ce((t,e)=>{var i=jp(),r=Qp(),s=class extends Error{constructor(a,o,p,h,c,_){super(a),this.name="CssSyntaxError",this.reason=a,c&&(this.file=c),h&&(this.source=h),_&&(this.plugin=_),typeof o<"u"&&typeof p<"u"&&(typeof o=="number"?(this.line=o,this.column=p):(this.line=o.line,this.column=o.column,this.endLine=p.line,this.endColumn=p.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,s);}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason;}showSourceCode(a){if(!this.source)return "";let o=this.source;a==null&&(a=i.isColorSupported),r&&a&&(o=r(o));let p=o.split(/\r?\n/),h=Math.max(this.line-3,0),c=Math.min(this.line+2,p.length),_=String(c).length,v,u;if(a){let{bold:S,red:d,gray:g}=i.createColors(!0);v=A=>S(d(A)),u=A=>g(A);}else v=u=S=>S;return p.slice(h,c).map((S,d)=>{let g=h+1+d,A=" "+(" "+g).slice(-_)+" | ";if(g===this.line){let y=u(A.replace(/\d/g," "))+S.slice(0,this.column-1).replace(/[^\t]/g," ");return v(">")+u(A)+S+`
`+y+v("^")}return " "+u(A)+S}).join(`
`)}toString(){let a=this.showSourceCode();return a&&(a=`
`+a+`
`),this.name+": "+this.message+a}};e.exports=s,s.default=s;}),gm=ce((t,e)=>{var{SourceMapConsumer:i,SourceMapGenerator:r}=Ln(),{existsSync:s,readFileSync:a}=Wp(),{dirname:o,join:p}=Vn();function h(_){return Buffer?Buffer.from(_,"base64").toString():window.atob(_)}var c=class{constructor(_,v){if(v.map===!1)return;this.loadAnnotation(_),this.inline=this.startWith(this.annotation,"data:");let u=v.map?v.map.prev:void 0,S=this.loadMap(v.from,u);!this.mapFile&&v.from&&(this.mapFile=v.from),this.mapFile&&(this.root=o(this.mapFile)),S&&(this.text=S);}consumer(){return this.consumerCache||(this.consumerCache=new i(this.text)),this.consumerCache}withContent(){return !!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(_,v){return _?_.substr(0,v.length)===v:!1}getAnnotationURL(_){return _.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(_){let v=_.match(/\/\*\s*# sourceMappingURL=/gm);if(!v)return;let u=_.lastIndexOf(v.pop()),S=_.indexOf("*/",u);u>-1&&S>-1&&(this.annotation=this.getAnnotationURL(_.substring(u,S)));}decodeInline(_){let v=/^data:application\/json;charset=utf-?8;base64,/,u=/^data:application\/json;base64,/,S=/^data:application\/json;charset=utf-?8,/,d=/^data:application\/json,/;if(S.test(_)||d.test(_))return decodeURIComponent(_.substr(RegExp.lastMatch.length));if(v.test(_)||u.test(_))return h(_.substr(RegExp.lastMatch.length));let g=_.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+g)}loadFile(_){if(this.root=o(_),s(_))return this.mapFile=_,a(_,"utf-8").toString().trim()}loadMap(_,v){if(v===!1)return !1;if(v){if(typeof v=="string")return v;if(typeof v=="function"){let u=v(_);if(u){let S=this.loadFile(u);if(!S)throw new Error("Unable to load previous source map: "+u.toString());return S}}else {if(v instanceof i)return r.fromSourceMap(v).toString();if(v instanceof r)return v.toString();if(this.isMap(v))return JSON.stringify(v);throw new Error("Unsupported previous source map format: "+v.toString())}}else {if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let u=this.annotation;return _&&(u=p(o(_),u)),this.loadFile(u)}}}isMap(_){return typeof _!="object"?!1:typeof _.mappings=="string"||typeof _._mappings=="string"||Array.isArray(_.sections)}};e.exports=c,c.default=c;}),ef=ce((t,e)=>{var{SourceMapConsumer:i,SourceMapGenerator:r}=Ln(),{fileURLToPath:s,pathToFileURL:a}=Bh(),{resolve:o,isAbsolute:p}=Vn(),{nanoid:h}=Hp(),c=Qp(),_=tf(),v=gm(),u=Symbol("fromOffsetCache"),S=!!(i&&r),d=!!(o&&p),g=class{constructor(A,y={}){if(A===null||typeof A>"u"||typeof A=="object"&&!A.toString)throw new Error(`PostCSS received ${A} instead of CSS string`);if(this.css=A.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!d||/^\w+:\/\//.test(y.from)||p(y.from)?this.file=y.from:this.file=o(y.from)),d&&S){let m=new v(this.css,y);if(m.text){this.map=m;let x=m.consumer().file;!this.file&&x&&(this.file=this.mapResolve(x));}}this.file||(this.id="<input css "+h(6)+">"),this.map&&(this.map.file=this.from);}fromOffset(A){let y,m;if(this[u])m=this[u];else {let w=this.css.split(`
`);m=new Array(w.length);let M=0;for(let N=0,U=w.length;N<U;N++)m[N]=M,M+=w[N].length+1;this[u]=m;}y=m[m.length-1];let x=0;if(A>=y)x=m.length-1;else {let w=m.length-2,M;for(;x<w;)if(M=x+(w-x>>1),A<m[M])w=M-1;else if(A>=m[M+1])x=M+1;else {x=M;break}}return {line:x+1,col:A-m[x]+1}}error(A,y,m,x={}){let w,M,N;if(y&&typeof y=="object"){let Y=y,dt=m;if(typeof Y.offset=="number"){let xt=this.fromOffset(Y.offset);y=xt.line,m=xt.col;}else y=Y.line,m=Y.column;if(typeof dt.offset=="number"){let xt=this.fromOffset(dt.offset);M=xt.line,N=xt.col;}else M=dt.line,N=dt.column;}else if(!m){let Y=this.fromOffset(y);y=Y.line,m=Y.col;}let U=this.origin(y,m,M,N);return U?w=new _(A,U.endLine===void 0?U.line:{line:U.line,column:U.column},U.endLine===void 0?U.column:{line:U.endLine,column:U.endColumn},U.source,U.file,x.plugin):w=new _(A,M===void 0?y:{line:y,column:m},M===void 0?m:{line:M,column:N},this.css,this.file,x.plugin),w.input={line:y,column:m,endLine:M,endColumn:N,source:this.css},this.file&&(a&&(w.input.url=a(this.file).toString()),w.input.file=this.file),w}origin(A,y,m,x){if(!this.map)return !1;let w=this.map.consumer(),M=w.originalPositionFor({line:A,column:y});if(!M.source)return !1;let N;typeof m=="number"&&(N=w.originalPositionFor({line:m,column:x}));let U;p(M.source)?U=a(M.source):U=new URL(M.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let Y={url:U.toString(),line:M.line,column:M.column,endLine:N&&N.line,endColumn:N&&N.column};if(U.protocol==="file:")if(s)Y.file=s(U);else throw new Error("file: protocol is not available in this PostCSS build");let dt=w.sourceContentFor(M.source);return dt&&(Y.source=dt),Y}mapResolve(A){return /^\w+:\/\//.test(A)?A:o(this.map.consumer().sourceRoot||this.map.root||".",A)}get from(){return this.file||this.id}toJSON(){let A={};for(let y of ["hasBOM","css","file","id"])this[y]!=null&&(A[y]=this[y]);return this.map&&(A.map={...this.map},A.map.consumerCache&&(A.map.consumerCache=void 0)),A}};e.exports=g,g.default=g,c&&c.registerInput&&c.registerInput(g);}),rf=ce((t,e)=>{e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my");}),$h=ce((t,e)=>{var i={colon:": ",indent:" ",beforeDecl:`
`,beforeRule:`
`,beforeOpen:" ",beforeClose:`
`,beforeComment:`
`,after:`
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function r(a){return a[0].toUpperCase()+a.slice(1)}var s=class{constructor(a){this.builder=a;}stringify(a,o){if(!this[a.type])throw new Error("Unknown AST node type "+a.type+". Maybe you need to change PostCSS stringifier.");this[a.type](a,o);}document(a){this.body(a);}root(a){this.body(a),a.raws.after&&this.builder(a.raws.after);}comment(a){let o=this.raw(a,"left","commentLeft"),p=this.raw(a,"right","commentRight");this.builder("/*"+o+a.text+p+"*/",a);}decl(a,o){let p=this.raw(a,"between","colon"),h=a.prop+p+this.rawValue(a,"value");a.important&&(h+=a.raws.important||" !important"),o&&(h+=";"),this.builder(h,a);}rule(a){this.block(a,this.rawValue(a,"selector")),a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end");}atrule(a,o){let p="@"+a.name,h=a.params?this.rawValue(a,"params"):"";if(typeof a.raws.afterName<"u"?p+=a.raws.afterName:h&&(p+=" "),a.nodes)this.block(a,p+h);else {let c=(a.raws.between||"")+(o?";":"");this.builder(p+h+c,a);}}body(a){let o=a.nodes.length-1;for(;o>0&&a.nodes[o].type==="comment";)o-=1;let p=this.raw(a,"semicolon");for(let h=0;h<a.nodes.length;h++){let c=a.nodes[h],_=this.raw(c,"before");_&&this.builder(_),this.stringify(c,o!==h||p);}}block(a,o){let p=this.raw(a,"between","beforeOpen");this.builder(o+p+"{",a,"start");let h;a.nodes&&a.nodes.length?(this.body(a),h=this.raw(a,"after")):h=this.raw(a,"after","emptyBody"),h&&this.builder(h),this.builder("}",a,"end");}raw(a,o,p){let h;if(p||(p=o),o&&(h=a.raws[o],typeof h<"u"))return h;let c=a.parent;if(p==="before"&&(!c||c.type==="root"&&c.first===a||c&&c.type==="document"))return "";if(!c)return i[p];let _=a.root();if(_.rawCache||(_.rawCache={}),typeof _.rawCache[p]<"u")return _.rawCache[p];if(p==="before"||p==="after")return this.beforeAfter(a,p);{let v="raw"+r(p);this[v]?h=this[v](_,a):_.walk(u=>{if(h=u.raws[o],typeof h<"u")return !1});}return typeof h>"u"&&(h=i[p]),_.rawCache[p]=h,h}rawSemicolon(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length&&p.last.type==="decl"&&(o=p.raws.semicolon,typeof o<"u"))return !1}),o}rawEmptyBody(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length===0&&(o=p.raws.after,typeof o<"u"))return !1}),o}rawIndent(a){if(a.raws.indent)return a.raws.indent;let o;return a.walk(p=>{let h=p.parent;if(h&&h!==a&&h.parent&&h.parent===a&&typeof p.raws.before<"u"){let c=p.raws.before.split(`
`);return o=c[c.length-1],o=o.replace(/\S/g,""),!1}}),o}rawBeforeComment(a,o){let p;return a.walkComments(h=>{if(typeof h.raws.before<"u")return p=h.raws.before,p.includes(`
`)&&(p=p.replace(/[^\n]+$/,"")),!1}),typeof p>"u"?p=this.raw(o,null,"beforeDecl"):p&&(p=p.replace(/\S/g,"")),p}rawBeforeDecl(a,o){let p;return a.walkDecls(h=>{if(typeof h.raws.before<"u")return p=h.raws.before,p.includes(`
`)&&(p=p.replace(/[^\n]+$/,"")),!1}),typeof p>"u"?p=this.raw(o,null,"beforeRule"):p&&(p=p.replace(/\S/g,"")),p}rawBeforeRule(a){let o;return a.walk(p=>{if(p.nodes&&(p.parent!==a||a.first!==p)&&typeof p.raws.before<"u")return o=p.raws.before,o.includes(`
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeClose(a){let o;return a.walk(p=>{if(p.nodes&&p.nodes.length>0&&typeof p.raws.after<"u")return o=p.raws.after,o.includes(`
`)&&(o=o.replace(/[^\n]+$/,"")),!1}),o&&(o=o.replace(/\S/g,"")),o}rawBeforeOpen(a){let o;return a.walk(p=>{if(p.type!=="decl"&&(o=p.raws.between,typeof o<"u"))return !1}),o}rawColon(a){let o;return a.walkDecls(p=>{if(typeof p.raws.between<"u")return o=p.raws.between.replace(/[^\s:]/g,""),!1}),o}beforeAfter(a,o){let p;a.type==="decl"?p=this.raw(a,null,"beforeDecl"):a.type==="comment"?p=this.raw(a,null,"beforeComment"):o==="before"?p=this.raw(a,null,"beforeRule"):p=this.raw(a,null,"beforeClose");let h=a.parent,c=0;for(;h&&h.type!=="root";)c+=1,h=h.parent;if(p.includes(`
`)){let _=this.raw(a,null,"indent");if(_.length)for(let v=0;v<c;v++)p+=_;}return p}rawValue(a,o){let p=a[o],h=a.raws[o];return h&&h.value===p?h.raw:p}};e.exports=s,s.default=s;}),ym=ce((t,e)=>{var i=$h();function r(s,a){new i(a).stringify(s);}e.exports=r,r.default=r;}),On=ce((t,e)=>{var{isClean:i,my:r}=rf(),s=tf(),a=$h(),o=ym();function p(c,_){let v=new c.constructor;for(let u in c){if(!Object.prototype.hasOwnProperty.call(c,u)||u==="proxyCache")continue;let S=c[u],d=typeof S;u==="parent"&&d==="object"?_&&(v[u]=_):u==="source"?v[u]=S:Array.isArray(S)?v[u]=S.map(g=>p(g,v)):(d==="object"&&S!==null&&(S=p(S)),v[u]=S);}return v}var h=class{constructor(c={}){this.raws={},this[i]=!1,this[r]=!0;for(let _ in c)if(_==="nodes"){this.nodes=[];for(let v of c[_])typeof v.clone=="function"?this.append(v.clone()):this.append(v);}else this[_]=c[_];}error(c,_={}){if(this.source){let{start:v,end:u}=this.rangeBy(_);return this.source.input.error(c,{line:v.line,column:v.column},{line:u.line,column:u.column},_)}return new s(c)}warn(c,_,v){let u={node:this};for(let S in v)u[S]=v[S];return c.warn(_,u)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(c=o){c.stringify&&(c=c.stringify);let _="";return c(this,v=>{_+=v;}),_}assign(c={}){for(let _ in c)this[_]=c[_];return this}clone(c={}){let _=p(this);for(let v in c)_[v]=c[v];return _}cloneBefore(c={}){let _=this.clone(c);return this.parent.insertBefore(this,_),_}cloneAfter(c={}){let _=this.clone(c);return this.parent.insertAfter(this,_),_}replaceWith(...c){if(this.parent){let _=this,v=!1;for(let u of c)u===this?v=!0:v?(this.parent.insertAfter(_,u),_=u):this.parent.insertBefore(_,u);v||this.remove();}return this}next(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c+1]}prev(){if(!this.parent)return;let c=this.parent.index(this);return this.parent.nodes[c-1]}before(c){return this.parent.insertBefore(this,c),this}after(c){return this.parent.insertAfter(this,c),this}root(){let c=this;for(;c.parent&&c.parent.type!=="document";)c=c.parent;return c}raw(c,_){return new a().raw(this,c,_)}cleanRaws(c){delete this.raws.before,delete this.raws.after,c||delete this.raws.between;}toJSON(c,_){let v={},u=_==null;_=_||new Map;let S=0;for(let d in this){if(!Object.prototype.hasOwnProperty.call(this,d)||d==="parent"||d==="proxyCache")continue;let g=this[d];if(Array.isArray(g))v[d]=g.map(A=>typeof A=="object"&&A.toJSON?A.toJSON(null,_):A);else if(typeof g=="object"&&g.toJSON)v[d]=g.toJSON(null,_);else if(d==="source"){let A=_.get(g.input);A==null&&(A=S,_.set(g.input,S),S++),v[d]={inputId:A,start:g.start,end:g.end};}else v[d]=g;}return u&&(v.inputs=[..._.keys()].map(d=>d.toJSON())),v}positionInside(c){let _=this.toString(),v=this.source.start.column,u=this.source.start.line;for(let S=0;S<c;S++)_[S]===`
`?(v=1,u+=1):v+=1;return {line:u,column:v}}positionBy(c){let _=this.source.start;if(c.index)_=this.positionInside(c.index);else if(c.word){let v=this.toString().indexOf(c.word);v!==-1&&(_=this.positionInside(v));}return _}rangeBy(c){let _={line:this.source.start.line,column:this.source.start.column},v=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:_.line,column:_.column+1};if(c.word){let u=this.toString().indexOf(c.word);u!==-1&&(_=this.positionInside(u),v=this.positionInside(u+c.word.length));}else c.start?_={line:c.start.line,column:c.start.column}:c.index&&(_=this.positionInside(c.index)),c.end?v={line:c.end.line,column:c.end.column}:c.endIndex?v=this.positionInside(c.endIndex):c.index&&(v=this.positionInside(c.index+1));return (v.line<_.line||v.line===_.line&&v.column<=_.column)&&(v={line:_.line,column:_.column+1}),{start:_,end:v}}getProxyProcessor(){return {set(c,_,v){return c[_]===v||(c[_]=v,(_==="prop"||_==="value"||_==="name"||_==="params"||_==="important"||_==="text")&&c.markDirty()),!0},get(c,_){return _==="proxyOf"?c:_==="root"?()=>c.root().toProxy():c[_]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(c){if(c.postcssNode=this,c.stack&&this.source&&/\n\s{4}at /.test(c.stack)){let _=this.source;c.stack=c.stack.replace(/\n\s{4}at /,`$&${_.input.from}:${_.start.line}:${_.start.column}$&`);}return c}markDirty(){if(this[i]){this[i]=!1;let c=this;for(;c=c.parent;)c[i]=!1;}}get proxyOf(){return this}};e.exports=h,h.default=h;}),sf=ce((t,e)=>{var i=On(),r=class extends i{constructor(s){s&&typeof s.value<"u"&&typeof s.value!="string"&&(s={...s,value:String(s.value)}),super(s),this.type="decl";}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};e.exports=r,r.default=r;}),af=ce((t,e)=>{var i="'".charCodeAt(0),r='"'.charCodeAt(0),s="\\".charCodeAt(0),a="/".charCodeAt(0),o=`
`.charCodeAt(0),p=" ".charCodeAt(0),h="\f".charCodeAt(0),c=" ".charCodeAt(0),_="\r".charCodeAt(0),v="[".charCodeAt(0),u="]".charCodeAt(0),S="(".charCodeAt(0),d=")".charCodeAt(0),g="{".charCodeAt(0),A="}".charCodeAt(0),y=";".charCodeAt(0),m="*".charCodeAt(0),x=":".charCodeAt(0),w="@".charCodeAt(0),M=/[\t\n\f\r "#'()/;[\\\]{}]/g,N=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,U=/.[\n"'(/\\]/,Y=/[\da-f]/i;e.exports=function(dt,xt={}){let vt=dt.css.valueOf(),bt=xt.ignoreErrors,It,ot,Tt,z,$,E,q,nt,Q,Ut,zt=vt.length,qt=0,Gt=[],se=[];function he(){return qt}function le(de){throw dt.error("Unclosed "+de,qt)}function Se(){return se.length===0&&qt>=zt}function Pe(de){if(se.length)return se.pop();if(qt>=zt)return;let Xt=de?de.ignoreUnclosed:!1;switch(It=vt.charCodeAt(qt),It){case o:case p:case c:case _:case h:{ot=qt;do ot+=1,It=vt.charCodeAt(ot);while(It===p||It===o||It===c||It===_||It===h);Ut=["space",vt.slice(qt,ot)],qt=ot-1;break}case v:case u:case g:case A:case x:case y:case d:{let Wt=String.fromCharCode(It);Ut=[Wt,Wt,qt];break}case S:{if(nt=Gt.length?Gt.pop()[1]:"",Q=vt.charCodeAt(qt+1),nt==="url"&&Q!==i&&Q!==r&&Q!==p&&Q!==o&&Q!==c&&Q!==h&&Q!==_){ot=qt;do{if(E=!1,ot=vt.indexOf(")",ot+1),ot===-1)if(bt||Xt){ot=qt;break}else le("bracket");for(q=ot;vt.charCodeAt(q-1)===s;)q-=1,E=!E;}while(E);Ut=["brackets",vt.slice(qt,ot+1),qt,ot],qt=ot;}else ot=vt.indexOf(")",qt+1),z=vt.slice(qt,ot+1),ot===-1||U.test(z)?Ut=["(","(",qt]:(Ut=["brackets",z,qt,ot],qt=ot);break}case i:case r:{Tt=It===i?"'":'"',ot=qt;do{if(E=!1,ot=vt.indexOf(Tt,ot+1),ot===-1)if(bt||Xt){ot=qt+1;break}else le("string");for(q=ot;vt.charCodeAt(q-1)===s;)q-=1,E=!E;}while(E);Ut=["string",vt.slice(qt,ot+1),qt,ot],qt=ot;break}case w:{M.lastIndex=qt+1,M.test(vt),M.lastIndex===0?ot=vt.length-1:ot=M.lastIndex-2,Ut=["at-word",vt.slice(qt,ot+1),qt,ot],qt=ot;break}case s:{for(ot=qt,$=!0;vt.charCodeAt(ot+1)===s;)ot+=1,$=!$;if(It=vt.charCodeAt(ot+1),$&&It!==a&&It!==p&&It!==o&&It!==c&&It!==_&&It!==h&&(ot+=1,Y.test(vt.charAt(ot)))){for(;Y.test(vt.charAt(ot+1));)ot+=1;vt.charCodeAt(ot+1)===p&&(ot+=1);}Ut=["word",vt.slice(qt,ot+1),qt,ot],qt=ot;break}default:{It===a&&vt.charCodeAt(qt+1)===m?(ot=vt.indexOf("*/",qt+2)+1,ot===0&&(bt||Xt?ot=vt.length:le("comment")),Ut=["comment",vt.slice(qt,ot+1),qt,ot],qt=ot):(N.lastIndex=qt+1,N.test(vt),N.lastIndex===0?ot=vt.length-1:ot=N.lastIndex-2,Ut=["word",vt.slice(qt,ot+1),qt,ot],Gt.push(Ut),qt=ot);break}}return qt++,Ut}function Jt(de){se.push(de);}return {back:Jt,nextToken:Pe,endOfFile:Se,position:he}};}),Hh=ce((t,e)=>{var i=On(),r=class extends i{constructor(s){super(s),this.type="comment";}};e.exports=r,r.default=r;}),Bn=ce((t,e)=>{var{isClean:i,my:r}=rf(),s=sf(),a=Hh(),o=On(),p,h,c,_;function v(d){return d.map(g=>(g.nodes&&(g.nodes=v(g.nodes)),delete g.source,g))}function u(d){if(d[i]=!1,d.proxyOf.nodes)for(let g of d.proxyOf.nodes)u(g);}var S=class extends o{push(d){return d.parent=this,this.proxyOf.nodes.push(d),this}each(d){if(!this.proxyOf.nodes)return;let g=this.getIterator(),A,y;for(;this.indexes[g]<this.proxyOf.nodes.length&&(A=this.indexes[g],y=d(this.proxyOf.nodes[A],A),y!==!1);)this.indexes[g]+=1;return delete this.indexes[g],y}walk(d){return this.each((g,A)=>{let y;try{y=d(g,A);}catch(m){throw g.addToError(m)}return y!==!1&&g.walk&&(y=g.walk(d)),y})}walkDecls(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="decl"&&d.test(A.prop))return g(A,y)}):this.walk((A,y)=>{if(A.type==="decl"&&A.prop===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="decl")return g(A,y)}))}walkRules(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="rule"&&d.test(A.selector))return g(A,y)}):this.walk((A,y)=>{if(A.type==="rule"&&A.selector===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="rule")return g(A,y)}))}walkAtRules(d,g){return g?d instanceof RegExp?this.walk((A,y)=>{if(A.type==="atrule"&&d.test(A.name))return g(A,y)}):this.walk((A,y)=>{if(A.type==="atrule"&&A.name===d)return g(A,y)}):(g=d,this.walk((A,y)=>{if(A.type==="atrule")return g(A,y)}))}walkComments(d){return this.walk((g,A)=>{if(g.type==="comment")return d(g,A)})}append(...d){for(let g of d){let A=this.normalize(g,this.last);for(let y of A)this.proxyOf.nodes.push(y);}return this.markDirty(),this}prepend(...d){d=d.reverse();for(let g of d){let A=this.normalize(g,this.first,"prepend").reverse();for(let y of A)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+A.length;}return this.markDirty(),this}cleanRaws(d){if(super.cleanRaws(d),this.nodes)for(let g of this.nodes)g.cleanRaws(d);}insertBefore(d,g){let A=this.index(d),y=A===0?"prepend":!1,m=this.normalize(g,this.proxyOf.nodes[A],y).reverse();A=this.index(d);for(let w of m)this.proxyOf.nodes.splice(A,0,w);let x;for(let w in this.indexes)x=this.indexes[w],A<=x&&(this.indexes[w]=x+m.length);return this.markDirty(),this}insertAfter(d,g){let A=this.index(d),y=this.normalize(g,this.proxyOf.nodes[A]).reverse();A=this.index(d);for(let x of y)this.proxyOf.nodes.splice(A+1,0,x);let m;for(let x in this.indexes)m=this.indexes[x],A<m&&(this.indexes[x]=m+y.length);return this.markDirty(),this}removeChild(d){d=this.index(d),this.proxyOf.nodes[d].parent=void 0,this.proxyOf.nodes.splice(d,1);let g;for(let A in this.indexes)g=this.indexes[A],g>=d&&(this.indexes[A]=g-1);return this.markDirty(),this}removeAll(){for(let d of this.proxyOf.nodes)d.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(d,g,A){return A||(A=g,g={}),this.walkDecls(y=>{g.props&&!g.props.includes(y.prop)||g.fast&&!y.value.includes(g.fast)||(y.value=y.value.replace(d,A));}),this.markDirty(),this}every(d){return this.nodes.every(d)}some(d){return this.nodes.some(d)}index(d){return typeof d=="number"?d:(d.proxyOf&&(d=d.proxyOf),this.proxyOf.nodes.indexOf(d))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(d,g){if(typeof d=="string")d=v(p(d).nodes);else if(Array.isArray(d)){d=d.slice(0);for(let A of d)A.parent&&A.parent.removeChild(A,"ignore");}else if(d.type==="root"&&this.type!=="document"){d=d.nodes.slice(0);for(let A of d)A.parent&&A.parent.removeChild(A,"ignore");}else if(d.type)d=[d];else if(d.prop){if(typeof d.value>"u")throw new Error("Value field is missed in node creation");typeof d.value!="string"&&(d.value=String(d.value)),d=[new s(d)];}else if(d.selector)d=[new h(d)];else if(d.name)d=[new c(d)];else if(d.text)d=[new a(d)];else throw new Error("Unknown node type in node creation");return d.map(A=>(A[r]||S.rebuild(A),A=A.proxyOf,A.parent&&A.parent.removeChild(A),A[i]&&u(A),typeof A.raws.before>"u"&&g&&typeof g.raws.before<"u"&&(A.raws.before=g.raws.before.replace(/\S/g,"")),A.parent=this.proxyOf,A))}getProxyProcessor(){return {set(d,g,A){return d[g]===A||(d[g]=A,(g==="name"||g==="params"||g==="selector")&&d.markDirty()),!0},get(d,g){return g==="proxyOf"?d:d[g]?g==="each"||typeof g=="string"&&g.startsWith("walk")?(...A)=>d[g](...A.map(y=>typeof y=="function"?(m,x)=>y(m.toProxy(),x):y)):g==="every"||g==="some"?A=>d[g]((y,...m)=>A(y.toProxy(),...m)):g==="root"?()=>d.root().toProxy():g==="nodes"?d.nodes.map(A=>A.toProxy()):g==="first"||g==="last"?d[g].toProxy():d[g]:d[g]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let d=this.lastEach;return this.indexes[d]=0,d}};S.registerParse=d=>{p=d;},S.registerRule=d=>{h=d;},S.registerAtRule=d=>{c=d;},S.registerRoot=d=>{_=d;},e.exports=S,S.default=S,S.rebuild=d=>{d.type==="atrule"?Object.setPrototypeOf(d,c.prototype):d.type==="rule"?Object.setPrototypeOf(d,h.prototype):d.type==="decl"?Object.setPrototypeOf(d,s.prototype):d.type==="comment"?Object.setPrototypeOf(d,a.prototype):d.type==="root"&&Object.setPrototypeOf(d,_.prototype),d[r]=!0,d.nodes&&d.nodes.forEach(g=>{S.rebuild(g);});};}),vm=ce((t,e)=>{var i=Bn(),r=class extends i{constructor(s){super(s),this.type="atrule";}append(...s){return this.proxyOf.nodes||(this.nodes=[]),super.append(...s)}prepend(...s){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...s)}};e.exports=r,r.default=r,i.registerAtRule(r);}),bm=ce((t,e)=>{var i=Bn(),r,s,a=class extends i{constructor(o){super(o),this.type="root",this.nodes||(this.nodes=[]);}removeChild(o,p){let h=this.index(o);return !p&&h===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[h].raws.before),super.removeChild(o)}normalize(o,p,h){let c=super.normalize(o);if(p){if(h==="prepend")this.nodes.length>1?p.raws.before=this.nodes[1].raws.before:delete p.raws.before;else if(this.first!==p)for(let _ of c)_.raws.before=p.raws.before;}return c}toResult(o={}){return new r(new s,this,o).stringify()}};a.registerLazyResult=o=>{r=o;},a.registerProcessor=o=>{s=o;},e.exports=a,a.default=a,i.registerRoot(a);}),xm=ce((t,e)=>{var i={split(r,s,a){let o=[],p="",h=!1,c=0,_=!1,v="",u=!1;for(let S of r)u?u=!1:S==="\\"?u=!0:_?S===v&&(_=!1):S==='"'||S==="'"?(_=!0,v=S):S==="("?c+=1:S===")"?c>0&&(c-=1):c===0&&s.includes(S)&&(h=!0),h?(p!==""&&o.push(p.trim()),p="",h=!1):p+=S;return (a||p!=="")&&o.push(p.trim()),o},space(r){let s=[" ",`
`," "];return i.split(r,s)},comma(r){return i.split(r,[","],!0)}};e.exports=i,i.default=i;}),_m=ce((t,e)=>{var i=Bn(),r=xm(),s=class extends i{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[]);}get selectors(){return r.comma(this.selector)}set selectors(a){let o=this.selector?this.selector.match(/,\s*/):null,p=o?o[0]:","+this.raw("between","beforeOpen");this.selector=a.join(p);}};e.exports=s,s.default=s,i.registerRule(s);}),Pm=ce((t,e)=>{var i=sf(),r=af(),s=Hh(),a=vm(),o=bm(),p=_m(),h={empty:!0,space:!0};function c(v){for(let u=v.length-1;u>=0;u--){let S=v[u],d=S[3]||S[2];if(d)return d}}var _=class{constructor(v){this.input=v,this.root=new o,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:v,start:{offset:0,line:1,column:1}};}createTokenizer(){this.tokenizer=r(this.input);}parse(){let v;for(;!this.tokenizer.endOfFile();)switch(v=this.tokenizer.nextToken(),v[0]){case"space":this.spaces+=v[1];break;case";":this.freeSemicolon(v);break;case"}":this.end(v);break;case"comment":this.comment(v);break;case"at-word":this.atrule(v);break;case"{":this.emptyRule(v);break;default:this.other(v);break}this.endFile();}comment(v){let u=new s;this.init(u,v[2]),u.source.end=this.getPosition(v[3]||v[2]);let S=v[1].slice(2,-2);if(/^\s*$/.test(S))u.text="",u.raws.left=S,u.raws.right="";else {let d=S.match(/^(\s*)([^]*\S)(\s*)$/);u.text=d[2],u.raws.left=d[1],u.raws.right=d[3];}}emptyRule(v){let u=new p;this.init(u,v[2]),u.selector="",u.raws.between="",this.current=u;}other(v){let u=!1,S=null,d=!1,g=null,A=[],y=v[1].startsWith("--"),m=[],x=v;for(;x;){if(S=x[0],m.push(x),S==="("||S==="[")g||(g=x),A.push(S==="("?")":"]");else if(y&&d&&S==="{")g||(g=x),A.push("}");else if(A.length===0)if(S===";")if(d){this.decl(m,y);return}else break;else if(S==="{"){this.rule(m);return}else if(S==="}"){this.tokenizer.back(m.pop()),u=!0;break}else S===":"&&(d=!0);else S===A[A.length-1]&&(A.pop(),A.length===0&&(g=null));x=this.tokenizer.nextToken();}if(this.tokenizer.endOfFile()&&(u=!0),A.length>0&&this.unclosedBracket(g),u&&d){if(!y)for(;m.length&&(x=m[m.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(m.pop());this.decl(m,y);}else this.unknownWord(m);}rule(v){v.pop();let u=new p;this.init(u,v[0][2]),u.raws.between=this.spacesAndCommentsFromEnd(v),this.raw(u,"selector",v),this.current=u;}decl(v,u){let S=new i;this.init(S,v[0][2]);let d=v[v.length-1];for(d[0]===";"&&(this.semicolon=!0,v.pop()),S.source.end=this.getPosition(d[3]||d[2]||c(v));v[0][0]!=="word";)v.length===1&&this.unknownWord(v),S.raws.before+=v.shift()[1];for(S.source.start=this.getPosition(v[0][2]),S.prop="";v.length;){let m=v[0][0];if(m===":"||m==="space"||m==="comment")break;S.prop+=v.shift()[1];}S.raws.between="";let g;for(;v.length;)if(g=v.shift(),g[0]===":"){S.raws.between+=g[1];break}else g[0]==="word"&&/\w/.test(g[1])&&this.unknownWord([g]),S.raws.between+=g[1];(S.prop[0]==="_"||S.prop[0]==="*")&&(S.raws.before+=S.prop[0],S.prop=S.prop.slice(1));let A=[],y;for(;v.length&&(y=v[0][0],!(y!=="space"&&y!=="comment"));)A.push(v.shift());this.precheckMissedSemicolon(v);for(let m=v.length-1;m>=0;m--){if(g=v[m],g[1].toLowerCase()==="!important"){S.important=!0;let x=this.stringFrom(v,m);x=this.spacesFromEnd(v)+x,x!==" !important"&&(S.raws.important=x);break}else if(g[1].toLowerCase()==="important"){let x=v.slice(0),w="";for(let M=m;M>0;M--){let N=x[M][0];if(w.trim().indexOf("!")===0&&N!=="space")break;w=x.pop()[1]+w;}w.trim().indexOf("!")===0&&(S.important=!0,S.raws.important=w,v=x);}if(g[0]!=="space"&&g[0]!=="comment")break}v.some(m=>m[0]!=="space"&&m[0]!=="comment")&&(S.raws.between+=A.map(m=>m[1]).join(""),A=[]),this.raw(S,"value",A.concat(v),u),S.value.includes(":")&&!u&&this.checkMissedSemicolon(v);}atrule(v){let u=new a;u.name=v[1].slice(1),u.name===""&&this.unnamedAtrule(u,v),this.init(u,v[2]);let S,d,g,A=!1,y=!1,m=[],x=[];for(;!this.tokenizer.endOfFile();){if(v=this.tokenizer.nextToken(),S=v[0],S==="("||S==="["?x.push(S==="("?")":"]"):S==="{"&&x.length>0?x.push("}"):S===x[x.length-1]&&x.pop(),x.length===0)if(S===";"){u.source.end=this.getPosition(v[2]),this.semicolon=!0;break}else if(S==="{"){y=!0;break}else if(S==="}"){if(m.length>0){for(g=m.length-1,d=m[g];d&&d[0]==="space";)d=m[--g];d&&(u.source.end=this.getPosition(d[3]||d[2]));}this.end(v);break}else m.push(v);else m.push(v);if(this.tokenizer.endOfFile()){A=!0;break}}u.raws.between=this.spacesAndCommentsFromEnd(m),m.length?(u.raws.afterName=this.spacesAndCommentsFromStart(m),this.raw(u,"params",m),A&&(v=m[m.length-1],u.source.end=this.getPosition(v[3]||v[2]),this.spaces=u.raws.between,u.raws.between="")):(u.raws.afterName="",u.params=""),y&&(u.nodes=[],this.current=u);}end(v){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(v[2]),this.current=this.current.parent):this.unexpectedClose(v);}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;}freeSemicolon(v){if(this.spaces+=v[1],this.current.nodes){let u=this.current.nodes[this.current.nodes.length-1];u&&u.type==="rule"&&!u.raws.ownSemicolon&&(u.raws.ownSemicolon=this.spaces,this.spaces="");}}getPosition(v){let u=this.input.fromOffset(v);return {offset:v,line:u.line,column:u.col}}init(v,u){this.current.push(v),v.source={start:this.getPosition(u),input:this.input},v.raws.before=this.spaces,this.spaces="",v.type!=="comment"&&(this.semicolon=!1);}raw(v,u,S,d){let g,A,y=S.length,m="",x=!0,w,M;for(let N=0;N<y;N+=1)g=S[N],A=g[0],A==="space"&&N===y-1&&!d?x=!1:A==="comment"?(M=S[N-1]?S[N-1][0]:"empty",w=S[N+1]?S[N+1][0]:"empty",!h[M]&&!h[w]?m.slice(-1)===","?x=!1:m+=g[1]:x=!1):m+=g[1];if(!x){let N=S.reduce((U,Y)=>U+Y[1],"");v.raws[u]={value:m,raw:N};}v[u]=m;}spacesAndCommentsFromEnd(v){let u,S="";for(;v.length&&(u=v[v.length-1][0],!(u!=="space"&&u!=="comment"));)S=v.pop()[1]+S;return S}spacesAndCommentsFromStart(v){let u,S="";for(;v.length&&(u=v[0][0],!(u!=="space"&&u!=="comment"));)S+=v.shift()[1];return S}spacesFromEnd(v){let u,S="";for(;v.length&&(u=v[v.length-1][0],u==="space");)S=v.pop()[1]+S;return S}stringFrom(v,u){let S="";for(let d=u;d<v.length;d++)S+=v[d][1];return v.splice(u,v.length-u),S}colon(v){let u=0,S,d,g;for(let[A,y]of v.entries()){if(S=y,d=S[0],d==="("&&(u+=1),d===")"&&(u-=1),u===0&&d===":")if(!g)this.doubleColon(S);else {if(g[0]==="word"&&g[1]==="progid")continue;return A}g=S;}return !1}unclosedBracket(v){throw this.input.error("Unclosed bracket",{offset:v[2]},{offset:v[2]+1})}unknownWord(v){throw this.input.error("Unknown word",{offset:v[0][2]},{offset:v[0][2]+v[0][1].length})}unexpectedClose(v){throw this.input.error("Unexpected }",{offset:v[2]},{offset:v[2]+1})}unclosedBlock(){let v=this.current.source.start;throw this.input.error("Unclosed block",v.line,v.column)}doubleColon(v){throw this.input.error("Double colon",{offset:v[2]},{offset:v[2]+v[1].length})}unnamedAtrule(v,u){throw this.input.error("At-rule without name",{offset:u[2]},{offset:u[2]+u[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(v){let u=this.colon(v);if(u===!1)return;let S=0,d;for(let g=u-1;g>=0&&(d=v[g],!(d[0]!=="space"&&(S+=1,S===2)));g--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}};e.exports=_;}),na=ce((t,e)=>{var i=Bn(),r=s=>{let a=`walk${s.name}`;a.lastIndexOf("s")!==a.length-1&&(a+="s"),!i.prototype[a]&&(i.prototype[a]=function(o){return this.walkType(s,o)});};i.prototype.walkType=function(s,a){if(!s||!a)throw new Error("Parameters {type} and {callback} are required.");let o=typeof s=="function";return this.walk((p,h)=>{if(o&&p instanceof s||!o&&p.type===s)return a.call(this,p,h)})},e.exports={registerWalker:r};}),zn=ce((t,e)=>{var i=$h();e.exports=class nf extends i{static stringify(s,a){new nf(a).stringify(s);}basic(s,a){let o=a||s.value,p=s.raws.after&&this.raw(s,"after")||"";this.builder(o,s,"start"),this.builder(p,s,"end");}atword(...s){this.atrule(...s);}comment(s){if(s.inline){let a=this.raw(s,"left","commentLeft"),o=this.raw(s,"right","commentRight");this.builder(`//${a}${s.text}${o}`,s);}else super.comment(s);}func(s){let a=this.raw(s,"after")||"";this.builder(`${s.name}(`,s,"start");for(let o of s.nodes){let p=o.raws.before?this.raw(o,"before"):"";p&&this.builder(p),this.stringify(o);}this.builder(`)${a}`,s,"end");}interpolation(s){this.basic(s,s.prefix+s.params);}numeric(s){let a=s.value+s.unit;this.basic(s,a);}operator(s){this.basic(s);}punctuation(s){this.basic(s);}quoted(s){this.basic(s);}unicodeRange(s){this.basic(s);}word(s){this.basic(s);}};}),Sm=ce((t,e)=>{var i=On(),{registerWalker:r}=na(),{stringify:s}=zn(),a=class extends i{toString(o=s){return super.toString(o)}};r(a),e.exports=a;}),km=ce((t,e)=>{var i=Hh(),{stringify:r}=zn(),s=/(\/\/)/,a=class extends i{static testInline(o){return s.test(o[1])}static tokenizeNext(o,p){let[h]=o,c=o.findIndex(g=>/\n/.test(g[1])),_=o,v=[];c>=0&&(_=o.slice(0,c),v=o.slice(c)),_=_.map(g=>g[1]);let u=_.concat("~~").join(""),S=_[_.length-1],d=["comment",u,h[2],h[3],S[2],S[3]];p.back([d,...v]);}static tokenizeInline(o,p){let[h,...c]=o,_=h[1].split(/(\/\/.+)/).filter(A=>!!A),v=[],[,,u,,S]=h,[,,,d,,g]=h;for(let A of _){let y=A.slice(0,2)==="//",m=y?"comment":"word";y&&(A+="~~"),A!==_[0]&&(d=g+1),g=d+A.length-1,v.push([m,A,u,d,S,g]);}p.back(v.concat(c));}toString(o=r){return super.toString(o)}};e.exports=a;}),of=ce((t,e)=>{var i=ef(),r=af(),s=["*","-","%","+","/"],a=/([*/])/g,o=(v,u)=>{let[,,S,d,g,A]=v,y=v[1].slice(1,v[1].length-1),m=h(y);for(let w of m)if(w[0]!=="space"){let M=w[5]-w[3];w[2]=S,w[3]+=d,w[4]+=g-1,w[5]=w[3]+M;}let x=[["(","(",S,d,S,d],...m];x.push([")",")",S,A,g,A]);for(let w of x.reverse())u.back(w);},p=(v,u)=>{let S=v[1].split(/([,])/),d=[],[,,g,,A]=v,[,,,y,,m]=v;for(let x of S){x=x||",";let w=x===","?"comma":"word";x!==S[0]&&(y=m+1),m=y+x.length-1,d.push([w,x,g,y,A,m]);}for(let x of d.reverse())u.back(x);},h=v=>{let u=new i(v,{}),S=_(u),d=[];for(;!S.endOfFile();){let g=S.nextToken();d.push(g);}return d},c=(v,u)=>{let[,S,d,,g,A]=v,y=S.split(a),[,,,m]=v,x=y.map(w=>{let M=[s.includes(w)?"operator":"word",w,d,m,g,A];return m+=w.length,M});for(let w of x.reverse())u.back(w);},_=(...v)=>{let u=r(...v),S=u.nextToken;return u.nextToken=(...d)=>{let g=S(...d);if(!g)return g;let[A,y]=g;return A==="brackets"?(o(g,u),g=S(...d)):A==="word"&&(s.includes(y)?g[0]="operator":a.test(y)?(c(g,u),g=S(...d)):y.length>1&&y.includes(",")&&(p(g,u),g=S(...d))),g},u};e.exports={getTokens:h,tokenizer:_};}),hf=ce((t,e)=>{var i=Bn(),{stringify:r}=zn(),s=class extends i{toString(a=r){return super.toString(a)}};e.exports=s;}),on=ce((t,e)=>{var i=On(),{stringify:r}=zn(),s=class extends i{toString(a=r){return super.toString(a||{})}};e.exports=s;}),lf=ce((t,e)=>{var{getTokens:i}=of(),{registerWalker:r}=na(),s=on(),a=class extends s{constructor(o){super(o),this.type="punctuation";}static get chars(){return [",",":","(",")","[","]","{","}"]}static fromTokens(o,p){p.fromFirst(o,a);}static tokenizeBrackets(o,p){let[h,...c]=o,_=h[1].split(/([()])/g).filter(A=>!!A),v=[],[,,u,,S]=h,[,,,d,,g]=h;for(let A of _){let y=A==="("?"(":A===")"?")":"word";if(/^\s+$/.test(A)&&(y="space"),A!==_[0]&&(d=g+1),g=d+A.length-1,y==="word"){let m=i(A);for(let x of m)x[3]+=d-1,v.push(x);}else v.push([y,A,u,d,S,g]);}p.back(v.concat(c));}static tokenizeCommas(o,p){let[h,...c]=o,_=h[1].split(/([,])/g).filter(A=>!!A),v=[],[,,u,,S]=h,[,,,d,,g]=h;for(let A of _)A!==_[0]&&(d=g+1),g=d+A.length-1,v.push(["word",A,u,d,S,g]);p.back(v.concat(c));}};r(a),e.exports=a;}),wm=ce((t,e)=>{var{getTokens:i}=of(),{registerWalker:r}=na(),s=hf(),a=lf(),o=["annotation","attr","blur","brightness","calc","character-variant","circle","contrast","cubic-bezier","dir","drop-shadow","element","ellipse","grayscale","hsl","hsla","hue-rotate","image","inset","invert","lang","linear-gradient","matrix","matrix3d","minmax","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","opacity","ornaments","perspective","polygon","radial-gradient","rect","repeat","repeating-linear-gradient","repeating-radial-gradient","rgb","rgba","rotate","rotatex","rotatey","rotatez","rotate3d","saturate","scale","scalex","scaley","scalez","scale3d","sepia","skew","skewx","skewy","steps","styleset","stylistic","swash","symbols","translate","translatex","translatey","translatez","translate3d","url","var"],p=["-webkit-","-moz-","-ms-","-o-"],h=new RegExp(`^(${p.join("|")})?(${o.join("|")})`,"i"),c=new RegExp(`^(\\${a.chars.join("|\\")})`),_=/^(hsla?|hwb|lab|lch|rgba?)$/i,v=/^var$/i,u=/^--[^\s]+$/,S=class extends s{constructor(d={}){super(d),this.type="func",this.isColor=!1,this.isVar=!1,this.name=d.name||"",this.nodes||(this.nodes=[]);}static test(d){return d.length>1&&d[0][0]==="word"&&!c.test(d[0][1])&&(d[1][0]==="brackets"||d[1][0]==="(")}static fromTokens(d,g){let[[,,A,y]]=d,[m,x]=d.splice(0,2),w=new S({name:m[1]}),M=0,N=1,U=x;if(!h.test(w.name)&&!/^[a-zA-Z\-\.]+$/.test(w.name)){let bt=i(w.name);d.unshift(...bt,x),g.back(d);return}g.init(w,A,y),g.current=w,x[0]==="brackets"&&(N=x[1].match(/[(]/g).length-1);let Y=[];for(let bt of d)M<N?(bt[1]===")"?M+=1:bt[1]==="("&&(N+=1),x[1]+=bt[1],U=bt):Y.push(bt);M!==N&&g.unclosedBracket(x),[,w.params]=x;let dt=x[1].slice(1,-1);if(dt.length){let bt=g.options;w.name==="url"&&(bt=Object.assign({},g.options,{ignoreUnknownWords:!0})),bt.parentNode=w;let{parse:It}=Wh(),ot=It(dt,bt),{nodes:Tt}=ot;for(let z of Tt)w.push(z);ot.raws.after&&(w.last.raws.after=ot.raws.after);}g.end(U),g.back(Y);let{lastNode:xt}=g,{nodes:vt}=w;xt.isColor=_.test(xt.name),xt.isVar=v.test(xt.name)&&vt.length&&u.test(vt[0].value);}};r(S),e.exports=S;}),Em=ce((t,e)=>{var{registerWalker:i}=na(),r=hf(),s=class extends r{constructor(a={}){super(a),this.type="interpolation",this.prefix=a.prefix||"",this.nodes||(this.nodes=[]);}static test(a,o){let{prefix:p}=o.options.interpolation,[h,c]=a;return a.length>1&&h[0]==="word"&&p===h[1]&&c[0]==="{"}static fromTokens(a,o){let[[,,p,h]]=a,[c]=a.splice(0,2),[,_]=c,v=new s({prefix:_}),u=[],S=!1,d,g="{";o.init(v,p,h),o.current=v;for(let y of a)S?u.push(y):(y[1]==="}"&&(S=!0),g+=y[1],d=y);S||o.unclosedBracket(c),v.params=g;let A=g.slice(1,-1);if(A.length){let{parse:y}=Wh(),{nodes:m}=y(A,o.options);for(let x of m)v.push(x);}o.end(d),o.back(u);}};i(s),e.exports=s;}),Am=ce((t,e)=>{var{registerWalker:i}=na(),r=on(),s=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)$/,a=/^(-?(?:[-A-Z_a-z]|[^\x00-\x7F]|\\[^\n\f\r])(?:[-\w]|[^\x00-\x7F]|\\[^\n\f\r])*|%)$/,o=new RegExp(`^${s.source.slice(1,-1)+a.source.slice(1,-1)}?$`),p=class extends r{constructor(h={}){super(h),this.type="numeric",this.unit=h.unit||"";}static fromTokens(h,c){c.fromFirst(h,p);let[[,_]]=h,[,v,u=""]=_.match(o),{lastNode:S}=c;S.unit=u,S.value=v;}static test(h){return o.test(h)}};i(p),e.exports=p;}),Cm=ce((t,e)=>{var{registerWalker:i}=na(),r=on(),s=["+","-","/","*","%","=","<=",">=","<",">"],a=new RegExp("([/|*}])"),o=/^[*/]\b/,p=class extends r{constructor(h){super(h),this.type="operator";}static get chars(){return s}static fromTokens(h,c){c.fromFirst(h,p);}static get regex(){return a}static test(h,c){let[_]=h,[,v]=_,{lastNode:u}=c;return u&&u.type==="func"&&o.test(v)}static tokenize(h,c){let[_,...v]=h,[,u,S,,d,g]=_,A=u.split(a).filter(x=>!!x),[,,,y]=_,m=A.map(x=>{let w=["word",x,S,y,d,g];return y+=x.length,w});c.back(m.concat(v));}};i(p),e.exports=p;}),Tm=ce(t=>{var e=t.single=function(r){return "'"+r.replace(/\\|'/g,function(s){return "\\"+s})+"'"},i=t.double=function(r){return '"'+r.replace(/\\|"/g,function(s){return "\\"+s})+'"'};t.quote=function(r){return /'/.test(r)?i(r):e(r)},t.unquote=function(r){var s=r[0],a=s==="'";return r.substring(1,r.length-1).replace(/\\\\/g,"\\").replace(a?/\\'/g:/\\"/g,s)};}),Mm=ce((t,e)=>{var{unquote:i}=Tm(),{registerWalker:r}=na(),s=on(),a=class extends s{constructor(o){super(o),this.type="quoted",o&&o.value&&(this.contents=i(o.value),[this.quote]=o.value);}static fromTokens(o,p){p.fromFirst(o,a);}};r(a),e.exports=a;}),Dm=ce((t,e)=>{var{registerWalker:i}=na(),r=on(),s=class extends r{constructor(a){super(a),this.type="unicodeRange";}static fromTokens(a,o){o.fromFirst(a,s);}static test(a){return /U\+(\d|\w)+(-\w+)?(\?+)?/.test(a)}};i(s),e.exports=s;}),Fm=ce((t,e)=>{e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}),Im=ce((t,e)=>{e.exports=i=>{if(typeof i!="string")throw new TypeError("Expected a string");try{return new URL(i),!0}catch{return !1}};}),Lm=ce((t,e)=>{var i=Fm(),r=Im(),{registerWalker:s}=na(),a=on(),o=/^\\(.+)/,p=/^#(.+)/,h=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,c=Object.keys(i),_=class extends a{constructor(v){super(v),this.type="word",this.isColor=!1,this.isHex=!1,this.isUrl=!1,this.isVariable=!1;}static fromTokens(v,u){u.fromFirst(v,_);let{lastNode:S}=u,{value:d}=S;S.isColor=h.test(d)||c.includes(d.toLowerCase()),S.isHex=p.test(d),S.isUrl=d.startsWith("//")?r(`http:${d}`):r(d),S.isVariable=_.testVariable(v[0],u);}static testEscaped(v){let[u,S]=v,[d,g]=u;return d==="word"&&(o.test(g)||g==="\\"&&S&&!/^\s+$/.test(S[1]))}static testHex(v){let[u,S]=v;return u==="word"&&p.test(S)}static testVariable(v,u){let[S,d]=v,{prefixes:g}=u.options.variables,A=new RegExp(`^(${g.join("|")})`);return S==="word"&&A.test(d)}static testWord(v,u){let[S]=v;return _.testEscaped(v)||_.testHex(S)||_.testVariable(S,u)}};s(_),e.exports=_;}),Vm=ce((t,e)=>{var i=Pm(),r=Sm(),s=km(),a=wm(),o=Em(),p=Am(),h=Cm(),c=lf(),_=Mm(),v=Dm(),u=Lm(),S={ignoreUnknownWords:!1,interpolation:!1,parentNode:null,variables:{prefixes:["--"]}};e.exports=class extends i{constructor(d,g={}){super(d),this.lastNode=null,this.options=Object.assign({},S,g),this.parentNode=this.options.parentNode;}back(d){for(let g of d.reverse())this.tokenizer.back(g);}comment(d){super.comment(d);let g=s.testInline(d),A=this.lastNode;A.inline=g,Object.setPrototypeOf(A,s.prototype);}fromFirst(d,g){let[A]=d,[,y,m,x]=A,w=new g({value:y});this.init(w,m,x),this.current=w,this.end(A),this.back(d.slice(1));}init(d,g,A){super.init(d,g,A),this.lastNode=d;}other(d){let g=[],A=[],y=d,m=null,x=null;for(;y;)[m]=y,A.push(y),m==="("||m==="["?(x||(x=y),g.push(m==="("?")":"]")):m===g[g.length-1]&&(g.pop(),g.length===0&&(x=null)),y=this.tokenizer.nextToken();g.length>0&&this.unclosedBracket(x),this.unknownWord(A);}parse(){let d;for(;!this.tokenizer.endOfFile();)switch(d=this.tokenizer.nextToken(),d[0]){case"space":this.spaces+=d[1];break;case"comment":this.comment(d);break;case"at-word":this.atrule(d),Object.setPrototypeOf(this.lastNode,r.prototype),this.lastNode.type="atword";break;default:this.other(d);break}this.endFile();}unknownWord(d){let[g]=d,[A,y]=g;if(c.chars.includes(A))c.fromTokens(d,this);else if(A==="word"&&h.test(d,this))h.fromTokens(d,this);else if(a.test(d))a.fromTokens(d,this);else if(this.options.interpolation&&o.test(d,this))o.fromTokens(d,this);else if(A==="brackets")c.tokenizeBrackets(d,this);else if(A==="comma")c.fromTokens(d,this);else if(A==="operator")h.fromTokens(d,this);else if(A==="string")_.fromTokens(d,this);else if(A==="word")if(y===",")c.fromTokens(d,this);else if(y==="//")s.tokenizeNext(d,this);else if(s.testInline(g)){let{parentNode:m}=this;m&&m.type==="func"&&m.name==="url"?u.fromTokens(d,this):s.tokenizeInline(d,this);}else y.includes(",")?c.tokenizeCommas(d,this):u.testWord(d,this)?u.fromTokens(d,this):p.test(y)?p.fromTokens(d,this):v.test(y)?v.fromTokens(d,this):h.chars.includes(y)?h.fromTokens(d,this):/^[\w-]+$/.test(y)?u.fromTokens(d,this):h.regex.test(y)?h.tokenize(d,this):this.options.ignoreUnknownWords?u.fromTokens(d,this):super.unknownWord(d);else super.unknownWord(d);}};}),Wh=ce((t,e)=>{var i=ef(),r=Vm(),{stringify:s}=zn();e.exports={parse(a,o){let p=new i(a,o),h=new r(p,o);h.parse();let{root:c}=h,_=c.toString;function v(u){return _.bind(c)(u||e.exports.stringify)}return c.toString=v.bind(c),h.root},stringify:s,nodeToString(a){let o="";return e.exports.stringify(a,p=>{o+=p;}),o}};}),Rm=ce(t=>{var e=e||{};e.stringify=function(){var i={"visit_linear-gradient":function(r){return i.visit_gradient(r)},"visit_repeating-linear-gradient":function(r){return i.visit_gradient(r)},"visit_radial-gradient":function(r){return i.visit_gradient(r)},"visit_repeating-radial-gradient":function(r){return i.visit_gradient(r)},visit_gradient:function(r){var s=i.visit(r.orientation);return s&&(s+=", "),r.type+"("+s+i.visit(r.colorStops)+")"},visit_shape:function(r){var s=r.value,a=i.visit(r.at),o=i.visit(r.style);return o&&(s+=" "+o),a&&(s+=" at "+a),s},"visit_default-radial":function(r){var s="",a=i.visit(r.at);return a&&(s+=a),s},"visit_extent-keyword":function(r){var s=r.value,a=i.visit(r.at);return a&&(s+=" at "+a),s},"visit_position-keyword":function(r){return r.value},visit_position:function(r){return i.visit(r.value.x)+" "+i.visit(r.value.y)},"visit_%":function(r){return r.value+"%"},visit_em:function(r){return r.value+"em"},visit_px:function(r){return r.value+"px"},visit_literal:function(r){return i.visit_color(r.value,r)},visit_hex:function(r){return i.visit_color("#"+r.value,r)},visit_rgb:function(r){return i.visit_color("rgb("+r.value.join(", ")+")",r)},visit_rgba:function(r){return i.visit_color("rgba("+r.value.join(", ")+")",r)},visit_color:function(r,s){var a=r,o=i.visit(s.length);return o&&(a+=" "+o),a},visit_angular:function(r){return r.value+"deg"},visit_directional:function(r){return "to "+r.value},visit_array:function(r){var s="",a=r.length;return r.forEach(function(o,p){s+=i.visit(o),p<a-1&&(s+=", ");}),s},visit:function(r){if(!r)return "";var s="";if(r instanceof Array)return i.visit_array(r,s);if(r.type){var a=i["visit_"+r.type];if(a)return a(r);throw Error("Missing visitor visit_"+r.type)}else throw Error("Invalid node.")}};return function(r){return i.visit(r)}}();var e=e||{};e.parse=function(){var i={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},r="";function s(q){var nt=new Error(r+": "+q);throw nt.source=r,nt}function a(){var q=o();return r.length>0&&s("Invalid input not EOF"),q}function o(){return M(p)}function p(){return h("linear-gradient",i.linearGradient,_)||h("repeating-linear-gradient",i.repeatingLinearGradient,_)||h("radial-gradient",i.radialGradient,S)||h("repeating-radial-gradient",i.repeatingRadialGradient,S)}function h(q,nt,Q){return c(nt,function(Ut){var zt=Q();return zt&&($(i.comma)||s("Missing comma before color stops")),{type:q,orientation:zt,colorStops:M(N)}})}function c(q,nt){var Q=$(q);if(Q){$(i.startCall)||s("Missing (");var Ut=nt(Q);return $(i.endCall)||s("Missing )"),Ut}}function _(){return v()||u()}function v(){return z("directional",i.sideOrCorner,1)}function u(){return z("angular",i.angleValue,1)}function S(){var q,nt=d(),Q;return nt&&(q=[],q.push(nt),Q=r,$(i.comma)&&(nt=d(),nt?q.push(nt):r=Q)),q}function d(){var q=g()||A();if(q)q.at=m();else {var nt=y();if(nt){q=nt;var Q=m();Q&&(q.at=Q);}else {var Ut=x();Ut&&(q={type:"default-radial",at:Ut});}}return q}function g(){var q=z("shape",/^(circle)/i,0);return q&&(q.style=Tt()||y()),q}function A(){var q=z("shape",/^(ellipse)/i,0);return q&&(q.style=It()||y()),q}function y(){return z("extent-keyword",i.extentKeywords,1)}function m(){if(z("position",/^at/,0)){var q=x();return q||s("Missing positioning value"),q}}function x(){var q=w();if(q.x||q.y)return {type:"position",value:q}}function w(){return {x:It(),y:It()}}function M(q){var nt=q(),Q=[];if(nt)for(Q.push(nt);$(i.comma);)nt=q(),nt?Q.push(nt):s("One extra comma");return Q}function N(){var q=U();return q||s("Expected color definition"),q.length=It(),q}function U(){return dt()||vt()||xt()||Y()}function Y(){return z("literal",i.literalColor,0)}function dt(){return z("hex",i.hexColor,1)}function xt(){return c(i.rgbColor,function(){return {type:"rgb",value:M(bt)}})}function vt(){return c(i.rgbaColor,function(){return {type:"rgba",value:M(bt)}})}function bt(){return $(i.number)[1]}function It(){return z("%",i.percentageValue,1)||ot()||Tt()}function ot(){return z("position-keyword",i.positionKeywords,1)}function Tt(){return z("px",i.pixelValue,1)||z("em",i.emValue,1)}function z(q,nt,Q){var Ut=$(nt);if(Ut)return {type:q,value:Ut[Q]}}function $(q){var nt,Q;return Q=/^[\n\r\t\s]+/.exec(r),Q&&E(Q[0].length),nt=q.exec(r),nt&&E(nt[0].length),nt}function E(q){r=r.substr(q);}return function(q){return r=q.toString(),a()}}(),t.parse=e.parse,t.stringify=e.stringify;}),Bi=Ds(mm(),1);Bi.default.stringify;Bi.default.fromJSON;Bi.default.plugin;Om=Bi.default.parse;Bi.default.list;Bi.default.document;Bi.default.comment;Bi.default.atRule;Bi.default.rule;Bi.default.decl;Bi.default.root;Bi.default.CssSyntaxError;Bi.default.Declaration;Bi.default.Container;Bi.default.Processor;Bi.default.Document;Bi.default.Comment;Bi.default.Warning;Bi.default.AtRule;Bi.default.Result;Bi.default.Input;Bi.default.Rule;Bi.default.Root;Bi.default.Node;Ch=function(t,e,i){let r={type:String(t)};return i==null&&(typeof e=="string"||Array.isArray(e))?i=e:Object.assign(r,e),Array.isArray(i)?r.children=i:i!=null&&(r.value=String(i)),r},Bm="root",zm="rule",Nm="declaration";jm={grad:.9,turn:360,rad:360/(2*Math.PI)},aa=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},fr=function(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=Math.pow(10,e)),Math.round(i*t)/i+0},vs=function(t,e,i){return e===void 0&&(e=0),i===void 0&&(i=1),t>i?i:t>e?t:e},pf=function(t){return (t=isFinite(t)?t%360:0)>0?t:t+360},Fp=function(t){return {r:vs(t.r,0,255),g:vs(t.g,0,255),b:vs(t.b,0,255),a:vs(t.a)}},Th=function(t){return {r:fr(t.r),g:fr(t.g),b:fr(t.b),a:fr(t.a,3)}},qm=/^#([0-9a-f]{3,8})$/i,yo=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},ff=function(t){var e=t.r,i=t.g,r=t.b,s=t.a,a=Math.max(e,i,r),o=a-Math.min(e,i,r),p=o?a===e?(i-r)/o:a===i?2+(r-e)/o:4+(e-i)/o:0;return {h:60*(p<0?p+6:p),s:a?o/a*100:0,v:a/255*100,a:s}},cf=function(t){var e=t.h,i=t.s,r=t.v,s=t.a;e=e/360*6,i/=100,r/=100;var a=Math.floor(e),o=r*(1-i),p=r*(1-(e-a)*i),h=r*(1-(1-e+a)*i),c=a%6;return {r:255*[r,p,o,o,h,r][c],g:255*[h,r,r,p,o,o][c],b:255*[o,o,h,r,r,p][c],a:s}},Ip=function(t){return {h:pf(t.h),s:vs(t.s,0,100),l:vs(t.l,0,100),a:vs(t.a)}},Lp=function(t){return {h:fr(t.h),s:fr(t.s),l:fr(t.l),a:fr(t.a,3)}},Vp=function(t){return cf((i=(e=t).s,{h:e.h,s:(i*=((r=e.l)<50?r:100-r)/100)>0?2*i/(r+i)*100:0,v:r+i,a:e.a}));var e,i,r;},Fn=function(t){return {h:(e=ff(t)).h,s:(s=(200-(i=e.s))*(r=e.v)/100)>0&&s<200?i*r/100/(s<=100?s:200-s)*100:0,l:s/2,a:e.a};var e,i,r,s;},$m=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Hm=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wm=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Um=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ih={string:[[function(t){var e=qm.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?fr(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?fr(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Wm.exec(t)||Um.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:Fp({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=$m.exec(t)||Hm.exec(t);if(!e)return null;var i,r,s=Ip({h:(i=e[1],r=e[2],r===void 0&&(r="deg"),Number(i)*(jm[r]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return Vp(s)},"hsl"]],object:[[function(t){var e=t.r,i=t.g,r=t.b,s=t.a,a=s===void 0?1:s;return aa(e)&&aa(i)&&aa(r)?Fp({r:Number(e),g:Number(i),b:Number(r),a:Number(a)}):null},"rgb"],[function(t){var e=t.h,i=t.s,r=t.l,s=t.a,a=s===void 0?1:s;if(!aa(e)||!aa(i)||!aa(r))return null;var o=Ip({h:Number(e),s:Number(i),l:Number(r),a:Number(a)});return Vp(o)},"hsl"],[function(t){var e=t.h,i=t.s,r=t.v,s=t.a,a=s===void 0?1:s;if(!aa(e)||!aa(i)||!aa(r))return null;var o=function(p){return {h:pf(p.h),s:vs(p.s,0,100),v:vs(p.v,0,100),a:vs(p.a)}}({h:Number(e),s:Number(i),v:Number(r),a:Number(a)});return cf(o)},"hsv"]]},Rp=function(t,e){for(var i=0;i<e.length;i++){var r=e[i][0](t);if(r)return [r,e[i][1]]}return [null,void 0]},Jm=function(t){return typeof t=="string"?Rp(t.trim(),Ih.string):typeof t=="object"&&t!==null?Rp(t,Ih.object):[null,void 0]},Mh=function(t,e){var i=Fn(t);return {h:i.h,s:vs(i.s+100*e,0,100),l:i.l,a:i.a}},Dh=function(t){return (299*t.r+587*t.g+114*t.b)/1e3/255},Op=function(t,e){var i=Fn(t);return {h:i.h,s:i.s,l:vs(i.l+100*e,0,100),a:i.a}},Lh=function(){function t(e){this.parsed=Jm(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1};}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return fr(Dh(this.rgba),2)},t.prototype.isDark=function(){return Dh(this.rgba)<.5},t.prototype.isLight=function(){return Dh(this.rgba)>=.5},t.prototype.toHex=function(){return e=Th(this.rgba),i=e.r,r=e.g,s=e.b,o=(a=e.a)<1?yo(fr(255*a)):"","#"+yo(i)+yo(r)+yo(s)+o;var e,i,r,s,a,o;},t.prototype.toRgb=function(){return Th(this.rgba)},t.prototype.toRgbString=function(){return e=Th(this.rgba),i=e.r,r=e.g,s=e.b,(a=e.a)<1?"rgba("+i+", "+r+", "+s+", "+a+")":"rgb("+i+", "+r+", "+s+")";var e,i,r,s,a;},t.prototype.toHsl=function(){return Lp(Fn(this.rgba))},t.prototype.toHslString=function(){return e=Lp(Fn(this.rgba)),i=e.h,r=e.s,s=e.l,(a=e.a)<1?"hsla("+i+", "+r+"%, "+s+"%, "+a+")":"hsl("+i+", "+r+"%, "+s+"%)";var e,i,r,s,a;},t.prototype.toHsv=function(){return e=ff(this.rgba),{h:fr(e.h),s:fr(e.s),v:fr(e.v),a:fr(e.a,3)};var e;},t.prototype.invert=function(){return Yr({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e;},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Yr(Mh(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Yr(Mh(this.rgba,-e))},t.prototype.grayscale=function(){return Yr(Mh(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Yr(Op(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Yr(Op(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Yr({r:(i=this.rgba).r,g:i.g,b:i.b,a:e}):fr(this.rgba.a,3);var i;},t.prototype.hue=function(e){var i=Fn(this.rgba);return typeof e=="number"?Yr({h:e,s:i.s,l:i.l,a:i.a}):fr(i.h)},t.prototype.isEqual=function(e){return this.toHex()===Yr(e).toHex()},t}(),Yr=function(t){return t instanceof Lh?t:new Lh(t)},Bp=[],uf=function(t){t.forEach(function(e){Bp.indexOf(e)<0&&(e(Lh,Ih),Bp.push(e));});};bo={attribute:/\[\s*(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)\s*(?:(?<operator>\W?=)\s*(?<value>.+?)\s*(\s(?<caseSensitive>[iIsS]))?\s*)?\]/gu,id:/#(?<name>[-\w\P{ASCII}]+)/gu,class:/\.(?<name>[-\w\P{ASCII}]+)/gu,comma:/\s*,\s*/g,combinator:/\s*[\s>+~]\s*/g,"pseudo-element":/::(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,"pseudo-class":/:(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,universal:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?\*/gu,type:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)/gu},Xm=new Set(["combinator","comma"]),Ym=new Set(["not","is","where","has","matches","-moz-any","-webkit-any","nth-child","nth-last-child"]),zp=/(?<index>[\dn+-]+)\s+of\s+(?<subtree>.+)/,Zm={"nth-child":zp,"nth-last-child":zp},Km=t=>{switch(t){case"pseudo-element":case"pseudo-class":return new RegExp(bo[t].source.replace("(?<argument>\xB6*)","(?<argument>.*)"),"gu");default:return bo[t]}};e0=/(['"])([^\\\n]+?)\1/g,i0=/\\./g;a0=Ds(Wh(),1),gf=function(t){if(t==null)return l0;if(typeof t=="string")return h0(t);if(typeof t=="object")return Array.isArray(t)?n0(t):o0(t);if(typeof t=="function")return Eo(t);throw new Error("Expected function, string, or object as test")};Vh=!0,xo=!1,p0="skip",f0=function(t,e,i,r){typeof e=="function"&&typeof i!="function"&&(r=i,i=e,e=null);let s=gf(e),a=r?-1:1;o(t,void 0,[])();function o(p,h,c){let _=p&&typeof p=="object"?p:{};if(typeof _.type=="string"){let u=typeof _.tagName=="string"?_.tagName:typeof _.name=="string"?_.name:void 0;Object.defineProperty(v,"name",{value:"node ("+(p.type+(u?"<"+u+">":""))+")"});}return v;function v(){let u=[],S,d,g;if((!e||s(p,h,c[c.length-1]||null))&&(u=c0(i(p,c)),u[0]===xo))return u;if(p.children&&u[0]!==p0)for(d=(r?p.children.length:-1)+a,g=c.concat(p);d>-1&&d<p.children.length;){if(S=o(p.children[d],d,g)(),S[0]===xo)return S;d=typeof S[1]=="number"?S[1]:d+a;}return u}}};Nr=function(t,e,i,r){typeof e=="function"&&typeof i!="function"&&(r=i,i=e,e=null),f0(t,e,s,r);function s(a,o){let p=o[o.length-1];return i(a,p?p.children.indexOf(a):null,p)}},Uh=Ds(Rm(),1);uf([df]);yf=t=>{try{if(!t.startsWith("linear-gradient"))return !1;let e=(0,Uh.parse)(t);return !(e.length===0||e[0]?.type!=="linear-gradient")}catch{return !1}},vf=t=>{try{if(!t.startsWith("radial-gradient"))return !1;let e=(0,Uh.parse)(t);return !(e.length===0||e[0]?.type!=="radial-gradient")}catch{return !1}},Np=t=>{let e=[],i=[];if(!(yf(t)||vf(t)))return [];let r=(0, Uh.parse)(t)[0];return r?.colorStops.forEach((s,a)=>{let o=[],p=0;if(s.type==="hex"||s.type==="literal"){let c=Yr(s.value);o.push(parseFloat((c.rgba.r/255).toFixed(2)),parseFloat((c.rgba.g/255).toFixed(2)),parseFloat((c.rgba.b/255).toFixed(2))),p=c.rgba.a;}else if(["rgb","rgba"].includes(s.type)){let c=Yr({r:Number(s.value[0]),g:Number(s.value[1]),b:Number(s.value[2]),a:s.value[3]?Number(s.value[3]):1});o.push(parseFloat((c.rgba.r/255).toFixed(2)),parseFloat((c.rgba.g/255).toFixed(2)),parseFloat((c.rgba.b/255).toFixed(2))),p=c.rgba.a;}let h=parseFloat((a/(r.colorStops.length-1||1)).toFixed(2));s.length?.value&&Number(s.length.value)>0&&(h=parseFloat((Number(s.length.value)/100).toFixed(2))),e.push(h,...o),i.push(h,p);}),e.push(...i),e},Gp=(t,e,i)=>{if(!["shape-gradient-fill","shape-gradient-stroke"].includes(t.title))return;let r=e.length/6;Nr(t,"attribute",s=>{s.title==="gradient-type"&&s.children[0]?s.children[0].value=i==="linear"?1:2:s.title==="count"&&s.children[0]&&(s.children[0].value=r);}),Nr(t,"collection",s=>{if(s.title==="static-values"&&typeof s.key=="object"&&s.key.value==="k"&&s.children[0]){let a=s.children[0];a.children=e.map(o=>({type:"primitive",valueType:"number",value:o}));}});};uf([df]);vo=(t,e,i,r=!1)=>{let s=new Set,a=Array.isArray(t)?t:[t];for(let o of a)Nr(o,"attribute",(p,h,c)=>{p.title===i&&p.children[0]?.value===e&&c&&c.type!=="root"&&(r?c===o&&s.add(c):s.add(c));});return Array.from(s)},u0=(t,e)=>{let i=[];for(let r of e){let s=[],a=mf(r);s0(a,(o,p)=>{let h=s.length>0?s:t;if(o.type==="id")s=vo(h,o.name,"layer-xml-id",p?.type==="compound");else if(o.type==="class")s=vo(h,o.name,"css-class",p?.type==="compound");else if(o.type==="type"){let c="",_=null;o.name==="FillShape"?(_="shape-type",c="fl"):o.name==="StrokeShape"?(_="shape-type",c="st"):o.name==="GradientFillShape"?(_="shape-type",c="gf"):o.name==="GradientStrokeShape"?(_="shape-type",c="gs"):o.name==="ShapeLayer"?(_="layer-type",c=4):o.name==="SolidColorLayer"?(_="layer-type",c=1):o.name==="ImageLayer"&&(_="layer-type",c=2),_&&c&&(s=vo(h,c,_));}else if(o.type==="attribute"){let c=null,_=o.value;o.name==="id"?c="layer-xml-id":o.name==="class"?c="css-class":o.name==="name"?c="name":o.name==="shape-type"?c="shape-type":o.name==="layer-type"&&(c="layer-type",_=Number(o.value)),c&&_&&["number","string"].includes(typeof _)&&(s=vo(h,_,c,p?.type==="compound"));}}),i.push(...s);}return Array.from(new Set(i))},Fh=t=>t.includes("-color"),d0=t=>t==="nonzero"||t==="evenodd",m0=t=>t.endsWith("%")?parseFloat(t):parseFloat(t)*100,g0=t=>t==="nonzero"?1:2,y0=t=>{try{new URL(t);}catch{return !1}return !0},v0=t=>{let e=(0, a0.parse)(t).nodes;if(e.length===1){let i=e[0];if(i&&i.type==="func"&&i.name==="url"){let r=i.nodes;if(r.length===1){let s=r[0];if(s&&s.type==="quoted")return s.contents}}}return ""},b0=t=>{let e={};for(let i of t)if(Fh(i.property)&&Yr(i.value).isValid()){let r=Yr(i.value).rgba,s=[r.r/255,r.g/255,r.b/255,r.a];switch(i.property){case"fill-color":e["fill-color"]=s;break;case"stroke-color":e["stroke-color"]=s;break}}else if(Fh(i.property)&&yf(i.value)){let r=Np(i.value);switch(i.property){case"fill-color":e["linear-gradient-fill-color"]=r;break;case"stroke-color":e["linear-gradient-stroke-color"]=r;break}}else if(Fh(i.property)&&vf(i.value)){let r=Np(i.value);switch(i.property){case"fill-color":e["radial-gradient-fill-color"]=r;break;case"stroke-color":e["radial-gradient-stroke-color"]=r;break}}else if(i.property==="stroke-width")e["stroke-width"]=Number(i.value);else if(i.property==="fill-rule"&&d0(i.value))e["fill-rule"]=g0(i.value);else if(i.property==="opacity"){let r=m0(i.value);if(Number.isNaN(r))continue;r<0?e.opacity=0:r>100?e.opacity=100:e.opacity=r;}else if(i.property==="visibility")e.hidden=i.value==="hidden";else if(i.property==="src"){let r=v0(i.value);y0(r)&&(e.src=r);}return e},x0=(t,e,i)=>{for(let r in e)switch(r){case"fill-color":let s=e[r];t.title==="shape-fill"?Array.isArray(s)&&Nr(t,"array",a=>a.title==="color-rgba-children"&&a.children.length===4?(a.children=a.children.map((o,p)=>({...o,value:s[p]})),xo):Vh):t.title==="layer-solid-color"&&Nr(t,"attribute",a=>{if(a.title==="hex-color"&&a.children[0]?.value&&s?.length===4){let o=Yr({r:s[0]*255,g:s[1]*255,b:s[2]*255,a:s[3]}).toHex();a.children[0].value=o;}});break;case"stroke-color":if(t.title==="shape-stroke"){let a=e[r];Array.isArray(a)&&Nr(t,"array",o=>o.title==="static-values-children"&&o.children.length===4?(o.children=o.children.map((p,h)=>({...p,value:a[h]})),xo):Vh);}break;case"stroke-width":(t.title==="shape-stroke"||t.title==="shape-gradient-stroke")&&Nr(t,"element",a=>{a.title==="stroke-width"&&Nr(a,"attribute",(o,p,h)=>{o.title==="static-value"&&o.children[0]?.value&&o.children[0].valueType==="number"&&h?.title==="animated-value-static"&&(o.children[0].value=e[r]);});});break;case"fill-rule":["shape-fill","shape-gradient-fill"].includes(t.title)&&Nr(t,"attribute",a=>{a.title==="fill-rule-value"&&a.children[0]?.value&&(a.children[0].value=e[r]);});break;case"opacity":["shape-stroke","shape-fill","shape-gradient-fill","shape-gradient-stroke"].includes(t.title)&&Nr(t,"element",a=>{["stroke-opacity","opacity"].includes(a.title)&&Nr(a,"attribute",(o,p,h)=>{o.title==="static-value"&&o.children[0]?.value&&o.children[0].valueType==="number"&&h?.title==="animated-value-static"&&(o.children[0].value=e[r]);});});break;case"hidden":(t.title.includes("shape")||t.title.includes("layer"))&&Nr(t,"attribute",a=>{a.title==="hidden"&&a.children[0]&&(a.children[0].value=e[r]);});break;case"linear-gradient-fill-color":case"linear-gradient-stroke-color":Gp(t,e[r],"linear");break;case"radial-gradient-fill-color":case"radial-gradient-stroke-color":Gp(t,e[r],"radial");break;case"src":if(t.title==="layer-image"){let a=t.children.find(o=>o.title==="image-id");if(a?.type==="attribute"){let o=a.children[0]?.value;Nr(i,"object",p=>{p.title==="asset-image"&&p.children.some(h=>h.title==="id"&&h.children[0]?.type==="primitive"&&h.children[0].value===o)&&Nr(p,"attribute",h=>{h.title==="embedded"&&h.children[0]?h.children[0].value=0:h.title==="path"&&h.children[0]?h.children[0].value="":h.title==="filename"&&h.children[0]&&(h.children[0].value=e[r]);});});}}break}},_0=(t={lss:""})=>async e=>{let i=Gm(t.lss);Nr(i,"rule",r=>{let s=u0(e,r.selectors),a=b0(r.children);for(let o of s)x0(o,a,e);});},P0=_0;});async function _f(t,e){let[{relottie:i},{default:r}]=await Promise.all([Promise.resolve().then(()=>(Dp(),Mp)),Promise.resolve().then(()=>(xf(),bf))]),s=await i().use(r,{lss:e}).process(JSON.stringify(t));return JSON.parse(s.value)}var Ao=Ir(()=>{});function To(){throw new Error("Cycle detected")}function Xh(){if(hn>1)hn--;else {for(var t,e=!1;Nn!==void 0;){var i=Nn;for(Nn=void 0,Jh++;i!==void 0;){var r=i.o;if(i.o=void 0,i.f&=-3,!(8&i.f)&&Sf(i))try{i.c();}catch(s){e||(t=s,e=!0);}i=r;}}if(Jh=0,hn--,e)throw t}}function Pf(t){if(Wi!==void 0){var e=t.n;if(e===void 0||e.t!==Wi)return e={i:0,S:t,p:Wi.s,n:void 0,t:Wi,e:void 0,x:void 0,r:e},Wi.s!==void 0&&(Wi.s.n=e),Wi.s=e,t.n=e,32&Wi.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=Wi.s,e.n=void 0,Wi.s.n=e,Wi.s=e),e}}function Zr(t){this.v=t,this.i=0,this.n=void 0,this.t=void 0;}function S0(t){return new Zr(t)}function Sf(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 kf(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 wf(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 Wa(t){Zr.call(this,void 0),this.x=t,this.s=void 0,this.g=Co-1,this.f=4;}function Ef(t){var e=t.u;if(t.u=void 0,typeof e=="function"){hn++;var i=Wi;Wi=void 0;try{e();}catch(r){throw t.f&=-2,t.f|=8,Yh(t),r}finally{Wi=i,Xh();}}}function Yh(t){for(var e=t.s;e!==void 0;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Ef(t);}function k0(t){if(Wi!==this)throw new Error("Out-of-order effect");wf(this),Wi=t,this.f&=-2,8&this.f&&Yh(this),Xh();}function Gn(t){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32;}function w0(t){var e=new Gn(t);try{e.c();}catch(i){throw e.d(),i}return e.d.bind(e)}var Wi,Nn,hn,Jh,Co,Af,Mo=Ir(()=>{Wi=void 0,Nn=void 0,hn=0,Jh=0,Co=0;Zr.prototype.h=function(){return !0};Zr.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);};Zr.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);}};Zr.prototype.subscribe=function(t){var e=this;return w0(function(){var i=e.value,r=32&this.f;this.f&=-33;try{t(i);}finally{this.f|=r;}})};Zr.prototype.valueOf=function(){return this.value};Zr.prototype.toString=function(){return this.value+""};Zr.prototype.toJSON=function(){return this.value};Zr.prototype.peek=function(){return this.v};Object.defineProperty(Zr.prototype,"value",{get:function(){var t=Pf(this);return t!==void 0&&(t.i=this.i),this.v},set:function(t){if(Wi instanceof Wa&&function(){throw new Error("Computed cannot have side-effects")}(),t!==this.v){Jh>100&&To(),this.v=t,this.i++,Co++,hn++;try{for(var e=this.t;e!==void 0;e=e.x)e.t.N();}finally{Xh();}}}});(Wa.prototype=new Zr).h=function(){if(this.f&=-3,1&this.f)return !1;if((36&this.f)==32||(this.f&=-5,this.g===Co))return !0;if(this.g=Co,this.f|=1,this.i>0&&!Sf(this))return this.f&=-2,!0;var t=Wi;try{kf(this),Wi=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 Wi=t,wf(this),this.f&=-2,!0};Wa.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);}Zr.prototype.S.call(this,t);};Wa.prototype.U=function(t){if(this.t!==void 0&&(Zr.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);}};Wa.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;t!==void 0;t=t.x)t.t.N();}};Wa.prototype.peek=function(){if(this.h()||To(),16&this.f)throw this.v;return this.v};Object.defineProperty(Wa.prototype,"value",{get:function(){1&this.f&&To();var t=Pf(this);if(this.h(),t!==void 0&&(t.i=this.i),16&this.f)throw this.v;return this.v}});Gn.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();}};Gn.prototype.S=function(){1&this.f&&To(),this.f|=1,this.f&=-9,Ef(this),kf(this),hn++;var t=Wi;return Wi=this,k0.bind(this,t)};Gn.prototype.N=function(){2&this.f||(this.f|=2,this.o=Nn,Nn=this);};Gn.prototype.d=function(){this.f|=8,1&this.f||Yh(this);};Af=class{_state;_prevState;constructor(t){this._prevState=t,this._state=S0(t);}setState(t){this._prevState=this._state.value,this._state.value=t;}subscribe(t){return this._state.subscribe(e=>t(e,this._prevState))}};});var Qf={};ia(Qf,{DotLottieStateMachineManager:()=>_g});function ol(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 s=0,r=Object.getOwnPropertySymbols(t);s<r.length;s++)e.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(t,r[s])&&(i[r[s]]=t[r[s]]);return i}function ii(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 li(t,e){var i=typeof Symbol=="function"&&t[Symbol.iterator];if(!i)return t;var r=i.call(t),s,a=[],o;try{for(;(e===void 0||e-- >0)&&!(s=r.next()).done;)a.push(s.value);}catch(p){o={error:p};}finally{try{s&&!s.done&&(i=r.return)&&i.call(r);}finally{if(o)throw o.error}}return a}function Di(t,e,i){if(i||arguments.length===2)for(var r=0,s=e.length,a;r<s;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function ll(t,e,i){i===void 0&&(i=zf);var r=Un(t,i),s=Un(e,i);return di(s)?di(r)?s===r:!1:di(r)?r in s:Object.keys(r).every(function(a){return a in s?ll(r[a],s[a]):!1})}function Nf(t){try{return di(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 il(t,e){try{return yn(t)?t:t.toString().split(e)}catch{throw new Error("'".concat(t,"' is not a valid state path."))}}function F0(t){return typeof t=="object"&&"value"in t&&"context"in t&&"event"in t&&"_event"in t}function Un(t,e){if(F0(t))return t.value;if(yn(t))return No(t);if(typeof t!="string")return t;var i=il(t,e);return No(i)}function No(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 qn(t,e){for(var i={},r=Object.keys(t),s=0;s<r.length;s++){var a=r[s];i[a]=e(t[a],a,t,s);}return i}function Mf(t,e,i){var r,s,a={};try{for(var o=ii(Object.keys(t)),p=o.next();!p.done;p=o.next()){var h=p.value,c=t[h];i(c)&&(a[h]=e(c,h,t));}}catch(_){r={error:_};}finally{try{p&&!p.done&&(s=o.return)&&s.call(o);}finally{if(r)throw r.error}}return a}function L0(t,e){return function(i){var r,s,a=i;try{for(var o=ii(t),p=o.next();!p.done;p=o.next()){var h=p.value;a=a[e][h];}}catch(c){r={error:c};}finally{try{p&&!p.done&&(s=o.return)&&s.call(o);}finally{if(r)throw r.error}}return a}}function Ro(t){if(!t)return [[]];if(di(t))return [[t]];var e=Ni(Object.keys(t).map(function(i){var r=t[i];return typeof r!="string"&&(!r||!Object.keys(r).length)?[[i]]:Ro(t[i]).map(function(s){return [i].concat(s)})}));return e}function Ni(t){var e;return (e=[]).concat.apply(e,Di([],li(t),!1))}function Gf(t){return yn(t)?t:[t]}function Is(t){return t===void 0?[]:Gf(t)}function Go(t,e,i){var r,s;if(fi(t))return t(e,i.data);var a={};try{for(var o=ii(Object.keys(t)),p=o.next();!p.done;p=o.next()){var h=p.value,c=t[h];fi(c)?a[h]=c(e,i.data):a[h]=c;}}catch(_){r={error:_};}finally{try{p&&!p.done&&(s=o.return)&&s.call(o);}finally{if(r)throw r.error}}return a}function V0(t){return /^(done|error)\./.test(t)}function Df(t){return !!(t instanceof Promise||t!==null&&(fi(t)||typeof t=="object")&&fi(t.then))}function R0(t){return t!==null&&typeof t=="object"&&"transition"in t&&typeof t.transition=="function"}function O0(t,e){var i,r,s=li([[],[]],2),a=s[0],o=s[1];try{for(var p=ii(t),h=p.next();!h.done;h=p.next()){var c=h.value;e(c)?a.push(c):o.push(c);}}catch(_){i={error:_};}finally{try{h&&!h.done&&(r=p.return)&&r.call(p);}finally{if(i)throw i.error}}return [a,o]}function jf(t,e){return qn(t.states,function(i,r){if(i){var s=(di(e)?void 0:e[r])||(i?i.current:void 0);if(s)return {current:s,states:jf(i,s)}}})}function B0(t,e){return {current:e,states:jf(t,e)}}function Ff(t,e,i,r){var s=t&&i.reduce(function(a,o){var p,h,c=o.assignment,_={state:r,action:o,_event:e},v={};if(fi(c))v=c(a,e.data,_);else try{for(var u=ii(Object.keys(c)),S=u.next();!S.done;S=u.next()){var d=S.value,g=c[d];v[d]=fi(g)?g(a,e.data,_):g;}}catch(A){p={error:A};}finally{try{S&&!S.done&&(h=u.return)&&h.call(u);}finally{if(p)throw p.error}}return Object.assign({},a,v)},t);return s}function yn(t){return Array.isArray(t)}function fi(t){return typeof t=="function"}function di(t){return typeof t=="string"}function qf(t,e){if(t)return di(t)?{type:el,name:t,predicate:e?e[t]:void 0}:fi(t)?{type:el,name:t.name,predicate:t}:t}function N0(t){try{return "subscribe"in t&&fi(t.subscribe)}catch{return !1}}function gn(t){return !!t&&"__xstatenode"in t}function G0(t){return !!t&&typeof t.send=="function"}function Ho(t,e){return di(t)||typeof t=="number"?_e({type:t},e):t}function Sr(t,e){if(!di(t)&&"$$type"in t&&t.$$type==="scxml")return t;var i=Ho(t);return _e({name:i.type,data:i,$$type:"scxml",type:"external"},e)}function ln(t,e){var i=Gf(e).map(function(r){return typeof r>"u"||typeof r=="string"||gn(r)?{target:r,event:t}:_e(_e({},r),{event:t})});return i}function j0(t){if(!(t===void 0||t===D0))return Is(t)}function $f(t,e,i,r,s){var a=t.options.guards,o={state:s,cond:e,_event:r};if(e.type===el)return (a?.[e.name]||e.predicate)(i,r.data,o);var p=a?.[e.type];if(!p)throw new Error("Guard '".concat(e.type,"' is not implemented on machine '").concat(t.id,"'."));return p(i,r.data,o)}function Hf(t){return typeof t=="string"?{type:t}:t}function Oo(t,e,i){var r=function(){},s=typeof t=="object",a=s?t:null;return {next:((s?t.next:t)||r).bind(a),error:((s?t.error:e)||r).bind(a),complete:((s?t.complete:i)||r).bind(a)}}function Fo(t,e){return "".concat(t,":invocation[").concat(e,"]")}function rl(t){return (t.type===Yn||t.type===$o&&t.to===mn.Internal)&&typeof t.delay!="number"}function sl(t,e){return e&&e[t]||void 0}function Jn(t,e){var i;if(di(t)||typeof t=="number"){var r=sl(t,e);fi(r)?i={type:t,exec:r}:r?i=r:i={type:t,exec:void 0};}else if(fi(t))i={type:t.name||t.toString(),exec:t};else {var r=sl(t.type,e);if(fi(r))i=_e(_e({},t),{exec:r});else if(r){var s=r.type||t.type;i=_e(_e(_e({},r),t),{type:s});}else i=t;}return i}function pl(t){var e=Jn(t);return _e(_e({id:di(t)?t:e.id},e),{type:e.type})}function q0(t,e){return {type:Yn,event:typeof t=="function"?t:Ho(t),delay:e?e.delay:void 0,id:e?.id}}function $0(t,e,i,r){var s={_event:i},a=Sr(fi(t.event)?t.event(e,i.data,s):t.event),o;if(di(t.delay)){var p=r&&r[t.delay];o=fi(p)?p(e,i.data,s):p;}else o=fi(t.delay)?t.delay(e,i.data,s):t.delay;return _e(_e({},t),{type:Yn,_event:a,delay:o})}function H0(t,e){return {to:e?e.to:void 0,type:$o,event:fi(t)?t:Ho(t),delay:e?e.delay:void 0,id:e&&e.id!==void 0?e.id:fi(t)?t.name:Nf(t)}}function W0(t,e,i,r){var s={_event:i},a=Sr(fi(t.event)?t.event(e,i.data,s):t.event),o;if(di(t.delay)){var p=r&&r[t.delay];o=fi(p)?p(e,i.data,s):p;}else o=fi(t.delay)?t.delay(e,i.data,s):t.delay;var h=fi(t.to)?t.to(e,i.data,s):t.to;return _e(_e({},t),{to:h,_event:a,event:a.data,delay:o})}function X0(t){var e=pl(t);return {type:Si.Start,activity:e,exec:void 0}}function Y0(t){var e=fi(t)?t:pl(t);return {type:Si.Stop,activity:e,exec:void 0}}function Z0(t,e,i){var r=fi(t.activity)?t.activity(e,i.data):t.activity,s=typeof r=="string"?{id:r}:r,a={type:Si.Stop,activity:s};return a}function K0(t,e){var i=e?"#".concat(e):"";return "".concat(Si.After,"(").concat(t,")").concat(i)}function Io(t,e){var i="".concat(Si.DoneState,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}function Bo(t,e){var i="".concat(Si.DoneInvoke,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}function $n(t,e){var i="".concat(Si.ErrorPlatform,".").concat(t),r={type:i,data:e};return r.toString=function(){return i},r}function jo(t,e,i,r,s,a,o){o===void 0&&(o=!1);var p=o?[]:Q0(s),h=p.length?Ff(i,r,p,e):i,c=o?[i]:void 0,_=[];function v(d,g){var A;switch(g.type){case Yn:{var y=$0(g,h,r,t.options.delays);return a&&typeof y.delay=="number"&&a(y,h,r),y}case $o:var m=W0(g,h,r,t.options.delays);return a&&m.to!==mn.Internal&&(d==="entry"?_.push(m):a(m,h,r)),m;case Of:{var x=U0(g,h,r);return a?.(x,h,r),x}case T0:{var w=g,M=(A=w.conds.find(function(z){var $=qf(z.cond,t.options.guards);return !$||$f(t,$,h,r,a?void 0:e)}))===null||A===void 0?void 0:A.actions;if(!M)return [];var N=li(jo(t,e,h,r,[{type:d,actions:ka(Is(M),t.options.actions)}],a,o),2),U=N[0],Y=N[1];return h=Y,c?.push(h),U}case M0:{var M=g.get(h,r.data);if(!M)return [];var dt=li(jo(t,e,h,r,[{type:d,actions:ka(Is(M),t.options.actions)}],a,o),2),xt=dt[0],vt=dt[1];return h=vt,c?.push(h),xt}case hl:{var x=Z0(g,h,r);return a?.(x,i,r),x}case Rf:{h=Ff(h,r,[g],a?void 0:e),c?.push(h);break}default:var bt=Jn(g,t.options.actions),It=bt.exec;if(a)a(bt,h,r);else if(It&&c){var ot=c.length-1,Tt=_e(_e({},bt),{exec:function(z){for(var $=[],E=1;E<arguments.length;E++)$[E-1]=arguments[E];It.apply(void 0,Di([c[ot]],li($),!1));}});bt=Tt;}return bt}}function u(d){var g,A,y=[];try{for(var m=ii(d.actions),x=m.next();!x.done;x=m.next()){var w=x.value,M=v(d.type,w);M&&(y=y.concat(M));}}catch(N){g={error:N};}finally{try{x&&!x.done&&(A=m.return)&&A.call(m);}finally{if(g)throw g.error}}return _.forEach(function(N){a(N,h,r);}),_.length=0,y}var S=Ni(s.map(u));return [S,h]}function Wf(t){var e;return e={id:t,send:function(){},subscribe:function(){return {unsubscribe:function(){}}},getSnapshot:function(){},toJSON:function(){return {id:t}}},e[Sa]=function(){return this},e}function tg(t,e,i,r){var s,a=Hf(t.src),o=(s=e?.options.services)===null||s===void 0?void 0:s[a.type],p=t.data?Go(t.data,i,r):void 0,h=o?Uf(o,t.id,p):Wf(t.id);return h.meta=t,h}function Uf(t,e,i){var r=Wf(e);if(r.deferred=!0,gn(t)){var s=r.state=cn(void 0,function(){return (i?t.withContext(i):t).initialState});r.getSnapshot=function(){return s};}return r}function eg(t){try{return typeof t.send=="function"}catch{return !1}}function ig(t){return eg(t)&&"id"in t}function rg(t){var e;return _e((e={subscribe:function(){return {unsubscribe:function(){}}},id:"anonymous",getSnapshot:function(){}},e[Sa]=function(){return this},e),t)}function Jf(t){return Object.keys(t.states).map(function(e){return t.states[e]})}function Xn(t){return Jf(t).filter(function(e){return e.type!=="history"})}function Xf(t){var e=[t];return qo(t)?e:e.concat(Ni(Xn(t).map(Xf)))}function Hn(t,e){var i,r,s,a,o,p,h,c,_=new Set(t),v=al(_),u=new Set(e);try{for(var S=ii(u),d=S.next();!d.done;d=S.next())for(var g=d.value,A=g.parent;A&&!u.has(A);)u.add(A),A=A.parent;}catch(dt){i={error:dt};}finally{try{d&&!d.done&&(r=S.return)&&r.call(S);}finally{if(i)throw i.error}}var y=al(u);try{for(var m=ii(u),x=m.next();!x.done;x=m.next()){var g=x.value;if(g.type==="compound"&&(!y.get(g)||!y.get(g).length))v.get(g)?v.get(g).forEach(function(xt){return u.add(xt)}):g.initialStateNodes.forEach(function(xt){return u.add(xt)});else if(g.type==="parallel")try{for(var w=(o=void 0,ii(Xn(g))),M=w.next();!M.done;M=w.next()){var N=M.value;u.has(N)||(u.add(N),v.get(N)?v.get(N).forEach(function(xt){return u.add(xt)}):N.initialStateNodes.forEach(function(xt){return u.add(xt)}));}}catch(xt){o={error:xt};}finally{try{M&&!M.done&&(p=w.return)&&p.call(w);}finally{if(o)throw o.error}}}}catch(dt){s={error:dt};}finally{try{x&&!x.done&&(a=m.return)&&a.call(m);}finally{if(s)throw s.error}}try{for(var U=ii(u),Y=U.next();!Y.done;Y=U.next())for(var g=Y.value,A=g.parent;A&&!u.has(A);)u.add(A),A=A.parent;}catch(dt){h={error:dt};}finally{try{Y&&!Y.done&&(c=U.return)&&c.call(U);}finally{if(h)throw h.error}}return u}function Yf(t,e){var i=e.get(t);if(!i)return {};if(t.type==="compound"){var r=i[0];if(r){if(qo(r))return r.key}else return {}}var s={};return i.forEach(function(a){s[a.key]=Yf(a,e);}),s}function al(t){var e,i,r=new Map;try{for(var s=ii(t),a=s.next();!a.done;a=s.next()){var o=a.value;r.has(o)||r.set(o,[]),o.parent&&(r.has(o.parent)||r.set(o.parent,[]),r.get(o.parent).push(o));}}catch(p){e={error:p};}finally{try{a&&!a.done&&(i=s.return)&&i.call(s);}finally{if(e)throw e.error}}return r}function sg(t,e){var i=Hn([t],e);return Yf(t,al(i))}function Wn(t,e){return Array.isArray(t)?t.some(function(i){return i===e}):t instanceof Set?t.has(e):!1}function ag(t){return Di([],li(new Set(Ni(Di([],li(t.map(function(e){return e.ownEvents})),!1)))),!1)}function zo(t,e){return e.type==="compound"?Xn(e).some(function(i){return i.type==="final"&&Wn(t,i)}):e.type==="parallel"?Xn(e).every(function(i){return zo(t,i)}):!1}function ng(t){return t===void 0&&(t=[]),t.reduce(function(e,i){return i.meta!==void 0&&(e[i.id]=i.meta),e},{})}function If(t){return new Set(Ni(t.map(function(e){return e.tags})))}function Zf(t,e){if(t===e)return !0;if(t===void 0||e===void 0)return !1;if(di(t)||di(e))return t===e;var i=Object.keys(t),r=Object.keys(e);return i.length===r.length&&i.every(function(s){return Zf(t[s],e[s])})}function og(t){return typeof t!="object"||t===null?!1:"value"in t&&"_event"in t}function hg(t,e){var i=t.exec,r=_e(_e({},t),{exec:i!==void 0?function(){return i(e.context,e.event,{action:t,state:e,_event:e._event})}:void 0});return r}function fl(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global}function fg(){var t=fl();if(t&&"__xstate__"in t)return t.__xstate__}function cg(t){if(fl()){var e=fg();e&&e.register(t);}}function ug(t,e){e===void 0&&(e={});var i=t.initialState,r=new Set,s=[],a=!1,o=function(){if(!a){for(a=!0;s.length>0;){var c=s.shift();i=t.transition(i,c,h),r.forEach(function(_){return _.next(i)});}a=!1;}},p=rg({id:e.id,send:function(c){s.push(c),o();},getSnapshot:function(){return i},subscribe:function(c,_,v){var u=Oo(c,_,v);return r.add(u),u.next(i),{unsubscribe:function(){r.delete(u);}}}}),h={parent:e.parent,self:p,id:e.id||"anonymous",observers:r};return i=t.start?t.start(h):i,p}function Kf(t,e){var i=new mg(t,e);return i}function gg(t){if(typeof t=="string"){var e={type:t};return e.toString=function(){return t},e}return t}function Lo(t){return _e(_e({type:tl},t),{toJSON:function(){t.onDone,t.onError;var e=ol(t,["onDone","onError"]);return _e(_e({},e),{type:tl,src:gg(t.src)})}})}function bg(t,e){return new vg(t,e)}var _e,Si,mn,Qh,hl,Yn,$o,Vf,E0,Rf,Of,A0,tl,Cf,C0,Bf,T0,M0,zf,Tf,el,D0,Do,I0,z0,Sa,dn,ka,U0,J0,Q0,cn,qo,Ws,lg,Lf,Zh,pg,jn,dg,cr,mg,Vo,nl,Kh,pn,fn,yg,vg,un,xg,_g,tc=Ir(()=>{cl();fo();Wo();Ao();Mo();en();Fs();_e=function(){return _e=Object.assign||function(t){for(var e,i=1,r=arguments.length;i<r;i++){e=arguments[i];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);}return t},_e.apply(this,arguments)};(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";})(Si||(Si={}));(function(t){t.Parent="#_parent",t.Internal="#_internal";})(mn||(mn={}));Qh=Si.Start,hl=Si.Stop,Yn=Si.Raise,$o=Si.Send,Vf=Si.Cancel,E0=Si.NullEvent,Rf=Si.Assign;Si.After;Si.DoneState;Of=Si.Log,A0=Si.Init,tl=Si.Invoke;Si.ErrorExecution;Cf=Si.ErrorPlatform,C0=Si.ErrorCustom,Bf=Si.Update,T0=Si.Choose,M0=Si.Pure,zf=".",Tf={},el="xstate.guard",D0="";I0=function(t){return function(e){var i,r,s=e;try{for(var a=ii(t),o=a.next();!o.done;o=a.next()){var p=o.value;s=s[p];}}catch(h){i={error:h};}finally{try{o&&!o.done&&(r=a.return)&&r.call(a);}finally{if(i)throw i.error}}return s}};z0=function(){};Sa=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();Do={},Do[Sa]=function(){return this},Do[Symbol.observable]=function(){return this};dn=Sr({type:A0});ka=function(t,e){if(!t)return [];var i=yn(t)?t:[t];return i.map(function(r){return Jn(r,e)})};U0=function(t,e,i){return _e(_e({},t),{value:di(t.expr)?t.expr:t.expr(e,i.data,{_event:i})})},J0=function(t){return {type:Vf,sendId:t}};Q0=function(t){var e,i,r=[];try{for(var s=ii(t),a=s.next();!a.done;a=s.next())for(var o=a.value,p=0;p<o.actions.length;){if(o.actions[p].type===Rf){r.push(o.actions[p]),o.actions.splice(p,1);continue}p++;}}catch(h){e={error:h};}finally{try{a&&!a.done&&(i=s.return)&&i.call(s);}finally{if(e)throw e.error}}return r};cn=function(t,e){var i=e(t);return i};qo=function(t){return t.type==="atomic"||t.type==="final"};Ws=function(){function t(e){var i=this,r;this.actions=[],this.activities=Tf,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||Tf,this.meta=ng(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 ag(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,meta:{},events:[],configuration:[],transitions:[],children:{}}):e;var r=dn;return new t({value:e,context:i,_event:r,_sessionid:null,historyValue:void 0,history:void 0,actions:[],activities:void 0,meta: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=dn;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="."),di(e))return [e];var s=Object.keys(e);return s.concat.apply(s,Di([],li(s.map(function(a){return r.toStrings(e[a],i).map(function(o){return a+i+o})})),!1))},t.prototype.toJSON=function(){var e=this;e.configuration,e.transitions;var i=e.tags;e.machine;var r=ol(e,["configuration","transitions","tags","machine"]);return _e(_e({},r),{tags:Array.from(i)})},t.prototype.matches=function(e){return ll(e,this.value)},t.prototype.hasTag=function(e){return this.tags.has(e)},t.prototype.can=function(e){var i;z0(!!this.machine);var r=(i=this.machine)===null||i===void 0?void 0:i.getTransitionData(this,e);return !!r?.transitions.length&&r.transitions.some(function(s){return s.target!==void 0||s.actions.length})},t}(),lg={deferEvents:!1},Lf=function(){function t(e){this.processingEvent=!1,this.queue=[],this.initialized=!1,this.options=_e(_e({},lg),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}(),Zh=new Map,pg=0,jn={bookId:function(){return "x:".concat(pg++)},register:function(t,e){return Zh.set(t,e),t},get:function(t){return Zh.get(t)},free:function(t){Zh.delete(t);}};dg={sync:!1,autoForward:!1};(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped";})(cr||(cr={}));mg=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=cr.NotStarted,this.children=new Map,this.forwardTo=new Set,this._outgoingQueue=[],this.init=this.start,this.send=function(_,v){if(yn(_))return r.batch(_),r.state;var u=Sr(Ho(_,v));if(r.status===cr.Stopped)return r.state;if(r.status!==cr.Running&&!r.options.deferEvents)throw new Error('Event "'.concat(u.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.
Event: `).concat(JSON.stringify(u.data)));return r.scheduler.schedule(function(){r.forward(u);var S=r._nextState(u);r.update(S,u);}),r._state},this.sendTo=function(_,v,u){var S=r.parent&&(v===mn.Parent||r.parent.id===v),d=S?r.parent:di(v)?v===mn.Internal?r:r.children.get(v)||jn.get(v):G0(v)?v:void 0;if(!d){if(!S)throw new Error("Unable to send event to child '".concat(v,"' from service '").concat(r.id,"'."));return}if("machine"in d){if(r.status!==cr.Stopped||r.parent!==d||r.state.done){var g=_e(_e({},_),{name:_.name===C0?"".concat($n(r.id)):_.name,origin:r.sessionId});!u&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([d,g]):d.send(g);}}else !u&&r.machine.config.predictableActionArguments?r._outgoingQueue.push([d,_.data]):d.send(_.data);},this._exec=function(_,v,u,S){S===void 0&&(S=r.machine.options.actions);var d=_.exec||sl(_.type,S),g=fi(d)?d:d?d.exec:_.exec;if(g)try{return g(v,u.data,r.machine.config.predictableActionArguments?{action:_,_event:u}:{action:_,state:r.state,_event:u})}catch(ot){throw r.parent&&r.parent.send({type:"xstate.error",data:ot}),ot}switch(_.type){case Yn:{var A=_;r.defer(A);break}case $o:var y=_;if(typeof y.delay=="number"){r.defer(y);return}else y.to?r.sendTo(y._event,y.to,u===dn):r.send(y._event);break;case Vf:r.cancel(_.sendId);break;case Qh:{if(r.status!==cr.Running)return;var m=_.activity;if(!r.machine.config.predictableActionArguments&&!r.state.activities[m.id||m.type])break;if(m.type===Si.Invoke){var x=Hf(m.src),w=r.machine.options.services?r.machine.options.services[x.type]:void 0,M=m.id,N=m.data,U="autoForward"in m?m.autoForward:!!m.forward;if(!w)return;var Y=N?Go(N,v,u):void 0;if(typeof w=="string")return;var dt=fi(w)?w(v,u.data,{data:Y,src:x,meta:m.meta}):w;if(!dt)return;var xt=void 0;gn(dt)&&(dt=Y?dt.withContext(Y):dt,xt={autoForward:U}),r.spawn(dt,M,xt);}else r.spawnActivity(m);break}case hl:{r.stopChild(_.activity.id);break}case Of:var vt=_,bt=vt.label,It=vt.value;bt?r.logger(bt,It):r.logger(It);break}};var s=_e(_e({},t.defaultOptions),i),a=s.clock,o=s.logger,p=s.parent,h=s.id,c=h!==void 0?h:e.id;this.id=c,this.logger=o,this.clock=a,this.parent=p,this.options=s,this.scheduler=new Lf({deferEvents:this.options.deferEvents}),this.sessionId=jn.bookId();}return Object.defineProperty(t.prototype,"initialState",{get:function(){var e=this;return this._initialState?this._initialState:cn(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,s;try{for(var a=ii(e.actions),o=a.next();!o.done;o=a.next()){var p=o.value;this.exec(p,e,i);}}catch(h){r={error:h};}finally{try{o&&!o.done&&(s=a.return)&&s.call(a);}finally{if(r)throw r.error}}},t.prototype.update=function(e,i){var r,s,a,o,p,h,c,_,v=this;if(e._sessionid=this.sessionId,this._state=e,(!this.machine.config.predictableActionArguments||i===dn)&&this.options.execute)this.execute(this.state);else for(var u=void 0;u=this._outgoingQueue.shift();)u[0].send(u[1]);if(this.children.forEach(function(dt){v.state.children[dt.id]=dt;}),this.devTools&&this.devTools.send(i.data,e),e.event)try{for(var S=ii(this.eventListeners),d=S.next();!d.done;d=S.next()){var g=d.value;g(e.event);}}catch(dt){r={error:dt};}finally{try{d&&!d.done&&(s=S.return)&&s.call(S);}finally{if(r)throw r.error}}try{for(var A=ii(this.listeners),y=A.next();!y.done;y=A.next()){var g=y.value;g(e,e.event);}}catch(dt){a={error:dt};}finally{try{y&&!y.done&&(o=A.return)&&o.call(A);}finally{if(a)throw a.error}}try{for(var m=ii(this.contextListeners),x=m.next();!x.done;x=m.next()){var w=x.value;w(this.state.context,this.state.history?this.state.history.context:void 0);}}catch(dt){p={error:dt};}finally{try{x&&!x.done&&(h=m.return)&&h.call(m);}finally{if(p)throw p.error}}if(this.state.done){var M=e.configuration.find(function(dt){return dt.type==="final"&&dt.parent===v.machine}),N=M&&M.doneData?Go(M.doneData,e.context,i):void 0;this._doneEvent=Bo(this.id,N);try{for(var U=ii(this.doneListeners),Y=U.next();!Y.done;Y=U.next()){var g=Y.value;g(this._doneEvent);}}catch(dt){c={error:dt};}finally{try{Y&&!Y.done&&(_=U.return)&&_.call(U);}finally{if(c)throw c.error}}this._stop(),this._stopChildren(),jn.free(this.sessionId);}},t.prototype.onTransition=function(e){return this.listeners.add(e),this.status===cr.Running&&e(this.state,this.state.event),this},t.prototype.subscribe=function(e,i,r){var s=this,a=Oo(e,i,r);this.listeners.add(a.next),this.status!==cr.NotStarted&&a.next(this.state);var o=function(){s.doneListeners.delete(o),s.stopListeners.delete(o),a.complete();};return this.status===cr.Stopped?a.complete():(this.onDone(o),this.onStop(o)),{unsubscribe:function(){s.listeners.delete(a.next),s.doneListeners.delete(o),s.stopListeners.delete(o);}}},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===cr.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===cr.Running)return this;this.machine._init(),jn.register(this.sessionId,this),this.initialized=!0,this.status=cr.Running;var r=e===void 0?this.initialState:cn(this,function(){return og(e)?i.machine.resolveState(e):i.machine.resolveState(Ws.from(e,i.machine.context))});return this.options.devTools&&this.attachDev(),this.scheduler.initialize(function(){i.update(r,dn);}),this},t.prototype._stopChildren=function(){this.children.forEach(function(e){fi(e.stop)&&e.stop();}),this.children.clear();},t.prototype._stop=function(){var e,i,r,s,a,o,p,h,c,_;try{for(var v=ii(this.listeners),u=v.next();!u.done;u=v.next()){var S=u.value;this.listeners.delete(S);}}catch(U){e={error:U};}finally{try{u&&!u.done&&(i=v.return)&&i.call(v);}finally{if(e)throw e.error}}try{for(var d=ii(this.stopListeners),g=d.next();!g.done;g=d.next()){var S=g.value;S(),this.stopListeners.delete(S);}}catch(U){r={error:U};}finally{try{g&&!g.done&&(s=d.return)&&s.call(d);}finally{if(r)throw r.error}}try{for(var A=ii(this.contextListeners),y=A.next();!y.done;y=A.next()){var S=y.value;this.contextListeners.delete(S);}}catch(U){a={error:U};}finally{try{y&&!y.done&&(o=A.return)&&o.call(A);}finally{if(a)throw a.error}}try{for(var m=ii(this.doneListeners),x=m.next();!x.done;x=m.next()){var S=x.value;this.doneListeners.delete(S);}}catch(U){p={error:U};}finally{try{x&&!x.done&&(h=m.return)&&h.call(m);}finally{if(p)throw p.error}}if(!this.initialized)return this;this.initialized=!1,this.status=cr.Stopped,this._initialState=void 0;try{for(var w=ii(Object.keys(this.delayedEventsMap)),M=w.next();!M.done;M=w.next()){var N=M.value;this.clock.clearTimeout(this.delayedEventsMap[N]);}}catch(U){c={error:U};}finally{try{M&&!M.done&&(_=w.return)&&_.call(w);}finally{if(c)throw c.error}}this.scheduler.clear(),this.scheduler=new Lf({deferEvents:this.options.deferEvents});},t.prototype.stop=function(){var e=this,i=this.scheduler;return this._stop(),i.schedule(function(){var r=Sr({type:"xstate.stop"}),s=cn(e,function(){var a=Ni(Di([],li(e.state.configuration),!1).sort(function(_,v){return v.order-_.order}).map(function(_){return ka(_.onExit,e.machine.options.actions)})),o=li(jo(e.machine,e.state,e.state.context,r,[{type:"exit",actions:a}],e.machine.config.predictableActionArguments?e._exec:void 0,e.machine.config.predictableActionArguments||e.machine.config.preserveActionOrder),2),p=o[0],h=o[1],c=new Ws({value:e.state.value,context:h,_event:r,_sessionid:e.sessionId,historyValue:void 0,history:e.state,actions:p.filter(function(_){return !rl(_)}),activities:{},events:[],configuration:[],transitions:[],children:{},done:e.state.done,tags:e.state.tags,machine:e.machine});return c.changed=!0,c});e.update(s,r),e._stopChildren(),jn.free(e.sessionId);}),this},t.prototype.batch=function(e){var i=this;if(!(this.status===cr.NotStarted&&this.options.deferEvents)){if(this.status!==cr.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 s,a,o=i.state,p=!1,h=[],c=function(S){var d=Sr(S);i.forward(d),o=cn(i,function(){return i.machine.transition(o,d,void 0,r||void 0)}),h.push.apply(h,Di([],li(i.machine.config.predictableActionArguments?o.actions:o.actions.map(function(g){return hg(g,o)})),!1)),p=p||!!o.changed;};try{for(var _=ii(e),v=_.next();!v.done;v=_.next()){var u=v.value;c(u);}}catch(S){s={error:S};}finally{try{v&&!v.done&&(a=_.return)&&a.call(_);}finally{if(s)throw s.error}}o.changed=p,o.actions=h,i.update(o,Sr(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 s=Sr(e);if(s.name.indexOf(Cf)===0&&!this.state.nextEvents.some(function(o){return o.indexOf(Cf)===0}))throw s.data.data;var a=cn(this,function(){return r.machine.transition(r.state,s,void 0,i||void 0)});return a},t.prototype.nextState=function(e){return this._nextState(e,!1)},t.prototype.forward=function(e){var i,r;try{for(var s=ii(this.forwardTo),a=s.next();!a.done;a=s.next()){var o=a.value,p=this.children.get(o);if(!p)throw new Error("Unable to forward event '".concat(e,"' from interpreter '").concat(this.id,"' to nonexistant child '").concat(o,"'."));p.send(e);}}catch(h){i={error:h};}finally{try{a&&!a.done&&(r=s.return)&&r.call(s);}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);i&&(this.removeChild(e),fi(i.stop)&&i.stop());},t.prototype.spawn=function(e,i,r){if(this.status!==cr.Running)return Uf(e,i);if(Df(e))return this.spawnPromise(Promise.resolve(e),i);if(fi(e))return this.spawnCallback(e,i);if(ig(e))return this.spawnActor(e,i);if(N0(e))return this.spawnObservable(e,i);if(gn(e))return this.spawnMachine(e,_e(_e({},r),{id:i}));if(R0(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 s=new t(e,_e(_e({},this.options),{parent:this,id:i.id||e.id})),a=_e(_e({},dg),i);a.sync&&s.onTransition(function(p){r.send(Bf,{state:p,id:s.id});});var o=s;return this.children.set(s.id,o),a.autoForward&&this.forwardTo.add(s.id),s.onDone(function(p){r.removeChild(s.id),r.send(Sr(p,{origin:s.id}));}).start(),o},t.prototype.spawnBehavior=function(e,i){var r=ug(e,{id:i,parent:this});return this.children.set(i,r),r},t.prototype.spawnPromise=function(e,i){var r,s=this,a=!1,o;e.then(function(h){a||(o=h,s.removeChild(i),s.send(Sr(Bo(i,h),{origin:i})));},function(h){if(!a){s.removeChild(i);var c=$n(i,h);try{s.send(Sr(c,{origin:i}));}catch{s.devTools&&s.devTools.send(c,s.state),s.machine.strict&&s.stop();}}});var p=(r={id:i,send:function(){},subscribe:function(h,c,_){var v=Oo(h,c,_),u=!1;return e.then(function(S){u||(v.next(S),!u&&v.complete());},function(S){u||v.error(S);}),{unsubscribe:function(){return u=!0}}},stop:function(){a=!0;},toJSON:function(){return {id:i}},getSnapshot:function(){return o}},r[Sa]=function(){return this},r);return this.children.set(i,p),p},t.prototype.spawnCallback=function(e,i){var r,s=this,a=!1,o=new Set,p=new Set,h,c=function(u){h=u,p.forEach(function(S){return S(u)}),!a&&s.send(Sr(u,{origin:i}));},_;try{_=e(c,function(u){o.add(u);});}catch(u){this.send($n(i,u));}if(Df(_))return this.spawnPromise(_,i);var v=(r={id:i,send:function(u){return o.forEach(function(S){return S(u)})},subscribe:function(u){var S=Oo(u);return p.add(S.next),{unsubscribe:function(){p.delete(S.next);}}},stop:function(){a=!0,fi(_)&&_();},toJSON:function(){return {id:i}},getSnapshot:function(){return h}},r[Sa]=function(){return this},r);return this.children.set(i,v),v},t.prototype.spawnObservable=function(e,i){var r,s=this,a,o=e.subscribe(function(h){a=h,s.send(Sr(h,{origin:i}));},function(h){s.removeChild(i),s.send(Sr($n(i,h),{origin:i}));},function(){s.removeChild(i),s.send(Sr(Bo(i),{origin:i}));}),p=(r={id:i,send:function(){},subscribe:function(h,c,_){return e.subscribe(h,c,_)},stop:function(){return o.unsubscribe()},getSnapshot:function(){return a},toJSON:function(){return {id:i}}},r[Sa]=function(){return this},r);return this.children.set(i,p),p},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[Sa]=function(){return this},r));},t.prototype.attachDev=function(){var e=fl();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(_e(_e({name:this.id,autoPause:!0,stateSanitizer:function(r){return {value:r.value,context:r.context,actions:r.actions}}},i),{features:_e({jump:!1,skip:!1},i?i.features:void 0)}),this.machine),this.devTools.init(this.state);}cg(this);}},t.prototype.toJSON=function(){return {id:this.id}},t.prototype[Sa]=function(){return this},t.prototype.getSnapshot=function(){return this.status===cr.NotStarted?this.initialState:this._state},t.defaultOptions={execute:!0,deferEvents:!0,clock:{setTimeout:function(e,i){return setTimeout(e,i)},clearTimeout:function(e){return clearTimeout(e)}},logger:console.log.bind(console),devTools:!1},t.interpret=Kf,t}();Vo="",nl="#",Kh="*",pn={},fn=function(t){return t[0]===nl},yg=function(){return {actions:{},guards:{},services:{},activities:{},delays:{}}},vg=function(){function t(e,i,r,s){r===void 0&&(r="context"in e?e.context:void 0);var a=this,o;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(yg(),i),this.parent=s?.parent,this.key=this.config.key||s?.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:zf),this.id=this.config.id||Di([this.machine.key],li(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:(o=this.config.schema)!==null&&o!==void 0?o:{},this.description=this.config.description,this.initial=this.config.initial,this.states=this.config.states?qn(this.config.states,function(c,_){var v,u=new t(c,{},void 0,{parent:a,key:_});return Object.assign(a.idMap,_e((v={},v[u.id]=u,v),u.idMap)),u}):pn;var p=0;function h(c){var _,v;c.order=p++;try{for(var u=ii(Jf(c)),S=u.next();!S.done;S=u.next()){var d=S.value;h(d);}}catch(g){_={error:g};}finally{try{S&&!S.done&&(v=u.return)&&v.call(u);}finally{if(_)throw _.error}}}h(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(c){var _=c.event;return _===Vo}):Vo in this.config.on:!1),this.strict=!!this.config.strict,this.onEntry=Is(this.config.entry||this.config.onEntry).map(function(c){return Jn(c)}),this.onExit=Is(this.config.exit||this.config.onExit).map(function(c){return Jn(c)}),this.meta=this.config.meta,this.doneData=this.type==="final"?this.config.data:void 0,this.invoke=Is(this.config.invoke).map(function(c,_){var v,u;if(gn(c)){var S=Fo(a.id,_);return a.machine.options.services=_e((v={},v[S]=c,v),a.machine.options.services),Lo({src:S,id:S})}else if(di(c.src)){var S=c.id||Fo(a.id,_);return Lo(_e(_e({},c),{id:S,src:c.src}))}else if(gn(c.src)||fi(c.src)){var S=c.id||Fo(a.id,_);return a.machine.options.services=_e((u={},u[S]=c.src,u),a.machine.options.services),Lo(_e(_e({id:S},c),{src:S}))}else {var d=c.src;return Lo(_e(_e({id:Fo(a.id,_)},c),{src:d}))}}),this.activities=Is(this.config.activities).concat(this.invoke).map(function(c){return pl(c)}),this.transition=this.transition.bind(this),this.tags=Is(this.config.tags);}return t.prototype._init=function(){this.__cache.transitions||Xf(this).forEach(function(e){return e.on});},t.prototype.withConfig=function(e,i){var r=this.options,s=r.actions,a=r.activities,o=r.guards,p=r.services,h=r.delays;return new t(this.config,{actions:_e(_e({},s),e.actions),activities:_e(_e({},a),e.activities),guards:_e(_e({},o),e.guards),services:_e(_e({},p),e.services),delays:_e(_e({},h),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 fi(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.type,initial:this.initial,history:this.history,states:qn(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===Vo,r=this.transitions.filter(function(s){var a=s.eventType===e;return i?a:a||s.eventType===Kh});return this.__cache.candidates[e]=r,r},t.prototype.getDelayedTransitions=function(){var e=this,i=this.config.after;if(!i)return [];var r=function(a,o){var p=fi(a)?"".concat(e.id,":delay[").concat(o,"]"):a,h=K0(p,e.id);return e.onEntry.push(H0(h,{delay:a})),e.onExit.push(J0(h)),h},s=yn(i)?i.map(function(a,o){var p=r(a.delay,o);return _e(_e({},a),{event:p})}):Ni(Object.keys(i).map(function(a,o){var p=i[a],h=di(p)?{target:p}:p,c=isNaN(+a)?a:+a,_=r(c,o);return Is(h).map(function(v){return _e(_e({},v),{event:_,delay:c})})}));return s.map(function(a){var o=a.delay;return _e(_e({},e.formatTransition(a)),{delay:o})})},t.prototype.getStateNodes=function(e){var i,r=this;if(!e)return [];var s=e instanceof Ws?e.value:Un(e,this.delimiter);if(di(s)){var a=this.getStateNode(s).initial;return a!==void 0?this.getStateNodes((i={},i[s]=a,i)):[this,this.states[s]]}var o=Object.keys(s),p=[this];return p.push.apply(p,Di([],li(Ni(o.map(function(h){return r.getStateNode(h).getStateNodes(s[h])}))),!1)),p},t.prototype.handles=function(e){var i=Nf(e);return this.events.includes(i)},t.prototype.resolveState=function(e){var i=e instanceof Ws?e:Ws.create(e),r=Array.from(Hn([],this.getStateNodes(i.value)));return new Ws(_e(_e({},i),{value:this.resolve(i.value),configuration:r,done:zo(r,this),tags:If(r),machine:this.machine}))},t.prototype.transitionLeafNode=function(e,i,r){var s=this.getStateNode(e),a=s.next(i,r);return !a||!a.transitions.length?this.next(i,r):a},t.prototype.transitionCompoundNode=function(e,i,r){var s=Object.keys(e),a=this.getStateNode(s[0]),o=a._transition(e[s[0]],i,r);return !o||!o.transitions.length?this.next(i,r):o},t.prototype.transitionParallelNode=function(e,i,r){var s,a,o={};try{for(var p=ii(Object.keys(e)),h=p.next();!h.done;h=p.next()){var c=h.value,_=e[c];if(_){var v=this.getStateNode(c),u=v._transition(_,i,r);u&&(o[c]=u);}}}catch(y){s={error:y};}finally{try{h&&!h.done&&(a=p.return)&&a.call(p);}finally{if(s)throw s.error}}var S=Object.keys(o).map(function(y){return o[y]}),d=Ni(S.map(function(y){return y.transitions})),g=S.some(function(y){return y.transitions.length>0});if(!g)return this.next(i,r);var A=Ni(Object.keys(o).map(function(y){return o[y].configuration}));return {transitions:d,exitSet:Ni(S.map(function(y){return y.exitSet})),configuration:A,source:i,actions:Ni(Object.keys(o).map(function(y){return o[y].actions}))}},t.prototype._transition=function(e,i,r){return di(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,Sr(i))},t.prototype.next=function(e,i){var r,s,a=this,o=i.name,p=[],h=[],c;try{for(var _=ii(this.getCandidates(o)),v=_.next();!v.done;v=_.next()){var u=v.value,S=u.cond,d=u.in,g=e.context,A=d?di(d)&&fn(d)?e.matches(Un(this.getStateNodeById(d).path,this.delimiter)):ll(Un(d,this.delimiter),I0(this.path.slice(0,-2))(e.value)):!0,y=!1;try{y=!S||$f(this.machine,S,g,i,e);}catch(w){throw new Error("Unable to evaluate guard '".concat(S.name||S.type,"' in transition for event '").concat(o,"' in state node '").concat(this.id,`':
`).concat(w.message))}if(y&&A){u.target!==void 0&&(h=u.target),p.push.apply(p,Di([],li(u.actions),!1)),c=u;break}}}catch(w){r={error:w};}finally{try{v&&!v.done&&(s=_.return)&&s.call(_);}finally{if(r)throw r.error}}if(c){if(!h.length)return {transitions:[c],exitSet:[],configuration:e.value?[this]:[],source:e,actions:p};var m=Ni(h.map(function(w){return a.getRelativeStateNodes(w,e.historyValue)})),x=!!c.internal;return {transitions:[c],exitSet:x?[]:Ni(h.map(function(w){return a.getPotentiallyReenteringNodes(w)})),configuration:m,source:e,actions:p}}},t.prototype.getPotentiallyReenteringNodes=function(e){if(this.order<e.order)return [this];for(var i=[],r=this,s=e;r&&r!==s;)i.push(r),r=r.parent;return r!==s?[]:(i.push(s),i)},t.prototype.getActions=function(e,i,r,s,a,o,p){var h,c,_,v,u=this,S=o?Hn([],this.getStateNodes(o.value)):[],d=new Set;try{for(var g=ii(Array.from(e).sort(function(vt,bt){return vt.order-bt.order})),A=g.next();!A.done;A=g.next()){var y=A.value;(!Wn(S,y)||Wn(r.exitSet,y)||y.parent&&d.has(y.parent))&&d.add(y);}}catch(vt){h={error:vt};}finally{try{A&&!A.done&&(c=g.return)&&c.call(g);}finally{if(h)throw h.error}}try{for(var m=ii(S),x=m.next();!x.done;x=m.next()){var y=x.value;(!Wn(e,y)||Wn(r.exitSet,y.parent))&&r.exitSet.push(y);}}catch(vt){_={error:vt};}finally{try{x&&!x.done&&(v=m.return)&&v.call(m);}finally{if(_)throw _.error}}r.exitSet.sort(function(vt,bt){return bt.order-vt.order});var w=Array.from(d).sort(function(vt,bt){return vt.order-bt.order}),M=new Set(r.exitSet),N=Ni(w.map(function(vt){var bt=[];if(vt.type!=="final")return bt;var It=vt.parent;if(!It.parent)return bt;bt.push(Io(vt.id,vt.doneData),Io(It.id,vt.doneData?Go(vt.doneData,s,a):void 0));var ot=It.parent;return ot.type==="parallel"&&Xn(ot).every(function(Tt){return zo(r.configuration,Tt)})&&bt.push(Io(ot.id)),bt})),U=w.map(function(vt){var bt=vt.onEntry,It=vt.activities.map(function(ot){return X0(ot)});return {type:"entry",actions:ka(p?Di(Di([],li(bt),!1),li(It),!1):Di(Di([],li(It),!1),li(bt),!1),u.machine.options.actions)}}).concat({type:"state_done",actions:N.map(function(vt){return q0(vt)})}),Y=Array.from(M).map(function(vt){return {type:"exit",actions:ka(Di(Di([],li(vt.onExit),!1),li(vt.activities.map(function(bt){return Y0(bt)})),!1),u.machine.options.actions)}}),dt=Y.concat({type:"transition",actions:ka(r.actions,this.machine.options.actions)}).concat(U);if(i){var xt=ka(Ni(Di([],li(e),!1).sort(function(vt,bt){return bt.order-vt.order}).map(function(vt){return vt.onExit})),this.machine.options.actions).filter(function(vt){return !rl(vt)});return dt.concat({type:"stop",actions:xt})}return dt},t.prototype.transition=function(e,i,r,s){e===void 0&&(e=this.initialState);var a=Sr(i),o;if(e instanceof Ws)o=r===void 0?e:this.resolveState(Ws.from(e,r));else {var p=di(e)?this.resolve(No(this.getResolvedPath(e))):this.resolve(e),h=r??this.machine.context;o=this.resolveState(Ws.from(p,h));}if(this.strict&&!this.events.includes(a.name)&&!V0(a.name))throw new Error("Machine '".concat(this.id,"' does not accept event '").concat(a.name,"'"));var c=this._transition(o.value,o,a)||{transitions:[],configuration:[],exitSet:[],source:o,actions:[]},_=Hn([],this.getStateNodes(o.value)),v=c.configuration.length?Hn(_,c.configuration):_;return c.configuration=Di([],li(v),!1),this.resolveTransition(c,o,o.context,s,a)},t.prototype.resolveRaisedTransition=function(e,i,r,s){var a,o=e.actions;return e=this.transition(e,i,void 0,s),e._event=r,e.event=r.data,(a=e.actions).unshift.apply(a,Di([],li(o),!1)),e},t.prototype.resolveTransition=function(e,i,r,s,a){var o,p,h,c,_=this;a===void 0&&(a=dn);var v=e.configuration,u=!i||e.transitions.length>0,S=u?e.configuration:i?i.configuration:[],d=zo(S,this),g=u?sg(this.machine,v):void 0,A=i?i.historyValue?i.historyValue:e.source?this.machine.historyValue(i.value):void 0:void 0,y=this.getActions(new Set(S),d,e,r,a,i,s),m=i?_e({},i.activities):{};try{for(var x=ii(y),w=x.next();!w.done;w=x.next()){var M=w.value;try{for(var N=(h=void 0,ii(M.actions)),U=N.next();!U.done;U=N.next()){var Y=U.value;Y.type===Qh?m[Y.activity.id||Y.activity.type]=Y:Y.type===hl&&(m[Y.activity.id||Y.activity.type]=!1);}}catch(qt){h={error:qt};}finally{try{U&&!U.done&&(c=N.return)&&c.call(N);}finally{if(h)throw h.error}}}}catch(qt){o={error:qt};}finally{try{w&&!w.done&&(p=x.return)&&p.call(x);}finally{if(o)throw o.error}}var dt=li(jo(this,i,r,a,y,s,this.machine.config.predictableActionArguments||this.machine.config.preserveActionOrder),2),xt=dt[0],vt=dt[1],bt=li(O0(xt,rl),2),It=bt[0],ot=bt[1],Tt=xt.filter(function(qt){var Gt;return qt.type===Qh&&((Gt=qt.activity)===null||Gt===void 0?void 0:Gt.type)===tl}),z=Tt.reduce(function(qt,Gt){return qt[Gt.activity.id]=tg(Gt.activity,_.machine,vt,a),qt},i?_e({},i.children):{}),$=new Ws({value:g||i.value,context:vt,_event:a,_sessionid:i?i._sessionid:null,historyValue:g?A?B0(A,g):void 0:i?i.historyValue:void 0,history:!g||e.source?i:void 0,actions:g?ot:[],activities:g?m:i?i.activities:{},events:[],configuration:S,transitions:e.transitions,children:z,done:d,tags:If(S),machine:this}),E=r!==vt;$.changed=a.name===Bf||E;var q=$.history;q&&delete q.history;var nt=!d&&(this._transient||v.some(function(qt){return qt._transient}));if(!u&&(!nt||a.name===Vo))return $;var Q=$;if(!d)for(nt&&(Q=this.resolveRaisedTransition(Q,{type:E0},a,s));It.length;){var Ut=It.shift();Q=this.resolveRaisedTransition(Q,Ut._event,a,s);}var zt=Q.changed||(q?!!Q.actions.length||E||typeof q.value!=typeof Q.value||!Zf(Q.value,q.value):void 0);return Q.changed=zt,Q.history=q,Q},t.prototype.getStateNode=function(e){if(fn(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=fn(e)?e.slice(nl.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"&&fn(e))try{return this.getStateNodeById(e.slice(1))}catch{}for(var i=il(e,this.delimiter).slice(),r=this;i.length;){var s=i.shift();if(!s.length)break;r=r.getStateNode(s);}return r},t.prototype.resolve=function(e){var i,r=this;if(!e)return this.initialStateValue||pn;switch(this.type){case"parallel":return qn(this.initialStateValue,function(a,o){return a?r.getStateNode(o).resolve(e[o]||a):pn});case"compound":if(di(e)){var s=this.getStateNode(e);return s.type==="parallel"||s.type==="compound"?(i={},i[e]=s.initialStateValue,i):e}return Object.keys(e).length?qn(e,function(a,o){return a?r.getStateNode(o).resolve(a):pn}):this.initialStateValue||{};default:return e||pn}},t.prototype.getResolvedPath=function(e){if(fn(e)){var i=this.machine.idMap[e.slice(nl.length)];if(!i)throw new Error("Unable to find state node '".concat(e,"'"));return i.path}return il(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=Mf(this.states,function(r){return r.initialStateValue||pn},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=qo(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;di(i.target)?e=fn(i.target)?No(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(qo(this))return [this];if(this.type==="compound"&&!this.initial)return [this];var i=Ro(this.initialStateValue);return Ni(i.map(function(r){return e.getFromRelativePath(r)}))},enumerable:!1,configurable:!0}),t.prototype.getFromRelativePath=function(e){if(!e.length)return [this];var i=li(e),r=i[0],s=i.slice(1);if(!this.states)throw new Error("Cannot retrieve subPath '".concat(r,"' from node with no states"));var a=this.getStateNode(r);if(a.type==="history")return a.resolveHistory();if(!this.states[r])throw new Error("Child state '".concat(r,"' does not exist on '").concat(this.id,"'"));return this.states[r].getFromRelativePath(s)},t.prototype.historyValue=function(e){if(Object.keys(this.states).length)return {current:e||this.initialStateValue,states:Mf(this.states,function(i,r){if(!e)return i.historyValue();var s=di(e)?void 0:e[r];return i.historyValue(s||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 s=this.target;return s?Ni(Ro(s).map(function(o){return r.getFromRelativePath(o)})):r.initialStateNodes}var a=L0(r.path,"states")(e).current;return di(a)?[r.getStateNode(a)]:Ni(Ro(a).map(function(o){return i.history==="deep"?r.getFromRelativePath(o):[r.states[o[0]]]}))},Object.defineProperty(t.prototype,"stateIds",{get:function(){var e=this,i=Ni(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,s;if(this.__cache.events)return this.__cache.events;var a=this.states,o=new Set(this.ownEvents);if(a)try{for(var p=ii(Object.keys(a)),h=p.next();!h.done;h=p.next()){var c=h.value,_=a[c];if(_.states)try{for(var v=(r=void 0,ii(_.events)),u=v.next();!u.done;u=v.next()){var S=u.value;o.add("".concat(S));}}catch(d){r={error:d};}finally{try{u&&!u.done&&(s=v.return)&&s.call(v);}finally{if(r)throw r.error}}}}catch(d){e={error:d};}finally{try{h&&!h.done&&(i=p.return)&&i.call(p);}finally{if(e)throw e.error}}return this.__cache.events=Array.from(o)},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(!di(r))return r;var s=r[0]===i.delimiter;if(s&&!i.parent)return i.getStateNodeByPath(r.slice(1));var a=s?i.key+r:r;if(i.parent)try{var o=i.parent.getStateNodeByPath(a);return o}catch(p){throw new Error("Invalid transition definition for state node '".concat(i.id,`':
`).concat(p.message))}else return i.getStateNodeByPath(a)})},t.prototype.formatTransition=function(e){var i=this,r=j0(e.target),s="internal"in e?e.internal:r?r.some(function(h){return di(h)&&h[0]===i.delimiter}):!0,a=this.machine.options.guards,o=this.resolveTarget(r),p=_e(_e({},e),{actions:ka(Is(e.actions)),cond:qf(e.cond,a),target:o,source:this,internal:s,eventType:e.event,toJSON:function(){return _e(_e({},p),{target:p.target?p.target.map(function(h){return "#".concat(h.id)}):void 0,source:"#".concat(i.id)})}});return p},t.prototype.formatTransitions=function(){var e,i,r=this,s;if(!this.config.on)s=[];else if(Array.isArray(this.config.on))s=this.config.on;else {var a=this.config.on,o=Kh,p=a[o],h=p===void 0?[]:p,c=ol(a,[typeof o=="symbol"?o:o+""]);s=Ni(Object.keys(c).map(function(m){var x=ln(m,c[m]);return x}).concat(ln(Kh,h)));}var _=this.config.always?ln("",this.config.always):[],v=this.config.onDone?ln(String(Io(this.id)),this.config.onDone):[],u=Ni(this.invoke.map(function(m){var x=[];return m.onDone&&x.push.apply(x,Di([],li(ln(String(Bo(m.id)),m.onDone)),!1)),m.onError&&x.push.apply(x,Di([],li(ln(String($n(m.id)),m.onError)),!1)),x})),S=this.after,d=Ni(Di(Di(Di(Di([],li(v),!1),li(u),!1),li(s),!1),li(_),!1).map(function(m){return Is(m).map(function(x){return r.formatTransition(x)})}));try{for(var g=ii(S),A=g.next();!A.done;A=g.next()){var y=A.value;d.push(y);}}catch(m){e={error:m};}finally{try{A&&!A.done&&(i=g.return)&&i.call(g);}finally{if(e)throw e.error}}return d},t}();un={click:"onClick",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",complete:"onComplete",after:"onAfter",enter:"onEnter",show:"onShow"};Object.values(un);xg=Object.keys(un),_g=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 Ze(`invalid state machine id ${t}`);this._service=Kf(bg(e)),this._addEventListeners(),this._service.start();}stop(){this._removeEventListeners(),this._service?.stop(),this._player.stop();}_removeEventListeners(){this._requiresDomElement();for(let[t,e]of this._domListeners)t==="visibilityChange"&&this._player.stopPlayOnShow(),this._domElement?.removeEventListener(t,e),this._domListeners.delete(t);for(let[t,e]of this._playerListeners)this._player.removeEventListener(t,e),this._playerListeners.delete(t);}_addEventListeners(){this._requiresDomElement();let t=i=>{this._service.send({type:i});},e=i=>{function r(){t(i);}return r};this._service.subscribe(i=>{if(typeof i.changed>"u"||i.changed){this._removeEventListeners();for(let r of i.nextEvents)if(xg.filter(s=>s!=="complete"&&s!=="show").includes(r)){let s=e(r);this._domListeners.set(r,s),this._domElement?.addEventListener(r,s,{once:!0});}else if(r==="complete"){let s=e(r);this._player.addEventListener(r,s),this._playerListeners.set(r,s);}else if(r==="show"){let s=e(r);this._player.addIntersectionObserver({callbackOnIntersect:a=>{a>0&&(a!==100&&this._onShowPrevValue!==a&&s(),this._onShowPrevValue=a);},threshold:[]}),this._domListeners.set("visibilityChange",s);}}});}subscribe(t){throw Ze(t.toString())}_transformToXStateSchema(t){let e=new Map;for(let i of t){let r={},s={};if(s.id=i.descriptor.id,typeof i.descriptor.initial<"u"&&(s.initial=i.descriptor.initial),typeof i<"u"){let a=i.states;for(let o in a)if(typeof a[o]<"u"&&a[o]){let p=a[o],h=p.playbackSettings,c=Object.keys(p).filter(u=>u.startsWith("on")),_={},v={};for(let u of c)if(typeof p[u]<"u"){let S=p[u];if(u===un.after){let d=S;v[d.ms]={target:S?.state??""};}else u===un.enter?_[so(un,u)]={target:S?.state??""}:_[so(un,u)]={target:S?.state??""};}r[o]={entry:()=>{!this._player.getAnimationInstance()||p.animationId&&p.animationId!==this._player.currentAnimationId?this._player.play(p.animationId,()=>({...Gr,...h})).then(()=>{this._updatePlaybackSettings(h);}).catch(u=>{qs(`State machine error: ${u.message}`);}):this._updatePlaybackSettings(h);},exit:()=>{typeof h.segments<"u"&&this._player.resetSegments(!1),typeof h.playOnScroll<"u"&&this._player.stopPlayOnScroll();},on:_,after:v,meta:h};}}s.states=r,e.set(s.id,s);}return e}_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 Ze("Requires a DOM element to attach events.")}};});async function ec(t,e){let[{DotLottieStateMachineManager:i}]=await Promise.all([Promise.resolve().then(()=>(tc(),Qf))]);if(!t.length)throw Ze("No state machines available inside this .lottie!");return new i(t,e)}var Wo=Ir(()=>{en();});var ic={};ia(ic,{default:()=>Sg});var Pg,Sg,rc=Ir(()=>{Fs();Pg=ce((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="",s=!1,a=-999999,o=function(P){s=!!P;},p=function(){return s},h=function(P){r=P;},c=function(){return r};function _(P){return document.createElement(P)}function v(P,D){var B,J=P.length,st;for(B=0;B<J;B+=1){st=P[B].prototype;for(var et in st)Object.prototype.hasOwnProperty.call(st,et)&&(D.prototype[et]=st[et]);}}function u(P){function D(){}return D.prototype=P,D}var S=function(){function P(D){this.audios=[],this.audioFactory=D,this._volume=1,this._isMuted=!1;}return P.prototype={addAudio:function(D){this.audios.push(D);},pause:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].pause();},resume:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].resume();},setRate:function(D){var B,J=this.audios.length;for(B=0;B<J;B+=1)this.audios[B].setRate(D);},createAudio:function(D){return this.audioFactory?this.audioFactory(D):window.Howl?new window.Howl({src:[D]}):{isPlaying:!1,play:function(){this.isPlaying=!0;},seek:function(){this.isPlaying=!1;},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(D){this.audioFactory=D;},setVolume:function(D){this._volume=D,this._updateVolume();},mute:function(){this._isMuted=!0,this._updateVolume();},unmute:function(){this._isMuted=!1,this._updateVolume();},getVolume:function(){return this._volume},_updateVolume:function(){var D,B=this.audios.length;for(D=0;D<B;D+=1)this.audios[D].volume(this._volume*(this._isMuted?0:1));}},function(){return new P}}(),d=function(){function P(B,J){var st=0,et=[],gt;switch(B){case"int16":case"uint8c":gt=1;break;default:gt=1.1;break}for(st=0;st<J;st+=1)et.push(gt);return et}function D(B,J){return B==="float32"?new Float32Array(J):B==="int16"?new Int16Array(J):B==="uint8c"?new Uint8ClampedArray(J):P(B,J)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?D:P}();function g(P){return Array.apply(null,{length:P})}var A=!0,y=null,m="",x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,M=Math.sqrt,N=Math.floor,U=Math.min,Y=150,dt=Math.PI/180,xt=.5519;function vt(P,D,B,J){this.type=P,this.currentTime=D,this.totalTime=B,this.direction=J<0?-1:1;}function bt(P,D){this.type=P,this.direction=D<0?-1:1;}function It(P,D,B,J){this.type=P,this.currentLoop=B,this.totalLoops=D,this.direction=J<0?-1:1;}function ot(P,D,B){this.type=P,this.firstFrame=D,this.totalFrames=B;}function Tt(P,D){this.type=P,this.target=D;}function z(P,D){this.type="renderFrameError",this.nativeError=P,this.currentTime=D;}function $(P){this.type="configError",this.nativeError=P;}var E=function(){var P=0;return function(){return P+=1,m+"__lottie_element_"+P}}();function q(P,D,B){var J,st,et,gt,Mt,yt,Bt,Vt;switch(gt=Math.floor(P*6),Mt=P*6-gt,yt=B*(1-D),Bt=B*(1-Mt*D),Vt=B*(1-(1-Mt)*D),gt%6){case 0:J=B,st=Vt,et=yt;break;case 1:J=Bt,st=B,et=yt;break;case 2:J=yt,st=B,et=Vt;break;case 3:J=yt,st=Bt,et=B;break;case 4:J=Vt,st=yt,et=B;break;case 5:J=B,st=yt,et=Bt;break}return [J,st,et]}function nt(P,D,B){var J=Math.max(P,D,B),st=Math.min(P,D,B),et=J-st,gt,Mt=J===0?0:et/J,yt=J/255;switch(J){case st:gt=0;break;case P:gt=D-B+et*(D<B?6:0),gt/=6*et;break;case D:gt=B-P+et*2,gt/=6*et;break;case B:gt=P-D+et*4,gt/=6*et;break}return [gt,Mt,yt]}function Q(P,D){var B=nt(P[0]*255,P[1]*255,P[2]*255);return B[1]+=D,B[1]>1?B[1]=1:B[1]<=0&&(B[1]=0),q(B[0],B[1],B[2])}function Ut(P,D){var B=nt(P[0]*255,P[1]*255,P[2]*255);return B[2]+=D,B[2]>1?B[2]=1:B[2]<0&&(B[2]=0),q(B[0],B[1],B[2])}function zt(P,D){var B=nt(P[0]*255,P[1]*255,P[2]*255);return B[0]+=D/360,B[0]>1?B[0]-=1:B[0]<0&&(B[0]+=1),q(B[0],B[1],B[2])}(function(){var P=[],D,B;for(D=0;D<256;D+=1)B=D.toString(16),P[D]=B.length===1?"0"+B:B;return function(J,st,et){return J<0&&(J=0),st<0&&(st=0),et<0&&(et=0),"#"+P[J]+P[st]+P[et]}})();var qt=function(P){A=!!P;},Gt=function(){return A},se=function(P){y=P;},he=function(){return y},le=function(P){Y=P;},Se=function(){return Y},Pe=function(P){m=P;};function Jt(P){return document.createElementNS(i,P)}function de(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?de=function(D){return typeof D}:de=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},de(P)}var Xt=function(){var P=1,D=[],B,J,st={onmessage:function(){},postMessage:function(kt){B({data:kt});}},et={postMessage:function(kt){st.onmessage({data:kt});}};function gt(kt){if(window.Worker&&window.Blob&&p()){var l=new Blob(["var _workerSelf = self; self.onmessage = ",kt.toString()],{type:"text/javascript"}),k=URL.createObjectURL(l);return new Worker(k)}return B=kt,st}function Mt(){J||(J=gt(function(kt){function l(){function C(tt,H){var j,W,R=tt.length,rt,at,Z,ct;for(W=0;W<R;W+=1)if(j=tt[W],"ks"in j&&!j.completed){if(j.completed=!0,j.hasMask){var mt=j.masksProperties;for(at=mt.length,rt=0;rt<at;rt+=1)if(mt[rt].pt.k.i)f(mt[rt].pt.k);else for(ct=mt[rt].pt.k.length,Z=0;Z<ct;Z+=1)mt[rt].pt.k[Z].s&&f(mt[rt].pt.k[Z].s[0]),mt[rt].pt.k[Z].e&&f(mt[rt].pt.k[Z].e[0]);}j.ty===0?(j.layers=V(j.refId,H),C(j.layers,H)):j.ty===4?n(j.shapes):j.ty===5&&it(j);}}function L(tt,H){if(tt){var j=0,W=tt.length;for(j=0;j<W;j+=1)tt[j].t===1&&(tt[j].data.layers=V(tt[j].data.refId,H),C(tt[j].data.layers,H));}}function O(tt,H){for(var j=0,W=H.length;j<W;){if(H[j].id===tt)return H[j];j+=1;}return null}function V(tt,H){var j=O(tt,H);return j?j.layers.__used?JSON.parse(JSON.stringify(j.layers)):(j.layers.__used=!0,j.layers):null}function n(tt){var H,j=tt.length,W,R;for(H=j-1;H>=0;H-=1)if(tt[H].ty==="sh")if(tt[H].ks.k.i)f(tt[H].ks.k);else for(R=tt[H].ks.k.length,W=0;W<R;W+=1)tt[H].ks.k[W].s&&f(tt[H].ks.k[W].s[0]),tt[H].ks.k[W].e&&f(tt[H].ks.k[W].e[0]);else tt[H].ty==="gr"&&n(tt[H].it);}function f(tt){var H,j=tt.i.length;for(H=0;H<j;H+=1)tt.i[H][0]+=tt.v[H][0],tt.i[H][1]+=tt.v[H][1],tt.o[H][0]+=tt.v[H][0],tt.o[H][1]+=tt.v[H][1];}function b(tt,H){var j=H?H.split("."):[100,100,100];return tt[0]>j[0]?!0:j[0]>tt[0]?!1:tt[1]>j[1]?!0:j[1]>tt[1]?!1:tt[2]>j[2]?!0:j[2]>tt[2]?!1:null}var T=function(){var tt=[4,4,14];function H(W){var R=W.t.d;W.t.d={k:[{s:R,t:0}]};}function j(W){var R,rt=W.length;for(R=0;R<rt;R+=1)W[R].ty===5&&H(W[R]);}return function(W){if(b(tt,W.v)&&(j(W.layers),W.assets)){var R,rt=W.assets.length;for(R=0;R<rt;R+=1)W.assets[R].layers&&j(W.assets[R].layers);}}}(),I=function(){var tt=[4,7,99];return function(H){if(H.chars&&!b(tt,H.v)){var j,W=H.chars.length;for(j=0;j<W;j+=1){var R=H.chars[j];R.data&&R.data.shapes&&(n(R.data.shapes),R.data.ip=0,R.data.op=99999,R.data.st=0,R.data.sr=1,R.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}},H.chars[j].t||(R.data.shapes.push({ty:"no"}),R.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"})));}}}}(),F=function(){var tt=[5,7,15];function H(W){var R=W.t.p;typeof R.a=="number"&&(R.a={a:0,k:R.a}),typeof R.p=="number"&&(R.p={a:0,k:R.p}),typeof R.r=="number"&&(R.r={a:0,k:R.r});}function j(W){var R,rt=W.length;for(R=0;R<rt;R+=1)W[R].ty===5&&H(W[R]);}return function(W){if(b(tt,W.v)&&(j(W.layers),W.assets)){var R,rt=W.assets.length;for(R=0;R<rt;R+=1)W.assets[R].layers&&j(W.assets[R].layers);}}}(),G=function(){var tt=[4,1,9];function H(W){var R,rt=W.length,at,Z;for(R=0;R<rt;R+=1)if(W[R].ty==="gr")H(W[R].it);else if(W[R].ty==="fl"||W[R].ty==="st")if(W[R].c.k&&W[R].c.k[0].i)for(Z=W[R].c.k.length,at=0;at<Z;at+=1)W[R].c.k[at].s&&(W[R].c.k[at].s[0]/=255,W[R].c.k[at].s[1]/=255,W[R].c.k[at].s[2]/=255,W[R].c.k[at].s[3]/=255),W[R].c.k[at].e&&(W[R].c.k[at].e[0]/=255,W[R].c.k[at].e[1]/=255,W[R].c.k[at].e[2]/=255,W[R].c.k[at].e[3]/=255);else W[R].c.k[0]/=255,W[R].c.k[1]/=255,W[R].c.k[2]/=255,W[R].c.k[3]/=255;}function j(W){var R,rt=W.length;for(R=0;R<rt;R+=1)W[R].ty===4&&H(W[R].shapes);}return function(W){if(b(tt,W.v)&&(j(W.layers),W.assets)){var R,rt=W.assets.length;for(R=0;R<rt;R+=1)W.assets[R].layers&&j(W.assets[R].layers);}}}(),K=function(){var tt=[4,4,18];function H(W){var R,rt=W.length,at,Z;for(R=rt-1;R>=0;R-=1)if(W[R].ty==="sh")if(W[R].ks.k.i)W[R].ks.k.c=W[R].closed;else for(Z=W[R].ks.k.length,at=0;at<Z;at+=1)W[R].ks.k[at].s&&(W[R].ks.k[at].s[0].c=W[R].closed),W[R].ks.k[at].e&&(W[R].ks.k[at].e[0].c=W[R].closed);else W[R].ty==="gr"&&H(W[R].it);}function j(W){var R,rt,at=W.length,Z,ct,mt,Pt;for(rt=0;rt<at;rt+=1){if(R=W[rt],R.hasMask){var Rt=R.masksProperties;for(ct=Rt.length,Z=0;Z<ct;Z+=1)if(Rt[Z].pt.k.i)Rt[Z].pt.k.c=Rt[Z].cl;else for(Pt=Rt[Z].pt.k.length,mt=0;mt<Pt;mt+=1)Rt[Z].pt.k[mt].s&&(Rt[Z].pt.k[mt].s[0].c=Rt[Z].cl),Rt[Z].pt.k[mt].e&&(Rt[Z].pt.k[mt].e[0].c=Rt[Z].cl);}R.ty===4&&H(R.shapes);}}return function(W){if(b(tt,W.v)&&(j(W.layers),W.assets)){var R,rt=W.assets.length;for(R=0;R<rt;R+=1)W.assets[R].layers&&j(W.assets[R].layers);}}}();function X(tt){tt.__complete||(G(tt),T(tt),I(tt),F(tt),K(tt),C(tt.layers,tt.assets),L(tt.chars,tt.assets),tt.__complete=!0);}function it(tt){tt.t.a.length===0&&"m"in tt.t.p;}var lt={};return lt.completeData=X,lt.checkColors=G,lt.checkChars=I,lt.checkPathProperties=F,lt.checkShapes=K,lt.completeLayers=C,lt}if(et.dataManager||(et.dataManager=l()),et.assetLoader||(et.assetLoader=function(){function C(O){var V=O.getResponseHeader("content-type");return V&&O.responseType==="json"&&V.indexOf("json")!==-1||O.response&&de(O.response)==="object"?O.response:O.response&&typeof O.response=="string"?JSON.parse(O.response):O.responseText?JSON.parse(O.responseText):null}function L(O,V,n,f){var b,T=new XMLHttpRequest;try{T.responseType="json";}catch{}T.onreadystatechange=function(){if(T.readyState===4)if(T.status===200)b=C(T),n(b);else try{b=C(T),n(b);}catch(I){f&&f(I);}};try{T.open(["G","E","T"].join(""),O,!0);}catch{T.open(["G","E","T"].join(""),V+"/"+O,!0);}T.send();}return {load:L}}()),kt.data.type==="loadAnimation")et.assetLoader.load(kt.data.path,kt.data.fullPath,function(C){et.dataManager.completeData(C),et.postMessage({id:kt.data.id,payload:C,status:"success"});},function(){et.postMessage({id:kt.data.id,status:"error"});});else if(kt.data.type==="complete"){var k=kt.data.animation;et.dataManager.completeData(k),et.postMessage({id:kt.data.id,payload:k,status:"success"});}else kt.data.type==="loadData"&&et.assetLoader.load(kt.data.path,kt.data.fullPath,function(C){et.postMessage({id:kt.data.id,payload:C,status:"success"});},function(){et.postMessage({id:kt.data.id,status:"error"});});}),J.onmessage=function(kt){var l=kt.data,k=l.id,C=D[k];D[k]=null,l.status==="success"?C.onComplete(l.payload):C.onError&&C.onError();});}function yt(kt,l){P+=1;var k="processId_"+P;return D[k]={onComplete:kt,onError:l},k}function Bt(kt,l,k){Mt();var C=yt(l,k);J.postMessage({type:"loadAnimation",path:kt,fullPath:window.location.origin+window.location.pathname,id:C});}function Vt(kt,l,k){Mt();var C=yt(l,k);J.postMessage({type:"loadData",path:kt,fullPath:window.location.origin+window.location.pathname,id:C});}function Ht(kt,l,k){Mt();var C=yt(l,k);J.postMessage({type:"complete",animation:kt,id:C});}return {loadAnimation:Bt,loadData:Vt,completeAnimation:Ht}}(),Wt=function(){var P=function(){var O=_("canvas");O.width=1,O.height=1;var V=O.getContext("2d");return V.fillStyle="rgba(0,0,0,0)",V.fillRect(0,0,1,1),O}();function D(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function B(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function J(O,V,n){var f="";if(O.e)f=O.p;else if(V){var b=O.p;b.indexOf("images/")!==-1&&(b=b.split("/")[1]),f=V+b;}else f=n,f+=O.u?O.u:"",f+=O.p;return f}function st(O){var V=0,n=setInterval(function(){var f=O.getBBox();(f.width||V>500)&&(this._imageLoaded(),clearInterval(n)),V+=1;}.bind(this),50);}function et(O){var V=J(O,this.assetsPath,this.path),n=Jt("image");x?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){f.img=P,this._imageLoaded();}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",V),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var f={img:n,assetData:O};return f}function gt(O){var V=J(O,this.assetsPath,this.path),n=_("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){f.img=P,this._imageLoaded();}.bind(this),!1),n.src=V;var f={img:n,assetData:O};return f}function Mt(O){var V={assetData:O},n=J(O,this.assetsPath,this.path);return Xt.loadData(n,function(f){V.img=f,this._footageLoaded();}.bind(this),function(){V.img={},this._footageLoaded();}.bind(this)),V}function yt(O,V){this.imagesLoadedCb=V;var n,f=O.length;for(n=0;n<f;n+=1)O[n].layers||(!O[n].t||O[n].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(O[n]))):O[n].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(O[n]))));}function Bt(O){this.path=O||"";}function Vt(O){this.assetsPath=O||"";}function Ht(O){for(var V=0,n=this.images.length;V<n;){if(this.images[V].assetData===O)return this.images[V].img;V+=1;}return null}function kt(){this.imagesLoadedCb=null,this.images.length=0;}function l(){return this.totalImages===this.loadedAssets}function k(){return this.totalFootages===this.loadedFootagesCount}function C(O,V){O==="svg"?(this._elementHelper=V,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function L(){this._imageLoaded=D.bind(this),this._footageLoaded=B.bind(this),this.testImageLoaded=st.bind(this),this.createFootageData=Mt.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return L.prototype={loadAssets:yt,setAssetsPath:Vt,setPath:Bt,loadedImages:l,loadedFootages:k,destroy:kt,getAsset:Ht,createImgData:gt,createImageData:et,imageLoaded:D,footageLoaded:B,setCacheType:C},L}();function ze(){}ze.prototype={triggerEvent:function(P,D){if(this._cbs[P])for(var B=this._cbs[P],J=0;J<B.length;J+=1)B[J](D);},addEventListener:function(P,D){return this._cbs[P]||(this._cbs[P]=[]),this._cbs[P].push(D),function(){this.removeEventListener(P,D);}.bind(this)},removeEventListener:function(P,D){if(!D)this._cbs[P]=null;else if(this._cbs[P]){for(var B=0,J=this._cbs[P].length;B<J;)this._cbs[P][B]===D&&(this._cbs[P].splice(B,1),B-=1,J-=1),B+=1;this._cbs[P].length||(this._cbs[P]=null);}}};var Ke=function(){function P(D){for(var B=D.split(`\r
`),J={},st,et=0,gt=0;gt<B.length;gt+=1)st=B[gt].split(":"),st.length===2&&(J[st[0]]=st[1].trim(),et+=1);if(et===0)throw new Error;return J}return function(D){for(var B=[],J=0;J<D.length;J+=1){var st=D[J],et={time:st.tm,duration:st.dr};try{et.payload=JSON.parse(D[J].cm);}catch{try{et.payload=P(D[J].cm);}catch{et.payload={name:D[J].cm};}}B.push(et);}return B}}(),We=function(){function P(D){this.compositions.push(D);}return function(){function D(B){for(var J=0,st=this.compositions.length;J<st;){if(this.compositions[J].data&&this.compositions[J].data.nm===B)return this.compositions[J].prepareFrame&&this.compositions[J].data.xt&&this.compositions[J].prepareFrame(this.currentFrame),this.compositions[J].compInterface;J+=1;}return null}return D.compositions=[],D.currentFrame=0,D.registerComposition=P,D}}(),Le={},Re=function(P,D){Le[P]=D;};function Oe(P){return Le[P]}function be(){if(Le.canvas)return "canvas";for(var P in Le)if(Le[P])return P;return ""}function re(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(D){return typeof D}:re=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},re(P)}var Nt=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=E(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Gt(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=We(),this.imagePreloader=new Wt,this.audioController=S(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new vt("drawnFrame",0,0,0),this.expressionsPlugin=he();};v([ze],Nt),Nt.prototype.setParams=function(P){(P.wrapper||P.container)&&(this.wrapper=P.wrapper||P.container);var D="svg";P.animType?D=P.animType:P.renderer&&(D=P.renderer);var B=Oe(D);this.renderer=new B(this,P.rendererSettings),this.imagePreloader.setCacheType(D,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=D,P.loop===""||P.loop===null||P.loop===void 0||P.loop===!0?this.loop=!0:P.loop===!1?this.loop=!1:this.loop=parseInt(P.loop,10),this.autoplay="autoplay"in P?P.autoplay:!0,this.name=P.name?P.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(P,"autoloadSegments")?P.autoloadSegments:!0,this.assetsPath=P.assetsPath,this.initialSegment=P.initialSegment,P.audioFactory&&this.audioController.setAudioFactory(P.audioFactory),P.animationData?this.setupAnimation(P.animationData):P.path&&(P.path.lastIndexOf("\\")!==-1?this.path=P.path.substr(0,P.path.lastIndexOf("\\")+1):this.path=P.path.substr(0,P.path.lastIndexOf("/")+1),this.fileName=P.path.substr(P.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Xt.loadAnimation(P.path,this.configAnimation,this.onSetupError));},Nt.prototype.onSetupError=function(){this.trigger("data_failed");},Nt.prototype.setupAnimation=function(P){Xt.completeAnimation(P,this.configAnimation);},Nt.prototype.setData=function(P,D){D&&re(D)!=="object"&&(D=JSON.parse(D));var B={wrapper:P,animationData:D},J=P.attributes;B.path=J.getNamedItem("data-animation-path")?J.getNamedItem("data-animation-path").value:J.getNamedItem("data-bm-path")?J.getNamedItem("data-bm-path").value:J.getNamedItem("bm-path")?J.getNamedItem("bm-path").value:"",B.animType=J.getNamedItem("data-anim-type")?J.getNamedItem("data-anim-type").value:J.getNamedItem("data-bm-type")?J.getNamedItem("data-bm-type").value:J.getNamedItem("bm-type")?J.getNamedItem("bm-type").value:J.getNamedItem("data-bm-renderer")?J.getNamedItem("data-bm-renderer").value:J.getNamedItem("bm-renderer")?J.getNamedItem("bm-renderer").value:be()||"canvas";var st=J.getNamedItem("data-anim-loop")?J.getNamedItem("data-anim-loop").value:J.getNamedItem("data-bm-loop")?J.getNamedItem("data-bm-loop").value:J.getNamedItem("bm-loop")?J.getNamedItem("bm-loop").value:"";st==="false"?B.loop=!1:st==="true"?B.loop=!0:st!==""&&(B.loop=parseInt(st,10));var et=J.getNamedItem("data-anim-autoplay")?J.getNamedItem("data-anim-autoplay").value:J.getNamedItem("data-bm-autoplay")?J.getNamedItem("data-bm-autoplay").value:J.getNamedItem("bm-autoplay")?J.getNamedItem("bm-autoplay").value:!0;B.autoplay=et!=="false",B.name=J.getNamedItem("data-name")?J.getNamedItem("data-name").value:J.getNamedItem("data-bm-name")?J.getNamedItem("data-bm-name").value:J.getNamedItem("bm-name")?J.getNamedItem("bm-name").value:"";var gt=J.getNamedItem("data-anim-prerender")?J.getNamedItem("data-anim-prerender").value:J.getNamedItem("data-bm-prerender")?J.getNamedItem("data-bm-prerender").value:J.getNamedItem("bm-prerender")?J.getNamedItem("bm-prerender").value:"";gt==="false"&&(B.prerender=!1),B.path?this.setParams(B):this.trigger("destroy");},Nt.prototype.includeLayers=function(P){P.op>this.animationData.op&&(this.animationData.op=P.op,this.totalFrames=Math.floor(P.op-this.animationData.ip));var D=this.animationData.layers,B,J=D.length,st=P.layers,et,gt=st.length;for(et=0;et<gt;et+=1)for(B=0;B<J;){if(D[B].id===st[et].id){D[B]=st[et];break}B+=1;}if((P.chars||P.fonts)&&(this.renderer.globalData.fontManager.addChars(P.chars),this.renderer.globalData.fontManager.addFonts(P.fonts,this.renderer.globalData.defs)),P.assets)for(J=P.assets.length,B=0;B<J;B+=1)this.animationData.assets.push(P.assets[B]);this.animationData.__complete=!1,Xt.completeAnimation(this.animationData,this.onSegmentComplete);},Nt.prototype.onSegmentComplete=function(P){this.animationData=P;var D=he();D&&D.initExpressions(this),this.loadNextSegment();},Nt.prototype.loadNextSegment=function(){var P=this.animationData.segments;if(!P||P.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var D=P.shift();this.timeCompleted=D.time*this.frameRate;var B=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Xt.loadData(B,this.includeLayers.bind(this),function(){this.trigger("data_failed");}.bind(this));},Nt.prototype.loadSegments=function(){var P=this.animationData.segments;P||(this.timeCompleted=this.totalFrames),this.loadNextSegment();},Nt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded();},Nt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this));},Nt.prototype.configAnimation=function(P){if(this.renderer)try{this.animationData=P,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(P),P.assets||(P.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(P.assets),this.markers=Ke(P.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause();}catch(D){this.triggerConfigError(D);}},Nt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20));},Nt.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 P=he();P&&P.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded");}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play();}},Nt.prototype.resize=function(P,D){var B=typeof P=="number"?P:void 0,J=typeof D=="number"?D:void 0;this.renderer.updateContainerSize(B,J);},Nt.prototype.setSubframe=function(P){this.isSubframeEnabled=!!P;},Nt.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");},Nt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame);}catch(P){this.triggerRenderFrameError(P);}},Nt.prototype.play=function(P){P&&this.name!==P||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")));},Nt.prototype.pause=function(P){P&&this.name!==P||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause());},Nt.prototype.togglePause=function(P){P&&this.name!==P||(this.isPaused===!0?this.play():this.pause());},Nt.prototype.stop=function(P){P&&this.name!==P||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0));},Nt.prototype.getMarkerData=function(P){for(var D,B=0;B<this.markers.length;B+=1)if(D=this.markers[B],D.payload&&D.payload.name===P)return D;return null},Nt.prototype.goToAndStop=function(P,D,B){if(!(B&&this.name!==B)){var J=Number(P);if(isNaN(J)){var st=this.getMarkerData(P);st&&this.goToAndStop(st.time,!0);}else D?this.setCurrentRawFrameValue(P):this.setCurrentRawFrameValue(P*this.frameModifier);this.pause();}},Nt.prototype.goToAndPlay=function(P,D,B){if(!(B&&this.name!==B)){var J=Number(P);if(isNaN(J)){var st=this.getMarkerData(P);st&&(st.duration?this.playSegments([st.time,st.time+st.duration],!0):this.goToAndStop(st.time,!0));}else this.goToAndStop(J,D,B);this.play();}},Nt.prototype.advanceTime=function(P){if(!(this.isPaused===!0||this.isLoaded===!1)){var D=this.currentRawFrame+P*this.frameModifier,B=!1;D>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(D>this.totalFrames?D%this.totalFrames:0)||(B=!0,D=this.totalFrames-1):D>=this.totalFrames?(this.playCount+=1,this.checkSegments(D%this.totalFrames)||(this.setCurrentRawFrameValue(D%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(D):D<0?this.checkSegments(D%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+D%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(B=!0,D=0)):this.setCurrentRawFrameValue(D),B&&(this.setCurrentRawFrameValue(D),this.pause(),this.trigger("complete"));}},Nt.prototype.adjustSegment=function(P,D){this.playCount=0,P[1]<P[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=P[0]-P[1],this.timeCompleted=this.totalFrames,this.firstFrame=P[1],this.setCurrentRawFrameValue(this.totalFrames-.001-D)):P[1]>P[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=P[1]-P[0],this.timeCompleted=this.totalFrames,this.firstFrame=P[0],this.setCurrentRawFrameValue(.001+D)),this.trigger("segmentStart");},Nt.prototype.setSegment=function(P,D){var B=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<P?B=P:this.currentRawFrame+this.firstFrame>D&&(B=D-P)),this.firstFrame=P,this.totalFrames=D-P,this.timeCompleted=this.totalFrames,B!==-1&&this.goToAndStop(B,!0);},Nt.prototype.playSegments=function(P,D){if(D&&(this.segments.length=0),re(P[0])==="object"){var B,J=P.length;for(B=0;B<J;B+=1)this.segments.push(P[B]);}else this.segments.push(P);this.segments.length&&D&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play();},Nt.prototype.resetSegments=function(P){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),P&&this.checkSegments(0);},Nt.prototype.checkSegments=function(P){return this.segments.length?(this.adjustSegment(this.segments.shift(),P),!0):!1},Nt.prototype.destroy=function(P){P&&this.name!==P||!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);},Nt.prototype.setCurrentRawFrameValue=function(P){this.currentRawFrame=P,this.gotoFrame();},Nt.prototype.setSpeed=function(P){this.playSpeed=P,this.updaFrameModifier();},Nt.prototype.setDirection=function(P){this.playDirection=P<0?-1:1,this.updaFrameModifier();},Nt.prototype.setLoop=function(P){this.loop=P;},Nt.prototype.setVolume=function(P,D){D&&this.name!==D||this.audioController.setVolume(P);},Nt.prototype.getVolume=function(){return this.audioController.getVolume()},Nt.prototype.mute=function(P){P&&this.name!==P||this.audioController.mute();},Nt.prototype.unmute=function(P){P&&this.name!==P||this.audioController.unmute();},Nt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection);},Nt.prototype.getPath=function(){return this.path},Nt.prototype.getAssetsPath=function(P){var D="";if(P.e)D=P.p;else if(this.assetsPath){var B=P.p;B.indexOf("images/")!==-1&&(B=B.split("/")[1]),D=this.assetsPath+B;}else D=this.path,D+=P.u?P.u:"",D+=P.p;return D},Nt.prototype.getAssetData=function(P){for(var D=0,B=this.assets.length;D<B;){if(P===this.assets[D].id)return this.assets[D];D+=1;}return null},Nt.prototype.hide=function(){this.renderer.hide();},Nt.prototype.show=function(){this.renderer.show();},Nt.prototype.getDuration=function(P){return P?this.totalFrames:this.totalFrames/this.frameRate},Nt.prototype.updateDocumentData=function(P,D,B){try{var J=this.renderer.getElementByPath(P);J.updateDocumentData(D,B);}catch{}},Nt.prototype.trigger=function(P){if(this._cbs&&this._cbs[P])switch(P){case"enterFrame":this.triggerEvent(P,new vt(P,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(P,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(P,new It(P,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(P,new bt(P,this.frameMult));break;case"segmentStart":this.triggerEvent(P,new ot(P,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(P,new Tt(P,this));break;default:this.triggerEvent(P);}P==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new vt(P,this.currentFrame,this.totalFrames,this.frameMult)),P==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new It(P,this.loop,this.playCount,this.frameMult)),P==="complete"&&this.onComplete&&this.onComplete.call(this,new bt(P,this.frameMult)),P==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new ot(P,this.firstFrame,this.totalFrames)),P==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Tt(P,this));},Nt.prototype.triggerRenderFrameError=function(P){var D=new z(P,this.currentFrame);this.triggerEvent("error",D),this.onError&&this.onError.call(this,D);},Nt.prototype.triggerConfigError=function(P){var D=new $(P,this.currentFrame);this.triggerEvent("error",D),this.onError&&this.onError.call(this,D);};var ae=function(){var P={},D=[],B=0,J=0,st=0,et=!0,gt=!1;function Mt(j){for(var W=0,R=j.target;W<J;)D[W].animation===R&&(D.splice(W,1),W-=1,J-=1,R.isPaused||Ht()),W+=1;}function yt(j,W){if(!j)return null;for(var R=0;R<J;){if(D[R].elem===j&&D[R].elem!==null)return D[R].animation;R+=1;}var rt=new Nt;return kt(rt,j),rt.setData(j,W),rt}function Bt(){var j,W=D.length,R=[];for(j=0;j<W;j+=1)R.push(D[j].animation);return R}function Vt(){st+=1,K();}function Ht(){st-=1;}function kt(j,W){j.addEventListener("destroy",Mt),j.addEventListener("_active",Vt),j.addEventListener("_idle",Ht),D.push({elem:W,animation:j}),J+=1;}function l(j){var W=new Nt;return kt(W,null),W.setParams(j),W}function k(j,W){var R;for(R=0;R<J;R+=1)D[R].animation.setSpeed(j,W);}function C(j,W){var R;for(R=0;R<J;R+=1)D[R].animation.setDirection(j,W);}function L(j){var W;for(W=0;W<J;W+=1)D[W].animation.play(j);}function O(j){var W=j-B,R;for(R=0;R<J;R+=1)D[R].animation.advanceTime(W);B=j,st&&!gt?window.requestAnimationFrame(O):et=!0;}function V(j){B=j,window.requestAnimationFrame(O);}function n(j){var W;for(W=0;W<J;W+=1)D[W].animation.pause(j);}function f(j,W,R){var rt;for(rt=0;rt<J;rt+=1)D[rt].animation.goToAndStop(j,W,R);}function b(j){var W;for(W=0;W<J;W+=1)D[W].animation.stop(j);}function T(j){var W;for(W=0;W<J;W+=1)D[W].animation.togglePause(j);}function I(j){var W;for(W=J-1;W>=0;W-=1)D[W].animation.destroy(j);}function F(j,W,R){var rt=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),at,Z=rt.length;for(at=0;at<Z;at+=1)R&&rt[at].setAttribute("data-bm-type",R),yt(rt[at],j);if(W&&Z===0){R||(R="svg");var ct=document.getElementsByTagName("body")[0];ct.innerText="";var mt=_("div");mt.style.width="100%",mt.style.height="100%",mt.setAttribute("data-bm-type",R),ct.appendChild(mt),yt(mt,j);}}function G(){var j;for(j=0;j<J;j+=1)D[j].animation.resize();}function K(){!gt&&st&&et&&(window.requestAnimationFrame(V),et=!1);}function X(){gt=!0;}function it(){gt=!1,K();}function lt(j,W){var R;for(R=0;R<J;R+=1)D[R].animation.setVolume(j,W);}function tt(j){var W;for(W=0;W<J;W+=1)D[W].animation.mute(j);}function H(j){var W;for(W=0;W<J;W+=1)D[W].animation.unmute(j);}return P.registerAnimation=yt,P.loadAnimation=l,P.setSpeed=k,P.setDirection=C,P.play=L,P.pause=n,P.stop=b,P.togglePause=T,P.searchAnimations=F,P.resize=G,P.goToAndStop=f,P.destroy=I,P.freeze=X,P.unfreeze=it,P.setVolume=lt,P.mute=tt,P.unmute=H,P.getRegisteredAnimations=Bt,P}(),ne=function(){var P={};P.getBezierEasing=B;var D={};function B(V,n,f,b,T){var I=T||("bez_"+V+"_"+n+"_"+f+"_"+b).replace(/\./g,"p");if(D[I])return D[I];var F=new O([V,n,f,b]);return D[I]=F,F}var J=4,st=.001,et=1e-7,gt=10,Mt=11,yt=1/(Mt-1),Bt=typeof Float32Array=="function";function Vt(V,n){return 1-3*n+3*V}function Ht(V,n){return 3*n-6*V}function kt(V){return 3*V}function l(V,n,f){return ((Vt(n,f)*V+Ht(n,f))*V+kt(n))*V}function k(V,n,f){return 3*Vt(n,f)*V*V+2*Ht(n,f)*V+kt(n)}function C(V,n,f,b,T){var I,F,G=0;do F=n+(f-n)/2,I=l(F,b,T)-V,I>0?f=F:n=F;while(Math.abs(I)>et&&++G<gt);return F}function L(V,n,f,b){for(var T=0;T<J;++T){var I=k(n,f,b);if(I===0)return n;var F=l(n,f,b)-V;n-=F/I;}return n}function O(V){this._p=V,this._mSampleValues=Bt?new Float32Array(Mt):new Array(Mt),this._precomputed=!1,this.get=this.get.bind(this);}return O.prototype={get:function(V){var n=this._p[0],f=this._p[1],b=this._p[2],T=this._p[3];return this._precomputed||this._precompute(),n===f&&b===T?V:V===0?0:V===1?1:l(this._getTForX(V),f,T)},_precompute:function(){var V=this._p[0],n=this._p[1],f=this._p[2],b=this._p[3];this._precomputed=!0,(V!==n||f!==b)&&this._calcSampleValues();},_calcSampleValues:function(){for(var V=this._p[0],n=this._p[2],f=0;f<Mt;++f)this._mSampleValues[f]=l(f*yt,V,n);},_getTForX:function(V){for(var n=this._p[0],f=this._p[2],b=this._mSampleValues,T=0,I=1,F=Mt-1;I!==F&&b[I]<=V;++I)T+=yt;--I;var G=(V-b[I])/(b[I+1]-b[I]),K=T+G*yt,X=k(K,n,f);return X>=st?L(V,K,n,f):X===0?K:C(V,T,T+yt,n,f)}},P}(),ke=function(){function P(D){return D.concat(g(D.length))}return {double:P}}(),$e=function(){return function(P,D,B){var J=0,st=P,et=g(st),gt={newElement:Mt,release:yt};function Mt(){var Bt;return J?(J-=1,Bt=et[J]):Bt=D(),Bt}function yt(Bt){J===st&&(et=ke.double(et),st*=2),B&&B(Bt),et[J]=Bt,J+=1;}return gt}}(),vi=function(){function P(){return {addedLength:0,percents:d("float32",Se()),lengths:d("float32",Se())}}return $e(8,P)}(),bi=function(){function P(){return {lengths:[],totalLength:0}}function D(B){var J,st=B.lengths.length;for(J=0;J<st;J+=1)vi.release(B.lengths[J]);B.lengths.length=0;}return $e(8,P,D)}();function Fi(){var P=Math;function D(kt,l,k,C,L,O){var V=kt*C+l*L+k*O-L*C-O*kt-k*l;return V>-.001&&V<.001}function B(kt,l,k,C,L,O,V,n,f){if(k===0&&O===0&&f===0)return D(kt,l,C,L,V,n);var b=P.sqrt(P.pow(C-kt,2)+P.pow(L-l,2)+P.pow(O-k,2)),T=P.sqrt(P.pow(V-kt,2)+P.pow(n-l,2)+P.pow(f-k,2)),I=P.sqrt(P.pow(V-C,2)+P.pow(n-L,2)+P.pow(f-O,2)),F;return b>T?b>I?F=b-T-I:F=I-T-b:I>T?F=I-T-b:F=T-b-I,F>-1e-4&&F<1e-4}var J=function(){return function(kt,l,k,C){var L=Se(),O,V,n,f,b,T=0,I,F=[],G=[],K=vi.newElement();for(n=k.length,O=0;O<L;O+=1){for(b=O/(L-1),I=0,V=0;V<n;V+=1)f=w(1-b,3)*kt[V]+3*w(1-b,2)*b*k[V]+3*(1-b)*w(b,2)*C[V]+w(b,3)*l[V],F[V]=f,G[V]!==null&&(I+=w(F[V]-G[V],2)),G[V]=F[V];I&&(I=M(I),T+=I),K.percents[O]=b,K.lengths[O]=T;}return K.addedLength=T,K}}();function st(kt){var l=bi.newElement(),k=kt.c,C=kt.v,L=kt.o,O=kt.i,V,n=kt._length,f=l.lengths,b=0;for(V=0;V<n-1;V+=1)f[V]=J(C[V],C[V+1],L[V],O[V+1]),b+=f[V].addedLength;return k&&n&&(f[V]=J(C[V],C[0],L[V],O[0]),b+=f[V].addedLength),l.totalLength=b,l}function et(kt){this.segmentLength=0,this.points=new Array(kt);}function gt(kt,l){this.partialLength=kt,this.point=l;}var Mt=function(){var kt={};return function(l,k,C,L){var O=(l[0]+"_"+l[1]+"_"+k[0]+"_"+k[1]+"_"+C[0]+"_"+C[1]+"_"+L[0]+"_"+L[1]).replace(/\./g,"p");if(!kt[O]){var V=Se(),n,f,b,T,I,F=0,G,K,X=null;l.length===2&&(l[0]!==k[0]||l[1]!==k[1])&&D(l[0],l[1],k[0],k[1],l[0]+C[0],l[1]+C[1])&&D(l[0],l[1],k[0],k[1],k[0]+L[0],k[1]+L[1])&&(V=2);var it=new et(V);for(b=C.length,n=0;n<V;n+=1){for(K=g(b),I=n/(V-1),G=0,f=0;f<b;f+=1)T=w(1-I,3)*l[f]+3*w(1-I,2)*I*(l[f]+C[f])+3*(1-I)*w(I,2)*(k[f]+L[f])+w(I,3)*k[f],K[f]=T,X!==null&&(G+=w(K[f]-X[f],2));G=M(G),F+=G,it.points[n]=new gt(G,K),X=K;}it.segmentLength=F,kt[O]=it;}return kt[O]}}();function yt(kt,l){var k=l.percents,C=l.lengths,L=k.length,O=N((L-1)*kt),V=kt*l.addedLength,n=0;if(O===L-1||O===0||V===C[O])return k[O];for(var f=C[O]>V?-1:1,b=!0;b;)if(C[O]<=V&&C[O+1]>V?(n=(V-C[O])/(C[O+1]-C[O]),b=!1):O+=f,O<0||O>=L-1){if(O===L-1)return k[O];b=!1;}return k[O]+(k[O+1]-k[O])*n}function Bt(kt,l,k,C,L,O){var V=yt(L,O),n=1-V,f=P.round((n*n*n*kt[0]+(V*n*n+n*V*n+n*n*V)*k[0]+(V*V*n+n*V*V+V*n*V)*C[0]+V*V*V*l[0])*1e3)/1e3,b=P.round((n*n*n*kt[1]+(V*n*n+n*V*n+n*n*V)*k[1]+(V*V*n+n*V*V+V*n*V)*C[1]+V*V*V*l[1])*1e3)/1e3;return [f,b]}var Vt=d("float32",8);function Ht(kt,l,k,C,L,O,V){L<0?L=0:L>1&&(L=1);var n=yt(L,V);O=O>1?1:O;var f=yt(O,V),b,T=kt.length,I=1-n,F=1-f,G=I*I*I,K=n*I*I*3,X=n*n*I*3,it=n*n*n,lt=I*I*F,tt=n*I*F+I*n*F+I*I*f,H=n*n*F+I*n*f+n*I*f,j=n*n*f,W=I*F*F,R=n*F*F+I*f*F+I*F*f,rt=n*f*F+I*f*f+n*F*f,at=n*f*f,Z=F*F*F,ct=f*F*F+F*f*F+F*F*f,mt=f*f*F+F*f*f+f*F*f,Pt=f*f*f;for(b=0;b<T;b+=1)Vt[b*4]=P.round((G*kt[b]+K*k[b]+X*C[b]+it*l[b])*1e3)/1e3,Vt[b*4+1]=P.round((lt*kt[b]+tt*k[b]+H*C[b]+j*l[b])*1e3)/1e3,Vt[b*4+2]=P.round((W*kt[b]+R*k[b]+rt*C[b]+at*l[b])*1e3)/1e3,Vt[b*4+3]=P.round((Z*kt[b]+ct*k[b]+mt*C[b]+Pt*l[b])*1e3)/1e3;return Vt}return {getSegmentsLength:st,getNewSegment:Ht,getPointInSegment:Bt,buildBezierData:Mt,pointOnLine2D:D,pointOnLine3D:B}}var ki=Fi(),Xi=a,Ki=Math.abs;function Vr(P,D){var B=this.offsetTime,J;this.propType==="multidimensional"&&(J=d("float32",this.pv.length));for(var st=D.lastIndex,et=st,gt=this.keyframes.length-1,Mt=!0,yt,Bt,Vt;Mt;){if(yt=this.keyframes[et],Bt=this.keyframes[et+1],et===gt-1&&P>=Bt.t-B){yt.h&&(yt=Bt),st=0;break}if(Bt.t-B>P){st=et;break}et<gt-1?et+=1:(st=0,Mt=!1);}Vt=this.keyframesMetadata[et]||{};var Ht,kt,l,k,C,L,O=Bt.t-B,V=yt.t-B,n;if(yt.to){Vt.bezierData||(Vt.bezierData=ki.buildBezierData(yt.s,Bt.s||yt.e,yt.to,yt.ti));var f=Vt.bezierData;if(P>=O||P<V){var b=P>=O?f.points.length-1:0;for(kt=f.points[b].point.length,Ht=0;Ht<kt;Ht+=1)J[Ht]=f.points[b].point[Ht];}else {Vt.__fnct?L=Vt.__fnct:(L=ne.getBezierEasing(yt.o.x,yt.o.y,yt.i.x,yt.i.y,yt.n).get,Vt.__fnct=L),l=L((P-V)/(O-V));var T=f.segmentLength*l,I,F=D.lastFrame<P&&D._lastKeyframeIndex===et?D._lastAddedLength:0;for(C=D.lastFrame<P&&D._lastKeyframeIndex===et?D._lastPoint:0,Mt=!0,k=f.points.length;Mt;){if(F+=f.points[C].partialLength,T===0||l===0||C===f.points.length-1){for(kt=f.points[C].point.length,Ht=0;Ht<kt;Ht+=1)J[Ht]=f.points[C].point[Ht];break}else if(T>=F&&T<F+f.points[C+1].partialLength){for(I=(T-F)/f.points[C+1].partialLength,kt=f.points[C].point.length,Ht=0;Ht<kt;Ht+=1)J[Ht]=f.points[C].point[Ht]+(f.points[C+1].point[Ht]-f.points[C].point[Ht])*I;break}C<k-1?C+=1:Mt=!1;}D._lastPoint=C,D._lastAddedLength=F-f.points[C].partialLength,D._lastKeyframeIndex=et;}}else {var G,K,X,it,lt;if(gt=yt.s.length,n=Bt.s||yt.e,this.sh&&yt.h!==1)if(P>=O)J[0]=n[0],J[1]=n[1],J[2]=n[2];else if(P<=V)J[0]=yt.s[0],J[1]=yt.s[1],J[2]=yt.s[2];else {var tt=ns(yt.s),H=ns(n),j=(P-V)/(O-V);jr(J,ha(tt,H,j));}else for(et=0;et<gt;et+=1)yt.h!==1&&(P>=O?l=1:P<V?l=0:(yt.o.x.constructor===Array?(Vt.__fnct||(Vt.__fnct=[]),Vt.__fnct[et]?L=Vt.__fnct[et]:(G=yt.o.x[et]===void 0?yt.o.x[0]:yt.o.x[et],K=yt.o.y[et]===void 0?yt.o.y[0]:yt.o.y[et],X=yt.i.x[et]===void 0?yt.i.x[0]:yt.i.x[et],it=yt.i.y[et]===void 0?yt.i.y[0]:yt.i.y[et],L=ne.getBezierEasing(G,K,X,it).get,Vt.__fnct[et]=L)):Vt.__fnct?L=Vt.__fnct:(G=yt.o.x,K=yt.o.y,X=yt.i.x,it=yt.i.y,L=ne.getBezierEasing(G,K,X,it).get,yt.keyframeMetadata=L),l=L((P-V)/(O-V)))),n=Bt.s||yt.e,lt=yt.h===1?yt.s[et]:yt.s[et]+(n[et]-yt.s[et])*l,this.propType==="multidimensional"?J[et]=lt:J=lt;}return D.lastIndex=st,J}function ha(P,D,B){var J=[],st=P[0],et=P[1],gt=P[2],Mt=P[3],yt=D[0],Bt=D[1],Vt=D[2],Ht=D[3],kt,l,k,C,L;return l=st*yt+et*Bt+gt*Vt+Mt*Ht,l<0&&(l=-l,yt=-yt,Bt=-Bt,Vt=-Vt,Ht=-Ht),1-l>1e-6?(kt=Math.acos(l),k=Math.sin(kt),C=Math.sin((1-B)*kt)/k,L=Math.sin(B*kt)/k):(C=1-B,L=B),J[0]=C*st+L*yt,J[1]=C*et+L*Bt,J[2]=C*gt+L*Vt,J[3]=C*Mt+L*Ht,J}function jr(P,D){var B=D[0],J=D[1],st=D[2],et=D[3],gt=Math.atan2(2*J*et-2*B*st,1-2*J*J-2*st*st),Mt=Math.asin(2*B*J+2*st*et),yt=Math.atan2(2*B*et-2*J*st,1-2*B*B-2*st*st);P[0]=gt/dt,P[1]=Mt/dt,P[2]=yt/dt;}function ns(P){var D=P[0]*dt,B=P[1]*dt,J=P[2]*dt,st=Math.cos(D/2),et=Math.cos(B/2),gt=Math.cos(J/2),Mt=Math.sin(D/2),yt=Math.sin(B/2),Bt=Math.sin(J/2),Vt=st*et*gt-Mt*yt*Bt,Ht=Mt*yt*gt+st*et*Bt,kt=Mt*et*gt+st*yt*Bt,l=st*yt*gt-Mt*et*Bt;return [Ht,kt,l,Vt]}function Js(){var P=this.comp.renderedFrame-this.offsetTime,D=this.keyframes[0].t-this.offsetTime,B=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(P===this._caching.lastFrame||this._caching.lastFrame!==Xi&&(this._caching.lastFrame>=B&&P>=B||this._caching.lastFrame<D&&P<D))){this._caching.lastFrame>=P&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var J=this.interpolateValue(P,this._caching);this.pv=J;}return this._caching.lastFrame=P,this.pv}function Rr(P){var D;if(this.propType==="unidimensional")D=P*this.mult,Ki(this.v-D)>1e-5&&(this.v=D,this._mdf=!0);else for(var B=0,J=this.v.length;B<J;)D=P[B]*this.mult,Ki(this.v[B]-D)>1e-5&&(this.v[B]=D,this._mdf=!0),B+=1;}function qr(){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 P,D=this.effectsSequence.length,B=this.kf?this.pv:this.data.k;for(P=0;P<D;P+=1)B=this.effectsSequence[P](B);this.setVValue(B),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function mr(P){this.effectsSequence.push(P),this.container.addDynamicProperty(this);}function $r(P,D,B,J){this.propType="unidimensional",this.mult=B||1,this.data=D,this.v=B?D.k*B:D.k,this.pv=D.k,this._mdf=!1,this.elem=P,this.container=J,this.comp=P.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=qr,this.setVValue=Rr,this.addEffect=mr;}function Ls(P,D,B,J){this.propType="multidimensional",this.mult=B||1,this.data=D,this._mdf=!1,this.elem=P,this.container=J,this.comp=P.comp,this.k=!1,this.kf=!1,this.frameId=-1;var st,et=D.k.length;for(this.v=d("float32",et),this.pv=d("float32",et),this.vel=d("float32",et),st=0;st<et;st+=1)this.v[st]=D.k[st]*this.mult,this.pv[st]=D.k[st];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=qr,this.setVValue=Rr,this.addEffect=mr;}function Kr(P,D,B,J){this.propType="unidimensional",this.keyframes=D.k,this.keyframesMetadata=[],this.offsetTime=P.data.st,this.frameId=-1,this._caching={lastFrame:Xi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=D,this.mult=B||1,this.elem=P,this.container=J,this.comp=P.comp,this.v=Xi,this.pv=Xi,this._isFirstFrame=!0,this.getValue=qr,this.setVValue=Rr,this.interpolateValue=Vr,this.effectsSequence=[Js.bind(this)],this.addEffect=mr;}function Ca(P,D,B,J){this.propType="multidimensional";var st,et=D.k.length,gt,Mt,yt,Bt;for(st=0;st<et-1;st+=1)D.k[st].to&&D.k[st].s&&D.k[st+1]&&D.k[st+1].s&&(gt=D.k[st].s,Mt=D.k[st+1].s,yt=D.k[st].to,Bt=D.k[st].ti,(gt.length===2&&!(gt[0]===Mt[0]&&gt[1]===Mt[1])&&ki.pointOnLine2D(gt[0],gt[1],Mt[0],Mt[1],gt[0]+yt[0],gt[1]+yt[1])&&ki.pointOnLine2D(gt[0],gt[1],Mt[0],Mt[1],Mt[0]+Bt[0],Mt[1]+Bt[1])||gt.length===3&&!(gt[0]===Mt[0]&&gt[1]===Mt[1]&&gt[2]===Mt[2])&&ki.pointOnLine3D(gt[0],gt[1],gt[2],Mt[0],Mt[1],Mt[2],gt[0]+yt[0],gt[1]+yt[1],gt[2]+yt[2])&&ki.pointOnLine3D(gt[0],gt[1],gt[2],Mt[0],Mt[1],Mt[2],Mt[0]+Bt[0],Mt[1]+Bt[1],Mt[2]+Bt[2]))&&(D.k[st].to=null,D.k[st].ti=null),gt[0]===Mt[0]&&gt[1]===Mt[1]&&yt[0]===0&&yt[1]===0&&Bt[0]===0&&Bt[1]===0&&(gt.length===2||gt[2]===Mt[2]&&yt[2]===0&&Bt[2]===0)&&(D.k[st].to=null,D.k[st].ti=null));this.effectsSequence=[Js.bind(this)],this.data=D,this.keyframes=D.k,this.keyframesMetadata=[],this.offsetTime=P.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=B||1,this.elem=P,this.container=J,this.comp=P.comp,this.getValue=qr,this.setVValue=Rr,this.interpolateValue=Vr,this.frameId=-1;var Vt=D.k[0].s.length;for(this.v=d("float32",Vt),this.pv=d("float32",Vt),st=0;st<Vt;st+=1)this.v[st]=Xi,this.pv[st]=Xi;this._caching={lastFrame:Xi,lastIndex:0,value:d("float32",Vt)},this.addEffect=mr;}var te=function(){function P(B,J,st,et,gt){J.sid&&(J=B.globalData.slotManager.getProp(J));var Mt;if(!J.k.length)Mt=new $r(B,J,et,gt);else if(typeof J.k[0]=="number")Mt=new Ls(B,J,et,gt);else switch(st){case 0:Mt=new Kr(B,J,et,gt);break;case 1:Mt=new Ca(B,J,et,gt);break}return Mt.effectsSequence.length&&gt.addDynamicProperty(Mt),Mt}var D={getProp:P};return D}();function Xe(){}Xe.prototype={addDynamicProperty:function(P){this.dynamicProperties.indexOf(P)===-1&&(this.dynamicProperties.push(P),this.container.addDynamicProperty(this),this._isAnimated=!0);},iterateDynamicProperties:function(){this._mdf=!1;var P,D=this.dynamicProperties.length;for(P=0;P<D;P+=1)this.dynamicProperties[P].getValue(),this.dynamicProperties[P]._mdf&&(this._mdf=!0);},initDynamicPropertyContainer:function(P){this.container=P,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1;}};var pe=function(){function P(){return d("float32",2)}return $e(8,P)}();function Ye(){this.c=!1,this._length=0,this._maxLength=8,this.v=g(this._maxLength),this.o=g(this._maxLength),this.i=g(this._maxLength);}Ye.prototype.setPathData=function(P,D){this.c=P,this.setLength(D);for(var B=0;B<D;)this.v[B]=pe.newElement(),this.o[B]=pe.newElement(),this.i[B]=pe.newElement(),B+=1;},Ye.prototype.setLength=function(P){for(;this._maxLength<P;)this.doubleArrayLength();this._length=P;},Ye.prototype.doubleArrayLength=function(){this.v=this.v.concat(g(this._maxLength)),this.i=this.i.concat(g(this._maxLength)),this.o=this.o.concat(g(this._maxLength)),this._maxLength*=2;},Ye.prototype.setXYAt=function(P,D,B,J,st){var et;switch(this._length=Math.max(this._length,J+1),this._length>=this._maxLength&&this.doubleArrayLength(),B){case"v":et=this.v;break;case"i":et=this.i;break;case"o":et=this.o;break;default:et=[];break}(!et[J]||et[J]&&!st)&&(et[J]=pe.newElement()),et[J][0]=P,et[J][1]=D;},Ye.prototype.setTripleAt=function(P,D,B,J,st,et,gt,Mt){this.setXYAt(P,D,"v",gt,Mt),this.setXYAt(B,J,"o",gt,Mt),this.setXYAt(st,et,"i",gt,Mt);},Ye.prototype.reverse=function(){var P=new Ye;P.setPathData(this.c,this._length);var D=this.v,B=this.o,J=this.i,st=0;this.c&&(P.setTripleAt(D[0][0],D[0][1],J[0][0],J[0][1],B[0][0],B[0][1],0,!1),st=1);var et=this._length-1,gt=this._length,Mt;for(Mt=st;Mt<gt;Mt+=1)P.setTripleAt(D[et][0],D[et][1],J[et][0],J[et][1],B[et][0],B[et][1],Mt,!1),et-=1;return P},Ye.prototype.length=function(){return this._length};var Ve=function(){function P(){return new Ye}function D(st){var et=st._length,gt;for(gt=0;gt<et;gt+=1)pe.release(st.v[gt]),pe.release(st.i[gt]),pe.release(st.o[gt]),st.v[gt]=null,st.i[gt]=null,st.o[gt]=null;st._length=0,st.c=!1;}function B(st){var et=J.newElement(),gt,Mt=st._length===void 0?st.v.length:st._length;for(et.setLength(Mt),et.c=st.c,gt=0;gt<Mt;gt+=1)et.setTripleAt(st.v[gt][0],st.v[gt][1],st.o[gt][0],st.o[gt][1],st.i[gt][0],st.i[gt][1],gt);return et}var J=$e(4,P,D);return J.clone=B,J}();function Qi(){this._length=0,this._maxLength=4,this.shapes=g(this._maxLength);}Qi.prototype.addShape=function(P){this._length===this._maxLength&&(this.shapes=this.shapes.concat(g(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=P,this._length+=1;},Qi.prototype.releaseShapes=function(){var P;for(P=0;P<this._length;P+=1)Ve.release(this.shapes[P]);this._length=0;};var ai=function(){var P={newShapeCollection:st,release:et},D=0,B=4,J=g(B);function st(){var gt;return D?(D-=1,gt=J[D]):gt=new Qi,gt}function et(gt){var Mt,yt=gt._length;for(Mt=0;Mt<yt;Mt+=1)Ve.release(gt.shapes[Mt]);gt._length=0,D===B&&(J=ke.double(J),B*=2),J[D]=gt,D+=1;}return P}(),gr=function(){var P=-999999;function D(O,V,n){var f=n.lastIndex,b,T,I,F,G,K,X,it,lt,tt=this.keyframes;if(O<tt[0].t-this.offsetTime)b=tt[0].s[0],I=!0,f=0;else if(O>=tt[tt.length-1].t-this.offsetTime)b=tt[tt.length-1].s?tt[tt.length-1].s[0]:tt[tt.length-2].e[0],I=!0;else {for(var H=f,j=tt.length-1,W=!0,R,rt,at;W&&(R=tt[H],rt=tt[H+1],!(rt.t-this.offsetTime>O));)H<j-1?H+=1:W=!1;if(at=this.keyframesMetadata[H]||{},I=R.h===1,f=H,!I){if(O>=rt.t-this.offsetTime)it=1;else if(O<R.t-this.offsetTime)it=0;else {var Z;at.__fnct?Z=at.__fnct:(Z=ne.getBezierEasing(R.o.x,R.o.y,R.i.x,R.i.y).get,at.__fnct=Z),it=Z((O-(R.t-this.offsetTime))/(rt.t-this.offsetTime-(R.t-this.offsetTime)));}T=rt.s?rt.s[0]:R.e[0];}b=R.s[0];}for(K=V._length,X=b.i[0].length,n.lastIndex=f,F=0;F<K;F+=1)for(G=0;G<X;G+=1)lt=I?b.i[F][G]:b.i[F][G]+(T.i[F][G]-b.i[F][G])*it,V.i[F][G]=lt,lt=I?b.o[F][G]:b.o[F][G]+(T.o[F][G]-b.o[F][G])*it,V.o[F][G]=lt,lt=I?b.v[F][G]:b.v[F][G]+(T.v[F][G]-b.v[F][G])*it,V.v[F][G]=lt;}function B(){var O=this.comp.renderedFrame-this.offsetTime,V=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,f=this._caching.lastFrame;return f!==P&&(f<V&&O<V||f>n&&O>n)||(this._caching.lastIndex=f<O?this._caching.lastIndex:0,this.interpolateShape(O,this.pv,this._caching)),this._caching.lastFrame=O,this.pv}function J(){this.paths=this.localShapeCollection;}function st(O,V){if(O._length!==V._length||O.c!==V.c)return !1;var n,f=O._length;for(n=0;n<f;n+=1)if(O.v[n][0]!==V.v[n][0]||O.v[n][1]!==V.v[n][1]||O.o[n][0]!==V.o[n][0]||O.o[n][1]!==V.o[n][1]||O.i[n][0]!==V.i[n][0]||O.i[n][1]!==V.i[n][1])return !1;return !0}function et(O){st(this.v,O)||(this.v=Ve.clone(O),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function gt(){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 O;this.kf?O=this.pv:this.data.ks?O=this.data.ks.k:O=this.data.pt.k;var V,n=this.effectsSequence.length;for(V=0;V<n;V+=1)O=this.effectsSequence[V](O);this.setVValue(O),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function Mt(O,V,n){this.propType="shape",this.comp=O.comp,this.container=O,this.elem=O,this.data=V,this.k=!1,this.kf=!1,this._mdf=!1;var f=n===3?V.pt.k:V.ks.k;this.v=Ve.clone(f),this.pv=Ve.clone(this.v),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=J,this.effectsSequence=[];}function yt(O){this.effectsSequence.push(O),this.container.addDynamicProperty(this);}Mt.prototype.interpolateShape=D,Mt.prototype.getValue=gt,Mt.prototype.setVValue=et,Mt.prototype.addEffect=yt;function Bt(O,V,n){this.propType="shape",this.comp=O.comp,this.elem=O,this.container=O,this.offsetTime=O.data.st,this.keyframes=n===3?V.pt.k:V.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var f=this.keyframes[0].s[0].i.length;this.v=Ve.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,f),this.pv=Ve.clone(this.v),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=P,this.reset=J,this._caching={lastFrame:P,lastIndex:0},this.effectsSequence=[B.bind(this)];}Bt.prototype.getValue=gt,Bt.prototype.interpolateShape=D,Bt.prototype.setVValue=et,Bt.prototype.addEffect=yt;var Vt=function(){var O=xt;function V(n,f){this.v=Ve.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=f.d,this.elem=n,this.comp=n.comp,this.frameId=-1,this.initDynamicPropertyContainer(n),this.p=te.getProp(n,f.p,1,0,this),this.s=te.getProp(n,f.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return V.prototype={reset:J,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath());},convertEllToPath:function(){var n=this.p.v[0],f=this.p.v[1],b=this.s.v[0]/2,T=this.s.v[1]/2,I=this.d!==3,F=this.v;F.v[0][0]=n,F.v[0][1]=f-T,F.v[1][0]=I?n+b:n-b,F.v[1][1]=f,F.v[2][0]=n,F.v[2][1]=f+T,F.v[3][0]=I?n-b:n+b,F.v[3][1]=f,F.i[0][0]=I?n-b*O:n+b*O,F.i[0][1]=f-T,F.i[1][0]=I?n+b:n-b,F.i[1][1]=f-T*O,F.i[2][0]=I?n+b*O:n-b*O,F.i[2][1]=f+T,F.i[3][0]=I?n-b:n+b,F.i[3][1]=f+T*O,F.o[0][0]=I?n+b*O:n-b*O,F.o[0][1]=f-T,F.o[1][0]=I?n+b:n-b,F.o[1][1]=f+T*O,F.o[2][0]=I?n-b*O:n+b*O,F.o[2][1]=f+T,F.o[3][0]=I?n-b:n+b,F.o[3][1]=f-T*O;}},v([Xe],V),V}(),Ht=function(){function O(V,n){this.v=Ve.newElement(),this.v.setPathData(!0,0),this.elem=V,this.comp=V.comp,this.data=n,this.frameId=-1,this.d=n.d,this.initDynamicPropertyContainer(V),n.sy===1?(this.ir=te.getProp(V,n.ir,0,0,this),this.is=te.getProp(V,n.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=te.getProp(V,n.pt,0,0,this),this.p=te.getProp(V,n.p,1,0,this),this.r=te.getProp(V,n.r,0,dt,this),this.or=te.getProp(V,n.or,0,0,this),this.os=te.getProp(V,n.os,0,.01,this),this.localShapeCollection=ai.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath());}return O.prototype={reset:J,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath());},convertStarToPath:function(){var V=Math.floor(this.pt.v)*2,n=Math.PI*2/V,f=!0,b=this.or.v,T=this.ir.v,I=this.os.v,F=this.is.v,G=2*Math.PI*b/(V*2),K=2*Math.PI*T/(V*2),X,it,lt,tt,H=-Math.PI/2;H+=this.r.v;var j=this.data.d===3?-1:1;for(this.v._length=0,X=0;X<V;X+=1){it=f?b:T,lt=f?I:F,tt=f?G:K;var W=it*Math.cos(H),R=it*Math.sin(H),rt=W===0&&R===0?0:R/Math.sqrt(W*W+R*R),at=W===0&&R===0?0:-W/Math.sqrt(W*W+R*R);W+=+this.p.v[0],R+=+this.p.v[1],this.v.setTripleAt(W,R,W-rt*tt*lt*j,R-at*tt*lt*j,W+rt*tt*lt*j,R+at*tt*lt*j,X,!0),f=!f,H+=n*j;}},convertPolygonToPath:function(){var V=Math.floor(this.pt.v),n=Math.PI*2/V,f=this.or.v,b=this.os.v,T=2*Math.PI*f/(V*4),I,F=-Math.PI*.5,G=this.data.d===3?-1:1;for(F+=this.r.v,this.v._length=0,I=0;I<V;I+=1){var K=f*Math.cos(F),X=f*Math.sin(F),it=K===0&&X===0?0:X/Math.sqrt(K*K+X*X),lt=K===0&&X===0?0:-K/Math.sqrt(K*K+X*X);K+=+this.p.v[0],X+=+this.p.v[1],this.v.setTripleAt(K,X,K-it*T*b*G,X-lt*T*b*G,K+it*T*b*G,X+lt*T*b*G,I,!0),F+=n*G;}this.paths.length=0,this.paths[0]=this.v;}},v([Xe],O),O}(),kt=function(){function O(V,n){this.v=Ve.newElement(),this.v.c=!0,this.localShapeCollection=ai.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=V,this.comp=V.comp,this.frameId=-1,this.d=n.d,this.initDynamicPropertyContainer(V),this.p=te.getProp(V,n.p,1,0,this),this.s=te.getProp(V,n.s,1,0,this),this.r=te.getProp(V,n.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return O.prototype={convertRectToPath:function(){var V=this.p.v[0],n=this.p.v[1],f=this.s.v[0]/2,b=this.s.v[1]/2,T=U(f,b,this.r.v),I=T*(1-xt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(V+f,n-b+T,V+f,n-b+T,V+f,n-b+I,0,!0),this.v.setTripleAt(V+f,n+b-T,V+f,n+b-I,V+f,n+b-T,1,!0),T!==0?(this.v.setTripleAt(V+f-T,n+b,V+f-T,n+b,V+f-I,n+b,2,!0),this.v.setTripleAt(V-f+T,n+b,V-f+I,n+b,V-f+T,n+b,3,!0),this.v.setTripleAt(V-f,n+b-T,V-f,n+b-T,V-f,n+b-I,4,!0),this.v.setTripleAt(V-f,n-b+T,V-f,n-b+I,V-f,n-b+T,5,!0),this.v.setTripleAt(V-f+T,n-b,V-f+T,n-b,V-f+I,n-b,6,!0),this.v.setTripleAt(V+f-T,n-b,V+f-I,n-b,V+f-T,n-b,7,!0)):(this.v.setTripleAt(V-f,n+b,V-f+I,n+b,V-f,n+b,2),this.v.setTripleAt(V-f,n-b,V-f,n-b+I,V-f,n-b,3))):(this.v.setTripleAt(V+f,n-b+T,V+f,n-b+I,V+f,n-b+T,0,!0),T!==0?(this.v.setTripleAt(V+f-T,n-b,V+f-T,n-b,V+f-I,n-b,1,!0),this.v.setTripleAt(V-f+T,n-b,V-f+I,n-b,V-f+T,n-b,2,!0),this.v.setTripleAt(V-f,n-b+T,V-f,n-b+T,V-f,n-b+I,3,!0),this.v.setTripleAt(V-f,n+b-T,V-f,n+b-I,V-f,n+b-T,4,!0),this.v.setTripleAt(V-f+T,n+b,V-f+T,n+b,V-f+I,n+b,5,!0),this.v.setTripleAt(V+f-T,n+b,V+f-I,n+b,V+f-T,n+b,6,!0),this.v.setTripleAt(V+f,n+b-T,V+f,n+b-T,V+f,n+b-I,7,!0)):(this.v.setTripleAt(V-f,n-b,V-f+I,n-b,V-f,n-b,1,!0),this.v.setTripleAt(V-f,n+b,V-f,n+b-I,V-f,n+b,2,!0),this.v.setTripleAt(V+f,n+b,V+f-I,n+b,V+f,n+b,3,!0)));},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath());},reset:J},v([Xe],O),O}();function l(O,V,n){var f;if(n===3||n===4){var b=n===3?V.pt:V.ks,T=b.k;T.length?f=new Bt(O,V,n):f=new Mt(O,V,n);}else n===5?f=new kt(O,V):n===6?f=new Vt(O,V):n===7&&(f=new Ht(O,V));return f.k&&O.addDynamicProperty(f),f}function k(){return Mt}function C(){return Bt}var L={};return L.getShapeProp=l,L.getConstructorFunction=k,L.getKeyframedConstructorFunction=C,L}(),Ge=function(){var P=Math.cos,D=Math.sin,B=Math.tan,J=Math.round;function st(){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 et(R){if(R===0)return this;var rt=P(R),at=D(R);return this._t(rt,-at,0,0,at,rt,0,0,0,0,1,0,0,0,0,1)}function gt(R){if(R===0)return this;var rt=P(R),at=D(R);return this._t(1,0,0,0,0,rt,-at,0,0,at,rt,0,0,0,0,1)}function Mt(R){if(R===0)return this;var rt=P(R),at=D(R);return this._t(rt,0,at,0,0,1,0,0,-at,0,rt,0,0,0,0,1)}function yt(R){if(R===0)return this;var rt=P(R),at=D(R);return this._t(rt,-at,0,0,at,rt,0,0,0,0,1,0,0,0,0,1)}function Bt(R,rt){return this._t(1,rt,R,1,0,0)}function Vt(R,rt){return this.shear(B(R),B(rt))}function Ht(R,rt){var at=P(rt),Z=D(rt);return this._t(at,Z,0,0,-Z,at,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,B(R),1,0,0,0,0,1,0,0,0,0,1)._t(at,-Z,0,0,Z,at,0,0,0,0,1,0,0,0,0,1)}function kt(R,rt,at){return !at&&at!==0&&(at=1),R===1&&rt===1&&at===1?this:this._t(R,0,0,0,0,rt,0,0,0,0,at,0,0,0,0,1)}function l(R,rt,at,Z,ct,mt,Pt,Rt,jt,Lt,Kt,_t,Et,ht,Ct,Ft){return this.props[0]=R,this.props[1]=rt,this.props[2]=at,this.props[3]=Z,this.props[4]=ct,this.props[5]=mt,this.props[6]=Pt,this.props[7]=Rt,this.props[8]=jt,this.props[9]=Lt,this.props[10]=Kt,this.props[11]=_t,this.props[12]=Et,this.props[13]=ht,this.props[14]=Ct,this.props[15]=Ft,this}function k(R,rt,at){return at=at||0,R!==0||rt!==0||at!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,R,rt,at,1):this}function C(R,rt,at,Z,ct,mt,Pt,Rt,jt,Lt,Kt,_t,Et,ht,Ct,Ft){var wt=this.props;if(R===1&&rt===0&&at===0&&Z===0&&ct===0&&mt===1&&Pt===0&&Rt===0&&jt===0&&Lt===0&&Kt===1&&_t===0)return wt[12]=wt[12]*R+wt[15]*Et,wt[13]=wt[13]*mt+wt[15]*ht,wt[14]=wt[14]*Kt+wt[15]*Ct,wt[15]*=Ft,this._identityCalculated=!1,this;var St=wt[0],At=wt[1],ut=wt[2],Dt=wt[3],Zt=wt[4],$t=wt[5],xe=wt[6],ge=wt[7],Me=wt[8],we=wt[9],He=wt[10],Ce=wt[11],me=wt[12],Ci=wt[13],Pi=wt[14],hi=wt[15];return wt[0]=St*R+At*ct+ut*jt+Dt*Et,wt[1]=St*rt+At*mt+ut*Lt+Dt*ht,wt[2]=St*at+At*Pt+ut*Kt+Dt*Ct,wt[3]=St*Z+At*Rt+ut*_t+Dt*Ft,wt[4]=Zt*R+$t*ct+xe*jt+ge*Et,wt[5]=Zt*rt+$t*mt+xe*Lt+ge*ht,wt[6]=Zt*at+$t*Pt+xe*Kt+ge*Ct,wt[7]=Zt*Z+$t*Rt+xe*_t+ge*Ft,wt[8]=Me*R+we*ct+He*jt+Ce*Et,wt[9]=Me*rt+we*mt+He*Lt+Ce*ht,wt[10]=Me*at+we*Pt+He*Kt+Ce*Ct,wt[11]=Me*Z+we*Rt+He*_t+Ce*Ft,wt[12]=me*R+Ci*ct+Pi*jt+hi*Et,wt[13]=me*rt+Ci*mt+Pi*Lt+hi*ht,wt[14]=me*at+Ci*Pt+Pi*Kt+hi*Ct,wt[15]=me*Z+Ci*Rt+Pi*_t+hi*Ft,this._identityCalculated=!1,this}function L(R){var rt=R.props;return this.transform(rt[0],rt[1],rt[2],rt[3],rt[4],rt[5],rt[6],rt[7],rt[8],rt[9],rt[10],rt[11],rt[12],rt[13],rt[14],rt[15])}function O(){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 V(R){for(var rt=0;rt<16;){if(R.props[rt]!==this.props[rt])return !1;rt+=1;}return !0}function n(R){var rt;for(rt=0;rt<16;rt+=1)R.props[rt]=this.props[rt];return R}function f(R){var rt;for(rt=0;rt<16;rt+=1)this.props[rt]=R[rt];}function b(R,rt,at){return {x:R*this.props[0]+rt*this.props[4]+at*this.props[8]+this.props[12],y:R*this.props[1]+rt*this.props[5]+at*this.props[9]+this.props[13],z:R*this.props[2]+rt*this.props[6]+at*this.props[10]+this.props[14]}}function T(R,rt,at){return R*this.props[0]+rt*this.props[4]+at*this.props[8]+this.props[12]}function I(R,rt,at){return R*this.props[1]+rt*this.props[5]+at*this.props[9]+this.props[13]}function F(R,rt,at){return R*this.props[2]+rt*this.props[6]+at*this.props[10]+this.props[14]}function G(){var R=this.props[0]*this.props[5]-this.props[1]*this.props[4],rt=this.props[5]/R,at=-this.props[1]/R,Z=-this.props[4]/R,ct=this.props[0]/R,mt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/R,Pt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/R,Rt=new Ge;return Rt.props[0]=rt,Rt.props[1]=at,Rt.props[4]=Z,Rt.props[5]=ct,Rt.props[12]=mt,Rt.props[13]=Pt,Rt}function K(R){var rt=this.getInverseMatrix();return rt.applyToPointArray(R[0],R[1],R[2]||0)}function X(R){var rt,at=R.length,Z=[];for(rt=0;rt<at;rt+=1)Z[rt]=K(R[rt]);return Z}function it(R,rt,at){var Z=d("float32",6);if(this.isIdentity())Z[0]=R[0],Z[1]=R[1],Z[2]=rt[0],Z[3]=rt[1],Z[4]=at[0],Z[5]=at[1];else {var ct=this.props[0],mt=this.props[1],Pt=this.props[4],Rt=this.props[5],jt=this.props[12],Lt=this.props[13];Z[0]=R[0]*ct+R[1]*Pt+jt,Z[1]=R[0]*mt+R[1]*Rt+Lt,Z[2]=rt[0]*ct+rt[1]*Pt+jt,Z[3]=rt[0]*mt+rt[1]*Rt+Lt,Z[4]=at[0]*ct+at[1]*Pt+jt,Z[5]=at[0]*mt+at[1]*Rt+Lt;}return Z}function lt(R,rt,at){var Z;return this.isIdentity()?Z=[R,rt,at]:Z=[R*this.props[0]+rt*this.props[4]+at*this.props[8]+this.props[12],R*this.props[1]+rt*this.props[5]+at*this.props[9]+this.props[13],R*this.props[2]+rt*this.props[6]+at*this.props[10]+this.props[14]],Z}function tt(R,rt){if(this.isIdentity())return R+","+rt;var at=this.props;return Math.round((R*at[0]+rt*at[4]+at[12])*100)/100+","+Math.round((R*at[1]+rt*at[5]+at[13])*100)/100}function H(){for(var R=0,rt=this.props,at="matrix3d(",Z=1e4;R<16;)at+=J(rt[R]*Z)/Z,at+=R===15?")":",",R+=1;return at}function j(R){var rt=1e4;return R<1e-6&&R>0||R>-1e-6&&R<0?J(R*rt)/rt:R}function W(){var R=this.props,rt=j(R[0]),at=j(R[1]),Z=j(R[4]),ct=j(R[5]),mt=j(R[12]),Pt=j(R[13]);return "matrix("+rt+","+at+","+Z+","+ct+","+mt+","+Pt+")"}return function(){this.reset=st,this.rotate=et,this.rotateX=gt,this.rotateY=Mt,this.rotateZ=yt,this.skew=Vt,this.skewFromAxis=Ht,this.shear=Bt,this.scale=kt,this.setTransform=l,this.translate=k,this.transform=C,this.multiply=L,this.applyToPoint=b,this.applyToX=T,this.applyToY=I,this.applyToZ=F,this.applyToPointArray=lt,this.applyToTriplePoints=it,this.applyToPointStringified=tt,this.toCSS=H,this.to2dCSS=W,this.clone=n,this.cloneFromProps=f,this.equals=V,this.inversePoints=X,this.inversePoint=K,this.getInverseMatrix=G,this._t=this.transform,this.isIdentity=O,this._identity=!0,this._identityCalculated=!1,this.props=d("float32",16),this.reset();}}();function kr(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kr=function(D){return typeof D}:kr=function(D){return D&&typeof Symbol=="function"&&D.constructor===Symbol&&D!==Symbol.prototype?"symbol":typeof D},kr(P)}var ue={};function Vs(P){h(P);}function ti(){ae.searchAnimations();}function Ta(P){qt(P);}function la(P){Pe(P);}function Ma(P){return ae.loadAnimation(P)}function os(P){if(typeof P=="string")switch(P){case"high":le(200);break;default:case"medium":le(50);break;case"low":le(10);break}else !isNaN(P)&&P>1&&le(P);}function Da(){return typeof navigator<"u"}function Fa(P,D){P==="expressions"&&se(D);}function Ia(P){switch(P){case"propertyFactory":return te;case"shapePropertyFactory":return gr;case"matrix":return Ge;default:return null}}ue.play=ae.play,ue.pause=ae.pause,ue.setLocationHref=Vs,ue.togglePause=ae.togglePause,ue.setSpeed=ae.setSpeed,ue.setDirection=ae.setDirection,ue.stop=ae.stop,ue.searchAnimations=ti,ue.registerAnimation=ae.registerAnimation,ue.loadAnimation=Ma,ue.setSubframeRendering=Ta,ue.resize=ae.resize,ue.goToAndStop=ae.goToAndStop,ue.destroy=ae.destroy,ue.setQuality=os,ue.inBrowser=Da,ue.installPlugin=Fa,ue.freeze=ae.freeze,ue.unfreeze=ae.unfreeze,ue.setVolume=ae.setVolume,ue.mute=ae.mute,ue.unmute=ae.unmute,ue.getRegisteredAnimations=ae.getRegisteredAnimations,ue.useWebWorker=o,ue.setIDPrefix=la,ue.__getFactory=Ia,ue.version="5.12.2";function La(){document.readyState==="complete"&&(clearInterval(Ys),ti());}function Va(P){for(var D=Xs.split("&"),B=0;B<D.length;B+=1){var J=D[B].split("=");if(decodeURIComponent(J[0])==P)return decodeURIComponent(J[1])}return null}var Xs="";{var bs=document.getElementsByTagName("script"),pa=bs.length-1,Qr=bs[pa]||{src:""};Xs=Qr.src?Qr.src.replace(/^[^\?]+\??/,""):"",Va("renderer");}var Ys=setInterval(La,100);try{!((typeof t>"u"?"undefined":kr(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=ue);}catch{}var Ii=function(){var P={},D={};P.registerModifier=B,P.getModifier=J;function B(st,et){D[st]||(D[st]=et);}function J(st,et,gt){return new D[st](et,gt)}return P}();function ni(){}ni.prototype.initModifierProperties=function(){},ni.prototype.addShapeToModifier=function(){},ni.prototype.addShape=function(P){if(!this.closed){P.sh.container.addDynamicProperty(P.sh);var D={shape:P.sh,data:P,localShapeCollection:ai.newShapeCollection()};this.shapes.push(D),this.addShapeToModifier(D),this._isAnimated&&P.setAsAnimated();}},ni.prototype.init=function(P,D){this.shapes=[],this.elem=P,this.initDynamicPropertyContainer(P),this.initModifierProperties(P,D),this.frameId=a,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0);},ni.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties());},v([Xe],ni);function ei(){}v([ni],ei),ei.prototype.initModifierProperties=function(P,D){this.s=te.getProp(P,D.s,0,.01,this),this.e=te.getProp(P,D.e,0,.01,this),this.o=te.getProp(P,D.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=D.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length;},ei.prototype.addShapeToModifier=function(P){P.pathsData=[];},ei.prototype.calculateShapeEdges=function(P,D,B,J,st){var et=[];D<=1?et.push({s:P,e:D}):P>=1?et.push({s:P-1,e:D-1}):(et.push({s:P,e:1}),et.push({s:0,e:D-1}));var gt=[],Mt,yt=et.length,Bt;for(Mt=0;Mt<yt;Mt+=1)if(Bt=et[Mt],!(Bt.e*st<J||Bt.s*st>J+B)){var Vt,Ht;Bt.s*st<=J?Vt=0:Vt=(Bt.s*st-J)/B,Bt.e*st>=J+B?Ht=1:Ht=(Bt.e*st-J)/B,gt.push([Vt,Ht]);}return gt.length||gt.push([0,0]),gt},ei.prototype.releasePathsData=function(P){var D,B=P.length;for(D=0;D<B;D+=1)bi.release(P[D]);return P.length=0,P},ei.prototype.processShapes=function(P){var D,B;if(this._mdf||P){var J=this.o.v%360/360;if(J<0&&(J+=1),this.s.v>1?D=1+J:this.s.v<0?D=0+J:D=this.s.v+J,this.e.v>1?B=1+J:this.e.v<0?B=0+J:B=this.e.v+J,D>B){var st=D;D=B,B=st;}D=Math.round(D*1e4)*1e-4,B=Math.round(B*1e4)*1e-4,this.sValue=D,this.eValue=B;}else D=this.sValue,B=this.eValue;var et,gt,Mt=this.shapes.length,yt,Bt,Vt,Ht,kt,l=0;if(B===D)for(gt=0;gt<Mt;gt+=1)this.shapes[gt].localShapeCollection.releaseShapes(),this.shapes[gt].shape._mdf=!0,this.shapes[gt].shape.paths=this.shapes[gt].localShapeCollection,this._mdf&&(this.shapes[gt].pathsData.length=0);else if(B===1&&D===0||B===0&&D===1){if(this._mdf)for(gt=0;gt<Mt;gt+=1)this.shapes[gt].pathsData.length=0,this.shapes[gt].shape._mdf=!0;}else {var k=[],C,L;for(gt=0;gt<Mt;gt+=1)if(C=this.shapes[gt],!C.shape._mdf&&!this._mdf&&!P&&this.m!==2)C.shape.paths=C.localShapeCollection;else {if(et=C.shape.paths,Bt=et._length,kt=0,!C.shape._mdf&&C.pathsData.length)kt=C.totalShapeLength;else {for(Vt=this.releasePathsData(C.pathsData),yt=0;yt<Bt;yt+=1)Ht=ki.getSegmentsLength(et.shapes[yt]),Vt.push(Ht),kt+=Ht.totalLength;C.totalShapeLength=kt,C.pathsData=Vt;}l+=kt,C.shape._mdf=!0;}var O=D,V=B,n=0,f;for(gt=Mt-1;gt>=0;gt-=1)if(C=this.shapes[gt],C.shape._mdf){for(L=C.localShapeCollection,L.releaseShapes(),this.m===2&&Mt>1?(f=this.calculateShapeEdges(D,B,C.totalShapeLength,n,l),n+=C.totalShapeLength):f=[[O,V]],Bt=f.length,yt=0;yt<Bt;yt+=1){O=f[yt][0],V=f[yt][1],k.length=0,V<=1?k.push({s:C.totalShapeLength*O,e:C.totalShapeLength*V}):O>=1?k.push({s:C.totalShapeLength*(O-1),e:C.totalShapeLength*(V-1)}):(k.push({s:C.totalShapeLength*O,e:C.totalShapeLength}),k.push({s:0,e:C.totalShapeLength*(V-1)}));var b=this.addShapes(C,k[0]);if(k[0].s!==k[0].e){if(k.length>1){var T=C.shape.paths.shapes[C.shape.paths._length-1];if(T.c){var I=b.pop();this.addPaths(b,L),b=this.addShapes(C,k[1],I);}else this.addPaths(b,L),b=this.addShapes(C,k[1]);}this.addPaths(b,L);}}C.shape.paths=L;}}},ei.prototype.addPaths=function(P,D){var B,J=P.length;for(B=0;B<J;B+=1)D.addShape(P[B]);},ei.prototype.addSegment=function(P,D,B,J,st,et,gt){st.setXYAt(D[0],D[1],"o",et),st.setXYAt(B[0],B[1],"i",et+1),gt&&st.setXYAt(P[0],P[1],"v",et),st.setXYAt(J[0],J[1],"v",et+1);},ei.prototype.addSegmentFromArray=function(P,D,B,J){D.setXYAt(P[1],P[5],"o",B),D.setXYAt(P[2],P[6],"i",B+1),J&&D.setXYAt(P[0],P[4],"v",B),D.setXYAt(P[3],P[7],"v",B+1);},ei.prototype.addShapes=function(P,D,B){var J=P.pathsData,st=P.shape.paths.shapes,et,gt=P.shape.paths._length,Mt,yt,Bt=0,Vt,Ht,kt,l,k=[],C,L=!0;for(B?(Ht=B._length,C=B._length):(B=Ve.newElement(),Ht=0,C=0),k.push(B),et=0;et<gt;et+=1){for(kt=J[et].lengths,B.c=st[et].c,yt=st[et].c?kt.length:kt.length+1,Mt=1;Mt<yt;Mt+=1)if(Vt=kt[Mt-1],Bt+Vt.addedLength<D.s)Bt+=Vt.addedLength,B.c=!1;else if(Bt>D.e){B.c=!1;break}else D.s<=Bt&&D.e>=Bt+Vt.addedLength?(this.addSegment(st[et].v[Mt-1],st[et].o[Mt-1],st[et].i[Mt],st[et].v[Mt],B,Ht,L),L=!1):(l=ki.getNewSegment(st[et].v[Mt-1],st[et].v[Mt],st[et].o[Mt-1],st[et].i[Mt],(D.s-Bt)/Vt.addedLength,(D.e-Bt)/Vt.addedLength,kt[Mt-1]),this.addSegmentFromArray(l,B,Ht,L),L=!1,B.c=!1),Bt+=Vt.addedLength,Ht+=1;if(st[et].c&&kt.length){if(Vt=kt[Mt-1],Bt<=D.e){var O=kt[Mt-1].addedLength;D.s<=Bt&&D.e>=Bt+O?(this.addSegment(st[et].v[Mt-1],st[et].o[Mt-1],st[et].i[0],st[et].v[0],B,Ht,L),L=!1):(l=ki.getNewSegment(st[et].v[Mt-1],st[et].v[0],st[et].o[Mt-1],st[et].i[0],(D.s-Bt)/O,(D.e-Bt)/O,kt[Mt-1]),this.addSegmentFromArray(l,B,Ht,L),L=!1,B.c=!1);}else B.c=!1;Bt+=Vt.addedLength,Ht+=1;}if(B._length&&(B.setXYAt(B.v[C][0],B.v[C][1],"i",C),B.setXYAt(B.v[B._length-1][0],B.v[B._length-1][1],"o",B._length-1)),Bt>D.e)break;et<gt-1&&(B=Ve.newElement(),L=!0,k.push(B),Ht=0);}return k};function wi(){}v([ni],wi),wi.prototype.initModifierProperties=function(P,D){this.getValue=this.processKeys,this.amount=te.getProp(P,D.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length;},wi.prototype.processPath=function(P,D){var B=D/100,J=[0,0],st=P._length,et=0;for(et=0;et<st;et+=1)J[0]+=P.v[et][0],J[1]+=P.v[et][1];J[0]/=st,J[1]/=st;var gt=Ve.newElement();gt.c=P.c;var Mt,yt,Bt,Vt,Ht,kt;for(et=0;et<st;et+=1)Mt=P.v[et][0]+(J[0]-P.v[et][0])*B,yt=P.v[et][1]+(J[1]-P.v[et][1])*B,Bt=P.o[et][0]+(J[0]-P.o[et][0])*-B,Vt=P.o[et][1]+(J[1]-P.o[et][1])*-B,Ht=P.i[et][0]+(J[0]-P.i[et][0])*-B,kt=P.i[et][1]+(J[1]-P.i[et][1])*-B,gt.setTripleAt(Mt,yt,Bt,Vt,Ht,kt,et);return gt},wi.prototype.processShapes=function(P){var D,B,J=this.shapes.length,st,et,gt=this.amount.v;if(gt!==0){var Mt,yt;for(B=0;B<J;B+=1){if(Mt=this.shapes[B],yt=Mt.localShapeCollection,!(!Mt.shape._mdf&&!this._mdf&&!P))for(yt.releaseShapes(),Mt.shape._mdf=!0,D=Mt.shape.paths.shapes,et=Mt.shape.paths._length,st=0;st<et;st+=1)yt.addShape(this.processPath(D[st],gt));Mt.shape.paths=Mt.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var Gi=function(){var P=[0,0];function D(yt){var Bt=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||Bt,this.a&&yt.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&yt.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&yt.skewFromAxis(-this.sk.v,this.sa.v),this.r?yt.rotate(-this.r.v):yt.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?yt.translate(this.px.v,this.py.v,-this.pz.v):yt.translate(this.px.v,this.py.v,0):yt.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function B(yt){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||yt){var Bt;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 Vt,Ht;if(Bt=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(Vt=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/Bt,0),Ht=this.p.getValueAtTime(this.p.keyframes[0].t/Bt,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(Vt=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/Bt,0),Ht=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/Bt,0)):(Vt=this.p.pv,Ht=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/Bt,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){Vt=[],Ht=[];var kt=this.px,l=this.py;kt._caching.lastFrame+kt.offsetTime<=kt.keyframes[0].t?(Vt[0]=kt.getValueAtTime((kt.keyframes[0].t+.01)/Bt,0),Vt[1]=l.getValueAtTime((l.keyframes[0].t+.01)/Bt,0),Ht[0]=kt.getValueAtTime(kt.keyframes[0].t/Bt,0),Ht[1]=l.getValueAtTime(l.keyframes[0].t/Bt,0)):kt._caching.lastFrame+kt.offsetTime>=kt.keyframes[kt.keyframes.length-1].t?(Vt[0]=kt.getValueAtTime(kt.keyframes[kt.keyframes.length-1].t/Bt,0),Vt[1]=l.getValueAtTime(l.keyframes[l.keyframes.length-1].t/Bt,0),Ht[0]=kt.getValueAtTime((kt.keyframes[kt.keyframes.length-1].t-.01)/Bt,0),Ht[1]=l.getValueAtTime((l.keyframes[l.keyframes.length-1].t-.01)/Bt,0)):(Vt=[kt.pv,l.pv],Ht[0]=kt.getValueAtTime((kt._caching.lastFrame+kt.offsetTime-.01)/Bt,kt.offsetTime),Ht[1]=l.getValueAtTime((l._caching.lastFrame+l.offsetTime-.01)/Bt,l.offsetTime));}else Ht=P,Vt=Ht;this.v.rotate(-Math.atan2(Vt[1]-Ht[1],Vt[0]-Ht[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 J(){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 st(){}function et(yt){this._addDynamicProperty(yt),this.elem.addDynamicProperty(yt),this._isDirty=!0;}function gt(yt,Bt,Vt){if(this.elem=yt,this.frameId=-1,this.propType="transform",this.data=Bt,this.v=new Ge,this.pre=new Ge,this.appliedTransformations=0,this.initDynamicPropertyContainer(Vt||yt),Bt.p&&Bt.p.s?(this.px=te.getProp(yt,Bt.p.x,0,0,this),this.py=te.getProp(yt,Bt.p.y,0,0,this),Bt.p.z&&(this.pz=te.getProp(yt,Bt.p.z,0,0,this))):this.p=te.getProp(yt,Bt.p||{k:[0,0,0]},1,0,this),Bt.rx){if(this.rx=te.getProp(yt,Bt.rx,0,dt,this),this.ry=te.getProp(yt,Bt.ry,0,dt,this),this.rz=te.getProp(yt,Bt.rz,0,dt,this),Bt.or.k[0].ti){var Ht,kt=Bt.or.k.length;for(Ht=0;Ht<kt;Ht+=1)Bt.or.k[Ht].to=null,Bt.or.k[Ht].ti=null;}this.or=te.getProp(yt,Bt.or,1,dt,this),this.or.sh=!0;}else this.r=te.getProp(yt,Bt.r||{k:0},0,dt,this);Bt.sk&&(this.sk=te.getProp(yt,Bt.sk,0,dt,this),this.sa=te.getProp(yt,Bt.sa,0,dt,this)),this.a=te.getProp(yt,Bt.a||{k:[0,0,0]},1,0,this),this.s=te.getProp(yt,Bt.s||{k:[100,100,100]},1,.01,this),Bt.o?this.o=te.getProp(yt,Bt.o,0,.01,yt):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}gt.prototype={applyToMatrix:D,getValue:B,precalculateMatrix:J,autoOrient:st},v([Xe],gt),gt.prototype.addDynamicProperty=et,gt.prototype._addDynamicProperty=Xe.prototype.addDynamicProperty;function Mt(yt,Bt,Vt){return new gt(yt,Bt,Vt)}return {getTransformProperty:Mt}}();function mi(){}v([ni],mi),mi.prototype.initModifierProperties=function(P,D){this.getValue=this.processKeys,this.c=te.getProp(P,D.c,0,null,this),this.o=te.getProp(P,D.o,0,null,this),this.tr=Gi.getTransformProperty(P,D.tr,this),this.so=te.getProp(P,D.tr.so,0,.01,this),this.eo=te.getProp(P,D.tr.eo,0,.01,this),this.data=D,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Ge,this.rMatrix=new Ge,this.sMatrix=new Ge,this.tMatrix=new Ge,this.matrix=new Ge;},mi.prototype.applyTransforms=function(P,D,B,J,st,et){var gt=et?-1:1,Mt=J.s.v[0]+(1-J.s.v[0])*(1-st),yt=J.s.v[1]+(1-J.s.v[1])*(1-st);P.translate(J.p.v[0]*gt*st,J.p.v[1]*gt*st,J.p.v[2]),D.translate(-J.a.v[0],-J.a.v[1],J.a.v[2]),D.rotate(-J.r.v*gt*st),D.translate(J.a.v[0],J.a.v[1],J.a.v[2]),B.translate(-J.a.v[0],-J.a.v[1],J.a.v[2]),B.scale(et?1/Mt:Mt,et?1/yt:yt),B.translate(J.a.v[0],J.a.v[1],J.a.v[2]);},mi.prototype.init=function(P,D,B,J){for(this.elem=P,this.arr=D,this.pos=B,this.elemsData=J,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(P),this.initModifierProperties(P,D[B]);B>0;)B-=1,this._elements.unshift(D[B]);this.dynamicProperties.length?this.k=!0:this.getValue(!0);},mi.prototype.resetElements=function(P){var D,B=P.length;for(D=0;D<B;D+=1)P[D]._processed=!1,P[D].ty==="gr"&&this.resetElements(P[D].it);},mi.prototype.cloneElements=function(P){var D=JSON.parse(JSON.stringify(P));return this.resetElements(D),D},mi.prototype.changeGroupRender=function(P,D){var B,J=P.length;for(B=0;B<J;B+=1)P[B]._render=D,P[B].ty==="gr"&&this.changeGroupRender(P[B].it,D);},mi.prototype.processShapes=function(P){var D,B,J,st,et,gt=!1;if(this._mdf||P){var Mt=Math.ceil(this.c.v);if(this._groups.length<Mt){for(;this._groups.length<Mt;){var yt={it:this.cloneElements(this._elements),ty:"gr"};yt.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,yt),this._groups.splice(0,0,yt),this._currentCopies+=1;}this.elem.reloadShapes(),gt=!0;}et=0;var Bt;for(J=0;J<=this._groups.length-1;J+=1){if(Bt=et<Mt,this._groups[J]._render=Bt,this.changeGroupRender(this._groups[J].it,Bt),!Bt){var Vt=this.elemsData[J].it,Ht=Vt[Vt.length-1];Ht.transform.op.v!==0?(Ht.transform.op._mdf=!0,Ht.transform.op.v=0):Ht.transform.op._mdf=!1;}et+=1;}this._currentCopies=Mt;var kt=this.o.v,l=kt%1,k=kt>0?Math.floor(kt):Math.ceil(kt),C=this.pMatrix.props,L=this.rMatrix.props,O=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var V=0;if(kt>0){for(;V<k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),V+=1;l&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,l,!1),V+=l);}else if(kt<0){for(;V>k;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),V-=1;l&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-l,!0),V-=l);}J=this.data.m===1?0:this._currentCopies-1,st=this.data.m===1?1:-1,et=this._currentCopies;for(var n,f;et;){if(D=this.elemsData[J].it,B=D[D.length-1].transform.mProps.v.props,f=B.length,D[D.length-1].transform.mProps._mdf=!0,D[D.length-1].transform.op._mdf=!0,D[D.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(J/(this._currentCopies-1)),V!==0){for((J!==0&&st===1||J!==this._currentCopies-1&&st===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(L[0],L[1],L[2],L[3],L[4],L[5],L[6],L[7],L[8],L[9],L[10],L[11],L[12],L[13],L[14],L[15]),this.matrix.transform(O[0],O[1],O[2],O[3],O[4],O[5],O[6],O[7],O[8],O[9],O[10],O[11],O[12],O[13],O[14],O[15]),this.matrix.transform(C[0],C[1],C[2],C[3],C[4],C[5],C[6],C[7],C[8],C[9],C[10],C[11],C[12],C[13],C[14],C[15]),n=0;n<f;n+=1)B[n]=this.matrix.props[n];this.matrix.reset();}else for(this.matrix.reset(),n=0;n<f;n+=1)B[n]=this.matrix.props[n];V+=1,et-=1,J+=st;}}else for(et=this._currentCopies,J=0,st=1;et;)D=this.elemsData[J].it,B=D[D.length-1].transform.mProps.v.props,D[D.length-1].transform.mProps._mdf=!1,D[D.length-1].transform.op._mdf=!1,et-=1,J+=st;return gt},mi.prototype.addShape=function(){};function rr(){}v([ni],rr),rr.prototype.initModifierProperties=function(P,D){this.getValue=this.processKeys,this.rd=te.getProp(P,D.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length;},rr.prototype.processPath=function(P,D){var B=Ve.newElement();B.c=P.c;var J,st=P._length,et,gt,Mt,yt,Bt,Vt,Ht=0,kt,l,k,C,L,O;for(J=0;J<st;J+=1)et=P.v[J],Mt=P.o[J],gt=P.i[J],et[0]===Mt[0]&&et[1]===Mt[1]&&et[0]===gt[0]&&et[1]===gt[1]?(J===0||J===st-1)&&!P.c?(B.setTripleAt(et[0],et[1],Mt[0],Mt[1],gt[0],gt[1],Ht),Ht+=1):(J===0?yt=P.v[st-1]:yt=P.v[J-1],Bt=Math.sqrt(Math.pow(et[0]-yt[0],2)+Math.pow(et[1]-yt[1],2)),Vt=Bt?Math.min(Bt/2,D)/Bt:0,L=et[0]+(yt[0]-et[0])*Vt,kt=L,O=et[1]-(et[1]-yt[1])*Vt,l=O,k=kt-(kt-et[0])*xt,C=l-(l-et[1])*xt,B.setTripleAt(kt,l,k,C,L,O,Ht),Ht+=1,J===st-1?yt=P.v[0]:yt=P.v[J+1],Bt=Math.sqrt(Math.pow(et[0]-yt[0],2)+Math.pow(et[1]-yt[1],2)),Vt=Bt?Math.min(Bt/2,D)/Bt:0,k=et[0]+(yt[0]-et[0])*Vt,kt=k,C=et[1]+(yt[1]-et[1])*Vt,l=C,L=kt-(kt-et[0])*xt,O=l-(l-et[1])*xt,B.setTripleAt(kt,l,k,C,L,O,Ht),Ht+=1):(B.setTripleAt(P.v[J][0],P.v[J][1],P.o[J][0],P.o[J][1],P.i[J][0],P.i[J][1],Ht),Ht+=1);return B},rr.prototype.processShapes=function(P){var D,B,J=this.shapes.length,st,et,gt=this.rd.v;if(gt!==0){var Mt,yt;for(B=0;B<J;B+=1){if(Mt=this.shapes[B],yt=Mt.localShapeCollection,!(!Mt.shape._mdf&&!this._mdf&&!P))for(yt.releaseShapes(),Mt.shape._mdf=!0,D=Mt.shape.paths.shapes,et=Mt.shape.paths._length,st=0;st<et;st+=1)yt.addShape(this.processPath(D[st],gt));Mt.shape.paths=Mt.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function ji(P,D){return Math.abs(P-D)*1e5<=Math.min(Math.abs(P),Math.abs(D))}function Or(P){return Math.abs(P)<=1e-5}function hs(P,D,B){return P*(1-B)+D*B}function zi(P,D,B){return [hs(P[0],D[0],B),hs(P[1],D[1],B)]}function fa(P,D,B){if(P===0)return [];var J=D*D-4*P*B;if(J<0)return [];var st=-D/(2*P);if(J===0)return [st];var et=Math.sqrt(J)/(2*P);return [st-et,st+et]}function wr(P,D,B,J){return [-P+3*D-3*B+J,3*P-6*D+3*B,-3*P+3*D,P]}function Zs(P){return new Ne(P,P,P,P,!1)}function Ne(P,D,B,J,st){st&&qi(P,D)&&(D=zi(P,J,1/3)),st&&qi(B,J)&&(B=zi(P,J,2/3));var et=wr(P[0],D[0],B[0],J[0]),gt=wr(P[1],D[1],B[1],J[1]);this.a=[et[0],gt[0]],this.b=[et[1],gt[1]],this.c=[et[2],gt[2]],this.d=[et[3],gt[3]],this.points=[P,D,B,J];}Ne.prototype.point=function(P){return [((this.a[0]*P+this.b[0])*P+this.c[0])*P+this.d[0],((this.a[1]*P+this.b[1])*P+this.c[1])*P+this.d[1]]},Ne.prototype.derivative=function(P){return [(3*P*this.a[0]+2*this.b[0])*P+this.c[0],(3*P*this.a[1]+2*this.b[1])*P+this.c[1]]},Ne.prototype.tangentAngle=function(P){var D=this.derivative(P);return Math.atan2(D[1],D[0])},Ne.prototype.normalAngle=function(P){var D=this.derivative(P);return Math.atan2(D[0],D[1])},Ne.prototype.inflectionPoints=function(){var P=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Or(P))return [];var D=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/P,B=D*D-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/P;if(B<0)return [];var J=Math.sqrt(B);return Or(J)?J>0&&J<1?[D]:[]:[D-J,D+J].filter(function(st){return st>0&&st<1})},Ne.prototype.split=function(P){if(P<=0)return [Zs(this.points[0]),this];if(P>=1)return [this,Zs(this.points[this.points.length-1])];var D=zi(this.points[0],this.points[1],P),B=zi(this.points[1],this.points[2],P),J=zi(this.points[2],this.points[3],P),st=zi(D,B,P),et=zi(B,J,P),gt=zi(st,et,P);return [new Ne(this.points[0],D,st,gt,!0),new Ne(gt,et,J,this.points[3],!0)]};function Rs(P,D){var B=P.points[0][D],J=P.points[P.points.length-1][D];if(B>J){var st=J;J=B,B=st;}for(var et=fa(3*P.a[D],2*P.b[D],P.c[D]),gt=0;gt<et.length;gt+=1)if(et[gt]>0&&et[gt]<1){var Mt=P.point(et[gt])[D];Mt<B?B=Mt:Mt>J&&(J=Mt);}return {min:B,max:J}}Ne.prototype.bounds=function(){return {x:Rs(this,0),y:Rs(this,1)}},Ne.prototype.boundingBox=function(){var P=this.bounds();return {left:P.x.min,right:P.x.max,top:P.y.min,bottom:P.y.max,width:P.x.max-P.x.min,height:P.y.max-P.y.min,cx:(P.x.max+P.x.min)/2,cy:(P.y.max+P.y.min)/2}};function ri(P,D,B){var J=P.boundingBox();return {cx:J.cx,cy:J.cy,width:J.width,height:J.height,bez:P,t:(D+B)/2,t1:D,t2:B}}function ts(P){var D=P.bez.split(.5);return [ri(D[0],P.t1,P.t),ri(D[1],P.t,P.t2)]}function ls(P,D){return Math.abs(P.cx-D.cx)*2<P.width+D.width&&Math.abs(P.cy-D.cy)*2<P.height+D.height}function Er(P,D,B,J,st,et){if(ls(P,D)){if(B>=et||P.width<=J&&P.height<=J&&D.width<=J&&D.height<=J){st.push([P.t,D.t]);return}var gt=ts(P),Mt=ts(D);Er(gt[0],Mt[0],B+1,J,st,et),Er(gt[0],Mt[1],B+1,J,st,et),Er(gt[1],Mt[0],B+1,J,st,et),Er(gt[1],Mt[1],B+1,J,st,et);}}Ne.prototype.intersections=function(P,D,B){D===void 0&&(D=2),B===void 0&&(B=7);var J=[];return Er(ri(this,0,1),ri(P,0,1),0,D,J,B),J},Ne.shapeSegment=function(P,D){var B=(D+1)%P.length();return new Ne(P.v[D],P.o[D],P.i[B],P.v[B],!0)},Ne.shapeSegmentInverted=function(P,D){var B=(D+1)%P.length();return new Ne(P.v[B],P.i[B],P.o[D],P.v[D],!0)};function xs(P,D){return [P[1]*D[2]-P[2]*D[1],P[2]*D[0]-P[0]*D[2],P[0]*D[1]-P[1]*D[0]]}function sr(P,D,B,J){var st=[P[0],P[1],1],et=[D[0],D[1],1],gt=[B[0],B[1],1],Mt=[J[0],J[1],1],yt=xs(xs(st,et),xs(gt,Mt));return Or(yt[2])?null:[yt[0]/yt[2],yt[1]/yt[2]]}function tr(P,D,B){return [P[0]+Math.cos(D)*B,P[1]-Math.sin(D)*B]}function Hr(P,D){return Math.hypot(P[0]-D[0],P[1]-D[1])}function qi(P,D){return ji(P[0],D[0])&&ji(P[1],D[1])}function ar(){}v([ni],ar),ar.prototype.initModifierProperties=function(P,D){this.getValue=this.processKeys,this.amplitude=te.getProp(P,D.s,0,null,this),this.frequency=te.getProp(P,D.r,0,null,this),this.pointsType=te.getProp(P,D.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0;};function Wr(P,D,B,J,st,et,gt){var Mt=B-Math.PI/2,yt=B+Math.PI/2,Bt=D[0]+Math.cos(B)*J*st,Vt=D[1]-Math.sin(B)*J*st;P.setTripleAt(Bt,Vt,Bt+Math.cos(Mt)*et,Vt-Math.sin(Mt)*et,Bt+Math.cos(yt)*gt,Vt-Math.sin(yt)*gt,P.length());}function _s(P,D){var B=[D[0]-P[0],D[1]-P[1]],J=-Math.PI*.5,st=[Math.cos(J)*B[0]-Math.sin(J)*B[1],Math.sin(J)*B[0]+Math.cos(J)*B[1]];return st}function ca(P,D){var B=D===0?P.length()-1:D-1,J=(D+1)%P.length(),st=P.v[B],et=P.v[J],gt=_s(st,et);return Math.atan2(0,1)-Math.atan2(gt[1],gt[0])}function Ps(P,D,B,J,st,et,gt){var Mt=ca(D,B),yt=D.v[B%D._length],Bt=D.v[B===0?D._length-1:B-1],Vt=D.v[(B+1)%D._length],Ht=et===2?Math.sqrt(Math.pow(yt[0]-Bt[0],2)+Math.pow(yt[1]-Bt[1],2)):0,kt=et===2?Math.sqrt(Math.pow(yt[0]-Vt[0],2)+Math.pow(yt[1]-Vt[1],2)):0;Wr(P,D.v[B%D._length],Mt,gt,J,kt/((st+1)*2),Ht/((st+1)*2));}function Ra(P,D,B,J,st,et){for(var gt=0;gt<J;gt+=1){var Mt=(gt+1)/(J+1),yt=st===2?Math.sqrt(Math.pow(D.points[3][0]-D.points[0][0],2)+Math.pow(D.points[3][1]-D.points[0][1],2)):0,Bt=D.normalAngle(Mt),Vt=D.point(Mt);Wr(P,Vt,Bt,et,B,yt/((J+1)*2),yt/((J+1)*2)),et=-et;}return et}ar.prototype.processPath=function(P,D,B,J){var st=P._length,et=Ve.newElement();if(et.c=P.c,P.c||(st-=1),st===0)return et;var gt=-1,Mt=Ne.shapeSegment(P,0);Ps(et,P,0,D,B,J,gt);for(var yt=0;yt<st;yt+=1)gt=Ra(et,Mt,D,B,J,-gt),yt===st-1&&!P.c?Mt=null:Mt=Ne.shapeSegment(P,(yt+1)%st),Ps(et,P,yt+1,D,B,J,gt);return et},ar.prototype.processShapes=function(P){var D,B,J=this.shapes.length,st,et,gt=this.amplitude.v,Mt=Math.max(0,Math.round(this.frequency.v)),yt=this.pointsType.v;if(gt!==0){var Bt,Vt;for(B=0;B<J;B+=1){if(Bt=this.shapes[B],Vt=Bt.localShapeCollection,!(!Bt.shape._mdf&&!this._mdf&&!P))for(Vt.releaseShapes(),Bt.shape._mdf=!0,D=Bt.shape.paths.shapes,et=Bt.shape.paths._length,st=0;st<et;st+=1)Vt.addShape(this.processPath(D[st],gt,Mt,yt));Bt.shape.paths=Bt.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function ps(P,D,B){var J=Math.atan2(D[0]-P[0],D[1]-P[1]);return [tr(P,J,B),tr(D,J,B)]}function yr(P,D){var B,J,st,et,gt,Mt,yt;yt=ps(P.points[0],P.points[1],D),B=yt[0],J=yt[1],yt=ps(P.points[1],P.points[2],D),st=yt[0],et=yt[1],yt=ps(P.points[2],P.points[3],D),gt=yt[0],Mt=yt[1];var Bt=sr(B,J,st,et);Bt===null&&(Bt=J);var Vt=sr(gt,Mt,st,et);return Vt===null&&(Vt=gt),new Ne(B,Bt,Vt,Mt)}function Ur(P,D,B,J,st){var et=D.points[3],gt=B.points[0];if(J===3||qi(et,gt))return et;if(J===2){var Mt=-D.tangentAngle(1),yt=-B.tangentAngle(0)+Math.PI,Bt=sr(et,tr(et,Mt+Math.PI/2,100),gt,tr(gt,Mt+Math.PI/2,100)),Vt=Bt?Hr(Bt,et):Hr(et,gt)/2,Ht=tr(et,Mt,2*Vt*xt);return P.setXYAt(Ht[0],Ht[1],"o",P.length()-1),Ht=tr(gt,yt,2*Vt*xt),P.setTripleAt(gt[0],gt[1],gt[0],gt[1],Ht[0],Ht[1],P.length()),gt}var kt=qi(et,D.points[2])?D.points[0]:D.points[2],l=qi(gt,B.points[1])?B.points[3]:B.points[1],k=sr(kt,et,gt,l);return k&&Hr(k,et)<st?(P.setTripleAt(k[0],k[1],k[0],k[1],k[0],k[1],P.length()),k):et}function Ar(P,D){var B=P.intersections(D);return B.length&&ji(B[0][0],1)&&B.shift(),B.length?B[0]:null}function fs(P,D){var B=P.slice(),J=D.slice(),st=Ar(P[P.length-1],D[0]);return st&&(B[P.length-1]=P[P.length-1].split(st[0])[0],J[0]=D[0].split(st[1])[1]),P.length>1&&D.length>1&&(st=Ar(P[0],D[D.length-1]),st)?[[P[0].split(st[0])[0]],[D[D.length-1].split(st[1])[1]]]:[B,J]}function Os(P){for(var D,B=1;B<P.length;B+=1)D=fs(P[B-1],P[B]),P[B-1]=D[0],P[B]=D[1];return P.length>1&&(D=fs(P[P.length-1],P[0]),P[P.length-1]=D[0],P[0]=D[1]),P}function Bs(P,D){var B=P.inflectionPoints(),J,st,et,gt;if(B.length===0)return [yr(P,D)];if(B.length===1||ji(B[1],1))return et=P.split(B[0]),J=et[0],st=et[1],[yr(J,D),yr(st,D)];et=P.split(B[0]),J=et[0];var Mt=(B[1]-B[0])/(1-B[0]);return et=et[1].split(Mt),gt=et[0],st=et[1],[yr(J,D),yr(gt,D),yr(st,D)]}function Cr(){}v([ni],Cr),Cr.prototype.initModifierProperties=function(P,D){this.getValue=this.processKeys,this.amount=te.getProp(P,D.a,0,null,this),this.miterLimit=te.getProp(P,D.ml,0,null,this),this.lineJoin=D.lj,this._isAnimated=this.amount.effectsSequence.length!==0;},Cr.prototype.processPath=function(P,D,B,J){var st=Ve.newElement();st.c=P.c;var et=P.length();P.c||(et-=1);var gt,Mt,yt,Bt=[];for(gt=0;gt<et;gt+=1)yt=Ne.shapeSegment(P,gt),Bt.push(Bs(yt,D));if(!P.c)for(gt=et-1;gt>=0;gt-=1)yt=Ne.shapeSegmentInverted(P,gt),Bt.push(Bs(yt,D));Bt=Os(Bt);var Vt=null,Ht=null;for(gt=0;gt<Bt.length;gt+=1){var kt=Bt[gt];for(Ht&&(Vt=Ur(st,Ht,kt[0],B,J)),Ht=kt[kt.length-1],Mt=0;Mt<kt.length;Mt+=1)yt=kt[Mt],Vt&&qi(yt.points[0],Vt)?st.setXYAt(yt.points[1][0],yt.points[1][1],"o",st.length()-1):st.setTripleAt(yt.points[0][0],yt.points[0][1],yt.points[1][0],yt.points[1][1],yt.points[0][0],yt.points[0][1],st.length()),st.setTripleAt(yt.points[3][0],yt.points[3][1],yt.points[3][0],yt.points[3][1],yt.points[2][0],yt.points[2][1],st.length()),Vt=yt.points[3];}return Bt.length&&Ur(st,Ht,Bt[0][0],B,J),st},Cr.prototype.processShapes=function(P){var D,B,J=this.shapes.length,st,et,gt=this.amount.v,Mt=this.miterLimit.v,yt=this.lineJoin;if(gt!==0){var Bt,Vt;for(B=0;B<J;B+=1){if(Bt=this.shapes[B],Vt=Bt.localShapeCollection,!(!Bt.shape._mdf&&!this._mdf&&!P))for(Vt.releaseShapes(),Bt.shape._mdf=!0,D=Bt.shape.paths.shapes,et=Bt.shape.paths._length,st=0;st<et;st+=1)Vt.addShape(this.processPath(D[st],gt,yt,Mt));Bt.shape.paths=Bt.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function cs(P){for(var D=P.fStyle?P.fStyle.split(" "):[],B="normal",J="normal",st=D.length,et,gt=0;gt<st;gt+=1)switch(et=D[gt].toLowerCase(),et){case"italic":J="italic";break;case"bold":B="700";break;case"black":B="900";break;case"medium":B="500";break;case"regular":case"normal":B="400";break;case"light":case"thin":B="200";break}return {style:J,weight:P.fWeight||B}}var Li=function(){var P=5e3,D={w:0,size:0,shapes:[],data:{shapes:[]}},B=[];B=B.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 J=127988,st=917631,et=917601,gt=917626,Mt=65039,yt=8205,Bt=127462,Vt=127487,Ht=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function kt(j){var W=j.split(","),R,rt=W.length,at=[];for(R=0;R<rt;R+=1)W[R]!=="sans-serif"&&W[R]!=="monospace"&&at.push(W[R]);return at.join(",")}function l(j,W){var R=_("span");R.setAttribute("aria-hidden",!0),R.style.fontFamily=W;var rt=_("span");rt.innerText="giItT1WQy@!-/#",R.style.position="absolute",R.style.left="-10000px",R.style.top="-10000px",R.style.fontSize="300px",R.style.fontVariant="normal",R.style.fontStyle="normal",R.style.fontWeight="normal",R.style.letterSpacing="0",R.appendChild(rt),document.body.appendChild(R);var at=rt.offsetWidth;return rt.style.fontFamily=kt(j)+", "+W,{node:rt,w:at,parent:R}}function k(){var j,W=this.fonts.length,R,rt,at=W;for(j=0;j<W;j+=1)this.fonts[j].loaded?at-=1:this.fonts[j].fOrigin==="n"||this.fonts[j].origin===0?this.fonts[j].loaded=!0:(R=this.fonts[j].monoCase.node,rt=this.fonts[j].monoCase.w,R.offsetWidth!==rt?(at-=1,this.fonts[j].loaded=!0):(R=this.fonts[j].sansCase.node,rt=this.fonts[j].sansCase.w,R.offsetWidth!==rt&&(at-=1,this.fonts[j].loaded=!0)),this.fonts[j].loaded&&(this.fonts[j].sansCase.parent.parentNode.removeChild(this.fonts[j].sansCase.parent),this.fonts[j].monoCase.parent.parentNode.removeChild(this.fonts[j].monoCase.parent)));at!==0&&Date.now()-this.initTime<P?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function C(j,W){var R=document.body&&W?"svg":"canvas",rt,at=cs(j);if(R==="svg"){var Z=Jt("text");Z.style.fontSize="100px",Z.setAttribute("font-family",j.fFamily),Z.setAttribute("font-style",at.style),Z.setAttribute("font-weight",at.weight),Z.textContent="1",j.fClass?(Z.style.fontFamily="inherit",Z.setAttribute("class",j.fClass)):Z.style.fontFamily=j.fFamily,W.appendChild(Z),rt=Z;}else {var ct=new OffscreenCanvas(500,500).getContext("2d");ct.font=at.style+" "+at.weight+" 100px "+j.fFamily,rt=ct;}function mt(Pt){return R==="svg"?(rt.textContent=Pt,rt.getComputedTextLength()):rt.measureText(Pt).width}return {measureText:mt}}function L(j,W){if(!j){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=j.list;return}if(!document.body){this.isLoaded=!0,j.list.forEach(function(Kt){Kt.helper=C(Kt),Kt.cache={};}),this.fonts=j.list;return}var R=j.list,rt,at=R.length,Z=at;for(rt=0;rt<at;rt+=1){var ct=!0,mt,Pt;if(R[rt].loaded=!1,R[rt].monoCase=l(R[rt].fFamily,"monospace"),R[rt].sansCase=l(R[rt].fFamily,"sans-serif"),!R[rt].fPath)R[rt].loaded=!0,Z-=1;else if(R[rt].fOrigin==="p"||R[rt].origin===3){if(mt=document.querySelectorAll('style[f-forigin="p"][f-family="'+R[rt].fFamily+'"], style[f-origin="3"][f-family="'+R[rt].fFamily+'"]'),mt.length>0&&(ct=!1),ct){var Rt=_("style");Rt.setAttribute("f-forigin",R[rt].fOrigin),Rt.setAttribute("f-origin",R[rt].origin),Rt.setAttribute("f-family",R[rt].fFamily),Rt.type="text/css",Rt.innerText="@font-face {font-family: "+R[rt].fFamily+"; font-style: normal; src: url('"+R[rt].fPath+"');}",W.appendChild(Rt);}}else if(R[rt].fOrigin==="g"||R[rt].origin===1){for(mt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Pt=0;Pt<mt.length;Pt+=1)mt[Pt].href.indexOf(R[rt].fPath)!==-1&&(ct=!1);if(ct){var jt=_("link");jt.setAttribute("f-forigin",R[rt].fOrigin),jt.setAttribute("f-origin",R[rt].origin),jt.type="text/css",jt.rel="stylesheet",jt.href=R[rt].fPath,document.body.appendChild(jt);}}else if(R[rt].fOrigin==="t"||R[rt].origin===2){for(mt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Pt=0;Pt<mt.length;Pt+=1)R[rt].fPath===mt[Pt].src&&(ct=!1);if(ct){var Lt=_("link");Lt.setAttribute("f-forigin",R[rt].fOrigin),Lt.setAttribute("f-origin",R[rt].origin),Lt.setAttribute("rel","stylesheet"),Lt.setAttribute("href",R[rt].fPath),W.appendChild(Lt);}}R[rt].helper=C(R[rt],W),R[rt].cache={},this.fonts.push(R[rt]);}Z===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function O(j){if(j){this.chars||(this.chars=[]);var W,R=j.length,rt,at=this.chars.length,Z;for(W=0;W<R;W+=1){for(rt=0,Z=!1;rt<at;)this.chars[rt].style===j[W].style&&this.chars[rt].fFamily===j[W].fFamily&&this.chars[rt].ch===j[W].ch&&(Z=!0),rt+=1;Z||(this.chars.push(j[W]),at+=1);}}}function V(j,W,R){for(var rt=0,at=this.chars.length;rt<at;){if(this.chars[rt].ch===j&&this.chars[rt].style===W&&this.chars[rt].fFamily===R)return this.chars[rt];rt+=1;}return (typeof j=="string"&&j.charCodeAt(0)!==13||!j)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",j,W,R)),D}function n(j,W,R){var rt=this.getFontByName(W),at=j;if(!rt.cache[at]){var Z=rt.helper;if(j===" "){var ct=Z.measureText("|"+j+"|"),mt=Z.measureText("||");rt.cache[at]=(ct-mt)/100;}else rt.cache[at]=Z.measureText(j)/100;}return rt.cache[at]*R}function f(j){for(var W=0,R=this.fonts.length;W<R;){if(this.fonts[W].fName===j)return this.fonts[W];W+=1;}return this.fonts[0]}function b(j){var W=0,R=j.charCodeAt(0);if(R>=55296&&R<=56319){var rt=j.charCodeAt(1);rt>=56320&&rt<=57343&&(W=(R-55296)*1024+rt-56320+65536);}return W}function T(j,W){var R=j.toString(16)+W.toString(16);return Ht.indexOf(R)!==-1}function I(j){return j===yt}function F(j){return j===Mt}function G(j){var W=b(j);return W>=Bt&&W<=Vt}function K(j){return G(j.substr(0,2))&&G(j.substr(2,2))}function X(j){return B.indexOf(j)!==-1}function it(j,W){var R=b(j.substr(W,2));if(R!==J)return !1;var rt=0;for(W+=2;rt<5;){if(R=b(j.substr(W,2)),R<et||R>gt)return !1;rt+=1,W+=2;}return b(j.substr(W,2))===st}function lt(){this.isLoaded=!0;}var tt=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);};tt.isModifier=T,tt.isZeroWidthJoiner=I,tt.isFlagEmoji=K,tt.isRegionalCode=G,tt.isCombinedCharacter=X,tt.isRegionalFlag=it,tt.isVariationSelector=F,tt.BLACK_FLAG_CODE_POINT=J;var H={addChars:O,addFonts:L,getCharData:V,getFontByName:f,measureText:n,checkLoadedFonts:k,setIsLoaded:lt};return tt.prototype=H,tt}();function Tr(P){this.animationData=P;}Tr.prototype.getProp=function(P){return this.animationData.slots&&this.animationData.slots[P.sid]?Object.assign(P,this.animationData.slots[P.sid].p):P};function vr(P){return new Tr(P)}function nr(){}nr.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[];},addRenderableComponent:function(P){this.renderableComponents.indexOf(P)===-1&&this.renderableComponents.push(P);},removeRenderableComponent:function(P){this.renderableComponents.indexOf(P)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(P),1);},prepareRenderableFrame:function(P){this.checkLayerLimits(P);},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(P){this.data.ip-this.data.st<=P&&this.data.op-this.data.st>P?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 P,D=this.renderableComponents.length;for(P=0;P<D;P+=1)this.renderableComponents[P].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 es=function(){var P={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(D){return P[D]||""}}();function us(P,D,B){this.p=te.getProp(D,P.v,0,0,B);}function zs(P,D,B){this.p=te.getProp(D,P.v,0,0,B);}function Oa(P,D,B){this.p=te.getProp(D,P.v,1,0,B);}function Ba(P,D,B){this.p=te.getProp(D,P.v,1,0,B);}function ua(P,D,B){this.p=te.getProp(D,P.v,0,0,B);}function za(P,D,B){this.p=te.getProp(D,P.v,0,0,B);}function Ot(P,D,B){this.p=te.getProp(D,P.v,0,0,B);}function Yt(){this.p={};}function ie(P,D){var B=P.ef||[];this.effectElements=[];var J,st=B.length,et;for(J=0;J<st;J+=1)et=new ye(B[J],D),this.effectElements.push(et);}function ye(P,D){this.init(P,D);}v([Xe],ye),ye.prototype.getValue=ye.prototype.iterateDynamicProperties,ye.prototype.init=function(P,D){this.data=P,this.effectElements=[],this.initDynamicPropertyContainer(D);var B,J=this.data.ef.length,st,et=this.data.ef;for(B=0;B<J;B+=1){switch(st=null,et[B].ty){case 0:st=new us(et[B],D,this);break;case 1:st=new zs(et[B],D,this);break;case 2:st=new Oa(et[B],D,this);break;case 3:st=new Ba(et[B],D,this);break;case 4:case 7:st=new Ot(et[B],D,this);break;case 10:st=new ua(et[B],D,this);break;case 11:st=new za(et[B],D,this);break;case 5:st=new ie(et[B],D);break;default:st=new Yt(et[B]);break}st&&this.effectElements.push(st);}};function Te(){}Te.prototype={checkMasks:function(){if(!this.data.hasMask)return !1;for(var P=0,D=this.data.masksProperties.length;P<D;){if(this.data.masksProperties[P].mode!=="n"&&this.data.masksProperties[P].cl!==!1)return !0;P+=1;}return !1},initExpressions:function(){},setBlendMode:function(){var P=es(this.data.bm),D=this.baseElement||this.layerElement;D.style["mix-blend-mode"]=P;},initBaseData:function(P,D,B){this.globalData=D,this.comp=B,this.data=P,this.layerId=E(),this.data.sr||(this.data.sr=1),this.effectsManager=new ie(this.data,this,this.dynamicProperties);},getType:function(){return this.type},sourceRectAtTime:function(){}};function Fe(){}Fe.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1;},prepareProperties:function(P,D){var B,J=this.dynamicProperties.length;for(B=0;B<J;B+=1)(D||this._isParent&&this.dynamicProperties[B].propType==="transform")&&(this.dynamicProperties[B].getValue(),this.dynamicProperties[B]._mdf&&(this.globalData._mdf=!0,this._mdf=!0));},addDynamicProperty:function(P){this.dynamicProperties.indexOf(P)===-1&&this.dynamicProperties.push(P);}};function De(P,D,B){this.initFrame(),this.initRenderable(),this.assetData=D.getAssetData(P.refId),this.footageData=D.imageLoader.getAsset(this.assetData),this.initBaseData(P,D,B);}De.prototype.prepareFrame=function(){},v([nr,Te,Fe],De),De.prototype.getBaseElement=function(){return null},De.prototype.renderFrame=function(){},De.prototype.destroy=function(){},De.prototype.initExpressions=function(){},De.prototype.getFootageData=function(){return this.footageData};function ve(P,D,B){this.initFrame(),this.initRenderable(),this.assetData=D.getAssetData(P.refId),this.initBaseData(P,D,B),this._isPlaying=!1,this._canPlay=!1;var J=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(J),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=P.tm?te.getProp(this,P.tm,0,D.frameRate,this):{_placeholder:!0},this.lv=te.getProp(this,P.au&&P.au.lv?P.au.lv:{k:[100]},1,.01,this);}ve.prototype.prepareFrame=function(P){if(this.prepareRenderableFrame(P,!0),this.prepareProperties(P,!0),this.tm._placeholder)this._currentTime=P/this.data.sr;else {var D=this.tm.v;this._currentTime=D;}this._volume=this.lv.v[0];var B=this._volume*this._volumeMultiplier;this._previousVolume!==B&&(this._previousVolume=B,this.audio.volume(B));},v([nr,Te,Fe],ve),ve.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));},ve.prototype.show=function(){},ve.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1;},ve.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1;},ve.prototype.resume=function(){this._canPlay=!0;},ve.prototype.setRate=function(P){this.audio.rate(P);},ve.prototype.volume=function(P){this._volumeMultiplier=P,this._previousVolume=P*this._volume,this.audio.volume(this._previousVolume);},ve.prototype.getBaseElement=function(){return null},ve.prototype.destroy=function(){},ve.prototype.sourceRectAtTime=function(){},ve.prototype.initExpressions=function(){};function Ae(){}Ae.prototype.checkLayers=function(P){var D,B=this.layers.length,J;for(this.completeLayers=!0,D=B-1;D>=0;D-=1)this.elements[D]||(J=this.layers[D],J.ip-J.st<=P-this.layers[D].st&&J.op-J.st>P-this.layers[D].st&&this.buildItem(D)),this.completeLayers=this.elements[D]?this.completeLayers:!1;this.checkPendingElements();},Ae.prototype.createItem=function(P){switch(P.ty){case 2:return this.createImage(P);case 0:return this.createComp(P);case 1:return this.createSolid(P);case 3:return this.createNull(P);case 4:return this.createShape(P);case 5:return this.createText(P);case 6:return this.createAudio(P);case 13:return this.createCamera(P);case 15:return this.createFootage(P);default:return this.createNull(P)}},Ae.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Ae.prototype.createAudio=function(P){return new ve(P,this.globalData,this)},Ae.prototype.createFootage=function(P){return new De(P,this.globalData,this)},Ae.prototype.buildAllItems=function(){var P,D=this.layers.length;for(P=0;P<D;P+=1)this.buildItem(P);this.checkPendingElements();},Ae.prototype.includeLayers=function(P){this.completeLayers=!1;var D,B=P.length,J,st=this.layers.length;for(D=0;D<B;D+=1)for(J=0;J<st;){if(this.layers[J].id===P[D].id){this.layers[J]=P[D];break}J+=1;}},Ae.prototype.setProjectInterface=function(P){this.globalData.projectInterface=P;},Ae.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems();},Ae.prototype.buildElementParenting=function(P,D,B){for(var J=this.elements,st=this.layers,et=0,gt=st.length;et<gt;)st[et].ind==D&&(!J[et]||J[et]===!0?(this.buildItem(et),this.addPendingElement(P)):(B.push(J[et]),J[et].setAsParent(),st[et].parent!==void 0?this.buildElementParenting(P,st[et].parent,B):P.setHierarchy(B))),et+=1;},Ae.prototype.addPendingElement=function(P){this.pendingElements.push(P);},Ae.prototype.searchExtraCompositions=function(P){var D,B=P.length;for(D=0;D<B;D+=1)if(P[D].xt){var J=this.createComp(P[D]);J.initExpressions(),this.globalData.projectInterface.registerComposition(J);}},Ae.prototype.getElementById=function(P){var D,B=this.elements.length;for(D=0;D<B;D+=1)if(this.elements[D].data.ind===P)return this.elements[D];return null},Ae.prototype.getElementByPath=function(P){var D=P.shift(),B;if(typeof D=="number")B=this.elements[D];else {var J,st=this.elements.length;for(J=0;J<st;J+=1)if(this.elements[J].data.nm===D){B=this.elements[J];break}}return P.length===0?B:B.getElementByPath(P)},Ae.prototype.setupGlobalData=function(P,D){this.globalData.fontManager=new Li,this.globalData.slotManager=vr(P),this.globalData.fontManager.addChars(P.chars),this.globalData.fontManager.addFonts(P.fonts,D),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=P.fr,this.globalData.nm=P.nm,this.globalData.compSize={w:P.w,h:P.h};};var oi={TRANSFORM_EFFECT:"transformEFfect"};function Be(){}Be.prototype={initTransform:function(){var P=new Ge;this.finalTransform={mProp:this.data.ks?Gi.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:P,localMat:P,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 P,D=this.finalTransform.mat,B=0,J=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;B<J;){if(this.hierarchy[B].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}B+=1;}if(this.finalTransform._matMdf)for(P=this.finalTransform.mProp.v.props,D.cloneFromProps(P),B=0;B<J;B+=1)D.multiply(this.hierarchy[B].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 P=0,D=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;P<D;)this.localTransforms[P]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[P]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),P+=1;if(this.finalTransform._localMatMdf){var B=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(B),P=1;P<D;P+=1){var J=this.localTransforms[P].matrix;B.multiply(J);}B.multiply(this.finalTransform.mat);}if(this.finalTransform._opMdf){var st=this.finalTransform.localOpacity;for(P=0;P<D;P+=1)st*=this.localTransforms[P].opacity*.01;this.finalTransform.localOpacity=st;}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var P=this.renderableEffectsManager.getEffects(oi.TRANSFORM_EFFECT);if(P.length){this.localTransforms=[],this.finalTransform.localMat=new Ge;var D=0,B=P.length;for(D=0;D<B;D+=1)this.localTransforms.push(P[D]);}}},globalToLocal:function(P){var D=[];D.push(this.finalTransform);for(var B=!0,J=this.comp;B;)J.finalTransform?(J.data.hasMask&&D.splice(0,0,J.finalTransform),J=J.comp):B=!1;var st,et=D.length,gt;for(st=0;st<et;st+=1)gt=D[st].mat.applyToPointArray(0,0,0),P=[P[0]-gt[0],P[1]-gt[1],0];return P},mHelper:new Ge};function Vi(P,D,B){this.data=P,this.element=D,this.globalData=B,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var J=this.globalData.defs,st,et=this.masksProperties?this.masksProperties.length:0;this.viewData=g(et),this.solidPath="";var gt,Mt=this.masksProperties,yt=0,Bt=[],Vt,Ht,kt=E(),l,k,C,L,O="clipPath",V="clip-path";for(st=0;st<et;st+=1)if((Mt[st].mode!=="a"&&Mt[st].mode!=="n"||Mt[st].inv||Mt[st].o.k!==100||Mt[st].o.x)&&(O="mask",V="mask"),(Mt[st].mode==="s"||Mt[st].mode==="i")&&yt===0?(l=Jt("rect"),l.setAttribute("fill","#ffffff"),l.setAttribute("width",this.element.comp.data.w||0),l.setAttribute("height",this.element.comp.data.h||0),Bt.push(l)):l=null,gt=Jt("path"),Mt[st].mode==="n")this.viewData[st]={op:te.getProp(this.element,Mt[st].o,0,.01,this.element),prop:gr.getShapeProp(this.element,Mt[st],3),elem:gt,lastPath:""},J.appendChild(gt);else {yt+=1,gt.setAttribute("fill",Mt[st].mode==="s"?"#000000":"#ffffff"),gt.setAttribute("clip-rule","nonzero");var n;if(Mt[st].x.k!==0?(O="mask",V="mask",L=te.getProp(this.element,Mt[st].x,0,null,this.element),n=E(),k=Jt("filter"),k.setAttribute("id",n),C=Jt("feMorphology"),C.setAttribute("operator","erode"),C.setAttribute("in","SourceGraphic"),C.setAttribute("radius","0"),k.appendChild(C),J.appendChild(k),gt.setAttribute("stroke",Mt[st].mode==="s"?"#000000":"#ffffff")):(C=null,L=null),this.storedData[st]={elem:gt,x:L,expan:C,lastPath:"",lastOperator:"",filterId:n,lastRadius:0},Mt[st].mode==="i"){Ht=Bt.length;var f=Jt("g");for(Vt=0;Vt<Ht;Vt+=1)f.appendChild(Bt[Vt]);var b=Jt("mask");b.setAttribute("mask-type","alpha"),b.setAttribute("id",kt+"_"+yt),b.appendChild(gt),J.appendChild(b),f.setAttribute("mask","url("+c()+"#"+kt+"_"+yt+")"),Bt.length=0,Bt.push(f);}else Bt.push(gt);Mt[st].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[st]={elem:gt,lastPath:"",op:te.getProp(this.element,Mt[st].o,0,.01,this.element),prop:gr.getShapeProp(this.element,Mt[st],3),invRect:l},this.viewData[st].prop.k||this.drawPath(Mt[st],this.viewData[st].prop.v,this.viewData[st]);}for(this.maskElement=Jt(O),et=Bt.length,st=0;st<et;st+=1)this.maskElement.appendChild(Bt[st]);yt>0&&(this.maskElement.setAttribute("id",kt),this.element.maskedElement.setAttribute(V,"url("+c()+"#"+kt+")"),J.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this);}Vi.prototype.getMaskProperty=function(P){return this.viewData[P].prop},Vi.prototype.renderFrame=function(P){var D=this.element.finalTransform.mat,B,J=this.masksProperties.length;for(B=0;B<J;B+=1)if((this.viewData[B].prop._mdf||P)&&this.drawPath(this.masksProperties[B],this.viewData[B].prop.v,this.viewData[B]),(this.viewData[B].op._mdf||P)&&this.viewData[B].elem.setAttribute("fill-opacity",this.viewData[B].op.v),this.masksProperties[B].mode!=="n"&&(this.viewData[B].invRect&&(this.element.finalTransform.mProp._mdf||P)&&this.viewData[B].invRect.setAttribute("transform",D.getInverseMatrix().to2dCSS()),this.storedData[B].x&&(this.storedData[B].x._mdf||P))){var st=this.storedData[B].expan;this.storedData[B].x.v<0?(this.storedData[B].lastOperator!=="erode"&&(this.storedData[B].lastOperator="erode",this.storedData[B].elem.setAttribute("filter","url("+c()+"#"+this.storedData[B].filterId+")")),st.setAttribute("radius",-this.storedData[B].x.v)):(this.storedData[B].lastOperator!=="dilate"&&(this.storedData[B].lastOperator="dilate",this.storedData[B].elem.setAttribute("filter",null)),this.storedData[B].elem.setAttribute("stroke-width",this.storedData[B].x.v*2));}},Vi.prototype.getMaskelement=function(){return this.maskElement},Vi.prototype.createLayerSolidPath=function(){var P="M0,0 ";return P+=" h"+this.globalData.compSize.w,P+=" v"+this.globalData.compSize.h,P+=" h-"+this.globalData.compSize.w,P+=" v-"+this.globalData.compSize.h+" ",P},Vi.prototype.drawPath=function(P,D,B){var J=" M"+D.v[0][0]+","+D.v[0][1],st,et;for(et=D._length,st=1;st<et;st+=1)J+=" C"+D.o[st-1][0]+","+D.o[st-1][1]+" "+D.i[st][0]+","+D.i[st][1]+" "+D.v[st][0]+","+D.v[st][1];if(D.c&&et>1&&(J+=" C"+D.o[st-1][0]+","+D.o[st-1][1]+" "+D.i[0][0]+","+D.i[0][1]+" "+D.v[0][0]+","+D.v[0][1]),B.lastPath!==J){var gt="";B.elem&&(D.c&&(gt=P.inv?this.solidPath+J:J),B.elem.setAttribute("d",gt)),B.lastPath=J;}},Vi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null;};var Ei=function(){var P={};P.createFilter=D,P.createAlphaToLuminanceFilter=B;function D(J,st){var et=Jt("filter");return et.setAttribute("id",J),st!==!0&&(et.setAttribute("filterUnits","objectBoundingBox"),et.setAttribute("x","0%"),et.setAttribute("y","0%"),et.setAttribute("width","100%"),et.setAttribute("height","100%")),et}function B(){var J=Jt("feColorMatrix");return J.setAttribute("type","matrix"),J.setAttribute("color-interpolation-filters","sRGB"),J.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),J}return P}(),Yi=function(){var P={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))&&(P.maskType=!1),/firefox/i.test(navigator.userAgent)&&(P.svgLumaHidden=!1),P}(),Mr={},da="filter_result_";function Ss(P){var D,B="SourceGraphic",J=P.data.ef?P.data.ef.length:0,st=E(),et=Ei.createFilter(st,!0),gt=0;this.filters=[];var Mt;for(D=0;D<J;D+=1){Mt=null;var yt=P.data.ef[D].ty;if(Mr[yt]){var Bt=Mr[yt].effect;Mt=new Bt(et,P.effectsManager.effectElements[D],P,da+gt,B),B=da+gt,Mr[yt].countsAsEffect&&(gt+=1);}Mt&&this.filters.push(Mt);}gt&&(P.globalData.defs.appendChild(et),P.layerElement.setAttribute("filter","url("+c()+"#"+st+")")),this.filters.length&&P.addRenderableComponent(this);}Ss.prototype.renderFrame=function(P){var D,B=this.filters.length;for(D=0;D<B;D+=1)this.filters[D].renderFrame(P);},Ss.prototype.getEffects=function(P){var D,B=this.filters.length,J=[];for(D=0;D<B;D+=1)this.filters[D].type===P&&J.push(this.filters[D]);return J};function Jr(){}Jr.prototype={initRendererElement:function(){this.layerElement=Jt("g");},createContainerElements:function(){this.matteElement=Jt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var P=null;if(this.data.td){this.matteMasks={};var D=Jt("g");D.setAttribute("id",this.layerId),D.appendChild(this.layerElement),P=D,this.globalData.defs.appendChild(D);}else this.data.tt?(this.matteElement.appendChild(this.layerElement),P=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 B=Jt("clipPath"),J=Jt("path");J.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var st=E();if(B.setAttribute("id",st),B.appendChild(J),this.globalData.defs.appendChild(B),this.checkMasks()){var et=Jt("g");et.setAttribute("clip-path","url("+c()+"#"+st+")"),et.appendChild(this.layerElement),this.transformedElement=et,P?P.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+c()+"#"+st+")");}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 Vi(this.data,this,this.globalData),this.renderableEffectsManager=new Ss(this),this.searchEffectTransforms();},getMatte:function(P){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[P]){var D=this.layerId+"_"+P,B,J,st,et;if(P===1||P===3){var gt=Jt("mask");gt.setAttribute("id",D),gt.setAttribute("mask-type",P===3?"luminance":"alpha"),st=Jt("use"),st.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),gt.appendChild(st),this.globalData.defs.appendChild(gt),!Yi.maskType&&P===1&&(gt.setAttribute("mask-type","luminance"),B=E(),J=Ei.createFilter(B),this.globalData.defs.appendChild(J),J.appendChild(Ei.createAlphaToLuminanceFilter()),et=Jt("g"),et.appendChild(st),gt.appendChild(et),et.setAttribute("filter","url("+c()+"#"+B+")"));}else if(P===2){var Mt=Jt("mask");Mt.setAttribute("id",D),Mt.setAttribute("mask-type","alpha");var yt=Jt("g");Mt.appendChild(yt),B=E(),J=Ei.createFilter(B);var Bt=Jt("feComponentTransfer");Bt.setAttribute("in","SourceGraphic"),J.appendChild(Bt);var Vt=Jt("feFuncA");Vt.setAttribute("type","table"),Vt.setAttribute("tableValues","1.0 0.0"),Bt.appendChild(Vt),this.globalData.defs.appendChild(J);var Ht=Jt("rect");Ht.setAttribute("width",this.comp.data.w),Ht.setAttribute("height",this.comp.data.h),Ht.setAttribute("x","0"),Ht.setAttribute("y","0"),Ht.setAttribute("fill","#ffffff"),Ht.setAttribute("opacity","0"),yt.setAttribute("filter","url("+c()+"#"+B+")"),yt.appendChild(Ht),st=Jt("use"),st.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),yt.appendChild(st),Yi.maskType||(Mt.setAttribute("mask-type","luminance"),J.appendChild(Ei.createAlphaToLuminanceFilter()),et=Jt("g"),yt.appendChild(Ht),et.appendChild(this.layerElement),yt.appendChild(et)),this.globalData.defs.appendChild(Mt);}this.matteMasks[P]=D;}return this.matteMasks[P]},setMatte:function(P){this.matteElement&&this.matteElement.setAttribute("mask","url("+c()+"#"+P+")");}};function Ui(){}Ui.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting();},setHierarchy:function(P){this.hierarchy=P;},setAsParent:function(){this._isParent=!0;},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[]);}};function er(){}(function(){var P={initElement:function(D,B,J){this.initFrame(),this.initBaseData(D,B,J),this.initTransform(D,B,J),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide();},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var D=this.baseElement||this.layerElement;D.style.display="none",this.hidden=!0;}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var D=this.baseElement||this.layerElement;D.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(D){this._mdf=!1,this.prepareRenderableFrame(D),this.prepareProperties(D,this.isInRange),this.checkTransparency();},destroy:function(){this.innerElem=null,this.destroyBaseElement();}};v([nr,u(P)],er);})();function Ai(P,D,B){this.assetData=D.getAssetData(P.refId),this.assetData&&this.assetData.sid&&(this.assetData=D.slotManager.getProp(this.assetData)),this.initElement(P,D,B),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h};}v([Te,Be,Jr,Ui,Fe,er],Ai),Ai.prototype.createContent=function(){var P=this.globalData.getAssetsPath(this.assetData);this.innerElem=Jt("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",P),this.layerElement.appendChild(this.innerElem);},Ai.prototype.sourceRectAtTime=function(){return this.sourceRect};function ks(P,D){this.elem=P,this.pos=D;}function is(){}is.prototype={addShapeToModifiers:function(P){var D,B=this.shapeModifiers.length;for(D=0;D<B;D+=1)this.shapeModifiers[D].addShape(P);},isShapeInAnimatedModifiers:function(P){for(var D=0,B=this.shapeModifiers.length;D<B;)if(this.shapeModifiers[D].isAnimatedWithShape(P))return !0;return !1},renderModifiers:function(){if(this.shapeModifiers.length){var P,D=this.shapes.length;for(P=0;P<D;P+=1)this.shapes[P].sh.reset();D=this.shapeModifiers.length;var B;for(P=D-1;P>=0&&(B=this.shapeModifiers[P].processShapes(this._isFirstFrame),!B);P-=1);}},searchProcessedElement:function(P){for(var D=this.processedElements,B=0,J=D.length;B<J;){if(D[B].elem===P)return D[B].pos;B+=1;}return 0},addProcessedElement:function(P,D){for(var B=this.processedElements,J=B.length;J;)if(J-=1,B[J].elem===P){B[J].pos=D;return}B.push(new ks(P,D));},prepareFrame:function(P){this.prepareRenderableFrame(P),this.prepareProperties(P,this.isInRange);}};var ma={1:"butt",2:"round",3:"square"},Ks={1:"miter",2:"round",3:"bevel"};function Ns(P,D,B){this.caches=[],this.styles=[],this.transformers=P,this.lStr="",this.sh=B,this.lvl=D,this._isAnimated=!!B.k;for(var J=0,st=P.length;J<st;){if(P[J].mProps.dynamicProperties.length){this._isAnimated=!0;break}J+=1;}}Ns.prototype.setAsAnimated=function(){this._isAnimated=!0;};function Qs(P,D){this.data=P,this.type=P.ty,this.d="",this.lvl=D,this._mdf=!1,this.closed=P.hd===!0,this.pElem=Jt("path"),this.msElem=null;}Qs.prototype.reset=function(){this.d="",this._mdf=!1;};function rs(P,D,B,J){this.elem=P,this.frameId=-1,this.dataProps=g(D.length),this.renderer=B,this.k=!1,this.dashStr="",this.dashArray=d("float32",D.length?D.length-1:0),this.dashoffset=d("float32",1),this.initDynamicPropertyContainer(J);var st,et=D.length||0,gt;for(st=0;st<et;st+=1)gt=te.getProp(P,D[st].v,0,0,this),this.k=gt.k||this.k,this.dataProps[st]={n:D[st].n,p:gt};this.k||this.getValue(!0),this._isAnimated=this.k;}rs.prototype.getValue=function(P){if(!(this.elem.globalData.frameId===this.frameId&&!P)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||P,this._mdf)){var D=0,B=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),D=0;D<B;D+=1)this.dataProps[D].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[D].p.v:this.dashArray[D]=this.dataProps[D].p.v:this.dashoffset[0]=this.dataProps[D].p.v;}},v([Xe],rs);function ga(P,D,B){this.initDynamicPropertyContainer(P),this.getValue=this.iterateDynamicProperties,this.o=te.getProp(P,D.o,0,.01,this),this.w=te.getProp(P,D.w,0,null,this),this.d=new rs(P,D.d||{},"svg",this),this.c=te.getProp(P,D.c,1,255,this),this.style=B,this._isAnimated=!!this._isAnimated;}v([Xe],ga);function Gs(P,D,B){this.initDynamicPropertyContainer(P),this.getValue=this.iterateDynamicProperties,this.o=te.getProp(P,D.o,0,.01,this),this.c=te.getProp(P,D.c,1,255,this),this.style=B;}v([Xe],Gs);function ya(P,D,B){this.initDynamicPropertyContainer(P),this.getValue=this.iterateDynamicProperties,this.style=B;}v([Xe],ya);function Br(P,D,B){this.data=D,this.c=d("uint8c",D.p*4);var J=D.k.k[0].s?D.k.k[0].s.length-D.p*4:D.k.k.length-D.p*4;this.o=d("float32",J),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=J,this.initDynamicPropertyContainer(B),this.prop=te.getProp(P,D.k,1,null,this),this.k=this.prop.k,this.getValue(!0);}Br.prototype.comparePoints=function(P,D){for(var B=0,J=this.o.length/2,st;B<J;){if(st=Math.abs(P[B*4]-P[D*4+B*2]),st>.01)return !1;B+=1;}return !0},Br.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return !1;if(this.data.k.k[0].s)for(var P=0,D=this.data.k.k.length;P<D;){if(!this.comparePoints(this.data.k.k[P].s,this.data.p))return !1;P+=1;}else if(!this.comparePoints(this.data.k.k,this.data.p))return !1;return !0},Br.prototype.getValue=function(P){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||P){var D,B=this.data.p*4,J,st;for(D=0;D<B;D+=1)J=D%4===0?100:255,st=Math.round(this.prop.v[D]*J),this.c[D]!==st&&(this.c[D]=st,this._cmdf=!P);if(this.o.length)for(B=this.prop.v.length,D=this.data.p*4;D<B;D+=1)J=D%2===0?100:1,st=D%2===0?Math.round(this.prop.v[D]*100):this.prop.v[D],this.o[D-this.data.p*4]!==st&&(this.o[D-this.data.p*4]=st,this._omdf=!P);this._mdf=!P;}},v([Xe],Br);function Dr(P,D,B){this.initDynamicPropertyContainer(P),this.getValue=this.iterateDynamicProperties,this.initGradientData(P,D,B);}Dr.prototype.initGradientData=function(P,D,B){this.o=te.getProp(P,D.o,0,.01,this),this.s=te.getProp(P,D.s,1,null,this),this.e=te.getProp(P,D.e,1,null,this),this.h=te.getProp(P,D.h||{k:0},0,.01,this),this.a=te.getProp(P,D.a||{k:0},0,dt,this),this.g=new Br(P,D.g,this),this.style=B,this.stops=[],this.setGradientData(B.pElem,D),this.setGradientOpacity(D,B),this._isAnimated=!!this._isAnimated;},Dr.prototype.setGradientData=function(P,D){var B=E(),J=Jt(D.t===1?"linearGradient":"radialGradient");J.setAttribute("id",B),J.setAttribute("spreadMethod","pad"),J.setAttribute("gradientUnits","userSpaceOnUse");var st=[],et,gt,Mt;for(Mt=D.g.p*4,gt=0;gt<Mt;gt+=4)et=Jt("stop"),J.appendChild(et),st.push(et);P.setAttribute(D.ty==="gf"?"fill":"stroke","url("+c()+"#"+B+")"),this.gf=J,this.cst=st;},Dr.prototype.setGradientOpacity=function(P,D){if(this.g._hasOpacity&&!this.g._collapsable){var B,J,st,et=Jt("mask"),gt=Jt("path");et.appendChild(gt);var Mt=E(),yt=E();et.setAttribute("id",yt);var Bt=Jt(P.t===1?"linearGradient":"radialGradient");Bt.setAttribute("id",Mt),Bt.setAttribute("spreadMethod","pad"),Bt.setAttribute("gradientUnits","userSpaceOnUse"),st=P.g.k.k[0].s?P.g.k.k[0].s.length:P.g.k.k.length;var Vt=this.stops;for(J=P.g.p*4;J<st;J+=2)B=Jt("stop"),B.setAttribute("stop-color","rgb(255,255,255)"),Bt.appendChild(B),Vt.push(B);gt.setAttribute(P.ty==="gf"?"fill":"stroke","url("+c()+"#"+Mt+")"),P.ty==="gs"&&(gt.setAttribute("stroke-linecap",ma[P.lc||2]),gt.setAttribute("stroke-linejoin",Ks[P.lj||2]),P.lj===1&&gt.setAttribute("stroke-miterlimit",P.ml)),this.of=Bt,this.ms=et,this.ost=Vt,this.maskId=yt,D.msElem=gt;}},v([Xe],Dr);function ws(P,D,B){this.initDynamicPropertyContainer(P),this.getValue=this.iterateDynamicProperties,this.w=te.getProp(P,D.w,0,null,this),this.d=new rs(P,D.d||{},"svg",this),this.initGradientData(P,D,B),this._isAnimated=!!this._isAnimated;}v([Dr,Xe],ws);function js(){this.it=[],this.prevViewData=[],this.gr=Jt("g");}function tn(P,D,B){this.transform={mProps:P,op:D,container:B},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length;}var Na=function(P,D,B,J){if(D===0)return "";var st=P.o,et=P.i,gt=P.v,Mt,yt=" M"+J.applyToPointStringified(gt[0][0],gt[0][1]);for(Mt=1;Mt<D;Mt+=1)yt+=" C"+J.applyToPointStringified(st[Mt-1][0],st[Mt-1][1])+" "+J.applyToPointStringified(et[Mt][0],et[Mt][1])+" "+J.applyToPointStringified(gt[Mt][0],gt[Mt][1]);return B&&D&&(yt+=" C"+J.applyToPointStringified(st[Mt-1][0],st[Mt-1][1])+" "+J.applyToPointStringified(et[0][0],et[0][1])+" "+J.applyToPointStringified(gt[0][0],gt[0][1]),yt+="z"),yt},_n=function(){var P=new Ge,D=new Ge,B={createRenderFunction:J};function J(Ht){switch(Ht.ty){case"fl":return Mt;case"gf":return Bt;case"gs":return yt;case"st":return Vt;case"sh":case"el":case"rc":case"sr":return gt;case"tr":return st;case"no":return et;default:return null}}function st(Ht,kt,l){(l||kt.transform.op._mdf)&&kt.transform.container.setAttribute("opacity",kt.transform.op.v),(l||kt.transform.mProps._mdf)&&kt.transform.container.setAttribute("transform",kt.transform.mProps.v.to2dCSS());}function et(){}function gt(Ht,kt,l){var k,C,L,O,V,n,f=kt.styles.length,b=kt.lvl,T,I,F,G;for(n=0;n<f;n+=1){if(O=kt.sh._mdf||l,kt.styles[n].lvl<b){for(I=D.reset(),F=b-kt.styles[n].lvl,G=kt.transformers.length-1;!O&&F>0;)O=kt.transformers[G].mProps._mdf||O,F-=1,G-=1;if(O)for(F=b-kt.styles[n].lvl,G=kt.transformers.length-1;F>0;)I.multiply(kt.transformers[G].mProps.v),F-=1,G-=1;}else I=P;if(T=kt.sh.paths,C=T._length,O){for(L="",k=0;k<C;k+=1)V=T.shapes[k],V&&V._length&&(L+=Na(V,V._length,V.c,I));kt.caches[n]=L;}else L=kt.caches[n];kt.styles[n].d+=Ht.hd===!0?"":L,kt.styles[n]._mdf=O||kt.styles[n]._mdf;}}function Mt(Ht,kt,l){var k=kt.style;(kt.c._mdf||l)&&k.pElem.setAttribute("fill","rgb("+N(kt.c.v[0])+","+N(kt.c.v[1])+","+N(kt.c.v[2])+")"),(kt.o._mdf||l)&&k.pElem.setAttribute("fill-opacity",kt.o.v);}function yt(Ht,kt,l){Bt(Ht,kt,l),Vt(Ht,kt,l);}function Bt(Ht,kt,l){var k=kt.gf,C=kt.g._hasOpacity,L=kt.s.v,O=kt.e.v;if(kt.o._mdf||l){var V=Ht.ty==="gf"?"fill-opacity":"stroke-opacity";kt.style.pElem.setAttribute(V,kt.o.v);}if(kt.s._mdf||l){var n=Ht.t===1?"x1":"cx",f=n==="x1"?"y1":"cy";k.setAttribute(n,L[0]),k.setAttribute(f,L[1]),C&&!kt.g._collapsable&&(kt.of.setAttribute(n,L[0]),kt.of.setAttribute(f,L[1]));}var b,T,I,F;if(kt.g._cmdf||l){b=kt.cst;var G=kt.g.c;for(I=b.length,T=0;T<I;T+=1)F=b[T],F.setAttribute("offset",G[T*4]+"%"),F.setAttribute("stop-color","rgb("+G[T*4+1]+","+G[T*4+2]+","+G[T*4+3]+")");}if(C&&(kt.g._omdf||l)){var K=kt.g.o;for(kt.g._collapsable?b=kt.cst:b=kt.ost,I=b.length,T=0;T<I;T+=1)F=b[T],kt.g._collapsable||F.setAttribute("offset",K[T*2]+"%"),F.setAttribute("stop-opacity",K[T*2+1]);}if(Ht.t===1)(kt.e._mdf||l)&&(k.setAttribute("x2",O[0]),k.setAttribute("y2",O[1]),C&&!kt.g._collapsable&&(kt.of.setAttribute("x2",O[0]),kt.of.setAttribute("y2",O[1])));else {var X;if((kt.s._mdf||kt.e._mdf||l)&&(X=Math.sqrt(Math.pow(L[0]-O[0],2)+Math.pow(L[1]-O[1],2)),k.setAttribute("r",X),C&&!kt.g._collapsable&&kt.of.setAttribute("r",X)),kt.e._mdf||kt.h._mdf||kt.a._mdf||l){X||(X=Math.sqrt(Math.pow(L[0]-O[0],2)+Math.pow(L[1]-O[1],2)));var it=Math.atan2(O[1]-L[1],O[0]-L[0]),lt=kt.h.v;lt>=1?lt=.99:lt<=-1&&(lt=-.99);var tt=X*lt,H=Math.cos(it+kt.a.v)*tt+L[0],j=Math.sin(it+kt.a.v)*tt+L[1];k.setAttribute("fx",H),k.setAttribute("fy",j),C&&!kt.g._collapsable&&(kt.of.setAttribute("fx",H),kt.of.setAttribute("fy",j));}}}function Vt(Ht,kt,l){var k=kt.style,C=kt.d;C&&(C._mdf||l)&&C.dashStr&&(k.pElem.setAttribute("stroke-dasharray",C.dashStr),k.pElem.setAttribute("stroke-dashoffset",C.dashoffset[0])),kt.c&&(kt.c._mdf||l)&&k.pElem.setAttribute("stroke","rgb("+N(kt.c.v[0])+","+N(kt.c.v[1])+","+N(kt.c.v[2])+")"),(kt.o._mdf||l)&&k.pElem.setAttribute("stroke-opacity",kt.o.v),(kt.w._mdf||l)&&(k.pElem.setAttribute("stroke-width",kt.w.v),k.msElem&&k.msElem.setAttribute("stroke-width",kt.w.v));}return B}();function je(P,D,B){this.shapes=[],this.shapesData=P.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(P,D,B),this.prevViewData=[];}v([Te,Be,Jr,is,Ui,Fe,er],je),je.prototype.initSecondaryElement=function(){},je.prototype.identityMatrix=new Ge,je.prototype.buildExpressionInterface=function(){},je.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes();},je.prototype.filterUniqueShapes=function(){var P,D=this.shapes.length,B,J,st=this.stylesList.length,et,gt=[],Mt=!1;for(J=0;J<st;J+=1){for(et=this.stylesList[J],Mt=!1,gt.length=0,P=0;P<D;P+=1)B=this.shapes[P],B.styles.indexOf(et)!==-1&&(gt.push(B),Mt=B._isAnimated||Mt);gt.length>1&&Mt&&this.setShapesAsAnimated(gt);}},je.prototype.setShapesAsAnimated=function(P){var D,B=P.length;for(D=0;D<B;D+=1)P[D].setAsAnimated();},je.prototype.createStyleElement=function(P,D){var B,J=new Qs(P,D),st=J.pElem;if(P.ty==="st")B=new ga(this,P,J);else if(P.ty==="fl")B=new Gs(this,P,J);else if(P.ty==="gf"||P.ty==="gs"){var et=P.ty==="gf"?Dr:ws;B=new et(this,P,J),this.globalData.defs.appendChild(B.gf),B.maskId&&(this.globalData.defs.appendChild(B.ms),this.globalData.defs.appendChild(B.of),st.setAttribute("mask","url("+c()+"#"+B.maskId+")"));}else P.ty==="no"&&(B=new ya(this,P,J));return (P.ty==="st"||P.ty==="gs")&&(st.setAttribute("stroke-linecap",ma[P.lc||2]),st.setAttribute("stroke-linejoin",Ks[P.lj||2]),st.setAttribute("fill-opacity","0"),P.lj===1&&st.setAttribute("stroke-miterlimit",P.ml)),P.r===2&&st.setAttribute("fill-rule","evenodd"),P.ln&&st.setAttribute("id",P.ln),P.cl&&st.setAttribute("class",P.cl),P.bm&&(st.style["mix-blend-mode"]=es(P.bm)),this.stylesList.push(J),this.addToAnimatedContents(P,B),B},je.prototype.createGroupElement=function(P){var D=new js;return P.ln&&D.gr.setAttribute("id",P.ln),P.cl&&D.gr.setAttribute("class",P.cl),P.bm&&(D.gr.style["mix-blend-mode"]=es(P.bm)),D},je.prototype.createTransformElement=function(P,D){var B=Gi.getTransformProperty(this,P,this),J=new tn(B,B.o,D);return this.addToAnimatedContents(P,J),J},je.prototype.createShapeElement=function(P,D,B){var J=4;P.ty==="rc"?J=5:P.ty==="el"?J=6:P.ty==="sr"&&(J=7);var st=gr.getShapeProp(this,P,J,this),et=new Ns(D,B,st);return this.shapes.push(et),this.addShapeToModifiers(et),this.addToAnimatedContents(P,et),et},je.prototype.addToAnimatedContents=function(P,D){for(var B=0,J=this.animatedContents.length;B<J;){if(this.animatedContents[B].element===D)return;B+=1;}this.animatedContents.push({fn:_n.createRenderFunction(P),element:D,data:P});},je.prototype.setElementStyles=function(P){var D=P.styles,B,J=this.stylesList.length;for(B=0;B<J;B+=1)this.stylesList[B].closed||D.push(this.stylesList[B]);},je.prototype.reloadShapes=function(){this._isFirstFrame=!0;var P,D=this.itemsData.length;for(P=0;P<D;P+=1)this.prevViewData[P]=this.itemsData[P];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),D=this.dynamicProperties.length,P=0;P<D;P+=1)this.dynamicProperties[P].getValue();this.renderModifiers();},je.prototype.searchShapes=function(P,D,B,J,st,et,gt){var Mt=[].concat(et),yt,Bt=P.length-1,Vt,Ht,kt=[],l=[],k,C,L;for(yt=Bt;yt>=0;yt-=1){if(L=this.searchProcessedElement(P[yt]),L?D[yt]=B[L-1]:P[yt]._render=gt,P[yt].ty==="fl"||P[yt].ty==="st"||P[yt].ty==="gf"||P[yt].ty==="gs"||P[yt].ty==="no")L?D[yt].style.closed=!1:D[yt]=this.createStyleElement(P[yt],st),P[yt]._render&&D[yt].style.pElem.parentNode!==J&&J.appendChild(D[yt].style.pElem),kt.push(D[yt].style);else if(P[yt].ty==="gr"){if(!L)D[yt]=this.createGroupElement(P[yt]);else for(Ht=D[yt].it.length,Vt=0;Vt<Ht;Vt+=1)D[yt].prevViewData[Vt]=D[yt].it[Vt];this.searchShapes(P[yt].it,D[yt].it,D[yt].prevViewData,D[yt].gr,st+1,Mt,gt),P[yt]._render&&D[yt].gr.parentNode!==J&&J.appendChild(D[yt].gr);}else P[yt].ty==="tr"?(L||(D[yt]=this.createTransformElement(P[yt],J)),k=D[yt].transform,Mt.push(k)):P[yt].ty==="sh"||P[yt].ty==="rc"||P[yt].ty==="el"||P[yt].ty==="sr"?(L||(D[yt]=this.createShapeElement(P[yt],Mt,st)),this.setElementStyles(D[yt])):P[yt].ty==="tm"||P[yt].ty==="rd"||P[yt].ty==="ms"||P[yt].ty==="pb"||P[yt].ty==="zz"||P[yt].ty==="op"?(L?(C=D[yt],C.closed=!1):(C=Ii.getModifier(P[yt].ty),C.init(this,P[yt]),D[yt]=C,this.shapeModifiers.push(C)),l.push(C)):P[yt].ty==="rp"&&(L?(C=D[yt],C.closed=!0):(C=Ii.getModifier(P[yt].ty),D[yt]=C,C.init(this,P,yt,D),this.shapeModifiers.push(C),gt=!1),l.push(C));this.addProcessedElement(P[yt],yt+1);}for(Bt=kt.length,yt=0;yt<Bt;yt+=1)kt[yt].closed=!0;for(Bt=l.length,yt=0;yt<Bt;yt+=1)l[yt].closed=!0;},je.prototype.renderInnerContent=function(){this.renderModifiers();var P,D=this.stylesList.length;for(P=0;P<D;P+=1)this.stylesList[P].reset();for(this.renderShape(),P=0;P<D;P+=1)(this.stylesList[P]._mdf||this._isFirstFrame)&&(this.stylesList[P].msElem&&(this.stylesList[P].msElem.setAttribute("d",this.stylesList[P].d),this.stylesList[P].d="M0 0"+this.stylesList[P].d),this.stylesList[P].pElem.setAttribute("d",this.stylesList[P].d||"M0 0"));},je.prototype.renderShape=function(){var P,D=this.animatedContents.length,B;for(P=0;P<D;P+=1)B=this.animatedContents[P],(this._isFirstFrame||B.element._isAnimated)&&B.data!==!0&&B.fn(B.data,B.element,this._isFirstFrame);},je.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null;};function ta(P,D,B,J,st,et){this.o=P,this.sw=D,this.sc=B,this.fc=J,this.m=st,this.p=et,this._mdf={o:!0,sw:!!D,sc:!!B,fc:!!J,m:!0,p:!0};}ta.prototype.update=function(P,D,B,J,st,et){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 gt=!1;return this.o!==P&&(this.o=P,this._mdf.o=!0,gt=!0),this.sw!==D&&(this.sw=D,this._mdf.sw=!0,gt=!0),this.sc!==B&&(this.sc=B,this._mdf.sc=!0,gt=!0),this.fc!==J&&(this.fc=J,this._mdf.fc=!0,gt=!0),this.m!==st&&(this.m=st,this._mdf.m=!0,gt=!0),et.length&&(this.p[0]!==et[0]||this.p[1]!==et[1]||this.p[4]!==et[4]||this.p[5]!==et[5]||this.p[12]!==et[12]||this.p[13]!==et[13])&&(this.p=et,this._mdf.p=!0,gt=!0),gt};function Ie(P,D){this._frameId=a,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,D.d&&D.d.sid&&(D.d=P.globalData.slotManager.getProp(D.d)),this.data=D,this.elem=P,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);}Ie.prototype.defaultBoxWidth=[0,0],Ie.prototype.copyData=function(P,D){for(var B in D)Object.prototype.hasOwnProperty.call(D,B)&&(P[B]=D[B]);return P},Ie.prototype.setCurrentData=function(P){P.__complete||this.completeTextData(P),this.currentData=P,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0;},Ie.prototype.searchProperty=function(){return this.searchKeyframes()},Ie.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ie.prototype.addEffect=function(P){this.effectsSequence.push(P),this.elem.addDynamicProperty(this);},Ie.prototype.getValue=function(P){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!P)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var D=this.currentData,B=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var J,st=this.effectsSequence.length,et=P||this.data.d.k[this.keysIndex].s;for(J=0;J<st;J+=1)B!==this.keysIndex?et=this.effectsSequence[J](et,et.t):et=this.effectsSequence[J](this.currentData,et.t);D!==et&&this.setCurrentData(et),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId;}},Ie.prototype.getKeyframeValue=function(){for(var P=this.data.d.k,D=this.elem.comp.renderedFrame,B=0,J=P.length;B<=J-1&&!(B===J-1||P[B+1].t>D);)B+=1;return this.keysIndex!==B&&(this.keysIndex=B),this.data.d.k[this.keysIndex].s},Ie.prototype.buildFinalText=function(P){for(var D=[],B=0,J=P.length,st,et,gt=!1,Mt=!1,yt="";B<J;)gt=Mt,Mt=!1,st=P.charCodeAt(B),yt=P.charAt(B),Li.isCombinedCharacter(st)?gt=!0:st>=55296&&st<=56319?Li.isRegionalFlag(P,B)?yt=P.substr(B,14):(et=P.charCodeAt(B+1),et>=56320&&et<=57343&&(Li.isModifier(st,et)?(yt=P.substr(B,2),gt=!0):Li.isFlagEmoji(P.substr(B,4))?yt=P.substr(B,4):yt=P.substr(B,2))):st>56319?(et=P.charCodeAt(B+1),Li.isVariationSelector(st)&&(gt=!0)):Li.isZeroWidthJoiner(st)&&(gt=!0,Mt=!0),gt?(D[D.length-1]+=yt,gt=!1):D.push(yt),B+=yt.length;return D},Ie.prototype.completeTextData=function(P){P.__complete=!0;var D=this.elem.globalData.fontManager,B=this.data,J=[],st,et,gt,Mt=0,yt,Bt=B.m.g,Vt=0,Ht=0,kt=0,l=[],k=0,C=0,L,O,V=D.getFontByName(P.f),n,f=0,b=cs(V);P.fWeight=b.weight,P.fStyle=b.style,P.finalSize=P.s,P.finalText=this.buildFinalText(P.t),et=P.finalText.length,P.finalLineHeight=P.lh;var T=P.tr/1e3*P.finalSize,I;if(P.sz)for(var F=!0,G=P.sz[0],K=P.sz[1],X,it;F;){it=this.buildFinalText(P.t),X=0,k=0,et=it.length,T=P.tr/1e3*P.finalSize;var lt=-1;for(st=0;st<et;st+=1)I=it[st].charCodeAt(0),gt=!1,it[st]===" "?lt=st:(I===13||I===3)&&(k=0,gt=!0,X+=P.finalLineHeight||P.finalSize*1.2),D.chars?(n=D.getCharData(it[st],V.fStyle,V.fFamily),f=gt?0:n.w*P.finalSize/100):f=D.measureText(it[st],P.f,P.finalSize),k+f>G&&it[st]!==" "?(lt===-1?et+=1:st=lt,X+=P.finalLineHeight||P.finalSize*1.2,it.splice(st,lt===st?1:0,"\r"),lt=-1,k=0):(k+=f,k+=T);X+=V.ascent*P.finalSize/100,this.canResize&&P.finalSize>this.minimumFontSize&&K<X?(P.finalSize-=1,P.finalLineHeight=P.finalSize*P.lh/P.s):(P.finalText=it,et=P.finalText.length,F=!1);}k=-T,f=0;var tt=0,H;for(st=0;st<et;st+=1)if(gt=!1,H=P.finalText[st],I=H.charCodeAt(0),I===13||I===3?(tt=0,l.push(k),C=k>C?k:C,k=-2*T,yt="",gt=!0,kt+=1):yt=H,D.chars?(n=D.getCharData(H,V.fStyle,D.getFontByName(P.f).fFamily),f=gt?0:n.w*P.finalSize/100):f=D.measureText(yt,P.f,P.finalSize),H===" "?tt+=f+T:(k+=f+T+tt,tt=0),J.push({l:f,an:f,add:Vt,n:gt,anIndexes:[],val:yt,line:kt,animatorJustifyOffset:0}),Bt==2){if(Vt+=f,yt===""||yt===" "||st===et-1){for((yt===""||yt===" ")&&(Vt-=f);Ht<=st;)J[Ht].an=Vt,J[Ht].ind=Mt,J[Ht].extra=f,Ht+=1;Mt+=1,Vt=0;}}else if(Bt==3){if(Vt+=f,yt===""||st===et-1){for(yt===""&&(Vt-=f);Ht<=st;)J[Ht].an=Vt,J[Ht].ind=Mt,J[Ht].extra=f,Ht+=1;Vt=0,Mt+=1;}}else J[Mt].ind=Mt,J[Mt].extra=0,Mt+=1;if(P.l=J,C=k>C?k:C,l.push(k),P.sz)P.boxWidth=P.sz[0],P.justifyOffset=0;else switch(P.boxWidth=C,P.j){case 1:P.justifyOffset=-P.boxWidth;break;case 2:P.justifyOffset=-P.boxWidth/2;break;default:P.justifyOffset=0;}P.lineWidths=l;var j=B.a,W,R;O=j.length;var rt,at,Z=[];for(L=0;L<O;L+=1){for(W=j[L],W.a.sc&&(P.strokeColorAnim=!0),W.a.sw&&(P.strokeWidthAnim=!0),(W.a.fc||W.a.fh||W.a.fs||W.a.fb)&&(P.fillColorAnim=!0),at=0,rt=W.s.b,st=0;st<et;st+=1)R=J[st],R.anIndexes[L]=at,(rt==1&&R.val!==""||rt==2&&R.val!==""&&R.val!==" "||rt==3&&(R.n||R.val==" "||st==et-1)||rt==4&&(R.n||st==et-1))&&(W.s.rn===1&&Z.push(at),at+=1);B.a[L].s.totalChars=at;var ct=-1,mt;if(W.s.rn===1)for(st=0;st<et;st+=1)R=J[st],ct!=R.anIndexes[L]&&(ct=R.anIndexes[L],mt=Z.splice(Math.floor(Math.random()*Z.length),1)[0]),R.anIndexes[L]=mt;}P.yOffset=P.finalLineHeight||P.finalSize*1.2,P.ls=P.ls||0,P.ascent=V.ascent*P.finalSize/100;},Ie.prototype.updateDocumentData=function(P,D){D=D===void 0?this.keysIndex:D;var B=this.copyData({},this.data.d.k[D].s);B=this.copyData(B,P),this.data.d.k[D].s=B,this.recalculate(D),this.setCurrentData(B),this.elem.addDynamicProperty(this);},Ie.prototype.recalculate=function(P){var D=this.data.d.k[P].s;D.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(D);},Ie.prototype.canResizeFont=function(P){this.canResize=P,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);},Ie.prototype.setMinimumFontSize=function(P){this.minimumFontSize=Math.floor(P)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);};var Ga=function(){var P=Math.max,D=Math.min,B=Math.floor;function J(et,gt){this._currentTextLength=-1,this.k=!1,this.data=gt,this.elem=et,this.comp=et.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(et),this.s=te.getProp(et,gt.s||{k:0},0,0,this),"e"in gt?this.e=te.getProp(et,gt.e,0,0,this):this.e={v:100},this.o=te.getProp(et,gt.o||{k:0},0,0,this),this.xe=te.getProp(et,gt.xe||{k:0},0,0,this),this.ne=te.getProp(et,gt.ne||{k:0},0,0,this),this.sm=te.getProp(et,gt.sm||{k:100},0,0,this),this.a=te.getProp(et,gt.a,0,.01,this),this.dynamicProperties.length||this.getValue();}J.prototype={getMult:function(et){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var gt=0,Mt=0,yt=1,Bt=1;this.ne.v>0?gt=this.ne.v/100:Mt=-this.ne.v/100,this.xe.v>0?yt=1-this.xe.v/100:Bt=1+this.xe.v/100;var Vt=ne.getBezierEasing(gt,Mt,yt,Bt).get,Ht=0,kt=this.finalS,l=this.finalE,k=this.data.sh;if(k===2)l===kt?Ht=et>=l?1:0:Ht=P(0,D(.5/(l-kt)+(et-kt)/(l-kt),1)),Ht=Vt(Ht);else if(k===3)l===kt?Ht=et>=l?0:1:Ht=1-P(0,D(.5/(l-kt)+(et-kt)/(l-kt),1)),Ht=Vt(Ht);else if(k===4)l===kt?Ht=0:(Ht=P(0,D(.5/(l-kt)+(et-kt)/(l-kt),1)),Ht<.5?Ht*=2:Ht=1-2*(Ht-.5)),Ht=Vt(Ht);else if(k===5){if(l===kt)Ht=0;else {var C=l-kt;et=D(P(0,et+.5-kt),l-kt);var L=-C/2+et,O=C/2;Ht=Math.sqrt(1-L*L/(O*O));}Ht=Vt(Ht);}else k===6?(l===kt?Ht=0:(et=D(P(0,et+.5-kt),l-kt),Ht=(1+Math.cos(Math.PI+Math.PI*2*et/(l-kt)))/2),Ht=Vt(Ht)):(et>=B(kt)&&(et-kt<0?Ht=P(0,D(D(l,1)-(kt-et),1)):Ht=P(0,D(l-et,1))),Ht=Vt(Ht));if(this.sm.v!==100){var V=this.sm.v*.01;V===0&&(V=1e-8);var n=.5-V*.5;Ht<n?Ht=0:(Ht=(Ht-n)/V,Ht>1&&(Ht=1));}return Ht*this.a.v},getValue:function(et){this.iterateDynamicProperties(),this._mdf=et||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,et&&this.data.r===2&&(this.e.v=this._currentTextLength);var gt=this.data.r===2?1:100/this.data.totalChars,Mt=this.o.v/gt,yt=this.s.v/gt+Mt,Bt=this.e.v/gt+Mt;if(yt>Bt){var Vt=yt;yt=Bt,Bt=Vt;}this.finalS=yt,this.finalE=Bt;}},v([Xe],J);function st(et,gt,Mt){return new J(et,gt)}return {getTextSelectorProp:st}}();function ir(P,D,B){var J={propType:!1},st=te.getProp,et=D.a;this.a={r:et.r?st(P,et.r,0,dt,B):J,rx:et.rx?st(P,et.rx,0,dt,B):J,ry:et.ry?st(P,et.ry,0,dt,B):J,sk:et.sk?st(P,et.sk,0,dt,B):J,sa:et.sa?st(P,et.sa,0,dt,B):J,s:et.s?st(P,et.s,1,.01,B):J,a:et.a?st(P,et.a,1,0,B):J,o:et.o?st(P,et.o,0,.01,B):J,p:et.p?st(P,et.p,1,0,B):J,sw:et.sw?st(P,et.sw,0,0,B):J,sc:et.sc?st(P,et.sc,1,0,B):J,fc:et.fc?st(P,et.fc,1,0,B):J,fh:et.fh?st(P,et.fh,0,0,B):J,fs:et.fs?st(P,et.fs,0,.01,B):J,fb:et.fb?st(P,et.fb,0,.01,B):J,t:et.t?st(P,et.t,0,0,B):J},this.s=Ga.getTextSelectorProp(P,D.s,B),this.s.t=D.s.t;}function br(P,D,B){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=P,this._renderType=D,this._elem=B,this._animatorsData=g(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(B);}br.prototype.searchProperties=function(){var P,D=this._textData.a.length,B,J=te.getProp;for(P=0;P<D;P+=1)B=this._textData.a[P],this._animatorsData[P]=new ir(this._elem,B,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:J(this._elem,this._textData.p.a,0,0,this),f:J(this._elem,this._textData.p.f,0,0,this),l:J(this._elem,this._textData.p.l,0,0,this),r:J(this._elem,this._textData.p.r,0,0,this),p:J(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=J(this._elem,this._textData.m.a,1,0,this);},br.prototype.getMeasures=function(P,D){if(this.lettersChangedFlag=D,!(!this._mdf&&!this._isFirstFrame&&!D&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var B=this._moreOptions.alignment.v,J=this._animatorsData,st=this._textData,et=this.mHelper,gt=this._renderType,Mt=this.renderedLetters.length,yt,Bt,Vt,Ht,kt=P.l,l,k,C,L,O,V,n,f,b,T,I,F,G,K,X;if(this._hasMaskedPath){if(X=this._pathData.m,!this._pathData.n||this._pathData._mdf){var it=X.v;this._pathData.r.v&&(it=it.reverse()),l={tLength:0,segments:[]},Ht=it._length-1;var lt;for(F=0,Vt=0;Vt<Ht;Vt+=1)lt=ki.buildBezierData(it.v[Vt],it.v[Vt+1],[it.o[Vt][0]-it.v[Vt][0],it.o[Vt][1]-it.v[Vt][1]],[it.i[Vt+1][0]-it.v[Vt+1][0],it.i[Vt+1][1]-it.v[Vt+1][1]]),l.tLength+=lt.segmentLength,l.segments.push(lt),F+=lt.segmentLength;Vt=Ht,X.v.c&&(lt=ki.buildBezierData(it.v[Vt],it.v[0],[it.o[Vt][0]-it.v[Vt][0],it.o[Vt][1]-it.v[Vt][1]],[it.i[0][0]-it.v[0][0],it.i[0][1]-it.v[0][1]]),l.tLength+=lt.segmentLength,l.segments.push(lt),F+=lt.segmentLength),this._pathData.pi=l;}if(l=this._pathData.pi,k=this._pathData.f.v,n=0,V=1,L=0,O=!0,T=l.segments,k<0&&X.v.c)for(l.tLength<Math.abs(k)&&(k=-Math.abs(k)%l.tLength),n=T.length-1,b=T[n].points,V=b.length-1;k<0;)k+=b[V].partialLength,V-=1,V<0&&(n-=1,b=T[n].points,V=b.length-1);b=T[n].points,f=b[V-1],C=b[V],I=C.partialLength;}Ht=kt.length,yt=0,Bt=0;var tt=P.finalSize*1.2*.714,H=!0,j,W,R,rt,at;rt=J.length;var Z,ct=-1,mt,Pt,Rt,jt=k,Lt=n,Kt=V,_t=-1,Et,ht,Ct,Ft,wt,St,At,ut,Dt="",Zt=this.defaultPropsArray,$t;if(P.j===2||P.j===1){var xe=0,ge=0,Me=P.j===2?-.5:-1,we=0,He=!0;for(Vt=0;Vt<Ht;Vt+=1)if(kt[Vt].n){for(xe&&(xe+=ge);we<Vt;)kt[we].animatorJustifyOffset=xe,we+=1;xe=0,He=!0;}else {for(R=0;R<rt;R+=1)j=J[R].a,j.t.propType&&(He&&P.j===2&&(ge+=j.t.v*Me),W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),Z.length?xe+=j.t.v*Z[0]*Me:xe+=j.t.v*Z*Me);He=!1;}for(xe&&(xe+=ge);we<Vt;)kt[we].animatorJustifyOffset=xe,we+=1;}for(Vt=0;Vt<Ht;Vt+=1){if(et.reset(),Et=1,kt[Vt].n)yt=0,Bt+=P.yOffset,Bt+=H?1:0,k=jt,H=!1,this._hasMaskedPath&&(n=Lt,V=Kt,b=T[n].points,f=b[V-1],C=b[V],I=C.partialLength,L=0),Dt="",ut="",St="",$t="",Zt=this.defaultPropsArray;else {if(this._hasMaskedPath){if(_t!==kt[Vt].line){switch(P.j){case 1:k+=F-P.lineWidths[kt[Vt].line];break;case 2:k+=(F-P.lineWidths[kt[Vt].line])/2;break}_t=kt[Vt].line;}ct!==kt[Vt].ind&&(kt[ct]&&(k+=kt[ct].extra),k+=kt[Vt].an/2,ct=kt[Vt].ind),k+=B[0]*kt[Vt].an*.005;var Ce=0;for(R=0;R<rt;R+=1)j=J[R].a,j.p.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),Z.length?Ce+=j.p.v[0]*Z[0]:Ce+=j.p.v[0]*Z),j.a.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),Z.length?Ce+=j.a.v[0]*Z[0]:Ce+=j.a.v[0]*Z);for(O=!0,this._pathData.a.v&&(k=kt[0].an*.5+(F-this._pathData.f.v-kt[0].an*.5-kt[kt.length-1].an*.5)*ct/(Ht-1),k+=this._pathData.f.v);O;)L+I>=k+Ce||!b?(G=(k+Ce-L)/C.partialLength,Pt=f.point[0]+(C.point[0]-f.point[0])*G,Rt=f.point[1]+(C.point[1]-f.point[1])*G,et.translate(-B[0]*kt[Vt].an*.005,-(B[1]*tt)*.01),O=!1):b&&(L+=C.partialLength,V+=1,V>=b.length&&(V=0,n+=1,T[n]?b=T[n].points:X.v.c?(V=0,n=0,b=T[n].points):(L-=C.partialLength,b=null)),b&&(f=C,C=b[V],I=C.partialLength));mt=kt[Vt].an/2-kt[Vt].add,et.translate(-mt,0,0);}else mt=kt[Vt].an/2-kt[Vt].add,et.translate(-mt,0,0),et.translate(-B[0]*kt[Vt].an*.005,-B[1]*tt*.01,0);for(R=0;R<rt;R+=1)j=J[R].a,j.t.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),(yt!==0||P.j!==0)&&(this._hasMaskedPath?Z.length?k+=j.t.v*Z[0]:k+=j.t.v*Z:Z.length?yt+=j.t.v*Z[0]:yt+=j.t.v*Z));for(P.strokeWidthAnim&&(Ct=P.sw||0),P.strokeColorAnim&&(P.sc?ht=[P.sc[0],P.sc[1],P.sc[2]]:ht=[0,0,0]),P.fillColorAnim&&P.fc&&(Ft=[P.fc[0],P.fc[1],P.fc[2]]),R=0;R<rt;R+=1)j=J[R].a,j.a.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),Z.length?et.translate(-j.a.v[0]*Z[0],-j.a.v[1]*Z[1],j.a.v[2]*Z[2]):et.translate(-j.a.v[0]*Z,-j.a.v[1]*Z,j.a.v[2]*Z));for(R=0;R<rt;R+=1)j=J[R].a,j.s.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),Z.length?et.scale(1+(j.s.v[0]-1)*Z[0],1+(j.s.v[1]-1)*Z[1],1):et.scale(1+(j.s.v[0]-1)*Z,1+(j.s.v[1]-1)*Z,1));for(R=0;R<rt;R+=1){if(j=J[R].a,W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),j.sk.propType&&(Z.length?et.skewFromAxis(-j.sk.v*Z[0],j.sa.v*Z[1]):et.skewFromAxis(-j.sk.v*Z,j.sa.v*Z)),j.r.propType&&(Z.length?et.rotateZ(-j.r.v*Z[2]):et.rotateZ(-j.r.v*Z)),j.ry.propType&&(Z.length?et.rotateY(j.ry.v*Z[1]):et.rotateY(j.ry.v*Z)),j.rx.propType&&(Z.length?et.rotateX(j.rx.v*Z[0]):et.rotateX(j.rx.v*Z)),j.o.propType&&(Z.length?Et+=(j.o.v*Z[0]-Et)*Z[0]:Et+=(j.o.v*Z-Et)*Z),P.strokeWidthAnim&&j.sw.propType&&(Z.length?Ct+=j.sw.v*Z[0]:Ct+=j.sw.v*Z),P.strokeColorAnim&&j.sc.propType)for(wt=0;wt<3;wt+=1)Z.length?ht[wt]+=(j.sc.v[wt]-ht[wt])*Z[0]:ht[wt]+=(j.sc.v[wt]-ht[wt])*Z;if(P.fillColorAnim&&P.fc){if(j.fc.propType)for(wt=0;wt<3;wt+=1)Z.length?Ft[wt]+=(j.fc.v[wt]-Ft[wt])*Z[0]:Ft[wt]+=(j.fc.v[wt]-Ft[wt])*Z;j.fh.propType&&(Z.length?Ft=zt(Ft,j.fh.v*Z[0]):Ft=zt(Ft,j.fh.v*Z)),j.fs.propType&&(Z.length?Ft=Q(Ft,j.fs.v*Z[0]):Ft=Q(Ft,j.fs.v*Z)),j.fb.propType&&(Z.length?Ft=Ut(Ft,j.fb.v*Z[0]):Ft=Ut(Ft,j.fb.v*Z));}}for(R=0;R<rt;R+=1)j=J[R].a,j.p.propType&&(W=J[R].s,Z=W.getMult(kt[Vt].anIndexes[R],st.a[R].s.totalChars),this._hasMaskedPath?Z.length?et.translate(0,j.p.v[1]*Z[0],-j.p.v[2]*Z[1]):et.translate(0,j.p.v[1]*Z,-j.p.v[2]*Z):Z.length?et.translate(j.p.v[0]*Z[0],j.p.v[1]*Z[1],-j.p.v[2]*Z[2]):et.translate(j.p.v[0]*Z,j.p.v[1]*Z,-j.p.v[2]*Z));if(P.strokeWidthAnim&&(St=Ct<0?0:Ct),P.strokeColorAnim&&(At="rgb("+Math.round(ht[0]*255)+","+Math.round(ht[1]*255)+","+Math.round(ht[2]*255)+")"),P.fillColorAnim&&P.fc&&(ut="rgb("+Math.round(Ft[0]*255)+","+Math.round(Ft[1]*255)+","+Math.round(Ft[2]*255)+")"),this._hasMaskedPath){if(et.translate(0,-P.ls),et.translate(0,B[1]*tt*.01+Bt,0),this._pathData.p.v){K=(C.point[1]-f.point[1])/(C.point[0]-f.point[0]);var me=Math.atan(K)*180/Math.PI;C.point[0]<f.point[0]&&(me+=180),et.rotate(-me*Math.PI/180);}et.translate(Pt,Rt,0),k-=B[0]*kt[Vt].an*.005,kt[Vt+1]&&ct!==kt[Vt+1].ind&&(k+=kt[Vt].an/2,k+=P.tr*.001*P.finalSize);}else {switch(et.translate(yt,Bt,0),P.ps&&et.translate(P.ps[0],P.ps[1]+P.ascent,0),P.j){case 1:et.translate(kt[Vt].animatorJustifyOffset+P.justifyOffset+(P.boxWidth-P.lineWidths[kt[Vt].line]),0,0);break;case 2:et.translate(kt[Vt].animatorJustifyOffset+P.justifyOffset+(P.boxWidth-P.lineWidths[kt[Vt].line])/2,0,0);break}et.translate(0,-P.ls),et.translate(mt,0,0),et.translate(B[0]*kt[Vt].an*.005,B[1]*tt*.01,0),yt+=kt[Vt].l+P.tr*.001*P.finalSize;}gt==="html"?Dt=et.toCSS():gt==="svg"?Dt=et.to2dCSS():Zt=[et.props[0],et.props[1],et.props[2],et.props[3],et.props[4],et.props[5],et.props[6],et.props[7],et.props[8],et.props[9],et.props[10],et.props[11],et.props[12],et.props[13],et.props[14],et.props[15]],$t=Et;}Mt<=Vt?(at=new ta($t,St,At,ut,Dt,Zt),this.renderedLetters.push(at),Mt+=1,this.lettersChangedFlag=!0):(at=this.renderedLetters[Vt],this.lettersChangedFlag=at.update($t,St,At,ut,Dt,Zt)||this.lettersChangedFlag);}}},br.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties());},br.prototype.mHelper=new Ge,br.prototype.defaultPropsArray=[],v([Xe],br);function xi(){}xi.prototype.initElement=function(P,D,B){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(P,D,B),this.textProperty=new Ie(this,P.t,this.dynamicProperties),this.textAnimator=new br(P.t,this.renderType,this),this.initTransform(P,D,B),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties);},xi.prototype.prepareFrame=function(P){this._mdf=!1,this.prepareRenderableFrame(P),this.prepareProperties(P,this.isInRange);},xi.prototype.createPathShape=function(P,D){var B,J=D.length,st,et="";for(B=0;B<J;B+=1)D[B].ty==="sh"&&(st=D[B].ks.k,et+=Na(st,st.i.length,!0,P));return et},xi.prototype.updateDocumentData=function(P,D){this.textProperty.updateDocumentData(P,D);},xi.prototype.canResizeFont=function(P){this.textProperty.canResizeFont(P);},xi.prototype.setMinimumFontSize=function(P){this.textProperty.setMinimumFontSize(P);},xi.prototype.applyTextPropertiesToMatrix=function(P,D,B,J,st){switch(P.ps&&D.translate(P.ps[0],P.ps[1]+P.ascent,0),D.translate(0,-P.ls,0),P.j){case 1:D.translate(P.justifyOffset+(P.boxWidth-P.lineWidths[B]),0,0);break;case 2:D.translate(P.justifyOffset+(P.boxWidth-P.lineWidths[B])/2,0,0);break}D.translate(J,st,0);},xi.prototype.buildColor=function(P){return "rgb("+Math.round(P[0]*255)+","+Math.round(P[1]*255)+","+Math.round(P[2]*255)+")"},xi.prototype.emptyProp=new ta,xi.prototype.destroy=function(){},xi.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1);};var Es={shapes:[]};function si(P,D,B){this.textSpans=[],this.renderType="svg",this.initElement(P,D,B);}v([Te,Be,Jr,Ui,Fe,er,xi],si),si.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Jt("text"));},si.prototype.buildTextContents=function(P){for(var D=0,B=P.length,J=[],st="";D<B;)P[D]===String.fromCharCode(13)||P[D]===String.fromCharCode(3)?(J.push(st),st=""):st+=P[D],D+=1;return J.push(st),J},si.prototype.buildShapeData=function(P,D){if(P.shapes&&P.shapes.length){var B=P.shapes[0];if(B.it){var J=B.it[B.it.length-1];J.s&&(J.s.k[0]=D,J.s.k[1]=D);}}return P},si.prototype.buildNewText=function(){this.addDynamicProperty(this);var P,D,B=this.textProperty.currentData;this.renderedLetters=g(B?B.l.length:0),B.fc?this.layerElement.setAttribute("fill",this.buildColor(B.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),B.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(B.sc)),this.layerElement.setAttribute("stroke-width",B.sw)),this.layerElement.setAttribute("font-size",B.finalSize);var J=this.globalData.fontManager.getFontByName(B.f);if(J.fClass)this.layerElement.setAttribute("class",J.fClass);else {this.layerElement.setAttribute("font-family",J.fFamily);var st=B.fWeight,et=B.fStyle;this.layerElement.setAttribute("font-style",et),this.layerElement.setAttribute("font-weight",st);}this.layerElement.setAttribute("aria-label",B.t);var gt=B.l||[],Mt=!!this.globalData.fontManager.chars;D=gt.length;var yt,Bt=this.mHelper,Vt="",Ht=this.data.singleShape,kt=0,l=0,k=!0,C=B.tr*.001*B.finalSize;if(Ht&&!Mt&&!B.sz){var L=this.textContainer,O="start";switch(B.j){case 1:O="end";break;case 2:O="middle";break;default:O="start";break}L.setAttribute("text-anchor",O),L.setAttribute("letter-spacing",C);var V=this.buildTextContents(B.finalText);for(D=V.length,l=B.ps?B.ps[1]+B.ascent:0,P=0;P<D;P+=1)yt=this.textSpans[P].span||Jt("tspan"),yt.textContent=V[P],yt.setAttribute("x",0),yt.setAttribute("y",l),yt.style.display="inherit",L.appendChild(yt),this.textSpans[P]||(this.textSpans[P]={span:null,glyph:null}),this.textSpans[P].span=yt,l+=B.finalLineHeight;this.layerElement.appendChild(L);}else {var n=this.textSpans.length,f;for(P=0;P<D;P+=1){if(this.textSpans[P]||(this.textSpans[P]={span:null,childSpan:null,glyph:null}),!Mt||!Ht||P===0){if(yt=n>P?this.textSpans[P].span:Jt(Mt?"g":"text"),n<=P){if(yt.setAttribute("stroke-linecap","butt"),yt.setAttribute("stroke-linejoin","round"),yt.setAttribute("stroke-miterlimit","4"),this.textSpans[P].span=yt,Mt){var b=Jt("g");yt.appendChild(b),this.textSpans[P].childSpan=b;}this.textSpans[P].span=yt,this.layerElement.appendChild(yt);}yt.style.display="inherit";}if(Bt.reset(),Ht&&(gt[P].n&&(kt=-C,l+=B.yOffset,l+=k?1:0,k=!1),this.applyTextPropertiesToMatrix(B,Bt,gt[P].line,kt,l),kt+=gt[P].l||0,kt+=C),Mt){f=this.globalData.fontManager.getCharData(B.finalText[P],J.fStyle,this.globalData.fontManager.getFontByName(B.f).fFamily);var T;if(f.t===1)T=new ci(f.data,this.globalData,this);else {var I=Es;f.data&&f.data.shapes&&(I=this.buildShapeData(f.data,B.finalSize)),T=new je(I,this.globalData,this);}if(this.textSpans[P].glyph){var F=this.textSpans[P].glyph;this.textSpans[P].childSpan.removeChild(F.layerElement),F.destroy();}this.textSpans[P].glyph=T,T._debug=!0,T.prepareFrame(0),T.renderFrame(),this.textSpans[P].childSpan.appendChild(T.layerElement),f.t===1&&this.textSpans[P].childSpan.setAttribute("transform","scale("+B.finalSize/100+","+B.finalSize/100+")");}else Ht&&yt.setAttribute("transform","translate("+Bt.props[12]+","+Bt.props[13]+")"),yt.textContent=gt[P].val,yt.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}Ht&&yt&&yt.setAttribute("d",Vt);}for(;P<this.textSpans.length;)this.textSpans[P].span.style.display="none",P+=1;this._sizeChanged=!0;},si.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var P=this.layerElement.getBBox();this.bbox={top:P.y,left:P.x,width:P.width,height:P.height};}return this.bbox},si.prototype.getValue=function(){var P,D=this.textSpans.length,B;for(this.renderedFrame=this.comp.renderedFrame,P=0;P<D;P+=1)B=this.textSpans[P].glyph,B&&(B.prepareFrame(this.comp.renderedFrame-this.data.st),B._mdf&&(this._mdf=!0));},si.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 P,D,B=this.textAnimator.renderedLetters,J=this.textProperty.currentData.l;D=J.length;var st,et,gt;for(P=0;P<D;P+=1)J[P].n||(st=B[P],et=this.textSpans[P].span,gt=this.textSpans[P].glyph,gt&&gt.renderFrame(),st._mdf.m&&et.setAttribute("transform",st.m),st._mdf.o&&et.setAttribute("opacity",st.o),st._mdf.sw&&et.setAttribute("stroke-width",st.sw),st._mdf.sc&&et.setAttribute("stroke",st.sc),st._mdf.fc&&et.setAttribute("fill",st.fc));}};function ea(P,D,B){this.initElement(P,D,B);}v([Ai],ea),ea.prototype.createContent=function(){var P=Jt("rect");P.setAttribute("width",this.data.sw),P.setAttribute("height",this.data.sh),P.setAttribute("fill",this.data.sc),this.layerElement.appendChild(P);};function _i(P,D,B){this.initFrame(),this.initBaseData(P,D,B),this.initFrame(),this.initTransform(P,D,B),this.initHierarchy();}_i.prototype.prepareFrame=function(P){this.prepareProperties(P,!0);},_i.prototype.renderFrame=function(){},_i.prototype.getBaseElement=function(){return null},_i.prototype.destroy=function(){},_i.prototype.sourceRectAtTime=function(){},_i.prototype.hide=function(){},v([Te,Be,Ui,Fe],_i);function Ue(){}v([Ae],Ue),Ue.prototype.createNull=function(P){return new _i(P,this.globalData,this)},Ue.prototype.createShape=function(P){return new je(P,this.globalData,this)},Ue.prototype.createText=function(P){return new si(P,this.globalData,this)},Ue.prototype.createImage=function(P){return new Ai(P,this.globalData,this)},Ue.prototype.createSolid=function(P){return new ea(P,this.globalData,this)},Ue.prototype.configAnimation=function(P){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 "+P.w+" "+P.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",P.w),this.svgElement.setAttribute("height",P.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 D=this.globalData.defs;this.setupGlobalData(P,D),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=P;var B=Jt("clipPath"),J=Jt("rect");J.setAttribute("width",P.w),J.setAttribute("height",P.h),J.setAttribute("x",0),J.setAttribute("y",0);var st=E();B.setAttribute("id",st),B.appendChild(J),this.layerElement.setAttribute("clip-path","url("+c()+"#"+st+")"),D.appendChild(B),this.layers=P.layers,this.elements=g(P.layers.length);},Ue.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var P,D=this.layers?this.layers.length:0;for(P=0;P<D;P+=1)this.elements[P]&&this.elements[P].destroy&&this.elements[P].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null;},Ue.prototype.updateContainerSize=function(){},Ue.prototype.findIndexByInd=function(P){var D=0,B=this.layers.length;for(D=0;D<B;D+=1)if(this.layers[D].ind===P)return D;return -1},Ue.prototype.buildItem=function(P){var D=this.elements;if(!(D[P]||this.layers[P].ty===99)){D[P]=!0;var B=this.createItem(this.layers[P]);if(D[P]=B,he()&&(this.layers[P].ty===0&&this.globalData.projectInterface.registerComposition(B),B.initExpressions()),this.appendElementInPos(B,P),this.layers[P].tt){var J="tp"in this.layers[P]?this.findIndexByInd(this.layers[P].tp):P-1;if(J===-1)return;if(!this.elements[J]||this.elements[J]===!0)this.buildItem(J),this.addPendingElement(B);else {var st=D[J],et=st.getMatte(this.layers[P].tt);B.setMatte(et);}}}},Ue.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var P=this.pendingElements.pop();if(P.checkParenting(),P.data.tt)for(var D=0,B=this.elements.length;D<B;){if(this.elements[D]===P){var J="tp"in P.data?this.findIndexByInd(P.data.tp):D-1,st=this.elements[J],et=st.getMatte(this.layers[D].tt);P.setMatte(et);break}D+=1;}}},Ue.prototype.renderFrame=function(P){if(!(this.renderedFrame===P||this.destroyed)){P===null?P=this.renderedFrame:this.renderedFrame=P,this.globalData.frameNum=P,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=P,this.globalData._mdf=!1;var D,B=this.layers.length;for(this.completeLayers||this.checkLayers(P),D=B-1;D>=0;D-=1)(this.completeLayers||this.elements[D])&&this.elements[D].prepareFrame(P-this.layers[D].st);if(this.globalData._mdf)for(D=0;D<B;D+=1)(this.completeLayers||this.elements[D])&&this.elements[D].renderFrame();}},Ue.prototype.appendElementInPos=function(P,D){var B=P.getBaseElement();if(B){for(var J=0,st;J<D;)this.elements[J]&&this.elements[J]!==!0&&this.elements[J].getBaseElement()&&(st=this.elements[J].getBaseElement()),J+=1;st?this.layerElement.insertBefore(B,st):this.layerElement.appendChild(B);}},Ue.prototype.hide=function(){this.layerElement.style.display="none";},Ue.prototype.show=function(){this.layerElement.style.display="block";};function gi(){}v([Te,Be,Ui,Fe,er],gi),gi.prototype.initElement=function(P,D,B){this.initFrame(),this.initBaseData(P,D,B),this.initTransform(P,D,B),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!D.progressiveLoad)&&this.buildAllItems(),this.hide();},gi.prototype.prepareFrame=function(P){if(this._mdf=!1,this.prepareRenderableFrame(P),this.prepareProperties(P,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=P/this.data.sr;else {var D=this.tm.v;D===this.data.op&&(D=this.data.op-1),this.renderedFrame=D;}var B,J=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),B=J-1;B>=0;B-=1)(this.completeLayers||this.elements[B])&&(this.elements[B].prepareFrame(this.renderedFrame-this.layers[B].st),this.elements[B]._mdf&&(this._mdf=!0));}},gi.prototype.renderInnerContent=function(){var P,D=this.layers.length;for(P=0;P<D;P+=1)(this.completeLayers||this.elements[P])&&this.elements[P].renderFrame();},gi.prototype.setElements=function(P){this.elements=P;},gi.prototype.getElements=function(){return this.elements},gi.prototype.destroyElements=function(){var P,D=this.layers.length;for(P=0;P<D;P+=1)this.elements[P]&&this.elements[P].destroy();},gi.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement();};function ci(P,D,B){this.layers=P.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(P,D,B),this.tm=P.tm?te.getProp(this,P.tm,0,D.frameRate,this):{_placeholder:!0};}v([Ue,gi,Jr],ci),ci.prototype.createComp=function(P){return new ci(P,this.globalData,this)};function or(P,D){this.animationItem=P,this.layers=null,this.renderedFrame=-1,this.svgElement=Jt("svg");var B="";if(D&&D.title){var J=Jt("title"),st=E();J.setAttribute("id",st),J.textContent=D.title,this.svgElement.appendChild(J),B+=st;}if(D&&D.description){var et=Jt("desc"),gt=E();et.setAttribute("id",gt),et.textContent=D.description,this.svgElement.appendChild(et),B+=" "+gt;}B&&this.svgElement.setAttribute("aria-labelledby",B);var Mt=Jt("defs");this.svgElement.appendChild(Mt);var yt=Jt("g");this.svgElement.appendChild(yt),this.layerElement=yt,this.renderConfig={preserveAspectRatio:D&&D.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:D&&D.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:D&&D.contentVisibility||"visible",progressiveLoad:D&&D.progressiveLoad||!1,hideOnTransparent:!(D&&D.hideOnTransparent===!1),viewBoxOnly:D&&D.viewBoxOnly||!1,viewBoxSize:D&&D.viewBoxSize||!1,className:D&&D.className||"",id:D&&D.id||"",focusable:D&&D.focusable,filterSize:{width:D&&D.filterSize&&D.filterSize.width||"100%",height:D&&D.filterSize&&D.filterSize.height||"100%",x:D&&D.filterSize&&D.filterSize.x||"0%",y:D&&D.filterSize&&D.filterSize.y||"0%"},width:D&&D.width,height:D&&D.height,runExpressions:!D||D.runExpressions===void 0||D.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:Mt,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg";}return v([Ue],or),or.prototype.createComp=function(P){return new ci(P,this.globalData,this)},Re("svg",or),Ii.registerModifier("tm",ei),Ii.registerModifier("pb",wi),Ii.registerModifier("rp",mi),Ii.registerModifier("rd",rr),Ii.registerModifier("zz",ar),Ii.registerModifier("op",Cr),ue});}),Sg=Pg();});var sc={};ia(sc,{default:()=>wg});var kg,wg,ac=Ir(()=>{Fs();kg=ce((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,s;for(i=0;i<r;i+=1){s=t[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a]);}}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 s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<r;s+=1)a.push(o);return a}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,s=t.length;for(r=0;r<s;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,s,a,o,p,h,c,_;switch(o=Math.floor(t*6),p=t*6-o,h=i*(1-e),c=i*(1-p*e),_=i*(1-(1-p)*e),o%6){case 0:r=i,s=_,a=h;break;case 1:r=c,s=i,a=h;break;case 2:r=h,s=i,a=_;break;case 3:r=h,s=c,a=i;break;case 4:r=_,s=h,a=i;break;case 5:r=i,s=h,a=c;break}return [r,s,a]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),s=Math.min(t,e,i),a=r-s,o,p=r===0?0:a/r,h=r/255;switch(r){case s:o=0;break;case t:o=e-i+a*(e<i?6:0),o/=6*a;break;case e:o=i-t+a*2,o/=6*a;break;case i:o=t-e+a*4,o/=6*a;break}return [o,p,h]}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,s,a){return r<0&&(r=0),s<0&&(s=0),a<0&&(a=0),"#"+t[r]+t[s]+t[a]}}(),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,s={onmessage:function(){},postMessage:function(u){i({data:u});}},a={postMessage:function(u){s.onmessage({data:u});}};function o(u){if(window.Worker&&window.Blob&&getWebWorker()){var S=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),d=URL.createObjectURL(S);return new Worker(d)}return i=u,s}function p(){r||(r=o(function(u){function S(){function g(ot,Tt){var z,$,E=ot.length,q,nt,Q,Ut;for($=0;$<E;$+=1)if(z=ot[$],"ks"in z&&!z.completed){if(z.completed=!0,z.hasMask){var zt=z.masksProperties;for(nt=zt.length,q=0;q<nt;q+=1)if(zt[q].pt.k.i)w(zt[q].pt.k);else for(Ut=zt[q].pt.k.length,Q=0;Q<Ut;Q+=1)zt[q].pt.k[Q].s&&w(zt[q].pt.k[Q].s[0]),zt[q].pt.k[Q].e&&w(zt[q].pt.k[Q].e[0]);}z.ty===0?(z.layers=m(z.refId,Tt),g(z.layers,Tt)):z.ty===4?x(z.shapes):z.ty===5&&bt(z);}}function A(ot,Tt){if(ot){var z=0,$=ot.length;for(z=0;z<$;z+=1)ot[z].t===1&&(ot[z].data.layers=m(ot[z].data.refId,Tt),g(ot[z].data.layers,Tt));}}function y(ot,Tt){for(var z=0,$=Tt.length;z<$;){if(Tt[z].id===ot)return Tt[z];z+=1;}return null}function m(ot,Tt){var z=y(ot,Tt);return z?z.layers.__used?JSON.parse(JSON.stringify(z.layers)):(z.layers.__used=!0,z.layers):null}function x(ot){var Tt,z=ot.length,$,E;for(Tt=z-1;Tt>=0;Tt-=1)if(ot[Tt].ty==="sh")if(ot[Tt].ks.k.i)w(ot[Tt].ks.k);else for(E=ot[Tt].ks.k.length,$=0;$<E;$+=1)ot[Tt].ks.k[$].s&&w(ot[Tt].ks.k[$].s[0]),ot[Tt].ks.k[$].e&&w(ot[Tt].ks.k[$].e[0]);else ot[Tt].ty==="gr"&&x(ot[Tt].it);}function w(ot){var Tt,z=ot.i.length;for(Tt=0;Tt<z;Tt+=1)ot.i[Tt][0]+=ot.v[Tt][0],ot.i[Tt][1]+=ot.v[Tt][1],ot.o[Tt][0]+=ot.v[Tt][0],ot.o[Tt][1]+=ot.v[Tt][1];}function M(ot,Tt){var z=Tt?Tt.split("."):[100,100,100];return ot[0]>z[0]?!0:z[0]>ot[0]?!1:ot[1]>z[1]?!0:z[1]>ot[1]?!1:ot[2]>z[2]?!0:z[2]>ot[2]?!1:null}var N=function(){var ot=[4,4,14];function Tt($){var E=$.t.d;$.t.d={k:[{s:E,t:0}]};}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),U=function(){var ot=[4,7,99];return function(Tt){if(Tt.chars&&!M(ot,Tt.v)){var z,$=Tt.chars.length;for(z=0;z<$;z+=1){var E=Tt.chars[z];E.data&&E.data.shapes&&(x(E.data.shapes),E.data.ip=0,E.data.op=99999,E.data.st=0,E.data.sr=1,E.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}},Tt.chars[z].t||(E.data.shapes.push({ty:"no"}),E.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"})));}}}}(),Y=function(){var ot=[5,7,15];function Tt($){var E=$.t.p;typeof E.a=="number"&&(E.a={a:0,k:E.a}),typeof E.p=="number"&&(E.p={a:0,k:E.p}),typeof E.r=="number"&&(E.r={a:0,k:E.r});}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),dt=function(){var ot=[4,1,9];function Tt($){var E,q=$.length,nt,Q;for(E=0;E<q;E+=1)if($[E].ty==="gr")Tt($[E].it);else if($[E].ty==="fl"||$[E].ty==="st")if($[E].c.k&&$[E].c.k[0].i)for(Q=$[E].c.k.length,nt=0;nt<Q;nt+=1)$[E].c.k[nt].s&&($[E].c.k[nt].s[0]/=255,$[E].c.k[nt].s[1]/=255,$[E].c.k[nt].s[2]/=255,$[E].c.k[nt].s[3]/=255),$[E].c.k[nt].e&&($[E].c.k[nt].e[0]/=255,$[E].c.k[nt].e[1]/=255,$[E].c.k[nt].e[2]/=255,$[E].c.k[nt].e[3]/=255);else $[E].c.k[0]/=255,$[E].c.k[1]/=255,$[E].c.k[2]/=255,$[E].c.k[3]/=255;}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===4&&Tt($[E].shapes);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),xt=function(){var ot=[4,4,18];function Tt($){var E,q=$.length,nt,Q;for(E=q-1;E>=0;E-=1)if($[E].ty==="sh")if($[E].ks.k.i)$[E].ks.k.c=$[E].closed;else for(Q=$[E].ks.k.length,nt=0;nt<Q;nt+=1)$[E].ks.k[nt].s&&($[E].ks.k[nt].s[0].c=$[E].closed),$[E].ks.k[nt].e&&($[E].ks.k[nt].e[0].c=$[E].closed);else $[E].ty==="gr"&&Tt($[E].it);}function z($){var E,q,nt=$.length,Q,Ut,zt,qt;for(q=0;q<nt;q+=1){if(E=$[q],E.hasMask){var Gt=E.masksProperties;for(Ut=Gt.length,Q=0;Q<Ut;Q+=1)if(Gt[Q].pt.k.i)Gt[Q].pt.k.c=Gt[Q].cl;else for(qt=Gt[Q].pt.k.length,zt=0;zt<qt;zt+=1)Gt[Q].pt.k[zt].s&&(Gt[Q].pt.k[zt].s[0].c=Gt[Q].cl),Gt[Q].pt.k[zt].e&&(Gt[Q].pt.k[zt].e[0].c=Gt[Q].cl);}E.ty===4&&Tt(E.shapes);}}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}();function vt(ot){ot.__complete||(dt(ot),N(ot),U(ot),Y(ot),xt(ot),g(ot.layers,ot.assets),A(ot.chars,ot.assets),ot.__complete=!0);}function bt(ot){ot.t.a.length===0&&"m"in ot.t.p;}var It={};return It.completeData=vt,It.checkColors=dt,It.checkChars=U,It.checkPathProperties=Y,It.checkShapes=xt,It.completeLayers=g,It}if(a.dataManager||(a.dataManager=S()),a.assetLoader||(a.assetLoader=function(){function g(y){var m=y.getResponseHeader("content-type");return m&&y.responseType==="json"&&m.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function A(y,m,x,w){var M,N=new XMLHttpRequest;try{N.responseType="json";}catch{}N.onreadystatechange=function(){if(N.readyState===4)if(N.status===200)M=g(N),x(M);else try{M=g(N),x(M);}catch(U){w&&w(U);}};try{N.open(["G","E","T"].join(""),y,!0);}catch{N.open(["G","E","T"].join(""),m+"/"+y,!0);}N.send();}return {load:A}}()),u.data.type==="loadAnimation")a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.dataManager.completeData(g),a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});else if(u.data.type==="complete"){var d=u.data.animation;a.dataManager.completeData(d),a.postMessage({id:u.data.id,payload:d,status:"success"});}else u.data.type==="loadData"&&a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});}),r.onmessage=function(u){var S=u.data,d=S.id,g=e[d];e[d]=null,S.status==="success"?g.onComplete(S.payload):g.onError&&g.onError();});}function h(u,S){t+=1;var d="processId_"+t;return e[d]={onComplete:u,onError:S},d}function c(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function _(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function v(u,S,d){p();var g=h(S,d);r.postMessage({type:"complete",animation:u,id:g});}return {loadAnimation:c,loadData:_,completeAnimation:v}}(),ImagePreloader=function(){var t=function(){var y=createTag("canvas");y.width=1,y.height=1;var m=y.getContext("2d");return m.fillStyle="rgba(0,0,0,0)",m.fillRect(0,0,1,1),y}();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(y,m,x){var w="";if(y.e)w=y.p;else if(m){var M=y.p;M.indexOf("images/")!==-1&&(M=M.split("/")[1]),w=m+M;}else w=x,w+=y.u?y.u:"",w+=y.p;return w}function s(y){var m=0,x=setInterval(function(){var w=y.getBBox();(w.width||m>500)&&(this._imageLoaded(),clearInterval(x)),m+=1;}.bind(this),50);}function a(y){var m=r(y,this.assetsPath,this.path),x=createNS("image");isSafari?this.testImageLoaded(x):x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(x):this._elementHelper.appendChild(x);var w={img:x,assetData:y};return w}function o(y){var m=r(y,this.assetsPath,this.path),x=createTag("img");x.crossOrigin="anonymous",x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.src=m;var w={img:x,assetData:y};return w}function p(y){var m={assetData:y},x=r(y,this.assetsPath,this.path);return dataManager.loadData(x,function(w){m.img=w,this._footageLoaded();}.bind(this),function(){m.img={},this._footageLoaded();}.bind(this)),m}function h(y,m){this.imagesLoadedCb=m;var x,w=y.length;for(x=0;x<w;x+=1)y[x].layers||(!y[x].t||y[x].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[x]))):y[x].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[x]))));}function c(y){this.path=y||"";}function _(y){this.assetsPath=y||"";}function v(y){for(var m=0,x=this.images.length;m<x;){if(this.images[m].assetData===y)return this.images[m].img;m+=1;}return null}function u(){this.imagesLoadedCb=null,this.images.length=0;}function S(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function g(y,m){y==="svg"?(this._elementHelper=m,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function A(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=p.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return A.prototype={loadAssets:h,setAssetsPath:_,setPath:c,loadedImages:S,loadedFootages:d,destroy:u,getAsset:v,createImgData:o,createImageData:a,imageLoaded:e,footageLoaded:i,setCacheType:g},A}();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
`),r={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(r[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var s=e[r],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[r].cm);}catch{try{a.payload=t(e[r].cm);}catch{a.payload={name:e[r].cm};}}i.push(a);}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e);}return function(){function e(i){for(var r=0,s=this.compositions.length;r<s;){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 s=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:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=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=a!=="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 o=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:"";o==="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,s=t.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<r;){if(e[i].id===s[a].id){e[i]=s[a];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 s=this.getMarkerData(t);s&&this.goToAndStop(s.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 s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.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,s=0,a=!0,o=!1;function p(z){for(var $=0,E=z.target;$<r;)e[$].animation===E&&(e.splice($,1),$-=1,r-=1,E.isPaused||v()),$+=1;}function h(z,$){if(!z)return null;for(var E=0;E<r;){if(e[E].elem===z&&e[E].elem!==null)return e[E].animation;E+=1;}var q=new AnimationItem;return u(q,z),q.setData(z,$),q}function c(){var z,$=e.length,E=[];for(z=0;z<$;z+=1)E.push(e[z].animation);return E}function _(){s+=1,xt();}function v(){s-=1;}function u(z,$){z.addEventListener("destroy",p),z.addEventListener("_active",_),z.addEventListener("_idle",v),e.push({elem:$,animation:z}),r+=1;}function S(z){var $=new AnimationItem;return u($,null),$.setParams(z),$}function d(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setSpeed(z,$);}function g(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setDirection(z,$);}function A(z){var $;for($=0;$<r;$+=1)e[$].animation.play(z);}function y(z){var $=z-i,E;for(E=0;E<r;E+=1)e[E].animation.advanceTime($);i=z,s&&!o?window.requestAnimationFrame(y):a=!0;}function m(z){i=z,window.requestAnimationFrame(y);}function x(z){var $;for($=0;$<r;$+=1)e[$].animation.pause(z);}function w(z,$,E){var q;for(q=0;q<r;q+=1)e[q].animation.goToAndStop(z,$,E);}function M(z){var $;for($=0;$<r;$+=1)e[$].animation.stop(z);}function N(z){var $;for($=0;$<r;$+=1)e[$].animation.togglePause(z);}function U(z){var $;for($=r-1;$>=0;$-=1)e[$].animation.destroy(z);}function Y(z,$,E){var q=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),nt,Q=q.length;for(nt=0;nt<Q;nt+=1)E&&q[nt].setAttribute("data-bm-type",E),h(q[nt],z);if($&&Q===0){E||(E="svg");var Ut=document.getElementsByTagName("body")[0];Ut.innerText="";var zt=createTag("div");zt.style.width="100%",zt.style.height="100%",zt.setAttribute("data-bm-type",E),Ut.appendChild(zt),h(zt,z);}}function dt(){var z;for(z=0;z<r;z+=1)e[z].animation.resize();}function xt(){!o&&s&&a&&(window.requestAnimationFrame(m),a=!1);}function vt(){o=!0;}function bt(){o=!1,xt();}function It(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setVolume(z,$);}function ot(z){var $;for($=0;$<r;$+=1)e[$].animation.mute(z);}function Tt(z){var $;for($=0;$<r;$+=1)e[$].animation.unmute(z);}return t.registerAnimation=h,t.loadAnimation=S,t.setSpeed=d,t.setDirection=g,t.play=A,t.pause=x,t.stop=M,t.togglePause=N,t.searchAnimations=Y,t.resize=dt,t.goToAndStop=w,t.destroy=U,t.freeze=vt,t.unfreeze=bt,t.setVolume=It,t.mute=ot,t.unmute=Tt,t.getRegisteredAnimations=c,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(m,x,w,M,N){var U=N||("bez_"+m+"_"+x+"_"+w+"_"+M).replace(/\./g,"p");if(e[U])return e[U];var Y=new y([m,x,w,M]);return e[U]=Y,Y}var r=4,s=.001,a=1e-7,o=10,p=11,h=1/(p-1),c=typeof Float32Array=="function";function _(m,x){return 1-3*x+3*m}function v(m,x){return 3*x-6*m}function u(m){return 3*m}function S(m,x,w){return ((_(x,w)*m+v(x,w))*m+u(x))*m}function d(m,x,w){return 3*_(x,w)*m*m+2*v(x,w)*m+u(x)}function g(m,x,w,M,N){var U,Y,dt=0;do Y=x+(w-x)/2,U=S(Y,M,N)-m,U>0?w=Y:x=Y;while(Math.abs(U)>a&&++dt<o);return Y}function A(m,x,w,M){for(var N=0;N<r;++N){var U=d(x,w,M);if(U===0)return x;var Y=S(x,w,M)-m;x-=Y/U;}return x}function y(m){this._p=m,this._mSampleValues=c?new Float32Array(p):new Array(p),this._precomputed=!1,this.get=this.get.bind(this);}return y.prototype={get:function(m){var x=this._p[0],w=this._p[1],M=this._p[2],N=this._p[3];return this._precomputed||this._precompute(),x===w&&M===N?m:m===0?0:m===1?1:S(this._getTForX(m),w,N)},_precompute:function(){var m=this._p[0],x=this._p[1],w=this._p[2],M=this._p[3];this._precomputed=!0,(m!==x||w!==M)&&this._calcSampleValues();},_calcSampleValues:function(){for(var m=this._p[0],x=this._p[2],w=0;w<p;++w)this._mSampleValues[w]=S(w*h,m,x);},_getTForX:function(m){for(var x=this._p[0],w=this._p[2],M=this._mSampleValues,N=0,U=1,Y=p-1;U!==Y&&M[U]<=m;++U)N+=h;--U;var dt=(m-M[U])/(M[U+1]-M[U]),xt=N+dt*h,vt=d(xt,x,w);return vt>=s?A(m,xt,x,w):vt===0?xt:g(m,N,N+h,x,w)}},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,s=t,a=createSizedArray(s),o={newElement:p,release:h};function p(){var c;return r?(r-=1,c=a[r]):c=e(),c}function h(c){r===s&&(a=pooling.double(a),s*=2),i&&i(c),a[r]=c,r+=1;}return o}}(),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,s=i.lengths.length;for(r=0;r<s;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0;}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(u,S,d,g,A,y){var m=u*g+S*A+d*y-A*g-y*u-d*S;return m>-.001&&m<.001}function i(u,S,d,g,A,y,m,x,w){if(d===0&&y===0&&w===0)return e(u,S,g,A,m,x);var M=t.sqrt(t.pow(g-u,2)+t.pow(A-S,2)+t.pow(y-d,2)),N=t.sqrt(t.pow(m-u,2)+t.pow(x-S,2)+t.pow(w-d,2)),U=t.sqrt(t.pow(m-g,2)+t.pow(x-A,2)+t.pow(w-y,2)),Y;return M>N?M>U?Y=M-N-U:Y=U-N-M:U>N?Y=U-N-M:Y=N-M-U,Y>-1e-4&&Y<1e-4}var r=function(){return function(u,S,d,g){var A=getDefaultCurveSegments(),y,m,x,w,M,N=0,U,Y=[],dt=[],xt=bezierLengthPool.newElement();for(x=d.length,y=0;y<A;y+=1){for(M=y/(A-1),U=0,m=0;m<x;m+=1)w=bmPow(1-M,3)*u[m]+3*bmPow(1-M,2)*M*d[m]+3*(1-M)*bmPow(M,2)*g[m]+bmPow(M,3)*S[m],Y[m]=w,dt[m]!==null&&(U+=bmPow(Y[m]-dt[m],2)),dt[m]=Y[m];U&&(U=bmSqrt(U),N+=U),xt.percents[y]=M,xt.lengths[y]=N;}return xt.addedLength=N,xt}}();function s(u){var S=segmentsLengthPool.newElement(),d=u.c,g=u.v,A=u.o,y=u.i,m,x=u._length,w=S.lengths,M=0;for(m=0;m<x-1;m+=1)w[m]=r(g[m],g[m+1],A[m],y[m+1]),M+=w[m].addedLength;return d&&x&&(w[m]=r(g[m],g[0],A[m],y[0]),M+=w[m].addedLength),S.totalLength=M,S}function a(u){this.segmentLength=0,this.points=new Array(u);}function o(u,S){this.partialLength=u,this.point=S;}var p=function(){var u={};return function(S,d,g,A){var y=(S[0]+"_"+S[1]+"_"+d[0]+"_"+d[1]+"_"+g[0]+"_"+g[1]+"_"+A[0]+"_"+A[1]).replace(/\./g,"p");if(!u[y]){var m=getDefaultCurveSegments(),x,w,M,N,U,Y=0,dt,xt,vt=null;S.length===2&&(S[0]!==d[0]||S[1]!==d[1])&&e(S[0],S[1],d[0],d[1],S[0]+g[0],S[1]+g[1])&&e(S[0],S[1],d[0],d[1],d[0]+A[0],d[1]+A[1])&&(m=2);var bt=new a(m);for(M=g.length,x=0;x<m;x+=1){for(xt=createSizedArray(M),U=x/(m-1),dt=0,w=0;w<M;w+=1)N=bmPow(1-U,3)*S[w]+3*bmPow(1-U,2)*U*(S[w]+g[w])+3*(1-U)*bmPow(U,2)*(d[w]+A[w])+bmPow(U,3)*d[w],xt[w]=N,vt!==null&&(dt+=bmPow(xt[w]-vt[w],2));dt=bmSqrt(dt),Y+=dt,bt.points[x]=new o(dt,xt),vt=xt;}bt.segmentLength=Y,u[y]=bt;}return u[y]}}();function h(u,S){var d=S.percents,g=S.lengths,A=d.length,y=bmFloor((A-1)*u),m=u*S.addedLength,x=0;if(y===A-1||y===0||m===g[y])return d[y];for(var w=g[y]>m?-1:1,M=!0;M;)if(g[y]<=m&&g[y+1]>m?(x=(m-g[y])/(g[y+1]-g[y]),M=!1):y+=w,y<0||y>=A-1){if(y===A-1)return d[y];M=!1;}return d[y]+(d[y+1]-d[y])*x}function c(u,S,d,g,A,y){var m=h(A,y),x=1-m,w=t.round((x*x*x*u[0]+(m*x*x+x*m*x+x*x*m)*d[0]+(m*m*x+x*m*m+m*x*m)*g[0]+m*m*m*S[0])*1e3)/1e3,M=t.round((x*x*x*u[1]+(m*x*x+x*m*x+x*x*m)*d[1]+(m*m*x+x*m*m+m*x*m)*g[1]+m*m*m*S[1])*1e3)/1e3;return [w,M]}var _=createTypedArray("float32",8);function v(u,S,d,g,A,y,m){A<0?A=0:A>1&&(A=1);var x=h(A,m);y=y>1?1:y;var w=h(y,m),M,N=u.length,U=1-x,Y=1-w,dt=U*U*U,xt=x*U*U*3,vt=x*x*U*3,bt=x*x*x,It=U*U*Y,ot=x*U*Y+U*x*Y+U*U*w,Tt=x*x*Y+U*x*w+x*U*w,z=x*x*w,$=U*Y*Y,E=x*Y*Y+U*w*Y+U*Y*w,q=x*w*Y+U*w*w+x*Y*w,nt=x*w*w,Q=Y*Y*Y,Ut=w*Y*Y+Y*w*Y+Y*Y*w,zt=w*w*Y+Y*w*w+w*Y*w,qt=w*w*w;for(M=0;M<N;M+=1)_[M*4]=t.round((dt*u[M]+xt*d[M]+vt*g[M]+bt*S[M])*1e3)/1e3,_[M*4+1]=t.round((It*u[M]+ot*d[M]+Tt*g[M]+z*S[M])*1e3)/1e3,_[M*4+2]=t.round(($*u[M]+E*d[M]+q*g[M]+nt*S[M])*1e3)/1e3,_[M*4+3]=t.round((Q*u[M]+Ut*d[M]+zt*g[M]+qt*S[M])*1e3)/1e3;return _}return {getSegmentsLength:s,getNewSegment:v,getPointInSegment:c,buildBezierData:p,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 s=e.lastIndex,a=s,o=this.keyframes.length-1,p=!0,h,c,_;p;){if(h=this.keyframes[a],c=this.keyframes[a+1],a===o-1&&t>=c.t-i){h.h&&(h=c),s=0;break}if(c.t-i>t){s=a;break}a<o-1?a+=1:(s=0,p=!1);}_=this.keyframesMetadata[a]||{};var v,u,S,d,g,A,y=c.t-i,m=h.t-i,x;if(h.to){_.bezierData||(_.bezierData=bez.buildBezierData(h.s,c.s||h.e,h.to,h.ti));var w=_.bezierData;if(t>=y||t<m){var M=t>=y?w.points.length-1:0;for(u=w.points[M].point.length,v=0;v<u;v+=1)r[v]=w.points[M].point[v];}else {_.__fnct?A=_.__fnct:(A=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y,h.n).get,_.__fnct=A),S=A((t-m)/(y-m));var N=w.segmentLength*S,U,Y=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(g=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,p=!0,d=w.points.length;p;){if(Y+=w.points[g].partialLength,N===0||S===0||g===w.points.length-1){for(u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v];break}else if(N>=Y&&N<Y+w.points[g+1].partialLength){for(U=(N-Y)/w.points[g+1].partialLength,u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v]+(w.points[g+1].point[v]-w.points[g].point[v])*U;break}g<d-1?g+=1:p=!1;}e._lastPoint=g,e._lastAddedLength=Y-w.points[g].partialLength,e._lastKeyframeIndex=a;}}else {var dt,xt,vt,bt,It;if(o=h.s.length,x=c.s||h.e,this.sh&&h.h!==1)if(t>=y)r[0]=x[0],r[1]=x[1],r[2]=x[2];else if(t<=m)r[0]=h.s[0],r[1]=h.s[1],r[2]=h.s[2];else {var ot=createQuaternion(h.s),Tt=createQuaternion(x),z=(t-m)/(y-m);quaternionToEuler(r,slerp(ot,Tt,z));}else for(a=0;a<o;a+=1)h.h!==1&&(t>=y?S=1:t<m?S=0:(h.o.x.constructor===Array?(_.__fnct||(_.__fnct=[]),_.__fnct[a]?A=_.__fnct[a]:(dt=h.o.x[a]===void 0?h.o.x[0]:h.o.x[a],xt=h.o.y[a]===void 0?h.o.y[0]:h.o.y[a],vt=h.i.x[a]===void 0?h.i.x[0]:h.i.x[a],bt=h.i.y[a]===void 0?h.i.y[0]:h.i.y[a],A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,_.__fnct[a]=A)):_.__fnct?A=_.__fnct:(dt=h.o.x,xt=h.o.y,vt=h.i.x,bt=h.i.y,A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,h.keyframeMetadata=A),S=A((t-m)/(y-m)))),x=c.s||h.e,It=h.h===1?h.s[a]:h.s[a]+(x[a]-h.s[a])*S,this.propType==="multidimensional"?r[a]=It:r=It;}return e.lastIndex=s,r}function slerp(t,e,i){var r=[],s=t[0],a=t[1],o=t[2],p=t[3],h=e[0],c=e[1],_=e[2],v=e[3],u,S,d,g,A;return S=s*h+a*c+o*_+p*v,S<0&&(S=-S,h=-h,c=-c,_=-_,v=-v),1-S>1e-6?(u=Math.acos(S),d=Math.sin(u),g=Math.sin((1-i)*u)/d,A=Math.sin(i*u)/d):(g=1-i,A=i),r[0]=g*s+A*h,r[1]=g*a+A*c,r[2]=g*o+A*_,r[3]=g*p+A*v,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],s=e[2],a=e[3],o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s),p=Math.asin(2*i*r+2*s*a),h=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s);t[0]=o/degToRads,t[1]=p/degToRads,t[2]=h/degToRads;}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(i/2),o=Math.cos(r/2),p=Math.sin(e/2),h=Math.sin(i/2),c=Math.sin(r/2),_=s*a*o-p*h*c,v=p*h*o+s*a*c,u=p*a*o+s*h*c,S=s*h*o-p*a*c;return [v,u,S,_]}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 s,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];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 s,a=e.k.length,o,p,h,c;for(s=0;s<a-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(o=e.k[s].s,p=e.k[s+1].s,h=e.k[s].to,c=e.k[s].ti,(o.length===2&&!(o[0]===p[0]&&o[1]===p[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],o[0]+h[0],o[1]+h[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],p[0]+c[0],p[1]+c[1])||o.length===3&&!(o[0]===p[0]&&o[1]===p[1]&&o[2]===p[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],o[0]+h[0],o[1]+h[1],o[2]+h[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],p[0]+c[0],p[1]+c[1],p[2]+c[2]))&&(e.k[s].to=null,e.k[s].ti=null),o[0]===p[0]&&o[1]===p[1]&&h[0]===0&&h[1]===0&&c[0]===0&&c[1]===0&&(o.length===2||o[2]===p[2]&&h[2]===0&&c[2]===0)&&(e.k[s].to=null,e.k[s].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 _=e.k[0].s.length;for(this.v=createTypedArray("float32",_),this.pv=createTypedArray("float32",_),s=0;s<_;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",_)},this.addEffect=addEffect;}var PropertyFactory=function(){function t(i,r,s,a,o){r.sid&&(r=i.globalData.slotManager.getProp(r));var p;if(!r.k.length)p=new ValueProperty(i,r,a,o);else if(typeof r.k[0]=="number")p=new MultiDimensionalProperty(i,r,a,o);else switch(s){case 0:p=new KeyframedValueProperty(i,r,a,o);break;case 1:p=new KeyframedMultidimensionalProperty(i,r,a,o);break}return p.effectsSequence.length&&o.addDynamicProperty(p),p}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,s){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[r]||a[r]&&!s)&&(a[r]=pointPool.newElement()),a[r][0]=t,a[r][1]=e;},ShapePath.prototype.setTripleAt=function(t,e,i,r,s,a,o,p){this.setXYAt(t,e,"v",o,p),this.setXYAt(i,r,"o",o,p),this.setXYAt(s,a,"i",o,p);},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,s=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),s=1);var a=this._length-1,o=this._length,p;for(p=s;p<o;p+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],i[a][0],i[a][1],p,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1;}function i(s){var a=r.newElement(),o,p=s._length===void 0?s.v.length:s._length;for(a.setLength(p),a.c=s.c,o=0;o<p;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}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:s,release:a},e=0,i=4,r=createSizedArray(i);function s(){var o;return e?(e-=1,o=r[e]):o=new ShapeCollection,o}function a(o){var p,h=o._length;for(p=0;p<h;p+=1)shapePool.release(o.shapes[p]);o._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=o,e+=1;}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(y,m,x){var w=x.lastIndex,M,N,U,Y,dt,xt,vt,bt,It,ot=this.keyframes;if(y<ot[0].t-this.offsetTime)M=ot[0].s[0],U=!0,w=0;else if(y>=ot[ot.length-1].t-this.offsetTime)M=ot[ot.length-1].s?ot[ot.length-1].s[0]:ot[ot.length-2].e[0],U=!0;else {for(var Tt=w,z=ot.length-1,$=!0,E,q,nt;$&&(E=ot[Tt],q=ot[Tt+1],!(q.t-this.offsetTime>y));)Tt<z-1?Tt+=1:$=!1;if(nt=this.keyframesMetadata[Tt]||{},U=E.h===1,w=Tt,!U){if(y>=q.t-this.offsetTime)bt=1;else if(y<E.t-this.offsetTime)bt=0;else {var Q;nt.__fnct?Q=nt.__fnct:(Q=BezierFactory.getBezierEasing(E.o.x,E.o.y,E.i.x,E.i.y).get,nt.__fnct=Q),bt=Q((y-(E.t-this.offsetTime))/(q.t-this.offsetTime-(E.t-this.offsetTime)));}N=q.s?q.s[0]:E.e[0];}M=E.s[0];}for(xt=m._length,vt=M.i[0].length,x.lastIndex=w,Y=0;Y<xt;Y+=1)for(dt=0;dt<vt;dt+=1)It=U?M.i[Y][dt]:M.i[Y][dt]+(N.i[Y][dt]-M.i[Y][dt])*bt,m.i[Y][dt]=It,It=U?M.o[Y][dt]:M.o[Y][dt]+(N.o[Y][dt]-M.o[Y][dt])*bt,m.o[Y][dt]=It,It=U?M.v[Y][dt]:M.v[Y][dt]+(N.v[Y][dt]-M.v[Y][dt])*bt,m.v[Y][dt]=It;}function i(){var y=this.comp.renderedFrame-this.offsetTime,m=this.keyframes[0].t-this.offsetTime,x=this.keyframes[this.keyframes.length-1].t-this.offsetTime,w=this._caching.lastFrame;return w!==t&&(w<m&&y<m||w>x&&y>x)||(this._caching.lastIndex=w<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function r(){this.paths=this.localShapeCollection;}function s(y,m){if(y._length!==m._length||y.c!==m.c)return !1;var x,w=y._length;for(x=0;x<w;x+=1)if(y.v[x][0]!==m.v[x][0]||y.v[x][1]!==m.v[x][1]||y.o[x][0]!==m.o[x][0]||y.o[x][1]!==m.o[x][1]||y.i[x][0]!==m.i[x][0]||y.i[x][1]!==m.i[x][1])return !1;return !0}function a(y){s(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function o(){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 y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var m,x=this.effectsSequence.length;for(m=0;m<x;m+=1)y=this.effectsSequence[m](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function p(y,m,x){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=m,this.k=!1,this.kf=!1,this._mdf=!1;var w=x===3?m.pt.k:m.ks.k;this.v=shapePool.clone(w),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 h(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this);}p.prototype.interpolateShape=e,p.prototype.getValue=o,p.prototype.setVValue=a,p.prototype.addEffect=h;function c(y,m,x){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=x===3?m.pt.k:m.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var w=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,w),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)];}c.prototype.getValue=o,c.prototype.interpolateShape=e,c.prototype.setVValue=a,c.prototype.addEffect=h;var _=function(){var y=roundCorner;function m(x,w){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=w.d,this.elem=x,this.comp=x.comp,this.frameId=-1,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,w.p,1,0,this),this.s=PropertyFactory.getProp(x,w.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return m.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 x=this.p.v[0],w=this.p.v[1],M=this.s.v[0]/2,N=this.s.v[1]/2,U=this.d!==3,Y=this.v;Y.v[0][0]=x,Y.v[0][1]=w-N,Y.v[1][0]=U?x+M:x-M,Y.v[1][1]=w,Y.v[2][0]=x,Y.v[2][1]=w+N,Y.v[3][0]=U?x-M:x+M,Y.v[3][1]=w,Y.i[0][0]=U?x-M*y:x+M*y,Y.i[0][1]=w-N,Y.i[1][0]=U?x+M:x-M,Y.i[1][1]=w-N*y,Y.i[2][0]=U?x+M*y:x-M*y,Y.i[2][1]=w+N,Y.i[3][0]=U?x-M:x+M,Y.i[3][1]=w+N*y,Y.o[0][0]=U?x+M*y:x-M*y,Y.o[0][1]=w-N,Y.o[1][0]=U?x+M:x-M,Y.o[1][1]=w+N*y,Y.o[2][0]=U?x-M*y:x+M*y,Y.o[2][1]=w+N,Y.o[3][0]=U?x-M:x+M,Y.o[3][1]=w-N*y;}},extendPrototype([DynamicPropertyContainer],m),m}(),v=function(){function y(m,x){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=m,this.comp=m.comp,this.data=x,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),x.sy===1?(this.ir=PropertyFactory.getProp(m,x.ir,0,0,this),this.is=PropertyFactory.getProp(m,x.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(m,x.pt,0,0,this),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,degToRads,this),this.or=PropertyFactory.getProp(m,x.or,0,0,this),this.os=PropertyFactory.getProp(m,x.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 y.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 m=Math.floor(this.pt.v)*2,x=Math.PI*2/m,w=!0,M=this.or.v,N=this.ir.v,U=this.os.v,Y=this.is.v,dt=2*Math.PI*M/(m*2),xt=2*Math.PI*N/(m*2),vt,bt,It,ot,Tt=-Math.PI/2;Tt+=this.r.v;var z=this.data.d===3?-1:1;for(this.v._length=0,vt=0;vt<m;vt+=1){bt=w?M:N,It=w?U:Y,ot=w?dt:xt;var $=bt*Math.cos(Tt),E=bt*Math.sin(Tt),q=$===0&&E===0?0:E/Math.sqrt($*$+E*E),nt=$===0&&E===0?0:-$/Math.sqrt($*$+E*E);$+=+this.p.v[0],E+=+this.p.v[1],this.v.setTripleAt($,E,$-q*ot*It*z,E-nt*ot*It*z,$+q*ot*It*z,E+nt*ot*It*z,vt,!0),w=!w,Tt+=x*z;}},convertPolygonToPath:function(){var m=Math.floor(this.pt.v),x=Math.PI*2/m,w=this.or.v,M=this.os.v,N=2*Math.PI*w/(m*4),U,Y=-Math.PI*.5,dt=this.data.d===3?-1:1;for(Y+=this.r.v,this.v._length=0,U=0;U<m;U+=1){var xt=w*Math.cos(Y),vt=w*Math.sin(Y),bt=xt===0&&vt===0?0:vt/Math.sqrt(xt*xt+vt*vt),It=xt===0&&vt===0?0:-xt/Math.sqrt(xt*xt+vt*vt);xt+=+this.p.v[0],vt+=+this.p.v[1],this.v.setTripleAt(xt,vt,xt-bt*N*M*dt,vt-It*N*M*dt,xt+bt*N*M*dt,vt+It*N*M*dt,U,!0),Y+=x*dt;}this.paths.length=0,this.paths[0]=this.v;}},extendPrototype([DynamicPropertyContainer],y),y}(),u=function(){function y(m,x){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=m,this.comp=m.comp,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.s=PropertyFactory.getProp(m,x.s,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return y.prototype={convertRectToPath:function(){var m=this.p.v[0],x=this.p.v[1],w=this.s.v[0]/2,M=this.s.v[1]/2,N=bmMin(w,M,this.r.v),U=N*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+N,m+w,x-M+U,0,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-U,m+w,x+M-N,1,!0),N!==0?(this.v.setTripleAt(m+w-N,x+M,m+w-N,x+M,m+w-U,x+M,2,!0),this.v.setTripleAt(m-w+N,x+M,m-w+U,x+M,m-w+N,x+M,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-N,m-w,x+M-U,4,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+U,m-w,x-M+N,5,!0),this.v.setTripleAt(m-w+N,x-M,m-w+N,x-M,m-w+U,x-M,6,!0),this.v.setTripleAt(m+w-N,x-M,m+w-U,x-M,m+w-N,x-M,7,!0)):(this.v.setTripleAt(m-w,x+M,m-w+U,x+M,m-w,x+M,2),this.v.setTripleAt(m-w,x-M,m-w,x-M+U,m-w,x-M,3))):(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+U,m+w,x-M+N,0,!0),N!==0?(this.v.setTripleAt(m+w-N,x-M,m+w-N,x-M,m+w-U,x-M,1,!0),this.v.setTripleAt(m-w+N,x-M,m-w+U,x-M,m-w+N,x-M,2,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+N,m-w,x-M+U,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-U,m-w,x+M-N,4,!0),this.v.setTripleAt(m-w+N,x+M,m-w+N,x+M,m-w+U,x+M,5,!0),this.v.setTripleAt(m+w-N,x+M,m+w-U,x+M,m+w-N,x+M,6,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-N,m+w,x+M-U,7,!0)):(this.v.setTripleAt(m-w,x-M,m-w+U,x-M,m-w,x-M,1,!0),this.v.setTripleAt(m-w,x+M,m-w,x+M-U,m-w,x+M,2,!0),this.v.setTripleAt(m+w,x+M,m+w-U,x+M,m+w,x+M,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],y),y}();function S(y,m,x){var w;if(x===3||x===4){var M=x===3?m.pt:m.ks,N=M.k;N.length?w=new c(y,m,x):w=new p(y,m,x);}else x===5?w=new u(y,m):x===6?w=new _(y,m):x===7&&(w=new v(y,m));return w.k&&y.addDynamicProperty(w),w}function d(){return p}function g(){return c}var A={};return A.getShapeProp=S,A.getConstructorFunction=d,A.getKeyframedConstructorFunction=g,A}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function s(){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 a(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function o(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(1,0,0,0,0,q,-nt,0,0,nt,q,0,0,0,0,1)}function p(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,0,nt,0,0,1,0,0,-nt,0,q,0,0,0,0,1)}function h(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function c(E,q){return this._t(1,q,E,1,0,0)}function _(E,q){return this.shear(i(E),i(q))}function v(E,q){var nt=t(q),Q=e(q);return this._t(nt,Q,0,0,-Q,nt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(E),1,0,0,0,0,1,0,0,0,0,1)._t(nt,-Q,0,0,Q,nt,0,0,0,0,1,0,0,0,0,1)}function u(E,q,nt){return !nt&&nt!==0&&(nt=1),E===1&&q===1&&nt===1?this:this._t(E,0,0,0,0,q,0,0,0,0,nt,0,0,0,0,1)}function S(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){return this.props[0]=E,this.props[1]=q,this.props[2]=nt,this.props[3]=Q,this.props[4]=Ut,this.props[5]=zt,this.props[6]=qt,this.props[7]=Gt,this.props[8]=se,this.props[9]=he,this.props[10]=le,this.props[11]=Se,this.props[12]=Pe,this.props[13]=Jt,this.props[14]=de,this.props[15]=Xt,this}function d(E,q,nt){return nt=nt||0,E!==0||q!==0||nt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,E,q,nt,1):this}function g(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){var Wt=this.props;if(E===1&&q===0&&nt===0&&Q===0&&Ut===0&&zt===1&&qt===0&&Gt===0&&se===0&&he===0&&le===1&&Se===0)return Wt[12]=Wt[12]*E+Wt[15]*Pe,Wt[13]=Wt[13]*zt+Wt[15]*Jt,Wt[14]=Wt[14]*le+Wt[15]*de,Wt[15]*=Xt,this._identityCalculated=!1,this;var ze=Wt[0],Ke=Wt[1],We=Wt[2],Le=Wt[3],Re=Wt[4],Oe=Wt[5],be=Wt[6],re=Wt[7],Nt=Wt[8],ae=Wt[9],ne=Wt[10],ke=Wt[11],$e=Wt[12],vi=Wt[13],bi=Wt[14],Fi=Wt[15];return Wt[0]=ze*E+Ke*Ut+We*se+Le*Pe,Wt[1]=ze*q+Ke*zt+We*he+Le*Jt,Wt[2]=ze*nt+Ke*qt+We*le+Le*de,Wt[3]=ze*Q+Ke*Gt+We*Se+Le*Xt,Wt[4]=Re*E+Oe*Ut+be*se+re*Pe,Wt[5]=Re*q+Oe*zt+be*he+re*Jt,Wt[6]=Re*nt+Oe*qt+be*le+re*de,Wt[7]=Re*Q+Oe*Gt+be*Se+re*Xt,Wt[8]=Nt*E+ae*Ut+ne*se+ke*Pe,Wt[9]=Nt*q+ae*zt+ne*he+ke*Jt,Wt[10]=Nt*nt+ae*qt+ne*le+ke*de,Wt[11]=Nt*Q+ae*Gt+ne*Se+ke*Xt,Wt[12]=$e*E+vi*Ut+bi*se+Fi*Pe,Wt[13]=$e*q+vi*zt+bi*he+Fi*Jt,Wt[14]=$e*nt+vi*qt+bi*le+Fi*de,Wt[15]=$e*Q+vi*Gt+bi*Se+Fi*Xt,this._identityCalculated=!1,this}function A(E){var q=E.props;return this.transform(q[0],q[1],q[2],q[3],q[4],q[5],q[6],q[7],q[8],q[9],q[10],q[11],q[12],q[13],q[14],q[15])}function y(){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 m(E){for(var q=0;q<16;){if(E.props[q]!==this.props[q])return !1;q+=1;}return !0}function x(E){var q;for(q=0;q<16;q+=1)E.props[q]=this.props[q];return E}function w(E){var q;for(q=0;q<16;q+=1)this.props[q]=E[q];}function M(E,q,nt){return {x:E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],y:E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],z:E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}}function N(E,q,nt){return E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12]}function U(E,q,nt){return E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13]}function Y(E,q,nt){return E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}function dt(){var E=this.props[0]*this.props[5]-this.props[1]*this.props[4],q=this.props[5]/E,nt=-this.props[1]/E,Q=-this.props[4]/E,Ut=this.props[0]/E,zt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/E,qt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/E,Gt=new Matrix;return Gt.props[0]=q,Gt.props[1]=nt,Gt.props[4]=Q,Gt.props[5]=Ut,Gt.props[12]=zt,Gt.props[13]=qt,Gt}function xt(E){var q=this.getInverseMatrix();return q.applyToPointArray(E[0],E[1],E[2]||0)}function vt(E){var q,nt=E.length,Q=[];for(q=0;q<nt;q+=1)Q[q]=xt(E[q]);return Q}function bt(E,q,nt){var Q=createTypedArray("float32",6);if(this.isIdentity())Q[0]=E[0],Q[1]=E[1],Q[2]=q[0],Q[3]=q[1],Q[4]=nt[0],Q[5]=nt[1];else {var Ut=this.props[0],zt=this.props[1],qt=this.props[4],Gt=this.props[5],se=this.props[12],he=this.props[13];Q[0]=E[0]*Ut+E[1]*qt+se,Q[1]=E[0]*zt+E[1]*Gt+he,Q[2]=q[0]*Ut+q[1]*qt+se,Q[3]=q[0]*zt+q[1]*Gt+he,Q[4]=nt[0]*Ut+nt[1]*qt+se,Q[5]=nt[0]*zt+nt[1]*Gt+he;}return Q}function It(E,q,nt){var Q;return this.isIdentity()?Q=[E,q,nt]:Q=[E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]],Q}function ot(E,q){if(this.isIdentity())return E+","+q;var nt=this.props;return Math.round((E*nt[0]+q*nt[4]+nt[12])*100)/100+","+Math.round((E*nt[1]+q*nt[5]+nt[13])*100)/100}function Tt(){for(var E=0,q=this.props,nt="matrix3d(",Q=1e4;E<16;)nt+=r(q[E]*Q)/Q,nt+=E===15?")":",",E+=1;return nt}function z(E){var q=1e4;return E<1e-6&&E>0||E>-1e-6&&E<0?r(E*q)/q:E}function $(){var E=this.props,q=z(E[0]),nt=z(E[1]),Q=z(E[4]),Ut=z(E[5]),zt=z(E[12]),qt=z(E[13]);return "matrix("+q+","+nt+","+Q+","+Ut+","+zt+","+qt+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=p,this.rotateZ=h,this.skew=_,this.skewFromAxis=v,this.shear=c,this.scale=u,this.setTransform=S,this.translate=d,this.transform=g,this.multiply=A,this.applyToPoint=M,this.applyToX=N,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=It,this.applyToTriplePoints=bt,this.applyToPointStringified=ot,this.toCSS=Tt,this.to2dCSS=$,this.clone=x,this.cloneFromProps=w,this.equals=m,this.inversePoints=vt,this.inversePoint=xt,this.getInverseMatrix=dt,this._t=this.transform,this.isIdentity=y,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(s,a){e[s]||(e[s]=a);}function r(s,a,o){return new e[s](a,o)}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,s){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var o=[],p,h=a.length,c;for(p=0;p<h;p+=1)if(c=a[p],!(c.e*s<r||c.s*s>r+i)){var _,v;c.s*s<=r?_=0:_=(c.s*s-r)/i,c.e*s>=r+i?v=1:v=(c.e*s-r)/i,o.push([_,v]);}return o.length||o.push([0,0]),o},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 s=e;e=i,i=s;}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 a,o,p=this.shapes.length,h,c,_,v,u,S=0;if(i===e)for(o=0;o<p;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(o=0;o<p;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0;}else {var d=[],g,A;for(o=0;o<p;o+=1)if(g=this.shapes[o],!g.shape._mdf&&!this._mdf&&!t&&this.m!==2)g.shape.paths=g.localShapeCollection;else {if(a=g.shape.paths,c=a._length,u=0,!g.shape._mdf&&g.pathsData.length)u=g.totalShapeLength;else {for(_=this.releasePathsData(g.pathsData),h=0;h<c;h+=1)v=bez.getSegmentsLength(a.shapes[h]),_.push(v),u+=v.totalLength;g.totalShapeLength=u,g.pathsData=_;}S+=u,g.shape._mdf=!0;}var y=e,m=i,x=0,w;for(o=p-1;o>=0;o-=1)if(g=this.shapes[o],g.shape._mdf){for(A=g.localShapeCollection,A.releaseShapes(),this.m===2&&p>1?(w=this.calculateShapeEdges(e,i,g.totalShapeLength,x,S),x+=g.totalShapeLength):w=[[y,m]],c=w.length,h=0;h<c;h+=1){y=w[h][0],m=w[h][1],d.length=0,m<=1?d.push({s:g.totalShapeLength*y,e:g.totalShapeLength*m}):y>=1?d.push({s:g.totalShapeLength*(y-1),e:g.totalShapeLength*(m-1)}):(d.push({s:g.totalShapeLength*y,e:g.totalShapeLength}),d.push({s:0,e:g.totalShapeLength*(m-1)}));var M=this.addShapes(g,d[0]);if(d[0].s!==d[0].e){if(d.length>1){var N=g.shape.paths.shapes[g.shape.paths._length-1];if(N.c){var U=M.pop();this.addPaths(M,A),M=this.addShapes(g,d[1],U);}else this.addPaths(M,A),M=this.addShapes(g,d[1]);}this.addPaths(M,A);}}g.shape.paths=A;}}},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,s,a,o){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(i[0],i[1],"i",a+1),o&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(r[0],r[1],"v",a+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,s=t.shape.paths.shapes,a,o=t.shape.paths._length,p,h,c=0,_,v,u,S,d=[],g,A=!0;for(i?(v=i._length,g=i._length):(i=shapePool.newElement(),v=0,g=0),d.push(i),a=0;a<o;a+=1){for(u=r[a].lengths,i.c=s[a].c,h=s[a].c?u.length:u.length+1,p=1;p<h;p+=1)if(_=u[p-1],c+_.addedLength<e.s)c+=_.addedLength,i.c=!1;else if(c>e.e){i.c=!1;break}else e.s<=c&&e.e>=c+_.addedLength?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[p],s[a].v[p],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[p],s[a].o[p-1],s[a].i[p],(e.s-c)/_.addedLength,(e.e-c)/_.addedLength,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1),c+=_.addedLength,v+=1;if(s[a].c&&u.length){if(_=u[p-1],c<=e.e){var y=u[p-1].addedLength;e.s<=c&&e.e>=c+y?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[0],s[a].v[0],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[0],s[a].o[p-1],s[a].i[0],(e.s-c)/y,(e.e-c)/y,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1);}else i.c=!1;c+=_.addedLength,v+=1;}if(i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>e.e)break;a<o-1&&(i=shapePool.newElement(),A=!0,d.push(i),v=0);}return d};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],s=t._length,a=0;for(a=0;a<s;a+=1)r[0]+=t.v[a][0],r[1]+=t.v[a][1];r[0]/=s,r[1]/=s;var o=shapePool.newElement();o.c=t.c;var p,h,c,_,v,u;for(a=0;a<s;a+=1)p=t.v[a][0]+(r[0]-t.v[a][0])*i,h=t.v[a][1]+(r[1]-t.v[a][1])*i,c=t.o[a][0]+(r[0]-t.o[a][0])*-i,_=t.o[a][1]+(r[1]-t.o[a][1])*-i,v=t.i[a][0]+(r[0]-t.i[a][0])*-i,u=t.i[a][1]+(r[1]-t.i[a][1])*-i,o.setTripleAt(p,h,c,_,v,u,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var TransformPropertyFactory=function(){var t=[0,0];function e(h){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&h.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&h.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&h.skewFromAxis(-this.sk.v,this.sa.v),this.r?h.rotate(-this.r.v):h.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?h.translate(this.px.v,this.py.v,-this.pz.v):h.translate(this.px.v,this.py.v,0):h.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function i(h){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||h){var c;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 _,v;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(_=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),v=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(_=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),v=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(_=this.p.pv,v=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){_=[],v=[];var u=this.px,S=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(_[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),_[1]=S.getValueAtTime((S.keyframes[0].t+.01)/c,0),v[0]=u.getValueAtTime(u.keyframes[0].t/c,0),v[1]=S.getValueAtTime(S.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(_[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),_[1]=S.getValueAtTime(S.keyframes[S.keyframes.length-1].t/c,0),v[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),v[1]=S.getValueAtTime((S.keyframes[S.keyframes.length-1].t-.01)/c,0)):(_=[u.pv,S.pv],v[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),v[1]=S.getValueAtTime((S._caching.lastFrame+S.offsetTime-.01)/c,S.offsetTime));}else v=t,_=v;this.v.rotate(-Math.atan2(_[1]-v[1],_[0]-v[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 s(){}function a(h){this._addDynamicProperty(h),this.elem.addDynamicProperty(h),this._isDirty=!0;}function o(h,c,_){if(this.elem=h,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(_||h),c.p&&c.p.s?(this.px=PropertyFactory.getProp(h,c.p.x,0,0,this),this.py=PropertyFactory.getProp(h,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(h,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(h,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(h,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(h,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(h,c.rz,0,degToRads,this),c.or.k[0].ti){var v,u=c.or.k.length;for(v=0;v<u;v+=1)c.or.k[v].to=null,c.or.k[v].ti=null;}this.or=PropertyFactory.getProp(h,c.or,1,degToRads,this),this.or.sh=!0;}else this.r=PropertyFactory.getProp(h,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(h,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(h,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(h,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(h,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(h,c.o,0,.01,h):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}o.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function p(h,c,_){return new o(h,c,_)}return {getTransformProperty:p}}();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,s,a){var o=a?-1:1,p=r.s.v[0]+(1-r.s.v[0])*(1-s),h=r.s.v[1]+(1-r.s.v[1])*(1-s);t.translate(r.p.v[0]*o*s,r.p.v[1]*o*s,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*o*s),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(a?1/p:p,a?1/h:h),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,s,a,o=!1;if(this._mdf||t){var p=Math.ceil(this.c.v);if(this._groups.length<p){for(;this._groups.length<p;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.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,h),this._groups.splice(0,0,h),this._currentCopies+=1;}this.elem.reloadShapes(),o=!0;}a=0;var c;for(r=0;r<=this._groups.length-1;r+=1){if(c=a<p,this._groups[r]._render=c,this.changeGroupRender(this._groups[r].it,c),!c){var _=this.elemsData[r].it,v=_[_.length-1];v.transform.op.v!==0?(v.transform.op._mdf=!0,v.transform.op.v=0):v.transform.op._mdf=!1;}a+=1;}this._currentCopies=p;var u=this.o.v,S=u%1,d=u>0?Math.floor(u):Math.ceil(u),g=this.pMatrix.props,A=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(u>0){for(;m<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,S,!1),m+=S);}else if(u<0){for(;m>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-S,!0),m-=S);}r=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var x,w;a;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,w=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)),m!==0){for((r!==0&&s===1||r!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(A[0],A[1],A[2],A[3],A[4],A[5],A[6],A[7],A[8],A[9],A[10],A[11],A[12],A[13],A[14],A[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),x=0;x<w;x+=1)i[x]=this.matrix.props[x];this.matrix.reset();}else for(this.matrix.reset(),x=0;x<w;x+=1)i[x]=this.matrix.props[x];m+=1,a-=1,r+=s;}}else for(a=this._currentCopies,r=0,s=1;a;)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,a-=1,r+=s;return o},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,s=t._length,a,o,p,h,c,_,v=0,u,S,d,g,A,y;for(r=0;r<s;r+=1)a=t.v[r],p=t.o[r],o=t.i[r],a[0]===p[0]&&a[1]===p[1]&&a[0]===o[0]&&a[1]===o[1]?(r===0||r===s-1)&&!t.c?(i.setTripleAt(a[0],a[1],p[0],p[1],o[0],o[1],v),v+=1):(r===0?h=t.v[s-1]:h=t.v[r-1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,A=a[0]+(h[0]-a[0])*_,u=A,y=a[1]-(a[1]-h[1])*_,S=y,d=u-(u-a[0])*roundCorner,g=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=1,r===s-1?h=t.v[0]:h=t.v[r+1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,d=a[0]+(h[0]-a[0])*_,u=d,g=a[1]+(h[1]-a[1])*_,S=g,A=u-(u-a[0])*roundCorner,y=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=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],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.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 s=-e/(2*t);if(r===0)return [s];var a=Math.sqrt(r)/(2*t);return [s-a,s+a]}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,s){s&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),s&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var a=polynomialCoefficients(t[0],e[0],i[0],r[0]),o=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[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(s){return s>0&&s<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),s=lerpPoint(e,i,t),a=lerpPoint(i,r,t),o=lerpPoint(s,a,t);return [new PolynomialBezier(this.points[0],e,s,o,!0),new PolynomialBezier(o,a,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 s=r;r=i,i=s;}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var p=t.point(a[o])[e];p<i?i=p:p>r&&(r=p);}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,s,a){if(boxIntersect(t,e)){if(i>=a||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){s.push([t.t,e.t]);return}var o=splitData(t),p=splitData(e);intersectsImpl(o[0],p[0],i+1,r,s,a),intersectsImpl(o[0],p[1],i+1,r,s,a),intersectsImpl(o[1],p[0],i+1,r,s,a),intersectsImpl(o[1],p[1],i+1,r,s,a);}}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 s=[t[0],t[1],1],a=[e[0],e[1],1],o=[i[0],i[1],1],p=[r[0],r[1],1],h=crossProduct(crossProduct(s,a),crossProduct(o,p));return floatZero(h[2])?null:[h[0]/h[2],h[1]/h[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,s,a,o){var p=i-Math.PI/2,h=i+Math.PI/2,c=e[0]+Math.cos(i)*r*s,_=e[1]-Math.sin(i)*r*s;t.setTripleAt(c,_,c+Math.cos(p)*a,_-Math.sin(p)*a,c+Math.cos(h)*o,_-Math.sin(h)*o,t.length());}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,s=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return s}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),s=t.v[i],a=t.v[r],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(t,e,i,r,s,a,o){var p=getProjectingAngle(e,i),h=e.v[i%e._length],c=e.v[i===0?e._length-1:i-1],_=e.v[(i+1)%e._length],v=a===2?Math.sqrt(Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)):0,u=a===2?Math.sqrt(Math.pow(h[0]-_[0],2)+Math.pow(h[1]-_[1],2)):0;setPoint(t,e.v[i%e._length],p,o,r,u/((s+1)*2),v/((s+1)*2));}function zigZagSegment(t,e,i,r,s,a){for(var o=0;o<r;o+=1){var p=(o+1)/(r+1),h=s===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,c=e.normalAngle(p),_=e.point(p);setPoint(t,_,c,a,i,h/((r+1)*2),h/((r+1)*2)),a=-a;}return a}ZigZagModifier.prototype.processPath=function(t,e,i,r){var s=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(s-=1),s===0)return a;var o=-1,p=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,i,r,o);for(var h=0;h<s;h+=1)o=zigZagSegment(a,p,e,i,r,-o),h===s-1&&!t.c?p=null:p=PolynomialBezier.shapeSegment(t,(h+1)%s),zigZagCorner(a,t,h+1,e,i,r,o);return a},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amplitude.v,p=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,p,h));c.shape.paths=c.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,s,a,o,p,h;h=linearOffset(t.points[0],t.points[1],e),i=h[0],r=h[1],h=linearOffset(t.points[1],t.points[2],e),s=h[0],a=h[1],h=linearOffset(t.points[2],t.points[3],e),o=h[0],p=h[1];var c=lineIntersection(i,r,s,a);c===null&&(c=r);var _=lineIntersection(o,p,s,a);return _===null&&(_=o),new PolynomialBezier(i,c,_,p)}function joinLines(t,e,i,r,s){var a=e.points[3],o=i.points[0];if(r===3||pointEqual(a,o))return a;if(r===2){var p=-e.tangentAngle(1),h=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,p+Math.PI/2,100),o,polarOffset(o,p+Math.PI/2,100)),_=c?pointDistance(c,a):pointDistance(a,o)/2,v=polarOffset(a,p,2*_*roundCorner);return t.setXYAt(v[0],v[1],"o",t.length()-1),v=polarOffset(o,h,2*_*roundCorner),t.setTripleAt(o[0],o[1],o[0],o[1],v[0],v[1],t.length()),o}var u=pointEqual(a,e.points[2])?e.points[0]:e.points[2],S=pointEqual(o,i.points[1])?i.points[3]:i.points[1],d=lineIntersection(u,a,o,S);return d&&pointDistance(d,a)<s?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):a}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(),s=getIntersection(t[t.length-1],e[0]);return s&&(i[t.length-1]=t[t.length-1].split(s[0])[0],r[0]=e[0].split(s[1])[1]),t.length>1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]),s)?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[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,s,a,o;if(i.length===0)return [offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return a=t.split(i[0]),r=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(s,e)];a=t.split(i[0]),r=a[0];var p=(i[1]-i[0])/(1-i[0]);return a=a[1].split(p),o=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(o,e),offsetSegment(s,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 s=shapePool.newElement();s.c=t.c;var a=t.length();t.c||(a-=1);var o,p,h,c=[];for(o=0;o<a;o+=1)h=PolynomialBezier.shapeSegment(t,o),c.push(offsetSegmentSplit(h,e));if(!t.c)for(o=a-1;o>=0;o-=1)h=PolynomialBezier.shapeSegmentInverted(t,o),c.push(offsetSegmentSplit(h,e));c=pruneIntersections(c);var _=null,v=null;for(o=0;o<c.length;o+=1){var u=c[o];for(v&&(_=joinLines(s,v,u[0],i,r)),v=u[u.length-1],p=0;p<u.length;p+=1)h=u[p],_&&pointEqual(h.points[0],_)?s.setXYAt(h.points[1][0],h.points[1][1],"o",s.length()-1):s.setTripleAt(h.points[0][0],h.points[0][1],h.points[1][0],h.points[1][1],h.points[0][0],h.points[0][1],s.length()),s.setTripleAt(h.points[3][0],h.points[3][1],h.points[3][0],h.points[3][1],h.points[2][0],h.points[2][1],s.length()),_=h.points[3];}return c.length&&joinLines(s,v,c[0][0],i,r),s},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v,p=this.miterLimit.v,h=this.lineJoin;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,h,p));c.shape.paths=c.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",s=e.length,a,o=0;o<s;o+=1)switch(a=e[o].toLowerCase(),a){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,s=917631,a=917601,o=917626,p=65039,h=8205,c=127462,_=127487,v=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(z){var $=z.split(","),E,q=$.length,nt=[];for(E=0;E<q;E+=1)$[E]!=="sans-serif"&&$[E]!=="monospace"&&nt.push($[E]);return nt.join(",")}function S(z,$){var E=createTag("span");E.setAttribute("aria-hidden",!0),E.style.fontFamily=$;var q=createTag("span");q.innerText="giItT1WQy@!-/#",E.style.position="absolute",E.style.left="-10000px",E.style.top="-10000px",E.style.fontSize="300px",E.style.fontVariant="normal",E.style.fontStyle="normal",E.style.fontWeight="normal",E.style.letterSpacing="0",E.appendChild(q),document.body.appendChild(E);var nt=q.offsetWidth;return q.style.fontFamily=u(z)+", "+$,{node:q,w:nt,parent:E}}function d(){var z,$=this.fonts.length,E,q,nt=$;for(z=0;z<$;z+=1)this.fonts[z].loaded?nt-=1:this.fonts[z].fOrigin==="n"||this.fonts[z].origin===0?this.fonts[z].loaded=!0:(E=this.fonts[z].monoCase.node,q=this.fonts[z].monoCase.w,E.offsetWidth!==q?(nt-=1,this.fonts[z].loaded=!0):(E=this.fonts[z].sansCase.node,q=this.fonts[z].sansCase.w,E.offsetWidth!==q&&(nt-=1,this.fonts[z].loaded=!0)),this.fonts[z].loaded&&(this.fonts[z].sansCase.parent.parentNode.removeChild(this.fonts[z].sansCase.parent),this.fonts[z].monoCase.parent.parentNode.removeChild(this.fonts[z].monoCase.parent)));nt!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function g(z,$){var E=document.body&&$?"svg":"canvas",q,nt=getFontProperties(z);if(E==="svg"){var Q=createNS("text");Q.style.fontSize="100px",Q.setAttribute("font-family",z.fFamily),Q.setAttribute("font-style",nt.style),Q.setAttribute("font-weight",nt.weight),Q.textContent="1",z.fClass?(Q.style.fontFamily="inherit",Q.setAttribute("class",z.fClass)):Q.style.fontFamily=z.fFamily,$.appendChild(Q),q=Q;}else {var Ut=new OffscreenCanvas(500,500).getContext("2d");Ut.font=nt.style+" "+nt.weight+" 100px "+z.fFamily,q=Ut;}function zt(qt){return E==="svg"?(q.textContent=qt,q.getComputedTextLength()):q.measureText(qt).width}return {measureText:zt}}function A(z,$){if(!z){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=z.list;return}if(!document.body){this.isLoaded=!0,z.list.forEach(function(le){le.helper=g(le),le.cache={};}),this.fonts=z.list;return}var E=z.list,q,nt=E.length,Q=nt;for(q=0;q<nt;q+=1){var Ut=!0,zt,qt;if(E[q].loaded=!1,E[q].monoCase=S(E[q].fFamily,"monospace"),E[q].sansCase=S(E[q].fFamily,"sans-serif"),!E[q].fPath)E[q].loaded=!0,Q-=1;else if(E[q].fOrigin==="p"||E[q].origin===3){if(zt=document.querySelectorAll('style[f-forigin="p"][f-family="'+E[q].fFamily+'"], style[f-origin="3"][f-family="'+E[q].fFamily+'"]'),zt.length>0&&(Ut=!1),Ut){var Gt=createTag("style");Gt.setAttribute("f-forigin",E[q].fOrigin),Gt.setAttribute("f-origin",E[q].origin),Gt.setAttribute("f-family",E[q].fFamily),Gt.type="text/css",Gt.innerText="@font-face {font-family: "+E[q].fFamily+"; font-style: normal; src: url('"+E[q].fPath+"');}",$.appendChild(Gt);}}else if(E[q].fOrigin==="g"||E[q].origin===1){for(zt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),qt=0;qt<zt.length;qt+=1)zt[qt].href.indexOf(E[q].fPath)!==-1&&(Ut=!1);if(Ut){var se=createTag("link");se.setAttribute("f-forigin",E[q].fOrigin),se.setAttribute("f-origin",E[q].origin),se.type="text/css",se.rel="stylesheet",se.href=E[q].fPath,document.body.appendChild(se);}}else if(E[q].fOrigin==="t"||E[q].origin===2){for(zt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),qt=0;qt<zt.length;qt+=1)E[q].fPath===zt[qt].src&&(Ut=!1);if(Ut){var he=createTag("link");he.setAttribute("f-forigin",E[q].fOrigin),he.setAttribute("f-origin",E[q].origin),he.setAttribute("rel","stylesheet"),he.setAttribute("href",E[q].fPath),$.appendChild(he);}}E[q].helper=g(E[q],$),E[q].cache={},this.fonts.push(E[q]);}Q===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function y(z){if(z){this.chars||(this.chars=[]);var $,E=z.length,q,nt=this.chars.length,Q;for($=0;$<E;$+=1){for(q=0,Q=!1;q<nt;)this.chars[q].style===z[$].style&&this.chars[q].fFamily===z[$].fFamily&&this.chars[q].ch===z[$].ch&&(Q=!0),q+=1;Q||(this.chars.push(z[$]),nt+=1);}}}function m(z,$,E){for(var q=0,nt=this.chars.length;q<nt;){if(this.chars[q].ch===z&&this.chars[q].style===$&&this.chars[q].fFamily===E)return this.chars[q];q+=1;}return (typeof z=="string"&&z.charCodeAt(0)!==13||!z)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",z,$,E)),e}function x(z,$,E){var q=this.getFontByName($),nt=z;if(!q.cache[nt]){var Q=q.helper;if(z===" "){var Ut=Q.measureText("|"+z+"|"),zt=Q.measureText("||");q.cache[nt]=(Ut-zt)/100;}else q.cache[nt]=Q.measureText(z)/100;}return q.cache[nt]*E}function w(z){for(var $=0,E=this.fonts.length;$<E;){if(this.fonts[$].fName===z)return this.fonts[$];$+=1;}return this.fonts[0]}function M(z){var $=0,E=z.charCodeAt(0);if(E>=55296&&E<=56319){var q=z.charCodeAt(1);q>=56320&&q<=57343&&($=(E-55296)*1024+q-56320+65536);}return $}function N(z,$){var E=z.toString(16)+$.toString(16);return v.indexOf(E)!==-1}function U(z){return z===h}function Y(z){return z===p}function dt(z){var $=M(z);return $>=c&&$<=_}function xt(z){return dt(z.substr(0,2))&&dt(z.substr(2,2))}function vt(z){return i.indexOf(z)!==-1}function bt(z,$){var E=M(z.substr($,2));if(E!==r)return !1;var q=0;for($+=2;q<5;){if(E=M(z.substr($,2)),E<a||E>o)return !1;q+=1,$+=2;}return M(z.substr($,2))===s}function It(){this.isLoaded=!0;}var ot=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);};ot.isModifier=N,ot.isZeroWidthJoiner=U,ot.isFlagEmoji=xt,ot.isRegionalCode=dt,ot.isCombinedCharacter=vt,ot.isRegionalFlag=bt,ot.isVariationSelector=Y,ot.BLACK_FLAG_CODE_POINT=r;var Tt={addChars:y,addFonts:A,getCharData:m,getFontByName:w,measureText:x,checkLoadedFonts:d,setIsLoaded:It};return ot.prototype=Tt,ot}();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,s=i.length,a;for(r=0;r<s;r+=1)a=new GroupEffect(i[r],e),this.effectElements.push(a);}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,s,a=this.data.ef;for(i=0;i<r;i+=1){switch(s=null,a[i].ty){case 0:s=new SliderEffect(a[i],e,this);break;case 1:s=new AngleEffect(a[i],e,this);break;case 2:s=new ColorEffect(a[i],e,this);break;case 3:s=new PointEffect(a[i],e,this);break;case 4:case 7:s=new CheckboxEffect(a[i],e,this);break;case 10:s=new LayerIndexEffect(a[i],e,this);break;case 11:s=new MaskIndexEffect(a[i],e,this);break;case 5:s=new EffectsManager(a[i],e);break;default:s=new NoValueEffect(a[i]);break}s&&this.effectElements.push(s);}};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"),s=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=a(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=s(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,s=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<s;){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,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==e&&(!r[a]||r[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(i.push(r[a]),r[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(t,s[a].parent,i):t.setHierarchy(i))),a+=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,s=this.elements.length;for(r=0;r<s;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 s=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s;}}},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 s,a=e.length,o;for(s=0;s<a;s+=1)o=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[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,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,p=this.masksProperties,h=0,c=[],_,v,u=createElementID(),S,d,g,A,y="clipPath",m="clip-path";for(s=0;s<a;s+=1)if((p[s].mode!=="a"&&p[s].mode!=="n"||p[s].inv||p[s].o.k!==100||p[s].o.x)&&(y="mask",m="mask"),(p[s].mode==="s"||p[s].mode==="i")&&h===0?(S=createNS("rect"),S.setAttribute("fill","#ffffff"),S.setAttribute("width",this.element.comp.data.w||0),S.setAttribute("height",this.element.comp.data.h||0),c.push(S)):S=null,o=createNS("path"),p[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),elem:o,lastPath:""},r.appendChild(o);else {h+=1,o.setAttribute("fill",p[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var x;if(p[s].x.k!==0?(y="mask",m="mask",A=PropertyFactory.getProp(this.element,p[s].x,0,null,this.element),x=createElementID(),d=createNS("filter"),d.setAttribute("id",x),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),d.appendChild(g),r.appendChild(d),o.setAttribute("stroke",p[s].mode==="s"?"#000000":"#ffffff")):(g=null,A=null),this.storedData[s]={elem:o,x:A,expan:g,lastPath:"",lastOperator:"",filterId:x,lastRadius:0},p[s].mode==="i"){v=c.length;var w=createNS("g");for(_=0;_<v;_+=1)w.appendChild(c[_]);var M=createNS("mask");M.setAttribute("mask-type","alpha"),M.setAttribute("id",u+"_"+h),M.appendChild(o),r.appendChild(M),w.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+h+")"),c.length=0,c.push(w);}else c.push(o);p[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),invRect:S},this.viewData[s].prop.k||this.drawPath(p[s],this.viewData[s].prop.v,this.viewData[s]);}for(this.maskElement=createNS(y),a=c.length,s=0;s<a;s+=1)this.maskElement.appendChild(c[s]);h>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),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 s=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+")")),s.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],s,a;for(a=e._length,s=1;s<a;s+=1)r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[s][0]+","+e.i[s][1]+" "+e.v[s][0]+","+e.v[s][1];if(e.c&&a>1&&(r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var o="";i.elem&&(e.c&&(o=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",o)),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,s){var a=createNS("filter");return a.setAttribute("id",r),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}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,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var p;for(e=0;e<r;e+=1){p=null;var h=t.data.ef[e].ty;if(registeredEffects[h]){var c=registeredEffects[h].effect;p=new c(a,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects[h].countsAsEffect&&(o+=1);}p&&this.filters.push(p);}o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),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 s=createElementID();if(i.setAttribute("id",s),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")");}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,s,a;if(t===1||t===3){var o=createNS("mask");o.setAttribute("id",e),o.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(s),this.globalData.defs.appendChild(o),!featureSupport.maskType&&t===1&&(o.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(s),o.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+i+")"));}else if(t===2){var p=createNS("mask");p.setAttribute("id",e),p.setAttribute("mask-type","alpha");var h=createNS("g");p.appendChild(h),i=createElementID(),r=filtersFactory.createFilter(i);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var _=createNS("feFuncA");_.setAttribute("type","table"),_.setAttribute("tableValues","1.0 0.0"),c.appendChild(_),this.globalData.defs.appendChild(r);var v=createNS("rect");v.setAttribute("width",this.comp.data.w),v.setAttribute("height",this.comp.data.h),v.setAttribute("x","0"),v.setAttribute("y","0"),v.setAttribute("fill","#ffffff"),v.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),h.appendChild(v),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(s),featureSupport.maskType||(p.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),h.appendChild(v),a.appendChild(this.layerElement),h.appendChild(a)),this.globalData.defs.appendChild(p);}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,s=t.length;r<s;){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 s,a=e.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:e[s].n,p:o};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,s;i<r;){if(s=Math.abs(t[i*4]-t[e*4+i*2]),s>.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,s;for(e=0;e<i;e+=1)r=e%4===0?100:255,s=Math.round(this.prop.v[e]*r),this.c[e]!==s&&(this.c[e]=s,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,s=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==s&&(this.o[e-this.data.p*4]=s,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 s=[],a,o,p;for(p=e.g.p*4,o=0;o<p;o+=4)a=createNS("stop"),r.appendChild(a),s.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=s;},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var p=createElementID(),h=createElementID();a.setAttribute("id",h);var c=createNS(t.t===1?"linearGradient":"radialGradient");c.setAttribute("id",p),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var _=this.stops;for(r=t.g.p*4;r<s;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),_.push(i);o.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+p+")"),t.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=_,this.maskId=h,e.msElem=o;}},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 s=t.o,a=t.i,o=t.v,p,h=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(p=1;p<e;p+=1)h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[p][0],a[p][1])+" "+r.applyToPointStringified(o[p][0],o[p][1]);return i&&e&&(h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(v){switch(v.ty){case"fl":return p;case"gf":return c;case"gs":return h;case"st":return _;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(v,u,S){(S||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(S||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS());}function a(){}function o(v,u,S){var d,g,A,y,m,x,w=u.styles.length,M=u.lvl,N,U,Y,dt;for(x=0;x<w;x+=1){if(y=u.sh._mdf||S,u.styles[x].lvl<M){for(U=e.reset(),Y=M-u.styles[x].lvl,dt=u.transformers.length-1;!y&&Y>0;)y=u.transformers[dt].mProps._mdf||y,Y-=1,dt-=1;if(y)for(Y=M-u.styles[x].lvl,dt=u.transformers.length-1;Y>0;)U.multiply(u.transformers[dt].mProps.v),Y-=1,dt-=1;}else U=t;if(N=u.sh.paths,g=N._length,y){for(A="",d=0;d<g;d+=1)m=N.shapes[d],m&&m._length&&(A+=buildShapeString(m,m._length,m.c,U));u.caches[x]=A;}else A=u.caches[x];u.styles[x].d+=v.hd===!0?"":A,u.styles[x]._mdf=y||u.styles[x]._mdf;}}function p(v,u,S){var d=u.style;(u.c._mdf||S)&&d.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("fill-opacity",u.o.v);}function h(v,u,S){c(v,u,S),_(v,u,S);}function c(v,u,S){var d=u.gf,g=u.g._hasOpacity,A=u.s.v,y=u.e.v;if(u.o._mdf||S){var m=v.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(m,u.o.v);}if(u.s._mdf||S){var x=v.t===1?"x1":"cx",w=x==="x1"?"y1":"cy";d.setAttribute(x,A[0]),d.setAttribute(w,A[1]),g&&!u.g._collapsable&&(u.of.setAttribute(x,A[0]),u.of.setAttribute(w,A[1]));}var M,N,U,Y;if(u.g._cmdf||S){M=u.cst;var dt=u.g.c;for(U=M.length,N=0;N<U;N+=1)Y=M[N],Y.setAttribute("offset",dt[N*4]+"%"),Y.setAttribute("stop-color","rgb("+dt[N*4+1]+","+dt[N*4+2]+","+dt[N*4+3]+")");}if(g&&(u.g._omdf||S)){var xt=u.g.o;for(u.g._collapsable?M=u.cst:M=u.ost,U=M.length,N=0;N<U;N+=1)Y=M[N],u.g._collapsable||Y.setAttribute("offset",xt[N*2]+"%"),Y.setAttribute("stop-opacity",xt[N*2+1]);}if(v.t===1)(u.e._mdf||S)&&(d.setAttribute("x2",y[0]),d.setAttribute("y2",y[1]),g&&!u.g._collapsable&&(u.of.setAttribute("x2",y[0]),u.of.setAttribute("y2",y[1])));else {var vt;if((u.s._mdf||u.e._mdf||S)&&(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)),d.setAttribute("r",vt),g&&!u.g._collapsable&&u.of.setAttribute("r",vt)),u.e._mdf||u.h._mdf||u.a._mdf||S){vt||(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)));var bt=Math.atan2(y[1]-A[1],y[0]-A[0]),It=u.h.v;It>=1?It=.99:It<=-1&&(It=-.99);var ot=vt*It,Tt=Math.cos(bt+u.a.v)*ot+A[0],z=Math.sin(bt+u.a.v)*ot+A[1];d.setAttribute("fx",Tt),d.setAttribute("fy",z),g&&!u.g._collapsable&&(u.of.setAttribute("fx",Tt),u.of.setAttribute("fy",z));}}}function _(v,u,S){var d=u.style,g=u.d;g&&(g._mdf||S)&&g.dashStr&&(d.pElem.setAttribute("stroke-dasharray",g.dashStr),d.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),u.c&&(u.c._mdf||S)&&d.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||S)&&(d.pElem.setAttribute("stroke-width",u.w.v),d.msElem&&d.msElem.setAttribute("stroke-width",u.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,s=this.stylesList.length,a,o=[],p=!1;for(r=0;r<s;r+=1){for(a=this.stylesList[r],p=!1,o.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(a)!==-1&&(o.push(i),p=i._isAnimated||p);o.length>1&&p&&this.setShapesAsAnimated(o);}},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),s=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 a=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"));}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return (t.ty==="st"||t.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),t.lj===1&&s.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.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 s=ShapePropertyFactory.getShapeProp(this,t,r,this),a=new SVGShapeData(e,i,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},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,s,a,o){var p=[].concat(a),h,c=t.length-1,_,v,u=[],S=[],d,g,A;for(h=c;h>=0;h-=1){if(A=this.searchProcessedElement(t[h]),A?e[h]=i[A-1]:t[h]._render=o,t[h].ty==="fl"||t[h].ty==="st"||t[h].ty==="gf"||t[h].ty==="gs"||t[h].ty==="no")A?e[h].style.closed=!1:e[h]=this.createStyleElement(t[h],s),t[h]._render&&e[h].style.pElem.parentNode!==r&&r.appendChild(e[h].style.pElem),u.push(e[h].style);else if(t[h].ty==="gr"){if(!A)e[h]=this.createGroupElement(t[h]);else for(v=e[h].it.length,_=0;_<v;_+=1)e[h].prevViewData[_]=e[h].it[_];this.searchShapes(t[h].it,e[h].it,e[h].prevViewData,e[h].gr,s+1,p,o),t[h]._render&&e[h].gr.parentNode!==r&&r.appendChild(e[h].gr);}else t[h].ty==="tr"?(A||(e[h]=this.createTransformElement(t[h],r)),d=e[h].transform,p.push(d)):t[h].ty==="sh"||t[h].ty==="rc"||t[h].ty==="el"||t[h].ty==="sr"?(A||(e[h]=this.createShapeElement(t[h],p,s)),this.setElementStyles(e[h])):t[h].ty==="tm"||t[h].ty==="rd"||t[h].ty==="ms"||t[h].ty==="pb"||t[h].ty==="zz"||t[h].ty==="op"?(A?(g=e[h],g.closed=!1):(g=ShapeModifiers.getModifier(t[h].ty),g.init(this,t[h]),e[h]=g,this.shapeModifiers.push(g)),S.push(g)):t[h].ty==="rp"&&(A?(g=e[h],g.closed=!0):(g=ShapeModifiers.getModifier(t[h].ty),e[h]=g,g.init(this,t,h,e),this.shapeModifiers.push(g),o=!1),S.push(g));this.addProcessedElement(t[h],h+1);}for(c=u.length,h=0;h<c;h+=1)u[h].closed=!0;for(c=S.length,h=0;h<c;h+=1)S[h].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,s,a){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0};}LetterProps.prototype.update=function(t,e,i,r,s,a){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 o=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,o=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};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,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(r=0;r<s;r+=1)i!==this.keysIndex?a=this.effectsSequence[r](a,a.t):a=this.effectsSequence[r](this.currentData,a.t);e!==a&&this.setCurrentData(a),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,s,a,o=!1,p=!1,h="";i<r;)o=p,p=!1,s=t.charCodeAt(i),h=t.charAt(i),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(t,i)?h=t.substr(i,14):(a=t.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(h=t.substr(i,2),o=!0):FontManager.isFlagEmoji(t.substr(i,4))?h=t.substr(i,4):h=t.substr(i,2))):s>56319?(a=t.charCodeAt(i+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,p=!0),o?(e[e.length-1]+=h,o=!1):e.push(h),i+=h.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],s,a,o,p=0,h,c=i.m.g,_=0,v=0,u=0,S=[],d=0,g=0,A,y,m=e.getFontByName(t.f),x,w=0,M=getFontProperties(m);t.fWeight=M.weight,t.fStyle=M.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var N=t.tr/1e3*t.finalSize,U;if(t.sz)for(var Y=!0,dt=t.sz[0],xt=t.sz[1],vt,bt;Y;){bt=this.buildFinalText(t.t),vt=0,d=0,a=bt.length,N=t.tr/1e3*t.finalSize;var It=-1;for(s=0;s<a;s+=1)U=bt[s].charCodeAt(0),o=!1,bt[s]===" "?It=s:(U===13||U===3)&&(d=0,o=!0,vt+=t.finalLineHeight||t.finalSize*1.2),e.chars?(x=e.getCharData(bt[s],m.fStyle,m.fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(bt[s],t.f,t.finalSize),d+w>dt&&bt[s]!==" "?(It===-1?a+=1:s=It,vt+=t.finalLineHeight||t.finalSize*1.2,bt.splice(s,It===s?1:0,"\r"),It=-1,d=0):(d+=w,d+=N);vt+=m.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&xt<vt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=bt,a=t.finalText.length,Y=!1);}d=-N,w=0;var ot=0,Tt;for(s=0;s<a;s+=1)if(o=!1,Tt=t.finalText[s],U=Tt.charCodeAt(0),U===13||U===3?(ot=0,S.push(d),g=d>g?d:g,d=-2*N,h="",o=!0,u+=1):h=Tt,e.chars?(x=e.getCharData(Tt,m.fStyle,e.getFontByName(t.f).fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(h,t.f,t.finalSize),Tt===" "?ot+=w+N:(d+=w+N+ot,ot=0),r.push({l:w,an:w,add:_,n:o,anIndexes:[],val:h,line:u,animatorJustifyOffset:0}),c==2){if(_+=w,h===""||h===" "||s===a-1){for((h===""||h===" ")&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;p+=1,_=0;}}else if(c==3){if(_+=w,h===""||s===a-1){for(h===""&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;_=0,p+=1;}}else r[p].ind=p,r[p].extra=0,p+=1;if(t.l=r,g=d>g?d:g,S.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=g,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0;}t.lineWidths=S;var z=i.a,$,E;y=z.length;var q,nt,Q=[];for(A=0;A<y;A+=1){for($=z[A],$.a.sc&&(t.strokeColorAnim=!0),$.a.sw&&(t.strokeWidthAnim=!0),($.a.fc||$.a.fh||$.a.fs||$.a.fb)&&(t.fillColorAnim=!0),nt=0,q=$.s.b,s=0;s<a;s+=1)E=r[s],E.anIndexes[A]=nt,(q==1&&E.val!==""||q==2&&E.val!==""&&E.val!==" "||q==3&&(E.n||E.val==" "||s==a-1)||q==4&&(E.n||s==a-1))&&($.s.rn===1&&Q.push(nt),nt+=1);i.a[A].s.totalChars=nt;var Ut=-1,zt;if($.s.rn===1)for(s=0;s<a;s+=1)E=r[s],Ut!=E.anIndexes[A]&&(Ut=E.anIndexes[A],zt=Q.splice(Math.floor(Math.random()*Q.length),1)[0]),E.anIndexes[A]=zt;}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=m.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(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue();}r.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,p=0,h=1,c=1;this.ne.v>0?o=this.ne.v/100:p=-this.ne.v/100,this.xe.v>0?h=1-this.xe.v/100:c=1+this.xe.v/100;var _=BezierFactory.getBezierEasing(o,p,h,c).get,v=0,u=this.finalS,S=this.finalE,d=this.data.sh;if(d===2)S===u?v=a>=S?1:0:v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===3)S===u?v=a>=S?0:1:v=1-t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===4)S===u?v=0:(v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v<.5?v*=2:v=1-2*(v-.5)),v=_(v);else if(d===5){if(S===u)v=0;else {var g=S-u;a=e(t(0,a+.5-u),S-u);var A=-g/2+a,y=g/2;v=Math.sqrt(1-A*A/(y*y));}v=_(v);}else d===6?(S===u?v=0:(a=e(t(0,a+.5-u),S-u),v=(1+Math.cos(Math.PI+Math.PI*2*a/(S-u)))/2),v=_(v)):(a>=i(u)&&(a-u<0?v=t(0,e(e(S,1)-(u-a),1)):v=t(0,e(S-a,1))),v=_(v));if(this.sm.v!==100){var m=this.sm.v*.01;m===0&&(m=1e-8);var x=.5-m*.5;v<x?v=0:(v=(v-x)/m,v>1&&(v=1));}return v*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,p=this.o.v/o,h=this.s.v/o+p,c=this.e.v/o+p;if(h>c){var _=h;h=c,c=_;}this.finalS=h,this.finalE=c;}},extendPrototype([DynamicPropertyContainer],r);function s(a,o,p){return new r(a,o)}return {getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,i):r,rx:a.rx?s(t,a.rx,0,degToRads,i):r,ry:a.ry?s(t,a.ry,0,degToRads,i):r,sk:a.sk?s(t,a.sk,0,degToRads,i):r,sa:a.sa?s(t,a.sa,0,degToRads,i):r,s:a.s?s(t,a.s,1,.01,i):r,a:a.a?s(t,a.a,1,0,i):r,o:a.o?s(t,a.o,0,.01,i):r,p:a.p?s(t,a.p,1,0,i):r,sw:a.sw?s(t,a.sw,0,0,i):r,sc:a.sc?s(t,a.sc,1,0,i):r,fc:a.fc?s(t,a.fc,1,0,i):r,fh:a.fh?s(t,a.fh,0,0,i):r,fs:a.fs?s(t,a.fs,0,.01,i):r,fb:a.fb?s(t,a.fb,0,.01,i):r,t:a.t?s(t,a.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,s=this._textData,a=this.mHelper,o=this._renderType,p=this.renderedLetters.length,h,c,_,v,u=t.l,S,d,g,A,y,m,x,w,M,N,U,Y,dt,xt,vt;if(this._hasMaskedPath){if(vt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var bt=vt.v;this._pathData.r.v&&(bt=bt.reverse()),S={tLength:0,segments:[]},v=bt._length-1;var It;for(Y=0,_=0;_<v;_+=1)It=bez.buildBezierData(bt.v[_],bt.v[_+1],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[_+1][0]-bt.v[_+1][0],bt.i[_+1][1]-bt.v[_+1][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength;_=v,vt.v.c&&(It=bez.buildBezierData(bt.v[_],bt.v[0],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[0][0]-bt.v[0][0],bt.i[0][1]-bt.v[0][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength),this._pathData.pi=S;}if(S=this._pathData.pi,d=this._pathData.f.v,x=0,m=1,A=0,y=!0,N=S.segments,d<0&&vt.v.c)for(S.tLength<Math.abs(d)&&(d=-Math.abs(d)%S.tLength),x=N.length-1,M=N[x].points,m=M.length-1;d<0;)d+=M[m].partialLength,m-=1,m<0&&(x-=1,M=N[x].points,m=M.length-1);M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength;}v=u.length,h=0,c=0;var ot=t.finalSize*1.2*.714,Tt=!0,z,$,E,q,nt;q=r.length;var Q,Ut=-1,zt,qt,Gt,se=d,he=x,le=m,Se=-1,Pe,Jt,de,Xt,Wt,ze,Ke,We,Le="",Re=this.defaultPropsArray,Oe;if(t.j===2||t.j===1){var be=0,re=0,Nt=t.j===2?-.5:-1,ae=0,ne=!0;for(_=0;_<v;_+=1)if(u[_].n){for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;be=0,ne=!0;}else {for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&(ne&&t.j===2&&(re+=z.t.v*Nt),$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?be+=z.t.v*Q[0]*Nt:be+=z.t.v*Q*Nt);ne=!1;}for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;}for(_=0;_<v;_+=1){if(a.reset(),Pe=1,u[_].n)h=0,c+=t.yOffset,c+=Tt?1:0,d=se,Tt=!1,this._hasMaskedPath&&(x=he,m=le,M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength,A=0),Le="",We="",ze="",Oe="",Re=this.defaultPropsArray;else {if(this._hasMaskedPath){if(Se!==u[_].line){switch(t.j){case 1:d+=Y-t.lineWidths[u[_].line];break;case 2:d+=(Y-t.lineWidths[u[_].line])/2;break}Se=u[_].line;}Ut!==u[_].ind&&(u[Ut]&&(d+=u[Ut].extra),d+=u[_].an/2,Ut=u[_].ind),d+=i[0]*u[_].an*.005;var ke=0;for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.p.v[0]*Q[0]:ke+=z.p.v[0]*Q),z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.a.v[0]*Q[0]:ke+=z.a.v[0]*Q);for(y=!0,this._pathData.a.v&&(d=u[0].an*.5+(Y-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*Ut/(v-1),d+=this._pathData.f.v);y;)A+U>=d+ke||!M?(dt=(d+ke-A)/g.partialLength,qt=w.point[0]+(g.point[0]-w.point[0])*dt,Gt=w.point[1]+(g.point[1]-w.point[1])*dt,a.translate(-i[0]*u[_].an*.005,-(i[1]*ot)*.01),y=!1):M&&(A+=g.partialLength,m+=1,m>=M.length&&(m=0,x+=1,N[x]?M=N[x].points:vt.v.c?(m=0,x=0,M=N[x].points):(A-=g.partialLength,M=null)),M&&(w=g,g=M[m],U=g.partialLength));zt=u[_].an/2-u[_].add,a.translate(-zt,0,0);}else zt=u[_].an/2-u[_].add,a.translate(-zt,0,0),a.translate(-i[0]*u[_].an*.005,-i[1]*ot*.01,0);for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),(h!==0||t.j!==0)&&(this._hasMaskedPath?Q.length?d+=z.t.v*Q[0]:d+=z.t.v*Q:Q.length?h+=z.t.v*Q[0]:h+=z.t.v*Q));for(t.strokeWidthAnim&&(de=t.sw||0),t.strokeColorAnim&&(t.sc?Jt=[t.sc[0],t.sc[1],t.sc[2]]:Jt=[0,0,0]),t.fillColorAnim&&t.fc&&(Xt=[t.fc[0],t.fc[1],t.fc[2]]),E=0;E<q;E+=1)z=r[E].a,z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.translate(-z.a.v[0]*Q[0],-z.a.v[1]*Q[1],z.a.v[2]*Q[2]):a.translate(-z.a.v[0]*Q,-z.a.v[1]*Q,z.a.v[2]*Q));for(E=0;E<q;E+=1)z=r[E].a,z.s.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.scale(1+(z.s.v[0]-1)*Q[0],1+(z.s.v[1]-1)*Q[1],1):a.scale(1+(z.s.v[0]-1)*Q,1+(z.s.v[1]-1)*Q,1));for(E=0;E<q;E+=1){if(z=r[E].a,$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),z.sk.propType&&(Q.length?a.skewFromAxis(-z.sk.v*Q[0],z.sa.v*Q[1]):a.skewFromAxis(-z.sk.v*Q,z.sa.v*Q)),z.r.propType&&(Q.length?a.rotateZ(-z.r.v*Q[2]):a.rotateZ(-z.r.v*Q)),z.ry.propType&&(Q.length?a.rotateY(z.ry.v*Q[1]):a.rotateY(z.ry.v*Q)),z.rx.propType&&(Q.length?a.rotateX(z.rx.v*Q[0]):a.rotateX(z.rx.v*Q)),z.o.propType&&(Q.length?Pe+=(z.o.v*Q[0]-Pe)*Q[0]:Pe+=(z.o.v*Q-Pe)*Q),t.strokeWidthAnim&&z.sw.propType&&(Q.length?de+=z.sw.v*Q[0]:de+=z.sw.v*Q),t.strokeColorAnim&&z.sc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q[0]:Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q;if(t.fillColorAnim&&t.fc){if(z.fc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q[0]:Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q;z.fh.propType&&(Q.length?Xt=addHueToRGB(Xt,z.fh.v*Q[0]):Xt=addHueToRGB(Xt,z.fh.v*Q)),z.fs.propType&&(Q.length?Xt=addSaturationToRGB(Xt,z.fs.v*Q[0]):Xt=addSaturationToRGB(Xt,z.fs.v*Q)),z.fb.propType&&(Q.length?Xt=addBrightnessToRGB(Xt,z.fb.v*Q[0]):Xt=addBrightnessToRGB(Xt,z.fb.v*Q));}}for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),this._hasMaskedPath?Q.length?a.translate(0,z.p.v[1]*Q[0],-z.p.v[2]*Q[1]):a.translate(0,z.p.v[1]*Q,-z.p.v[2]*Q):Q.length?a.translate(z.p.v[0]*Q[0],z.p.v[1]*Q[1],-z.p.v[2]*Q[2]):a.translate(z.p.v[0]*Q,z.p.v[1]*Q,-z.p.v[2]*Q));if(t.strokeWidthAnim&&(ze=de<0?0:de),t.strokeColorAnim&&(Ke="rgb("+Math.round(Jt[0]*255)+","+Math.round(Jt[1]*255)+","+Math.round(Jt[2]*255)+")"),t.fillColorAnim&&t.fc&&(We="rgb("+Math.round(Xt[0]*255)+","+Math.round(Xt[1]*255)+","+Math.round(Xt[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,i[1]*ot*.01+c,0),this._pathData.p.v){xt=(g.point[1]-w.point[1])/(g.point[0]-w.point[0]);var $e=Math.atan(xt)*180/Math.PI;g.point[0]<w.point[0]&&($e+=180),a.rotate(-$e*Math.PI/180);}a.translate(qt,Gt,0),d-=i[0]*u[_].an*.005,u[_+1]&&Ut!==u[_+1].ind&&(d+=u[_].an/2,d+=t.tr*.001*t.finalSize);}else {switch(a.translate(h,c,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line]),0,0);break;case 2:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(zt,0,0),a.translate(i[0]*u[_].an*.005,i[1]*ot*.01,0),h+=u[_].l+t.tr*.001*t.finalSize;}o==="html"?Le=a.toCSS():o==="svg"?Le=a.to2dCSS():Re=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Oe=Pe;}p<=_?(nt=new LetterProps(Oe,ze,Ke,We,Le,Re),this.renderedLetters.push(nt),p+=1,this.lettersChangedFlag=!0):(nt=this.renderedLetters[_],this.lettersChangedFlag=nt.update(Oe,ze,Ke,We,Le,Re)||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,s,a="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(s=e[i].ks.k,a+=buildShapeString(s,s.i.length,!0,t));return a},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,s){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,s,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=[],s="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(s),s=""):s+=t[e],e+=1;return r.push(s),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 s=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s);}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],p=!!this.globalData.fontManager.chars;e=o.length;var h,c=this.mHelper,_="",v=this.data.singleShape,u=0,S=0,d=!0,g=i.tr*.001*i.finalSize;if(v&&!p&&!i.sz){var A=this.textContainer,y="start";switch(i.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}A.setAttribute("text-anchor",y),A.setAttribute("letter-spacing",g);var m=this.buildTextContents(i.finalText);for(e=m.length,S=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)h=this.textSpans[t].span||createNS("tspan"),h.textContent=m[t],h.setAttribute("x",0),h.setAttribute("y",S),h.style.display="inherit",A.appendChild(h),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=h,S+=i.finalLineHeight;this.layerElement.appendChild(A);}else {var x=this.textSpans.length,w;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!p||!v||t===0){if(h=x>t?this.textSpans[t].span:createNS(p?"g":"text"),x<=t){if(h.setAttribute("stroke-linecap","butt"),h.setAttribute("stroke-linejoin","round"),h.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=h,p){var M=createNS("g");h.appendChild(M),this.textSpans[t].childSpan=M;}this.textSpans[t].span=h,this.layerElement.appendChild(h);}h.style.display="inherit";}if(c.reset(),v&&(o[t].n&&(u=-g,S+=i.yOffset,S+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(i,c,o[t].line,u,S),u+=o[t].l||0,u+=g),p){w=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var N;if(w.t===1)N=new SVGCompElement(w.data,this.globalData,this);else {var U=emptyShapeData;w.data&&w.data.shapes&&(U=this.buildShapeData(w.data,i.finalSize)),N=new SVGShapeElement(U,this.globalData,this);}if(this.textSpans[t].glyph){var Y=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(Y.layerElement),Y.destroy();}this.textSpans[t].glyph=N,N._debug=!0,N.prepareFrame(0),N.renderFrame(),this.textSpans[t].childSpan.appendChild(N.layerElement),w.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")");}else v&&h.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),h.textContent=o[t].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}v&&h&&h.setAttribute("d",_);}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 s,a,o;for(t=0;t<e;t+=1)r[t].n||(s=i[t],a=this.textSpans[t].span,o=this.textSpans[t].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.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 s=createElementID();i.setAttribute("id",s),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),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 s=e[r],a=s.getMatte(this.layers[t].tt);i.setMatte(a);}}}},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,s=this.elements[r],a=s.getMatte(this.layers[e].tt);t.setMatte(a);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,s;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&(s=this.elements[r].getBaseElement()),r+=1;s?this.layerElement.insertBefore(i,s):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"),s=createElementID();r.setAttribute("id",s),r.textContent=e.title,this.svgElement.appendChild(r),i+=s;}if(e&&e.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=e.description,this.svgElement.appendChild(a),i+=" "+o;}i&&this.svgElement.setAttribute("aria-labelledby",i);var p=createNS("defs");this.svgElement.appendChild(p);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,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:p,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,s=t.layers.length;r<s;){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,s=6,a=52,o="random",p=e.pow(r,s),h=e.pow(2,a),c=h*2,_=r-1;function u(x,w,M){var N=[];w=w===!0?{entropy:!0}:w||{};var U=A(g(w.entropy?[x,m(t)]:x===null?y():x,3),N),Y=new S(N),dt=function(){for(var xt=Y.g(s),vt=p,bt=0;xt<h;)xt=(xt+bt)*r,vt*=r,bt=Y.g(1);for(;xt>=c;)xt/=2,vt/=2,bt>>>=1;return (xt+bt)/vt};return dt.int32=function(){return Y.g(4)|0},dt.quick=function(){return Y.g(4)/4294967296},dt.double=dt,A(m(Y.S),t),(w.pass||M||function(xt,vt,bt,It){return It&&(It.S&&d(It,Y),xt.state=function(){return d(Y,{})}),bt?(e[o]=xt,vt):xt})(dt,U,"global"in w?w.global:this==e,w.state)}e["seed"+o]=u;function S(x){var w,M=x.length,N=this,U=0,Y=N.i=N.j=0,dt=N.S=[];for(M||(x=[M++]);U<r;)dt[U]=U++;for(U=0;U<r;U++)dt[U]=dt[Y=_&Y+x[U%M]+(w=dt[U])],dt[Y]=w;N.g=function(xt){for(var vt,bt=0,It=N.i,ot=N.j,Tt=N.S;xt--;)vt=Tt[It=_&It+1],bt=bt*r+Tt[_&(Tt[It]=Tt[ot=_&ot+vt])+(Tt[ot]=vt)];return N.i=It,N.j=ot,bt};}function d(x,w){return w.i=x.i,w.j=x.j,w.S=x.S.slice(),w}function g(x,w){var M=[],N=_typeof$2(x),U;if(w&&N=="object")for(U in x)try{M.push(g(x[U],w-1));}catch{}return M.length?M:N=="string"?x:x+"\0"}function A(x,w){for(var M=x+"",N,U=0;U<M.length;)w[_&U]=_&(N^=w[_&U]*19)+M.charCodeAt(U++);return m(w)}function y(){try{var x=new Uint8Array(r);return (i.crypto||i.msCrypto).getRandomValues(x),m(x)}catch{var w=i.navigator,M=w&&w.plugins;return [+new Date,i,M,i.screen,m(t)]}}function m(x){return String.fromCharCode.apply(0,x)}A(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,s=[];for(i=0;i<r;i+=1)s[i]=-t[i];return s}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]+e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]-e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]*e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t*e[a];return s}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]/e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t/e[a];return s}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),s=0;for(i=0;i<r;i+=1)s+=Math.pow(e[i]-t[i],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],s=Math.max(e,i,r),a=Math.min(e,i,r),o,p,h=(s+a)/2;if(s===a)o=0,p=0;else {var c=s-a;switch(p=h>.5?c/(2-s-a):c/(s+a),s){case e:o=(i-r)/c+(i<r?6:0);break;case i:o=(r-e)/c+2;break;case r:o=(e-i)/c+4;break}o/=6;}return [o,p,h,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],s,a,o;if(i===0)s=r,o=r,a=r;else {var p=r<.5?r*(1+i):r+i-r*i,h=2*r-p;s=hue2rgb(h,p,e+1/3),a=hue2rgb(h,p,e),o=hue2rgb(h,p,e-1/3);}return [s,a,o,t[3]]}function linear(t,e,i,r,s){if((r===void 0||s===void 0)&&(r=e,s=i,e=0,i=1),i<e){var a=i;i=e,e=a;}if(t<=e)return r;if(t>=i)return s;var o=i===e?0:(t-e)/(i-e);if(!r.length)return r+(s-r)*o;var p,h=r.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=r[p]+(s[p]-r[p])*o;return c}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 s=createTypedArray("float32",r),a=BMMath.random();for(i=0;i<r;i+=1)s[i]=t[i]+a*(e[i]-t[i]);return s}t===void 0&&(t=0);var o=BMMath.random();return t+o*(e-t)}function createPath(t,e,i,r){var s,a=t.length,o=shapePool.newElement();o.setPathData(!!r,a);var p=[0,0],h,c;for(s=0;s<a;s+=1)h=e&&e[s]?e[s]:p,c=i&&i[s]?i[s]:p,o.setTripleAt(t[s][0],t[s][1],c[0]+t[s][0],c[1]+t[s][1],h[0]+t[s][0],h[1]+t[s][1],s,!0);return o}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,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);e=5;var p=Math.floor(time*e);for(r=0,s=0;r<p;){for(s=0;s<a;s+=1)o[s]+=-i+i*2*BMMath.random();r+=1;}var h=time*e,c=h-Math.floor(h),_=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)_[s]=this.pv[s]+o[s]+(-i+i*2*BMMath.random())*c;return _}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}.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,s=-Math.atan2(i[1],i[2])/degToRads;return [s,r,0]}function easeOut(t,e,i,r,s){return applyEase(easeOutBez,t,e,i,r,s)}function easeIn(t,e,i,r,s){return applyEase(easeInBez,t,e,i,r,s)}function ease(t,e,i,r,s){return applyEase(easeInOutBez,t,e,i,r,s)}function applyEase(t,e,i,r,s,a){s===void 0?(s=i,a=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var o=t(e);if($bm_isInstanceOfArray(s)){var p,h=s.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=(a[p]-s[p])*o+s[p];return c}return (a-s)*o+s}function nearestKey(t){var e,i=data.k.length,r,s;if(!data.k.length||typeof data.k[0]=="number")r=0,s=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,s=data.k[0].t;else {for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,s=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,s=data.k[e+1].t):(r=e+1,s=data.k[e].t);break}r===-1&&(r=e+1,s=data.k[e].t);}var a={};return a.index=r,a.time=s/elem.comp.globalData.frameRate,a}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 s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=s.length,i=0;i<r;i+=1)e[i]=s[i],e.value[i]=s[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,s=[];function a(){r+=1;}function o(){r-=1,r===0&&h();}function p(c){s.indexOf(c)===-1&&s.push(c);}function h(){var c,_=s.length;for(c=0;c<_;c+=1)s[c].release();s.length=0;}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=p;}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),s,a=i.viewData.length;for(s=0;s<a;s+=1)r[s]=new t(i.viewData[s],i.masksProperties[s]);var o=function(p){for(s=0;s<a;){if(i.masksProperties[s].nm===p)return r[s];s+=1;}return null};return o};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(o,p,h){Object.defineProperty(o,"velocity",{get:function(){return p.getVelocityAtTime(p.comp.currentFrame)}}),o.numKeys=p.keyframes?p.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var _="";"s"in p.keyframes[c-1]?_=p.keyframes[c-1].s:"e"in p.keyframes[c-2]?_=p.keyframes[c-2].e:_=p.keyframes[c-2].s;var v=h==="unidimensional"?new Number(_):Object.assign({},_);return v.time=p.keyframes[c-1].t/p.elem.comp.globalData.frameRate,v.value=h==="unidimensional"?_[0]:_,v},o.valueAtTime=p.getValueAtTime,o.speedAtTime=p.getSpeedAtTime,o.velocityAtTime=p.getVelocityAtTime,o.propertyGroup=p.propertyGroup;}function r(o){(!o||!("pv"in o))&&(o=t);var p=1/o.mult,h=o.pv*p,c=new Number(h);return c.value=h,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),h=o.v*p,c.value!==h&&(c=new Number(h),c.value=h,i(c,o,"unidimensional")),c}}function s(o){(!o||!("pv"in o))&&(o=e);var p=1/o.mult,h=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",h),_=createTypedArray("float32",h);return c.value=_,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var v=0;v<h;v+=1)_[v]=o.v[v]*p,c[v]=_[v];return c}}function a(){return t}return function(o){return o?o.propType==="unidimensional"?r(o):s(o):a}}(),TransformExpressionInterface=function(){return function(t){function e(o){switch(o){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,s,a;return t.p?a=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[i(),r(),s?s():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(c){var _=new Matrix;if(c!==void 0){var v=this._elem.finalTransform.mProp.getValueAtTime(c);v.clone(_);}else {var u=this._elem.finalTransform.mProp;u.applyToMatrix(_);}return _}function e(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.applyPoint(v,c)}function i(c,_){var v=this.getMatrix(_);return this.applyPoint(v,c)}function r(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.invertPoint(v,c)}function s(c,_){var v=this.getMatrix(_);return this.invertPoint(v,c)}function a(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.applyToPointArray(_[0],_[1],_[2]||0)}function o(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.inversePoint(_)}function p(c){var _=new Matrix;if(_.reset(),this._elem.finalTransform.mProp.applyToMatrix(_),this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(_);return _.inversePoint(c)}return _.inversePoint(c)}function h(){return [1,1,1,1]}return function(c){var _;function v(g){S.mask=new MaskManagerInterface(g,c);}function u(g){S.effect=g;}function S(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return S.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return _;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return S.effect;case"ADBE Text Properties":return S.textInterface;default:return null}}S.getMatrix=t,S.invertPoint=o,S.applyPoint=a,S.toWorld=i,S.toWorldVec=e,S.fromWorld=s,S.fromWorldVec=r,S.toComp=i,S.fromComp=p,S.sampleImage=h,S.sourceRectAtTime=c.sourceRectAtTime.bind(c),S._elem=c,_=TransformExpressionInterface(c.finalTransform.mProp);var d=getDescriptor(_,"anchorPoint");return Object.defineProperties(S,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(_,"rotation"),scale:getDescriptor(_,"scale"),position:getDescriptor(_,"position"),opacity:getDescriptor(_,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return _}},active:{get:function(){return c.isInRange}}}),S.startTime=c.data.st,S.index=c.data.ind,S.source=c.data.refId,S.height=c.data.ty===0?c.data.h:100,S.width=c.data.ty===0?c.data.w:100,S.inPoint=c.data.ip/c.comp.globalData.frameRate,S.outPoint=c.data.op/c.comp.globalData.frameRate,S._name=c.data.nm,S.registerMaskInterface=v,S.registerEffectsInterface=u,S}}(),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(s){return s=s===void 0?1:s,s<=0?i:e(s-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(s,a){if(s.effectsManager){var o=[],p=s.data.ef,h,c=s.effectsManager.effectElements.length;for(h=0;h<c;h+=1)o.push(i(p[h],s.effectsManager.effectElements[h],a,s));var _=s.data.ef||[],v=function(u){for(h=0,c=_.length;h<c;){if(u===_[h].nm||u===_[h].mn||u===_[h].ix)return o[h];h+=1;}return null};return Object.defineProperty(v,"numProperties",{get:function(){return _.length}}),v}return null}function i(s,a,o,p){function h(S){for(var d=s.ef,g=0,A=d.length;g<A;){if(S===d[g].nm||S===d[g].mn||S===d[g].ix)return d[g].ty===5?_[g]:_[g]();g+=1;}throw new Error}var c=propertyGroupFactory(h,o),_=[],v,u=s.ef.length;for(v=0;v<u;v+=1)s.ef[v].ty===5?_.push(i(s.ef[v],a.effectElements[v],a.effectElements[v].propertyGroup,p)):_.push(r(a.effectElements[v],s.ef[v].ty,p,c));return s.mn==="ADBE Color Control"&&Object.defineProperty(h,"color",{get:function(){return _[0]()}}),Object.defineProperties(h,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:c}}),h.enabled=s.en!==0,h.active=h.enabled,h}function r(s,a,o,p){var h=ExpressionPropertyInterface(s.p);function c(){return a===10?o.comp.compInterface(s.p.v):h()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",p)),c}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function s(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?s.path:null}var a=propertyGroupFactory(s,i);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(s,{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}}),s}}(),ShapeExpressionInterface=function(){function t(d,g,A){var y=[],m,x=d?d.length:0;for(m=0;m<x;m+=1)d[m].ty==="gr"?y.push(i(d[m],g[m],A)):d[m].ty==="fl"?y.push(r(d[m],g[m],A)):d[m].ty==="st"?y.push(o(d[m],g[m],A)):d[m].ty==="tm"?y.push(p(d[m],g[m],A)):d[m].ty==="tr"||(d[m].ty==="el"?y.push(c(d[m],g[m],A)):d[m].ty==="sr"?y.push(_(d[m],g[m],A)):d[m].ty==="sh"?y.push(ShapePathInterface(d[m],g[m],A)):d[m].ty==="rc"?y.push(v(d[m],g[m],A)):d[m].ty==="rd"?y.push(u(d[m],g[m],A)):d[m].ty==="rp"?y.push(S(d[m],g[m],A)):d[m].ty==="gf"?y.push(s(d[m],g[m],A)):y.push(a(d[m],g[m])));return y}function e(d,g,A){var y,m=function(w){for(var M=0,N=y.length;M<N;){if(y[M]._name===w||y[M].mn===w||y[M].propertyIndex===w||y[M].ix===w||y[M].ind===w)return y[M];M+=1;}return typeof w=="number"?y[w-1]:null};m.propertyGroup=propertyGroupFactory(m,A),y=t(d.it,g.it,m.propertyGroup),m.numProperties=y.length;var x=h(d.it[d.it.length-1],g.it[g.it.length-1],m.propertyGroup);return m.transform=x,m.propertyIndex=d.cix,m._name=d.nm,m}function i(d,g,A){var y=function(w){switch(w){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,A);var m=e(d,g,y.propertyGroup),x=h(d.it[d.it.length-1],g.it[g.it.length-1],y.propertyGroup);return y.content=m,y.transform=x,Object.defineProperty(y,"_name",{get:function(){return d.nm}}),y.numProperties=d.np,y.propertyIndex=d.ix,y.nm=d.nm,y.mn=d.mn,y}function r(d,g,A){function y(m){return m==="Color"||m==="color"?y.color:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function s(d,g,A){function y(m){return m==="Start Point"||m==="start point"?y.startPoint:m==="End Point"||m==="end point"?y.endPoint:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return "a"}},_name:{value:d.nm},mn:{value:d.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",A)),g.e.setGroupProperty(PropertyInterface("End Point",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function a(){function d(){return null}return d}function o(d,g,A){var y=propertyGroupFactory(U,A),m=propertyGroupFactory(N,y);function x(Y){Object.defineProperty(N,d.d[Y].nm,{get:ExpressionPropertyInterface(g.d.dataProps[Y].p)});}var w,M=d.d?d.d.length:0,N={};for(w=0;w<M;w+=1)x(w),g.d.dataProps[w].p.setGroupProperty(m);function U(Y){return Y==="Color"||Y==="color"?U.color:Y==="Opacity"||Y==="opacity"?U.opacity:Y==="Stroke Width"||Y==="stroke width"?U.strokeWidth:null}return Object.defineProperties(U,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return N}},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",y)),g.o.setGroupProperty(PropertyInterface("Opacity",y)),g.w.setGroupProperty(PropertyInterface("Stroke Width",y)),U}function p(d,g,A){function y(x){return x===d.e.ix||x==="End"||x==="end"?y.end:x===d.s.ix?y.start:x===d.o.ix?y.offset:null}var m=propertyGroupFactory(y,A);return y.propertyIndex=d.ix,g.s.setGroupProperty(PropertyInterface("Start",m)),g.e.setGroupProperty(PropertyInterface("End",m)),g.o.setGroupProperty(PropertyInterface("Offset",m)),y.propertyIndex=d.ix,y.propertyGroup=A,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm}}),y.mn=d.mn,y}function h(d,g,A){function y(x){return d.a.ix===x||x==="Anchor Point"?y.anchorPoint:d.o.ix===x||x==="Opacity"?y.opacity:d.p.ix===x||x==="Position"?y.position:d.r.ix===x||x==="Rotation"||x==="ADBE Vector Rotation"?y.rotation:d.s.ix===x||x==="Scale"?y.scale:d.sk&&d.sk.ix===x||x==="Skew"?y.skew:d.sa&&d.sa.ix===x||x==="Skew Axis"?y.skewAxis:null}var m=propertyGroupFactory(y,A);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",m)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",m)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",m)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",m)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",m)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",m)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",m))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",m)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:d.nm}}),y.ty="tr",y.mn=d.mn,y.propertyGroup=A,y}function c(d,g,A){function y(w){return d.p.ix===w?y.position:d.s.ix===w?y.size:null}var m=propertyGroupFactory(y,A);y.propertyIndex=d.ix;var x=g.sh.ty==="tm"?g.sh.prop:g.sh;return x.s.setGroupProperty(PropertyInterface("Size",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(x.s)},position:{get:ExpressionPropertyInterface(x.p)},_name:{value:d.nm}}),y.mn=d.mn,y}function _(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.rotation:d.pt.ix===w?y.points:d.or.ix===w||w==="ADBE Vector Star Outer Radius"?y.outerRadius:d.os.ix===w?y.outerRoundness:d.ir&&(d.ir.ix===w||w==="ADBE Vector Star Inner Radius")?y.innerRadius:d.is&&d.is.ix===w?y.innerRoundness:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.or.setGroupProperty(PropertyInterface("Outer Radius",m)),x.os.setGroupProperty(PropertyInterface("Outer Roundness",m)),x.pt.setGroupProperty(PropertyInterface("Points",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),d.ir&&(x.ir.setGroupProperty(PropertyInterface("Inner Radius",m)),x.is.setGroupProperty(PropertyInterface("Inner Roundness",m))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},rotation:{get:ExpressionPropertyInterface(x.r)},points:{get:ExpressionPropertyInterface(x.pt)},outerRadius:{get:ExpressionPropertyInterface(x.or)},outerRoundness:{get:ExpressionPropertyInterface(x.os)},innerRadius:{get:ExpressionPropertyInterface(x.ir)},innerRoundness:{get:ExpressionPropertyInterface(x.is)},_name:{value:d.nm}}),y.mn=d.mn,y}function v(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.roundness:d.s.ix===w||w==="Size"||w==="ADBE Vector Rect Size"?y.size:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.p.setGroupProperty(PropertyInterface("Position",m)),x.s.setGroupProperty(PropertyInterface("Size",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},roundness:{get:ExpressionPropertyInterface(x.r)},size:{get:ExpressionPropertyInterface(x.s)},_name:{value:d.nm}}),y.mn=d.mn,y}function u(d,g,A){function y(w){return d.r.ix===w||w==="Round Corners 1"?y.radius:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.rd.setGroupProperty(PropertyInterface("Radius",m)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(x.rd)},_name:{value:d.nm}}),y.mn=d.mn,y}function S(d,g,A){function y(w){return d.c.ix===w||w==="Copies"?y.copies:d.o.ix===w||w==="Offset"?y.offset:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.c.setGroupProperty(PropertyInterface("Copies",m)),x.o.setGroupProperty(PropertyInterface("Offset",m)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(x.c)},offset:{get:ExpressionPropertyInterface(x.o)},_name:{value:d.nm}}),y.mn=d.mn,y}return function(d,g,A){var y;function m(w){if(typeof w=="number")return w=w===void 0?1:w,w===0?A:y[w-1];for(var M=0,N=y.length;M<N;){if(y[M]._name===w)return y[M];M+=1;}return null}function x(){return A}return m.propertyGroup=propertyGroupFactory(m,x),y=t(d,g,m.propertyGroup),m.numProperties=y.length,m._name="Contents",m}}(),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="",s=i.getFootageData();function a(){return r="",s=i.getFootageData(),o}function o(p){if(s[p])return r=p,s=s[p],_typeof(s)==="object"?o:s;var h=p.indexOf(r);if(h!==-1){var c=parseInt(p.substr(h+r.length),10);return s=s[c],_typeof(s)==="object"?o:s}return ""}return a},e=function(i){function r(s){return s==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(s){return s==="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(o,p,h){p.x&&(h.k=!0,h.x=!0,h.initiateExpression=ExpressionManager.initiateExpression,h.effectsSequence.push(h.initiateExpression(o,p,h).bind(h)));}function e(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var p=-.01,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_=0;if(h.length){var v;for(v=0;v<h.length;v+=1)_+=Math.pow(c[v]-h[v],2);_=Math.sqrt(_)*100;}else _=0;return _}function r(o){if(this.vel!==void 0)return this.vel;var p=-.001,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_;if(h.length){_=createTypedArray("float32",h.length);var v;for(v=0;v<h.length;v+=1)_[v]=(c[v]-h[v])/p;}else _=(c-h)/p;return _}function s(){return this.pv}function a(o){this.propertyGroup=o;}return {searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function t(u,S,d){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[A.length-1].t;if(g<=y)return this.pv;var m,x;d?(S?m=Math.abs(y-this.elem.comp.globalData.frameRate*S):m=Math.max(0,y-this.elem.data.ip),x=y-m):((!S||S>A.length-1)&&(S=A.length-1),x=A[A.length-1-S].t,m=y-x);var w,M,N;if(u==="pingpong"){var U=Math.floor((g-x)/m);if(U%2!==0)return this.getValueAtTime((m-(g-x)%m+x)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(x/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),xt=this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0),vt=Math.floor((g-x)/m);if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=(dt[w]-Y[w])*vt+xt[w];return N}return (dt-Y)*vt+xt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*((g-y)/this.comp.globalData.frameRate)/5e-4;return N}return bt+(bt-It)*((g-y)/.001)}return this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0)}function e(u,S,d){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[0].t;if(g>=y)return this.pv;var m,x;d?(S?m=Math.abs(this.elem.comp.globalData.frameRate*S):m=Math.max(0,this.elem.data.op-y),x=y+m):((!S||S>A.length-1)&&(S=A.length-1),x=A[S].t,m=x-y);var w,M,N;if(u==="pingpong"){var U=Math.floor((y-g)/m);if(U%2===0)return this.getValueAtTime(((y-g)%m+y)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(y/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(x/this.comp.globalData.frameRate,0),xt=this.getValueAtTime((m-(y-g)%m+y)/this.comp.globalData.frameRate,0),vt=Math.floor((y-g)/m)+1;if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=xt[w]-(dt[w]-Y[w])*vt;return N}return xt-(dt-Y)*vt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*(y-g)/.001;return N}return bt+(bt-It)*(y-g)/.001}return this.getValueAtTime((m-((y-g)%m+y))/this.comp.globalData.frameRate,0)}function i(u,S){if(!this.k)return this.pv;if(u=(u||.4)*.5,S=Math.floor(S||5),S<=1)return this.pv;var d=this.comp.renderedFrame/this.comp.globalData.frameRate,g=d-u,A=d+u,y=S>1?(A-g)/(S-1):1,m=0,x=0,w;this.pv.length?w=createTypedArray("float32",this.pv.length):w=0;for(var M;m<S;){if(M=this.getValueAtTime(g+m*y),this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]+=M[x];else w+=M;m+=1;}if(this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]/=S;else w/=S;return w}function r(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var S=this._transformCachingAtTime.v;if(S.cloneFromProps(this.pre.props),this.appliedTransformations<1){var d=this.a.getValueAtTime(u);S.translate(-d[0]*this.a.mult,-d[1]*this.a.mult,d[2]*this.a.mult);}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(u);S.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult);}if(this.sk&&this.appliedTransformations<3){var A=this.sk.getValueAtTime(u),y=this.sa.getValueAtTime(u);S.skewFromAxis(-A*this.sk.mult,y*this.sa.mult);}if(this.r&&this.appliedTransformations<4){var m=this.r.getValueAtTime(u);S.rotate(-m*this.r.mult);}else if(!this.r&&this.appliedTransformations<4){var x=this.rz.getValueAtTime(u),w=this.ry.getValueAtTime(u),M=this.rx.getValueAtTime(u),N=this.or.getValueAtTime(u);S.rotateZ(-x*this.rz.mult).rotateY(w*this.ry.mult).rotateX(M*this.rx.mult).rotateZ(-N[2]*this.or.mult).rotateY(N[1]*this.or.mult).rotateX(N[0]*this.or.mult);}if(this.data.p&&this.data.p.s){var U=this.px.getValueAtTime(u),Y=this.py.getValueAtTime(u);if(this.data.p.z){var dt=this.pz.getValueAtTime(u);S.translate(U*this.px.mult,Y*this.py.mult,-dt*this.pz.mult);}else S.translate(U*this.px.mult,Y*this.py.mult,0);}else {var xt=this.p.getValueAtTime(u);S.translate(xt[0]*this.p.mult,xt[1]*this.p.mult,-xt[2]*this.p.mult);}return S}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,S,d){var g=a(u,S,d);return g.dynamicProperties.length?g.getValueAtTime=r.bind(g):g.getValueAtTime=s.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(u,S,d,g,A){var y=o(u,S,d,g,A);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=t,y.loopIn=e,y.smooth=i,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=S.a===1?S.k.length:0,y.propertyIndex=S.ix;var m=0;return d!==0&&(m=createTypedArray("float32",S.a===1?S.k[0].s.length:S.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:m},expressionHelpers.searchExpressions(u,S,y),y.k&&A.addDynamicProperty(y),y};function p(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var h=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function _(){}_.prototype={vertices:function(u,S){this.k&&this.getValue();var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0));var g,A=d._length,y=d[u],m=d.v,x=createSizedArray(A);for(g=0;g<A;g+=1)u==="i"||u==="o"?x[g]=[y[g][0]-m[g][0],y[g][1]-m[g][1]]:x[g]=[y[g][0],y[g][1]];return x},points:function(u){return this.vertices("v",u)},inTangents:function(u){return this.vertices("i",u)},outTangents:function(u){return this.vertices("o",u)},isClosed:function(){return this.v.c},pointOnPath:function(u,S){var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(d));for(var g=this._segmentsLength,A=g.lengths,y=g.totalLength*u,m=0,x=A.length,w=0,M;m<x;){if(w+A[m].addedLength>y){var N=m,U=d.c&&m===x-1?0:m+1,Y=(y-w)/A[m].addedLength;M=bez.getPointInSegment(d.v[N],d.v[U],d.o[N],d.i[U],Y,A[m]);break}else w+=A[m].addedLength;m+=1;}return M||(M=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),M},vectorOnPath:function(u,S,d){u==1?u=this.v.c:u==0&&(u=.999);var g=this.pointOnPath(u,S),A=this.pointOnPath(u+.001,S),y=A[0]-g[0],m=A[1]-g[1],x=Math.sqrt(Math.pow(y,2)+Math.pow(m,2));if(x===0)return [0,0];var w=d==="tangent"?[y/x,m/x]:[-m/x,y/x];return w},tangentOnPath:function(u,S){return this.vectorOnPath(u,S,"tangent")},normalOnPath:function(u,S){return this.vectorOnPath(u,S,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([_],h),extendPrototype([_],c),c.prototype.getValueAtTime=p,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var v=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,S,d,g,A){var y=v(u,S,d,g,A);return y.propertyIndex=S.ix,y.lock=!1,d===3?expressionHelpers.searchExpressions(u,S.pt,y):d===4&&expressionHelpers.searchExpressions(u,S.ks,y),y.k&&u.addDynamicProperty(y),y};}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 s={};return this.copyData(s,e),s.t=r.toString(),s.__complete=!1,s}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 s,a;for(a=0;a<i.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",i[a]),r.appendChild(s),r.appendChild(s);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,s){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",r+"_tint_1"),t.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",r+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(r,[s,r+"_tint_1",r+"_tint_2"]);t.appendChild(o);}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 s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",r),t.appendChild(s),this.matrixFilter=s;}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,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,s=r+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),r;r<s;r+=1)e=createNS("path"),i.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(i),this.elem.globalData.defs.appendChild(a);var p=createNS("g");for(p.setAttribute("mask","url("+getLocationHref()+"#"+o+")");t[0];)p.appendChild(t[0]);this.elem.layerElement.appendChild(p),this.masker=a,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,s;for(e=0;e<i;e+=1)if(this.paths[e].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[e].m],s=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&s.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 a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,p=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,h=s.getTotalLength();a="0 0 0 "+h*o+" ";var c=h*(p-o),_=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,v=Math.floor(c/_),u;for(u=0;u<v;u+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+h*10+" 0 0";}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",a);}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 S=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(S[0]*255)+","+bmFloor(S[1]*255)+","+bmFloor(S[2]*255)+")");}};function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var p=createNS("feFuncG");p.setAttribute("type","table"),a.appendChild(p),this.feFuncG=p;var h=createNS("feFuncB");h.setAttribute("type","table"),a.appendChild(h),this.feFuncB=h,t.appendChild(a);}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,s=r[0]+" "+i[0]+" "+e[0],a=r[1]+" "+i[1]+" "+e[1],o=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o);}};function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a));}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,s){for(var a=0,o=256,p,h=Math.min(t,e),c=Math.max(t,e),_=Array.call(null,{length:o}),v,u=0,S=s-r,d=e-t;a<=256;)p=a/256,p<=h?v=d<0?s:r:p>=c?v=d<0?r:s:v=r+S*Math.pow((p-t)/d,1/i),_[u]=v,u+=1,a+=256/(o-1);return _.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,s){var a=e.container.globalData.renderConfig.filterSize,o=e.data.fs||a;t.setAttribute("x",o.x||a.x),t.setAttribute("y",o.y||a.y),t.setAttribute("width",o.width||a.width),t.setAttribute("height",o.height||a.height),this.filterManager=e;var p=createNS("feGaussianBlur");p.setAttribute("in","SourceAlpha"),p.setAttribute("result",r+"_drop_shadow_1"),p.setAttribute("stdDeviation","0"),this.feGaussianBlur=p,t.appendChild(p);var h=createNS("feOffset");h.setAttribute("dx","25"),h.setAttribute("dy","0"),h.setAttribute("in",r+"_drop_shadow_1"),h.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=h,t.appendChild(h);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var _=createNS("feComposite");_.setAttribute("in",r+"_drop_shadow_3"),_.setAttribute("in2",r+"_drop_shadow_2"),_.setAttribute("operator","in"),_.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(_);var v=this.createMergeNode(r,[r+"_drop_shadow_4",s]);t.appendChild(v);}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,s=i*Math.cos(r),a=i*Math.sin(r);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a);}}};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,s=0,a=r.length;s<a&&r[s]!==t.layerElement;)s+=1;var o;s<=a-2&&(o=r[s+1]);var p=createNS("use");p.setAttribute("href","#"+e),o?i.insertBefore(p,o):i.appendChild(p);}},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 s=t.globalData.defs;s.appendChild(r);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(e,i),a.appendChild(e.layerElement),s.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),r.appendChild(o),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 s=createNS("feGaussianBlur");s.setAttribute("result",r),t.appendChild(s),this.feGaussianBlur=s;}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,s=r==3?0:i,a=r==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o);}};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,s=e[2].p.v===1,a=e[3].p.v,o=s?a:e[4].p.v,p=e[5].p.v,h=e[6].p.v,c=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-p*degToRads,(h+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});}),wg=kg();});var nc={};ia(nc,{default:()=>Ag});var Eg,Ag,oc=Ir(()=>{Fs();Eg=ce((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="",s=!1,a=-999999,o=function(n){s=!!n;},p=function(){return s},h=function(n){r=n;},c=function(){return r};function _(n){return document.createElement(n)}function v(n,f){var b,T=n.length,I;for(b=0;b<T;b+=1){I=n[b].prototype;for(var F in I)Object.prototype.hasOwnProperty.call(I,F)&&(f.prototype[F]=I[F]);}}function u(n){function f(){}return f.prototype=n,f}var S=function(){function n(f){this.audios=[],this.audioFactory=f,this._volume=1,this._isMuted=!1;}return n.prototype={addAudio:function(f){this.audios.push(f);},pause:function(){var f,b=this.audios.length;for(f=0;f<b;f+=1)this.audios[f].pause();},resume:function(){var f,b=this.audios.length;for(f=0;f<b;f+=1)this.audios[f].resume();},setRate:function(f){var b,T=this.audios.length;for(b=0;b<T;b+=1)this.audios[b].setRate(f);},createAudio:function(f){return this.audioFactory?this.audioFactory(f):window.Howl?new window.Howl({src:[f]}):{isPlaying:!1,play:function(){this.isPlaying=!0;},seek:function(){this.isPlaying=!1;},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(f){this.audioFactory=f;},setVolume:function(f){this._volume=f,this._updateVolume();},mute:function(){this._isMuted=!0,this._updateVolume();},unmute:function(){this._isMuted=!1,this._updateVolume();},getVolume:function(){return this._volume},_updateVolume:function(){var f,b=this.audios.length;for(f=0;f<b;f+=1)this.audios[f].volume(this._volume*(this._isMuted?0:1));}},function(){return new n}}(),d=function(){function n(b,T){var I=0,F=[],G;switch(b){case"int16":case"uint8c":G=1;break;default:G=1.1;break}for(I=0;I<T;I+=1)F.push(G);return F}function f(b,T){return b==="float32"?new Float32Array(T):b==="int16"?new Int16Array(T):b==="uint8c"?new Uint8ClampedArray(T):n(b,T)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?f:n}();function g(n){return Array.apply(null,{length:n})}var A=!0,y=null,m="",x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,M=Math.sqrt,N=Math.floor,U=Math.min,Y=150,dt=Math.PI/180,xt=.5519;function vt(n,f,b,T){this.type=n,this.currentTime=f,this.totalTime=b,this.direction=T<0?-1:1;}function bt(n,f){this.type=n,this.direction=f<0?-1:1;}function It(n,f,b,T){this.type=n,this.currentLoop=b,this.totalLoops=f,this.direction=T<0?-1:1;}function ot(n,f,b){this.type=n,this.firstFrame=f,this.totalFrames=b;}function Tt(n,f){this.type=n,this.target=f;}function z(n,f){this.type="renderFrameError",this.nativeError=n,this.currentTime=f;}function $(n){this.type="configError",this.nativeError=n;}var E=function(){var n=0;return function(){return n+=1,m+"__lottie_element_"+n}}();function q(n,f,b){var T,I,F,G,K,X,it,lt;switch(G=Math.floor(n*6),K=n*6-G,X=b*(1-f),it=b*(1-K*f),lt=b*(1-(1-K)*f),G%6){case 0:T=b,I=lt,F=X;break;case 1:T=it,I=b,F=X;break;case 2:T=X,I=b,F=lt;break;case 3:T=X,I=it,F=b;break;case 4:T=lt,I=X,F=b;break;case 5:T=b,I=X,F=it;break}return [T,I,F]}function nt(n,f,b){var T=Math.max(n,f,b),I=Math.min(n,f,b),F=T-I,G,K=T===0?0:F/T,X=T/255;switch(T){case I:G=0;break;case n:G=f-b+F*(f<b?6:0),G/=6*F;break;case f:G=b-n+F*2,G/=6*F;break;case b:G=n-f+F*4,G/=6*F;break}return [G,K,X]}function Q(n,f){var b=nt(n[0]*255,n[1]*255,n[2]*255);return b[1]+=f,b[1]>1?b[1]=1:b[1]<=0&&(b[1]=0),q(b[0],b[1],b[2])}function Ut(n,f){var b=nt(n[0]*255,n[1]*255,n[2]*255);return b[2]+=f,b[2]>1?b[2]=1:b[2]<0&&(b[2]=0),q(b[0],b[1],b[2])}function zt(n,f){var b=nt(n[0]*255,n[1]*255,n[2]*255);return b[0]+=f/360,b[0]>1?b[0]-=1:b[0]<0&&(b[0]+=1),q(b[0],b[1],b[2])}(function(){var n=[],f,b;for(f=0;f<256;f+=1)b=f.toString(16),n[f]=b.length===1?"0"+b:b;return function(T,I,F){return T<0&&(T=0),I<0&&(I=0),F<0&&(F=0),"#"+n[T]+n[I]+n[F]}})();var qt=function(n){A=!!n;},Gt=function(){return A},se=function(n){y=n;},he=function(){return y},le=function(n){Y=n;},Se=function(){return Y},Pe=function(n){m=n;};function Jt(n){return document.createElementNS(i,n)}function de(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?de=function(f){return typeof f}:de=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},de(n)}var Xt=function(){var n=1,f=[],b,T,I={onmessage:function(){},postMessage:function(H){b({data:H});}},F={postMessage:function(H){I.onmessage({data:H});}};function G(H){if(window.Worker&&window.Blob&&p()){var j=new Blob(["var _workerSelf = self; self.onmessage = ",H.toString()],{type:"text/javascript"}),W=URL.createObjectURL(j);return new Worker(W)}return b=H,I}function K(){T||(T=G(function(H){function j(){function R(Ft,wt){var St,At,ut=Ft.length,Dt,Zt,$t,xe;for(At=0;At<ut;At+=1)if(St=Ft[At],"ks"in St&&!St.completed){if(St.completed=!0,St.hasMask){var ge=St.masksProperties;for(Zt=ge.length,Dt=0;Dt<Zt;Dt+=1)if(ge[Dt].pt.k.i)mt(ge[Dt].pt.k);else for(xe=ge[Dt].pt.k.length,$t=0;$t<xe;$t+=1)ge[Dt].pt.k[$t].s&&mt(ge[Dt].pt.k[$t].s[0]),ge[Dt].pt.k[$t].e&&mt(ge[Dt].pt.k[$t].e[0]);}St.ty===0?(St.layers=Z(St.refId,wt),R(St.layers,wt)):St.ty===4?ct(St.shapes):St.ty===5&&ht(St);}}function rt(Ft,wt){if(Ft){var St=0,At=Ft.length;for(St=0;St<At;St+=1)Ft[St].t===1&&(Ft[St].data.layers=Z(Ft[St].data.refId,wt),R(Ft[St].data.layers,wt));}}function at(Ft,wt){for(var St=0,At=wt.length;St<At;){if(wt[St].id===Ft)return wt[St];St+=1;}return null}function Z(Ft,wt){var St=at(Ft,wt);return St?St.layers.__used?JSON.parse(JSON.stringify(St.layers)):(St.layers.__used=!0,St.layers):null}function ct(Ft){var wt,St=Ft.length,At,ut;for(wt=St-1;wt>=0;wt-=1)if(Ft[wt].ty==="sh")if(Ft[wt].ks.k.i)mt(Ft[wt].ks.k);else for(ut=Ft[wt].ks.k.length,At=0;At<ut;At+=1)Ft[wt].ks.k[At].s&&mt(Ft[wt].ks.k[At].s[0]),Ft[wt].ks.k[At].e&&mt(Ft[wt].ks.k[At].e[0]);else Ft[wt].ty==="gr"&&ct(Ft[wt].it);}function mt(Ft){var wt,St=Ft.i.length;for(wt=0;wt<St;wt+=1)Ft.i[wt][0]+=Ft.v[wt][0],Ft.i[wt][1]+=Ft.v[wt][1],Ft.o[wt][0]+=Ft.v[wt][0],Ft.o[wt][1]+=Ft.v[wt][1];}function Pt(Ft,wt){var St=wt?wt.split("."):[100,100,100];return Ft[0]>St[0]?!0:St[0]>Ft[0]?!1:Ft[1]>St[1]?!0:St[1]>Ft[1]?!1:Ft[2]>St[2]?!0:St[2]>Ft[2]?!1:null}var Rt=function(){var Ft=[4,4,14];function wt(At){var ut=At.t.d;At.t.d={k:[{s:ut,t:0}]};}function St(At){var ut,Dt=At.length;for(ut=0;ut<Dt;ut+=1)At[ut].ty===5&&wt(At[ut]);}return function(At){if(Pt(Ft,At.v)&&(St(At.layers),At.assets)){var ut,Dt=At.assets.length;for(ut=0;ut<Dt;ut+=1)At.assets[ut].layers&&St(At.assets[ut].layers);}}}(),jt=function(){var Ft=[4,7,99];return function(wt){if(wt.chars&&!Pt(Ft,wt.v)){var St,At=wt.chars.length;for(St=0;St<At;St+=1){var ut=wt.chars[St];ut.data&&ut.data.shapes&&(ct(ut.data.shapes),ut.data.ip=0,ut.data.op=99999,ut.data.st=0,ut.data.sr=1,ut.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}},wt.chars[St].t||(ut.data.shapes.push({ty:"no"}),ut.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"})));}}}}(),Lt=function(){var Ft=[5,7,15];function wt(At){var ut=At.t.p;typeof ut.a=="number"&&(ut.a={a:0,k:ut.a}),typeof ut.p=="number"&&(ut.p={a:0,k:ut.p}),typeof ut.r=="number"&&(ut.r={a:0,k:ut.r});}function St(At){var ut,Dt=At.length;for(ut=0;ut<Dt;ut+=1)At[ut].ty===5&&wt(At[ut]);}return function(At){if(Pt(Ft,At.v)&&(St(At.layers),At.assets)){var ut,Dt=At.assets.length;for(ut=0;ut<Dt;ut+=1)At.assets[ut].layers&&St(At.assets[ut].layers);}}}(),Kt=function(){var Ft=[4,1,9];function wt(At){var ut,Dt=At.length,Zt,$t;for(ut=0;ut<Dt;ut+=1)if(At[ut].ty==="gr")wt(At[ut].it);else if(At[ut].ty==="fl"||At[ut].ty==="st")if(At[ut].c.k&&At[ut].c.k[0].i)for($t=At[ut].c.k.length,Zt=0;Zt<$t;Zt+=1)At[ut].c.k[Zt].s&&(At[ut].c.k[Zt].s[0]/=255,At[ut].c.k[Zt].s[1]/=255,At[ut].c.k[Zt].s[2]/=255,At[ut].c.k[Zt].s[3]/=255),At[ut].c.k[Zt].e&&(At[ut].c.k[Zt].e[0]/=255,At[ut].c.k[Zt].e[1]/=255,At[ut].c.k[Zt].e[2]/=255,At[ut].c.k[Zt].e[3]/=255);else At[ut].c.k[0]/=255,At[ut].c.k[1]/=255,At[ut].c.k[2]/=255,At[ut].c.k[3]/=255;}function St(At){var ut,Dt=At.length;for(ut=0;ut<Dt;ut+=1)At[ut].ty===4&&wt(At[ut].shapes);}return function(At){if(Pt(Ft,At.v)&&(St(At.layers),At.assets)){var ut,Dt=At.assets.length;for(ut=0;ut<Dt;ut+=1)At.assets[ut].layers&&St(At.assets[ut].layers);}}}(),_t=function(){var Ft=[4,4,18];function wt(At){var ut,Dt=At.length,Zt,$t;for(ut=Dt-1;ut>=0;ut-=1)if(At[ut].ty==="sh")if(At[ut].ks.k.i)At[ut].ks.k.c=At[ut].closed;else for($t=At[ut].ks.k.length,Zt=0;Zt<$t;Zt+=1)At[ut].ks.k[Zt].s&&(At[ut].ks.k[Zt].s[0].c=At[ut].closed),At[ut].ks.k[Zt].e&&(At[ut].ks.k[Zt].e[0].c=At[ut].closed);else At[ut].ty==="gr"&&wt(At[ut].it);}function St(At){var ut,Dt,Zt=At.length,$t,xe,ge,Me;for(Dt=0;Dt<Zt;Dt+=1){if(ut=At[Dt],ut.hasMask){var we=ut.masksProperties;for(xe=we.length,$t=0;$t<xe;$t+=1)if(we[$t].pt.k.i)we[$t].pt.k.c=we[$t].cl;else for(Me=we[$t].pt.k.length,ge=0;ge<Me;ge+=1)we[$t].pt.k[ge].s&&(we[$t].pt.k[ge].s[0].c=we[$t].cl),we[$t].pt.k[ge].e&&(we[$t].pt.k[ge].e[0].c=we[$t].cl);}ut.ty===4&&wt(ut.shapes);}}return function(At){if(Pt(Ft,At.v)&&(St(At.layers),At.assets)){var ut,Dt=At.assets.length;for(ut=0;ut<Dt;ut+=1)At.assets[ut].layers&&St(At.assets[ut].layers);}}}();function Et(Ft){Ft.__complete||(Kt(Ft),Rt(Ft),jt(Ft),Lt(Ft),_t(Ft),R(Ft.layers,Ft.assets),rt(Ft.chars,Ft.assets),Ft.__complete=!0);}function ht(Ft){Ft.t.a.length===0&&"m"in Ft.t.p;}var Ct={};return Ct.completeData=Et,Ct.checkColors=Kt,Ct.checkChars=jt,Ct.checkPathProperties=Lt,Ct.checkShapes=_t,Ct.completeLayers=R,Ct}if(F.dataManager||(F.dataManager=j()),F.assetLoader||(F.assetLoader=function(){function R(at){var Z=at.getResponseHeader("content-type");return Z&&at.responseType==="json"&&Z.indexOf("json")!==-1||at.response&&de(at.response)==="object"?at.response:at.response&&typeof at.response=="string"?JSON.parse(at.response):at.responseText?JSON.parse(at.responseText):null}function rt(at,Z,ct,mt){var Pt,Rt=new XMLHttpRequest;try{Rt.responseType="json";}catch{}Rt.onreadystatechange=function(){if(Rt.readyState===4)if(Rt.status===200)Pt=R(Rt),ct(Pt);else try{Pt=R(Rt),ct(Pt);}catch(jt){mt&&mt(jt);}};try{Rt.open(["G","E","T"].join(""),at,!0);}catch{Rt.open(["G","E","T"].join(""),Z+"/"+at,!0);}Rt.send();}return {load:rt}}()),H.data.type==="loadAnimation")F.assetLoader.load(H.data.path,H.data.fullPath,function(R){F.dataManager.completeData(R),F.postMessage({id:H.data.id,payload:R,status:"success"});},function(){F.postMessage({id:H.data.id,status:"error"});});else if(H.data.type==="complete"){var W=H.data.animation;F.dataManager.completeData(W),F.postMessage({id:H.data.id,payload:W,status:"success"});}else H.data.type==="loadData"&&F.assetLoader.load(H.data.path,H.data.fullPath,function(R){F.postMessage({id:H.data.id,payload:R,status:"success"});},function(){F.postMessage({id:H.data.id,status:"error"});});}),T.onmessage=function(H){var j=H.data,W=j.id,R=f[W];f[W]=null,j.status==="success"?R.onComplete(j.payload):R.onError&&R.onError();});}function X(H,j){n+=1;var W="processId_"+n;return f[W]={onComplete:H,onError:j},W}function it(H,j,W){K();var R=X(j,W);T.postMessage({type:"loadAnimation",path:H,fullPath:window.location.origin+window.location.pathname,id:R});}function lt(H,j,W){K();var R=X(j,W);T.postMessage({type:"loadData",path:H,fullPath:window.location.origin+window.location.pathname,id:R});}function tt(H,j,W){K();var R=X(j,W);T.postMessage({type:"complete",animation:H,id:R});}return {loadAnimation:it,loadData:lt,completeAnimation:tt}}(),Wt=function(){var n=function(){var at=_("canvas");at.width=1,at.height=1;var Z=at.getContext("2d");return Z.fillStyle="rgba(0,0,0,0)",Z.fillRect(0,0,1,1),at}();function f(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function b(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function T(at,Z,ct){var mt="";if(at.e)mt=at.p;else if(Z){var Pt=at.p;Pt.indexOf("images/")!==-1&&(Pt=Pt.split("/")[1]),mt=Z+Pt;}else mt=ct,mt+=at.u?at.u:"",mt+=at.p;return mt}function I(at){var Z=0,ct=setInterval(function(){var mt=at.getBBox();(mt.width||Z>500)&&(this._imageLoaded(),clearInterval(ct)),Z+=1;}.bind(this),50);}function F(at){var Z=T(at,this.assetsPath,this.path),ct=Jt("image");x?this.testImageLoaded(ct):ct.addEventListener("load",this._imageLoaded,!1),ct.addEventListener("error",function(){mt.img=n,this._imageLoaded();}.bind(this),!1),ct.setAttributeNS("http://www.w3.org/1999/xlink","href",Z),this._elementHelper.append?this._elementHelper.append(ct):this._elementHelper.appendChild(ct);var mt={img:ct,assetData:at};return mt}function G(at){var Z=T(at,this.assetsPath,this.path),ct=_("img");ct.crossOrigin="anonymous",ct.addEventListener("load",this._imageLoaded,!1),ct.addEventListener("error",function(){mt.img=n,this._imageLoaded();}.bind(this),!1),ct.src=Z;var mt={img:ct,assetData:at};return mt}function K(at){var Z={assetData:at},ct=T(at,this.assetsPath,this.path);return Xt.loadData(ct,function(mt){Z.img=mt,this._footageLoaded();}.bind(this),function(){Z.img={},this._footageLoaded();}.bind(this)),Z}function X(at,Z){this.imagesLoadedCb=Z;var ct,mt=at.length;for(ct=0;ct<mt;ct+=1)at[ct].layers||(!at[ct].t||at[ct].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(at[ct]))):at[ct].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(at[ct]))));}function it(at){this.path=at||"";}function lt(at){this.assetsPath=at||"";}function tt(at){for(var Z=0,ct=this.images.length;Z<ct;){if(this.images[Z].assetData===at)return this.images[Z].img;Z+=1;}return null}function H(){this.imagesLoadedCb=null,this.images.length=0;}function j(){return this.totalImages===this.loadedAssets}function W(){return this.totalFootages===this.loadedFootagesCount}function R(at,Z){at==="svg"?(this._elementHelper=Z,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function rt(){this._imageLoaded=f.bind(this),this._footageLoaded=b.bind(this),this.testImageLoaded=I.bind(this),this.createFootageData=K.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return rt.prototype={loadAssets:X,setAssetsPath:lt,setPath:it,loadedImages:j,loadedFootages:W,destroy:H,getAsset:tt,createImgData:G,createImageData:F,imageLoaded:f,footageLoaded:b,setCacheType:R},rt}();function ze(){}ze.prototype={triggerEvent:function(n,f){if(this._cbs[n])for(var b=this._cbs[n],T=0;T<b.length;T+=1)b[T](f);},addEventListener:function(n,f){return this._cbs[n]||(this._cbs[n]=[]),this._cbs[n].push(f),function(){this.removeEventListener(n,f);}.bind(this)},removeEventListener:function(n,f){if(!f)this._cbs[n]=null;else if(this._cbs[n]){for(var b=0,T=this._cbs[n].length;b<T;)this._cbs[n][b]===f&&(this._cbs[n].splice(b,1),b-=1,T-=1),b+=1;this._cbs[n].length||(this._cbs[n]=null);}}};var Ke=function(){function n(f){for(var b=f.split(`\r
`),T={},I,F=0,G=0;G<b.length;G+=1)I=b[G].split(":"),I.length===2&&(T[I[0]]=I[1].trim(),F+=1);if(F===0)throw new Error;return T}return function(f){for(var b=[],T=0;T<f.length;T+=1){var I=f[T],F={time:I.tm,duration:I.dr};try{F.payload=JSON.parse(f[T].cm);}catch{try{F.payload=n(f[T].cm);}catch{F.payload={name:f[T].cm};}}b.push(F);}return b}}(),We=function(){function n(f){this.compositions.push(f);}return function(){function f(b){for(var T=0,I=this.compositions.length;T<I;){if(this.compositions[T].data&&this.compositions[T].data.nm===b)return this.compositions[T].prepareFrame&&this.compositions[T].data.xt&&this.compositions[T].prepareFrame(this.currentFrame),this.compositions[T].compInterface;T+=1;}return null}return f.compositions=[],f.currentFrame=0,f.registerComposition=n,f}}(),Le={},Re=function(n,f){Le[n]=f;};function Oe(n){return Le[n]}function be(){if(Le.canvas)return "canvas";for(var n in Le)if(Le[n])return n;return ""}function re(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?re=function(f){return typeof f}:re=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},re(n)}var Nt=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=E(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=Gt(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=We(),this.imagePreloader=new Wt,this.audioController=S(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new vt("drawnFrame",0,0,0),this.expressionsPlugin=he();};v([ze],Nt),Nt.prototype.setParams=function(n){(n.wrapper||n.container)&&(this.wrapper=n.wrapper||n.container);var f="svg";n.animType?f=n.animType:n.renderer&&(f=n.renderer);var b=Oe(f);this.renderer=new b(this,n.rendererSettings),this.imagePreloader.setCacheType(f,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=f,n.loop===""||n.loop===null||n.loop===void 0||n.loop===!0?this.loop=!0:n.loop===!1?this.loop=!1:this.loop=parseInt(n.loop,10),this.autoplay="autoplay"in n?n.autoplay:!0,this.name=n.name?n.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(n,"autoloadSegments")?n.autoloadSegments:!0,this.assetsPath=n.assetsPath,this.initialSegment=n.initialSegment,n.audioFactory&&this.audioController.setAudioFactory(n.audioFactory),n.animationData?this.setupAnimation(n.animationData):n.path&&(n.path.lastIndexOf("\\")!==-1?this.path=n.path.substr(0,n.path.lastIndexOf("\\")+1):this.path=n.path.substr(0,n.path.lastIndexOf("/")+1),this.fileName=n.path.substr(n.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),Xt.loadAnimation(n.path,this.configAnimation,this.onSetupError));},Nt.prototype.onSetupError=function(){this.trigger("data_failed");},Nt.prototype.setupAnimation=function(n){Xt.completeAnimation(n,this.configAnimation);},Nt.prototype.setData=function(n,f){f&&re(f)!=="object"&&(f=JSON.parse(f));var b={wrapper:n,animationData:f},T=n.attributes;b.path=T.getNamedItem("data-animation-path")?T.getNamedItem("data-animation-path").value:T.getNamedItem("data-bm-path")?T.getNamedItem("data-bm-path").value:T.getNamedItem("bm-path")?T.getNamedItem("bm-path").value:"",b.animType=T.getNamedItem("data-anim-type")?T.getNamedItem("data-anim-type").value:T.getNamedItem("data-bm-type")?T.getNamedItem("data-bm-type").value:T.getNamedItem("bm-type")?T.getNamedItem("bm-type").value:T.getNamedItem("data-bm-renderer")?T.getNamedItem("data-bm-renderer").value:T.getNamedItem("bm-renderer")?T.getNamedItem("bm-renderer").value:be()||"canvas";var I=T.getNamedItem("data-anim-loop")?T.getNamedItem("data-anim-loop").value:T.getNamedItem("data-bm-loop")?T.getNamedItem("data-bm-loop").value:T.getNamedItem("bm-loop")?T.getNamedItem("bm-loop").value:"";I==="false"?b.loop=!1:I==="true"?b.loop=!0:I!==""&&(b.loop=parseInt(I,10));var F=T.getNamedItem("data-anim-autoplay")?T.getNamedItem("data-anim-autoplay").value:T.getNamedItem("data-bm-autoplay")?T.getNamedItem("data-bm-autoplay").value:T.getNamedItem("bm-autoplay")?T.getNamedItem("bm-autoplay").value:!0;b.autoplay=F!=="false",b.name=T.getNamedItem("data-name")?T.getNamedItem("data-name").value:T.getNamedItem("data-bm-name")?T.getNamedItem("data-bm-name").value:T.getNamedItem("bm-name")?T.getNamedItem("bm-name").value:"";var G=T.getNamedItem("data-anim-prerender")?T.getNamedItem("data-anim-prerender").value:T.getNamedItem("data-bm-prerender")?T.getNamedItem("data-bm-prerender").value:T.getNamedItem("bm-prerender")?T.getNamedItem("bm-prerender").value:"";G==="false"&&(b.prerender=!1),b.path?this.setParams(b):this.trigger("destroy");},Nt.prototype.includeLayers=function(n){n.op>this.animationData.op&&(this.animationData.op=n.op,this.totalFrames=Math.floor(n.op-this.animationData.ip));var f=this.animationData.layers,b,T=f.length,I=n.layers,F,G=I.length;for(F=0;F<G;F+=1)for(b=0;b<T;){if(f[b].id===I[F].id){f[b]=I[F];break}b+=1;}if((n.chars||n.fonts)&&(this.renderer.globalData.fontManager.addChars(n.chars),this.renderer.globalData.fontManager.addFonts(n.fonts,this.renderer.globalData.defs)),n.assets)for(T=n.assets.length,b=0;b<T;b+=1)this.animationData.assets.push(n.assets[b]);this.animationData.__complete=!1,Xt.completeAnimation(this.animationData,this.onSegmentComplete);},Nt.prototype.onSegmentComplete=function(n){this.animationData=n;var f=he();f&&f.initExpressions(this),this.loadNextSegment();},Nt.prototype.loadNextSegment=function(){var n=this.animationData.segments;if(!n||n.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var f=n.shift();this.timeCompleted=f.time*this.frameRate;var b=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,Xt.loadData(b,this.includeLayers.bind(this),function(){this.trigger("data_failed");}.bind(this));},Nt.prototype.loadSegments=function(){var n=this.animationData.segments;n||(this.timeCompleted=this.totalFrames),this.loadNextSegment();},Nt.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded();},Nt.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this));},Nt.prototype.configAnimation=function(n){if(this.renderer)try{this.animationData=n,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(n),n.assets||(n.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(n.assets),this.markers=Ke(n.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause();}catch(f){this.triggerConfigError(f);}},Nt.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20));},Nt.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 n=he();n&&n.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded");}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play();}},Nt.prototype.resize=function(n,f){var b=typeof n=="number"?n:void 0,T=typeof f=="number"?f:void 0;this.renderer.updateContainerSize(b,T);},Nt.prototype.setSubframe=function(n){this.isSubframeEnabled=!!n;},Nt.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");},Nt.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame);}catch(n){this.triggerRenderFrameError(n);}},Nt.prototype.play=function(n){n&&this.name!==n||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")));},Nt.prototype.pause=function(n){n&&this.name!==n||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause());},Nt.prototype.togglePause=function(n){n&&this.name!==n||(this.isPaused===!0?this.play():this.pause());},Nt.prototype.stop=function(n){n&&this.name!==n||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0));},Nt.prototype.getMarkerData=function(n){for(var f,b=0;b<this.markers.length;b+=1)if(f=this.markers[b],f.payload&&f.payload.name===n)return f;return null},Nt.prototype.goToAndStop=function(n,f,b){if(!(b&&this.name!==b)){var T=Number(n);if(isNaN(T)){var I=this.getMarkerData(n);I&&this.goToAndStop(I.time,!0);}else f?this.setCurrentRawFrameValue(n):this.setCurrentRawFrameValue(n*this.frameModifier);this.pause();}},Nt.prototype.goToAndPlay=function(n,f,b){if(!(b&&this.name!==b)){var T=Number(n);if(isNaN(T)){var I=this.getMarkerData(n);I&&(I.duration?this.playSegments([I.time,I.time+I.duration],!0):this.goToAndStop(I.time,!0));}else this.goToAndStop(T,f,b);this.play();}},Nt.prototype.advanceTime=function(n){if(!(this.isPaused===!0||this.isLoaded===!1)){var f=this.currentRawFrame+n*this.frameModifier,b=!1;f>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(f>this.totalFrames?f%this.totalFrames:0)||(b=!0,f=this.totalFrames-1):f>=this.totalFrames?(this.playCount+=1,this.checkSegments(f%this.totalFrames)||(this.setCurrentRawFrameValue(f%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(f):f<0?this.checkSegments(f%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+f%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(b=!0,f=0)):this.setCurrentRawFrameValue(f),b&&(this.setCurrentRawFrameValue(f),this.pause(),this.trigger("complete"));}},Nt.prototype.adjustSegment=function(n,f){this.playCount=0,n[1]<n[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=n[0]-n[1],this.timeCompleted=this.totalFrames,this.firstFrame=n[1],this.setCurrentRawFrameValue(this.totalFrames-.001-f)):n[1]>n[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=n[1]-n[0],this.timeCompleted=this.totalFrames,this.firstFrame=n[0],this.setCurrentRawFrameValue(.001+f)),this.trigger("segmentStart");},Nt.prototype.setSegment=function(n,f){var b=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<n?b=n:this.currentRawFrame+this.firstFrame>f&&(b=f-n)),this.firstFrame=n,this.totalFrames=f-n,this.timeCompleted=this.totalFrames,b!==-1&&this.goToAndStop(b,!0);},Nt.prototype.playSegments=function(n,f){if(f&&(this.segments.length=0),re(n[0])==="object"){var b,T=n.length;for(b=0;b<T;b+=1)this.segments.push(n[b]);}else this.segments.push(n);this.segments.length&&f&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play();},Nt.prototype.resetSegments=function(n){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),n&&this.checkSegments(0);},Nt.prototype.checkSegments=function(n){return this.segments.length?(this.adjustSegment(this.segments.shift(),n),!0):!1},Nt.prototype.destroy=function(n){n&&this.name!==n||!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);},Nt.prototype.setCurrentRawFrameValue=function(n){this.currentRawFrame=n,this.gotoFrame();},Nt.prototype.setSpeed=function(n){this.playSpeed=n,this.updaFrameModifier();},Nt.prototype.setDirection=function(n){this.playDirection=n<0?-1:1,this.updaFrameModifier();},Nt.prototype.setLoop=function(n){this.loop=n;},Nt.prototype.setVolume=function(n,f){f&&this.name!==f||this.audioController.setVolume(n);},Nt.prototype.getVolume=function(){return this.audioController.getVolume()},Nt.prototype.mute=function(n){n&&this.name!==n||this.audioController.mute();},Nt.prototype.unmute=function(n){n&&this.name!==n||this.audioController.unmute();},Nt.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection);},Nt.prototype.getPath=function(){return this.path},Nt.prototype.getAssetsPath=function(n){var f="";if(n.e)f=n.p;else if(this.assetsPath){var b=n.p;b.indexOf("images/")!==-1&&(b=b.split("/")[1]),f=this.assetsPath+b;}else f=this.path,f+=n.u?n.u:"",f+=n.p;return f},Nt.prototype.getAssetData=function(n){for(var f=0,b=this.assets.length;f<b;){if(n===this.assets[f].id)return this.assets[f];f+=1;}return null},Nt.prototype.hide=function(){this.renderer.hide();},Nt.prototype.show=function(){this.renderer.show();},Nt.prototype.getDuration=function(n){return n?this.totalFrames:this.totalFrames/this.frameRate},Nt.prototype.updateDocumentData=function(n,f,b){try{var T=this.renderer.getElementByPath(n);T.updateDocumentData(f,b);}catch{}},Nt.prototype.trigger=function(n){if(this._cbs&&this._cbs[n])switch(n){case"enterFrame":this.triggerEvent(n,new vt(n,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(n,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(n,new It(n,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(n,new bt(n,this.frameMult));break;case"segmentStart":this.triggerEvent(n,new ot(n,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(n,new Tt(n,this));break;default:this.triggerEvent(n);}n==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new vt(n,this.currentFrame,this.totalFrames,this.frameMult)),n==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new It(n,this.loop,this.playCount,this.frameMult)),n==="complete"&&this.onComplete&&this.onComplete.call(this,new bt(n,this.frameMult)),n==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new ot(n,this.firstFrame,this.totalFrames)),n==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new Tt(n,this));},Nt.prototype.triggerRenderFrameError=function(n){var f=new z(n,this.currentFrame);this.triggerEvent("error",f),this.onError&&this.onError.call(this,f);},Nt.prototype.triggerConfigError=function(n){var f=new $(n,this.currentFrame);this.triggerEvent("error",f),this.onError&&this.onError.call(this,f);};var ae=function(){var n={},f=[],b=0,T=0,I=0,F=!0,G=!1;function K(St){for(var At=0,ut=St.target;At<T;)f[At].animation===ut&&(f.splice(At,1),At-=1,T-=1,ut.isPaused||tt()),At+=1;}function X(St,At){if(!St)return null;for(var ut=0;ut<T;){if(f[ut].elem===St&&f[ut].elem!==null)return f[ut].animation;ut+=1;}var Dt=new Nt;return H(Dt,St),Dt.setData(St,At),Dt}function it(){var St,At=f.length,ut=[];for(St=0;St<At;St+=1)ut.push(f[St].animation);return ut}function lt(){I+=1,_t();}function tt(){I-=1;}function H(St,At){St.addEventListener("destroy",K),St.addEventListener("_active",lt),St.addEventListener("_idle",tt),f.push({elem:At,animation:St}),T+=1;}function j(St){var At=new Nt;return H(At,null),At.setParams(St),At}function W(St,At){var ut;for(ut=0;ut<T;ut+=1)f[ut].animation.setSpeed(St,At);}function R(St,At){var ut;for(ut=0;ut<T;ut+=1)f[ut].animation.setDirection(St,At);}function rt(St){var At;for(At=0;At<T;At+=1)f[At].animation.play(St);}function at(St){var At=St-b,ut;for(ut=0;ut<T;ut+=1)f[ut].animation.advanceTime(At);b=St,I&&!G?window.requestAnimationFrame(at):F=!0;}function Z(St){b=St,window.requestAnimationFrame(at);}function ct(St){var At;for(At=0;At<T;At+=1)f[At].animation.pause(St);}function mt(St,At,ut){var Dt;for(Dt=0;Dt<T;Dt+=1)f[Dt].animation.goToAndStop(St,At,ut);}function Pt(St){var At;for(At=0;At<T;At+=1)f[At].animation.stop(St);}function Rt(St){var At;for(At=0;At<T;At+=1)f[At].animation.togglePause(St);}function jt(St){var At;for(At=T-1;At>=0;At-=1)f[At].animation.destroy(St);}function Lt(St,At,ut){var Dt=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Zt,$t=Dt.length;for(Zt=0;Zt<$t;Zt+=1)ut&&Dt[Zt].setAttribute("data-bm-type",ut),X(Dt[Zt],St);if(At&&$t===0){ut||(ut="svg");var xe=document.getElementsByTagName("body")[0];xe.innerText="";var ge=_("div");ge.style.width="100%",ge.style.height="100%",ge.setAttribute("data-bm-type",ut),xe.appendChild(ge),X(ge,St);}}function Kt(){var St;for(St=0;St<T;St+=1)f[St].animation.resize();}function _t(){!G&&I&&F&&(window.requestAnimationFrame(Z),F=!1);}function Et(){G=!0;}function ht(){G=!1,_t();}function Ct(St,At){var ut;for(ut=0;ut<T;ut+=1)f[ut].animation.setVolume(St,At);}function Ft(St){var At;for(At=0;At<T;At+=1)f[At].animation.mute(St);}function wt(St){var At;for(At=0;At<T;At+=1)f[At].animation.unmute(St);}return n.registerAnimation=X,n.loadAnimation=j,n.setSpeed=W,n.setDirection=R,n.play=rt,n.pause=ct,n.stop=Pt,n.togglePause=Rt,n.searchAnimations=Lt,n.resize=Kt,n.goToAndStop=mt,n.destroy=jt,n.freeze=Et,n.unfreeze=ht,n.setVolume=Ct,n.mute=Ft,n.unmute=wt,n.getRegisteredAnimations=it,n}(),ne=function(){var n={};n.getBezierEasing=b;var f={};function b(Z,ct,mt,Pt,Rt){var jt=Rt||("bez_"+Z+"_"+ct+"_"+mt+"_"+Pt).replace(/\./g,"p");if(f[jt])return f[jt];var Lt=new at([Z,ct,mt,Pt]);return f[jt]=Lt,Lt}var T=4,I=.001,F=1e-7,G=10,K=11,X=1/(K-1),it=typeof Float32Array=="function";function lt(Z,ct){return 1-3*ct+3*Z}function tt(Z,ct){return 3*ct-6*Z}function H(Z){return 3*Z}function j(Z,ct,mt){return ((lt(ct,mt)*Z+tt(ct,mt))*Z+H(ct))*Z}function W(Z,ct,mt){return 3*lt(ct,mt)*Z*Z+2*tt(ct,mt)*Z+H(ct)}function R(Z,ct,mt,Pt,Rt){var jt,Lt,Kt=0;do Lt=ct+(mt-ct)/2,jt=j(Lt,Pt,Rt)-Z,jt>0?mt=Lt:ct=Lt;while(Math.abs(jt)>F&&++Kt<G);return Lt}function rt(Z,ct,mt,Pt){for(var Rt=0;Rt<T;++Rt){var jt=W(ct,mt,Pt);if(jt===0)return ct;var Lt=j(ct,mt,Pt)-Z;ct-=Lt/jt;}return ct}function at(Z){this._p=Z,this._mSampleValues=it?new Float32Array(K):new Array(K),this._precomputed=!1,this.get=this.get.bind(this);}return at.prototype={get:function(Z){var ct=this._p[0],mt=this._p[1],Pt=this._p[2],Rt=this._p[3];return this._precomputed||this._precompute(),ct===mt&&Pt===Rt?Z:Z===0?0:Z===1?1:j(this._getTForX(Z),mt,Rt)},_precompute:function(){var Z=this._p[0],ct=this._p[1],mt=this._p[2],Pt=this._p[3];this._precomputed=!0,(Z!==ct||mt!==Pt)&&this._calcSampleValues();},_calcSampleValues:function(){for(var Z=this._p[0],ct=this._p[2],mt=0;mt<K;++mt)this._mSampleValues[mt]=j(mt*X,Z,ct);},_getTForX:function(Z){for(var ct=this._p[0],mt=this._p[2],Pt=this._mSampleValues,Rt=0,jt=1,Lt=K-1;jt!==Lt&&Pt[jt]<=Z;++jt)Rt+=X;--jt;var Kt=(Z-Pt[jt])/(Pt[jt+1]-Pt[jt]),_t=Rt+Kt*X,Et=W(_t,ct,mt);return Et>=I?rt(Z,_t,ct,mt):Et===0?_t:R(Z,Rt,Rt+X,ct,mt)}},n}(),ke=function(){function n(f){return f.concat(g(f.length))}return {double:n}}(),$e=function(){return function(n,f,b){var T=0,I=n,F=g(I),G={newElement:K,release:X};function K(){var it;return T?(T-=1,it=F[T]):it=f(),it}function X(it){T===I&&(F=ke.double(F),I*=2),b&&b(it),F[T]=it,T+=1;}return G}}(),vi=function(){function n(){return {addedLength:0,percents:d("float32",Se()),lengths:d("float32",Se())}}return $e(8,n)}(),bi=function(){function n(){return {lengths:[],totalLength:0}}function f(b){var T,I=b.lengths.length;for(T=0;T<I;T+=1)vi.release(b.lengths[T]);b.lengths.length=0;}return $e(8,n,f)}();function Fi(){var n=Math;function f(H,j,W,R,rt,at){var Z=H*R+j*rt+W*at-rt*R-at*H-W*j;return Z>-.001&&Z<.001}function b(H,j,W,R,rt,at,Z,ct,mt){if(W===0&&at===0&&mt===0)return f(H,j,R,rt,Z,ct);var Pt=n.sqrt(n.pow(R-H,2)+n.pow(rt-j,2)+n.pow(at-W,2)),Rt=n.sqrt(n.pow(Z-H,2)+n.pow(ct-j,2)+n.pow(mt-W,2)),jt=n.sqrt(n.pow(Z-R,2)+n.pow(ct-rt,2)+n.pow(mt-at,2)),Lt;return Pt>Rt?Pt>jt?Lt=Pt-Rt-jt:Lt=jt-Rt-Pt:jt>Rt?Lt=jt-Rt-Pt:Lt=Rt-Pt-jt,Lt>-1e-4&&Lt<1e-4}var T=function(){return function(H,j,W,R){var rt=Se(),at,Z,ct,mt,Pt,Rt=0,jt,Lt=[],Kt=[],_t=vi.newElement();for(ct=W.length,at=0;at<rt;at+=1){for(Pt=at/(rt-1),jt=0,Z=0;Z<ct;Z+=1)mt=w(1-Pt,3)*H[Z]+3*w(1-Pt,2)*Pt*W[Z]+3*(1-Pt)*w(Pt,2)*R[Z]+w(Pt,3)*j[Z],Lt[Z]=mt,Kt[Z]!==null&&(jt+=w(Lt[Z]-Kt[Z],2)),Kt[Z]=Lt[Z];jt&&(jt=M(jt),Rt+=jt),_t.percents[at]=Pt,_t.lengths[at]=Rt;}return _t.addedLength=Rt,_t}}();function I(H){var j=bi.newElement(),W=H.c,R=H.v,rt=H.o,at=H.i,Z,ct=H._length,mt=j.lengths,Pt=0;for(Z=0;Z<ct-1;Z+=1)mt[Z]=T(R[Z],R[Z+1],rt[Z],at[Z+1]),Pt+=mt[Z].addedLength;return W&&ct&&(mt[Z]=T(R[Z],R[0],rt[Z],at[0]),Pt+=mt[Z].addedLength),j.totalLength=Pt,j}function F(H){this.segmentLength=0,this.points=new Array(H);}function G(H,j){this.partialLength=H,this.point=j;}var K=function(){var H={};return function(j,W,R,rt){var at=(j[0]+"_"+j[1]+"_"+W[0]+"_"+W[1]+"_"+R[0]+"_"+R[1]+"_"+rt[0]+"_"+rt[1]).replace(/\./g,"p");if(!H[at]){var Z=Se(),ct,mt,Pt,Rt,jt,Lt=0,Kt,_t,Et=null;j.length===2&&(j[0]!==W[0]||j[1]!==W[1])&&f(j[0],j[1],W[0],W[1],j[0]+R[0],j[1]+R[1])&&f(j[0],j[1],W[0],W[1],W[0]+rt[0],W[1]+rt[1])&&(Z=2);var ht=new F(Z);for(Pt=R.length,ct=0;ct<Z;ct+=1){for(_t=g(Pt),jt=ct/(Z-1),Kt=0,mt=0;mt<Pt;mt+=1)Rt=w(1-jt,3)*j[mt]+3*w(1-jt,2)*jt*(j[mt]+R[mt])+3*(1-jt)*w(jt,2)*(W[mt]+rt[mt])+w(jt,3)*W[mt],_t[mt]=Rt,Et!==null&&(Kt+=w(_t[mt]-Et[mt],2));Kt=M(Kt),Lt+=Kt,ht.points[ct]=new G(Kt,_t),Et=_t;}ht.segmentLength=Lt,H[at]=ht;}return H[at]}}();function X(H,j){var W=j.percents,R=j.lengths,rt=W.length,at=N((rt-1)*H),Z=H*j.addedLength,ct=0;if(at===rt-1||at===0||Z===R[at])return W[at];for(var mt=R[at]>Z?-1:1,Pt=!0;Pt;)if(R[at]<=Z&&R[at+1]>Z?(ct=(Z-R[at])/(R[at+1]-R[at]),Pt=!1):at+=mt,at<0||at>=rt-1){if(at===rt-1)return W[at];Pt=!1;}return W[at]+(W[at+1]-W[at])*ct}function it(H,j,W,R,rt,at){var Z=X(rt,at),ct=1-Z,mt=n.round((ct*ct*ct*H[0]+(Z*ct*ct+ct*Z*ct+ct*ct*Z)*W[0]+(Z*Z*ct+ct*Z*Z+Z*ct*Z)*R[0]+Z*Z*Z*j[0])*1e3)/1e3,Pt=n.round((ct*ct*ct*H[1]+(Z*ct*ct+ct*Z*ct+ct*ct*Z)*W[1]+(Z*Z*ct+ct*Z*Z+Z*ct*Z)*R[1]+Z*Z*Z*j[1])*1e3)/1e3;return [mt,Pt]}var lt=d("float32",8);function tt(H,j,W,R,rt,at,Z){rt<0?rt=0:rt>1&&(rt=1);var ct=X(rt,Z);at=at>1?1:at;var mt=X(at,Z),Pt,Rt=H.length,jt=1-ct,Lt=1-mt,Kt=jt*jt*jt,_t=ct*jt*jt*3,Et=ct*ct*jt*3,ht=ct*ct*ct,Ct=jt*jt*Lt,Ft=ct*jt*Lt+jt*ct*Lt+jt*jt*mt,wt=ct*ct*Lt+jt*ct*mt+ct*jt*mt,St=ct*ct*mt,At=jt*Lt*Lt,ut=ct*Lt*Lt+jt*mt*Lt+jt*Lt*mt,Dt=ct*mt*Lt+jt*mt*mt+ct*Lt*mt,Zt=ct*mt*mt,$t=Lt*Lt*Lt,xe=mt*Lt*Lt+Lt*mt*Lt+Lt*Lt*mt,ge=mt*mt*Lt+Lt*mt*mt+mt*Lt*mt,Me=mt*mt*mt;for(Pt=0;Pt<Rt;Pt+=1)lt[Pt*4]=n.round((Kt*H[Pt]+_t*W[Pt]+Et*R[Pt]+ht*j[Pt])*1e3)/1e3,lt[Pt*4+1]=n.round((Ct*H[Pt]+Ft*W[Pt]+wt*R[Pt]+St*j[Pt])*1e3)/1e3,lt[Pt*4+2]=n.round((At*H[Pt]+ut*W[Pt]+Dt*R[Pt]+Zt*j[Pt])*1e3)/1e3,lt[Pt*4+3]=n.round(($t*H[Pt]+xe*W[Pt]+ge*R[Pt]+Me*j[Pt])*1e3)/1e3;return lt}return {getSegmentsLength:I,getNewSegment:tt,getPointInSegment:it,buildBezierData:K,pointOnLine2D:f,pointOnLine3D:b}}var ki=Fi(),Xi=a,Ki=Math.abs;function Vr(n,f){var b=this.offsetTime,T;this.propType==="multidimensional"&&(T=d("float32",this.pv.length));for(var I=f.lastIndex,F=I,G=this.keyframes.length-1,K=!0,X,it,lt;K;){if(X=this.keyframes[F],it=this.keyframes[F+1],F===G-1&&n>=it.t-b){X.h&&(X=it),I=0;break}if(it.t-b>n){I=F;break}F<G-1?F+=1:(I=0,K=!1);}lt=this.keyframesMetadata[F]||{};var tt,H,j,W,R,rt,at=it.t-b,Z=X.t-b,ct;if(X.to){lt.bezierData||(lt.bezierData=ki.buildBezierData(X.s,it.s||X.e,X.to,X.ti));var mt=lt.bezierData;if(n>=at||n<Z){var Pt=n>=at?mt.points.length-1:0;for(H=mt.points[Pt].point.length,tt=0;tt<H;tt+=1)T[tt]=mt.points[Pt].point[tt];}else {lt.__fnct?rt=lt.__fnct:(rt=ne.getBezierEasing(X.o.x,X.o.y,X.i.x,X.i.y,X.n).get,lt.__fnct=rt),j=rt((n-Z)/(at-Z));var Rt=mt.segmentLength*j,jt,Lt=f.lastFrame<n&&f._lastKeyframeIndex===F?f._lastAddedLength:0;for(R=f.lastFrame<n&&f._lastKeyframeIndex===F?f._lastPoint:0,K=!0,W=mt.points.length;K;){if(Lt+=mt.points[R].partialLength,Rt===0||j===0||R===mt.points.length-1){for(H=mt.points[R].point.length,tt=0;tt<H;tt+=1)T[tt]=mt.points[R].point[tt];break}else if(Rt>=Lt&&Rt<Lt+mt.points[R+1].partialLength){for(jt=(Rt-Lt)/mt.points[R+1].partialLength,H=mt.points[R].point.length,tt=0;tt<H;tt+=1)T[tt]=mt.points[R].point[tt]+(mt.points[R+1].point[tt]-mt.points[R].point[tt])*jt;break}R<W-1?R+=1:K=!1;}f._lastPoint=R,f._lastAddedLength=Lt-mt.points[R].partialLength,f._lastKeyframeIndex=F;}}else {var Kt,_t,Et,ht,Ct;if(G=X.s.length,ct=it.s||X.e,this.sh&&X.h!==1)if(n>=at)T[0]=ct[0],T[1]=ct[1],T[2]=ct[2];else if(n<=Z)T[0]=X.s[0],T[1]=X.s[1],T[2]=X.s[2];else {var Ft=ns(X.s),wt=ns(ct),St=(n-Z)/(at-Z);jr(T,ha(Ft,wt,St));}else for(F=0;F<G;F+=1)X.h!==1&&(n>=at?j=1:n<Z?j=0:(X.o.x.constructor===Array?(lt.__fnct||(lt.__fnct=[]),lt.__fnct[F]?rt=lt.__fnct[F]:(Kt=X.o.x[F]===void 0?X.o.x[0]:X.o.x[F],_t=X.o.y[F]===void 0?X.o.y[0]:X.o.y[F],Et=X.i.x[F]===void 0?X.i.x[0]:X.i.x[F],ht=X.i.y[F]===void 0?X.i.y[0]:X.i.y[F],rt=ne.getBezierEasing(Kt,_t,Et,ht).get,lt.__fnct[F]=rt)):lt.__fnct?rt=lt.__fnct:(Kt=X.o.x,_t=X.o.y,Et=X.i.x,ht=X.i.y,rt=ne.getBezierEasing(Kt,_t,Et,ht).get,X.keyframeMetadata=rt),j=rt((n-Z)/(at-Z)))),ct=it.s||X.e,Ct=X.h===1?X.s[F]:X.s[F]+(ct[F]-X.s[F])*j,this.propType==="multidimensional"?T[F]=Ct:T=Ct;}return f.lastIndex=I,T}function ha(n,f,b){var T=[],I=n[0],F=n[1],G=n[2],K=n[3],X=f[0],it=f[1],lt=f[2],tt=f[3],H,j,W,R,rt;return j=I*X+F*it+G*lt+K*tt,j<0&&(j=-j,X=-X,it=-it,lt=-lt,tt=-tt),1-j>1e-6?(H=Math.acos(j),W=Math.sin(H),R=Math.sin((1-b)*H)/W,rt=Math.sin(b*H)/W):(R=1-b,rt=b),T[0]=R*I+rt*X,T[1]=R*F+rt*it,T[2]=R*G+rt*lt,T[3]=R*K+rt*tt,T}function jr(n,f){var b=f[0],T=f[1],I=f[2],F=f[3],G=Math.atan2(2*T*F-2*b*I,1-2*T*T-2*I*I),K=Math.asin(2*b*T+2*I*F),X=Math.atan2(2*b*F-2*T*I,1-2*b*b-2*I*I);n[0]=G/dt,n[1]=K/dt,n[2]=X/dt;}function ns(n){var f=n[0]*dt,b=n[1]*dt,T=n[2]*dt,I=Math.cos(f/2),F=Math.cos(b/2),G=Math.cos(T/2),K=Math.sin(f/2),X=Math.sin(b/2),it=Math.sin(T/2),lt=I*F*G-K*X*it,tt=K*X*G+I*F*it,H=K*F*G+I*X*it,j=I*X*G-K*F*it;return [tt,H,j,lt]}function Js(){var n=this.comp.renderedFrame-this.offsetTime,f=this.keyframes[0].t-this.offsetTime,b=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(n===this._caching.lastFrame||this._caching.lastFrame!==Xi&&(this._caching.lastFrame>=b&&n>=b||this._caching.lastFrame<f&&n<f))){this._caching.lastFrame>=n&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var T=this.interpolateValue(n,this._caching);this.pv=T;}return this._caching.lastFrame=n,this.pv}function Rr(n){var f;if(this.propType==="unidimensional")f=n*this.mult,Ki(this.v-f)>1e-5&&(this.v=f,this._mdf=!0);else for(var b=0,T=this.v.length;b<T;)f=n[b]*this.mult,Ki(this.v[b]-f)>1e-5&&(this.v[b]=f,this._mdf=!0),b+=1;}function qr(){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 n,f=this.effectsSequence.length,b=this.kf?this.pv:this.data.k;for(n=0;n<f;n+=1)b=this.effectsSequence[n](b);this.setVValue(b),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function mr(n){this.effectsSequence.push(n),this.container.addDynamicProperty(this);}function $r(n,f,b,T){this.propType="unidimensional",this.mult=b||1,this.data=f,this.v=b?f.k*b:f.k,this.pv=f.k,this._mdf=!1,this.elem=n,this.container=T,this.comp=n.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=qr,this.setVValue=Rr,this.addEffect=mr;}function Ls(n,f,b,T){this.propType="multidimensional",this.mult=b||1,this.data=f,this._mdf=!1,this.elem=n,this.container=T,this.comp=n.comp,this.k=!1,this.kf=!1,this.frameId=-1;var I,F=f.k.length;for(this.v=d("float32",F),this.pv=d("float32",F),this.vel=d("float32",F),I=0;I<F;I+=1)this.v[I]=f.k[I]*this.mult,this.pv[I]=f.k[I];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=qr,this.setVValue=Rr,this.addEffect=mr;}function Kr(n,f,b,T){this.propType="unidimensional",this.keyframes=f.k,this.keyframesMetadata=[],this.offsetTime=n.data.st,this.frameId=-1,this._caching={lastFrame:Xi,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=f,this.mult=b||1,this.elem=n,this.container=T,this.comp=n.comp,this.v=Xi,this.pv=Xi,this._isFirstFrame=!0,this.getValue=qr,this.setVValue=Rr,this.interpolateValue=Vr,this.effectsSequence=[Js.bind(this)],this.addEffect=mr;}function Ca(n,f,b,T){this.propType="multidimensional";var I,F=f.k.length,G,K,X,it;for(I=0;I<F-1;I+=1)f.k[I].to&&f.k[I].s&&f.k[I+1]&&f.k[I+1].s&&(G=f.k[I].s,K=f.k[I+1].s,X=f.k[I].to,it=f.k[I].ti,(G.length===2&&!(G[0]===K[0]&&G[1]===K[1])&&ki.pointOnLine2D(G[0],G[1],K[0],K[1],G[0]+X[0],G[1]+X[1])&&ki.pointOnLine2D(G[0],G[1],K[0],K[1],K[0]+it[0],K[1]+it[1])||G.length===3&&!(G[0]===K[0]&&G[1]===K[1]&&G[2]===K[2])&&ki.pointOnLine3D(G[0],G[1],G[2],K[0],K[1],K[2],G[0]+X[0],G[1]+X[1],G[2]+X[2])&&ki.pointOnLine3D(G[0],G[1],G[2],K[0],K[1],K[2],K[0]+it[0],K[1]+it[1],K[2]+it[2]))&&(f.k[I].to=null,f.k[I].ti=null),G[0]===K[0]&&G[1]===K[1]&&X[0]===0&&X[1]===0&&it[0]===0&&it[1]===0&&(G.length===2||G[2]===K[2]&&X[2]===0&&it[2]===0)&&(f.k[I].to=null,f.k[I].ti=null));this.effectsSequence=[Js.bind(this)],this.data=f,this.keyframes=f.k,this.keyframesMetadata=[],this.offsetTime=n.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=b||1,this.elem=n,this.container=T,this.comp=n.comp,this.getValue=qr,this.setVValue=Rr,this.interpolateValue=Vr,this.frameId=-1;var lt=f.k[0].s.length;for(this.v=d("float32",lt),this.pv=d("float32",lt),I=0;I<lt;I+=1)this.v[I]=Xi,this.pv[I]=Xi;this._caching={lastFrame:Xi,lastIndex:0,value:d("float32",lt)},this.addEffect=mr;}var te=function(){function n(b,T,I,F,G){T.sid&&(T=b.globalData.slotManager.getProp(T));var K;if(!T.k.length)K=new $r(b,T,F,G);else if(typeof T.k[0]=="number")K=new Ls(b,T,F,G);else switch(I){case 0:K=new Kr(b,T,F,G);break;case 1:K=new Ca(b,T,F,G);break}return K.effectsSequence.length&&G.addDynamicProperty(K),K}var f={getProp:n};return f}();function Xe(){}Xe.prototype={addDynamicProperty:function(n){this.dynamicProperties.indexOf(n)===-1&&(this.dynamicProperties.push(n),this.container.addDynamicProperty(this),this._isAnimated=!0);},iterateDynamicProperties:function(){this._mdf=!1;var n,f=this.dynamicProperties.length;for(n=0;n<f;n+=1)this.dynamicProperties[n].getValue(),this.dynamicProperties[n]._mdf&&(this._mdf=!0);},initDynamicPropertyContainer:function(n){this.container=n,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1;}};var pe=function(){function n(){return d("float32",2)}return $e(8,n)}();function Ye(){this.c=!1,this._length=0,this._maxLength=8,this.v=g(this._maxLength),this.o=g(this._maxLength),this.i=g(this._maxLength);}Ye.prototype.setPathData=function(n,f){this.c=n,this.setLength(f);for(var b=0;b<f;)this.v[b]=pe.newElement(),this.o[b]=pe.newElement(),this.i[b]=pe.newElement(),b+=1;},Ye.prototype.setLength=function(n){for(;this._maxLength<n;)this.doubleArrayLength();this._length=n;},Ye.prototype.doubleArrayLength=function(){this.v=this.v.concat(g(this._maxLength)),this.i=this.i.concat(g(this._maxLength)),this.o=this.o.concat(g(this._maxLength)),this._maxLength*=2;},Ye.prototype.setXYAt=function(n,f,b,T,I){var F;switch(this._length=Math.max(this._length,T+1),this._length>=this._maxLength&&this.doubleArrayLength(),b){case"v":F=this.v;break;case"i":F=this.i;break;case"o":F=this.o;break;default:F=[];break}(!F[T]||F[T]&&!I)&&(F[T]=pe.newElement()),F[T][0]=n,F[T][1]=f;},Ye.prototype.setTripleAt=function(n,f,b,T,I,F,G,K){this.setXYAt(n,f,"v",G,K),this.setXYAt(b,T,"o",G,K),this.setXYAt(I,F,"i",G,K);},Ye.prototype.reverse=function(){var n=new Ye;n.setPathData(this.c,this._length);var f=this.v,b=this.o,T=this.i,I=0;this.c&&(n.setTripleAt(f[0][0],f[0][1],T[0][0],T[0][1],b[0][0],b[0][1],0,!1),I=1);var F=this._length-1,G=this._length,K;for(K=I;K<G;K+=1)n.setTripleAt(f[F][0],f[F][1],T[F][0],T[F][1],b[F][0],b[F][1],K,!1),F-=1;return n},Ye.prototype.length=function(){return this._length};var Ve=function(){function n(){return new Ye}function f(I){var F=I._length,G;for(G=0;G<F;G+=1)pe.release(I.v[G]),pe.release(I.i[G]),pe.release(I.o[G]),I.v[G]=null,I.i[G]=null,I.o[G]=null;I._length=0,I.c=!1;}function b(I){var F=T.newElement(),G,K=I._length===void 0?I.v.length:I._length;for(F.setLength(K),F.c=I.c,G=0;G<K;G+=1)F.setTripleAt(I.v[G][0],I.v[G][1],I.o[G][0],I.o[G][1],I.i[G][0],I.i[G][1],G);return F}var T=$e(4,n,f);return T.clone=b,T}();function Qi(){this._length=0,this._maxLength=4,this.shapes=g(this._maxLength);}Qi.prototype.addShape=function(n){this._length===this._maxLength&&(this.shapes=this.shapes.concat(g(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=n,this._length+=1;},Qi.prototype.releaseShapes=function(){var n;for(n=0;n<this._length;n+=1)Ve.release(this.shapes[n]);this._length=0;};var ai=function(){var n={newShapeCollection:I,release:F},f=0,b=4,T=g(b);function I(){var G;return f?(f-=1,G=T[f]):G=new Qi,G}function F(G){var K,X=G._length;for(K=0;K<X;K+=1)Ve.release(G.shapes[K]);G._length=0,f===b&&(T=ke.double(T),b*=2),T[f]=G,f+=1;}return n}(),gr=function(){var n=-999999;function f(at,Z,ct){var mt=ct.lastIndex,Pt,Rt,jt,Lt,Kt,_t,Et,ht,Ct,Ft=this.keyframes;if(at<Ft[0].t-this.offsetTime)Pt=Ft[0].s[0],jt=!0,mt=0;else if(at>=Ft[Ft.length-1].t-this.offsetTime)Pt=Ft[Ft.length-1].s?Ft[Ft.length-1].s[0]:Ft[Ft.length-2].e[0],jt=!0;else {for(var wt=mt,St=Ft.length-1,At=!0,ut,Dt,Zt;At&&(ut=Ft[wt],Dt=Ft[wt+1],!(Dt.t-this.offsetTime>at));)wt<St-1?wt+=1:At=!1;if(Zt=this.keyframesMetadata[wt]||{},jt=ut.h===1,mt=wt,!jt){if(at>=Dt.t-this.offsetTime)ht=1;else if(at<ut.t-this.offsetTime)ht=0;else {var $t;Zt.__fnct?$t=Zt.__fnct:($t=ne.getBezierEasing(ut.o.x,ut.o.y,ut.i.x,ut.i.y).get,Zt.__fnct=$t),ht=$t((at-(ut.t-this.offsetTime))/(Dt.t-this.offsetTime-(ut.t-this.offsetTime)));}Rt=Dt.s?Dt.s[0]:ut.e[0];}Pt=ut.s[0];}for(_t=Z._length,Et=Pt.i[0].length,ct.lastIndex=mt,Lt=0;Lt<_t;Lt+=1)for(Kt=0;Kt<Et;Kt+=1)Ct=jt?Pt.i[Lt][Kt]:Pt.i[Lt][Kt]+(Rt.i[Lt][Kt]-Pt.i[Lt][Kt])*ht,Z.i[Lt][Kt]=Ct,Ct=jt?Pt.o[Lt][Kt]:Pt.o[Lt][Kt]+(Rt.o[Lt][Kt]-Pt.o[Lt][Kt])*ht,Z.o[Lt][Kt]=Ct,Ct=jt?Pt.v[Lt][Kt]:Pt.v[Lt][Kt]+(Rt.v[Lt][Kt]-Pt.v[Lt][Kt])*ht,Z.v[Lt][Kt]=Ct;}function b(){var at=this.comp.renderedFrame-this.offsetTime,Z=this.keyframes[0].t-this.offsetTime,ct=this.keyframes[this.keyframes.length-1].t-this.offsetTime,mt=this._caching.lastFrame;return mt!==n&&(mt<Z&&at<Z||mt>ct&&at>ct)||(this._caching.lastIndex=mt<at?this._caching.lastIndex:0,this.interpolateShape(at,this.pv,this._caching)),this._caching.lastFrame=at,this.pv}function T(){this.paths=this.localShapeCollection;}function I(at,Z){if(at._length!==Z._length||at.c!==Z.c)return !1;var ct,mt=at._length;for(ct=0;ct<mt;ct+=1)if(at.v[ct][0]!==Z.v[ct][0]||at.v[ct][1]!==Z.v[ct][1]||at.o[ct][0]!==Z.o[ct][0]||at.o[ct][1]!==Z.o[ct][1]||at.i[ct][0]!==Z.i[ct][0]||at.i[ct][1]!==Z.i[ct][1])return !1;return !0}function F(at){I(this.v,at)||(this.v=Ve.clone(at),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function G(){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 at;this.kf?at=this.pv:this.data.ks?at=this.data.ks.k:at=this.data.pt.k;var Z,ct=this.effectsSequence.length;for(Z=0;Z<ct;Z+=1)at=this.effectsSequence[Z](at);this.setVValue(at),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function K(at,Z,ct){this.propType="shape",this.comp=at.comp,this.container=at,this.elem=at,this.data=Z,this.k=!1,this.kf=!1,this._mdf=!1;var mt=ct===3?Z.pt.k:Z.ks.k;this.v=Ve.clone(mt),this.pv=Ve.clone(this.v),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=T,this.effectsSequence=[];}function X(at){this.effectsSequence.push(at),this.container.addDynamicProperty(this);}K.prototype.interpolateShape=f,K.prototype.getValue=G,K.prototype.setVValue=F,K.prototype.addEffect=X;function it(at,Z,ct){this.propType="shape",this.comp=at.comp,this.elem=at,this.container=at,this.offsetTime=at.data.st,this.keyframes=ct===3?Z.pt.k:Z.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var mt=this.keyframes[0].s[0].i.length;this.v=Ve.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,mt),this.pv=Ve.clone(this.v),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=n,this.reset=T,this._caching={lastFrame:n,lastIndex:0},this.effectsSequence=[b.bind(this)];}it.prototype.getValue=G,it.prototype.interpolateShape=f,it.prototype.setVValue=F,it.prototype.addEffect=X;var lt=function(){var at=xt;function Z(ct,mt){this.v=Ve.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=ai.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=mt.d,this.elem=ct,this.comp=ct.comp,this.frameId=-1,this.initDynamicPropertyContainer(ct),this.p=te.getProp(ct,mt.p,1,0,this),this.s=te.getProp(ct,mt.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return Z.prototype={reset:T,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath());},convertEllToPath:function(){var ct=this.p.v[0],mt=this.p.v[1],Pt=this.s.v[0]/2,Rt=this.s.v[1]/2,jt=this.d!==3,Lt=this.v;Lt.v[0][0]=ct,Lt.v[0][1]=mt-Rt,Lt.v[1][0]=jt?ct+Pt:ct-Pt,Lt.v[1][1]=mt,Lt.v[2][0]=ct,Lt.v[2][1]=mt+Rt,Lt.v[3][0]=jt?ct-Pt:ct+Pt,Lt.v[3][1]=mt,Lt.i[0][0]=jt?ct-Pt*at:ct+Pt*at,Lt.i[0][1]=mt-Rt,Lt.i[1][0]=jt?ct+Pt:ct-Pt,Lt.i[1][1]=mt-Rt*at,Lt.i[2][0]=jt?ct+Pt*at:ct-Pt*at,Lt.i[2][1]=mt+Rt,Lt.i[3][0]=jt?ct-Pt:ct+Pt,Lt.i[3][1]=mt+Rt*at,Lt.o[0][0]=jt?ct+Pt*at:ct-Pt*at,Lt.o[0][1]=mt-Rt,Lt.o[1][0]=jt?ct+Pt:ct-Pt,Lt.o[1][1]=mt+Rt*at,Lt.o[2][0]=jt?ct-Pt*at:ct+Pt*at,Lt.o[2][1]=mt+Rt,Lt.o[3][0]=jt?ct-Pt:ct+Pt,Lt.o[3][1]=mt-Rt*at;}},v([Xe],Z),Z}(),tt=function(){function at(Z,ct){this.v=Ve.newElement(),this.v.setPathData(!0,0),this.elem=Z,this.comp=Z.comp,this.data=ct,this.frameId=-1,this.d=ct.d,this.initDynamicPropertyContainer(Z),ct.sy===1?(this.ir=te.getProp(Z,ct.ir,0,0,this),this.is=te.getProp(Z,ct.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=te.getProp(Z,ct.pt,0,0,this),this.p=te.getProp(Z,ct.p,1,0,this),this.r=te.getProp(Z,ct.r,0,dt,this),this.or=te.getProp(Z,ct.or,0,0,this),this.os=te.getProp(Z,ct.os,0,.01,this),this.localShapeCollection=ai.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath());}return at.prototype={reset:T,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath());},convertStarToPath:function(){var Z=Math.floor(this.pt.v)*2,ct=Math.PI*2/Z,mt=!0,Pt=this.or.v,Rt=this.ir.v,jt=this.os.v,Lt=this.is.v,Kt=2*Math.PI*Pt/(Z*2),_t=2*Math.PI*Rt/(Z*2),Et,ht,Ct,Ft,wt=-Math.PI/2;wt+=this.r.v;var St=this.data.d===3?-1:1;for(this.v._length=0,Et=0;Et<Z;Et+=1){ht=mt?Pt:Rt,Ct=mt?jt:Lt,Ft=mt?Kt:_t;var At=ht*Math.cos(wt),ut=ht*Math.sin(wt),Dt=At===0&&ut===0?0:ut/Math.sqrt(At*At+ut*ut),Zt=At===0&&ut===0?0:-At/Math.sqrt(At*At+ut*ut);At+=+this.p.v[0],ut+=+this.p.v[1],this.v.setTripleAt(At,ut,At-Dt*Ft*Ct*St,ut-Zt*Ft*Ct*St,At+Dt*Ft*Ct*St,ut+Zt*Ft*Ct*St,Et,!0),mt=!mt,wt+=ct*St;}},convertPolygonToPath:function(){var Z=Math.floor(this.pt.v),ct=Math.PI*2/Z,mt=this.or.v,Pt=this.os.v,Rt=2*Math.PI*mt/(Z*4),jt,Lt=-Math.PI*.5,Kt=this.data.d===3?-1:1;for(Lt+=this.r.v,this.v._length=0,jt=0;jt<Z;jt+=1){var _t=mt*Math.cos(Lt),Et=mt*Math.sin(Lt),ht=_t===0&&Et===0?0:Et/Math.sqrt(_t*_t+Et*Et),Ct=_t===0&&Et===0?0:-_t/Math.sqrt(_t*_t+Et*Et);_t+=+this.p.v[0],Et+=+this.p.v[1],this.v.setTripleAt(_t,Et,_t-ht*Rt*Pt*Kt,Et-Ct*Rt*Pt*Kt,_t+ht*Rt*Pt*Kt,Et+Ct*Rt*Pt*Kt,jt,!0),Lt+=ct*Kt;}this.paths.length=0,this.paths[0]=this.v;}},v([Xe],at),at}(),H=function(){function at(Z,ct){this.v=Ve.newElement(),this.v.c=!0,this.localShapeCollection=ai.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=Z,this.comp=Z.comp,this.frameId=-1,this.d=ct.d,this.initDynamicPropertyContainer(Z),this.p=te.getProp(Z,ct.p,1,0,this),this.s=te.getProp(Z,ct.s,1,0,this),this.r=te.getProp(Z,ct.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return at.prototype={convertRectToPath:function(){var Z=this.p.v[0],ct=this.p.v[1],mt=this.s.v[0]/2,Pt=this.s.v[1]/2,Rt=U(mt,Pt,this.r.v),jt=Rt*(1-xt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(Z+mt,ct-Pt+Rt,Z+mt,ct-Pt+Rt,Z+mt,ct-Pt+jt,0,!0),this.v.setTripleAt(Z+mt,ct+Pt-Rt,Z+mt,ct+Pt-jt,Z+mt,ct+Pt-Rt,1,!0),Rt!==0?(this.v.setTripleAt(Z+mt-Rt,ct+Pt,Z+mt-Rt,ct+Pt,Z+mt-jt,ct+Pt,2,!0),this.v.setTripleAt(Z-mt+Rt,ct+Pt,Z-mt+jt,ct+Pt,Z-mt+Rt,ct+Pt,3,!0),this.v.setTripleAt(Z-mt,ct+Pt-Rt,Z-mt,ct+Pt-Rt,Z-mt,ct+Pt-jt,4,!0),this.v.setTripleAt(Z-mt,ct-Pt+Rt,Z-mt,ct-Pt+jt,Z-mt,ct-Pt+Rt,5,!0),this.v.setTripleAt(Z-mt+Rt,ct-Pt,Z-mt+Rt,ct-Pt,Z-mt+jt,ct-Pt,6,!0),this.v.setTripleAt(Z+mt-Rt,ct-Pt,Z+mt-jt,ct-Pt,Z+mt-Rt,ct-Pt,7,!0)):(this.v.setTripleAt(Z-mt,ct+Pt,Z-mt+jt,ct+Pt,Z-mt,ct+Pt,2),this.v.setTripleAt(Z-mt,ct-Pt,Z-mt,ct-Pt+jt,Z-mt,ct-Pt,3))):(this.v.setTripleAt(Z+mt,ct-Pt+Rt,Z+mt,ct-Pt+jt,Z+mt,ct-Pt+Rt,0,!0),Rt!==0?(this.v.setTripleAt(Z+mt-Rt,ct-Pt,Z+mt-Rt,ct-Pt,Z+mt-jt,ct-Pt,1,!0),this.v.setTripleAt(Z-mt+Rt,ct-Pt,Z-mt+jt,ct-Pt,Z-mt+Rt,ct-Pt,2,!0),this.v.setTripleAt(Z-mt,ct-Pt+Rt,Z-mt,ct-Pt+Rt,Z-mt,ct-Pt+jt,3,!0),this.v.setTripleAt(Z-mt,ct+Pt-Rt,Z-mt,ct+Pt-jt,Z-mt,ct+Pt-Rt,4,!0),this.v.setTripleAt(Z-mt+Rt,ct+Pt,Z-mt+Rt,ct+Pt,Z-mt+jt,ct+Pt,5,!0),this.v.setTripleAt(Z+mt-Rt,ct+Pt,Z+mt-jt,ct+Pt,Z+mt-Rt,ct+Pt,6,!0),this.v.setTripleAt(Z+mt,ct+Pt-Rt,Z+mt,ct+Pt-Rt,Z+mt,ct+Pt-jt,7,!0)):(this.v.setTripleAt(Z-mt,ct-Pt,Z-mt+jt,ct-Pt,Z-mt,ct-Pt,1,!0),this.v.setTripleAt(Z-mt,ct+Pt,Z-mt,ct+Pt-jt,Z-mt,ct+Pt,2,!0),this.v.setTripleAt(Z+mt,ct+Pt,Z+mt-jt,ct+Pt,Z+mt,ct+Pt,3,!0)));},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath());},reset:T},v([Xe],at),at}();function j(at,Z,ct){var mt;if(ct===3||ct===4){var Pt=ct===3?Z.pt:Z.ks,Rt=Pt.k;Rt.length?mt=new it(at,Z,ct):mt=new K(at,Z,ct);}else ct===5?mt=new H(at,Z):ct===6?mt=new lt(at,Z):ct===7&&(mt=new tt(at,Z));return mt.k&&at.addDynamicProperty(mt),mt}function W(){return K}function R(){return it}var rt={};return rt.getShapeProp=j,rt.getConstructorFunction=W,rt.getKeyframedConstructorFunction=R,rt}(),Ge=function(){var n=Math.cos,f=Math.sin,b=Math.tan,T=Math.round;function I(){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 F(ut){if(ut===0)return this;var Dt=n(ut),Zt=f(ut);return this._t(Dt,-Zt,0,0,Zt,Dt,0,0,0,0,1,0,0,0,0,1)}function G(ut){if(ut===0)return this;var Dt=n(ut),Zt=f(ut);return this._t(1,0,0,0,0,Dt,-Zt,0,0,Zt,Dt,0,0,0,0,1)}function K(ut){if(ut===0)return this;var Dt=n(ut),Zt=f(ut);return this._t(Dt,0,Zt,0,0,1,0,0,-Zt,0,Dt,0,0,0,0,1)}function X(ut){if(ut===0)return this;var Dt=n(ut),Zt=f(ut);return this._t(Dt,-Zt,0,0,Zt,Dt,0,0,0,0,1,0,0,0,0,1)}function it(ut,Dt){return this._t(1,Dt,ut,1,0,0)}function lt(ut,Dt){return this.shear(b(ut),b(Dt))}function tt(ut,Dt){var Zt=n(Dt),$t=f(Dt);return this._t(Zt,$t,0,0,-$t,Zt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,b(ut),1,0,0,0,0,1,0,0,0,0,1)._t(Zt,-$t,0,0,$t,Zt,0,0,0,0,1,0,0,0,0,1)}function H(ut,Dt,Zt){return !Zt&&Zt!==0&&(Zt=1),ut===1&&Dt===1&&Zt===1?this:this._t(ut,0,0,0,0,Dt,0,0,0,0,Zt,0,0,0,0,1)}function j(ut,Dt,Zt,$t,xe,ge,Me,we,He,Ce,me,Ci,Pi,hi,Ri,Qe){return this.props[0]=ut,this.props[1]=Dt,this.props[2]=Zt,this.props[3]=$t,this.props[4]=xe,this.props[5]=ge,this.props[6]=Me,this.props[7]=we,this.props[8]=He,this.props[9]=Ce,this.props[10]=me,this.props[11]=Ci,this.props[12]=Pi,this.props[13]=hi,this.props[14]=Ri,this.props[15]=Qe,this}function W(ut,Dt,Zt){return Zt=Zt||0,ut!==0||Dt!==0||Zt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,ut,Dt,Zt,1):this}function R(ut,Dt,Zt,$t,xe,ge,Me,we,He,Ce,me,Ci,Pi,hi,Ri,Qe){var Ee=this.props;if(ut===1&&Dt===0&&Zt===0&&$t===0&&xe===0&&ge===1&&Me===0&&we===0&&He===0&&Ce===0&&me===1&&Ci===0)return Ee[12]=Ee[12]*ut+Ee[15]*Pi,Ee[13]=Ee[13]*ge+Ee[15]*hi,Ee[14]=Ee[14]*me+Ee[15]*Ri,Ee[15]*=Qe,this._identityCalculated=!1,this;var Oi=Ee[0],xr=Ee[1],hr=Ee[2],$i=Ee[3],lr=Ee[4],Ji=Ee[5],Hi=Ee[6],ss=Ee[7],as=Ee[8],Fr=Ee[9],va=Ee[10],As=Ee[11],ja=Ee[12],eo=Ee[13],io=Ee[14],ro=Ee[15];return Ee[0]=Oi*ut+xr*xe+hr*He+$i*Pi,Ee[1]=Oi*Dt+xr*ge+hr*Ce+$i*hi,Ee[2]=Oi*Zt+xr*Me+hr*me+$i*Ri,Ee[3]=Oi*$t+xr*we+hr*Ci+$i*Qe,Ee[4]=lr*ut+Ji*xe+Hi*He+ss*Pi,Ee[5]=lr*Dt+Ji*ge+Hi*Ce+ss*hi,Ee[6]=lr*Zt+Ji*Me+Hi*me+ss*Ri,Ee[7]=lr*$t+Ji*we+Hi*Ci+ss*Qe,Ee[8]=as*ut+Fr*xe+va*He+As*Pi,Ee[9]=as*Dt+Fr*ge+va*Ce+As*hi,Ee[10]=as*Zt+Fr*Me+va*me+As*Ri,Ee[11]=as*$t+Fr*we+va*Ci+As*Qe,Ee[12]=ja*ut+eo*xe+io*He+ro*Pi,Ee[13]=ja*Dt+eo*ge+io*Ce+ro*hi,Ee[14]=ja*Zt+eo*Me+io*me+ro*Ri,Ee[15]=ja*$t+eo*we+io*Ci+ro*Qe,this._identityCalculated=!1,this}function rt(ut){var Dt=ut.props;return this.transform(Dt[0],Dt[1],Dt[2],Dt[3],Dt[4],Dt[5],Dt[6],Dt[7],Dt[8],Dt[9],Dt[10],Dt[11],Dt[12],Dt[13],Dt[14],Dt[15])}function at(){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 Z(ut){for(var Dt=0;Dt<16;){if(ut.props[Dt]!==this.props[Dt])return !1;Dt+=1;}return !0}function ct(ut){var Dt;for(Dt=0;Dt<16;Dt+=1)ut.props[Dt]=this.props[Dt];return ut}function mt(ut){var Dt;for(Dt=0;Dt<16;Dt+=1)this.props[Dt]=ut[Dt];}function Pt(ut,Dt,Zt){return {x:ut*this.props[0]+Dt*this.props[4]+Zt*this.props[8]+this.props[12],y:ut*this.props[1]+Dt*this.props[5]+Zt*this.props[9]+this.props[13],z:ut*this.props[2]+Dt*this.props[6]+Zt*this.props[10]+this.props[14]}}function Rt(ut,Dt,Zt){return ut*this.props[0]+Dt*this.props[4]+Zt*this.props[8]+this.props[12]}function jt(ut,Dt,Zt){return ut*this.props[1]+Dt*this.props[5]+Zt*this.props[9]+this.props[13]}function Lt(ut,Dt,Zt){return ut*this.props[2]+Dt*this.props[6]+Zt*this.props[10]+this.props[14]}function Kt(){var ut=this.props[0]*this.props[5]-this.props[1]*this.props[4],Dt=this.props[5]/ut,Zt=-this.props[1]/ut,$t=-this.props[4]/ut,xe=this.props[0]/ut,ge=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/ut,Me=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/ut,we=new Ge;return we.props[0]=Dt,we.props[1]=Zt,we.props[4]=$t,we.props[5]=xe,we.props[12]=ge,we.props[13]=Me,we}function _t(ut){var Dt=this.getInverseMatrix();return Dt.applyToPointArray(ut[0],ut[1],ut[2]||0)}function Et(ut){var Dt,Zt=ut.length,$t=[];for(Dt=0;Dt<Zt;Dt+=1)$t[Dt]=_t(ut[Dt]);return $t}function ht(ut,Dt,Zt){var $t=d("float32",6);if(this.isIdentity())$t[0]=ut[0],$t[1]=ut[1],$t[2]=Dt[0],$t[3]=Dt[1],$t[4]=Zt[0],$t[5]=Zt[1];else {var xe=this.props[0],ge=this.props[1],Me=this.props[4],we=this.props[5],He=this.props[12],Ce=this.props[13];$t[0]=ut[0]*xe+ut[1]*Me+He,$t[1]=ut[0]*ge+ut[1]*we+Ce,$t[2]=Dt[0]*xe+Dt[1]*Me+He,$t[3]=Dt[0]*ge+Dt[1]*we+Ce,$t[4]=Zt[0]*xe+Zt[1]*Me+He,$t[5]=Zt[0]*ge+Zt[1]*we+Ce;}return $t}function Ct(ut,Dt,Zt){var $t;return this.isIdentity()?$t=[ut,Dt,Zt]:$t=[ut*this.props[0]+Dt*this.props[4]+Zt*this.props[8]+this.props[12],ut*this.props[1]+Dt*this.props[5]+Zt*this.props[9]+this.props[13],ut*this.props[2]+Dt*this.props[6]+Zt*this.props[10]+this.props[14]],$t}function Ft(ut,Dt){if(this.isIdentity())return ut+","+Dt;var Zt=this.props;return Math.round((ut*Zt[0]+Dt*Zt[4]+Zt[12])*100)/100+","+Math.round((ut*Zt[1]+Dt*Zt[5]+Zt[13])*100)/100}function wt(){for(var ut=0,Dt=this.props,Zt="matrix3d(",$t=1e4;ut<16;)Zt+=T(Dt[ut]*$t)/$t,Zt+=ut===15?")":",",ut+=1;return Zt}function St(ut){var Dt=1e4;return ut<1e-6&&ut>0||ut>-1e-6&&ut<0?T(ut*Dt)/Dt:ut}function At(){var ut=this.props,Dt=St(ut[0]),Zt=St(ut[1]),$t=St(ut[4]),xe=St(ut[5]),ge=St(ut[12]),Me=St(ut[13]);return "matrix("+Dt+","+Zt+","+$t+","+xe+","+ge+","+Me+")"}return function(){this.reset=I,this.rotate=F,this.rotateX=G,this.rotateY=K,this.rotateZ=X,this.skew=lt,this.skewFromAxis=tt,this.shear=it,this.scale=H,this.setTransform=j,this.translate=W,this.transform=R,this.multiply=rt,this.applyToPoint=Pt,this.applyToX=Rt,this.applyToY=jt,this.applyToZ=Lt,this.applyToPointArray=Ct,this.applyToTriplePoints=ht,this.applyToPointStringified=Ft,this.toCSS=wt,this.to2dCSS=At,this.clone=ct,this.cloneFromProps=mt,this.equals=Z,this.inversePoints=Et,this.inversePoint=_t,this.getInverseMatrix=Kt,this._t=this.transform,this.isIdentity=at,this._identity=!0,this._identityCalculated=!1,this.props=d("float32",16),this.reset();}}();function kr(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?kr=function(f){return typeof f}:kr=function(f){return f&&typeof Symbol=="function"&&f.constructor===Symbol&&f!==Symbol.prototype?"symbol":typeof f},kr(n)}var ue={};function Vs(n){h(n);}function ti(){ae.searchAnimations();}function Ta(n){qt(n);}function la(n){Pe(n);}function Ma(n){return ae.loadAnimation(n)}function os(n){if(typeof n=="string")switch(n){case"high":le(200);break;default:case"medium":le(50);break;case"low":le(10);break}else !isNaN(n)&&n>1&&le(n);}function Da(){return typeof navigator<"u"}function Fa(n,f){n==="expressions"&&se(f);}function Ia(n){switch(n){case"propertyFactory":return te;case"shapePropertyFactory":return gr;case"matrix":return Ge;default:return null}}ue.play=ae.play,ue.pause=ae.pause,ue.setLocationHref=Vs,ue.togglePause=ae.togglePause,ue.setSpeed=ae.setSpeed,ue.setDirection=ae.setDirection,ue.stop=ae.stop,ue.searchAnimations=ti,ue.registerAnimation=ae.registerAnimation,ue.loadAnimation=Ma,ue.setSubframeRendering=Ta,ue.resize=ae.resize,ue.goToAndStop=ae.goToAndStop,ue.destroy=ae.destroy,ue.setQuality=os,ue.inBrowser=Da,ue.installPlugin=Fa,ue.freeze=ae.freeze,ue.unfreeze=ae.unfreeze,ue.setVolume=ae.setVolume,ue.mute=ae.mute,ue.unmute=ae.unmute,ue.getRegisteredAnimations=ae.getRegisteredAnimations,ue.useWebWorker=o,ue.setIDPrefix=la,ue.__getFactory=Ia,ue.version="5.12.2";function La(){document.readyState==="complete"&&(clearInterval(Ys),ti());}function Va(n){for(var f=Xs.split("&"),b=0;b<f.length;b+=1){var T=f[b].split("=");if(decodeURIComponent(T[0])==n)return decodeURIComponent(T[1])}return null}var Xs="";{var bs=document.getElementsByTagName("script"),pa=bs.length-1,Qr=bs[pa]||{src:""};Xs=Qr.src?Qr.src.replace(/^[^\?]+\??/,""):"",Va("renderer");}var Ys=setInterval(La,100);try{!((typeof t>"u"?"undefined":kr(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=ue);}catch{}var Ii=function(){var n={},f={};n.registerModifier=b,n.getModifier=T;function b(I,F){f[I]||(f[I]=F);}function T(I,F,G){return new f[I](F,G)}return n}();function ni(){}ni.prototype.initModifierProperties=function(){},ni.prototype.addShapeToModifier=function(){},ni.prototype.addShape=function(n){if(!this.closed){n.sh.container.addDynamicProperty(n.sh);var f={shape:n.sh,data:n,localShapeCollection:ai.newShapeCollection()};this.shapes.push(f),this.addShapeToModifier(f),this._isAnimated&&n.setAsAnimated();}},ni.prototype.init=function(n,f){this.shapes=[],this.elem=n,this.initDynamicPropertyContainer(n),this.initModifierProperties(n,f),this.frameId=a,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0);},ni.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties());},v([Xe],ni);function ei(){}v([ni],ei),ei.prototype.initModifierProperties=function(n,f){this.s=te.getProp(n,f.s,0,.01,this),this.e=te.getProp(n,f.e,0,.01,this),this.o=te.getProp(n,f.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=f.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length;},ei.prototype.addShapeToModifier=function(n){n.pathsData=[];},ei.prototype.calculateShapeEdges=function(n,f,b,T,I){var F=[];f<=1?F.push({s:n,e:f}):n>=1?F.push({s:n-1,e:f-1}):(F.push({s:n,e:1}),F.push({s:0,e:f-1}));var G=[],K,X=F.length,it;for(K=0;K<X;K+=1)if(it=F[K],!(it.e*I<T||it.s*I>T+b)){var lt,tt;it.s*I<=T?lt=0:lt=(it.s*I-T)/b,it.e*I>=T+b?tt=1:tt=(it.e*I-T)/b,G.push([lt,tt]);}return G.length||G.push([0,0]),G},ei.prototype.releasePathsData=function(n){var f,b=n.length;for(f=0;f<b;f+=1)bi.release(n[f]);return n.length=0,n},ei.prototype.processShapes=function(n){var f,b;if(this._mdf||n){var T=this.o.v%360/360;if(T<0&&(T+=1),this.s.v>1?f=1+T:this.s.v<0?f=0+T:f=this.s.v+T,this.e.v>1?b=1+T:this.e.v<0?b=0+T:b=this.e.v+T,f>b){var I=f;f=b,b=I;}f=Math.round(f*1e4)*1e-4,b=Math.round(b*1e4)*1e-4,this.sValue=f,this.eValue=b;}else f=this.sValue,b=this.eValue;var F,G,K=this.shapes.length,X,it,lt,tt,H,j=0;if(b===f)for(G=0;G<K;G+=1)this.shapes[G].localShapeCollection.releaseShapes(),this.shapes[G].shape._mdf=!0,this.shapes[G].shape.paths=this.shapes[G].localShapeCollection,this._mdf&&(this.shapes[G].pathsData.length=0);else if(b===1&&f===0||b===0&&f===1){if(this._mdf)for(G=0;G<K;G+=1)this.shapes[G].pathsData.length=0,this.shapes[G].shape._mdf=!0;}else {var W=[],R,rt;for(G=0;G<K;G+=1)if(R=this.shapes[G],!R.shape._mdf&&!this._mdf&&!n&&this.m!==2)R.shape.paths=R.localShapeCollection;else {if(F=R.shape.paths,it=F._length,H=0,!R.shape._mdf&&R.pathsData.length)H=R.totalShapeLength;else {for(lt=this.releasePathsData(R.pathsData),X=0;X<it;X+=1)tt=ki.getSegmentsLength(F.shapes[X]),lt.push(tt),H+=tt.totalLength;R.totalShapeLength=H,R.pathsData=lt;}j+=H,R.shape._mdf=!0;}var at=f,Z=b,ct=0,mt;for(G=K-1;G>=0;G-=1)if(R=this.shapes[G],R.shape._mdf){for(rt=R.localShapeCollection,rt.releaseShapes(),this.m===2&&K>1?(mt=this.calculateShapeEdges(f,b,R.totalShapeLength,ct,j),ct+=R.totalShapeLength):mt=[[at,Z]],it=mt.length,X=0;X<it;X+=1){at=mt[X][0],Z=mt[X][1],W.length=0,Z<=1?W.push({s:R.totalShapeLength*at,e:R.totalShapeLength*Z}):at>=1?W.push({s:R.totalShapeLength*(at-1),e:R.totalShapeLength*(Z-1)}):(W.push({s:R.totalShapeLength*at,e:R.totalShapeLength}),W.push({s:0,e:R.totalShapeLength*(Z-1)}));var Pt=this.addShapes(R,W[0]);if(W[0].s!==W[0].e){if(W.length>1){var Rt=R.shape.paths.shapes[R.shape.paths._length-1];if(Rt.c){var jt=Pt.pop();this.addPaths(Pt,rt),Pt=this.addShapes(R,W[1],jt);}else this.addPaths(Pt,rt),Pt=this.addShapes(R,W[1]);}this.addPaths(Pt,rt);}}R.shape.paths=rt;}}},ei.prototype.addPaths=function(n,f){var b,T=n.length;for(b=0;b<T;b+=1)f.addShape(n[b]);},ei.prototype.addSegment=function(n,f,b,T,I,F,G){I.setXYAt(f[0],f[1],"o",F),I.setXYAt(b[0],b[1],"i",F+1),G&&I.setXYAt(n[0],n[1],"v",F),I.setXYAt(T[0],T[1],"v",F+1);},ei.prototype.addSegmentFromArray=function(n,f,b,T){f.setXYAt(n[1],n[5],"o",b),f.setXYAt(n[2],n[6],"i",b+1),T&&f.setXYAt(n[0],n[4],"v",b),f.setXYAt(n[3],n[7],"v",b+1);},ei.prototype.addShapes=function(n,f,b){var T=n.pathsData,I=n.shape.paths.shapes,F,G=n.shape.paths._length,K,X,it=0,lt,tt,H,j,W=[],R,rt=!0;for(b?(tt=b._length,R=b._length):(b=Ve.newElement(),tt=0,R=0),W.push(b),F=0;F<G;F+=1){for(H=T[F].lengths,b.c=I[F].c,X=I[F].c?H.length:H.length+1,K=1;K<X;K+=1)if(lt=H[K-1],it+lt.addedLength<f.s)it+=lt.addedLength,b.c=!1;else if(it>f.e){b.c=!1;break}else f.s<=it&&f.e>=it+lt.addedLength?(this.addSegment(I[F].v[K-1],I[F].o[K-1],I[F].i[K],I[F].v[K],b,tt,rt),rt=!1):(j=ki.getNewSegment(I[F].v[K-1],I[F].v[K],I[F].o[K-1],I[F].i[K],(f.s-it)/lt.addedLength,(f.e-it)/lt.addedLength,H[K-1]),this.addSegmentFromArray(j,b,tt,rt),rt=!1,b.c=!1),it+=lt.addedLength,tt+=1;if(I[F].c&&H.length){if(lt=H[K-1],it<=f.e){var at=H[K-1].addedLength;f.s<=it&&f.e>=it+at?(this.addSegment(I[F].v[K-1],I[F].o[K-1],I[F].i[0],I[F].v[0],b,tt,rt),rt=!1):(j=ki.getNewSegment(I[F].v[K-1],I[F].v[0],I[F].o[K-1],I[F].i[0],(f.s-it)/at,(f.e-it)/at,H[K-1]),this.addSegmentFromArray(j,b,tt,rt),rt=!1,b.c=!1);}else b.c=!1;it+=lt.addedLength,tt+=1;}if(b._length&&(b.setXYAt(b.v[R][0],b.v[R][1],"i",R),b.setXYAt(b.v[b._length-1][0],b.v[b._length-1][1],"o",b._length-1)),it>f.e)break;F<G-1&&(b=Ve.newElement(),rt=!0,W.push(b),tt=0);}return W};function wi(){}v([ni],wi),wi.prototype.initModifierProperties=function(n,f){this.getValue=this.processKeys,this.amount=te.getProp(n,f.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length;},wi.prototype.processPath=function(n,f){var b=f/100,T=[0,0],I=n._length,F=0;for(F=0;F<I;F+=1)T[0]+=n.v[F][0],T[1]+=n.v[F][1];T[0]/=I,T[1]/=I;var G=Ve.newElement();G.c=n.c;var K,X,it,lt,tt,H;for(F=0;F<I;F+=1)K=n.v[F][0]+(T[0]-n.v[F][0])*b,X=n.v[F][1]+(T[1]-n.v[F][1])*b,it=n.o[F][0]+(T[0]-n.o[F][0])*-b,lt=n.o[F][1]+(T[1]-n.o[F][1])*-b,tt=n.i[F][0]+(T[0]-n.i[F][0])*-b,H=n.i[F][1]+(T[1]-n.i[F][1])*-b,G.setTripleAt(K,X,it,lt,tt,H,F);return G},wi.prototype.processShapes=function(n){var f,b,T=this.shapes.length,I,F,G=this.amount.v;if(G!==0){var K,X;for(b=0;b<T;b+=1){if(K=this.shapes[b],X=K.localShapeCollection,!(!K.shape._mdf&&!this._mdf&&!n))for(X.releaseShapes(),K.shape._mdf=!0,f=K.shape.paths.shapes,F=K.shape.paths._length,I=0;I<F;I+=1)X.addShape(this.processPath(f[I],G));K.shape.paths=K.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var Gi=function(){var n=[0,0];function f(X){var it=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||it,this.a&&X.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&X.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&X.skewFromAxis(-this.sk.v,this.sa.v),this.r?X.rotate(-this.r.v):X.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?X.translate(this.px.v,this.py.v,-this.pz.v):X.translate(this.px.v,this.py.v,0):X.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function b(X){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||X){var it;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 lt,tt;if(it=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(lt=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/it,0),tt=this.p.getValueAtTime(this.p.keyframes[0].t/it,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(lt=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/it,0),tt=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/it,0)):(lt=this.p.pv,tt=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/it,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){lt=[],tt=[];var H=this.px,j=this.py;H._caching.lastFrame+H.offsetTime<=H.keyframes[0].t?(lt[0]=H.getValueAtTime((H.keyframes[0].t+.01)/it,0),lt[1]=j.getValueAtTime((j.keyframes[0].t+.01)/it,0),tt[0]=H.getValueAtTime(H.keyframes[0].t/it,0),tt[1]=j.getValueAtTime(j.keyframes[0].t/it,0)):H._caching.lastFrame+H.offsetTime>=H.keyframes[H.keyframes.length-1].t?(lt[0]=H.getValueAtTime(H.keyframes[H.keyframes.length-1].t/it,0),lt[1]=j.getValueAtTime(j.keyframes[j.keyframes.length-1].t/it,0),tt[0]=H.getValueAtTime((H.keyframes[H.keyframes.length-1].t-.01)/it,0),tt[1]=j.getValueAtTime((j.keyframes[j.keyframes.length-1].t-.01)/it,0)):(lt=[H.pv,j.pv],tt[0]=H.getValueAtTime((H._caching.lastFrame+H.offsetTime-.01)/it,H.offsetTime),tt[1]=j.getValueAtTime((j._caching.lastFrame+j.offsetTime-.01)/it,j.offsetTime));}else tt=n,lt=tt;this.v.rotate(-Math.atan2(lt[1]-tt[1],lt[0]-tt[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 T(){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 I(){}function F(X){this._addDynamicProperty(X),this.elem.addDynamicProperty(X),this._isDirty=!0;}function G(X,it,lt){if(this.elem=X,this.frameId=-1,this.propType="transform",this.data=it,this.v=new Ge,this.pre=new Ge,this.appliedTransformations=0,this.initDynamicPropertyContainer(lt||X),it.p&&it.p.s?(this.px=te.getProp(X,it.p.x,0,0,this),this.py=te.getProp(X,it.p.y,0,0,this),it.p.z&&(this.pz=te.getProp(X,it.p.z,0,0,this))):this.p=te.getProp(X,it.p||{k:[0,0,0]},1,0,this),it.rx){if(this.rx=te.getProp(X,it.rx,0,dt,this),this.ry=te.getProp(X,it.ry,0,dt,this),this.rz=te.getProp(X,it.rz,0,dt,this),it.or.k[0].ti){var tt,H=it.or.k.length;for(tt=0;tt<H;tt+=1)it.or.k[tt].to=null,it.or.k[tt].ti=null;}this.or=te.getProp(X,it.or,1,dt,this),this.or.sh=!0;}else this.r=te.getProp(X,it.r||{k:0},0,dt,this);it.sk&&(this.sk=te.getProp(X,it.sk,0,dt,this),this.sa=te.getProp(X,it.sa,0,dt,this)),this.a=te.getProp(X,it.a||{k:[0,0,0]},1,0,this),this.s=te.getProp(X,it.s||{k:[100,100,100]},1,.01,this),it.o?this.o=te.getProp(X,it.o,0,.01,X):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}G.prototype={applyToMatrix:f,getValue:b,precalculateMatrix:T,autoOrient:I},v([Xe],G),G.prototype.addDynamicProperty=F,G.prototype._addDynamicProperty=Xe.prototype.addDynamicProperty;function K(X,it,lt){return new G(X,it,lt)}return {getTransformProperty:K}}();function mi(){}v([ni],mi),mi.prototype.initModifierProperties=function(n,f){this.getValue=this.processKeys,this.c=te.getProp(n,f.c,0,null,this),this.o=te.getProp(n,f.o,0,null,this),this.tr=Gi.getTransformProperty(n,f.tr,this),this.so=te.getProp(n,f.tr.so,0,.01,this),this.eo=te.getProp(n,f.tr.eo,0,.01,this),this.data=f,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Ge,this.rMatrix=new Ge,this.sMatrix=new Ge,this.tMatrix=new Ge,this.matrix=new Ge;},mi.prototype.applyTransforms=function(n,f,b,T,I,F){var G=F?-1:1,K=T.s.v[0]+(1-T.s.v[0])*(1-I),X=T.s.v[1]+(1-T.s.v[1])*(1-I);n.translate(T.p.v[0]*G*I,T.p.v[1]*G*I,T.p.v[2]),f.translate(-T.a.v[0],-T.a.v[1],T.a.v[2]),f.rotate(-T.r.v*G*I),f.translate(T.a.v[0],T.a.v[1],T.a.v[2]),b.translate(-T.a.v[0],-T.a.v[1],T.a.v[2]),b.scale(F?1/K:K,F?1/X:X),b.translate(T.a.v[0],T.a.v[1],T.a.v[2]);},mi.prototype.init=function(n,f,b,T){for(this.elem=n,this.arr=f,this.pos=b,this.elemsData=T,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(n),this.initModifierProperties(n,f[b]);b>0;)b-=1,this._elements.unshift(f[b]);this.dynamicProperties.length?this.k=!0:this.getValue(!0);},mi.prototype.resetElements=function(n){var f,b=n.length;for(f=0;f<b;f+=1)n[f]._processed=!1,n[f].ty==="gr"&&this.resetElements(n[f].it);},mi.prototype.cloneElements=function(n){var f=JSON.parse(JSON.stringify(n));return this.resetElements(f),f},mi.prototype.changeGroupRender=function(n,f){var b,T=n.length;for(b=0;b<T;b+=1)n[b]._render=f,n[b].ty==="gr"&&this.changeGroupRender(n[b].it,f);},mi.prototype.processShapes=function(n){var f,b,T,I,F,G=!1;if(this._mdf||n){var K=Math.ceil(this.c.v);if(this._groups.length<K){for(;this._groups.length<K;){var X={it:this.cloneElements(this._elements),ty:"gr"};X.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,X),this._groups.splice(0,0,X),this._currentCopies+=1;}this.elem.reloadShapes(),G=!0;}F=0;var it;for(T=0;T<=this._groups.length-1;T+=1){if(it=F<K,this._groups[T]._render=it,this.changeGroupRender(this._groups[T].it,it),!it){var lt=this.elemsData[T].it,tt=lt[lt.length-1];tt.transform.op.v!==0?(tt.transform.op._mdf=!0,tt.transform.op.v=0):tt.transform.op._mdf=!1;}F+=1;}this._currentCopies=K;var H=this.o.v,j=H%1,W=H>0?Math.floor(H):Math.ceil(H),R=this.pMatrix.props,rt=this.rMatrix.props,at=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var Z=0;if(H>0){for(;Z<W;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),Z+=1;j&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,j,!1),Z+=j);}else if(H<0){for(;Z>W;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),Z-=1;j&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-j,!0),Z-=j);}T=this.data.m===1?0:this._currentCopies-1,I=this.data.m===1?1:-1,F=this._currentCopies;for(var ct,mt;F;){if(f=this.elemsData[T].it,b=f[f.length-1].transform.mProps.v.props,mt=b.length,f[f.length-1].transform.mProps._mdf=!0,f[f.length-1].transform.op._mdf=!0,f[f.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(T/(this._currentCopies-1)),Z!==0){for((T!==0&&I===1||T!==this._currentCopies-1&&I===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(rt[0],rt[1],rt[2],rt[3],rt[4],rt[5],rt[6],rt[7],rt[8],rt[9],rt[10],rt[11],rt[12],rt[13],rt[14],rt[15]),this.matrix.transform(at[0],at[1],at[2],at[3],at[4],at[5],at[6],at[7],at[8],at[9],at[10],at[11],at[12],at[13],at[14],at[15]),this.matrix.transform(R[0],R[1],R[2],R[3],R[4],R[5],R[6],R[7],R[8],R[9],R[10],R[11],R[12],R[13],R[14],R[15]),ct=0;ct<mt;ct+=1)b[ct]=this.matrix.props[ct];this.matrix.reset();}else for(this.matrix.reset(),ct=0;ct<mt;ct+=1)b[ct]=this.matrix.props[ct];Z+=1,F-=1,T+=I;}}else for(F=this._currentCopies,T=0,I=1;F;)f=this.elemsData[T].it,b=f[f.length-1].transform.mProps.v.props,f[f.length-1].transform.mProps._mdf=!1,f[f.length-1].transform.op._mdf=!1,F-=1,T+=I;return G},mi.prototype.addShape=function(){};function rr(){}v([ni],rr),rr.prototype.initModifierProperties=function(n,f){this.getValue=this.processKeys,this.rd=te.getProp(n,f.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length;},rr.prototype.processPath=function(n,f){var b=Ve.newElement();b.c=n.c;var T,I=n._length,F,G,K,X,it,lt,tt=0,H,j,W,R,rt,at;for(T=0;T<I;T+=1)F=n.v[T],K=n.o[T],G=n.i[T],F[0]===K[0]&&F[1]===K[1]&&F[0]===G[0]&&F[1]===G[1]?(T===0||T===I-1)&&!n.c?(b.setTripleAt(F[0],F[1],K[0],K[1],G[0],G[1],tt),tt+=1):(T===0?X=n.v[I-1]:X=n.v[T-1],it=Math.sqrt(Math.pow(F[0]-X[0],2)+Math.pow(F[1]-X[1],2)),lt=it?Math.min(it/2,f)/it:0,rt=F[0]+(X[0]-F[0])*lt,H=rt,at=F[1]-(F[1]-X[1])*lt,j=at,W=H-(H-F[0])*xt,R=j-(j-F[1])*xt,b.setTripleAt(H,j,W,R,rt,at,tt),tt+=1,T===I-1?X=n.v[0]:X=n.v[T+1],it=Math.sqrt(Math.pow(F[0]-X[0],2)+Math.pow(F[1]-X[1],2)),lt=it?Math.min(it/2,f)/it:0,W=F[0]+(X[0]-F[0])*lt,H=W,R=F[1]+(X[1]-F[1])*lt,j=R,rt=H-(H-F[0])*xt,at=j-(j-F[1])*xt,b.setTripleAt(H,j,W,R,rt,at,tt),tt+=1):(b.setTripleAt(n.v[T][0],n.v[T][1],n.o[T][0],n.o[T][1],n.i[T][0],n.i[T][1],tt),tt+=1);return b},rr.prototype.processShapes=function(n){var f,b,T=this.shapes.length,I,F,G=this.rd.v;if(G!==0){var K,X;for(b=0;b<T;b+=1){if(K=this.shapes[b],X=K.localShapeCollection,!(!K.shape._mdf&&!this._mdf&&!n))for(X.releaseShapes(),K.shape._mdf=!0,f=K.shape.paths.shapes,F=K.shape.paths._length,I=0;I<F;I+=1)X.addShape(this.processPath(f[I],G));K.shape.paths=K.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function ji(n,f){return Math.abs(n-f)*1e5<=Math.min(Math.abs(n),Math.abs(f))}function Or(n){return Math.abs(n)<=1e-5}function hs(n,f,b){return n*(1-b)+f*b}function zi(n,f,b){return [hs(n[0],f[0],b),hs(n[1],f[1],b)]}function fa(n,f,b){if(n===0)return [];var T=f*f-4*n*b;if(T<0)return [];var I=-f/(2*n);if(T===0)return [I];var F=Math.sqrt(T)/(2*n);return [I-F,I+F]}function wr(n,f,b,T){return [-n+3*f-3*b+T,3*n-6*f+3*b,-3*n+3*f,n]}function Zs(n){return new Ne(n,n,n,n,!1)}function Ne(n,f,b,T,I){I&&qi(n,f)&&(f=zi(n,T,1/3)),I&&qi(b,T)&&(b=zi(n,T,2/3));var F=wr(n[0],f[0],b[0],T[0]),G=wr(n[1],f[1],b[1],T[1]);this.a=[F[0],G[0]],this.b=[F[1],G[1]],this.c=[F[2],G[2]],this.d=[F[3],G[3]],this.points=[n,f,b,T];}Ne.prototype.point=function(n){return [((this.a[0]*n+this.b[0])*n+this.c[0])*n+this.d[0],((this.a[1]*n+this.b[1])*n+this.c[1])*n+this.d[1]]},Ne.prototype.derivative=function(n){return [(3*n*this.a[0]+2*this.b[0])*n+this.c[0],(3*n*this.a[1]+2*this.b[1])*n+this.c[1]]},Ne.prototype.tangentAngle=function(n){var f=this.derivative(n);return Math.atan2(f[1],f[0])},Ne.prototype.normalAngle=function(n){var f=this.derivative(n);return Math.atan2(f[0],f[1])},Ne.prototype.inflectionPoints=function(){var n=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Or(n))return [];var f=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/n,b=f*f-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/n;if(b<0)return [];var T=Math.sqrt(b);return Or(T)?T>0&&T<1?[f]:[]:[f-T,f+T].filter(function(I){return I>0&&I<1})},Ne.prototype.split=function(n){if(n<=0)return [Zs(this.points[0]),this];if(n>=1)return [this,Zs(this.points[this.points.length-1])];var f=zi(this.points[0],this.points[1],n),b=zi(this.points[1],this.points[2],n),T=zi(this.points[2],this.points[3],n),I=zi(f,b,n),F=zi(b,T,n),G=zi(I,F,n);return [new Ne(this.points[0],f,I,G,!0),new Ne(G,F,T,this.points[3],!0)]};function Rs(n,f){var b=n.points[0][f],T=n.points[n.points.length-1][f];if(b>T){var I=T;T=b,b=I;}for(var F=fa(3*n.a[f],2*n.b[f],n.c[f]),G=0;G<F.length;G+=1)if(F[G]>0&&F[G]<1){var K=n.point(F[G])[f];K<b?b=K:K>T&&(T=K);}return {min:b,max:T}}Ne.prototype.bounds=function(){return {x:Rs(this,0),y:Rs(this,1)}},Ne.prototype.boundingBox=function(){var n=this.bounds();return {left:n.x.min,right:n.x.max,top:n.y.min,bottom:n.y.max,width:n.x.max-n.x.min,height:n.y.max-n.y.min,cx:(n.x.max+n.x.min)/2,cy:(n.y.max+n.y.min)/2}};function ri(n,f,b){var T=n.boundingBox();return {cx:T.cx,cy:T.cy,width:T.width,height:T.height,bez:n,t:(f+b)/2,t1:f,t2:b}}function ts(n){var f=n.bez.split(.5);return [ri(f[0],n.t1,n.t),ri(f[1],n.t,n.t2)]}function ls(n,f){return Math.abs(n.cx-f.cx)*2<n.width+f.width&&Math.abs(n.cy-f.cy)*2<n.height+f.height}function Er(n,f,b,T,I,F){if(ls(n,f)){if(b>=F||n.width<=T&&n.height<=T&&f.width<=T&&f.height<=T){I.push([n.t,f.t]);return}var G=ts(n),K=ts(f);Er(G[0],K[0],b+1,T,I,F),Er(G[0],K[1],b+1,T,I,F),Er(G[1],K[0],b+1,T,I,F),Er(G[1],K[1],b+1,T,I,F);}}Ne.prototype.intersections=function(n,f,b){f===void 0&&(f=2),b===void 0&&(b=7);var T=[];return Er(ri(this,0,1),ri(n,0,1),0,f,T,b),T},Ne.shapeSegment=function(n,f){var b=(f+1)%n.length();return new Ne(n.v[f],n.o[f],n.i[b],n.v[b],!0)},Ne.shapeSegmentInverted=function(n,f){var b=(f+1)%n.length();return new Ne(n.v[b],n.i[b],n.o[f],n.v[f],!0)};function xs(n,f){return [n[1]*f[2]-n[2]*f[1],n[2]*f[0]-n[0]*f[2],n[0]*f[1]-n[1]*f[0]]}function sr(n,f,b,T){var I=[n[0],n[1],1],F=[f[0],f[1],1],G=[b[0],b[1],1],K=[T[0],T[1],1],X=xs(xs(I,F),xs(G,K));return Or(X[2])?null:[X[0]/X[2],X[1]/X[2]]}function tr(n,f,b){return [n[0]+Math.cos(f)*b,n[1]-Math.sin(f)*b]}function Hr(n,f){return Math.hypot(n[0]-f[0],n[1]-f[1])}function qi(n,f){return ji(n[0],f[0])&&ji(n[1],f[1])}function ar(){}v([ni],ar),ar.prototype.initModifierProperties=function(n,f){this.getValue=this.processKeys,this.amplitude=te.getProp(n,f.s,0,null,this),this.frequency=te.getProp(n,f.r,0,null,this),this.pointsType=te.getProp(n,f.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0;};function Wr(n,f,b,T,I,F,G){var K=b-Math.PI/2,X=b+Math.PI/2,it=f[0]+Math.cos(b)*T*I,lt=f[1]-Math.sin(b)*T*I;n.setTripleAt(it,lt,it+Math.cos(K)*F,lt-Math.sin(K)*F,it+Math.cos(X)*G,lt-Math.sin(X)*G,n.length());}function _s(n,f){var b=[f[0]-n[0],f[1]-n[1]],T=-Math.PI*.5,I=[Math.cos(T)*b[0]-Math.sin(T)*b[1],Math.sin(T)*b[0]+Math.cos(T)*b[1]];return I}function ca(n,f){var b=f===0?n.length()-1:f-1,T=(f+1)%n.length(),I=n.v[b],F=n.v[T],G=_s(I,F);return Math.atan2(0,1)-Math.atan2(G[1],G[0])}function Ps(n,f,b,T,I,F,G){var K=ca(f,b),X=f.v[b%f._length],it=f.v[b===0?f._length-1:b-1],lt=f.v[(b+1)%f._length],tt=F===2?Math.sqrt(Math.pow(X[0]-it[0],2)+Math.pow(X[1]-it[1],2)):0,H=F===2?Math.sqrt(Math.pow(X[0]-lt[0],2)+Math.pow(X[1]-lt[1],2)):0;Wr(n,f.v[b%f._length],K,G,T,H/((I+1)*2),tt/((I+1)*2));}function Ra(n,f,b,T,I,F){for(var G=0;G<T;G+=1){var K=(G+1)/(T+1),X=I===2?Math.sqrt(Math.pow(f.points[3][0]-f.points[0][0],2)+Math.pow(f.points[3][1]-f.points[0][1],2)):0,it=f.normalAngle(K),lt=f.point(K);Wr(n,lt,it,F,b,X/((T+1)*2),X/((T+1)*2)),F=-F;}return F}ar.prototype.processPath=function(n,f,b,T){var I=n._length,F=Ve.newElement();if(F.c=n.c,n.c||(I-=1),I===0)return F;var G=-1,K=Ne.shapeSegment(n,0);Ps(F,n,0,f,b,T,G);for(var X=0;X<I;X+=1)G=Ra(F,K,f,b,T,-G),X===I-1&&!n.c?K=null:K=Ne.shapeSegment(n,(X+1)%I),Ps(F,n,X+1,f,b,T,G);return F},ar.prototype.processShapes=function(n){var f,b,T=this.shapes.length,I,F,G=this.amplitude.v,K=Math.max(0,Math.round(this.frequency.v)),X=this.pointsType.v;if(G!==0){var it,lt;for(b=0;b<T;b+=1){if(it=this.shapes[b],lt=it.localShapeCollection,!(!it.shape._mdf&&!this._mdf&&!n))for(lt.releaseShapes(),it.shape._mdf=!0,f=it.shape.paths.shapes,F=it.shape.paths._length,I=0;I<F;I+=1)lt.addShape(this.processPath(f[I],G,K,X));it.shape.paths=it.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function ps(n,f,b){var T=Math.atan2(f[0]-n[0],f[1]-n[1]);return [tr(n,T,b),tr(f,T,b)]}function yr(n,f){var b,T,I,F,G,K,X;X=ps(n.points[0],n.points[1],f),b=X[0],T=X[1],X=ps(n.points[1],n.points[2],f),I=X[0],F=X[1],X=ps(n.points[2],n.points[3],f),G=X[0],K=X[1];var it=sr(b,T,I,F);it===null&&(it=T);var lt=sr(G,K,I,F);return lt===null&&(lt=G),new Ne(b,it,lt,K)}function Ur(n,f,b,T,I){var F=f.points[3],G=b.points[0];if(T===3||qi(F,G))return F;if(T===2){var K=-f.tangentAngle(1),X=-b.tangentAngle(0)+Math.PI,it=sr(F,tr(F,K+Math.PI/2,100),G,tr(G,K+Math.PI/2,100)),lt=it?Hr(it,F):Hr(F,G)/2,tt=tr(F,K,2*lt*xt);return n.setXYAt(tt[0],tt[1],"o",n.length()-1),tt=tr(G,X,2*lt*xt),n.setTripleAt(G[0],G[1],G[0],G[1],tt[0],tt[1],n.length()),G}var H=qi(F,f.points[2])?f.points[0]:f.points[2],j=qi(G,b.points[1])?b.points[3]:b.points[1],W=sr(H,F,G,j);return W&&Hr(W,F)<I?(n.setTripleAt(W[0],W[1],W[0],W[1],W[0],W[1],n.length()),W):F}function Ar(n,f){var b=n.intersections(f);return b.length&&ji(b[0][0],1)&&b.shift(),b.length?b[0]:null}function fs(n,f){var b=n.slice(),T=f.slice(),I=Ar(n[n.length-1],f[0]);return I&&(b[n.length-1]=n[n.length-1].split(I[0])[0],T[0]=f[0].split(I[1])[1]),n.length>1&&f.length>1&&(I=Ar(n[0],f[f.length-1]),I)?[[n[0].split(I[0])[0]],[f[f.length-1].split(I[1])[1]]]:[b,T]}function Os(n){for(var f,b=1;b<n.length;b+=1)f=fs(n[b-1],n[b]),n[b-1]=f[0],n[b]=f[1];return n.length>1&&(f=fs(n[n.length-1],n[0]),n[n.length-1]=f[0],n[0]=f[1]),n}function Bs(n,f){var b=n.inflectionPoints(),T,I,F,G;if(b.length===0)return [yr(n,f)];if(b.length===1||ji(b[1],1))return F=n.split(b[0]),T=F[0],I=F[1],[yr(T,f),yr(I,f)];F=n.split(b[0]),T=F[0];var K=(b[1]-b[0])/(1-b[0]);return F=F[1].split(K),G=F[0],I=F[1],[yr(T,f),yr(G,f),yr(I,f)]}function Cr(){}v([ni],Cr),Cr.prototype.initModifierProperties=function(n,f){this.getValue=this.processKeys,this.amount=te.getProp(n,f.a,0,null,this),this.miterLimit=te.getProp(n,f.ml,0,null,this),this.lineJoin=f.lj,this._isAnimated=this.amount.effectsSequence.length!==0;},Cr.prototype.processPath=function(n,f,b,T){var I=Ve.newElement();I.c=n.c;var F=n.length();n.c||(F-=1);var G,K,X,it=[];for(G=0;G<F;G+=1)X=Ne.shapeSegment(n,G),it.push(Bs(X,f));if(!n.c)for(G=F-1;G>=0;G-=1)X=Ne.shapeSegmentInverted(n,G),it.push(Bs(X,f));it=Os(it);var lt=null,tt=null;for(G=0;G<it.length;G+=1){var H=it[G];for(tt&&(lt=Ur(I,tt,H[0],b,T)),tt=H[H.length-1],K=0;K<H.length;K+=1)X=H[K],lt&&qi(X.points[0],lt)?I.setXYAt(X.points[1][0],X.points[1][1],"o",I.length()-1):I.setTripleAt(X.points[0][0],X.points[0][1],X.points[1][0],X.points[1][1],X.points[0][0],X.points[0][1],I.length()),I.setTripleAt(X.points[3][0],X.points[3][1],X.points[3][0],X.points[3][1],X.points[2][0],X.points[2][1],I.length()),lt=X.points[3];}return it.length&&Ur(I,tt,it[0][0],b,T),I},Cr.prototype.processShapes=function(n){var f,b,T=this.shapes.length,I,F,G=this.amount.v,K=this.miterLimit.v,X=this.lineJoin;if(G!==0){var it,lt;for(b=0;b<T;b+=1){if(it=this.shapes[b],lt=it.localShapeCollection,!(!it.shape._mdf&&!this._mdf&&!n))for(lt.releaseShapes(),it.shape._mdf=!0,f=it.shape.paths.shapes,F=it.shape.paths._length,I=0;I<F;I+=1)lt.addShape(this.processPath(f[I],G,X,K));it.shape.paths=it.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function cs(n){for(var f=n.fStyle?n.fStyle.split(" "):[],b="normal",T="normal",I=f.length,F,G=0;G<I;G+=1)switch(F=f[G].toLowerCase(),F){case"italic":T="italic";break;case"bold":b="700";break;case"black":b="900";break;case"medium":b="500";break;case"regular":case"normal":b="400";break;case"light":case"thin":b="200";break}return {style:T,weight:n.fWeight||b}}var Li=function(){var n=5e3,f={w:0,size:0,shapes:[],data:{shapes:[]}},b=[];b=b.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 T=127988,I=917631,F=917601,G=917626,K=65039,X=8205,it=127462,lt=127487,tt=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function H(St){var At=St.split(","),ut,Dt=At.length,Zt=[];for(ut=0;ut<Dt;ut+=1)At[ut]!=="sans-serif"&&At[ut]!=="monospace"&&Zt.push(At[ut]);return Zt.join(",")}function j(St,At){var ut=_("span");ut.setAttribute("aria-hidden",!0),ut.style.fontFamily=At;var Dt=_("span");Dt.innerText="giItT1WQy@!-/#",ut.style.position="absolute",ut.style.left="-10000px",ut.style.top="-10000px",ut.style.fontSize="300px",ut.style.fontVariant="normal",ut.style.fontStyle="normal",ut.style.fontWeight="normal",ut.style.letterSpacing="0",ut.appendChild(Dt),document.body.appendChild(ut);var Zt=Dt.offsetWidth;return Dt.style.fontFamily=H(St)+", "+At,{node:Dt,w:Zt,parent:ut}}function W(){var St,At=this.fonts.length,ut,Dt,Zt=At;for(St=0;St<At;St+=1)this.fonts[St].loaded?Zt-=1:this.fonts[St].fOrigin==="n"||this.fonts[St].origin===0?this.fonts[St].loaded=!0:(ut=this.fonts[St].monoCase.node,Dt=this.fonts[St].monoCase.w,ut.offsetWidth!==Dt?(Zt-=1,this.fonts[St].loaded=!0):(ut=this.fonts[St].sansCase.node,Dt=this.fonts[St].sansCase.w,ut.offsetWidth!==Dt&&(Zt-=1,this.fonts[St].loaded=!0)),this.fonts[St].loaded&&(this.fonts[St].sansCase.parent.parentNode.removeChild(this.fonts[St].sansCase.parent),this.fonts[St].monoCase.parent.parentNode.removeChild(this.fonts[St].monoCase.parent)));Zt!==0&&Date.now()-this.initTime<n?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function R(St,At){var ut=document.body&&At?"svg":"canvas",Dt,Zt=cs(St);if(ut==="svg"){var $t=Jt("text");$t.style.fontSize="100px",$t.setAttribute("font-family",St.fFamily),$t.setAttribute("font-style",Zt.style),$t.setAttribute("font-weight",Zt.weight),$t.textContent="1",St.fClass?($t.style.fontFamily="inherit",$t.setAttribute("class",St.fClass)):$t.style.fontFamily=St.fFamily,At.appendChild($t),Dt=$t;}else {var xe=new OffscreenCanvas(500,500).getContext("2d");xe.font=Zt.style+" "+Zt.weight+" 100px "+St.fFamily,Dt=xe;}function ge(Me){return ut==="svg"?(Dt.textContent=Me,Dt.getComputedTextLength()):Dt.measureText(Me).width}return {measureText:ge}}function rt(St,At){if(!St){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=St.list;return}if(!document.body){this.isLoaded=!0,St.list.forEach(function(me){me.helper=R(me),me.cache={};}),this.fonts=St.list;return}var ut=St.list,Dt,Zt=ut.length,$t=Zt;for(Dt=0;Dt<Zt;Dt+=1){var xe=!0,ge,Me;if(ut[Dt].loaded=!1,ut[Dt].monoCase=j(ut[Dt].fFamily,"monospace"),ut[Dt].sansCase=j(ut[Dt].fFamily,"sans-serif"),!ut[Dt].fPath)ut[Dt].loaded=!0,$t-=1;else if(ut[Dt].fOrigin==="p"||ut[Dt].origin===3){if(ge=document.querySelectorAll('style[f-forigin="p"][f-family="'+ut[Dt].fFamily+'"], style[f-origin="3"][f-family="'+ut[Dt].fFamily+'"]'),ge.length>0&&(xe=!1),xe){var we=_("style");we.setAttribute("f-forigin",ut[Dt].fOrigin),we.setAttribute("f-origin",ut[Dt].origin),we.setAttribute("f-family",ut[Dt].fFamily),we.type="text/css",we.innerText="@font-face {font-family: "+ut[Dt].fFamily+"; font-style: normal; src: url('"+ut[Dt].fPath+"');}",At.appendChild(we);}}else if(ut[Dt].fOrigin==="g"||ut[Dt].origin===1){for(ge=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),Me=0;Me<ge.length;Me+=1)ge[Me].href.indexOf(ut[Dt].fPath)!==-1&&(xe=!1);if(xe){var He=_("link");He.setAttribute("f-forigin",ut[Dt].fOrigin),He.setAttribute("f-origin",ut[Dt].origin),He.type="text/css",He.rel="stylesheet",He.href=ut[Dt].fPath,document.body.appendChild(He);}}else if(ut[Dt].fOrigin==="t"||ut[Dt].origin===2){for(ge=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),Me=0;Me<ge.length;Me+=1)ut[Dt].fPath===ge[Me].src&&(xe=!1);if(xe){var Ce=_("link");Ce.setAttribute("f-forigin",ut[Dt].fOrigin),Ce.setAttribute("f-origin",ut[Dt].origin),Ce.setAttribute("rel","stylesheet"),Ce.setAttribute("href",ut[Dt].fPath),At.appendChild(Ce);}}ut[Dt].helper=R(ut[Dt],At),ut[Dt].cache={},this.fonts.push(ut[Dt]);}$t===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function at(St){if(St){this.chars||(this.chars=[]);var At,ut=St.length,Dt,Zt=this.chars.length,$t;for(At=0;At<ut;At+=1){for(Dt=0,$t=!1;Dt<Zt;)this.chars[Dt].style===St[At].style&&this.chars[Dt].fFamily===St[At].fFamily&&this.chars[Dt].ch===St[At].ch&&($t=!0),Dt+=1;$t||(this.chars.push(St[At]),Zt+=1);}}}function Z(St,At,ut){for(var Dt=0,Zt=this.chars.length;Dt<Zt;){if(this.chars[Dt].ch===St&&this.chars[Dt].style===At&&this.chars[Dt].fFamily===ut)return this.chars[Dt];Dt+=1;}return (typeof St=="string"&&St.charCodeAt(0)!==13||!St)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",St,At,ut)),f}function ct(St,At,ut){var Dt=this.getFontByName(At),Zt=St;if(!Dt.cache[Zt]){var $t=Dt.helper;if(St===" "){var xe=$t.measureText("|"+St+"|"),ge=$t.measureText("||");Dt.cache[Zt]=(xe-ge)/100;}else Dt.cache[Zt]=$t.measureText(St)/100;}return Dt.cache[Zt]*ut}function mt(St){for(var At=0,ut=this.fonts.length;At<ut;){if(this.fonts[At].fName===St)return this.fonts[At];At+=1;}return this.fonts[0]}function Pt(St){var At=0,ut=St.charCodeAt(0);if(ut>=55296&&ut<=56319){var Dt=St.charCodeAt(1);Dt>=56320&&Dt<=57343&&(At=(ut-55296)*1024+Dt-56320+65536);}return At}function Rt(St,At){var ut=St.toString(16)+At.toString(16);return tt.indexOf(ut)!==-1}function jt(St){return St===X}function Lt(St){return St===K}function Kt(St){var At=Pt(St);return At>=it&&At<=lt}function _t(St){return Kt(St.substr(0,2))&&Kt(St.substr(2,2))}function Et(St){return b.indexOf(St)!==-1}function ht(St,At){var ut=Pt(St.substr(At,2));if(ut!==T)return !1;var Dt=0;for(At+=2;Dt<5;){if(ut=Pt(St.substr(At,2)),ut<F||ut>G)return !1;Dt+=1,At+=2;}return Pt(St.substr(At,2))===I}function Ct(){this.isLoaded=!0;}var Ft=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);};Ft.isModifier=Rt,Ft.isZeroWidthJoiner=jt,Ft.isFlagEmoji=_t,Ft.isRegionalCode=Kt,Ft.isCombinedCharacter=Et,Ft.isRegionalFlag=ht,Ft.isVariationSelector=Lt,Ft.BLACK_FLAG_CODE_POINT=T;var wt={addChars:at,addFonts:rt,getCharData:Z,getFontByName:mt,measureText:ct,checkLoadedFonts:W,setIsLoaded:Ct};return Ft.prototype=wt,Ft}();function Tr(n){this.animationData=n;}Tr.prototype.getProp=function(n){return this.animationData.slots&&this.animationData.slots[n.sid]?Object.assign(n,this.animationData.slots[n.sid].p):n};function vr(n){return new Tr(n)}function nr(){}nr.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[];},addRenderableComponent:function(n){this.renderableComponents.indexOf(n)===-1&&this.renderableComponents.push(n);},removeRenderableComponent:function(n){this.renderableComponents.indexOf(n)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(n),1);},prepareRenderableFrame:function(n){this.checkLayerLimits(n);},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(n){this.data.ip-this.data.st<=n&&this.data.op-this.data.st>n?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 n,f=this.renderableComponents.length;for(n=0;n<f;n+=1)this.renderableComponents[n].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 es=function(){var n={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(f){return n[f]||""}}();function us(n,f,b){this.p=te.getProp(f,n.v,0,0,b);}function zs(n,f,b){this.p=te.getProp(f,n.v,0,0,b);}function Oa(n,f,b){this.p=te.getProp(f,n.v,1,0,b);}function Ba(n,f,b){this.p=te.getProp(f,n.v,1,0,b);}function ua(n,f,b){this.p=te.getProp(f,n.v,0,0,b);}function za(n,f,b){this.p=te.getProp(f,n.v,0,0,b);}function Ot(n,f,b){this.p=te.getProp(f,n.v,0,0,b);}function Yt(){this.p={};}function ie(n,f){var b=n.ef||[];this.effectElements=[];var T,I=b.length,F;for(T=0;T<I;T+=1)F=new ye(b[T],f),this.effectElements.push(F);}function ye(n,f){this.init(n,f);}v([Xe],ye),ye.prototype.getValue=ye.prototype.iterateDynamicProperties,ye.prototype.init=function(n,f){this.data=n,this.effectElements=[],this.initDynamicPropertyContainer(f);var b,T=this.data.ef.length,I,F=this.data.ef;for(b=0;b<T;b+=1){switch(I=null,F[b].ty){case 0:I=new us(F[b],f,this);break;case 1:I=new zs(F[b],f,this);break;case 2:I=new Oa(F[b],f,this);break;case 3:I=new Ba(F[b],f,this);break;case 4:case 7:I=new Ot(F[b],f,this);break;case 10:I=new ua(F[b],f,this);break;case 11:I=new za(F[b],f,this);break;case 5:I=new ie(F[b],f);break;default:I=new Yt(F[b]);break}I&&this.effectElements.push(I);}};function Te(){}Te.prototype={checkMasks:function(){if(!this.data.hasMask)return !1;for(var n=0,f=this.data.masksProperties.length;n<f;){if(this.data.masksProperties[n].mode!=="n"&&this.data.masksProperties[n].cl!==!1)return !0;n+=1;}return !1},initExpressions:function(){},setBlendMode:function(){var n=es(this.data.bm),f=this.baseElement||this.layerElement;f.style["mix-blend-mode"]=n;},initBaseData:function(n,f,b){this.globalData=f,this.comp=b,this.data=n,this.layerId=E(),this.data.sr||(this.data.sr=1),this.effectsManager=new ie(this.data,this,this.dynamicProperties);},getType:function(){return this.type},sourceRectAtTime:function(){}};function Fe(){}Fe.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1;},prepareProperties:function(n,f){var b,T=this.dynamicProperties.length;for(b=0;b<T;b+=1)(f||this._isParent&&this.dynamicProperties[b].propType==="transform")&&(this.dynamicProperties[b].getValue(),this.dynamicProperties[b]._mdf&&(this.globalData._mdf=!0,this._mdf=!0));},addDynamicProperty:function(n){this.dynamicProperties.indexOf(n)===-1&&this.dynamicProperties.push(n);}};function De(n,f,b){this.initFrame(),this.initRenderable(),this.assetData=f.getAssetData(n.refId),this.footageData=f.imageLoader.getAsset(this.assetData),this.initBaseData(n,f,b);}De.prototype.prepareFrame=function(){},v([nr,Te,Fe],De),De.prototype.getBaseElement=function(){return null},De.prototype.renderFrame=function(){},De.prototype.destroy=function(){},De.prototype.initExpressions=function(){},De.prototype.getFootageData=function(){return this.footageData};function ve(n,f,b){this.initFrame(),this.initRenderable(),this.assetData=f.getAssetData(n.refId),this.initBaseData(n,f,b),this._isPlaying=!1,this._canPlay=!1;var T=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(T),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=n.tm?te.getProp(this,n.tm,0,f.frameRate,this):{_placeholder:!0},this.lv=te.getProp(this,n.au&&n.au.lv?n.au.lv:{k:[100]},1,.01,this);}ve.prototype.prepareFrame=function(n){if(this.prepareRenderableFrame(n,!0),this.prepareProperties(n,!0),this.tm._placeholder)this._currentTime=n/this.data.sr;else {var f=this.tm.v;this._currentTime=f;}this._volume=this.lv.v[0];var b=this._volume*this._volumeMultiplier;this._previousVolume!==b&&(this._previousVolume=b,this.audio.volume(b));},v([nr,Te,Fe],ve),ve.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));},ve.prototype.show=function(){},ve.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1;},ve.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1;},ve.prototype.resume=function(){this._canPlay=!0;},ve.prototype.setRate=function(n){this.audio.rate(n);},ve.prototype.volume=function(n){this._volumeMultiplier=n,this._previousVolume=n*this._volume,this.audio.volume(this._previousVolume);},ve.prototype.getBaseElement=function(){return null},ve.prototype.destroy=function(){},ve.prototype.sourceRectAtTime=function(){},ve.prototype.initExpressions=function(){};function Ae(){}Ae.prototype.checkLayers=function(n){var f,b=this.layers.length,T;for(this.completeLayers=!0,f=b-1;f>=0;f-=1)this.elements[f]||(T=this.layers[f],T.ip-T.st<=n-this.layers[f].st&&T.op-T.st>n-this.layers[f].st&&this.buildItem(f)),this.completeLayers=this.elements[f]?this.completeLayers:!1;this.checkPendingElements();},Ae.prototype.createItem=function(n){switch(n.ty){case 2:return this.createImage(n);case 0:return this.createComp(n);case 1:return this.createSolid(n);case 3:return this.createNull(n);case 4:return this.createShape(n);case 5:return this.createText(n);case 6:return this.createAudio(n);case 13:return this.createCamera(n);case 15:return this.createFootage(n);default:return this.createNull(n)}},Ae.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Ae.prototype.createAudio=function(n){return new ve(n,this.globalData,this)},Ae.prototype.createFootage=function(n){return new De(n,this.globalData,this)},Ae.prototype.buildAllItems=function(){var n,f=this.layers.length;for(n=0;n<f;n+=1)this.buildItem(n);this.checkPendingElements();},Ae.prototype.includeLayers=function(n){this.completeLayers=!1;var f,b=n.length,T,I=this.layers.length;for(f=0;f<b;f+=1)for(T=0;T<I;){if(this.layers[T].id===n[f].id){this.layers[T]=n[f];break}T+=1;}},Ae.prototype.setProjectInterface=function(n){this.globalData.projectInterface=n;},Ae.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems();},Ae.prototype.buildElementParenting=function(n,f,b){for(var T=this.elements,I=this.layers,F=0,G=I.length;F<G;)I[F].ind==f&&(!T[F]||T[F]===!0?(this.buildItem(F),this.addPendingElement(n)):(b.push(T[F]),T[F].setAsParent(),I[F].parent!==void 0?this.buildElementParenting(n,I[F].parent,b):n.setHierarchy(b))),F+=1;},Ae.prototype.addPendingElement=function(n){this.pendingElements.push(n);},Ae.prototype.searchExtraCompositions=function(n){var f,b=n.length;for(f=0;f<b;f+=1)if(n[f].xt){var T=this.createComp(n[f]);T.initExpressions(),this.globalData.projectInterface.registerComposition(T);}},Ae.prototype.getElementById=function(n){var f,b=this.elements.length;for(f=0;f<b;f+=1)if(this.elements[f].data.ind===n)return this.elements[f];return null},Ae.prototype.getElementByPath=function(n){var f=n.shift(),b;if(typeof f=="number")b=this.elements[f];else {var T,I=this.elements.length;for(T=0;T<I;T+=1)if(this.elements[T].data.nm===f){b=this.elements[T];break}}return n.length===0?b:b.getElementByPath(n)},Ae.prototype.setupGlobalData=function(n,f){this.globalData.fontManager=new Li,this.globalData.slotManager=vr(n),this.globalData.fontManager.addChars(n.chars),this.globalData.fontManager.addFonts(n.fonts,f),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=n.fr,this.globalData.nm=n.nm,this.globalData.compSize={w:n.w,h:n.h};};var oi={TRANSFORM_EFFECT:"transformEFfect"};function Be(){}Be.prototype={initTransform:function(){var n=new Ge;this.finalTransform={mProp:this.data.ks?Gi.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:n,localMat:n,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 n,f=this.finalTransform.mat,b=0,T=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;b<T;){if(this.hierarchy[b].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}b+=1;}if(this.finalTransform._matMdf)for(n=this.finalTransform.mProp.v.props,f.cloneFromProps(n),b=0;b<T;b+=1)f.multiply(this.hierarchy[b].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 n=0,f=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;n<f;)this.localTransforms[n]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[n]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),n+=1;if(this.finalTransform._localMatMdf){var b=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(b),n=1;n<f;n+=1){var T=this.localTransforms[n].matrix;b.multiply(T);}b.multiply(this.finalTransform.mat);}if(this.finalTransform._opMdf){var I=this.finalTransform.localOpacity;for(n=0;n<f;n+=1)I*=this.localTransforms[n].opacity*.01;this.finalTransform.localOpacity=I;}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var n=this.renderableEffectsManager.getEffects(oi.TRANSFORM_EFFECT);if(n.length){this.localTransforms=[],this.finalTransform.localMat=new Ge;var f=0,b=n.length;for(f=0;f<b;f+=1)this.localTransforms.push(n[f]);}}},globalToLocal:function(n){var f=[];f.push(this.finalTransform);for(var b=!0,T=this.comp;b;)T.finalTransform?(T.data.hasMask&&f.splice(0,0,T.finalTransform),T=T.comp):b=!1;var I,F=f.length,G;for(I=0;I<F;I+=1)G=f[I].mat.applyToPointArray(0,0,0),n=[n[0]-G[0],n[1]-G[1],0];return n},mHelper:new Ge};function Vi(n,f,b){this.data=n,this.element=f,this.globalData=b,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var T=this.globalData.defs,I,F=this.masksProperties?this.masksProperties.length:0;this.viewData=g(F),this.solidPath="";var G,K=this.masksProperties,X=0,it=[],lt,tt,H=E(),j,W,R,rt,at="clipPath",Z="clip-path";for(I=0;I<F;I+=1)if((K[I].mode!=="a"&&K[I].mode!=="n"||K[I].inv||K[I].o.k!==100||K[I].o.x)&&(at="mask",Z="mask"),(K[I].mode==="s"||K[I].mode==="i")&&X===0?(j=Jt("rect"),j.setAttribute("fill","#ffffff"),j.setAttribute("width",this.element.comp.data.w||0),j.setAttribute("height",this.element.comp.data.h||0),it.push(j)):j=null,G=Jt("path"),K[I].mode==="n")this.viewData[I]={op:te.getProp(this.element,K[I].o,0,.01,this.element),prop:gr.getShapeProp(this.element,K[I],3),elem:G,lastPath:""},T.appendChild(G);else {X+=1,G.setAttribute("fill",K[I].mode==="s"?"#000000":"#ffffff"),G.setAttribute("clip-rule","nonzero");var ct;if(K[I].x.k!==0?(at="mask",Z="mask",rt=te.getProp(this.element,K[I].x,0,null,this.element),ct=E(),W=Jt("filter"),W.setAttribute("id",ct),R=Jt("feMorphology"),R.setAttribute("operator","erode"),R.setAttribute("in","SourceGraphic"),R.setAttribute("radius","0"),W.appendChild(R),T.appendChild(W),G.setAttribute("stroke",K[I].mode==="s"?"#000000":"#ffffff")):(R=null,rt=null),this.storedData[I]={elem:G,x:rt,expan:R,lastPath:"",lastOperator:"",filterId:ct,lastRadius:0},K[I].mode==="i"){tt=it.length;var mt=Jt("g");for(lt=0;lt<tt;lt+=1)mt.appendChild(it[lt]);var Pt=Jt("mask");Pt.setAttribute("mask-type","alpha"),Pt.setAttribute("id",H+"_"+X),Pt.appendChild(G),T.appendChild(Pt),mt.setAttribute("mask","url("+c()+"#"+H+"_"+X+")"),it.length=0,it.push(mt);}else it.push(G);K[I].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[I]={elem:G,lastPath:"",op:te.getProp(this.element,K[I].o,0,.01,this.element),prop:gr.getShapeProp(this.element,K[I],3),invRect:j},this.viewData[I].prop.k||this.drawPath(K[I],this.viewData[I].prop.v,this.viewData[I]);}for(this.maskElement=Jt(at),F=it.length,I=0;I<F;I+=1)this.maskElement.appendChild(it[I]);X>0&&(this.maskElement.setAttribute("id",H),this.element.maskedElement.setAttribute(Z,"url("+c()+"#"+H+")"),T.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this);}Vi.prototype.getMaskProperty=function(n){return this.viewData[n].prop},Vi.prototype.renderFrame=function(n){var f=this.element.finalTransform.mat,b,T=this.masksProperties.length;for(b=0;b<T;b+=1)if((this.viewData[b].prop._mdf||n)&&this.drawPath(this.masksProperties[b],this.viewData[b].prop.v,this.viewData[b]),(this.viewData[b].op._mdf||n)&&this.viewData[b].elem.setAttribute("fill-opacity",this.viewData[b].op.v),this.masksProperties[b].mode!=="n"&&(this.viewData[b].invRect&&(this.element.finalTransform.mProp._mdf||n)&&this.viewData[b].invRect.setAttribute("transform",f.getInverseMatrix().to2dCSS()),this.storedData[b].x&&(this.storedData[b].x._mdf||n))){var I=this.storedData[b].expan;this.storedData[b].x.v<0?(this.storedData[b].lastOperator!=="erode"&&(this.storedData[b].lastOperator="erode",this.storedData[b].elem.setAttribute("filter","url("+c()+"#"+this.storedData[b].filterId+")")),I.setAttribute("radius",-this.storedData[b].x.v)):(this.storedData[b].lastOperator!=="dilate"&&(this.storedData[b].lastOperator="dilate",this.storedData[b].elem.setAttribute("filter",null)),this.storedData[b].elem.setAttribute("stroke-width",this.storedData[b].x.v*2));}},Vi.prototype.getMaskelement=function(){return this.maskElement},Vi.prototype.createLayerSolidPath=function(){var n="M0,0 ";return n+=" h"+this.globalData.compSize.w,n+=" v"+this.globalData.compSize.h,n+=" h-"+this.globalData.compSize.w,n+=" v-"+this.globalData.compSize.h+" ",n},Vi.prototype.drawPath=function(n,f,b){var T=" M"+f.v[0][0]+","+f.v[0][1],I,F;for(F=f._length,I=1;I<F;I+=1)T+=" C"+f.o[I-1][0]+","+f.o[I-1][1]+" "+f.i[I][0]+","+f.i[I][1]+" "+f.v[I][0]+","+f.v[I][1];if(f.c&&F>1&&(T+=" C"+f.o[I-1][0]+","+f.o[I-1][1]+" "+f.i[0][0]+","+f.i[0][1]+" "+f.v[0][0]+","+f.v[0][1]),b.lastPath!==T){var G="";b.elem&&(f.c&&(G=n.inv?this.solidPath+T:T),b.elem.setAttribute("d",G)),b.lastPath=T;}},Vi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null;};var Ei=function(){var n={};n.createFilter=f,n.createAlphaToLuminanceFilter=b;function f(T,I){var F=Jt("filter");return F.setAttribute("id",T),I!==!0&&(F.setAttribute("filterUnits","objectBoundingBox"),F.setAttribute("x","0%"),F.setAttribute("y","0%"),F.setAttribute("width","100%"),F.setAttribute("height","100%")),F}function b(){var T=Jt("feColorMatrix");return T.setAttribute("type","matrix"),T.setAttribute("color-interpolation-filters","sRGB"),T.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),T}return n}(),Yi=function(){var n={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))&&(n.maskType=!1),/firefox/i.test(navigator.userAgent)&&(n.svgLumaHidden=!1),n}(),Mr={},da="filter_result_";function Ss(n){var f,b="SourceGraphic",T=n.data.ef?n.data.ef.length:0,I=E(),F=Ei.createFilter(I,!0),G=0;this.filters=[];var K;for(f=0;f<T;f+=1){K=null;var X=n.data.ef[f].ty;if(Mr[X]){var it=Mr[X].effect;K=new it(F,n.effectsManager.effectElements[f],n,da+G,b),b=da+G,Mr[X].countsAsEffect&&(G+=1);}K&&this.filters.push(K);}G&&(n.globalData.defs.appendChild(F),n.layerElement.setAttribute("filter","url("+c()+"#"+I+")")),this.filters.length&&n.addRenderableComponent(this);}Ss.prototype.renderFrame=function(n){var f,b=this.filters.length;for(f=0;f<b;f+=1)this.filters[f].renderFrame(n);},Ss.prototype.getEffects=function(n){var f,b=this.filters.length,T=[];for(f=0;f<b;f+=1)this.filters[f].type===n&&T.push(this.filters[f]);return T};function Jr(){}Jr.prototype={initRendererElement:function(){this.layerElement=Jt("g");},createContainerElements:function(){this.matteElement=Jt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var n=null;if(this.data.td){this.matteMasks={};var f=Jt("g");f.setAttribute("id",this.layerId),f.appendChild(this.layerElement),n=f,this.globalData.defs.appendChild(f);}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=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 b=Jt("clipPath"),T=Jt("path");T.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var I=E();if(b.setAttribute("id",I),b.appendChild(T),this.globalData.defs.appendChild(b),this.checkMasks()){var F=Jt("g");F.setAttribute("clip-path","url("+c()+"#"+I+")"),F.appendChild(this.layerElement),this.transformedElement=F,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+c()+"#"+I+")");}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 Vi(this.data,this,this.globalData),this.renderableEffectsManager=new Ss(this),this.searchEffectTransforms();},getMatte:function(n){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[n]){var f=this.layerId+"_"+n,b,T,I,F;if(n===1||n===3){var G=Jt("mask");G.setAttribute("id",f),G.setAttribute("mask-type",n===3?"luminance":"alpha"),I=Jt("use"),I.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),G.appendChild(I),this.globalData.defs.appendChild(G),!Yi.maskType&&n===1&&(G.setAttribute("mask-type","luminance"),b=E(),T=Ei.createFilter(b),this.globalData.defs.appendChild(T),T.appendChild(Ei.createAlphaToLuminanceFilter()),F=Jt("g"),F.appendChild(I),G.appendChild(F),F.setAttribute("filter","url("+c()+"#"+b+")"));}else if(n===2){var K=Jt("mask");K.setAttribute("id",f),K.setAttribute("mask-type","alpha");var X=Jt("g");K.appendChild(X),b=E(),T=Ei.createFilter(b);var it=Jt("feComponentTransfer");it.setAttribute("in","SourceGraphic"),T.appendChild(it);var lt=Jt("feFuncA");lt.setAttribute("type","table"),lt.setAttribute("tableValues","1.0 0.0"),it.appendChild(lt),this.globalData.defs.appendChild(T);var tt=Jt("rect");tt.setAttribute("width",this.comp.data.w),tt.setAttribute("height",this.comp.data.h),tt.setAttribute("x","0"),tt.setAttribute("y","0"),tt.setAttribute("fill","#ffffff"),tt.setAttribute("opacity","0"),X.setAttribute("filter","url("+c()+"#"+b+")"),X.appendChild(tt),I=Jt("use"),I.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),X.appendChild(I),Yi.maskType||(K.setAttribute("mask-type","luminance"),T.appendChild(Ei.createAlphaToLuminanceFilter()),F=Jt("g"),X.appendChild(tt),F.appendChild(this.layerElement),X.appendChild(F)),this.globalData.defs.appendChild(K);}this.matteMasks[n]=f;}return this.matteMasks[n]},setMatte:function(n){this.matteElement&&this.matteElement.setAttribute("mask","url("+c()+"#"+n+")");}};function Ui(){}Ui.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting();},setHierarchy:function(n){this.hierarchy=n;},setAsParent:function(){this._isParent=!0;},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[]);}};function er(){}(function(){var n={initElement:function(f,b,T){this.initFrame(),this.initBaseData(f,b,T),this.initTransform(f,b,T),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide();},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var f=this.baseElement||this.layerElement;f.style.display="none",this.hidden=!0;}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var f=this.baseElement||this.layerElement;f.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(f){this._mdf=!1,this.prepareRenderableFrame(f),this.prepareProperties(f,this.isInRange),this.checkTransparency();},destroy:function(){this.innerElem=null,this.destroyBaseElement();}};v([nr,u(n)],er);})();function Ai(n,f,b){this.assetData=f.getAssetData(n.refId),this.assetData&&this.assetData.sid&&(this.assetData=f.slotManager.getProp(this.assetData)),this.initElement(n,f,b),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h};}v([Te,Be,Jr,Ui,Fe,er],Ai),Ai.prototype.createContent=function(){var n=this.globalData.getAssetsPath(this.assetData);this.innerElem=Jt("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",n),this.layerElement.appendChild(this.innerElem);},Ai.prototype.sourceRectAtTime=function(){return this.sourceRect};function ks(n,f){this.elem=n,this.pos=f;}function is(){}is.prototype={addShapeToModifiers:function(n){var f,b=this.shapeModifiers.length;for(f=0;f<b;f+=1)this.shapeModifiers[f].addShape(n);},isShapeInAnimatedModifiers:function(n){for(var f=0,b=this.shapeModifiers.length;f<b;)if(this.shapeModifiers[f].isAnimatedWithShape(n))return !0;return !1},renderModifiers:function(){if(this.shapeModifiers.length){var n,f=this.shapes.length;for(n=0;n<f;n+=1)this.shapes[n].sh.reset();f=this.shapeModifiers.length;var b;for(n=f-1;n>=0&&(b=this.shapeModifiers[n].processShapes(this._isFirstFrame),!b);n-=1);}},searchProcessedElement:function(n){for(var f=this.processedElements,b=0,T=f.length;b<T;){if(f[b].elem===n)return f[b].pos;b+=1;}return 0},addProcessedElement:function(n,f){for(var b=this.processedElements,T=b.length;T;)if(T-=1,b[T].elem===n){b[T].pos=f;return}b.push(new ks(n,f));},prepareFrame:function(n){this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange);}};var ma={1:"butt",2:"round",3:"square"},Ks={1:"miter",2:"round",3:"bevel"};function Ns(n,f,b){this.caches=[],this.styles=[],this.transformers=n,this.lStr="",this.sh=b,this.lvl=f,this._isAnimated=!!b.k;for(var T=0,I=n.length;T<I;){if(n[T].mProps.dynamicProperties.length){this._isAnimated=!0;break}T+=1;}}Ns.prototype.setAsAnimated=function(){this._isAnimated=!0;};function Qs(n,f){this.data=n,this.type=n.ty,this.d="",this.lvl=f,this._mdf=!1,this.closed=n.hd===!0,this.pElem=Jt("path"),this.msElem=null;}Qs.prototype.reset=function(){this.d="",this._mdf=!1;};function rs(n,f,b,T){this.elem=n,this.frameId=-1,this.dataProps=g(f.length),this.renderer=b,this.k=!1,this.dashStr="",this.dashArray=d("float32",f.length?f.length-1:0),this.dashoffset=d("float32",1),this.initDynamicPropertyContainer(T);var I,F=f.length||0,G;for(I=0;I<F;I+=1)G=te.getProp(n,f[I].v,0,0,this),this.k=G.k||this.k,this.dataProps[I]={n:f[I].n,p:G};this.k||this.getValue(!0),this._isAnimated=this.k;}rs.prototype.getValue=function(n){if(!(this.elem.globalData.frameId===this.frameId&&!n)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||n,this._mdf)){var f=0,b=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),f=0;f<b;f+=1)this.dataProps[f].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[f].p.v:this.dashArray[f]=this.dataProps[f].p.v:this.dashoffset[0]=this.dataProps[f].p.v;}},v([Xe],rs);function ga(n,f,b){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.o=te.getProp(n,f.o,0,.01,this),this.w=te.getProp(n,f.w,0,null,this),this.d=new rs(n,f.d||{},"svg",this),this.c=te.getProp(n,f.c,1,255,this),this.style=b,this._isAnimated=!!this._isAnimated;}v([Xe],ga);function Gs(n,f,b){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.o=te.getProp(n,f.o,0,.01,this),this.c=te.getProp(n,f.c,1,255,this),this.style=b;}v([Xe],Gs);function ya(n,f,b){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.style=b;}v([Xe],ya);function Br(n,f,b){this.data=f,this.c=d("uint8c",f.p*4);var T=f.k.k[0].s?f.k.k[0].s.length-f.p*4:f.k.k.length-f.p*4;this.o=d("float32",T),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=T,this.initDynamicPropertyContainer(b),this.prop=te.getProp(n,f.k,1,null,this),this.k=this.prop.k,this.getValue(!0);}Br.prototype.comparePoints=function(n,f){for(var b=0,T=this.o.length/2,I;b<T;){if(I=Math.abs(n[b*4]-n[f*4+b*2]),I>.01)return !1;b+=1;}return !0},Br.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return !1;if(this.data.k.k[0].s)for(var n=0,f=this.data.k.k.length;n<f;){if(!this.comparePoints(this.data.k.k[n].s,this.data.p))return !1;n+=1;}else if(!this.comparePoints(this.data.k.k,this.data.p))return !1;return !0},Br.prototype.getValue=function(n){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||n){var f,b=this.data.p*4,T,I;for(f=0;f<b;f+=1)T=f%4===0?100:255,I=Math.round(this.prop.v[f]*T),this.c[f]!==I&&(this.c[f]=I,this._cmdf=!n);if(this.o.length)for(b=this.prop.v.length,f=this.data.p*4;f<b;f+=1)T=f%2===0?100:1,I=f%2===0?Math.round(this.prop.v[f]*100):this.prop.v[f],this.o[f-this.data.p*4]!==I&&(this.o[f-this.data.p*4]=I,this._omdf=!n);this._mdf=!n;}},v([Xe],Br);function Dr(n,f,b){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.initGradientData(n,f,b);}Dr.prototype.initGradientData=function(n,f,b){this.o=te.getProp(n,f.o,0,.01,this),this.s=te.getProp(n,f.s,1,null,this),this.e=te.getProp(n,f.e,1,null,this),this.h=te.getProp(n,f.h||{k:0},0,.01,this),this.a=te.getProp(n,f.a||{k:0},0,dt,this),this.g=new Br(n,f.g,this),this.style=b,this.stops=[],this.setGradientData(b.pElem,f),this.setGradientOpacity(f,b),this._isAnimated=!!this._isAnimated;},Dr.prototype.setGradientData=function(n,f){var b=E(),T=Jt(f.t===1?"linearGradient":"radialGradient");T.setAttribute("id",b),T.setAttribute("spreadMethod","pad"),T.setAttribute("gradientUnits","userSpaceOnUse");var I=[],F,G,K;for(K=f.g.p*4,G=0;G<K;G+=4)F=Jt("stop"),T.appendChild(F),I.push(F);n.setAttribute(f.ty==="gf"?"fill":"stroke","url("+c()+"#"+b+")"),this.gf=T,this.cst=I;},Dr.prototype.setGradientOpacity=function(n,f){if(this.g._hasOpacity&&!this.g._collapsable){var b,T,I,F=Jt("mask"),G=Jt("path");F.appendChild(G);var K=E(),X=E();F.setAttribute("id",X);var it=Jt(n.t===1?"linearGradient":"radialGradient");it.setAttribute("id",K),it.setAttribute("spreadMethod","pad"),it.setAttribute("gradientUnits","userSpaceOnUse"),I=n.g.k.k[0].s?n.g.k.k[0].s.length:n.g.k.k.length;var lt=this.stops;for(T=n.g.p*4;T<I;T+=2)b=Jt("stop"),b.setAttribute("stop-color","rgb(255,255,255)"),it.appendChild(b),lt.push(b);G.setAttribute(n.ty==="gf"?"fill":"stroke","url("+c()+"#"+K+")"),n.ty==="gs"&&(G.setAttribute("stroke-linecap",ma[n.lc||2]),G.setAttribute("stroke-linejoin",Ks[n.lj||2]),n.lj===1&&G.setAttribute("stroke-miterlimit",n.ml)),this.of=it,this.ms=F,this.ost=lt,this.maskId=X,f.msElem=G;}},v([Xe],Dr);function ws(n,f,b){this.initDynamicPropertyContainer(n),this.getValue=this.iterateDynamicProperties,this.w=te.getProp(n,f.w,0,null,this),this.d=new rs(n,f.d||{},"svg",this),this.initGradientData(n,f,b),this._isAnimated=!!this._isAnimated;}v([Dr,Xe],ws);function js(){this.it=[],this.prevViewData=[],this.gr=Jt("g");}function tn(n,f,b){this.transform={mProps:n,op:f,container:b},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length;}var Na=function(n,f,b,T){if(f===0)return "";var I=n.o,F=n.i,G=n.v,K,X=" M"+T.applyToPointStringified(G[0][0],G[0][1]);for(K=1;K<f;K+=1)X+=" C"+T.applyToPointStringified(I[K-1][0],I[K-1][1])+" "+T.applyToPointStringified(F[K][0],F[K][1])+" "+T.applyToPointStringified(G[K][0],G[K][1]);return b&&f&&(X+=" C"+T.applyToPointStringified(I[K-1][0],I[K-1][1])+" "+T.applyToPointStringified(F[0][0],F[0][1])+" "+T.applyToPointStringified(G[0][0],G[0][1]),X+="z"),X},_n=function(){var n=new Ge,f=new Ge,b={createRenderFunction:T};function T(tt){switch(tt.ty){case"fl":return K;case"gf":return it;case"gs":return X;case"st":return lt;case"sh":case"el":case"rc":case"sr":return G;case"tr":return I;case"no":return F;default:return null}}function I(tt,H,j){(j||H.transform.op._mdf)&&H.transform.container.setAttribute("opacity",H.transform.op.v),(j||H.transform.mProps._mdf)&&H.transform.container.setAttribute("transform",H.transform.mProps.v.to2dCSS());}function F(){}function G(tt,H,j){var W,R,rt,at,Z,ct,mt=H.styles.length,Pt=H.lvl,Rt,jt,Lt,Kt;for(ct=0;ct<mt;ct+=1){if(at=H.sh._mdf||j,H.styles[ct].lvl<Pt){for(jt=f.reset(),Lt=Pt-H.styles[ct].lvl,Kt=H.transformers.length-1;!at&&Lt>0;)at=H.transformers[Kt].mProps._mdf||at,Lt-=1,Kt-=1;if(at)for(Lt=Pt-H.styles[ct].lvl,Kt=H.transformers.length-1;Lt>0;)jt.multiply(H.transformers[Kt].mProps.v),Lt-=1,Kt-=1;}else jt=n;if(Rt=H.sh.paths,R=Rt._length,at){for(rt="",W=0;W<R;W+=1)Z=Rt.shapes[W],Z&&Z._length&&(rt+=Na(Z,Z._length,Z.c,jt));H.caches[ct]=rt;}else rt=H.caches[ct];H.styles[ct].d+=tt.hd===!0?"":rt,H.styles[ct]._mdf=at||H.styles[ct]._mdf;}}function K(tt,H,j){var W=H.style;(H.c._mdf||j)&&W.pElem.setAttribute("fill","rgb("+N(H.c.v[0])+","+N(H.c.v[1])+","+N(H.c.v[2])+")"),(H.o._mdf||j)&&W.pElem.setAttribute("fill-opacity",H.o.v);}function X(tt,H,j){it(tt,H,j),lt(tt,H,j);}function it(tt,H,j){var W=H.gf,R=H.g._hasOpacity,rt=H.s.v,at=H.e.v;if(H.o._mdf||j){var Z=tt.ty==="gf"?"fill-opacity":"stroke-opacity";H.style.pElem.setAttribute(Z,H.o.v);}if(H.s._mdf||j){var ct=tt.t===1?"x1":"cx",mt=ct==="x1"?"y1":"cy";W.setAttribute(ct,rt[0]),W.setAttribute(mt,rt[1]),R&&!H.g._collapsable&&(H.of.setAttribute(ct,rt[0]),H.of.setAttribute(mt,rt[1]));}var Pt,Rt,jt,Lt;if(H.g._cmdf||j){Pt=H.cst;var Kt=H.g.c;for(jt=Pt.length,Rt=0;Rt<jt;Rt+=1)Lt=Pt[Rt],Lt.setAttribute("offset",Kt[Rt*4]+"%"),Lt.setAttribute("stop-color","rgb("+Kt[Rt*4+1]+","+Kt[Rt*4+2]+","+Kt[Rt*4+3]+")");}if(R&&(H.g._omdf||j)){var _t=H.g.o;for(H.g._collapsable?Pt=H.cst:Pt=H.ost,jt=Pt.length,Rt=0;Rt<jt;Rt+=1)Lt=Pt[Rt],H.g._collapsable||Lt.setAttribute("offset",_t[Rt*2]+"%"),Lt.setAttribute("stop-opacity",_t[Rt*2+1]);}if(tt.t===1)(H.e._mdf||j)&&(W.setAttribute("x2",at[0]),W.setAttribute("y2",at[1]),R&&!H.g._collapsable&&(H.of.setAttribute("x2",at[0]),H.of.setAttribute("y2",at[1])));else {var Et;if((H.s._mdf||H.e._mdf||j)&&(Et=Math.sqrt(Math.pow(rt[0]-at[0],2)+Math.pow(rt[1]-at[1],2)),W.setAttribute("r",Et),R&&!H.g._collapsable&&H.of.setAttribute("r",Et)),H.e._mdf||H.h._mdf||H.a._mdf||j){Et||(Et=Math.sqrt(Math.pow(rt[0]-at[0],2)+Math.pow(rt[1]-at[1],2)));var ht=Math.atan2(at[1]-rt[1],at[0]-rt[0]),Ct=H.h.v;Ct>=1?Ct=.99:Ct<=-1&&(Ct=-.99);var Ft=Et*Ct,wt=Math.cos(ht+H.a.v)*Ft+rt[0],St=Math.sin(ht+H.a.v)*Ft+rt[1];W.setAttribute("fx",wt),W.setAttribute("fy",St),R&&!H.g._collapsable&&(H.of.setAttribute("fx",wt),H.of.setAttribute("fy",St));}}}function lt(tt,H,j){var W=H.style,R=H.d;R&&(R._mdf||j)&&R.dashStr&&(W.pElem.setAttribute("stroke-dasharray",R.dashStr),W.pElem.setAttribute("stroke-dashoffset",R.dashoffset[0])),H.c&&(H.c._mdf||j)&&W.pElem.setAttribute("stroke","rgb("+N(H.c.v[0])+","+N(H.c.v[1])+","+N(H.c.v[2])+")"),(H.o._mdf||j)&&W.pElem.setAttribute("stroke-opacity",H.o.v),(H.w._mdf||j)&&(W.pElem.setAttribute("stroke-width",H.w.v),W.msElem&&W.msElem.setAttribute("stroke-width",H.w.v));}return b}();function je(n,f,b){this.shapes=[],this.shapesData=n.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(n,f,b),this.prevViewData=[];}v([Te,Be,Jr,is,Ui,Fe,er],je),je.prototype.initSecondaryElement=function(){},je.prototype.identityMatrix=new Ge,je.prototype.buildExpressionInterface=function(){},je.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes();},je.prototype.filterUniqueShapes=function(){var n,f=this.shapes.length,b,T,I=this.stylesList.length,F,G=[],K=!1;for(T=0;T<I;T+=1){for(F=this.stylesList[T],K=!1,G.length=0,n=0;n<f;n+=1)b=this.shapes[n],b.styles.indexOf(F)!==-1&&(G.push(b),K=b._isAnimated||K);G.length>1&&K&&this.setShapesAsAnimated(G);}},je.prototype.setShapesAsAnimated=function(n){var f,b=n.length;for(f=0;f<b;f+=1)n[f].setAsAnimated();},je.prototype.createStyleElement=function(n,f){var b,T=new Qs(n,f),I=T.pElem;if(n.ty==="st")b=new ga(this,n,T);else if(n.ty==="fl")b=new Gs(this,n,T);else if(n.ty==="gf"||n.ty==="gs"){var F=n.ty==="gf"?Dr:ws;b=new F(this,n,T),this.globalData.defs.appendChild(b.gf),b.maskId&&(this.globalData.defs.appendChild(b.ms),this.globalData.defs.appendChild(b.of),I.setAttribute("mask","url("+c()+"#"+b.maskId+")"));}else n.ty==="no"&&(b=new ya(this,n,T));return (n.ty==="st"||n.ty==="gs")&&(I.setAttribute("stroke-linecap",ma[n.lc||2]),I.setAttribute("stroke-linejoin",Ks[n.lj||2]),I.setAttribute("fill-opacity","0"),n.lj===1&&I.setAttribute("stroke-miterlimit",n.ml)),n.r===2&&I.setAttribute("fill-rule","evenodd"),n.ln&&I.setAttribute("id",n.ln),n.cl&&I.setAttribute("class",n.cl),n.bm&&(I.style["mix-blend-mode"]=es(n.bm)),this.stylesList.push(T),this.addToAnimatedContents(n,b),b},je.prototype.createGroupElement=function(n){var f=new js;return n.ln&&f.gr.setAttribute("id",n.ln),n.cl&&f.gr.setAttribute("class",n.cl),n.bm&&(f.gr.style["mix-blend-mode"]=es(n.bm)),f},je.prototype.createTransformElement=function(n,f){var b=Gi.getTransformProperty(this,n,this),T=new tn(b,b.o,f);return this.addToAnimatedContents(n,T),T},je.prototype.createShapeElement=function(n,f,b){var T=4;n.ty==="rc"?T=5:n.ty==="el"?T=6:n.ty==="sr"&&(T=7);var I=gr.getShapeProp(this,n,T,this),F=new Ns(f,b,I);return this.shapes.push(F),this.addShapeToModifiers(F),this.addToAnimatedContents(n,F),F},je.prototype.addToAnimatedContents=function(n,f){for(var b=0,T=this.animatedContents.length;b<T;){if(this.animatedContents[b].element===f)return;b+=1;}this.animatedContents.push({fn:_n.createRenderFunction(n),element:f,data:n});},je.prototype.setElementStyles=function(n){var f=n.styles,b,T=this.stylesList.length;for(b=0;b<T;b+=1)this.stylesList[b].closed||f.push(this.stylesList[b]);},je.prototype.reloadShapes=function(){this._isFirstFrame=!0;var n,f=this.itemsData.length;for(n=0;n<f;n+=1)this.prevViewData[n]=this.itemsData[n];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),f=this.dynamicProperties.length,n=0;n<f;n+=1)this.dynamicProperties[n].getValue();this.renderModifiers();},je.prototype.searchShapes=function(n,f,b,T,I,F,G){var K=[].concat(F),X,it=n.length-1,lt,tt,H=[],j=[],W,R,rt;for(X=it;X>=0;X-=1){if(rt=this.searchProcessedElement(n[X]),rt?f[X]=b[rt-1]:n[X]._render=G,n[X].ty==="fl"||n[X].ty==="st"||n[X].ty==="gf"||n[X].ty==="gs"||n[X].ty==="no")rt?f[X].style.closed=!1:f[X]=this.createStyleElement(n[X],I),n[X]._render&&f[X].style.pElem.parentNode!==T&&T.appendChild(f[X].style.pElem),H.push(f[X].style);else if(n[X].ty==="gr"){if(!rt)f[X]=this.createGroupElement(n[X]);else for(tt=f[X].it.length,lt=0;lt<tt;lt+=1)f[X].prevViewData[lt]=f[X].it[lt];this.searchShapes(n[X].it,f[X].it,f[X].prevViewData,f[X].gr,I+1,K,G),n[X]._render&&f[X].gr.parentNode!==T&&T.appendChild(f[X].gr);}else n[X].ty==="tr"?(rt||(f[X]=this.createTransformElement(n[X],T)),W=f[X].transform,K.push(W)):n[X].ty==="sh"||n[X].ty==="rc"||n[X].ty==="el"||n[X].ty==="sr"?(rt||(f[X]=this.createShapeElement(n[X],K,I)),this.setElementStyles(f[X])):n[X].ty==="tm"||n[X].ty==="rd"||n[X].ty==="ms"||n[X].ty==="pb"||n[X].ty==="zz"||n[X].ty==="op"?(rt?(R=f[X],R.closed=!1):(R=Ii.getModifier(n[X].ty),R.init(this,n[X]),f[X]=R,this.shapeModifiers.push(R)),j.push(R)):n[X].ty==="rp"&&(rt?(R=f[X],R.closed=!0):(R=Ii.getModifier(n[X].ty),f[X]=R,R.init(this,n,X,f),this.shapeModifiers.push(R),G=!1),j.push(R));this.addProcessedElement(n[X],X+1);}for(it=H.length,X=0;X<it;X+=1)H[X].closed=!0;for(it=j.length,X=0;X<it;X+=1)j[X].closed=!0;},je.prototype.renderInnerContent=function(){this.renderModifiers();var n,f=this.stylesList.length;for(n=0;n<f;n+=1)this.stylesList[n].reset();for(this.renderShape(),n=0;n<f;n+=1)(this.stylesList[n]._mdf||this._isFirstFrame)&&(this.stylesList[n].msElem&&(this.stylesList[n].msElem.setAttribute("d",this.stylesList[n].d),this.stylesList[n].d="M0 0"+this.stylesList[n].d),this.stylesList[n].pElem.setAttribute("d",this.stylesList[n].d||"M0 0"));},je.prototype.renderShape=function(){var n,f=this.animatedContents.length,b;for(n=0;n<f;n+=1)b=this.animatedContents[n],(this._isFirstFrame||b.element._isAnimated)&&b.data!==!0&&b.fn(b.data,b.element,this._isFirstFrame);},je.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null;};function ta(n,f,b,T,I,F){this.o=n,this.sw=f,this.sc=b,this.fc=T,this.m=I,this.p=F,this._mdf={o:!0,sw:!!f,sc:!!b,fc:!!T,m:!0,p:!0};}ta.prototype.update=function(n,f,b,T,I,F){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 G=!1;return this.o!==n&&(this.o=n,this._mdf.o=!0,G=!0),this.sw!==f&&(this.sw=f,this._mdf.sw=!0,G=!0),this.sc!==b&&(this.sc=b,this._mdf.sc=!0,G=!0),this.fc!==T&&(this.fc=T,this._mdf.fc=!0,G=!0),this.m!==I&&(this.m=I,this._mdf.m=!0,G=!0),F.length&&(this.p[0]!==F[0]||this.p[1]!==F[1]||this.p[4]!==F[4]||this.p[5]!==F[5]||this.p[12]!==F[12]||this.p[13]!==F[13])&&(this.p=F,this._mdf.p=!0,G=!0),G};function Ie(n,f){this._frameId=a,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,f.d&&f.d.sid&&(f.d=n.globalData.slotManager.getProp(f.d)),this.data=f,this.elem=n,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);}Ie.prototype.defaultBoxWidth=[0,0],Ie.prototype.copyData=function(n,f){for(var b in f)Object.prototype.hasOwnProperty.call(f,b)&&(n[b]=f[b]);return n},Ie.prototype.setCurrentData=function(n){n.__complete||this.completeTextData(n),this.currentData=n,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0;},Ie.prototype.searchProperty=function(){return this.searchKeyframes()},Ie.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},Ie.prototype.addEffect=function(n){this.effectsSequence.push(n),this.elem.addDynamicProperty(this);},Ie.prototype.getValue=function(n){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!n)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var f=this.currentData,b=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var T,I=this.effectsSequence.length,F=n||this.data.d.k[this.keysIndex].s;for(T=0;T<I;T+=1)b!==this.keysIndex?F=this.effectsSequence[T](F,F.t):F=this.effectsSequence[T](this.currentData,F.t);f!==F&&this.setCurrentData(F),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId;}},Ie.prototype.getKeyframeValue=function(){for(var n=this.data.d.k,f=this.elem.comp.renderedFrame,b=0,T=n.length;b<=T-1&&!(b===T-1||n[b+1].t>f);)b+=1;return this.keysIndex!==b&&(this.keysIndex=b),this.data.d.k[this.keysIndex].s},Ie.prototype.buildFinalText=function(n){for(var f=[],b=0,T=n.length,I,F,G=!1,K=!1,X="";b<T;)G=K,K=!1,I=n.charCodeAt(b),X=n.charAt(b),Li.isCombinedCharacter(I)?G=!0:I>=55296&&I<=56319?Li.isRegionalFlag(n,b)?X=n.substr(b,14):(F=n.charCodeAt(b+1),F>=56320&&F<=57343&&(Li.isModifier(I,F)?(X=n.substr(b,2),G=!0):Li.isFlagEmoji(n.substr(b,4))?X=n.substr(b,4):X=n.substr(b,2))):I>56319?(F=n.charCodeAt(b+1),Li.isVariationSelector(I)&&(G=!0)):Li.isZeroWidthJoiner(I)&&(G=!0,K=!0),G?(f[f.length-1]+=X,G=!1):f.push(X),b+=X.length;return f},Ie.prototype.completeTextData=function(n){n.__complete=!0;var f=this.elem.globalData.fontManager,b=this.data,T=[],I,F,G,K=0,X,it=b.m.g,lt=0,tt=0,H=0,j=[],W=0,R=0,rt,at,Z=f.getFontByName(n.f),ct,mt=0,Pt=cs(Z);n.fWeight=Pt.weight,n.fStyle=Pt.style,n.finalSize=n.s,n.finalText=this.buildFinalText(n.t),F=n.finalText.length,n.finalLineHeight=n.lh;var Rt=n.tr/1e3*n.finalSize,jt;if(n.sz)for(var Lt=!0,Kt=n.sz[0],_t=n.sz[1],Et,ht;Lt;){ht=this.buildFinalText(n.t),Et=0,W=0,F=ht.length,Rt=n.tr/1e3*n.finalSize;var Ct=-1;for(I=0;I<F;I+=1)jt=ht[I].charCodeAt(0),G=!1,ht[I]===" "?Ct=I:(jt===13||jt===3)&&(W=0,G=!0,Et+=n.finalLineHeight||n.finalSize*1.2),f.chars?(ct=f.getCharData(ht[I],Z.fStyle,Z.fFamily),mt=G?0:ct.w*n.finalSize/100):mt=f.measureText(ht[I],n.f,n.finalSize),W+mt>Kt&&ht[I]!==" "?(Ct===-1?F+=1:I=Ct,Et+=n.finalLineHeight||n.finalSize*1.2,ht.splice(I,Ct===I?1:0,"\r"),Ct=-1,W=0):(W+=mt,W+=Rt);Et+=Z.ascent*n.finalSize/100,this.canResize&&n.finalSize>this.minimumFontSize&&_t<Et?(n.finalSize-=1,n.finalLineHeight=n.finalSize*n.lh/n.s):(n.finalText=ht,F=n.finalText.length,Lt=!1);}W=-Rt,mt=0;var Ft=0,wt;for(I=0;I<F;I+=1)if(G=!1,wt=n.finalText[I],jt=wt.charCodeAt(0),jt===13||jt===3?(Ft=0,j.push(W),R=W>R?W:R,W=-2*Rt,X="",G=!0,H+=1):X=wt,f.chars?(ct=f.getCharData(wt,Z.fStyle,f.getFontByName(n.f).fFamily),mt=G?0:ct.w*n.finalSize/100):mt=f.measureText(X,n.f,n.finalSize),wt===" "?Ft+=mt+Rt:(W+=mt+Rt+Ft,Ft=0),T.push({l:mt,an:mt,add:lt,n:G,anIndexes:[],val:X,line:H,animatorJustifyOffset:0}),it==2){if(lt+=mt,X===""||X===" "||I===F-1){for((X===""||X===" ")&&(lt-=mt);tt<=I;)T[tt].an=lt,T[tt].ind=K,T[tt].extra=mt,tt+=1;K+=1,lt=0;}}else if(it==3){if(lt+=mt,X===""||I===F-1){for(X===""&&(lt-=mt);tt<=I;)T[tt].an=lt,T[tt].ind=K,T[tt].extra=mt,tt+=1;lt=0,K+=1;}}else T[K].ind=K,T[K].extra=0,K+=1;if(n.l=T,R=W>R?W:R,j.push(W),n.sz)n.boxWidth=n.sz[0],n.justifyOffset=0;else switch(n.boxWidth=R,n.j){case 1:n.justifyOffset=-n.boxWidth;break;case 2:n.justifyOffset=-n.boxWidth/2;break;default:n.justifyOffset=0;}n.lineWidths=j;var St=b.a,At,ut;at=St.length;var Dt,Zt,$t=[];for(rt=0;rt<at;rt+=1){for(At=St[rt],At.a.sc&&(n.strokeColorAnim=!0),At.a.sw&&(n.strokeWidthAnim=!0),(At.a.fc||At.a.fh||At.a.fs||At.a.fb)&&(n.fillColorAnim=!0),Zt=0,Dt=At.s.b,I=0;I<F;I+=1)ut=T[I],ut.anIndexes[rt]=Zt,(Dt==1&&ut.val!==""||Dt==2&&ut.val!==""&&ut.val!==" "||Dt==3&&(ut.n||ut.val==" "||I==F-1)||Dt==4&&(ut.n||I==F-1))&&(At.s.rn===1&&$t.push(Zt),Zt+=1);b.a[rt].s.totalChars=Zt;var xe=-1,ge;if(At.s.rn===1)for(I=0;I<F;I+=1)ut=T[I],xe!=ut.anIndexes[rt]&&(xe=ut.anIndexes[rt],ge=$t.splice(Math.floor(Math.random()*$t.length),1)[0]),ut.anIndexes[rt]=ge;}n.yOffset=n.finalLineHeight||n.finalSize*1.2,n.ls=n.ls||0,n.ascent=Z.ascent*n.finalSize/100;},Ie.prototype.updateDocumentData=function(n,f){f=f===void 0?this.keysIndex:f;var b=this.copyData({},this.data.d.k[f].s);b=this.copyData(b,n),this.data.d.k[f].s=b,this.recalculate(f),this.setCurrentData(b),this.elem.addDynamicProperty(this);},Ie.prototype.recalculate=function(n){var f=this.data.d.k[n].s;f.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(f);},Ie.prototype.canResizeFont=function(n){this.canResize=n,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);},Ie.prototype.setMinimumFontSize=function(n){this.minimumFontSize=Math.floor(n)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);};var Ga=function(){var n=Math.max,f=Math.min,b=Math.floor;function T(F,G){this._currentTextLength=-1,this.k=!1,this.data=G,this.elem=F,this.comp=F.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(F),this.s=te.getProp(F,G.s||{k:0},0,0,this),"e"in G?this.e=te.getProp(F,G.e,0,0,this):this.e={v:100},this.o=te.getProp(F,G.o||{k:0},0,0,this),this.xe=te.getProp(F,G.xe||{k:0},0,0,this),this.ne=te.getProp(F,G.ne||{k:0},0,0,this),this.sm=te.getProp(F,G.sm||{k:100},0,0,this),this.a=te.getProp(F,G.a,0,.01,this),this.dynamicProperties.length||this.getValue();}T.prototype={getMult:function(F){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var G=0,K=0,X=1,it=1;this.ne.v>0?G=this.ne.v/100:K=-this.ne.v/100,this.xe.v>0?X=1-this.xe.v/100:it=1+this.xe.v/100;var lt=ne.getBezierEasing(G,K,X,it).get,tt=0,H=this.finalS,j=this.finalE,W=this.data.sh;if(W===2)j===H?tt=F>=j?1:0:tt=n(0,f(.5/(j-H)+(F-H)/(j-H),1)),tt=lt(tt);else if(W===3)j===H?tt=F>=j?0:1:tt=1-n(0,f(.5/(j-H)+(F-H)/(j-H),1)),tt=lt(tt);else if(W===4)j===H?tt=0:(tt=n(0,f(.5/(j-H)+(F-H)/(j-H),1)),tt<.5?tt*=2:tt=1-2*(tt-.5)),tt=lt(tt);else if(W===5){if(j===H)tt=0;else {var R=j-H;F=f(n(0,F+.5-H),j-H);var rt=-R/2+F,at=R/2;tt=Math.sqrt(1-rt*rt/(at*at));}tt=lt(tt);}else W===6?(j===H?tt=0:(F=f(n(0,F+.5-H),j-H),tt=(1+Math.cos(Math.PI+Math.PI*2*F/(j-H)))/2),tt=lt(tt)):(F>=b(H)&&(F-H<0?tt=n(0,f(f(j,1)-(H-F),1)):tt=n(0,f(j-F,1))),tt=lt(tt));if(this.sm.v!==100){var Z=this.sm.v*.01;Z===0&&(Z=1e-8);var ct=.5-Z*.5;tt<ct?tt=0:(tt=(tt-ct)/Z,tt>1&&(tt=1));}return tt*this.a.v},getValue:function(F){this.iterateDynamicProperties(),this._mdf=F||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,F&&this.data.r===2&&(this.e.v=this._currentTextLength);var G=this.data.r===2?1:100/this.data.totalChars,K=this.o.v/G,X=this.s.v/G+K,it=this.e.v/G+K;if(X>it){var lt=X;X=it,it=lt;}this.finalS=X,this.finalE=it;}},v([Xe],T);function I(F,G,K){return new T(F,G)}return {getTextSelectorProp:I}}();function ir(n,f,b){var T={propType:!1},I=te.getProp,F=f.a;this.a={r:F.r?I(n,F.r,0,dt,b):T,rx:F.rx?I(n,F.rx,0,dt,b):T,ry:F.ry?I(n,F.ry,0,dt,b):T,sk:F.sk?I(n,F.sk,0,dt,b):T,sa:F.sa?I(n,F.sa,0,dt,b):T,s:F.s?I(n,F.s,1,.01,b):T,a:F.a?I(n,F.a,1,0,b):T,o:F.o?I(n,F.o,0,.01,b):T,p:F.p?I(n,F.p,1,0,b):T,sw:F.sw?I(n,F.sw,0,0,b):T,sc:F.sc?I(n,F.sc,1,0,b):T,fc:F.fc?I(n,F.fc,1,0,b):T,fh:F.fh?I(n,F.fh,0,0,b):T,fs:F.fs?I(n,F.fs,0,.01,b):T,fb:F.fb?I(n,F.fb,0,.01,b):T,t:F.t?I(n,F.t,0,0,b):T},this.s=Ga.getTextSelectorProp(n,f.s,b),this.s.t=f.s.t;}function br(n,f,b){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=n,this._renderType=f,this._elem=b,this._animatorsData=g(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(b);}br.prototype.searchProperties=function(){var n,f=this._textData.a.length,b,T=te.getProp;for(n=0;n<f;n+=1)b=this._textData.a[n],this._animatorsData[n]=new ir(this._elem,b,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:T(this._elem,this._textData.p.a,0,0,this),f:T(this._elem,this._textData.p.f,0,0,this),l:T(this._elem,this._textData.p.l,0,0,this),r:T(this._elem,this._textData.p.r,0,0,this),p:T(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=T(this._elem,this._textData.m.a,1,0,this);},br.prototype.getMeasures=function(n,f){if(this.lettersChangedFlag=f,!(!this._mdf&&!this._isFirstFrame&&!f&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var b=this._moreOptions.alignment.v,T=this._animatorsData,I=this._textData,F=this.mHelper,G=this._renderType,K=this.renderedLetters.length,X,it,lt,tt,H=n.l,j,W,R,rt,at,Z,ct,mt,Pt,Rt,jt,Lt,Kt,_t,Et;if(this._hasMaskedPath){if(Et=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ht=Et.v;this._pathData.r.v&&(ht=ht.reverse()),j={tLength:0,segments:[]},tt=ht._length-1;var Ct;for(Lt=0,lt=0;lt<tt;lt+=1)Ct=ki.buildBezierData(ht.v[lt],ht.v[lt+1],[ht.o[lt][0]-ht.v[lt][0],ht.o[lt][1]-ht.v[lt][1]],[ht.i[lt+1][0]-ht.v[lt+1][0],ht.i[lt+1][1]-ht.v[lt+1][1]]),j.tLength+=Ct.segmentLength,j.segments.push(Ct),Lt+=Ct.segmentLength;lt=tt,Et.v.c&&(Ct=ki.buildBezierData(ht.v[lt],ht.v[0],[ht.o[lt][0]-ht.v[lt][0],ht.o[lt][1]-ht.v[lt][1]],[ht.i[0][0]-ht.v[0][0],ht.i[0][1]-ht.v[0][1]]),j.tLength+=Ct.segmentLength,j.segments.push(Ct),Lt+=Ct.segmentLength),this._pathData.pi=j;}if(j=this._pathData.pi,W=this._pathData.f.v,ct=0,Z=1,rt=0,at=!0,Rt=j.segments,W<0&&Et.v.c)for(j.tLength<Math.abs(W)&&(W=-Math.abs(W)%j.tLength),ct=Rt.length-1,Pt=Rt[ct].points,Z=Pt.length-1;W<0;)W+=Pt[Z].partialLength,Z-=1,Z<0&&(ct-=1,Pt=Rt[ct].points,Z=Pt.length-1);Pt=Rt[ct].points,mt=Pt[Z-1],R=Pt[Z],jt=R.partialLength;}tt=H.length,X=0,it=0;var Ft=n.finalSize*1.2*.714,wt=!0,St,At,ut,Dt,Zt;Dt=T.length;var $t,xe=-1,ge,Me,we,He=W,Ce=ct,me=Z,Ci=-1,Pi,hi,Ri,Qe,Ee,Oi,xr,hr,$i="",lr=this.defaultPropsArray,Ji;if(n.j===2||n.j===1){var Hi=0,ss=0,as=n.j===2?-.5:-1,Fr=0,va=!0;for(lt=0;lt<tt;lt+=1)if(H[lt].n){for(Hi&&(Hi+=ss);Fr<lt;)H[Fr].animatorJustifyOffset=Hi,Fr+=1;Hi=0,va=!0;}else {for(ut=0;ut<Dt;ut+=1)St=T[ut].a,St.t.propType&&(va&&n.j===2&&(ss+=St.t.v*as),At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),$t.length?Hi+=St.t.v*$t[0]*as:Hi+=St.t.v*$t*as);va=!1;}for(Hi&&(Hi+=ss);Fr<lt;)H[Fr].animatorJustifyOffset=Hi,Fr+=1;}for(lt=0;lt<tt;lt+=1){if(F.reset(),Pi=1,H[lt].n)X=0,it+=n.yOffset,it+=wt?1:0,W=He,wt=!1,this._hasMaskedPath&&(ct=Ce,Z=me,Pt=Rt[ct].points,mt=Pt[Z-1],R=Pt[Z],jt=R.partialLength,rt=0),$i="",hr="",Oi="",Ji="",lr=this.defaultPropsArray;else {if(this._hasMaskedPath){if(Ci!==H[lt].line){switch(n.j){case 1:W+=Lt-n.lineWidths[H[lt].line];break;case 2:W+=(Lt-n.lineWidths[H[lt].line])/2;break}Ci=H[lt].line;}xe!==H[lt].ind&&(H[xe]&&(W+=H[xe].extra),W+=H[lt].an/2,xe=H[lt].ind),W+=b[0]*H[lt].an*.005;var As=0;for(ut=0;ut<Dt;ut+=1)St=T[ut].a,St.p.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),$t.length?As+=St.p.v[0]*$t[0]:As+=St.p.v[0]*$t),St.a.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),$t.length?As+=St.a.v[0]*$t[0]:As+=St.a.v[0]*$t);for(at=!0,this._pathData.a.v&&(W=H[0].an*.5+(Lt-this._pathData.f.v-H[0].an*.5-H[H.length-1].an*.5)*xe/(tt-1),W+=this._pathData.f.v);at;)rt+jt>=W+As||!Pt?(Kt=(W+As-rt)/R.partialLength,Me=mt.point[0]+(R.point[0]-mt.point[0])*Kt,we=mt.point[1]+(R.point[1]-mt.point[1])*Kt,F.translate(-b[0]*H[lt].an*.005,-(b[1]*Ft)*.01),at=!1):Pt&&(rt+=R.partialLength,Z+=1,Z>=Pt.length&&(Z=0,ct+=1,Rt[ct]?Pt=Rt[ct].points:Et.v.c?(Z=0,ct=0,Pt=Rt[ct].points):(rt-=R.partialLength,Pt=null)),Pt&&(mt=R,R=Pt[Z],jt=R.partialLength));ge=H[lt].an/2-H[lt].add,F.translate(-ge,0,0);}else ge=H[lt].an/2-H[lt].add,F.translate(-ge,0,0),F.translate(-b[0]*H[lt].an*.005,-b[1]*Ft*.01,0);for(ut=0;ut<Dt;ut+=1)St=T[ut].a,St.t.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),(X!==0||n.j!==0)&&(this._hasMaskedPath?$t.length?W+=St.t.v*$t[0]:W+=St.t.v*$t:$t.length?X+=St.t.v*$t[0]:X+=St.t.v*$t));for(n.strokeWidthAnim&&(Ri=n.sw||0),n.strokeColorAnim&&(n.sc?hi=[n.sc[0],n.sc[1],n.sc[2]]:hi=[0,0,0]),n.fillColorAnim&&n.fc&&(Qe=[n.fc[0],n.fc[1],n.fc[2]]),ut=0;ut<Dt;ut+=1)St=T[ut].a,St.a.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),$t.length?F.translate(-St.a.v[0]*$t[0],-St.a.v[1]*$t[1],St.a.v[2]*$t[2]):F.translate(-St.a.v[0]*$t,-St.a.v[1]*$t,St.a.v[2]*$t));for(ut=0;ut<Dt;ut+=1)St=T[ut].a,St.s.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),$t.length?F.scale(1+(St.s.v[0]-1)*$t[0],1+(St.s.v[1]-1)*$t[1],1):F.scale(1+(St.s.v[0]-1)*$t,1+(St.s.v[1]-1)*$t,1));for(ut=0;ut<Dt;ut+=1){if(St=T[ut].a,At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),St.sk.propType&&($t.length?F.skewFromAxis(-St.sk.v*$t[0],St.sa.v*$t[1]):F.skewFromAxis(-St.sk.v*$t,St.sa.v*$t)),St.r.propType&&($t.length?F.rotateZ(-St.r.v*$t[2]):F.rotateZ(-St.r.v*$t)),St.ry.propType&&($t.length?F.rotateY(St.ry.v*$t[1]):F.rotateY(St.ry.v*$t)),St.rx.propType&&($t.length?F.rotateX(St.rx.v*$t[0]):F.rotateX(St.rx.v*$t)),St.o.propType&&($t.length?Pi+=(St.o.v*$t[0]-Pi)*$t[0]:Pi+=(St.o.v*$t-Pi)*$t),n.strokeWidthAnim&&St.sw.propType&&($t.length?Ri+=St.sw.v*$t[0]:Ri+=St.sw.v*$t),n.strokeColorAnim&&St.sc.propType)for(Ee=0;Ee<3;Ee+=1)$t.length?hi[Ee]+=(St.sc.v[Ee]-hi[Ee])*$t[0]:hi[Ee]+=(St.sc.v[Ee]-hi[Ee])*$t;if(n.fillColorAnim&&n.fc){if(St.fc.propType)for(Ee=0;Ee<3;Ee+=1)$t.length?Qe[Ee]+=(St.fc.v[Ee]-Qe[Ee])*$t[0]:Qe[Ee]+=(St.fc.v[Ee]-Qe[Ee])*$t;St.fh.propType&&($t.length?Qe=zt(Qe,St.fh.v*$t[0]):Qe=zt(Qe,St.fh.v*$t)),St.fs.propType&&($t.length?Qe=Q(Qe,St.fs.v*$t[0]):Qe=Q(Qe,St.fs.v*$t)),St.fb.propType&&($t.length?Qe=Ut(Qe,St.fb.v*$t[0]):Qe=Ut(Qe,St.fb.v*$t));}}for(ut=0;ut<Dt;ut+=1)St=T[ut].a,St.p.propType&&(At=T[ut].s,$t=At.getMult(H[lt].anIndexes[ut],I.a[ut].s.totalChars),this._hasMaskedPath?$t.length?F.translate(0,St.p.v[1]*$t[0],-St.p.v[2]*$t[1]):F.translate(0,St.p.v[1]*$t,-St.p.v[2]*$t):$t.length?F.translate(St.p.v[0]*$t[0],St.p.v[1]*$t[1],-St.p.v[2]*$t[2]):F.translate(St.p.v[0]*$t,St.p.v[1]*$t,-St.p.v[2]*$t));if(n.strokeWidthAnim&&(Oi=Ri<0?0:Ri),n.strokeColorAnim&&(xr="rgb("+Math.round(hi[0]*255)+","+Math.round(hi[1]*255)+","+Math.round(hi[2]*255)+")"),n.fillColorAnim&&n.fc&&(hr="rgb("+Math.round(Qe[0]*255)+","+Math.round(Qe[1]*255)+","+Math.round(Qe[2]*255)+")"),this._hasMaskedPath){if(F.translate(0,-n.ls),F.translate(0,b[1]*Ft*.01+it,0),this._pathData.p.v){_t=(R.point[1]-mt.point[1])/(R.point[0]-mt.point[0]);var ja=Math.atan(_t)*180/Math.PI;R.point[0]<mt.point[0]&&(ja+=180),F.rotate(-ja*Math.PI/180);}F.translate(Me,we,0),W-=b[0]*H[lt].an*.005,H[lt+1]&&xe!==H[lt+1].ind&&(W+=H[lt].an/2,W+=n.tr*.001*n.finalSize);}else {switch(F.translate(X,it,0),n.ps&&F.translate(n.ps[0],n.ps[1]+n.ascent,0),n.j){case 1:F.translate(H[lt].animatorJustifyOffset+n.justifyOffset+(n.boxWidth-n.lineWidths[H[lt].line]),0,0);break;case 2:F.translate(H[lt].animatorJustifyOffset+n.justifyOffset+(n.boxWidth-n.lineWidths[H[lt].line])/2,0,0);break}F.translate(0,-n.ls),F.translate(ge,0,0),F.translate(b[0]*H[lt].an*.005,b[1]*Ft*.01,0),X+=H[lt].l+n.tr*.001*n.finalSize;}G==="html"?$i=F.toCSS():G==="svg"?$i=F.to2dCSS():lr=[F.props[0],F.props[1],F.props[2],F.props[3],F.props[4],F.props[5],F.props[6],F.props[7],F.props[8],F.props[9],F.props[10],F.props[11],F.props[12],F.props[13],F.props[14],F.props[15]],Ji=Pi;}K<=lt?(Zt=new ta(Ji,Oi,xr,hr,$i,lr),this.renderedLetters.push(Zt),K+=1,this.lettersChangedFlag=!0):(Zt=this.renderedLetters[lt],this.lettersChangedFlag=Zt.update(Ji,Oi,xr,hr,$i,lr)||this.lettersChangedFlag);}}},br.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties());},br.prototype.mHelper=new Ge,br.prototype.defaultPropsArray=[],v([Xe],br);function xi(){}xi.prototype.initElement=function(n,f,b){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(n,f,b),this.textProperty=new Ie(this,n.t,this.dynamicProperties),this.textAnimator=new br(n.t,this.renderType,this),this.initTransform(n,f,b),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties);},xi.prototype.prepareFrame=function(n){this._mdf=!1,this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange);},xi.prototype.createPathShape=function(n,f){var b,T=f.length,I,F="";for(b=0;b<T;b+=1)f[b].ty==="sh"&&(I=f[b].ks.k,F+=Na(I,I.i.length,!0,n));return F},xi.prototype.updateDocumentData=function(n,f){this.textProperty.updateDocumentData(n,f);},xi.prototype.canResizeFont=function(n){this.textProperty.canResizeFont(n);},xi.prototype.setMinimumFontSize=function(n){this.textProperty.setMinimumFontSize(n);},xi.prototype.applyTextPropertiesToMatrix=function(n,f,b,T,I){switch(n.ps&&f.translate(n.ps[0],n.ps[1]+n.ascent,0),f.translate(0,-n.ls,0),n.j){case 1:f.translate(n.justifyOffset+(n.boxWidth-n.lineWidths[b]),0,0);break;case 2:f.translate(n.justifyOffset+(n.boxWidth-n.lineWidths[b])/2,0,0);break}f.translate(T,I,0);},xi.prototype.buildColor=function(n){return "rgb("+Math.round(n[0]*255)+","+Math.round(n[1]*255)+","+Math.round(n[2]*255)+")"},xi.prototype.emptyProp=new ta,xi.prototype.destroy=function(){},xi.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1);};var Es={shapes:[]};function si(n,f,b){this.textSpans=[],this.renderType="svg",this.initElement(n,f,b);}v([Te,Be,Jr,Ui,Fe,er,xi],si),si.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Jt("text"));},si.prototype.buildTextContents=function(n){for(var f=0,b=n.length,T=[],I="";f<b;)n[f]===String.fromCharCode(13)||n[f]===String.fromCharCode(3)?(T.push(I),I=""):I+=n[f],f+=1;return T.push(I),T},si.prototype.buildShapeData=function(n,f){if(n.shapes&&n.shapes.length){var b=n.shapes[0];if(b.it){var T=b.it[b.it.length-1];T.s&&(T.s.k[0]=f,T.s.k[1]=f);}}return n},si.prototype.buildNewText=function(){this.addDynamicProperty(this);var n,f,b=this.textProperty.currentData;this.renderedLetters=g(b?b.l.length:0),b.fc?this.layerElement.setAttribute("fill",this.buildColor(b.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),b.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(b.sc)),this.layerElement.setAttribute("stroke-width",b.sw)),this.layerElement.setAttribute("font-size",b.finalSize);var T=this.globalData.fontManager.getFontByName(b.f);if(T.fClass)this.layerElement.setAttribute("class",T.fClass);else {this.layerElement.setAttribute("font-family",T.fFamily);var I=b.fWeight,F=b.fStyle;this.layerElement.setAttribute("font-style",F),this.layerElement.setAttribute("font-weight",I);}this.layerElement.setAttribute("aria-label",b.t);var G=b.l||[],K=!!this.globalData.fontManager.chars;f=G.length;var X,it=this.mHelper,lt="",tt=this.data.singleShape,H=0,j=0,W=!0,R=b.tr*.001*b.finalSize;if(tt&&!K&&!b.sz){var rt=this.textContainer,at="start";switch(b.j){case 1:at="end";break;case 2:at="middle";break;default:at="start";break}rt.setAttribute("text-anchor",at),rt.setAttribute("letter-spacing",R);var Z=this.buildTextContents(b.finalText);for(f=Z.length,j=b.ps?b.ps[1]+b.ascent:0,n=0;n<f;n+=1)X=this.textSpans[n].span||Jt("tspan"),X.textContent=Z[n],X.setAttribute("x",0),X.setAttribute("y",j),X.style.display="inherit",rt.appendChild(X),this.textSpans[n]||(this.textSpans[n]={span:null,glyph:null}),this.textSpans[n].span=X,j+=b.finalLineHeight;this.layerElement.appendChild(rt);}else {var ct=this.textSpans.length,mt;for(n=0;n<f;n+=1){if(this.textSpans[n]||(this.textSpans[n]={span:null,childSpan:null,glyph:null}),!K||!tt||n===0){if(X=ct>n?this.textSpans[n].span:Jt(K?"g":"text"),ct<=n){if(X.setAttribute("stroke-linecap","butt"),X.setAttribute("stroke-linejoin","round"),X.setAttribute("stroke-miterlimit","4"),this.textSpans[n].span=X,K){var Pt=Jt("g");X.appendChild(Pt),this.textSpans[n].childSpan=Pt;}this.textSpans[n].span=X,this.layerElement.appendChild(X);}X.style.display="inherit";}if(it.reset(),tt&&(G[n].n&&(H=-R,j+=b.yOffset,j+=W?1:0,W=!1),this.applyTextPropertiesToMatrix(b,it,G[n].line,H,j),H+=G[n].l||0,H+=R),K){mt=this.globalData.fontManager.getCharData(b.finalText[n],T.fStyle,this.globalData.fontManager.getFontByName(b.f).fFamily);var Rt;if(mt.t===1)Rt=new ci(mt.data,this.globalData,this);else {var jt=Es;mt.data&&mt.data.shapes&&(jt=this.buildShapeData(mt.data,b.finalSize)),Rt=new je(jt,this.globalData,this);}if(this.textSpans[n].glyph){var Lt=this.textSpans[n].glyph;this.textSpans[n].childSpan.removeChild(Lt.layerElement),Lt.destroy();}this.textSpans[n].glyph=Rt,Rt._debug=!0,Rt.prepareFrame(0),Rt.renderFrame(),this.textSpans[n].childSpan.appendChild(Rt.layerElement),mt.t===1&&this.textSpans[n].childSpan.setAttribute("transform","scale("+b.finalSize/100+","+b.finalSize/100+")");}else tt&&X.setAttribute("transform","translate("+it.props[12]+","+it.props[13]+")"),X.textContent=G[n].val,X.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}tt&&X&&X.setAttribute("d",lt);}for(;n<this.textSpans.length;)this.textSpans[n].span.style.display="none",n+=1;this._sizeChanged=!0;},si.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var n=this.layerElement.getBBox();this.bbox={top:n.y,left:n.x,width:n.width,height:n.height};}return this.bbox},si.prototype.getValue=function(){var n,f=this.textSpans.length,b;for(this.renderedFrame=this.comp.renderedFrame,n=0;n<f;n+=1)b=this.textSpans[n].glyph,b&&(b.prepareFrame(this.comp.renderedFrame-this.data.st),b._mdf&&(this._mdf=!0));},si.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 n,f,b=this.textAnimator.renderedLetters,T=this.textProperty.currentData.l;f=T.length;var I,F,G;for(n=0;n<f;n+=1)T[n].n||(I=b[n],F=this.textSpans[n].span,G=this.textSpans[n].glyph,G&&G.renderFrame(),I._mdf.m&&F.setAttribute("transform",I.m),I._mdf.o&&F.setAttribute("opacity",I.o),I._mdf.sw&&F.setAttribute("stroke-width",I.sw),I._mdf.sc&&F.setAttribute("stroke",I.sc),I._mdf.fc&&F.setAttribute("fill",I.fc));}};function ea(n,f,b){this.initElement(n,f,b);}v([Ai],ea),ea.prototype.createContent=function(){var n=Jt("rect");n.setAttribute("width",this.data.sw),n.setAttribute("height",this.data.sh),n.setAttribute("fill",this.data.sc),this.layerElement.appendChild(n);};function _i(n,f,b){this.initFrame(),this.initBaseData(n,f,b),this.initFrame(),this.initTransform(n,f,b),this.initHierarchy();}_i.prototype.prepareFrame=function(n){this.prepareProperties(n,!0);},_i.prototype.renderFrame=function(){},_i.prototype.getBaseElement=function(){return null},_i.prototype.destroy=function(){},_i.prototype.sourceRectAtTime=function(){},_i.prototype.hide=function(){},v([Te,Be,Ui,Fe],_i);function Ue(){}v([Ae],Ue),Ue.prototype.createNull=function(n){return new _i(n,this.globalData,this)},Ue.prototype.createShape=function(n){return new je(n,this.globalData,this)},Ue.prototype.createText=function(n){return new si(n,this.globalData,this)},Ue.prototype.createImage=function(n){return new Ai(n,this.globalData,this)},Ue.prototype.createSolid=function(n){return new ea(n,this.globalData,this)},Ue.prototype.configAnimation=function(n){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 "+n.w+" "+n.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",n.w),this.svgElement.setAttribute("height",n.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 f=this.globalData.defs;this.setupGlobalData(n,f),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=n;var b=Jt("clipPath"),T=Jt("rect");T.setAttribute("width",n.w),T.setAttribute("height",n.h),T.setAttribute("x",0),T.setAttribute("y",0);var I=E();b.setAttribute("id",I),b.appendChild(T),this.layerElement.setAttribute("clip-path","url("+c()+"#"+I+")"),f.appendChild(b),this.layers=n.layers,this.elements=g(n.layers.length);},Ue.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var n,f=this.layers?this.layers.length:0;for(n=0;n<f;n+=1)this.elements[n]&&this.elements[n].destroy&&this.elements[n].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null;},Ue.prototype.updateContainerSize=function(){},Ue.prototype.findIndexByInd=function(n){var f=0,b=this.layers.length;for(f=0;f<b;f+=1)if(this.layers[f].ind===n)return f;return -1},Ue.prototype.buildItem=function(n){var f=this.elements;if(!(f[n]||this.layers[n].ty===99)){f[n]=!0;var b=this.createItem(this.layers[n]);if(f[n]=b,he()&&(this.layers[n].ty===0&&this.globalData.projectInterface.registerComposition(b),b.initExpressions()),this.appendElementInPos(b,n),this.layers[n].tt){var T="tp"in this.layers[n]?this.findIndexByInd(this.layers[n].tp):n-1;if(T===-1)return;if(!this.elements[T]||this.elements[T]===!0)this.buildItem(T),this.addPendingElement(b);else {var I=f[T],F=I.getMatte(this.layers[n].tt);b.setMatte(F);}}}},Ue.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var n=this.pendingElements.pop();if(n.checkParenting(),n.data.tt)for(var f=0,b=this.elements.length;f<b;){if(this.elements[f]===n){var T="tp"in n.data?this.findIndexByInd(n.data.tp):f-1,I=this.elements[T],F=I.getMatte(this.layers[f].tt);n.setMatte(F);break}f+=1;}}},Ue.prototype.renderFrame=function(n){if(!(this.renderedFrame===n||this.destroyed)){n===null?n=this.renderedFrame:this.renderedFrame=n,this.globalData.frameNum=n,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=n,this.globalData._mdf=!1;var f,b=this.layers.length;for(this.completeLayers||this.checkLayers(n),f=b-1;f>=0;f-=1)(this.completeLayers||this.elements[f])&&this.elements[f].prepareFrame(n-this.layers[f].st);if(this.globalData._mdf)for(f=0;f<b;f+=1)(this.completeLayers||this.elements[f])&&this.elements[f].renderFrame();}},Ue.prototype.appendElementInPos=function(n,f){var b=n.getBaseElement();if(b){for(var T=0,I;T<f;)this.elements[T]&&this.elements[T]!==!0&&this.elements[T].getBaseElement()&&(I=this.elements[T].getBaseElement()),T+=1;I?this.layerElement.insertBefore(b,I):this.layerElement.appendChild(b);}},Ue.prototype.hide=function(){this.layerElement.style.display="none";},Ue.prototype.show=function(){this.layerElement.style.display="block";};function gi(){}v([Te,Be,Ui,Fe,er],gi),gi.prototype.initElement=function(n,f,b){this.initFrame(),this.initBaseData(n,f,b),this.initTransform(n,f,b),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!f.progressiveLoad)&&this.buildAllItems(),this.hide();},gi.prototype.prepareFrame=function(n){if(this._mdf=!1,this.prepareRenderableFrame(n),this.prepareProperties(n,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=n/this.data.sr;else {var f=this.tm.v;f===this.data.op&&(f=this.data.op-1),this.renderedFrame=f;}var b,T=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),b=T-1;b>=0;b-=1)(this.completeLayers||this.elements[b])&&(this.elements[b].prepareFrame(this.renderedFrame-this.layers[b].st),this.elements[b]._mdf&&(this._mdf=!0));}},gi.prototype.renderInnerContent=function(){var n,f=this.layers.length;for(n=0;n<f;n+=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();},gi.prototype.setElements=function(n){this.elements=n;},gi.prototype.getElements=function(){return this.elements},gi.prototype.destroyElements=function(){var n,f=this.layers.length;for(n=0;n<f;n+=1)this.elements[n]&&this.elements[n].destroy();},gi.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement();};function ci(n,f,b){this.layers=n.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(n,f,b),this.tm=n.tm?te.getProp(this,n.tm,0,f.frameRate,this):{_placeholder:!0};}v([Ue,gi,Jr],ci),ci.prototype.createComp=function(n){return new ci(n,this.globalData,this)};function or(n,f){this.animationItem=n,this.layers=null,this.renderedFrame=-1,this.svgElement=Jt("svg");var b="";if(f&&f.title){var T=Jt("title"),I=E();T.setAttribute("id",I),T.textContent=f.title,this.svgElement.appendChild(T),b+=I;}if(f&&f.description){var F=Jt("desc"),G=E();F.setAttribute("id",G),F.textContent=f.description,this.svgElement.appendChild(F),b+=" "+G;}b&&this.svgElement.setAttribute("aria-labelledby",b);var K=Jt("defs");this.svgElement.appendChild(K);var X=Jt("g");this.svgElement.appendChild(X),this.layerElement=X,this.renderConfig={preserveAspectRatio:f&&f.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:f&&f.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:f&&f.contentVisibility||"visible",progressiveLoad:f&&f.progressiveLoad||!1,hideOnTransparent:!(f&&f.hideOnTransparent===!1),viewBoxOnly:f&&f.viewBoxOnly||!1,viewBoxSize:f&&f.viewBoxSize||!1,className:f&&f.className||"",id:f&&f.id||"",focusable:f&&f.focusable,filterSize:{width:f&&f.filterSize&&f.filterSize.width||"100%",height:f&&f.filterSize&&f.filterSize.height||"100%",x:f&&f.filterSize&&f.filterSize.x||"0%",y:f&&f.filterSize&&f.filterSize.y||"0%"},width:f&&f.width,height:f&&f.height,runExpressions:!f||f.runExpressions===void 0||f.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:K,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg";}v([Ue],or),or.prototype.createComp=function(n){return new ci(n,this.globalData,this)};function P(){this.sequences={},this.sequenceList=[],this.transform_key_count=0;}P.prototype={addTransformSequence:function(n){var f,b=n.length,T="_";for(f=0;f<b;f+=1)T+=n[f].transform.key+"_";var I=this.sequences[T];return I||(I={transforms:[].concat(n),finalTransform:new Ge,_mdf:!1},this.sequences[T]=I,this.sequenceList.push(I)),I},processSequence:function(n,f){for(var b=0,T=n.transforms.length,I=f;b<T&&!f;){if(n.transforms[b].transform.mProps._mdf){I=!0;break}b+=1;}if(I)for(n.finalTransform.reset(),b=T-1;b>=0;b-=1)n.finalTransform.multiply(n.transforms[b].transform.mProps.v);n._mdf=I;},processSequences:function(n){var f,b=this.sequenceList.length;for(f=0;f<b;f+=1)this.processSequence(this.sequenceList[f],n);},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var D=function(){var n="__lottie_element_luma_buffer",f=null,b=null,T=null;function I(){var K=Jt("svg"),X=Jt("filter"),it=Jt("feColorMatrix");return X.setAttribute("id",n),it.setAttribute("type","matrix"),it.setAttribute("color-interpolation-filters","sRGB"),it.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"),X.appendChild(it),K.appendChild(X),K.setAttribute("id",n+"_svg"),Yi.svgLumaHidden&&(K.style.display="none"),K}function F(){f||(T=I(),document.body.appendChild(T),f=_("canvas"),b=f.getContext("2d"),b.filter="url(#"+n+")",b.fillStyle="rgba(0,0,0,0)",b.fillRect(0,0,1,1));}function G(K){return f||F(),f.width=K.width,f.height=K.height,b.filter="url(#"+n+")",f}return {load:F,get:G}};function B(n,f){if(Yi.offscreenCanvas)return new OffscreenCanvas(n,f);var b=_("canvas");return b.width=n,b.height=f,b}var J=function(){return {loadLumaCanvas:D.load,getLumaCanvas:D.get,createCanvas:B}}(),st={};function et(n){var f,b=n.data.ef?n.data.ef.length:0;this.filters=[];var T;for(f=0;f<b;f+=1){T=null;var I=n.data.ef[f].ty;if(st[I]){var F=st[I].effect;T=new F(n.effectsManager.effectElements[f],n);}T&&this.filters.push(T);}this.filters.length&&n.addRenderableComponent(this);}et.prototype.renderFrame=function(n){var f,b=this.filters.length;for(f=0;f<b;f+=1)this.filters[f].renderFrame(n);},et.prototype.getEffects=function(n){var f,b=this.filters.length,T=[];for(f=0;f<b;f+=1)this.filters[f].type===n&&T.push(this.filters[f]);return T};function gt(n,f){this.data=n,this.element=f,this.masksProperties=this.data.masksProperties||[],this.viewData=g(this.masksProperties.length);var b,T=this.masksProperties.length,I=!1;for(b=0;b<T;b+=1)this.masksProperties[b].mode!=="n"&&(I=!0),this.viewData[b]=gr.getShapeProp(this.element,this.masksProperties[b],3);this.hasMasks=I,I&&this.element.addRenderableComponent(this);}gt.prototype.renderFrame=function(){if(this.hasMasks){var n=this.element.finalTransform.mat,f=this.element.canvasContext,b,T=this.masksProperties.length,I,F,G;for(f.beginPath(),b=0;b<T;b+=1)if(this.masksProperties[b].mode!=="n"){this.masksProperties[b].inv&&(f.moveTo(0,0),f.lineTo(this.element.globalData.compSize.w,0),f.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),f.lineTo(0,this.element.globalData.compSize.h),f.lineTo(0,0)),G=this.viewData[b].v,I=n.applyToPointArray(G.v[0][0],G.v[0][1],0),f.moveTo(I[0],I[1]);var K,X=G._length;for(K=1;K<X;K+=1)F=n.applyToTriplePoints(G.o[K-1],G.i[K],G.v[K]),f.bezierCurveTo(F[0],F[1],F[2],F[3],F[4],F[5]);F=n.applyToTriplePoints(G.o[K-1],G.i[0],G.v[0]),f.bezierCurveTo(F[0],F[1],F[2],F[3],F[4],F[5]);}this.element.globalData.renderer.save(!0),f.clip();}},gt.prototype.getMaskProperty=Vi.prototype.getMaskProperty,gt.prototype.destroy=function(){this.element=null;};function Mt(){}var yt={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};Mt.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var n=this.globalData.canvasContext,f=J.createCanvas(n.canvas.width,n.canvas.height);this.buffers.push(f);var b=J.createCanvas(n.canvas.width,n.canvas.height);this.buffers.push(b),this.data.tt>=3&&!document._isProxy&&J.loadLumaCanvas();}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new et(this),this.searchEffectTransforms();},createContent:function(){},setBlendMode:function(){var n=this.globalData;if(n.blendMode!==this.data.bm){n.blendMode=this.data.bm;var f=es(this.data.bm);n.canvasContext.globalCompositeOperation=f;}},createRenderableComponents:function(){this.maskManager=new gt(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(oi.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(n){n.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 n=this.buffers[0],f=n.getContext("2d");this.clearCanvas(f),f.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 n=this.buffers[1],f=n.getContext("2d");this.clearCanvas(f),f.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 b=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(b.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var T=J.getLumaCanvas(this.canvasContext.canvas),I=T.getContext("2d");I.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(T,0,0);}this.canvasContext.globalCompositeOperation=yt[this.data.tt],this.canvasContext.drawImage(n,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(n){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!n)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var f=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(f),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(f),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 Ge},Mt.prototype.hide=Mt.prototype.hideElement,Mt.prototype.show=Mt.prototype.showElement;function Bt(n,f,b,T){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var I=4;f.ty==="rc"?I=5:f.ty==="el"?I=6:f.ty==="sr"&&(I=7),this.sh=gr.getShapeProp(n,f,I,n);var F,G=b.length,K;for(F=0;F<G;F+=1)b[F].closed||(K={transforms:T.addTransformSequence(b[F].transforms),trNodes:[]},this.styledShapes.push(K),b[F].elements.push(K));}Bt.prototype.setAsAnimated=Ns.prototype.setAsAnimated;function Vt(n,f,b){this.shapes=[],this.shapesData=n.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new P,this.initElement(n,f,b);}v([Te,Be,Mt,is,Ui,Fe,nr],Vt),Vt.prototype.initElement=er.prototype.initElement,Vt.prototype.transformHelper={opacity:1,_opMdf:!1},Vt.prototype.dashResetter=[],Vt.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]);},Vt.prototype.createStyleElement=function(n,f){var b={data:n,type:n.ty,preTransforms:this.transformsManager.addTransformSequence(f),transforms:[],elements:[],closed:n.hd===!0},T={};if(n.ty==="fl"||n.ty==="st"?(T.c=te.getProp(this,n.c,1,255,this),T.c.k||(b.co="rgb("+N(T.c.v[0])+","+N(T.c.v[1])+","+N(T.c.v[2])+")")):(n.ty==="gf"||n.ty==="gs")&&(T.s=te.getProp(this,n.s,1,null,this),T.e=te.getProp(this,n.e,1,null,this),T.h=te.getProp(this,n.h||{k:0},0,.01,this),T.a=te.getProp(this,n.a||{k:0},0,dt,this),T.g=new Br(this,n.g,this)),T.o=te.getProp(this,n.o,0,.01,this),n.ty==="st"||n.ty==="gs"){if(b.lc=ma[n.lc||2],b.lj=Ks[n.lj||2],n.lj==1&&(b.ml=n.ml),T.w=te.getProp(this,n.w,0,null,this),T.w.k||(b.wi=T.w.v),n.d){var I=new rs(this,n.d,"canvas",this);T.d=I,T.d.k||(b.da=T.d.dashArray,b.do=T.d.dashoffset[0]);}}else b.r=n.r===2?"evenodd":"nonzero";return this.stylesList.push(b),T.style=b,T},Vt.prototype.createGroupElement=function(){var n={it:[],prevViewData:[]};return n},Vt.prototype.createTransformElement=function(n){var f={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:te.getProp(this,n.o,0,.01,this),mProps:Gi.getTransformProperty(this,n,this)}};return f},Vt.prototype.createShapeElement=function(n){var f=new Bt(this,n,this.stylesList,this.transformsManager);return this.shapes.push(f),this.addShapeToModifiers(f),f},Vt.prototype.reloadShapes=function(){this._isFirstFrame=!0;var n,f=this.itemsData.length;for(n=0;n<f;n+=1)this.prevViewData[n]=this.itemsData[n];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),f=this.dynamicProperties.length,n=0;n<f;n+=1)this.dynamicProperties[n].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame);},Vt.prototype.addTransformToStyleList=function(n){var f,b=this.stylesList.length;for(f=0;f<b;f+=1)this.stylesList[f].closed||this.stylesList[f].transforms.push(n);},Vt.prototype.removeTransformFromStyleList=function(){var n,f=this.stylesList.length;for(n=0;n<f;n+=1)this.stylesList[n].closed||this.stylesList[n].transforms.pop();},Vt.prototype.closeStyles=function(n){var f,b=n.length;for(f=0;f<b;f+=1)n[f].closed=!0;},Vt.prototype.searchShapes=function(n,f,b,T,I){var F,G=n.length-1,K,X,it=[],lt=[],tt,H,j,W=[].concat(I);for(F=G;F>=0;F-=1){if(tt=this.searchProcessedElement(n[F]),tt?f[F]=b[tt-1]:n[F]._shouldRender=T,n[F].ty==="fl"||n[F].ty==="st"||n[F].ty==="gf"||n[F].ty==="gs")tt?f[F].style.closed=!1:f[F]=this.createStyleElement(n[F],W),it.push(f[F].style);else if(n[F].ty==="gr"){if(!tt)f[F]=this.createGroupElement(n[F]);else for(X=f[F].it.length,K=0;K<X;K+=1)f[F].prevViewData[K]=f[F].it[K];this.searchShapes(n[F].it,f[F].it,f[F].prevViewData,T,W);}else n[F].ty==="tr"?(tt||(j=this.createTransformElement(n[F]),f[F]=j),W.push(f[F]),this.addTransformToStyleList(f[F])):n[F].ty==="sh"||n[F].ty==="rc"||n[F].ty==="el"||n[F].ty==="sr"?tt||(f[F]=this.createShapeElement(n[F])):n[F].ty==="tm"||n[F].ty==="rd"||n[F].ty==="pb"||n[F].ty==="zz"||n[F].ty==="op"?(tt?(H=f[F],H.closed=!1):(H=Ii.getModifier(n[F].ty),H.init(this,n[F]),f[F]=H,this.shapeModifiers.push(H)),lt.push(H)):n[F].ty==="rp"&&(tt?(H=f[F],H.closed=!0):(H=Ii.getModifier(n[F].ty),f[F]=H,H.init(this,n,F,f),this.shapeModifiers.push(H),T=!1),lt.push(H));this.addProcessedElement(n[F],F+1);}for(this.removeTransformFromStyleList(),this.closeStyles(it),G=lt.length,F=0;F<G;F+=1)lt[F].closed=!0;},Vt.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);},Vt.prototype.renderShapeTransform=function(n,f){(n._opMdf||f.op._mdf||this._isFirstFrame)&&(f.opacity=n.opacity,f.opacity*=f.op.v,f._opMdf=!0);},Vt.prototype.drawLayer=function(){var n,f=this.stylesList.length,b,T,I,F,G,K,X=this.globalData.renderer,it=this.globalData.canvasContext,lt,tt;for(n=0;n<f;n+=1)if(tt=this.stylesList[n],lt=tt.type,!((lt==="st"||lt==="gs")&&tt.wi===0||!tt.data._shouldRender||tt.coOp===0||this.globalData.currentGlobalAlpha===0)){for(X.save(),G=tt.elements,lt==="st"||lt==="gs"?(X.ctxStrokeStyle(lt==="st"?tt.co:tt.grd),X.ctxLineWidth(tt.wi),X.ctxLineCap(tt.lc),X.ctxLineJoin(tt.lj),X.ctxMiterLimit(tt.ml||0)):X.ctxFillStyle(lt==="fl"?tt.co:tt.grd),X.ctxOpacity(tt.coOp),lt!=="st"&&lt!=="gs"&&it.beginPath(),X.ctxTransform(tt.preTransforms.finalTransform.props),T=G.length,b=0;b<T;b+=1){for((lt==="st"||lt==="gs")&&(it.beginPath(),tt.da&&(it.setLineDash(tt.da),it.lineDashOffset=tt.do)),K=G[b].trNodes,F=K.length,I=0;I<F;I+=1)K[I].t==="m"?it.moveTo(K[I].p[0],K[I].p[1]):K[I].t==="c"?it.bezierCurveTo(K[I].pts[0],K[I].pts[1],K[I].pts[2],K[I].pts[3],K[I].pts[4],K[I].pts[5]):it.closePath();(lt==="st"||lt==="gs")&&(X.ctxStroke(),tt.da&&it.setLineDash(this.dashResetter));}lt!=="st"&&lt!=="gs"&&this.globalData.renderer.ctxFill(tt.r),X.restore();}},Vt.prototype.renderShape=function(n,f,b,T){var I,F=f.length-1,G;for(G=n,I=F;I>=0;I-=1)f[I].ty==="tr"?(G=b[I].transform,this.renderShapeTransform(n,G)):f[I].ty==="sh"||f[I].ty==="el"||f[I].ty==="rc"||f[I].ty==="sr"?this.renderPath(f[I],b[I]):f[I].ty==="fl"?this.renderFill(f[I],b[I],G):f[I].ty==="st"?this.renderStroke(f[I],b[I],G):f[I].ty==="gf"||f[I].ty==="gs"?this.renderGradientFill(f[I],b[I],G):f[I].ty==="gr"?this.renderShape(G,f[I].it,b[I].it):f[I].ty;T&&this.drawLayer();},Vt.prototype.renderStyledShape=function(n,f){if(this._isFirstFrame||f._mdf||n.transforms._mdf){var b=n.trNodes,T=f.paths,I,F,G,K=T._length;b.length=0;var X=n.transforms.finalTransform;for(G=0;G<K;G+=1){var it=T.shapes[G];if(it&&it.v){for(F=it._length,I=1;I<F;I+=1)I===1&&b.push({t:"m",p:X.applyToPointArray(it.v[0][0],it.v[0][1],0)}),b.push({t:"c",pts:X.applyToTriplePoints(it.o[I-1],it.i[I],it.v[I])});F===1&&b.push({t:"m",p:X.applyToPointArray(it.v[0][0],it.v[0][1],0)}),it.c&&F&&(b.push({t:"c",pts:X.applyToTriplePoints(it.o[I-1],it.i[0],it.v[0])}),b.push({t:"z"}));}}n.trNodes=b;}},Vt.prototype.renderPath=function(n,f){if(n.hd!==!0&&n._shouldRender){var b,T=f.styledShapes.length;for(b=0;b<T;b+=1)this.renderStyledShape(f.styledShapes[b],f.sh);}},Vt.prototype.renderFill=function(n,f,b){var T=f.style;(f.c._mdf||this._isFirstFrame)&&(T.co="rgb("+N(f.c.v[0])+","+N(f.c.v[1])+","+N(f.c.v[2])+")"),(f.o._mdf||b._opMdf||this._isFirstFrame)&&(T.coOp=f.o.v*b.opacity);},Vt.prototype.renderGradientFill=function(n,f,b){var T=f.style,I;if(!T.grd||f.g._mdf||f.s._mdf||f.e._mdf||n.t!==1&&(f.h._mdf||f.a._mdf)){var F=this.globalData.canvasContext,G=f.s.v,K=f.e.v;if(n.t===1)I=F.createLinearGradient(G[0],G[1],K[0],K[1]);else {var X=Math.sqrt(Math.pow(G[0]-K[0],2)+Math.pow(G[1]-K[1],2)),it=Math.atan2(K[1]-G[1],K[0]-G[0]),lt=f.h.v;lt>=1?lt=.99:lt<=-1&&(lt=-.99);var tt=X*lt,H=Math.cos(it+f.a.v)*tt+G[0],j=Math.sin(it+f.a.v)*tt+G[1];I=F.createRadialGradient(H,j,0,G[0],G[1],X);}var W,R=n.g.p,rt=f.g.c,at=1;for(W=0;W<R;W+=1)f.g._hasOpacity&&f.g._collapsable&&(at=f.g.o[W*2+1]),I.addColorStop(rt[W*4]/100,"rgba("+rt[W*4+1]+","+rt[W*4+2]+","+rt[W*4+3]+","+at+")");T.grd=I;}T.coOp=f.o.v*b.opacity;},Vt.prototype.renderStroke=function(n,f,b){var T=f.style,I=f.d;I&&(I._mdf||this._isFirstFrame)&&(T.da=I.dashArray,T.do=I.dashoffset[0]),(f.c._mdf||this._isFirstFrame)&&(T.co="rgb("+N(f.c.v[0])+","+N(f.c.v[1])+","+N(f.c.v[2])+")"),(f.o._mdf||b._opMdf||this._isFirstFrame)&&(T.coOp=f.o.v*b.opacity),(f.w._mdf||this._isFirstFrame)&&(T.wi=f.w.v);},Vt.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0;};function Ht(n,f,b){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(n,f,b);}v([Te,Be,Mt,Ui,Fe,nr,xi],Ht),Ht.prototype.tHelper=_("canvas").getContext("2d"),Ht.prototype.buildNewText=function(){var n=this.textProperty.currentData;this.renderedLetters=g(n.l?n.l.length:0);var f=!1;n.fc?(f=!0,this.values.fill=this.buildColor(n.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=f;var b=!1;n.sc&&(b=!0,this.values.stroke=this.buildColor(n.sc),this.values.sWidth=n.sw);var T=this.globalData.fontManager.getFontByName(n.f),I,F,G=n.l,K=this.mHelper;this.stroke=b,this.values.fValue=n.finalSize+"px "+this.globalData.fontManager.getFontByName(n.f).fFamily,F=n.finalText.length;var X,it,lt,tt,H,j,W,R,rt,at,Z=this.data.singleShape,ct=n.tr*.001*n.finalSize,mt=0,Pt=0,Rt=!0,jt=0;for(I=0;I<F;I+=1){X=this.globalData.fontManager.getCharData(n.finalText[I],T.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily),it=X&&X.data||{},K.reset(),Z&&G[I].n&&(mt=-ct,Pt+=n.yOffset,Pt+=Rt?1:0,Rt=!1),H=it.shapes?it.shapes[0].it:[],W=H.length,K.scale(n.finalSize/100,n.finalSize/100),Z&&this.applyTextPropertiesToMatrix(n,K,G[I].line,mt,Pt),rt=g(W-1);var Lt=0;for(j=0;j<W;j+=1)if(H[j].ty==="sh"){for(tt=H[j].ks.k.i.length,R=H[j].ks.k,at=[],lt=1;lt<tt;lt+=1)lt===1&&at.push(K.applyToX(R.v[0][0],R.v[0][1],0),K.applyToY(R.v[0][0],R.v[0][1],0)),at.push(K.applyToX(R.o[lt-1][0],R.o[lt-1][1],0),K.applyToY(R.o[lt-1][0],R.o[lt-1][1],0),K.applyToX(R.i[lt][0],R.i[lt][1],0),K.applyToY(R.i[lt][0],R.i[lt][1],0),K.applyToX(R.v[lt][0],R.v[lt][1],0),K.applyToY(R.v[lt][0],R.v[lt][1],0));at.push(K.applyToX(R.o[lt-1][0],R.o[lt-1][1],0),K.applyToY(R.o[lt-1][0],R.o[lt-1][1],0),K.applyToX(R.i[0][0],R.i[0][1],0),K.applyToY(R.i[0][0],R.i[0][1],0),K.applyToX(R.v[0][0],R.v[0][1],0),K.applyToY(R.v[0][0],R.v[0][1],0)),rt[Lt]=at,Lt+=1;}Z&&(mt+=G[I].l,mt+=ct),this.textSpans[jt]?this.textSpans[jt].elem=rt:this.textSpans[jt]={elem:rt},jt+=1;}},Ht.prototype.renderInnerContent=function(){this.validateText();var n=this.canvasContext;n.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 f,b,T,I,F,G,K=this.textAnimator.renderedLetters,X=this.textProperty.currentData.l;b=X.length;var it,lt=null,tt=null,H=null,j,W,R=this.globalData.renderer;for(f=0;f<b;f+=1)if(!X[f].n){if(it=K[f],it&&(R.save(),R.ctxTransform(it.p),R.ctxOpacity(it.o)),this.fill){for(it&&it.fc?lt!==it.fc&&(R.ctxFillStyle(it.fc),lt=it.fc):lt!==this.values.fill&&(lt=this.values.fill,R.ctxFillStyle(this.values.fill)),j=this.textSpans[f].elem,I=j.length,this.globalData.canvasContext.beginPath(),T=0;T<I;T+=1)for(W=j[T],G=W.length,this.globalData.canvasContext.moveTo(W[0],W[1]),F=2;F<G;F+=6)this.globalData.canvasContext.bezierCurveTo(W[F],W[F+1],W[F+2],W[F+3],W[F+4],W[F+5]);this.globalData.canvasContext.closePath(),R.ctxFill();}if(this.stroke){for(it&&it.sw?H!==it.sw&&(H=it.sw,R.ctxLineWidth(it.sw)):H!==this.values.sWidth&&(H=this.values.sWidth,R.ctxLineWidth(this.values.sWidth)),it&&it.sc?tt!==it.sc&&(tt=it.sc,R.ctxStrokeStyle(it.sc)):tt!==this.values.stroke&&(tt=this.values.stroke,R.ctxStrokeStyle(this.values.stroke)),j=this.textSpans[f].elem,I=j.length,this.globalData.canvasContext.beginPath(),T=0;T<I;T+=1)for(W=j[T],G=W.length,this.globalData.canvasContext.moveTo(W[0],W[1]),F=2;F<G;F+=6)this.globalData.canvasContext.bezierCurveTo(W[F],W[F+1],W[F+2],W[F+3],W[F+4],W[F+5]);this.globalData.canvasContext.closePath(),R.ctxStroke();}it&&this.globalData.renderer.restore();}};function kt(n,f,b){this.assetData=f.getAssetData(n.refId),this.img=f.imageLoader.getAsset(this.assetData),this.initElement(n,f,b);}v([Te,Be,Mt,Ui,Fe,nr],kt),kt.prototype.initElement=je.prototype.initElement,kt.prototype.prepareFrame=Ai.prototype.prepareFrame,kt.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var n=_("canvas");n.width=this.assetData.w,n.height=this.assetData.h;var f=n.getContext("2d"),b=this.img.width,T=this.img.height,I=b/T,F=this.assetData.w/this.assetData.h,G,K,X=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;I>F&&X==="xMidYMid slice"||I<F&&X!=="xMidYMid slice"?(K=T,G=K*F):(G=b,K=G/F),f.drawImage(this.img,(b-G)/2,(T-K)/2,G,K,0,0,this.assetData.w,this.assetData.h),this.img=n;}},kt.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0);},kt.prototype.destroy=function(){this.img=null;};function l(n,f,b){this.initElement(n,f,b);}v([Te,Be,Mt,Ui,Fe,nr],l),l.prototype.initElement=je.prototype.initElement,l.prototype.prepareFrame=Ai.prototype.prepareFrame,l.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh);};function k(){}v([Ae],k),k.prototype.createShape=function(n){return new Vt(n,this.globalData,this)},k.prototype.createText=function(n){return new Ht(n,this.globalData,this)},k.prototype.createImage=function(n){return new kt(n,this.globalData,this)},k.prototype.createSolid=function(n){return new l(n,this.globalData,this)},k.prototype.createNull=or.prototype.createNull,k.prototype.ctxTransform=function(n){n[0]===1&&n[1]===0&&n[4]===0&&n[5]===1&&n[12]===0&&n[13]===0||this.canvasContext.transform(n[0],n[1],n[4],n[5],n[12],n[13]);},k.prototype.ctxOpacity=function(n){this.canvasContext.globalAlpha*=n<0?0:n;},k.prototype.ctxFillStyle=function(n){this.canvasContext.fillStyle=n;},k.prototype.ctxStrokeStyle=function(n){this.canvasContext.strokeStyle=n;},k.prototype.ctxLineWidth=function(n){this.canvasContext.lineWidth=n;},k.prototype.ctxLineCap=function(n){this.canvasContext.lineCap=n;},k.prototype.ctxLineJoin=function(n){this.canvasContext.lineJoin=n;},k.prototype.ctxMiterLimit=function(n){this.canvasContext.miterLimit=n;},k.prototype.ctxFill=function(n){this.canvasContext.fill(n);},k.prototype.ctxFillRect=function(n,f,b,T){this.canvasContext.fillRect(n,f,b,T);},k.prototype.ctxStroke=function(){this.canvasContext.stroke();},k.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset();},k.prototype.save=function(){this.canvasContext.save();},k.prototype.restore=function(n){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}n&&(this.globalData.blendMode="source-over"),this.contextData.restore(n);},k.prototype.configAnimation=function(n){if(this.animationItem.wrapper){this.animationItem.container=_("canvas");var f=this.animationItem.container.style;f.width="100%",f.height="100%";var b="0px 0px 0px";f.transformOrigin=b,f.mozTransformOrigin=b,f.webkitTransformOrigin=b,f["-webkit-transform"]=b,f.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=n,this.layers=n.layers,this.transformCanvas={w:n.w,h:n.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(n,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=g(n.layers.length),this.updateContainerSize();},k.prototype.updateContainerSize=function(n,f){this.reset();var b,T;n?(b=n,T=f,this.canvasContext.canvas.width=b,this.canvasContext.canvas.height=T):(this.animationItem.wrapper&&this.animationItem.container?(b=this.animationItem.wrapper.offsetWidth,T=this.animationItem.wrapper.offsetHeight):(b=this.canvasContext.canvas.width,T=this.canvasContext.canvas.height),this.canvasContext.canvas.width=b*this.renderConfig.dpr,this.canvasContext.canvas.height=T*this.renderConfig.dpr);var I,F;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var G=this.renderConfig.preserveAspectRatio.split(" "),K=G[1]||"meet",X=G[0]||"xMidYMid",it=X.substr(0,4),lt=X.substr(4);I=b/T,F=this.transformCanvas.w/this.transformCanvas.h,F>I&&K==="meet"||F<I&&K==="slice"?(this.transformCanvas.sx=b/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=b/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=T/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=T/(this.transformCanvas.h/this.renderConfig.dpr)),it==="xMid"&&(F<I&&K==="meet"||F>I&&K==="slice")?this.transformCanvas.tx=(b-this.transformCanvas.w*(T/this.transformCanvas.h))/2*this.renderConfig.dpr:it==="xMax"&&(F<I&&K==="meet"||F>I&&K==="slice")?this.transformCanvas.tx=(b-this.transformCanvas.w*(T/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,lt==="YMid"&&(F>I&&K==="meet"||F<I&&K==="slice")?this.transformCanvas.ty=(T-this.transformCanvas.h*(b/this.transformCanvas.w))/2*this.renderConfig.dpr:lt==="YMax"&&(F>I&&K==="meet"||F<I&&K==="slice")?this.transformCanvas.ty=(T-this.transformCanvas.h*(b/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0;}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=b/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=T/(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);},k.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var n,f=this.layers?this.layers.length:0;for(n=f-1;n>=0;n-=1)this.elements[n]&&this.elements[n].destroy&&this.elements[n].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0;},k.prototype.renderFrame=function(n,f){if(!(this.renderedFrame===n&&this.renderConfig.clearCanvas===!0&&!f||this.destroyed||n===-1)){this.renderedFrame=n,this.globalData.frameNum=n-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||f,this.globalData.projectInterface.currentFrame=n;var b,T=this.layers.length;for(this.completeLayers||this.checkLayers(n),b=T-1;b>=0;b-=1)(this.completeLayers||this.elements[b])&&this.elements[b].prepareFrame(n-this.layers[b].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),b=T-1;b>=0;b-=1)(this.completeLayers||this.elements[b])&&this.elements[b].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore();}}},k.prototype.buildItem=function(n){var f=this.elements;if(!(f[n]||this.layers[n].ty===99)){var b=this.createItem(this.layers[n],this,this.globalData);f[n]=b,b.initExpressions();}},k.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var n=this.pendingElements.pop();n.checkParenting();}},k.prototype.hide=function(){this.animationItem.container.style.display="none";},k.prototype.show=function(){this.animationItem.container.style.display="block";};function C(){this.opacity=-1,this.transform=d("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random();}function L(){this.stack=[],this.cArrPos=0,this.cTr=new Ge;var n,f=15;for(n=0;n<f;n+=1){var b=new C;this.stack[n]=b;}this._length=f,this.nativeContext=null,this.transformMat=new Ge,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="";}L.prototype.duplicate=function(){var n=this._length*2,f=0;for(f=this._length;f<n;f+=1)this.stack[f]=new C;this._length=n;},L.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1;},L.prototype.restore=function(n){this.cArrPos-=1;var f=this.stack[this.cArrPos],b=f.transform,T,I=this.cTr.props;for(T=0;T<16;T+=1)I[T]=b[T];if(n){this.nativeContext.restore();var F=this.stack[this.cArrPos+1];this.appliedFillStyle=F.fillStyle,this.appliedStrokeStyle=F.strokeStyle,this.appliedLineWidth=F.lineWidth,this.appliedLineCap=F.lineCap,this.appliedLineJoin=F.lineJoin,this.appliedMiterLimit=F.miterLimit;}this.nativeContext.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]),(n||f.opacity!==-1&&this.currentOpacity!==f.opacity)&&(this.nativeContext.globalAlpha=f.opacity,this.currentOpacity=f.opacity),this.currentFillStyle=f.fillStyle,this.currentStrokeStyle=f.strokeStyle,this.currentLineWidth=f.lineWidth,this.currentLineCap=f.lineCap,this.currentLineJoin=f.lineJoin,this.currentMiterLimit=f.miterLimit;},L.prototype.save=function(n){n&&this.nativeContext.save();var f=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var b=this.stack[this.cArrPos],T;for(T=0;T<16;T+=1)b.transform[T]=f[T];this.cArrPos+=1;var I=this.stack[this.cArrPos];I.opacity=b.opacity,I.fillStyle=b.fillStyle,I.strokeStyle=b.strokeStyle,I.lineWidth=b.lineWidth,I.lineCap=b.lineCap,I.lineJoin=b.lineJoin,I.miterLimit=b.miterLimit;},L.prototype.setOpacity=function(n){this.stack[this.cArrPos].opacity=n;},L.prototype.setContext=function(n){this.nativeContext=n;},L.prototype.fillStyle=function(n){this.stack[this.cArrPos].fillStyle!==n&&(this.currentFillStyle=n,this.stack[this.cArrPos].fillStyle=n);},L.prototype.strokeStyle=function(n){this.stack[this.cArrPos].strokeStyle!==n&&(this.currentStrokeStyle=n,this.stack[this.cArrPos].strokeStyle=n);},L.prototype.lineWidth=function(n){this.stack[this.cArrPos].lineWidth!==n&&(this.currentLineWidth=n,this.stack[this.cArrPos].lineWidth=n);},L.prototype.lineCap=function(n){this.stack[this.cArrPos].lineCap!==n&&(this.currentLineCap=n,this.stack[this.cArrPos].lineCap=n);},L.prototype.lineJoin=function(n){this.stack[this.cArrPos].lineJoin!==n&&(this.currentLineJoin=n,this.stack[this.cArrPos].lineJoin=n);},L.prototype.miterLimit=function(n){this.stack[this.cArrPos].miterLimit!==n&&(this.currentMiterLimit=n,this.stack[this.cArrPos].miterLimit=n);},L.prototype.transform=function(n){this.transformMat.cloneFromProps(n);var f=this.cTr;this.transformMat.multiply(f),f.cloneFromProps(this.transformMat.props);var b=f.props;this.nativeContext.setTransform(b[0],b[1],b[4],b[5],b[12],b[13]);},L.prototype.opacity=function(n){var f=this.stack[this.cArrPos].opacity;f*=n<0?0:n,this.stack[this.cArrPos].opacity!==f&&(this.currentOpacity!==n&&(this.nativeContext.globalAlpha=n,this.currentOpacity=n),this.stack[this.cArrPos].opacity=f);},L.prototype.fill=function(n){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(n);},L.prototype.fillRect=function(n,f,b,T){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(n,f,b,T);},L.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 O(n,f,b){this.completeLayers=!1,this.layers=n.layers,this.pendingElements=[],this.elements=g(this.layers.length),this.initElement(n,f,b),this.tm=n.tm?te.getProp(this,n.tm,0,f.frameRate,this):{_placeholder:!0};}v([k,gi,Mt],O),O.prototype.renderInnerContent=function(){var n=this.canvasContext;n.beginPath(),n.moveTo(0,0),n.lineTo(this.data.w,0),n.lineTo(this.data.w,this.data.h),n.lineTo(0,this.data.h),n.lineTo(0,0),n.clip();var f,b=this.layers.length;for(f=b-1;f>=0;f-=1)(this.completeLayers||this.elements[f])&&this.elements[f].renderFrame();},O.prototype.destroy=function(){var n,f=this.layers.length;for(n=f-1;n>=0;n-=1)this.elements[n]&&this.elements[n].destroy();this.layers=null,this.elements=null;},O.prototype.createComp=function(n){return new O(n,this.globalData,this)};function V(n,f){this.animationItem=n,this.renderConfig={clearCanvas:f&&f.clearCanvas!==void 0?f.clearCanvas:!0,context:f&&f.context||null,progressiveLoad:f&&f.progressiveLoad||!1,preserveAspectRatio:f&&f.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:f&&f.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:f&&f.contentVisibility||"visible",className:f&&f.className||"",id:f&&f.id||"",runExpressions:!f||f.runExpressions===void 0||f.runExpressions},this.renderConfig.dpr=f&&f.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=f&&f.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new L,this.elements=[],this.pendingElements=[],this.transformMat=new Ge,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 v([k],V),V.prototype.createComp=function(n){return new O(n,this.globalData,this)},Re("canvas",V),Ii.registerModifier("tm",ei),Ii.registerModifier("pb",wi),Ii.registerModifier("rp",mi),Ii.registerModifier("rd",rr),Ii.registerModifier("zz",ar),Ii.registerModifier("op",Cr),ue});}),Ag=Eg();});var hc={};ia(hc,{default:()=>Tg});var Cg,Tg,lc=Ir(()=>{Fs();Cg=ce((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,s;for(i=0;i<r;i+=1){s=t[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a]);}}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 s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<r;s+=1)a.push(o);return a}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,s=t.length;for(r=0;r<s;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,s,a,o,p,h,c,_;switch(o=Math.floor(t*6),p=t*6-o,h=i*(1-e),c=i*(1-p*e),_=i*(1-(1-p)*e),o%6){case 0:r=i,s=_,a=h;break;case 1:r=c,s=i,a=h;break;case 2:r=h,s=i,a=_;break;case 3:r=h,s=c,a=i;break;case 4:r=_,s=h,a=i;break;case 5:r=i,s=h,a=c;break}return [r,s,a]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),s=Math.min(t,e,i),a=r-s,o,p=r===0?0:a/r,h=r/255;switch(r){case s:o=0;break;case t:o=e-i+a*(e<i?6:0),o/=6*a;break;case e:o=i-t+a*2,o/=6*a;break;case i:o=t-e+a*4,o/=6*a;break}return [o,p,h]}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,s,a){return r<0&&(r=0),s<0&&(s=0),a<0&&(a=0),"#"+t[r]+t[s]+t[a]}})();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,s={onmessage:function(){},postMessage:function(u){i({data:u});}},a={postMessage:function(u){s.onmessage({data:u});}};function o(u){if(window.Worker&&window.Blob&&getWebWorker()){var S=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),d=URL.createObjectURL(S);return new Worker(d)}return i=u,s}function p(){r||(r=o(function(u){function S(){function g(ot,Tt){var z,$,E=ot.length,q,nt,Q,Ut;for($=0;$<E;$+=1)if(z=ot[$],"ks"in z&&!z.completed){if(z.completed=!0,z.hasMask){var zt=z.masksProperties;for(nt=zt.length,q=0;q<nt;q+=1)if(zt[q].pt.k.i)w(zt[q].pt.k);else for(Ut=zt[q].pt.k.length,Q=0;Q<Ut;Q+=1)zt[q].pt.k[Q].s&&w(zt[q].pt.k[Q].s[0]),zt[q].pt.k[Q].e&&w(zt[q].pt.k[Q].e[0]);}z.ty===0?(z.layers=m(z.refId,Tt),g(z.layers,Tt)):z.ty===4?x(z.shapes):z.ty===5&&bt(z);}}function A(ot,Tt){if(ot){var z=0,$=ot.length;for(z=0;z<$;z+=1)ot[z].t===1&&(ot[z].data.layers=m(ot[z].data.refId,Tt),g(ot[z].data.layers,Tt));}}function y(ot,Tt){for(var z=0,$=Tt.length;z<$;){if(Tt[z].id===ot)return Tt[z];z+=1;}return null}function m(ot,Tt){var z=y(ot,Tt);return z?z.layers.__used?JSON.parse(JSON.stringify(z.layers)):(z.layers.__used=!0,z.layers):null}function x(ot){var Tt,z=ot.length,$,E;for(Tt=z-1;Tt>=0;Tt-=1)if(ot[Tt].ty==="sh")if(ot[Tt].ks.k.i)w(ot[Tt].ks.k);else for(E=ot[Tt].ks.k.length,$=0;$<E;$+=1)ot[Tt].ks.k[$].s&&w(ot[Tt].ks.k[$].s[0]),ot[Tt].ks.k[$].e&&w(ot[Tt].ks.k[$].e[0]);else ot[Tt].ty==="gr"&&x(ot[Tt].it);}function w(ot){var Tt,z=ot.i.length;for(Tt=0;Tt<z;Tt+=1)ot.i[Tt][0]+=ot.v[Tt][0],ot.i[Tt][1]+=ot.v[Tt][1],ot.o[Tt][0]+=ot.v[Tt][0],ot.o[Tt][1]+=ot.v[Tt][1];}function M(ot,Tt){var z=Tt?Tt.split("."):[100,100,100];return ot[0]>z[0]?!0:z[0]>ot[0]?!1:ot[1]>z[1]?!0:z[1]>ot[1]?!1:ot[2]>z[2]?!0:z[2]>ot[2]?!1:null}var N=function(){var ot=[4,4,14];function Tt($){var E=$.t.d;$.t.d={k:[{s:E,t:0}]};}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),U=function(){var ot=[4,7,99];return function(Tt){if(Tt.chars&&!M(ot,Tt.v)){var z,$=Tt.chars.length;for(z=0;z<$;z+=1){var E=Tt.chars[z];E.data&&E.data.shapes&&(x(E.data.shapes),E.data.ip=0,E.data.op=99999,E.data.st=0,E.data.sr=1,E.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}},Tt.chars[z].t||(E.data.shapes.push({ty:"no"}),E.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"})));}}}}(),Y=function(){var ot=[5,7,15];function Tt($){var E=$.t.p;typeof E.a=="number"&&(E.a={a:0,k:E.a}),typeof E.p=="number"&&(E.p={a:0,k:E.p}),typeof E.r=="number"&&(E.r={a:0,k:E.r});}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),dt=function(){var ot=[4,1,9];function Tt($){var E,q=$.length,nt,Q;for(E=0;E<q;E+=1)if($[E].ty==="gr")Tt($[E].it);else if($[E].ty==="fl"||$[E].ty==="st")if($[E].c.k&&$[E].c.k[0].i)for(Q=$[E].c.k.length,nt=0;nt<Q;nt+=1)$[E].c.k[nt].s&&($[E].c.k[nt].s[0]/=255,$[E].c.k[nt].s[1]/=255,$[E].c.k[nt].s[2]/=255,$[E].c.k[nt].s[3]/=255),$[E].c.k[nt].e&&($[E].c.k[nt].e[0]/=255,$[E].c.k[nt].e[1]/=255,$[E].c.k[nt].e[2]/=255,$[E].c.k[nt].e[3]/=255);else $[E].c.k[0]/=255,$[E].c.k[1]/=255,$[E].c.k[2]/=255,$[E].c.k[3]/=255;}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===4&&Tt($[E].shapes);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),xt=function(){var ot=[4,4,18];function Tt($){var E,q=$.length,nt,Q;for(E=q-1;E>=0;E-=1)if($[E].ty==="sh")if($[E].ks.k.i)$[E].ks.k.c=$[E].closed;else for(Q=$[E].ks.k.length,nt=0;nt<Q;nt+=1)$[E].ks.k[nt].s&&($[E].ks.k[nt].s[0].c=$[E].closed),$[E].ks.k[nt].e&&($[E].ks.k[nt].e[0].c=$[E].closed);else $[E].ty==="gr"&&Tt($[E].it);}function z($){var E,q,nt=$.length,Q,Ut,zt,qt;for(q=0;q<nt;q+=1){if(E=$[q],E.hasMask){var Gt=E.masksProperties;for(Ut=Gt.length,Q=0;Q<Ut;Q+=1)if(Gt[Q].pt.k.i)Gt[Q].pt.k.c=Gt[Q].cl;else for(qt=Gt[Q].pt.k.length,zt=0;zt<qt;zt+=1)Gt[Q].pt.k[zt].s&&(Gt[Q].pt.k[zt].s[0].c=Gt[Q].cl),Gt[Q].pt.k[zt].e&&(Gt[Q].pt.k[zt].e[0].c=Gt[Q].cl);}E.ty===4&&Tt(E.shapes);}}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}();function vt(ot){ot.__complete||(dt(ot),N(ot),U(ot),Y(ot),xt(ot),g(ot.layers,ot.assets),A(ot.chars,ot.assets),ot.__complete=!0);}function bt(ot){ot.t.a.length===0&&"m"in ot.t.p;}var It={};return It.completeData=vt,It.checkColors=dt,It.checkChars=U,It.checkPathProperties=Y,It.checkShapes=xt,It.completeLayers=g,It}if(a.dataManager||(a.dataManager=S()),a.assetLoader||(a.assetLoader=function(){function g(y){var m=y.getResponseHeader("content-type");return m&&y.responseType==="json"&&m.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function A(y,m,x,w){var M,N=new XMLHttpRequest;try{N.responseType="json";}catch{}N.onreadystatechange=function(){if(N.readyState===4)if(N.status===200)M=g(N),x(M);else try{M=g(N),x(M);}catch(U){w&&w(U);}};try{N.open(["G","E","T"].join(""),y,!0);}catch{N.open(["G","E","T"].join(""),m+"/"+y,!0);}N.send();}return {load:A}}()),u.data.type==="loadAnimation")a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.dataManager.completeData(g),a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});else if(u.data.type==="complete"){var d=u.data.animation;a.dataManager.completeData(d),a.postMessage({id:u.data.id,payload:d,status:"success"});}else u.data.type==="loadData"&&a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});}),r.onmessage=function(u){var S=u.data,d=S.id,g=e[d];e[d]=null,S.status==="success"?g.onComplete(S.payload):g.onError&&g.onError();});}function h(u,S){t+=1;var d="processId_"+t;return e[d]={onComplete:u,onError:S},d}function c(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function _(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function v(u,S,d){p();var g=h(S,d);r.postMessage({type:"complete",animation:u,id:g});}return {loadAnimation:c,loadData:_,completeAnimation:v}}(),ImagePreloader=function(){var t=function(){var y=createTag("canvas");y.width=1,y.height=1;var m=y.getContext("2d");return m.fillStyle="rgba(0,0,0,0)",m.fillRect(0,0,1,1),y}();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(y,m,x){var w="";if(y.e)w=y.p;else if(m){var M=y.p;M.indexOf("images/")!==-1&&(M=M.split("/")[1]),w=m+M;}else w=x,w+=y.u?y.u:"",w+=y.p;return w}function s(y){var m=0,x=setInterval(function(){var w=y.getBBox();(w.width||m>500)&&(this._imageLoaded(),clearInterval(x)),m+=1;}.bind(this),50);}function a(y){var m=r(y,this.assetsPath,this.path),x=createNS("image");isSafari?this.testImageLoaded(x):x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(x):this._elementHelper.appendChild(x);var w={img:x,assetData:y};return w}function o(y){var m=r(y,this.assetsPath,this.path),x=createTag("img");x.crossOrigin="anonymous",x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.src=m;var w={img:x,assetData:y};return w}function p(y){var m={assetData:y},x=r(y,this.assetsPath,this.path);return dataManager.loadData(x,function(w){m.img=w,this._footageLoaded();}.bind(this),function(){m.img={},this._footageLoaded();}.bind(this)),m}function h(y,m){this.imagesLoadedCb=m;var x,w=y.length;for(x=0;x<w;x+=1)y[x].layers||(!y[x].t||y[x].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[x]))):y[x].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[x]))));}function c(y){this.path=y||"";}function _(y){this.assetsPath=y||"";}function v(y){for(var m=0,x=this.images.length;m<x;){if(this.images[m].assetData===y)return this.images[m].img;m+=1;}return null}function u(){this.imagesLoadedCb=null,this.images.length=0;}function S(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function g(y,m){y==="svg"?(this._elementHelper=m,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function A(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=p.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return A.prototype={loadAssets:h,setAssetsPath:_,setPath:c,loadedImages:S,loadedFootages:d,destroy:u,getAsset:v,createImgData:o,createImageData:a,imageLoaded:e,footageLoaded:i,setCacheType:g},A}();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
`),r={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(r[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var s=e[r],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[r].cm);}catch{try{a.payload=t(e[r].cm);}catch{a.payload={name:e[r].cm};}}i.push(a);}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e);}return function(){function e(i){for(var r=0,s=this.compositions.length;r<s;){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 s=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:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=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=a!=="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 o=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:"";o==="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,s=t.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<r;){if(e[i].id===s[a].id){e[i]=s[a];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 s=this.getMarkerData(t);s&&this.goToAndStop(s.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 s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.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,s=0,a=!0,o=!1;function p(z){for(var $=0,E=z.target;$<r;)e[$].animation===E&&(e.splice($,1),$-=1,r-=1,E.isPaused||v()),$+=1;}function h(z,$){if(!z)return null;for(var E=0;E<r;){if(e[E].elem===z&&e[E].elem!==null)return e[E].animation;E+=1;}var q=new AnimationItem;return u(q,z),q.setData(z,$),q}function c(){var z,$=e.length,E=[];for(z=0;z<$;z+=1)E.push(e[z].animation);return E}function _(){s+=1,xt();}function v(){s-=1;}function u(z,$){z.addEventListener("destroy",p),z.addEventListener("_active",_),z.addEventListener("_idle",v),e.push({elem:$,animation:z}),r+=1;}function S(z){var $=new AnimationItem;return u($,null),$.setParams(z),$}function d(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setSpeed(z,$);}function g(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setDirection(z,$);}function A(z){var $;for($=0;$<r;$+=1)e[$].animation.play(z);}function y(z){var $=z-i,E;for(E=0;E<r;E+=1)e[E].animation.advanceTime($);i=z,s&&!o?window.requestAnimationFrame(y):a=!0;}function m(z){i=z,window.requestAnimationFrame(y);}function x(z){var $;for($=0;$<r;$+=1)e[$].animation.pause(z);}function w(z,$,E){var q;for(q=0;q<r;q+=1)e[q].animation.goToAndStop(z,$,E);}function M(z){var $;for($=0;$<r;$+=1)e[$].animation.stop(z);}function N(z){var $;for($=0;$<r;$+=1)e[$].animation.togglePause(z);}function U(z){var $;for($=r-1;$>=0;$-=1)e[$].animation.destroy(z);}function Y(z,$,E){var q=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),nt,Q=q.length;for(nt=0;nt<Q;nt+=1)E&&q[nt].setAttribute("data-bm-type",E),h(q[nt],z);if($&&Q===0){E||(E="svg");var Ut=document.getElementsByTagName("body")[0];Ut.innerText="";var zt=createTag("div");zt.style.width="100%",zt.style.height="100%",zt.setAttribute("data-bm-type",E),Ut.appendChild(zt),h(zt,z);}}function dt(){var z;for(z=0;z<r;z+=1)e[z].animation.resize();}function xt(){!o&&s&&a&&(window.requestAnimationFrame(m),a=!1);}function vt(){o=!0;}function bt(){o=!1,xt();}function It(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setVolume(z,$);}function ot(z){var $;for($=0;$<r;$+=1)e[$].animation.mute(z);}function Tt(z){var $;for($=0;$<r;$+=1)e[$].animation.unmute(z);}return t.registerAnimation=h,t.loadAnimation=S,t.setSpeed=d,t.setDirection=g,t.play=A,t.pause=x,t.stop=M,t.togglePause=N,t.searchAnimations=Y,t.resize=dt,t.goToAndStop=w,t.destroy=U,t.freeze=vt,t.unfreeze=bt,t.setVolume=It,t.mute=ot,t.unmute=Tt,t.getRegisteredAnimations=c,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(m,x,w,M,N){var U=N||("bez_"+m+"_"+x+"_"+w+"_"+M).replace(/\./g,"p");if(e[U])return e[U];var Y=new y([m,x,w,M]);return e[U]=Y,Y}var r=4,s=.001,a=1e-7,o=10,p=11,h=1/(p-1),c=typeof Float32Array=="function";function _(m,x){return 1-3*x+3*m}function v(m,x){return 3*x-6*m}function u(m){return 3*m}function S(m,x,w){return ((_(x,w)*m+v(x,w))*m+u(x))*m}function d(m,x,w){return 3*_(x,w)*m*m+2*v(x,w)*m+u(x)}function g(m,x,w,M,N){var U,Y,dt=0;do Y=x+(w-x)/2,U=S(Y,M,N)-m,U>0?w=Y:x=Y;while(Math.abs(U)>a&&++dt<o);return Y}function A(m,x,w,M){for(var N=0;N<r;++N){var U=d(x,w,M);if(U===0)return x;var Y=S(x,w,M)-m;x-=Y/U;}return x}function y(m){this._p=m,this._mSampleValues=c?new Float32Array(p):new Array(p),this._precomputed=!1,this.get=this.get.bind(this);}return y.prototype={get:function(m){var x=this._p[0],w=this._p[1],M=this._p[2],N=this._p[3];return this._precomputed||this._precompute(),x===w&&M===N?m:m===0?0:m===1?1:S(this._getTForX(m),w,N)},_precompute:function(){var m=this._p[0],x=this._p[1],w=this._p[2],M=this._p[3];this._precomputed=!0,(m!==x||w!==M)&&this._calcSampleValues();},_calcSampleValues:function(){for(var m=this._p[0],x=this._p[2],w=0;w<p;++w)this._mSampleValues[w]=S(w*h,m,x);},_getTForX:function(m){for(var x=this._p[0],w=this._p[2],M=this._mSampleValues,N=0,U=1,Y=p-1;U!==Y&&M[U]<=m;++U)N+=h;--U;var dt=(m-M[U])/(M[U+1]-M[U]),xt=N+dt*h,vt=d(xt,x,w);return vt>=s?A(m,xt,x,w):vt===0?xt:g(m,N,N+h,x,w)}},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,s=t,a=createSizedArray(s),o={newElement:p,release:h};function p(){var c;return r?(r-=1,c=a[r]):c=e(),c}function h(c){r===s&&(a=pooling.double(a),s*=2),i&&i(c),a[r]=c,r+=1;}return o}}(),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,s=i.lengths.length;for(r=0;r<s;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0;}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(u,S,d,g,A,y){var m=u*g+S*A+d*y-A*g-y*u-d*S;return m>-.001&&m<.001}function i(u,S,d,g,A,y,m,x,w){if(d===0&&y===0&&w===0)return e(u,S,g,A,m,x);var M=t.sqrt(t.pow(g-u,2)+t.pow(A-S,2)+t.pow(y-d,2)),N=t.sqrt(t.pow(m-u,2)+t.pow(x-S,2)+t.pow(w-d,2)),U=t.sqrt(t.pow(m-g,2)+t.pow(x-A,2)+t.pow(w-y,2)),Y;return M>N?M>U?Y=M-N-U:Y=U-N-M:U>N?Y=U-N-M:Y=N-M-U,Y>-1e-4&&Y<1e-4}var r=function(){return function(u,S,d,g){var A=getDefaultCurveSegments(),y,m,x,w,M,N=0,U,Y=[],dt=[],xt=bezierLengthPool.newElement();for(x=d.length,y=0;y<A;y+=1){for(M=y/(A-1),U=0,m=0;m<x;m+=1)w=bmPow(1-M,3)*u[m]+3*bmPow(1-M,2)*M*d[m]+3*(1-M)*bmPow(M,2)*g[m]+bmPow(M,3)*S[m],Y[m]=w,dt[m]!==null&&(U+=bmPow(Y[m]-dt[m],2)),dt[m]=Y[m];U&&(U=bmSqrt(U),N+=U),xt.percents[y]=M,xt.lengths[y]=N;}return xt.addedLength=N,xt}}();function s(u){var S=segmentsLengthPool.newElement(),d=u.c,g=u.v,A=u.o,y=u.i,m,x=u._length,w=S.lengths,M=0;for(m=0;m<x-1;m+=1)w[m]=r(g[m],g[m+1],A[m],y[m+1]),M+=w[m].addedLength;return d&&x&&(w[m]=r(g[m],g[0],A[m],y[0]),M+=w[m].addedLength),S.totalLength=M,S}function a(u){this.segmentLength=0,this.points=new Array(u);}function o(u,S){this.partialLength=u,this.point=S;}var p=function(){var u={};return function(S,d,g,A){var y=(S[0]+"_"+S[1]+"_"+d[0]+"_"+d[1]+"_"+g[0]+"_"+g[1]+"_"+A[0]+"_"+A[1]).replace(/\./g,"p");if(!u[y]){var m=getDefaultCurveSegments(),x,w,M,N,U,Y=0,dt,xt,vt=null;S.length===2&&(S[0]!==d[0]||S[1]!==d[1])&&e(S[0],S[1],d[0],d[1],S[0]+g[0],S[1]+g[1])&&e(S[0],S[1],d[0],d[1],d[0]+A[0],d[1]+A[1])&&(m=2);var bt=new a(m);for(M=g.length,x=0;x<m;x+=1){for(xt=createSizedArray(M),U=x/(m-1),dt=0,w=0;w<M;w+=1)N=bmPow(1-U,3)*S[w]+3*bmPow(1-U,2)*U*(S[w]+g[w])+3*(1-U)*bmPow(U,2)*(d[w]+A[w])+bmPow(U,3)*d[w],xt[w]=N,vt!==null&&(dt+=bmPow(xt[w]-vt[w],2));dt=bmSqrt(dt),Y+=dt,bt.points[x]=new o(dt,xt),vt=xt;}bt.segmentLength=Y,u[y]=bt;}return u[y]}}();function h(u,S){var d=S.percents,g=S.lengths,A=d.length,y=bmFloor((A-1)*u),m=u*S.addedLength,x=0;if(y===A-1||y===0||m===g[y])return d[y];for(var w=g[y]>m?-1:1,M=!0;M;)if(g[y]<=m&&g[y+1]>m?(x=(m-g[y])/(g[y+1]-g[y]),M=!1):y+=w,y<0||y>=A-1){if(y===A-1)return d[y];M=!1;}return d[y]+(d[y+1]-d[y])*x}function c(u,S,d,g,A,y){var m=h(A,y),x=1-m,w=t.round((x*x*x*u[0]+(m*x*x+x*m*x+x*x*m)*d[0]+(m*m*x+x*m*m+m*x*m)*g[0]+m*m*m*S[0])*1e3)/1e3,M=t.round((x*x*x*u[1]+(m*x*x+x*m*x+x*x*m)*d[1]+(m*m*x+x*m*m+m*x*m)*g[1]+m*m*m*S[1])*1e3)/1e3;return [w,M]}var _=createTypedArray("float32",8);function v(u,S,d,g,A,y,m){A<0?A=0:A>1&&(A=1);var x=h(A,m);y=y>1?1:y;var w=h(y,m),M,N=u.length,U=1-x,Y=1-w,dt=U*U*U,xt=x*U*U*3,vt=x*x*U*3,bt=x*x*x,It=U*U*Y,ot=x*U*Y+U*x*Y+U*U*w,Tt=x*x*Y+U*x*w+x*U*w,z=x*x*w,$=U*Y*Y,E=x*Y*Y+U*w*Y+U*Y*w,q=x*w*Y+U*w*w+x*Y*w,nt=x*w*w,Q=Y*Y*Y,Ut=w*Y*Y+Y*w*Y+Y*Y*w,zt=w*w*Y+Y*w*w+w*Y*w,qt=w*w*w;for(M=0;M<N;M+=1)_[M*4]=t.round((dt*u[M]+xt*d[M]+vt*g[M]+bt*S[M])*1e3)/1e3,_[M*4+1]=t.round((It*u[M]+ot*d[M]+Tt*g[M]+z*S[M])*1e3)/1e3,_[M*4+2]=t.round(($*u[M]+E*d[M]+q*g[M]+nt*S[M])*1e3)/1e3,_[M*4+3]=t.round((Q*u[M]+Ut*d[M]+zt*g[M]+qt*S[M])*1e3)/1e3;return _}return {getSegmentsLength:s,getNewSegment:v,getPointInSegment:c,buildBezierData:p,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 s=e.lastIndex,a=s,o=this.keyframes.length-1,p=!0,h,c,_;p;){if(h=this.keyframes[a],c=this.keyframes[a+1],a===o-1&&t>=c.t-i){h.h&&(h=c),s=0;break}if(c.t-i>t){s=a;break}a<o-1?a+=1:(s=0,p=!1);}_=this.keyframesMetadata[a]||{};var v,u,S,d,g,A,y=c.t-i,m=h.t-i,x;if(h.to){_.bezierData||(_.bezierData=bez.buildBezierData(h.s,c.s||h.e,h.to,h.ti));var w=_.bezierData;if(t>=y||t<m){var M=t>=y?w.points.length-1:0;for(u=w.points[M].point.length,v=0;v<u;v+=1)r[v]=w.points[M].point[v];}else {_.__fnct?A=_.__fnct:(A=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y,h.n).get,_.__fnct=A),S=A((t-m)/(y-m));var N=w.segmentLength*S,U,Y=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(g=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,p=!0,d=w.points.length;p;){if(Y+=w.points[g].partialLength,N===0||S===0||g===w.points.length-1){for(u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v];break}else if(N>=Y&&N<Y+w.points[g+1].partialLength){for(U=(N-Y)/w.points[g+1].partialLength,u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v]+(w.points[g+1].point[v]-w.points[g].point[v])*U;break}g<d-1?g+=1:p=!1;}e._lastPoint=g,e._lastAddedLength=Y-w.points[g].partialLength,e._lastKeyframeIndex=a;}}else {var dt,xt,vt,bt,It;if(o=h.s.length,x=c.s||h.e,this.sh&&h.h!==1)if(t>=y)r[0]=x[0],r[1]=x[1],r[2]=x[2];else if(t<=m)r[0]=h.s[0],r[1]=h.s[1],r[2]=h.s[2];else {var ot=createQuaternion(h.s),Tt=createQuaternion(x),z=(t-m)/(y-m);quaternionToEuler(r,slerp(ot,Tt,z));}else for(a=0;a<o;a+=1)h.h!==1&&(t>=y?S=1:t<m?S=0:(h.o.x.constructor===Array?(_.__fnct||(_.__fnct=[]),_.__fnct[a]?A=_.__fnct[a]:(dt=h.o.x[a]===void 0?h.o.x[0]:h.o.x[a],xt=h.o.y[a]===void 0?h.o.y[0]:h.o.y[a],vt=h.i.x[a]===void 0?h.i.x[0]:h.i.x[a],bt=h.i.y[a]===void 0?h.i.y[0]:h.i.y[a],A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,_.__fnct[a]=A)):_.__fnct?A=_.__fnct:(dt=h.o.x,xt=h.o.y,vt=h.i.x,bt=h.i.y,A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,h.keyframeMetadata=A),S=A((t-m)/(y-m)))),x=c.s||h.e,It=h.h===1?h.s[a]:h.s[a]+(x[a]-h.s[a])*S,this.propType==="multidimensional"?r[a]=It:r=It;}return e.lastIndex=s,r}function slerp(t,e,i){var r=[],s=t[0],a=t[1],o=t[2],p=t[3],h=e[0],c=e[1],_=e[2],v=e[3],u,S,d,g,A;return S=s*h+a*c+o*_+p*v,S<0&&(S=-S,h=-h,c=-c,_=-_,v=-v),1-S>1e-6?(u=Math.acos(S),d=Math.sin(u),g=Math.sin((1-i)*u)/d,A=Math.sin(i*u)/d):(g=1-i,A=i),r[0]=g*s+A*h,r[1]=g*a+A*c,r[2]=g*o+A*_,r[3]=g*p+A*v,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],s=e[2],a=e[3],o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s),p=Math.asin(2*i*r+2*s*a),h=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s);t[0]=o/degToRads,t[1]=p/degToRads,t[2]=h/degToRads;}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(i/2),o=Math.cos(r/2),p=Math.sin(e/2),h=Math.sin(i/2),c=Math.sin(r/2),_=s*a*o-p*h*c,v=p*h*o+s*a*c,u=p*a*o+s*h*c,S=s*h*o-p*a*c;return [v,u,S,_]}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 s,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];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 s,a=e.k.length,o,p,h,c;for(s=0;s<a-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(o=e.k[s].s,p=e.k[s+1].s,h=e.k[s].to,c=e.k[s].ti,(o.length===2&&!(o[0]===p[0]&&o[1]===p[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],o[0]+h[0],o[1]+h[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],p[0]+c[0],p[1]+c[1])||o.length===3&&!(o[0]===p[0]&&o[1]===p[1]&&o[2]===p[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],o[0]+h[0],o[1]+h[1],o[2]+h[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],p[0]+c[0],p[1]+c[1],p[2]+c[2]))&&(e.k[s].to=null,e.k[s].ti=null),o[0]===p[0]&&o[1]===p[1]&&h[0]===0&&h[1]===0&&c[0]===0&&c[1]===0&&(o.length===2||o[2]===p[2]&&h[2]===0&&c[2]===0)&&(e.k[s].to=null,e.k[s].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 _=e.k[0].s.length;for(this.v=createTypedArray("float32",_),this.pv=createTypedArray("float32",_),s=0;s<_;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",_)},this.addEffect=addEffect;}var PropertyFactory=function(){function t(i,r,s,a,o){r.sid&&(r=i.globalData.slotManager.getProp(r));var p;if(!r.k.length)p=new ValueProperty(i,r,a,o);else if(typeof r.k[0]=="number")p=new MultiDimensionalProperty(i,r,a,o);else switch(s){case 0:p=new KeyframedValueProperty(i,r,a,o);break;case 1:p=new KeyframedMultidimensionalProperty(i,r,a,o);break}return p.effectsSequence.length&&o.addDynamicProperty(p),p}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,s){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[r]||a[r]&&!s)&&(a[r]=pointPool.newElement()),a[r][0]=t,a[r][1]=e;},ShapePath.prototype.setTripleAt=function(t,e,i,r,s,a,o,p){this.setXYAt(t,e,"v",o,p),this.setXYAt(i,r,"o",o,p),this.setXYAt(s,a,"i",o,p);},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,s=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),s=1);var a=this._length-1,o=this._length,p;for(p=s;p<o;p+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],i[a][0],i[a][1],p,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1;}function i(s){var a=r.newElement(),o,p=s._length===void 0?s.v.length:s._length;for(a.setLength(p),a.c=s.c,o=0;o<p;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}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:s,release:a},e=0,i=4,r=createSizedArray(i);function s(){var o;return e?(e-=1,o=r[e]):o=new ShapeCollection,o}function a(o){var p,h=o._length;for(p=0;p<h;p+=1)shapePool.release(o.shapes[p]);o._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=o,e+=1;}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(y,m,x){var w=x.lastIndex,M,N,U,Y,dt,xt,vt,bt,It,ot=this.keyframes;if(y<ot[0].t-this.offsetTime)M=ot[0].s[0],U=!0,w=0;else if(y>=ot[ot.length-1].t-this.offsetTime)M=ot[ot.length-1].s?ot[ot.length-1].s[0]:ot[ot.length-2].e[0],U=!0;else {for(var Tt=w,z=ot.length-1,$=!0,E,q,nt;$&&(E=ot[Tt],q=ot[Tt+1],!(q.t-this.offsetTime>y));)Tt<z-1?Tt+=1:$=!1;if(nt=this.keyframesMetadata[Tt]||{},U=E.h===1,w=Tt,!U){if(y>=q.t-this.offsetTime)bt=1;else if(y<E.t-this.offsetTime)bt=0;else {var Q;nt.__fnct?Q=nt.__fnct:(Q=BezierFactory.getBezierEasing(E.o.x,E.o.y,E.i.x,E.i.y).get,nt.__fnct=Q),bt=Q((y-(E.t-this.offsetTime))/(q.t-this.offsetTime-(E.t-this.offsetTime)));}N=q.s?q.s[0]:E.e[0];}M=E.s[0];}for(xt=m._length,vt=M.i[0].length,x.lastIndex=w,Y=0;Y<xt;Y+=1)for(dt=0;dt<vt;dt+=1)It=U?M.i[Y][dt]:M.i[Y][dt]+(N.i[Y][dt]-M.i[Y][dt])*bt,m.i[Y][dt]=It,It=U?M.o[Y][dt]:M.o[Y][dt]+(N.o[Y][dt]-M.o[Y][dt])*bt,m.o[Y][dt]=It,It=U?M.v[Y][dt]:M.v[Y][dt]+(N.v[Y][dt]-M.v[Y][dt])*bt,m.v[Y][dt]=It;}function i(){var y=this.comp.renderedFrame-this.offsetTime,m=this.keyframes[0].t-this.offsetTime,x=this.keyframes[this.keyframes.length-1].t-this.offsetTime,w=this._caching.lastFrame;return w!==t&&(w<m&&y<m||w>x&&y>x)||(this._caching.lastIndex=w<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function r(){this.paths=this.localShapeCollection;}function s(y,m){if(y._length!==m._length||y.c!==m.c)return !1;var x,w=y._length;for(x=0;x<w;x+=1)if(y.v[x][0]!==m.v[x][0]||y.v[x][1]!==m.v[x][1]||y.o[x][0]!==m.o[x][0]||y.o[x][1]!==m.o[x][1]||y.i[x][0]!==m.i[x][0]||y.i[x][1]!==m.i[x][1])return !1;return !0}function a(y){s(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function o(){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 y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var m,x=this.effectsSequence.length;for(m=0;m<x;m+=1)y=this.effectsSequence[m](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function p(y,m,x){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=m,this.k=!1,this.kf=!1,this._mdf=!1;var w=x===3?m.pt.k:m.ks.k;this.v=shapePool.clone(w),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 h(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this);}p.prototype.interpolateShape=e,p.prototype.getValue=o,p.prototype.setVValue=a,p.prototype.addEffect=h;function c(y,m,x){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=x===3?m.pt.k:m.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var w=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,w),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)];}c.prototype.getValue=o,c.prototype.interpolateShape=e,c.prototype.setVValue=a,c.prototype.addEffect=h;var _=function(){var y=roundCorner;function m(x,w){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=w.d,this.elem=x,this.comp=x.comp,this.frameId=-1,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,w.p,1,0,this),this.s=PropertyFactory.getProp(x,w.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return m.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 x=this.p.v[0],w=this.p.v[1],M=this.s.v[0]/2,N=this.s.v[1]/2,U=this.d!==3,Y=this.v;Y.v[0][0]=x,Y.v[0][1]=w-N,Y.v[1][0]=U?x+M:x-M,Y.v[1][1]=w,Y.v[2][0]=x,Y.v[2][1]=w+N,Y.v[3][0]=U?x-M:x+M,Y.v[3][1]=w,Y.i[0][0]=U?x-M*y:x+M*y,Y.i[0][1]=w-N,Y.i[1][0]=U?x+M:x-M,Y.i[1][1]=w-N*y,Y.i[2][0]=U?x+M*y:x-M*y,Y.i[2][1]=w+N,Y.i[3][0]=U?x-M:x+M,Y.i[3][1]=w+N*y,Y.o[0][0]=U?x+M*y:x-M*y,Y.o[0][1]=w-N,Y.o[1][0]=U?x+M:x-M,Y.o[1][1]=w+N*y,Y.o[2][0]=U?x-M*y:x+M*y,Y.o[2][1]=w+N,Y.o[3][0]=U?x-M:x+M,Y.o[3][1]=w-N*y;}},extendPrototype([DynamicPropertyContainer],m),m}(),v=function(){function y(m,x){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=m,this.comp=m.comp,this.data=x,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),x.sy===1?(this.ir=PropertyFactory.getProp(m,x.ir,0,0,this),this.is=PropertyFactory.getProp(m,x.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(m,x.pt,0,0,this),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,degToRads,this),this.or=PropertyFactory.getProp(m,x.or,0,0,this),this.os=PropertyFactory.getProp(m,x.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 y.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 m=Math.floor(this.pt.v)*2,x=Math.PI*2/m,w=!0,M=this.or.v,N=this.ir.v,U=this.os.v,Y=this.is.v,dt=2*Math.PI*M/(m*2),xt=2*Math.PI*N/(m*2),vt,bt,It,ot,Tt=-Math.PI/2;Tt+=this.r.v;var z=this.data.d===3?-1:1;for(this.v._length=0,vt=0;vt<m;vt+=1){bt=w?M:N,It=w?U:Y,ot=w?dt:xt;var $=bt*Math.cos(Tt),E=bt*Math.sin(Tt),q=$===0&&E===0?0:E/Math.sqrt($*$+E*E),nt=$===0&&E===0?0:-$/Math.sqrt($*$+E*E);$+=+this.p.v[0],E+=+this.p.v[1],this.v.setTripleAt($,E,$-q*ot*It*z,E-nt*ot*It*z,$+q*ot*It*z,E+nt*ot*It*z,vt,!0),w=!w,Tt+=x*z;}},convertPolygonToPath:function(){var m=Math.floor(this.pt.v),x=Math.PI*2/m,w=this.or.v,M=this.os.v,N=2*Math.PI*w/(m*4),U,Y=-Math.PI*.5,dt=this.data.d===3?-1:1;for(Y+=this.r.v,this.v._length=0,U=0;U<m;U+=1){var xt=w*Math.cos(Y),vt=w*Math.sin(Y),bt=xt===0&&vt===0?0:vt/Math.sqrt(xt*xt+vt*vt),It=xt===0&&vt===0?0:-xt/Math.sqrt(xt*xt+vt*vt);xt+=+this.p.v[0],vt+=+this.p.v[1],this.v.setTripleAt(xt,vt,xt-bt*N*M*dt,vt-It*N*M*dt,xt+bt*N*M*dt,vt+It*N*M*dt,U,!0),Y+=x*dt;}this.paths.length=0,this.paths[0]=this.v;}},extendPrototype([DynamicPropertyContainer],y),y}(),u=function(){function y(m,x){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=m,this.comp=m.comp,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.s=PropertyFactory.getProp(m,x.s,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return y.prototype={convertRectToPath:function(){var m=this.p.v[0],x=this.p.v[1],w=this.s.v[0]/2,M=this.s.v[1]/2,N=bmMin(w,M,this.r.v),U=N*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+N,m+w,x-M+U,0,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-U,m+w,x+M-N,1,!0),N!==0?(this.v.setTripleAt(m+w-N,x+M,m+w-N,x+M,m+w-U,x+M,2,!0),this.v.setTripleAt(m-w+N,x+M,m-w+U,x+M,m-w+N,x+M,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-N,m-w,x+M-U,4,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+U,m-w,x-M+N,5,!0),this.v.setTripleAt(m-w+N,x-M,m-w+N,x-M,m-w+U,x-M,6,!0),this.v.setTripleAt(m+w-N,x-M,m+w-U,x-M,m+w-N,x-M,7,!0)):(this.v.setTripleAt(m-w,x+M,m-w+U,x+M,m-w,x+M,2),this.v.setTripleAt(m-w,x-M,m-w,x-M+U,m-w,x-M,3))):(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+U,m+w,x-M+N,0,!0),N!==0?(this.v.setTripleAt(m+w-N,x-M,m+w-N,x-M,m+w-U,x-M,1,!0),this.v.setTripleAt(m-w+N,x-M,m-w+U,x-M,m-w+N,x-M,2,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+N,m-w,x-M+U,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-U,m-w,x+M-N,4,!0),this.v.setTripleAt(m-w+N,x+M,m-w+N,x+M,m-w+U,x+M,5,!0),this.v.setTripleAt(m+w-N,x+M,m+w-U,x+M,m+w-N,x+M,6,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-N,m+w,x+M-U,7,!0)):(this.v.setTripleAt(m-w,x-M,m-w+U,x-M,m-w,x-M,1,!0),this.v.setTripleAt(m-w,x+M,m-w,x+M-U,m-w,x+M,2,!0),this.v.setTripleAt(m+w,x+M,m+w-U,x+M,m+w,x+M,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],y),y}();function S(y,m,x){var w;if(x===3||x===4){var M=x===3?m.pt:m.ks,N=M.k;N.length?w=new c(y,m,x):w=new p(y,m,x);}else x===5?w=new u(y,m):x===6?w=new _(y,m):x===7&&(w=new v(y,m));return w.k&&y.addDynamicProperty(w),w}function d(){return p}function g(){return c}var A={};return A.getShapeProp=S,A.getConstructorFunction=d,A.getKeyframedConstructorFunction=g,A}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function s(){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 a(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function o(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(1,0,0,0,0,q,-nt,0,0,nt,q,0,0,0,0,1)}function p(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,0,nt,0,0,1,0,0,-nt,0,q,0,0,0,0,1)}function h(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function c(E,q){return this._t(1,q,E,1,0,0)}function _(E,q){return this.shear(i(E),i(q))}function v(E,q){var nt=t(q),Q=e(q);return this._t(nt,Q,0,0,-Q,nt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(E),1,0,0,0,0,1,0,0,0,0,1)._t(nt,-Q,0,0,Q,nt,0,0,0,0,1,0,0,0,0,1)}function u(E,q,nt){return !nt&&nt!==0&&(nt=1),E===1&&q===1&&nt===1?this:this._t(E,0,0,0,0,q,0,0,0,0,nt,0,0,0,0,1)}function S(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){return this.props[0]=E,this.props[1]=q,this.props[2]=nt,this.props[3]=Q,this.props[4]=Ut,this.props[5]=zt,this.props[6]=qt,this.props[7]=Gt,this.props[8]=se,this.props[9]=he,this.props[10]=le,this.props[11]=Se,this.props[12]=Pe,this.props[13]=Jt,this.props[14]=de,this.props[15]=Xt,this}function d(E,q,nt){return nt=nt||0,E!==0||q!==0||nt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,E,q,nt,1):this}function g(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){var Wt=this.props;if(E===1&&q===0&&nt===0&&Q===0&&Ut===0&&zt===1&&qt===0&&Gt===0&&se===0&&he===0&&le===1&&Se===0)return Wt[12]=Wt[12]*E+Wt[15]*Pe,Wt[13]=Wt[13]*zt+Wt[15]*Jt,Wt[14]=Wt[14]*le+Wt[15]*de,Wt[15]*=Xt,this._identityCalculated=!1,this;var ze=Wt[0],Ke=Wt[1],We=Wt[2],Le=Wt[3],Re=Wt[4],Oe=Wt[5],be=Wt[6],re=Wt[7],Nt=Wt[8],ae=Wt[9],ne=Wt[10],ke=Wt[11],$e=Wt[12],vi=Wt[13],bi=Wt[14],Fi=Wt[15];return Wt[0]=ze*E+Ke*Ut+We*se+Le*Pe,Wt[1]=ze*q+Ke*zt+We*he+Le*Jt,Wt[2]=ze*nt+Ke*qt+We*le+Le*de,Wt[3]=ze*Q+Ke*Gt+We*Se+Le*Xt,Wt[4]=Re*E+Oe*Ut+be*se+re*Pe,Wt[5]=Re*q+Oe*zt+be*he+re*Jt,Wt[6]=Re*nt+Oe*qt+be*le+re*de,Wt[7]=Re*Q+Oe*Gt+be*Se+re*Xt,Wt[8]=Nt*E+ae*Ut+ne*se+ke*Pe,Wt[9]=Nt*q+ae*zt+ne*he+ke*Jt,Wt[10]=Nt*nt+ae*qt+ne*le+ke*de,Wt[11]=Nt*Q+ae*Gt+ne*Se+ke*Xt,Wt[12]=$e*E+vi*Ut+bi*se+Fi*Pe,Wt[13]=$e*q+vi*zt+bi*he+Fi*Jt,Wt[14]=$e*nt+vi*qt+bi*le+Fi*de,Wt[15]=$e*Q+vi*Gt+bi*Se+Fi*Xt,this._identityCalculated=!1,this}function A(E){var q=E.props;return this.transform(q[0],q[1],q[2],q[3],q[4],q[5],q[6],q[7],q[8],q[9],q[10],q[11],q[12],q[13],q[14],q[15])}function y(){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 m(E){for(var q=0;q<16;){if(E.props[q]!==this.props[q])return !1;q+=1;}return !0}function x(E){var q;for(q=0;q<16;q+=1)E.props[q]=this.props[q];return E}function w(E){var q;for(q=0;q<16;q+=1)this.props[q]=E[q];}function M(E,q,nt){return {x:E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],y:E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],z:E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}}function N(E,q,nt){return E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12]}function U(E,q,nt){return E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13]}function Y(E,q,nt){return E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}function dt(){var E=this.props[0]*this.props[5]-this.props[1]*this.props[4],q=this.props[5]/E,nt=-this.props[1]/E,Q=-this.props[4]/E,Ut=this.props[0]/E,zt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/E,qt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/E,Gt=new Matrix;return Gt.props[0]=q,Gt.props[1]=nt,Gt.props[4]=Q,Gt.props[5]=Ut,Gt.props[12]=zt,Gt.props[13]=qt,Gt}function xt(E){var q=this.getInverseMatrix();return q.applyToPointArray(E[0],E[1],E[2]||0)}function vt(E){var q,nt=E.length,Q=[];for(q=0;q<nt;q+=1)Q[q]=xt(E[q]);return Q}function bt(E,q,nt){var Q=createTypedArray("float32",6);if(this.isIdentity())Q[0]=E[0],Q[1]=E[1],Q[2]=q[0],Q[3]=q[1],Q[4]=nt[0],Q[5]=nt[1];else {var Ut=this.props[0],zt=this.props[1],qt=this.props[4],Gt=this.props[5],se=this.props[12],he=this.props[13];Q[0]=E[0]*Ut+E[1]*qt+se,Q[1]=E[0]*zt+E[1]*Gt+he,Q[2]=q[0]*Ut+q[1]*qt+se,Q[3]=q[0]*zt+q[1]*Gt+he,Q[4]=nt[0]*Ut+nt[1]*qt+se,Q[5]=nt[0]*zt+nt[1]*Gt+he;}return Q}function It(E,q,nt){var Q;return this.isIdentity()?Q=[E,q,nt]:Q=[E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]],Q}function ot(E,q){if(this.isIdentity())return E+","+q;var nt=this.props;return Math.round((E*nt[0]+q*nt[4]+nt[12])*100)/100+","+Math.round((E*nt[1]+q*nt[5]+nt[13])*100)/100}function Tt(){for(var E=0,q=this.props,nt="matrix3d(",Q=1e4;E<16;)nt+=r(q[E]*Q)/Q,nt+=E===15?")":",",E+=1;return nt}function z(E){var q=1e4;return E<1e-6&&E>0||E>-1e-6&&E<0?r(E*q)/q:E}function $(){var E=this.props,q=z(E[0]),nt=z(E[1]),Q=z(E[4]),Ut=z(E[5]),zt=z(E[12]),qt=z(E[13]);return "matrix("+q+","+nt+","+Q+","+Ut+","+zt+","+qt+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=p,this.rotateZ=h,this.skew=_,this.skewFromAxis=v,this.shear=c,this.scale=u,this.setTransform=S,this.translate=d,this.transform=g,this.multiply=A,this.applyToPoint=M,this.applyToX=N,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=It,this.applyToTriplePoints=bt,this.applyToPointStringified=ot,this.toCSS=Tt,this.to2dCSS=$,this.clone=x,this.cloneFromProps=w,this.equals=m,this.inversePoints=vt,this.inversePoint=xt,this.getInverseMatrix=dt,this._t=this.transform,this.isIdentity=y,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(s,a){e[s]||(e[s]=a);}function r(s,a,o){return new e[s](a,o)}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,s){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var o=[],p,h=a.length,c;for(p=0;p<h;p+=1)if(c=a[p],!(c.e*s<r||c.s*s>r+i)){var _,v;c.s*s<=r?_=0:_=(c.s*s-r)/i,c.e*s>=r+i?v=1:v=(c.e*s-r)/i,o.push([_,v]);}return o.length||o.push([0,0]),o},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 s=e;e=i,i=s;}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 a,o,p=this.shapes.length,h,c,_,v,u,S=0;if(i===e)for(o=0;o<p;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(o=0;o<p;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0;}else {var d=[],g,A;for(o=0;o<p;o+=1)if(g=this.shapes[o],!g.shape._mdf&&!this._mdf&&!t&&this.m!==2)g.shape.paths=g.localShapeCollection;else {if(a=g.shape.paths,c=a._length,u=0,!g.shape._mdf&&g.pathsData.length)u=g.totalShapeLength;else {for(_=this.releasePathsData(g.pathsData),h=0;h<c;h+=1)v=bez.getSegmentsLength(a.shapes[h]),_.push(v),u+=v.totalLength;g.totalShapeLength=u,g.pathsData=_;}S+=u,g.shape._mdf=!0;}var y=e,m=i,x=0,w;for(o=p-1;o>=0;o-=1)if(g=this.shapes[o],g.shape._mdf){for(A=g.localShapeCollection,A.releaseShapes(),this.m===2&&p>1?(w=this.calculateShapeEdges(e,i,g.totalShapeLength,x,S),x+=g.totalShapeLength):w=[[y,m]],c=w.length,h=0;h<c;h+=1){y=w[h][0],m=w[h][1],d.length=0,m<=1?d.push({s:g.totalShapeLength*y,e:g.totalShapeLength*m}):y>=1?d.push({s:g.totalShapeLength*(y-1),e:g.totalShapeLength*(m-1)}):(d.push({s:g.totalShapeLength*y,e:g.totalShapeLength}),d.push({s:0,e:g.totalShapeLength*(m-1)}));var M=this.addShapes(g,d[0]);if(d[0].s!==d[0].e){if(d.length>1){var N=g.shape.paths.shapes[g.shape.paths._length-1];if(N.c){var U=M.pop();this.addPaths(M,A),M=this.addShapes(g,d[1],U);}else this.addPaths(M,A),M=this.addShapes(g,d[1]);}this.addPaths(M,A);}}g.shape.paths=A;}}},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,s,a,o){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(i[0],i[1],"i",a+1),o&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(r[0],r[1],"v",a+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,s=t.shape.paths.shapes,a,o=t.shape.paths._length,p,h,c=0,_,v,u,S,d=[],g,A=!0;for(i?(v=i._length,g=i._length):(i=shapePool.newElement(),v=0,g=0),d.push(i),a=0;a<o;a+=1){for(u=r[a].lengths,i.c=s[a].c,h=s[a].c?u.length:u.length+1,p=1;p<h;p+=1)if(_=u[p-1],c+_.addedLength<e.s)c+=_.addedLength,i.c=!1;else if(c>e.e){i.c=!1;break}else e.s<=c&&e.e>=c+_.addedLength?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[p],s[a].v[p],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[p],s[a].o[p-1],s[a].i[p],(e.s-c)/_.addedLength,(e.e-c)/_.addedLength,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1),c+=_.addedLength,v+=1;if(s[a].c&&u.length){if(_=u[p-1],c<=e.e){var y=u[p-1].addedLength;e.s<=c&&e.e>=c+y?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[0],s[a].v[0],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[0],s[a].o[p-1],s[a].i[0],(e.s-c)/y,(e.e-c)/y,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1);}else i.c=!1;c+=_.addedLength,v+=1;}if(i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>e.e)break;a<o-1&&(i=shapePool.newElement(),A=!0,d.push(i),v=0);}return d};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],s=t._length,a=0;for(a=0;a<s;a+=1)r[0]+=t.v[a][0],r[1]+=t.v[a][1];r[0]/=s,r[1]/=s;var o=shapePool.newElement();o.c=t.c;var p,h,c,_,v,u;for(a=0;a<s;a+=1)p=t.v[a][0]+(r[0]-t.v[a][0])*i,h=t.v[a][1]+(r[1]-t.v[a][1])*i,c=t.o[a][0]+(r[0]-t.o[a][0])*-i,_=t.o[a][1]+(r[1]-t.o[a][1])*-i,v=t.i[a][0]+(r[0]-t.i[a][0])*-i,u=t.i[a][1]+(r[1]-t.i[a][1])*-i,o.setTripleAt(p,h,c,_,v,u,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var TransformPropertyFactory=function(){var t=[0,0];function e(h){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&h.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&h.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&h.skewFromAxis(-this.sk.v,this.sa.v),this.r?h.rotate(-this.r.v):h.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?h.translate(this.px.v,this.py.v,-this.pz.v):h.translate(this.px.v,this.py.v,0):h.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function i(h){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||h){var c;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 _,v;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(_=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),v=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(_=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),v=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(_=this.p.pv,v=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){_=[],v=[];var u=this.px,S=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(_[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),_[1]=S.getValueAtTime((S.keyframes[0].t+.01)/c,0),v[0]=u.getValueAtTime(u.keyframes[0].t/c,0),v[1]=S.getValueAtTime(S.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(_[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),_[1]=S.getValueAtTime(S.keyframes[S.keyframes.length-1].t/c,0),v[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),v[1]=S.getValueAtTime((S.keyframes[S.keyframes.length-1].t-.01)/c,0)):(_=[u.pv,S.pv],v[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),v[1]=S.getValueAtTime((S._caching.lastFrame+S.offsetTime-.01)/c,S.offsetTime));}else v=t,_=v;this.v.rotate(-Math.atan2(_[1]-v[1],_[0]-v[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 s(){}function a(h){this._addDynamicProperty(h),this.elem.addDynamicProperty(h),this._isDirty=!0;}function o(h,c,_){if(this.elem=h,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(_||h),c.p&&c.p.s?(this.px=PropertyFactory.getProp(h,c.p.x,0,0,this),this.py=PropertyFactory.getProp(h,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(h,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(h,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(h,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(h,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(h,c.rz,0,degToRads,this),c.or.k[0].ti){var v,u=c.or.k.length;for(v=0;v<u;v+=1)c.or.k[v].to=null,c.or.k[v].ti=null;}this.or=PropertyFactory.getProp(h,c.or,1,degToRads,this),this.or.sh=!0;}else this.r=PropertyFactory.getProp(h,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(h,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(h,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(h,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(h,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(h,c.o,0,.01,h):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}o.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function p(h,c,_){return new o(h,c,_)}return {getTransformProperty:p}}();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,s,a){var o=a?-1:1,p=r.s.v[0]+(1-r.s.v[0])*(1-s),h=r.s.v[1]+(1-r.s.v[1])*(1-s);t.translate(r.p.v[0]*o*s,r.p.v[1]*o*s,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*o*s),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(a?1/p:p,a?1/h:h),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,s,a,o=!1;if(this._mdf||t){var p=Math.ceil(this.c.v);if(this._groups.length<p){for(;this._groups.length<p;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.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,h),this._groups.splice(0,0,h),this._currentCopies+=1;}this.elem.reloadShapes(),o=!0;}a=0;var c;for(r=0;r<=this._groups.length-1;r+=1){if(c=a<p,this._groups[r]._render=c,this.changeGroupRender(this._groups[r].it,c),!c){var _=this.elemsData[r].it,v=_[_.length-1];v.transform.op.v!==0?(v.transform.op._mdf=!0,v.transform.op.v=0):v.transform.op._mdf=!1;}a+=1;}this._currentCopies=p;var u=this.o.v,S=u%1,d=u>0?Math.floor(u):Math.ceil(u),g=this.pMatrix.props,A=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(u>0){for(;m<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,S,!1),m+=S);}else if(u<0){for(;m>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-S,!0),m-=S);}r=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var x,w;a;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,w=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)),m!==0){for((r!==0&&s===1||r!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(A[0],A[1],A[2],A[3],A[4],A[5],A[6],A[7],A[8],A[9],A[10],A[11],A[12],A[13],A[14],A[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),x=0;x<w;x+=1)i[x]=this.matrix.props[x];this.matrix.reset();}else for(this.matrix.reset(),x=0;x<w;x+=1)i[x]=this.matrix.props[x];m+=1,a-=1,r+=s;}}else for(a=this._currentCopies,r=0,s=1;a;)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,a-=1,r+=s;return o},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,s=t._length,a,o,p,h,c,_,v=0,u,S,d,g,A,y;for(r=0;r<s;r+=1)a=t.v[r],p=t.o[r],o=t.i[r],a[0]===p[0]&&a[1]===p[1]&&a[0]===o[0]&&a[1]===o[1]?(r===0||r===s-1)&&!t.c?(i.setTripleAt(a[0],a[1],p[0],p[1],o[0],o[1],v),v+=1):(r===0?h=t.v[s-1]:h=t.v[r-1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,A=a[0]+(h[0]-a[0])*_,u=A,y=a[1]-(a[1]-h[1])*_,S=y,d=u-(u-a[0])*roundCorner,g=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=1,r===s-1?h=t.v[0]:h=t.v[r+1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,d=a[0]+(h[0]-a[0])*_,u=d,g=a[1]+(h[1]-a[1])*_,S=g,A=u-(u-a[0])*roundCorner,y=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=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],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.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 s=-e/(2*t);if(r===0)return [s];var a=Math.sqrt(r)/(2*t);return [s-a,s+a]}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,s){s&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),s&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var a=polynomialCoefficients(t[0],e[0],i[0],r[0]),o=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[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(s){return s>0&&s<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),s=lerpPoint(e,i,t),a=lerpPoint(i,r,t),o=lerpPoint(s,a,t);return [new PolynomialBezier(this.points[0],e,s,o,!0),new PolynomialBezier(o,a,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 s=r;r=i,i=s;}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var p=t.point(a[o])[e];p<i?i=p:p>r&&(r=p);}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,s,a){if(boxIntersect(t,e)){if(i>=a||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){s.push([t.t,e.t]);return}var o=splitData(t),p=splitData(e);intersectsImpl(o[0],p[0],i+1,r,s,a),intersectsImpl(o[0],p[1],i+1,r,s,a),intersectsImpl(o[1],p[0],i+1,r,s,a),intersectsImpl(o[1],p[1],i+1,r,s,a);}}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 s=[t[0],t[1],1],a=[e[0],e[1],1],o=[i[0],i[1],1],p=[r[0],r[1],1],h=crossProduct(crossProduct(s,a),crossProduct(o,p));return floatZero(h[2])?null:[h[0]/h[2],h[1]/h[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,s,a,o){var p=i-Math.PI/2,h=i+Math.PI/2,c=e[0]+Math.cos(i)*r*s,_=e[1]-Math.sin(i)*r*s;t.setTripleAt(c,_,c+Math.cos(p)*a,_-Math.sin(p)*a,c+Math.cos(h)*o,_-Math.sin(h)*o,t.length());}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,s=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return s}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),s=t.v[i],a=t.v[r],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(t,e,i,r,s,a,o){var p=getProjectingAngle(e,i),h=e.v[i%e._length],c=e.v[i===0?e._length-1:i-1],_=e.v[(i+1)%e._length],v=a===2?Math.sqrt(Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)):0,u=a===2?Math.sqrt(Math.pow(h[0]-_[0],2)+Math.pow(h[1]-_[1],2)):0;setPoint(t,e.v[i%e._length],p,o,r,u/((s+1)*2),v/((s+1)*2));}function zigZagSegment(t,e,i,r,s,a){for(var o=0;o<r;o+=1){var p=(o+1)/(r+1),h=s===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,c=e.normalAngle(p),_=e.point(p);setPoint(t,_,c,a,i,h/((r+1)*2),h/((r+1)*2)),a=-a;}return a}ZigZagModifier.prototype.processPath=function(t,e,i,r){var s=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(s-=1),s===0)return a;var o=-1,p=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,i,r,o);for(var h=0;h<s;h+=1)o=zigZagSegment(a,p,e,i,r,-o),h===s-1&&!t.c?p=null:p=PolynomialBezier.shapeSegment(t,(h+1)%s),zigZagCorner(a,t,h+1,e,i,r,o);return a},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amplitude.v,p=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,p,h));c.shape.paths=c.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,s,a,o,p,h;h=linearOffset(t.points[0],t.points[1],e),i=h[0],r=h[1],h=linearOffset(t.points[1],t.points[2],e),s=h[0],a=h[1],h=linearOffset(t.points[2],t.points[3],e),o=h[0],p=h[1];var c=lineIntersection(i,r,s,a);c===null&&(c=r);var _=lineIntersection(o,p,s,a);return _===null&&(_=o),new PolynomialBezier(i,c,_,p)}function joinLines(t,e,i,r,s){var a=e.points[3],o=i.points[0];if(r===3||pointEqual(a,o))return a;if(r===2){var p=-e.tangentAngle(1),h=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,p+Math.PI/2,100),o,polarOffset(o,p+Math.PI/2,100)),_=c?pointDistance(c,a):pointDistance(a,o)/2,v=polarOffset(a,p,2*_*roundCorner);return t.setXYAt(v[0],v[1],"o",t.length()-1),v=polarOffset(o,h,2*_*roundCorner),t.setTripleAt(o[0],o[1],o[0],o[1],v[0],v[1],t.length()),o}var u=pointEqual(a,e.points[2])?e.points[0]:e.points[2],S=pointEqual(o,i.points[1])?i.points[3]:i.points[1],d=lineIntersection(u,a,o,S);return d&&pointDistance(d,a)<s?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):a}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(),s=getIntersection(t[t.length-1],e[0]);return s&&(i[t.length-1]=t[t.length-1].split(s[0])[0],r[0]=e[0].split(s[1])[1]),t.length>1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]),s)?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[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,s,a,o;if(i.length===0)return [offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return a=t.split(i[0]),r=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(s,e)];a=t.split(i[0]),r=a[0];var p=(i[1]-i[0])/(1-i[0]);return a=a[1].split(p),o=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(o,e),offsetSegment(s,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 s=shapePool.newElement();s.c=t.c;var a=t.length();t.c||(a-=1);var o,p,h,c=[];for(o=0;o<a;o+=1)h=PolynomialBezier.shapeSegment(t,o),c.push(offsetSegmentSplit(h,e));if(!t.c)for(o=a-1;o>=0;o-=1)h=PolynomialBezier.shapeSegmentInverted(t,o),c.push(offsetSegmentSplit(h,e));c=pruneIntersections(c);var _=null,v=null;for(o=0;o<c.length;o+=1){var u=c[o];for(v&&(_=joinLines(s,v,u[0],i,r)),v=u[u.length-1],p=0;p<u.length;p+=1)h=u[p],_&&pointEqual(h.points[0],_)?s.setXYAt(h.points[1][0],h.points[1][1],"o",s.length()-1):s.setTripleAt(h.points[0][0],h.points[0][1],h.points[1][0],h.points[1][1],h.points[0][0],h.points[0][1],s.length()),s.setTripleAt(h.points[3][0],h.points[3][1],h.points[3][0],h.points[3][1],h.points[2][0],h.points[2][1],s.length()),_=h.points[3];}return c.length&&joinLines(s,v,c[0][0],i,r),s},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v,p=this.miterLimit.v,h=this.lineJoin;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,h,p));c.shape.paths=c.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",s=e.length,a,o=0;o<s;o+=1)switch(a=e[o].toLowerCase(),a){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,s=917631,a=917601,o=917626,p=65039,h=8205,c=127462,_=127487,v=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(z){var $=z.split(","),E,q=$.length,nt=[];for(E=0;E<q;E+=1)$[E]!=="sans-serif"&&$[E]!=="monospace"&&nt.push($[E]);return nt.join(",")}function S(z,$){var E=createTag("span");E.setAttribute("aria-hidden",!0),E.style.fontFamily=$;var q=createTag("span");q.innerText="giItT1WQy@!-/#",E.style.position="absolute",E.style.left="-10000px",E.style.top="-10000px",E.style.fontSize="300px",E.style.fontVariant="normal",E.style.fontStyle="normal",E.style.fontWeight="normal",E.style.letterSpacing="0",E.appendChild(q),document.body.appendChild(E);var nt=q.offsetWidth;return q.style.fontFamily=u(z)+", "+$,{node:q,w:nt,parent:E}}function d(){var z,$=this.fonts.length,E,q,nt=$;for(z=0;z<$;z+=1)this.fonts[z].loaded?nt-=1:this.fonts[z].fOrigin==="n"||this.fonts[z].origin===0?this.fonts[z].loaded=!0:(E=this.fonts[z].monoCase.node,q=this.fonts[z].monoCase.w,E.offsetWidth!==q?(nt-=1,this.fonts[z].loaded=!0):(E=this.fonts[z].sansCase.node,q=this.fonts[z].sansCase.w,E.offsetWidth!==q&&(nt-=1,this.fonts[z].loaded=!0)),this.fonts[z].loaded&&(this.fonts[z].sansCase.parent.parentNode.removeChild(this.fonts[z].sansCase.parent),this.fonts[z].monoCase.parent.parentNode.removeChild(this.fonts[z].monoCase.parent)));nt!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function g(z,$){var E=document.body&&$?"svg":"canvas",q,nt=getFontProperties(z);if(E==="svg"){var Q=createNS("text");Q.style.fontSize="100px",Q.setAttribute("font-family",z.fFamily),Q.setAttribute("font-style",nt.style),Q.setAttribute("font-weight",nt.weight),Q.textContent="1",z.fClass?(Q.style.fontFamily="inherit",Q.setAttribute("class",z.fClass)):Q.style.fontFamily=z.fFamily,$.appendChild(Q),q=Q;}else {var Ut=new OffscreenCanvas(500,500).getContext("2d");Ut.font=nt.style+" "+nt.weight+" 100px "+z.fFamily,q=Ut;}function zt(qt){return E==="svg"?(q.textContent=qt,q.getComputedTextLength()):q.measureText(qt).width}return {measureText:zt}}function A(z,$){if(!z){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=z.list;return}if(!document.body){this.isLoaded=!0,z.list.forEach(function(le){le.helper=g(le),le.cache={};}),this.fonts=z.list;return}var E=z.list,q,nt=E.length,Q=nt;for(q=0;q<nt;q+=1){var Ut=!0,zt,qt;if(E[q].loaded=!1,E[q].monoCase=S(E[q].fFamily,"monospace"),E[q].sansCase=S(E[q].fFamily,"sans-serif"),!E[q].fPath)E[q].loaded=!0,Q-=1;else if(E[q].fOrigin==="p"||E[q].origin===3){if(zt=document.querySelectorAll('style[f-forigin="p"][f-family="'+E[q].fFamily+'"], style[f-origin="3"][f-family="'+E[q].fFamily+'"]'),zt.length>0&&(Ut=!1),Ut){var Gt=createTag("style");Gt.setAttribute("f-forigin",E[q].fOrigin),Gt.setAttribute("f-origin",E[q].origin),Gt.setAttribute("f-family",E[q].fFamily),Gt.type="text/css",Gt.innerText="@font-face {font-family: "+E[q].fFamily+"; font-style: normal; src: url('"+E[q].fPath+"');}",$.appendChild(Gt);}}else if(E[q].fOrigin==="g"||E[q].origin===1){for(zt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),qt=0;qt<zt.length;qt+=1)zt[qt].href.indexOf(E[q].fPath)!==-1&&(Ut=!1);if(Ut){var se=createTag("link");se.setAttribute("f-forigin",E[q].fOrigin),se.setAttribute("f-origin",E[q].origin),se.type="text/css",se.rel="stylesheet",se.href=E[q].fPath,document.body.appendChild(se);}}else if(E[q].fOrigin==="t"||E[q].origin===2){for(zt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),qt=0;qt<zt.length;qt+=1)E[q].fPath===zt[qt].src&&(Ut=!1);if(Ut){var he=createTag("link");he.setAttribute("f-forigin",E[q].fOrigin),he.setAttribute("f-origin",E[q].origin),he.setAttribute("rel","stylesheet"),he.setAttribute("href",E[q].fPath),$.appendChild(he);}}E[q].helper=g(E[q],$),E[q].cache={},this.fonts.push(E[q]);}Q===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function y(z){if(z){this.chars||(this.chars=[]);var $,E=z.length,q,nt=this.chars.length,Q;for($=0;$<E;$+=1){for(q=0,Q=!1;q<nt;)this.chars[q].style===z[$].style&&this.chars[q].fFamily===z[$].fFamily&&this.chars[q].ch===z[$].ch&&(Q=!0),q+=1;Q||(this.chars.push(z[$]),nt+=1);}}}function m(z,$,E){for(var q=0,nt=this.chars.length;q<nt;){if(this.chars[q].ch===z&&this.chars[q].style===$&&this.chars[q].fFamily===E)return this.chars[q];q+=1;}return (typeof z=="string"&&z.charCodeAt(0)!==13||!z)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",z,$,E)),e}function x(z,$,E){var q=this.getFontByName($),nt=z;if(!q.cache[nt]){var Q=q.helper;if(z===" "){var Ut=Q.measureText("|"+z+"|"),zt=Q.measureText("||");q.cache[nt]=(Ut-zt)/100;}else q.cache[nt]=Q.measureText(z)/100;}return q.cache[nt]*E}function w(z){for(var $=0,E=this.fonts.length;$<E;){if(this.fonts[$].fName===z)return this.fonts[$];$+=1;}return this.fonts[0]}function M(z){var $=0,E=z.charCodeAt(0);if(E>=55296&&E<=56319){var q=z.charCodeAt(1);q>=56320&&q<=57343&&($=(E-55296)*1024+q-56320+65536);}return $}function N(z,$){var E=z.toString(16)+$.toString(16);return v.indexOf(E)!==-1}function U(z){return z===h}function Y(z){return z===p}function dt(z){var $=M(z);return $>=c&&$<=_}function xt(z){return dt(z.substr(0,2))&&dt(z.substr(2,2))}function vt(z){return i.indexOf(z)!==-1}function bt(z,$){var E=M(z.substr($,2));if(E!==r)return !1;var q=0;for($+=2;q<5;){if(E=M(z.substr($,2)),E<a||E>o)return !1;q+=1,$+=2;}return M(z.substr($,2))===s}function It(){this.isLoaded=!0;}var ot=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);};ot.isModifier=N,ot.isZeroWidthJoiner=U,ot.isFlagEmoji=xt,ot.isRegionalCode=dt,ot.isCombinedCharacter=vt,ot.isRegionalFlag=bt,ot.isVariationSelector=Y,ot.BLACK_FLAG_CODE_POINT=r;var Tt={addChars:y,addFonts:A,getCharData:m,getFontByName:w,measureText:x,checkLoadedFonts:d,setIsLoaded:It};return ot.prototype=Tt,ot}();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,s=i.length,a;for(r=0;r<s;r+=1)a=new GroupEffect(i[r],e),this.effectElements.push(a);}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,s,a=this.data.ef;for(i=0;i<r;i+=1){switch(s=null,a[i].ty){case 0:s=new SliderEffect(a[i],e,this);break;case 1:s=new AngleEffect(a[i],e,this);break;case 2:s=new ColorEffect(a[i],e,this);break;case 3:s=new PointEffect(a[i],e,this);break;case 4:case 7:s=new CheckboxEffect(a[i],e,this);break;case 10:s=new LayerIndexEffect(a[i],e,this);break;case 11:s=new MaskIndexEffect(a[i],e,this);break;case 5:s=new EffectsManager(a[i],e);break;default:s=new NoValueEffect(a[i]);break}s&&this.effectElements.push(s);}};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"),s=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=a(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=s(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,s=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<s;){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,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==e&&(!r[a]||r[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(i.push(r[a]),r[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(t,s[a].parent,i):t.setHierarchy(i))),a+=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,s=this.elements.length;for(r=0;r<s;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 s=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s;}}},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 s,a=e.length,o;for(s=0;s<a;s+=1)o=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[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,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,p=this.masksProperties,h=0,c=[],_,v,u=createElementID(),S,d,g,A,y="clipPath",m="clip-path";for(s=0;s<a;s+=1)if((p[s].mode!=="a"&&p[s].mode!=="n"||p[s].inv||p[s].o.k!==100||p[s].o.x)&&(y="mask",m="mask"),(p[s].mode==="s"||p[s].mode==="i")&&h===0?(S=createNS("rect"),S.setAttribute("fill","#ffffff"),S.setAttribute("width",this.element.comp.data.w||0),S.setAttribute("height",this.element.comp.data.h||0),c.push(S)):S=null,o=createNS("path"),p[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),elem:o,lastPath:""},r.appendChild(o);else {h+=1,o.setAttribute("fill",p[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var x;if(p[s].x.k!==0?(y="mask",m="mask",A=PropertyFactory.getProp(this.element,p[s].x,0,null,this.element),x=createElementID(),d=createNS("filter"),d.setAttribute("id",x),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),d.appendChild(g),r.appendChild(d),o.setAttribute("stroke",p[s].mode==="s"?"#000000":"#ffffff")):(g=null,A=null),this.storedData[s]={elem:o,x:A,expan:g,lastPath:"",lastOperator:"",filterId:x,lastRadius:0},p[s].mode==="i"){v=c.length;var w=createNS("g");for(_=0;_<v;_+=1)w.appendChild(c[_]);var M=createNS("mask");M.setAttribute("mask-type","alpha"),M.setAttribute("id",u+"_"+h),M.appendChild(o),r.appendChild(M),w.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+h+")"),c.length=0,c.push(w);}else c.push(o);p[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),invRect:S},this.viewData[s].prop.k||this.drawPath(p[s],this.viewData[s].prop.v,this.viewData[s]);}for(this.maskElement=createNS(y),a=c.length,s=0;s<a;s+=1)this.maskElement.appendChild(c[s]);h>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),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 s=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+")")),s.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],s,a;for(a=e._length,s=1;s<a;s+=1)r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[s][0]+","+e.i[s][1]+" "+e.v[s][0]+","+e.v[s][1];if(e.c&&a>1&&(r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var o="";i.elem&&(e.c&&(o=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",o)),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,s){var a=createNS("filter");return a.setAttribute("id",r),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}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,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var p;for(e=0;e<r;e+=1){p=null;var h=t.data.ef[e].ty;if(registeredEffects$1[h]){var c=registeredEffects$1[h].effect;p=new c(a,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[h].countsAsEffect&&(o+=1);}p&&this.filters.push(p);}o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),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 s=createElementID();if(i.setAttribute("id",s),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")");}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,s,a;if(t===1||t===3){var o=createNS("mask");o.setAttribute("id",e),o.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(s),this.globalData.defs.appendChild(o),!featureSupport.maskType&&t===1&&(o.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(s),o.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+i+")"));}else if(t===2){var p=createNS("mask");p.setAttribute("id",e),p.setAttribute("mask-type","alpha");var h=createNS("g");p.appendChild(h),i=createElementID(),r=filtersFactory.createFilter(i);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var _=createNS("feFuncA");_.setAttribute("type","table"),_.setAttribute("tableValues","1.0 0.0"),c.appendChild(_),this.globalData.defs.appendChild(r);var v=createNS("rect");v.setAttribute("width",this.comp.data.w),v.setAttribute("height",this.comp.data.h),v.setAttribute("x","0"),v.setAttribute("y","0"),v.setAttribute("fill","#ffffff"),v.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),h.appendChild(v),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(s),featureSupport.maskType||(p.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),h.appendChild(v),a.appendChild(this.layerElement),h.appendChild(a)),this.globalData.defs.appendChild(p);}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,s=t.length;r<s;){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 s,a=e.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:e[s].n,p:o};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,s;i<r;){if(s=Math.abs(t[i*4]-t[e*4+i*2]),s>.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,s;for(e=0;e<i;e+=1)r=e%4===0?100:255,s=Math.round(this.prop.v[e]*r),this.c[e]!==s&&(this.c[e]=s,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,s=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==s&&(this.o[e-this.data.p*4]=s,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 s=[],a,o,p;for(p=e.g.p*4,o=0;o<p;o+=4)a=createNS("stop"),r.appendChild(a),s.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=s;},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var p=createElementID(),h=createElementID();a.setAttribute("id",h);var c=createNS(t.t===1?"linearGradient":"radialGradient");c.setAttribute("id",p),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var _=this.stops;for(r=t.g.p*4;r<s;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),_.push(i);o.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+p+")"),t.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=_,this.maskId=h,e.msElem=o;}},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 s=t.o,a=t.i,o=t.v,p,h=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(p=1;p<e;p+=1)h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[p][0],a[p][1])+" "+r.applyToPointStringified(o[p][0],o[p][1]);return i&&e&&(h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(v){switch(v.ty){case"fl":return p;case"gf":return c;case"gs":return h;case"st":return _;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(v,u,S){(S||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(S||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS());}function a(){}function o(v,u,S){var d,g,A,y,m,x,w=u.styles.length,M=u.lvl,N,U,Y,dt;for(x=0;x<w;x+=1){if(y=u.sh._mdf||S,u.styles[x].lvl<M){for(U=e.reset(),Y=M-u.styles[x].lvl,dt=u.transformers.length-1;!y&&Y>0;)y=u.transformers[dt].mProps._mdf||y,Y-=1,dt-=1;if(y)for(Y=M-u.styles[x].lvl,dt=u.transformers.length-1;Y>0;)U.multiply(u.transformers[dt].mProps.v),Y-=1,dt-=1;}else U=t;if(N=u.sh.paths,g=N._length,y){for(A="",d=0;d<g;d+=1)m=N.shapes[d],m&&m._length&&(A+=buildShapeString(m,m._length,m.c,U));u.caches[x]=A;}else A=u.caches[x];u.styles[x].d+=v.hd===!0?"":A,u.styles[x]._mdf=y||u.styles[x]._mdf;}}function p(v,u,S){var d=u.style;(u.c._mdf||S)&&d.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("fill-opacity",u.o.v);}function h(v,u,S){c(v,u,S),_(v,u,S);}function c(v,u,S){var d=u.gf,g=u.g._hasOpacity,A=u.s.v,y=u.e.v;if(u.o._mdf||S){var m=v.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(m,u.o.v);}if(u.s._mdf||S){var x=v.t===1?"x1":"cx",w=x==="x1"?"y1":"cy";d.setAttribute(x,A[0]),d.setAttribute(w,A[1]),g&&!u.g._collapsable&&(u.of.setAttribute(x,A[0]),u.of.setAttribute(w,A[1]));}var M,N,U,Y;if(u.g._cmdf||S){M=u.cst;var dt=u.g.c;for(U=M.length,N=0;N<U;N+=1)Y=M[N],Y.setAttribute("offset",dt[N*4]+"%"),Y.setAttribute("stop-color","rgb("+dt[N*4+1]+","+dt[N*4+2]+","+dt[N*4+3]+")");}if(g&&(u.g._omdf||S)){var xt=u.g.o;for(u.g._collapsable?M=u.cst:M=u.ost,U=M.length,N=0;N<U;N+=1)Y=M[N],u.g._collapsable||Y.setAttribute("offset",xt[N*2]+"%"),Y.setAttribute("stop-opacity",xt[N*2+1]);}if(v.t===1)(u.e._mdf||S)&&(d.setAttribute("x2",y[0]),d.setAttribute("y2",y[1]),g&&!u.g._collapsable&&(u.of.setAttribute("x2",y[0]),u.of.setAttribute("y2",y[1])));else {var vt;if((u.s._mdf||u.e._mdf||S)&&(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)),d.setAttribute("r",vt),g&&!u.g._collapsable&&u.of.setAttribute("r",vt)),u.e._mdf||u.h._mdf||u.a._mdf||S){vt||(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)));var bt=Math.atan2(y[1]-A[1],y[0]-A[0]),It=u.h.v;It>=1?It=.99:It<=-1&&(It=-.99);var ot=vt*It,Tt=Math.cos(bt+u.a.v)*ot+A[0],z=Math.sin(bt+u.a.v)*ot+A[1];d.setAttribute("fx",Tt),d.setAttribute("fy",z),g&&!u.g._collapsable&&(u.of.setAttribute("fx",Tt),u.of.setAttribute("fy",z));}}}function _(v,u,S){var d=u.style,g=u.d;g&&(g._mdf||S)&&g.dashStr&&(d.pElem.setAttribute("stroke-dasharray",g.dashStr),d.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),u.c&&(u.c._mdf||S)&&d.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||S)&&(d.pElem.setAttribute("stroke-width",u.w.v),d.msElem&&d.msElem.setAttribute("stroke-width",u.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,s=this.stylesList.length,a,o=[],p=!1;for(r=0;r<s;r+=1){for(a=this.stylesList[r],p=!1,o.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(a)!==-1&&(o.push(i),p=i._isAnimated||p);o.length>1&&p&&this.setShapesAsAnimated(o);}},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),s=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 a=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"));}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return (t.ty==="st"||t.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),t.lj===1&&s.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.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 s=ShapePropertyFactory.getShapeProp(this,t,r,this),a=new SVGShapeData(e,i,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},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,s,a,o){var p=[].concat(a),h,c=t.length-1,_,v,u=[],S=[],d,g,A;for(h=c;h>=0;h-=1){if(A=this.searchProcessedElement(t[h]),A?e[h]=i[A-1]:t[h]._render=o,t[h].ty==="fl"||t[h].ty==="st"||t[h].ty==="gf"||t[h].ty==="gs"||t[h].ty==="no")A?e[h].style.closed=!1:e[h]=this.createStyleElement(t[h],s),t[h]._render&&e[h].style.pElem.parentNode!==r&&r.appendChild(e[h].style.pElem),u.push(e[h].style);else if(t[h].ty==="gr"){if(!A)e[h]=this.createGroupElement(t[h]);else for(v=e[h].it.length,_=0;_<v;_+=1)e[h].prevViewData[_]=e[h].it[_];this.searchShapes(t[h].it,e[h].it,e[h].prevViewData,e[h].gr,s+1,p,o),t[h]._render&&e[h].gr.parentNode!==r&&r.appendChild(e[h].gr);}else t[h].ty==="tr"?(A||(e[h]=this.createTransformElement(t[h],r)),d=e[h].transform,p.push(d)):t[h].ty==="sh"||t[h].ty==="rc"||t[h].ty==="el"||t[h].ty==="sr"?(A||(e[h]=this.createShapeElement(t[h],p,s)),this.setElementStyles(e[h])):t[h].ty==="tm"||t[h].ty==="rd"||t[h].ty==="ms"||t[h].ty==="pb"||t[h].ty==="zz"||t[h].ty==="op"?(A?(g=e[h],g.closed=!1):(g=ShapeModifiers.getModifier(t[h].ty),g.init(this,t[h]),e[h]=g,this.shapeModifiers.push(g)),S.push(g)):t[h].ty==="rp"&&(A?(g=e[h],g.closed=!0):(g=ShapeModifiers.getModifier(t[h].ty),e[h]=g,g.init(this,t,h,e),this.shapeModifiers.push(g),o=!1),S.push(g));this.addProcessedElement(t[h],h+1);}for(c=u.length,h=0;h<c;h+=1)u[h].closed=!0;for(c=S.length,h=0;h<c;h+=1)S[h].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,s,a){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0};}LetterProps.prototype.update=function(t,e,i,r,s,a){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 o=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,o=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};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,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(r=0;r<s;r+=1)i!==this.keysIndex?a=this.effectsSequence[r](a,a.t):a=this.effectsSequence[r](this.currentData,a.t);e!==a&&this.setCurrentData(a),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,s,a,o=!1,p=!1,h="";i<r;)o=p,p=!1,s=t.charCodeAt(i),h=t.charAt(i),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(t,i)?h=t.substr(i,14):(a=t.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(h=t.substr(i,2),o=!0):FontManager.isFlagEmoji(t.substr(i,4))?h=t.substr(i,4):h=t.substr(i,2))):s>56319?(a=t.charCodeAt(i+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,p=!0),o?(e[e.length-1]+=h,o=!1):e.push(h),i+=h.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],s,a,o,p=0,h,c=i.m.g,_=0,v=0,u=0,S=[],d=0,g=0,A,y,m=e.getFontByName(t.f),x,w=0,M=getFontProperties(m);t.fWeight=M.weight,t.fStyle=M.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var N=t.tr/1e3*t.finalSize,U;if(t.sz)for(var Y=!0,dt=t.sz[0],xt=t.sz[1],vt,bt;Y;){bt=this.buildFinalText(t.t),vt=0,d=0,a=bt.length,N=t.tr/1e3*t.finalSize;var It=-1;for(s=0;s<a;s+=1)U=bt[s].charCodeAt(0),o=!1,bt[s]===" "?It=s:(U===13||U===3)&&(d=0,o=!0,vt+=t.finalLineHeight||t.finalSize*1.2),e.chars?(x=e.getCharData(bt[s],m.fStyle,m.fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(bt[s],t.f,t.finalSize),d+w>dt&&bt[s]!==" "?(It===-1?a+=1:s=It,vt+=t.finalLineHeight||t.finalSize*1.2,bt.splice(s,It===s?1:0,"\r"),It=-1,d=0):(d+=w,d+=N);vt+=m.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&xt<vt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=bt,a=t.finalText.length,Y=!1);}d=-N,w=0;var ot=0,Tt;for(s=0;s<a;s+=1)if(o=!1,Tt=t.finalText[s],U=Tt.charCodeAt(0),U===13||U===3?(ot=0,S.push(d),g=d>g?d:g,d=-2*N,h="",o=!0,u+=1):h=Tt,e.chars?(x=e.getCharData(Tt,m.fStyle,e.getFontByName(t.f).fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(h,t.f,t.finalSize),Tt===" "?ot+=w+N:(d+=w+N+ot,ot=0),r.push({l:w,an:w,add:_,n:o,anIndexes:[],val:h,line:u,animatorJustifyOffset:0}),c==2){if(_+=w,h===""||h===" "||s===a-1){for((h===""||h===" ")&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;p+=1,_=0;}}else if(c==3){if(_+=w,h===""||s===a-1){for(h===""&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;_=0,p+=1;}}else r[p].ind=p,r[p].extra=0,p+=1;if(t.l=r,g=d>g?d:g,S.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=g,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0;}t.lineWidths=S;var z=i.a,$,E;y=z.length;var q,nt,Q=[];for(A=0;A<y;A+=1){for($=z[A],$.a.sc&&(t.strokeColorAnim=!0),$.a.sw&&(t.strokeWidthAnim=!0),($.a.fc||$.a.fh||$.a.fs||$.a.fb)&&(t.fillColorAnim=!0),nt=0,q=$.s.b,s=0;s<a;s+=1)E=r[s],E.anIndexes[A]=nt,(q==1&&E.val!==""||q==2&&E.val!==""&&E.val!==" "||q==3&&(E.n||E.val==" "||s==a-1)||q==4&&(E.n||s==a-1))&&($.s.rn===1&&Q.push(nt),nt+=1);i.a[A].s.totalChars=nt;var Ut=-1,zt;if($.s.rn===1)for(s=0;s<a;s+=1)E=r[s],Ut!=E.anIndexes[A]&&(Ut=E.anIndexes[A],zt=Q.splice(Math.floor(Math.random()*Q.length),1)[0]),E.anIndexes[A]=zt;}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=m.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(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue();}r.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,p=0,h=1,c=1;this.ne.v>0?o=this.ne.v/100:p=-this.ne.v/100,this.xe.v>0?h=1-this.xe.v/100:c=1+this.xe.v/100;var _=BezierFactory.getBezierEasing(o,p,h,c).get,v=0,u=this.finalS,S=this.finalE,d=this.data.sh;if(d===2)S===u?v=a>=S?1:0:v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===3)S===u?v=a>=S?0:1:v=1-t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===4)S===u?v=0:(v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v<.5?v*=2:v=1-2*(v-.5)),v=_(v);else if(d===5){if(S===u)v=0;else {var g=S-u;a=e(t(0,a+.5-u),S-u);var A=-g/2+a,y=g/2;v=Math.sqrt(1-A*A/(y*y));}v=_(v);}else d===6?(S===u?v=0:(a=e(t(0,a+.5-u),S-u),v=(1+Math.cos(Math.PI+Math.PI*2*a/(S-u)))/2),v=_(v)):(a>=i(u)&&(a-u<0?v=t(0,e(e(S,1)-(u-a),1)):v=t(0,e(S-a,1))),v=_(v));if(this.sm.v!==100){var m=this.sm.v*.01;m===0&&(m=1e-8);var x=.5-m*.5;v<x?v=0:(v=(v-x)/m,v>1&&(v=1));}return v*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,p=this.o.v/o,h=this.s.v/o+p,c=this.e.v/o+p;if(h>c){var _=h;h=c,c=_;}this.finalS=h,this.finalE=c;}},extendPrototype([DynamicPropertyContainer],r);function s(a,o,p){return new r(a,o)}return {getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,i):r,rx:a.rx?s(t,a.rx,0,degToRads,i):r,ry:a.ry?s(t,a.ry,0,degToRads,i):r,sk:a.sk?s(t,a.sk,0,degToRads,i):r,sa:a.sa?s(t,a.sa,0,degToRads,i):r,s:a.s?s(t,a.s,1,.01,i):r,a:a.a?s(t,a.a,1,0,i):r,o:a.o?s(t,a.o,0,.01,i):r,p:a.p?s(t,a.p,1,0,i):r,sw:a.sw?s(t,a.sw,0,0,i):r,sc:a.sc?s(t,a.sc,1,0,i):r,fc:a.fc?s(t,a.fc,1,0,i):r,fh:a.fh?s(t,a.fh,0,0,i):r,fs:a.fs?s(t,a.fs,0,.01,i):r,fb:a.fb?s(t,a.fb,0,.01,i):r,t:a.t?s(t,a.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,s=this._textData,a=this.mHelper,o=this._renderType,p=this.renderedLetters.length,h,c,_,v,u=t.l,S,d,g,A,y,m,x,w,M,N,U,Y,dt,xt,vt;if(this._hasMaskedPath){if(vt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var bt=vt.v;this._pathData.r.v&&(bt=bt.reverse()),S={tLength:0,segments:[]},v=bt._length-1;var It;for(Y=0,_=0;_<v;_+=1)It=bez.buildBezierData(bt.v[_],bt.v[_+1],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[_+1][0]-bt.v[_+1][0],bt.i[_+1][1]-bt.v[_+1][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength;_=v,vt.v.c&&(It=bez.buildBezierData(bt.v[_],bt.v[0],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[0][0]-bt.v[0][0],bt.i[0][1]-bt.v[0][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength),this._pathData.pi=S;}if(S=this._pathData.pi,d=this._pathData.f.v,x=0,m=1,A=0,y=!0,N=S.segments,d<0&&vt.v.c)for(S.tLength<Math.abs(d)&&(d=-Math.abs(d)%S.tLength),x=N.length-1,M=N[x].points,m=M.length-1;d<0;)d+=M[m].partialLength,m-=1,m<0&&(x-=1,M=N[x].points,m=M.length-1);M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength;}v=u.length,h=0,c=0;var ot=t.finalSize*1.2*.714,Tt=!0,z,$,E,q,nt;q=r.length;var Q,Ut=-1,zt,qt,Gt,se=d,he=x,le=m,Se=-1,Pe,Jt,de,Xt,Wt,ze,Ke,We,Le="",Re=this.defaultPropsArray,Oe;if(t.j===2||t.j===1){var be=0,re=0,Nt=t.j===2?-.5:-1,ae=0,ne=!0;for(_=0;_<v;_+=1)if(u[_].n){for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;be=0,ne=!0;}else {for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&(ne&&t.j===2&&(re+=z.t.v*Nt),$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?be+=z.t.v*Q[0]*Nt:be+=z.t.v*Q*Nt);ne=!1;}for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;}for(_=0;_<v;_+=1){if(a.reset(),Pe=1,u[_].n)h=0,c+=t.yOffset,c+=Tt?1:0,d=se,Tt=!1,this._hasMaskedPath&&(x=he,m=le,M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength,A=0),Le="",We="",ze="",Oe="",Re=this.defaultPropsArray;else {if(this._hasMaskedPath){if(Se!==u[_].line){switch(t.j){case 1:d+=Y-t.lineWidths[u[_].line];break;case 2:d+=(Y-t.lineWidths[u[_].line])/2;break}Se=u[_].line;}Ut!==u[_].ind&&(u[Ut]&&(d+=u[Ut].extra),d+=u[_].an/2,Ut=u[_].ind),d+=i[0]*u[_].an*.005;var ke=0;for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.p.v[0]*Q[0]:ke+=z.p.v[0]*Q),z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.a.v[0]*Q[0]:ke+=z.a.v[0]*Q);for(y=!0,this._pathData.a.v&&(d=u[0].an*.5+(Y-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*Ut/(v-1),d+=this._pathData.f.v);y;)A+U>=d+ke||!M?(dt=(d+ke-A)/g.partialLength,qt=w.point[0]+(g.point[0]-w.point[0])*dt,Gt=w.point[1]+(g.point[1]-w.point[1])*dt,a.translate(-i[0]*u[_].an*.005,-(i[1]*ot)*.01),y=!1):M&&(A+=g.partialLength,m+=1,m>=M.length&&(m=0,x+=1,N[x]?M=N[x].points:vt.v.c?(m=0,x=0,M=N[x].points):(A-=g.partialLength,M=null)),M&&(w=g,g=M[m],U=g.partialLength));zt=u[_].an/2-u[_].add,a.translate(-zt,0,0);}else zt=u[_].an/2-u[_].add,a.translate(-zt,0,0),a.translate(-i[0]*u[_].an*.005,-i[1]*ot*.01,0);for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),(h!==0||t.j!==0)&&(this._hasMaskedPath?Q.length?d+=z.t.v*Q[0]:d+=z.t.v*Q:Q.length?h+=z.t.v*Q[0]:h+=z.t.v*Q));for(t.strokeWidthAnim&&(de=t.sw||0),t.strokeColorAnim&&(t.sc?Jt=[t.sc[0],t.sc[1],t.sc[2]]:Jt=[0,0,0]),t.fillColorAnim&&t.fc&&(Xt=[t.fc[0],t.fc[1],t.fc[2]]),E=0;E<q;E+=1)z=r[E].a,z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.translate(-z.a.v[0]*Q[0],-z.a.v[1]*Q[1],z.a.v[2]*Q[2]):a.translate(-z.a.v[0]*Q,-z.a.v[1]*Q,z.a.v[2]*Q));for(E=0;E<q;E+=1)z=r[E].a,z.s.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.scale(1+(z.s.v[0]-1)*Q[0],1+(z.s.v[1]-1)*Q[1],1):a.scale(1+(z.s.v[0]-1)*Q,1+(z.s.v[1]-1)*Q,1));for(E=0;E<q;E+=1){if(z=r[E].a,$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),z.sk.propType&&(Q.length?a.skewFromAxis(-z.sk.v*Q[0],z.sa.v*Q[1]):a.skewFromAxis(-z.sk.v*Q,z.sa.v*Q)),z.r.propType&&(Q.length?a.rotateZ(-z.r.v*Q[2]):a.rotateZ(-z.r.v*Q)),z.ry.propType&&(Q.length?a.rotateY(z.ry.v*Q[1]):a.rotateY(z.ry.v*Q)),z.rx.propType&&(Q.length?a.rotateX(z.rx.v*Q[0]):a.rotateX(z.rx.v*Q)),z.o.propType&&(Q.length?Pe+=(z.o.v*Q[0]-Pe)*Q[0]:Pe+=(z.o.v*Q-Pe)*Q),t.strokeWidthAnim&&z.sw.propType&&(Q.length?de+=z.sw.v*Q[0]:de+=z.sw.v*Q),t.strokeColorAnim&&z.sc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q[0]:Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q;if(t.fillColorAnim&&t.fc){if(z.fc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q[0]:Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q;z.fh.propType&&(Q.length?Xt=addHueToRGB(Xt,z.fh.v*Q[0]):Xt=addHueToRGB(Xt,z.fh.v*Q)),z.fs.propType&&(Q.length?Xt=addSaturationToRGB(Xt,z.fs.v*Q[0]):Xt=addSaturationToRGB(Xt,z.fs.v*Q)),z.fb.propType&&(Q.length?Xt=addBrightnessToRGB(Xt,z.fb.v*Q[0]):Xt=addBrightnessToRGB(Xt,z.fb.v*Q));}}for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),this._hasMaskedPath?Q.length?a.translate(0,z.p.v[1]*Q[0],-z.p.v[2]*Q[1]):a.translate(0,z.p.v[1]*Q,-z.p.v[2]*Q):Q.length?a.translate(z.p.v[0]*Q[0],z.p.v[1]*Q[1],-z.p.v[2]*Q[2]):a.translate(z.p.v[0]*Q,z.p.v[1]*Q,-z.p.v[2]*Q));if(t.strokeWidthAnim&&(ze=de<0?0:de),t.strokeColorAnim&&(Ke="rgb("+Math.round(Jt[0]*255)+","+Math.round(Jt[1]*255)+","+Math.round(Jt[2]*255)+")"),t.fillColorAnim&&t.fc&&(We="rgb("+Math.round(Xt[0]*255)+","+Math.round(Xt[1]*255)+","+Math.round(Xt[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,i[1]*ot*.01+c,0),this._pathData.p.v){xt=(g.point[1]-w.point[1])/(g.point[0]-w.point[0]);var $e=Math.atan(xt)*180/Math.PI;g.point[0]<w.point[0]&&($e+=180),a.rotate(-$e*Math.PI/180);}a.translate(qt,Gt,0),d-=i[0]*u[_].an*.005,u[_+1]&&Ut!==u[_+1].ind&&(d+=u[_].an/2,d+=t.tr*.001*t.finalSize);}else {switch(a.translate(h,c,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line]),0,0);break;case 2:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(zt,0,0),a.translate(i[0]*u[_].an*.005,i[1]*ot*.01,0),h+=u[_].l+t.tr*.001*t.finalSize;}o==="html"?Le=a.toCSS():o==="svg"?Le=a.to2dCSS():Re=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Oe=Pe;}p<=_?(nt=new LetterProps(Oe,ze,Ke,We,Le,Re),this.renderedLetters.push(nt),p+=1,this.lettersChangedFlag=!0):(nt=this.renderedLetters[_],this.lettersChangedFlag=nt.update(Oe,ze,Ke,We,Le,Re)||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,s,a="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(s=e[i].ks.k,a+=buildShapeString(s,s.i.length,!0,t));return a},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,s){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,s,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=[],s="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(s),s=""):s+=t[e],e+=1;return r.push(s),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 s=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s);}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],p=!!this.globalData.fontManager.chars;e=o.length;var h,c=this.mHelper,_="",v=this.data.singleShape,u=0,S=0,d=!0,g=i.tr*.001*i.finalSize;if(v&&!p&&!i.sz){var A=this.textContainer,y="start";switch(i.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}A.setAttribute("text-anchor",y),A.setAttribute("letter-spacing",g);var m=this.buildTextContents(i.finalText);for(e=m.length,S=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)h=this.textSpans[t].span||createNS("tspan"),h.textContent=m[t],h.setAttribute("x",0),h.setAttribute("y",S),h.style.display="inherit",A.appendChild(h),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=h,S+=i.finalLineHeight;this.layerElement.appendChild(A);}else {var x=this.textSpans.length,w;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!p||!v||t===0){if(h=x>t?this.textSpans[t].span:createNS(p?"g":"text"),x<=t){if(h.setAttribute("stroke-linecap","butt"),h.setAttribute("stroke-linejoin","round"),h.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=h,p){var M=createNS("g");h.appendChild(M),this.textSpans[t].childSpan=M;}this.textSpans[t].span=h,this.layerElement.appendChild(h);}h.style.display="inherit";}if(c.reset(),v&&(o[t].n&&(u=-g,S+=i.yOffset,S+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(i,c,o[t].line,u,S),u+=o[t].l||0,u+=g),p){w=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var N;if(w.t===1)N=new SVGCompElement(w.data,this.globalData,this);else {var U=emptyShapeData;w.data&&w.data.shapes&&(U=this.buildShapeData(w.data,i.finalSize)),N=new SVGShapeElement(U,this.globalData,this);}if(this.textSpans[t].glyph){var Y=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(Y.layerElement),Y.destroy();}this.textSpans[t].glyph=N,N._debug=!0,N.prepareFrame(0),N.renderFrame(),this.textSpans[t].childSpan.appendChild(N.layerElement),w.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")");}else v&&h.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),h.textContent=o[t].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}v&&h&&h.setAttribute("d",_);}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 s,a,o;for(t=0;t<e;t+=1)r[t].n||(s=i[t],a=this.textSpans[t].span,o=this.textSpans[t].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.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 s=createElementID();i.setAttribute("id",s),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),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 s=e[r],a=s.getMatte(this.layers[t].tt);i.setMatte(a);}}}},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,s=this.elements[r],a=s.getMatte(this.layers[e].tt);t.setMatte(a);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,s;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&(s=this.elements[r].getBaseElement()),r+=1;s?this.layerElement.insertBefore(i,s):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"),s=createElementID();r.setAttribute("id",s),r.textContent=e.title,this.svgElement.appendChild(r),i+=s;}if(e&&e.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=e.description,this.svgElement.appendChild(a),i+=" "+o;}i&&this.svgElement.setAttribute("aria-labelledby",i);var p=createNS("defs");this.svgElement.appendChild(p);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,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:p,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 s=this.sequences[r];return s||(s={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[r]=s,this.sequenceList.push(s)),s},processSequence:function(t,e){for(var i=0,r=t.transforms.length,s=e;i<r&&!e;){if(t.transforms[i].transform.mProps._mdf){s=!0;break}i+=1;}if(s)for(t.finalTransform.reset(),i=r-1;i>=0;i-=1)t.finalTransform.multiply(t.transforms[i].transform.mProps.v);t._mdf=s;},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 s(){var p=createNS("svg"),h=createNS("filter"),c=createNS("feColorMatrix");return h.setAttribute("id",t),c.setAttribute("type","matrix"),c.setAttribute("color-interpolation-filters","sRGB"),c.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"),h.appendChild(c),p.appendChild(h),p.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(p.style.display="none"),p}function a(){e||(r=s(),document.body.appendChild(r),e=createTag("canvas"),i=e.getContext("2d"),i.filter="url(#"+t+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1));}function o(p){return e||a(),e.width=p.width,e.height=p.height,i.filter="url(#"+t+")",e}return {load:a,get:o}};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 s=t.data.ef[e].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;r=new a(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,s=!1;for(i=0;i<r;i+=1)this.masksProperties[i].mode!=="n"&&(s=!0),this.viewData[i]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[i],3);this.hasMasks=s,s&&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,s,a,o;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)),o=this.viewData[i].v,s=t.applyToPointArray(o.v[0][0],o.v[0][1],0),e.moveTo(s[0],s[1]);var p,h=o._length;for(p=1;p<h;p+=1)a=t.applyToTriplePoints(o.o[p-1],o.i[p],o.v[p]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[5]);a=t.applyToTriplePoints(o.o[p-1],o.i[0],o.v[0]),e.bezierCurveTo(a[0],a[1],a[2],a[3],a[4],a[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),s=r.getContext("2d");s.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;function CVShapeData(t,e,i,r){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var s=4;e.ty==="rc"?s=5:e.ty==="el"?s=6:e.ty==="sr"&&(s=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,s,t);var a,o=i.length,p;for(a=0;a<o;a+=1)i[a].closed||(p={transforms:r.addTransformSequence(i[a].transforms),trNodes:[]},this.styledShapes.push(p),i[a].elements.push(p));}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 s=new DashProperty(this,t.d,"canvas",this);r.d=s,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,s){var a,o=t.length-1,p,h,c=[],_=[],v,u,S,d=[].concat(s);for(a=o;a>=0;a-=1){if(v=this.searchProcessedElement(t[a]),v?e[a]=i[v-1]:t[a]._shouldRender=r,t[a].ty==="fl"||t[a].ty==="st"||t[a].ty==="gf"||t[a].ty==="gs")v?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),c.push(e[a].style);else if(t[a].ty==="gr"){if(!v)e[a]=this.createGroupElement(t[a]);else for(h=e[a].it.length,p=0;p<h;p+=1)e[a].prevViewData[p]=e[a].it[p];this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,r,d);}else t[a].ty==="tr"?(v||(S=this.createTransformElement(t[a]),e[a]=S),d.push(e[a]),this.addTransformToStyleList(e[a])):t[a].ty==="sh"||t[a].ty==="rc"||t[a].ty==="el"||t[a].ty==="sr"?v||(e[a]=this.createShapeElement(t[a])):t[a].ty==="tm"||t[a].ty==="rd"||t[a].ty==="pb"||t[a].ty==="zz"||t[a].ty==="op"?(v?(u=e[a],u.closed=!1):(u=ShapeModifiers.getModifier(t[a].ty),u.init(this,t[a]),e[a]=u,this.shapeModifiers.push(u)),_.push(u)):t[a].ty==="rp"&&(v?(u=e[a],u.closed=!0):(u=ShapeModifiers.getModifier(t[a].ty),e[a]=u,u.init(this,t,a,e),this.shapeModifiers.push(u),r=!1),_.push(u));this.addProcessedElement(t[a],a+1);}for(this.removeTransformFromStyleList(),this.closeStyles(c),o=_.length,a=0;a<o;a+=1)_[a].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,s,a,o,p,h=this.globalData.renderer,c=this.globalData.canvasContext,_,v;for(t=0;t<e;t+=1)if(v=this.stylesList[t],_=v.type,!((_==="st"||_==="gs")&&v.wi===0||!v.data._shouldRender||v.coOp===0||this.globalData.currentGlobalAlpha===0)){for(h.save(),o=v.elements,_==="st"||_==="gs"?(h.ctxStrokeStyle(_==="st"?v.co:v.grd),h.ctxLineWidth(v.wi),h.ctxLineCap(v.lc),h.ctxLineJoin(v.lj),h.ctxMiterLimit(v.ml||0)):h.ctxFillStyle(_==="fl"?v.co:v.grd),h.ctxOpacity(v.coOp),_!=="st"&&_!=="gs"&&c.beginPath(),h.ctxTransform(v.preTransforms.finalTransform.props),r=o.length,i=0;i<r;i+=1){for((_==="st"||_==="gs")&&(c.beginPath(),v.da&&(c.setLineDash(v.da),c.lineDashOffset=v.do)),p=o[i].trNodes,a=p.length,s=0;s<a;s+=1)p[s].t==="m"?c.moveTo(p[s].p[0],p[s].p[1]):p[s].t==="c"?c.bezierCurveTo(p[s].pts[0],p[s].pts[1],p[s].pts[2],p[s].pts[3],p[s].pts[4],p[s].pts[5]):c.closePath();(_==="st"||_==="gs")&&(h.ctxStroke(),v.da&&c.setLineDash(this.dashResetter));}_!=="st"&&_!=="gs"&&this.globalData.renderer.ctxFill(v.r),h.restore();}},CVShapeElement.prototype.renderShape=function(t,e,i,r){var s,a=e.length-1,o;for(o=t,s=a;s>=0;s-=1)e[s].ty==="tr"?(o=i[s].transform,this.renderShapeTransform(t,o)):e[s].ty==="sh"||e[s].ty==="el"||e[s].ty==="rc"||e[s].ty==="sr"?this.renderPath(e[s],i[s]):e[s].ty==="fl"?this.renderFill(e[s],i[s],o):e[s].ty==="st"?this.renderStroke(e[s],i[s],o):e[s].ty==="gf"||e[s].ty==="gs"?this.renderGradientFill(e[s],i[s],o):e[s].ty==="gr"?this.renderShape(o,e[s].it,i[s].it):e[s].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,s,a,o,p=r._length;i.length=0;var h=t.transforms.finalTransform;for(o=0;o<p;o+=1){var c=r.shapes[o];if(c&&c.v){for(a=c._length,s=1;s<a;s+=1)s===1&&i.push({t:"m",p:h.applyToPointArray(c.v[0][0],c.v[0][1],0)}),i.push({t:"c",pts:h.applyToTriplePoints(c.o[s-1],c.i[s],c.v[s])});a===1&&i.push({t:"m",p:h.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&a&&(i.push({t:"c",pts:h.applyToTriplePoints(c.o[s-1],c.i[0],c.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,s;if(!r.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var a=this.globalData.canvasContext,o=e.s.v,p=e.e.v;if(t.t===1)s=a.createLinearGradient(o[0],o[1],p[0],p[1]);else {var h=Math.sqrt(Math.pow(o[0]-p[0],2)+Math.pow(o[1]-p[1],2)),c=Math.atan2(p[1]-o[1],p[0]-o[0]),_=e.h.v;_>=1?_=.99:_<=-1&&(_=-.99);var v=h*_,u=Math.cos(c+e.a.v)*v+o[0],S=Math.sin(c+e.a.v)*v+o[1];s=a.createRadialGradient(u,S,0,o[0],o[1],h);}var d,g=t.g.p,A=e.g.c,y=1;for(d=0;d<g;d+=1)e.g._hasOpacity&&e.g._collapsable&&(y=e.g.o[d*2+1]),s.addColorStop(A[d*4]/100,"rgba("+A[d*4+1]+","+A[d*4+2]+","+A[d*4+3]+","+y+")");r.grd=s;}r.coOp=e.o.v*i.opacity;},CVShapeElement.prototype.renderStroke=function(t,e,i){var r=e.style,s=e.d;s&&(s._mdf||this._isFirstFrame)&&(r.da=s.dashArray,r.do=s.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),s,a,o=t.l,p=this.mHelper;this.stroke=i,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,a=t.finalText.length;var h,c,_,v,u,S,d,g,A,y,m=this.data.singleShape,x=t.tr*.001*t.finalSize,w=0,M=0,N=!0,U=0;for(s=0;s<a;s+=1){h=this.globalData.fontManager.getCharData(t.finalText[s],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),c=h&&h.data||{},p.reset(),m&&o[s].n&&(w=-x,M+=t.yOffset,M+=N?1:0,N=!1),u=c.shapes?c.shapes[0].it:[],d=u.length,p.scale(t.finalSize/100,t.finalSize/100),m&&this.applyTextPropertiesToMatrix(t,p,o[s].line,w,M),A=createSizedArray(d-1);var Y=0;for(S=0;S<d;S+=1)if(u[S].ty==="sh"){for(v=u[S].ks.k.i.length,g=u[S].ks.k,y=[],_=1;_<v;_+=1)_===1&&y.push(p.applyToX(g.v[0][0],g.v[0][1],0),p.applyToY(g.v[0][0],g.v[0][1],0)),y.push(p.applyToX(g.o[_-1][0],g.o[_-1][1],0),p.applyToY(g.o[_-1][0],g.o[_-1][1],0),p.applyToX(g.i[_][0],g.i[_][1],0),p.applyToY(g.i[_][0],g.i[_][1],0),p.applyToX(g.v[_][0],g.v[_][1],0),p.applyToY(g.v[_][0],g.v[_][1],0));y.push(p.applyToX(g.o[_-1][0],g.o[_-1][1],0),p.applyToY(g.o[_-1][0],g.o[_-1][1],0),p.applyToX(g.i[0][0],g.i[0][1],0),p.applyToY(g.i[0][0],g.i[0][1],0),p.applyToX(g.v[0][0],g.v[0][1],0),p.applyToY(g.v[0][0],g.v[0][1],0)),A[Y]=y,Y+=1;}m&&(w+=o[s].l,w+=x),this.textSpans[U]?this.textSpans[U].elem=A:this.textSpans[U]={elem:A},U+=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,s,a,o,p=this.textAnimator.renderedLetters,h=this.textProperty.currentData.l;i=h.length;var c,_=null,v=null,u=null,S,d,g=this.globalData.renderer;for(e=0;e<i;e+=1)if(!h[e].n){if(c=p[e],c&&(g.save(),g.ctxTransform(c.p),g.ctxOpacity(c.o)),this.fill){for(c&&c.fc?_!==c.fc&&(g.ctxFillStyle(c.fc),_=c.fc):_!==this.values.fill&&(_=this.values.fill,g.ctxFillStyle(this.values.fill)),S=this.textSpans[e].elem,s=S.length,this.globalData.canvasContext.beginPath(),r=0;r<s;r+=1)for(d=S[r],o=d.length,this.globalData.canvasContext.moveTo(d[0],d[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(d[a],d[a+1],d[a+2],d[a+3],d[a+4],d[a+5]);this.globalData.canvasContext.closePath(),g.ctxFill();}if(this.stroke){for(c&&c.sw?u!==c.sw&&(u=c.sw,g.ctxLineWidth(c.sw)):u!==this.values.sWidth&&(u=this.values.sWidth,g.ctxLineWidth(this.values.sWidth)),c&&c.sc?v!==c.sc&&(v=c.sc,g.ctxStrokeStyle(c.sc)):v!==this.values.stroke&&(v=this.values.stroke,g.ctxStrokeStyle(this.values.stroke)),S=this.textSpans[e].elem,s=S.length,this.globalData.canvasContext.beginPath(),r=0;r<s;r+=1)for(d=S[r],o=d.length,this.globalData.canvasContext.moveTo(d[0],d[1]),a=2;a<o;a+=6)this.globalData.canvasContext.bezierCurveTo(d[a],d[a+1],d[a+2],d[a+3],d[a+4],d[a+5]);this.globalData.canvasContext.closePath(),g.ctxStroke();}c&&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,s=i/r,a=this.assetData.w/this.assetData.h,o,p,h=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&h==="xMidYMid slice"||s<a&&h!=="xMidYMid slice"?(p=r,o=p*a):(o=i,p=o/a),e.drawImage(this.img,(i-o)/2,(r-p)/2,o,p,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 s,a;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var o=this.renderConfig.preserveAspectRatio.split(" "),p=o[1]||"meet",h=o[0]||"xMidYMid",c=h.substr(0,4),_=h.substr(4);s=i/r,a=this.transformCanvas.w/this.transformCanvas.h,a>s&&p==="meet"||a<s&&p==="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)),c==="xMid"&&(a<s&&p==="meet"||a>s&&p==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:c==="xMax"&&(a<s&&p==="meet"||a>s&&p==="slice")?this.transformCanvas.tx=(i-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,_==="YMid"&&(a>s&&p==="meet"||a<s&&p==="slice")?this.transformCanvas.ty=(r-this.transformCanvas.h*(i/this.transformCanvas.w))/2*this.renderConfig.dpr:_==="YMax"&&(a>s&&p==="meet"||a<s&&p==="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,s=this.cTr.props;for(r=0;r<16;r+=1)s[r]=i[r];if(t){this.nativeContext.restore();var a=this.stack[this.cArrPos+1];this.appliedFillStyle=a.fillStyle,this.appliedStrokeStyle=a.strokeStyle,this.appliedLineWidth=a.lineWidth,this.appliedLineCap=a.lineCap,this.appliedLineJoin=a.lineJoin,this.appliedMiterLimit=a.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 s=this.stack[this.cArrPos];s.opacity=i.opacity,s.fillStyle=i.fillStyle,s.strokeStyle=i.strokeStyle,s.lineWidth=i.lineWidth,s.lineCap=i.lineCap,s.lineJoin=i.lineJoin,s.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,s=t.layers.length;r<s;){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,s=6,a=52,o="random",p=e.pow(r,s),h=e.pow(2,a),c=h*2,_=r-1;function u(x,w,M){var N=[];w=w===!0?{entropy:!0}:w||{};var U=A(g(w.entropy?[x,m(t)]:x===null?y():x,3),N),Y=new S(N),dt=function(){for(var xt=Y.g(s),vt=p,bt=0;xt<h;)xt=(xt+bt)*r,vt*=r,bt=Y.g(1);for(;xt>=c;)xt/=2,vt/=2,bt>>>=1;return (xt+bt)/vt};return dt.int32=function(){return Y.g(4)|0},dt.quick=function(){return Y.g(4)/4294967296},dt.double=dt,A(m(Y.S),t),(w.pass||M||function(xt,vt,bt,It){return It&&(It.S&&d(It,Y),xt.state=function(){return d(Y,{})}),bt?(e[o]=xt,vt):xt})(dt,U,"global"in w?w.global:this==e,w.state)}e["seed"+o]=u;function S(x){var w,M=x.length,N=this,U=0,Y=N.i=N.j=0,dt=N.S=[];for(M||(x=[M++]);U<r;)dt[U]=U++;for(U=0;U<r;U++)dt[U]=dt[Y=_&Y+x[U%M]+(w=dt[U])],dt[Y]=w;N.g=function(xt){for(var vt,bt=0,It=N.i,ot=N.j,Tt=N.S;xt--;)vt=Tt[It=_&It+1],bt=bt*r+Tt[_&(Tt[It]=Tt[ot=_&ot+vt])+(Tt[ot]=vt)];return N.i=It,N.j=ot,bt};}function d(x,w){return w.i=x.i,w.j=x.j,w.S=x.S.slice(),w}function g(x,w){var M=[],N=_typeof$2(x),U;if(w&&N=="object")for(U in x)try{M.push(g(x[U],w-1));}catch{}return M.length?M:N=="string"?x:x+"\0"}function A(x,w){for(var M=x+"",N,U=0;U<M.length;)w[_&U]=_&(N^=w[_&U]*19)+M.charCodeAt(U++);return m(w)}function y(){try{var x=new Uint8Array(r);return (i.crypto||i.msCrypto).getRandomValues(x),m(x)}catch{var w=i.navigator,M=w&&w.plugins;return [+new Date,i,M,i.screen,m(t)]}}function m(x){return String.fromCharCode.apply(0,x)}A(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,s=[];for(i=0;i<r;i+=1)s[i]=-t[i];return s}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]+e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]-e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]*e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t*e[a];return s}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]/e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t/e[a];return s}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),s=0;for(i=0;i<r;i+=1)s+=Math.pow(e[i]-t[i],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],s=Math.max(e,i,r),a=Math.min(e,i,r),o,p,h=(s+a)/2;if(s===a)o=0,p=0;else {var c=s-a;switch(p=h>.5?c/(2-s-a):c/(s+a),s){case e:o=(i-r)/c+(i<r?6:0);break;case i:o=(r-e)/c+2;break;case r:o=(e-i)/c+4;break}o/=6;}return [o,p,h,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],s,a,o;if(i===0)s=r,o=r,a=r;else {var p=r<.5?r*(1+i):r+i-r*i,h=2*r-p;s=hue2rgb(h,p,e+1/3),a=hue2rgb(h,p,e),o=hue2rgb(h,p,e-1/3);}return [s,a,o,t[3]]}function linear(t,e,i,r,s){if((r===void 0||s===void 0)&&(r=e,s=i,e=0,i=1),i<e){var a=i;i=e,e=a;}if(t<=e)return r;if(t>=i)return s;var o=i===e?0:(t-e)/(i-e);if(!r.length)return r+(s-r)*o;var p,h=r.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=r[p]+(s[p]-r[p])*o;return c}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 s=createTypedArray("float32",r),a=BMMath.random();for(i=0;i<r;i+=1)s[i]=t[i]+a*(e[i]-t[i]);return s}t===void 0&&(t=0);var o=BMMath.random();return t+o*(e-t)}function createPath(t,e,i,r){var s,a=t.length,o=shapePool.newElement();o.setPathData(!!r,a);var p=[0,0],h,c;for(s=0;s<a;s+=1)h=e&&e[s]?e[s]:p,c=i&&i[s]?i[s]:p,o.setTripleAt(t[s][0],t[s][1],c[0]+t[s][0],c[1]+t[s][1],h[0]+t[s][0],h[1]+t[s][1],s,!0);return o}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,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);e=5;var p=Math.floor(time*e);for(r=0,s=0;r<p;){for(s=0;s<a;s+=1)o[s]+=-i+i*2*BMMath.random();r+=1;}var h=time*e,c=h-Math.floor(h),_=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)_[s]=this.pv[s]+o[s]+(-i+i*2*BMMath.random())*c;return _}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}.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,s=-Math.atan2(i[1],i[2])/degToRads;return [s,r,0]}function easeOut(t,e,i,r,s){return applyEase(easeOutBez,t,e,i,r,s)}function easeIn(t,e,i,r,s){return applyEase(easeInBez,t,e,i,r,s)}function ease(t,e,i,r,s){return applyEase(easeInOutBez,t,e,i,r,s)}function applyEase(t,e,i,r,s,a){s===void 0?(s=i,a=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var o=t(e);if($bm_isInstanceOfArray(s)){var p,h=s.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=(a[p]-s[p])*o+s[p];return c}return (a-s)*o+s}function nearestKey(t){var e,i=data.k.length,r,s;if(!data.k.length||typeof data.k[0]=="number")r=0,s=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,s=data.k[0].t;else {for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,s=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,s=data.k[e+1].t):(r=e+1,s=data.k[e].t);break}r===-1&&(r=e+1,s=data.k[e].t);}var a={};return a.index=r,a.time=s/elem.comp.globalData.frameRate,a}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 s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=s.length,i=0;i<r;i+=1)e[i]=s[i],e.value[i]=s[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,s=[];function a(){r+=1;}function o(){r-=1,r===0&&h();}function p(c){s.indexOf(c)===-1&&s.push(c);}function h(){var c,_=s.length;for(c=0;c<_;c+=1)s[c].release();s.length=0;}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=p;}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),s,a=i.viewData.length;for(s=0;s<a;s+=1)r[s]=new t(i.viewData[s],i.masksProperties[s]);var o=function(p){for(s=0;s<a;){if(i.masksProperties[s].nm===p)return r[s];s+=1;}return null};return o};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(o,p,h){Object.defineProperty(o,"velocity",{get:function(){return p.getVelocityAtTime(p.comp.currentFrame)}}),o.numKeys=p.keyframes?p.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var _="";"s"in p.keyframes[c-1]?_=p.keyframes[c-1].s:"e"in p.keyframes[c-2]?_=p.keyframes[c-2].e:_=p.keyframes[c-2].s;var v=h==="unidimensional"?new Number(_):Object.assign({},_);return v.time=p.keyframes[c-1].t/p.elem.comp.globalData.frameRate,v.value=h==="unidimensional"?_[0]:_,v},o.valueAtTime=p.getValueAtTime,o.speedAtTime=p.getSpeedAtTime,o.velocityAtTime=p.getVelocityAtTime,o.propertyGroup=p.propertyGroup;}function r(o){(!o||!("pv"in o))&&(o=t);var p=1/o.mult,h=o.pv*p,c=new Number(h);return c.value=h,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),h=o.v*p,c.value!==h&&(c=new Number(h),c.value=h,i(c,o,"unidimensional")),c}}function s(o){(!o||!("pv"in o))&&(o=e);var p=1/o.mult,h=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",h),_=createTypedArray("float32",h);return c.value=_,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var v=0;v<h;v+=1)_[v]=o.v[v]*p,c[v]=_[v];return c}}function a(){return t}return function(o){return o?o.propType==="unidimensional"?r(o):s(o):a}}(),TransformExpressionInterface=function(){return function(t){function e(o){switch(o){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,s,a;return t.p?a=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[i(),r(),s?s():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(c){var _=new Matrix;if(c!==void 0){var v=this._elem.finalTransform.mProp.getValueAtTime(c);v.clone(_);}else {var u=this._elem.finalTransform.mProp;u.applyToMatrix(_);}return _}function e(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.applyPoint(v,c)}function i(c,_){var v=this.getMatrix(_);return this.applyPoint(v,c)}function r(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.invertPoint(v,c)}function s(c,_){var v=this.getMatrix(_);return this.invertPoint(v,c)}function a(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.applyToPointArray(_[0],_[1],_[2]||0)}function o(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.inversePoint(_)}function p(c){var _=new Matrix;if(_.reset(),this._elem.finalTransform.mProp.applyToMatrix(_),this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(_);return _.inversePoint(c)}return _.inversePoint(c)}function h(){return [1,1,1,1]}return function(c){var _;function v(g){S.mask=new MaskManagerInterface(g,c);}function u(g){S.effect=g;}function S(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return S.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return _;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return S.effect;case"ADBE Text Properties":return S.textInterface;default:return null}}S.getMatrix=t,S.invertPoint=o,S.applyPoint=a,S.toWorld=i,S.toWorldVec=e,S.fromWorld=s,S.fromWorldVec=r,S.toComp=i,S.fromComp=p,S.sampleImage=h,S.sourceRectAtTime=c.sourceRectAtTime.bind(c),S._elem=c,_=TransformExpressionInterface(c.finalTransform.mProp);var d=getDescriptor(_,"anchorPoint");return Object.defineProperties(S,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(_,"rotation"),scale:getDescriptor(_,"scale"),position:getDescriptor(_,"position"),opacity:getDescriptor(_,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return _}},active:{get:function(){return c.isInRange}}}),S.startTime=c.data.st,S.index=c.data.ind,S.source=c.data.refId,S.height=c.data.ty===0?c.data.h:100,S.width=c.data.ty===0?c.data.w:100,S.inPoint=c.data.ip/c.comp.globalData.frameRate,S.outPoint=c.data.op/c.comp.globalData.frameRate,S._name=c.data.nm,S.registerMaskInterface=v,S.registerEffectsInterface=u,S}}(),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(s){return s=s===void 0?1:s,s<=0?i:e(s-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(s,a){if(s.effectsManager){var o=[],p=s.data.ef,h,c=s.effectsManager.effectElements.length;for(h=0;h<c;h+=1)o.push(i(p[h],s.effectsManager.effectElements[h],a,s));var _=s.data.ef||[],v=function(u){for(h=0,c=_.length;h<c;){if(u===_[h].nm||u===_[h].mn||u===_[h].ix)return o[h];h+=1;}return null};return Object.defineProperty(v,"numProperties",{get:function(){return _.length}}),v}return null}function i(s,a,o,p){function h(S){for(var d=s.ef,g=0,A=d.length;g<A;){if(S===d[g].nm||S===d[g].mn||S===d[g].ix)return d[g].ty===5?_[g]:_[g]();g+=1;}throw new Error}var c=propertyGroupFactory(h,o),_=[],v,u=s.ef.length;for(v=0;v<u;v+=1)s.ef[v].ty===5?_.push(i(s.ef[v],a.effectElements[v],a.effectElements[v].propertyGroup,p)):_.push(r(a.effectElements[v],s.ef[v].ty,p,c));return s.mn==="ADBE Color Control"&&Object.defineProperty(h,"color",{get:function(){return _[0]()}}),Object.defineProperties(h,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:c}}),h.enabled=s.en!==0,h.active=h.enabled,h}function r(s,a,o,p){var h=ExpressionPropertyInterface(s.p);function c(){return a===10?o.comp.compInterface(s.p.v):h()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",p)),c}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function s(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?s.path:null}var a=propertyGroupFactory(s,i);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(s,{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}}),s}}(),ShapeExpressionInterface=function(){function t(d,g,A){var y=[],m,x=d?d.length:0;for(m=0;m<x;m+=1)d[m].ty==="gr"?y.push(i(d[m],g[m],A)):d[m].ty==="fl"?y.push(r(d[m],g[m],A)):d[m].ty==="st"?y.push(o(d[m],g[m],A)):d[m].ty==="tm"?y.push(p(d[m],g[m],A)):d[m].ty==="tr"||(d[m].ty==="el"?y.push(c(d[m],g[m],A)):d[m].ty==="sr"?y.push(_(d[m],g[m],A)):d[m].ty==="sh"?y.push(ShapePathInterface(d[m],g[m],A)):d[m].ty==="rc"?y.push(v(d[m],g[m],A)):d[m].ty==="rd"?y.push(u(d[m],g[m],A)):d[m].ty==="rp"?y.push(S(d[m],g[m],A)):d[m].ty==="gf"?y.push(s(d[m],g[m],A)):y.push(a(d[m],g[m])));return y}function e(d,g,A){var y,m=function(w){for(var M=0,N=y.length;M<N;){if(y[M]._name===w||y[M].mn===w||y[M].propertyIndex===w||y[M].ix===w||y[M].ind===w)return y[M];M+=1;}return typeof w=="number"?y[w-1]:null};m.propertyGroup=propertyGroupFactory(m,A),y=t(d.it,g.it,m.propertyGroup),m.numProperties=y.length;var x=h(d.it[d.it.length-1],g.it[g.it.length-1],m.propertyGroup);return m.transform=x,m.propertyIndex=d.cix,m._name=d.nm,m}function i(d,g,A){var y=function(w){switch(w){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,A);var m=e(d,g,y.propertyGroup),x=h(d.it[d.it.length-1],g.it[g.it.length-1],y.propertyGroup);return y.content=m,y.transform=x,Object.defineProperty(y,"_name",{get:function(){return d.nm}}),y.numProperties=d.np,y.propertyIndex=d.ix,y.nm=d.nm,y.mn=d.mn,y}function r(d,g,A){function y(m){return m==="Color"||m==="color"?y.color:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function s(d,g,A){function y(m){return m==="Start Point"||m==="start point"?y.startPoint:m==="End Point"||m==="end point"?y.endPoint:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return "a"}},_name:{value:d.nm},mn:{value:d.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",A)),g.e.setGroupProperty(PropertyInterface("End Point",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function a(){function d(){return null}return d}function o(d,g,A){var y=propertyGroupFactory(U,A),m=propertyGroupFactory(N,y);function x(Y){Object.defineProperty(N,d.d[Y].nm,{get:ExpressionPropertyInterface(g.d.dataProps[Y].p)});}var w,M=d.d?d.d.length:0,N={};for(w=0;w<M;w+=1)x(w),g.d.dataProps[w].p.setGroupProperty(m);function U(Y){return Y==="Color"||Y==="color"?U.color:Y==="Opacity"||Y==="opacity"?U.opacity:Y==="Stroke Width"||Y==="stroke width"?U.strokeWidth:null}return Object.defineProperties(U,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return N}},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",y)),g.o.setGroupProperty(PropertyInterface("Opacity",y)),g.w.setGroupProperty(PropertyInterface("Stroke Width",y)),U}function p(d,g,A){function y(x){return x===d.e.ix||x==="End"||x==="end"?y.end:x===d.s.ix?y.start:x===d.o.ix?y.offset:null}var m=propertyGroupFactory(y,A);return y.propertyIndex=d.ix,g.s.setGroupProperty(PropertyInterface("Start",m)),g.e.setGroupProperty(PropertyInterface("End",m)),g.o.setGroupProperty(PropertyInterface("Offset",m)),y.propertyIndex=d.ix,y.propertyGroup=A,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm}}),y.mn=d.mn,y}function h(d,g,A){function y(x){return d.a.ix===x||x==="Anchor Point"?y.anchorPoint:d.o.ix===x||x==="Opacity"?y.opacity:d.p.ix===x||x==="Position"?y.position:d.r.ix===x||x==="Rotation"||x==="ADBE Vector Rotation"?y.rotation:d.s.ix===x||x==="Scale"?y.scale:d.sk&&d.sk.ix===x||x==="Skew"?y.skew:d.sa&&d.sa.ix===x||x==="Skew Axis"?y.skewAxis:null}var m=propertyGroupFactory(y,A);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",m)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",m)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",m)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",m)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",m)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",m)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",m))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",m)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:d.nm}}),y.ty="tr",y.mn=d.mn,y.propertyGroup=A,y}function c(d,g,A){function y(w){return d.p.ix===w?y.position:d.s.ix===w?y.size:null}var m=propertyGroupFactory(y,A);y.propertyIndex=d.ix;var x=g.sh.ty==="tm"?g.sh.prop:g.sh;return x.s.setGroupProperty(PropertyInterface("Size",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(x.s)},position:{get:ExpressionPropertyInterface(x.p)},_name:{value:d.nm}}),y.mn=d.mn,y}function _(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.rotation:d.pt.ix===w?y.points:d.or.ix===w||w==="ADBE Vector Star Outer Radius"?y.outerRadius:d.os.ix===w?y.outerRoundness:d.ir&&(d.ir.ix===w||w==="ADBE Vector Star Inner Radius")?y.innerRadius:d.is&&d.is.ix===w?y.innerRoundness:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.or.setGroupProperty(PropertyInterface("Outer Radius",m)),x.os.setGroupProperty(PropertyInterface("Outer Roundness",m)),x.pt.setGroupProperty(PropertyInterface("Points",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),d.ir&&(x.ir.setGroupProperty(PropertyInterface("Inner Radius",m)),x.is.setGroupProperty(PropertyInterface("Inner Roundness",m))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},rotation:{get:ExpressionPropertyInterface(x.r)},points:{get:ExpressionPropertyInterface(x.pt)},outerRadius:{get:ExpressionPropertyInterface(x.or)},outerRoundness:{get:ExpressionPropertyInterface(x.os)},innerRadius:{get:ExpressionPropertyInterface(x.ir)},innerRoundness:{get:ExpressionPropertyInterface(x.is)},_name:{value:d.nm}}),y.mn=d.mn,y}function v(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.roundness:d.s.ix===w||w==="Size"||w==="ADBE Vector Rect Size"?y.size:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.p.setGroupProperty(PropertyInterface("Position",m)),x.s.setGroupProperty(PropertyInterface("Size",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},roundness:{get:ExpressionPropertyInterface(x.r)},size:{get:ExpressionPropertyInterface(x.s)},_name:{value:d.nm}}),y.mn=d.mn,y}function u(d,g,A){function y(w){return d.r.ix===w||w==="Round Corners 1"?y.radius:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.rd.setGroupProperty(PropertyInterface("Radius",m)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(x.rd)},_name:{value:d.nm}}),y.mn=d.mn,y}function S(d,g,A){function y(w){return d.c.ix===w||w==="Copies"?y.copies:d.o.ix===w||w==="Offset"?y.offset:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.c.setGroupProperty(PropertyInterface("Copies",m)),x.o.setGroupProperty(PropertyInterface("Offset",m)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(x.c)},offset:{get:ExpressionPropertyInterface(x.o)},_name:{value:d.nm}}),y.mn=d.mn,y}return function(d,g,A){var y;function m(w){if(typeof w=="number")return w=w===void 0?1:w,w===0?A:y[w-1];for(var M=0,N=y.length;M<N;){if(y[M]._name===w)return y[M];M+=1;}return null}function x(){return A}return m.propertyGroup=propertyGroupFactory(m,x),y=t(d,g,m.propertyGroup),m.numProperties=y.length,m._name="Contents",m}}(),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="",s=i.getFootageData();function a(){return r="",s=i.getFootageData(),o}function o(p){if(s[p])return r=p,s=s[p],_typeof(s)==="object"?o:s;var h=p.indexOf(r);if(h!==-1){var c=parseInt(p.substr(h+r.length),10);return s=s[c],_typeof(s)==="object"?o:s}return ""}return a},e=function(i){function r(s){return s==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(s){return s==="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(o,p,h){p.x&&(h.k=!0,h.x=!0,h.initiateExpression=ExpressionManager.initiateExpression,h.effectsSequence.push(h.initiateExpression(o,p,h).bind(h)));}function e(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var p=-.01,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_=0;if(h.length){var v;for(v=0;v<h.length;v+=1)_+=Math.pow(c[v]-h[v],2);_=Math.sqrt(_)*100;}else _=0;return _}function r(o){if(this.vel!==void 0)return this.vel;var p=-.001,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_;if(h.length){_=createTypedArray("float32",h.length);var v;for(v=0;v<h.length;v+=1)_[v]=(c[v]-h[v])/p;}else _=(c-h)/p;return _}function s(){return this.pv}function a(o){this.propertyGroup=o;}return {searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function t(u,S,d){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[A.length-1].t;if(g<=y)return this.pv;var m,x;d?(S?m=Math.abs(y-this.elem.comp.globalData.frameRate*S):m=Math.max(0,y-this.elem.data.ip),x=y-m):((!S||S>A.length-1)&&(S=A.length-1),x=A[A.length-1-S].t,m=y-x);var w,M,N;if(u==="pingpong"){var U=Math.floor((g-x)/m);if(U%2!==0)return this.getValueAtTime((m-(g-x)%m+x)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(x/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),xt=this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0),vt=Math.floor((g-x)/m);if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=(dt[w]-Y[w])*vt+xt[w];return N}return (dt-Y)*vt+xt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*((g-y)/this.comp.globalData.frameRate)/5e-4;return N}return bt+(bt-It)*((g-y)/.001)}return this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0)}function e(u,S,d){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[0].t;if(g>=y)return this.pv;var m,x;d?(S?m=Math.abs(this.elem.comp.globalData.frameRate*S):m=Math.max(0,this.elem.data.op-y),x=y+m):((!S||S>A.length-1)&&(S=A.length-1),x=A[S].t,m=x-y);var w,M,N;if(u==="pingpong"){var U=Math.floor((y-g)/m);if(U%2===0)return this.getValueAtTime(((y-g)%m+y)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(y/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(x/this.comp.globalData.frameRate,0),xt=this.getValueAtTime((m-(y-g)%m+y)/this.comp.globalData.frameRate,0),vt=Math.floor((y-g)/m)+1;if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=xt[w]-(dt[w]-Y[w])*vt;return N}return xt-(dt-Y)*vt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*(y-g)/.001;return N}return bt+(bt-It)*(y-g)/.001}return this.getValueAtTime((m-((y-g)%m+y))/this.comp.globalData.frameRate,0)}function i(u,S){if(!this.k)return this.pv;if(u=(u||.4)*.5,S=Math.floor(S||5),S<=1)return this.pv;var d=this.comp.renderedFrame/this.comp.globalData.frameRate,g=d-u,A=d+u,y=S>1?(A-g)/(S-1):1,m=0,x=0,w;this.pv.length?w=createTypedArray("float32",this.pv.length):w=0;for(var M;m<S;){if(M=this.getValueAtTime(g+m*y),this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]+=M[x];else w+=M;m+=1;}if(this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]/=S;else w/=S;return w}function r(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var S=this._transformCachingAtTime.v;if(S.cloneFromProps(this.pre.props),this.appliedTransformations<1){var d=this.a.getValueAtTime(u);S.translate(-d[0]*this.a.mult,-d[1]*this.a.mult,d[2]*this.a.mult);}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(u);S.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult);}if(this.sk&&this.appliedTransformations<3){var A=this.sk.getValueAtTime(u),y=this.sa.getValueAtTime(u);S.skewFromAxis(-A*this.sk.mult,y*this.sa.mult);}if(this.r&&this.appliedTransformations<4){var m=this.r.getValueAtTime(u);S.rotate(-m*this.r.mult);}else if(!this.r&&this.appliedTransformations<4){var x=this.rz.getValueAtTime(u),w=this.ry.getValueAtTime(u),M=this.rx.getValueAtTime(u),N=this.or.getValueAtTime(u);S.rotateZ(-x*this.rz.mult).rotateY(w*this.ry.mult).rotateX(M*this.rx.mult).rotateZ(-N[2]*this.or.mult).rotateY(N[1]*this.or.mult).rotateX(N[0]*this.or.mult);}if(this.data.p&&this.data.p.s){var U=this.px.getValueAtTime(u),Y=this.py.getValueAtTime(u);if(this.data.p.z){var dt=this.pz.getValueAtTime(u);S.translate(U*this.px.mult,Y*this.py.mult,-dt*this.pz.mult);}else S.translate(U*this.px.mult,Y*this.py.mult,0);}else {var xt=this.p.getValueAtTime(u);S.translate(xt[0]*this.p.mult,xt[1]*this.p.mult,-xt[2]*this.p.mult);}return S}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,S,d){var g=a(u,S,d);return g.dynamicProperties.length?g.getValueAtTime=r.bind(g):g.getValueAtTime=s.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(u,S,d,g,A){var y=o(u,S,d,g,A);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=t,y.loopIn=e,y.smooth=i,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=S.a===1?S.k.length:0,y.propertyIndex=S.ix;var m=0;return d!==0&&(m=createTypedArray("float32",S.a===1?S.k[0].s.length:S.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:m},expressionHelpers.searchExpressions(u,S,y),y.k&&A.addDynamicProperty(y),y};function p(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var h=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function _(){}_.prototype={vertices:function(u,S){this.k&&this.getValue();var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0));var g,A=d._length,y=d[u],m=d.v,x=createSizedArray(A);for(g=0;g<A;g+=1)u==="i"||u==="o"?x[g]=[y[g][0]-m[g][0],y[g][1]-m[g][1]]:x[g]=[y[g][0],y[g][1]];return x},points:function(u){return this.vertices("v",u)},inTangents:function(u){return this.vertices("i",u)},outTangents:function(u){return this.vertices("o",u)},isClosed:function(){return this.v.c},pointOnPath:function(u,S){var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(d));for(var g=this._segmentsLength,A=g.lengths,y=g.totalLength*u,m=0,x=A.length,w=0,M;m<x;){if(w+A[m].addedLength>y){var N=m,U=d.c&&m===x-1?0:m+1,Y=(y-w)/A[m].addedLength;M=bez.getPointInSegment(d.v[N],d.v[U],d.o[N],d.i[U],Y,A[m]);break}else w+=A[m].addedLength;m+=1;}return M||(M=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),M},vectorOnPath:function(u,S,d){u==1?u=this.v.c:u==0&&(u=.999);var g=this.pointOnPath(u,S),A=this.pointOnPath(u+.001,S),y=A[0]-g[0],m=A[1]-g[1],x=Math.sqrt(Math.pow(y,2)+Math.pow(m,2));if(x===0)return [0,0];var w=d==="tangent"?[y/x,m/x]:[-m/x,y/x];return w},tangentOnPath:function(u,S){return this.vectorOnPath(u,S,"tangent")},normalOnPath:function(u,S){return this.vectorOnPath(u,S,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([_],h),extendPrototype([_],c),c.prototype.getValueAtTime=p,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var v=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,S,d,g,A){var y=v(u,S,d,g,A);return y.propertyIndex=S.ix,y.lock=!1,d===3?expressionHelpers.searchExpressions(u,S.pt,y):d===4&&expressionHelpers.searchExpressions(u,S.ks,y),y.k&&u.addDynamicProperty(y),y};}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 s={};return this.copyData(s,e),s.t=r.toString(),s.__complete=!1,s}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,s=e[2].p.v===1,a=e[3].p.v,o=s?a:e[4].p.v,p=e[5].p.v,h=e[6].p.v,c=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-p*degToRads,(h+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});}),Tg=Cg();});var pc={};ia(pc,{default:()=>Dg});var Mg,Dg,fc=Ir(()=>{Fs();Mg=ce((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="",s=!1,a=-999999,o=function(l){s=!!l;},p=function(){return s},h=function(l){r=l;},c=function(){return r};function _(l){return document.createElement(l)}function v(l,k){var C,L=l.length,O;for(C=0;C<L;C+=1){O=l[C].prototype;for(var V in O)Object.prototype.hasOwnProperty.call(O,V)&&(k.prototype[V]=O[V]);}}function u(l){function k(){}return k.prototype=l,k}var S=function(){function l(k){this.audios=[],this.audioFactory=k,this._volume=1,this._isMuted=!1;}return l.prototype={addAudio:function(k){this.audios.push(k);},pause:function(){var k,C=this.audios.length;for(k=0;k<C;k+=1)this.audios[k].pause();},resume:function(){var k,C=this.audios.length;for(k=0;k<C;k+=1)this.audios[k].resume();},setRate:function(k){var C,L=this.audios.length;for(C=0;C<L;C+=1)this.audios[C].setRate(k);},createAudio:function(k){return this.audioFactory?this.audioFactory(k):window.Howl?new window.Howl({src:[k]}):{isPlaying:!1,play:function(){this.isPlaying=!0;},seek:function(){this.isPlaying=!1;},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(k){this.audioFactory=k;},setVolume:function(k){this._volume=k,this._updateVolume();},mute:function(){this._isMuted=!0,this._updateVolume();},unmute:function(){this._isMuted=!1,this._updateVolume();},getVolume:function(){return this._volume},_updateVolume:function(){var k,C=this.audios.length;for(k=0;k<C;k+=1)this.audios[k].volume(this._volume*(this._isMuted?0:1));}},function(){return new l}}(),d=function(){function l(C,L){var O=0,V=[],n;switch(C){case"int16":case"uint8c":n=1;break;default:n=1.1;break}for(O=0;O<L;O+=1)V.push(n);return V}function k(C,L){return C==="float32"?new Float32Array(L):C==="int16"?new Int16Array(L):C==="uint8c"?new Uint8ClampedArray(L):l(C,L)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?k:l}();function g(l){return Array.apply(null,{length:l})}var A=!0,y=null,m="",x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,M=Math.sqrt,N=Math.floor,U=Math.max,Y=Math.min,dt=150,xt=Math.PI/180,vt=.5519;function bt(l){l.style.position="absolute",l.style.top=0,l.style.left=0,l.style.display="block",l.style.transformOrigin="0 0",l.style.webkitTransformOrigin="0 0",l.style.backfaceVisibility="visible",l.style.webkitBackfaceVisibility="visible",l.style.transformStyle="preserve-3d",l.style.webkitTransformStyle="preserve-3d",l.style.mozTransformStyle="preserve-3d";}function It(l,k,C,L){this.type=l,this.currentTime=k,this.totalTime=C,this.direction=L<0?-1:1;}function ot(l,k){this.type=l,this.direction=k<0?-1:1;}function Tt(l,k,C,L){this.type=l,this.currentLoop=C,this.totalLoops=k,this.direction=L<0?-1:1;}function z(l,k,C){this.type=l,this.firstFrame=k,this.totalFrames=C;}function $(l,k){this.type=l,this.target=k;}function E(l,k){this.type="renderFrameError",this.nativeError=l,this.currentTime=k;}function q(l){this.type="configError",this.nativeError=l;}var nt=function(){var l=0;return function(){return l+=1,m+"__lottie_element_"+l}}();function Q(l,k,C){var L,O,V,n,f,b,T,I;switch(n=Math.floor(l*6),f=l*6-n,b=C*(1-k),T=C*(1-f*k),I=C*(1-(1-f)*k),n%6){case 0:L=C,O=I,V=b;break;case 1:L=T,O=C,V=b;break;case 2:L=b,O=C,V=I;break;case 3:L=b,O=T,V=C;break;case 4:L=I,O=b,V=C;break;case 5:L=C,O=b,V=T;break}return [L,O,V]}function Ut(l,k,C){var L=Math.max(l,k,C),O=Math.min(l,k,C),V=L-O,n,f=L===0?0:V/L,b=L/255;switch(L){case O:n=0;break;case l:n=k-C+V*(k<C?6:0),n/=6*V;break;case k:n=C-l+V*2,n/=6*V;break;case C:n=l-k+V*4,n/=6*V;break}return [n,f,b]}function zt(l,k){var C=Ut(l[0]*255,l[1]*255,l[2]*255);return C[1]+=k,C[1]>1?C[1]=1:C[1]<=0&&(C[1]=0),Q(C[0],C[1],C[2])}function qt(l,k){var C=Ut(l[0]*255,l[1]*255,l[2]*255);return C[2]+=k,C[2]>1?C[2]=1:C[2]<0&&(C[2]=0),Q(C[0],C[1],C[2])}function Gt(l,k){var C=Ut(l[0]*255,l[1]*255,l[2]*255);return C[0]+=k/360,C[0]>1?C[0]-=1:C[0]<0&&(C[0]+=1),Q(C[0],C[1],C[2])}(function(){var l=[],k,C;for(k=0;k<256;k+=1)C=k.toString(16),l[k]=C.length===1?"0"+C:C;return function(L,O,V){return L<0&&(L=0),O<0&&(O=0),V<0&&(V=0),"#"+l[L]+l[O]+l[V]}})();var se=function(l){A=!!l;},he=function(){return A},le=function(l){y=l;},Se=function(){return y},Pe=function(l){dt=l;},Jt=function(){return dt},de=function(l){m=l;};function Xt(l){return document.createElementNS(i,l)}function Wt(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wt=function(k){return typeof k}:Wt=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},Wt(l)}var ze=function(){var l=1,k=[],C,L,O={onmessage:function(){},postMessage:function(G){C({data:G});}},V={postMessage:function(G){O.onmessage({data:G});}};function n(G){if(window.Worker&&window.Blob&&p()){var K=new Blob(["var _workerSelf = self; self.onmessage = ",G.toString()],{type:"text/javascript"}),X=URL.createObjectURL(K);return new Worker(X)}return C=G,O}function f(){L||(L=n(function(G){function K(){function it(Lt,Kt){var _t,Et,ht=Lt.length,Ct,Ft,wt,St;for(Et=0;Et<ht;Et+=1)if(_t=Lt[Et],"ks"in _t&&!_t.completed){if(_t.completed=!0,_t.hasMask){var At=_t.masksProperties;for(Ft=At.length,Ct=0;Ct<Ft;Ct+=1)if(At[Ct].pt.k.i)W(At[Ct].pt.k);else for(St=At[Ct].pt.k.length,wt=0;wt<St;wt+=1)At[Ct].pt.k[wt].s&&W(At[Ct].pt.k[wt].s[0]),At[Ct].pt.k[wt].e&&W(At[Ct].pt.k[wt].e[0]);}_t.ty===0?(_t.layers=H(_t.refId,Kt),it(_t.layers,Kt)):_t.ty===4?j(_t.shapes):_t.ty===5&&Rt(_t);}}function lt(Lt,Kt){if(Lt){var _t=0,Et=Lt.length;for(_t=0;_t<Et;_t+=1)Lt[_t].t===1&&(Lt[_t].data.layers=H(Lt[_t].data.refId,Kt),it(Lt[_t].data.layers,Kt));}}function tt(Lt,Kt){for(var _t=0,Et=Kt.length;_t<Et;){if(Kt[_t].id===Lt)return Kt[_t];_t+=1;}return null}function H(Lt,Kt){var _t=tt(Lt,Kt);return _t?_t.layers.__used?JSON.parse(JSON.stringify(_t.layers)):(_t.layers.__used=!0,_t.layers):null}function j(Lt){var Kt,_t=Lt.length,Et,ht;for(Kt=_t-1;Kt>=0;Kt-=1)if(Lt[Kt].ty==="sh")if(Lt[Kt].ks.k.i)W(Lt[Kt].ks.k);else for(ht=Lt[Kt].ks.k.length,Et=0;Et<ht;Et+=1)Lt[Kt].ks.k[Et].s&&W(Lt[Kt].ks.k[Et].s[0]),Lt[Kt].ks.k[Et].e&&W(Lt[Kt].ks.k[Et].e[0]);else Lt[Kt].ty==="gr"&&j(Lt[Kt].it);}function W(Lt){var Kt,_t=Lt.i.length;for(Kt=0;Kt<_t;Kt+=1)Lt.i[Kt][0]+=Lt.v[Kt][0],Lt.i[Kt][1]+=Lt.v[Kt][1],Lt.o[Kt][0]+=Lt.v[Kt][0],Lt.o[Kt][1]+=Lt.v[Kt][1];}function R(Lt,Kt){var _t=Kt?Kt.split("."):[100,100,100];return Lt[0]>_t[0]?!0:_t[0]>Lt[0]?!1:Lt[1]>_t[1]?!0:_t[1]>Lt[1]?!1:Lt[2]>_t[2]?!0:_t[2]>Lt[2]?!1:null}var rt=function(){var Lt=[4,4,14];function Kt(Et){var ht=Et.t.d;Et.t.d={k:[{s:ht,t:0}]};}function _t(Et){var ht,Ct=Et.length;for(ht=0;ht<Ct;ht+=1)Et[ht].ty===5&&Kt(Et[ht]);}return function(Et){if(R(Lt,Et.v)&&(_t(Et.layers),Et.assets)){var ht,Ct=Et.assets.length;for(ht=0;ht<Ct;ht+=1)Et.assets[ht].layers&&_t(Et.assets[ht].layers);}}}(),at=function(){var Lt=[4,7,99];return function(Kt){if(Kt.chars&&!R(Lt,Kt.v)){var _t,Et=Kt.chars.length;for(_t=0;_t<Et;_t+=1){var ht=Kt.chars[_t];ht.data&&ht.data.shapes&&(j(ht.data.shapes),ht.data.ip=0,ht.data.op=99999,ht.data.st=0,ht.data.sr=1,ht.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}},Kt.chars[_t].t||(ht.data.shapes.push({ty:"no"}),ht.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"})));}}}}(),Z=function(){var Lt=[5,7,15];function Kt(Et){var ht=Et.t.p;typeof ht.a=="number"&&(ht.a={a:0,k:ht.a}),typeof ht.p=="number"&&(ht.p={a:0,k:ht.p}),typeof ht.r=="number"&&(ht.r={a:0,k:ht.r});}function _t(Et){var ht,Ct=Et.length;for(ht=0;ht<Ct;ht+=1)Et[ht].ty===5&&Kt(Et[ht]);}return function(Et){if(R(Lt,Et.v)&&(_t(Et.layers),Et.assets)){var ht,Ct=Et.assets.length;for(ht=0;ht<Ct;ht+=1)Et.assets[ht].layers&&_t(Et.assets[ht].layers);}}}(),ct=function(){var Lt=[4,1,9];function Kt(Et){var ht,Ct=Et.length,Ft,wt;for(ht=0;ht<Ct;ht+=1)if(Et[ht].ty==="gr")Kt(Et[ht].it);else if(Et[ht].ty==="fl"||Et[ht].ty==="st")if(Et[ht].c.k&&Et[ht].c.k[0].i)for(wt=Et[ht].c.k.length,Ft=0;Ft<wt;Ft+=1)Et[ht].c.k[Ft].s&&(Et[ht].c.k[Ft].s[0]/=255,Et[ht].c.k[Ft].s[1]/=255,Et[ht].c.k[Ft].s[2]/=255,Et[ht].c.k[Ft].s[3]/=255),Et[ht].c.k[Ft].e&&(Et[ht].c.k[Ft].e[0]/=255,Et[ht].c.k[Ft].e[1]/=255,Et[ht].c.k[Ft].e[2]/=255,Et[ht].c.k[Ft].e[3]/=255);else Et[ht].c.k[0]/=255,Et[ht].c.k[1]/=255,Et[ht].c.k[2]/=255,Et[ht].c.k[3]/=255;}function _t(Et){var ht,Ct=Et.length;for(ht=0;ht<Ct;ht+=1)Et[ht].ty===4&&Kt(Et[ht].shapes);}return function(Et){if(R(Lt,Et.v)&&(_t(Et.layers),Et.assets)){var ht,Ct=Et.assets.length;for(ht=0;ht<Ct;ht+=1)Et.assets[ht].layers&&_t(Et.assets[ht].layers);}}}(),mt=function(){var Lt=[4,4,18];function Kt(Et){var ht,Ct=Et.length,Ft,wt;for(ht=Ct-1;ht>=0;ht-=1)if(Et[ht].ty==="sh")if(Et[ht].ks.k.i)Et[ht].ks.k.c=Et[ht].closed;else for(wt=Et[ht].ks.k.length,Ft=0;Ft<wt;Ft+=1)Et[ht].ks.k[Ft].s&&(Et[ht].ks.k[Ft].s[0].c=Et[ht].closed),Et[ht].ks.k[Ft].e&&(Et[ht].ks.k[Ft].e[0].c=Et[ht].closed);else Et[ht].ty==="gr"&&Kt(Et[ht].it);}function _t(Et){var ht,Ct,Ft=Et.length,wt,St,At,ut;for(Ct=0;Ct<Ft;Ct+=1){if(ht=Et[Ct],ht.hasMask){var Dt=ht.masksProperties;for(St=Dt.length,wt=0;wt<St;wt+=1)if(Dt[wt].pt.k.i)Dt[wt].pt.k.c=Dt[wt].cl;else for(ut=Dt[wt].pt.k.length,At=0;At<ut;At+=1)Dt[wt].pt.k[At].s&&(Dt[wt].pt.k[At].s[0].c=Dt[wt].cl),Dt[wt].pt.k[At].e&&(Dt[wt].pt.k[At].e[0].c=Dt[wt].cl);}ht.ty===4&&Kt(ht.shapes);}}return function(Et){if(R(Lt,Et.v)&&(_t(Et.layers),Et.assets)){var ht,Ct=Et.assets.length;for(ht=0;ht<Ct;ht+=1)Et.assets[ht].layers&&_t(Et.assets[ht].layers);}}}();function Pt(Lt){Lt.__complete||(ct(Lt),rt(Lt),at(Lt),Z(Lt),mt(Lt),it(Lt.layers,Lt.assets),lt(Lt.chars,Lt.assets),Lt.__complete=!0);}function Rt(Lt){Lt.t.a.length===0&&"m"in Lt.t.p;}var jt={};return jt.completeData=Pt,jt.checkColors=ct,jt.checkChars=at,jt.checkPathProperties=Z,jt.checkShapes=mt,jt.completeLayers=it,jt}if(V.dataManager||(V.dataManager=K()),V.assetLoader||(V.assetLoader=function(){function it(tt){var H=tt.getResponseHeader("content-type");return H&&tt.responseType==="json"&&H.indexOf("json")!==-1||tt.response&&Wt(tt.response)==="object"?tt.response:tt.response&&typeof tt.response=="string"?JSON.parse(tt.response):tt.responseText?JSON.parse(tt.responseText):null}function lt(tt,H,j,W){var R,rt=new XMLHttpRequest;try{rt.responseType="json";}catch{}rt.onreadystatechange=function(){if(rt.readyState===4)if(rt.status===200)R=it(rt),j(R);else try{R=it(rt),j(R);}catch(at){W&&W(at);}};try{rt.open(["G","E","T"].join(""),tt,!0);}catch{rt.open(["G","E","T"].join(""),H+"/"+tt,!0);}rt.send();}return {load:lt}}()),G.data.type==="loadAnimation")V.assetLoader.load(G.data.path,G.data.fullPath,function(it){V.dataManager.completeData(it),V.postMessage({id:G.data.id,payload:it,status:"success"});},function(){V.postMessage({id:G.data.id,status:"error"});});else if(G.data.type==="complete"){var X=G.data.animation;V.dataManager.completeData(X),V.postMessage({id:G.data.id,payload:X,status:"success"});}else G.data.type==="loadData"&&V.assetLoader.load(G.data.path,G.data.fullPath,function(it){V.postMessage({id:G.data.id,payload:it,status:"success"});},function(){V.postMessage({id:G.data.id,status:"error"});});}),L.onmessage=function(G){var K=G.data,X=K.id,it=k[X];k[X]=null,K.status==="success"?it.onComplete(K.payload):it.onError&&it.onError();});}function b(G,K){l+=1;var X="processId_"+l;return k[X]={onComplete:G,onError:K},X}function T(G,K,X){f();var it=b(K,X);L.postMessage({type:"loadAnimation",path:G,fullPath:window.location.origin+window.location.pathname,id:it});}function I(G,K,X){f();var it=b(K,X);L.postMessage({type:"loadData",path:G,fullPath:window.location.origin+window.location.pathname,id:it});}function F(G,K,X){f();var it=b(K,X);L.postMessage({type:"complete",animation:G,id:it});}return {loadAnimation:T,loadData:I,completeAnimation:F}}(),Ke=function(){var l=function(){var tt=_("canvas");tt.width=1,tt.height=1;var H=tt.getContext("2d");return H.fillStyle="rgba(0,0,0,0)",H.fillRect(0,0,1,1),tt}();function k(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function C(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null);}function L(tt,H,j){var W="";if(tt.e)W=tt.p;else if(H){var R=tt.p;R.indexOf("images/")!==-1&&(R=R.split("/")[1]),W=H+R;}else W=j,W+=tt.u?tt.u:"",W+=tt.p;return W}function O(tt){var H=0,j=setInterval(function(){var W=tt.getBBox();(W.width||H>500)&&(this._imageLoaded(),clearInterval(j)),H+=1;}.bind(this),50);}function V(tt){var H=L(tt,this.assetsPath,this.path),j=Xt("image");x?this.testImageLoaded(j):j.addEventListener("load",this._imageLoaded,!1),j.addEventListener("error",function(){W.img=l,this._imageLoaded();}.bind(this),!1),j.setAttributeNS("http://www.w3.org/1999/xlink","href",H),this._elementHelper.append?this._elementHelper.append(j):this._elementHelper.appendChild(j);var W={img:j,assetData:tt};return W}function n(tt){var H=L(tt,this.assetsPath,this.path),j=_("img");j.crossOrigin="anonymous",j.addEventListener("load",this._imageLoaded,!1),j.addEventListener("error",function(){W.img=l,this._imageLoaded();}.bind(this),!1),j.src=H;var W={img:j,assetData:tt};return W}function f(tt){var H={assetData:tt},j=L(tt,this.assetsPath,this.path);return ze.loadData(j,function(W){H.img=W,this._footageLoaded();}.bind(this),function(){H.img={},this._footageLoaded();}.bind(this)),H}function b(tt,H){this.imagesLoadedCb=H;var j,W=tt.length;for(j=0;j<W;j+=1)tt[j].layers||(!tt[j].t||tt[j].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(tt[j]))):tt[j].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(tt[j]))));}function T(tt){this.path=tt||"";}function I(tt){this.assetsPath=tt||"";}function F(tt){for(var H=0,j=this.images.length;H<j;){if(this.images[H].assetData===tt)return this.images[H].img;H+=1;}return null}function G(){this.imagesLoadedCb=null,this.images.length=0;}function K(){return this.totalImages===this.loadedAssets}function X(){return this.totalFootages===this.loadedFootagesCount}function it(tt,H){tt==="svg"?(this._elementHelper=H,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function lt(){this._imageLoaded=k.bind(this),this._footageLoaded=C.bind(this),this.testImageLoaded=O.bind(this),this.createFootageData=f.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return lt.prototype={loadAssets:b,setAssetsPath:I,setPath:T,loadedImages:K,loadedFootages:X,destroy:G,getAsset:F,createImgData:n,createImageData:V,imageLoaded:k,footageLoaded:C,setCacheType:it},lt}();function We(){}We.prototype={triggerEvent:function(l,k){if(this._cbs[l])for(var C=this._cbs[l],L=0;L<C.length;L+=1)C[L](k);},addEventListener:function(l,k){return this._cbs[l]||(this._cbs[l]=[]),this._cbs[l].push(k),function(){this.removeEventListener(l,k);}.bind(this)},removeEventListener:function(l,k){if(!k)this._cbs[l]=null;else if(this._cbs[l]){for(var C=0,L=this._cbs[l].length;C<L;)this._cbs[l][C]===k&&(this._cbs[l].splice(C,1),C-=1,L-=1),C+=1;this._cbs[l].length||(this._cbs[l]=null);}}};var Le=function(){function l(k){for(var C=k.split(`\r
`),L={},O,V=0,n=0;n<C.length;n+=1)O=C[n].split(":"),O.length===2&&(L[O[0]]=O[1].trim(),V+=1);if(V===0)throw new Error;return L}return function(k){for(var C=[],L=0;L<k.length;L+=1){var O=k[L],V={time:O.tm,duration:O.dr};try{V.payload=JSON.parse(k[L].cm);}catch{try{V.payload=l(k[L].cm);}catch{V.payload={name:k[L].cm};}}C.push(V);}return C}}(),Re=function(){function l(k){this.compositions.push(k);}return function(){function k(C){for(var L=0,O=this.compositions.length;L<O;){if(this.compositions[L].data&&this.compositions[L].data.nm===C)return this.compositions[L].prepareFrame&&this.compositions[L].data.xt&&this.compositions[L].prepareFrame(this.currentFrame),this.compositions[L].compInterface;L+=1;}return null}return k.compositions=[],k.currentFrame=0,k.registerComposition=l,k}}(),Oe={},be=function(l,k){Oe[l]=k;};function re(l){return Oe[l]}function Nt(){if(Oe.canvas)return "canvas";for(var l in Oe)if(Oe[l])return l;return ""}function ae(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?ae=function(k){return typeof k}:ae=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},ae(l)}var ne=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=nt(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=he(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=Re(),this.imagePreloader=new Ke,this.audioController=S(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new It("drawnFrame",0,0,0),this.expressionsPlugin=Se();};v([We],ne),ne.prototype.setParams=function(l){(l.wrapper||l.container)&&(this.wrapper=l.wrapper||l.container);var k="svg";l.animType?k=l.animType:l.renderer&&(k=l.renderer);var C=re(k);this.renderer=new C(this,l.rendererSettings),this.imagePreloader.setCacheType(k,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=k,l.loop===""||l.loop===null||l.loop===void 0||l.loop===!0?this.loop=!0:l.loop===!1?this.loop=!1:this.loop=parseInt(l.loop,10),this.autoplay="autoplay"in l?l.autoplay:!0,this.name=l.name?l.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(l,"autoloadSegments")?l.autoloadSegments:!0,this.assetsPath=l.assetsPath,this.initialSegment=l.initialSegment,l.audioFactory&&this.audioController.setAudioFactory(l.audioFactory),l.animationData?this.setupAnimation(l.animationData):l.path&&(l.path.lastIndexOf("\\")!==-1?this.path=l.path.substr(0,l.path.lastIndexOf("\\")+1):this.path=l.path.substr(0,l.path.lastIndexOf("/")+1),this.fileName=l.path.substr(l.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),ze.loadAnimation(l.path,this.configAnimation,this.onSetupError));},ne.prototype.onSetupError=function(){this.trigger("data_failed");},ne.prototype.setupAnimation=function(l){ze.completeAnimation(l,this.configAnimation);},ne.prototype.setData=function(l,k){k&&ae(k)!=="object"&&(k=JSON.parse(k));var C={wrapper:l,animationData:k},L=l.attributes;C.path=L.getNamedItem("data-animation-path")?L.getNamedItem("data-animation-path").value:L.getNamedItem("data-bm-path")?L.getNamedItem("data-bm-path").value:L.getNamedItem("bm-path")?L.getNamedItem("bm-path").value:"",C.animType=L.getNamedItem("data-anim-type")?L.getNamedItem("data-anim-type").value:L.getNamedItem("data-bm-type")?L.getNamedItem("data-bm-type").value:L.getNamedItem("bm-type")?L.getNamedItem("bm-type").value:L.getNamedItem("data-bm-renderer")?L.getNamedItem("data-bm-renderer").value:L.getNamedItem("bm-renderer")?L.getNamedItem("bm-renderer").value:Nt()||"canvas";var O=L.getNamedItem("data-anim-loop")?L.getNamedItem("data-anim-loop").value:L.getNamedItem("data-bm-loop")?L.getNamedItem("data-bm-loop").value:L.getNamedItem("bm-loop")?L.getNamedItem("bm-loop").value:"";O==="false"?C.loop=!1:O==="true"?C.loop=!0:O!==""&&(C.loop=parseInt(O,10));var V=L.getNamedItem("data-anim-autoplay")?L.getNamedItem("data-anim-autoplay").value:L.getNamedItem("data-bm-autoplay")?L.getNamedItem("data-bm-autoplay").value:L.getNamedItem("bm-autoplay")?L.getNamedItem("bm-autoplay").value:!0;C.autoplay=V!=="false",C.name=L.getNamedItem("data-name")?L.getNamedItem("data-name").value:L.getNamedItem("data-bm-name")?L.getNamedItem("data-bm-name").value:L.getNamedItem("bm-name")?L.getNamedItem("bm-name").value:"";var n=L.getNamedItem("data-anim-prerender")?L.getNamedItem("data-anim-prerender").value:L.getNamedItem("data-bm-prerender")?L.getNamedItem("data-bm-prerender").value:L.getNamedItem("bm-prerender")?L.getNamedItem("bm-prerender").value:"";n==="false"&&(C.prerender=!1),C.path?this.setParams(C):this.trigger("destroy");},ne.prototype.includeLayers=function(l){l.op>this.animationData.op&&(this.animationData.op=l.op,this.totalFrames=Math.floor(l.op-this.animationData.ip));var k=this.animationData.layers,C,L=k.length,O=l.layers,V,n=O.length;for(V=0;V<n;V+=1)for(C=0;C<L;){if(k[C].id===O[V].id){k[C]=O[V];break}C+=1;}if((l.chars||l.fonts)&&(this.renderer.globalData.fontManager.addChars(l.chars),this.renderer.globalData.fontManager.addFonts(l.fonts,this.renderer.globalData.defs)),l.assets)for(L=l.assets.length,C=0;C<L;C+=1)this.animationData.assets.push(l.assets[C]);this.animationData.__complete=!1,ze.completeAnimation(this.animationData,this.onSegmentComplete);},ne.prototype.onSegmentComplete=function(l){this.animationData=l;var k=Se();k&&k.initExpressions(this),this.loadNextSegment();},ne.prototype.loadNextSegment=function(){var l=this.animationData.segments;if(!l||l.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var k=l.shift();this.timeCompleted=k.time*this.frameRate;var C=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,ze.loadData(C,this.includeLayers.bind(this),function(){this.trigger("data_failed");}.bind(this));},ne.prototype.loadSegments=function(){var l=this.animationData.segments;l||(this.timeCompleted=this.totalFrames),this.loadNextSegment();},ne.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded();},ne.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this));},ne.prototype.configAnimation=function(l){if(this.renderer)try{this.animationData=l,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(l),l.assets||(l.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(l.assets),this.markers=Le(l.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause();}catch(k){this.triggerConfigError(k);}},ne.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20));},ne.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 l=Se();l&&l.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded");}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play();}},ne.prototype.resize=function(l,k){var C=typeof l=="number"?l:void 0,L=typeof k=="number"?k:void 0;this.renderer.updateContainerSize(C,L);},ne.prototype.setSubframe=function(l){this.isSubframeEnabled=!!l;},ne.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");},ne.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame);}catch(l){this.triggerRenderFrameError(l);}},ne.prototype.play=function(l){l&&this.name!==l||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")));},ne.prototype.pause=function(l){l&&this.name!==l||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause());},ne.prototype.togglePause=function(l){l&&this.name!==l||(this.isPaused===!0?this.play():this.pause());},ne.prototype.stop=function(l){l&&this.name!==l||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0));},ne.prototype.getMarkerData=function(l){for(var k,C=0;C<this.markers.length;C+=1)if(k=this.markers[C],k.payload&&k.payload.name===l)return k;return null},ne.prototype.goToAndStop=function(l,k,C){if(!(C&&this.name!==C)){var L=Number(l);if(isNaN(L)){var O=this.getMarkerData(l);O&&this.goToAndStop(O.time,!0);}else k?this.setCurrentRawFrameValue(l):this.setCurrentRawFrameValue(l*this.frameModifier);this.pause();}},ne.prototype.goToAndPlay=function(l,k,C){if(!(C&&this.name!==C)){var L=Number(l);if(isNaN(L)){var O=this.getMarkerData(l);O&&(O.duration?this.playSegments([O.time,O.time+O.duration],!0):this.goToAndStop(O.time,!0));}else this.goToAndStop(L,k,C);this.play();}},ne.prototype.advanceTime=function(l){if(!(this.isPaused===!0||this.isLoaded===!1)){var k=this.currentRawFrame+l*this.frameModifier,C=!1;k>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(k>this.totalFrames?k%this.totalFrames:0)||(C=!0,k=this.totalFrames-1):k>=this.totalFrames?(this.playCount+=1,this.checkSegments(k%this.totalFrames)||(this.setCurrentRawFrameValue(k%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(k):k<0?this.checkSegments(k%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+k%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(C=!0,k=0)):this.setCurrentRawFrameValue(k),C&&(this.setCurrentRawFrameValue(k),this.pause(),this.trigger("complete"));}},ne.prototype.adjustSegment=function(l,k){this.playCount=0,l[1]<l[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=l[0]-l[1],this.timeCompleted=this.totalFrames,this.firstFrame=l[1],this.setCurrentRawFrameValue(this.totalFrames-.001-k)):l[1]>l[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=l[1]-l[0],this.timeCompleted=this.totalFrames,this.firstFrame=l[0],this.setCurrentRawFrameValue(.001+k)),this.trigger("segmentStart");},ne.prototype.setSegment=function(l,k){var C=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<l?C=l:this.currentRawFrame+this.firstFrame>k&&(C=k-l)),this.firstFrame=l,this.totalFrames=k-l,this.timeCompleted=this.totalFrames,C!==-1&&this.goToAndStop(C,!0);},ne.prototype.playSegments=function(l,k){if(k&&(this.segments.length=0),ae(l[0])==="object"){var C,L=l.length;for(C=0;C<L;C+=1)this.segments.push(l[C]);}else this.segments.push(l);this.segments.length&&k&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play();},ne.prototype.resetSegments=function(l){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),l&&this.checkSegments(0);},ne.prototype.checkSegments=function(l){return this.segments.length?(this.adjustSegment(this.segments.shift(),l),!0):!1},ne.prototype.destroy=function(l){l&&this.name!==l||!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);},ne.prototype.setCurrentRawFrameValue=function(l){this.currentRawFrame=l,this.gotoFrame();},ne.prototype.setSpeed=function(l){this.playSpeed=l,this.updaFrameModifier();},ne.prototype.setDirection=function(l){this.playDirection=l<0?-1:1,this.updaFrameModifier();},ne.prototype.setLoop=function(l){this.loop=l;},ne.prototype.setVolume=function(l,k){k&&this.name!==k||this.audioController.setVolume(l);},ne.prototype.getVolume=function(){return this.audioController.getVolume()},ne.prototype.mute=function(l){l&&this.name!==l||this.audioController.mute();},ne.prototype.unmute=function(l){l&&this.name!==l||this.audioController.unmute();},ne.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection);},ne.prototype.getPath=function(){return this.path},ne.prototype.getAssetsPath=function(l){var k="";if(l.e)k=l.p;else if(this.assetsPath){var C=l.p;C.indexOf("images/")!==-1&&(C=C.split("/")[1]),k=this.assetsPath+C;}else k=this.path,k+=l.u?l.u:"",k+=l.p;return k},ne.prototype.getAssetData=function(l){for(var k=0,C=this.assets.length;k<C;){if(l===this.assets[k].id)return this.assets[k];k+=1;}return null},ne.prototype.hide=function(){this.renderer.hide();},ne.prototype.show=function(){this.renderer.show();},ne.prototype.getDuration=function(l){return l?this.totalFrames:this.totalFrames/this.frameRate},ne.prototype.updateDocumentData=function(l,k,C){try{var L=this.renderer.getElementByPath(l);L.updateDocumentData(k,C);}catch{}},ne.prototype.trigger=function(l){if(this._cbs&&this._cbs[l])switch(l){case"enterFrame":this.triggerEvent(l,new It(l,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(l,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(l,new Tt(l,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(l,new ot(l,this.frameMult));break;case"segmentStart":this.triggerEvent(l,new z(l,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(l,new $(l,this));break;default:this.triggerEvent(l);}l==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new It(l,this.currentFrame,this.totalFrames,this.frameMult)),l==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new Tt(l,this.loop,this.playCount,this.frameMult)),l==="complete"&&this.onComplete&&this.onComplete.call(this,new ot(l,this.frameMult)),l==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new z(l,this.firstFrame,this.totalFrames)),l==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new $(l,this));},ne.prototype.triggerRenderFrameError=function(l){var k=new E(l,this.currentFrame);this.triggerEvent("error",k),this.onError&&this.onError.call(this,k);},ne.prototype.triggerConfigError=function(l){var k=new q(l,this.currentFrame);this.triggerEvent("error",k),this.onError&&this.onError.call(this,k);};var ke=function(){var l={},k=[],C=0,L=0,O=0,V=!0,n=!1;function f(_t){for(var Et=0,ht=_t.target;Et<L;)k[Et].animation===ht&&(k.splice(Et,1),Et-=1,L-=1,ht.isPaused||F()),Et+=1;}function b(_t,Et){if(!_t)return null;for(var ht=0;ht<L;){if(k[ht].elem===_t&&k[ht].elem!==null)return k[ht].animation;ht+=1;}var Ct=new ne;return G(Ct,_t),Ct.setData(_t,Et),Ct}function T(){var _t,Et=k.length,ht=[];for(_t=0;_t<Et;_t+=1)ht.push(k[_t].animation);return ht}function I(){O+=1,mt();}function F(){O-=1;}function G(_t,Et){_t.addEventListener("destroy",f),_t.addEventListener("_active",I),_t.addEventListener("_idle",F),k.push({elem:Et,animation:_t}),L+=1;}function K(_t){var Et=new ne;return G(Et,null),Et.setParams(_t),Et}function X(_t,Et){var ht;for(ht=0;ht<L;ht+=1)k[ht].animation.setSpeed(_t,Et);}function it(_t,Et){var ht;for(ht=0;ht<L;ht+=1)k[ht].animation.setDirection(_t,Et);}function lt(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.play(_t);}function tt(_t){var Et=_t-C,ht;for(ht=0;ht<L;ht+=1)k[ht].animation.advanceTime(Et);C=_t,O&&!n?window.requestAnimationFrame(tt):V=!0;}function H(_t){C=_t,window.requestAnimationFrame(tt);}function j(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.pause(_t);}function W(_t,Et,ht){var Ct;for(Ct=0;Ct<L;Ct+=1)k[Ct].animation.goToAndStop(_t,Et,ht);}function R(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.stop(_t);}function rt(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.togglePause(_t);}function at(_t){var Et;for(Et=L-1;Et>=0;Et-=1)k[Et].animation.destroy(_t);}function Z(_t,Et,ht){var Ct=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),Ft,wt=Ct.length;for(Ft=0;Ft<wt;Ft+=1)ht&&Ct[Ft].setAttribute("data-bm-type",ht),b(Ct[Ft],_t);if(Et&&wt===0){ht||(ht="svg");var St=document.getElementsByTagName("body")[0];St.innerText="";var At=_("div");At.style.width="100%",At.style.height="100%",At.setAttribute("data-bm-type",ht),St.appendChild(At),b(At,_t);}}function ct(){var _t;for(_t=0;_t<L;_t+=1)k[_t].animation.resize();}function mt(){!n&&O&&V&&(window.requestAnimationFrame(H),V=!1);}function Pt(){n=!0;}function Rt(){n=!1,mt();}function jt(_t,Et){var ht;for(ht=0;ht<L;ht+=1)k[ht].animation.setVolume(_t,Et);}function Lt(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.mute(_t);}function Kt(_t){var Et;for(Et=0;Et<L;Et+=1)k[Et].animation.unmute(_t);}return l.registerAnimation=b,l.loadAnimation=K,l.setSpeed=X,l.setDirection=it,l.play=lt,l.pause=j,l.stop=R,l.togglePause=rt,l.searchAnimations=Z,l.resize=ct,l.goToAndStop=W,l.destroy=at,l.freeze=Pt,l.unfreeze=Rt,l.setVolume=jt,l.mute=Lt,l.unmute=Kt,l.getRegisteredAnimations=T,l}(),$e=function(){var l={};l.getBezierEasing=C;var k={};function C(H,j,W,R,rt){var at=rt||("bez_"+H+"_"+j+"_"+W+"_"+R).replace(/\./g,"p");if(k[at])return k[at];var Z=new tt([H,j,W,R]);return k[at]=Z,Z}var L=4,O=.001,V=1e-7,n=10,f=11,b=1/(f-1),T=typeof Float32Array=="function";function I(H,j){return 1-3*j+3*H}function F(H,j){return 3*j-6*H}function G(H){return 3*H}function K(H,j,W){return ((I(j,W)*H+F(j,W))*H+G(j))*H}function X(H,j,W){return 3*I(j,W)*H*H+2*F(j,W)*H+G(j)}function it(H,j,W,R,rt){var at,Z,ct=0;do Z=j+(W-j)/2,at=K(Z,R,rt)-H,at>0?W=Z:j=Z;while(Math.abs(at)>V&&++ct<n);return Z}function lt(H,j,W,R){for(var rt=0;rt<L;++rt){var at=X(j,W,R);if(at===0)return j;var Z=K(j,W,R)-H;j-=Z/at;}return j}function tt(H){this._p=H,this._mSampleValues=T?new Float32Array(f):new Array(f),this._precomputed=!1,this.get=this.get.bind(this);}return tt.prototype={get:function(H){var j=this._p[0],W=this._p[1],R=this._p[2],rt=this._p[3];return this._precomputed||this._precompute(),j===W&&R===rt?H:H===0?0:H===1?1:K(this._getTForX(H),W,rt)},_precompute:function(){var H=this._p[0],j=this._p[1],W=this._p[2],R=this._p[3];this._precomputed=!0,(H!==j||W!==R)&&this._calcSampleValues();},_calcSampleValues:function(){for(var H=this._p[0],j=this._p[2],W=0;W<f;++W)this._mSampleValues[W]=K(W*b,H,j);},_getTForX:function(H){for(var j=this._p[0],W=this._p[2],R=this._mSampleValues,rt=0,at=1,Z=f-1;at!==Z&&R[at]<=H;++at)rt+=b;--at;var ct=(H-R[at])/(R[at+1]-R[at]),mt=rt+ct*b,Pt=X(mt,j,W);return Pt>=O?lt(H,mt,j,W):Pt===0?mt:it(H,rt,rt+b,j,W)}},l}(),vi=function(){function l(k){return k.concat(g(k.length))}return {double:l}}(),bi=function(){return function(l,k,C){var L=0,O=l,V=g(O),n={newElement:f,release:b};function f(){var T;return L?(L-=1,T=V[L]):T=k(),T}function b(T){L===O&&(V=vi.double(V),O*=2),C&&C(T),V[L]=T,L+=1;}return n}}(),Fi=function(){function l(){return {addedLength:0,percents:d("float32",Jt()),lengths:d("float32",Jt())}}return bi(8,l)}(),ki=function(){function l(){return {lengths:[],totalLength:0}}function k(C){var L,O=C.lengths.length;for(L=0;L<O;L+=1)Fi.release(C.lengths[L]);C.lengths.length=0;}return bi(8,l,k)}();function Xi(){var l=Math;function k(G,K,X,it,lt,tt){var H=G*it+K*lt+X*tt-lt*it-tt*G-X*K;return H>-.001&&H<.001}function C(G,K,X,it,lt,tt,H,j,W){if(X===0&&tt===0&&W===0)return k(G,K,it,lt,H,j);var R=l.sqrt(l.pow(it-G,2)+l.pow(lt-K,2)+l.pow(tt-X,2)),rt=l.sqrt(l.pow(H-G,2)+l.pow(j-K,2)+l.pow(W-X,2)),at=l.sqrt(l.pow(H-it,2)+l.pow(j-lt,2)+l.pow(W-tt,2)),Z;return R>rt?R>at?Z=R-rt-at:Z=at-rt-R:at>rt?Z=at-rt-R:Z=rt-R-at,Z>-1e-4&&Z<1e-4}var L=function(){return function(G,K,X,it){var lt=Jt(),tt,H,j,W,R,rt=0,at,Z=[],ct=[],mt=Fi.newElement();for(j=X.length,tt=0;tt<lt;tt+=1){for(R=tt/(lt-1),at=0,H=0;H<j;H+=1)W=w(1-R,3)*G[H]+3*w(1-R,2)*R*X[H]+3*(1-R)*w(R,2)*it[H]+w(R,3)*K[H],Z[H]=W,ct[H]!==null&&(at+=w(Z[H]-ct[H],2)),ct[H]=Z[H];at&&(at=M(at),rt+=at),mt.percents[tt]=R,mt.lengths[tt]=rt;}return mt.addedLength=rt,mt}}();function O(G){var K=ki.newElement(),X=G.c,it=G.v,lt=G.o,tt=G.i,H,j=G._length,W=K.lengths,R=0;for(H=0;H<j-1;H+=1)W[H]=L(it[H],it[H+1],lt[H],tt[H+1]),R+=W[H].addedLength;return X&&j&&(W[H]=L(it[H],it[0],lt[H],tt[0]),R+=W[H].addedLength),K.totalLength=R,K}function V(G){this.segmentLength=0,this.points=new Array(G);}function n(G,K){this.partialLength=G,this.point=K;}var f=function(){var G={};return function(K,X,it,lt){var tt=(K[0]+"_"+K[1]+"_"+X[0]+"_"+X[1]+"_"+it[0]+"_"+it[1]+"_"+lt[0]+"_"+lt[1]).replace(/\./g,"p");if(!G[tt]){var H=Jt(),j,W,R,rt,at,Z=0,ct,mt,Pt=null;K.length===2&&(K[0]!==X[0]||K[1]!==X[1])&&k(K[0],K[1],X[0],X[1],K[0]+it[0],K[1]+it[1])&&k(K[0],K[1],X[0],X[1],X[0]+lt[0],X[1]+lt[1])&&(H=2);var Rt=new V(H);for(R=it.length,j=0;j<H;j+=1){for(mt=g(R),at=j/(H-1),ct=0,W=0;W<R;W+=1)rt=w(1-at,3)*K[W]+3*w(1-at,2)*at*(K[W]+it[W])+3*(1-at)*w(at,2)*(X[W]+lt[W])+w(at,3)*X[W],mt[W]=rt,Pt!==null&&(ct+=w(mt[W]-Pt[W],2));ct=M(ct),Z+=ct,Rt.points[j]=new n(ct,mt),Pt=mt;}Rt.segmentLength=Z,G[tt]=Rt;}return G[tt]}}();function b(G,K){var X=K.percents,it=K.lengths,lt=X.length,tt=N((lt-1)*G),H=G*K.addedLength,j=0;if(tt===lt-1||tt===0||H===it[tt])return X[tt];for(var W=it[tt]>H?-1:1,R=!0;R;)if(it[tt]<=H&&it[tt+1]>H?(j=(H-it[tt])/(it[tt+1]-it[tt]),R=!1):tt+=W,tt<0||tt>=lt-1){if(tt===lt-1)return X[tt];R=!1;}return X[tt]+(X[tt+1]-X[tt])*j}function T(G,K,X,it,lt,tt){var H=b(lt,tt),j=1-H,W=l.round((j*j*j*G[0]+(H*j*j+j*H*j+j*j*H)*X[0]+(H*H*j+j*H*H+H*j*H)*it[0]+H*H*H*K[0])*1e3)/1e3,R=l.round((j*j*j*G[1]+(H*j*j+j*H*j+j*j*H)*X[1]+(H*H*j+j*H*H+H*j*H)*it[1]+H*H*H*K[1])*1e3)/1e3;return [W,R]}var I=d("float32",8);function F(G,K,X,it,lt,tt,H){lt<0?lt=0:lt>1&&(lt=1);var j=b(lt,H);tt=tt>1?1:tt;var W=b(tt,H),R,rt=G.length,at=1-j,Z=1-W,ct=at*at*at,mt=j*at*at*3,Pt=j*j*at*3,Rt=j*j*j,jt=at*at*Z,Lt=j*at*Z+at*j*Z+at*at*W,Kt=j*j*Z+at*j*W+j*at*W,_t=j*j*W,Et=at*Z*Z,ht=j*Z*Z+at*W*Z+at*Z*W,Ct=j*W*Z+at*W*W+j*Z*W,Ft=j*W*W,wt=Z*Z*Z,St=W*Z*Z+Z*W*Z+Z*Z*W,At=W*W*Z+Z*W*W+W*Z*W,ut=W*W*W;for(R=0;R<rt;R+=1)I[R*4]=l.round((ct*G[R]+mt*X[R]+Pt*it[R]+Rt*K[R])*1e3)/1e3,I[R*4+1]=l.round((jt*G[R]+Lt*X[R]+Kt*it[R]+_t*K[R])*1e3)/1e3,I[R*4+2]=l.round((Et*G[R]+ht*X[R]+Ct*it[R]+Ft*K[R])*1e3)/1e3,I[R*4+3]=l.round((wt*G[R]+St*X[R]+At*it[R]+ut*K[R])*1e3)/1e3;return I}return {getSegmentsLength:O,getNewSegment:F,getPointInSegment:T,buildBezierData:f,pointOnLine2D:k,pointOnLine3D:C}}var Ki=Xi(),Vr=a,ha=Math.abs;function jr(l,k){var C=this.offsetTime,L;this.propType==="multidimensional"&&(L=d("float32",this.pv.length));for(var O=k.lastIndex,V=O,n=this.keyframes.length-1,f=!0,b,T,I;f;){if(b=this.keyframes[V],T=this.keyframes[V+1],V===n-1&&l>=T.t-C){b.h&&(b=T),O=0;break}if(T.t-C>l){O=V;break}V<n-1?V+=1:(O=0,f=!1);}I=this.keyframesMetadata[V]||{};var F,G,K,X,it,lt,tt=T.t-C,H=b.t-C,j;if(b.to){I.bezierData||(I.bezierData=Ki.buildBezierData(b.s,T.s||b.e,b.to,b.ti));var W=I.bezierData;if(l>=tt||l<H){var R=l>=tt?W.points.length-1:0;for(G=W.points[R].point.length,F=0;F<G;F+=1)L[F]=W.points[R].point[F];}else {I.__fnct?lt=I.__fnct:(lt=$e.getBezierEasing(b.o.x,b.o.y,b.i.x,b.i.y,b.n).get,I.__fnct=lt),K=lt((l-H)/(tt-H));var rt=W.segmentLength*K,at,Z=k.lastFrame<l&&k._lastKeyframeIndex===V?k._lastAddedLength:0;for(it=k.lastFrame<l&&k._lastKeyframeIndex===V?k._lastPoint:0,f=!0,X=W.points.length;f;){if(Z+=W.points[it].partialLength,rt===0||K===0||it===W.points.length-1){for(G=W.points[it].point.length,F=0;F<G;F+=1)L[F]=W.points[it].point[F];break}else if(rt>=Z&&rt<Z+W.points[it+1].partialLength){for(at=(rt-Z)/W.points[it+1].partialLength,G=W.points[it].point.length,F=0;F<G;F+=1)L[F]=W.points[it].point[F]+(W.points[it+1].point[F]-W.points[it].point[F])*at;break}it<X-1?it+=1:f=!1;}k._lastPoint=it,k._lastAddedLength=Z-W.points[it].partialLength,k._lastKeyframeIndex=V;}}else {var ct,mt,Pt,Rt,jt;if(n=b.s.length,j=T.s||b.e,this.sh&&b.h!==1)if(l>=tt)L[0]=j[0],L[1]=j[1],L[2]=j[2];else if(l<=H)L[0]=b.s[0],L[1]=b.s[1],L[2]=b.s[2];else {var Lt=Rr(b.s),Kt=Rr(j),_t=(l-H)/(tt-H);Js(L,ns(Lt,Kt,_t));}else for(V=0;V<n;V+=1)b.h!==1&&(l>=tt?K=1:l<H?K=0:(b.o.x.constructor===Array?(I.__fnct||(I.__fnct=[]),I.__fnct[V]?lt=I.__fnct[V]:(ct=b.o.x[V]===void 0?b.o.x[0]:b.o.x[V],mt=b.o.y[V]===void 0?b.o.y[0]:b.o.y[V],Pt=b.i.x[V]===void 0?b.i.x[0]:b.i.x[V],Rt=b.i.y[V]===void 0?b.i.y[0]:b.i.y[V],lt=$e.getBezierEasing(ct,mt,Pt,Rt).get,I.__fnct[V]=lt)):I.__fnct?lt=I.__fnct:(ct=b.o.x,mt=b.o.y,Pt=b.i.x,Rt=b.i.y,lt=$e.getBezierEasing(ct,mt,Pt,Rt).get,b.keyframeMetadata=lt),K=lt((l-H)/(tt-H)))),j=T.s||b.e,jt=b.h===1?b.s[V]:b.s[V]+(j[V]-b.s[V])*K,this.propType==="multidimensional"?L[V]=jt:L=jt;}return k.lastIndex=O,L}function ns(l,k,C){var L=[],O=l[0],V=l[1],n=l[2],f=l[3],b=k[0],T=k[1],I=k[2],F=k[3],G,K,X,it,lt;return K=O*b+V*T+n*I+f*F,K<0&&(K=-K,b=-b,T=-T,I=-I,F=-F),1-K>1e-6?(G=Math.acos(K),X=Math.sin(G),it=Math.sin((1-C)*G)/X,lt=Math.sin(C*G)/X):(it=1-C,lt=C),L[0]=it*O+lt*b,L[1]=it*V+lt*T,L[2]=it*n+lt*I,L[3]=it*f+lt*F,L}function Js(l,k){var C=k[0],L=k[1],O=k[2],V=k[3],n=Math.atan2(2*L*V-2*C*O,1-2*L*L-2*O*O),f=Math.asin(2*C*L+2*O*V),b=Math.atan2(2*C*V-2*L*O,1-2*C*C-2*O*O);l[0]=n/xt,l[1]=f/xt,l[2]=b/xt;}function Rr(l){var k=l[0]*xt,C=l[1]*xt,L=l[2]*xt,O=Math.cos(k/2),V=Math.cos(C/2),n=Math.cos(L/2),f=Math.sin(k/2),b=Math.sin(C/2),T=Math.sin(L/2),I=O*V*n-f*b*T,F=f*b*n+O*V*T,G=f*V*n+O*b*T,K=O*b*n-f*V*T;return [F,G,K,I]}function qr(){var l=this.comp.renderedFrame-this.offsetTime,k=this.keyframes[0].t-this.offsetTime,C=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(l===this._caching.lastFrame||this._caching.lastFrame!==Vr&&(this._caching.lastFrame>=C&&l>=C||this._caching.lastFrame<k&&l<k))){this._caching.lastFrame>=l&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var L=this.interpolateValue(l,this._caching);this.pv=L;}return this._caching.lastFrame=l,this.pv}function mr(l){var k;if(this.propType==="unidimensional")k=l*this.mult,ha(this.v-k)>1e-5&&(this.v=k,this._mdf=!0);else for(var C=0,L=this.v.length;C<L;)k=l[C]*this.mult,ha(this.v[C]-k)>1e-5&&(this.v[C]=k,this._mdf=!0),C+=1;}function $r(){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 l,k=this.effectsSequence.length,C=this.kf?this.pv:this.data.k;for(l=0;l<k;l+=1)C=this.effectsSequence[l](C);this.setVValue(C),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function Ls(l){this.effectsSequence.push(l),this.container.addDynamicProperty(this);}function Kr(l,k,C,L){this.propType="unidimensional",this.mult=C||1,this.data=k,this.v=C?k.k*C:k.k,this.pv=k.k,this._mdf=!1,this.elem=l,this.container=L,this.comp=l.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=$r,this.setVValue=mr,this.addEffect=Ls;}function Ca(l,k,C,L){this.propType="multidimensional",this.mult=C||1,this.data=k,this._mdf=!1,this.elem=l,this.container=L,this.comp=l.comp,this.k=!1,this.kf=!1,this.frameId=-1;var O,V=k.k.length;for(this.v=d("float32",V),this.pv=d("float32",V),this.vel=d("float32",V),O=0;O<V;O+=1)this.v[O]=k.k[O]*this.mult,this.pv[O]=k.k[O];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=$r,this.setVValue=mr,this.addEffect=Ls;}function te(l,k,C,L){this.propType="unidimensional",this.keyframes=k.k,this.keyframesMetadata=[],this.offsetTime=l.data.st,this.frameId=-1,this._caching={lastFrame:Vr,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=k,this.mult=C||1,this.elem=l,this.container=L,this.comp=l.comp,this.v=Vr,this.pv=Vr,this._isFirstFrame=!0,this.getValue=$r,this.setVValue=mr,this.interpolateValue=jr,this.effectsSequence=[qr.bind(this)],this.addEffect=Ls;}function Xe(l,k,C,L){this.propType="multidimensional";var O,V=k.k.length,n,f,b,T;for(O=0;O<V-1;O+=1)k.k[O].to&&k.k[O].s&&k.k[O+1]&&k.k[O+1].s&&(n=k.k[O].s,f=k.k[O+1].s,b=k.k[O].to,T=k.k[O].ti,(n.length===2&&!(n[0]===f[0]&&n[1]===f[1])&&Ki.pointOnLine2D(n[0],n[1],f[0],f[1],n[0]+b[0],n[1]+b[1])&&Ki.pointOnLine2D(n[0],n[1],f[0],f[1],f[0]+T[0],f[1]+T[1])||n.length===3&&!(n[0]===f[0]&&n[1]===f[1]&&n[2]===f[2])&&Ki.pointOnLine3D(n[0],n[1],n[2],f[0],f[1],f[2],n[0]+b[0],n[1]+b[1],n[2]+b[2])&&Ki.pointOnLine3D(n[0],n[1],n[2],f[0],f[1],f[2],f[0]+T[0],f[1]+T[1],f[2]+T[2]))&&(k.k[O].to=null,k.k[O].ti=null),n[0]===f[0]&&n[1]===f[1]&&b[0]===0&&b[1]===0&&T[0]===0&&T[1]===0&&(n.length===2||n[2]===f[2]&&b[2]===0&&T[2]===0)&&(k.k[O].to=null,k.k[O].ti=null));this.effectsSequence=[qr.bind(this)],this.data=k,this.keyframes=k.k,this.keyframesMetadata=[],this.offsetTime=l.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=C||1,this.elem=l,this.container=L,this.comp=l.comp,this.getValue=$r,this.setVValue=mr,this.interpolateValue=jr,this.frameId=-1;var I=k.k[0].s.length;for(this.v=d("float32",I),this.pv=d("float32",I),O=0;O<I;O+=1)this.v[O]=Vr,this.pv[O]=Vr;this._caching={lastFrame:Vr,lastIndex:0,value:d("float32",I)},this.addEffect=Ls;}var pe=function(){function l(C,L,O,V,n){L.sid&&(L=C.globalData.slotManager.getProp(L));var f;if(!L.k.length)f=new Kr(C,L,V,n);else if(typeof L.k[0]=="number")f=new Ca(C,L,V,n);else switch(O){case 0:f=new te(C,L,V,n);break;case 1:f=new Xe(C,L,V,n);break}return f.effectsSequence.length&&n.addDynamicProperty(f),f}var k={getProp:l};return k}();function Ye(){}Ye.prototype={addDynamicProperty:function(l){this.dynamicProperties.indexOf(l)===-1&&(this.dynamicProperties.push(l),this.container.addDynamicProperty(this),this._isAnimated=!0);},iterateDynamicProperties:function(){this._mdf=!1;var l,k=this.dynamicProperties.length;for(l=0;l<k;l+=1)this.dynamicProperties[l].getValue(),this.dynamicProperties[l]._mdf&&(this._mdf=!0);},initDynamicPropertyContainer:function(l){this.container=l,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1;}};var Ve=function(){function l(){return d("float32",2)}return bi(8,l)}();function Qi(){this.c=!1,this._length=0,this._maxLength=8,this.v=g(this._maxLength),this.o=g(this._maxLength),this.i=g(this._maxLength);}Qi.prototype.setPathData=function(l,k){this.c=l,this.setLength(k);for(var C=0;C<k;)this.v[C]=Ve.newElement(),this.o[C]=Ve.newElement(),this.i[C]=Ve.newElement(),C+=1;},Qi.prototype.setLength=function(l){for(;this._maxLength<l;)this.doubleArrayLength();this._length=l;},Qi.prototype.doubleArrayLength=function(){this.v=this.v.concat(g(this._maxLength)),this.i=this.i.concat(g(this._maxLength)),this.o=this.o.concat(g(this._maxLength)),this._maxLength*=2;},Qi.prototype.setXYAt=function(l,k,C,L,O){var V;switch(this._length=Math.max(this._length,L+1),this._length>=this._maxLength&&this.doubleArrayLength(),C){case"v":V=this.v;break;case"i":V=this.i;break;case"o":V=this.o;break;default:V=[];break}(!V[L]||V[L]&&!O)&&(V[L]=Ve.newElement()),V[L][0]=l,V[L][1]=k;},Qi.prototype.setTripleAt=function(l,k,C,L,O,V,n,f){this.setXYAt(l,k,"v",n,f),this.setXYAt(C,L,"o",n,f),this.setXYAt(O,V,"i",n,f);},Qi.prototype.reverse=function(){var l=new Qi;l.setPathData(this.c,this._length);var k=this.v,C=this.o,L=this.i,O=0;this.c&&(l.setTripleAt(k[0][0],k[0][1],L[0][0],L[0][1],C[0][0],C[0][1],0,!1),O=1);var V=this._length-1,n=this._length,f;for(f=O;f<n;f+=1)l.setTripleAt(k[V][0],k[V][1],L[V][0],L[V][1],C[V][0],C[V][1],f,!1),V-=1;return l},Qi.prototype.length=function(){return this._length};var ai=function(){function l(){return new Qi}function k(O){var V=O._length,n;for(n=0;n<V;n+=1)Ve.release(O.v[n]),Ve.release(O.i[n]),Ve.release(O.o[n]),O.v[n]=null,O.i[n]=null,O.o[n]=null;O._length=0,O.c=!1;}function C(O){var V=L.newElement(),n,f=O._length===void 0?O.v.length:O._length;for(V.setLength(f),V.c=O.c,n=0;n<f;n+=1)V.setTripleAt(O.v[n][0],O.v[n][1],O.o[n][0],O.o[n][1],O.i[n][0],O.i[n][1],n);return V}var L=bi(4,l,k);return L.clone=C,L}();function gr(){this._length=0,this._maxLength=4,this.shapes=g(this._maxLength);}gr.prototype.addShape=function(l){this._length===this._maxLength&&(this.shapes=this.shapes.concat(g(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=l,this._length+=1;},gr.prototype.releaseShapes=function(){var l;for(l=0;l<this._length;l+=1)ai.release(this.shapes[l]);this._length=0;};var Ge=function(){var l={newShapeCollection:O,release:V},k=0,C=4,L=g(C);function O(){var n;return k?(k-=1,n=L[k]):n=new gr,n}function V(n){var f,b=n._length;for(f=0;f<b;f+=1)ai.release(n.shapes[f]);n._length=0,k===C&&(L=vi.double(L),C*=2),L[k]=n,k+=1;}return l}(),kr=function(){var l=-999999;function k(tt,H,j){var W=j.lastIndex,R,rt,at,Z,ct,mt,Pt,Rt,jt,Lt=this.keyframes;if(tt<Lt[0].t-this.offsetTime)R=Lt[0].s[0],at=!0,W=0;else if(tt>=Lt[Lt.length-1].t-this.offsetTime)R=Lt[Lt.length-1].s?Lt[Lt.length-1].s[0]:Lt[Lt.length-2].e[0],at=!0;else {for(var Kt=W,_t=Lt.length-1,Et=!0,ht,Ct,Ft;Et&&(ht=Lt[Kt],Ct=Lt[Kt+1],!(Ct.t-this.offsetTime>tt));)Kt<_t-1?Kt+=1:Et=!1;if(Ft=this.keyframesMetadata[Kt]||{},at=ht.h===1,W=Kt,!at){if(tt>=Ct.t-this.offsetTime)Rt=1;else if(tt<ht.t-this.offsetTime)Rt=0;else {var wt;Ft.__fnct?wt=Ft.__fnct:(wt=$e.getBezierEasing(ht.o.x,ht.o.y,ht.i.x,ht.i.y).get,Ft.__fnct=wt),Rt=wt((tt-(ht.t-this.offsetTime))/(Ct.t-this.offsetTime-(ht.t-this.offsetTime)));}rt=Ct.s?Ct.s[0]:ht.e[0];}R=ht.s[0];}for(mt=H._length,Pt=R.i[0].length,j.lastIndex=W,Z=0;Z<mt;Z+=1)for(ct=0;ct<Pt;ct+=1)jt=at?R.i[Z][ct]:R.i[Z][ct]+(rt.i[Z][ct]-R.i[Z][ct])*Rt,H.i[Z][ct]=jt,jt=at?R.o[Z][ct]:R.o[Z][ct]+(rt.o[Z][ct]-R.o[Z][ct])*Rt,H.o[Z][ct]=jt,jt=at?R.v[Z][ct]:R.v[Z][ct]+(rt.v[Z][ct]-R.v[Z][ct])*Rt,H.v[Z][ct]=jt;}function C(){var tt=this.comp.renderedFrame-this.offsetTime,H=this.keyframes[0].t-this.offsetTime,j=this.keyframes[this.keyframes.length-1].t-this.offsetTime,W=this._caching.lastFrame;return W!==l&&(W<H&&tt<H||W>j&&tt>j)||(this._caching.lastIndex=W<tt?this._caching.lastIndex:0,this.interpolateShape(tt,this.pv,this._caching)),this._caching.lastFrame=tt,this.pv}function L(){this.paths=this.localShapeCollection;}function O(tt,H){if(tt._length!==H._length||tt.c!==H.c)return !1;var j,W=tt._length;for(j=0;j<W;j+=1)if(tt.v[j][0]!==H.v[j][0]||tt.v[j][1]!==H.v[j][1]||tt.o[j][0]!==H.o[j][0]||tt.o[j][1]!==H.o[j][1]||tt.i[j][0]!==H.i[j][0]||tt.i[j][1]!==H.i[j][1])return !1;return !0}function V(tt){O(this.v,tt)||(this.v=ai.clone(tt),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function n(){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 tt;this.kf?tt=this.pv:this.data.ks?tt=this.data.ks.k:tt=this.data.pt.k;var H,j=this.effectsSequence.length;for(H=0;H<j;H+=1)tt=this.effectsSequence[H](tt);this.setVValue(tt),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function f(tt,H,j){this.propType="shape",this.comp=tt.comp,this.container=tt,this.elem=tt,this.data=H,this.k=!1,this.kf=!1,this._mdf=!1;var W=j===3?H.pt.k:H.ks.k;this.v=ai.clone(W),this.pv=ai.clone(this.v),this.localShapeCollection=Ge.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=L,this.effectsSequence=[];}function b(tt){this.effectsSequence.push(tt),this.container.addDynamicProperty(this);}f.prototype.interpolateShape=k,f.prototype.getValue=n,f.prototype.setVValue=V,f.prototype.addEffect=b;function T(tt,H,j){this.propType="shape",this.comp=tt.comp,this.elem=tt,this.container=tt,this.offsetTime=tt.data.st,this.keyframes=j===3?H.pt.k:H.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var W=this.keyframes[0].s[0].i.length;this.v=ai.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,W),this.pv=ai.clone(this.v),this.localShapeCollection=Ge.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=l,this.reset=L,this._caching={lastFrame:l,lastIndex:0},this.effectsSequence=[C.bind(this)];}T.prototype.getValue=n,T.prototype.interpolateShape=k,T.prototype.setVValue=V,T.prototype.addEffect=b;var I=function(){var tt=vt;function H(j,W){this.v=ai.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=Ge.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=W.d,this.elem=j,this.comp=j.comp,this.frameId=-1,this.initDynamicPropertyContainer(j),this.p=pe.getProp(j,W.p,1,0,this),this.s=pe.getProp(j,W.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return H.prototype={reset:L,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath());},convertEllToPath:function(){var j=this.p.v[0],W=this.p.v[1],R=this.s.v[0]/2,rt=this.s.v[1]/2,at=this.d!==3,Z=this.v;Z.v[0][0]=j,Z.v[0][1]=W-rt,Z.v[1][0]=at?j+R:j-R,Z.v[1][1]=W,Z.v[2][0]=j,Z.v[2][1]=W+rt,Z.v[3][0]=at?j-R:j+R,Z.v[3][1]=W,Z.i[0][0]=at?j-R*tt:j+R*tt,Z.i[0][1]=W-rt,Z.i[1][0]=at?j+R:j-R,Z.i[1][1]=W-rt*tt,Z.i[2][0]=at?j+R*tt:j-R*tt,Z.i[2][1]=W+rt,Z.i[3][0]=at?j-R:j+R,Z.i[3][1]=W+rt*tt,Z.o[0][0]=at?j+R*tt:j-R*tt,Z.o[0][1]=W-rt,Z.o[1][0]=at?j+R:j-R,Z.o[1][1]=W+rt*tt,Z.o[2][0]=at?j-R*tt:j+R*tt,Z.o[2][1]=W+rt,Z.o[3][0]=at?j-R:j+R,Z.o[3][1]=W-rt*tt;}},v([Ye],H),H}(),F=function(){function tt(H,j){this.v=ai.newElement(),this.v.setPathData(!0,0),this.elem=H,this.comp=H.comp,this.data=j,this.frameId=-1,this.d=j.d,this.initDynamicPropertyContainer(H),j.sy===1?(this.ir=pe.getProp(H,j.ir,0,0,this),this.is=pe.getProp(H,j.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=pe.getProp(H,j.pt,0,0,this),this.p=pe.getProp(H,j.p,1,0,this),this.r=pe.getProp(H,j.r,0,xt,this),this.or=pe.getProp(H,j.or,0,0,this),this.os=pe.getProp(H,j.os,0,.01,this),this.localShapeCollection=Ge.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath());}return tt.prototype={reset:L,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath());},convertStarToPath:function(){var H=Math.floor(this.pt.v)*2,j=Math.PI*2/H,W=!0,R=this.or.v,rt=this.ir.v,at=this.os.v,Z=this.is.v,ct=2*Math.PI*R/(H*2),mt=2*Math.PI*rt/(H*2),Pt,Rt,jt,Lt,Kt=-Math.PI/2;Kt+=this.r.v;var _t=this.data.d===3?-1:1;for(this.v._length=0,Pt=0;Pt<H;Pt+=1){Rt=W?R:rt,jt=W?at:Z,Lt=W?ct:mt;var Et=Rt*Math.cos(Kt),ht=Rt*Math.sin(Kt),Ct=Et===0&&ht===0?0:ht/Math.sqrt(Et*Et+ht*ht),Ft=Et===0&&ht===0?0:-Et/Math.sqrt(Et*Et+ht*ht);Et+=+this.p.v[0],ht+=+this.p.v[1],this.v.setTripleAt(Et,ht,Et-Ct*Lt*jt*_t,ht-Ft*Lt*jt*_t,Et+Ct*Lt*jt*_t,ht+Ft*Lt*jt*_t,Pt,!0),W=!W,Kt+=j*_t;}},convertPolygonToPath:function(){var H=Math.floor(this.pt.v),j=Math.PI*2/H,W=this.or.v,R=this.os.v,rt=2*Math.PI*W/(H*4),at,Z=-Math.PI*.5,ct=this.data.d===3?-1:1;for(Z+=this.r.v,this.v._length=0,at=0;at<H;at+=1){var mt=W*Math.cos(Z),Pt=W*Math.sin(Z),Rt=mt===0&&Pt===0?0:Pt/Math.sqrt(mt*mt+Pt*Pt),jt=mt===0&&Pt===0?0:-mt/Math.sqrt(mt*mt+Pt*Pt);mt+=+this.p.v[0],Pt+=+this.p.v[1],this.v.setTripleAt(mt,Pt,mt-Rt*rt*R*ct,Pt-jt*rt*R*ct,mt+Rt*rt*R*ct,Pt+jt*rt*R*ct,at,!0),Z+=j*ct;}this.paths.length=0,this.paths[0]=this.v;}},v([Ye],tt),tt}(),G=function(){function tt(H,j){this.v=ai.newElement(),this.v.c=!0,this.localShapeCollection=Ge.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=H,this.comp=H.comp,this.frameId=-1,this.d=j.d,this.initDynamicPropertyContainer(H),this.p=pe.getProp(H,j.p,1,0,this),this.s=pe.getProp(H,j.s,1,0,this),this.r=pe.getProp(H,j.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return tt.prototype={convertRectToPath:function(){var H=this.p.v[0],j=this.p.v[1],W=this.s.v[0]/2,R=this.s.v[1]/2,rt=Y(W,R,this.r.v),at=rt*(1-vt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(H+W,j-R+rt,H+W,j-R+rt,H+W,j-R+at,0,!0),this.v.setTripleAt(H+W,j+R-rt,H+W,j+R-at,H+W,j+R-rt,1,!0),rt!==0?(this.v.setTripleAt(H+W-rt,j+R,H+W-rt,j+R,H+W-at,j+R,2,!0),this.v.setTripleAt(H-W+rt,j+R,H-W+at,j+R,H-W+rt,j+R,3,!0),this.v.setTripleAt(H-W,j+R-rt,H-W,j+R-rt,H-W,j+R-at,4,!0),this.v.setTripleAt(H-W,j-R+rt,H-W,j-R+at,H-W,j-R+rt,5,!0),this.v.setTripleAt(H-W+rt,j-R,H-W+rt,j-R,H-W+at,j-R,6,!0),this.v.setTripleAt(H+W-rt,j-R,H+W-at,j-R,H+W-rt,j-R,7,!0)):(this.v.setTripleAt(H-W,j+R,H-W+at,j+R,H-W,j+R,2),this.v.setTripleAt(H-W,j-R,H-W,j-R+at,H-W,j-R,3))):(this.v.setTripleAt(H+W,j-R+rt,H+W,j-R+at,H+W,j-R+rt,0,!0),rt!==0?(this.v.setTripleAt(H+W-rt,j-R,H+W-rt,j-R,H+W-at,j-R,1,!0),this.v.setTripleAt(H-W+rt,j-R,H-W+at,j-R,H-W+rt,j-R,2,!0),this.v.setTripleAt(H-W,j-R+rt,H-W,j-R+rt,H-W,j-R+at,3,!0),this.v.setTripleAt(H-W,j+R-rt,H-W,j+R-at,H-W,j+R-rt,4,!0),this.v.setTripleAt(H-W+rt,j+R,H-W+rt,j+R,H-W+at,j+R,5,!0),this.v.setTripleAt(H+W-rt,j+R,H+W-at,j+R,H+W-rt,j+R,6,!0),this.v.setTripleAt(H+W,j+R-rt,H+W,j+R-rt,H+W,j+R-at,7,!0)):(this.v.setTripleAt(H-W,j-R,H-W+at,j-R,H-W,j-R,1,!0),this.v.setTripleAt(H-W,j+R,H-W,j+R-at,H-W,j+R,2,!0),this.v.setTripleAt(H+W,j+R,H+W-at,j+R,H+W,j+R,3,!0)));},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath());},reset:L},v([Ye],tt),tt}();function K(tt,H,j){var W;if(j===3||j===4){var R=j===3?H.pt:H.ks,rt=R.k;rt.length?W=new T(tt,H,j):W=new f(tt,H,j);}else j===5?W=new G(tt,H):j===6?W=new I(tt,H):j===7&&(W=new F(tt,H));return W.k&&tt.addDynamicProperty(W),W}function X(){return f}function it(){return T}var lt={};return lt.getShapeProp=K,lt.getConstructorFunction=X,lt.getKeyframedConstructorFunction=it,lt}(),ue=function(){var l=Math.cos,k=Math.sin,C=Math.tan,L=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 V(ht){if(ht===0)return this;var Ct=l(ht),Ft=k(ht);return this._t(Ct,-Ft,0,0,Ft,Ct,0,0,0,0,1,0,0,0,0,1)}function n(ht){if(ht===0)return this;var Ct=l(ht),Ft=k(ht);return this._t(1,0,0,0,0,Ct,-Ft,0,0,Ft,Ct,0,0,0,0,1)}function f(ht){if(ht===0)return this;var Ct=l(ht),Ft=k(ht);return this._t(Ct,0,Ft,0,0,1,0,0,-Ft,0,Ct,0,0,0,0,1)}function b(ht){if(ht===0)return this;var Ct=l(ht),Ft=k(ht);return this._t(Ct,-Ft,0,0,Ft,Ct,0,0,0,0,1,0,0,0,0,1)}function T(ht,Ct){return this._t(1,Ct,ht,1,0,0)}function I(ht,Ct){return this.shear(C(ht),C(Ct))}function F(ht,Ct){var Ft=l(Ct),wt=k(Ct);return this._t(Ft,wt,0,0,-wt,Ft,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,C(ht),1,0,0,0,0,1,0,0,0,0,1)._t(Ft,-wt,0,0,wt,Ft,0,0,0,0,1,0,0,0,0,1)}function G(ht,Ct,Ft){return !Ft&&Ft!==0&&(Ft=1),ht===1&&Ct===1&&Ft===1?this:this._t(ht,0,0,0,0,Ct,0,0,0,0,Ft,0,0,0,0,1)}function K(ht,Ct,Ft,wt,St,At,ut,Dt,Zt,$t,xe,ge,Me,we,He,Ce){return this.props[0]=ht,this.props[1]=Ct,this.props[2]=Ft,this.props[3]=wt,this.props[4]=St,this.props[5]=At,this.props[6]=ut,this.props[7]=Dt,this.props[8]=Zt,this.props[9]=$t,this.props[10]=xe,this.props[11]=ge,this.props[12]=Me,this.props[13]=we,this.props[14]=He,this.props[15]=Ce,this}function X(ht,Ct,Ft){return Ft=Ft||0,ht!==0||Ct!==0||Ft!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,ht,Ct,Ft,1):this}function it(ht,Ct,Ft,wt,St,At,ut,Dt,Zt,$t,xe,ge,Me,we,He,Ce){var me=this.props;if(ht===1&&Ct===0&&Ft===0&&wt===0&&St===0&&At===1&&ut===0&&Dt===0&&Zt===0&&$t===0&&xe===1&&ge===0)return me[12]=me[12]*ht+me[15]*Me,me[13]=me[13]*At+me[15]*we,me[14]=me[14]*xe+me[15]*He,me[15]*=Ce,this._identityCalculated=!1,this;var Ci=me[0],Pi=me[1],hi=me[2],Ri=me[3],Qe=me[4],Ee=me[5],Oi=me[6],xr=me[7],hr=me[8],$i=me[9],lr=me[10],Ji=me[11],Hi=me[12],ss=me[13],as=me[14],Fr=me[15];return me[0]=Ci*ht+Pi*St+hi*Zt+Ri*Me,me[1]=Ci*Ct+Pi*At+hi*$t+Ri*we,me[2]=Ci*Ft+Pi*ut+hi*xe+Ri*He,me[3]=Ci*wt+Pi*Dt+hi*ge+Ri*Ce,me[4]=Qe*ht+Ee*St+Oi*Zt+xr*Me,me[5]=Qe*Ct+Ee*At+Oi*$t+xr*we,me[6]=Qe*Ft+Ee*ut+Oi*xe+xr*He,me[7]=Qe*wt+Ee*Dt+Oi*ge+xr*Ce,me[8]=hr*ht+$i*St+lr*Zt+Ji*Me,me[9]=hr*Ct+$i*At+lr*$t+Ji*we,me[10]=hr*Ft+$i*ut+lr*xe+Ji*He,me[11]=hr*wt+$i*Dt+lr*ge+Ji*Ce,me[12]=Hi*ht+ss*St+as*Zt+Fr*Me,me[13]=Hi*Ct+ss*At+as*$t+Fr*we,me[14]=Hi*Ft+ss*ut+as*xe+Fr*He,me[15]=Hi*wt+ss*Dt+as*ge+Fr*Ce,this._identityCalculated=!1,this}function lt(ht){var Ct=ht.props;return this.transform(Ct[0],Ct[1],Ct[2],Ct[3],Ct[4],Ct[5],Ct[6],Ct[7],Ct[8],Ct[9],Ct[10],Ct[11],Ct[12],Ct[13],Ct[14],Ct[15])}function tt(){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 H(ht){for(var Ct=0;Ct<16;){if(ht.props[Ct]!==this.props[Ct])return !1;Ct+=1;}return !0}function j(ht){var Ct;for(Ct=0;Ct<16;Ct+=1)ht.props[Ct]=this.props[Ct];return ht}function W(ht){var Ct;for(Ct=0;Ct<16;Ct+=1)this.props[Ct]=ht[Ct];}function R(ht,Ct,Ft){return {x:ht*this.props[0]+Ct*this.props[4]+Ft*this.props[8]+this.props[12],y:ht*this.props[1]+Ct*this.props[5]+Ft*this.props[9]+this.props[13],z:ht*this.props[2]+Ct*this.props[6]+Ft*this.props[10]+this.props[14]}}function rt(ht,Ct,Ft){return ht*this.props[0]+Ct*this.props[4]+Ft*this.props[8]+this.props[12]}function at(ht,Ct,Ft){return ht*this.props[1]+Ct*this.props[5]+Ft*this.props[9]+this.props[13]}function Z(ht,Ct,Ft){return ht*this.props[2]+Ct*this.props[6]+Ft*this.props[10]+this.props[14]}function ct(){var ht=this.props[0]*this.props[5]-this.props[1]*this.props[4],Ct=this.props[5]/ht,Ft=-this.props[1]/ht,wt=-this.props[4]/ht,St=this.props[0]/ht,At=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/ht,ut=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/ht,Dt=new ue;return Dt.props[0]=Ct,Dt.props[1]=Ft,Dt.props[4]=wt,Dt.props[5]=St,Dt.props[12]=At,Dt.props[13]=ut,Dt}function mt(ht){var Ct=this.getInverseMatrix();return Ct.applyToPointArray(ht[0],ht[1],ht[2]||0)}function Pt(ht){var Ct,Ft=ht.length,wt=[];for(Ct=0;Ct<Ft;Ct+=1)wt[Ct]=mt(ht[Ct]);return wt}function Rt(ht,Ct,Ft){var wt=d("float32",6);if(this.isIdentity())wt[0]=ht[0],wt[1]=ht[1],wt[2]=Ct[0],wt[3]=Ct[1],wt[4]=Ft[0],wt[5]=Ft[1];else {var St=this.props[0],At=this.props[1],ut=this.props[4],Dt=this.props[5],Zt=this.props[12],$t=this.props[13];wt[0]=ht[0]*St+ht[1]*ut+Zt,wt[1]=ht[0]*At+ht[1]*Dt+$t,wt[2]=Ct[0]*St+Ct[1]*ut+Zt,wt[3]=Ct[0]*At+Ct[1]*Dt+$t,wt[4]=Ft[0]*St+Ft[1]*ut+Zt,wt[5]=Ft[0]*At+Ft[1]*Dt+$t;}return wt}function jt(ht,Ct,Ft){var wt;return this.isIdentity()?wt=[ht,Ct,Ft]:wt=[ht*this.props[0]+Ct*this.props[4]+Ft*this.props[8]+this.props[12],ht*this.props[1]+Ct*this.props[5]+Ft*this.props[9]+this.props[13],ht*this.props[2]+Ct*this.props[6]+Ft*this.props[10]+this.props[14]],wt}function Lt(ht,Ct){if(this.isIdentity())return ht+","+Ct;var Ft=this.props;return Math.round((ht*Ft[0]+Ct*Ft[4]+Ft[12])*100)/100+","+Math.round((ht*Ft[1]+Ct*Ft[5]+Ft[13])*100)/100}function Kt(){for(var ht=0,Ct=this.props,Ft="matrix3d(",wt=1e4;ht<16;)Ft+=L(Ct[ht]*wt)/wt,Ft+=ht===15?")":",",ht+=1;return Ft}function _t(ht){var Ct=1e4;return ht<1e-6&&ht>0||ht>-1e-6&&ht<0?L(ht*Ct)/Ct:ht}function Et(){var ht=this.props,Ct=_t(ht[0]),Ft=_t(ht[1]),wt=_t(ht[4]),St=_t(ht[5]),At=_t(ht[12]),ut=_t(ht[13]);return "matrix("+Ct+","+Ft+","+wt+","+St+","+At+","+ut+")"}return function(){this.reset=O,this.rotate=V,this.rotateX=n,this.rotateY=f,this.rotateZ=b,this.skew=I,this.skewFromAxis=F,this.shear=T,this.scale=G,this.setTransform=K,this.translate=X,this.transform=it,this.multiply=lt,this.applyToPoint=R,this.applyToX=rt,this.applyToY=at,this.applyToZ=Z,this.applyToPointArray=jt,this.applyToTriplePoints=Rt,this.applyToPointStringified=Lt,this.toCSS=Kt,this.to2dCSS=Et,this.clone=j,this.cloneFromProps=W,this.equals=H,this.inversePoints=Pt,this.inversePoint=mt,this.getInverseMatrix=ct,this._t=this.transform,this.isIdentity=tt,this._identity=!0,this._identityCalculated=!1,this.props=d("float32",16),this.reset();}}();function Vs(l){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Vs=function(k){return typeof k}:Vs=function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},Vs(l)}var ti={};function Ta(l){h(l);}function la(){ke.searchAnimations();}function Ma(l){se(l);}function os(l){de(l);}function Da(l){return ke.loadAnimation(l)}function Fa(l){if(typeof l=="string")switch(l){case"high":Pe(200);break;default:case"medium":Pe(50);break;case"low":Pe(10);break}else !isNaN(l)&&l>1&&Pe(l);}function Ia(){return typeof navigator<"u"}function La(l,k){l==="expressions"&&le(k);}function Va(l){switch(l){case"propertyFactory":return pe;case"shapePropertyFactory":return kr;case"matrix":return ue;default:return null}}ti.play=ke.play,ti.pause=ke.pause,ti.setLocationHref=Ta,ti.togglePause=ke.togglePause,ti.setSpeed=ke.setSpeed,ti.setDirection=ke.setDirection,ti.stop=ke.stop,ti.searchAnimations=la,ti.registerAnimation=ke.registerAnimation,ti.loadAnimation=Da,ti.setSubframeRendering=Ma,ti.resize=ke.resize,ti.goToAndStop=ke.goToAndStop,ti.destroy=ke.destroy,ti.setQuality=Fa,ti.inBrowser=Ia,ti.installPlugin=La,ti.freeze=ke.freeze,ti.unfreeze=ke.unfreeze,ti.setVolume=ke.setVolume,ti.mute=ke.mute,ti.unmute=ke.unmute,ti.getRegisteredAnimations=ke.getRegisteredAnimations,ti.useWebWorker=o,ti.setIDPrefix=os,ti.__getFactory=Va,ti.version="5.12.2";function Xs(){document.readyState==="complete"&&(clearInterval(ni),la());}function bs(l){for(var k=pa.split("&"),C=0;C<k.length;C+=1){var L=k[C].split("=");if(decodeURIComponent(L[0])==l)return decodeURIComponent(L[1])}return null}var pa="";{var Qr=document.getElementsByTagName("script"),Ys=Qr.length-1,Ii=Qr[Ys]||{src:""};pa=Ii.src?Ii.src.replace(/^[^\?]+\??/,""):"",bs("renderer");}var ni=setInterval(Xs,100);try{!((typeof t>"u"?"undefined":Vs(t))==="object"&&typeof e<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=ti);}catch{}var ei=function(){var l={},k={};l.registerModifier=C,l.getModifier=L;function C(O,V){k[O]||(k[O]=V);}function L(O,V,n){return new k[O](V,n)}return l}();function wi(){}wi.prototype.initModifierProperties=function(){},wi.prototype.addShapeToModifier=function(){},wi.prototype.addShape=function(l){if(!this.closed){l.sh.container.addDynamicProperty(l.sh);var k={shape:l.sh,data:l,localShapeCollection:Ge.newShapeCollection()};this.shapes.push(k),this.addShapeToModifier(k),this._isAnimated&&l.setAsAnimated();}},wi.prototype.init=function(l,k){this.shapes=[],this.elem=l,this.initDynamicPropertyContainer(l),this.initModifierProperties(l,k),this.frameId=a,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0);},wi.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties());},v([Ye],wi);function Gi(){}v([wi],Gi),Gi.prototype.initModifierProperties=function(l,k){this.s=pe.getProp(l,k.s,0,.01,this),this.e=pe.getProp(l,k.e,0,.01,this),this.o=pe.getProp(l,k.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=k.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length;},Gi.prototype.addShapeToModifier=function(l){l.pathsData=[];},Gi.prototype.calculateShapeEdges=function(l,k,C,L,O){var V=[];k<=1?V.push({s:l,e:k}):l>=1?V.push({s:l-1,e:k-1}):(V.push({s:l,e:1}),V.push({s:0,e:k-1}));var n=[],f,b=V.length,T;for(f=0;f<b;f+=1)if(T=V[f],!(T.e*O<L||T.s*O>L+C)){var I,F;T.s*O<=L?I=0:I=(T.s*O-L)/C,T.e*O>=L+C?F=1:F=(T.e*O-L)/C,n.push([I,F]);}return n.length||n.push([0,0]),n},Gi.prototype.releasePathsData=function(l){var k,C=l.length;for(k=0;k<C;k+=1)ki.release(l[k]);return l.length=0,l},Gi.prototype.processShapes=function(l){var k,C;if(this._mdf||l){var L=this.o.v%360/360;if(L<0&&(L+=1),this.s.v>1?k=1+L:this.s.v<0?k=0+L:k=this.s.v+L,this.e.v>1?C=1+L:this.e.v<0?C=0+L:C=this.e.v+L,k>C){var O=k;k=C,C=O;}k=Math.round(k*1e4)*1e-4,C=Math.round(C*1e4)*1e-4,this.sValue=k,this.eValue=C;}else k=this.sValue,C=this.eValue;var V,n,f=this.shapes.length,b,T,I,F,G,K=0;if(C===k)for(n=0;n<f;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(C===1&&k===0||C===0&&k===1){if(this._mdf)for(n=0;n<f;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0;}else {var X=[],it,lt;for(n=0;n<f;n+=1)if(it=this.shapes[n],!it.shape._mdf&&!this._mdf&&!l&&this.m!==2)it.shape.paths=it.localShapeCollection;else {if(V=it.shape.paths,T=V._length,G=0,!it.shape._mdf&&it.pathsData.length)G=it.totalShapeLength;else {for(I=this.releasePathsData(it.pathsData),b=0;b<T;b+=1)F=Ki.getSegmentsLength(V.shapes[b]),I.push(F),G+=F.totalLength;it.totalShapeLength=G,it.pathsData=I;}K+=G,it.shape._mdf=!0;}var tt=k,H=C,j=0,W;for(n=f-1;n>=0;n-=1)if(it=this.shapes[n],it.shape._mdf){for(lt=it.localShapeCollection,lt.releaseShapes(),this.m===2&&f>1?(W=this.calculateShapeEdges(k,C,it.totalShapeLength,j,K),j+=it.totalShapeLength):W=[[tt,H]],T=W.length,b=0;b<T;b+=1){tt=W[b][0],H=W[b][1],X.length=0,H<=1?X.push({s:it.totalShapeLength*tt,e:it.totalShapeLength*H}):tt>=1?X.push({s:it.totalShapeLength*(tt-1),e:it.totalShapeLength*(H-1)}):(X.push({s:it.totalShapeLength*tt,e:it.totalShapeLength}),X.push({s:0,e:it.totalShapeLength*(H-1)}));var R=this.addShapes(it,X[0]);if(X[0].s!==X[0].e){if(X.length>1){var rt=it.shape.paths.shapes[it.shape.paths._length-1];if(rt.c){var at=R.pop();this.addPaths(R,lt),R=this.addShapes(it,X[1],at);}else this.addPaths(R,lt),R=this.addShapes(it,X[1]);}this.addPaths(R,lt);}}it.shape.paths=lt;}}},Gi.prototype.addPaths=function(l,k){var C,L=l.length;for(C=0;C<L;C+=1)k.addShape(l[C]);},Gi.prototype.addSegment=function(l,k,C,L,O,V,n){O.setXYAt(k[0],k[1],"o",V),O.setXYAt(C[0],C[1],"i",V+1),n&&O.setXYAt(l[0],l[1],"v",V),O.setXYAt(L[0],L[1],"v",V+1);},Gi.prototype.addSegmentFromArray=function(l,k,C,L){k.setXYAt(l[1],l[5],"o",C),k.setXYAt(l[2],l[6],"i",C+1),L&&k.setXYAt(l[0],l[4],"v",C),k.setXYAt(l[3],l[7],"v",C+1);},Gi.prototype.addShapes=function(l,k,C){var L=l.pathsData,O=l.shape.paths.shapes,V,n=l.shape.paths._length,f,b,T=0,I,F,G,K,X=[],it,lt=!0;for(C?(F=C._length,it=C._length):(C=ai.newElement(),F=0,it=0),X.push(C),V=0;V<n;V+=1){for(G=L[V].lengths,C.c=O[V].c,b=O[V].c?G.length:G.length+1,f=1;f<b;f+=1)if(I=G[f-1],T+I.addedLength<k.s)T+=I.addedLength,C.c=!1;else if(T>k.e){C.c=!1;break}else k.s<=T&&k.e>=T+I.addedLength?(this.addSegment(O[V].v[f-1],O[V].o[f-1],O[V].i[f],O[V].v[f],C,F,lt),lt=!1):(K=Ki.getNewSegment(O[V].v[f-1],O[V].v[f],O[V].o[f-1],O[V].i[f],(k.s-T)/I.addedLength,(k.e-T)/I.addedLength,G[f-1]),this.addSegmentFromArray(K,C,F,lt),lt=!1,C.c=!1),T+=I.addedLength,F+=1;if(O[V].c&&G.length){if(I=G[f-1],T<=k.e){var tt=G[f-1].addedLength;k.s<=T&&k.e>=T+tt?(this.addSegment(O[V].v[f-1],O[V].o[f-1],O[V].i[0],O[V].v[0],C,F,lt),lt=!1):(K=Ki.getNewSegment(O[V].v[f-1],O[V].v[0],O[V].o[f-1],O[V].i[0],(k.s-T)/tt,(k.e-T)/tt,G[f-1]),this.addSegmentFromArray(K,C,F,lt),lt=!1,C.c=!1);}else C.c=!1;T+=I.addedLength,F+=1;}if(C._length&&(C.setXYAt(C.v[it][0],C.v[it][1],"i",it),C.setXYAt(C.v[C._length-1][0],C.v[C._length-1][1],"o",C._length-1)),T>k.e)break;V<n-1&&(C=ai.newElement(),lt=!0,X.push(C),F=0);}return X};function mi(){}v([wi],mi),mi.prototype.initModifierProperties=function(l,k){this.getValue=this.processKeys,this.amount=pe.getProp(l,k.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length;},mi.prototype.processPath=function(l,k){var C=k/100,L=[0,0],O=l._length,V=0;for(V=0;V<O;V+=1)L[0]+=l.v[V][0],L[1]+=l.v[V][1];L[0]/=O,L[1]/=O;var n=ai.newElement();n.c=l.c;var f,b,T,I,F,G;for(V=0;V<O;V+=1)f=l.v[V][0]+(L[0]-l.v[V][0])*C,b=l.v[V][1]+(L[1]-l.v[V][1])*C,T=l.o[V][0]+(L[0]-l.o[V][0])*-C,I=l.o[V][1]+(L[1]-l.o[V][1])*-C,F=l.i[V][0]+(L[0]-l.i[V][0])*-C,G=l.i[V][1]+(L[1]-l.i[V][1])*-C,n.setTripleAt(f,b,T,I,F,G,V);return n},mi.prototype.processShapes=function(l){var k,C,L=this.shapes.length,O,V,n=this.amount.v;if(n!==0){var f,b;for(C=0;C<L;C+=1){if(f=this.shapes[C],b=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!l))for(b.releaseShapes(),f.shape._mdf=!0,k=f.shape.paths.shapes,V=f.shape.paths._length,O=0;O<V;O+=1)b.addShape(this.processPath(k[O],n));f.shape.paths=f.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var rr=function(){var l=[0,0];function k(b){var T=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||T,this.a&&b.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&b.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&b.skewFromAxis(-this.sk.v,this.sa.v),this.r?b.rotate(-this.r.v):b.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?b.translate(this.px.v,this.py.v,-this.pz.v):b.translate(this.px.v,this.py.v,0):b.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function C(b){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||b){var T;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 I,F;if(T=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(I=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/T,0),F=this.p.getValueAtTime(this.p.keyframes[0].t/T,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(I=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/T,0),F=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/T,0)):(I=this.p.pv,F=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/T,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){I=[],F=[];var G=this.px,K=this.py;G._caching.lastFrame+G.offsetTime<=G.keyframes[0].t?(I[0]=G.getValueAtTime((G.keyframes[0].t+.01)/T,0),I[1]=K.getValueAtTime((K.keyframes[0].t+.01)/T,0),F[0]=G.getValueAtTime(G.keyframes[0].t/T,0),F[1]=K.getValueAtTime(K.keyframes[0].t/T,0)):G._caching.lastFrame+G.offsetTime>=G.keyframes[G.keyframes.length-1].t?(I[0]=G.getValueAtTime(G.keyframes[G.keyframes.length-1].t/T,0),I[1]=K.getValueAtTime(K.keyframes[K.keyframes.length-1].t/T,0),F[0]=G.getValueAtTime((G.keyframes[G.keyframes.length-1].t-.01)/T,0),F[1]=K.getValueAtTime((K.keyframes[K.keyframes.length-1].t-.01)/T,0)):(I=[G.pv,K.pv],F[0]=G.getValueAtTime((G._caching.lastFrame+G.offsetTime-.01)/T,G.offsetTime),F[1]=K.getValueAtTime((K._caching.lastFrame+K.offsetTime-.01)/T,K.offsetTime));}else F=l,I=F;this.v.rotate(-Math.atan2(I[1]-F[1],I[0]-F[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 L(){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 V(b){this._addDynamicProperty(b),this.elem.addDynamicProperty(b),this._isDirty=!0;}function n(b,T,I){if(this.elem=b,this.frameId=-1,this.propType="transform",this.data=T,this.v=new ue,this.pre=new ue,this.appliedTransformations=0,this.initDynamicPropertyContainer(I||b),T.p&&T.p.s?(this.px=pe.getProp(b,T.p.x,0,0,this),this.py=pe.getProp(b,T.p.y,0,0,this),T.p.z&&(this.pz=pe.getProp(b,T.p.z,0,0,this))):this.p=pe.getProp(b,T.p||{k:[0,0,0]},1,0,this),T.rx){if(this.rx=pe.getProp(b,T.rx,0,xt,this),this.ry=pe.getProp(b,T.ry,0,xt,this),this.rz=pe.getProp(b,T.rz,0,xt,this),T.or.k[0].ti){var F,G=T.or.k.length;for(F=0;F<G;F+=1)T.or.k[F].to=null,T.or.k[F].ti=null;}this.or=pe.getProp(b,T.or,1,xt,this),this.or.sh=!0;}else this.r=pe.getProp(b,T.r||{k:0},0,xt,this);T.sk&&(this.sk=pe.getProp(b,T.sk,0,xt,this),this.sa=pe.getProp(b,T.sa,0,xt,this)),this.a=pe.getProp(b,T.a||{k:[0,0,0]},1,0,this),this.s=pe.getProp(b,T.s||{k:[100,100,100]},1,.01,this),T.o?this.o=pe.getProp(b,T.o,0,.01,b):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}n.prototype={applyToMatrix:k,getValue:C,precalculateMatrix:L,autoOrient:O},v([Ye],n),n.prototype.addDynamicProperty=V,n.prototype._addDynamicProperty=Ye.prototype.addDynamicProperty;function f(b,T,I){return new n(b,T,I)}return {getTransformProperty:f}}();function ji(){}v([wi],ji),ji.prototype.initModifierProperties=function(l,k){this.getValue=this.processKeys,this.c=pe.getProp(l,k.c,0,null,this),this.o=pe.getProp(l,k.o,0,null,this),this.tr=rr.getTransformProperty(l,k.tr,this),this.so=pe.getProp(l,k.tr.so,0,.01,this),this.eo=pe.getProp(l,k.tr.eo,0,.01,this),this.data=k,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new ue,this.rMatrix=new ue,this.sMatrix=new ue,this.tMatrix=new ue,this.matrix=new ue;},ji.prototype.applyTransforms=function(l,k,C,L,O,V){var n=V?-1:1,f=L.s.v[0]+(1-L.s.v[0])*(1-O),b=L.s.v[1]+(1-L.s.v[1])*(1-O);l.translate(L.p.v[0]*n*O,L.p.v[1]*n*O,L.p.v[2]),k.translate(-L.a.v[0],-L.a.v[1],L.a.v[2]),k.rotate(-L.r.v*n*O),k.translate(L.a.v[0],L.a.v[1],L.a.v[2]),C.translate(-L.a.v[0],-L.a.v[1],L.a.v[2]),C.scale(V?1/f:f,V?1/b:b),C.translate(L.a.v[0],L.a.v[1],L.a.v[2]);},ji.prototype.init=function(l,k,C,L){for(this.elem=l,this.arr=k,this.pos=C,this.elemsData=L,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(l),this.initModifierProperties(l,k[C]);C>0;)C-=1,this._elements.unshift(k[C]);this.dynamicProperties.length?this.k=!0:this.getValue(!0);},ji.prototype.resetElements=function(l){var k,C=l.length;for(k=0;k<C;k+=1)l[k]._processed=!1,l[k].ty==="gr"&&this.resetElements(l[k].it);},ji.prototype.cloneElements=function(l){var k=JSON.parse(JSON.stringify(l));return this.resetElements(k),k},ji.prototype.changeGroupRender=function(l,k){var C,L=l.length;for(C=0;C<L;C+=1)l[C]._render=k,l[C].ty==="gr"&&this.changeGroupRender(l[C].it,k);},ji.prototype.processShapes=function(l){var k,C,L,O,V,n=!1;if(this._mdf||l){var f=Math.ceil(this.c.v);if(this._groups.length<f){for(;this._groups.length<f;){var b={it:this.cloneElements(this._elements),ty:"gr"};b.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,b),this._groups.splice(0,0,b),this._currentCopies+=1;}this.elem.reloadShapes(),n=!0;}V=0;var T;for(L=0;L<=this._groups.length-1;L+=1){if(T=V<f,this._groups[L]._render=T,this.changeGroupRender(this._groups[L].it,T),!T){var I=this.elemsData[L].it,F=I[I.length-1];F.transform.op.v!==0?(F.transform.op._mdf=!0,F.transform.op.v=0):F.transform.op._mdf=!1;}V+=1;}this._currentCopies=f;var G=this.o.v,K=G%1,X=G>0?Math.floor(G):Math.ceil(G),it=this.pMatrix.props,lt=this.rMatrix.props,tt=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var H=0;if(G>0){for(;H<X;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),H+=1;K&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,K,!1),H+=K);}else if(G<0){for(;H>X;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),H-=1;K&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-K,!0),H-=K);}L=this.data.m===1?0:this._currentCopies-1,O=this.data.m===1?1:-1,V=this._currentCopies;for(var j,W;V;){if(k=this.elemsData[L].it,C=k[k.length-1].transform.mProps.v.props,W=C.length,k[k.length-1].transform.mProps._mdf=!0,k[k.length-1].transform.op._mdf=!0,k[k.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(L/(this._currentCopies-1)),H!==0){for((L!==0&&O===1||L!==this._currentCopies-1&&O===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(lt[0],lt[1],lt[2],lt[3],lt[4],lt[5],lt[6],lt[7],lt[8],lt[9],lt[10],lt[11],lt[12],lt[13],lt[14],lt[15]),this.matrix.transform(tt[0],tt[1],tt[2],tt[3],tt[4],tt[5],tt[6],tt[7],tt[8],tt[9],tt[10],tt[11],tt[12],tt[13],tt[14],tt[15]),this.matrix.transform(it[0],it[1],it[2],it[3],it[4],it[5],it[6],it[7],it[8],it[9],it[10],it[11],it[12],it[13],it[14],it[15]),j=0;j<W;j+=1)C[j]=this.matrix.props[j];this.matrix.reset();}else for(this.matrix.reset(),j=0;j<W;j+=1)C[j]=this.matrix.props[j];H+=1,V-=1,L+=O;}}else for(V=this._currentCopies,L=0,O=1;V;)k=this.elemsData[L].it,C=k[k.length-1].transform.mProps.v.props,k[k.length-1].transform.mProps._mdf=!1,k[k.length-1].transform.op._mdf=!1,V-=1,L+=O;return n},ji.prototype.addShape=function(){};function Or(){}v([wi],Or),Or.prototype.initModifierProperties=function(l,k){this.getValue=this.processKeys,this.rd=pe.getProp(l,k.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length;},Or.prototype.processPath=function(l,k){var C=ai.newElement();C.c=l.c;var L,O=l._length,V,n,f,b,T,I,F=0,G,K,X,it,lt,tt;for(L=0;L<O;L+=1)V=l.v[L],f=l.o[L],n=l.i[L],V[0]===f[0]&&V[1]===f[1]&&V[0]===n[0]&&V[1]===n[1]?(L===0||L===O-1)&&!l.c?(C.setTripleAt(V[0],V[1],f[0],f[1],n[0],n[1],F),F+=1):(L===0?b=l.v[O-1]:b=l.v[L-1],T=Math.sqrt(Math.pow(V[0]-b[0],2)+Math.pow(V[1]-b[1],2)),I=T?Math.min(T/2,k)/T:0,lt=V[0]+(b[0]-V[0])*I,G=lt,tt=V[1]-(V[1]-b[1])*I,K=tt,X=G-(G-V[0])*vt,it=K-(K-V[1])*vt,C.setTripleAt(G,K,X,it,lt,tt,F),F+=1,L===O-1?b=l.v[0]:b=l.v[L+1],T=Math.sqrt(Math.pow(V[0]-b[0],2)+Math.pow(V[1]-b[1],2)),I=T?Math.min(T/2,k)/T:0,X=V[0]+(b[0]-V[0])*I,G=X,it=V[1]+(b[1]-V[1])*I,K=it,lt=G-(G-V[0])*vt,tt=K-(K-V[1])*vt,C.setTripleAt(G,K,X,it,lt,tt,F),F+=1):(C.setTripleAt(l.v[L][0],l.v[L][1],l.o[L][0],l.o[L][1],l.i[L][0],l.i[L][1],F),F+=1);return C},Or.prototype.processShapes=function(l){var k,C,L=this.shapes.length,O,V,n=this.rd.v;if(n!==0){var f,b;for(C=0;C<L;C+=1){if(f=this.shapes[C],b=f.localShapeCollection,!(!f.shape._mdf&&!this._mdf&&!l))for(b.releaseShapes(),f.shape._mdf=!0,k=f.shape.paths.shapes,V=f.shape.paths._length,O=0;O<V;O+=1)b.addShape(this.processPath(k[O],n));f.shape.paths=f.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function hs(l,k){return Math.abs(l-k)*1e5<=Math.min(Math.abs(l),Math.abs(k))}function zi(l){return Math.abs(l)<=1e-5}function fa(l,k,C){return l*(1-C)+k*C}function wr(l,k,C){return [fa(l[0],k[0],C),fa(l[1],k[1],C)]}function Zs(l,k,C){if(l===0)return [];var L=k*k-4*l*C;if(L<0)return [];var O=-k/(2*l);if(L===0)return [O];var V=Math.sqrt(L)/(2*l);return [O-V,O+V]}function Ne(l,k,C,L){return [-l+3*k-3*C+L,3*l-6*k+3*C,-3*l+3*k,l]}function Rs(l){return new ri(l,l,l,l,!1)}function ri(l,k,C,L,O){O&&Wr(l,k)&&(k=wr(l,L,1/3)),O&&Wr(C,L)&&(C=wr(l,L,2/3));var V=Ne(l[0],k[0],C[0],L[0]),n=Ne(l[1],k[1],C[1],L[1]);this.a=[V[0],n[0]],this.b=[V[1],n[1]],this.c=[V[2],n[2]],this.d=[V[3],n[3]],this.points=[l,k,C,L];}ri.prototype.point=function(l){return [((this.a[0]*l+this.b[0])*l+this.c[0])*l+this.d[0],((this.a[1]*l+this.b[1])*l+this.c[1])*l+this.d[1]]},ri.prototype.derivative=function(l){return [(3*l*this.a[0]+2*this.b[0])*l+this.c[0],(3*l*this.a[1]+2*this.b[1])*l+this.c[1]]},ri.prototype.tangentAngle=function(l){var k=this.derivative(l);return Math.atan2(k[1],k[0])},ri.prototype.normalAngle=function(l){var k=this.derivative(l);return Math.atan2(k[0],k[1])},ri.prototype.inflectionPoints=function(){var l=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(zi(l))return [];var k=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/l,C=k*k-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/l;if(C<0)return [];var L=Math.sqrt(C);return zi(L)?L>0&&L<1?[k]:[]:[k-L,k+L].filter(function(O){return O>0&&O<1})},ri.prototype.split=function(l){if(l<=0)return [Rs(this.points[0]),this];if(l>=1)return [this,Rs(this.points[this.points.length-1])];var k=wr(this.points[0],this.points[1],l),C=wr(this.points[1],this.points[2],l),L=wr(this.points[2],this.points[3],l),O=wr(k,C,l),V=wr(C,L,l),n=wr(O,V,l);return [new ri(this.points[0],k,O,n,!0),new ri(n,V,L,this.points[3],!0)]};function ts(l,k){var C=l.points[0][k],L=l.points[l.points.length-1][k];if(C>L){var O=L;L=C,C=O;}for(var V=Zs(3*l.a[k],2*l.b[k],l.c[k]),n=0;n<V.length;n+=1)if(V[n]>0&&V[n]<1){var f=l.point(V[n])[k];f<C?C=f:f>L&&(L=f);}return {min:C,max:L}}ri.prototype.bounds=function(){return {x:ts(this,0),y:ts(this,1)}},ri.prototype.boundingBox=function(){var l=this.bounds();return {left:l.x.min,right:l.x.max,top:l.y.min,bottom:l.y.max,width:l.x.max-l.x.min,height:l.y.max-l.y.min,cx:(l.x.max+l.x.min)/2,cy:(l.y.max+l.y.min)/2}};function ls(l,k,C){var L=l.boundingBox();return {cx:L.cx,cy:L.cy,width:L.width,height:L.height,bez:l,t:(k+C)/2,t1:k,t2:C}}function Er(l){var k=l.bez.split(.5);return [ls(k[0],l.t1,l.t),ls(k[1],l.t,l.t2)]}function xs(l,k){return Math.abs(l.cx-k.cx)*2<l.width+k.width&&Math.abs(l.cy-k.cy)*2<l.height+k.height}function sr(l,k,C,L,O,V){if(xs(l,k)){if(C>=V||l.width<=L&&l.height<=L&&k.width<=L&&k.height<=L){O.push([l.t,k.t]);return}var n=Er(l),f=Er(k);sr(n[0],f[0],C+1,L,O,V),sr(n[0],f[1],C+1,L,O,V),sr(n[1],f[0],C+1,L,O,V),sr(n[1],f[1],C+1,L,O,V);}}ri.prototype.intersections=function(l,k,C){k===void 0&&(k=2),C===void 0&&(C=7);var L=[];return sr(ls(this,0,1),ls(l,0,1),0,k,L,C),L},ri.shapeSegment=function(l,k){var C=(k+1)%l.length();return new ri(l.v[k],l.o[k],l.i[C],l.v[C],!0)},ri.shapeSegmentInverted=function(l,k){var C=(k+1)%l.length();return new ri(l.v[C],l.i[C],l.o[k],l.v[k],!0)};function tr(l,k){return [l[1]*k[2]-l[2]*k[1],l[2]*k[0]-l[0]*k[2],l[0]*k[1]-l[1]*k[0]]}function Hr(l,k,C,L){var O=[l[0],l[1],1],V=[k[0],k[1],1],n=[C[0],C[1],1],f=[L[0],L[1],1],b=tr(tr(O,V),tr(n,f));return zi(b[2])?null:[b[0]/b[2],b[1]/b[2]]}function qi(l,k,C){return [l[0]+Math.cos(k)*C,l[1]-Math.sin(k)*C]}function ar(l,k){return Math.hypot(l[0]-k[0],l[1]-k[1])}function Wr(l,k){return hs(l[0],k[0])&&hs(l[1],k[1])}function _s(){}v([wi],_s),_s.prototype.initModifierProperties=function(l,k){this.getValue=this.processKeys,this.amplitude=pe.getProp(l,k.s,0,null,this),this.frequency=pe.getProp(l,k.r,0,null,this),this.pointsType=pe.getProp(l,k.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0;};function ca(l,k,C,L,O,V,n){var f=C-Math.PI/2,b=C+Math.PI/2,T=k[0]+Math.cos(C)*L*O,I=k[1]-Math.sin(C)*L*O;l.setTripleAt(T,I,T+Math.cos(f)*V,I-Math.sin(f)*V,T+Math.cos(b)*n,I-Math.sin(b)*n,l.length());}function Ps(l,k){var C=[k[0]-l[0],k[1]-l[1]],L=-Math.PI*.5,O=[Math.cos(L)*C[0]-Math.sin(L)*C[1],Math.sin(L)*C[0]+Math.cos(L)*C[1]];return O}function Ra(l,k){var C=k===0?l.length()-1:k-1,L=(k+1)%l.length(),O=l.v[C],V=l.v[L],n=Ps(O,V);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function ps(l,k,C,L,O,V,n){var f=Ra(k,C),b=k.v[C%k._length],T=k.v[C===0?k._length-1:C-1],I=k.v[(C+1)%k._length],F=V===2?Math.sqrt(Math.pow(b[0]-T[0],2)+Math.pow(b[1]-T[1],2)):0,G=V===2?Math.sqrt(Math.pow(b[0]-I[0],2)+Math.pow(b[1]-I[1],2)):0;ca(l,k.v[C%k._length],f,n,L,G/((O+1)*2),F/((O+1)*2));}function yr(l,k,C,L,O,V){for(var n=0;n<L;n+=1){var f=(n+1)/(L+1),b=O===2?Math.sqrt(Math.pow(k.points[3][0]-k.points[0][0],2)+Math.pow(k.points[3][1]-k.points[0][1],2)):0,T=k.normalAngle(f),I=k.point(f);ca(l,I,T,V,C,b/((L+1)*2),b/((L+1)*2)),V=-V;}return V}_s.prototype.processPath=function(l,k,C,L){var O=l._length,V=ai.newElement();if(V.c=l.c,l.c||(O-=1),O===0)return V;var n=-1,f=ri.shapeSegment(l,0);ps(V,l,0,k,C,L,n);for(var b=0;b<O;b+=1)n=yr(V,f,k,C,L,-n),b===O-1&&!l.c?f=null:f=ri.shapeSegment(l,(b+1)%O),ps(V,l,b+1,k,C,L,n);return V},_s.prototype.processShapes=function(l){var k,C,L=this.shapes.length,O,V,n=this.amplitude.v,f=Math.max(0,Math.round(this.frequency.v)),b=this.pointsType.v;if(n!==0){var T,I;for(C=0;C<L;C+=1){if(T=this.shapes[C],I=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!l))for(I.releaseShapes(),T.shape._mdf=!0,k=T.shape.paths.shapes,V=T.shape.paths._length,O=0;O<V;O+=1)I.addShape(this.processPath(k[O],n,f,b));T.shape.paths=T.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function Ur(l,k,C){var L=Math.atan2(k[0]-l[0],k[1]-l[1]);return [qi(l,L,C),qi(k,L,C)]}function Ar(l,k){var C,L,O,V,n,f,b;b=Ur(l.points[0],l.points[1],k),C=b[0],L=b[1],b=Ur(l.points[1],l.points[2],k),O=b[0],V=b[1],b=Ur(l.points[2],l.points[3],k),n=b[0],f=b[1];var T=Hr(C,L,O,V);T===null&&(T=L);var I=Hr(n,f,O,V);return I===null&&(I=n),new ri(C,T,I,f)}function fs(l,k,C,L,O){var V=k.points[3],n=C.points[0];if(L===3||Wr(V,n))return V;if(L===2){var f=-k.tangentAngle(1),b=-C.tangentAngle(0)+Math.PI,T=Hr(V,qi(V,f+Math.PI/2,100),n,qi(n,f+Math.PI/2,100)),I=T?ar(T,V):ar(V,n)/2,F=qi(V,f,2*I*vt);return l.setXYAt(F[0],F[1],"o",l.length()-1),F=qi(n,b,2*I*vt),l.setTripleAt(n[0],n[1],n[0],n[1],F[0],F[1],l.length()),n}var G=Wr(V,k.points[2])?k.points[0]:k.points[2],K=Wr(n,C.points[1])?C.points[3]:C.points[1],X=Hr(G,V,n,K);return X&&ar(X,V)<O?(l.setTripleAt(X[0],X[1],X[0],X[1],X[0],X[1],l.length()),X):V}function Os(l,k){var C=l.intersections(k);return C.length&&hs(C[0][0],1)&&C.shift(),C.length?C[0]:null}function Bs(l,k){var C=l.slice(),L=k.slice(),O=Os(l[l.length-1],k[0]);return O&&(C[l.length-1]=l[l.length-1].split(O[0])[0],L[0]=k[0].split(O[1])[1]),l.length>1&&k.length>1&&(O=Os(l[0],k[k.length-1]),O)?[[l[0].split(O[0])[0]],[k[k.length-1].split(O[1])[1]]]:[C,L]}function Cr(l){for(var k,C=1;C<l.length;C+=1)k=Bs(l[C-1],l[C]),l[C-1]=k[0],l[C]=k[1];return l.length>1&&(k=Bs(l[l.length-1],l[0]),l[l.length-1]=k[0],l[0]=k[1]),l}function cs(l,k){var C=l.inflectionPoints(),L,O,V,n;if(C.length===0)return [Ar(l,k)];if(C.length===1||hs(C[1],1))return V=l.split(C[0]),L=V[0],O=V[1],[Ar(L,k),Ar(O,k)];V=l.split(C[0]),L=V[0];var f=(C[1]-C[0])/(1-C[0]);return V=V[1].split(f),n=V[0],O=V[1],[Ar(L,k),Ar(n,k),Ar(O,k)]}function Li(){}v([wi],Li),Li.prototype.initModifierProperties=function(l,k){this.getValue=this.processKeys,this.amount=pe.getProp(l,k.a,0,null,this),this.miterLimit=pe.getProp(l,k.ml,0,null,this),this.lineJoin=k.lj,this._isAnimated=this.amount.effectsSequence.length!==0;},Li.prototype.processPath=function(l,k,C,L){var O=ai.newElement();O.c=l.c;var V=l.length();l.c||(V-=1);var n,f,b,T=[];for(n=0;n<V;n+=1)b=ri.shapeSegment(l,n),T.push(cs(b,k));if(!l.c)for(n=V-1;n>=0;n-=1)b=ri.shapeSegmentInverted(l,n),T.push(cs(b,k));T=Cr(T);var I=null,F=null;for(n=0;n<T.length;n+=1){var G=T[n];for(F&&(I=fs(O,F,G[0],C,L)),F=G[G.length-1],f=0;f<G.length;f+=1)b=G[f],I&&Wr(b.points[0],I)?O.setXYAt(b.points[1][0],b.points[1][1],"o",O.length()-1):O.setTripleAt(b.points[0][0],b.points[0][1],b.points[1][0],b.points[1][1],b.points[0][0],b.points[0][1],O.length()),O.setTripleAt(b.points[3][0],b.points[3][1],b.points[3][0],b.points[3][1],b.points[2][0],b.points[2][1],O.length()),I=b.points[3];}return T.length&&fs(O,F,T[0][0],C,L),O},Li.prototype.processShapes=function(l){var k,C,L=this.shapes.length,O,V,n=this.amount.v,f=this.miterLimit.v,b=this.lineJoin;if(n!==0){var T,I;for(C=0;C<L;C+=1){if(T=this.shapes[C],I=T.localShapeCollection,!(!T.shape._mdf&&!this._mdf&&!l))for(I.releaseShapes(),T.shape._mdf=!0,k=T.shape.paths.shapes,V=T.shape.paths._length,O=0;O<V;O+=1)I.addShape(this.processPath(k[O],n,b,f));T.shape.paths=T.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function Tr(l){for(var k=l.fStyle?l.fStyle.split(" "):[],C="normal",L="normal",O=k.length,V,n=0;n<O;n+=1)switch(V=k[n].toLowerCase(),V){case"italic":L="italic";break;case"bold":C="700";break;case"black":C="900";break;case"medium":C="500";break;case"regular":case"normal":C="400";break;case"light":case"thin":C="200";break}return {style:L,weight:l.fWeight||C}}var vr=function(){var l=5e3,k={w:0,size:0,shapes:[],data:{shapes:[]}},C=[];C=C.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 L=127988,O=917631,V=917601,n=917626,f=65039,b=8205,T=127462,I=127487,F=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function G(_t){var Et=_t.split(","),ht,Ct=Et.length,Ft=[];for(ht=0;ht<Ct;ht+=1)Et[ht]!=="sans-serif"&&Et[ht]!=="monospace"&&Ft.push(Et[ht]);return Ft.join(",")}function K(_t,Et){var ht=_("span");ht.setAttribute("aria-hidden",!0),ht.style.fontFamily=Et;var Ct=_("span");Ct.innerText="giItT1WQy@!-/#",ht.style.position="absolute",ht.style.left="-10000px",ht.style.top="-10000px",ht.style.fontSize="300px",ht.style.fontVariant="normal",ht.style.fontStyle="normal",ht.style.fontWeight="normal",ht.style.letterSpacing="0",ht.appendChild(Ct),document.body.appendChild(ht);var Ft=Ct.offsetWidth;return Ct.style.fontFamily=G(_t)+", "+Et,{node:Ct,w:Ft,parent:ht}}function X(){var _t,Et=this.fonts.length,ht,Ct,Ft=Et;for(_t=0;_t<Et;_t+=1)this.fonts[_t].loaded?Ft-=1:this.fonts[_t].fOrigin==="n"||this.fonts[_t].origin===0?this.fonts[_t].loaded=!0:(ht=this.fonts[_t].monoCase.node,Ct=this.fonts[_t].monoCase.w,ht.offsetWidth!==Ct?(Ft-=1,this.fonts[_t].loaded=!0):(ht=this.fonts[_t].sansCase.node,Ct=this.fonts[_t].sansCase.w,ht.offsetWidth!==Ct&&(Ft-=1,this.fonts[_t].loaded=!0)),this.fonts[_t].loaded&&(this.fonts[_t].sansCase.parent.parentNode.removeChild(this.fonts[_t].sansCase.parent),this.fonts[_t].monoCase.parent.parentNode.removeChild(this.fonts[_t].monoCase.parent)));Ft!==0&&Date.now()-this.initTime<l?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function it(_t,Et){var ht=document.body&&Et?"svg":"canvas",Ct,Ft=Tr(_t);if(ht==="svg"){var wt=Xt("text");wt.style.fontSize="100px",wt.setAttribute("font-family",_t.fFamily),wt.setAttribute("font-style",Ft.style),wt.setAttribute("font-weight",Ft.weight),wt.textContent="1",_t.fClass?(wt.style.fontFamily="inherit",wt.setAttribute("class",_t.fClass)):wt.style.fontFamily=_t.fFamily,Et.appendChild(wt),Ct=wt;}else {var St=new OffscreenCanvas(500,500).getContext("2d");St.font=Ft.style+" "+Ft.weight+" 100px "+_t.fFamily,Ct=St;}function At(ut){return ht==="svg"?(Ct.textContent=ut,Ct.getComputedTextLength()):Ct.measureText(ut).width}return {measureText:At}}function lt(_t,Et){if(!_t){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=_t.list;return}if(!document.body){this.isLoaded=!0,_t.list.forEach(function(xe){xe.helper=it(xe),xe.cache={};}),this.fonts=_t.list;return}var ht=_t.list,Ct,Ft=ht.length,wt=Ft;for(Ct=0;Ct<Ft;Ct+=1){var St=!0,At,ut;if(ht[Ct].loaded=!1,ht[Ct].monoCase=K(ht[Ct].fFamily,"monospace"),ht[Ct].sansCase=K(ht[Ct].fFamily,"sans-serif"),!ht[Ct].fPath)ht[Ct].loaded=!0,wt-=1;else if(ht[Ct].fOrigin==="p"||ht[Ct].origin===3){if(At=document.querySelectorAll('style[f-forigin="p"][f-family="'+ht[Ct].fFamily+'"], style[f-origin="3"][f-family="'+ht[Ct].fFamily+'"]'),At.length>0&&(St=!1),St){var Dt=_("style");Dt.setAttribute("f-forigin",ht[Ct].fOrigin),Dt.setAttribute("f-origin",ht[Ct].origin),Dt.setAttribute("f-family",ht[Ct].fFamily),Dt.type="text/css",Dt.innerText="@font-face {font-family: "+ht[Ct].fFamily+"; font-style: normal; src: url('"+ht[Ct].fPath+"');}",Et.appendChild(Dt);}}else if(ht[Ct].fOrigin==="g"||ht[Ct].origin===1){for(At=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),ut=0;ut<At.length;ut+=1)At[ut].href.indexOf(ht[Ct].fPath)!==-1&&(St=!1);if(St){var Zt=_("link");Zt.setAttribute("f-forigin",ht[Ct].fOrigin),Zt.setAttribute("f-origin",ht[Ct].origin),Zt.type="text/css",Zt.rel="stylesheet",Zt.href=ht[Ct].fPath,document.body.appendChild(Zt);}}else if(ht[Ct].fOrigin==="t"||ht[Ct].origin===2){for(At=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),ut=0;ut<At.length;ut+=1)ht[Ct].fPath===At[ut].src&&(St=!1);if(St){var $t=_("link");$t.setAttribute("f-forigin",ht[Ct].fOrigin),$t.setAttribute("f-origin",ht[Ct].origin),$t.setAttribute("rel","stylesheet"),$t.setAttribute("href",ht[Ct].fPath),Et.appendChild($t);}}ht[Ct].helper=it(ht[Ct],Et),ht[Ct].cache={},this.fonts.push(ht[Ct]);}wt===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function tt(_t){if(_t){this.chars||(this.chars=[]);var Et,ht=_t.length,Ct,Ft=this.chars.length,wt;for(Et=0;Et<ht;Et+=1){for(Ct=0,wt=!1;Ct<Ft;)this.chars[Ct].style===_t[Et].style&&this.chars[Ct].fFamily===_t[Et].fFamily&&this.chars[Ct].ch===_t[Et].ch&&(wt=!0),Ct+=1;wt||(this.chars.push(_t[Et]),Ft+=1);}}}function H(_t,Et,ht){for(var Ct=0,Ft=this.chars.length;Ct<Ft;){if(this.chars[Ct].ch===_t&&this.chars[Ct].style===Et&&this.chars[Ct].fFamily===ht)return this.chars[Ct];Ct+=1;}return (typeof _t=="string"&&_t.charCodeAt(0)!==13||!_t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",_t,Et,ht)),k}function j(_t,Et,ht){var Ct=this.getFontByName(Et),Ft=_t;if(!Ct.cache[Ft]){var wt=Ct.helper;if(_t===" "){var St=wt.measureText("|"+_t+"|"),At=wt.measureText("||");Ct.cache[Ft]=(St-At)/100;}else Ct.cache[Ft]=wt.measureText(_t)/100;}return Ct.cache[Ft]*ht}function W(_t){for(var Et=0,ht=this.fonts.length;Et<ht;){if(this.fonts[Et].fName===_t)return this.fonts[Et];Et+=1;}return this.fonts[0]}function R(_t){var Et=0,ht=_t.charCodeAt(0);if(ht>=55296&&ht<=56319){var Ct=_t.charCodeAt(1);Ct>=56320&&Ct<=57343&&(Et=(ht-55296)*1024+Ct-56320+65536);}return Et}function rt(_t,Et){var ht=_t.toString(16)+Et.toString(16);return F.indexOf(ht)!==-1}function at(_t){return _t===b}function Z(_t){return _t===f}function ct(_t){var Et=R(_t);return Et>=T&&Et<=I}function mt(_t){return ct(_t.substr(0,2))&&ct(_t.substr(2,2))}function Pt(_t){return C.indexOf(_t)!==-1}function Rt(_t,Et){var ht=R(_t.substr(Et,2));if(ht!==L)return !1;var Ct=0;for(Et+=2;Ct<5;){if(ht=R(_t.substr(Et,2)),ht<V||ht>n)return !1;Ct+=1,Et+=2;}return R(_t.substr(Et,2))===O}function jt(){this.isLoaded=!0;}var Lt=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);};Lt.isModifier=rt,Lt.isZeroWidthJoiner=at,Lt.isFlagEmoji=mt,Lt.isRegionalCode=ct,Lt.isCombinedCharacter=Pt,Lt.isRegionalFlag=Rt,Lt.isVariationSelector=Z,Lt.BLACK_FLAG_CODE_POINT=L;var Kt={addChars:tt,addFonts:lt,getCharData:H,getFontByName:W,measureText:j,checkLoadedFonts:X,setIsLoaded:jt};return Lt.prototype=Kt,Lt}();function nr(l){this.animationData=l;}nr.prototype.getProp=function(l){return this.animationData.slots&&this.animationData.slots[l.sid]?Object.assign(l,this.animationData.slots[l.sid].p):l};function es(l){return new nr(l)}function us(){}us.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[];},addRenderableComponent:function(l){this.renderableComponents.indexOf(l)===-1&&this.renderableComponents.push(l);},removeRenderableComponent:function(l){this.renderableComponents.indexOf(l)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(l),1);},prepareRenderableFrame:function(l){this.checkLayerLimits(l);},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(l){this.data.ip-this.data.st<=l&&this.data.op-this.data.st>l?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 l,k=this.renderableComponents.length;for(l=0;l<k;l+=1)this.renderableComponents[l].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 zs=function(){var l={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(k){return l[k]||""}}();function Oa(l,k,C){this.p=pe.getProp(k,l.v,0,0,C);}function Ba(l,k,C){this.p=pe.getProp(k,l.v,0,0,C);}function ua(l,k,C){this.p=pe.getProp(k,l.v,1,0,C);}function za(l,k,C){this.p=pe.getProp(k,l.v,1,0,C);}function Ot(l,k,C){this.p=pe.getProp(k,l.v,0,0,C);}function Yt(l,k,C){this.p=pe.getProp(k,l.v,0,0,C);}function ie(l,k,C){this.p=pe.getProp(k,l.v,0,0,C);}function ye(){this.p={};}function Te(l,k){var C=l.ef||[];this.effectElements=[];var L,O=C.length,V;for(L=0;L<O;L+=1)V=new Fe(C[L],k),this.effectElements.push(V);}function Fe(l,k){this.init(l,k);}v([Ye],Fe),Fe.prototype.getValue=Fe.prototype.iterateDynamicProperties,Fe.prototype.init=function(l,k){this.data=l,this.effectElements=[],this.initDynamicPropertyContainer(k);var C,L=this.data.ef.length,O,V=this.data.ef;for(C=0;C<L;C+=1){switch(O=null,V[C].ty){case 0:O=new Oa(V[C],k,this);break;case 1:O=new Ba(V[C],k,this);break;case 2:O=new ua(V[C],k,this);break;case 3:O=new za(V[C],k,this);break;case 4:case 7:O=new ie(V[C],k,this);break;case 10:O=new Ot(V[C],k,this);break;case 11:O=new Yt(V[C],k,this);break;case 5:O=new Te(V[C],k);break;default:O=new ye(V[C]);break}O&&this.effectElements.push(O);}};function De(){}De.prototype={checkMasks:function(){if(!this.data.hasMask)return !1;for(var l=0,k=this.data.masksProperties.length;l<k;){if(this.data.masksProperties[l].mode!=="n"&&this.data.masksProperties[l].cl!==!1)return !0;l+=1;}return !1},initExpressions:function(){},setBlendMode:function(){var l=zs(this.data.bm),k=this.baseElement||this.layerElement;k.style["mix-blend-mode"]=l;},initBaseData:function(l,k,C){this.globalData=k,this.comp=C,this.data=l,this.layerId=nt(),this.data.sr||(this.data.sr=1),this.effectsManager=new Te(this.data,this,this.dynamicProperties);},getType:function(){return this.type},sourceRectAtTime:function(){}};function ve(){}ve.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1;},prepareProperties:function(l,k){var C,L=this.dynamicProperties.length;for(C=0;C<L;C+=1)(k||this._isParent&&this.dynamicProperties[C].propType==="transform")&&(this.dynamicProperties[C].getValue(),this.dynamicProperties[C]._mdf&&(this.globalData._mdf=!0,this._mdf=!0));},addDynamicProperty:function(l){this.dynamicProperties.indexOf(l)===-1&&this.dynamicProperties.push(l);}};function Ae(l,k,C){this.initFrame(),this.initRenderable(),this.assetData=k.getAssetData(l.refId),this.footageData=k.imageLoader.getAsset(this.assetData),this.initBaseData(l,k,C);}Ae.prototype.prepareFrame=function(){},v([us,De,ve],Ae),Ae.prototype.getBaseElement=function(){return null},Ae.prototype.renderFrame=function(){},Ae.prototype.destroy=function(){},Ae.prototype.initExpressions=function(){},Ae.prototype.getFootageData=function(){return this.footageData};function oi(l,k,C){this.initFrame(),this.initRenderable(),this.assetData=k.getAssetData(l.refId),this.initBaseData(l,k,C),this._isPlaying=!1,this._canPlay=!1;var L=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(L),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=l.tm?pe.getProp(this,l.tm,0,k.frameRate,this):{_placeholder:!0},this.lv=pe.getProp(this,l.au&&l.au.lv?l.au.lv:{k:[100]},1,.01,this);}oi.prototype.prepareFrame=function(l){if(this.prepareRenderableFrame(l,!0),this.prepareProperties(l,!0),this.tm._placeholder)this._currentTime=l/this.data.sr;else {var k=this.tm.v;this._currentTime=k;}this._volume=this.lv.v[0];var C=this._volume*this._volumeMultiplier;this._previousVolume!==C&&(this._previousVolume=C,this.audio.volume(C));},v([us,De,ve],oi),oi.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));},oi.prototype.show=function(){},oi.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1;},oi.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1;},oi.prototype.resume=function(){this._canPlay=!0;},oi.prototype.setRate=function(l){this.audio.rate(l);},oi.prototype.volume=function(l){this._volumeMultiplier=l,this._previousVolume=l*this._volume,this.audio.volume(this._previousVolume);},oi.prototype.getBaseElement=function(){return null},oi.prototype.destroy=function(){},oi.prototype.sourceRectAtTime=function(){},oi.prototype.initExpressions=function(){};function Be(){}Be.prototype.checkLayers=function(l){var k,C=this.layers.length,L;for(this.completeLayers=!0,k=C-1;k>=0;k-=1)this.elements[k]||(L=this.layers[k],L.ip-L.st<=l-this.layers[k].st&&L.op-L.st>l-this.layers[k].st&&this.buildItem(k)),this.completeLayers=this.elements[k]?this.completeLayers:!1;this.checkPendingElements();},Be.prototype.createItem=function(l){switch(l.ty){case 2:return this.createImage(l);case 0:return this.createComp(l);case 1:return this.createSolid(l);case 3:return this.createNull(l);case 4:return this.createShape(l);case 5:return this.createText(l);case 6:return this.createAudio(l);case 13:return this.createCamera(l);case 15:return this.createFootage(l);default:return this.createNull(l)}},Be.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},Be.prototype.createAudio=function(l){return new oi(l,this.globalData,this)},Be.prototype.createFootage=function(l){return new Ae(l,this.globalData,this)},Be.prototype.buildAllItems=function(){var l,k=this.layers.length;for(l=0;l<k;l+=1)this.buildItem(l);this.checkPendingElements();},Be.prototype.includeLayers=function(l){this.completeLayers=!1;var k,C=l.length,L,O=this.layers.length;for(k=0;k<C;k+=1)for(L=0;L<O;){if(this.layers[L].id===l[k].id){this.layers[L]=l[k];break}L+=1;}},Be.prototype.setProjectInterface=function(l){this.globalData.projectInterface=l;},Be.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems();},Be.prototype.buildElementParenting=function(l,k,C){for(var L=this.elements,O=this.layers,V=0,n=O.length;V<n;)O[V].ind==k&&(!L[V]||L[V]===!0?(this.buildItem(V),this.addPendingElement(l)):(C.push(L[V]),L[V].setAsParent(),O[V].parent!==void 0?this.buildElementParenting(l,O[V].parent,C):l.setHierarchy(C))),V+=1;},Be.prototype.addPendingElement=function(l){this.pendingElements.push(l);},Be.prototype.searchExtraCompositions=function(l){var k,C=l.length;for(k=0;k<C;k+=1)if(l[k].xt){var L=this.createComp(l[k]);L.initExpressions(),this.globalData.projectInterface.registerComposition(L);}},Be.prototype.getElementById=function(l){var k,C=this.elements.length;for(k=0;k<C;k+=1)if(this.elements[k].data.ind===l)return this.elements[k];return null},Be.prototype.getElementByPath=function(l){var k=l.shift(),C;if(typeof k=="number")C=this.elements[k];else {var L,O=this.elements.length;for(L=0;L<O;L+=1)if(this.elements[L].data.nm===k){C=this.elements[L];break}}return l.length===0?C:C.getElementByPath(l)},Be.prototype.setupGlobalData=function(l,k){this.globalData.fontManager=new vr,this.globalData.slotManager=es(l),this.globalData.fontManager.addChars(l.chars),this.globalData.fontManager.addFonts(l.fonts,k),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=l.fr,this.globalData.nm=l.nm,this.globalData.compSize={w:l.w,h:l.h};};var Vi={TRANSFORM_EFFECT:"transformEFfect"};function Ei(){}Ei.prototype={initTransform:function(){var l=new ue;this.finalTransform={mProp:this.data.ks?rr.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:l,localMat:l,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 l,k=this.finalTransform.mat,C=0,L=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;C<L;){if(this.hierarchy[C].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}C+=1;}if(this.finalTransform._matMdf)for(l=this.finalTransform.mProp.v.props,k.cloneFromProps(l),C=0;C<L;C+=1)k.multiply(this.hierarchy[C].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 l=0,k=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;l<k;)this.localTransforms[l]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[l]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),l+=1;if(this.finalTransform._localMatMdf){var C=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(C),l=1;l<k;l+=1){var L=this.localTransforms[l].matrix;C.multiply(L);}C.multiply(this.finalTransform.mat);}if(this.finalTransform._opMdf){var O=this.finalTransform.localOpacity;for(l=0;l<k;l+=1)O*=this.localTransforms[l].opacity*.01;this.finalTransform.localOpacity=O;}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var l=this.renderableEffectsManager.getEffects(Vi.TRANSFORM_EFFECT);if(l.length){this.localTransforms=[],this.finalTransform.localMat=new ue;var k=0,C=l.length;for(k=0;k<C;k+=1)this.localTransforms.push(l[k]);}}},globalToLocal:function(l){var k=[];k.push(this.finalTransform);for(var C=!0,L=this.comp;C;)L.finalTransform?(L.data.hasMask&&k.splice(0,0,L.finalTransform),L=L.comp):C=!1;var O,V=k.length,n;for(O=0;O<V;O+=1)n=k[O].mat.applyToPointArray(0,0,0),l=[l[0]-n[0],l[1]-n[1],0];return l},mHelper:new ue};function Yi(l,k,C){this.data=l,this.element=k,this.globalData=C,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var L=this.globalData.defs,O,V=this.masksProperties?this.masksProperties.length:0;this.viewData=g(V),this.solidPath="";var n,f=this.masksProperties,b=0,T=[],I,F,G=nt(),K,X,it,lt,tt="clipPath",H="clip-path";for(O=0;O<V;O+=1)if((f[O].mode!=="a"&&f[O].mode!=="n"||f[O].inv||f[O].o.k!==100||f[O].o.x)&&(tt="mask",H="mask"),(f[O].mode==="s"||f[O].mode==="i")&&b===0?(K=Xt("rect"),K.setAttribute("fill","#ffffff"),K.setAttribute("width",this.element.comp.data.w||0),K.setAttribute("height",this.element.comp.data.h||0),T.push(K)):K=null,n=Xt("path"),f[O].mode==="n")this.viewData[O]={op:pe.getProp(this.element,f[O].o,0,.01,this.element),prop:kr.getShapeProp(this.element,f[O],3),elem:n,lastPath:""},L.appendChild(n);else {b+=1,n.setAttribute("fill",f[O].mode==="s"?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero");var j;if(f[O].x.k!==0?(tt="mask",H="mask",lt=pe.getProp(this.element,f[O].x,0,null,this.element),j=nt(),X=Xt("filter"),X.setAttribute("id",j),it=Xt("feMorphology"),it.setAttribute("operator","erode"),it.setAttribute("in","SourceGraphic"),it.setAttribute("radius","0"),X.appendChild(it),L.appendChild(X),n.setAttribute("stroke",f[O].mode==="s"?"#000000":"#ffffff")):(it=null,lt=null),this.storedData[O]={elem:n,x:lt,expan:it,lastPath:"",lastOperator:"",filterId:j,lastRadius:0},f[O].mode==="i"){F=T.length;var W=Xt("g");for(I=0;I<F;I+=1)W.appendChild(T[I]);var R=Xt("mask");R.setAttribute("mask-type","alpha"),R.setAttribute("id",G+"_"+b),R.appendChild(n),L.appendChild(R),W.setAttribute("mask","url("+c()+"#"+G+"_"+b+")"),T.length=0,T.push(W);}else T.push(n);f[O].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[O]={elem:n,lastPath:"",op:pe.getProp(this.element,f[O].o,0,.01,this.element),prop:kr.getShapeProp(this.element,f[O],3),invRect:K},this.viewData[O].prop.k||this.drawPath(f[O],this.viewData[O].prop.v,this.viewData[O]);}for(this.maskElement=Xt(tt),V=T.length,O=0;O<V;O+=1)this.maskElement.appendChild(T[O]);b>0&&(this.maskElement.setAttribute("id",G),this.element.maskedElement.setAttribute(H,"url("+c()+"#"+G+")"),L.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this);}Yi.prototype.getMaskProperty=function(l){return this.viewData[l].prop},Yi.prototype.renderFrame=function(l){var k=this.element.finalTransform.mat,C,L=this.masksProperties.length;for(C=0;C<L;C+=1)if((this.viewData[C].prop._mdf||l)&&this.drawPath(this.masksProperties[C],this.viewData[C].prop.v,this.viewData[C]),(this.viewData[C].op._mdf||l)&&this.viewData[C].elem.setAttribute("fill-opacity",this.viewData[C].op.v),this.masksProperties[C].mode!=="n"&&(this.viewData[C].invRect&&(this.element.finalTransform.mProp._mdf||l)&&this.viewData[C].invRect.setAttribute("transform",k.getInverseMatrix().to2dCSS()),this.storedData[C].x&&(this.storedData[C].x._mdf||l))){var O=this.storedData[C].expan;this.storedData[C].x.v<0?(this.storedData[C].lastOperator!=="erode"&&(this.storedData[C].lastOperator="erode",this.storedData[C].elem.setAttribute("filter","url("+c()+"#"+this.storedData[C].filterId+")")),O.setAttribute("radius",-this.storedData[C].x.v)):(this.storedData[C].lastOperator!=="dilate"&&(this.storedData[C].lastOperator="dilate",this.storedData[C].elem.setAttribute("filter",null)),this.storedData[C].elem.setAttribute("stroke-width",this.storedData[C].x.v*2));}},Yi.prototype.getMaskelement=function(){return this.maskElement},Yi.prototype.createLayerSolidPath=function(){var l="M0,0 ";return l+=" h"+this.globalData.compSize.w,l+=" v"+this.globalData.compSize.h,l+=" h-"+this.globalData.compSize.w,l+=" v-"+this.globalData.compSize.h+" ",l},Yi.prototype.drawPath=function(l,k,C){var L=" M"+k.v[0][0]+","+k.v[0][1],O,V;for(V=k._length,O=1;O<V;O+=1)L+=" C"+k.o[O-1][0]+","+k.o[O-1][1]+" "+k.i[O][0]+","+k.i[O][1]+" "+k.v[O][0]+","+k.v[O][1];if(k.c&&V>1&&(L+=" C"+k.o[O-1][0]+","+k.o[O-1][1]+" "+k.i[0][0]+","+k.i[0][1]+" "+k.v[0][0]+","+k.v[0][1]),C.lastPath!==L){var n="";C.elem&&(k.c&&(n=l.inv?this.solidPath+L:L),C.elem.setAttribute("d",n)),C.lastPath=L;}},Yi.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null;};var Mr=function(){var l={};l.createFilter=k,l.createAlphaToLuminanceFilter=C;function k(L,O){var V=Xt("filter");return V.setAttribute("id",L),O!==!0&&(V.setAttribute("filterUnits","objectBoundingBox"),V.setAttribute("x","0%"),V.setAttribute("y","0%"),V.setAttribute("width","100%"),V.setAttribute("height","100%")),V}function C(){var L=Xt("feColorMatrix");return L.setAttribute("type","matrix"),L.setAttribute("color-interpolation-filters","sRGB"),L.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),L}return l}(),da=function(){var l={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))&&(l.maskType=!1),/firefox/i.test(navigator.userAgent)&&(l.svgLumaHidden=!1),l}(),Ss={},Jr="filter_result_";function Ui(l){var k,C="SourceGraphic",L=l.data.ef?l.data.ef.length:0,O=nt(),V=Mr.createFilter(O,!0),n=0;this.filters=[];var f;for(k=0;k<L;k+=1){f=null;var b=l.data.ef[k].ty;if(Ss[b]){var T=Ss[b].effect;f=new T(V,l.effectsManager.effectElements[k],l,Jr+n,C),C=Jr+n,Ss[b].countsAsEffect&&(n+=1);}f&&this.filters.push(f);}n&&(l.globalData.defs.appendChild(V),l.layerElement.setAttribute("filter","url("+c()+"#"+O+")")),this.filters.length&&l.addRenderableComponent(this);}Ui.prototype.renderFrame=function(l){var k,C=this.filters.length;for(k=0;k<C;k+=1)this.filters[k].renderFrame(l);},Ui.prototype.getEffects=function(l){var k,C=this.filters.length,L=[];for(k=0;k<C;k+=1)this.filters[k].type===l&&L.push(this.filters[k]);return L};function er(){}er.prototype={initRendererElement:function(){this.layerElement=Xt("g");},createContainerElements:function(){this.matteElement=Xt("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var l=null;if(this.data.td){this.matteMasks={};var k=Xt("g");k.setAttribute("id",this.layerId),k.appendChild(this.layerElement),l=k,this.globalData.defs.appendChild(k);}else this.data.tt?(this.matteElement.appendChild(this.layerElement),l=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 C=Xt("clipPath"),L=Xt("path");L.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var O=nt();if(C.setAttribute("id",O),C.appendChild(L),this.globalData.defs.appendChild(C),this.checkMasks()){var V=Xt("g");V.setAttribute("clip-path","url("+c()+"#"+O+")"),V.appendChild(this.layerElement),this.transformedElement=V,l?l.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+c()+"#"+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 Yi(this.data,this,this.globalData),this.renderableEffectsManager=new Ui(this),this.searchEffectTransforms();},getMatte:function(l){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[l]){var k=this.layerId+"_"+l,C,L,O,V;if(l===1||l===3){var n=Xt("mask");n.setAttribute("id",k),n.setAttribute("mask-type",l===3?"luminance":"alpha"),O=Xt("use"),O.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),n.appendChild(O),this.globalData.defs.appendChild(n),!da.maskType&&l===1&&(n.setAttribute("mask-type","luminance"),C=nt(),L=Mr.createFilter(C),this.globalData.defs.appendChild(L),L.appendChild(Mr.createAlphaToLuminanceFilter()),V=Xt("g"),V.appendChild(O),n.appendChild(V),V.setAttribute("filter","url("+c()+"#"+C+")"));}else if(l===2){var f=Xt("mask");f.setAttribute("id",k),f.setAttribute("mask-type","alpha");var b=Xt("g");f.appendChild(b),C=nt(),L=Mr.createFilter(C);var T=Xt("feComponentTransfer");T.setAttribute("in","SourceGraphic"),L.appendChild(T);var I=Xt("feFuncA");I.setAttribute("type","table"),I.setAttribute("tableValues","1.0 0.0"),T.appendChild(I),this.globalData.defs.appendChild(L);var F=Xt("rect");F.setAttribute("width",this.comp.data.w),F.setAttribute("height",this.comp.data.h),F.setAttribute("x","0"),F.setAttribute("y","0"),F.setAttribute("fill","#ffffff"),F.setAttribute("opacity","0"),b.setAttribute("filter","url("+c()+"#"+C+")"),b.appendChild(F),O=Xt("use"),O.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),b.appendChild(O),da.maskType||(f.setAttribute("mask-type","luminance"),L.appendChild(Mr.createAlphaToLuminanceFilter()),V=Xt("g"),b.appendChild(F),V.appendChild(this.layerElement),b.appendChild(V)),this.globalData.defs.appendChild(f);}this.matteMasks[l]=k;}return this.matteMasks[l]},setMatte:function(l){this.matteElement&&this.matteElement.setAttribute("mask","url("+c()+"#"+l+")");}};function Ai(){}Ai.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting();},setHierarchy:function(l){this.hierarchy=l;},setAsParent:function(){this._isParent=!0;},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[]);}};function ks(){}(function(){var l={initElement:function(k,C,L){this.initFrame(),this.initBaseData(k,C,L),this.initTransform(k,C,L),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide();},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var k=this.baseElement||this.layerElement;k.style.display="none",this.hidden=!0;}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var k=this.baseElement||this.layerElement;k.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(k){this._mdf=!1,this.prepareRenderableFrame(k),this.prepareProperties(k,this.isInRange),this.checkTransparency();},destroy:function(){this.innerElem=null,this.destroyBaseElement();}};v([us,u(l)],ks);})();function is(l,k,C){this.assetData=k.getAssetData(l.refId),this.assetData&&this.assetData.sid&&(this.assetData=k.slotManager.getProp(this.assetData)),this.initElement(l,k,C),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h};}v([De,Ei,er,Ai,ve,ks],is),is.prototype.createContent=function(){var l=this.globalData.getAssetsPath(this.assetData);this.innerElem=Xt("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",l),this.layerElement.appendChild(this.innerElem);},is.prototype.sourceRectAtTime=function(){return this.sourceRect};function ma(l,k){this.elem=l,this.pos=k;}function Ks(){}Ks.prototype={addShapeToModifiers:function(l){var k,C=this.shapeModifiers.length;for(k=0;k<C;k+=1)this.shapeModifiers[k].addShape(l);},isShapeInAnimatedModifiers:function(l){for(var k=0,C=this.shapeModifiers.length;k<C;)if(this.shapeModifiers[k].isAnimatedWithShape(l))return !0;return !1},renderModifiers:function(){if(this.shapeModifiers.length){var l,k=this.shapes.length;for(l=0;l<k;l+=1)this.shapes[l].sh.reset();k=this.shapeModifiers.length;var C;for(l=k-1;l>=0&&(C=this.shapeModifiers[l].processShapes(this._isFirstFrame),!C);l-=1);}},searchProcessedElement:function(l){for(var k=this.processedElements,C=0,L=k.length;C<L;){if(k[C].elem===l)return k[C].pos;C+=1;}return 0},addProcessedElement:function(l,k){for(var C=this.processedElements,L=C.length;L;)if(L-=1,C[L].elem===l){C[L].pos=k;return}C.push(new ma(l,k));},prepareFrame:function(l){this.prepareRenderableFrame(l),this.prepareProperties(l,this.isInRange);}};var Ns={1:"butt",2:"round",3:"square"},Qs={1:"miter",2:"round",3:"bevel"};function rs(l,k,C){this.caches=[],this.styles=[],this.transformers=l,this.lStr="",this.sh=C,this.lvl=k,this._isAnimated=!!C.k;for(var L=0,O=l.length;L<O;){if(l[L].mProps.dynamicProperties.length){this._isAnimated=!0;break}L+=1;}}rs.prototype.setAsAnimated=function(){this._isAnimated=!0;};function ga(l,k){this.data=l,this.type=l.ty,this.d="",this.lvl=k,this._mdf=!1,this.closed=l.hd===!0,this.pElem=Xt("path"),this.msElem=null;}ga.prototype.reset=function(){this.d="",this._mdf=!1;};function Gs(l,k,C,L){this.elem=l,this.frameId=-1,this.dataProps=g(k.length),this.renderer=C,this.k=!1,this.dashStr="",this.dashArray=d("float32",k.length?k.length-1:0),this.dashoffset=d("float32",1),this.initDynamicPropertyContainer(L);var O,V=k.length||0,n;for(O=0;O<V;O+=1)n=pe.getProp(l,k[O].v,0,0,this),this.k=n.k||this.k,this.dataProps[O]={n:k[O].n,p:n};this.k||this.getValue(!0),this._isAnimated=this.k;}Gs.prototype.getValue=function(l){if(!(this.elem.globalData.frameId===this.frameId&&!l)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||l,this._mdf)){var k=0,C=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),k=0;k<C;k+=1)this.dataProps[k].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[k].p.v:this.dashArray[k]=this.dataProps[k].p.v:this.dashoffset[0]=this.dataProps[k].p.v;}},v([Ye],Gs);function ya(l,k,C){this.initDynamicPropertyContainer(l),this.getValue=this.iterateDynamicProperties,this.o=pe.getProp(l,k.o,0,.01,this),this.w=pe.getProp(l,k.w,0,null,this),this.d=new Gs(l,k.d||{},"svg",this),this.c=pe.getProp(l,k.c,1,255,this),this.style=C,this._isAnimated=!!this._isAnimated;}v([Ye],ya);function Br(l,k,C){this.initDynamicPropertyContainer(l),this.getValue=this.iterateDynamicProperties,this.o=pe.getProp(l,k.o,0,.01,this),this.c=pe.getProp(l,k.c,1,255,this),this.style=C;}v([Ye],Br);function Dr(l,k,C){this.initDynamicPropertyContainer(l),this.getValue=this.iterateDynamicProperties,this.style=C;}v([Ye],Dr);function ws(l,k,C){this.data=k,this.c=d("uint8c",k.p*4);var L=k.k.k[0].s?k.k.k[0].s.length-k.p*4:k.k.k.length-k.p*4;this.o=d("float32",L),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=L,this.initDynamicPropertyContainer(C),this.prop=pe.getProp(l,k.k,1,null,this),this.k=this.prop.k,this.getValue(!0);}ws.prototype.comparePoints=function(l,k){for(var C=0,L=this.o.length/2,O;C<L;){if(O=Math.abs(l[C*4]-l[k*4+C*2]),O>.01)return !1;C+=1;}return !0},ws.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return !1;if(this.data.k.k[0].s)for(var l=0,k=this.data.k.k.length;l<k;){if(!this.comparePoints(this.data.k.k[l].s,this.data.p))return !1;l+=1;}else if(!this.comparePoints(this.data.k.k,this.data.p))return !1;return !0},ws.prototype.getValue=function(l){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||l){var k,C=this.data.p*4,L,O;for(k=0;k<C;k+=1)L=k%4===0?100:255,O=Math.round(this.prop.v[k]*L),this.c[k]!==O&&(this.c[k]=O,this._cmdf=!l);if(this.o.length)for(C=this.prop.v.length,k=this.data.p*4;k<C;k+=1)L=k%2===0?100:1,O=k%2===0?Math.round(this.prop.v[k]*100):this.prop.v[k],this.o[k-this.data.p*4]!==O&&(this.o[k-this.data.p*4]=O,this._omdf=!l);this._mdf=!l;}},v([Ye],ws);function js(l,k,C){this.initDynamicPropertyContainer(l),this.getValue=this.iterateDynamicProperties,this.initGradientData(l,k,C);}js.prototype.initGradientData=function(l,k,C){this.o=pe.getProp(l,k.o,0,.01,this),this.s=pe.getProp(l,k.s,1,null,this),this.e=pe.getProp(l,k.e,1,null,this),this.h=pe.getProp(l,k.h||{k:0},0,.01,this),this.a=pe.getProp(l,k.a||{k:0},0,xt,this),this.g=new ws(l,k.g,this),this.style=C,this.stops=[],this.setGradientData(C.pElem,k),this.setGradientOpacity(k,C),this._isAnimated=!!this._isAnimated;},js.prototype.setGradientData=function(l,k){var C=nt(),L=Xt(k.t===1?"linearGradient":"radialGradient");L.setAttribute("id",C),L.setAttribute("spreadMethod","pad"),L.setAttribute("gradientUnits","userSpaceOnUse");var O=[],V,n,f;for(f=k.g.p*4,n=0;n<f;n+=4)V=Xt("stop"),L.appendChild(V),O.push(V);l.setAttribute(k.ty==="gf"?"fill":"stroke","url("+c()+"#"+C+")"),this.gf=L,this.cst=O;},js.prototype.setGradientOpacity=function(l,k){if(this.g._hasOpacity&&!this.g._collapsable){var C,L,O,V=Xt("mask"),n=Xt("path");V.appendChild(n);var f=nt(),b=nt();V.setAttribute("id",b);var T=Xt(l.t===1?"linearGradient":"radialGradient");T.setAttribute("id",f),T.setAttribute("spreadMethod","pad"),T.setAttribute("gradientUnits","userSpaceOnUse"),O=l.g.k.k[0].s?l.g.k.k[0].s.length:l.g.k.k.length;var I=this.stops;for(L=l.g.p*4;L<O;L+=2)C=Xt("stop"),C.setAttribute("stop-color","rgb(255,255,255)"),T.appendChild(C),I.push(C);n.setAttribute(l.ty==="gf"?"fill":"stroke","url("+c()+"#"+f+")"),l.ty==="gs"&&(n.setAttribute("stroke-linecap",Ns[l.lc||2]),n.setAttribute("stroke-linejoin",Qs[l.lj||2]),l.lj===1&&n.setAttribute("stroke-miterlimit",l.ml)),this.of=T,this.ms=V,this.ost=I,this.maskId=b,k.msElem=n;}},v([Ye],js);function tn(l,k,C){this.initDynamicPropertyContainer(l),this.getValue=this.iterateDynamicProperties,this.w=pe.getProp(l,k.w,0,null,this),this.d=new Gs(l,k.d||{},"svg",this),this.initGradientData(l,k,C),this._isAnimated=!!this._isAnimated;}v([js,Ye],tn);function Na(){this.it=[],this.prevViewData=[],this.gr=Xt("g");}function _n(l,k,C){this.transform={mProps:l,op:k,container:C},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length;}var je=function(l,k,C,L){if(k===0)return "";var O=l.o,V=l.i,n=l.v,f,b=" M"+L.applyToPointStringified(n[0][0],n[0][1]);for(f=1;f<k;f+=1)b+=" C"+L.applyToPointStringified(O[f-1][0],O[f-1][1])+" "+L.applyToPointStringified(V[f][0],V[f][1])+" "+L.applyToPointStringified(n[f][0],n[f][1]);return C&&k&&(b+=" C"+L.applyToPointStringified(O[f-1][0],O[f-1][1])+" "+L.applyToPointStringified(V[0][0],V[0][1])+" "+L.applyToPointStringified(n[0][0],n[0][1]),b+="z"),b},ta=function(){var l=new ue,k=new ue,C={createRenderFunction:L};function L(F){switch(F.ty){case"fl":return f;case"gf":return T;case"gs":return b;case"st":return I;case"sh":case"el":case"rc":case"sr":return n;case"tr":return O;case"no":return V;default:return null}}function O(F,G,K){(K||G.transform.op._mdf)&&G.transform.container.setAttribute("opacity",G.transform.op.v),(K||G.transform.mProps._mdf)&&G.transform.container.setAttribute("transform",G.transform.mProps.v.to2dCSS());}function V(){}function n(F,G,K){var X,it,lt,tt,H,j,W=G.styles.length,R=G.lvl,rt,at,Z,ct;for(j=0;j<W;j+=1){if(tt=G.sh._mdf||K,G.styles[j].lvl<R){for(at=k.reset(),Z=R-G.styles[j].lvl,ct=G.transformers.length-1;!tt&&Z>0;)tt=G.transformers[ct].mProps._mdf||tt,Z-=1,ct-=1;if(tt)for(Z=R-G.styles[j].lvl,ct=G.transformers.length-1;Z>0;)at.multiply(G.transformers[ct].mProps.v),Z-=1,ct-=1;}else at=l;if(rt=G.sh.paths,it=rt._length,tt){for(lt="",X=0;X<it;X+=1)H=rt.shapes[X],H&&H._length&&(lt+=je(H,H._length,H.c,at));G.caches[j]=lt;}else lt=G.caches[j];G.styles[j].d+=F.hd===!0?"":lt,G.styles[j]._mdf=tt||G.styles[j]._mdf;}}function f(F,G,K){var X=G.style;(G.c._mdf||K)&&X.pElem.setAttribute("fill","rgb("+N(G.c.v[0])+","+N(G.c.v[1])+","+N(G.c.v[2])+")"),(G.o._mdf||K)&&X.pElem.setAttribute("fill-opacity",G.o.v);}function b(F,G,K){T(F,G,K),I(F,G,K);}function T(F,G,K){var X=G.gf,it=G.g._hasOpacity,lt=G.s.v,tt=G.e.v;if(G.o._mdf||K){var H=F.ty==="gf"?"fill-opacity":"stroke-opacity";G.style.pElem.setAttribute(H,G.o.v);}if(G.s._mdf||K){var j=F.t===1?"x1":"cx",W=j==="x1"?"y1":"cy";X.setAttribute(j,lt[0]),X.setAttribute(W,lt[1]),it&&!G.g._collapsable&&(G.of.setAttribute(j,lt[0]),G.of.setAttribute(W,lt[1]));}var R,rt,at,Z;if(G.g._cmdf||K){R=G.cst;var ct=G.g.c;for(at=R.length,rt=0;rt<at;rt+=1)Z=R[rt],Z.setAttribute("offset",ct[rt*4]+"%"),Z.setAttribute("stop-color","rgb("+ct[rt*4+1]+","+ct[rt*4+2]+","+ct[rt*4+3]+")");}if(it&&(G.g._omdf||K)){var mt=G.g.o;for(G.g._collapsable?R=G.cst:R=G.ost,at=R.length,rt=0;rt<at;rt+=1)Z=R[rt],G.g._collapsable||Z.setAttribute("offset",mt[rt*2]+"%"),Z.setAttribute("stop-opacity",mt[rt*2+1]);}if(F.t===1)(G.e._mdf||K)&&(X.setAttribute("x2",tt[0]),X.setAttribute("y2",tt[1]),it&&!G.g._collapsable&&(G.of.setAttribute("x2",tt[0]),G.of.setAttribute("y2",tt[1])));else {var Pt;if((G.s._mdf||G.e._mdf||K)&&(Pt=Math.sqrt(Math.pow(lt[0]-tt[0],2)+Math.pow(lt[1]-tt[1],2)),X.setAttribute("r",Pt),it&&!G.g._collapsable&&G.of.setAttribute("r",Pt)),G.e._mdf||G.h._mdf||G.a._mdf||K){Pt||(Pt=Math.sqrt(Math.pow(lt[0]-tt[0],2)+Math.pow(lt[1]-tt[1],2)));var Rt=Math.atan2(tt[1]-lt[1],tt[0]-lt[0]),jt=G.h.v;jt>=1?jt=.99:jt<=-1&&(jt=-.99);var Lt=Pt*jt,Kt=Math.cos(Rt+G.a.v)*Lt+lt[0],_t=Math.sin(Rt+G.a.v)*Lt+lt[1];X.setAttribute("fx",Kt),X.setAttribute("fy",_t),it&&!G.g._collapsable&&(G.of.setAttribute("fx",Kt),G.of.setAttribute("fy",_t));}}}function I(F,G,K){var X=G.style,it=G.d;it&&(it._mdf||K)&&it.dashStr&&(X.pElem.setAttribute("stroke-dasharray",it.dashStr),X.pElem.setAttribute("stroke-dashoffset",it.dashoffset[0])),G.c&&(G.c._mdf||K)&&X.pElem.setAttribute("stroke","rgb("+N(G.c.v[0])+","+N(G.c.v[1])+","+N(G.c.v[2])+")"),(G.o._mdf||K)&&X.pElem.setAttribute("stroke-opacity",G.o.v),(G.w._mdf||K)&&(X.pElem.setAttribute("stroke-width",G.w.v),X.msElem&&X.msElem.setAttribute("stroke-width",G.w.v));}return C}();function Ie(l,k,C){this.shapes=[],this.shapesData=l.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(l,k,C),this.prevViewData=[];}v([De,Ei,er,Ks,Ai,ve,ks],Ie),Ie.prototype.initSecondaryElement=function(){},Ie.prototype.identityMatrix=new ue,Ie.prototype.buildExpressionInterface=function(){},Ie.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes();},Ie.prototype.filterUniqueShapes=function(){var l,k=this.shapes.length,C,L,O=this.stylesList.length,V,n=[],f=!1;for(L=0;L<O;L+=1){for(V=this.stylesList[L],f=!1,n.length=0,l=0;l<k;l+=1)C=this.shapes[l],C.styles.indexOf(V)!==-1&&(n.push(C),f=C._isAnimated||f);n.length>1&&f&&this.setShapesAsAnimated(n);}},Ie.prototype.setShapesAsAnimated=function(l){var k,C=l.length;for(k=0;k<C;k+=1)l[k].setAsAnimated();},Ie.prototype.createStyleElement=function(l,k){var C,L=new ga(l,k),O=L.pElem;if(l.ty==="st")C=new ya(this,l,L);else if(l.ty==="fl")C=new Br(this,l,L);else if(l.ty==="gf"||l.ty==="gs"){var V=l.ty==="gf"?js:tn;C=new V(this,l,L),this.globalData.defs.appendChild(C.gf),C.maskId&&(this.globalData.defs.appendChild(C.ms),this.globalData.defs.appendChild(C.of),O.setAttribute("mask","url("+c()+"#"+C.maskId+")"));}else l.ty==="no"&&(C=new Dr(this,l,L));return (l.ty==="st"||l.ty==="gs")&&(O.setAttribute("stroke-linecap",Ns[l.lc||2]),O.setAttribute("stroke-linejoin",Qs[l.lj||2]),O.setAttribute("fill-opacity","0"),l.lj===1&&O.setAttribute("stroke-miterlimit",l.ml)),l.r===2&&O.setAttribute("fill-rule","evenodd"),l.ln&&O.setAttribute("id",l.ln),l.cl&&O.setAttribute("class",l.cl),l.bm&&(O.style["mix-blend-mode"]=zs(l.bm)),this.stylesList.push(L),this.addToAnimatedContents(l,C),C},Ie.prototype.createGroupElement=function(l){var k=new Na;return l.ln&&k.gr.setAttribute("id",l.ln),l.cl&&k.gr.setAttribute("class",l.cl),l.bm&&(k.gr.style["mix-blend-mode"]=zs(l.bm)),k},Ie.prototype.createTransformElement=function(l,k){var C=rr.getTransformProperty(this,l,this),L=new _n(C,C.o,k);return this.addToAnimatedContents(l,L),L},Ie.prototype.createShapeElement=function(l,k,C){var L=4;l.ty==="rc"?L=5:l.ty==="el"?L=6:l.ty==="sr"&&(L=7);var O=kr.getShapeProp(this,l,L,this),V=new rs(k,C,O);return this.shapes.push(V),this.addShapeToModifiers(V),this.addToAnimatedContents(l,V),V},Ie.prototype.addToAnimatedContents=function(l,k){for(var C=0,L=this.animatedContents.length;C<L;){if(this.animatedContents[C].element===k)return;C+=1;}this.animatedContents.push({fn:ta.createRenderFunction(l),element:k,data:l});},Ie.prototype.setElementStyles=function(l){var k=l.styles,C,L=this.stylesList.length;for(C=0;C<L;C+=1)this.stylesList[C].closed||k.push(this.stylesList[C]);},Ie.prototype.reloadShapes=function(){this._isFirstFrame=!0;var l,k=this.itemsData.length;for(l=0;l<k;l+=1)this.prevViewData[l]=this.itemsData[l];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),k=this.dynamicProperties.length,l=0;l<k;l+=1)this.dynamicProperties[l].getValue();this.renderModifiers();},Ie.prototype.searchShapes=function(l,k,C,L,O,V,n){var f=[].concat(V),b,T=l.length-1,I,F,G=[],K=[],X,it,lt;for(b=T;b>=0;b-=1){if(lt=this.searchProcessedElement(l[b]),lt?k[b]=C[lt-1]:l[b]._render=n,l[b].ty==="fl"||l[b].ty==="st"||l[b].ty==="gf"||l[b].ty==="gs"||l[b].ty==="no")lt?k[b].style.closed=!1:k[b]=this.createStyleElement(l[b],O),l[b]._render&&k[b].style.pElem.parentNode!==L&&L.appendChild(k[b].style.pElem),G.push(k[b].style);else if(l[b].ty==="gr"){if(!lt)k[b]=this.createGroupElement(l[b]);else for(F=k[b].it.length,I=0;I<F;I+=1)k[b].prevViewData[I]=k[b].it[I];this.searchShapes(l[b].it,k[b].it,k[b].prevViewData,k[b].gr,O+1,f,n),l[b]._render&&k[b].gr.parentNode!==L&&L.appendChild(k[b].gr);}else l[b].ty==="tr"?(lt||(k[b]=this.createTransformElement(l[b],L)),X=k[b].transform,f.push(X)):l[b].ty==="sh"||l[b].ty==="rc"||l[b].ty==="el"||l[b].ty==="sr"?(lt||(k[b]=this.createShapeElement(l[b],f,O)),this.setElementStyles(k[b])):l[b].ty==="tm"||l[b].ty==="rd"||l[b].ty==="ms"||l[b].ty==="pb"||l[b].ty==="zz"||l[b].ty==="op"?(lt?(it=k[b],it.closed=!1):(it=ei.getModifier(l[b].ty),it.init(this,l[b]),k[b]=it,this.shapeModifiers.push(it)),K.push(it)):l[b].ty==="rp"&&(lt?(it=k[b],it.closed=!0):(it=ei.getModifier(l[b].ty),k[b]=it,it.init(this,l,b,k),this.shapeModifiers.push(it),n=!1),K.push(it));this.addProcessedElement(l[b],b+1);}for(T=G.length,b=0;b<T;b+=1)G[b].closed=!0;for(T=K.length,b=0;b<T;b+=1)K[b].closed=!0;},Ie.prototype.renderInnerContent=function(){this.renderModifiers();var l,k=this.stylesList.length;for(l=0;l<k;l+=1)this.stylesList[l].reset();for(this.renderShape(),l=0;l<k;l+=1)(this.stylesList[l]._mdf||this._isFirstFrame)&&(this.stylesList[l].msElem&&(this.stylesList[l].msElem.setAttribute("d",this.stylesList[l].d),this.stylesList[l].d="M0 0"+this.stylesList[l].d),this.stylesList[l].pElem.setAttribute("d",this.stylesList[l].d||"M0 0"));},Ie.prototype.renderShape=function(){var l,k=this.animatedContents.length,C;for(l=0;l<k;l+=1)C=this.animatedContents[l],(this._isFirstFrame||C.element._isAnimated)&&C.data!==!0&&C.fn(C.data,C.element,this._isFirstFrame);},Ie.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null;};function Ga(l,k,C,L,O,V){this.o=l,this.sw=k,this.sc=C,this.fc=L,this.m=O,this.p=V,this._mdf={o:!0,sw:!!k,sc:!!C,fc:!!L,m:!0,p:!0};}Ga.prototype.update=function(l,k,C,L,O,V){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 n=!1;return this.o!==l&&(this.o=l,this._mdf.o=!0,n=!0),this.sw!==k&&(this.sw=k,this._mdf.sw=!0,n=!0),this.sc!==C&&(this.sc=C,this._mdf.sc=!0,n=!0),this.fc!==L&&(this.fc=L,this._mdf.fc=!0,n=!0),this.m!==O&&(this.m=O,this._mdf.m=!0,n=!0),V.length&&(this.p[0]!==V[0]||this.p[1]!==V[1]||this.p[4]!==V[4]||this.p[5]!==V[5]||this.p[12]!==V[12]||this.p[13]!==V[13])&&(this.p=V,this._mdf.p=!0,n=!0),n};function ir(l,k){this._frameId=a,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,k.d&&k.d.sid&&(k.d=l.globalData.slotManager.getProp(k.d)),this.data=k,this.elem=l,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);}ir.prototype.defaultBoxWidth=[0,0],ir.prototype.copyData=function(l,k){for(var C in k)Object.prototype.hasOwnProperty.call(k,C)&&(l[C]=k[C]);return l},ir.prototype.setCurrentData=function(l){l.__complete||this.completeTextData(l),this.currentData=l,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0;},ir.prototype.searchProperty=function(){return this.searchKeyframes()},ir.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},ir.prototype.addEffect=function(l){this.effectsSequence.push(l),this.elem.addDynamicProperty(this);},ir.prototype.getValue=function(l){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!l)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var k=this.currentData,C=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var L,O=this.effectsSequence.length,V=l||this.data.d.k[this.keysIndex].s;for(L=0;L<O;L+=1)C!==this.keysIndex?V=this.effectsSequence[L](V,V.t):V=this.effectsSequence[L](this.currentData,V.t);k!==V&&this.setCurrentData(V),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId;}},ir.prototype.getKeyframeValue=function(){for(var l=this.data.d.k,k=this.elem.comp.renderedFrame,C=0,L=l.length;C<=L-1&&!(C===L-1||l[C+1].t>k);)C+=1;return this.keysIndex!==C&&(this.keysIndex=C),this.data.d.k[this.keysIndex].s},ir.prototype.buildFinalText=function(l){for(var k=[],C=0,L=l.length,O,V,n=!1,f=!1,b="";C<L;)n=f,f=!1,O=l.charCodeAt(C),b=l.charAt(C),vr.isCombinedCharacter(O)?n=!0:O>=55296&&O<=56319?vr.isRegionalFlag(l,C)?b=l.substr(C,14):(V=l.charCodeAt(C+1),V>=56320&&V<=57343&&(vr.isModifier(O,V)?(b=l.substr(C,2),n=!0):vr.isFlagEmoji(l.substr(C,4))?b=l.substr(C,4):b=l.substr(C,2))):O>56319?(V=l.charCodeAt(C+1),vr.isVariationSelector(O)&&(n=!0)):vr.isZeroWidthJoiner(O)&&(n=!0,f=!0),n?(k[k.length-1]+=b,n=!1):k.push(b),C+=b.length;return k},ir.prototype.completeTextData=function(l){l.__complete=!0;var k=this.elem.globalData.fontManager,C=this.data,L=[],O,V,n,f=0,b,T=C.m.g,I=0,F=0,G=0,K=[],X=0,it=0,lt,tt,H=k.getFontByName(l.f),j,W=0,R=Tr(H);l.fWeight=R.weight,l.fStyle=R.style,l.finalSize=l.s,l.finalText=this.buildFinalText(l.t),V=l.finalText.length,l.finalLineHeight=l.lh;var rt=l.tr/1e3*l.finalSize,at;if(l.sz)for(var Z=!0,ct=l.sz[0],mt=l.sz[1],Pt,Rt;Z;){Rt=this.buildFinalText(l.t),Pt=0,X=0,V=Rt.length,rt=l.tr/1e3*l.finalSize;var jt=-1;for(O=0;O<V;O+=1)at=Rt[O].charCodeAt(0),n=!1,Rt[O]===" "?jt=O:(at===13||at===3)&&(X=0,n=!0,Pt+=l.finalLineHeight||l.finalSize*1.2),k.chars?(j=k.getCharData(Rt[O],H.fStyle,H.fFamily),W=n?0:j.w*l.finalSize/100):W=k.measureText(Rt[O],l.f,l.finalSize),X+W>ct&&Rt[O]!==" "?(jt===-1?V+=1:O=jt,Pt+=l.finalLineHeight||l.finalSize*1.2,Rt.splice(O,jt===O?1:0,"\r"),jt=-1,X=0):(X+=W,X+=rt);Pt+=H.ascent*l.finalSize/100,this.canResize&&l.finalSize>this.minimumFontSize&&mt<Pt?(l.finalSize-=1,l.finalLineHeight=l.finalSize*l.lh/l.s):(l.finalText=Rt,V=l.finalText.length,Z=!1);}X=-rt,W=0;var Lt=0,Kt;for(O=0;O<V;O+=1)if(n=!1,Kt=l.finalText[O],at=Kt.charCodeAt(0),at===13||at===3?(Lt=0,K.push(X),it=X>it?X:it,X=-2*rt,b="",n=!0,G+=1):b=Kt,k.chars?(j=k.getCharData(Kt,H.fStyle,k.getFontByName(l.f).fFamily),W=n?0:j.w*l.finalSize/100):W=k.measureText(b,l.f,l.finalSize),Kt===" "?Lt+=W+rt:(X+=W+rt+Lt,Lt=0),L.push({l:W,an:W,add:I,n,anIndexes:[],val:b,line:G,animatorJustifyOffset:0}),T==2){if(I+=W,b===""||b===" "||O===V-1){for((b===""||b===" ")&&(I-=W);F<=O;)L[F].an=I,L[F].ind=f,L[F].extra=W,F+=1;f+=1,I=0;}}else if(T==3){if(I+=W,b===""||O===V-1){for(b===""&&(I-=W);F<=O;)L[F].an=I,L[F].ind=f,L[F].extra=W,F+=1;I=0,f+=1;}}else L[f].ind=f,L[f].extra=0,f+=1;if(l.l=L,it=X>it?X:it,K.push(X),l.sz)l.boxWidth=l.sz[0],l.justifyOffset=0;else switch(l.boxWidth=it,l.j){case 1:l.justifyOffset=-l.boxWidth;break;case 2:l.justifyOffset=-l.boxWidth/2;break;default:l.justifyOffset=0;}l.lineWidths=K;var _t=C.a,Et,ht;tt=_t.length;var Ct,Ft,wt=[];for(lt=0;lt<tt;lt+=1){for(Et=_t[lt],Et.a.sc&&(l.strokeColorAnim=!0),Et.a.sw&&(l.strokeWidthAnim=!0),(Et.a.fc||Et.a.fh||Et.a.fs||Et.a.fb)&&(l.fillColorAnim=!0),Ft=0,Ct=Et.s.b,O=0;O<V;O+=1)ht=L[O],ht.anIndexes[lt]=Ft,(Ct==1&&ht.val!==""||Ct==2&&ht.val!==""&&ht.val!==" "||Ct==3&&(ht.n||ht.val==" "||O==V-1)||Ct==4&&(ht.n||O==V-1))&&(Et.s.rn===1&&wt.push(Ft),Ft+=1);C.a[lt].s.totalChars=Ft;var St=-1,At;if(Et.s.rn===1)for(O=0;O<V;O+=1)ht=L[O],St!=ht.anIndexes[lt]&&(St=ht.anIndexes[lt],At=wt.splice(Math.floor(Math.random()*wt.length),1)[0]),ht.anIndexes[lt]=At;}l.yOffset=l.finalLineHeight||l.finalSize*1.2,l.ls=l.ls||0,l.ascent=H.ascent*l.finalSize/100;},ir.prototype.updateDocumentData=function(l,k){k=k===void 0?this.keysIndex:k;var C=this.copyData({},this.data.d.k[k].s);C=this.copyData(C,l),this.data.d.k[k].s=C,this.recalculate(k),this.setCurrentData(C),this.elem.addDynamicProperty(this);},ir.prototype.recalculate=function(l){var k=this.data.d.k[l].s;k.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(k);},ir.prototype.canResizeFont=function(l){this.canResize=l,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);},ir.prototype.setMinimumFontSize=function(l){this.minimumFontSize=Math.floor(l)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this);};var br=function(){var l=Math.max,k=Math.min,C=Math.floor;function L(V,n){this._currentTextLength=-1,this.k=!1,this.data=n,this.elem=V,this.comp=V.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(V),this.s=pe.getProp(V,n.s||{k:0},0,0,this),"e"in n?this.e=pe.getProp(V,n.e,0,0,this):this.e={v:100},this.o=pe.getProp(V,n.o||{k:0},0,0,this),this.xe=pe.getProp(V,n.xe||{k:0},0,0,this),this.ne=pe.getProp(V,n.ne||{k:0},0,0,this),this.sm=pe.getProp(V,n.sm||{k:100},0,0,this),this.a=pe.getProp(V,n.a,0,.01,this),this.dynamicProperties.length||this.getValue();}L.prototype={getMult:function(V){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,f=0,b=1,T=1;this.ne.v>0?n=this.ne.v/100:f=-this.ne.v/100,this.xe.v>0?b=1-this.xe.v/100:T=1+this.xe.v/100;var I=$e.getBezierEasing(n,f,b,T).get,F=0,G=this.finalS,K=this.finalE,X=this.data.sh;if(X===2)K===G?F=V>=K?1:0:F=l(0,k(.5/(K-G)+(V-G)/(K-G),1)),F=I(F);else if(X===3)K===G?F=V>=K?0:1:F=1-l(0,k(.5/(K-G)+(V-G)/(K-G),1)),F=I(F);else if(X===4)K===G?F=0:(F=l(0,k(.5/(K-G)+(V-G)/(K-G),1)),F<.5?F*=2:F=1-2*(F-.5)),F=I(F);else if(X===5){if(K===G)F=0;else {var it=K-G;V=k(l(0,V+.5-G),K-G);var lt=-it/2+V,tt=it/2;F=Math.sqrt(1-lt*lt/(tt*tt));}F=I(F);}else X===6?(K===G?F=0:(V=k(l(0,V+.5-G),K-G),F=(1+Math.cos(Math.PI+Math.PI*2*V/(K-G)))/2),F=I(F)):(V>=C(G)&&(V-G<0?F=l(0,k(k(K,1)-(G-V),1)):F=l(0,k(K-V,1))),F=I(F));if(this.sm.v!==100){var H=this.sm.v*.01;H===0&&(H=1e-8);var j=.5-H*.5;F<j?F=0:(F=(F-j)/H,F>1&&(F=1));}return F*this.a.v},getValue:function(V){this.iterateDynamicProperties(),this._mdf=V||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,V&&this.data.r===2&&(this.e.v=this._currentTextLength);var n=this.data.r===2?1:100/this.data.totalChars,f=this.o.v/n,b=this.s.v/n+f,T=this.e.v/n+f;if(b>T){var I=b;b=T,T=I;}this.finalS=b,this.finalE=T;}},v([Ye],L);function O(V,n,f){return new L(V,n)}return {getTextSelectorProp:O}}();function xi(l,k,C){var L={propType:!1},O=pe.getProp,V=k.a;this.a={r:V.r?O(l,V.r,0,xt,C):L,rx:V.rx?O(l,V.rx,0,xt,C):L,ry:V.ry?O(l,V.ry,0,xt,C):L,sk:V.sk?O(l,V.sk,0,xt,C):L,sa:V.sa?O(l,V.sa,0,xt,C):L,s:V.s?O(l,V.s,1,.01,C):L,a:V.a?O(l,V.a,1,0,C):L,o:V.o?O(l,V.o,0,.01,C):L,p:V.p?O(l,V.p,1,0,C):L,sw:V.sw?O(l,V.sw,0,0,C):L,sc:V.sc?O(l,V.sc,1,0,C):L,fc:V.fc?O(l,V.fc,1,0,C):L,fh:V.fh?O(l,V.fh,0,0,C):L,fs:V.fs?O(l,V.fs,0,.01,C):L,fb:V.fb?O(l,V.fb,0,.01,C):L,t:V.t?O(l,V.t,0,0,C):L},this.s=br.getTextSelectorProp(l,k.s,C),this.s.t=k.s.t;}function Es(l,k,C){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=l,this._renderType=k,this._elem=C,this._animatorsData=g(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(C);}Es.prototype.searchProperties=function(){var l,k=this._textData.a.length,C,L=pe.getProp;for(l=0;l<k;l+=1)C=this._textData.a[l],this._animatorsData[l]=new xi(this._elem,C,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:L(this._elem,this._textData.p.a,0,0,this),f:L(this._elem,this._textData.p.f,0,0,this),l:L(this._elem,this._textData.p.l,0,0,this),r:L(this._elem,this._textData.p.r,0,0,this),p:L(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=L(this._elem,this._textData.m.a,1,0,this);},Es.prototype.getMeasures=function(l,k){if(this.lettersChangedFlag=k,!(!this._mdf&&!this._isFirstFrame&&!k&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var C=this._moreOptions.alignment.v,L=this._animatorsData,O=this._textData,V=this.mHelper,n=this._renderType,f=this.renderedLetters.length,b,T,I,F,G=l.l,K,X,it,lt,tt,H,j,W,R,rt,at,Z,ct,mt,Pt;if(this._hasMaskedPath){if(Pt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var Rt=Pt.v;this._pathData.r.v&&(Rt=Rt.reverse()),K={tLength:0,segments:[]},F=Rt._length-1;var jt;for(Z=0,I=0;I<F;I+=1)jt=Ki.buildBezierData(Rt.v[I],Rt.v[I+1],[Rt.o[I][0]-Rt.v[I][0],Rt.o[I][1]-Rt.v[I][1]],[Rt.i[I+1][0]-Rt.v[I+1][0],Rt.i[I+1][1]-Rt.v[I+1][1]]),K.tLength+=jt.segmentLength,K.segments.push(jt),Z+=jt.segmentLength;I=F,Pt.v.c&&(jt=Ki.buildBezierData(Rt.v[I],Rt.v[0],[Rt.o[I][0]-Rt.v[I][0],Rt.o[I][1]-Rt.v[I][1]],[Rt.i[0][0]-Rt.v[0][0],Rt.i[0][1]-Rt.v[0][1]]),K.tLength+=jt.segmentLength,K.segments.push(jt),Z+=jt.segmentLength),this._pathData.pi=K;}if(K=this._pathData.pi,X=this._pathData.f.v,j=0,H=1,lt=0,tt=!0,rt=K.segments,X<0&&Pt.v.c)for(K.tLength<Math.abs(X)&&(X=-Math.abs(X)%K.tLength),j=rt.length-1,R=rt[j].points,H=R.length-1;X<0;)X+=R[H].partialLength,H-=1,H<0&&(j-=1,R=rt[j].points,H=R.length-1);R=rt[j].points,W=R[H-1],it=R[H],at=it.partialLength;}F=G.length,b=0,T=0;var Lt=l.finalSize*1.2*.714,Kt=!0,_t,Et,ht,Ct,Ft;Ct=L.length;var wt,St=-1,At,ut,Dt,Zt=X,$t=j,xe=H,ge=-1,Me,we,He,Ce,me,Ci,Pi,hi,Ri="",Qe=this.defaultPropsArray,Ee;if(l.j===2||l.j===1){var Oi=0,xr=0,hr=l.j===2?-.5:-1,$i=0,lr=!0;for(I=0;I<F;I+=1)if(G[I].n){for(Oi&&(Oi+=xr);$i<I;)G[$i].animatorJustifyOffset=Oi,$i+=1;Oi=0,lr=!0;}else {for(ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.t.propType&&(lr&&l.j===2&&(xr+=_t.t.v*hr),Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),wt.length?Oi+=_t.t.v*wt[0]*hr:Oi+=_t.t.v*wt*hr);lr=!1;}for(Oi&&(Oi+=xr);$i<I;)G[$i].animatorJustifyOffset=Oi,$i+=1;}for(I=0;I<F;I+=1){if(V.reset(),Me=1,G[I].n)b=0,T+=l.yOffset,T+=Kt?1:0,X=Zt,Kt=!1,this._hasMaskedPath&&(j=$t,H=xe,R=rt[j].points,W=R[H-1],it=R[H],at=it.partialLength,lt=0),Ri="",hi="",Ci="",Ee="",Qe=this.defaultPropsArray;else {if(this._hasMaskedPath){if(ge!==G[I].line){switch(l.j){case 1:X+=Z-l.lineWidths[G[I].line];break;case 2:X+=(Z-l.lineWidths[G[I].line])/2;break}ge=G[I].line;}St!==G[I].ind&&(G[St]&&(X+=G[St].extra),X+=G[I].an/2,St=G[I].ind),X+=C[0]*G[I].an*.005;var Ji=0;for(ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.p.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),wt.length?Ji+=_t.p.v[0]*wt[0]:Ji+=_t.p.v[0]*wt),_t.a.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),wt.length?Ji+=_t.a.v[0]*wt[0]:Ji+=_t.a.v[0]*wt);for(tt=!0,this._pathData.a.v&&(X=G[0].an*.5+(Z-this._pathData.f.v-G[0].an*.5-G[G.length-1].an*.5)*St/(F-1),X+=this._pathData.f.v);tt;)lt+at>=X+Ji||!R?(ct=(X+Ji-lt)/it.partialLength,ut=W.point[0]+(it.point[0]-W.point[0])*ct,Dt=W.point[1]+(it.point[1]-W.point[1])*ct,V.translate(-C[0]*G[I].an*.005,-(C[1]*Lt)*.01),tt=!1):R&&(lt+=it.partialLength,H+=1,H>=R.length&&(H=0,j+=1,rt[j]?R=rt[j].points:Pt.v.c?(H=0,j=0,R=rt[j].points):(lt-=it.partialLength,R=null)),R&&(W=it,it=R[H],at=it.partialLength));At=G[I].an/2-G[I].add,V.translate(-At,0,0);}else At=G[I].an/2-G[I].add,V.translate(-At,0,0),V.translate(-C[0]*G[I].an*.005,-C[1]*Lt*.01,0);for(ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.t.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),(b!==0||l.j!==0)&&(this._hasMaskedPath?wt.length?X+=_t.t.v*wt[0]:X+=_t.t.v*wt:wt.length?b+=_t.t.v*wt[0]:b+=_t.t.v*wt));for(l.strokeWidthAnim&&(He=l.sw||0),l.strokeColorAnim&&(l.sc?we=[l.sc[0],l.sc[1],l.sc[2]]:we=[0,0,0]),l.fillColorAnim&&l.fc&&(Ce=[l.fc[0],l.fc[1],l.fc[2]]),ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.a.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),wt.length?V.translate(-_t.a.v[0]*wt[0],-_t.a.v[1]*wt[1],_t.a.v[2]*wt[2]):V.translate(-_t.a.v[0]*wt,-_t.a.v[1]*wt,_t.a.v[2]*wt));for(ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.s.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),wt.length?V.scale(1+(_t.s.v[0]-1)*wt[0],1+(_t.s.v[1]-1)*wt[1],1):V.scale(1+(_t.s.v[0]-1)*wt,1+(_t.s.v[1]-1)*wt,1));for(ht=0;ht<Ct;ht+=1){if(_t=L[ht].a,Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),_t.sk.propType&&(wt.length?V.skewFromAxis(-_t.sk.v*wt[0],_t.sa.v*wt[1]):V.skewFromAxis(-_t.sk.v*wt,_t.sa.v*wt)),_t.r.propType&&(wt.length?V.rotateZ(-_t.r.v*wt[2]):V.rotateZ(-_t.r.v*wt)),_t.ry.propType&&(wt.length?V.rotateY(_t.ry.v*wt[1]):V.rotateY(_t.ry.v*wt)),_t.rx.propType&&(wt.length?V.rotateX(_t.rx.v*wt[0]):V.rotateX(_t.rx.v*wt)),_t.o.propType&&(wt.length?Me+=(_t.o.v*wt[0]-Me)*wt[0]:Me+=(_t.o.v*wt-Me)*wt),l.strokeWidthAnim&&_t.sw.propType&&(wt.length?He+=_t.sw.v*wt[0]:He+=_t.sw.v*wt),l.strokeColorAnim&&_t.sc.propType)for(me=0;me<3;me+=1)wt.length?we[me]+=(_t.sc.v[me]-we[me])*wt[0]:we[me]+=(_t.sc.v[me]-we[me])*wt;if(l.fillColorAnim&&l.fc){if(_t.fc.propType)for(me=0;me<3;me+=1)wt.length?Ce[me]+=(_t.fc.v[me]-Ce[me])*wt[0]:Ce[me]+=(_t.fc.v[me]-Ce[me])*wt;_t.fh.propType&&(wt.length?Ce=Gt(Ce,_t.fh.v*wt[0]):Ce=Gt(Ce,_t.fh.v*wt)),_t.fs.propType&&(wt.length?Ce=zt(Ce,_t.fs.v*wt[0]):Ce=zt(Ce,_t.fs.v*wt)),_t.fb.propType&&(wt.length?Ce=qt(Ce,_t.fb.v*wt[0]):Ce=qt(Ce,_t.fb.v*wt));}}for(ht=0;ht<Ct;ht+=1)_t=L[ht].a,_t.p.propType&&(Et=L[ht].s,wt=Et.getMult(G[I].anIndexes[ht],O.a[ht].s.totalChars),this._hasMaskedPath?wt.length?V.translate(0,_t.p.v[1]*wt[0],-_t.p.v[2]*wt[1]):V.translate(0,_t.p.v[1]*wt,-_t.p.v[2]*wt):wt.length?V.translate(_t.p.v[0]*wt[0],_t.p.v[1]*wt[1],-_t.p.v[2]*wt[2]):V.translate(_t.p.v[0]*wt,_t.p.v[1]*wt,-_t.p.v[2]*wt));if(l.strokeWidthAnim&&(Ci=He<0?0:He),l.strokeColorAnim&&(Pi="rgb("+Math.round(we[0]*255)+","+Math.round(we[1]*255)+","+Math.round(we[2]*255)+")"),l.fillColorAnim&&l.fc&&(hi="rgb("+Math.round(Ce[0]*255)+","+Math.round(Ce[1]*255)+","+Math.round(Ce[2]*255)+")"),this._hasMaskedPath){if(V.translate(0,-l.ls),V.translate(0,C[1]*Lt*.01+T,0),this._pathData.p.v){mt=(it.point[1]-W.point[1])/(it.point[0]-W.point[0]);var Hi=Math.atan(mt)*180/Math.PI;it.point[0]<W.point[0]&&(Hi+=180),V.rotate(-Hi*Math.PI/180);}V.translate(ut,Dt,0),X-=C[0]*G[I].an*.005,G[I+1]&&St!==G[I+1].ind&&(X+=G[I].an/2,X+=l.tr*.001*l.finalSize);}else {switch(V.translate(b,T,0),l.ps&&V.translate(l.ps[0],l.ps[1]+l.ascent,0),l.j){case 1:V.translate(G[I].animatorJustifyOffset+l.justifyOffset+(l.boxWidth-l.lineWidths[G[I].line]),0,0);break;case 2:V.translate(G[I].animatorJustifyOffset+l.justifyOffset+(l.boxWidth-l.lineWidths[G[I].line])/2,0,0);break}V.translate(0,-l.ls),V.translate(At,0,0),V.translate(C[0]*G[I].an*.005,C[1]*Lt*.01,0),b+=G[I].l+l.tr*.001*l.finalSize;}n==="html"?Ri=V.toCSS():n==="svg"?Ri=V.to2dCSS():Qe=[V.props[0],V.props[1],V.props[2],V.props[3],V.props[4],V.props[5],V.props[6],V.props[7],V.props[8],V.props[9],V.props[10],V.props[11],V.props[12],V.props[13],V.props[14],V.props[15]],Ee=Me;}f<=I?(Ft=new Ga(Ee,Ci,Pi,hi,Ri,Qe),this.renderedLetters.push(Ft),f+=1,this.lettersChangedFlag=!0):(Ft=this.renderedLetters[I],this.lettersChangedFlag=Ft.update(Ee,Ci,Pi,hi,Ri,Qe)||this.lettersChangedFlag);}}},Es.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties());},Es.prototype.mHelper=new ue,Es.prototype.defaultPropsArray=[],v([Ye],Es);function si(){}si.prototype.initElement=function(l,k,C){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(l,k,C),this.textProperty=new ir(this,l.t,this.dynamicProperties),this.textAnimator=new Es(l.t,this.renderType,this),this.initTransform(l,k,C),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties);},si.prototype.prepareFrame=function(l){this._mdf=!1,this.prepareRenderableFrame(l),this.prepareProperties(l,this.isInRange);},si.prototype.createPathShape=function(l,k){var C,L=k.length,O,V="";for(C=0;C<L;C+=1)k[C].ty==="sh"&&(O=k[C].ks.k,V+=je(O,O.i.length,!0,l));return V},si.prototype.updateDocumentData=function(l,k){this.textProperty.updateDocumentData(l,k);},si.prototype.canResizeFont=function(l){this.textProperty.canResizeFont(l);},si.prototype.setMinimumFontSize=function(l){this.textProperty.setMinimumFontSize(l);},si.prototype.applyTextPropertiesToMatrix=function(l,k,C,L,O){switch(l.ps&&k.translate(l.ps[0],l.ps[1]+l.ascent,0),k.translate(0,-l.ls,0),l.j){case 1:k.translate(l.justifyOffset+(l.boxWidth-l.lineWidths[C]),0,0);break;case 2:k.translate(l.justifyOffset+(l.boxWidth-l.lineWidths[C])/2,0,0);break}k.translate(L,O,0);},si.prototype.buildColor=function(l){return "rgb("+Math.round(l[0]*255)+","+Math.round(l[1]*255)+","+Math.round(l[2]*255)+")"},si.prototype.emptyProp=new Ga,si.prototype.destroy=function(){},si.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1);};var ea={shapes:[]};function _i(l,k,C){this.textSpans=[],this.renderType="svg",this.initElement(l,k,C);}v([De,Ei,er,Ai,ve,ks,si],_i),_i.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=Xt("text"));},_i.prototype.buildTextContents=function(l){for(var k=0,C=l.length,L=[],O="";k<C;)l[k]===String.fromCharCode(13)||l[k]===String.fromCharCode(3)?(L.push(O),O=""):O+=l[k],k+=1;return L.push(O),L},_i.prototype.buildShapeData=function(l,k){if(l.shapes&&l.shapes.length){var C=l.shapes[0];if(C.it){var L=C.it[C.it.length-1];L.s&&(L.s.k[0]=k,L.s.k[1]=k);}}return l},_i.prototype.buildNewText=function(){this.addDynamicProperty(this);var l,k,C=this.textProperty.currentData;this.renderedLetters=g(C?C.l.length:0),C.fc?this.layerElement.setAttribute("fill",this.buildColor(C.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),C.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(C.sc)),this.layerElement.setAttribute("stroke-width",C.sw)),this.layerElement.setAttribute("font-size",C.finalSize);var L=this.globalData.fontManager.getFontByName(C.f);if(L.fClass)this.layerElement.setAttribute("class",L.fClass);else {this.layerElement.setAttribute("font-family",L.fFamily);var O=C.fWeight,V=C.fStyle;this.layerElement.setAttribute("font-style",V),this.layerElement.setAttribute("font-weight",O);}this.layerElement.setAttribute("aria-label",C.t);var n=C.l||[],f=!!this.globalData.fontManager.chars;k=n.length;var b,T=this.mHelper,I="",F=this.data.singleShape,G=0,K=0,X=!0,it=C.tr*.001*C.finalSize;if(F&&!f&&!C.sz){var lt=this.textContainer,tt="start";switch(C.j){case 1:tt="end";break;case 2:tt="middle";break;default:tt="start";break}lt.setAttribute("text-anchor",tt),lt.setAttribute("letter-spacing",it);var H=this.buildTextContents(C.finalText);for(k=H.length,K=C.ps?C.ps[1]+C.ascent:0,l=0;l<k;l+=1)b=this.textSpans[l].span||Xt("tspan"),b.textContent=H[l],b.setAttribute("x",0),b.setAttribute("y",K),b.style.display="inherit",lt.appendChild(b),this.textSpans[l]||(this.textSpans[l]={span:null,glyph:null}),this.textSpans[l].span=b,K+=C.finalLineHeight;this.layerElement.appendChild(lt);}else {var j=this.textSpans.length,W;for(l=0;l<k;l+=1){if(this.textSpans[l]||(this.textSpans[l]={span:null,childSpan:null,glyph:null}),!f||!F||l===0){if(b=j>l?this.textSpans[l].span:Xt(f?"g":"text"),j<=l){if(b.setAttribute("stroke-linecap","butt"),b.setAttribute("stroke-linejoin","round"),b.setAttribute("stroke-miterlimit","4"),this.textSpans[l].span=b,f){var R=Xt("g");b.appendChild(R),this.textSpans[l].childSpan=R;}this.textSpans[l].span=b,this.layerElement.appendChild(b);}b.style.display="inherit";}if(T.reset(),F&&(n[l].n&&(G=-it,K+=C.yOffset,K+=X?1:0,X=!1),this.applyTextPropertiesToMatrix(C,T,n[l].line,G,K),G+=n[l].l||0,G+=it),f){W=this.globalData.fontManager.getCharData(C.finalText[l],L.fStyle,this.globalData.fontManager.getFontByName(C.f).fFamily);var rt;if(W.t===1)rt=new P(W.data,this.globalData,this);else {var at=ea;W.data&&W.data.shapes&&(at=this.buildShapeData(W.data,C.finalSize)),rt=new Ie(at,this.globalData,this);}if(this.textSpans[l].glyph){var Z=this.textSpans[l].glyph;this.textSpans[l].childSpan.removeChild(Z.layerElement),Z.destroy();}this.textSpans[l].glyph=rt,rt._debug=!0,rt.prepareFrame(0),rt.renderFrame(),this.textSpans[l].childSpan.appendChild(rt.layerElement),W.t===1&&this.textSpans[l].childSpan.setAttribute("transform","scale("+C.finalSize/100+","+C.finalSize/100+")");}else F&&b.setAttribute("transform","translate("+T.props[12]+","+T.props[13]+")"),b.textContent=n[l].val,b.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}F&&b&&b.setAttribute("d",I);}for(;l<this.textSpans.length;)this.textSpans[l].span.style.display="none",l+=1;this._sizeChanged=!0;},_i.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var l=this.layerElement.getBBox();this.bbox={top:l.y,left:l.x,width:l.width,height:l.height};}return this.bbox},_i.prototype.getValue=function(){var l,k=this.textSpans.length,C;for(this.renderedFrame=this.comp.renderedFrame,l=0;l<k;l+=1)C=this.textSpans[l].glyph,C&&(C.prepareFrame(this.comp.renderedFrame-this.data.st),C._mdf&&(this._mdf=!0));},_i.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 l,k,C=this.textAnimator.renderedLetters,L=this.textProperty.currentData.l;k=L.length;var O,V,n;for(l=0;l<k;l+=1)L[l].n||(O=C[l],V=this.textSpans[l].span,n=this.textSpans[l].glyph,n&&n.renderFrame(),O._mdf.m&&V.setAttribute("transform",O.m),O._mdf.o&&V.setAttribute("opacity",O.o),O._mdf.sw&&V.setAttribute("stroke-width",O.sw),O._mdf.sc&&V.setAttribute("stroke",O.sc),O._mdf.fc&&V.setAttribute("fill",O.fc));}};function Ue(l,k,C){this.initElement(l,k,C);}v([is],Ue),Ue.prototype.createContent=function(){var l=Xt("rect");l.setAttribute("width",this.data.sw),l.setAttribute("height",this.data.sh),l.setAttribute("fill",this.data.sc),this.layerElement.appendChild(l);};function gi(l,k,C){this.initFrame(),this.initBaseData(l,k,C),this.initFrame(),this.initTransform(l,k,C),this.initHierarchy();}gi.prototype.prepareFrame=function(l){this.prepareProperties(l,!0);},gi.prototype.renderFrame=function(){},gi.prototype.getBaseElement=function(){return null},gi.prototype.destroy=function(){},gi.prototype.sourceRectAtTime=function(){},gi.prototype.hide=function(){},v([De,Ei,Ai,ve],gi);function ci(){}v([Be],ci),ci.prototype.createNull=function(l){return new gi(l,this.globalData,this)},ci.prototype.createShape=function(l){return new Ie(l,this.globalData,this)},ci.prototype.createText=function(l){return new _i(l,this.globalData,this)},ci.prototype.createImage=function(l){return new is(l,this.globalData,this)},ci.prototype.createSolid=function(l){return new Ue(l,this.globalData,this)},ci.prototype.configAnimation=function(l){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 "+l.w+" "+l.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",l.w),this.svgElement.setAttribute("height",l.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 k=this.globalData.defs;this.setupGlobalData(l,k),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=l;var C=Xt("clipPath"),L=Xt("rect");L.setAttribute("width",l.w),L.setAttribute("height",l.h),L.setAttribute("x",0),L.setAttribute("y",0);var O=nt();C.setAttribute("id",O),C.appendChild(L),this.layerElement.setAttribute("clip-path","url("+c()+"#"+O+")"),k.appendChild(C),this.layers=l.layers,this.elements=g(l.layers.length);},ci.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var l,k=this.layers?this.layers.length:0;for(l=0;l<k;l+=1)this.elements[l]&&this.elements[l].destroy&&this.elements[l].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null;},ci.prototype.updateContainerSize=function(){},ci.prototype.findIndexByInd=function(l){var k=0,C=this.layers.length;for(k=0;k<C;k+=1)if(this.layers[k].ind===l)return k;return -1},ci.prototype.buildItem=function(l){var k=this.elements;if(!(k[l]||this.layers[l].ty===99)){k[l]=!0;var C=this.createItem(this.layers[l]);if(k[l]=C,Se()&&(this.layers[l].ty===0&&this.globalData.projectInterface.registerComposition(C),C.initExpressions()),this.appendElementInPos(C,l),this.layers[l].tt){var L="tp"in this.layers[l]?this.findIndexByInd(this.layers[l].tp):l-1;if(L===-1)return;if(!this.elements[L]||this.elements[L]===!0)this.buildItem(L),this.addPendingElement(C);else {var O=k[L],V=O.getMatte(this.layers[l].tt);C.setMatte(V);}}}},ci.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var l=this.pendingElements.pop();if(l.checkParenting(),l.data.tt)for(var k=0,C=this.elements.length;k<C;){if(this.elements[k]===l){var L="tp"in l.data?this.findIndexByInd(l.data.tp):k-1,O=this.elements[L],V=O.getMatte(this.layers[k].tt);l.setMatte(V);break}k+=1;}}},ci.prototype.renderFrame=function(l){if(!(this.renderedFrame===l||this.destroyed)){l===null?l=this.renderedFrame:this.renderedFrame=l,this.globalData.frameNum=l,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=l,this.globalData._mdf=!1;var k,C=this.layers.length;for(this.completeLayers||this.checkLayers(l),k=C-1;k>=0;k-=1)(this.completeLayers||this.elements[k])&&this.elements[k].prepareFrame(l-this.layers[k].st);if(this.globalData._mdf)for(k=0;k<C;k+=1)(this.completeLayers||this.elements[k])&&this.elements[k].renderFrame();}},ci.prototype.appendElementInPos=function(l,k){var C=l.getBaseElement();if(C){for(var L=0,O;L<k;)this.elements[L]&&this.elements[L]!==!0&&this.elements[L].getBaseElement()&&(O=this.elements[L].getBaseElement()),L+=1;O?this.layerElement.insertBefore(C,O):this.layerElement.appendChild(C);}},ci.prototype.hide=function(){this.layerElement.style.display="none";},ci.prototype.show=function(){this.layerElement.style.display="block";};function or(){}v([De,Ei,Ai,ve,ks],or),or.prototype.initElement=function(l,k,C){this.initFrame(),this.initBaseData(l,k,C),this.initTransform(l,k,C),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!k.progressiveLoad)&&this.buildAllItems(),this.hide();},or.prototype.prepareFrame=function(l){if(this._mdf=!1,this.prepareRenderableFrame(l),this.prepareProperties(l,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=l/this.data.sr;else {var k=this.tm.v;k===this.data.op&&(k=this.data.op-1),this.renderedFrame=k;}var C,L=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),C=L-1;C>=0;C-=1)(this.completeLayers||this.elements[C])&&(this.elements[C].prepareFrame(this.renderedFrame-this.layers[C].st),this.elements[C]._mdf&&(this._mdf=!0));}},or.prototype.renderInnerContent=function(){var l,k=this.layers.length;for(l=0;l<k;l+=1)(this.completeLayers||this.elements[l])&&this.elements[l].renderFrame();},or.prototype.setElements=function(l){this.elements=l;},or.prototype.getElements=function(){return this.elements},or.prototype.destroyElements=function(){var l,k=this.layers.length;for(l=0;l<k;l+=1)this.elements[l]&&this.elements[l].destroy();},or.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement();};function P(l,k,C){this.layers=l.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(l,k,C),this.tm=l.tm?pe.getProp(this,l.tm,0,k.frameRate,this):{_placeholder:!0};}v([ci,or,er],P),P.prototype.createComp=function(l){return new P(l,this.globalData,this)};function D(l,k){this.animationItem=l,this.layers=null,this.renderedFrame=-1,this.svgElement=Xt("svg");var C="";if(k&&k.title){var L=Xt("title"),O=nt();L.setAttribute("id",O),L.textContent=k.title,this.svgElement.appendChild(L),C+=O;}if(k&&k.description){var V=Xt("desc"),n=nt();V.setAttribute("id",n),V.textContent=k.description,this.svgElement.appendChild(V),C+=" "+n;}C&&this.svgElement.setAttribute("aria-labelledby",C);var f=Xt("defs");this.svgElement.appendChild(f);var b=Xt("g");this.svgElement.appendChild(b),this.layerElement=b,this.renderConfig={preserveAspectRatio:k&&k.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:k&&k.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:k&&k.contentVisibility||"visible",progressiveLoad:k&&k.progressiveLoad||!1,hideOnTransparent:!(k&&k.hideOnTransparent===!1),viewBoxOnly:k&&k.viewBoxOnly||!1,viewBoxSize:k&&k.viewBoxSize||!1,className:k&&k.className||"",id:k&&k.id||"",focusable:k&&k.focusable,filterSize:{width:k&&k.filterSize&&k.filterSize.width||"100%",height:k&&k.filterSize&&k.filterSize.height||"100%",x:k&&k.filterSize&&k.filterSize.x||"0%",y:k&&k.filterSize&&k.filterSize.y||"0%"},width:k&&k.width,height:k&&k.height,runExpressions:!k||k.runExpressions===void 0||k.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:f,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg";}v([ci],D),D.prototype.createComp=function(l){return new P(l,this.globalData,this)};var B={};function J(l){var k,C=l.data.ef?l.data.ef.length:0;this.filters=[];var L;for(k=0;k<C;k+=1){L=null;var O=l.data.ef[k].ty;if(B[O]){var V=B[O].effect;L=new V(l.effectsManager.effectElements[k],l);}L&&this.filters.push(L);}this.filters.length&&l.addRenderableComponent(this);}J.prototype.renderFrame=function(l){var k,C=this.filters.length;for(k=0;k<C;k+=1)this.filters[k].renderFrame(l);},J.prototype.getEffects=function(l){var k,C=this.filters.length,L=[];for(k=0;k<C;k+=1)this.filters[k].type===l&&L.push(this.filters[k]);return L};function st(){}st.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=_(this.data.tg||"div"),this.data.hasMask?(this.svgElement=Xt("svg"),this.layerElement=Xt("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,bt(this.baseElement);},createContainerElements:function(){this.renderableEffectsManager=new J(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 l=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var k=this.finalTransform.mat.toCSS();l.transform=k,l.webkitTransform=k;}this.finalTransform._opMdf&&(l.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 Yi(this.data,this,this.globalData);},addEffects:function(){},setMatte:function(){}},st.prototype.getBaseElement=er.prototype.getBaseElement,st.prototype.destroyBaseElement=st.prototype.destroy,st.prototype.buildElementParenting=Be.prototype.buildElementParenting;function et(l,k,C){this.initElement(l,k,C);}v([De,Ei,st,Ai,ve,ks],et),et.prototype.createContent=function(){var l;this.data.hasMask?(l=Xt("rect"),l.setAttribute("width",this.data.sw),l.setAttribute("height",this.data.sh),l.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(l=_("div"),l.style.width=this.data.sw+"px",l.style.height=this.data.sh+"px",l.style.backgroundColor=this.data.sc),this.layerElement.appendChild(l);};function gt(l,k,C){this.shapes=[],this.shapesData=l.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=Xt("g"),this.initElement(l,k,C),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0};}v([De,Ei,et,Ie,st,Ai,ve,us],gt),gt.prototype._renderShapeFrame=gt.prototype.renderInnerContent,gt.prototype.createContent=function(){var l;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),l=this.svgElement;else {l=Xt("svg");var k=this.comp.data?this.comp.data:this.globalData.compSize;l.setAttribute("width",k.w),l.setAttribute("height",k.h),l.appendChild(this.shapesContainer),this.layerElement.appendChild(l);}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=l;},gt.prototype.getTransformedPoint=function(l,k){var C,L=l.length;for(C=0;C<L;C+=1)k=l[C].mProps.v.applyToPointArray(k[0],k[1],0);return k},gt.prototype.calculateShapeBoundingBox=function(l,k){var C=l.sh.v,L=l.transformers,O,V=C._length,n,f,b,T;if(!(V<=1)){for(O=0;O<V-1;O+=1)n=this.getTransformedPoint(L,C.v[O]),f=this.getTransformedPoint(L,C.o[O]),b=this.getTransformedPoint(L,C.i[O+1]),T=this.getTransformedPoint(L,C.v[O+1]),this.checkBounds(n,f,b,T,k);C.c&&(n=this.getTransformedPoint(L,C.v[O]),f=this.getTransformedPoint(L,C.o[O]),b=this.getTransformedPoint(L,C.i[0]),T=this.getTransformedPoint(L,C.v[0]),this.checkBounds(n,f,b,T,k));}},gt.prototype.checkBounds=function(l,k,C,L,O){this.getBoundsOfCurve(l,k,C,L);var V=this.shapeBoundingBox;O.x=Y(V.left,O.x),O.xMax=U(V.right,O.xMax),O.y=Y(V.top,O.y),O.yMax=U(V.bottom,O.yMax);},gt.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},gt.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},gt.prototype.getBoundsOfCurve=function(l,k,C,L){for(var O=[[l[0],L[0]],[l[1],L[1]]],V,n,f,b,T,I,F,G=0;G<2;++G)n=6*l[G]-12*k[G]+6*C[G],V=-3*l[G]+9*k[G]-9*C[G]+3*L[G],f=3*k[G]-3*l[G],n|=0,V|=0,f|=0,V===0&&n===0||(V===0?(b=-f/n,b>0&&b<1&&O[G].push(this.calculateF(b,l,k,C,L,G))):(T=n*n-4*f*V,T>=0&&(I=(-n+M(T))/(2*V),I>0&&I<1&&O[G].push(this.calculateF(I,l,k,C,L,G)),F=(-n-M(T))/(2*V),F>0&&F<1&&O[G].push(this.calculateF(F,l,k,C,L,G)))));this.shapeBoundingBox.left=Y.apply(null,O[0]),this.shapeBoundingBox.top=Y.apply(null,O[1]),this.shapeBoundingBox.right=U.apply(null,O[0]),this.shapeBoundingBox.bottom=U.apply(null,O[1]);},gt.prototype.calculateF=function(l,k,C,L,O,V){return w(1-l,3)*k[V]+3*w(1-l,2)*l*C[V]+3*(1-l)*w(l,2)*L[V]+w(l,3)*O[V]},gt.prototype.calculateBoundingBox=function(l,k){var C,L=l.length;for(C=0;C<L;C+=1)l[C]&&l[C].sh?this.calculateShapeBoundingBox(l[C],k):l[C]&&l[C].it?this.calculateBoundingBox(l[C].it,k):l[C]&&l[C].style&&l[C].w&&this.expandStrokeBoundingBox(l[C].w,k);},gt.prototype.expandStrokeBoundingBox=function(l,k){var C=0;if(l.keyframes){for(var L=0;L<l.keyframes.length;L+=1){var O=l.keyframes[L].s;O>C&&(C=O);}C*=l.mult;}else C=l.v*l.mult;k.x-=C,k.xMax+=C,k.y-=C,k.yMax+=C;},gt.prototype.currentBoxContains=function(l){return this.currentBBox.x<=l.x&&this.currentBBox.y<=l.y&&this.currentBBox.width+this.currentBBox.x>=l.x+l.width&&this.currentBBox.height+this.currentBBox.y>=l.y+l.height},gt.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.tempBoundingBox,k=999999;if(l.x=k,l.xMax=-k,l.y=k,l.yMax=-k,this.calculateBoundingBox(this.itemsData,l),l.width=l.xMax<l.x?0:l.xMax-l.x,l.height=l.yMax<l.y?0:l.yMax-l.y,this.currentBoxContains(l))return;var C=!1;if(this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.shapeCont.setAttribute("width",l.width),C=!0),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.shapeCont.setAttribute("height",l.height),C=!0),C||this.currentBBox.x!==l.x||this.currentBBox.y!==l.y){this.currentBBox.w=l.width,this.currentBBox.h=l.height,this.currentBBox.x=l.x,this.currentBBox.y=l.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var L=this.shapeCont.style,O="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";L.transform=O,L.webkitTransform=O;}}};function Mt(l,k,C){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(l,k,C);}v([De,Ei,st,Ai,ve,ks,si],Mt),Mt.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 l=Xt("g");this.maskedElement.appendChild(l),this.innerElem=l;}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting();},Mt.prototype.buildNewText=function(){var l=this.textProperty.currentData;this.renderedLetters=g(l.l?l.l.length:0);var k=this.innerElem.style,C=l.fc?this.buildColor(l.fc):"rgba(0,0,0,0)";k.fill=C,k.color=C,l.sc&&(k.stroke=this.buildColor(l.sc),k.strokeWidth=l.sw+"px");var L=this.globalData.fontManager.getFontByName(l.f);if(!this.globalData.fontManager.chars)if(k.fontSize=l.finalSize+"px",k.lineHeight=l.finalSize+"px",L.fClass)this.innerElem.className=L.fClass;else {k.fontFamily=L.fFamily;var O=l.fWeight,V=l.fStyle;k.fontStyle=V,k.fontWeight=O;}var n,f,b=l.l;f=b.length;var T,I,F,G=this.mHelper,K,X="",it=0;for(n=0;n<f;n+=1){if(this.globalData.fontManager.chars?(this.textPaths[it]?T=this.textPaths[it]:(T=Xt("path"),T.setAttribute("stroke-linecap",Ns[1]),T.setAttribute("stroke-linejoin",Qs[2]),T.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[it]?(I=this.textSpans[it],F=I.children[0]):(I=_("div"),I.style.lineHeight=0,F=Xt("svg"),F.appendChild(T),bt(I)))):this.isMasked?T=this.textPaths[it]?this.textPaths[it]:Xt("text"):this.textSpans[it]?(I=this.textSpans[it],T=this.textPaths[it]):(I=_("span"),bt(I),T=_("span"),bt(T),I.appendChild(T)),this.globalData.fontManager.chars){var lt=this.globalData.fontManager.getCharData(l.finalText[n],L.fStyle,this.globalData.fontManager.getFontByName(l.f).fFamily),tt;if(lt?tt=lt.data:tt=null,G.reset(),tt&&tt.shapes&&tt.shapes.length&&(K=tt.shapes[0].it,G.scale(l.finalSize/100,l.finalSize/100),X=this.createPathShape(G,K),T.setAttribute("d",X)),this.isMasked)this.innerElem.appendChild(T);else {if(this.innerElem.appendChild(I),tt&&tt.shapes){document.body.appendChild(F);var H=F.getBBox();F.setAttribute("width",H.width+2),F.setAttribute("height",H.height+2),F.setAttribute("viewBox",H.x-1+" "+(H.y-1)+" "+(H.width+2)+" "+(H.height+2));var j=F.style,W="translate("+(H.x-1)+"px,"+(H.y-1)+"px)";j.transform=W,j.webkitTransform=W,b[n].yOffset=H.y-1;}else F.setAttribute("width",1),F.setAttribute("height",1);I.appendChild(F);}}else if(T.textContent=b[n].val,T.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(T);else {this.innerElem.appendChild(I);var R=T.style,rt="translate3d(0,"+-l.finalSize/1.2+"px,0)";R.transform=rt,R.webkitTransform=rt;}this.isMasked?this.textSpans[it]=T:this.textSpans[it]=I,this.textSpans[it].style.display="block",this.textPaths[it]=T,it+=1;}for(;it<this.textSpans.length;)this.textSpans[it].style.display="none",it+=1;},Mt.prototype.renderInnerContent=function(){this.validateText();var l;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),l=this.svgElement.style;var k="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";l.transform=k,l.webkitTransform=k;}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var C,L,O=0,V=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;L=n.length;var f,b,T;for(C=0;C<L;C+=1)n[C].n?O+=1:(b=this.textSpans[C],T=this.textPaths[C],f=V[O],O+=1,f._mdf.m&&(this.isMasked?b.setAttribute("transform",f.m):(b.style.webkitTransform=f.m,b.style.transform=f.m)),b.style.opacity=f.o,f.sw&&f._mdf.sw&&T.setAttribute("stroke-width",f.sw),f.sc&&f._mdf.sc&&T.setAttribute("stroke",f.sc),f.fc&&f._mdf.fc&&(T.setAttribute("fill",f.fc),T.style.color=f.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var I=this.innerElem.getBBox();this.currentBBox.w!==I.width&&(this.currentBBox.w=I.width,this.svgElement.setAttribute("width",I.width)),this.currentBBox.h!==I.height&&(this.currentBBox.h=I.height,this.svgElement.setAttribute("height",I.height));var F=1;if(this.currentBBox.w!==I.width+F*2||this.currentBBox.h!==I.height+F*2||this.currentBBox.x!==I.x-F||this.currentBBox.y!==I.y-F){this.currentBBox.w=I.width+F*2,this.currentBBox.h=I.height+F*2,this.currentBBox.x=I.x-F,this.currentBBox.y=I.y-F,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),l=this.svgElement.style;var G="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";l.transform=G,l.webkitTransform=G;}}}};function yt(l,k,C){this.initFrame(),this.initBaseData(l,k,C),this.initHierarchy();var L=pe.getProp;if(this.pe=L(this,l.pe,0,0,this),l.ks.p.s?(this.px=L(this,l.ks.p.x,1,0,this),this.py=L(this,l.ks.p.y,1,0,this),this.pz=L(this,l.ks.p.z,1,0,this)):this.p=L(this,l.ks.p,1,0,this),l.ks.a&&(this.a=L(this,l.ks.a,1,0,this)),l.ks.or.k.length&&l.ks.or.k[0].to){var O,V=l.ks.or.k.length;for(O=0;O<V;O+=1)l.ks.or.k[O].to=null,l.ks.or.k[O].ti=null;}this.or=L(this,l.ks.or,1,xt,this),this.or.sh=!0,this.rx=L(this,l.ks.rx,0,xt,this),this.ry=L(this,l.ks.ry,0,xt,this),this.rz=L(this,l.ks.rz,0,xt,this),this.mat=new ue,this._prevMat=new ue,this._isFirstFrame=!0,this.finalTransform={mProp:this};}v([De,ve,Ai],yt),yt.prototype.setup=function(){var l,k=this.comp.threeDElements.length,C,L,O;for(l=0;l<k;l+=1)if(C=this.comp.threeDElements[l],C.type==="3d"){L=C.perspectiveElem.style,O=C.container.style;var V=this.pe.v+"px",n="0px 0px 0px",f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";L.perspective=V,L.webkitPerspective=V,O.transformOrigin=n,O.mozTransformOrigin=n,O.webkitTransformOrigin=n,L.transform=f,L.webkitTransform=f;}},yt.prototype.createElements=function(){},yt.prototype.hide=function(){},yt.prototype.renderFrame=function(){var l=this._isFirstFrame,k,C;if(this.hierarchy)for(C=this.hierarchy.length,k=0;k<C;k+=1)l=this.hierarchy[k].finalTransform.mProp._mdf||l;if(l||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(C=this.hierarchy.length-1,k=C;k>=0;k-=1){var L=this.hierarchy[k].finalTransform.mProp;this.mat.translate(-L.p.v[0],-L.p.v[1],L.p.v[2]),this.mat.rotateX(-L.or.v[0]).rotateY(-L.or.v[1]).rotateZ(L.or.v[2]),this.mat.rotateX(-L.rx.v).rotateY(-L.ry.v).rotateZ(L.rz.v),this.mat.scale(1/L.s.v[0],1/L.s.v[1],1/L.s.v[2]),this.mat.translate(L.a.v[0],L.a.v[1],L.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 V=Math.sqrt(Math.pow(O[0],2)+Math.pow(O[1],2)+Math.pow(O[2],2)),n=[O[0]/V,O[1]/V,O[2]/V],f=Math.sqrt(n[2]*n[2]+n[0]*n[0]),b=Math.atan2(n[1],f),T=Math.atan2(n[0],-n[2]);this.mat.rotateY(T).rotateX(-b);}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 I=!this._prevMat.equals(this.mat);if((I||this.pe._mdf)&&this.comp.threeDElements){C=this.comp.threeDElements.length;var F,G,K;for(k=0;k<C;k+=1)if(F=this.comp.threeDElements[k],F.type==="3d"){if(I){var X=this.mat.toCSS();K=F.container.style,K.transform=X,K.webkitTransform=X;}this.pe._mdf&&(G=F.perspectiveElem.style,G.perspective=this.pe.v+"px",G.webkitPerspective=this.pe.v+"px");}this.mat.clone(this._prevMat);}}this._isFirstFrame=!1;},yt.prototype.prepareFrame=function(l){this.prepareProperties(l,!0);},yt.prototype.destroy=function(){},yt.prototype.getBaseElement=function(){return null};function Bt(l,k,C){this.assetData=k.getAssetData(l.refId),this.initElement(l,k,C);}v([De,Ei,st,et,Ai,ve,us],Bt),Bt.prototype.createContent=function(){var l=this.globalData.getAssetsPath(this.assetData),k=new Image;this.data.hasMask?(this.imageElem=Xt("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",l),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(k),k.crossOrigin="anonymous",k.src=l,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln);};function Vt(l,k){this.animationItem=l,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:k&&k.className||"",imagePreserveAspectRatio:k&&k.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(k&&k.hideOnTransparent===!1),filterSize:{width:k&&k.filterSize&&k.filterSize.width||"400%",height:k&&k.filterSize&&k.filterSize.height||"400%",x:k&&k.filterSize&&k.filterSize.x||"-100%",y:k&&k.filterSize&&k.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";}v([Be],Vt),Vt.prototype.buildItem=D.prototype.buildItem,Vt.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var l=this.pendingElements.pop();l.checkParenting();}},Vt.prototype.appendElementInPos=function(l,k){var C=l.getBaseElement();if(C){var L=this.layers[k];if(!L.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(C,k);else {for(var O=0,V,n,f;O<k;)this.elements[O]&&this.elements[O]!==!0&&this.elements[O].getBaseElement&&(n=this.elements[O],f=this.layers[O].ddd?this.getThreeDContainerByPos(O):n.getBaseElement(),V=f||V),O+=1;V?(!L.ddd||!this.supports3d)&&this.layerElement.insertBefore(C,V):(!L.ddd||!this.supports3d)&&this.layerElement.appendChild(C);}else this.addTo3dContainer(C,k);}},Vt.prototype.createShape=function(l){return this.supports3d?new gt(l,this.globalData,this):new Ie(l,this.globalData,this)},Vt.prototype.createText=function(l){return this.supports3d?new Mt(l,this.globalData,this):new _i(l,this.globalData,this)},Vt.prototype.createCamera=function(l){return this.camera=new yt(l,this.globalData,this),this.camera},Vt.prototype.createImage=function(l){return this.supports3d?new Bt(l,this.globalData,this):new is(l,this.globalData,this)},Vt.prototype.createSolid=function(l){return this.supports3d?new et(l,this.globalData,this):new Ue(l,this.globalData,this)},Vt.prototype.createNull=D.prototype.createNull,Vt.prototype.getThreeDContainerByPos=function(l){for(var k=0,C=this.threeDElements.length;k<C;){if(this.threeDElements[k].startPos<=l&&this.threeDElements[k].endPos>=l)return this.threeDElements[k].perspectiveElem;k+=1;}return null},Vt.prototype.createThreeDContainer=function(l,k){var C=_("div"),L,O;bt(C);var V=_("div");if(bt(V),k==="3d"){L=C.style,L.width=this.globalData.compSize.w+"px",L.height=this.globalData.compSize.h+"px";var n="50% 50%";L.webkitTransformOrigin=n,L.mozTransformOrigin=n,L.transformOrigin=n,O=V.style;var f="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";O.transform=f,O.webkitTransform=f;}C.appendChild(V);var b={container:V,perspectiveElem:C,startPos:l,endPos:l,type:k};return this.threeDElements.push(b),b},Vt.prototype.build3dContainers=function(){var l,k=this.layers.length,C,L="";for(l=0;l<k;l+=1)this.layers[l].ddd&&this.layers[l].ty!==3?(L!=="3d"&&(L="3d",C=this.createThreeDContainer(l,"3d")),C.endPos=Math.max(C.endPos,l)):(L!=="2d"&&(L="2d",C=this.createThreeDContainer(l,"2d")),C.endPos=Math.max(C.endPos,l));for(k=this.threeDElements.length,l=k-1;l>=0;l-=1)this.resizerElem.appendChild(this.threeDElements[l].perspectiveElem);},Vt.prototype.addTo3dContainer=function(l,k){for(var C=0,L=this.threeDElements.length;C<L;){if(k<=this.threeDElements[C].endPos){for(var O=this.threeDElements[C].startPos,V;O<k;)this.elements[O]&&this.elements[O].getBaseElement&&(V=this.elements[O].getBaseElement()),O+=1;V?this.threeDElements[C].container.insertBefore(l,V):this.threeDElements[C].container.appendChild(l);break}C+=1;}},Vt.prototype.configAnimation=function(l){var k=_("div"),C=this.animationItem.wrapper,L=k.style;L.width=l.w+"px",L.height=l.h+"px",this.resizerElem=k,bt(k),L.transformStyle="flat",L.mozTransformStyle="flat",L.webkitTransformStyle="flat",this.renderConfig.className&&k.setAttribute("class",this.renderConfig.className),C.appendChild(k),L.overflow="hidden";var O=Xt("svg");O.setAttribute("width","1"),O.setAttribute("height","1"),bt(O),this.resizerElem.appendChild(O);var V=Xt("defs");O.appendChild(V),this.data=l,this.setupGlobalData(l,O),this.globalData.defs=V,this.layers=l.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize();},Vt.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var l,k=this.layers?this.layers.length:0;for(l=0;l<k;l+=1)this.elements[l]&&this.elements[l].destroy&&this.elements[l].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null;},Vt.prototype.updateContainerSize=function(){var l=this.animationItem.wrapper.offsetWidth,k=this.animationItem.wrapper.offsetHeight,C=l/k,L=this.globalData.compSize.w/this.globalData.compSize.h,O,V,n,f;L>C?(O=l/this.globalData.compSize.w,V=l/this.globalData.compSize.w,n=0,f=(k-this.globalData.compSize.h*(l/this.globalData.compSize.w))/2):(O=k/this.globalData.compSize.h,V=k/this.globalData.compSize.h,n=(l-this.globalData.compSize.w*(k/this.globalData.compSize.h))/2,f=0);var b=this.resizerElem.style;b.webkitTransform="matrix3d("+O+",0,0,0,0,"+V+",0,0,0,0,1,0,"+n+","+f+",0,1)",b.transform=b.webkitTransform;},Vt.prototype.renderFrame=D.prototype.renderFrame,Vt.prototype.hide=function(){this.resizerElem.style.display="none";},Vt.prototype.show=function(){this.resizerElem.style.display="block";},Vt.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else {var l=this.globalData.compSize.w,k=this.globalData.compSize.h,C,L=this.threeDElements.length;for(C=0;C<L;C+=1){var O=this.threeDElements[C].perspectiveElem.style;O.webkitPerspective=Math.sqrt(Math.pow(l,2)+Math.pow(k,2))+"px",O.perspective=O.webkitPerspective;}}},Vt.prototype.searchExtraCompositions=function(l){var k,C=l.length,L=_("div");for(k=0;k<C;k+=1)if(l[k].xt){var O=this.createComp(l[k],L,this.globalData.comp,null);O.initExpressions(),this.globalData.projectInterface.registerComposition(O);}};function Ht(l,k,C){this.layers=l.layers,this.supports3d=!l.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?g(this.layers.length):[],this.initElement(l,k,C),this.tm=l.tm?pe.getProp(this,l.tm,0,k.frameRate,this):{_placeholder:!0};}v([Vt,or,st],Ht),Ht.prototype._createBaseContainerElements=Ht.prototype.createContainerElements,Ht.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;},Ht.prototype.addTo3dContainer=function(l,k){for(var C=0,L;C<k;)this.elements[C]&&this.elements[C].getBaseElement&&(L=this.elements[C].getBaseElement()),C+=1;L?this.layerElement.insertBefore(l,L):this.layerElement.appendChild(l);},Ht.prototype.createComp=function(l){return this.supports3d?new Ht(l,this.globalData,this):new P(l,this.globalData,this)};function kt(l,k){this.animationItem=l,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:k&&k.className||"",imagePreserveAspectRatio:k&&k.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(k&&k.hideOnTransparent===!1),filterSize:{width:k&&k.filterSize&&k.filterSize.width||"400%",height:k&&k.filterSize&&k.filterSize.height||"400%",x:k&&k.filterSize&&k.filterSize.x||"-100%",y:k&&k.filterSize&&k.filterSize.y||"-100%"},runExpressions:!k||k.runExpressions===void 0||k.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 v([Vt],kt),kt.prototype.createComp=function(l){return this.supports3d?new Ht(l,this.globalData,this):new P(l,this.globalData,this)},be("html",kt),ei.registerModifier("tm",Gi),ei.registerModifier("pb",mi),ei.registerModifier("rp",ji),ei.registerModifier("rd",Or),ei.registerModifier("zz",_s),ei.registerModifier("op",Li),ti});}),Dg=Mg();});var cc={};ia(cc,{default:()=>Ig});var Fg,Ig,uc=Ir(()=>{Fs();Fg=ce((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,s;for(i=0;i<r;i+=1){s=t[i].prototype;for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(e.prototype[a]=s[a]);}}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 s=0,a=[],o;switch(i){case"int16":case"uint8c":o=1;break;default:o=1.1;break}for(s=0;s<r;s+=1)a.push(o);return a}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,s=t.length;for(r=0;r<s;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,s,a,o,p,h,c,_;switch(o=Math.floor(t*6),p=t*6-o,h=i*(1-e),c=i*(1-p*e),_=i*(1-(1-p)*e),o%6){case 0:r=i,s=_,a=h;break;case 1:r=c,s=i,a=h;break;case 2:r=h,s=i,a=_;break;case 3:r=h,s=c,a=i;break;case 4:r=_,s=h,a=i;break;case 5:r=i,s=h,a=c;break}return [r,s,a]}function RGBtoHSV(t,e,i){var r=Math.max(t,e,i),s=Math.min(t,e,i),a=r-s,o,p=r===0?0:a/r,h=r/255;switch(r){case s:o=0;break;case t:o=e-i+a*(e<i?6:0),o/=6*a;break;case e:o=i-t+a*2,o/=6*a;break;case i:o=t-e+a*4,o/=6*a;break}return [o,p,h]}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,s,a){return r<0&&(r=0),s<0&&(s=0),a<0&&(a=0),"#"+t[r]+t[s]+t[a]}}(),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,s={onmessage:function(){},postMessage:function(u){i({data:u});}},a={postMessage:function(u){s.onmessage({data:u});}};function o(u){if(window.Worker&&window.Blob&&getWebWorker()){var S=new Blob(["var _workerSelf = self; self.onmessage = ",u.toString()],{type:"text/javascript"}),d=URL.createObjectURL(S);return new Worker(d)}return i=u,s}function p(){r||(r=o(function(u){function S(){function g(ot,Tt){var z,$,E=ot.length,q,nt,Q,Ut;for($=0;$<E;$+=1)if(z=ot[$],"ks"in z&&!z.completed){if(z.completed=!0,z.hasMask){var zt=z.masksProperties;for(nt=zt.length,q=0;q<nt;q+=1)if(zt[q].pt.k.i)w(zt[q].pt.k);else for(Ut=zt[q].pt.k.length,Q=0;Q<Ut;Q+=1)zt[q].pt.k[Q].s&&w(zt[q].pt.k[Q].s[0]),zt[q].pt.k[Q].e&&w(zt[q].pt.k[Q].e[0]);}z.ty===0?(z.layers=m(z.refId,Tt),g(z.layers,Tt)):z.ty===4?x(z.shapes):z.ty===5&&bt(z);}}function A(ot,Tt){if(ot){var z=0,$=ot.length;for(z=0;z<$;z+=1)ot[z].t===1&&(ot[z].data.layers=m(ot[z].data.refId,Tt),g(ot[z].data.layers,Tt));}}function y(ot,Tt){for(var z=0,$=Tt.length;z<$;){if(Tt[z].id===ot)return Tt[z];z+=1;}return null}function m(ot,Tt){var z=y(ot,Tt);return z?z.layers.__used?JSON.parse(JSON.stringify(z.layers)):(z.layers.__used=!0,z.layers):null}function x(ot){var Tt,z=ot.length,$,E;for(Tt=z-1;Tt>=0;Tt-=1)if(ot[Tt].ty==="sh")if(ot[Tt].ks.k.i)w(ot[Tt].ks.k);else for(E=ot[Tt].ks.k.length,$=0;$<E;$+=1)ot[Tt].ks.k[$].s&&w(ot[Tt].ks.k[$].s[0]),ot[Tt].ks.k[$].e&&w(ot[Tt].ks.k[$].e[0]);else ot[Tt].ty==="gr"&&x(ot[Tt].it);}function w(ot){var Tt,z=ot.i.length;for(Tt=0;Tt<z;Tt+=1)ot.i[Tt][0]+=ot.v[Tt][0],ot.i[Tt][1]+=ot.v[Tt][1],ot.o[Tt][0]+=ot.v[Tt][0],ot.o[Tt][1]+=ot.v[Tt][1];}function M(ot,Tt){var z=Tt?Tt.split("."):[100,100,100];return ot[0]>z[0]?!0:z[0]>ot[0]?!1:ot[1]>z[1]?!0:z[1]>ot[1]?!1:ot[2]>z[2]?!0:z[2]>ot[2]?!1:null}var N=function(){var ot=[4,4,14];function Tt($){var E=$.t.d;$.t.d={k:[{s:E,t:0}]};}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),U=function(){var ot=[4,7,99];return function(Tt){if(Tt.chars&&!M(ot,Tt.v)){var z,$=Tt.chars.length;for(z=0;z<$;z+=1){var E=Tt.chars[z];E.data&&E.data.shapes&&(x(E.data.shapes),E.data.ip=0,E.data.op=99999,E.data.st=0,E.data.sr=1,E.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}},Tt.chars[z].t||(E.data.shapes.push({ty:"no"}),E.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"})));}}}}(),Y=function(){var ot=[5,7,15];function Tt($){var E=$.t.p;typeof E.a=="number"&&(E.a={a:0,k:E.a}),typeof E.p=="number"&&(E.p={a:0,k:E.p}),typeof E.r=="number"&&(E.r={a:0,k:E.r});}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===5&&Tt($[E]);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),dt=function(){var ot=[4,1,9];function Tt($){var E,q=$.length,nt,Q;for(E=0;E<q;E+=1)if($[E].ty==="gr")Tt($[E].it);else if($[E].ty==="fl"||$[E].ty==="st")if($[E].c.k&&$[E].c.k[0].i)for(Q=$[E].c.k.length,nt=0;nt<Q;nt+=1)$[E].c.k[nt].s&&($[E].c.k[nt].s[0]/=255,$[E].c.k[nt].s[1]/=255,$[E].c.k[nt].s[2]/=255,$[E].c.k[nt].s[3]/=255),$[E].c.k[nt].e&&($[E].c.k[nt].e[0]/=255,$[E].c.k[nt].e[1]/=255,$[E].c.k[nt].e[2]/=255,$[E].c.k[nt].e[3]/=255);else $[E].c.k[0]/=255,$[E].c.k[1]/=255,$[E].c.k[2]/=255,$[E].c.k[3]/=255;}function z($){var E,q=$.length;for(E=0;E<q;E+=1)$[E].ty===4&&Tt($[E].shapes);}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}(),xt=function(){var ot=[4,4,18];function Tt($){var E,q=$.length,nt,Q;for(E=q-1;E>=0;E-=1)if($[E].ty==="sh")if($[E].ks.k.i)$[E].ks.k.c=$[E].closed;else for(Q=$[E].ks.k.length,nt=0;nt<Q;nt+=1)$[E].ks.k[nt].s&&($[E].ks.k[nt].s[0].c=$[E].closed),$[E].ks.k[nt].e&&($[E].ks.k[nt].e[0].c=$[E].closed);else $[E].ty==="gr"&&Tt($[E].it);}function z($){var E,q,nt=$.length,Q,Ut,zt,qt;for(q=0;q<nt;q+=1){if(E=$[q],E.hasMask){var Gt=E.masksProperties;for(Ut=Gt.length,Q=0;Q<Ut;Q+=1)if(Gt[Q].pt.k.i)Gt[Q].pt.k.c=Gt[Q].cl;else for(qt=Gt[Q].pt.k.length,zt=0;zt<qt;zt+=1)Gt[Q].pt.k[zt].s&&(Gt[Q].pt.k[zt].s[0].c=Gt[Q].cl),Gt[Q].pt.k[zt].e&&(Gt[Q].pt.k[zt].e[0].c=Gt[Q].cl);}E.ty===4&&Tt(E.shapes);}}return function($){if(M(ot,$.v)&&(z($.layers),$.assets)){var E,q=$.assets.length;for(E=0;E<q;E+=1)$.assets[E].layers&&z($.assets[E].layers);}}}();function vt(ot){ot.__complete||(dt(ot),N(ot),U(ot),Y(ot),xt(ot),g(ot.layers,ot.assets),A(ot.chars,ot.assets),ot.__complete=!0);}function bt(ot){ot.t.a.length===0&&"m"in ot.t.p;}var It={};return It.completeData=vt,It.checkColors=dt,It.checkChars=U,It.checkPathProperties=Y,It.checkShapes=xt,It.completeLayers=g,It}if(a.dataManager||(a.dataManager=S()),a.assetLoader||(a.assetLoader=function(){function g(y){var m=y.getResponseHeader("content-type");return m&&y.responseType==="json"&&m.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function A(y,m,x,w){var M,N=new XMLHttpRequest;try{N.responseType="json";}catch{}N.onreadystatechange=function(){if(N.readyState===4)if(N.status===200)M=g(N),x(M);else try{M=g(N),x(M);}catch(U){w&&w(U);}};try{N.open(["G","E","T"].join(""),y,!0);}catch{N.open(["G","E","T"].join(""),m+"/"+y,!0);}N.send();}return {load:A}}()),u.data.type==="loadAnimation")a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.dataManager.completeData(g),a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});else if(u.data.type==="complete"){var d=u.data.animation;a.dataManager.completeData(d),a.postMessage({id:u.data.id,payload:d,status:"success"});}else u.data.type==="loadData"&&a.assetLoader.load(u.data.path,u.data.fullPath,function(g){a.postMessage({id:u.data.id,payload:g,status:"success"});},function(){a.postMessage({id:u.data.id,status:"error"});});}),r.onmessage=function(u){var S=u.data,d=S.id,g=e[d];e[d]=null,S.status==="success"?g.onComplete(S.payload):g.onError&&g.onError();});}function h(u,S){t+=1;var d="processId_"+t;return e[d]={onComplete:u,onError:S},d}function c(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadAnimation",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function _(u,S,d){p();var g=h(S,d);r.postMessage({type:"loadData",path:u,fullPath:window.location.origin+window.location.pathname,id:g});}function v(u,S,d){p();var g=h(S,d);r.postMessage({type:"complete",animation:u,id:g});}return {loadAnimation:c,loadData:_,completeAnimation:v}}(),ImagePreloader=function(){var t=function(){var y=createTag("canvas");y.width=1,y.height=1;var m=y.getContext("2d");return m.fillStyle="rgba(0,0,0,0)",m.fillRect(0,0,1,1),y}();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(y,m,x){var w="";if(y.e)w=y.p;else if(m){var M=y.p;M.indexOf("images/")!==-1&&(M=M.split("/")[1]),w=m+M;}else w=x,w+=y.u?y.u:"",w+=y.p;return w}function s(y){var m=0,x=setInterval(function(){var w=y.getBBox();(w.width||m>500)&&(this._imageLoaded(),clearInterval(x)),m+=1;}.bind(this),50);}function a(y){var m=r(y,this.assetsPath,this.path),x=createNS("image");isSafari?this.testImageLoaded(x):x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.setAttributeNS("http://www.w3.org/1999/xlink","href",m),this._elementHelper.append?this._elementHelper.append(x):this._elementHelper.appendChild(x);var w={img:x,assetData:y};return w}function o(y){var m=r(y,this.assetsPath,this.path),x=createTag("img");x.crossOrigin="anonymous",x.addEventListener("load",this._imageLoaded,!1),x.addEventListener("error",function(){w.img=t,this._imageLoaded();}.bind(this),!1),x.src=m;var w={img:x,assetData:y};return w}function p(y){var m={assetData:y},x=r(y,this.assetsPath,this.path);return dataManager.loadData(x,function(w){m.img=w,this._footageLoaded();}.bind(this),function(){m.img={},this._footageLoaded();}.bind(this)),m}function h(y,m){this.imagesLoadedCb=m;var x,w=y.length;for(x=0;x<w;x+=1)y[x].layers||(!y[x].t||y[x].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(y[x]))):y[x].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(y[x]))));}function c(y){this.path=y||"";}function _(y){this.assetsPath=y||"";}function v(y){for(var m=0,x=this.images.length;m<x;){if(this.images[m].assetData===y)return this.images[m].img;m+=1;}return null}function u(){this.imagesLoadedCb=null,this.images.length=0;}function S(){return this.totalImages===this.loadedAssets}function d(){return this.totalFootages===this.loadedFootagesCount}function g(y,m){y==="svg"?(this._elementHelper=m,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this);}function A(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=s.bind(this),this.createFootageData=p.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[];}return A.prototype={loadAssets:h,setAssetsPath:_,setPath:c,loadedImages:S,loadedFootages:d,destroy:u,getAsset:v,createImgData:o,createImageData:a,imageLoaded:e,footageLoaded:i,setCacheType:g},A}();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
`),r={},s,a=0,o=0;o<i.length;o+=1)s=i[o].split(":"),s.length===2&&(r[s[0]]=s[1].trim(),a+=1);if(a===0)throw new Error;return r}return function(e){for(var i=[],r=0;r<e.length;r+=1){var s=e[r],a={time:s.tm,duration:s.dr};try{a.payload=JSON.parse(e[r].cm);}catch{try{a.payload=t(e[r].cm);}catch{a.payload={name:e[r].cm};}}i.push(a);}return i}}(),ProjectInterface=function(){function t(e){this.compositions.push(e);}return function(){function e(i){for(var r=0,s=this.compositions.length;r<s;){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 s=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:"";s==="false"?i.loop=!1:s==="true"?i.loop=!0:s!==""&&(i.loop=parseInt(s,10));var a=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=a!=="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 o=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:"";o==="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,s=t.layers,a,o=s.length;for(a=0;a<o;a+=1)for(i=0;i<r;){if(e[i].id===s[a].id){e[i]=s[a];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 s=this.getMarkerData(t);s&&this.goToAndStop(s.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 s=this.getMarkerData(t);s&&(s.duration?this.playSegments([s.time,s.time+s.duration],!0):this.goToAndStop(s.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,s=0,a=!0,o=!1;function p(z){for(var $=0,E=z.target;$<r;)e[$].animation===E&&(e.splice($,1),$-=1,r-=1,E.isPaused||v()),$+=1;}function h(z,$){if(!z)return null;for(var E=0;E<r;){if(e[E].elem===z&&e[E].elem!==null)return e[E].animation;E+=1;}var q=new AnimationItem;return u(q,z),q.setData(z,$),q}function c(){var z,$=e.length,E=[];for(z=0;z<$;z+=1)E.push(e[z].animation);return E}function _(){s+=1,xt();}function v(){s-=1;}function u(z,$){z.addEventListener("destroy",p),z.addEventListener("_active",_),z.addEventListener("_idle",v),e.push({elem:$,animation:z}),r+=1;}function S(z){var $=new AnimationItem;return u($,null),$.setParams(z),$}function d(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setSpeed(z,$);}function g(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setDirection(z,$);}function A(z){var $;for($=0;$<r;$+=1)e[$].animation.play(z);}function y(z){var $=z-i,E;for(E=0;E<r;E+=1)e[E].animation.advanceTime($);i=z,s&&!o?window.requestAnimationFrame(y):a=!0;}function m(z){i=z,window.requestAnimationFrame(y);}function x(z){var $;for($=0;$<r;$+=1)e[$].animation.pause(z);}function w(z,$,E){var q;for(q=0;q<r;q+=1)e[q].animation.goToAndStop(z,$,E);}function M(z){var $;for($=0;$<r;$+=1)e[$].animation.stop(z);}function N(z){var $;for($=0;$<r;$+=1)e[$].animation.togglePause(z);}function U(z){var $;for($=r-1;$>=0;$-=1)e[$].animation.destroy(z);}function Y(z,$,E){var q=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),nt,Q=q.length;for(nt=0;nt<Q;nt+=1)E&&q[nt].setAttribute("data-bm-type",E),h(q[nt],z);if($&&Q===0){E||(E="svg");var Ut=document.getElementsByTagName("body")[0];Ut.innerText="";var zt=createTag("div");zt.style.width="100%",zt.style.height="100%",zt.setAttribute("data-bm-type",E),Ut.appendChild(zt),h(zt,z);}}function dt(){var z;for(z=0;z<r;z+=1)e[z].animation.resize();}function xt(){!o&&s&&a&&(window.requestAnimationFrame(m),a=!1);}function vt(){o=!0;}function bt(){o=!1,xt();}function It(z,$){var E;for(E=0;E<r;E+=1)e[E].animation.setVolume(z,$);}function ot(z){var $;for($=0;$<r;$+=1)e[$].animation.mute(z);}function Tt(z){var $;for($=0;$<r;$+=1)e[$].animation.unmute(z);}return t.registerAnimation=h,t.loadAnimation=S,t.setSpeed=d,t.setDirection=g,t.play=A,t.pause=x,t.stop=M,t.togglePause=N,t.searchAnimations=Y,t.resize=dt,t.goToAndStop=w,t.destroy=U,t.freeze=vt,t.unfreeze=bt,t.setVolume=It,t.mute=ot,t.unmute=Tt,t.getRegisteredAnimations=c,t}(),BezierFactory=function(){var t={};t.getBezierEasing=i;var e={};function i(m,x,w,M,N){var U=N||("bez_"+m+"_"+x+"_"+w+"_"+M).replace(/\./g,"p");if(e[U])return e[U];var Y=new y([m,x,w,M]);return e[U]=Y,Y}var r=4,s=.001,a=1e-7,o=10,p=11,h=1/(p-1),c=typeof Float32Array=="function";function _(m,x){return 1-3*x+3*m}function v(m,x){return 3*x-6*m}function u(m){return 3*m}function S(m,x,w){return ((_(x,w)*m+v(x,w))*m+u(x))*m}function d(m,x,w){return 3*_(x,w)*m*m+2*v(x,w)*m+u(x)}function g(m,x,w,M,N){var U,Y,dt=0;do Y=x+(w-x)/2,U=S(Y,M,N)-m,U>0?w=Y:x=Y;while(Math.abs(U)>a&&++dt<o);return Y}function A(m,x,w,M){for(var N=0;N<r;++N){var U=d(x,w,M);if(U===0)return x;var Y=S(x,w,M)-m;x-=Y/U;}return x}function y(m){this._p=m,this._mSampleValues=c?new Float32Array(p):new Array(p),this._precomputed=!1,this.get=this.get.bind(this);}return y.prototype={get:function(m){var x=this._p[0],w=this._p[1],M=this._p[2],N=this._p[3];return this._precomputed||this._precompute(),x===w&&M===N?m:m===0?0:m===1?1:S(this._getTForX(m),w,N)},_precompute:function(){var m=this._p[0],x=this._p[1],w=this._p[2],M=this._p[3];this._precomputed=!0,(m!==x||w!==M)&&this._calcSampleValues();},_calcSampleValues:function(){for(var m=this._p[0],x=this._p[2],w=0;w<p;++w)this._mSampleValues[w]=S(w*h,m,x);},_getTForX:function(m){for(var x=this._p[0],w=this._p[2],M=this._mSampleValues,N=0,U=1,Y=p-1;U!==Y&&M[U]<=m;++U)N+=h;--U;var dt=(m-M[U])/(M[U+1]-M[U]),xt=N+dt*h,vt=d(xt,x,w);return vt>=s?A(m,xt,x,w):vt===0?xt:g(m,N,N+h,x,w)}},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,s=t,a=createSizedArray(s),o={newElement:p,release:h};function p(){var c;return r?(r-=1,c=a[r]):c=e(),c}function h(c){r===s&&(a=pooling.double(a),s*=2),i&&i(c),a[r]=c,r+=1;}return o}}(),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,s=i.lengths.length;for(r=0;r<s;r+=1)bezierLengthPool.release(i.lengths[r]);i.lengths.length=0;}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(u,S,d,g,A,y){var m=u*g+S*A+d*y-A*g-y*u-d*S;return m>-.001&&m<.001}function i(u,S,d,g,A,y,m,x,w){if(d===0&&y===0&&w===0)return e(u,S,g,A,m,x);var M=t.sqrt(t.pow(g-u,2)+t.pow(A-S,2)+t.pow(y-d,2)),N=t.sqrt(t.pow(m-u,2)+t.pow(x-S,2)+t.pow(w-d,2)),U=t.sqrt(t.pow(m-g,2)+t.pow(x-A,2)+t.pow(w-y,2)),Y;return M>N?M>U?Y=M-N-U:Y=U-N-M:U>N?Y=U-N-M:Y=N-M-U,Y>-1e-4&&Y<1e-4}var r=function(){return function(u,S,d,g){var A=getDefaultCurveSegments(),y,m,x,w,M,N=0,U,Y=[],dt=[],xt=bezierLengthPool.newElement();for(x=d.length,y=0;y<A;y+=1){for(M=y/(A-1),U=0,m=0;m<x;m+=1)w=bmPow(1-M,3)*u[m]+3*bmPow(1-M,2)*M*d[m]+3*(1-M)*bmPow(M,2)*g[m]+bmPow(M,3)*S[m],Y[m]=w,dt[m]!==null&&(U+=bmPow(Y[m]-dt[m],2)),dt[m]=Y[m];U&&(U=bmSqrt(U),N+=U),xt.percents[y]=M,xt.lengths[y]=N;}return xt.addedLength=N,xt}}();function s(u){var S=segmentsLengthPool.newElement(),d=u.c,g=u.v,A=u.o,y=u.i,m,x=u._length,w=S.lengths,M=0;for(m=0;m<x-1;m+=1)w[m]=r(g[m],g[m+1],A[m],y[m+1]),M+=w[m].addedLength;return d&&x&&(w[m]=r(g[m],g[0],A[m],y[0]),M+=w[m].addedLength),S.totalLength=M,S}function a(u){this.segmentLength=0,this.points=new Array(u);}function o(u,S){this.partialLength=u,this.point=S;}var p=function(){var u={};return function(S,d,g,A){var y=(S[0]+"_"+S[1]+"_"+d[0]+"_"+d[1]+"_"+g[0]+"_"+g[1]+"_"+A[0]+"_"+A[1]).replace(/\./g,"p");if(!u[y]){var m=getDefaultCurveSegments(),x,w,M,N,U,Y=0,dt,xt,vt=null;S.length===2&&(S[0]!==d[0]||S[1]!==d[1])&&e(S[0],S[1],d[0],d[1],S[0]+g[0],S[1]+g[1])&&e(S[0],S[1],d[0],d[1],d[0]+A[0],d[1]+A[1])&&(m=2);var bt=new a(m);for(M=g.length,x=0;x<m;x+=1){for(xt=createSizedArray(M),U=x/(m-1),dt=0,w=0;w<M;w+=1)N=bmPow(1-U,3)*S[w]+3*bmPow(1-U,2)*U*(S[w]+g[w])+3*(1-U)*bmPow(U,2)*(d[w]+A[w])+bmPow(U,3)*d[w],xt[w]=N,vt!==null&&(dt+=bmPow(xt[w]-vt[w],2));dt=bmSqrt(dt),Y+=dt,bt.points[x]=new o(dt,xt),vt=xt;}bt.segmentLength=Y,u[y]=bt;}return u[y]}}();function h(u,S){var d=S.percents,g=S.lengths,A=d.length,y=bmFloor((A-1)*u),m=u*S.addedLength,x=0;if(y===A-1||y===0||m===g[y])return d[y];for(var w=g[y]>m?-1:1,M=!0;M;)if(g[y]<=m&&g[y+1]>m?(x=(m-g[y])/(g[y+1]-g[y]),M=!1):y+=w,y<0||y>=A-1){if(y===A-1)return d[y];M=!1;}return d[y]+(d[y+1]-d[y])*x}function c(u,S,d,g,A,y){var m=h(A,y),x=1-m,w=t.round((x*x*x*u[0]+(m*x*x+x*m*x+x*x*m)*d[0]+(m*m*x+x*m*m+m*x*m)*g[0]+m*m*m*S[0])*1e3)/1e3,M=t.round((x*x*x*u[1]+(m*x*x+x*m*x+x*x*m)*d[1]+(m*m*x+x*m*m+m*x*m)*g[1]+m*m*m*S[1])*1e3)/1e3;return [w,M]}var _=createTypedArray("float32",8);function v(u,S,d,g,A,y,m){A<0?A=0:A>1&&(A=1);var x=h(A,m);y=y>1?1:y;var w=h(y,m),M,N=u.length,U=1-x,Y=1-w,dt=U*U*U,xt=x*U*U*3,vt=x*x*U*3,bt=x*x*x,It=U*U*Y,ot=x*U*Y+U*x*Y+U*U*w,Tt=x*x*Y+U*x*w+x*U*w,z=x*x*w,$=U*Y*Y,E=x*Y*Y+U*w*Y+U*Y*w,q=x*w*Y+U*w*w+x*Y*w,nt=x*w*w,Q=Y*Y*Y,Ut=w*Y*Y+Y*w*Y+Y*Y*w,zt=w*w*Y+Y*w*w+w*Y*w,qt=w*w*w;for(M=0;M<N;M+=1)_[M*4]=t.round((dt*u[M]+xt*d[M]+vt*g[M]+bt*S[M])*1e3)/1e3,_[M*4+1]=t.round((It*u[M]+ot*d[M]+Tt*g[M]+z*S[M])*1e3)/1e3,_[M*4+2]=t.round(($*u[M]+E*d[M]+q*g[M]+nt*S[M])*1e3)/1e3,_[M*4+3]=t.round((Q*u[M]+Ut*d[M]+zt*g[M]+qt*S[M])*1e3)/1e3;return _}return {getSegmentsLength:s,getNewSegment:v,getPointInSegment:c,buildBezierData:p,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 s=e.lastIndex,a=s,o=this.keyframes.length-1,p=!0,h,c,_;p;){if(h=this.keyframes[a],c=this.keyframes[a+1],a===o-1&&t>=c.t-i){h.h&&(h=c),s=0;break}if(c.t-i>t){s=a;break}a<o-1?a+=1:(s=0,p=!1);}_=this.keyframesMetadata[a]||{};var v,u,S,d,g,A,y=c.t-i,m=h.t-i,x;if(h.to){_.bezierData||(_.bezierData=bez.buildBezierData(h.s,c.s||h.e,h.to,h.ti));var w=_.bezierData;if(t>=y||t<m){var M=t>=y?w.points.length-1:0;for(u=w.points[M].point.length,v=0;v<u;v+=1)r[v]=w.points[M].point[v];}else {_.__fnct?A=_.__fnct:(A=BezierFactory.getBezierEasing(h.o.x,h.o.y,h.i.x,h.i.y,h.n).get,_.__fnct=A),S=A((t-m)/(y-m));var N=w.segmentLength*S,U,Y=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(g=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,p=!0,d=w.points.length;p;){if(Y+=w.points[g].partialLength,N===0||S===0||g===w.points.length-1){for(u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v];break}else if(N>=Y&&N<Y+w.points[g+1].partialLength){for(U=(N-Y)/w.points[g+1].partialLength,u=w.points[g].point.length,v=0;v<u;v+=1)r[v]=w.points[g].point[v]+(w.points[g+1].point[v]-w.points[g].point[v])*U;break}g<d-1?g+=1:p=!1;}e._lastPoint=g,e._lastAddedLength=Y-w.points[g].partialLength,e._lastKeyframeIndex=a;}}else {var dt,xt,vt,bt,It;if(o=h.s.length,x=c.s||h.e,this.sh&&h.h!==1)if(t>=y)r[0]=x[0],r[1]=x[1],r[2]=x[2];else if(t<=m)r[0]=h.s[0],r[1]=h.s[1],r[2]=h.s[2];else {var ot=createQuaternion(h.s),Tt=createQuaternion(x),z=(t-m)/(y-m);quaternionToEuler(r,slerp(ot,Tt,z));}else for(a=0;a<o;a+=1)h.h!==1&&(t>=y?S=1:t<m?S=0:(h.o.x.constructor===Array?(_.__fnct||(_.__fnct=[]),_.__fnct[a]?A=_.__fnct[a]:(dt=h.o.x[a]===void 0?h.o.x[0]:h.o.x[a],xt=h.o.y[a]===void 0?h.o.y[0]:h.o.y[a],vt=h.i.x[a]===void 0?h.i.x[0]:h.i.x[a],bt=h.i.y[a]===void 0?h.i.y[0]:h.i.y[a],A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,_.__fnct[a]=A)):_.__fnct?A=_.__fnct:(dt=h.o.x,xt=h.o.y,vt=h.i.x,bt=h.i.y,A=BezierFactory.getBezierEasing(dt,xt,vt,bt).get,h.keyframeMetadata=A),S=A((t-m)/(y-m)))),x=c.s||h.e,It=h.h===1?h.s[a]:h.s[a]+(x[a]-h.s[a])*S,this.propType==="multidimensional"?r[a]=It:r=It;}return e.lastIndex=s,r}function slerp(t,e,i){var r=[],s=t[0],a=t[1],o=t[2],p=t[3],h=e[0],c=e[1],_=e[2],v=e[3],u,S,d,g,A;return S=s*h+a*c+o*_+p*v,S<0&&(S=-S,h=-h,c=-c,_=-_,v=-v),1-S>1e-6?(u=Math.acos(S),d=Math.sin(u),g=Math.sin((1-i)*u)/d,A=Math.sin(i*u)/d):(g=1-i,A=i),r[0]=g*s+A*h,r[1]=g*a+A*c,r[2]=g*o+A*_,r[3]=g*p+A*v,r}function quaternionToEuler(t,e){var i=e[0],r=e[1],s=e[2],a=e[3],o=Math.atan2(2*r*a-2*i*s,1-2*r*r-2*s*s),p=Math.asin(2*i*r+2*s*a),h=Math.atan2(2*i*a-2*r*s,1-2*i*i-2*s*s);t[0]=o/degToRads,t[1]=p/degToRads,t[2]=h/degToRads;}function createQuaternion(t){var e=t[0]*degToRads,i=t[1]*degToRads,r=t[2]*degToRads,s=Math.cos(e/2),a=Math.cos(i/2),o=Math.cos(r/2),p=Math.sin(e/2),h=Math.sin(i/2),c=Math.sin(r/2),_=s*a*o-p*h*c,v=p*h*o+s*a*c,u=p*a*o+s*h*c,S=s*h*o-p*a*c;return [v,u,S,_]}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 s,a=e.k.length;for(this.v=createTypedArray("float32",a),this.pv=createTypedArray("float32",a),this.vel=createTypedArray("float32",a),s=0;s<a;s+=1)this.v[s]=e.k[s]*this.mult,this.pv[s]=e.k[s];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 s,a=e.k.length,o,p,h,c;for(s=0;s<a-1;s+=1)e.k[s].to&&e.k[s].s&&e.k[s+1]&&e.k[s+1].s&&(o=e.k[s].s,p=e.k[s+1].s,h=e.k[s].to,c=e.k[s].ti,(o.length===2&&!(o[0]===p[0]&&o[1]===p[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],o[0]+h[0],o[1]+h[1])&&bez.pointOnLine2D(o[0],o[1],p[0],p[1],p[0]+c[0],p[1]+c[1])||o.length===3&&!(o[0]===p[0]&&o[1]===p[1]&&o[2]===p[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],o[0]+h[0],o[1]+h[1],o[2]+h[2])&&bez.pointOnLine3D(o[0],o[1],o[2],p[0],p[1],p[2],p[0]+c[0],p[1]+c[1],p[2]+c[2]))&&(e.k[s].to=null,e.k[s].ti=null),o[0]===p[0]&&o[1]===p[1]&&h[0]===0&&h[1]===0&&c[0]===0&&c[1]===0&&(o.length===2||o[2]===p[2]&&h[2]===0&&c[2]===0)&&(e.k[s].to=null,e.k[s].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 _=e.k[0].s.length;for(this.v=createTypedArray("float32",_),this.pv=createTypedArray("float32",_),s=0;s<_;s+=1)this.v[s]=initFrame,this.pv[s]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",_)},this.addEffect=addEffect;}var PropertyFactory=function(){function t(i,r,s,a,o){r.sid&&(r=i.globalData.slotManager.getProp(r));var p;if(!r.k.length)p=new ValueProperty(i,r,a,o);else if(typeof r.k[0]=="number")p=new MultiDimensionalProperty(i,r,a,o);else switch(s){case 0:p=new KeyframedValueProperty(i,r,a,o);break;case 1:p=new KeyframedMultidimensionalProperty(i,r,a,o);break}return p.effectsSequence.length&&o.addDynamicProperty(p),p}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,s){var a;switch(this._length=Math.max(this._length,r+1),this._length>=this._maxLength&&this.doubleArrayLength(),i){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[];break}(!a[r]||a[r]&&!s)&&(a[r]=pointPool.newElement()),a[r][0]=t,a[r][1]=e;},ShapePath.prototype.setTripleAt=function(t,e,i,r,s,a,o,p){this.setXYAt(t,e,"v",o,p),this.setXYAt(i,r,"o",o,p),this.setXYAt(s,a,"i",o,p);},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,i=this.o,r=this.i,s=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),s=1);var a=this._length-1,o=this._length,p;for(p=s;p<o;p+=1)t.setTripleAt(e[a][0],e[a][1],r[a][0],r[a][1],i[a][0],i[a][1],p,!1),a-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(s){var a=s._length,o;for(o=0;o<a;o+=1)pointPool.release(s.v[o]),pointPool.release(s.i[o]),pointPool.release(s.o[o]),s.v[o]=null,s.i[o]=null,s.o[o]=null;s._length=0,s.c=!1;}function i(s){var a=r.newElement(),o,p=s._length===void 0?s.v.length:s._length;for(a.setLength(p),a.c=s.c,o=0;o<p;o+=1)a.setTripleAt(s.v[o][0],s.v[o][1],s.o[o][0],s.o[o][1],s.i[o][0],s.i[o][1],o);return a}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:s,release:a},e=0,i=4,r=createSizedArray(i);function s(){var o;return e?(e-=1,o=r[e]):o=new ShapeCollection,o}function a(o){var p,h=o._length;for(p=0;p<h;p+=1)shapePool.release(o.shapes[p]);o._length=0,e===i&&(r=pooling.double(r),i*=2),r[e]=o,e+=1;}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(y,m,x){var w=x.lastIndex,M,N,U,Y,dt,xt,vt,bt,It,ot=this.keyframes;if(y<ot[0].t-this.offsetTime)M=ot[0].s[0],U=!0,w=0;else if(y>=ot[ot.length-1].t-this.offsetTime)M=ot[ot.length-1].s?ot[ot.length-1].s[0]:ot[ot.length-2].e[0],U=!0;else {for(var Tt=w,z=ot.length-1,$=!0,E,q,nt;$&&(E=ot[Tt],q=ot[Tt+1],!(q.t-this.offsetTime>y));)Tt<z-1?Tt+=1:$=!1;if(nt=this.keyframesMetadata[Tt]||{},U=E.h===1,w=Tt,!U){if(y>=q.t-this.offsetTime)bt=1;else if(y<E.t-this.offsetTime)bt=0;else {var Q;nt.__fnct?Q=nt.__fnct:(Q=BezierFactory.getBezierEasing(E.o.x,E.o.y,E.i.x,E.i.y).get,nt.__fnct=Q),bt=Q((y-(E.t-this.offsetTime))/(q.t-this.offsetTime-(E.t-this.offsetTime)));}N=q.s?q.s[0]:E.e[0];}M=E.s[0];}for(xt=m._length,vt=M.i[0].length,x.lastIndex=w,Y=0;Y<xt;Y+=1)for(dt=0;dt<vt;dt+=1)It=U?M.i[Y][dt]:M.i[Y][dt]+(N.i[Y][dt]-M.i[Y][dt])*bt,m.i[Y][dt]=It,It=U?M.o[Y][dt]:M.o[Y][dt]+(N.o[Y][dt]-M.o[Y][dt])*bt,m.o[Y][dt]=It,It=U?M.v[Y][dt]:M.v[Y][dt]+(N.v[Y][dt]-M.v[Y][dt])*bt,m.v[Y][dt]=It;}function i(){var y=this.comp.renderedFrame-this.offsetTime,m=this.keyframes[0].t-this.offsetTime,x=this.keyframes[this.keyframes.length-1].t-this.offsetTime,w=this._caching.lastFrame;return w!==t&&(w<m&&y<m||w>x&&y>x)||(this._caching.lastIndex=w<y?this._caching.lastIndex:0,this.interpolateShape(y,this.pv,this._caching)),this._caching.lastFrame=y,this.pv}function r(){this.paths=this.localShapeCollection;}function s(y,m){if(y._length!==m._length||y.c!==m.c)return !1;var x,w=y._length;for(x=0;x<w;x+=1)if(y.v[x][0]!==m.v[x][0]||y.v[x][1]!==m.v[x][1]||y.o[x][0]!==m.o[x][0]||y.o[x][1]!==m.o[x][1]||y.i[x][0]!==m.i[x][0]||y.i[x][1]!==m.i[x][1])return !1;return !0}function a(y){s(this.v,y)||(this.v=shapePool.clone(y),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection);}function o(){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 y;this.kf?y=this.pv:this.data.ks?y=this.data.ks.k:y=this.data.pt.k;var m,x=this.effectsSequence.length;for(m=0;m<x;m+=1)y=this.effectsSequence[m](y);this.setVValue(y),this.lock=!1,this.frameId=this.elem.globalData.frameId;}}function p(y,m,x){this.propType="shape",this.comp=y.comp,this.container=y,this.elem=y,this.data=m,this.k=!1,this.kf=!1,this._mdf=!1;var w=x===3?m.pt.k:m.ks.k;this.v=shapePool.clone(w),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 h(y){this.effectsSequence.push(y),this.container.addDynamicProperty(this);}p.prototype.interpolateShape=e,p.prototype.getValue=o,p.prototype.setVValue=a,p.prototype.addEffect=h;function c(y,m,x){this.propType="shape",this.comp=y.comp,this.elem=y,this.container=y,this.offsetTime=y.data.st,this.keyframes=x===3?m.pt.k:m.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var w=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,w),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)];}c.prototype.getValue=o,c.prototype.interpolateShape=e,c.prototype.setVValue=a,c.prototype.addEffect=h;var _=function(){var y=roundCorner;function m(x,w){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=w.d,this.elem=x,this.comp=x.comp,this.frameId=-1,this.initDynamicPropertyContainer(x),this.p=PropertyFactory.getProp(x,w.p,1,0,this),this.s=PropertyFactory.getProp(x,w.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath());}return m.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 x=this.p.v[0],w=this.p.v[1],M=this.s.v[0]/2,N=this.s.v[1]/2,U=this.d!==3,Y=this.v;Y.v[0][0]=x,Y.v[0][1]=w-N,Y.v[1][0]=U?x+M:x-M,Y.v[1][1]=w,Y.v[2][0]=x,Y.v[2][1]=w+N,Y.v[3][0]=U?x-M:x+M,Y.v[3][1]=w,Y.i[0][0]=U?x-M*y:x+M*y,Y.i[0][1]=w-N,Y.i[1][0]=U?x+M:x-M,Y.i[1][1]=w-N*y,Y.i[2][0]=U?x+M*y:x-M*y,Y.i[2][1]=w+N,Y.i[3][0]=U?x-M:x+M,Y.i[3][1]=w+N*y,Y.o[0][0]=U?x+M*y:x-M*y,Y.o[0][1]=w-N,Y.o[1][0]=U?x+M:x-M,Y.o[1][1]=w+N*y,Y.o[2][0]=U?x-M*y:x+M*y,Y.o[2][1]=w+N,Y.o[3][0]=U?x-M:x+M,Y.o[3][1]=w-N*y;}},extendPrototype([DynamicPropertyContainer],m),m}(),v=function(){function y(m,x){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=m,this.comp=m.comp,this.data=x,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),x.sy===1?(this.ir=PropertyFactory.getProp(m,x.ir,0,0,this),this.is=PropertyFactory.getProp(m,x.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(m,x.pt,0,0,this),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,degToRads,this),this.or=PropertyFactory.getProp(m,x.or,0,0,this),this.os=PropertyFactory.getProp(m,x.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 y.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 m=Math.floor(this.pt.v)*2,x=Math.PI*2/m,w=!0,M=this.or.v,N=this.ir.v,U=this.os.v,Y=this.is.v,dt=2*Math.PI*M/(m*2),xt=2*Math.PI*N/(m*2),vt,bt,It,ot,Tt=-Math.PI/2;Tt+=this.r.v;var z=this.data.d===3?-1:1;for(this.v._length=0,vt=0;vt<m;vt+=1){bt=w?M:N,It=w?U:Y,ot=w?dt:xt;var $=bt*Math.cos(Tt),E=bt*Math.sin(Tt),q=$===0&&E===0?0:E/Math.sqrt($*$+E*E),nt=$===0&&E===0?0:-$/Math.sqrt($*$+E*E);$+=+this.p.v[0],E+=+this.p.v[1],this.v.setTripleAt($,E,$-q*ot*It*z,E-nt*ot*It*z,$+q*ot*It*z,E+nt*ot*It*z,vt,!0),w=!w,Tt+=x*z;}},convertPolygonToPath:function(){var m=Math.floor(this.pt.v),x=Math.PI*2/m,w=this.or.v,M=this.os.v,N=2*Math.PI*w/(m*4),U,Y=-Math.PI*.5,dt=this.data.d===3?-1:1;for(Y+=this.r.v,this.v._length=0,U=0;U<m;U+=1){var xt=w*Math.cos(Y),vt=w*Math.sin(Y),bt=xt===0&&vt===0?0:vt/Math.sqrt(xt*xt+vt*vt),It=xt===0&&vt===0?0:-xt/Math.sqrt(xt*xt+vt*vt);xt+=+this.p.v[0],vt+=+this.p.v[1],this.v.setTripleAt(xt,vt,xt-bt*N*M*dt,vt-It*N*M*dt,xt+bt*N*M*dt,vt+It*N*M*dt,U,!0),Y+=x*dt;}this.paths.length=0,this.paths[0]=this.v;}},extendPrototype([DynamicPropertyContainer],y),y}(),u=function(){function y(m,x){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=m,this.comp=m.comp,this.frameId=-1,this.d=x.d,this.initDynamicPropertyContainer(m),this.p=PropertyFactory.getProp(m,x.p,1,0,this),this.s=PropertyFactory.getProp(m,x.s,1,0,this),this.r=PropertyFactory.getProp(m,x.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath());}return y.prototype={convertRectToPath:function(){var m=this.p.v[0],x=this.p.v[1],w=this.s.v[0]/2,M=this.s.v[1]/2,N=bmMin(w,M,this.r.v),U=N*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+N,m+w,x-M+U,0,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-U,m+w,x+M-N,1,!0),N!==0?(this.v.setTripleAt(m+w-N,x+M,m+w-N,x+M,m+w-U,x+M,2,!0),this.v.setTripleAt(m-w+N,x+M,m-w+U,x+M,m-w+N,x+M,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-N,m-w,x+M-U,4,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+U,m-w,x-M+N,5,!0),this.v.setTripleAt(m-w+N,x-M,m-w+N,x-M,m-w+U,x-M,6,!0),this.v.setTripleAt(m+w-N,x-M,m+w-U,x-M,m+w-N,x-M,7,!0)):(this.v.setTripleAt(m-w,x+M,m-w+U,x+M,m-w,x+M,2),this.v.setTripleAt(m-w,x-M,m-w,x-M+U,m-w,x-M,3))):(this.v.setTripleAt(m+w,x-M+N,m+w,x-M+U,m+w,x-M+N,0,!0),N!==0?(this.v.setTripleAt(m+w-N,x-M,m+w-N,x-M,m+w-U,x-M,1,!0),this.v.setTripleAt(m-w+N,x-M,m-w+U,x-M,m-w+N,x-M,2,!0),this.v.setTripleAt(m-w,x-M+N,m-w,x-M+N,m-w,x-M+U,3,!0),this.v.setTripleAt(m-w,x+M-N,m-w,x+M-U,m-w,x+M-N,4,!0),this.v.setTripleAt(m-w+N,x+M,m-w+N,x+M,m-w+U,x+M,5,!0),this.v.setTripleAt(m+w-N,x+M,m+w-U,x+M,m+w-N,x+M,6,!0),this.v.setTripleAt(m+w,x+M-N,m+w,x+M-N,m+w,x+M-U,7,!0)):(this.v.setTripleAt(m-w,x-M,m-w+U,x-M,m-w,x-M,1,!0),this.v.setTripleAt(m-w,x+M,m-w,x+M-U,m-w,x+M,2,!0),this.v.setTripleAt(m+w,x+M,m+w-U,x+M,m+w,x+M,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],y),y}();function S(y,m,x){var w;if(x===3||x===4){var M=x===3?m.pt:m.ks,N=M.k;N.length?w=new c(y,m,x):w=new p(y,m,x);}else x===5?w=new u(y,m):x===6?w=new _(y,m):x===7&&(w=new v(y,m));return w.k&&y.addDynamicProperty(w),w}function d(){return p}function g(){return c}var A={};return A.getShapeProp=S,A.getConstructorFunction=d,A.getKeyframedConstructorFunction=g,A}(),Matrix=function(){var t=Math.cos,e=Math.sin,i=Math.tan,r=Math.round;function s(){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 a(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function o(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(1,0,0,0,0,q,-nt,0,0,nt,q,0,0,0,0,1)}function p(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,0,nt,0,0,1,0,0,-nt,0,q,0,0,0,0,1)}function h(E){if(E===0)return this;var q=t(E),nt=e(E);return this._t(q,-nt,0,0,nt,q,0,0,0,0,1,0,0,0,0,1)}function c(E,q){return this._t(1,q,E,1,0,0)}function _(E,q){return this.shear(i(E),i(q))}function v(E,q){var nt=t(q),Q=e(q);return this._t(nt,Q,0,0,-Q,nt,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(E),1,0,0,0,0,1,0,0,0,0,1)._t(nt,-Q,0,0,Q,nt,0,0,0,0,1,0,0,0,0,1)}function u(E,q,nt){return !nt&&nt!==0&&(nt=1),E===1&&q===1&&nt===1?this:this._t(E,0,0,0,0,q,0,0,0,0,nt,0,0,0,0,1)}function S(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){return this.props[0]=E,this.props[1]=q,this.props[2]=nt,this.props[3]=Q,this.props[4]=Ut,this.props[5]=zt,this.props[6]=qt,this.props[7]=Gt,this.props[8]=se,this.props[9]=he,this.props[10]=le,this.props[11]=Se,this.props[12]=Pe,this.props[13]=Jt,this.props[14]=de,this.props[15]=Xt,this}function d(E,q,nt){return nt=nt||0,E!==0||q!==0||nt!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,E,q,nt,1):this}function g(E,q,nt,Q,Ut,zt,qt,Gt,se,he,le,Se,Pe,Jt,de,Xt){var Wt=this.props;if(E===1&&q===0&&nt===0&&Q===0&&Ut===0&&zt===1&&qt===0&&Gt===0&&se===0&&he===0&&le===1&&Se===0)return Wt[12]=Wt[12]*E+Wt[15]*Pe,Wt[13]=Wt[13]*zt+Wt[15]*Jt,Wt[14]=Wt[14]*le+Wt[15]*de,Wt[15]*=Xt,this._identityCalculated=!1,this;var ze=Wt[0],Ke=Wt[1],We=Wt[2],Le=Wt[3],Re=Wt[4],Oe=Wt[5],be=Wt[6],re=Wt[7],Nt=Wt[8],ae=Wt[9],ne=Wt[10],ke=Wt[11],$e=Wt[12],vi=Wt[13],bi=Wt[14],Fi=Wt[15];return Wt[0]=ze*E+Ke*Ut+We*se+Le*Pe,Wt[1]=ze*q+Ke*zt+We*he+Le*Jt,Wt[2]=ze*nt+Ke*qt+We*le+Le*de,Wt[3]=ze*Q+Ke*Gt+We*Se+Le*Xt,Wt[4]=Re*E+Oe*Ut+be*se+re*Pe,Wt[5]=Re*q+Oe*zt+be*he+re*Jt,Wt[6]=Re*nt+Oe*qt+be*le+re*de,Wt[7]=Re*Q+Oe*Gt+be*Se+re*Xt,Wt[8]=Nt*E+ae*Ut+ne*se+ke*Pe,Wt[9]=Nt*q+ae*zt+ne*he+ke*Jt,Wt[10]=Nt*nt+ae*qt+ne*le+ke*de,Wt[11]=Nt*Q+ae*Gt+ne*Se+ke*Xt,Wt[12]=$e*E+vi*Ut+bi*se+Fi*Pe,Wt[13]=$e*q+vi*zt+bi*he+Fi*Jt,Wt[14]=$e*nt+vi*qt+bi*le+Fi*de,Wt[15]=$e*Q+vi*Gt+bi*Se+Fi*Xt,this._identityCalculated=!1,this}function A(E){var q=E.props;return this.transform(q[0],q[1],q[2],q[3],q[4],q[5],q[6],q[7],q[8],q[9],q[10],q[11],q[12],q[13],q[14],q[15])}function y(){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 m(E){for(var q=0;q<16;){if(E.props[q]!==this.props[q])return !1;q+=1;}return !0}function x(E){var q;for(q=0;q<16;q+=1)E.props[q]=this.props[q];return E}function w(E){var q;for(q=0;q<16;q+=1)this.props[q]=E[q];}function M(E,q,nt){return {x:E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],y:E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],z:E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}}function N(E,q,nt){return E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12]}function U(E,q,nt){return E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13]}function Y(E,q,nt){return E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]}function dt(){var E=this.props[0]*this.props[5]-this.props[1]*this.props[4],q=this.props[5]/E,nt=-this.props[1]/E,Q=-this.props[4]/E,Ut=this.props[0]/E,zt=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/E,qt=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/E,Gt=new Matrix;return Gt.props[0]=q,Gt.props[1]=nt,Gt.props[4]=Q,Gt.props[5]=Ut,Gt.props[12]=zt,Gt.props[13]=qt,Gt}function xt(E){var q=this.getInverseMatrix();return q.applyToPointArray(E[0],E[1],E[2]||0)}function vt(E){var q,nt=E.length,Q=[];for(q=0;q<nt;q+=1)Q[q]=xt(E[q]);return Q}function bt(E,q,nt){var Q=createTypedArray("float32",6);if(this.isIdentity())Q[0]=E[0],Q[1]=E[1],Q[2]=q[0],Q[3]=q[1],Q[4]=nt[0],Q[5]=nt[1];else {var Ut=this.props[0],zt=this.props[1],qt=this.props[4],Gt=this.props[5],se=this.props[12],he=this.props[13];Q[0]=E[0]*Ut+E[1]*qt+se,Q[1]=E[0]*zt+E[1]*Gt+he,Q[2]=q[0]*Ut+q[1]*qt+se,Q[3]=q[0]*zt+q[1]*Gt+he,Q[4]=nt[0]*Ut+nt[1]*qt+se,Q[5]=nt[0]*zt+nt[1]*Gt+he;}return Q}function It(E,q,nt){var Q;return this.isIdentity()?Q=[E,q,nt]:Q=[E*this.props[0]+q*this.props[4]+nt*this.props[8]+this.props[12],E*this.props[1]+q*this.props[5]+nt*this.props[9]+this.props[13],E*this.props[2]+q*this.props[6]+nt*this.props[10]+this.props[14]],Q}function ot(E,q){if(this.isIdentity())return E+","+q;var nt=this.props;return Math.round((E*nt[0]+q*nt[4]+nt[12])*100)/100+","+Math.round((E*nt[1]+q*nt[5]+nt[13])*100)/100}function Tt(){for(var E=0,q=this.props,nt="matrix3d(",Q=1e4;E<16;)nt+=r(q[E]*Q)/Q,nt+=E===15?")":",",E+=1;return nt}function z(E){var q=1e4;return E<1e-6&&E>0||E>-1e-6&&E<0?r(E*q)/q:E}function $(){var E=this.props,q=z(E[0]),nt=z(E[1]),Q=z(E[4]),Ut=z(E[5]),zt=z(E[12]),qt=z(E[13]);return "matrix("+q+","+nt+","+Q+","+Ut+","+zt+","+qt+")"}return function(){this.reset=s,this.rotate=a,this.rotateX=o,this.rotateY=p,this.rotateZ=h,this.skew=_,this.skewFromAxis=v,this.shear=c,this.scale=u,this.setTransform=S,this.translate=d,this.transform=g,this.multiply=A,this.applyToPoint=M,this.applyToX=N,this.applyToY=U,this.applyToZ=Y,this.applyToPointArray=It,this.applyToTriplePoints=bt,this.applyToPointStringified=ot,this.toCSS=Tt,this.to2dCSS=$,this.clone=x,this.cloneFromProps=w,this.equals=m,this.inversePoints=vt,this.inversePoint=xt,this.getInverseMatrix=dt,this._t=this.transform,this.isIdentity=y,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(s,a){e[s]||(e[s]=a);}function r(s,a,o){return new e[s](a,o)}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,s){var a=[];e<=1?a.push({s:t,e}):t>=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var o=[],p,h=a.length,c;for(p=0;p<h;p+=1)if(c=a[p],!(c.e*s<r||c.s*s>r+i)){var _,v;c.s*s<=r?_=0:_=(c.s*s-r)/i,c.e*s>=r+i?v=1:v=(c.e*s-r)/i,o.push([_,v]);}return o.length||o.push([0,0]),o},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 s=e;e=i,i=s;}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 a,o,p=this.shapes.length,h,c,_,v,u,S=0;if(i===e)for(o=0;o<p;o+=1)this.shapes[o].localShapeCollection.releaseShapes(),this.shapes[o].shape._mdf=!0,this.shapes[o].shape.paths=this.shapes[o].localShapeCollection,this._mdf&&(this.shapes[o].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(o=0;o<p;o+=1)this.shapes[o].pathsData.length=0,this.shapes[o].shape._mdf=!0;}else {var d=[],g,A;for(o=0;o<p;o+=1)if(g=this.shapes[o],!g.shape._mdf&&!this._mdf&&!t&&this.m!==2)g.shape.paths=g.localShapeCollection;else {if(a=g.shape.paths,c=a._length,u=0,!g.shape._mdf&&g.pathsData.length)u=g.totalShapeLength;else {for(_=this.releasePathsData(g.pathsData),h=0;h<c;h+=1)v=bez.getSegmentsLength(a.shapes[h]),_.push(v),u+=v.totalLength;g.totalShapeLength=u,g.pathsData=_;}S+=u,g.shape._mdf=!0;}var y=e,m=i,x=0,w;for(o=p-1;o>=0;o-=1)if(g=this.shapes[o],g.shape._mdf){for(A=g.localShapeCollection,A.releaseShapes(),this.m===2&&p>1?(w=this.calculateShapeEdges(e,i,g.totalShapeLength,x,S),x+=g.totalShapeLength):w=[[y,m]],c=w.length,h=0;h<c;h+=1){y=w[h][0],m=w[h][1],d.length=0,m<=1?d.push({s:g.totalShapeLength*y,e:g.totalShapeLength*m}):y>=1?d.push({s:g.totalShapeLength*(y-1),e:g.totalShapeLength*(m-1)}):(d.push({s:g.totalShapeLength*y,e:g.totalShapeLength}),d.push({s:0,e:g.totalShapeLength*(m-1)}));var M=this.addShapes(g,d[0]);if(d[0].s!==d[0].e){if(d.length>1){var N=g.shape.paths.shapes[g.shape.paths._length-1];if(N.c){var U=M.pop();this.addPaths(M,A),M=this.addShapes(g,d[1],U);}else this.addPaths(M,A),M=this.addShapes(g,d[1]);}this.addPaths(M,A);}}g.shape.paths=A;}}},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,s,a,o){s.setXYAt(e[0],e[1],"o",a),s.setXYAt(i[0],i[1],"i",a+1),o&&s.setXYAt(t[0],t[1],"v",a),s.setXYAt(r[0],r[1],"v",a+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,s=t.shape.paths.shapes,a,o=t.shape.paths._length,p,h,c=0,_,v,u,S,d=[],g,A=!0;for(i?(v=i._length,g=i._length):(i=shapePool.newElement(),v=0,g=0),d.push(i),a=0;a<o;a+=1){for(u=r[a].lengths,i.c=s[a].c,h=s[a].c?u.length:u.length+1,p=1;p<h;p+=1)if(_=u[p-1],c+_.addedLength<e.s)c+=_.addedLength,i.c=!1;else if(c>e.e){i.c=!1;break}else e.s<=c&&e.e>=c+_.addedLength?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[p],s[a].v[p],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[p],s[a].o[p-1],s[a].i[p],(e.s-c)/_.addedLength,(e.e-c)/_.addedLength,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1),c+=_.addedLength,v+=1;if(s[a].c&&u.length){if(_=u[p-1],c<=e.e){var y=u[p-1].addedLength;e.s<=c&&e.e>=c+y?(this.addSegment(s[a].v[p-1],s[a].o[p-1],s[a].i[0],s[a].v[0],i,v,A),A=!1):(S=bez.getNewSegment(s[a].v[p-1],s[a].v[0],s[a].o[p-1],s[a].i[0],(e.s-c)/y,(e.e-c)/y,u[p-1]),this.addSegmentFromArray(S,i,v,A),A=!1,i.c=!1);}else i.c=!1;c+=_.addedLength,v+=1;}if(i._length&&(i.setXYAt(i.v[g][0],i.v[g][1],"i",g),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),c>e.e)break;a<o-1&&(i=shapePool.newElement(),A=!0,d.push(i),v=0);}return d};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],s=t._length,a=0;for(a=0;a<s;a+=1)r[0]+=t.v[a][0],r[1]+=t.v[a][1];r[0]/=s,r[1]/=s;var o=shapePool.newElement();o.c=t.c;var p,h,c,_,v,u;for(a=0;a<s;a+=1)p=t.v[a][0]+(r[0]-t.v[a][0])*i,h=t.v[a][1]+(r[1]-t.v[a][1])*i,c=t.o[a][0]+(r[0]-t.o[a][0])*-i,_=t.o[a][1]+(r[1]-t.o[a][1])*-i,v=t.i[a][0]+(r[0]-t.i[a][0])*-i,u=t.i[a][1]+(r[1]-t.i[a][1])*-i,o.setTripleAt(p,h,c,_,v,u,a);return o},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};var TransformPropertyFactory=function(){var t=[0,0];function e(h){var c=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||c,this.a&&h.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&h.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&h.skewFromAxis(-this.sk.v,this.sa.v),this.r?h.rotate(-this.r.v):h.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?h.translate(this.px.v,this.py.v,-this.pz.v):h.translate(this.px.v,this.py.v,0):h.translate(this.p.v[0],this.p.v[1],-this.p.v[2]);}function i(h){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||h){var c;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 _,v;if(c=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(_=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/c,0),v=this.p.getValueAtTime(this.p.keyframes[0].t/c,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(_=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/c,0),v=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/c,0)):(_=this.p.pv,v=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/c,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){_=[],v=[];var u=this.px,S=this.py;u._caching.lastFrame+u.offsetTime<=u.keyframes[0].t?(_[0]=u.getValueAtTime((u.keyframes[0].t+.01)/c,0),_[1]=S.getValueAtTime((S.keyframes[0].t+.01)/c,0),v[0]=u.getValueAtTime(u.keyframes[0].t/c,0),v[1]=S.getValueAtTime(S.keyframes[0].t/c,0)):u._caching.lastFrame+u.offsetTime>=u.keyframes[u.keyframes.length-1].t?(_[0]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/c,0),_[1]=S.getValueAtTime(S.keyframes[S.keyframes.length-1].t/c,0),v[0]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/c,0),v[1]=S.getValueAtTime((S.keyframes[S.keyframes.length-1].t-.01)/c,0)):(_=[u.pv,S.pv],v[0]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/c,u.offsetTime),v[1]=S.getValueAtTime((S._caching.lastFrame+S.offsetTime-.01)/c,S.offsetTime));}else v=t,_=v;this.v.rotate(-Math.atan2(_[1]-v[1],_[0]-v[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 s(){}function a(h){this._addDynamicProperty(h),this.elem.addDynamicProperty(h),this._isDirty=!0;}function o(h,c,_){if(this.elem=h,this.frameId=-1,this.propType="transform",this.data=c,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(_||h),c.p&&c.p.s?(this.px=PropertyFactory.getProp(h,c.p.x,0,0,this),this.py=PropertyFactory.getProp(h,c.p.y,0,0,this),c.p.z&&(this.pz=PropertyFactory.getProp(h,c.p.z,0,0,this))):this.p=PropertyFactory.getProp(h,c.p||{k:[0,0,0]},1,0,this),c.rx){if(this.rx=PropertyFactory.getProp(h,c.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(h,c.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(h,c.rz,0,degToRads,this),c.or.k[0].ti){var v,u=c.or.k.length;for(v=0;v<u;v+=1)c.or.k[v].to=null,c.or.k[v].ti=null;}this.or=PropertyFactory.getProp(h,c.or,1,degToRads,this),this.or.sh=!0;}else this.r=PropertyFactory.getProp(h,c.r||{k:0},0,degToRads,this);c.sk&&(this.sk=PropertyFactory.getProp(h,c.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(h,c.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(h,c.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(h,c.s||{k:[100,100,100]},1,.01,this),c.o?this.o=PropertyFactory.getProp(h,c.o,0,.01,h):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0);}o.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:r,autoOrient:s},extendPrototype([DynamicPropertyContainer],o),o.prototype.addDynamicProperty=a,o.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function p(h,c,_){return new o(h,c,_)}return {getTransformProperty:p}}();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,s,a){var o=a?-1:1,p=r.s.v[0]+(1-r.s.v[0])*(1-s),h=r.s.v[1]+(1-r.s.v[1])*(1-s);t.translate(r.p.v[0]*o*s,r.p.v[1]*o*s,r.p.v[2]),e.translate(-r.a.v[0],-r.a.v[1],r.a.v[2]),e.rotate(-r.r.v*o*s),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(a?1/p:p,a?1/h:h),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,s,a,o=!1;if(this._mdf||t){var p=Math.ceil(this.c.v);if(this._groups.length<p){for(;this._groups.length<p;){var h={it:this.cloneElements(this._elements),ty:"gr"};h.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,h),this._groups.splice(0,0,h),this._currentCopies+=1;}this.elem.reloadShapes(),o=!0;}a=0;var c;for(r=0;r<=this._groups.length-1;r+=1){if(c=a<p,this._groups[r]._render=c,this.changeGroupRender(this._groups[r].it,c),!c){var _=this.elemsData[r].it,v=_[_.length-1];v.transform.op.v!==0?(v.transform.op._mdf=!0,v.transform.op.v=0):v.transform.op._mdf=!1;}a+=1;}this._currentCopies=p;var u=this.o.v,S=u%1,d=u>0?Math.floor(u):Math.ceil(u),g=this.pMatrix.props,A=this.rMatrix.props,y=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m=0;if(u>0){for(;m<d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),m+=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,S,!1),m+=S);}else if(u<0){for(;m>d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),m-=1;S&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-S,!0),m-=S);}r=this.data.m===1?0:this._currentCopies-1,s=this.data.m===1?1:-1,a=this._currentCopies;for(var x,w;a;){if(e=this.elemsData[r].it,i=e[e.length-1].transform.mProps.v.props,w=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)),m!==0){for((r!==0&&s===1||r!==this._currentCopies-1&&s===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(A[0],A[1],A[2],A[3],A[4],A[5],A[6],A[7],A[8],A[9],A[10],A[11],A[12],A[13],A[14],A[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),x=0;x<w;x+=1)i[x]=this.matrix.props[x];this.matrix.reset();}else for(this.matrix.reset(),x=0;x<w;x+=1)i[x]=this.matrix.props[x];m+=1,a-=1,r+=s;}}else for(a=this._currentCopies,r=0,s=1;a;)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,a-=1,r+=s;return o},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,s=t._length,a,o,p,h,c,_,v=0,u,S,d,g,A,y;for(r=0;r<s;r+=1)a=t.v[r],p=t.o[r],o=t.i[r],a[0]===p[0]&&a[1]===p[1]&&a[0]===o[0]&&a[1]===o[1]?(r===0||r===s-1)&&!t.c?(i.setTripleAt(a[0],a[1],p[0],p[1],o[0],o[1],v),v+=1):(r===0?h=t.v[s-1]:h=t.v[r-1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,A=a[0]+(h[0]-a[0])*_,u=A,y=a[1]-(a[1]-h[1])*_,S=y,d=u-(u-a[0])*roundCorner,g=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=1,r===s-1?h=t.v[0]:h=t.v[r+1],c=Math.sqrt(Math.pow(a[0]-h[0],2)+Math.pow(a[1]-h[1],2)),_=c?Math.min(c/2,e)/c:0,d=a[0]+(h[0]-a[0])*_,u=d,g=a[1]+(h[1]-a[1])*_,S=g,A=u-(u-a[0])*roundCorner,y=S-(S-a[1])*roundCorner,i.setTripleAt(u,S,d,g,A,y,v),v+=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],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.rd.v;if(o!==0){var p,h;for(i=0;i<r;i+=1){if(p=this.shapes[i],h=p.localShapeCollection,!(!p.shape._mdf&&!this._mdf&&!t))for(h.releaseShapes(),p.shape._mdf=!0,e=p.shape.paths.shapes,a=p.shape.paths._length,s=0;s<a;s+=1)h.addShape(this.processPath(e[s],o));p.shape.paths=p.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 s=-e/(2*t);if(r===0)return [s];var a=Math.sqrt(r)/(2*t);return [s-a,s+a]}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,s){s&&pointEqual(t,e)&&(e=lerpPoint(t,r,1/3)),s&&pointEqual(i,r)&&(i=lerpPoint(t,r,2/3));var a=polynomialCoefficients(t[0],e[0],i[0],r[0]),o=polynomialCoefficients(t[1],e[1],i[1],r[1]);this.a=[a[0],o[0]],this.b=[a[1],o[1]],this.c=[a[2],o[2]],this.d=[a[3],o[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(s){return s>0&&s<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),s=lerpPoint(e,i,t),a=lerpPoint(i,r,t),o=lerpPoint(s,a,t);return [new PolynomialBezier(this.points[0],e,s,o,!0),new PolynomialBezier(o,a,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 s=r;r=i,i=s;}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),o=0;o<a.length;o+=1)if(a[o]>0&&a[o]<1){var p=t.point(a[o])[e];p<i?i=p:p>r&&(r=p);}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,s,a){if(boxIntersect(t,e)){if(i>=a||t.width<=r&&t.height<=r&&e.width<=r&&e.height<=r){s.push([t.t,e.t]);return}var o=splitData(t),p=splitData(e);intersectsImpl(o[0],p[0],i+1,r,s,a),intersectsImpl(o[0],p[1],i+1,r,s,a),intersectsImpl(o[1],p[0],i+1,r,s,a),intersectsImpl(o[1],p[1],i+1,r,s,a);}}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 s=[t[0],t[1],1],a=[e[0],e[1],1],o=[i[0],i[1],1],p=[r[0],r[1],1],h=crossProduct(crossProduct(s,a),crossProduct(o,p));return floatZero(h[2])?null:[h[0]/h[2],h[1]/h[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,s,a,o){var p=i-Math.PI/2,h=i+Math.PI/2,c=e[0]+Math.cos(i)*r*s,_=e[1]-Math.sin(i)*r*s;t.setTripleAt(c,_,c+Math.cos(p)*a,_-Math.sin(p)*a,c+Math.cos(h)*o,_-Math.sin(h)*o,t.length());}function getPerpendicularVector(t,e){var i=[e[0]-t[0],e[1]-t[1]],r=-Math.PI*.5,s=[Math.cos(r)*i[0]-Math.sin(r)*i[1],Math.sin(r)*i[0]+Math.cos(r)*i[1]];return s}function getProjectingAngle(t,e){var i=e===0?t.length()-1:e-1,r=(e+1)%t.length(),s=t.v[i],a=t.v[r],o=getPerpendicularVector(s,a);return Math.atan2(0,1)-Math.atan2(o[1],o[0])}function zigZagCorner(t,e,i,r,s,a,o){var p=getProjectingAngle(e,i),h=e.v[i%e._length],c=e.v[i===0?e._length-1:i-1],_=e.v[(i+1)%e._length],v=a===2?Math.sqrt(Math.pow(h[0]-c[0],2)+Math.pow(h[1]-c[1],2)):0,u=a===2?Math.sqrt(Math.pow(h[0]-_[0],2)+Math.pow(h[1]-_[1],2)):0;setPoint(t,e.v[i%e._length],p,o,r,u/((s+1)*2),v/((s+1)*2));}function zigZagSegment(t,e,i,r,s,a){for(var o=0;o<r;o+=1){var p=(o+1)/(r+1),h=s===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,c=e.normalAngle(p),_=e.point(p);setPoint(t,_,c,a,i,h/((r+1)*2),h/((r+1)*2)),a=-a;}return a}ZigZagModifier.prototype.processPath=function(t,e,i,r){var s=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(s-=1),s===0)return a;var o=-1,p=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,i,r,o);for(var h=0;h<s;h+=1)o=zigZagSegment(a,p,e,i,r,-o),h===s-1&&!t.c?p=null:p=PolynomialBezier.shapeSegment(t,(h+1)%s),zigZagCorner(a,t,h+1,e,i,r,o);return a},ZigZagModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amplitude.v,p=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,p,h));c.shape.paths=c.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,s,a,o,p,h;h=linearOffset(t.points[0],t.points[1],e),i=h[0],r=h[1],h=linearOffset(t.points[1],t.points[2],e),s=h[0],a=h[1],h=linearOffset(t.points[2],t.points[3],e),o=h[0],p=h[1];var c=lineIntersection(i,r,s,a);c===null&&(c=r);var _=lineIntersection(o,p,s,a);return _===null&&(_=o),new PolynomialBezier(i,c,_,p)}function joinLines(t,e,i,r,s){var a=e.points[3],o=i.points[0];if(r===3||pointEqual(a,o))return a;if(r===2){var p=-e.tangentAngle(1),h=-i.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,p+Math.PI/2,100),o,polarOffset(o,p+Math.PI/2,100)),_=c?pointDistance(c,a):pointDistance(a,o)/2,v=polarOffset(a,p,2*_*roundCorner);return t.setXYAt(v[0],v[1],"o",t.length()-1),v=polarOffset(o,h,2*_*roundCorner),t.setTripleAt(o[0],o[1],o[0],o[1],v[0],v[1],t.length()),o}var u=pointEqual(a,e.points[2])?e.points[0]:e.points[2],S=pointEqual(o,i.points[1])?i.points[3]:i.points[1],d=lineIntersection(u,a,o,S);return d&&pointDistance(d,a)<s?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):a}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(),s=getIntersection(t[t.length-1],e[0]);return s&&(i[t.length-1]=t[t.length-1].split(s[0])[0],r[0]=e[0].split(s[1])[1]),t.length>1&&e.length>1&&(s=getIntersection(t[0],e[e.length-1]),s)?[[t[0].split(s[0])[0]],[e[e.length-1].split(s[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,s,a,o;if(i.length===0)return [offsetSegment(t,e)];if(i.length===1||floatEqual(i[1],1))return a=t.split(i[0]),r=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(s,e)];a=t.split(i[0]),r=a[0];var p=(i[1]-i[0])/(1-i[0]);return a=a[1].split(p),o=a[0],s=a[1],[offsetSegment(r,e),offsetSegment(o,e),offsetSegment(s,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 s=shapePool.newElement();s.c=t.c;var a=t.length();t.c||(a-=1);var o,p,h,c=[];for(o=0;o<a;o+=1)h=PolynomialBezier.shapeSegment(t,o),c.push(offsetSegmentSplit(h,e));if(!t.c)for(o=a-1;o>=0;o-=1)h=PolynomialBezier.shapeSegmentInverted(t,o),c.push(offsetSegmentSplit(h,e));c=pruneIntersections(c);var _=null,v=null;for(o=0;o<c.length;o+=1){var u=c[o];for(v&&(_=joinLines(s,v,u[0],i,r)),v=u[u.length-1],p=0;p<u.length;p+=1)h=u[p],_&&pointEqual(h.points[0],_)?s.setXYAt(h.points[1][0],h.points[1][1],"o",s.length()-1):s.setTripleAt(h.points[0][0],h.points[0][1],h.points[1][0],h.points[1][1],h.points[0][0],h.points[0][1],s.length()),s.setTripleAt(h.points[3][0],h.points[3][1],h.points[3][0],h.points[3][1],h.points[2][0],h.points[2][1],s.length()),_=h.points[3];}return c.length&&joinLines(s,v,c[0][0],i,r),s},OffsetPathModifier.prototype.processShapes=function(t){var e,i,r=this.shapes.length,s,a,o=this.amount.v,p=this.miterLimit.v,h=this.lineJoin;if(o!==0){var c,_;for(i=0;i<r;i+=1){if(c=this.shapes[i],_=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,s=0;s<a;s+=1)_.addShape(this.processPath(e[s],o,h,p));c.shape.paths=c.localShapeCollection;}}this.dynamicProperties.length||(this._mdf=!1);};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",r="normal",s=e.length,a,o=0;o<s;o+=1)switch(a=e[o].toLowerCase(),a){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,s=917631,a=917601,o=917626,p=65039,h=8205,c=127462,_=127487,v=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function u(z){var $=z.split(","),E,q=$.length,nt=[];for(E=0;E<q;E+=1)$[E]!=="sans-serif"&&$[E]!=="monospace"&&nt.push($[E]);return nt.join(",")}function S(z,$){var E=createTag("span");E.setAttribute("aria-hidden",!0),E.style.fontFamily=$;var q=createTag("span");q.innerText="giItT1WQy@!-/#",E.style.position="absolute",E.style.left="-10000px",E.style.top="-10000px",E.style.fontSize="300px",E.style.fontVariant="normal",E.style.fontStyle="normal",E.style.fontWeight="normal",E.style.letterSpacing="0",E.appendChild(q),document.body.appendChild(E);var nt=q.offsetWidth;return q.style.fontFamily=u(z)+", "+$,{node:q,w:nt,parent:E}}function d(){var z,$=this.fonts.length,E,q,nt=$;for(z=0;z<$;z+=1)this.fonts[z].loaded?nt-=1:this.fonts[z].fOrigin==="n"||this.fonts[z].origin===0?this.fonts[z].loaded=!0:(E=this.fonts[z].monoCase.node,q=this.fonts[z].monoCase.w,E.offsetWidth!==q?(nt-=1,this.fonts[z].loaded=!0):(E=this.fonts[z].sansCase.node,q=this.fonts[z].sansCase.w,E.offsetWidth!==q&&(nt-=1,this.fonts[z].loaded=!0)),this.fonts[z].loaded&&(this.fonts[z].sansCase.parent.parentNode.removeChild(this.fonts[z].sansCase.parent),this.fonts[z].monoCase.parent.parentNode.removeChild(this.fonts[z].monoCase.parent)));nt!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10);}function g(z,$){var E=document.body&&$?"svg":"canvas",q,nt=getFontProperties(z);if(E==="svg"){var Q=createNS("text");Q.style.fontSize="100px",Q.setAttribute("font-family",z.fFamily),Q.setAttribute("font-style",nt.style),Q.setAttribute("font-weight",nt.weight),Q.textContent="1",z.fClass?(Q.style.fontFamily="inherit",Q.setAttribute("class",z.fClass)):Q.style.fontFamily=z.fFamily,$.appendChild(Q),q=Q;}else {var Ut=new OffscreenCanvas(500,500).getContext("2d");Ut.font=nt.style+" "+nt.weight+" 100px "+z.fFamily,q=Ut;}function zt(qt){return E==="svg"?(q.textContent=qt,q.getComputedTextLength()):q.measureText(qt).width}return {measureText:zt}}function A(z,$){if(!z){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=z.list;return}if(!document.body){this.isLoaded=!0,z.list.forEach(function(le){le.helper=g(le),le.cache={};}),this.fonts=z.list;return}var E=z.list,q,nt=E.length,Q=nt;for(q=0;q<nt;q+=1){var Ut=!0,zt,qt;if(E[q].loaded=!1,E[q].monoCase=S(E[q].fFamily,"monospace"),E[q].sansCase=S(E[q].fFamily,"sans-serif"),!E[q].fPath)E[q].loaded=!0,Q-=1;else if(E[q].fOrigin==="p"||E[q].origin===3){if(zt=document.querySelectorAll('style[f-forigin="p"][f-family="'+E[q].fFamily+'"], style[f-origin="3"][f-family="'+E[q].fFamily+'"]'),zt.length>0&&(Ut=!1),Ut){var Gt=createTag("style");Gt.setAttribute("f-forigin",E[q].fOrigin),Gt.setAttribute("f-origin",E[q].origin),Gt.setAttribute("f-family",E[q].fFamily),Gt.type="text/css",Gt.innerText="@font-face {font-family: "+E[q].fFamily+"; font-style: normal; src: url('"+E[q].fPath+"');}",$.appendChild(Gt);}}else if(E[q].fOrigin==="g"||E[q].origin===1){for(zt=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),qt=0;qt<zt.length;qt+=1)zt[qt].href.indexOf(E[q].fPath)!==-1&&(Ut=!1);if(Ut){var se=createTag("link");se.setAttribute("f-forigin",E[q].fOrigin),se.setAttribute("f-origin",E[q].origin),se.type="text/css",se.rel="stylesheet",se.href=E[q].fPath,document.body.appendChild(se);}}else if(E[q].fOrigin==="t"||E[q].origin===2){for(zt=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),qt=0;qt<zt.length;qt+=1)E[q].fPath===zt[qt].src&&(Ut=!1);if(Ut){var he=createTag("link");he.setAttribute("f-forigin",E[q].fOrigin),he.setAttribute("f-origin",E[q].origin),he.setAttribute("rel","stylesheet"),he.setAttribute("href",E[q].fPath),$.appendChild(he);}}E[q].helper=g(E[q],$),E[q].cache={},this.fonts.push(E[q]);}Q===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100);}function y(z){if(z){this.chars||(this.chars=[]);var $,E=z.length,q,nt=this.chars.length,Q;for($=0;$<E;$+=1){for(q=0,Q=!1;q<nt;)this.chars[q].style===z[$].style&&this.chars[q].fFamily===z[$].fFamily&&this.chars[q].ch===z[$].ch&&(Q=!0),q+=1;Q||(this.chars.push(z[$]),nt+=1);}}}function m(z,$,E){for(var q=0,nt=this.chars.length;q<nt;){if(this.chars[q].ch===z&&this.chars[q].style===$&&this.chars[q].fFamily===E)return this.chars[q];q+=1;}return (typeof z=="string"&&z.charCodeAt(0)!==13||!z)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",z,$,E)),e}function x(z,$,E){var q=this.getFontByName($),nt=z;if(!q.cache[nt]){var Q=q.helper;if(z===" "){var Ut=Q.measureText("|"+z+"|"),zt=Q.measureText("||");q.cache[nt]=(Ut-zt)/100;}else q.cache[nt]=Q.measureText(z)/100;}return q.cache[nt]*E}function w(z){for(var $=0,E=this.fonts.length;$<E;){if(this.fonts[$].fName===z)return this.fonts[$];$+=1;}return this.fonts[0]}function M(z){var $=0,E=z.charCodeAt(0);if(E>=55296&&E<=56319){var q=z.charCodeAt(1);q>=56320&&q<=57343&&($=(E-55296)*1024+q-56320+65536);}return $}function N(z,$){var E=z.toString(16)+$.toString(16);return v.indexOf(E)!==-1}function U(z){return z===h}function Y(z){return z===p}function dt(z){var $=M(z);return $>=c&&$<=_}function xt(z){return dt(z.substr(0,2))&&dt(z.substr(2,2))}function vt(z){return i.indexOf(z)!==-1}function bt(z,$){var E=M(z.substr($,2));if(E!==r)return !1;var q=0;for($+=2;q<5;){if(E=M(z.substr($,2)),E<a||E>o)return !1;q+=1,$+=2;}return M(z.substr($,2))===s}function It(){this.isLoaded=!0;}var ot=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);};ot.isModifier=N,ot.isZeroWidthJoiner=U,ot.isFlagEmoji=xt,ot.isRegionalCode=dt,ot.isCombinedCharacter=vt,ot.isRegionalFlag=bt,ot.isVariationSelector=Y,ot.BLACK_FLAG_CODE_POINT=r;var Tt={addChars:y,addFonts:A,getCharData:m,getFontByName:w,measureText:x,checkLoadedFonts:d,setIsLoaded:It};return ot.prototype=Tt,ot}();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,s=i.length,a;for(r=0;r<s;r+=1)a=new GroupEffect(i[r],e),this.effectElements.push(a);}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,s,a=this.data.ef;for(i=0;i<r;i+=1){switch(s=null,a[i].ty){case 0:s=new SliderEffect(a[i],e,this);break;case 1:s=new AngleEffect(a[i],e,this);break;case 2:s=new ColorEffect(a[i],e,this);break;case 3:s=new PointEffect(a[i],e,this);break;case 4:case 7:s=new CheckboxEffect(a[i],e,this);break;case 10:s=new LayerIndexEffect(a[i],e,this);break;case 11:s=new MaskIndexEffect(a[i],e,this);break;case 5:s=new EffectsManager(a[i],e);break;default:s=new NoValueEffect(a[i]);break}s&&this.effectElements.push(s);}};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"),s=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=a(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=s(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,s=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<s;){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,s=this.layers,a=0,o=s.length;a<o;)s[a].ind==e&&(!r[a]||r[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(i.push(r[a]),r[a].setAsParent(),s[a].parent!==void 0?this.buildElementParenting(t,s[a].parent,i):t.setHierarchy(i))),a+=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,s=this.elements.length;for(r=0;r<s;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 s=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)s*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=s;}}},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 s,a=e.length,o;for(s=0;s<a;s+=1)o=e[s].mat.applyToPointArray(0,0,0),t=[t[0]-o[0],t[1]-o[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,s,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var o,p=this.masksProperties,h=0,c=[],_,v,u=createElementID(),S,d,g,A,y="clipPath",m="clip-path";for(s=0;s<a;s+=1)if((p[s].mode!=="a"&&p[s].mode!=="n"||p[s].inv||p[s].o.k!==100||p[s].o.x)&&(y="mask",m="mask"),(p[s].mode==="s"||p[s].mode==="i")&&h===0?(S=createNS("rect"),S.setAttribute("fill","#ffffff"),S.setAttribute("width",this.element.comp.data.w||0),S.setAttribute("height",this.element.comp.data.h||0),c.push(S)):S=null,o=createNS("path"),p[s].mode==="n")this.viewData[s]={op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),elem:o,lastPath:""},r.appendChild(o);else {h+=1,o.setAttribute("fill",p[s].mode==="s"?"#000000":"#ffffff"),o.setAttribute("clip-rule","nonzero");var x;if(p[s].x.k!==0?(y="mask",m="mask",A=PropertyFactory.getProp(this.element,p[s].x,0,null,this.element),x=createElementID(),d=createNS("filter"),d.setAttribute("id",x),g=createNS("feMorphology"),g.setAttribute("operator","erode"),g.setAttribute("in","SourceGraphic"),g.setAttribute("radius","0"),d.appendChild(g),r.appendChild(d),o.setAttribute("stroke",p[s].mode==="s"?"#000000":"#ffffff")):(g=null,A=null),this.storedData[s]={elem:o,x:A,expan:g,lastPath:"",lastOperator:"",filterId:x,lastRadius:0},p[s].mode==="i"){v=c.length;var w=createNS("g");for(_=0;_<v;_+=1)w.appendChild(c[_]);var M=createNS("mask");M.setAttribute("mask-type","alpha"),M.setAttribute("id",u+"_"+h),M.appendChild(o),r.appendChild(M),w.setAttribute("mask","url("+getLocationHref()+"#"+u+"_"+h+")"),c.length=0,c.push(w);}else c.push(o);p[s].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[s]={elem:o,lastPath:"",op:PropertyFactory.getProp(this.element,p[s].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[s],3),invRect:S},this.viewData[s].prop.k||this.drawPath(p[s],this.viewData[s].prop.v,this.viewData[s]);}for(this.maskElement=createNS(y),a=c.length,s=0;s<a;s+=1)this.maskElement.appendChild(c[s]);h>0&&(this.maskElement.setAttribute("id",u),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+u+")"),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 s=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+")")),s.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],s,a;for(a=e._length,s=1;s<a;s+=1)r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[s][0]+","+e.i[s][1]+" "+e.v[s][0]+","+e.v[s][1];if(e.c&&a>1&&(r+=" C"+e.o[s-1][0]+","+e.o[s-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==r){var o="";i.elem&&(e.c&&(o=t.inv?this.solidPath+r:r),i.elem.setAttribute("d",o)),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,s){var a=createNS("filter");return a.setAttribute("id",r),s!==!0&&(a.setAttribute("filterUnits","objectBoundingBox"),a.setAttribute("x","0%"),a.setAttribute("y","0%"),a.setAttribute("width","100%"),a.setAttribute("height","100%")),a}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,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;this.filters=[];var p;for(e=0;e<r;e+=1){p=null;var h=t.data.ef[e].ty;if(registeredEffects$1[h]){var c=registeredEffects$1[h].effect;p=new c(a,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects$1[h].countsAsEffect&&(o+=1);}p&&this.filters.push(p);}o&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+s+")")),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 s=createElementID();if(i.setAttribute("id",s),i.appendChild(r),this.globalData.defs.appendChild(i),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement;}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")");}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,s,a;if(t===1||t===3){var o=createNS("mask");o.setAttribute("id",e),o.setAttribute("mask-type",t===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(s),this.globalData.defs.appendChild(o),!featureSupport.maskType&&t===1&&(o.setAttribute("mask-type","luminance"),i=createElementID(),r=filtersFactory.createFilter(i),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(s),o.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+i+")"));}else if(t===2){var p=createNS("mask");p.setAttribute("id",e),p.setAttribute("mask-type","alpha");var h=createNS("g");p.appendChild(h),i=createElementID(),r=filtersFactory.createFilter(i);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var _=createNS("feFuncA");_.setAttribute("type","table"),_.setAttribute("tableValues","1.0 0.0"),c.appendChild(_),this.globalData.defs.appendChild(r);var v=createNS("rect");v.setAttribute("width",this.comp.data.w),v.setAttribute("height",this.comp.data.h),v.setAttribute("x","0"),v.setAttribute("y","0"),v.setAttribute("fill","#ffffff"),v.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),h.appendChild(v),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(s),featureSupport.maskType||(p.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),h.appendChild(v),a.appendChild(this.layerElement),h.appendChild(a)),this.globalData.defs.appendChild(p);}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,s=t.length;r<s;){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 s,a=e.length||0,o;for(s=0;s<a;s+=1)o=PropertyFactory.getProp(t,e[s].v,0,0,this),this.k=o.k||this.k,this.dataProps[s]={n:e[s].n,p:o};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,s;i<r;){if(s=Math.abs(t[i*4]-t[e*4+i*2]),s>.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,s;for(e=0;e<i;e+=1)r=e%4===0?100:255,s=Math.round(this.prop.v[e]*r),this.c[e]!==s&&(this.c[e]=s,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,s=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==s&&(this.o[e-this.data.p*4]=s,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 s=[],a,o,p;for(p=e.g.p*4,o=0;o<p;o+=4)a=createNS("stop"),r.appendChild(a),s.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+i+")"),this.gf=r,this.cst=s;},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,r,s,a=createNS("mask"),o=createNS("path");a.appendChild(o);var p=createElementID(),h=createElementID();a.setAttribute("id",h);var c=createNS(t.t===1?"linearGradient":"radialGradient");c.setAttribute("id",p),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),s=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var _=this.stops;for(r=t.g.p*4;r<s;r+=2)i=createNS("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(i),_.push(i);o.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+p+")"),t.ty==="gs"&&(o.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),o.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&o.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=_,this.maskId=h,e.msElem=o;}},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 s=t.o,a=t.i,o=t.v,p,h=" M"+r.applyToPointStringified(o[0][0],o[0][1]);for(p=1;p<e;p+=1)h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[p][0],a[p][1])+" "+r.applyToPointStringified(o[p][0],o[p][1]);return i&&e&&(h+=" C"+r.applyToPointStringified(s[p-1][0],s[p-1][1])+" "+r.applyToPointStringified(a[0][0],a[0][1])+" "+r.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,i={createRenderFunction:r};function r(v){switch(v.ty){case"fl":return p;case"gf":return c;case"gs":return h;case"st":return _;case"sh":case"el":case"rc":case"sr":return o;case"tr":return s;case"no":return a;default:return null}}function s(v,u,S){(S||u.transform.op._mdf)&&u.transform.container.setAttribute("opacity",u.transform.op.v),(S||u.transform.mProps._mdf)&&u.transform.container.setAttribute("transform",u.transform.mProps.v.to2dCSS());}function a(){}function o(v,u,S){var d,g,A,y,m,x,w=u.styles.length,M=u.lvl,N,U,Y,dt;for(x=0;x<w;x+=1){if(y=u.sh._mdf||S,u.styles[x].lvl<M){for(U=e.reset(),Y=M-u.styles[x].lvl,dt=u.transformers.length-1;!y&&Y>0;)y=u.transformers[dt].mProps._mdf||y,Y-=1,dt-=1;if(y)for(Y=M-u.styles[x].lvl,dt=u.transformers.length-1;Y>0;)U.multiply(u.transformers[dt].mProps.v),Y-=1,dt-=1;}else U=t;if(N=u.sh.paths,g=N._length,y){for(A="",d=0;d<g;d+=1)m=N.shapes[d],m&&m._length&&(A+=buildShapeString(m,m._length,m.c,U));u.caches[x]=A;}else A=u.caches[x];u.styles[x].d+=v.hd===!0?"":A,u.styles[x]._mdf=y||u.styles[x]._mdf;}}function p(v,u,S){var d=u.style;(u.c._mdf||S)&&d.pElem.setAttribute("fill","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("fill-opacity",u.o.v);}function h(v,u,S){c(v,u,S),_(v,u,S);}function c(v,u,S){var d=u.gf,g=u.g._hasOpacity,A=u.s.v,y=u.e.v;if(u.o._mdf||S){var m=v.ty==="gf"?"fill-opacity":"stroke-opacity";u.style.pElem.setAttribute(m,u.o.v);}if(u.s._mdf||S){var x=v.t===1?"x1":"cx",w=x==="x1"?"y1":"cy";d.setAttribute(x,A[0]),d.setAttribute(w,A[1]),g&&!u.g._collapsable&&(u.of.setAttribute(x,A[0]),u.of.setAttribute(w,A[1]));}var M,N,U,Y;if(u.g._cmdf||S){M=u.cst;var dt=u.g.c;for(U=M.length,N=0;N<U;N+=1)Y=M[N],Y.setAttribute("offset",dt[N*4]+"%"),Y.setAttribute("stop-color","rgb("+dt[N*4+1]+","+dt[N*4+2]+","+dt[N*4+3]+")");}if(g&&(u.g._omdf||S)){var xt=u.g.o;for(u.g._collapsable?M=u.cst:M=u.ost,U=M.length,N=0;N<U;N+=1)Y=M[N],u.g._collapsable||Y.setAttribute("offset",xt[N*2]+"%"),Y.setAttribute("stop-opacity",xt[N*2+1]);}if(v.t===1)(u.e._mdf||S)&&(d.setAttribute("x2",y[0]),d.setAttribute("y2",y[1]),g&&!u.g._collapsable&&(u.of.setAttribute("x2",y[0]),u.of.setAttribute("y2",y[1])));else {var vt;if((u.s._mdf||u.e._mdf||S)&&(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)),d.setAttribute("r",vt),g&&!u.g._collapsable&&u.of.setAttribute("r",vt)),u.e._mdf||u.h._mdf||u.a._mdf||S){vt||(vt=Math.sqrt(Math.pow(A[0]-y[0],2)+Math.pow(A[1]-y[1],2)));var bt=Math.atan2(y[1]-A[1],y[0]-A[0]),It=u.h.v;It>=1?It=.99:It<=-1&&(It=-.99);var ot=vt*It,Tt=Math.cos(bt+u.a.v)*ot+A[0],z=Math.sin(bt+u.a.v)*ot+A[1];d.setAttribute("fx",Tt),d.setAttribute("fy",z),g&&!u.g._collapsable&&(u.of.setAttribute("fx",Tt),u.of.setAttribute("fy",z));}}}function _(v,u,S){var d=u.style,g=u.d;g&&(g._mdf||S)&&g.dashStr&&(d.pElem.setAttribute("stroke-dasharray",g.dashStr),d.pElem.setAttribute("stroke-dashoffset",g.dashoffset[0])),u.c&&(u.c._mdf||S)&&d.pElem.setAttribute("stroke","rgb("+bmFloor(u.c.v[0])+","+bmFloor(u.c.v[1])+","+bmFloor(u.c.v[2])+")"),(u.o._mdf||S)&&d.pElem.setAttribute("stroke-opacity",u.o.v),(u.w._mdf||S)&&(d.pElem.setAttribute("stroke-width",u.w.v),d.msElem&&d.msElem.setAttribute("stroke-width",u.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,s=this.stylesList.length,a,o=[],p=!1;for(r=0;r<s;r+=1){for(a=this.stylesList[r],p=!1,o.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(a)!==-1&&(o.push(i),p=i._isAnimated||p);o.length>1&&p&&this.setShapesAsAnimated(o);}},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),s=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 a=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;i=new a(this,t,r),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),s.setAttribute("mask","url("+getLocationHref()+"#"+i.maskId+")"));}else t.ty==="no"&&(i=new SVGNoStyleData(this,t,r));return (t.ty==="st"||t.ty==="gs")&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),s.setAttribute("fill-opacity","0"),t.lj===1&&s.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&s.setAttribute("fill-rule","evenodd"),t.ln&&s.setAttribute("id",t.ln),t.cl&&s.setAttribute("class",t.cl),t.bm&&(s.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 s=ShapePropertyFactory.getShapeProp(this,t,r,this),a=new SVGShapeData(e,i,s);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},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,s,a,o){var p=[].concat(a),h,c=t.length-1,_,v,u=[],S=[],d,g,A;for(h=c;h>=0;h-=1){if(A=this.searchProcessedElement(t[h]),A?e[h]=i[A-1]:t[h]._render=o,t[h].ty==="fl"||t[h].ty==="st"||t[h].ty==="gf"||t[h].ty==="gs"||t[h].ty==="no")A?e[h].style.closed=!1:e[h]=this.createStyleElement(t[h],s),t[h]._render&&e[h].style.pElem.parentNode!==r&&r.appendChild(e[h].style.pElem),u.push(e[h].style);else if(t[h].ty==="gr"){if(!A)e[h]=this.createGroupElement(t[h]);else for(v=e[h].it.length,_=0;_<v;_+=1)e[h].prevViewData[_]=e[h].it[_];this.searchShapes(t[h].it,e[h].it,e[h].prevViewData,e[h].gr,s+1,p,o),t[h]._render&&e[h].gr.parentNode!==r&&r.appendChild(e[h].gr);}else t[h].ty==="tr"?(A||(e[h]=this.createTransformElement(t[h],r)),d=e[h].transform,p.push(d)):t[h].ty==="sh"||t[h].ty==="rc"||t[h].ty==="el"||t[h].ty==="sr"?(A||(e[h]=this.createShapeElement(t[h],p,s)),this.setElementStyles(e[h])):t[h].ty==="tm"||t[h].ty==="rd"||t[h].ty==="ms"||t[h].ty==="pb"||t[h].ty==="zz"||t[h].ty==="op"?(A?(g=e[h],g.closed=!1):(g=ShapeModifiers.getModifier(t[h].ty),g.init(this,t[h]),e[h]=g,this.shapeModifiers.push(g)),S.push(g)):t[h].ty==="rp"&&(A?(g=e[h],g.closed=!0):(g=ShapeModifiers.getModifier(t[h].ty),e[h]=g,g.init(this,t,h,e),this.shapeModifiers.push(g),o=!1),S.push(g));this.addProcessedElement(t[h],h+1);}for(c=u.length,h=0;h<c;h+=1)u[h].closed=!0;for(c=S.length,h=0;h<c;h+=1)S[h].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,s,a){this.o=t,this.sw=e,this.sc=i,this.fc=r,this.m=s,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!r,m:!0,p:!0};}LetterProps.prototype.update=function(t,e,i,r,s,a){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 o=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,o=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,o=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,o=!0),this.fc!==r&&(this.fc=r,this._mdf.fc=!0,o=!0),this.m!==s&&(this.m=s,this._mdf.m=!0,o=!0),a.length&&(this.p[0]!==a[0]||this.p[1]!==a[1]||this.p[4]!==a[4]||this.p[5]!==a[5]||this.p[12]!==a[12]||this.p[13]!==a[13])&&(this.p=a,this._mdf.p=!0,o=!0),o};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,s=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(r=0;r<s;r+=1)i!==this.keysIndex?a=this.effectsSequence[r](a,a.t):a=this.effectsSequence[r](this.currentData,a.t);e!==a&&this.setCurrentData(a),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,s,a,o=!1,p=!1,h="";i<r;)o=p,p=!1,s=t.charCodeAt(i),h=t.charAt(i),FontManager.isCombinedCharacter(s)?o=!0:s>=55296&&s<=56319?FontManager.isRegionalFlag(t,i)?h=t.substr(i,14):(a=t.charCodeAt(i+1),a>=56320&&a<=57343&&(FontManager.isModifier(s,a)?(h=t.substr(i,2),o=!0):FontManager.isFlagEmoji(t.substr(i,4))?h=t.substr(i,4):h=t.substr(i,2))):s>56319?(a=t.charCodeAt(i+1),FontManager.isVariationSelector(s)&&(o=!0)):FontManager.isZeroWidthJoiner(s)&&(o=!0,p=!0),o?(e[e.length-1]+=h,o=!1):e.push(h),i+=h.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,r=[],s,a,o,p=0,h,c=i.m.g,_=0,v=0,u=0,S=[],d=0,g=0,A,y,m=e.getFontByName(t.f),x,w=0,M=getFontProperties(m);t.fWeight=M.weight,t.fStyle=M.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var N=t.tr/1e3*t.finalSize,U;if(t.sz)for(var Y=!0,dt=t.sz[0],xt=t.sz[1],vt,bt;Y;){bt=this.buildFinalText(t.t),vt=0,d=0,a=bt.length,N=t.tr/1e3*t.finalSize;var It=-1;for(s=0;s<a;s+=1)U=bt[s].charCodeAt(0),o=!1,bt[s]===" "?It=s:(U===13||U===3)&&(d=0,o=!0,vt+=t.finalLineHeight||t.finalSize*1.2),e.chars?(x=e.getCharData(bt[s],m.fStyle,m.fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(bt[s],t.f,t.finalSize),d+w>dt&&bt[s]!==" "?(It===-1?a+=1:s=It,vt+=t.finalLineHeight||t.finalSize*1.2,bt.splice(s,It===s?1:0,"\r"),It=-1,d=0):(d+=w,d+=N);vt+=m.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&xt<vt?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=bt,a=t.finalText.length,Y=!1);}d=-N,w=0;var ot=0,Tt;for(s=0;s<a;s+=1)if(o=!1,Tt=t.finalText[s],U=Tt.charCodeAt(0),U===13||U===3?(ot=0,S.push(d),g=d>g?d:g,d=-2*N,h="",o=!0,u+=1):h=Tt,e.chars?(x=e.getCharData(Tt,m.fStyle,e.getFontByName(t.f).fFamily),w=o?0:x.w*t.finalSize/100):w=e.measureText(h,t.f,t.finalSize),Tt===" "?ot+=w+N:(d+=w+N+ot,ot=0),r.push({l:w,an:w,add:_,n:o,anIndexes:[],val:h,line:u,animatorJustifyOffset:0}),c==2){if(_+=w,h===""||h===" "||s===a-1){for((h===""||h===" ")&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;p+=1,_=0;}}else if(c==3){if(_+=w,h===""||s===a-1){for(h===""&&(_-=w);v<=s;)r[v].an=_,r[v].ind=p,r[v].extra=w,v+=1;_=0,p+=1;}}else r[p].ind=p,r[p].extra=0,p+=1;if(t.l=r,g=d>g?d:g,S.push(d),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=g,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0;}t.lineWidths=S;var z=i.a,$,E;y=z.length;var q,nt,Q=[];for(A=0;A<y;A+=1){for($=z[A],$.a.sc&&(t.strokeColorAnim=!0),$.a.sw&&(t.strokeWidthAnim=!0),($.a.fc||$.a.fh||$.a.fs||$.a.fb)&&(t.fillColorAnim=!0),nt=0,q=$.s.b,s=0;s<a;s+=1)E=r[s],E.anIndexes[A]=nt,(q==1&&E.val!==""||q==2&&E.val!==""&&E.val!==" "||q==3&&(E.n||E.val==" "||s==a-1)||q==4&&(E.n||s==a-1))&&($.s.rn===1&&Q.push(nt),nt+=1);i.a[A].s.totalChars=nt;var Ut=-1,zt;if($.s.rn===1)for(s=0;s<a;s+=1)E=r[s],Ut!=E.anIndexes[A]&&(Ut=E.anIndexes[A],zt=Q.splice(Math.floor(Math.random()*Q.length),1)[0]),E.anIndexes[A]=zt;}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=m.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(a,o){this._currentTextLength=-1,this.k=!1,this.data=o,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=PropertyFactory.getProp(a,o.s||{k:0},0,0,this),"e"in o?this.e=PropertyFactory.getProp(a,o.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(a,o.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(a,o.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(a,o.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(a,o.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(a,o.a,0,.01,this),this.dynamicProperties.length||this.getValue();}r.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,p=0,h=1,c=1;this.ne.v>0?o=this.ne.v/100:p=-this.ne.v/100,this.xe.v>0?h=1-this.xe.v/100:c=1+this.xe.v/100;var _=BezierFactory.getBezierEasing(o,p,h,c).get,v=0,u=this.finalS,S=this.finalE,d=this.data.sh;if(d===2)S===u?v=a>=S?1:0:v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===3)S===u?v=a>=S?0:1:v=1-t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v=_(v);else if(d===4)S===u?v=0:(v=t(0,e(.5/(S-u)+(a-u)/(S-u),1)),v<.5?v*=2:v=1-2*(v-.5)),v=_(v);else if(d===5){if(S===u)v=0;else {var g=S-u;a=e(t(0,a+.5-u),S-u);var A=-g/2+a,y=g/2;v=Math.sqrt(1-A*A/(y*y));}v=_(v);}else d===6?(S===u?v=0:(a=e(t(0,a+.5-u),S-u),v=(1+Math.cos(Math.PI+Math.PI*2*a/(S-u)))/2),v=_(v)):(a>=i(u)&&(a-u<0?v=t(0,e(e(S,1)-(u-a),1)):v=t(0,e(S-a,1))),v=_(v));if(this.sm.v!==100){var m=this.sm.v*.01;m===0&&(m=1e-8);var x=.5-m*.5;v<x?v=0:(v=(v-x)/m,v>1&&(v=1));}return v*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,p=this.o.v/o,h=this.s.v/o+p,c=this.e.v/o+p;if(h>c){var _=h;h=c,c=_;}this.finalS=h,this.finalE=c;}},extendPrototype([DynamicPropertyContainer],r);function s(a,o,p){return new r(a,o)}return {getTextSelectorProp:s}}();function TextAnimatorDataProperty(t,e,i){var r={propType:!1},s=PropertyFactory.getProp,a=e.a;this.a={r:a.r?s(t,a.r,0,degToRads,i):r,rx:a.rx?s(t,a.rx,0,degToRads,i):r,ry:a.ry?s(t,a.ry,0,degToRads,i):r,sk:a.sk?s(t,a.sk,0,degToRads,i):r,sa:a.sa?s(t,a.sa,0,degToRads,i):r,s:a.s?s(t,a.s,1,.01,i):r,a:a.a?s(t,a.a,1,0,i):r,o:a.o?s(t,a.o,0,.01,i):r,p:a.p?s(t,a.p,1,0,i):r,sw:a.sw?s(t,a.sw,0,0,i):r,sc:a.sc?s(t,a.sc,1,0,i):r,fc:a.fc?s(t,a.fc,1,0,i):r,fh:a.fh?s(t,a.fh,0,0,i):r,fs:a.fs?s(t,a.fs,0,.01,i):r,fb:a.fb?s(t,a.fb,0,.01,i):r,t:a.t?s(t,a.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,s=this._textData,a=this.mHelper,o=this._renderType,p=this.renderedLetters.length,h,c,_,v,u=t.l,S,d,g,A,y,m,x,w,M,N,U,Y,dt,xt,vt;if(this._hasMaskedPath){if(vt=this._pathData.m,!this._pathData.n||this._pathData._mdf){var bt=vt.v;this._pathData.r.v&&(bt=bt.reverse()),S={tLength:0,segments:[]},v=bt._length-1;var It;for(Y=0,_=0;_<v;_+=1)It=bez.buildBezierData(bt.v[_],bt.v[_+1],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[_+1][0]-bt.v[_+1][0],bt.i[_+1][1]-bt.v[_+1][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength;_=v,vt.v.c&&(It=bez.buildBezierData(bt.v[_],bt.v[0],[bt.o[_][0]-bt.v[_][0],bt.o[_][1]-bt.v[_][1]],[bt.i[0][0]-bt.v[0][0],bt.i[0][1]-bt.v[0][1]]),S.tLength+=It.segmentLength,S.segments.push(It),Y+=It.segmentLength),this._pathData.pi=S;}if(S=this._pathData.pi,d=this._pathData.f.v,x=0,m=1,A=0,y=!0,N=S.segments,d<0&&vt.v.c)for(S.tLength<Math.abs(d)&&(d=-Math.abs(d)%S.tLength),x=N.length-1,M=N[x].points,m=M.length-1;d<0;)d+=M[m].partialLength,m-=1,m<0&&(x-=1,M=N[x].points,m=M.length-1);M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength;}v=u.length,h=0,c=0;var ot=t.finalSize*1.2*.714,Tt=!0,z,$,E,q,nt;q=r.length;var Q,Ut=-1,zt,qt,Gt,se=d,he=x,le=m,Se=-1,Pe,Jt,de,Xt,Wt,ze,Ke,We,Le="",Re=this.defaultPropsArray,Oe;if(t.j===2||t.j===1){var be=0,re=0,Nt=t.j===2?-.5:-1,ae=0,ne=!0;for(_=0;_<v;_+=1)if(u[_].n){for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;be=0,ne=!0;}else {for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&(ne&&t.j===2&&(re+=z.t.v*Nt),$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?be+=z.t.v*Q[0]*Nt:be+=z.t.v*Q*Nt);ne=!1;}for(be&&(be+=re);ae<_;)u[ae].animatorJustifyOffset=be,ae+=1;}for(_=0;_<v;_+=1){if(a.reset(),Pe=1,u[_].n)h=0,c+=t.yOffset,c+=Tt?1:0,d=se,Tt=!1,this._hasMaskedPath&&(x=he,m=le,M=N[x].points,w=M[m-1],g=M[m],U=g.partialLength,A=0),Le="",We="",ze="",Oe="",Re=this.defaultPropsArray;else {if(this._hasMaskedPath){if(Se!==u[_].line){switch(t.j){case 1:d+=Y-t.lineWidths[u[_].line];break;case 2:d+=(Y-t.lineWidths[u[_].line])/2;break}Se=u[_].line;}Ut!==u[_].ind&&(u[Ut]&&(d+=u[Ut].extra),d+=u[_].an/2,Ut=u[_].ind),d+=i[0]*u[_].an*.005;var ke=0;for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.p.v[0]*Q[0]:ke+=z.p.v[0]*Q),z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?ke+=z.a.v[0]*Q[0]:ke+=z.a.v[0]*Q);for(y=!0,this._pathData.a.v&&(d=u[0].an*.5+(Y-this._pathData.f.v-u[0].an*.5-u[u.length-1].an*.5)*Ut/(v-1),d+=this._pathData.f.v);y;)A+U>=d+ke||!M?(dt=(d+ke-A)/g.partialLength,qt=w.point[0]+(g.point[0]-w.point[0])*dt,Gt=w.point[1]+(g.point[1]-w.point[1])*dt,a.translate(-i[0]*u[_].an*.005,-(i[1]*ot)*.01),y=!1):M&&(A+=g.partialLength,m+=1,m>=M.length&&(m=0,x+=1,N[x]?M=N[x].points:vt.v.c?(m=0,x=0,M=N[x].points):(A-=g.partialLength,M=null)),M&&(w=g,g=M[m],U=g.partialLength));zt=u[_].an/2-u[_].add,a.translate(-zt,0,0);}else zt=u[_].an/2-u[_].add,a.translate(-zt,0,0),a.translate(-i[0]*u[_].an*.005,-i[1]*ot*.01,0);for(E=0;E<q;E+=1)z=r[E].a,z.t.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),(h!==0||t.j!==0)&&(this._hasMaskedPath?Q.length?d+=z.t.v*Q[0]:d+=z.t.v*Q:Q.length?h+=z.t.v*Q[0]:h+=z.t.v*Q));for(t.strokeWidthAnim&&(de=t.sw||0),t.strokeColorAnim&&(t.sc?Jt=[t.sc[0],t.sc[1],t.sc[2]]:Jt=[0,0,0]),t.fillColorAnim&&t.fc&&(Xt=[t.fc[0],t.fc[1],t.fc[2]]),E=0;E<q;E+=1)z=r[E].a,z.a.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.translate(-z.a.v[0]*Q[0],-z.a.v[1]*Q[1],z.a.v[2]*Q[2]):a.translate(-z.a.v[0]*Q,-z.a.v[1]*Q,z.a.v[2]*Q));for(E=0;E<q;E+=1)z=r[E].a,z.s.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),Q.length?a.scale(1+(z.s.v[0]-1)*Q[0],1+(z.s.v[1]-1)*Q[1],1):a.scale(1+(z.s.v[0]-1)*Q,1+(z.s.v[1]-1)*Q,1));for(E=0;E<q;E+=1){if(z=r[E].a,$=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),z.sk.propType&&(Q.length?a.skewFromAxis(-z.sk.v*Q[0],z.sa.v*Q[1]):a.skewFromAxis(-z.sk.v*Q,z.sa.v*Q)),z.r.propType&&(Q.length?a.rotateZ(-z.r.v*Q[2]):a.rotateZ(-z.r.v*Q)),z.ry.propType&&(Q.length?a.rotateY(z.ry.v*Q[1]):a.rotateY(z.ry.v*Q)),z.rx.propType&&(Q.length?a.rotateX(z.rx.v*Q[0]):a.rotateX(z.rx.v*Q)),z.o.propType&&(Q.length?Pe+=(z.o.v*Q[0]-Pe)*Q[0]:Pe+=(z.o.v*Q-Pe)*Q),t.strokeWidthAnim&&z.sw.propType&&(Q.length?de+=z.sw.v*Q[0]:de+=z.sw.v*Q),t.strokeColorAnim&&z.sc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q[0]:Jt[Wt]+=(z.sc.v[Wt]-Jt[Wt])*Q;if(t.fillColorAnim&&t.fc){if(z.fc.propType)for(Wt=0;Wt<3;Wt+=1)Q.length?Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q[0]:Xt[Wt]+=(z.fc.v[Wt]-Xt[Wt])*Q;z.fh.propType&&(Q.length?Xt=addHueToRGB(Xt,z.fh.v*Q[0]):Xt=addHueToRGB(Xt,z.fh.v*Q)),z.fs.propType&&(Q.length?Xt=addSaturationToRGB(Xt,z.fs.v*Q[0]):Xt=addSaturationToRGB(Xt,z.fs.v*Q)),z.fb.propType&&(Q.length?Xt=addBrightnessToRGB(Xt,z.fb.v*Q[0]):Xt=addBrightnessToRGB(Xt,z.fb.v*Q));}}for(E=0;E<q;E+=1)z=r[E].a,z.p.propType&&($=r[E].s,Q=$.getMult(u[_].anIndexes[E],s.a[E].s.totalChars),this._hasMaskedPath?Q.length?a.translate(0,z.p.v[1]*Q[0],-z.p.v[2]*Q[1]):a.translate(0,z.p.v[1]*Q,-z.p.v[2]*Q):Q.length?a.translate(z.p.v[0]*Q[0],z.p.v[1]*Q[1],-z.p.v[2]*Q[2]):a.translate(z.p.v[0]*Q,z.p.v[1]*Q,-z.p.v[2]*Q));if(t.strokeWidthAnim&&(ze=de<0?0:de),t.strokeColorAnim&&(Ke="rgb("+Math.round(Jt[0]*255)+","+Math.round(Jt[1]*255)+","+Math.round(Jt[2]*255)+")"),t.fillColorAnim&&t.fc&&(We="rgb("+Math.round(Xt[0]*255)+","+Math.round(Xt[1]*255)+","+Math.round(Xt[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,i[1]*ot*.01+c,0),this._pathData.p.v){xt=(g.point[1]-w.point[1])/(g.point[0]-w.point[0]);var $e=Math.atan(xt)*180/Math.PI;g.point[0]<w.point[0]&&($e+=180),a.rotate(-$e*Math.PI/180);}a.translate(qt,Gt,0),d-=i[0]*u[_].an*.005,u[_+1]&&Ut!==u[_+1].ind&&(d+=u[_].an/2,d+=t.tr*.001*t.finalSize);}else {switch(a.translate(h,c,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line]),0,0);break;case 2:a.translate(u[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[u[_].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(zt,0,0),a.translate(i[0]*u[_].an*.005,i[1]*ot*.01,0),h+=u[_].l+t.tr*.001*t.finalSize;}o==="html"?Le=a.toCSS():o==="svg"?Le=a.to2dCSS():Re=[a.props[0],a.props[1],a.props[2],a.props[3],a.props[4],a.props[5],a.props[6],a.props[7],a.props[8],a.props[9],a.props[10],a.props[11],a.props[12],a.props[13],a.props[14],a.props[15]],Oe=Pe;}p<=_?(nt=new LetterProps(Oe,ze,Ke,We,Le,Re),this.renderedLetters.push(nt),p+=1,this.lettersChangedFlag=!0):(nt=this.renderedLetters[_],this.lettersChangedFlag=nt.update(Oe,ze,Ke,We,Le,Re)||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,s,a="";for(i=0;i<r;i+=1)e[i].ty==="sh"&&(s=e[i].ks.k,a+=buildShapeString(s,s.i.length,!0,t));return a},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,s){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,s,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=[],s="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(r.push(s),s=""):s+=t[e],e+=1;return r.push(s),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 s=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",s);}this.layerElement.setAttribute("aria-label",i.t);var o=i.l||[],p=!!this.globalData.fontManager.chars;e=o.length;var h,c=this.mHelper,_="",v=this.data.singleShape,u=0,S=0,d=!0,g=i.tr*.001*i.finalSize;if(v&&!p&&!i.sz){var A=this.textContainer,y="start";switch(i.j){case 1:y="end";break;case 2:y="middle";break;default:y="start";break}A.setAttribute("text-anchor",y),A.setAttribute("letter-spacing",g);var m=this.buildTextContents(i.finalText);for(e=m.length,S=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)h=this.textSpans[t].span||createNS("tspan"),h.textContent=m[t],h.setAttribute("x",0),h.setAttribute("y",S),h.style.display="inherit",A.appendChild(h),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=h,S+=i.finalLineHeight;this.layerElement.appendChild(A);}else {var x=this.textSpans.length,w;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!p||!v||t===0){if(h=x>t?this.textSpans[t].span:createNS(p?"g":"text"),x<=t){if(h.setAttribute("stroke-linecap","butt"),h.setAttribute("stroke-linejoin","round"),h.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=h,p){var M=createNS("g");h.appendChild(M),this.textSpans[t].childSpan=M;}this.textSpans[t].span=h,this.layerElement.appendChild(h);}h.style.display="inherit";}if(c.reset(),v&&(o[t].n&&(u=-g,S+=i.yOffset,S+=d?1:0,d=!1),this.applyTextPropertiesToMatrix(i,c,o[t].line,u,S),u+=o[t].l||0,u+=g),p){w=this.globalData.fontManager.getCharData(i.finalText[t],r.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var N;if(w.t===1)N=new SVGCompElement(w.data,this.globalData,this);else {var U=emptyShapeData;w.data&&w.data.shapes&&(U=this.buildShapeData(w.data,i.finalSize)),N=new SVGShapeElement(U,this.globalData,this);}if(this.textSpans[t].glyph){var Y=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(Y.layerElement),Y.destroy();}this.textSpans[t].glyph=N,N._debug=!0,N.prepareFrame(0),N.renderFrame(),this.textSpans[t].childSpan.appendChild(N.layerElement),w.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")");}else v&&h.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),h.textContent=o[t].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve");}v&&h&&h.setAttribute("d",_);}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 s,a,o;for(t=0;t<e;t+=1)r[t].n||(s=i[t],a=this.textSpans[t].span,o=this.textSpans[t].glyph,o&&o.renderFrame(),s._mdf.m&&a.setAttribute("transform",s.m),s._mdf.o&&a.setAttribute("opacity",s.o),s._mdf.sw&&a.setAttribute("stroke-width",s.sw),s._mdf.sc&&a.setAttribute("stroke",s.sc),s._mdf.fc&&a.setAttribute("fill",s.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 s=createElementID();i.setAttribute("id",s),i.appendChild(r),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),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 s=e[r],a=s.getMatte(this.layers[t].tt);i.setMatte(a);}}}},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,s=this.elements[r],a=s.getMatte(this.layers[e].tt);t.setMatte(a);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,s;r<e;)this.elements[r]&&this.elements[r]!==!0&&this.elements[r].getBaseElement()&&(s=this.elements[r].getBaseElement()),r+=1;s?this.layerElement.insertBefore(i,s):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"),s=createElementID();r.setAttribute("id",s),r.textContent=e.title,this.svgElement.appendChild(r),i+=s;}if(e&&e.description){var a=createNS("desc"),o=createElementID();a.setAttribute("id",o),a.textContent=e.description,this.svgElement.appendChild(a),i+=" "+o;}i&&this.svgElement.setAttribute("aria-labelledby",i);var p=createNS("defs");this.svgElement.appendChild(p);var h=createNS("g");this.svgElement.appendChild(h),this.layerElement=h,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:p,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 s=t.data.ef[e].ty;if(registeredEffects[s]){var a=registeredEffects[s].effect;r=new a(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,s,a=i._length,o,p,h,c;if(!(a<=1)){for(s=0;s<a-1;s+=1)o=this.getTransformedPoint(r,i.v[s]),p=this.getTransformedPoint(r,i.o[s]),h=this.getTransformedPoint(r,i.i[s+1]),c=this.getTransformedPoint(r,i.v[s+1]),this.checkBounds(o,p,h,c,e);i.c&&(o=this.getTransformedPoint(r,i.v[s]),p=this.getTransformedPoint(r,i.o[s]),h=this.getTransformedPoint(r,i.i[0]),c=this.getTransformedPoint(r,i.v[0]),this.checkBounds(o,p,h,c,e));}},HShapeElement.prototype.checkBounds=function(t,e,i,r,s){this.getBoundsOfCurve(t,e,i,r);var a=this.shapeBoundingBox;s.x=bmMin(a.left,s.x),s.xMax=bmMax(a.right,s.xMax),s.y=bmMin(a.top,s.y),s.yMax=bmMax(a.bottom,s.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 s=[[t[0],r[0]],[t[1],r[1]]],a,o,p,h,c,_,v,u=0;u<2;++u)o=6*t[u]-12*e[u]+6*i[u],a=-3*t[u]+9*e[u]-9*i[u]+3*r[u],p=3*e[u]-3*t[u],o|=0,a|=0,p|=0,a===0&&o===0||(a===0?(h=-p/o,h>0&&h<1&&s[u].push(this.calculateF(h,t,e,i,r,u))):(c=o*o-4*p*a,c>=0&&(_=(-o+bmSqrt(c))/(2*a),_>0&&_<1&&s[u].push(this.calculateF(_,t,e,i,r,u)),v=(-o-bmSqrt(c))/(2*a),v>0&&v<1&&s[u].push(this.calculateF(v,t,e,i,r,u)))));this.shapeBoundingBox.left=bmMin.apply(null,s[0]),this.shapeBoundingBox.top=bmMin.apply(null,s[1]),this.shapeBoundingBox.right=bmMax.apply(null,s[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,s[1]);},HShapeElement.prototype.calculateF=function(t,e,i,r,s,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*i[a]+3*(1-t)*bmPow(t,2)*r[a]+bmPow(t,3)*s[a]},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 s=t.keyframes[r].s;s>i&&(i=s);}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,s="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";r.transform=s,r.webkitTransform=s;}}};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 s=t.fWeight,a=t.fStyle;e.fontStyle=a,e.fontWeight=s;}var o,p,h=t.l;p=h.length;var c,_,v,u=this.mHelper,S,d="",g=0;for(o=0;o<p;o+=1){if(this.globalData.fontManager.chars?(this.textPaths[g]?c=this.textPaths[g]:(c=createNS("path"),c.setAttribute("stroke-linecap",lineCapEnum[1]),c.setAttribute("stroke-linejoin",lineJoinEnum[2]),c.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[g]?(_=this.textSpans[g],v=_.children[0]):(_=createTag("div"),_.style.lineHeight=0,v=createNS("svg"),v.appendChild(c),styleDiv(_)))):this.isMasked?c=this.textPaths[g]?this.textPaths[g]:createNS("text"):this.textSpans[g]?(_=this.textSpans[g],c=this.textPaths[g]):(_=createTag("span"),styleDiv(_),c=createTag("span"),styleDiv(c),_.appendChild(c)),this.globalData.fontManager.chars){var A=this.globalData.fontManager.getCharData(t.finalText[o],r.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),y;if(A?y=A.data:y=null,u.reset(),y&&y.shapes&&y.shapes.length&&(S=y.shapes[0].it,u.scale(t.finalSize/100,t.finalSize/100),d=this.createPathShape(u,S),c.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(c);else {if(this.innerElem.appendChild(_),y&&y.shapes){document.body.appendChild(v);var m=v.getBBox();v.setAttribute("width",m.width+2),v.setAttribute("height",m.height+2),v.setAttribute("viewBox",m.x-1+" "+(m.y-1)+" "+(m.width+2)+" "+(m.height+2));var x=v.style,w="translate("+(m.x-1)+"px,"+(m.y-1)+"px)";x.transform=w,x.webkitTransform=w,h[o].yOffset=m.y-1;}else v.setAttribute("width",1),v.setAttribute("height",1);_.appendChild(v);}}else if(c.textContent=h[o].val,c.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(c);else {this.innerElem.appendChild(_);var M=c.style,N="translate3d(0,"+-t.finalSize/1.2+"px,0)";M.transform=N,M.webkitTransform=N;}this.isMasked?this.textSpans[g]=c:this.textSpans[g]=_,this.textSpans[g].style.display="block",this.textPaths[g]=c,g+=1;}for(;g<this.textSpans.length;)this.textSpans[g].style.display="none",g+=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,s=0,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;r=o.length;var p,h,c;for(i=0;i<r;i+=1)o[i].n?s+=1:(h=this.textSpans[i],c=this.textPaths[i],p=a[s],s+=1,p._mdf.m&&(this.isMasked?h.setAttribute("transform",p.m):(h.style.webkitTransform=p.m,h.style.transform=p.m)),h.style.opacity=p.o,p.sw&&p._mdf.sw&&c.setAttribute("stroke-width",p.sw),p.sc&&p._mdf.sc&&c.setAttribute("stroke",p.sc),p.fc&&p._mdf.fc&&(c.setAttribute("fill",p.fc),c.style.color=p.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var _=this.innerElem.getBBox();this.currentBBox.w!==_.width&&(this.currentBBox.w=_.width,this.svgElement.setAttribute("width",_.width)),this.currentBBox.h!==_.height&&(this.currentBBox.h=_.height,this.svgElement.setAttribute("height",_.height));var v=1;if(this.currentBBox.w!==_.width+v*2||this.currentBBox.h!==_.height+v*2||this.currentBBox.x!==_.x-v||this.currentBBox.y!==_.y-v){this.currentBBox.w=_.width+v*2,this.currentBBox.h=_.height+v*2,this.currentBBox.x=_.x-v,this.currentBBox.y=_.y-v,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=u,t.webkitTransform=u;}}}};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 s,a=t.ks.or.k.length;for(s=0;s<a;s+=1)t.ks.or.k[s].to=null,t.ks.or.k[s].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,s;for(t=0;t<e;t+=1)if(i=this.comp.threeDElements[t],i.type==="3d"){r=i.perspectiveElem.style,s=i.container.style;var a=this.pe.v+"px",o="0px 0px 0px",p="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,s.transformOrigin=o,s.mozTransformOrigin=o,s.webkitTransformOrigin=o,r.transform=p,r.webkitTransform=p;}},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 s;this.p?s=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:s=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(s[0],2)+Math.pow(s[1],2)+Math.pow(s[2],2)),o=[s[0]/a,s[1]/a,s[2]/a],p=Math.sqrt(o[2]*o[2]+o[0]*o[0]),h=Math.atan2(o[1],p),c=Math.atan2(o[0],-o[2]);this.mat.rotateY(c).rotateX(-h);}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 _=!this._prevMat.equals(this.mat);if((_||this.pe._mdf)&&this.comp.threeDElements){i=this.comp.threeDElements.length;var v,u,S;for(e=0;e<i;e+=1)if(v=this.comp.threeDElements[e],v.type==="3d"){if(_){var d=this.mat.toCSS();S=v.container.style,S.transform=d,S.webkitTransform=d;}this.pe._mdf&&(u=v.perspectiveElem.style,u.perspective=this.pe.v+"px",u.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 s=0,a,o,p;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement&&(o=this.elements[s],p=this.layers[s].ddd?this.getThreeDContainerByPos(s):o.getBaseElement(),a=p||a),s+=1;a?(!r.ddd||!this.supports3d)&&this.layerElement.insertBefore(i,a):(!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,s;styleDiv(i);var a=createTag("div");if(styleDiv(a),e==="3d"){r=i.style,r.width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var o="50% 50%";r.webkitTransformOrigin=o,r.mozTransformOrigin=o,r.transformOrigin=o,s=a.style;var p="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";s.transform=p,s.webkitTransform=p;}i.appendChild(a);var h={container:a,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(h),h},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 s=this.threeDElements[i].startPos,a;s<e;)this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s].getBaseElement()),s+=1;a?this.threeDElements[i].container.insertBefore(t,a):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 s=createNS("svg");s.setAttribute("width","1"),s.setAttribute("height","1"),styleDiv(s),this.resizerElem.appendChild(s);var a=createNS("defs");s.appendChild(a),this.data=t,this.setupGlobalData(t,s),this.globalData.defs=a,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,s,a,o,p;r>i?(s=t/this.globalData.compSize.w,a=t/this.globalData.compSize.w,o=0,p=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(s=e/this.globalData.compSize.h,a=e/this.globalData.compSize.h,o=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,p=0);var h=this.resizerElem.style;h.webkitTransform="matrix3d("+s+",0,0,0,0,"+a+",0,0,0,0,1,0,"+o+","+p+",0,1)",h.transform=h.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 s=this.threeDElements[i].perspectiveElem.style;s.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,2))+"px",s.perspective=s.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 s=this.createComp(t[e],r,this.globalData.comp,null);s.initExpressions(),this.globalData.projectInterface.registerComposition(s);}};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,s=t.layers.length;r<s;){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,s=6,a=52,o="random",p=e.pow(r,s),h=e.pow(2,a),c=h*2,_=r-1;function u(x,w,M){var N=[];w=w===!0?{entropy:!0}:w||{};var U=A(g(w.entropy?[x,m(t)]:x===null?y():x,3),N),Y=new S(N),dt=function(){for(var xt=Y.g(s),vt=p,bt=0;xt<h;)xt=(xt+bt)*r,vt*=r,bt=Y.g(1);for(;xt>=c;)xt/=2,vt/=2,bt>>>=1;return (xt+bt)/vt};return dt.int32=function(){return Y.g(4)|0},dt.quick=function(){return Y.g(4)/4294967296},dt.double=dt,A(m(Y.S),t),(w.pass||M||function(xt,vt,bt,It){return It&&(It.S&&d(It,Y),xt.state=function(){return d(Y,{})}),bt?(e[o]=xt,vt):xt})(dt,U,"global"in w?w.global:this==e,w.state)}e["seed"+o]=u;function S(x){var w,M=x.length,N=this,U=0,Y=N.i=N.j=0,dt=N.S=[];for(M||(x=[M++]);U<r;)dt[U]=U++;for(U=0;U<r;U++)dt[U]=dt[Y=_&Y+x[U%M]+(w=dt[U])],dt[Y]=w;N.g=function(xt){for(var vt,bt=0,It=N.i,ot=N.j,Tt=N.S;xt--;)vt=Tt[It=_&It+1],bt=bt*r+Tt[_&(Tt[It]=Tt[ot=_&ot+vt])+(Tt[ot]=vt)];return N.i=It,N.j=ot,bt};}function d(x,w){return w.i=x.i,w.j=x.j,w.S=x.S.slice(),w}function g(x,w){var M=[],N=_typeof$2(x),U;if(w&&N=="object")for(U in x)try{M.push(g(x[U],w-1));}catch{}return M.length?M:N=="string"?x:x+"\0"}function A(x,w){for(var M=x+"",N,U=0;U<M.length;)w[_&U]=_&(N^=w[_&U]*19)+M.charCodeAt(U++);return m(w)}function y(){try{var x=new Uint8Array(r);return (i.crypto||i.msCrypto).getRandomValues(x),m(x)}catch{var w=i.navigator,M=w&&w.plugins;return [+new Date,i,M,i.screen,m(t)]}}function m(x){return String.fromCharCode.apply(0,x)}A(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,s=[];for(i=0;i<r;i+=1)s[i]=-t[i];return s}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]+e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}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 s=0,a=t.length,o=e.length,p=[];s<a||s<o;)(typeof t[s]=="number"||t[s]instanceof Number)&&(typeof e[s]=="number"||e[s]instanceof Number)?p[s]=t[s]-e[s]:p[s]=e[s]===void 0?t[s]:t[s]||e[s],s+=1;return p}return 0}function mul(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t*e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]*e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t*e[a];return s}return 0}function div(t,e){var i=_typeof$1(t),r=_typeof$1(e),s;if(isNumerable(i,t)&&isNumerable(r,e))return t/e;var a,o;if($bm_isInstanceOfArray(t)&&isNumerable(r,e)){for(o=t.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t[a]/e;return s}if(isNumerable(i,t)&&$bm_isInstanceOfArray(e)){for(o=e.length,s=createTypedArray("float32",o),a=0;a<o;a+=1)s[a]=t/e[a];return s}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),s=0;for(i=0;i<r;i+=1)s+=Math.pow(e[i]-t[i],2);return Math.sqrt(s)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e=t[0],i=t[1],r=t[2],s=Math.max(e,i,r),a=Math.min(e,i,r),o,p,h=(s+a)/2;if(s===a)o=0,p=0;else {var c=s-a;switch(p=h>.5?c/(2-s-a):c/(s+a),s){case e:o=(i-r)/c+(i<r?6:0);break;case i:o=(r-e)/c+2;break;case r:o=(e-i)/c+4;break}o/=6;}return [o,p,h,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],s,a,o;if(i===0)s=r,o=r,a=r;else {var p=r<.5?r*(1+i):r+i-r*i,h=2*r-p;s=hue2rgb(h,p,e+1/3),a=hue2rgb(h,p,e),o=hue2rgb(h,p,e-1/3);}return [s,a,o,t[3]]}function linear(t,e,i,r,s){if((r===void 0||s===void 0)&&(r=e,s=i,e=0,i=1),i<e){var a=i;i=e,e=a;}if(t<=e)return r;if(t>=i)return s;var o=i===e?0:(t-e)/(i-e);if(!r.length)return r+(s-r)*o;var p,h=r.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=r[p]+(s[p]-r[p])*o;return c}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 s=createTypedArray("float32",r),a=BMMath.random();for(i=0;i<r;i+=1)s[i]=t[i]+a*(e[i]-t[i]);return s}t===void 0&&(t=0);var o=BMMath.random();return t+o*(e-t)}function createPath(t,e,i,r){var s,a=t.length,o=shapePool.newElement();o.setPathData(!!r,a);var p=[0,0],h,c;for(s=0;s<a;s+=1)h=e&&e[s]?e[s]:p,c=i&&i[s]?i[s]:p,o.setTripleAt(t[s][0],t[s][1],c[0]+t[s][0],c[1]+t[s][1],h[0]+t[s][0],h[1]+t[s][1],s,!0);return o}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,s,a=this.pv.length?this.pv.length:1,o=createTypedArray("float32",a);e=5;var p=Math.floor(time*e);for(r=0,s=0;r<p;){for(s=0;s<a;s+=1)o[s]+=-i+i*2*BMMath.random();r+=1;}var h=time*e,c=h-Math.floor(h),_=createTypedArray("float32",a);if(a>1){for(s=0;s<a;s+=1)_[s]=this.pv[s]+o[s]+(-i+i*2*BMMath.random())*c;return _}return this.pv+o[0]+(-i+i*2*BMMath.random())*c}.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,s=-Math.atan2(i[1],i[2])/degToRads;return [s,r,0]}function easeOut(t,e,i,r,s){return applyEase(easeOutBez,t,e,i,r,s)}function easeIn(t,e,i,r,s){return applyEase(easeInBez,t,e,i,r,s)}function ease(t,e,i,r,s){return applyEase(easeInOutBez,t,e,i,r,s)}function applyEase(t,e,i,r,s,a){s===void 0?(s=i,a=r):e=(e-i)/(r-i),e>1?e=1:e<0&&(e=0);var o=t(e);if($bm_isInstanceOfArray(s)){var p,h=s.length,c=createTypedArray("float32",h);for(p=0;p<h;p+=1)c[p]=(a[p]-s[p])*o+s[p];return c}return (a-s)*o+s}function nearestKey(t){var e,i=data.k.length,r,s;if(!data.k.length||typeof data.k[0]=="number")r=0,s=0;else if(r=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)r=1,s=data.k[0].t;else {for(e=0;e<i-1;e+=1)if(t===data.k[e].t){r=e+1,s=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,s=data.k[e+1].t):(r=e+1,s=data.k[e].t);break}r===-1&&(r=e+1,s=data.k[e].t);}var a={};return a.index=r,a.time=s/elem.comp.globalData.frameRate,a}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 s=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(r=s.length,i=0;i<r;i+=1)e[i]=s[i],e.value[i]=s[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,s=[];function a(){r+=1;}function o(){r-=1,r===0&&h();}function p(c){s.indexOf(c)===-1&&s.push(c);}function h(){var c,_=s.length;for(c=0;c<_;c+=1)s[c].release();s.length=0;}i.renderer.compInterface=CompExpressionInterface(i.renderer),i.renderer.globalData.projectInterface.registerComposition(i.renderer),i.renderer.globalData.pushExpression=a,i.renderer.globalData.popExpression=o,i.renderer.globalData.registerExpressionProperty=p;}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),s,a=i.viewData.length;for(s=0;s<a;s+=1)r[s]=new t(i.viewData[s],i.masksProperties[s]);var o=function(p){for(s=0;s<a;){if(i.masksProperties[s].nm===p)return r[s];s+=1;}return null};return o};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(o,p,h){Object.defineProperty(o,"velocity",{get:function(){return p.getVelocityAtTime(p.comp.currentFrame)}}),o.numKeys=p.keyframes?p.keyframes.length:0,o.key=function(c){if(!o.numKeys)return 0;var _="";"s"in p.keyframes[c-1]?_=p.keyframes[c-1].s:"e"in p.keyframes[c-2]?_=p.keyframes[c-2].e:_=p.keyframes[c-2].s;var v=h==="unidimensional"?new Number(_):Object.assign({},_);return v.time=p.keyframes[c-1].t/p.elem.comp.globalData.frameRate,v.value=h==="unidimensional"?_[0]:_,v},o.valueAtTime=p.getValueAtTime,o.speedAtTime=p.getSpeedAtTime,o.velocityAtTime=p.getVelocityAtTime,o.propertyGroup=p.propertyGroup;}function r(o){(!o||!("pv"in o))&&(o=t);var p=1/o.mult,h=o.pv*p,c=new Number(h);return c.value=h,i(c,o,"unidimensional"),function(){return o.k&&o.getValue(),h=o.v*p,c.value!==h&&(c=new Number(h),c.value=h,i(c,o,"unidimensional")),c}}function s(o){(!o||!("pv"in o))&&(o=e);var p=1/o.mult,h=o.data&&o.data.l||o.pv.length,c=createTypedArray("float32",h),_=createTypedArray("float32",h);return c.value=_,i(c,o,"multidimensional"),function(){o.k&&o.getValue();for(var v=0;v<h;v+=1)_[v]=o.v[v]*p,c[v]=_[v];return c}}function a(){return t}return function(o){return o?o.propType==="unidimensional"?r(o):s(o):a}}(),TransformExpressionInterface=function(){return function(t){function e(o){switch(o){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,s,a;return t.p?a=ExpressionPropertyInterface(t.p):(i=ExpressionPropertyInterface(t.px),r=ExpressionPropertyInterface(t.py),t.pz&&(s=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[i(),r(),s?s():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(c){var _=new Matrix;if(c!==void 0){var v=this._elem.finalTransform.mProp.getValueAtTime(c);v.clone(_);}else {var u=this._elem.finalTransform.mProp;u.applyToMatrix(_);}return _}function e(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.applyPoint(v,c)}function i(c,_){var v=this.getMatrix(_);return this.applyPoint(v,c)}function r(c,_){var v=this.getMatrix(_);return v.props[12]=0,v.props[13]=0,v.props[14]=0,this.invertPoint(v,c)}function s(c,_){var v=this.getMatrix(_);return this.invertPoint(v,c)}function a(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.applyToPointArray(_[0],_[1],_[2]||0)}function o(c,_){if(this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(c);}return c.inversePoint(_)}function p(c){var _=new Matrix;if(_.reset(),this._elem.finalTransform.mProp.applyToMatrix(_),this._elem.hierarchy&&this._elem.hierarchy.length){var v,u=this._elem.hierarchy.length;for(v=0;v<u;v+=1)this._elem.hierarchy[v].finalTransform.mProp.applyToMatrix(_);return _.inversePoint(c)}return _.inversePoint(c)}function h(){return [1,1,1,1]}return function(c){var _;function v(g){S.mask=new MaskManagerInterface(g,c);}function u(g){S.effect=g;}function S(g){switch(g){case"ADBE Root Vectors Group":case"Contents":case 2:return S.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return _;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return S.effect;case"ADBE Text Properties":return S.textInterface;default:return null}}S.getMatrix=t,S.invertPoint=o,S.applyPoint=a,S.toWorld=i,S.toWorldVec=e,S.fromWorld=s,S.fromWorldVec=r,S.toComp=i,S.fromComp=p,S.sampleImage=h,S.sourceRectAtTime=c.sourceRectAtTime.bind(c),S._elem=c,_=TransformExpressionInterface(c.finalTransform.mProp);var d=getDescriptor(_,"anchorPoint");return Object.defineProperties(S,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(_,"rotation"),scale:getDescriptor(_,"scale"),position:getDescriptor(_,"position"),opacity:getDescriptor(_,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return _}},active:{get:function(){return c.isInRange}}}),S.startTime=c.data.st,S.index=c.data.ind,S.source=c.data.refId,S.height=c.data.ty===0?c.data.h:100,S.width=c.data.ty===0?c.data.w:100,S.inPoint=c.data.ip/c.comp.globalData.frameRate,S.outPoint=c.data.op/c.comp.globalData.frameRate,S._name=c.data.nm,S.registerMaskInterface=v,S.registerEffectsInterface=u,S}}(),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(s){return s=s===void 0?1:s,s<=0?i:e(s-1)}return r}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(s,a){if(s.effectsManager){var o=[],p=s.data.ef,h,c=s.effectsManager.effectElements.length;for(h=0;h<c;h+=1)o.push(i(p[h],s.effectsManager.effectElements[h],a,s));var _=s.data.ef||[],v=function(u){for(h=0,c=_.length;h<c;){if(u===_[h].nm||u===_[h].mn||u===_[h].ix)return o[h];h+=1;}return null};return Object.defineProperty(v,"numProperties",{get:function(){return _.length}}),v}return null}function i(s,a,o,p){function h(S){for(var d=s.ef,g=0,A=d.length;g<A;){if(S===d[g].nm||S===d[g].mn||S===d[g].ix)return d[g].ty===5?_[g]:_[g]();g+=1;}throw new Error}var c=propertyGroupFactory(h,o),_=[],v,u=s.ef.length;for(v=0;v<u;v+=1)s.ef[v].ty===5?_.push(i(s.ef[v],a.effectElements[v],a.effectElements[v].propertyGroup,p)):_.push(r(a.effectElements[v],s.ef[v].ty,p,c));return s.mn==="ADBE Color Control"&&Object.defineProperty(h,"color",{get:function(){return _[0]()}}),Object.defineProperties(h,{numProperties:{get:function(){return s.np}},_name:{value:s.nm},propertyGroup:{value:c}}),h.enabled=s.en!==0,h.active=h.enabled,h}function r(s,a,o,p){var h=ExpressionPropertyInterface(s.p);function c(){return a===10?o.comp.compInterface(s.p.v):h()}return s.p.setGroupProperty&&s.p.setGroupProperty(PropertyInterface("",p)),c}return t}(),ShapePathInterface=function(){return function(t,e,i){var r=e.sh;function s(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?s.path:null}var a=propertyGroupFactory(s,i);return r.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(s,{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}}),s}}(),ShapeExpressionInterface=function(){function t(d,g,A){var y=[],m,x=d?d.length:0;for(m=0;m<x;m+=1)d[m].ty==="gr"?y.push(i(d[m],g[m],A)):d[m].ty==="fl"?y.push(r(d[m],g[m],A)):d[m].ty==="st"?y.push(o(d[m],g[m],A)):d[m].ty==="tm"?y.push(p(d[m],g[m],A)):d[m].ty==="tr"||(d[m].ty==="el"?y.push(c(d[m],g[m],A)):d[m].ty==="sr"?y.push(_(d[m],g[m],A)):d[m].ty==="sh"?y.push(ShapePathInterface(d[m],g[m],A)):d[m].ty==="rc"?y.push(v(d[m],g[m],A)):d[m].ty==="rd"?y.push(u(d[m],g[m],A)):d[m].ty==="rp"?y.push(S(d[m],g[m],A)):d[m].ty==="gf"?y.push(s(d[m],g[m],A)):y.push(a(d[m],g[m])));return y}function e(d,g,A){var y,m=function(w){for(var M=0,N=y.length;M<N;){if(y[M]._name===w||y[M].mn===w||y[M].propertyIndex===w||y[M].ix===w||y[M].ind===w)return y[M];M+=1;}return typeof w=="number"?y[w-1]:null};m.propertyGroup=propertyGroupFactory(m,A),y=t(d.it,g.it,m.propertyGroup),m.numProperties=y.length;var x=h(d.it[d.it.length-1],g.it[g.it.length-1],m.propertyGroup);return m.transform=x,m.propertyIndex=d.cix,m._name=d.nm,m}function i(d,g,A){var y=function(w){switch(w){case"ADBE Vectors Group":case"Contents":case 2:return y.content;default:return y.transform}};y.propertyGroup=propertyGroupFactory(y,A);var m=e(d,g,y.propertyGroup),x=h(d.it[d.it.length-1],g.it[g.it.length-1],y.propertyGroup);return y.content=m,y.transform=x,Object.defineProperty(y,"_name",{get:function(){return d.nm}}),y.numProperties=d.np,y.propertyIndex=d.ix,y.nm=d.nm,y.mn=d.mn,y}function r(d,g,A){function y(m){return m==="Color"||m==="color"?y.color:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function s(d,g,A){function y(m){return m==="Start Point"||m==="start point"?y.startPoint:m==="End Point"||m==="end point"?y.endPoint:m==="Opacity"||m==="opacity"?y.opacity:null}return Object.defineProperties(y,{startPoint:{get:ExpressionPropertyInterface(g.s)},endPoint:{get:ExpressionPropertyInterface(g.e)},opacity:{get:ExpressionPropertyInterface(g.o)},type:{get:function(){return "a"}},_name:{value:d.nm},mn:{value:d.mn}}),g.s.setGroupProperty(PropertyInterface("Start Point",A)),g.e.setGroupProperty(PropertyInterface("End Point",A)),g.o.setGroupProperty(PropertyInterface("Opacity",A)),y}function a(){function d(){return null}return d}function o(d,g,A){var y=propertyGroupFactory(U,A),m=propertyGroupFactory(N,y);function x(Y){Object.defineProperty(N,d.d[Y].nm,{get:ExpressionPropertyInterface(g.d.dataProps[Y].p)});}var w,M=d.d?d.d.length:0,N={};for(w=0;w<M;w+=1)x(w),g.d.dataProps[w].p.setGroupProperty(m);function U(Y){return Y==="Color"||Y==="color"?U.color:Y==="Opacity"||Y==="opacity"?U.opacity:Y==="Stroke Width"||Y==="stroke width"?U.strokeWidth:null}return Object.defineProperties(U,{color:{get:ExpressionPropertyInterface(g.c)},opacity:{get:ExpressionPropertyInterface(g.o)},strokeWidth:{get:ExpressionPropertyInterface(g.w)},dash:{get:function(){return N}},_name:{value:d.nm},mn:{value:d.mn}}),g.c.setGroupProperty(PropertyInterface("Color",y)),g.o.setGroupProperty(PropertyInterface("Opacity",y)),g.w.setGroupProperty(PropertyInterface("Stroke Width",y)),U}function p(d,g,A){function y(x){return x===d.e.ix||x==="End"||x==="end"?y.end:x===d.s.ix?y.start:x===d.o.ix?y.offset:null}var m=propertyGroupFactory(y,A);return y.propertyIndex=d.ix,g.s.setGroupProperty(PropertyInterface("Start",m)),g.e.setGroupProperty(PropertyInterface("End",m)),g.o.setGroupProperty(PropertyInterface("Offset",m)),y.propertyIndex=d.ix,y.propertyGroup=A,Object.defineProperties(y,{start:{get:ExpressionPropertyInterface(g.s)},end:{get:ExpressionPropertyInterface(g.e)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:d.nm}}),y.mn=d.mn,y}function h(d,g,A){function y(x){return d.a.ix===x||x==="Anchor Point"?y.anchorPoint:d.o.ix===x||x==="Opacity"?y.opacity:d.p.ix===x||x==="Position"?y.position:d.r.ix===x||x==="Rotation"||x==="ADBE Vector Rotation"?y.rotation:d.s.ix===x||x==="Scale"?y.scale:d.sk&&d.sk.ix===x||x==="Skew"?y.skew:d.sa&&d.sa.ix===x||x==="Skew Axis"?y.skewAxis:null}var m=propertyGroupFactory(y,A);return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",m)),g.transform.mProps.p.setGroupProperty(PropertyInterface("Position",m)),g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",m)),g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",m)),g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",m)),g.transform.mProps.sk&&(g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",m)),g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",m))),g.transform.op.setGroupProperty(PropertyInterface("Opacity",m)),Object.defineProperties(y,{opacity:{get:ExpressionPropertyInterface(g.transform.mProps.o)},position:{get:ExpressionPropertyInterface(g.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(g.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(g.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(g.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(g.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(g.transform.mProps.sa)},_name:{value:d.nm}}),y.ty="tr",y.mn=d.mn,y.propertyGroup=A,y}function c(d,g,A){function y(w){return d.p.ix===w?y.position:d.s.ix===w?y.size:null}var m=propertyGroupFactory(y,A);y.propertyIndex=d.ix;var x=g.sh.ty==="tm"?g.sh.prop:g.sh;return x.s.setGroupProperty(PropertyInterface("Size",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),Object.defineProperties(y,{size:{get:ExpressionPropertyInterface(x.s)},position:{get:ExpressionPropertyInterface(x.p)},_name:{value:d.nm}}),y.mn=d.mn,y}function _(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.rotation:d.pt.ix===w?y.points:d.or.ix===w||w==="ADBE Vector Star Outer Radius"?y.outerRadius:d.os.ix===w?y.outerRoundness:d.ir&&(d.ir.ix===w||w==="ADBE Vector Star Inner Radius")?y.innerRadius:d.is&&d.is.ix===w?y.innerRoundness:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.or.setGroupProperty(PropertyInterface("Outer Radius",m)),x.os.setGroupProperty(PropertyInterface("Outer Roundness",m)),x.pt.setGroupProperty(PropertyInterface("Points",m)),x.p.setGroupProperty(PropertyInterface("Position",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),d.ir&&(x.ir.setGroupProperty(PropertyInterface("Inner Radius",m)),x.is.setGroupProperty(PropertyInterface("Inner Roundness",m))),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},rotation:{get:ExpressionPropertyInterface(x.r)},points:{get:ExpressionPropertyInterface(x.pt)},outerRadius:{get:ExpressionPropertyInterface(x.or)},outerRoundness:{get:ExpressionPropertyInterface(x.os)},innerRadius:{get:ExpressionPropertyInterface(x.ir)},innerRoundness:{get:ExpressionPropertyInterface(x.is)},_name:{value:d.nm}}),y.mn=d.mn,y}function v(d,g,A){function y(w){return d.p.ix===w?y.position:d.r.ix===w?y.roundness:d.s.ix===w||w==="Size"||w==="ADBE Vector Rect Size"?y.size:null}var m=propertyGroupFactory(y,A),x=g.sh.ty==="tm"?g.sh.prop:g.sh;return y.propertyIndex=d.ix,x.p.setGroupProperty(PropertyInterface("Position",m)),x.s.setGroupProperty(PropertyInterface("Size",m)),x.r.setGroupProperty(PropertyInterface("Rotation",m)),Object.defineProperties(y,{position:{get:ExpressionPropertyInterface(x.p)},roundness:{get:ExpressionPropertyInterface(x.r)},size:{get:ExpressionPropertyInterface(x.s)},_name:{value:d.nm}}),y.mn=d.mn,y}function u(d,g,A){function y(w){return d.r.ix===w||w==="Round Corners 1"?y.radius:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.rd.setGroupProperty(PropertyInterface("Radius",m)),Object.defineProperties(y,{radius:{get:ExpressionPropertyInterface(x.rd)},_name:{value:d.nm}}),y.mn=d.mn,y}function S(d,g,A){function y(w){return d.c.ix===w||w==="Copies"?y.copies:d.o.ix===w||w==="Offset"?y.offset:null}var m=propertyGroupFactory(y,A),x=g;return y.propertyIndex=d.ix,x.c.setGroupProperty(PropertyInterface("Copies",m)),x.o.setGroupProperty(PropertyInterface("Offset",m)),Object.defineProperties(y,{copies:{get:ExpressionPropertyInterface(x.c)},offset:{get:ExpressionPropertyInterface(x.o)},_name:{value:d.nm}}),y.mn=d.mn,y}return function(d,g,A){var y;function m(w){if(typeof w=="number")return w=w===void 0?1:w,w===0?A:y[w-1];for(var M=0,N=y.length;M<N;){if(y[M]._name===w)return y[M];M+=1;}return null}function x(){return A}return m.propertyGroup=propertyGroupFactory(m,x),y=t(d,g,m.propertyGroup),m.numProperties=y.length,m._name="Contents",m}}(),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="",s=i.getFootageData();function a(){return r="",s=i.getFootageData(),o}function o(p){if(s[p])return r=p,s=s[p],_typeof(s)==="object"?o:s;var h=p.indexOf(r);if(h!==-1){var c=parseInt(p.substr(h+r.length),10);return s=s[c],_typeof(s)==="object"?o:s}return ""}return a},e=function(i){function r(s){return s==="Outline"?r.outlineInterface():null}return r._name="Outline",r.outlineInterface=t(i),r};return function(i){function r(s){return s==="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(o,p,h){p.x&&(h.k=!0,h.x=!0,h.initiateExpression=ExpressionManager.initiateExpression,h.effectsSequence.push(h.initiateExpression(o,p,h).bind(h)));}function e(o){return o*=this.elem.globalData.frameRate,o-=this.offsetTime,o!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<o?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(o,this._cachingAtTime),this._cachingAtTime.lastFrame=o),this._cachingAtTime.value}function i(o){var p=-.01,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_=0;if(h.length){var v;for(v=0;v<h.length;v+=1)_+=Math.pow(c[v]-h[v],2);_=Math.sqrt(_)*100;}else _=0;return _}function r(o){if(this.vel!==void 0)return this.vel;var p=-.001,h=this.getValueAtTime(o),c=this.getValueAtTime(o+p),_;if(h.length){_=createTypedArray("float32",h.length);var v;for(v=0;v<h.length;v+=1)_[v]=(c[v]-h[v])/p;}else _=(c-h)/p;return _}function s(){return this.pv}function a(o){this.propertyGroup=o;}return {searchExpressions:t,getSpeedAtTime:i,getVelocityAtTime:r,getValueAtTime:e,getStaticValueAtTime:s,setGroupProperty:a}}();function addPropertyDecorator(){function t(u,S,d){if(!this.k||!this.keyframes)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[A.length-1].t;if(g<=y)return this.pv;var m,x;d?(S?m=Math.abs(y-this.elem.comp.globalData.frameRate*S):m=Math.max(0,y-this.elem.data.ip),x=y-m):((!S||S>A.length-1)&&(S=A.length-1),x=A[A.length-1-S].t,m=y-x);var w,M,N;if(u==="pingpong"){var U=Math.floor((g-x)/m);if(U%2!==0)return this.getValueAtTime((m-(g-x)%m+x)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(x/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),xt=this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0),vt=Math.floor((g-x)/m);if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=(dt[w]-Y[w])*vt+xt[w];return N}return (dt-Y)*vt+xt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*((g-y)/this.comp.globalData.frameRate)/5e-4;return N}return bt+(bt-It)*((g-y)/.001)}return this.getValueAtTime(((g-x)%m+x)/this.comp.globalData.frameRate,0)}function e(u,S,d){if(!this.k)return this.pv;u=u?u.toLowerCase():"";var g=this.comp.renderedFrame,A=this.keyframes,y=A[0].t;if(g>=y)return this.pv;var m,x;d?(S?m=Math.abs(this.elem.comp.globalData.frameRate*S):m=Math.max(0,this.elem.data.op-y),x=y+m):((!S||S>A.length-1)&&(S=A.length-1),x=A[S].t,m=x-y);var w,M,N;if(u==="pingpong"){var U=Math.floor((y-g)/m);if(U%2===0)return this.getValueAtTime(((y-g)%m+y)/this.comp.globalData.frameRate,0)}else if(u==="offset"){var Y=this.getValueAtTime(y/this.comp.globalData.frameRate,0),dt=this.getValueAtTime(x/this.comp.globalData.frameRate,0),xt=this.getValueAtTime((m-(y-g)%m+y)/this.comp.globalData.frameRate,0),vt=Math.floor((y-g)/m)+1;if(this.pv.length){for(N=new Array(Y.length),M=N.length,w=0;w<M;w+=1)N[w]=xt[w]-(dt[w]-Y[w])*vt;return N}return xt-(dt-Y)*vt}else if(u==="continue"){var bt=this.getValueAtTime(y/this.comp.globalData.frameRate,0),It=this.getValueAtTime((y+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(N=new Array(bt.length),M=N.length,w=0;w<M;w+=1)N[w]=bt[w]+(bt[w]-It[w])*(y-g)/.001;return N}return bt+(bt-It)*(y-g)/.001}return this.getValueAtTime((m-((y-g)%m+y))/this.comp.globalData.frameRate,0)}function i(u,S){if(!this.k)return this.pv;if(u=(u||.4)*.5,S=Math.floor(S||5),S<=1)return this.pv;var d=this.comp.renderedFrame/this.comp.globalData.frameRate,g=d-u,A=d+u,y=S>1?(A-g)/(S-1):1,m=0,x=0,w;this.pv.length?w=createTypedArray("float32",this.pv.length):w=0;for(var M;m<S;){if(M=this.getValueAtTime(g+m*y),this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]+=M[x];else w+=M;m+=1;}if(this.pv.length)for(x=0;x<this.pv.length;x+=1)w[x]/=S;else w/=S;return w}function r(u){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var S=this._transformCachingAtTime.v;if(S.cloneFromProps(this.pre.props),this.appliedTransformations<1){var d=this.a.getValueAtTime(u);S.translate(-d[0]*this.a.mult,-d[1]*this.a.mult,d[2]*this.a.mult);}if(this.appliedTransformations<2){var g=this.s.getValueAtTime(u);S.scale(g[0]*this.s.mult,g[1]*this.s.mult,g[2]*this.s.mult);}if(this.sk&&this.appliedTransformations<3){var A=this.sk.getValueAtTime(u),y=this.sa.getValueAtTime(u);S.skewFromAxis(-A*this.sk.mult,y*this.sa.mult);}if(this.r&&this.appliedTransformations<4){var m=this.r.getValueAtTime(u);S.rotate(-m*this.r.mult);}else if(!this.r&&this.appliedTransformations<4){var x=this.rz.getValueAtTime(u),w=this.ry.getValueAtTime(u),M=this.rx.getValueAtTime(u),N=this.or.getValueAtTime(u);S.rotateZ(-x*this.rz.mult).rotateY(w*this.ry.mult).rotateX(M*this.rx.mult).rotateZ(-N[2]*this.or.mult).rotateY(N[1]*this.or.mult).rotateX(N[0]*this.or.mult);}if(this.data.p&&this.data.p.s){var U=this.px.getValueAtTime(u),Y=this.py.getValueAtTime(u);if(this.data.p.z){var dt=this.pz.getValueAtTime(u);S.translate(U*this.px.mult,Y*this.py.mult,-dt*this.pz.mult);}else S.translate(U*this.px.mult,Y*this.py.mult,0);}else {var xt=this.p.getValueAtTime(u);S.translate(xt[0]*this.p.mult,xt[1]*this.p.mult,-xt[2]*this.p.mult);}return S}function s(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(u,S,d){var g=a(u,S,d);return g.dynamicProperties.length?g.getValueAtTime=r.bind(g):g.getValueAtTime=s.bind(g),g.setGroupProperty=expressionHelpers.setGroupProperty,g};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(u,S,d,g,A){var y=o(u,S,d,g,A);y.kf?y.getValueAtTime=expressionHelpers.getValueAtTime.bind(y):y.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(y),y.setGroupProperty=expressionHelpers.setGroupProperty,y.loopOut=t,y.loopIn=e,y.smooth=i,y.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(y),y.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(y),y.numKeys=S.a===1?S.k.length:0,y.propertyIndex=S.ix;var m=0;return d!==0&&(m=createTypedArray("float32",S.a===1?S.k[0].s.length:S.k.length)),y._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:m},expressionHelpers.searchExpressions(u,S,y),y.k&&A.addDynamicProperty(y),y};function p(u){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),u*=this.elem.globalData.frameRate,u-=this.offsetTime,u!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<u?this._caching.lastIndex:0,this._cachingAtTime.lastTime=u,this.interpolateShape(u,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var h=ShapePropertyFactory.getConstructorFunction(),c=ShapePropertyFactory.getKeyframedConstructorFunction();function _(){}_.prototype={vertices:function(u,S){this.k&&this.getValue();var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0));var g,A=d._length,y=d[u],m=d.v,x=createSizedArray(A);for(g=0;g<A;g+=1)u==="i"||u==="o"?x[g]=[y[g][0]-m[g][0],y[g][1]-m[g][1]]:x[g]=[y[g][0],y[g][1]];return x},points:function(u){return this.vertices("v",u)},inTangents:function(u){return this.vertices("i",u)},outTangents:function(u){return this.vertices("o",u)},isClosed:function(){return this.v.c},pointOnPath:function(u,S){var d=this.v;S!==void 0&&(d=this.getValueAtTime(S,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(d));for(var g=this._segmentsLength,A=g.lengths,y=g.totalLength*u,m=0,x=A.length,w=0,M;m<x;){if(w+A[m].addedLength>y){var N=m,U=d.c&&m===x-1?0:m+1,Y=(y-w)/A[m].addedLength;M=bez.getPointInSegment(d.v[N],d.v[U],d.o[N],d.i[U],Y,A[m]);break}else w+=A[m].addedLength;m+=1;}return M||(M=d.c?[d.v[0][0],d.v[0][1]]:[d.v[d._length-1][0],d.v[d._length-1][1]]),M},vectorOnPath:function(u,S,d){u==1?u=this.v.c:u==0&&(u=.999);var g=this.pointOnPath(u,S),A=this.pointOnPath(u+.001,S),y=A[0]-g[0],m=A[1]-g[1],x=Math.sqrt(Math.pow(y,2)+Math.pow(m,2));if(x===0)return [0,0];var w=d==="tangent"?[y/x,m/x]:[-m/x,y/x];return w},tangentOnPath:function(u,S){return this.vectorOnPath(u,S,"tangent")},normalOnPath:function(u,S){return this.vectorOnPath(u,S,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([_],h),extendPrototype([_],c),c.prototype.getValueAtTime=p,c.prototype.initiateExpression=ExpressionManager.initiateExpression;var v=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(u,S,d,g,A){var y=v(u,S,d,g,A);return y.propertyIndex=S.ix,y.lock=!1,d===3?expressionHelpers.searchExpressions(u,S.pt,y):d===4&&expressionHelpers.searchExpressions(u,S.ks,y),y.k&&u.addDynamicProperty(y),y};}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 s={};return this.copyData(s,e),s.t=r.toString(),s.__complete=!1,s}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 s,a;for(a=0;a<i.length;a+=1)s=createNS("feMergeNode"),s.setAttribute("in",i[a]),r.appendChild(s),r.appendChild(s);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,s){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",r+"_tint_1"),t.appendChild(a),a=createNS("feColorMatrix"),a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",r+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var o=this.createMergeNode(r,[s,r+"_tint_1",r+"_tint_2"]);t.appendChild(o);}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 s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",r),t.appendChild(s),this.matrixFilter=s;}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,s;for(this.filterManager.effectElements[1].p.v===1?(s=this.elem.maskManager.masksProperties.length,r=0):(r=this.filterManager.effectElements[0].p.v-1,s=r+1),i=createNS("g"),i.setAttribute("fill","none"),i.setAttribute("stroke-linecap","round"),i.setAttribute("stroke-dashoffset",1),r;r<s;r+=1)e=createNS("path"),i.appendChild(e),this.paths.push({p:e,m:r});if(this.filterManager.effectElements[10].p.v===3){var a=createNS("mask"),o=createElementID();a.setAttribute("id",o),a.setAttribute("mask-type","alpha"),a.appendChild(i),this.elem.globalData.defs.appendChild(a);var p=createNS("g");for(p.setAttribute("mask","url("+getLocationHref()+"#"+o+")");t[0];)p.appendChild(t[0]);this.elem.layerElement.appendChild(p),this.masker=a,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,s;for(e=0;e<i;e+=1)if(this.paths[e].m!==-1&&(r=this.elem.maskManager.viewData[this.paths[e].m],s=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&s.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 a;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var o=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,p=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,h=s.getTotalLength();a="0 0 0 "+h*o+" ";var c=h*(p-o),_=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,v=Math.floor(c/_),u;for(u=0;u<v;u+=1)a+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+h*10+" 0 0";}else a="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;s.setAttribute("stroke-dasharray",a);}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 S=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(S[0]*255)+","+bmFloor(S[1]*255)+","+bmFloor(S[2]*255)+")");}};function SVGTritoneFilter(t,e,i,r){this.filterManager=e;var s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.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(s);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),this.matrixFilter=a;var o=createNS("feFuncR");o.setAttribute("type","table"),a.appendChild(o),this.feFuncR=o;var p=createNS("feFuncG");p.setAttribute("type","table"),a.appendChild(p),this.feFuncG=p;var h=createNS("feFuncB");h.setAttribute("type","table"),a.appendChild(h),this.feFuncB=h,t.appendChild(a);}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,s=r[0]+" "+i[0]+" "+e[0],a=r[1]+" "+i[1]+" "+e[1],o=r[2]+" "+i[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",s),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",o);}};function SVGProLevelsFilter(t,e,i,r){this.filterManager=e;var s=this.filterManager.effectElements,a=createNS("feComponentTransfer");(s[10].p.k||s[10].p.v!==0||s[11].p.k||s[11].p.v!==1||s[12].p.k||s[12].p.v!==1||s[13].p.k||s[13].p.v!==0||s[14].p.k||s[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(s[17].p.k||s[17].p.v!==0||s[18].p.k||s[18].p.v!==1||s[19].p.k||s[19].p.v!==1||s[20].p.k||s[20].p.v!==0||s[21].p.k||s[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(s[24].p.k||s[24].p.v!==0||s[25].p.k||s[25].p.v!==1||s[26].p.k||s[26].p.v!==1||s[27].p.k||s[27].p.v!==0||s[28].p.k||s[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(s[31].p.k||s[31].p.v!==0||s[32].p.k||s[32].p.v!==1||s[33].p.k||s[33].p.v!==1||s[34].p.k||s[34].p.v!==0||s[35].p.k||s[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(s[3].p.k||s[3].p.v!==0||s[4].p.k||s[4].p.v!==1||s[5].p.k||s[5].p.v!==1||s[6].p.k||s[6].p.v!==0||s[7].p.k||s[7].p.v!==1)&&(a=createNS("feComponentTransfer"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",r),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a));}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,s){for(var a=0,o=256,p,h=Math.min(t,e),c=Math.max(t,e),_=Array.call(null,{length:o}),v,u=0,S=s-r,d=e-t;a<=256;)p=a/256,p<=h?v=d<0?s:r:p>=c?v=d<0?r:s:v=r+S*Math.pow((p-t)/d,1/i),_[u]=v,u+=1,a+=256/(o-1);return _.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,s){var a=e.container.globalData.renderConfig.filterSize,o=e.data.fs||a;t.setAttribute("x",o.x||a.x),t.setAttribute("y",o.y||a.y),t.setAttribute("width",o.width||a.width),t.setAttribute("height",o.height||a.height),this.filterManager=e;var p=createNS("feGaussianBlur");p.setAttribute("in","SourceAlpha"),p.setAttribute("result",r+"_drop_shadow_1"),p.setAttribute("stdDeviation","0"),this.feGaussianBlur=p,t.appendChild(p);var h=createNS("feOffset");h.setAttribute("dx","25"),h.setAttribute("dy","0"),h.setAttribute("in",r+"_drop_shadow_1"),h.setAttribute("result",r+"_drop_shadow_2"),this.feOffset=h,t.appendChild(h);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",r+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var _=createNS("feComposite");_.setAttribute("in",r+"_drop_shadow_3"),_.setAttribute("in2",r+"_drop_shadow_2"),_.setAttribute("operator","in"),_.setAttribute("result",r+"_drop_shadow_4"),t.appendChild(_);var v=this.createMergeNode(r,[r+"_drop_shadow_4",s]);t.appendChild(v);}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,s=i*Math.cos(r),a=i*Math.sin(r);this.feOffset.setAttribute("dx",s),this.feOffset.setAttribute("dy",a);}}};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,s=0,a=r.length;s<a&&r[s]!==t.layerElement;)s+=1;var o;s<=a-2&&(o=r[s+1]);var p=createNS("use");p.setAttribute("href","#"+e),o?i.insertBefore(p,o):i.appendChild(p);}},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 s=t.globalData.defs;s.appendChild(r);var a=createNS("symbol");a.setAttribute("id",i),this.replaceInParent(e,i),a.appendChild(e.layerElement),s.appendChild(a);var o=createNS("use");o.setAttribute("href","#"+i),r.appendChild(o),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 s=createNS("feGaussianBlur");s.setAttribute("result",r),t.appendChild(s),this.feGaussianBlur=s;}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,s=r==3?0:i,a=r==2?0:i;this.feGaussianBlur.setAttribute("stdDeviation",s+" "+a);var o=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",o);}};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,s=e[2].p.v===1,a=e[3].p.v,o=s?a:e[4].p.v,p=e[5].p.v,h=e[6].p.v,c=e[7].p.v;this.matrix.reset(),this.matrix.translate(-i[0],-i[1],i[2]),this.matrix.scale(o*.01,a*.01,1),this.matrix.rotate(-c*degToRads),this.matrix.skewFromAxis(-p*degToRads,(h+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});}),Ig=Fg();});var Lg,Us,wa;exports.PlayMode = void 0;var Gr,Jo,Xo,cl=Ir(()=>{fo();Wo();Ao();Mo();en();Lg={name:"@dotlottie/common",version:"0.5.1",type:"module",description:"",author:"Afsal <afsal@lottiefiles.com>, Sam Osborne <sam@lottiefiles.com>",license:"MIT",private:!0,engines:{node:">18.0.0"},module:"dist/index.js",types:"dist/index.d.ts",files:["dist"],keywords:[],scripts:{build:"tsup",dev:"tsup --watch",lint:"eslint .","type-check":"tsc --noEmit"},dependencies:{"@dotlottie/dotlottie-js":"0.5.2","@lottiefiles/relottie":"1.0.0","@lottiefiles/relottie-style":"0.4.1","@preact/signals-core":"^1.2.3","lottie-web":"^5.12.2",xstate:"^4.38.1"},devDependencies:{"@lottiefiles/lottie-types":"^1.2.0",tsup:"^6.1.3",typescript:"^4.7.4"},publishConfig:{access:"restricted"}},Us=(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))(Us||{}),wa=(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))(wa||{}),exports.PlayMode=(t=>(t.Bounce="bounce",t.Normal="normal",t))(exports.PlayMode||{}),Gr={autoplay:!1,direction:1,hover:!1,intermission:0,loop:!1,playMode:"normal",speed:1,defaultTheme:""},Jo={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},Xo=class{_lottie;_src;_animationConfig;_prevPlaybackOptions={};_playbackOptions;_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 Af(Jo);_light=!1;_dotLottieLoader=new ep;_activeStateId;_inInteractiveMode=!1;_scrollTicking=!1;_scrollCallback=void 0;_onShowIntersectionObserver=void 0;_visibilityPercentage=0;_stateMachineManager;constructor(t,e,i){this._src=t,i?.testId&&(this._testId=i.testId),this._defaultTheme=i?.defaultTheme||"",this._playbackOptions=this._validatePlaybackOptions(i||{}),typeof i?.activeAnimationId=="string"&&(this._activeAnimationId=i.activeAnimationId),this._container=e||null,typeof i?.background=="string"&&this.setBackground(i.background),typeof i?.activeStateId<"u"&&(this._activeStateId=i.activeStateId),this._animationConfig={loop:!1,autoplay:!1,renderer:"svg",rendererSettings:{clearCanvas:!0,progressiveLoad:!0,hideOnTransparent:!0},...i||{}},i?.light&&(this._light=i.light),this._listenToHover(),this._listenToVisibilityChange();}_listenToHover(){let t=()=>{this._hover&&this.currentState!=="playing"&&this.play();},e=()=>{this._hover&&this.currentState==="playing"&&this.stop();};this._container?.removeEventListener("mouseenter",t),this._container?.removeEventListener("mouseleave",e),this._container?.addEventListener("mouseleave",e),this._container?.addEventListener("mouseenter",t);}_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(t){if(typeof this._playbackOptions[t]<"u")return this._playbackOptions[t];let e=this._dotLottieLoader.manifest?.animations.find(i=>i.id===this._currentAnimationId);return e&&typeof e[t]<"u"?e[t]:Gr[t]}_getPlaybackOptions(){let t={};for(let e in Gr)typeof Gr[e]<"u"&&(t[e]=this._getOption(e));return t}_setPlaybackOptions(t){Object.keys(t).forEach(e=>{let i=t[e];if(!(typeof i>"u"))switch(e){case"loop":this.setLoop(i);break;case"hover":this.setHover(i);break;case"speed":this.setSpeed(i);break;case"autoplay":this.setAutoplay(i);break;case"playMode":this.setMode(i);break;case"direction":this.setDirection(i);break;case"defaultTheme":this._updateDefaultTheme(i);break;case"intermission":this.setIntermission(i);break}});}_getOptionsFromAnimation(t){let{id:e,...i}=t;return {...Gr,...i}}_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});}get currentState(){return this._currentState}clearCountTimer(){this._counterInterval&&clearInterval(this._counterInterval);}setCurrentState(t){this._currentState=t,this._notify(),this._updateTestData();}static isPathJSON(t){return t.split(".").pop()?.toLowerCase()==="json"}get src(){return this._src}updateSrc(t){this._src!==t&&(this._src=t,this._activeAnimationId=void 0,this._currentAnimationId=void 0,this.load());}get intermission(){return this._intermission}get hover(){return this._hover}setHover(t){typeof t=="boolean"&&(this._hover=t,this._playbackOptions.hover=t,this._notify());}setIntermission(t){this._intermission=t,this._playbackOptions.intermission=t,this._notify();}get mode(){return this._mode}get animations(){return this._dotLottieLoader.animationsMap}get themes(){return this._dotLottieLoader.themeMap}setMode(t){typeof t=="string"&&(this._mode=t,this._playbackOptions.playMode=t,this._notify(),this._updateTestData());}get container(){if(this._container)return this._container}goToAndPlay(t,e,i){if(!this._lottie||["loading"].includes(this._currentState)){Ti("goToAndPlay() Can't use whilst loading.");return}this._lottie.goToAndPlay(t,e,i),this.setCurrentState("playing");}goToAndStop(t,e,i){if(!this._lottie||["loading"].includes(this._currentState)){Ti("goToAndStop() Can't use whilst loading.");return}this._lottie.goToAndStop(t,e,i),this.setCurrentState("stopped");}seek(t){if(!this._lottie||["loading"].includes(this._currentState)){Ti("seek() Can't use whilst loading.");return}let e=t;typeof e=="number"&&(e=Math.round(e));let i=/^(\d+)(%?)$/u.exec(e.toString());if(!i)return;let r=i[2]==="%"?this.totalFrames*Number(i[1])/100:i[1];r!==void 0&&(this._lottie.goToAndPlay(r,!0),this.currentState==="playing"?this.play():this.currentState==="frozen"?this.freeze():this.pause());}_areNumbersInRange(t,e){return t>=0&&t<=1&&e>=0&&e<=1}_updatePosition(t,e,i){let[r,s]=t??[0,this.totalFrames-1],[a,o]=e??[0,1];if(!this._areNumbersInRange(a,o)){qs("threshold values must be between 0 and 1");return}if(this.container){let{height:p,top:h}=this.container.getBoundingClientRect(),c=window.innerHeight-h,_=window.innerHeight+p,v=c/_,u=r+Math.round((v-a)/(o-a)*(s-r));i&&i(v),this.goToAndStop(u,!0),(u>=s||v>=o)&&this._handleAnimationComplete();}this._scrollTicking=!1;}_requestTick(t,e,i){this._scrollTicking||(requestAnimationFrame(()=>this._updatePosition(t,e,i)),this._scrollTicking=!0);}playOnScroll(t){this.stop(),this._scrollCallback&&this.stopPlayOnScroll(),this._scrollCallback=()=>this._requestTick(t?.segments,t?.threshold,t?.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(t){if(!this.container)throw Ze("Can't play on show, player container element not available.");let e={root:null,rootMargin:"0px",threshold:t?.threshold?t.threshold:[0,1]},i=r=>{r.forEach(s=>{this._visibilityPercentage=s.intersectionRatio*100,s.isIntersecting?(t?.callbackOnIntersect&&t.callbackOnIntersect(this._visibilityPercentage),this._container?.dispatchEvent(new Event("visibilityChange"))):t?.callbackOnIntersect&&(t.callbackOnIntersect(0),this._container?.dispatchEvent(new Event("visibilityChange")));});};this._onShowIntersectionObserver=new IntersectionObserver(i,e),this._onShowIntersectionObserver.observe(this.container);}playOnShow(t){if(this.stop(),!this.container)throw Ze("Can't play on show, player container element not available.");this._onShowIntersectionObserver&&this.stopPlayOnShow(),this.addIntersectionObserver({threshold:t?.threshold??[],callbackOnIntersect:e=>{e===0?this.pause():this.play();}});}_validatePlaybackOptions(t){if(!t)return {};let e={};for(let[i,r]of Object.entries(t))switch(i){case"autoplay":typeof r=="boolean"&&(e.autoplay=r);break;case"direction":typeof r=="number"&&[1,-1].includes(r)&&(e.direction=r);break;case"loop":(typeof r=="boolean"||typeof r=="number")&&(e.loop=r);break;case"playMode":typeof r=="string"&&["normal","bounce"].includes(r)&&(e.playMode=r);break;case"speed":typeof r=="number"&&(e.speed=r);break;case"themeColor":typeof r=="string"&&(e.themeColor=r);break;case"hover":typeof r=="boolean"&&(e.hover=r);break;case"intermission":typeof r=="number"&&(e.intermission=r);break;case"defaultTheme":typeof r=="string"&&(e.defaultTheme=r);break}return this._requireValidPlaybackOptions(e),e}_requireAnimationsInTheManifest(){if(!this._dotLottieLoader.manifest?.animations.length)throw Ze("No animations found in manifest.")}_requireAnimationsToBeLoaded(){if(this._dotLottieLoader.animationsMap.size===0)throw Ze("No animations have been loaded.")}async play(t,e){if(["initial","loading"].includes(this._currentState)){Ti("Player unable to play whilst loading.");return}if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),this._lottie&&!t){this._lottie.playDirection===-1&&this._lottie.currentFrame===0?this._lottie.goToAndPlay(this._lottie.totalFrames,!0):this._lottie.play(),this.setCurrentState("playing");return}if(typeof t=="number"){let i=this._dotLottieLoader.manifest?.animations[t];if(!i)throw Ze("animation not found.");typeof e=="function"?await this.render({id:i.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):await this.render({id:i.id});}if(typeof t=="string"){let i=this._dotLottieLoader.manifest?.animations.find(r=>r.id===t);if(!i)throw Ze("animation not found.");typeof e=="function"?await this.render({id:i.id,...e(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):await this.render({id:i.id});}}playSegments(t,e){if(!this._lottie||["loading"].includes(this._currentState)){Ti("playSegments() Can't use whilst loading.");return}this._lottie.playSegments(t,e),this.setCurrentState("playing");}resetSegments(t){if(!this._lottie||["loading"].includes(this._currentState)){Ti("resetSegments() Can't use whilst loading.");return}this._lottie.resetSegments(t);}togglePlay(){this.currentState==="playing"?this.pause():this.play();}_getAnimationByIdOrIndex(t){if(this._requireAnimationsInTheManifest(),this._requireAnimationsToBeLoaded(),typeof t=="number"){let e=this._dotLottieLoader.manifest?.animations[t];if(!e)throw Ze("animation not found.");return e}if(typeof t=="string"){let e=this._dotLottieLoader.manifest?.animations.find(i=>i.id===t);if(!e)throw Ze("animation not found.");return e}throw Ze("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(t){if(!this._inInteractiveMode){qs("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 Ze("No interactivity states are available.");if(t==="undefined")throw Ze("stateId is not specified.");this._stateMachineManager||(this._stateMachineManager=await ec(Array.from(this._dotLottieLoader.stateMachinesMap.values()),this)),this._stateMachineManager.start(t);}enterInteractiveMode(t){if(t)this._inInteractiveMode||(this._prevPlaybackOptions={...this._playbackOptions}),this._inInteractiveMode&&this._stateMachineManager?.stop(),this._activeStateId=t,this._inInteractiveMode=!0,this._startInteractivity(t);else throw Ze("stateId must be a non-empty string.")}exitInteractiveMode(){this._inInteractiveMode&&(this._inInteractiveMode=!1,this._activeStateId="",this._stateMachineManager?.stop(),this._playbackOptions={},this._setPlaybackOptions(this._prevPlaybackOptions),this._prevPlaybackOptions={},this.reset());}reset(){let t=this._getActiveAnimationId(),e=this._dotLottieLoader.manifest?.animations.find(i=>i.id===t);if(this._inInteractiveMode&&this.exitInteractiveMode(),!e)throw Ze("animation not found.");this.play(t);}previous(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw Ze("manifest not found.");if(this._inInteractiveMode){Ti("previous() is not supported in interactive mode.");return}let e=this._dotLottieLoader.manifest.animations.findIndex(r=>r.id===this._currentAnimationId);if(e===-1)throw Ze("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e-1+this._dotLottieLoader.manifest.animations.length)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw Ze("animation not found.");typeof t=="function"?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id});}next(t){if(!this._dotLottieLoader.manifest||!this._dotLottieLoader.manifest.animations.length)throw Ze("manifest not found.");if(this._inInteractiveMode){Ti("next() is not supported in interactive mode.");return}let e=this._dotLottieLoader.manifest.animations.findIndex(r=>r.id===this._currentAnimationId);if(e===-1)throw Ze("animation not found.");let i=this._dotLottieLoader.manifest.animations[(e+1)%this._dotLottieLoader.manifest.animations.length];if(!i||!i.id)throw Ze("animation not found.");typeof t=="function"?this.render({id:i.id,...t(this._getPlaybackOptions(),this._getOptionsFromAnimation(i))}):this.render({id:i.id});}getManifest(){return this._dotLottieLoader.manifest}resize(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("resize() Can't use whilst loading.");return}this._lottie.resize();}stop(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("stop() Can't use whilst loading.");return}this.clearCountTimer(),this._counter=0,this.setDirection(this._getOption("direction")),this._lottie.stop(),this.setCurrentState("stopped");}pause(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("pause() Can't use whilst loading.");return}this.clearCountTimer(),this._lottie.pause(),this.setCurrentState("paused");}freeze(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("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)){Ti("unfreeze() Can't use whilst loading.");return}this._stateBeforeFreeze==="playing"?this.play():this.pause();}destroy(){this._container?.__lottie&&(this._container.__lottie.destroy(),this._container.__lottie=null),this.clearCountTimer(),typeof document<"u"&&document.removeEventListener("visibilitychange",()=>this._onVisibilityChange()),this._counter=0,this._lottie?.destroy();}getAnimationInstance(){return this._lottie}static getLottieWebVersion(){return `${Lg.dependencies["lottie-web"]}`}addEventListener(t,e){this._listeners.has(t)||this._listeners.set(t,new Set),this._listeners.get(t)?.add(e);try{t==="complete"?this._container?.addEventListener(t,e):this._lottie?.addEventListener(t,e);}catch(i){qs(`addEventListener ${i}`);}}getState(){return {autoplay:this._lottie?.autoplay??!1,currentState:this._currentState,frame:this._frame,visibilityPercentage:this._visibilityPercentage,seeker:this._seeker,direction:this._lottie?.playDirection??1,hover:this._hover,loop:this._loop||!1,playMode:this._mode,speed:this._lottie?.playSpeed??1,background:this._background,intermission:this._intermission,defaultTheme:this._defaultTheme,currentAnimationId:this._currentAnimationId,activeStateId:this._activeStateId??""}}_notify(){this.state.setState(this.getState());}get totalFrames(){return this._lottie?.totalFrames||0}get direction(){return this._lottie?this._lottie.playDirection:1}setDirection(t){this._requireValidDirection(t),this._lottie?.setDirection(t),this._playbackOptions.direction=t,this._notify(),this._updateTestData();}get speed(){return this._lottie?.playSpeed||1}setSpeed(t){this._requireValidSpeed(t),this._lottie?.setSpeed(t),this._playbackOptions.speed=t,this._notify(),this._updateTestData();}get autoplay(){return this._lottie?.autoplay??!1}setAutoplay(t){if(this._requireValidAutoplay(t),!this._lottie||["loading"].includes(this._currentState)){Ti("setAutoplay() Can't use whilst loading.");return}this._lottie.autoplay=t,this._playbackOptions.autoplay=t,this._notify(),this._updateTestData();}toggleAutoplay(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("toggleAutoplay() Can't use whilst loading.");return}this.setAutoplay(!this._lottie.autoplay);}get defaultTheme(){return this._defaultTheme}setDefaultTheme(t){this._updateDefaultTheme(t),this._animation&&this.render();}_updateDefaultTheme(t){this._defaultTheme=t,this._playbackOptions.defaultTheme=t,this._notify();}get loop(){return this._loop}setLoop(t){this._requireValidLoop(t),this.clearCountTimer(),this._loop=t,this._lottie?.setLoop(typeof t=="number"?!0:t),this._playbackOptions.loop=t,this._notify(),this._updateTestData();}toggleLoop(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("toggleLoop() Can't use whilst loading.");return}this.setLoop(!this._loop);}get background(){return this._background}setBackground(t){this._requireValidBackground(t),this._container&&(this._background=t,this._container.style.backgroundColor=t);}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(t){let e;!Array.isArray(t)||t.length===0?e=["autoplay","defaultTheme","direction","hover","intermission","loop","playMode","speed","activeAnimationId"]:e=t;let i=!1;if(e.includes("activeAnimationId")){let r=this._dotLottieLoader.manifest?.activeAnimationId,s=this._getAnimationByIdOrIndex(r||0);this._activeAnimationId=r,await this._setCurrentAnimation(s.id),i=!0;}e.forEach(r=>{switch(r){case"autoplay":delete this._playbackOptions.autoplay,this.setAutoplay(this._getOption("autoplay"));break;case"defaultTheme":delete this._playbackOptions.defaultTheme,this.setDefaultTheme(this._getOption("defaultTheme"));break;case"direction":delete this._playbackOptions.direction,this.setDirection(this._getOption("direction"));break;case"hover":delete this._playbackOptions.hover,this.setHover(this._getOption("hover"));break;case"intermission":delete this._playbackOptions.intermission,this.setIntermission(this._getOption("intermission"));break;case"loop":delete this._playbackOptions.loop,this.setLoop(this._getOption("loop"));break;case"playMode":delete this._playbackOptions.playMode,this.setMode(this._getOption("playMode")),this.setDirection(this._getOption("direction"));break;case"speed":delete this._playbackOptions.speed,this.setSpeed(this._getOption("speed"));break}}),i&&this.render();}removeEventListener(t,e){try{t==="complete"?this._container?.removeEventListener(t,e):this._lottie?.removeEventListener(t,e),this._listeners.get(t)?.delete(e);}catch(i){qs("removeEventListener",i);}}_handleAnimationComplete(){typeof this._loop=="number"&&this.stop();let t=this.direction===-1?0:this.totalFrames;this.goToAndStop(t,!0),this._counter=0,this.clearCountTimer(),this.setCurrentState("completed"),this._container?.dispatchEvent(new Event("complete"));}addEventListeners(){if(!this._lottie||["loading"].includes(this._currentState)){Ti("addEventListeners() Can't use whilst loading.");return}this._lottie.addEventListener("enterFrame",()=>{if(!this._lottie){Ti("enterFrame event : Lottie is undefined.");return}Math.floor(this._lottie.currentFrame)===0&&this.direction===-1&&(this._container?.dispatchEvent(new Event("complete")),this.loop||this.setCurrentState("completed")),this._notify();}),this._lottie.addEventListener("loopComplete",()=>{if(!this._lottie){Ti("loopComplete event : Lottie is undefined.");return}this._container?.dispatchEvent(new Event("loopComplete")),this.intermission>0&&this.pause();let t=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 t=="number"&&(t=Number(t)*-1);let e=t===-1?this._lottie.totalFrames-1:0;this.intermission?(this.goToAndPlay(e,!0),this.pause(),this._counterInterval=window.setTimeout(()=>{this._lottie&&(this.setDirection(t),this.goToAndPlay(e,!0));},this._intermission)):(this.setDirection(t),this.goToAndPlay(t===-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 t=this._lottie.playDirection;this._mode==="bounce"&&typeof t=="number"&&(t=Number(t)*-1);let e=t===-1?this.totalFrames-1:0;this.setDirection(t),this.goToAndPlay(e,!0);},this._intermission);}else this._handleAnimationComplete();});for(let[t,e]of this._listeners)if(t==="complete")for(let i of e)this._container?.addEventListener(t,i);else for(let i of e)this._lottie.addEventListener(t,i);}async _setCurrentAnimation(t){this._currentState="loading";let e=await this._dotLottieLoader.getAnimation(t);this._currentAnimationId=t,this._animation=e,this._currentState="ready";}async render(t){if(t?.id)await this._setCurrentAnimation(t.id);else if(!this._animation)throw Ze("no animation selected");this.destroy();let e=Gr.loop??!1,i=Gr.autoplay??!1,r=Gr.playMode??"normal",s=Gr.intermission??0,a=Gr.hover??!1,o=Gr.direction??1,p=Gr.speed??1,h=Gr.defaultTheme??"";e=t?.loop??this._getOption("loop"),i=t?.autoplay??this._getOption("autoplay"),r=t?.playMode??this._getOption("playMode"),s=t?.intermission??this._getOption("intermission"),a=t?.hover??this._getOption("hover"),o=t?.direction??this._getOption("direction"),p=t?.speed??this._getOption("speed"),h=t?.defaultTheme??this._getOption("defaultTheme"),this._defaultTheme=h;let c={...this._animationConfig,autoplay:a?!1:i,loop:typeof e=="number"?!0:e};this._mode=r,this._intermission=s,this._hover=a,this._loop=e;let _=await this._dotLottieLoader.getTheme(h);_&&this._animation?this._animation=await _f(this._animation,_):this._animation=await this._dotLottieLoader.getAnimation(this._currentAnimationId??"");let v=await this._getLottiePlayerInstance();if(this._activeStateId&&!this._inInteractiveMode){this.enterInteractiveMode(this._activeStateId);return}this._lottie=v.loadAnimation({...c,container:this._container,animationData:this._animation}),this.addEventListeners(),this._container&&(this._container.__lottie=this._lottie),this.setDirection(o),this.setSpeed(p),i&&!a&&this.play(),this._updateTestData();}async _getLottiePlayerInstance(){let t=this._animationConfig.renderer??"svg",e;switch(t){case"svg":{this._light?e=await Promise.resolve().then(()=>(rc(),ic)):e=await Promise.resolve().then(()=>(ac(),sc));break}case"canvas":{this._light?e=await Promise.resolve().then(()=>(oc(),nc)):e=await Promise.resolve().then(()=>(lc(),hc));break}case"html":{this._light?e=await Promise.resolve().then(()=>(fc(),pc)):e=await Promise.resolve().then(()=>(uc(),cc));break}default:throw new Error(`Invalid renderer: ${t}`)}return e.default}_getActiveAnimationId(){let t=this._dotLottieLoader.manifest;return this._activeAnimationId??t?.activeAnimationId??t?.animations[0]?.id??void 0}async load(t){if(this._currentState==="loading"){Ti("Loading in progress..");return}try{if(this.setCurrentState("loading"),typeof this._src=="string")if(ih(this._src)){let i=JSON.parse(this._src);this._dotLottieLoader.loadFromLottieJSON(i);}else {let i=new URL(this._src,window.location.href);await this._dotLottieLoader.loadFromUrl(i.toString());}else if(typeof this._src=="object"&&qa(this._src))this._dotLottieLoader.loadFromLottieJSON(this._src);else throw Ze("Invalid src provided");if(!this._dotLottieLoader.manifest)throw Ze("No manifest found");let e=this._getActiveAnimationId();if(!e)throw Ze("No active animation found");await this._setCurrentAnimation(e),await this.render(t);}catch(e){this.setCurrentState("error"),e instanceof Error&&qs(`Error loading animation: ${e.message}`);}}setErrorState(t){this.setCurrentState("error"),qs(t);}_requireValidDirection(t){if(t!==-1&&t!==1)throw Ze("Direction can only be -1 (backwards) or 1 (forwards)")}_requireValidIntermission(t){if(t<0||!Number.isInteger(t))throw Ze("intermission must be a positive number")}_requireValidLoop(t){if(typeof t=="number"&&(!Number.isInteger(t)||t<0))throw Ze("loop must be a positive number or boolean")}_requireValidSpeed(t){if(typeof t!="number")throw Ze("speed must be a number")}_requireValidBackground(t){if(typeof t!="string")throw Ze("background must be a string")}_requireValidAutoplay(t){if(typeof t!="boolean")throw Ze("autoplay must be a boolean")}_requireValidPlaybackOptions(t){t.direction&&this._requireValidDirection(t.direction),t.intermission&&this._requireValidIntermission(t.intermission),t.loop&&this._requireValidLoop(t.loop),t.speed&&this._requireValidSpeed(t.speed);}};});cl();fo();Wo();Ao();Mo();en();Fs();var Yo=window,Zo=Yo.ShadowRoot&&(Yo.ShadyCSS===void 0||Yo.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ul=Symbol(),dc=new WeakMap,Zn=class{constructor(e,i,r){if(this._$cssResult$=!0,r!==ul)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=i;}get styleSheet(){let e=this.o,i=this.t;if(Zo&&e===void 0){let r=i!==void 0&&i.length===1;r&&(e=dc.get(i)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&dc.set(i,e));}return e}toString(){return this.cssText}},mc=t=>new Zn(typeof t=="string"?t:t+"",void 0,ul),dl=(t,...e)=>{let i=t.length===1?t[0]:e.reduce((r,s,a)=>r+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[a+1],t[0]);return new Zn(i,t,ul)},ml=(t,e)=>{Zo?t.adoptedStyleSheets=e.map(i=>i instanceof CSSStyleSheet?i:i.styleSheet):e.forEach(i=>{let r=document.createElement("style"),s=Yo.litNonce;s!==void 0&&r.setAttribute("nonce",s),r.textContent=i.cssText,t.appendChild(r);});},Ko=Zo?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let i="";for(let r of e.cssRules)i+=r.cssText;return mc(i)})(t):t;var gl,Qo=window,gc=Qo.trustedTypes,Vg=gc?gc.emptyScript:"",yc=Qo.reactiveElementPolyfillSupport,vl={toAttribute(t,e){switch(e){case Boolean:t=t?Vg: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}},vc=(t,e)=>e!==t&&(e==e||t==t),yl={attribute:!0,type:String,converter:vl,reflect:!1,hasChanged:vc},bl="finalized",oa=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 s=this._$Ep(r,i);s!==void 0&&(this._$Ev.set(s,r),e.push(s));}),e}static createProperty(e,i=yl){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,s=this.getPropertyDescriptor(e,r,i);s!==void 0&&Object.defineProperty(this.prototype,e,s);}}static getPropertyDescriptor(e,i,r){return {get(){return this[i]},set(s){let a=this[e];this[i]=s,this.requestUpdate(e,a,r);},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||yl}static finalize(){if(this.hasOwnProperty(bl))return !1;this[bl]=!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 s of r)this.createProperty(s,i[s]);}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 s of r)i.unshift(Ko(s));}else e!==void 0&&i.push(Ko(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 ml(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=yl){var s;let a=this.constructor._$Ep(e,r);if(a!==void 0&&r.reflect===!0){let o=(((s=r.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?r.converter:vl).toAttribute(i,r.type);this._$El=e,o==null?this.removeAttribute(a):this.setAttribute(a,o),this._$El=null;}}_$AK(e,i){var r;let s=this.constructor,a=s._$Ev.get(e);if(a!==void 0&&this._$El!==a){let o=s.getPropertyOptions(a),p=typeof o.converter=="function"?{fromAttribute:o.converter}:((r=o.converter)===null||r===void 0?void 0:r.fromAttribute)!==void 0?o.converter:vl;this._$El=a,this[a]=p.fromAttribute(i,o.type),this._$El=null;}}requestUpdate(e,i,r){let s=!0;e!==void 0&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||vc)(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))):s=!1),!this.isUpdatePending&&s&&(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((s,a)=>this[a]=s),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(s=>{var a;return (a=s.hostUpdate)===null||a===void 0?void 0:a.call(s)}),this.update(r)):this._$Ek();}catch(s){throw i=!1,this._$Ek(),s}i&&this._$AE(r);}willUpdate(e){}_$AE(e){var i;(i=this._$ES)===null||i===void 0||i.forEach(r=>{var s;return (s=r.hostUpdated)===null||s===void 0?void 0:s.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){}};oa[bl]=!0,oa.elementProperties=new Map,oa.elementStyles=[],oa.shadowRootOptions={mode:"open"},yc?.({ReactiveElement:oa}),((gl=Qo.reactiveElementVersions)!==null&&gl!==void 0?gl:Qo.reactiveElementVersions=[]).push("1.6.3");var xl,th=window,vn=th.trustedTypes,bc=vn?vn.createPolicy("lit-html",{createHTML:t=>t}):void 0,Pl="$lit$",Ea=`lit$${(Math.random()+"").slice(9)}$`,Ec="?"+Ea,Rg=`<${Ec}>`,Xa=document,Qn=()=>Xa.createComment(""),to=t=>t===null||typeof t!="object"&&typeof t!="function",Ac=Array.isArray,Og=t=>Ac(t)||typeof t?.[Symbol.iterator]=="function",_l=`[
\f\r]`,Kn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,xc=/-->/g,_c=/>/g,Ua=RegExp(`>|${_l}(?:([^\\s"'>=/]+)(${_l}*=${_l}*(?:[^
\f\r"'\`<>=]|("|')|))|$)`,"g"),Pc=/'/g,Sc=/"/g,Cc=/^(?:script|style|textarea|title)$/i,Tc=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}),yi=Tc(1),Ya=Symbol.for("lit-noChange"),ur=Symbol.for("lit-nothing"),kc=new WeakMap,Ja=Xa.createTreeWalker(Xa,129,null,!1);function Mc(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return bc!==void 0?bc.createHTML(e):e}var Bg=(t,e)=>{let i=t.length-1,r=[],s,a=e===2?"<svg>":"",o=Kn;for(let p=0;p<i;p++){let h=t[p],c,_,v=-1,u=0;for(;u<h.length&&(o.lastIndex=u,_=o.exec(h),_!==null);)u=o.lastIndex,o===Kn?_[1]==="!--"?o=xc:_[1]!==void 0?o=_c:_[2]!==void 0?(Cc.test(_[2])&&(s=RegExp("</"+_[2],"g")),o=Ua):_[3]!==void 0&&(o=Ua):o===Ua?_[0]===">"?(o=s??Kn,v=-1):_[1]===void 0?v=-2:(v=o.lastIndex-_[2].length,c=_[1],o=_[3]===void 0?Ua:_[3]==='"'?Sc:Pc):o===Sc||o===Pc?o=Ua:o===xc||o===_c?o=Kn:(o=Ua,s=void 0);let S=o===Ua&&t[p+1].startsWith("/>")?" ":"";a+=o===Kn?h+Rg:v>=0?(r.push(c),h.slice(0,v)+Pl+h.slice(v)+Ea+S):h+Ea+(v===-2?(r.push(void 0),p):S);}return [Mc(t,a+(t[i]||"<?>")+(e===2?"</svg>":"")),r]},Za=class{constructor({strings:e,_$litType$:i},r){let s;this.parts=[];let a=0,o=0,p=e.length-1,h=this.parts,[c,_]=Bg(e,i);if(this.el=Za.createElement(c,r),Ja.currentNode=this.el.content,i===2){let v=this.el.content,u=v.firstChild;u.remove(),v.append(...u.childNodes);}for(;(s=Ja.nextNode())!==null&&h.length<p;){if(s.nodeType===1){if(s.hasAttributes()){let v=[];for(let u of s.getAttributeNames())if(u.endsWith(Pl)||u.startsWith(Ea)){let S=_[o++];if(v.push(u),S!==void 0){let d=s.getAttribute(S.toLowerCase()+Pl).split(Ea),g=/([.?@])?(.*)/.exec(S);h.push({type:1,index:a,name:g[2],strings:d,ctor:g[1]==="."?kl:g[1]==="?"?wl:g[1]==="@"?El:xn});}else h.push({type:6,index:a});}for(let u of v)s.removeAttribute(u);}if(Cc.test(s.tagName)){let v=s.textContent.split(Ea),u=v.length-1;if(u>0){s.textContent=vn?vn.emptyScript:"";for(let S=0;S<u;S++)s.append(v[S],Qn()),Ja.nextNode(),h.push({type:2,index:++a});s.append(v[u],Qn());}}}else if(s.nodeType===8)if(s.data===Ec)h.push({type:2,index:a});else {let v=-1;for(;(v=s.data.indexOf(Ea,v+1))!==-1;)h.push({type:7,index:a}),v+=Ea.length-1;}a++;}}static createElement(e,i){let r=Xa.createElement("template");return r.innerHTML=e,r}};function bn(t,e,i=t,r){var s,a,o,p;if(e===Ya)return e;let h=r!==void 0?(s=i._$Co)===null||s===void 0?void 0:s[r]:i._$Cl,c=to(e)?void 0:e._$litDirective$;return h?.constructor!==c&&((a=h?._$AO)===null||a===void 0||a.call(h,!1),c===void 0?h=void 0:(h=new c(t),h._$AT(t,i,r)),r!==void 0?((o=(p=i)._$Co)!==null&&o!==void 0?o:p._$Co=[])[r]=h:i._$Cl=h),h!==void 0&&(e=bn(t,h._$AS(t,e.values),h,r)),e}var Sl=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:s}=this._$AD,a=((i=e?.creationScope)!==null&&i!==void 0?i:Xa).importNode(r,!0);Ja.currentNode=a;let o=Ja.nextNode(),p=0,h=0,c=s[0];for(;c!==void 0;){if(p===c.index){let _;c.type===2?_=new Ka(o,o.nextSibling,this,e):c.type===1?_=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(_=new Al(o,this,e)),this._$AV.push(_),c=s[++h];}p!==c?.index&&(o=Ja.nextNode(),p++);}return Ja.currentNode=Xa,a}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++;}},Ka=class{constructor(e,i,r,s){var a;this.type=2,this._$AH=ur,this._$AN=void 0,this._$AA=e,this._$AB=i,this._$AM=r,this.options=s,this._$Cp=(a=s?.isConnected)===null||a===void 0||a;}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=bn(this,e,i),to(e)?e===ur||e==null||e===""?(this._$AH!==ur&&this._$AR(),this._$AH=ur):e!==this._$AH&&e!==Ya&&this._(e):e._$litType$!==void 0?this.g(e):e.nodeType!==void 0?this.$(e):Og(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!==ur&&to(this._$AH)?this._$AA.nextSibling.data=e:this.$(Xa.createTextNode(e)),this._$AH=e;}g(e){var i;let{values:r,_$litType$:s}=e,a=typeof s=="number"?this._$AC(e):(s.el===void 0&&(s.el=Za.createElement(Mc(s.h,s.h[0]),this.options)),s);if(((i=this._$AH)===null||i===void 0?void 0:i._$AD)===a)this._$AH.v(r);else {let o=new Sl(a,this),p=o.u(this.options);o.v(r),this.$(p),this._$AH=o;}}_$AC(e){let i=kc.get(e.strings);return i===void 0&&kc.set(e.strings,i=new Za(e)),i}T(e){Ac(this._$AH)||(this._$AH=[],this._$AR());let i=this._$AH,r,s=0;for(let a of e)s===i.length?i.push(r=new Ka(this.k(Qn()),this.k(Qn()),this,this.options)):r=i[s],r._$AI(a),s++;s<i.length&&(this._$AR(r&&r._$AB.nextSibling,s),i.length=s);}_$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 s=e.nextSibling;e.remove(),e=s;}}setConnected(e){var i;this._$AM===void 0&&(this._$Cp=e,(i=this._$AP)===null||i===void 0||i.call(this,e));}},xn=class{constructor(e,i,r,s,a){this.type=1,this._$AH=ur,this._$AN=void 0,this.element=e,this.name=i,this._$AM=s,this.options=a,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=ur;}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,i=this,r,s){let a=this.strings,o=!1;if(a===void 0)e=bn(this,e,i,0),o=!to(e)||e!==this._$AH&&e!==Ya,o&&(this._$AH=e);else {let p=e,h,c;for(e=a[0],h=0;h<a.length-1;h++)c=bn(this,p[r+h],i,h),c===Ya&&(c=this._$AH[h]),o||(o=!to(c)||c!==this._$AH[h]),c===ur?e=ur:e!==ur&&(e+=(c??"")+a[h+1]),this._$AH[h]=c;}o&&!s&&this.j(e);}j(e){e===ur?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"");}},kl=class extends xn{constructor(){super(...arguments),this.type=3;}j(e){this.element[this.name]=e===ur?void 0:e;}},zg=vn?vn.emptyScript:"",wl=class extends xn{constructor(){super(...arguments),this.type=4;}j(e){e&&e!==ur?this.element.setAttribute(this.name,zg):this.element.removeAttribute(this.name);}},El=class extends xn{constructor(e,i,r,s,a){super(e,i,r,s,a),this.type=5;}_$AI(e,i=this){var r;if((e=(r=bn(this,e,i,0))!==null&&r!==void 0?r:ur)===Ya)return;let s=this._$AH,a=e===ur&&s!==ur||e.capture!==s.capture||e.once!==s.once||e.passive!==s.passive,o=e!==ur&&(s===ur||a);a&&this.element.removeEventListener(this.name,this,s),o&&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);}},Al=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){bn(this,e);}};var wc=th.litHtmlPolyfillSupport;wc?.(Za,Ka),((xl=th.litHtmlVersions)!==null&&xl!==void 0?xl:th.litHtmlVersions=[]).push("2.8.0");var Dc=(t,e,i)=>{var r,s;let a=(r=i?.renderBefore)!==null&&r!==void 0?r:e,o=a._$litPart$;if(o===void 0){let p=(s=i?.renderBefore)!==null&&s!==void 0?s:null;a._$litPart$=o=new Ka(e.insertBefore(Qn(),p),p,void 0,i??{});}return o._$AI(t),o};var Cl,Tl;var Aa=class extends oa{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=Dc(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 Ya}};Aa.finalized=!0,Aa._$litElement$=!0,(Cl=globalThis.litElementHydrateSupport)===null||Cl===void 0||Cl.call(globalThis,{LitElement:Aa});var Fc=globalThis.litElementPolyfillSupport;Fc?.({LitElement:Aa});((Tl=globalThis.litElementVersions)!==null&&Tl!==void 0?Tl:globalThis.litElementVersions=[]).push("3.3.3");var Ng=(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);}},Gg=(t,e,i)=>{e.constructor.createProperty(i,t);};function dr(t){return (e,i)=>i!==void 0?Gg(t,e,i):Ng(t,e)}function Ic(t){return dr({...t,state:!0})}var Qa=({finisher:t,descriptor:e})=>(i,r)=>{var s;if(r===void 0){let a=(s=i.originalKey)!==null&&s!==void 0?s:i.key,o=e!=null?{kind:"method",placement:"prototype",key:a,descriptor:e(i.key)}:{...i,key:a};return t!=null&&(o.finisher=function(p){t(p,a);}),o}{let a=i.constructor;e!==void 0&&Object.defineProperty(i,r,e(r)),t?.(a,r);}};function Lc(t,e){return Qa({descriptor:i=>{let r={get(){var s,a;return (a=(s=this.renderRoot)===null||s===void 0?void 0:s.querySelector(t))!==null&&a!==void 0?a:null},enumerable:!0,configurable:!0};if(e){let s=typeof i=="symbol"?Symbol():"__"+i;r.get=function(){var a,o;return this[s]===void 0&&(this[s]=(o=(a=this.renderRoot)===null||a===void 0?void 0:a.querySelector(t))!==null&&o!==void 0?o:null),this[s]};}return r}})}var Ml;((Ml=window.HTMLSlotElement)===null||Ml===void 0?void 0:Ml.prototype.assignedElements)!=null?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter(i=>i.nodeType===Node.ELEMENT_NODE);var Vc={name:"@dotlottie/player-component",version:"2.5.1",description:"dotLottie animation player web component.",repository:"https://github.com/dotlottie/player-component.git",homepage:"https://dotlottie.com/players",bugs:"https://github.com/dotlottie/player-component/issues",author:"Jawish Hameed <jawish@lottiefiles.com>",license:"MIT",main:"dist/dotlottie-player.js",module:"dist/dotlottie-player.mjs",types:"dist/dotlottie-player.d.ts",files:["dist"],keywords:["dotlottie","animation","web component","component","lit-element","player"],scripts:{build:"tsup","cypress:open":"cypress open --component",dev:"tsup --watch",lint:"eslint .","lint:fix":"eslint --fix",test:"cypress run --component","type-check":"tsc --noEmit"},dependencies:{lit:"^2.7.5"},devDependencies:{"@dotlottie/common":"workspace:^","@vitejs/plugin-legacy":"^4.1.0","axe-core":"^4.7.2",cypress:"^12.11.0","cypress-axe":"^1.4.0","cypress-ct-lit":"^0.3.2","lottie-web":"^5.12.2",terser:"^5.19.0",tsup:"^6.1.3",typescript:"^4.7.4",vite:"^4.3.9"},publishConfig:{access:"public"},browserslist:["> 3%"]};var Rc=dl`
@font-face {
font-family: 'Karla';
font-weight: regular;
src: url('./fonts/Karla-regular.woff') format('woff');
}
* {
box-sizing: border-box;
}
:host {
--lottie-player-toolbar-height: 35px;
--lottie-player-toolbar-background-color: transparent;
--lottie-player-toolbar-hover-background-color: #f3f6f8;
--lottie-player-toolbar-icon-color: #20272c;
--lottie-player-toolbar-icon-hover-color: #f3f6f8;
--lottie-player-toolbar-icon-active-color: #00ddb3;
--lottie-player-seeker-track-color: #00ddb3;
--lottie-player-seeker-accent-color: #00c1a2;
--lottie-player-seeker-thumb-color: #00c1a2;
--lottie-player-options-separator: #d9e0e6;
display: block;
width: 100%;
height: 100%;
font-family: 'Karla', sans-serif;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.active {
color: var(--lottie-player-toolbar-icon-active-color) !important;
}
.main {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
}
.animation {
position: relative;
width: 100%;
height: 100%;
display: flex;
}
.animation.controls {
height: calc(100% - var(--lottie-player-toolbar-height));
}
.toolbar {
display: flex;
align-items: center;
justify-items: center;
background-color: var(--lottie-player-toolbar-background-color);
margin: 0 8px;
height: var(--lottie-player-toolbar-height);
}
.btn-spacing-left {
margin-right: 4px;
margin-left: 8px;
}
.btn-spacing-center {
margin-right: 4px;
margin-left: 4px;
}
.btn-spacing-right {
margin-right: 8px;
margin-left: 4px;
}
.toolbar button {
color: #20272c;
cursor: pointer;
fill: var(--lottie-player-toolbar-icon-color);
display: flex;
background: none;
border: 0px;
border-radius: 4px;
padding: 4px;
outline: none;
width: 24px;
height: 24px;
align-items: center;
}
.toolbar button:hover {
background-color: var(--lottie-player-toolbar-icon-hover-color);
border-style: solid;
border-radius: 2px;
}
.toolbar button.active {
fill: var(--lottie-player-toolbar-icon-active-color);
}
.toolbar button.active:hover {
fill: var(--lottie-player-toolbar-icon-hover-color);
border-radius: 4px;
}
.toolbar button:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.toolbar button svg {
width: 16px;
height: 16px;
}
.toolbar button.disabled svg {
display: none;
}
.popover {
position: absolute;
bottom: 40px;
left: calc(100% - 239px);
width: 224px;
min-height: 84px;
max-height: 300px;
background-color: #ffffff;
box-shadow: 0px 8px 48px 0px rgba(243, 246, 248, 0.15), 0px 8px 16px 0px rgba(61, 72, 83, 0.16),
0px 0px 1px 0px rgba(61, 72, 83, 0.36);
border-radius: 8px;
padding: 8px;
z-index: 100;
overflow-y: scroll;
scrollbar-width: none;
}
.popover:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.popover::-webkit-scrollbar {
width: 0px;
}
.popover-button {
background: none;
border: none;
font-family: inherit;
width: 100%;
flex-direction: row;
cursor: pointer;
height: 32px;
color: #20272c;
justify-content: space-between;
display: flex;
padding: 4px 8px;
align-items: flex-start;
gap: 8px;
align-self: stretch;
border-radius: 4px;
}
.popover-button:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.popover-button:hover {
background-color: var(--lottie-player-toolbar-hover-background-color);
}
.popover-button-text {
display: flex;
color: #20272c;
flex-direction: column;
align-self: stretch;
justify-content: center;
font-family: inherit;
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 150%;
letter-spacing: -0.28px;
}
.reset-btn {
font-size: 12px;
cursor: pointer;
font-family: inherit;
background: none;
border: none;
font-weight: 400;
line-height: 18px;
letter-spacing: 0em;
text-align: left;
color: #63727e;
padding: 0;
width: 31px;
height: 18px;
}
.reset-btn:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.reset-btn:hover {
color: #20272c;
}
.option-title-button {
display: flex;
flex-direction: row;
width: 100%;
height: 32px;
align-items: center;
gap: 4px;
align-self: stretch;
cursor: pointer;
color: var(--lottie-player-toolbar-icon-color);
border: none;
background: none;
padding: 4px;
font-family: inherit;
font-size: 16px;
font-weight: 700;
line-height: 150%;
letter-spacing: -0.32px;
}
.option-title-button.themes {
width: auto;
padding: 0;
}
.option-title-button:hover {
background-color: var(--lottie-player-toolbar-icon-hover-color);
}
.option-title-themes-row {
display: flex;
align-items: center;
gap: 8px;
flex: 1 0 0;
}
.option-title-themes-row:hover {
background-color: var(--lottie-player-toolbar-icon-hover-color);
}
.option-title-button:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.option-title-text {
font-size: 16px;
font-style: normal;
font-weight: 700;
line-height: 150%;
letter-spacing: -0.32px;
}
.option-title-separator {
margin: 8px -8px;
border-bottom: 1px solid var(--lottie-player-options-separator);
}
.option-title-chevron {
display: flex;
padding: 4px;
border-radius: 8px;
justify-content: center;
align-items: center;
gap: 8px;
}
.option-row {
display: flex;
flex-direction: column;
}
.option-row > ul {
padding: 0;
margin: 0;
}
.option-button {
width: 100%;
background: none;
border: none;
font-family: inherit;
display: flex;
padding: 4px 8px;
color: #20272c;
overflow: hidden;
align-items: center;
gap: 8px;
align-self: stretch;
cursor: pointer;
height: 32px;
font-family: inherit;
font-size: 14px;
border-radius: 4px;
}
.option-button:hover {
background-color: var(--lottie-player-toolbar-hover-background-color);
}
.option-button:focus-visible {
outline: 2px solid var(--lottie-player-toolbar-icon-active-color);
border-radius: 4px;
box-sizing: border-box;
}
.option-tick {
display: flex;
width: 24px;
height: 24px;
align-items: flex-start;
gap: 8px;
}
.seeker {
height: 4px;
width: 95%;
outline: none;
-webkit-appearance: none;
-moz-apperance: none;
border-radius: 9999px;
cursor: pointer;
background-image: linear-gradient(
to right,
rgb(0, 221, 179) calc(var(--seeker) * 1%),
rgb(217, 224, 230) calc(var(--seeker) * 1%)
);
}
.seeker.to-left {
background-image: linear-gradient(
to right,
rgb(217, 224, 230) calc(var(--seeker) * 1%),
rgb(0, 221, 179) calc(var(--seeker) * 1%)
);
}
.seeker::-webkit-slider-runnable-track:focus-visible {
color: #f07167;
accent-color: #00ddb3;
}
.seeker::-webkit-slider-runnable-track {
width: 100%;
height: 5px;
cursor: pointer;
}
.seeker::-webkit-slider-thumb {
-webkit-appearance: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: var(--lottie-player-seeker-thumb-color);
cursor: pointer;
margin-top: -5px;
}
.seeker:focus-visible::-webkit-slider-thumb {
background: var(--lottie-player-seeker-thumb-color);
outline: 2px solid var(--lottie-player-seeker-track-color);
border: 1.5px solid #ffffff;
}
.seeker::-webkit-slider-thumb:hover {
background: #019d91;
}
.seeker::-moz-range-thumb {
appearance: none;
height: 16px;
width: 16px;
border-radius: 50%;
background: var(--lottie-player-seeker-thumb-color);
cursor: pointer;
margin-top: -5px;
border-color: transparent;
}
.seeker:focus-visible::-moz-range-thumb {
background: var(--lottie-player-seeker-thumb-color);
outline: 2px solid var(--lottie-player-seeker-track-color);
border: 1.5px solid #ffffff;
}
.error {
display: flex;
justify-content: center;
margin: auto;
height: 100%;
align-items: center;
}
`;var Oc="dotlottie-player";var Zi=class extends Aa{defaultTheme="";container;playMode=exports.PlayMode.Normal;autoplay=!1;background="transparent";controls=!1;direction=1;hover=!1;loop;renderer="svg";speed=1;src;intermission=0;activeAnimationId=null;light=!1;activeStateId;_seeker=0;_dotLottieCommonPlayer;_io;_loop;_renderer="svg";_unsubscribeListeners;_hasMultipleAnimations=!1;_popoverIsOpen=!1;_animationsTabIsOpen=!1;_styleTabIsOpen=!1;_themesForCurrentAnimation=[];_parseLoop(e){let i=parseInt(e,10);return Number.isInteger(i)&&i>0?(this._loop=i,i):typeof e=="string"&&["true","false"].includes(e)?(this._loop=e==="true",this._loop):(Ti("loop must be a positive integer or a boolean"),!1)}_handleSeekChange(e){let i=e.currentTarget;try{let r=parseInt(i.value,10);if(!this._dotLottieCommonPlayer)return;let s=r/100*this._dotLottieCommonPlayer.totalFrames;this.seek(s);}catch{throw Ze("Error while seeking animation")}}_initListeners(){let e=this._dotLottieCommonPlayer;if(e===void 0){Ti("player not initialized - cannot add event listeners","dotlottie-player-component");return}this._unsubscribeListeners=e.state.subscribe((i,r)=>{this._seeker=i.seeker,this.requestUpdate(),r.currentState!==i.currentState&&this.dispatchEvent(new CustomEvent(i.currentState)),this.dispatchEvent(new CustomEvent(Us.Frame,{detail:{frame:i.frame,seeker:i.seeker}})),this.dispatchEvent(new CustomEvent(Us.VisibilityChange,{detail:{visibilityPercentage:i.visibilityPercentage}}));}),e.addEventListener("complete",()=>{this.dispatchEvent(new CustomEvent(Us.Complete));}),e.addEventListener("loopComplete",()=>{this.dispatchEvent(new CustomEvent(Us.LoopComplete));}),e.addEventListener("DOMLoaded",()=>{let i=this.getManifest();i&&i.themes&&(this._themesForCurrentAnimation=i.themes.filter(r=>r.animations.includes(this.getCurrentAnimationId()||""))),this.dispatchEvent(new CustomEvent(Us.Ready));}),e.addEventListener("data_ready",()=>{this.dispatchEvent(new CustomEvent(Us.DataReady));}),e.addEventListener("data_failed",()=>{this.dispatchEvent(new CustomEvent(Us.DataFail));}),window&&window.addEventListener("click",i=>this._clickOutListener(i));}async load(e,i,r){if(!this.shadowRoot)return;this._dotLottieCommonPlayer=new Xo(e,this.container,{rendererSettings:i??{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,activeStateId:this.hasAttribute("activeStateId")?this.activeStateId:void 0}),await this._dotLottieCommonPlayer.load(r),this._hasMultipleAnimations=this.animationCount()>1;let s=this.getManifest();s&&s.themes&&(this._themesForCurrentAnimation=s.themes.filter(a=>a.animations.includes(this.getCurrentAnimationId()||""))),this._initListeners();}getCurrentAnimationId(){return this._dotLottieCommonPlayer?.currentAnimationId}animationCount(){return this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.getManifest()?.animations.length||0}animations(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getManifest()?.animations.map(i=>i.id)||[]:[]}currentAnimation(){return !this._dotLottieCommonPlayer||!this._dotLottieCommonPlayer.currentAnimationId?"":this._dotLottieCommonPlayer.currentAnimationId}getState(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getState():Jo}getManifest(){return this._dotLottieCommonPlayer?.getManifest()}getLottie(){return this._dotLottieCommonPlayer?.getAnimationInstance()}getVersions(){return {lottieWebVersion:Xo.getLottieWebVersion(),dotLottiePlayerVersion:`${Vc.version}`}}previous(e){this._dotLottieCommonPlayer?.previous(e);}next(e){this._dotLottieCommonPlayer?.next(e);}reset(){this._dotLottieCommonPlayer?.reset();}play(e,i){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.play(e,i);}pause(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.pause();}stop(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stop();}playOnShow(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnShow(e);}stopPlayOnShow(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnShow();}playOnScroll(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.playOnScroll(e);}stopPlayOnScroll(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.stopPlayOnScroll();}seek(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.seek(e);}snapshot(e=!0){if(!this.shadowRoot)return "";let i=this.shadowRoot.querySelector(".animation svg"),r=new XMLSerializer().serializeToString(i);if(e){let s=document.createElement("a");s.href=`data:image/svg+xml;charset=utf-8,${encodeURIComponent(r)}`,s.download=`download_${this._seeker}.svg`,document.body.appendChild(s),s.click(),document.body.removeChild(s);}return r}setTheme(e){this._dotLottieCommonPlayer?.setDefaultTheme(e);}themes(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.getManifest()?.themes?.map(i=>i.id)||[]:[]}getDefaultTheme(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.defaultTheme:""}_freeze(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.freeze();}setSpeed(e=1){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setSpeed(e);}setDirection(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setDirection(e);}setLooping(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setLoop(e);}isLooping(){return this._dotLottieCommonPlayer?this._dotLottieCommonPlayer.loop:!1}togglePlay(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.togglePlay();}toggleLooping(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.toggleLoop();}setPlayMode(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.setMode(e);}enterInteractiveMode(e){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.enterInteractiveMode(e);}exitInteractiveMode(){this._dotLottieCommonPlayer&&this._dotLottieCommonPlayer.exitInteractiveMode();}revertToManifestValues(e){this._dotLottieCommonPlayer?.revertToManifestValues(e);}static get styles(){return Rc}async firstUpdated(){this.container=this.shadowRoot?.querySelector("#animation"),"IntersectionObserver"in window&&(this._io=new IntersectionObserver(e=>{e[0]!==void 0&&e[0].isIntersecting?this._dotLottieCommonPlayer?.currentState===wa.Frozen&&this.play():this._dotLottieCommonPlayer?.currentState===wa.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(){this._io&&(this._io.disconnect(),this._io=void 0),this._dotLottieCommonPlayer?.destroy(),this._unsubscribeListeners?.(),window&&window.removeEventListener("click",e=>this._clickOutListener(e));}_clickOutListener(e){!e.composedPath().some(r=>r instanceof HTMLElement?r.classList.contains("popover")||r.id==="lottie-animation-options":!1)&&this._popoverIsOpen&&(this._popoverIsOpen=!1,this.requestUpdate());}renderControls(){let e=this._dotLottieCommonPlayer?.currentState===wa.Playing,i=this._dotLottieCommonPlayer?.currentState===wa.Paused;return yi`
<div id="lottie-controls" aria-label="lottie-animation-controls" class="toolbar">
${this._hasMultipleAnimations?yi`
<button @click=${()=>this.previous()} aria-label="Previous animation" class="btn-spacing-left">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
</button>
`:yi``}
<button
id="lottie-play-button"
@click=${()=>{this.togglePlay();}}
class=${e||i?`active ${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`:`${this._hasMultipleAnimations?"btn-spacing-center":"btn-spacing-right"}`}
aria-label="play / pause animation"
>
${e?yi`
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
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"
fill="#20272C"
/>
<path
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"
fill="#20272C"
/>
</svg>
`:yi`
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
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"
fill="#20272C"
/>
</svg>
`}
</button>
${this._hasMultipleAnimations?yi`
<button @click=${()=>this.next()} aria-label="Next animation" class="btn-spacing-right">
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
</button>
`:yi``}
<input
id="lottie-seeker-input"
class="seeker ${this._dotLottieCommonPlayer?.direction===-1?"to-left":""}"
type="range"
min="0"
step="1"
max="100"
.value=${this._seeker}
@input=${r=>this._handleSeekChange(r)}
@mousedown=${()=>{this._freeze();}}
@mouseup=${()=>{this._dotLottieCommonPlayer?.unfreeze();}}
aria-valuemin="1"
aria-valuemax="100"
role="slider"
aria-valuenow=${this._seeker}
aria-label="lottie-seek-input"
style=${`--seeker: ${this._seeker}`}
/>
<button
id="lottie-loop-toggle"
@click=${()=>this.toggleLooping()}
class=${this._dotLottieCommonPlayer?.loop?"active btn-spacing-left":"btn-spacing-left"}
aria-label="loop-toggle"
>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
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"
fill="currentColor"
/>
<path
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"
fill="currentColor"
/>
</svg>
</button>
${this._hasMultipleAnimations?yi`
<button
id="lottie-animation-options"
@click=${()=>{this._popoverIsOpen=!this._popoverIsOpen,this.requestUpdate();}}
aria-label="options"
class="btn-spacing-right"
style=${`background-color: ${this._popoverIsOpen?"var(--lottie-player-toolbar-icon-hover-color)":""}`}
>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
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"
fill="#20272C"
/>
<path
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"
fill="#20272C"
/>
<path
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"
fill="#20272C"
/>
</svg>
</button>
`:yi``}
</div>
${this._popoverIsOpen?yi`
<div
id="popover"
class="popover"
tabindex="0"
aria-label="lottie animations themes popover"
style="min-height: ${this.themes().length>0?"84px":"auto"}"
>
${!this._animationsTabIsOpen&&!this._styleTabIsOpen?yi`
<button
class="popover-button"
tabindex="0"
aria-label="animations"
@click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate();}}
@keydown=${r=>{(r.code==="Space"||r.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate());}}
>
<div class="popover-button-text">Animations</div>
<div>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#4C5863"
/>
</svg>
</div>
</button>
`:yi``}
${this.themes().length>0&&!this._styleTabIsOpen&&!this._animationsTabIsOpen?yi` <button
class="popover-button"
aria-label="Themes"
@click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate();}}
@keydown=${r=>{(r.code==="Space"||r.code==="Enter")&&(this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate());}}
>
<div class="popover-button-text">Themes</div>
<div>
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#4C5863"
/>
</svg>
</div>
</button>`:""}
${this._animationsTabIsOpen?yi`<button
class="option-title-button"
aria-label="Back to main popover menu"
@click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this.requestUpdate();}}
>
<div class="option-title-chevron">
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
</div>
<div>Animations</div>
</button>
<div class="option-title-separator"></div>
<div class="option-row">
<ul>
${this.animations().map(r=>yi`
<li>
<button
class="option-button"
aria-label=${`${r}`}
@click=${()=>{this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(r,s=>({...s,defaultTheme:""})),this.requestUpdate();}}
@keydown=${s=>{(s.code==="Space"||s.code==="Enter")&&(this._animationsTabIsOpen=!this._animationsTabIsOpen,this._popoverIsOpen=!this._popoverIsOpen,this.play(r,a=>({...a,defaultTheme:""})),this.requestUpdate());}}
>
<div class="option-tick">
${this.currentAnimation()===r?yi`
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
`:yi``}
</div>
<div>${r}</div>
</button>
</li>
`)}
</ul>
</div> `:yi``}
${this._styleTabIsOpen?yi`<div class="option-title-themes-row">
<button
class="option-title-button themes"
aria-label="Back to main popover menu"
@click=${()=>{this._styleTabIsOpen=!this._styleTabIsOpen,this.requestUpdate();}}
>
<div class="option-title-chevron">
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
</div>
<div class="option-title-text">Themes</div>
${this._dotLottieCommonPlayer?.defaultTheme===""?yi``:yi`
<button
class="reset-btn"
@click=${()=>{this.setTheme(""),this.requestUpdate();}}
>
Reset
</button>
`}
</button>
</div>
<div class="option-title-separator"></div>
<div class="option-row">
<ul>
${this._themesForCurrentAnimation.map(r=>yi`
<li>
<button
class="option-button"
aria-label="${r.id}"
@click=${()=>{this.setTheme(r.id);}}
@keydown=${s=>{(s.code==="Space"||s.code==="Enter")&&this.setTheme(r.id);}}
>
<div class="option-tick">
${this.getDefaultTheme()===r.id?yi`
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
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"
fill="#20272C"
/>
</svg>
`:yi``}
</div>
<div>${r.id}</div>
</button>
</li>
`)}
</ul>
</div>`:yi``}
</div>
`:yi``}
`}render(){let e=this.controls?"main controls":"main",i=this.controls?"animation controls":"animation";return yi`
<div id="animation-container" class=${e} lang="en" role="img" aria-label="lottie-animation-container">
<div id="animation" class=${i} style="background:${this.background};">
${this._dotLottieCommonPlayer?.currentState===wa.Error?yi` <div class="error">⚠️</div> `:void 0}
</div>
${this.controls?this.renderControls():void 0}
</div>
`}};pr([dr({type:String})],Zi.prototype,"defaultTheme",2),pr([Lc("#animation")],Zi.prototype,"container",2),pr([dr()],Zi.prototype,"playMode",2),pr([dr({type:Boolean})],Zi.prototype,"autoplay",2),pr([dr({type:String})],Zi.prototype,"background",2),pr([dr({type:Boolean})],Zi.prototype,"controls",2),pr([dr({type:Number})],Zi.prototype,"direction",2),pr([dr({type:Boolean})],Zi.prototype,"hover",2),pr([dr({type:String})],Zi.prototype,"loop",2),pr([dr({type:String})],Zi.prototype,"renderer",2),pr([dr({type:Number})],Zi.prototype,"speed",2),pr([dr({type:String})],Zi.prototype,"src",2),pr([dr()],Zi.prototype,"intermission",2),pr([dr({type:String})],Zi.prototype,"activeAnimationId",2),pr([dr({type:Boolean})],Zi.prototype,"light",2),pr([dr({type:String})],Zi.prototype,"activeStateId",2),pr([Ic()],Zi.prototype,"_seeker",2);customElements.get(Oc)||customElements.define(Oc,Zi);/*! Bundled license information:
is-buffer/index.js:
(*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*)
*/
/*! Bundled license information:
xstate/es/_virtual/_tslib.js:
(*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** *)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_light.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_svg.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_light_canvas.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_canvas.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_light_html.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
lottie-web/build/player/lottie_html.js:
(*!
Transformation Matrix v2.0
(c) Epistemex 2014-2015
www.epistemex.com
By Ken Fyrstenberg
Contributions by leeoniya.
License: MIT, header required.
*)
*/
/*! Bundled license information:
@lit/reactive-element/css-tag.js:
(**
* @license
* Copyright 2019 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/reactive-element.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-html/lit-html.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-element/lit-element.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
lit-html/is-server.js:
(**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/custom-element.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/property.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/state.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/base.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/event-options.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/query.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/query-all.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/query-async.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/query-assigned-elements.js:
(**
* @license
* Copyright 2021 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
@lit/reactive-element/decorators/query-assigned-nodes.js:
(**
* @license
* Copyright 2017 Google LLC
* SPDX-License-Identifier: BSD-3-Clause
*)
*/
exports.DotLottiePlayer = Zi;
}));
//# sourceMappingURL=out.js.map
//# sourceMappingURL=dotlottie-player.js.map