PageSourceSearch

https://www.happycog.com//dist/lottie_light-KMJEUZFY-TNG7ODX7-af5366bc.js

js happycog.com collected 2026-10-02 02:14:06 UTC 168,970 bytes, 13 lines download raw bytes

vendor: 4,710 bytes, line 1
1import{u as pa}from"./chunk-HDDX7F4A-2d4e7f2d.js";var fa=pa((Ae,He)=>{typeof navigator<"u"&&function(oe,$t){typeof Ae=="object"&&typeof He<"u"?He.exports=$t():typeof define=="function"&&define.amd?define($t):(oe=typeof globalThis<"u"?globalThis:oe||self,oe.lottie=$t())}(Ae,function(){var oe="http://www.w3.org/2000/svg",$t="",ni=!1,Ye=-999999,ss=function(t){ni=!!t},as=function(){return ni},rs=function(t){$t=t},dt=function(){return $t};function Lt(t){return document.createElement(t)}function W(t,e){var i,s=t.length,r;for(i=0;i<s;i+=1){r=t[i].prototype;for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e.prototype[a]=r[a])}}function ns(t){function e(){}return e.prototype=t,e}var os=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,s=this.audios.length;for(i=0;i<s;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}}(),st=function(){function t(i,s){var r=0,a=[],h;switch(i){case"int16":case"uint8c":h=1;break;default:h=1.1;break}for(r=0;r<s;r+=1)a.push(h);return a}function e(i,s){return i==="float32"?new Float32Array(s):i==="int16"?new Int16Array(s):i==="uint8c"?new Uint8ClampedArray(s):t(i,s)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function tt(t){return Array.apply(null,{length:t})}var oi=!0,hi=null,li="",hs=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Pt=Math.pow,pi=Math.sqrt,Wt=Math.floor,ls=Math.min,fi=150,J=Math.PI/180,Rt=.5519;function Ge(t,e,i,s){this.type=t,this.currentTime=e,this.totalTime=i,this.direction=s<0?-1:1}function mi(t,e){this.type=t,this.direction=e<0?-1:1}function ci(t,e,i,s){this.type=t,this.currentLoop=i,this.totalLoops=e,this.direction=s<0?-1:1}function ui(t,e,i){this.type=t,this.firstFrame=e,this.totalFrames=i}function di(t,e){this.type=t,this.target=e}function ps(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function fs(t){this.type="configError",this.nativeError=t}var pt=function(){var t=0;return function(){return t+=1,li+"__lottie_element_"+t}}();function We(t,e,i){var s,r,a,h,c,o,b,_;switch(h=Math.floor(t*6),c=t*6-h,o=i*(1-e),b=i*(1-c*e),_=i*(1-(1-c)*e),h%6){case 0:s=i,r=_,a=o;break;case 1:s=b,r=i,a=o;break;case 2:s=o,r=i,a=_;break;case 3:s=o,r=b,a=i;break;case 4:s=_,r=o,a=i;break;case 5:s=i,r=o,a=b;break}return[s,r,a]}function Ue(t,e,i){var s=Math.max(t,e,i),r=Math.min(t,e,i),a=s-r,h,c=s===0?0:a/s,o=s/255;switch(s){case r:h=0;break;case t:h=e-i+a*(e<i?6:0),h/=6*a;break;case e:h=i-t+a*2,h/=6*a;break;case i:h=t-e+a*4,h/=6*a;break}return[h,c,o]}function gi(t,e){var i=Ue(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),We(i[0],i[1],i[2])}function vi(t,e){var i=Ue(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),We(i[0],i[1],i[2])}function yi(t,e){var i=Ue(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),We(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(s,r,a){return s<0&&(s=0),r<0&&(r=0),a<0&&(a=0),"#"+t[s]+t[r]+t[a]}})();var ms=function(t){oi=!!t},cs=function(){return oi},us=function(t){hi=t},Se=function(){return hi},Ce=function(t){fi=t},xe=function(){return fi},ds=function(t){li=t};function j(t){return document.createElementNS(oe,t)}function Me(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Me=function(e){return typeof e}:Me=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Me(t)}var he=function(){var t=1,e=[],i,s,r={onmessage:function(){},postMessage:function(f){i({data:f})}},a={postMessage:function(f){r.onmessage({data:f})}};function h(f){if(window.Worker&&window.Blob&&as()){var P=new Blob(["var _workerSelf = self;
1 self.onmessage = ",f.toString()],{type:"text/javascript"}),A=URL.createObjectURL(P);return new Worker(A)}return i=f,r}function c(){s||(s=h(function(f){function P(){function k(D,E){var u,v,n=D.length,d,M,S,H;for(v=0;v<n;v+=1)if(u=D[v],"ks"in u&&!u.completed){if(u.completed=!0,u.hasMask){var V=u.masksProperties;for(M=V.length,d=0;d<M;d+=1)if(V[d].pt.k.i)m(V[d].pt.k);else for(H=V[d].pt.k.length,S=0;S<H;S+=1)V[d].pt.k[S].s&&m(V[d].pt.k[S].s[0]),V[d].pt.k[S].e&&m(V[d].pt.k[S].e[0])}u.ty===0?(u.layers=p(u.refId,E),k(u.layers,E)):u.ty===4?l(u.shapes):u.ty===5&&R(u)}}function C(D,E){if(D){var u=0,v=D.length;for(u=0;u<v;u+=1)D[u].t===1&&(D[u].data.layers=p(D[u].data.refId,E),k(D[u].data.layers,E))}}function g(D,E){for(var u=0,v=E.length;u<v;){if(E[u].id===D)return E[u];u+=1}return null}function p(D,E){var u=g(D,E);return u?u.layers.__used?JSON.parse(JSON.stringify(u.layers)):(u.layers.__used=!0,u.layers):null}function l(D){var E,u=D.length,v,n;for(E=u-1;E>=0;E-=1)if(D[E].ty==="sh")if(D[E].ks.k.i)m(D[E].ks.k);else for(n=D[E].ks.k.length,v=0;v<n;v+=1)D[E].ks.k[v].s&&m(D[E].ks.k[v].s[0]),D[E].ks.k[v].e&&m(D[E].ks.k[v].e[0]);else D[E].ty==="gr"&&l(D[E].it)}function m(D){var E,u=D.i.length;for(E=0;E<u;E+=1)D.i[E][0]+=D.v[E][0],D.i[E][1]+=D.v[E][1],D.o[E][0]+=D.v[E][0],D.o[E][1]+=D.v[E][1]}function y(D,E){var u=E?E.split("."):[100,100,100];return D[0]>u[0]?!0:u[0]>D[0]?!1:D[1]>u[1]?!0:u[1]>D[1]?!1:D[2]>u[2]?!0:u[2]>D[2]?!1:null}var x=function(){var D=[4,4,14];function E(v){var n=v.t.d;v.t.d={k:[{s:n,t:0}]}}function u(v){var n,d=v.length;for(n=0;n<d;n+=1)v[n].ty===5&&E(v[n])}return function(v){if(y(D,v.v)&&(u(v.layers),v.assets)){var n,d=v.assets.length;for(n=0;n<d;n+=1)v.assets[n].layers&&u(v.assets[n].layers)}}}(),T=function(){var D=[4,7,99];return function(E){if(E.chars&&!y(D,E.v)){var u,v=E.chars.length;for(u=0;u<v;u+=1){var n=E.chars[u];n.data&&n.data.shapes&&(l(n.data.shapes),n.data.ip=0,n.data.op=99999,n.data.st=0,n.data.sr=1,n.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}},E.chars[u].t||(n.data.shapes.push({ty:"no"}),n.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 D=[5,7,15];function E(v){var n=v.t.p;typeof n.a=="number"&&(n.a={a:0,k:n.a}),typeof n.p=="number"&&(n.p={a:0,k:n.p}),typeof n.r=="number"&&(n.r={a:0,k:n.r})}function u(v){var n,d=v.length;for(n=0;n<d;n+=1)v[n].ty===5&&E(v[n])}return function(v){if(y(D,v.v)&&(u(v.layers),v.assets)){var n,d=v.assets.length;for(n=0;n<d;n+=1)v.assets[n].layers&&u(v.assets[n].layers)}}}(),I=function(){var D=[4,1,9];function E(v){var n,d=v.length,M,S;for(n=0;n<d;n+=1)if(v[n].ty==="gr")E(v[n].it);else if(v[n].ty==="fl"||v[n].ty==="st")if(v[n].c.k&&v[n].c.k[0].i)for(S=v[n].c.k.length,M=0;M<S;M+=1)v[n].c.k[M].s&&(v[n].c.k[M].s[0]/=255,v[n].c.k[M].s[1]/=255,v[n].c.k[M].s[2]/=255,v[n].c.k[M].s[3]/=255),v[n].c.k[M].e&&(v[n].c.k[M].e[0]/=255,v[n].c.k[M].e[1]/=255,v[n].c.k[M].e[2]/=255,v[n].c.k[M].e[3]/=255);else v[n].c.k[0]/=255,v[n].c.k[1]/=255,v[n].c.k[2]/=255,v[n].c.k[3]/=255}function u(v){var n,d=v.length;for(n=0;n<d;n+=1)v[n].ty===4&&E(v[n].shapes)}return function(v){if(y(D,v.v)&&(u(v.layers),v.assets)){var n,d=v.assets.length;for(n=0;n<d;n+=1)v.assets[n].layers&&u(v.assets[n].layers)}}}(),O=function(){var D=[4,4,18];function E(v){var n,d=v.length,M,S;for(n=d-1;n>=0;n-=1)if(v[n].ty==="sh")if(v[n].ks.k.i)v[n].ks.k.c=v[n].closed;else for(S=v[n].ks.k.length,M=0;M<S;M+=1)v[n].ks.k[M].s&&(v[n].ks.k[M].s[0].c=v[n].closed),v[n].ks.k[M].e&&(v[n].ks.k[M].e[0].c=v[n].closed);else v[n].ty==="gr"&&E(v[n].it)}function u(v){var n,d,M=v.length,S,H,V,G;for(d=0;d<M;d+=1){if(n=v[d],n.hasMask){var Y=n.masksProperties;for(H=Y.length,S=0;S<H;S+=1)if(Y[S].pt.k.i)Y[S].pt.k.c=Y[S].cl;else for(G=Y[S].pt.k.length,V=0;V<G;V+=1)Y[S].pt.k[V].s&&(Y[S].pt.k[V].s[0].c=Y[S].cl),Y[S].pt.k[V].e&&(Y[S].pt.k[V].e[0].c=Y[S].cl)}n.ty===4&&E(n.shapes)}}return function(v){if(y(D,v.v)&&(u(v.layers),v.assets)){var n,d=v.assets.length;for(n=0;n<d;n+=1)v.assets[n].layers&&u(v.assets[n].layers)}}}();function N(D){D.__complete||(I(D),x(D),T(D),F(D),O(D),k(D.layers,D.assets),C(D.chars,D.assets),D.__complete=!0)}function R(D){D.t.a.length===0&&"m"in D.t.p}var B={};return B.completeData=N,B.checkColors=I,B.checkChars=T,B.checkPathProperties=F,B.checkShapes=O,B.completeLayers=k,B}if(a.dataManager||(a.dataManager=P()),a.assetLoader||(a.assetLoader=function(){function k(g){var p=g.getResponseHeader("content-type");return p&&g.responseType==="json"&&p.indexOf("json")!==-1||g.response&&Me(g.response)==="object"?g.response:g.response&&typeof g.response=="string"?JSON.parse(g.response):g.responseText?JSON.parse(g.responseText):null}function C(g,p,l,m){var y,x=new XMLHttpRequest;try{x.responseType="json"}catch{}x.onreadystatechange=function(){if(x.readyState===4)if(x.status===200)y=k(x),l(y);else try{y=k(x),l(y)}catch(T){m&&m(T)}};try{x.open(["G","E","T"].join(""),g,!0)}catch{x.open(["G","E","T"].join(""),p+"/"+g,!0)}x.send()}return{load:C}}()),f.data.type==="loadAnimation")a.assetLoader.load(f.data.path,f.data.fullPath,function(k){a.dataManager.completeData(k),a.postMessage({id:f.data.id,payload:k,status:"success"})},function(){a.postMessage({id:f.data.id,status:"error"})});else if(f.data.type==="complete"){var A=f.data.animation;a.dataManager.completeData(A),a.postMessage({id:f.data.id,payload:A,status:"success"})}
vendor: 108,113 bytes, lines 1-2
1else f.data.type==="loadData"&&a.assetLoader.load(f.data.path,f.data.fullPath,function(k){a.postMessage({id:f.data.id,payload:k,status:"success"})},function(){a.postMessage({id:f.data.id,status:"error"})})}),s.onmessage=function(f){var P=f.data,A=P.id,k=e[A];e[A]=null,P.status==="success"?k.onComplete(P.payload):k.onError&&k.onError()})}function o(f,P){t+=1;var A="processId_"+t;return e[A]={onComplete:f,onError:P},A}function b(f,P,A){c();var k=o(P,A);s.postMessage({type:"loadAnimation",path:f,fullPath:window.location.origin+window.location.pathname,id:k})}function _(f,P,A){c();var k=o(P,A);s.postMessage({type:"loadData",path:f,fullPath:window.location.origin+window.location.pathname,id:k})}function w(f,P,A){c();var k=o(P,A);s.postMessage({type:"complete",animation:f,id:k})}return{loadAnimation:b,loadData:_,completeAnimation:w}}(),gs=function(){var t=function(){var g=Lt("canvas");g.width=1,g.height=1;var p=g.getContext("2d");return p.fillStyle="rgba(0,0,0,0)",p.fillRect(0,0,1,1),g}();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 s(g,p,l){var m="";if(g.e)m=g.p;else if(p){var y=g.p;y.indexOf("images/")!==-1&&(y=y.split("/")[1]),m=p+y}else m=l,m+=g.u?g.u:"",m+=g.p;return m}function r(g){var p=0,l=setInterval((function(){var m=g.getBBox();(m.width||p>500)&&(this._imageLoaded(),clearInterval(l)),p+=1}).bind(this),50)}function a(g){var p=s(g,this.assetsPath,this.path),l=j("image");hs?this.testImageLoaded(l):l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){m.img=t,this._imageLoaded()}).bind(this),!1),l.setAttributeNS("http://www.w3.org/1999/xlink","href",p),this._elementHelper.append?this._elementHelper.append(l):this._elementHelper.appendChild(l);var m={img:l,assetData:g};return m}function h(g){var p=s(g,this.assetsPath,this.path),l=Lt("img");l.crossOrigin="anonymous",l.addEventListener("load",this._imageLoaded,!1),l.addEventListener("error",(function(){m.img=t,this._imageLoaded()}).bind(this),!1),l.src=p;var m={img:l,assetData:g};return m}function c(g){var p={assetData:g},l=s(g,this.assetsPath,this.path);return he.loadData(l,(function(m){p.img=m,this._footageLoaded()}).bind(this),(function(){p.img={},this._footageLoaded()}).bind(this)),p}function o(g,p){this.imagesLoadedCb=p;var l,m=g.length;for(l=0;l<m;l+=1)g[l].layers||(!g[l].t||g[l].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(g[l]))):g[l].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(g[l]))))}function b(g){this.path=g||""}function _(g){this.assetsPath=g||""}function w(g){for(var p=0,l=this.images.length;p<l;){if(this.images[p].assetData===g)return this.images[p].img;p+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function P(){return this.totalImages===this.loadedAssets}function A(){return this.totalFootages===this.loadedFootagesCount}function k(g,p){g==="svg"?(this._elementHelper=p,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function C(){this._imageLoaded=e.bind(this),this._footageLoaded=i.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=c.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return C.prototype={loadAssets:o,setAssetsPath:_,setPath:b,loadedImages:P,loadedFootages:A,destroy:f,getAsset:w,createImgData:h,createImageData:a,imageLoaded:e,footageLoaded:i,setCacheType:k},C}();function bi(){}bi.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var i=this._cbs[t],s=0;s<i.length;s+=1)i[s](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,s=this._cbs[t].length;i<s;)this._cbs[t][i]===e&&(this._cbs[t].splice(i,1),i-=1,s-=1),i+=1;this._cbs[t].length||(this._cbs[t]=null)}}};var vs=function(){function t(e){for(var i=e.split(`\r
2`),s={},r,a=0,h=0;h<i.length;h+=1)r=i[h].split(":"),r.length===2&&(s[r[0]]=r[1].trim(),a+=1);if(a===0)throw new Error;return s}return function(e){for(var i=[],s=0;s<e.length;s+=1){var r=e[s],a={time:r.tm,duration:r.dr};try{a.payload=JSON.parse(e[s].cm)}catch{try{a.payload=t(e[s].cm)}catch{a.payload={name:e[s].cm}}}i.push(a)}return i}}(),ys=function(){function t(e){this.compositions.push(e)}return function(){function e(i){for(var s=0,r=this.compositions.length;s<r;){if(this.compositions[s].data&&this.compositions[s].data.nm===i)return this.compositions[s].prepareFrame&&this.compositions[s].data.xt&&this.compositions[s].prepareFrame(this.currentFrame),this.compositions[s].compInterface;s+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),le={},bs=function(t,e){le[t]=e};function _s(t){return le[t]}function ks(){if(le.canvas)return"canvas";for(var t in le)if(le[t])return t;return""}function pe(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?pe=function(e){return typeof e}:pe=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},pe(t)}var q=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=pt(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=cs(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ys(),this.imagePreloader=new gs,this.audioController=os(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new Ge("drawnFrame",0,0,0),this.expressionsPlugin=Se()};W([bi],q),q.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=_s(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")),he.loadAnimation(t.path,this.configAnimation,this.onSetupError))},q.prototype.onSetupError=function(){this.trigger("data_failed")},q.prototype.setupAnimation=function(t){he.completeAnimation(t,this.configAnimation)},q.prototype.setData=function(t,e){e&&pe(e)!=="object"&&(e=JSON.parse(e));var i={wrapper:t,animationData:e},s=t.attributes;i.path=s.getNamedItem("data-animation-path")?s.getNamedItem("data-animation-path").value:s.getNamedItem("data-bm-path")?s.getNamedItem("data-bm-path").value:s.getNamedItem("bm-path")?s.getNamedItem("bm-path").value:"",i.animType=s.getNamedItem("data-anim-type")?s.getNamedItem("data-anim-type").value:s.getNamedItem("data-bm-type")?s.getNamedItem("data-bm-type").value:s.getNamedItem("bm-type")?s.getNamedItem("bm-type").value:s.getNamedItem("data-bm-renderer")?s.getNamedItem("data-bm-renderer").value:s.getNamedItem("bm-renderer")?s.getNamedItem("bm-renderer").value:ks()||"canvas";var r=s.getNamedItem("data-anim-loop")?s.getNamedItem("data-anim-loop").value:s.getNamedItem("data-bm-loop")?s.getNamedItem("data-bm-loop").value:s.getNamedItem("bm-loop")?s.getNamedItem("bm-loop").value:"";r==="false"?i.loop=!1:r==="true"?i.loop=!0:r!==""&&(i.loop=parseInt(r,10));var a=s.getNamedItem("data-anim-autoplay")?s.getNamedItem("data-anim-autoplay").value:s.getNamedItem("data-bm-autoplay")?s.getNamedItem("data-bm-autoplay").value:s.getNamedItem("bm-autoplay")?s.getNamedItem("bm-autoplay").value:!0;i.autoplay=a!=="false",i.name=s.getNamedItem("data-name")?s.getNamedItem("data-name").value:s.getNamedItem("data-bm-name")?s.getNamedItem("data-bm-name").value:s.getNamedItem("bm-name")?s.getNamedItem("bm-name").value:"";var h=s.getNamedItem("data-anim-prerender")?s.getNamedItem("data-anim-prerender").value:s.getNamedItem("data-bm-prerender")?s.getNamedItem("data-bm-prerender").value:s.getNamedItem("bm-prerender")?s.getNamedItem("bm-prerender").value:"";h==="false"&&(i.prerender=!1),i.path?this.setParams(i):this.trigger("destroy")},q.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,s=e.length,r=t.layers,a,h=r.length;for(a=0;a<h;a+=1)for(i=0;i<s;){if(e[i].id===r[a].id){e[i]=r[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(s=t.assets.length,i=0;i<s;i+=1)this.animationData.assets.push(t.assets[i]);this.animationData.__complete=!1,he.completeAnimation(this.animationData,this.onSegmentComplete)},q.prototype.onSegmentComplete=function(t){this.animationData=t;var e=Se();e&&e.initExpressions(this),this.loadNextSegment()},q.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,he.loadData(i,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},q.prototype.loadSegments=function(){var t=this.animationData.segments;t||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},q.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},q.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},q.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=vs(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},q.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},q.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=Se();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},q.prototype.resize=function(t,e){var i=typeof t=="number"?t:void 0,s=typeof e=="number"?e:void 0;this.renderer.updateContainerSize(i,s)},q.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},q.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")},q.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)}},q.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")))},q.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())},q.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?this.play():this.pause())},q.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},q.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},q.prototype.goToAndStop=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var r=this.getMarkerData(t);r&&this.goToAndStop(r.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},q.prototype.goToAndPlay=function(t,e,i){if(!(i&&this.name!==i)){var s=Number(t);if(isNaN(s)){var r=this.getMarkerData(t);r&&(r.duration?this.playSegments([r.time,r.time+r.duration],!0):this.goToAndStop(r.time,!0))}else this.goToAndStop(s,e,i);this.play()}},q.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"))}},q.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")},q.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)},q.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),pe(t[0])==="object"){var i,s=t.length;for(i=0;i<s;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()},q.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},q.prototype.checkSegments=function(t){return this.segments.length?(this.adjustSegment(this.segments.shift(),t),!0):!1},q.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)},q.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},q.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},q.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},q.prototype.setLoop=function(t){this.loop=t},q.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},q.prototype.getVolume=function(){return this.audioController.getVolume()},q.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},q.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},q.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},q.prototype.getPath=function(){return this.path},q.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},q.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},q.prototype.hide=function(){this.renderer.hide()},q.prototype.show=function(){this.renderer.show()},q.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},q.prototype.updateDocumentData=function(t,e,i){try{var s=this.renderer.getElementByPath(t);s.updateDocumentData(e,i)}catch{}},q.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new Ge(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 ci(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new mi(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new ui(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new di(t,this));break;default:this.triggerEvent(t)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new Ge(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new ci(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new mi(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new ui(t,this.firstFrame,this.totalFrames)),t==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new di(t,this))},q.prototype.triggerRenderFrameError=function(t){var e=new ps(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},q.prototype.triggerConfigError=function(t){var e=new fs(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var et=function(){var t={},e=[],i=0,s=0,r=0,a=!0,h=!1;function c(u){for(var v=0,n=u.target;v<s;)e[v].animation===n&&(e.splice(v,1),v-=1,s-=1,n.isPaused||w()),v+=1}function o(u,v){if(!u)return null;for(var n=0;n<s;){if(e[n].elem===u&&e[n].elem!==null)return e[n].animation;n+=1}var d=new q;return f(d,u),d.setData(u,v),d}function b(){var u,v=e.length,n=[];for(u=0;u<v;u+=1)n.push(e[u].animation);return n}function _(){r+=1,O()}function w(){r-=1}function f(u,v){u.addEventListener("destroy",c),u.addEventListener("_active",_),u.addEventListener("_idle",w),e.push({elem:v,animation:u}),s+=1}function P(u){var v=new q;return f(v,null),v.setParams(u),v}function A(u,v){var n;for(n=0;n<s;n+=1)e[n].animation.setSpeed(u,v)}function k(u,v){var n;for(n=0;n<s;n+=1)e[n].animation.setDirection(u,v)}function C(u){var v;for(v=0;v<s;v+=1)e[v].animation.play(u)}function g(u){var v=u-i,n;for(n=0;n<s;n+=1)e[n].animation.advanceTime(v);i=u,r&&!h?window.requestAnimationFrame(g):a=!0}function p(u){i=u,window.requestAnimationFrame(g)}function l(u){var v;for(v=0;v<s;v+=1)e[v].animation.pause(u)}function m(u,v,n){var d;for(d=0;d<s;d+=1)e[d].animation.goToAndStop(u,v,n)}function y(u){var v;for(v=0;v<s;v+=1)e[v].animation.stop(u)}function x(u){var v;for(v=0;v<s;v+=1)e[v].animation.togglePause(u)}function T(u){var v;for(v=s-1;v>=0;v-=1)e[v].animation.destroy(u)}function F(u,v,n){var d=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),M,S=d.length;for(M=0;M<S;M+=1)n&&d[M].setAttribute("data-bm-type",n),o(d[M],u);if(v&&S===0){n||(n="svg");var H=document.getElementsByTagName("body")[0];H.innerText="";var V=Lt("div");V.style.width="100%",V.style.height="100%",V.setAttribute("data-bm-type",n),H.appendChild(V),o(V,u)}}function I(){var u;for(u=0;u<s;u+=1)e[u].animation.resize()}function O(){!h&&r&&a&&(window.requestAnimationFrame(p),a=!1)}function N(){h=!0}function R(){h=!1,O()}function B(u,v){var n;for(n=0;n<s;n+=1)e[n].animation.setVolume(u,v)}function D(u){var v;for(v=0;v<s;v+=1)e[v].animation.mute(u)}function E(u){var v;for(v=0;v<s;v+=1)e[v].animation.unmute(u)}return t.registerAnimation=o,t.loadAnimation=P,t.setSpeed=A,t.setDirection=k,t.play=C,t.pause=l,t.stop=y,t.togglePause=x,t.searchAnimations=F,t.resize=I,t.goToAndStop=m,t.destroy=T,t.freeze=N,t.unfreeze=R,t.setVolume=B,t.mute=D,t.unmute=E,t.getRegisteredAnimations=b,t}(),fe=function(){var t={};t.getBezierEasing=i;var e={};function i(p,l,m,y,x){var T=x||("bez_"+p+"_"+l+"_"+m+"_"+y).replace(/\./g,"p");if(e[T])return e[T];var F=new g([p,l,m,y]);return e[T]=F,F}var s=4,r=.001,a=1e-7,h=10,c=11,o=1/(c-1),b=typeof Float32Array=="function";function _(p,l){return 1-3*l+3*p}function w(p,l){return 3*l-6*p}function f(p){return 3*p}function P(p,l,m){return((_(l,m)*p+w(l,m))*p+f(l))*p}function A(p,l,m){return 3*_(l,m)*p*p+2*w(l,m)*p+f(l)}function k(p,l,m,y,x){var T,F,I=0;do F=l+(m-l)/2,T=P(F,y,x)-p,T>0?m=F:l=F;while(Math.abs(T)>a&&++I<h);return F}function C(p,l,m,y){for(var x=0;x<s;++x){var T=A(l,m,y);if(T===0)return l;var F=P(l,m,y)-p;l-=F/T}return l}function g(p){this._p=p,this._mSampleValues=b?new Float32Array(c):new Array(c),this._precomputed=!1,this.get=this.get.bind(this)}return g.prototype={get:function(p){var l=this._p[0],m=this._p[1],y=this._p[2],x=this._p[3];return this._precomputed||this._precompute(),l===m&&y===x?p:p===0?0:p===1?1:P(this._getTForX(p),m,x)},_precompute:function(){var p=this._p[0],l=this._p[1],m=this._p[2],y=this._p[3];this._precomputed=!0,(p!==l||m!==y)&&this._calcSampleValues()},_calcSampleValues:function(){for(var p=this._p[0],l=this._p[2],m=0;m<c;++m)this._mSampleValues[m]=P(m*o,p,l)},_getTForX:function(p){for(var l=this._p[0],m=this._p[2],y=this._mSampleValues,x=0,T=1,F=c-1;T!==F&&y[T]<=p;++T)x+=o;--T;var I=(p-y[T])/(y[T+1]-y[T]),O=x+I*o,N=A(O,l,m);return N>=r?C(p,O,l,m):N===0?O:k(p,x,x+o,l,m)}},t}(),_i=function(){function t(e){return e.concat(tt(e.length))}return{double:t}}(),Te=function(){return function(t,e,i){var s=0,r=t,a=tt(r),h={newElement:c,release:o};function c(){var b;return s?(s-=1,b=a[s]):b=e(),b}function o(b){s===r&&(a=_i.double(a),r*=2),i&&i(b),a[s]=b,s+=1}return h}}(),ki=function(){function t(){return{addedLength:0,percents:st("float32",xe()),lengths:st("float32",xe())}}return Te(8,t)}(),Pi=function(){function t(){return{lengths:[],totalLength:0}}function e(i){var s,r=i.lengths.length;for(s=0;s<r;s+=1)ki.release(i.lengths[s]);i.lengths.length=0}return Te(8,t,e)}();function Ps(){var t=Math;function e(f,P,A,k,C,g){var p=f*k+P*C+A*g-C*k-g*f-A*P;return p>-.001&&p<.001}function i(f,P,A,k,C,g,p,l,m){if(A===0&&g===0&&m===0)return e(f,P,k,C,p,l);var y=t.sqrt(t.pow(k-f,2)+t.pow(C-P,2)+t.pow(g-A,2)),x=t.sqrt(t.pow(p-f,2)+t.pow(l-P,2)+t.pow(m-A,2)),T=t.sqrt(t.pow(p-k,2)+t.pow(l-C,2)+t.pow(m-g,2)),F;return y>x?y>T?F=y-x-T:F=T-x-y:T>x?F=T-x-y:F=x-y-T,F>-1e-4&&F<1e-4}var s=function(){return function(f,P,A,k){var C=xe(),g,p,l,m,y,x=0,T,F=[],I=[],O=ki.newElement();for(l=A.length,g=0;g<C;g+=1){for(y=g/(C-1),T=0,p=0;p<l;p+=1)m=Pt(1-y,3)*f[p]+3*Pt(1-y,2)*y*A[p]+3*(1-y)*Pt(y,2)*k[p]+Pt(y,3)*P[p],F[p]=m,I[p]!==null&&(T+=Pt(F[p]-I[p],2)),I[p]=F[p];T&&(T=pi(T),x+=T),O.percents[g]=y,O.lengths[g]=x}return O.addedLength=x,O}}();function r(f){var P=Pi.newElement(),A=f.c,k=f.v,C=f.o,g=f.i,p,l=f._length,m=P.lengths,y=0;for(p=0;p<l-1;p+=1)m[p]=s(k[p],k[p+1],C[p],g[p+1]),y+=m[p].addedLength;return A&&l&&(m[p]=s(k[p],k[0],C[p],g[0]),y+=m[p].addedLength),P.totalLength=y,P}function a(f){this.segmentLength=0,this.points=new Array(f)}function h(f,P){this.partialLength=f,this.point=P}var c=function(){var f={};return function(P,A,k,C){var g=(P[0]+"_"+P[1]+"_"+A[0]+"_"+A[1]+"_"+k[0]+"_"+k[1]+"_"+C[0]+"_"+C[1]).replace(/\./g,"p");if(!f[g]){var p=xe(),l,m,y,x,T,F=0,I,O,N=null;P.length===2&&(P[0]!==A[0]||P[1]!==A[1])&&e(P[0],P[1],A[0],A[1],P[0]+k[0],P[1]+k[1])&&e(P[0],P[1],A[0],A[1],A[0]+C[0],A[1]+C[1])&&(p=2);var R=new a(p);for(y=k.length,l=0;l<p;l+=1){for(O=tt(y),T=l/(p-1),I=0,m=0;m<y;m+=1)x=Pt(1-T,3)*P[m]+3*Pt(1-T,2)*T*(P[m]+k[m])+3*(1-T)*Pt(T,2)*(A[m]+C[m])+Pt(T,3)*A[m],O[m]=x,N!==null&&(I+=Pt(O[m]-N[m],2));I=pi(I),F+=I,R.points[l]=new h(I,O),N=O}R.segmentLength=F,f[g]=R}return f[g]}}();function o(f,P){var A=P.percents,k=P.lengths,C=A.length,g=Wt((C-1)*f),p=f*P.addedLength,l=0;if(g===C-1||g===0||p===k[g])return A[g];for(var m=k[g]>p?-1:1,y=!0;y;)if(k[g]<=p&&k[g+1]>p?(l=(p-k[g])/(k[g+1]-k[g]),y=!1):g+=m,g<0||g>=C-1){if(g===C-1)return A[g];y=!1}return A[g]+(A[g+1]-A[g])*l}function b(f,P,A,k,C,g){var p=o(C,g),l=1-p,m=t.round((l*l*l*f[0]+(p*l*l+l*p*l+l*l*p)*A[0]+(p*p*l+l*p*p+p*l*p)*k[0]+p*p*p*P[0])*1e3)/1e3,y=t.round((l*l*l*f[1]+(p*l*l+l*p*l+l*l*p)*A[1]+(p*p*l+l*p*p+p*l*p)*k[1]+p*p*p*P[1])*1e3)/1e3;return[m,y]}var _=st("float32",8);function w(f,P,A,k,C,g,p){C<0?C=0:C>1&&(C=1);var l=o(C,p);g=g>1?1:g;var m=o(g,p),y,x=f.length,T=1-l,F=1-m,I=T*T*T,O=l*T*T*3,N=l*l*T*3,R=l*l*l,B=T*T*F,D=l*T*F+T*l*F+T*T*m,E=l*l*F+T*l*m+l*T*m,u=l*l*m,v=T*F*F,n=l*F*F+T*m*F+T*F*m,d=l*m*F+T*m*m+l*F*m,M=l*m*m,S=F*F*F,H=m*F*F+F*m*F+F*F*m,V=m*m*F+F*m*m+m*F*m,G=m*m*m;for(y=0;y<x;y+=1)_[y*4]=t.round((I*f[y]+O*A[y]+N*k[y]+R*P[y])*1e3)/1e3,_[y*4+1]=t.round((B*f[y]+D*A[y]+E*k[y]+u*P[y])*1e3)/1e3,_[y*4+2]=t.round((v*f[y]+n*A[y]+d*k[y]+M*P[y])*1e3)/1e3,_[y*4+3]=t.round((S*f[y]+H*A[y]+V*k[y]+G*P[y])*1e3)/1e3;return _}return{getSegmentsLength:r,getNewSegment:w,getPointInSegment:b,buildBezierData:c,pointOnLine2D:e,pointOnLine3D:i}}var wt=Ps(),Ut=Ye,wi=Math.abs;function Ai(t,e){var i=this.offsetTime,s;this.propType==="multidimensional"&&(s=st("float32",this.pv.length));for(var r=e.lastIndex,a=r,h=this.keyframes.length-1,c=!0,o,b,_;c;){if(o=this.keyframes[a],b=this.keyframes[a+1],a===h-1&&t>=b.t-i){o.h&&(o=b),r=0;break}if(b.t-i>t){r=a;break}a<h-1?a+=1:(r=0,c=!1)}_=this.keyframesMetadata[a]||{};var w,f,P,A,k,C,g=b.t-i,p=o.t-i,l;if(o.to){_.bezierData||(_.bezierData=wt.buildBezierData(o.s,b.s||o.e,o.to,o.ti));var m=_.bezierData;if(t>=g||t<p){var y=t>=g?m.points.length-1:0;for(f=m.points[y].point.length,w=0;w<f;w+=1)s[w]=m.points[y].point[w]}else{_.__fnct?C=_.__fnct:(C=fe.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,_.__fnct=C),P=C((t-p)/(g-p));var x=m.segmentLength*P,T,F=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(k=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,c=!0,A=m.points.length;c;){if(F+=m.points[k].partialLength,x===0||P===0||k===m.points.length-1){for(f=m.points[k].point.length,w=0;w<f;w+=1)s[w]=m.points[k].point[w];break}else if(x>=F&&x<F+m.points[k+1].partialLength){for(T=(x-F)/m.points[k+1].partialLength,f=m.points[k].point.length,w=0;w<f;w+=1)s[w]=m.points[k].point[w]+(m.points[k+1].point[w]-m.points[k].point[w])*T;break}k<A-1?k+=1:c=!1}e._lastPoint=k,e._lastAddedLength=F-m.points[k].partialLength,e._lastKeyframeIndex=a}}else{var I,O,N,R,B;if(h=o.s.length,l=b.s||o.e,this.sh&&o.h!==1)if(t>=g)s[0]=l[0],s[1]=l[1],s[2]=l[2];else if(t<=p)s[0]=o.s[0],s[1]=o.s[1],s[2]=o.s[2];else{var D=Si(o.s),E=Si(l),u=(t-p)/(g-p);As(s,ws(D,E,u))}else for(a=0;a<h;a+=1)o.h!==1&&(t>=g?P=1:t<p?P=0:(o.o.x.constructor===Array?(_.__fnct||(_.__fnct=[]),_.__fnct[a]?C=_.__fnct[a]:(I=o.o.x[a]===void 0?o.o.x[0]:o.o.x[a],O=o.o.y[a]===void 0?o.o.y[0]:o.o.y[a],N=o.i.x[a]===void 0?o.i.x[0]:o.i.x[a],R=o.i.y[a]===void 0?o.i.y[0]:o.i.y[a],C=fe.getBezierEasing(I,O,N,R).get,_.__fnct[a]=C)):_.__fnct?C=_.__fnct:(I=o.o.x,O=o.o.y,N=o.i.x,R=o.i.y,C=fe.getBezierEasing(I,O,N,R).get,o.keyframeMetadata=C),P=C((t-p)/(g-p)))),l=b.s||o.e,B=o.h===1?o.s[a]:o.s[a]+(l[a]-o.s[a])*P,this.propType==="multidimensional"?s[a]=B:s=B}return e.lastIndex=r,s}function ws(t,e,i){var s=[],r=t[0],a=t[1],h=t[2],c=t[3],o=e[0],b=e[1],_=e[2],w=e[3],f,P,A,k,C;return P=r*o+a*b+h*_+c*w,P<0&&(P=-P,o=-o,b=-b,_=-_,w=-w),1-P>1e-6?(f=Math.acos(P),A=Math.sin(f),k=Math.sin((1-i)*f)/A,C=Math.sin(i*f)/A):(k=1-i,C=i),s[0]=k*r+C*o,s[1]=k*a+C*b,s[2]=k*h+C*_,s[3]=k*c+C*w,s}function As(t,e){var i=e[0],s=e[1],r=e[2],a=e[3],h=Math.atan2(2*s*a-2*i*r,1-2*s*s-2*r*r),c=Math.asin(2*i*s+2*r*a),o=Math.atan2(2*i*a-2*s*r,1-2*i*i-2*r*r);t[0]=h/J,t[1]=c/J,t[2]=o/J}function Si(t){var e=t[0]*J,i=t[1]*J,s=t[2]*J,r=Math.cos(e/2),a=Math.cos(i/2),h=Math.cos(s/2),c=Math.sin(e/2),o=Math.sin(i/2),b=Math.sin(s/2),_=r*a*h-c*o*b,w=c*o*h+r*a*b,f=c*a*h+r*o*b,P=r*o*h-c*a*b;return[w,f,P,_]}function Ci(){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!==Ut&&(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 s=this.interpolateValue(t,this._caching);this.pv=s}return this._caching.lastFrame=t,this.pv}function Fe(t){var e;if(this.propType==="unidimensional")e=t*this.mult,wi(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var i=0,s=this.v.length;i<s;)e=t[i]*this.mult,wi(this.v[i]-e)>1e-5&&(this.v[i]=e,this._mdf=!0),i+=1}function De(){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 Ee(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function Ss(t,e,i,s){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=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=De,this.setVValue=Fe,this.addEffect=Ee}function Cs(t,e,i,s){this.propType="multidimensional",this.mult=i||1,this.data=e,this._mdf=!1,this.elem=t,this.container=s,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var r,a=e.k.length;for(this.v=st("float32",a),this.pv=st("float32",a),this.vel=st("float32",a),r=0;r<a;r+=1)this.v[r]=e.k[r]*this.mult,this.pv[r]=e.k[r];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=De,this.setVValue=Fe,this.addEffect=Ee}function xs(t,e,i,s){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:Ut,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=i||1,this.elem=t,this.container=s,this.comp=t.comp,this.v=Ut,this.pv=Ut,this._isFirstFrame=!0,this.getValue=De,this.setVValue=Fe,this.interpolateValue=Ai,this.effectsSequence=[Ci.bind(this)],this.addEffect=Ee}function Ms(t,e,i,s){this.propType="multidimensional";var r,a=e.k.length,h,c,o,b;for(r=0;r<a-1;r+=1)e.k[r].to&&e.k[r].s&&e.k[r+1]&&e.k[r+1].s&&(h=e.k[r].s,c=e.k[r+1].s,o=e.k[r].to,b=e.k[r].ti,(h.length===2&&!(h[0]===c[0]&&h[1]===c[1])&&wt.pointOnLine2D(h[0],h[1],c[0],c[1],h[0]+o[0],h[1]+o[1])&&wt.pointOnLine2D(h[0],h[1],c[0],c[1],c[0]+b[0],c[1]+b[1])||h.length===3&&!(h[0]===c[0]&&h[1]===c[1]&&h[2]===c[2])&&wt.pointOnLine3D(h[0],h[1],h[2],c[0],c[1],c[2],h[0]+o[0],h[1]+o[1],h[2]+o[2])&&wt.pointOnLine3D(h[0],h[1],h[2],c[0],c[1],c[2],c[0]+b[0],c[1]+b[1],c[2]+b[2]))&&(e.k[r].to=null,e.k[r].ti=null),h[0]===c[0]&&h[1]===c[1]&&o[0]===0&&o[1]===0&&b[0]===0&&b[1]===0&&(h.length===2||h[2]===c[2]&&o[2]===0&&b[2]===0)&&(e.k[r].to=null,e.k[r].ti=null));this.effectsSequence=[Ci.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=s,this.comp=t.comp,this.getValue=De,this.setVValue=Fe,this.interpolateValue=Ai,this.frameId=-1;var _=e.k[0].s.length;for(this.v=st("float32",_),this.pv=st("float32",_),r=0;r<_;r+=1)this.v[r]=Ut,this.pv[r]=Ut;this._caching={lastFrame:Ut,lastIndex:0,value:st("float32",_)},this.addEffect=Ee}var L=function(){function t(i,s,r,a,h){s.sid&&(s=i.globalData.slotManager.getProp(s));var c;if(!s.k.length)c=new Ss(i,s,a,h);else if(typeof s.k[0]=="number")c=new Cs(i,s,a,h);else switch(r){case 0:c=new xs(i,s,a,h);break;case 1:c=new Ms(i,s,a,h);break}return c.effectsSequence.length&&h.addDynamicProperty(c),c}var e={getProp:t};return e}();function at(){}at.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 Xt=function(){function t(){return st("float32",2)}return Te(8,t)}();function xt(){this.c=!1,this._length=0,this._maxLength=8,this.v=tt(this._maxLength),this.o=tt(this._maxLength),this.i=tt(this._maxLength)}xt.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var i=0;i<e;)this.v[i]=Xt.newElement(),this.o[i]=Xt.newElement(),this.i[i]=Xt.newElement(),i+=1},xt.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},xt.prototype.doubleArrayLength=function(){this.v=this.v.concat(tt(this._maxLength)),this.i=this.i.concat(tt(this._maxLength)),this.o=this.o.concat(tt(this._maxLength)),this._maxLength*=2},xt.prototype.setXYAt=function(t,e,i,s,r){var a;switch(this._length=Math.max(this._length,s+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[s]||a[s]&&!r)&&(a[s]=Xt.newElement()),a[s][0]=t,a[s][1]=e},xt.prototype.setTripleAt=function(t,e,i,s,r,a,h,c){this.setXYAt(t,e,"v",h,c),this.setXYAt(i,s,"o",h,c),this.setXYAt(r,a,"i",h,c)},xt.prototype.reverse=function(){var t=new xt;t.setPathData(this.c,this._length);var e=this.v,i=this.o,s=this.i,r=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],s[0][0],s[0][1],i[0][0],i[0][1],0,!1),r=1);var a=this._length-1,h=this._length,c;for(c=r;c<h;c+=1)t.setTripleAt(e[a][0],e[a][1],s[a][0],s[a][1],i[a][0],i[a][1],c,!1),a-=1;return t},xt.prototype.length=function(){return this._length};var nt=function(){function t(){return new xt}function e(r){var a=r._length,h;for(h=0;h<a;h+=1)Xt.release(r.v[h]),Xt.release(r.i[h]),Xt.release(r.o[h]),r.v[h]=null,r.i[h]=null,r.o[h]=null;r._length=0,r.c=!1}function i(r){var a=s.newElement(),h,c=r._length===void 0?r.v.length:r._length;for(a.setLength(c),a.c=r.c,h=0;h<c;h+=1)a.setTripleAt(r.v[h][0],r.v[h][1],r.o[h][0],r.o[h][1],r.i[h][0],r.i[h][1],h);return a}var s=Te(4,t,e);return s.clone=i,s}();function Xe(){this._length=0,this._maxLength=4,this.shapes=tt(this._maxLength)}Xe.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(tt(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},Xe.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)nt.release(this.shapes[t]);this._length=0};var te=function(){var t={newShapeCollection:r,release:a},e=0,i=4,s=tt(i);function r(){var h;return e?(e-=1,h=s[e]):h=new Xe,h}function a(h){var c,o=h._length;for(c=0;c<o;c+=1)nt.release(h.shapes[c]);h._length=0,e===i&&(s=_i.double(s),i*=2),s[e]=h,e+=1}return t}(),Ie=function(){var t=-999999;function e(g,p,l){var m=l.lastIndex,y,x,T,F,I,O,N,R,B,D=this.keyframes;if(g<D[0].t-this.offsetTime)y=D[0].s[0],T=!0,m=0;else if(g>=D[D.length-1].t-this.offsetTime)y=D[D.length-1].s?D[D.length-1].s[0]:D[D.length-2].e[0],T=!0;else{for(var E=m,u=D.length-1,v=!0,n,d,M;v&&(n=D[E],d=D[E+1],!(d.t-this.offsetTime>g));)E<u-1?E+=1:v=!1;if(M=this.keyframesMetadata[E]||{},T=n.h===1,m=E,!T){if(g>=d.t-this.offsetTime)R=1;else if(g<n.t-this.offsetTime)R=0;else{var S;M.__fnct?S=M.__fnct:(S=fe.getBezierEasing(n.o.x,n.o.y,n.i.x,n.i.y).get,M.__fnct=S),R=S((g-(n.t-this.offsetTime))/(d.t-this.offsetTime-(n.t-this.offsetTime)))}x=d.s?d.s[0]:n.e[0]}y=n.s[0]}for(O=p._length,N=y.i[0].length,l.lastIndex=m,F=0;F<O;F+=1)for(I=0;I<N;I+=1)B=T?y.i[F][I]:y.i[F][I]+(x.i[F][I]-y.i[F][I])*R,p.i[F][I]=B,B=T?y.o[F][I]:y.o[F][I]+(x.o[F][I]-y.o[F][I])*R,p.o[F][I]=B,B=T?y.v[F][I]:y.v[F][I]+(x.v[F][I]-y.v[F][I])*R,p.v[F][I]=B}function i(){var g=this.comp.renderedFrame-this.offsetTime,p=this.keyframes[0].t-this.offsetTime,l=this.keyframes[this.keyframes.length-1].t-this.offsetTime,m=this._caching.lastFrame;return m!==t&&(m<p&&g<p||m>l&&g>l)||(this._caching.lastIndex=m<g?this._caching.lastIndex:0,this.interpolateShape(g,this.pv,this._caching)),this._caching.lastFrame=g,this.pv}function s(){this.paths=this.localShapeCollection}function r(g,p){if(g._length!==p._length||g.c!==p.c)return!1;var l,m=g._length;for(l=0;l<m;l+=1)if(g.v[l][0]!==p.v[l][0]||g.v[l][1]!==p.v[l][1]||g.o[l][0]!==p.o[l][0]||g.o[l][1]!==p.o[l][1]||g.i[l][0]!==p.i[l][0]||g.i[l][1]!==p.i[l][1])return!1;return!0}function a(g){r(this.v,g)||(this.v=nt.clone(g),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function h(){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 g;this.kf?g=this.pv:this.data.ks?g=this.data.ks.k:g=this.data.pt.k;var p,l=this.effectsSequence.length;for(p=0;p<l;p+=1)g=this.effectsSequence[p](g);this.setVValue(g),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function c(g,p,l){this.propType="shape",this.comp=g.comp,this.container=g,this.elem=g,this.data=p,this.k=!1,this.kf=!1,this._mdf=!1;var m=l===3?p.pt.k:p.ks.k;this.v=nt.clone(m),this.pv=nt.clone(this.v),this.localShapeCollection=te.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function o(g){this.effectsSequence.push(g),this.container.addDynamicProperty(this)}c.prototype.interpolateShape=e,c.prototype.getValue=h,c.prototype.setVValue=a,c.prototype.addEffect=o;function b(g,p,l){this.propType="shape",this.comp=g.comp,this.elem=g,this.container=g,this.offsetTime=g.data.st,this.keyframes=l===3?p.pt.k:p.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var m=this.keyframes[0].s[0].i.length;this.v=nt.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,m),this.pv=nt.clone(this.v),this.localShapeCollection=te.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=s,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[i.bind(this)]}b.prototype.getValue=h,b.prototype.interpolateShape=e,b.prototype.setVValue=a,b.prototype.addEffect=o;var _=function(){var g=Rt;function p(l,m){this.v=nt.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=te.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=m.d,this.elem=l,this.comp=l.comp,this.frameId=-1,this.initDynamicPropertyContainer(l),this.p=L.getProp(l,m.p,1,0,this),this.s=L.getProp(l,m.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return p.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var l=this.p.v[0],m=this.p.v[1],y=this.s.v[0]/2,x=this.s.v[1]/2,T=this.d!==3,F=this.v;F.v[0][0]=l,F.v[0][1]=m-x,F.v[1][0]=T?l+y:l-y,F.v[1][1]=m,F.v[2][0]=l,F.v[2][1]=m+x,F.v[3][0]=T?l-y:l+y,F.v[3][1]=m,F.i[0][0]=T?l-y*g:l+y*g,F.i[0][1]=m-x,F.i[1][0]=T?l+y:l-y,F.i[1][1]=m-x*g,F.i[2][0]=T?l+y*g:l-y*g,F.i[2][1]=m+x,F.i[3][0]=T?l-y:l+y,F.i[3][1]=m+x*g,F.o[0][0]=T?l+y*g:l-y*g,F.o[0][1]=m-x,F.o[1][0]=T?l+y:l-y,F.o[1][1]=m+x*g,F.o[2][0]=T?l-y*g:l+y*g,F.o[2][1]=m+x,F.o[3][0]=T?l-y:l+y,F.o[3][1]=m-x*g}},W([at],p),p}(),w=function(){function g(p,l){this.v=nt.newElement(),this.v.setPathData(!0,0),this.elem=p,this.comp=p.comp,this.data=l,this.frameId=-1,this.d=l.d,this.initDynamicPropertyContainer(p),l.sy===1?(this.ir=L.getProp(p,l.ir,0,0,this),this.is=L.getProp(p,l.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=L.getProp(p,l.pt,0,0,this),this.p=L.getProp(p,l.p,1,0,this),this.r=L.getProp(p,l.r,0,J,this),this.or=L.getProp(p,l.or,0,0,this),this.os=L.getProp(p,l.os,0,.01,this),this.localShapeCollection=te.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return g.prototype={reset:s,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var p=Math.floor(this.pt.v)*2,l=Math.PI*2/p,m=!0,y=this.or.v,x=this.ir.v,T=this.os.v,F=this.is.v,I=2*Math.PI*y/(p*2),O=2*Math.PI*x/(p*2),N,R,B,D,E=-Math.PI/2;E+=this.r.v;var u=this.data.d===3?-1:1;for(this.v._length=0,N=0;N<p;N+=1){R=m?y:x,B=m?T:F,D=m?I:O;var v=R*Math.cos(E),n=R*Math.sin(E),d=v===0&&n===0?0:n/Math.sqrt(v*v+n*n),M=v===0&&n===0?0:-v/Math.sqrt(v*v+n*n);v+=+this.p.v[0],n+=+this.p.v[1],this.v.setTripleAt(v,n,v-d*D*B*u,n-M*D*B*u,v+d*D*B*u,n+M*D*B*u,N,!0),m=!m,E+=l*u}},convertPolygonToPath:function(){var p=Math.floor(this.pt.v),l=Math.PI*2/p,m=this.or.v,y=this.os.v,x=2*Math.PI*m/(p*4),T,F=-Math.PI*.5,I=this.data.d===3?-1:1;for(F+=this.r.v,this.v._length=0,T=0;T<p;T+=1){var O=m*Math.cos(F),N=m*Math.sin(F),R=O===0&&N===0?0:N/Math.sqrt(O*O+N*N),B=O===0&&N===0?0:-O/Math.sqrt(O*O+N*N);O+=+this.p.v[0],N+=+this.p.v[1],this.v.setTripleAt(O,N,O-R*x*y*I,N-B*x*y*I,O+R*x*y*I,N+B*x*y*I,T,!0),F+=l*I}this.paths.length=0,this.paths[0]=this.v}},W([at],g),g}(),f=function(){function g(p,l){this.v=nt.newElement(),this.v.c=!0,this.localShapeCollection=te.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=p,this.comp=p.comp,this.frameId=-1,this.d=l.d,this.initDynamicPropertyContainer(p),this.p=L.getProp(p,l.p,1,0,this),this.s=L.getProp(p,l.s,1,0,this),this.r=L.getProp(p,l.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return g.prototype={convertRectToPath:function(){var p=this.p.v[0],l=this.p.v[1],m=this.s.v[0]/2,y=this.s.v[1]/2,x=ls(m,y,this.r.v),T=x*(1-Rt);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(p+m,l-y+x,p+m,l-y+x,p+m,l-y+T,0,!0),this.v.setTripleAt(p+m,l+y-x,p+m,l+y-T,p+m,l+y-x,1,!0),x!==0?(this.v.setTripleAt(p+m-x,l+y,p+m-x,l+y,p+m-T,l+y,2,!0),this.v.setTripleAt(p-m+x,l+y,p-m+T,l+y,p-m+x,l+y,3,!0),this.v.setTripleAt(p-m,l+y-x,p-m,l+y-x,p-m,l+y-T,4,!0),this.v.setTripleAt(p-m,l-y+x,p-m,l-y+T,p-m,l-y+x,5,!0),this.v.setTripleAt(p-m+x,l-y,p-m+x,l-y,p-m+T,l-y,6,!0),this.v.setTripleAt(p+m-x,l-y,p+m-T,l-y,p+m-x,l-y,7,!0)):(this.v.setTripleAt(p-m,l+y,p-m+T,l+y,p-m,l+y,2),this.v.setTripleAt(p-m,l-y,p-m,l-y+T,p-m,l-y,3))):(this.v.setTripleAt(p+m,l-y+x,p+m,l-y+T,p+m,l-y+x,0,!0),x!==0?(this.v.setTripleAt(p+m-x,l-y,p+m-x,l-y,p+m-T,l-y,1,!0),this.v.setTripleAt(p-m+x,l-y,p-m+T,l-y,p-m+x,l-y,2,!0),this.v.setTripleAt(p-m,l-y+x,p-m,l-y+x,p-m,l-y+T,3,!0),this.v.setTripleAt(p-m,l+y-x,p-m,l+y-T,p-m,l+y-x,4,!0),this.v.setTripleAt(p-m+x,l+y,p-m+x,l+y,p-m+T,l+y,5,!0),this.v.setTripleAt(p+m-x,l+y,p+m-T,l+y,p+m-x,l+y,6,!0),this.v.setTripleAt(p+m,l+y-x,p+m,l+y-x,p+m,l+y-T,7,!0)):(this.v.setTripleAt(p-m,l-y,p-m+T,l-y,p-m,l-y,1,!0),this.v.setTripleAt(p-m,l+y,p-m,l+y-T,p-m,l+y,2,!0),this.v.setTripleAt(p+m,l+y,p+m-T,l+y,p+m,l+y,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},W([at],g),g}();function P(g,p,l){var m;if(l===3||l===4){var y=l===3?p.pt:p.ks,x=y.k;x.length?m=new b(g,p,l):m=new c(g,p,l)}else l===5?m=new f(g,p):l===6?m=new _(g,p):l===7&&(m=new w(g,p));return m.k&&g.addDynamicProperty(m),m}function A(){return c}function k(){return b}var C={};return C.getShapeProp=P,C.getConstructorFunction=A,C.getKeyframedConstructorFunction=k,C}(),ot=function(){var t=Math.cos,e=Math.sin,i=Math.tan,s=Math.round;function r(){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(n){if(n===0)return this;var d=t(n),M=e(n);return this._t(d,-M,0,0,M,d,0,0,0,0,1,0,0,0,0,1)}function h(n){if(n===0)return this;var d=t(n),M=e(n);return this._t(1,0,0,0,0,d,-M,0,0,M,d,0,0,0,0,1)}function c(n){if(n===0)return this;var d=t(n),M=e(n);return this._t(d,0,M,0,0,1,0,0,-M,0,d,0,0,0,0,1)}function o(n){if(n===0)return this;var d=t(n),M=e(n);return this._t(d,-M,0,0,M,d,0,0,0,0,1,0,0,0,0,1)}function b(n,d){return this._t(1,d,n,1,0,0)}function _(n,d){return this.shear(i(n),i(d))}function w(n,d){var M=t(d),S=e(d);return this._t(M,S,0,0,-S,M,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,i(n),1,0,0,0,0,1,0,0,0,0,1)._t(M,-S,0,0,S,M,0,0,0,0,1,0,0,0,0,1)}function f(n,d,M){return!M&&M!==0&&(M=1),n===1&&d===1&&M===1?this:this._t(n,0,0,0,0,d,0,0,0,0,M,0,0,0,0,1)}function P(n,d,M,S,H,V,G,Y,Z,$,mt,St,ct,rt,gt,X){return this.props[0]=n,this.props[1]=d,this.props[2]=M,this.props[3]=S,this.props[4]=H,this.props[5]=V,this.props[6]=G,this.props[7]=Y,this.props[8]=Z,this.props[9]=$,this.props[10]=mt,this.props[11]=St,this.props[12]=ct,this.props[13]=rt,this.props[14]=gt,this.props[15]=X,this}function A(n,d,M){return M=M||0,n!==0||d!==0||M!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,n,d,M,1):this}function k(n,d,M,S,H,V,G,Y,Z,$,mt,St,ct,rt,gt,X){var z=this.props;if(n===1&&d===0&&M===0&&S===0&&H===0&&V===1&&G===0&&Y===0&&Z===0&&$===0&&mt===1&&St===0)return z[12]=z[12]*n+z[15]*ct,z[13]=z[13]*V+z[15]*rt,z[14]=z[14]*mt+z[15]*gt,z[15]*=X,this._identityCalculated=!1,this;var Ft=z[0],jt=z[1],Dt=z[2],Ct=z[3],Et=z[4],It=z[5],ut=z[6],Ht=z[7],Yt=z[8],_t=z[9],Gt=z[10],kt=z[11],Zt=z[12],Be=z[13],qe=z[14],je=z[15];return z[0]=Ft*n+jt*H+Dt*Z+Ct*ct,z[1]=Ft*d+jt*V+Dt*$+Ct*rt,z[2]=Ft*M+jt*G+Dt*mt+Ct*gt,z[3]=Ft*S+jt*Y+Dt*St+Ct*X,z[4]=Et*n+It*H+ut*Z+Ht*ct,z[5]=Et*d+It*V+ut*$+Ht*rt,z[6]=Et*M+It*G+ut*mt+Ht*gt,z[7]=Et*S+It*Y+ut*St+Ht*X,z[8]=Yt*n+_t*H+Gt*Z+kt*ct,z[9]=Yt*d+_t*V+Gt*$+kt*rt,z[10]=Yt*M+_t*G+Gt*mt+kt*gt,z[11]=Yt*S+_t*Y+Gt*St+kt*X,z[12]=Zt*n+Be*H+qe*Z+je*ct,z[13]=Zt*d+Be*V+qe*$+je*rt,z[14]=Zt*M+Be*G+qe*mt+je*gt,z[15]=Zt*S+Be*Y+qe*St+je*X,this._identityCalculated=!1,this}function C(n){var d=n.props;return this.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15])}function g(){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 p(n){for(var d=0;d<16;){if(n.props[d]!==this.props[d])return!1;d+=1}return!0}function l(n){var d;for(d=0;d<16;d+=1)n.props[d]=this.props[d];return n}function m(n){var d;for(d=0;d<16;d+=1)this.props[d]=n[d]}function y(n,d,M){return{x:n*this.props[0]+d*this.props[4]+M*this.props[8]+this.props[12],y:n*this.props[1]+d*this.props[5]+M*this.props[9]+this.props[13],z:n*this.props[2]+d*this.props[6]+M*this.props[10]+this.props[14]}}function x(n,d,M){return n*this.props[0]+d*this.props[4]+M*this.props[8]+this.props[12]}function T(n,d,M){return n*this.props[1]+d*this.props[5]+M*this.props[9]+this.props[13]}function F(n,d,M){return n*this.props[2]+d*this.props[6]+M*this.props[10]+this.props[14]}function I(){var n=this.props[0]*this.props[5]-this.props[1]*this.props[4],d=this.props[5]/n,M=-this.props[1]/n,S=-this.props[4]/n,H=this.props[0]/n,V=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/n,G=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/n,Y=new ot;return Y.props[0]=d,Y.props[1]=M,Y.props[4]=S,Y.props[5]=H,Y.props[12]=V,Y.props[13]=G,Y}function O(n){var d=this.getInverseMatrix();return d.applyToPointArray(n[0],n[1],n[2]||0)}function N(n){var d,M=n.length,S=[];for(d=0;d<M;d+=1)S[d]=O(n[d]);return S}function R(n,d,M){var S=st("float32",6);if(this.isIdentity())S[0]=n[0],S[1]=n[1],S[2]=d[0],S[3]=d[1],S[4]=M[0],S[5]=M[1];else{var H=this.props[0],V=this.props[1],G=this.props[4],Y=this.props[5],Z=this.props[12],$=this.props[13];S[0]=n[0]*H+n[1]*G+Z,S[1]=n[0]*V+n[1]*Y+$,S[2]=d[0]*H+d[1]*G+Z,S[3]=d[0]*V+d[1]*Y+$,S[4]=M[0]*H+M[1]*G+Z,S[5]=M[0]*V+M[1]*Y+$}return S}function B(n,d,M){var S;return this.isIdentity()?S=[n,d,M]:S=[n*this.props[0]+d*this.props[4]+M*this.props[8]+this.props[12],n*this.props[1]+d*this.props[5]+M*this.props[9]+this.props[13],n*this.props[2]+d*this.props[6]+M*this.props[10]+this.props[14]],S}function D(n,d){if(this.isIdentity())return n+","+d;var M=this.props;return Math.round((n*M[0]+d*M[4]+M[12])*100)/100+","+Math.round((n*M[1]+d*M[5]+M[13])*100)/100}function E(){for(var n=0,d=this.props,M="matrix3d(",S=1e4;n<16;)M+=s(d[n]*S)/S,M+=n===15?")":",",n+=1;return M}function u(n){var d=1e4;return n<1e-6&&n>0||n>-1e-6&&n<0?s(n*d)/d:n}function v(){var n=this.props,d=u(n[0]),M=u(n[1]),S=u(n[4]),H=u(n[5]),V=u(n[12]),G=u(n[13]);return"matrix("+d+","+M+","+S+","+H+","+V+","+G+")"}return function(){this.reset=r,this.rotate=a,this.rotateX=h,this.rotateY=c,this.rotateZ=o,this.skew=_,this.skewFromAxis=w,this.shear=b,this.scale=f,this.setTransform=P,this.translate=A,this.transform=k,this.multiply=C,this.applyToPoint=y,this.applyToX=x,this.applyToY=T,this.applyToZ=F,this.applyToPointArray=B,this.applyToTriplePoints=R,this.applyToPointStringified=D,this.toCSS=E,this.to2dCSS=v,this.clone=l,this.cloneFromProps=m,this.equals=p,this.inversePoints=N,this.inversePoint=O,this.getInverseMatrix=I,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=st("float32",16),this.reset()}}();function Le(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Le=function(e){return typeof e}:Le=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Le(t)}var U={};function Ts(t){rs(t)}function xi(){et.searchAnimations()}function Fs(t){ms(t)}function Ds(t){ds(t)}function Es(t){return et.loadAnimation(t)}function Is(t){if(typeof t=="string")switch(t){case"high":Ce(200);break;default:case"medium":Ce(50);break;case"low":Ce(10);break}else!isNaN(t)&&t>1&&Ce(t)}function Ls(){return typeof navigator<"u"}function Rs(t,e){t==="expressions"&&us(e)}function Vs(t){switch(t){case"propertyFactory":return L;case"shapePropertyFactory":return Ie;case"matrix":return ot;default:return null}}U.play=et.play,U.pause=et.pause,U.setLocationHref=Ts,U.togglePause=et.togglePause,U.setSpeed=et.setSpeed,U.setDirection=et.setDirection,U.stop=et.stop,U.searchAnimations=xi,U.registerAnimation=et.registerAnimation,U.loadAnimation=Es,U.setSubframeRendering=Fs,U.resize=et.resize,U.goToAndStop=et.goToAndStop,U.destroy=et.destroy,U.setQuality=Is,U.inBrowser=Ls,U.installPlugin=Rs,U.freeze=et.freeze,U.unfreeze=et.unfreeze,U.setVolume=et.setVolume,U.mute=et.mute,U.unmute=et.unmute,U.getRegisteredAnimations=et.getRegisteredAnimations,U.useWebWorker=ss,U.setIDPrefix=Ds,U.__getFactory=Vs,U.version="5.12.2";function zs(){document.readyState==="complete"&&(clearInterval(Bs),xi())}function Ns(t){for(var e=Mi.split("&"),i=0;i<e.length;i+=1){var s=e[i].split("=");if(decodeURIComponent(s[0])==t)return decodeURIComponent(s[1])}return null}var Mi="";{var Ti=document.getElementsByTagName("script"),Os=Ti.length-1,Fi=Ti[Os]||{src:""};Mi=Fi.src?Fi.src.replace(/^[^\?]+\??/,""):"",Ns("renderer")}var Bs=setInterval(zs,100);try{!((typeof Ae>"u"?"undefined":Le(Ae))==="object"&&typeof He<"u")&&!(typeof define=="function"&&define.amd)&&(window.bodymovin=U)}catch{}var Vt=function(){var t={},e={};t.registerModifier=i,t.getModifier=s;function i(r,a){e[r]||(e[r]=a)}function s(r,a,h){return new e[r](a,h)}return t}();function vt(){}vt.prototype.initModifierProperties=function(){},vt.prototype.addShapeToModifier=function(){},vt.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:te.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},vt.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=Ye,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},vt.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},W([at],vt);function bt(){}W([vt],bt),bt.prototype.initModifierProperties=function(t,e){this.s=L.getProp(t,e.s,0,.01,this),this.e=L.getProp(t,e.e,0,.01,this),this.o=L.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},bt.prototype.addShapeToModifier=function(t){t.pathsData=[]},bt.prototype.calculateShapeEdges=function(t,e,i,s,r){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 h=[],c,o=a.length,b;for(c=0;c<o;c+=1)if(b=a[c],!(b.e*r<s||b.s*r>s+i)){var _,w;b.s*r<=s?_=0:_=(b.s*r-s)/i,b.e*r>=s+i?w=1:w=(b.e*r-s)/i,h.push([_,w])}return h.length||h.push([0,0]),h},bt.prototype.releasePathsData=function(t){var e,i=t.length;for(e=0;e<i;e+=1)Pi.release(t[e]);return t.length=0,t},bt.prototype.processShapes=function(t){var e,i;if(this._mdf||t){var s=this.o.v%360/360;if(s<0&&(s+=1),this.s.v>1?e=1+s:this.s.v<0?e=0+s:e=this.s.v+s,this.e.v>1?i=1+s:this.e.v<0?i=0+s:i=this.e.v+s,e>i){var r=e;e=i,i=r}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,h,c=this.shapes.length,o,b,_,w,f,P=0;if(i===e)for(h=0;h<c;h+=1)this.shapes[h].localShapeCollection.releaseShapes(),this.shapes[h].shape._mdf=!0,this.shapes[h].shape.paths=this.shapes[h].localShapeCollection,this._mdf&&(this.shapes[h].pathsData.length=0);else if(i===1&&e===0||i===0&&e===1){if(this._mdf)for(h=0;h<c;h+=1)this.shapes[h].pathsData.length=0,this.shapes[h].shape._mdf=!0}else{var A=[],k,C;for(h=0;h<c;h+=1)if(k=this.shapes[h],!k.shape._mdf&&!this._mdf&&!t&&this.m!==2)k.shape.paths=k.localShapeCollection;else{if(a=k.shape.paths,b=a._length,f=0,!k.shape._mdf&&k.pathsData.length)f=k.totalShapeLength;else{for(_=this.releasePathsData(k.pathsData),o=0;o<b;o+=1)w=wt.getSegmentsLength(a.shapes[o]),_.push(w),f+=w.totalLength;k.totalShapeLength=f,k.pathsData=_}P+=f,k.shape._mdf=!0}var g=e,p=i,l=0,m;for(h=c-1;h>=0;h-=1)if(k=this.shapes[h],k.shape._mdf){for(C=k.localShapeCollection,C.releaseShapes(),this.m===2&&c>1?(m=this.calculateShapeEdges(e,i,k.totalShapeLength,l,P),l+=k.totalShapeLength):m=[[g,p]],b=m.length,o=0;o<b;o+=1){g=m[o][0],p=m[o][1],A.length=0,p<=1?A.push({s:k.totalShapeLength*g,e:k.totalShapeLength*p}):g>=1?A.push({s:k.totalShapeLength*(g-1),e:k.totalShapeLength*(p-1)}):(A.push({s:k.totalShapeLength*g,e:k.totalShapeLength}),A.push({s:0,e:k.totalShapeLength*(p-1)}));var y=this.addShapes(k,A[0]);if(A[0].s!==A[0].e){if(A.length>1){var x=k.shape.paths.shapes[k.shape.paths._length-1];if(x.c){var T=y.pop();this.addPaths(y,C),y=this.addShapes(k,A[1],T)}else this.addPaths(y,C),y=this.addShapes(k,A[1])}this.addPaths(y,C)}}k.shape.paths=C}}},bt.prototype.addPaths=function(t,e){var i,s=t.length;for(i=0;i<s;i+=1)e.addShape(t[i])},bt.prototype.addSegment=function(t,e,i,s,r,a,h){r.setXYAt(e[0],e[1],"o",a),r.setXYAt(i[0],i[1],"i",a+1),h&&r.setXYAt(t[0],t[1],"v",a),r.setXYAt(s[0],s[1],"v",a+1)},bt.prototype.addSegmentFromArray=function(t,e,i,s){e.setXYAt(t[1],t[5],"o",i),e.setXYAt(t[2],t[6],"i",i+1),s&&e.setXYAt(t[0],t[4],"v",i),e.setXYAt(t[3],t[7],"v",i+1)},bt.prototype.addShapes=function(t,e,i){var s=t.pathsData,r=t.shape.paths.shapes,a,h=t.shape.paths._length,c,o,b=0,_,w,f,P,A=[],k,C=!0;for(i?(w=i._length,k=i._length):(i=nt.newElement(),w=0,k=0),A.push(i),a=0;a<h;a+=1){for(f=s[a].lengths,i.c=r[a].c,o=r[a].c?f.length:f.length+1,c=1;c<o;c+=1)if(_=f[c-1],b+_.addedLength<e.s)b+=_.addedLength,i.c=!1;else if(b>e.e){i.c=!1;break}else e.s<=b&&e.e>=b+_.addedLength?(this.addSegment(r[a].v[c-1],r[a].o[c-1],r[a].i[c],r[a].v[c],i,w,C),C=!1):(P=wt.getNewSegment(r[a].v[c-1],r[a].v[c],r[a].o[c-1],r[a].i[c],(e.s-b)/_.addedLength,(e.e-b)/_.addedLength,f[c-1]),this.addSegmentFromArray(P,i,w,C),C=!1,i.c=!1),b+=_.addedLength,w+=1;if(r[a].c&&f.length){if(_=f[c-1],b<=e.e){var g=f[c-1].addedLength;e.s<=b&&e.e>=b+g?(this.addSegment(r[a].v[c-1],r[a].o[c-1],r[a].i[0],r[a].v[0],i,w,C),C=!1):(P=wt.getNewSegment(r[a].v[c-1],r[a].v[0],r[a].o[c-1],r[a].i[0],(e.s-b)/g,(e.e-b)/g,f[c-1]),this.addSegmentFromArray(P,i,w,C),C=!1,i.c=!1)}else i.c=!1;b+=_.addedLength,w+=1}if(i._length&&(i.setXYAt(i.v[k][0],i.v[k][1],"i",k),i.setXYAt(i.v[i._length-1][0],i.v[i._length-1][1],"o",i._length-1)),b>e.e)break;a<h-1&&(i=nt.newElement(),C=!0,A.push(i),w=0)}return A};function me(){}W([vt],me),me.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=L.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},me.prototype.processPath=function(t,e){var i=e/100,s=[0,0],r=t._length,a=0;for(a=0;a<r;a+=1)s[0]+=t.v[a][0],s[1]+=t.v[a][1];s[0]/=r,s[1]/=r;var h=nt.newElement();h.c=t.c;var c,o,b,_,w,f;for(a=0;a<r;a+=1)c=t.v[a][0]+(s[0]-t.v[a][0])*i,o=t.v[a][1]+(s[1]-t.v[a][1])*i,b=t.o[a][0]+(s[0]-t.o[a][0])*-i,_=t.o[a][1]+(s[1]-t.o[a][1])*-i,w=t.i[a][0]+(s[0]-t.i[a][0])*-i,f=t.i[a][1]+(s[1]-t.i[a][1])*-i,h.setTripleAt(c,o,b,_,w,f,a);return h},me.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,h=this.amount.v;if(h!==0){var c,o;for(i=0;i<s;i+=1){if(c=this.shapes[i],o=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,r=0;r<a;r+=1)o.addShape(this.processPath(e[r],h));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var Ke=function(){var t=[0,0];function e(o){var b=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||b,this.a&&o.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&o.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&o.skewFromAxis(-this.sk.v,this.sa.v),this.r?o.rotate(-this.r.v):o.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?o.translate(this.px.v,this.py.v,-this.pz.v):o.translate(this.px.v,this.py.v,0):o.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function i(o){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||o){var b;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 _,w;if(b=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)/b,0),w=this.p.getValueAtTime(this.p.keyframes[0].t/b,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/b,0),w=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/b,0)):(_=this.p.pv,w=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/b,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){_=[],w=[];var f=this.px,P=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(_[0]=f.getValueAtTime((f.keyframes[0].t+.01)/b,0),_[1]=P.getValueAtTime((P.keyframes[0].t+.01)/b,0),w[0]=f.getValueAtTime(f.keyframes[0].t/b,0),w[1]=P.getValueAtTime(P.keyframes[0].t/b,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(_[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/b,0),_[1]=P.getValueAtTime(P.keyframes[P.keyframes.length-1].t/b,0),w[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/b,0),w[1]=P.getValueAtTime((P.keyframes[P.keyframes.length-1].t-.01)/b,0)):(_=[f.pv,P.pv],w[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/b,f.offsetTime),w[1]=P.getValueAtTime((P._caching.lastFrame+P.offsetTime-.01)/b,P.offsetTime))}else w=t,_=w;this.v.rotate(-Math.atan2(_[1]-w[1],_[0]-w[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 s(){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 r(){}function a(o){this._addDynamicProperty(o),this.elem.addDynamicProperty(o),this._isDirty=!0}function h(o,b,_){if(this.elem=o,this.frameId=-1,this.propType="transform",this.data=b,this.v=new ot,this.pre=new ot,this.appliedTransformations=0,this.initDynamicPropertyContainer(_||o),b.p&&b.p.s?(this.px=L.getProp(o,b.p.x,0,0,this),this.py=L.getProp(o,b.p.y,0,0,this),b.p.z&&(this.pz=L.getProp(o,b.p.z,0,0,this))):this.p=L.getProp(o,b.p||{k:[0,0,0]},1,0,this),b.rx){if(this.rx=L.getProp(o,b.rx,0,J,this),this.ry=L.getProp(o,b.ry,0,J,this),this.rz=L.getProp(o,b.rz,0,J,this),b.or.k[0].ti){var w,f=b.or.k.length;for(w=0;w<f;w+=1)b.or.k[w].to=null,b.or.k[w].ti=null}this.or=L.getProp(o,b.or,1,J,this),this.or.sh=!0}else this.r=L.getProp(o,b.r||{k:0},0,J,this);b.sk&&(this.sk=L.getProp(o,b.sk,0,J,this),this.sa=L.getProp(o,b.sa,0,J,this)),this.a=L.getProp(o,b.a||{k:[0,0,0]},1,0,this),this.s=L.getProp(o,b.s||{k:[100,100,100]},1,.01,this),b.o?this.o=L.getProp(o,b.o,0,.01,o):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}h.prototype={applyToMatrix:e,getValue:i,precalculateMatrix:s,autoOrient:r},W([at],h),h.prototype.addDynamicProperty=a,h.prototype._addDynamicProperty=at.prototype.addDynamicProperty;function c(o,b,_){return new h(o,b,_)}return{getTransformProperty:c}}();function At(){}W([vt],At),At.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=L.getProp(t,e.c,0,null,this),this.o=L.getProp(t,e.o,0,null,this),this.tr=Ke.getTransformProperty(t,e.tr,this),this.so=L.getProp(t,e.tr.so,0,.01,this),this.eo=L.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 ot,this.rMatrix=new ot,this.sMatrix=new ot,this.tMatrix=new ot,this.matrix=new ot},At.prototype.applyTransforms=function(t,e,i,s,r,a){var h=a?-1:1,c=s.s.v[0]+(1-s.s.v[0])*(1-r),o=s.s.v[1]+(1-s.s.v[1])*(1-r);t.translate(s.p.v[0]*h*r,s.p.v[1]*h*r,s.p.v[2]),e.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),e.rotate(-s.r.v*h*r),e.translate(s.a.v[0],s.a.v[1],s.a.v[2]),i.translate(-s.a.v[0],-s.a.v[1],s.a.v[2]),i.scale(a?1/c:c,a?1/o:o),i.translate(s.a.v[0],s.a.v[1],s.a.v[2])},At.prototype.init=function(t,e,i,s){for(this.elem=t,this.arr=e,this.pos=i,this.elemsData=s,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)},At.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)},At.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},At.prototype.changeGroupRender=function(t,e){var i,s=t.length;for(i=0;i<s;i+=1)t[i]._render=e,t[i].ty==="gr"&&this.changeGroupRender(t[i].it,e)},At.prototype.processShapes=function(t){var e,i,s,r,a,h=!1;if(this._mdf||t){var c=Math.ceil(this.c.v);if(this._groups.length<c){for(;this._groups.length<c;){var o={it:this.cloneElements(this._elements),ty:"gr"};o.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,o),this._groups.splice(0,0,o),this._currentCopies+=1}this.elem.reloadShapes(),h=!0}a=0;var b;for(s=0;s<=this._groups.length-1;s+=1){if(b=a<c,this._groups[s]._render=b,this.changeGroupRender(this._groups[s].it,b),!b){var _=this.elemsData[s].it,w=_[_.length-1];w.transform.op.v!==0?(w.transform.op._mdf=!0,w.transform.op.v=0):w.transform.op._mdf=!1}a+=1}this._currentCopies=c;var f=this.o.v,P=f%1,A=f>0?Math.floor(f):Math.ceil(f),k=this.pMatrix.props,C=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var p=0;if(f>0){for(;p<A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),p+=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,P,!1),p+=P)}else if(f<0){for(;p>A;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),p-=1;P&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-P,!0),p-=P)}s=this.data.m===1?0:this._currentCopies-1,r=this.data.m===1?1:-1,a=this._currentCopies;for(var l,m;a;){if(e=this.elemsData[s].it,i=e[e.length-1].transform.mProps.v.props,m=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)*(s/(this._currentCopies-1)),p!==0){for((s!==0&&r===1||s!==this._currentCopies-1&&r===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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]),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]),this.matrix.transform(k[0],k[1],k[2],k[3],k[4],k[5],k[6],k[7],k[8],k[9],k[10],k[11],k[12],k[13],k[14],k[15]),l=0;l<m;l+=1)i[l]=this.matrix.props[l];this.matrix.reset()}else for(this.matrix.reset(),l=0;l<m;l+=1)i[l]=this.matrix.props[l];p+=1,a-=1,s+=r}}else for(a=this._currentCopies,s=0,r=1;a;)e=this.elemsData[s].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,s+=r;return h},At.prototype.addShape=function(){};function ce(){}W([vt],ce),ce.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=L.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},ce.prototype.processPath=function(t,e){var i=nt.newElement();i.c=t.c;var s,r=t._length,a,h,c,o,b,_,w=0,f,P,A,k,C,g;for(s=0;s<r;s+=1)a=t.v[s],c=t.o[s],h=t.i[s],a[0]===c[0]&&a[1]===c[1]&&a[0]===h[0]&&a[1]===h[1]?(s===0||s===r-1)&&!t.c?(i.setTripleAt(a[0],a[1],c[0],c[1],h[0],h[1],w),w+=1):(s===0?o=t.v[r-1]:o=t.v[s-1],b=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),_=b?Math.min(b/2,e)/b:0,C=a[0]+(o[0]-a[0])*_,f=C,g=a[1]-(a[1]-o[1])*_,P=g,A=f-(f-a[0])*Rt,k=P-(P-a[1])*Rt,i.setTripleAt(f,P,A,k,C,g,w),w+=1,s===r-1?o=t.v[0]:o=t.v[s+1],b=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),_=b?Math.min(b/2,e)/b:0,A=a[0]+(o[0]-a[0])*_,f=A,k=a[1]+(o[1]-a[1])*_,P=k,C=f-(f-a[0])*Rt,g=P-(P-a[1])*Rt,i.setTripleAt(f,P,A,k,C,g,w),w+=1):(i.setTripleAt(t.v[s][0],t.v[s][1],t.o[s][0],t.o[s][1],t.i[s][0],t.i[s][1],w),w+=1);return i},ce.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,h=this.rd.v;if(h!==0){var c,o;for(i=0;i<s;i+=1){if(c=this.shapes[i],o=c.localShapeCollection,!(!c.shape._mdf&&!this._mdf&&!t))for(o.releaseShapes(),c.shape._mdf=!0,e=c.shape.paths.shapes,a=c.shape.paths._length,r=0;r<a;r+=1)o.addShape(this.processPath(e[r],h));c.shape.paths=c.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function Re(t,e){return Math.abs(t-e)*1e5<=Math.min(Math.abs(t),Math.abs(e))}function Je(t){return Math.abs(t)<=1e-5}function Di(t,e,i){return t*(1-i)+e*i}function zt(t,e,i){return[Di(t[0],e[0],i),Di(t[1],e[1],i)]}function qs(t,e,i){if(t===0)return[];var s=e*e-4*t*i;if(s<0)return[];var r=-e/(2*t);if(s===0)return[r];var a=Math.sqrt(s)/(2*t);return[r-a,r+a]}function Ei(t,e,i,s){return[-t+3*e-3*i+s,3*t-6*e+3*i,-3*t+3*e,t]}function Ii(t){return new K(t,t,t,t,!1)}function K(t,e,i,s,r){r&&ie(t,e)&&(e=zt(t,s,1/3)),r&&ie(i,s)&&(i=zt(t,s,2/3));var a=Ei(t[0],e[0],i[0],s[0]),h=Ei(t[1],e[1],i[1],s[1]);this.a=[a[0],h[0]],this.b=[a[1],h[1]],this.c=[a[2],h[2]],this.d=[a[3],h[3]],this.points=[t,e,i,s]}K.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]]},K.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]]},K.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},K.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},K.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(Je(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 s=Math.sqrt(i);return Je(s)?s>0&&s<1?[e]:[]:[e-s,e+s].filter(function(r){return r>0&&r<1})},K.prototype.split=function(t){if(t<=0)return[Ii(this.points[0]),this];if(t>=1)return[this,Ii(this.points[this.points.length-1])];var e=zt(this.points[0],this.points[1],t),i=zt(this.points[1],this.points[2],t),s=zt(this.points[2],this.points[3],t),r=zt(e,i,t),a=zt(i,s,t),h=zt(r,a,t);return[new K(this.points[0],e,r,h,!0),new K(h,a,s,this.points[3],!0)]};function Li(t,e){var i=t.points[0][e],s=t.points[t.points.length-1][e];if(i>s){var r=s;s=i,i=r}for(var a=qs(3*t.a[e],2*t.b[e],t.c[e]),h=0;h<a.length;h+=1)if(a[h]>0&&a[h]<1){var c=t.point(a[h])[e];c<i?i=c:c>s&&(s=c)}return{min:i,max:s}}K.prototype.bounds=function(){return{x:Li(this,0),y:Li(this,1)}},K.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 Ve(t,e,i){var s=t.boundingBox();return{cx:s.cx,cy:s.cy,width:s.width,height:s.height,bez:t,t:(e+i)/2,t1:e,t2:i}}function Ri(t){var e=t.bez.split(.5);return[Ve(e[0],t.t1,t.t),Ve(e[1],t.t,t.t2)]}function js(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 ue(t,e,i,s,r,a){if(js(t,e)){if(i>=a||t.width<=s&&t.height<=s&&e.width<=s&&e.height<=s){r.push([t.t,e.t]);return}var h=Ri(t),c=Ri(e);ue(h[0],c[0],i+1,s,r,a),ue(h[0],c[1],i+1,s,r,a),ue(h[1],c[0],i+1,s,r,a),ue(h[1],c[1],i+1,s,r,a)}}K.prototype.intersections=function(t,e,i){e===void 0&&(e=2),i===void 0&&(i=7);var s=[];return ue(Ve(this,0,1),Ve(t,0,1),0,e,s,i),s},K.shapeSegment=function(t,e){var i=(e+1)%t.length();return new K(t.v[e],t.o[e],t.i[i],t.v[i],!0)},K.shapeSegmentInverted=function(t,e){var i=(e+1)%t.length();return new K(t.v[i],t.i[i],t.o[e],t.v[e],!0)};function Qe(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 ze(t,e,i,s){var r=[t[0],t[1],1],a=[e[0],e[1],1],h=[i[0],i[1],1],c=[s[0],s[1],1],o=Qe(Qe(r,a),Qe(h,c));return Je(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function ee(t,e,i){return[t[0]+Math.cos(e)*i,t[1]-Math.sin(e)*i]}function Ze(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function ie(t,e){return Re(t[0],e[0])&&Re(t[1],e[1])}function de(){}W([vt],de),de.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=L.getProp(t,e.s,0,null,this),this.frequency=L.getProp(t,e.r,0,null,this),this.pointsType=L.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 Vi(t,e,i,s,r,a,h){var c=i-Math.PI/2,o=i+Math.PI/2,b=e[0]+Math.cos(i)*s*r,_=e[1]-Math.sin(i)*s*r;t.setTripleAt(b,_,b+Math.cos(c)*a,_-Math.sin(c)*a,b+Math.cos(o)*h,_-Math.sin(o)*h,t.length())}function Hs(t,e){var i=[e[0]-t[0],e[1]-t[1]],s=-Math.PI*.5,r=[Math.cos(s)*i[0]-Math.sin(s)*i[1],Math.sin(s)*i[0]+Math.cos(s)*i[1]];return r}function Ys(t,e){var i=e===0?t.length()-1:e-1,s=(e+1)%t.length(),r=t.v[i],a=t.v[s],h=Hs(r,a);return Math.atan2(0,1)-Math.atan2(h[1],h[0])}function zi(t,e,i,s,r,a,h){var c=Ys(e,i),o=e.v[i%e._length],b=e.v[i===0?e._length-1:i-1],_=e.v[(i+1)%e._length],w=a===2?Math.sqrt(Math.pow(o[0]-b[0],2)+Math.pow(o[1]-b[1],2)):0,f=a===2?Math.sqrt(Math.pow(o[0]-_[0],2)+Math.pow(o[1]-_[1],2)):0;Vi(t,e.v[i%e._length],c,h,s,f/((r+1)*2),w/((r+1)*2))}function Gs(t,e,i,s,r,a){for(var h=0;h<s;h+=1){var c=(h+1)/(s+1),o=r===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,b=e.normalAngle(c),_=e.point(c);Vi(t,_,b,a,i,o/((s+1)*2),o/((s+1)*2)),a=-a}return a}de.prototype.processPath=function(t,e,i,s){var r=t._length,a=nt.newElement();if(a.c=t.c,t.c||(r-=1),r===0)return a;var h=-1,c=K.shapeSegment(t,0);zi(a,t,0,e,i,s,h);for(var o=0;o<r;o+=1)h=Gs(a,c,e,i,s,-h),o===r-1&&!t.c?c=null:c=K.shapeSegment(t,(o+1)%r),zi(a,t,o+1,e,i,s,h);return a},de.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,h=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),o=this.pointsType.v;if(h!==0){var b,_;for(i=0;i<s;i+=1){if(b=this.shapes[i],_=b.localShapeCollection,!(!b.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),b.shape._mdf=!0,e=b.shape.paths.shapes,a=b.shape.paths._length,r=0;r<a;r+=1)_.addShape(this.processPath(e[r],h,c,o));b.shape.paths=b.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function $e(t,e,i){var s=Math.atan2(e[0]-t[0],e[1]-t[1]);return[ee(t,s,i),ee(e,s,i)]}function se(t,e){var i,s,r,a,h,c,o;o=$e(t.points[0],t.points[1],e),i=o[0],s=o[1],o=$e(t.points[1],t.points[2],e),r=o[0],a=o[1],o=$e(t.points[2],t.points[3],e),h=o[0],c=o[1];var b=ze(i,s,r,a);b===null&&(b=s);var _=ze(h,c,r,a);return _===null&&(_=h),new K(i,b,_,c)}function Ni(t,e,i,s,r){var a=e.points[3],h=i.points[0];if(s===3||ie(a,h))return a;if(s===2){var c=-e.tangentAngle(1),o=-i.tangentAngle(0)+Math.PI,b=ze(a,ee(a,c+Math.PI/2,100),h,ee(h,c+Math.PI/2,100)),_=b?Ze(b,a):Ze(a,h)/2,w=ee(a,c,2*_*Rt);return t.setXYAt(w[0],w[1],"o",t.length()-1),w=ee(h,o,2*_*Rt),t.setTripleAt(h[0],h[1],h[0],h[1],w[0],w[1],t.length()),h}var f=ie(a,e.points[2])?e.points[0]:e.points[2],P=ie(h,i.points[1])?i.points[3]:i.points[1],A=ze(f,a,h,P);return A&&Ze(A,a)<r?(t.setTripleAt(A[0],A[1],A[0],A[1],A[0],A[1],t.length()),A):a}function Oi(t,e){var i=t.intersections(e);return i.length&&Re(i[0][0],1)&&i.shift(),i.length?i[0]:null}function Bi(t,e){var i=t.slice(),s=e.slice(),r=Oi(t[t.length-1],e[0]);return r&&(i[t.length-1]=t[t.length-1].split(r[0])[0],s[0]=e[0].split(r[1])[1]),t.length>1&&e.length>1&&(r=Oi(t[0],e[e.length-1]),r)?[[t[0].split(r[0])[0]],[e[e.length-1].split(r[1])[1]]]:[i,s]}function Ws(t){for(var e,i=1;i<t.length;i+=1)e=Bi(t[i-1],t[i]),t[i-1]=e[0],t[i]=e[1];return t.length>1&&(e=Bi(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function qi(t,e){var i=t.inflectionPoints(),s,r,a,h;if(i.length===0)return[se(t,e)];if(i.length===1||Re(i[1],1))return a=t.split(i[0]),s=a[0],r=a[1],[se(s,e),se(r,e)];a=t.split(i[0]),s=a[0];var c=(i[1]-i[0])/(1-i[0]);return a=a[1].split(c),h=a[0],r=a[1],[se(s,e),se(h,e),se(r,e)]}function ge(){}W([vt],ge),ge.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=L.getProp(t,e.a,0,null,this),this.miterLimit=L.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=this.amount.effectsSequence.length!==0},ge.prototype.processPath=function(t,e,i,s){var r=nt.newElement();r.c=t.c;var a=t.length();t.c||(a-=1);var h,c,o,b=[];for(h=0;h<a;h+=1)o=K.shapeSegment(t,h),b.push(qi(o,e));if(!t.c)for(h=a-1;h>=0;h-=1)o=K.shapeSegmentInverted(t,h),b.push(qi(o,e));b=Ws(b);var _=null,w=null;for(h=0;h<b.length;h+=1){var f=b[h];for(w&&(_=Ni(r,w,f[0],i,s)),w=f[f.length-1],c=0;c<f.length;c+=1)o=f[c],_&&ie(o.points[0],_)?r.setXYAt(o.points[1][0],o.points[1][1],"o",r.length()-1):r.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],r.length()),r.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],r.length()),_=o.points[3]}return b.length&&Ni(r,w,b[0][0],i,s),r},ge.prototype.processShapes=function(t){var e,i,s=this.shapes.length,r,a,h=this.amount.v,c=this.miterLimit.v,o=this.lineJoin;if(h!==0){var b,_;for(i=0;i<s;i+=1){if(b=this.shapes[i],_=b.localShapeCollection,!(!b.shape._mdf&&!this._mdf&&!t))for(_.releaseShapes(),b.shape._mdf=!0,e=b.shape.paths.shapes,a=b.shape.paths._length,r=0;r<a;r+=1)_.addShape(this.processPath(e[r],h,o,c));b.shape.paths=b.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function ji(t){for(var e=t.fStyle?t.fStyle.split(" "):[],i="normal",s="normal",r=e.length,a,h=0;h<r;h+=1)switch(a=e[h].toLowerCase(),a){case"italic":s="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:s,weight:t.fWeight||i}}var Kt=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 s=127988,r=917631,a=917601,h=917626,c=65039,o=8205,b=127462,_=127487,w=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(u){var v=u.split(","),n,d=v.length,M=[];for(n=0;n<d;n+=1)v[n]!=="sans-serif"&&v[n]!=="monospace"&&M.push(v[n]);return M.join(",")}function P(u,v){var n=Lt("span");n.setAttribute("aria-hidden",!0),n.style.fontFamily=v;var d=Lt("span");d.innerText="giItT1WQy@!-/#",n.style.position="absolute",n.style.left="-10000px",n.style.top="-10000px",n.style.fontSize="300px",n.style.fontVariant="normal",n.style.fontStyle="normal",n.style.fontWeight="normal",n.style.letterSpacing="0",n.appendChild(d),document.body.appendChild(n);var M=d.offsetWidth;return d.style.fontFamily=f(u)+", "+v,{node:d,w:M,parent:n}}function A(){var u,v=this.fonts.length,n,d,M=v;for(u=0;u<v;u+=1)this.fonts[u].loaded?M-=1:this.fonts[u].fOrigin==="n"||this.fonts[u].origin===0?this.fonts[u].loaded=!0:(n=this.fonts[u].monoCase.node,d=this.fonts[u].monoCase.w,n.offsetWidth!==d?(M-=1,this.fonts[u].loaded=!0):(n=this.fonts[u].sansCase.node,d=this.fonts[u].sansCase.w,n.offsetWidth!==d&&(M-=1,this.fonts[u].loaded=!0)),this.fonts[u].loaded&&(this.fonts[u].sansCase.parent.parentNode.removeChild(this.fonts[u].sansCase.parent),this.fonts[u].monoCase.parent.parentNode.removeChild(this.fonts[u].monoCase.parent)));M!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function k(u,v){var n=document.body&&v?"svg":"canvas",d,M=ji(u);if(n==="svg"){var S=j("text");S.style.fontSize="100px",S.setAttribute("font-family",u.fFamily),S.setAttribute("font-style",M.style),S.setAttribute("font-weight",M.weight),S.textContent="1",u.fClass?(S.style.fontFamily="inherit",S.setAttribute("class",u.fClass)):S.style.fontFamily=u.fFamily,v.appendChild(S),d=S}else{var H=new OffscreenCanvas(500,500).getContext("2d");H.font=M.style+" "+M.weight+" 100px "+u.fFamily,d=H}function V(G){return n==="svg"?(d.textContent=G,d.getComputedTextLength()):d.measureText(G).width}return{measureText:V}}function C(u,v){if(!u){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=u.list;return}if(!document.body){this.isLoaded=!0,u.list.forEach(function(mt){mt.helper=k(mt),mt.cache={}}),this.fonts=u.list;return}var n=u.list,d,M=n.length,S=M;for(d=0;d<M;d+=1){var H=!0,V,G;if(n[d].loaded=!1,n[d].monoCase=P(n[d].fFamily,"monospace"),n[d].sansCase=P(n[d].fFamily,"sans-serif"),!n[d].fPath)n[d].loaded=!0,S-=1;else if(n[d].fOrigin==="p"||n[d].origin===3){if(V=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[d].fFamily+'"], style[f-origin="3"][f-family="'+n[d].fFamily+'"]'),V.length>0&&(H=!1),H){var Y=Lt("style");Y.setAttribute("f-forigin",n[d].fOrigin),Y.setAttribute("f-origin",n[d].origin),Y.setAttribute("f-family",n[d].fFamily),Y.type="text/css",Y.innerText="@font-face {font-family: "+n[d].fFamily+"; font-style: normal; src: url('"+n[d].fPath+"');}",v.appendChild(Y)}}else if(n[d].fOrigin==="g"||n[d].origin===1){for(V=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),G=0;G<V.length;G+=1)V[G].href.indexOf(n[d].fPath)!==-1&&(H=!1);if(H){var Z=Lt("link");Z.setAttribute("f-forigin",n[d].fOrigin),Z.setAttribute("f-origin",n[d].origin),Z.type="text/css",Z.rel="stylesheet",Z.href=n[d].fPath,document.body.appendChild(Z)}}else if(n[d].fOrigin==="t"||n[d].origin===2){for(V=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),G=0;G<V.length;G+=1)n[d].fPath===V[G].src&&(H=!1);if(H){var $=Lt("link");$.setAttribute("f-forigin",n[d].fOrigin),$.setAttribute("f-origin",n[d].origin),$.setAttribute("rel","stylesheet"),$.setAttribute("href",n[d].fPath),v.appendChild($)}}n[d].helper=k(n[d],v),n[d].cache={},this.fonts.push(n[d])}S===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function g(u){if(u){this.chars||(this.chars=[]);var v,n=u.length,d,M=this.chars.length,S;for(v=0;v<n;v+=1){for(d=0,S=!1;d<M;)this.chars[d].style===u[v].style&&this.chars[d].fFamily===u[v].fFamily&&this.chars[d].ch===u[v].ch&&(S=!0),d+=1;S||(this.chars.push(u[v]),M+=1)}}}function p(u,v,n){for(var d=0,M=this.chars.length;d<M;){if(this.chars[d].ch===u&&this.chars[d].style===v&&this.chars[d].fFamily===n)return this.chars[d];d+=1}return(typeof u=="string"&&u.charCodeAt(0)!==13||!u)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",u,v,n)),e}function l(u,v,n){var d=this.getFontByName(v),M=u;if(!d.cache[M]){var S=d.helper;if(u===" "){var H=S.measureText("|"+u+"|"),V=S.measureText("||");d.cache[M]=(H-V)/100}else d.cache[M]=S.measureText(u)/100}return d.cache[M]*n}function m(u){for(var v=0,n=this.fonts.length;v<n;){if(this.fonts[v].fName===u)return this.fonts[v];v+=1}return this.fonts[0]}function y(u){var v=0,n=u.charCodeAt(0);if(n>=55296&&n<=56319){var d=u.charCodeAt(1);d>=56320&&d<=57343&&(v=(n-55296)*1024+d-56320+65536)}return v}function x(u,v){var n=u.toString(16)+v.toString(16);return w.indexOf(n)!==-1}function T(u){return u===o}function F(u){return u===c}function I(u){var v=y(u);return v>=b&&v<=_}function O(u){return I(u.substr(0,2))&&I(u.substr(2,2))}function N(u){return i.indexOf(u)!==-1}function R(u,v){var n=y(u.substr(v,2));if(n!==s)return!1;var d=0;for(v+=2;d<5;){if(n=y(u.substr(v,2)),n<a||n>h)return!1;d+=1,v+=2}return y(u.substr(v,2))===r}function B(){this.isLoaded=!0}var D=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)};D.isModifier=x,D.isZeroWidthJoiner=T,D.isFlagEmoji=O,D.isRegionalCode=I,D.isCombinedCharacter=N,D.isRegionalFlag=R,D.isVariationSelector=F,D.BLACK_FLAG_CODE_POINT=s;var E={addChars:g,addFonts:C,getCharData:p,getFontByName:m,measureText:l,checkLoadedFonts:A,setIsLoaded:B};return D.prototype=E,D}();function Hi(t){this.animationData=t}Hi.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function Us(t){return new Hi(t)}function Ne(){}Ne.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 ti=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 Xs(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function Ks(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function Js(t,e,i){this.p=L.getProp(e,t.v,1,0,i)}function Qs(t,e,i){this.p=L.getProp(e,t.v,1,0,i)}function Zs(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function $s(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function ta(t,e,i){this.p=L.getProp(e,t.v,0,0,i)}function ea(){this.p={}}function Yi(t,e){var i=t.ef||[];this.effectElements=[];var s,r=i.length,a;for(s=0;s<r;s+=1)a=new ve(i[s],e),this.effectElements.push(a)}function ve(t,e){this.init(t,e)}W([at],ve),ve.prototype.getValue=ve.prototype.iterateDynamicProperties,ve.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var i,s=this.data.ef.length,r,a=this.data.ef;for(i=0;i<s;i+=1){switch(r=null,a[i].ty){case 0:r=new Xs(a[i],e,this);break;case 1:r=new Ks(a[i],e,this);break;case 2:r=new Js(a[i],e,this);break;case 3:r=new Qs(a[i],e,this);break;case 4:case 7:r=new ta(a[i],e,this);break;case 10:r=new Zs(a[i],e,this);break;case 11:r=new $s(a[i],e,this);break;case 5:r=new Yi(a[i],e);break;default:r=new ea(a[i]);break}r&&this.effectElements.push(r)}};function Nt(){}Nt.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(){},setBlendMode:function(){var t=ti(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=pt(),this.data.sr||(this.data.sr=1),this.effectsManager=new Yi(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function Ot(){}Ot.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var i,s=this.dynamicProperties.length;for(i=0;i<s;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 Bt(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)}Bt.prototype.prepareFrame=function(){},W([Ne,Nt,Ot],Bt),Bt.prototype.getBaseElement=function(){return null},Bt.prototype.renderFrame=function(){},Bt.prototype.destroy=function(){},Bt.prototype.initExpressions=function(){},Bt.prototype.getFootageData=function(){return this.footageData};function ft(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 s=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(s),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?L.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=L.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}ft.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))},W([Ne,Nt,Ot],ft),ft.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))},ft.prototype.show=function(){},ft.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},ft.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},ft.prototype.resume=function(){this._canPlay=!0},ft.prototype.setRate=function(t){this.audio.rate(t)},ft.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},ft.prototype.getBaseElement=function(){return null},ft.prototype.destroy=function(){},ft.prototype.sourceRectAtTime=function(){},ft.prototype.initExpressions=function(){};function ht(){}ht.prototype.checkLayers=function(t){var e,i=this.layers.length,s;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)this.elements[e]||(s=this.layers[e],s.ip-s.st<=t-this.layers[e].st&&s.op-s.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},ht.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)}},ht.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},ht.prototype.createAudio=function(t){return new ft(t,this.globalData,this)},ht.prototype.createFootage=function(t){return new Bt(t,this.globalData,this)},ht.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},ht.prototype.includeLayers=function(t){this.completeLayers=!1;var e,i=t.length,s,r=this.layers.length;for(e=0;e<i;e+=1)for(s=0;s<r;){if(this.layers[s].id===t[e].id){this.layers[s]=t[e];break}s+=1}},ht.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},ht.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},ht.prototype.buildElementParenting=function(t,e,i){for(var s=this.elements,r=this.layers,a=0,h=r.length;a<h;)r[a].ind==e&&(!s[a]||s[a]===!0?(this.buildItem(a),this.addPendingElement(t)):(i.push(s[a]),s[a].setAsParent(),r[a].parent!==void 0?this.buildElementParenting(t,r[a].parent,i):t.setHierarchy(i))),a+=1},ht.prototype.addPendingElement=function(t){this.pendingElements.push(t)},ht.prototype.searchExtraCompositions=function(t){var e,i=t.length;for(e=0;e<i;e+=1)if(t[e].xt){var s=this.createComp(t[e]);s.initExpressions(),this.globalData.projectInterface.registerComposition(s)}},ht.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},ht.prototype.getElementByPath=function(t){var e=t.shift(),i;if(typeof e=="number")i=this.elements[e];else{var s,r=this.elements.length;for(s=0;s<r;s+=1)if(this.elements[s].data.nm===e){i=this.elements[s];break}}return t.length===0?i:i.getElementByPath(t)},ht.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new Kt,this.globalData.slotManager=Us(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 ia={TRANSFORM_EFFECT:"transformEFfect"};function ae(){}ae.prototype={initTransform:function(){var t=new ot;this.finalTransform={mProp:this.data.ks?Ke.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,s=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<s;){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<s;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 s=this.localTransforms[t].matrix;i.multiply(s)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var r=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)r*=this.localTransforms[t].opacity*.01;this.finalTransform.localOpacity=r}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects(ia.TRANSFORM_EFFECT);if(t.length){this.localTransforms=[],this.finalTransform.localMat=new ot;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,s=this.comp;i;)s.finalTransform?(s.data.hasMask&&e.splice(0,0,s.finalTransform),s=s.comp):i=!1;var r,a=e.length,h;for(r=0;r<a;r+=1)h=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-h[0],t[1]-h[1],0];return t},mHelper:new ot};function Jt(t,e,i){this.data=t,this.element=e,this.globalData=i,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var s=this.globalData.defs,r,a=this.masksProperties?this.masksProperties.length:0;this.viewData=tt(a),this.solidPath="";var h,c=this.masksProperties,o=0,b=[],_,w,f=pt(),P,A,k,C,g="clipPath",p="clip-path";for(r=0;r<a;r+=1)if((c[r].mode!=="a"&&c[r].mode!=="n"||c[r].inv||c[r].o.k!==100||c[r].o.x)&&(g="mask",p="mask"),(c[r].mode==="s"||c[r].mode==="i")&&o===0?(P=j("rect"),P.setAttribute("fill","#ffffff"),P.setAttribute("width",this.element.comp.data.w||0),P.setAttribute("height",this.element.comp.data.h||0),b.push(P)):P=null,h=j("path"),c[r].mode==="n")this.viewData[r]={op:L.getProp(this.element,c[r].o,0,.01,this.element),prop:Ie.getShapeProp(this.element,c[r],3),elem:h,lastPath:""},s.appendChild(h);else{o+=1,h.setAttribute("fill",c[r].mode==="s"?"#000000":"#ffffff"),h.setAttribute("clip-rule","nonzero");var l;if(c[r].x.k!==0?(g="mask",p="mask",C=L.getProp(this.element,c[r].x,0,null,this.element),l=pt(),A=j("filter"),A.setAttribute("id",l),k=j("feMorphology"),k.setAttribute("operator","erode"),k.setAttribute("in","SourceGraphic"),k.setAttribute("radius","0"),A.appendChild(k),s.appendChild(A),h.setAttribute("stroke",c[r].mode==="s"?"#000000":"#ffffff")):(k=null,C=null),this.storedData[r]={elem:h,x:C,expan:k,lastPath:"",lastOperator:"",filterId:l,lastRadius:0},c[r].mode==="i"){w=b.length;var m=j("g");for(_=0;_<w;_+=1)m.appendChild(b[_]);var y=j("mask");y.setAttribute("mask-type","alpha"),y.setAttribute("id",f+"_"+o),y.appendChild(h),s.appendChild(y),m.setAttribute("mask","url("+dt()+"#"+f+"_"+o+")"),b.length=0,b.push(m)}else b.push(h);c[r].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[r]={elem:h,lastPath:"",op:L.getProp(this.element,c[r].o,0,.01,this.element),prop:Ie.getShapeProp(this.element,c[r],3),invRect:P},this.viewData[r].prop.k||this.drawPath(c[r],this.viewData[r].prop.v,this.viewData[r])}for(this.maskElement=j(g),a=b.length,r=0;r<a;r+=1)this.maskElement.appendChild(b[r]);o>0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(p,"url("+dt()+"#"+f+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}Jt.prototype.getMaskProperty=function(t){return this.viewData[t].prop},Jt.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,i,s=this.masksProperties.length;for(i=0;i<s;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 r=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("+dt()+"#"+this.storedData[i].filterId+")")),r.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))}},Jt.prototype.getMaskelement=function(){return this.maskElement},Jt.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},Jt.prototype.drawPath=function(t,e,i){var s=" M"+e.v[0][0]+","+e.v[0][1],r,a;for(a=e._length,r=1;r<a;r+=1)s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[r][0]+","+e.i[r][1]+" "+e.v[r][0]+","+e.v[r][1];if(e.c&&a>1&&(s+=" C"+e.o[r-1][0]+","+e.o[r-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),i.lastPath!==s){var h="";i.elem&&(e.c&&(h=t.inv?this.solidPath+s:s),i.elem.setAttribute("d",h)),i.lastPath=s}},Jt.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var ye=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=i;function e(s,r){var a=j("filter");return a.setAttribute("id",s),r!==!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 s=j("feColorMatrix");return s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),s}return t}(),Gi=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}(),ei={},Wi="filter_result_";function ii(t){var e,i="SourceGraphic",s=t.data.ef?t.data.ef.length:0,r=pt(),a=ye.createFilter(r,!0),h=0;this.filters=[];var c;for(e=0;e<s;e+=1){c=null;var o=t.data.ef[e].ty;if(ei[o]){var b=ei[o].effect;c=new b(a,t.effectsManager.effectElements[e],t,Wi+h,i),i=Wi+h,ei[o].countsAsEffect&&(h+=1)}c&&this.filters.push(c)}h&&(t.globalData.defs.appendChild(a),t.layerElement.setAttribute("filter","url("+dt()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}ii.prototype.renderFrame=function(t){var e,i=this.filters.length;for(e=0;e<i;e+=1)this.filters[e].renderFrame(t)},ii.prototype.getEffects=function(t){var e,i=this.filters.length,s=[];for(e=0;e<i;e+=1)this.filters[e].type===t&&s.push(this.filters[e]);return s};function be(){}be.prototype={initRendererElement:function(){this.layerElement=j("g")},createContainerElements:function(){this.matteElement=j("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=j("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=j("clipPath"),s=j("path");s.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var r=pt();if(i.setAttribute("id",r),i.appendChild(s),this.globalData.defs.appendChild(i),this.checkMasks()){var a=j("g");a.setAttribute("clip-path","url("+dt()+"#"+r+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+dt()+"#"+r+")")}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 Jt(this.data,this,this.globalData),this.renderableEffectsManager=new ii(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e=this.layerId+"_"+t,i,s,r,a;if(t===1||t===3){var h=j("mask");h.setAttribute("id",e),h.setAttribute("mask-type",t===3?"luminance":"alpha"),r=j("use"),r.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(r),this.globalData.defs.appendChild(h),!Gi.maskType&&t===1&&(h.setAttribute("mask-type","luminance"),i=pt(),s=ye.createFilter(i),this.globalData.defs.appendChild(s),s.appendChild(ye.createAlphaToLuminanceFilter()),a=j("g"),a.appendChild(r),h.appendChild(a),a.setAttribute("filter","url("+dt()+"#"+i+")"))}else if(t===2){var c=j("mask");c.setAttribute("id",e),c.setAttribute("mask-type","alpha");var o=j("g");c.appendChild(o),i=pt(),s=ye.createFilter(i);var b=j("feComponentTransfer");b.setAttribute("in","SourceGraphic"),s.appendChild(b);var _=j("feFuncA");_.setAttribute("type","table"),_.setAttribute("tableValues","1.0 0.0"),b.appendChild(_),this.globalData.defs.appendChild(s);var w=j("rect");w.setAttribute("width",this.comp.data.w),w.setAttribute("height",this.comp.data.h),w.setAttribute("x","0"),w.setAttribute("y","0"),w.setAttribute("fill","#ffffff"),w.setAttribute("op
2acity","0"),o.setAttribute("filter","url("+dt()+"#"+i+")"),o.appendChild(w),r=j("use"),r.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(r),Gi.maskType||(c.setAttribute("mask-type","luminance"),s.appendChild(ye.createAlphaToLuminanceFilter()),a=j("g"),o.appendChild(w),a.appendChild(this.layerElement),o.appendChild(a)),this.globalData.defs.appendChild(c)}this.matteMasks[t]=e}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+dt()+"#"+t+")")}};function re(){}re.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 _e(){}(function(){var t={initElement:function(e,i,s){this.initFrame(),this.initBaseData(e,i,s),this.initTransform(e,i,s),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()}};W([Ne,ns(t)],_e)})();function ke(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}}W([Nt,ae,be,re,Ot,_e],ke),ke.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=j("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)},ke.prototype.sourceRectAtTime=function(){return this.sourceRect};function sa(t,e){this.elem=t,this.pos=e}function Ui(){}Ui.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,s=e.length;i<s;){if(e[i].elem===t)return e[i].pos;i+=1}return 0},addProcessedElement:function(t,e){for(var i=this.processedElements,s=i.length;s;)if(s-=1,i[s].elem===t){i[s].pos=e;return}i.push(new sa(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var Xi={1:"butt",2:"round",3:"square"},Ki={1:"miter",2:"round",3:"bevel"};function Ji(t,e,i){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=i,this.lvl=e,this._isAnimated=!!i.k;for(var s=0,r=t.length;s<r;){if(t[s].mProps.dynamicProperties.length){this._isAnimated=!0;break}s+=1}}Ji.prototype.setAsAnimated=function(){this._isAnimated=!0};function Qi(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=j("path"),this.msElem=null}Qi.prototype.reset=function(){this.d="",this._mdf=!1};function Oe(t,e,i,s){this.elem=t,this.frameId=-1,this.dataProps=tt(e.length),this.renderer=i,this.k=!1,this.dashStr="",this.dashArray=st("float32",e.length?e.length-1:0),this.dashoffset=st("float32",1),this.initDynamicPropertyContainer(s);var r,a=e.length||0,h;for(r=0;r<a;r+=1)h=L.getProp(t,e[r].v,0,0,this),this.k=h.k||this.k,this.dataProps[r]={n:e[r].n,p:h};this.k||this.getValue(!0),this._isAnimated=this.k}Oe.prototype.getValue=function(t){if(!(this.elem.globalData.frameId===this.frameId&&
vendor: 45,900 bytes, lines 2-13
2!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}},W([at],Oe);function Zi(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=L.getProp(t,e.o,0,.01,this),this.w=L.getProp(t,e.w,0,null,this),this.d=new Oe(t,e.d||{},"svg",this),this.c=L.getProp(t,e.c,1,255,this),this.style=i,this._isAnimated=!!this._isAnimated}W([at],Zi);function $i(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=L.getProp(t,e.o,0,.01,this),this.c=L.getProp(t,e.c,1,255,this),this.style=i}W([at],$i);function ts(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=i}W([at],ts);function Pe(t,e,i){this.data=e,this.c=st("uint8c",e.p*4);var s=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;this.o=st("float32",s),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=s,this.initDynamicPropertyContainer(i),this.prop=L.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}Pe.prototype.comparePoints=function(t,e){for(var i=0,s=this.o.length/2,r;i<s;){if(r=Math.abs(t[i*4]-t[e*4+i*2]),r>.01)return!1;i+=1}return!0},Pe.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},Pe.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,s,r;for(e=0;e<i;e+=1)s=e%4===0?100:255,r=Math.round(this.prop.v[e]*s),this.c[e]!==r&&(this.c[e]=r,this._cmdf=!t);if(this.o.length)for(i=this.prop.v.length,e=this.data.p*4;e<i;e+=1)s=e%2===0?100:1,r=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==r&&(this.o[e-this.data.p*4]=r,this._omdf=!t);this._mdf=!t}},W([at],Pe);function ne(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,i)}ne.prototype.initGradientData=function(t,e,i){this.o=L.getProp(t,e.o,0,.01,this),this.s=L.getProp(t,e.s,1,null,this),this.e=L.getProp(t,e.e,1,null,this),this.h=L.getProp(t,e.h||{k:0},0,.01,this),this.a=L.getProp(t,e.a||{k:0},0,J,this),this.g=new Pe(t,e.g,this),this.style=i,this.stops=[],this.setGradientData(i.pElem,e),this.setGradientOpacity(e,i),this._isAnimated=!!this._isAnimated},ne.prototype.setGradientData=function(t,e){var i=pt(),s=j(e.t===1?"linearGradient":"radialGradient");s.setAttribute("id",i),s.setAttribute("spreadMethod","pad"),s.setAttribute("gradientUnits","userSpaceOnUse");var r=[],a,h,c;for(c=e.g.p*4,h=0;h<c;h+=4)a=j("stop"),s.appendChild(a),r.push(a);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+dt()+"#"+i+")"),this.gf=s,this.cst=r},ne.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var i,s,r,a=j("mask"),h=j("path");a.appendChild(h);var c=pt(),o=pt();a.setAttribute("id",o);var b=j(t.t===1?"linearGradient":"radialGradient");b.setAttribute("id",c),b.setAttribute("spreadMethod","pad"),b.setAttribute("gradientUnits","userSpaceOnUse"),r=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var _=this.stops;for(s=t.g.p*4;s<r;s+=2)i=j("stop"),i.setAttribute("stop-color","rgb(255,255,255)"),b.appendChild(i),_.push(i);h.setAttribute(t.ty==="gf"?"fill":"stroke","url("+dt()+"#"+c+")"),t.ty==="gs"&&(h.setAttribute("stroke-linecap",Xi[t.lc||2]),h.setAttribute("stroke-linejoin",Ki[t.lj||2]),t.lj===1&&h.setAttribute("stroke-miterlimit",t.ml)),this.of=b,this.ms=a,this.ost=_,this.maskId=o,e.msElem=h}},W([at],ne);function es(t,e,i){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=L.getProp(t,e.w,0,null,this),this.d=new Oe(t,e.d||{},"svg",this),this.initGradientData(t,e,i),this._isAnimated=!!this._isAnimated}W([ne,at],es);function aa(){this.it=[],this.prevViewData=[],this.gr=j("g")}function ra(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 is=function(t,e,i,s){if(e===0)return"";var r=t.o,a=t.i,h=t.v,c,o=" M"+s.applyToPointStringified(h[0][0],h[0][1]);for(c=1;c<e;c+=1)o+=" C"+s.applyToPointStringified(r[c-1][0],r[c-1][1])+" "+s.applyToPointStringified(a[c][0],a[c][1])+" "+s.applyToPointStringified(h[c][0],h[c][1]);return i&&e&&(o+=" C"+s.applyToPointStringified(r[c-1][0],r[c-1][1])+" "+s.applyToPointStringified(a[0][0],a[0][1])+" "+s.applyToPointStringified(h[0][0],h[0][1]),o+="z"),o},na=function(){var t=new ot,e=new ot,i={createRenderFunction:s};function s(w){switch(w.ty){case"fl":return c;case"gf":return b;case"gs":return o;case"st":return _;case"sh":case"el":case"rc":case"sr":return h;case"tr":return r;case"no":return a;default:return null}}function r(w,f,P){(P||f.transform.op._mdf)&&f.transform.container.setAttribute("opacity",f.transform.op.v),(P||f.transform.mProps._mdf)&&f.transform.container.setAttribute("transform",f.transform.mProps.v.to2dCSS())}function a(){}function h(w,f,P){var A,k,C,g,p,l,m=f.styles.length,y=f.lvl,x,T,F,I;for(l=0;l<m;l+=1){if(g=f.sh._mdf||P,f.styles[l].lvl<y){for(T=e.reset(),F=y-f.styles[l].lvl,I=f.transformers.length-1;!g&&F>0;)g=f.transformers[I].mProps._mdf||g,F-=1,I-=1;if(g)for(F=y-f.styles[l].lvl,I=f.transformers.length-1;F>0;)T.multiply(f.transformers[I].mProps.v),F-=1,I-=1}else T=t;if(x=f.sh.paths,k=x._length,g){for(C="",A=0;A<k;A+=1)p=x.shapes[A],p&&p._length&&(C+=is(p,p._length,p.c,T));f.caches[l]=C}else C=f.caches[l];f.styles[l].d+=w.hd===!0?"":C,f.styles[l]._mdf=g||f.styles[l]._mdf}}function c(w,f,P){var A=f.style;(f.c._mdf||P)&&A.pElem.setAttribute("fill","rgb("+Wt(f.c.v[0])+","+Wt(f.c.v[1])+","+Wt(f.c.v[2])+")"),(f.o._mdf||P)&&A.pElem.setAttribute("fill-opacity",f.o.v)}function o(w,f,P){b(w,f,P),_(w,f,P)}function b(w,f,P){var A=f.gf,k=f.g._hasOpacity,C=f.s.v,g=f.e.v;if(f.o._mdf||P){var p=w.ty==="gf"?"fill-opacity":"stroke-opacity";f.style.pElem.setAttribute(p,f.o.v)}if(f.s._mdf||P){var l=w.t===1?"x1":"cx",m=l==="x1"?"y1":"cy";A.setAttribute(l,C[0]),A.setAttribute(m,C[1]),k&&!f.g._collapsable&&(f.of.setAttribute(l,C[0]),f.of.setAttribute(m,C[1]))}var y,x,T,F;if(f.g._cmdf||P){y=f.cst;var I=f.g.c;for(T=y.length,x=0;x<T;x+=1)F=y[x],F.setAttribute("offset",I[x*4]+"%"),F.setAttribute("stop-color","rgb("+I[x*4+1]+","+I[x*4+2]+","+I[x*4+3]+")")}if(k&&(f.g._omdf||P)){var O=f.g.o;for(f.g._collapsable?y=f.cst:y=f.ost,T=y.length,x=0;x<T;x+=1)F=y[x],f.g._collapsable||F.setAttribute("offset",O[x*2]+"%"),F.setAttribute("stop-opacity",O[x*2+1])}if(w.t===1)(f.e._mdf||P)&&(A.setAttribute("x2",g[0]),A.setAttribute("y2",g[1]),k&&!f.g._collapsable&&(f.of.setAttribute("x2",g[0]),f.of.setAttribute("y2",g[1])));else{var N;if((f.s._mdf||f.e._mdf||P)&&(N=Math.sqrt(Math.pow(C[0]-g[0],2)+Math.pow(C[1]-g[1],2)),A.setAttribute("r",N),k&&!f.g._collapsable&&f.of.setAttribute("r",N)),f.e._mdf||f.h._mdf||f.a._mdf||P){N||(N=Math.sqrt(Math.pow(C[0]-g[0],2)+Math.pow(C[1]-g[1],2)));var R=Math.atan2(g[1]-C[1],g[0]-C[0]),B=f.h.v;B>=1?B=.99:B<=-1&&(B=-.99);var D=N*B,E=Math.cos(R+f.a.v)*D+C[0],u=Math.sin(R+f.a.v)*D+C[1];A.setAttribute("fx",E),A.setAttribute("fy",u),k&&!f.g._collapsable&&(f.of.setAttribute("fx",E),f.of.setAttribute("fy",u))}}}function _(w,f,P){var A=f.style,k=f.d;k&&(k._mdf||P)&&k.dashStr&&(A.pElem.setAttribute("stroke-dasharray",k.dashStr),A.pElem.setAttribute("stroke-dashoffset",k.dashoffset[0])),f.c&&(f.c._mdf||P)&&A.pElem.setAttribute("stroke","rgb("+Wt(f.c.v[0])+","+Wt(f.c.v[1])+","+Wt(f.c.v[2])+")"),(f.o._mdf||P)&&A.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||P)&&(A.pElem.setAttribute("stroke-width",f.w.v),A.msElem&&A.msElem.setAttribute("stroke-width",f.w.v))}return i}();function Q(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=[]}W([Nt,ae,be,Ui,re,Ot,_e],Q),Q.prototype.initSecondaryElement=function(){},Q.prototype.identityMatrix=new ot,Q.prototype.buildExpressionInterface=function(){},Q.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},Q.prototype.filterUniqueShapes=function(){var t,e=this.shapes.length,i,s,r=this.stylesList.length,a,h=[],c=!1;for(s=0;s<r;s+=1){for(a=this.stylesList[s],c=!1,h.length=0,t=0;t<e;t+=1)i=this.shapes[t],i.styles.indexOf(a)!==-1&&(h.push(i),c=i._isAnimated||c);h.length>1&&c&&this.setShapesAsAnimated(h)}},Q.prototype.setShapesAsAnimated=function(t){var e,i=t.length;for(e=0;e<i;e+=1)t[e].setAsAnimated()},Q.prototype.createStyleElement=function(t,e){var i,s=new Qi(t,e),r=s.pElem;if(t.ty==="st")i=new Zi(this,t,s);else if(t.ty==="fl")i=new $i(this,t,s);else if(t.ty==="gf"||t.ty==="gs"){var a=t.ty==="gf"?ne:es;i=new a(this,t,s),this.globalData.defs.appendChild(i.gf),i.maskId&&(this.globalData.defs.appendChild(i.ms),this.globalData.defs.appendChild(i.of),r.setAttribute("mask","url("+dt()+"#"+i.maskId+")"))}else t.ty==="no"&&(i=new ts(this,t,s));return(t.ty==="st"||t.ty==="gs")&&(r.setAttribute("stroke-linecap",Xi[t.lc||2]),r.setAttribute("stroke-linejoin",Ki[t.lj||2]),r.setAttribute("fill-opacity","0"),t.lj===1&&r.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&r.setAttribute("fill-rule","evenodd"),t.ln&&r.setAttribute("id",t.ln),t.cl&&r.setAttribute("class",t.cl),t.bm&&(r.style["mix-blend-mode"]=ti(t.bm)),this.stylesList.push(s),this.addToAnimatedContents(t,i),i},Q.prototype.createGroupElement=function(t){var e=new aa;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"]=ti(t.bm)),e},Q.prototype.createTransformElement=function(t,e){var i=Ke.getTransformProperty(this,t,this),s=new ra(i,i.o,e);return this.addToAnimatedContents(t,s),s},Q.prototype.createShapeElement=function(t,e,i){var s=4;t.ty==="rc"?s=5:t.ty==="el"?s=6:t.ty==="sr"&&(s=7);var r=Ie.getShapeProp(this,t,s,this),a=new Ji(e,i,r);return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},Q.prototype.addToAnimatedContents=function(t,e){for(var i=0,s=this.animatedContents.length;i<s;){if(this.animatedContents[i].element===e)return;i+=1}this.animatedContents.push({fn:na.createRenderFunction(t),element:e,data:t})},Q.prototype.setElementStyles=function(t){var e=t.styles,i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||e.push(this.stylesList[i])},Q.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()},Q.prototype.searchShapes=function(t,e,i,s,r,a,h){var c=[].concat(a),o,b=t.length-1,_,w,f=[],P=[],A,k,C;for(o=b;o>=0;o-=1){if(C=this.searchProcessedElement(t[o]),C?e[o]=i[C-1]:t[o]._render=h,t[o].ty==="fl"||t[o].ty==="st"||t[o].ty==="gf"||t[o].ty==="gs"||t[o].ty==="no")C?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],r),t[o]._render&&e[o].style.pElem.parentNode!==s&&s.appendChild(e[o].style.pElem),f.push(e[o].style);else if(t[o].ty==="gr"){if(!C)e[o]=this.createGroupElement(t[o]);else for(w=e[o].it.length,_=0;_<w;_+=1)e[o].prevViewData[_]=e[o].it[_];this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,r+1,c,h),t[o]._render&&e[o].gr.parentNode!==s&&s.appendChild(e[o].gr)}else t[o].ty==="tr"?(C||(e[o]=this.createTransformElement(t[o],s)),A=e[o].transform,c.push(A)):t[o].ty==="sh"||t[o].ty==="rc"||t[o].ty==="el"||t[o].ty==="sr"?(C||(e[o]=this.createShapeElement(t[o],c,r)),this.setElementStyles(e[o])):t[o].ty==="tm"||t[o].ty==="rd"||t[o].ty==="ms"||t[o].ty==="pb"||t[o].ty==="zz"||t[o].ty==="op"?(C?(k=e[o],k.closed=!1):(k=Vt.getModifier(t[o].ty),k.init(this,t[o]),e[o]=k,this.shapeModifiers.push(k)),P.push(k)):t[o].ty==="rp"&&(C?(k=e[o],k.closed=!0):(k=Vt.getModifier(t[o].ty),e[o]=k,k.init(this,t,o,e),this.shapeModifiers.push(k),h=!1),P.push(k));this.addProcessedElement(t[o],o+1)}for(b=f.length,o=0;o<b;o+=1)f[o].closed=!0;for(b=P.length,o=0;o<b;o+=1)P[o].closed=!0},Q.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"))},Q.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)},Q.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function si(t,e,i,s,r,a){this.o=t,this.sw=e,this.sc=i,this.fc=s,this.m=r,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!i,fc:!!s,m:!0,p:!0}}si.prototype.update=function(t,e,i,s,r,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 h=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,h=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,h=!0),this.sc!==i&&(this.sc=i,this._mdf.sc=!0,h=!0),this.fc!==s&&(this.fc=s,this._mdf.fc=!0,h=!0),this.m!==r&&(this.m=r,this._mdf.m=!0,h=!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,h=!0),h};function lt(t,e){this._frameId=Ye,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)}lt.prototype.defaultBoxWidth=[0,0],lt.prototype.copyData=function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},lt.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},lt.prototype.searchProperty=function(){return this.searchKeyframes()},lt.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},lt.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},lt.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 s,r=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(s=0;s<r;s+=1)i!==this.keysIndex?a=this.effectsSequence[s](a,a.t):a=this.effectsSequence[s](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}},lt.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,i=0,s=t.length;i<=s-1&&!(i===s-1||t[i+1].t>e);)i+=1;return this.keysIndex!==i&&(this.keysIndex=i),this.data.d.k[this.keysIndex].s},lt.prototype.buildFinalText=function(t){for(var e=[],i=0,s=t.length,r,a,h=!1,c=!1,o="";i<s;)h=c,c=!1,r=t.charCodeAt(i),o=t.charAt(i),Kt.isCombinedCharacter(r)?h=!0:r>=55296&&r<=56319?Kt.isRegionalFlag(t,i)?o=t.substr(i,14):(a=t.charCodeAt(i+1),a>=56320&&a<=57343&&(Kt.isModifier(r,a)?(o=t.substr(i,2),h=!0):Kt.isFlagEmoji(t.substr(i,4))?o=t.substr(i,4):o=t.substr(i,2))):r>56319?(a=t.charCodeAt(i+1),Kt.isVariationSelector(r)&&(h=!0)):Kt.isZeroWidthJoiner(r)&&(h=!0,c=!0),h?(e[e.length-1]+=o,h=!1):e.push(o),i+=o.length;return e},lt.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,i=this.data,s=[],r,a,h,c=0,o,b=i.m.g,_=0,w=0,f=0,P=[],A=0,k=0,C,g,p=e.getFontByName(t.f),l,m=0,y=ji(p);t.fWeight=y.weight,t.fStyle=y.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),a=t.finalText.length,t.finalLineHeight=t.lh;var x=t.tr/1e3*t.finalSize,T;if(t.sz)for(var F=!0,I=t.sz[0],O=t.sz[1],N,R;F;){R=this.buildFinalText(t.t),N=0,A=0,a=R.length,x=t.tr/1e3*t.finalSize;var B=-1;for(r=0;r<a;r+=1)T=R[r].charCodeAt(0),h=!1,R[r]===" "?B=r:(T===13||T===3)&&(A=0,h=!0,N+=t.finalLineHeight||t.finalSize*1.2),e.chars?(l=e.getCharData(R[r],p.fStyle,p.fFamily),m=h?0:l.w*t.finalSize/100):m=e.measureText(R[r],t.f,t.finalSize),A+m>I&&R[r]!==" "?(B===-1?a+=1:r=B,N+=t.finalLineHeight||t.finalSize*1.2,R.splice(r,B===r?1:0,"\r"),B=-1,A=0):(A+=m,A+=x);N+=p.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&O<N?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=R,a=t.finalText.length,F=!1)}A=-x,m=0;var D=0,E;for(r=0;r<a;r+=1)if(h=!1,E=t.finalText[r],T=E.charCodeAt(0),T===13||T===3?(D=0,P.push(A),k=A>k?A:k,A=-2*x,o="",h=!0,f+=1):o=E,e.chars?(l=e.getCharData(E,p.fStyle,e.getFontByName(t.f).fFamily),m=h?0:l.w*t.finalSize/100):m=e.measureText(o,t.f,t.finalSize),E===" "?D+=m+x:(A+=m+x+D,D=0),s.push({l:m,an:m,add:_,n:h,anIndexes:[],val:o,line:f,animatorJustifyOffset:0}),b==2){if(_+=m,o===""||o===" "||r===a-1){for((o===""||o===" ")&&(_-=m);w<=r;)s[w].an=_,s[w].ind=c,s[w].extra=m,w+=1;c+=1,_=0}}else if(b==3){if(_+=m,o===""||r===a-1){for(o===""&&(_-=m);w<=r;)s[w].an=_,s[w].ind=c,s[w].extra=m,w+=1;_=0,c+=1}}else s[c].ind=c,s[c].extra=0,c+=1;if(t.l=s,k=A>k?A:k,P.push(A),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=k,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=P;var u=i.a,v,n;g=u.length;var d,M,S=[];for(C=0;C<g;C+=1){for(v=u[C],v.a.sc&&(t.strokeColorAnim=!0),v.a.sw&&(t.strokeWidthAnim=!0),(v.a.fc||v.a.fh||v.a.fs||v.a.fb)&&(t.fillColorAnim=!0),M=0,d=v.s.b,r=0;r<a;r+=1)n=s[r],n.anIndexes[C]=M,(d==1&&n.val!==""||d==2&&n.val!==""&&n.val!==" "||d==3&&(n.n||n.val==" "||r==a-1)||d==4&&(n.n||r==a-1))&&(v.s.rn===1&&S.push(M),M+=1);i.a[C].s.totalChars=M;var H=-1,V;if(v.s.rn===1)for(r=0;r<a;r+=1)n=s[r],H!=n.anIndexes[C]&&(H=n.anIndexes[C],V=S.splice(Math.floor(Math.random()*S.length),1)[0]),n.anIndexes[C]=V}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=p.ascent*t.finalSize/100},lt.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)},lt.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},lt.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},lt.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var oa=function(){var t=Math.max,e=Math.min,i=Math.floor;function s(a,h){this._currentTextLength=-1,this.k=!1,this.data=h,this.elem=a,this.comp=a.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(a),this.s=L.getProp(a,h.s||{k:0},0,0,this),"e"in h?this.e=L.getProp(a,h.e,0,0,this):this.e={v:100},this.o=L.getProp(a,h.o||{k:0},0,0,this),this.xe=L.getProp(a,h.xe||{k:0},0,0,this),this.ne=L.getProp(a,h.ne||{k:0},0,0,this),this.sm=L.getProp(a,h.sm||{k:100},0,0,this),this.a=L.getProp(a,h.a,0,.01,this),this.dynamicProperties.length||this.getValue()}s.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var h=0,c=0,o=1,b=1;this.ne.v>0?h=this.ne.v/100:c=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:b=1+this.xe.v/100;var _=fe.getBezierEasing(h,c,o,b).get,w=0,f=this.finalS,P=this.finalE,A=this.data.sh;if(A===2)P===f?w=a>=P?1:0:w=t(0,e(.5/(P-f)+(a-f)/(P-f),1)),w=_(w);else if(A===3)P===f?w=a>=P?0:1:w=1-t(0,e(.5/(P-f)+(a-f)/(P-f),1)),w=_(w);else if(A===4)P===f?w=0:(w=t(0,e(.5/(P-f)+(a-f)/(P-f),1)),w<.5?w*=2:w=1-2*(w-.5)),w=_(w);else if(A===5){if(P===f)w=0;else{var k=P-f;a=e(t(0,a+.5-f),P-f);var C=-k/2+a,g=k/2;w=Math.sqrt(1-C*C/(g*g))}w=_(w)}else A===6?(P===f?w=0:(a=e(t(0,a+.5-f),P-f),w=(1+Math.cos(Math.PI+Math.PI*2*a/(P-f)))/2),w=_(w)):(a>=i(f)&&(a-f<0?w=t(0,e(e(P,1)-(f-a),1)):w=t(0,e(P-a,1))),w=_(w));if(this.sm.v!==100){var p=this.sm.v*.01;p===0&&(p=1e-8);var l=.5-p*.5;w<l?w=0:(w=(w-l)/p,w>1&&(w=1))}return w*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 h=this.data.r===2?1:100/this.data.totalChars,c=this.o.v/h,o=this.s.v/h+c,b=this.e.v/h+c;if(o>b){var _=o;o=b,b=_}this.finalS=o,this.finalE=b}},W([at],s);function r(a,h,c){return new s(a,h)}return{getTextSelectorProp:r}}();function ha(t,e,i){var s={propType:!1},r=L.getProp,a=e.a;this.a={r:a.r?r(t,a.r,0,J,i):s,rx:a.rx?r(t,a.rx,0,J,i):s,ry:a.ry?r(t,a.ry,0,J,i):s,sk:a.sk?r(t,a.sk,0,J,i):s,sa:a.sa?r(t,a.sa,0,J,i):s,s:a.s?r(t,a.s,1,.01,i):s,a:a.a?r(t,a.a,1,0,i):s,o:a.o?r(t,a.o,0,.01,i):s,p:a.p?r(t,a.p,1,0,i):s,sw:a.sw?r(t,a.sw,0,0,i):s,sc:a.sc?r(t,a.sc,1,0,i):s,fc:a.fc?r(t,a.fc,1,0,i):s,fh:a.fh?r(t,a.fh,0,0,i):s,fs:a.fs?r(t,a.fs,0,.01,i):s,fb:a.fb?r(t,a.fb,0,.01,i):s,t:a.t?r(t,a.t,0,0,i):s},this.s=oa.getTextSelectorProp(t,e.s,i),this.s.t=e.s.t}function Qt(t,e,i){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=i,this._animatorsData=tt(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(i)}Qt.prototype.searchProperties=function(){var t,e=this._textData.a.length,i,s=L.getProp;for(t=0;t<e;t+=1)i=this._textData.a[t],this._animatorsData[t]=new ha(this._elem,i,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:s(this._elem,this._textData.p.a,0,0,this),f:s(this._elem,this._textData.p.f,0,0,this),l:s(this._elem,this._textData.p.l,0,0,this),r:s(this._elem,this._textData.p.r,0,0,this),p:s(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=s(this._elem,this._textData.m.a,1,0,this)},Qt.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,s=this._animatorsData,r=this._textData,a=this.mHelper,h=this._renderType,c=this.renderedLetters.length,o,b,_,w,f=t.l,P,A,k,C,g,p,l,m,y,x,T,F,I,O,N;if(this._hasMaskedPath){if(N=this._pathData.m,!this._pathData.n||this._pathData._mdf){var R=N.v;this._pathData.r.v&&(R=R.reverse()),P={tLength:0,segments:[]},w=R._length-1;var B;for(F=0,_=0;_<w;_+=1)B=wt.buildBezierData(R.v[_],R.v[_+1],[R.o[_][0]-R.v[_][0],R.o[_][1]-R.v[_][1]],[R.i[_+1][0]-R.v[_+1][0],R.i[_+1][1]-R.v[_+1][1]]),P.tLength+=B.segmentLength,P.segments.push(B),F+=B.segmentLength;_=w,N.v.c&&(B=wt.buildBezierData(R.v[_],R.v[0],[R.o[_][0]-R.v[_][0],R.o[_][1]-R.v[_][1]],[R.i[0][0]-R.v[0][0],R.i[0][1]-R.v[0][1]]),P.tLength+=B.segmentLength,P.segments.push(B),F+=B.segmentLength),this._pathData.pi=P}if(P=this._pathData.pi,A=this._pathData.f.v,l=0,p=1,C=0,g=!0,x=P.segments,A<0&&N.v.c)for(P.tLength<Math.abs(A)&&(A=-Math.abs(A)%P.tLength),l=x.length-1,y=x[l].points,p=y.length-1;A<0;)A+=y[p].partialLength,p-=1,p<0&&(l-=1,y=x[l].points,p=y.length-1);y=x[l].points,m=y[p-1],k=y[p],T=k.partialLength}w=f.length,o=0,b=0;var D=t.finalSize*1.2*.714,E=!0,u,v,n,d,M;d=s.length;var S,H=-1,V,G,Y,Z=A,$=l,mt=p,St=-1,ct,rt,gt,X,z,Ft,jt,Dt,Ct="",Et=this.defaultPropsArray,It;if(t.j===2||t.j===1){var ut=0,Ht=0,Yt=t.j===2?-.5:-1,_t=0,Gt=!0;for(_=0;_<w;_+=1)if(f[_].n){for(ut&&(ut+=Ht);_t<_;)f[_t].animatorJustifyOffset=ut,_t+=1;ut=0,Gt=!0}else{for(n=0;n<d;n+=1)u=s[n].a,u.t.propType&&(Gt&&t.j===2&&(Ht+=u.t.v*Yt),v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),S.length?ut+=u.t.v*S[0]*Yt:ut+=u.t.v*S*Yt);Gt=!1}for(ut&&(ut+=Ht);_t<_;)f[_t].animatorJustifyOffset=ut,_t+=1}for(_=0;_<w;_+=1){if(a.reset(),ct=1,f[_].n)o=0,b+=t.yOffset,b+=E?1:0,A=Z,E=!1,this._hasMaskedPath&&(l=$,p=mt,y=x[l].points,m=y[p-1],k=y[p],T=k.partialLength,C=0),Ct="",Dt="",Ft="",It="",Et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(St!==f[_].line){switch(t.j){case 1:A+=F-t.lineWidths[f[_].line];break;case 2:A+=(F-t.lineWidths[f[_].line])/2;break}St=f[_].line}H!==f[_].ind&&(f[H]&&(A+=f[H].extra),A+=f[_].an/2,H=f[_].ind),A+=i[0]*f[_].an*.005;var kt=0;for(n=0;n<d;n+=1)u=s[n].a,u.p.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),S.length?kt+=u.p.v[0]*S[0]:kt+=u.p.v[0]*S),u.a.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),S.length?kt+=u.a.v[0]*S[0]:kt+=u.a.v[0]*S);for(g=!0,this._pathData.a.v&&(A=f[0].an*.5+(F-this._pathData.f.v-f[0].an*.5-f[f.length-1].an*.5)*H/(w-1),A+=this._pathData.f.v);g;)C+T>=A+kt||!y?(I=(A+kt-C)/k.partialLength,G=m.point[0]+(k.point[0]-m.point[0])*I,Y=m.point[1]+(k.point[1]-m.point[1])*I,a.translate(-i[0]*f[_].an*.005,-(i[1]*D)*.01),g=!1):y&&(C+=k.partialLength,p+=1,p>=y.length&&(p=0,l+=1,x[l]?y=x[l].points:N.v.c?(p=0,l=0,y=x[l].points):(C-=k.partialLength,y=null)),y&&(m=k,k=y[p],T=k.partialLength));V=f[_].an/2-f[_].add,a.translate(-V,0,0)}else V=f[_].an/2-f[_].add,a.translate(-V,0,0),a.translate(-i[0]*f[_].an*.005,-i[1]*D*.01,0);for(n=0;n<d;n+=1)u=s[n].a,u.t.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),(o!==0||t.j!==0)&&(this._hasMaskedPath?S.length?A+=u.t.v*S[0]:A+=u.t.v*S:S.length?o+=u.t.v*S[0]:o+=u.t.v*S));for(t.strokeWidthAnim&&(gt=t.sw||0),t.strokeColorAnim&&(t.sc?rt=[t.sc[0],t.sc[1],t.sc[2]]:rt=[0,0,0]),t.fillColorAnim&&t.fc&&(X=[t.fc[0],t.fc[1],t.fc[2]]),n=0;n<d;n+=1)u=s[n].a,u.a.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),S.length?a.translate(-u.a.v[0]*S[0],-u.a.v[1]*S[1],u.a.v[2]*S[2]):a.translate(-u.a.v[0]*S,-u.a.v[1]*S,u.a.v[2]*S));for(n=0;n<d;n+=1)u=s[n].a,u.s.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),S.length?a.scale(1+(u.s.v[0]-1)*S[0],1+(u.s.v[1]-1)*S[1],1):a.scale(1+(u.s.v[0]-1)*S,1+(u.s.v[1]-1)*S,1));for(n=0;n<d;n+=1){if(u=s[n].a,v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),u.sk.propType&&(S.length?a.skewFromAxis(-u.sk.v*S[0],u.sa.v*S[1]):a.skewFromAxis(-u.sk.v*S,u.sa.v*S)),u.r.propType&&(S.length?a.rotateZ(-u.r.v*S[2]):a.rotateZ(-u.r.v*S)),u.ry.propType&&(S.length?a.rotateY(u.ry.v*S[1]):a.rotateY(u.ry.v*S)),u.rx.propType&&(S.length?a.rotateX(u.rx.v*S[0]):a.rotateX(u.rx.v*S)),u.o.propType&&(S.length?ct+=(u.o.v*S[0]-ct)*S[0]:ct+=(u.o.v*S-ct)*S),t.strokeWidthAnim&&u.sw.propType&&(S.length?gt+=u.sw.v*S[0]:gt+=u.sw.v*S),t.strokeColorAnim&&u.sc.propType)for(z=0;z<3;z+=1)S.length?rt[z]+=(u.sc.v[z]-rt[z])*S[0]:rt[z]+=(u.sc.v[z]-rt[z])*S;if(t.fillColorAnim&&t.fc){if(u.fc.propType)for(z=0;z<3;z+=1)S.length?X[z]+=(u.fc.v[z]-X[z])*S[0]:X[z]+=(u.fc.v[z]-X[z])*S;u.fh.propType&&(S.length?X=yi(X,u.fh.v*S[0]):X=yi(X,u.fh.v*S)),u.fs.propType&&(S.length?X=gi(X,u.fs.v*S[0]):X=gi(X,u.fs.v*S)),u.fb.propType&&(S.length?X=vi(X,u.fb.v*S[0]):X=vi(X,u.fb.v*S))}}for(n=0;n<d;n+=1)u=s[n].a,u.p.propType&&(v=s[n].s,S=v.getMult(f[_].anIndexes[n],r.a[n].s.totalChars),this._hasMaskedPath?S.length?a.translate(0,u.p.v[1]*S[0],-u.p.v[2]*S[1]):a.translate(0,u.p.v[1]*S,-u.p.v[2]*S):S.length?a.translate(u.p.v[0]*S[0],u.p.v[1]*S[1],-u.p.v[2]*S[2]):a.translate(u.p.v[0]*S,u.p.v[1]*S,-u.p.v[2]*S));if(t.strokeWidthAnim&&(Ft=gt<0?0:gt),t.strokeColorAnim&&(jt="rgb("+Math.round(rt[0]*255)+","+Math.round(rt[1]*255)+","+Math.round(rt[2]*255)+")"),t.fillColorAnim&&t.fc&&(Dt="rgb("+Math.round(X[0]*255)+","+Math.round(X[1]*255)+","+Math.round(X[2]*255)+")"),this._hasMaskedPath){if(a.translate(0,-t.ls),a.translate(0,i[1]*D*.01+b,0),this._pathData.p.v){O=(k.point[1]-m.point[1])/(k.point[0]-m.point[0]);var Zt=Math.atan(O)*180/Math.PI;k.point[0]<m.point[0]&&(Zt+=180),a.rotate(-Zt*Math.PI/180)}a.translate(G,Y,0),A-=i[0]*f[_].an*.005,f[_+1]&&H!==f[_+1].ind&&(A+=f[_].an/2,A+=t.tr*.001*t.finalSize)}else{switch(a.translate(o,b,0),t.ps&&a.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:a.translate(f[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[_].line]),0,0);break;case 2:a.translate(f[_].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[_].line])/2,0,0);break}a.translate(0,-t.ls),a.translate(V,0,0),a.translate(i[0]*f[_].an*.005,i[1]*D*.01,0),o+=f[_].l+t.tr*.001*t.finalSize}h==="html"?Ct=a.toCSS():h==="svg"?Ct=a.to2dCSS():Et=[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]],It=ct}c<=_?(M=new si(It,Ft,jt,Dt,Ct,Et),this.renderedLetters.push(M),c+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[_],this.lettersChangedFlag=M.update(It,Ft,jt,Dt,Ct,Et)||this.lettersChangedFlag)}}},Qt.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},Qt.prototype.mHelper=new ot,Qt.prototype.defaultPropsArray=[],W([at],Qt);function yt(){}yt.prototype.initElement=function(t,e,i){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,i),this.textProperty=new lt(this,t.t,this.dynamicProperties),this.textAnimator=new Qt(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)},yt.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},yt.prototype.createPathShape=function(t,e){var i,s=e.length,r,a="";for(i=0;i<s;i+=1)e[i].ty==="sh"&&(r=e[i].ks.k,a+=is(r,r.i.length,!0,t));return a},yt.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},yt.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},yt.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},yt.prototype.applyTextPropertiesToMatrix=function(t,e,i,s,r){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(s,r,0)},yt.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},yt.prototype.emptyProp=new si,yt.prototype.destroy=function(){},yt.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var la={shapes:[]};function Mt(t,e,i){this.textSpans=[],this.renderType="svg",this.initElement(t,e,i)}W([Nt,ae,be,re,Ot,_e,yt],Mt),Mt.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=j("text"))},Mt.prototype.buildTextContents=function(t){for(var e=0,i=t.length,s=[],r="";e<i;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(s.push(r),r=""):r+=t[e],e+=1;return s.push(r),s},Mt.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var i=t.shapes[0];if(i.it){var s=i.it[i.it.length-1];s.s&&(s.s.k[0]=e,s.s.k[1]=e)}}return t},Mt.prototype.buildNewText=function(){this.addDynamicProperty(this);var t,e,i=this.textProperty.currentData;this.renderedLetters=tt(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 s=this.globalData.fontManager.getFontByName(i.f);if(s.fClass)this.layerElement.setAttribute("class",s.fClass);else{this.layerElement.setAttribute("font-family",s.fFamily);var r=i.fWeight,a=i.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",r)}this.layerElement.setAttribute("aria-label",i.t);var h=i.l||[],c=!!this.globalData.fontManager.chars;e=h.length;var o,b=this.mHelper,_="",w=this.data.singleShape,f=0,P=0,A=!0,k=i.tr*.001*i.finalSize;if(w&&!c&&!i.sz){var C=this.textContainer,g="start";switch(i.j){case 1:g="end";break;case 2:g="middle";break;default:g="start";break}C.setAttribute("text-anchor",g),C.setAttribute("letter-spacing",k);var p=this.buildTextContents(i.finalText);for(e=p.length,P=i.ps?i.ps[1]+i.ascent:0,t=0;t<e;t+=1)o=this.textSpans[t].span||j("tspan"),o.textContent=p[t],o.setAttribute("x",0),o.setAttribute("y",P),o.style.display="inherit",C.appendChild(o),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=o,P+=i.finalLineHeight;this.layerElement.appendChild(C)}else{var l=this.textSpans.length,m;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!c||!w||t===0){if(o=l>t?this.textSpans[t].span:j(c?"g":"text"),l<=t){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=o,c){var y=j("g");o.appendChild(y),this.textSpans[t].childSpan=y}this.textSpans[t].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(b.reset(),w&&(h[t].n&&(f=-k,P+=i.yOffset,P+=A?1:0,A=!1),this.applyTextPropertiesToMatrix(i,b,h[t].line,f,P),f+=h[t].l||0,f+=k),c){m=this.globalData.fontManager.getCharData(i.finalText[t],s.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily);var x;if(m.t===1)x=new we(m.data,this.globalData,this);else{var T=la;m.data&&m.data.shapes&&(T=this.buildShapeData(m.data,i.finalSize)),x=new Q(T,this.globalData,this)}if(this.textSpans[t].glyph){var F=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(F.layerElement),F.destroy()}this.textSpans[t].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[t].childSpan.appendChild(x.layerElement),m.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+i.finalSize/100+","+i.finalSize/100+")")}else w&&o.setAttribute("transform","translate("+b.props[12]+","+b.props[13]+")"),o.textContent=h[t].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}w&&o&&o.setAttribute("d",_)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},Mt.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},Mt.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))},Mt.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,s=this.textProperty.currentData.l;e=s.length;var r,a,h;for(t=0;t<e;t+=1)s[t].n||(r=i[t],a=this.textSpans[t].span,h=this.textSpans[t].glyph,h&&h.renderFrame(),r._mdf.m&&a.setAttribute("transform",r.m),r._mdf.o&&a.setAttribute("opacity",r.o),r._mdf.sw&&a.setAttribute("stroke-width",r.sw),r._mdf.sc&&a.setAttribute("stroke",r.sc),r._mdf.fc&&a.setAttribute("fill",r.fc))}};function ai(t,e,i){this.initElement(t,e,i)}W([ke],ai),ai.prototype.createContent=function(){var t=j("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)};function qt(t,e,i){this.initFrame(),this.initBaseData(t,e,i),this.initFrame(),this.initTransform(t,e,i),this.initHierarchy()}qt.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},qt.prototype.renderFrame=function(){},qt.prototype.getBaseElement=function(){return null},qt.prototype.destroy=function(){},qt.prototype.sourceRectAtTime=function(){},qt.prototype.hide=function(){},W([Nt,ae,re,Ot],qt);function it(){}W([ht],it),it.prototype.createNull=function(t){return new qt(t,this.globalData,this)},it.prototype.createShape=function(t){return new Q(t,this.globalData,this)},it.prototype.createText=function(t){return new Mt(t,this.globalData,this)},it.prototype.createImage=function(t){return new ke(t,this.globalData,this)},it.prototype.createSolid=function(t){return new ai(t,this.globalData,this)},it.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=j("clipPath"),s=j("rect");s.setAttribute("width",t.w),s.setAttribute("height",t.h),s.setAttribute("x",0),s.setAttribute("y",0);var r=pt();i.setAttribute("id",r),i.appendChild(s),this.layerElement.setAttribute("clip-path","url("+dt()+"#"+r+")"),e.appendChild(i),this.layers=t.layers,this.elements=tt(t.layers.length)},it.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},it.prototype.updateContainerSize=function(){},it.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},it.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,Se()&&(this.layers[t].ty===0&&this.globalData.projectInterface.registerComposition(i),i.initExpressions()),this.appendElementInPos(i,t),this.layers[t].tt){var s="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(s===-1)return;if(!this.elements[s]||this.elements[s]===!0)this.buildItem(s),this.addPendingElement(i);else{var r=e[s],a=r.getMatte(this.layers[t].tt);i.setMatte(a)}}}},it.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 s="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,r=this.elements[s],a=r.getMatte(this.layers[e].tt);t.setMatte(a);break}e+=1}}},it.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()}},it.prototype.appendElementInPos=function(t,e){var i=t.getBaseElement();if(i){for(var s=0,r;s<e;)this.elements[s]&&this.elements[s]!==!0&&this.elements[s].getBaseElement()&&(r=this.elements[s].getBaseElement()),s+=1;r?this.layerElement.insertBefore(i,r):this.layerElement.appendChild(i)}},it.prototype.hide=function(){this.layerElement.style.display="none"},it.prototype.show=function(){this.layerElement.style.display="block"};function Tt(){}W([Nt,ae,re,Ot,_e],Tt),Tt.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()},Tt.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,s=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),i=s-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))}},Tt.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()},Tt.prototype.setElements=function(t){this.elements=t},Tt.prototype.getElements=function(){return this.elements},Tt.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},Tt.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function we(t,e,i){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?tt(this.layers.length):[],this.initElement(t,e,i),this.tm=t.tm?L.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}W([it,Tt,be],we),we.prototype.createComp=function(t){return new we(t,this.globalData,this)};function ri(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=j("svg");var i="";if(e&&e.title){var s=j("title"),r=pt();s.setAttribute("id",r),s.textContent=e.title,this.svgElement.appendChild(s),i+=r}if(e&&e.description){var a=j("desc"),h=pt();a.setAttribute("id",h),a.textContent=e.description,this.svgElement.appendChild(a),i+=" "+h}i&&this.svgElement.setAttribute("aria-labelledby",i);var c=j("defs");this.svgElement.appendChild(c);var o=j("g");this.svgElement.appendChild(o),this.layerElement=o,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:c,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return W([it],ri),ri.prototype.createComp=function(t){return new we(t,this.globalData,this)},bs("svg",ri),Vt.registerModifier("tm",bt),Vt.registerModifier("pb",me),Vt.registerModifier("rp",At),Vt.registerModifier("rd",ce),Vt.registerModifier("zz",de),Vt.registerModifier("op",ge),U})}),ca=fa();/*! Bundled license information:
3
4lottie-web/build/player/lottie_light.js:
5  (*!
6   Transformation Matrix v2.0
7   (c) Epistemex 2014-2015
8   www.epistemex.com
9   By Ken Fyrstenberg
10   Contributions by leeoniya.
11   License: MIT, header required.
12   *)
13*/export{ca as default};

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