Module 71885

168,049 characters · in 3e380b351fcd064a.js
Dependencies
Required by (0)none
Lazily required by (1)
Requires (1)
Lazily requires (0)none
Source Raw
function(t,e,s){s.d(e,{default:()=>i});let i=(0,s(189293).t)((t,e)=>{var s,i;"u">typeof document&&"u">typeof navigator&&(s=t,i=function(){var s,i,a,r,n,o,h,l,p,f="",d=!1,m=function(t){f=t},c=function(){return f};function u(t){return document.createElement(t)}function g(t,e){var s,i,a=t.length;for(s=0;s<a;s+=1)for(var r in i=t[s].prototype)Object.prototype.hasOwnProperty.call(i,r)&&(e.prototype[r]=i[r])}var y=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,s=this.audios.length;for(e=0;e<s;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(!this._isMuted*this._volume)}},function(){return new t}}(),v=function(){function t(t,e){var s,i=0,a=[];switch(t){case"int16":case"uint8c":s=1;break;default:s=1.1}for(i=0;i<e;i+=1)a.push(s);return a}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,s){return"float32"===e?new Float32Array(s):"int16"===e?new Int16Array(s):"uint8c"===e?new Uint8ClampedArray(s):t(e,s)}:t}();function b(t){return Array.apply(null,{length:t})}function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var k,P=!0,A=null,S="",x=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),w=Math.pow,D=Math.sqrt,M=Math.floor,C=Math.min,T={},F=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],E=F.length;for(k=0;k<E;k+=1)T[F[k]]=Math[F[k]];T.random=Math.random,T.abs=function(t){if("object"===_(t)&&t.length){var e,s=b(t.length),i=t.length;for(e=0;e<i;e+=1)s[e]=Math.abs(t[e]);return s}return Math.abs(t)};var I=150,L=Math.PI/180;function V(t,e,s,i){this.type=t,this.currentTime=e,this.totalTime=s,this.direction=i<0?-1:1}function R(t,e){this.type=t,this.direction=e<0?-1:1}function z(t,e,s,i){this.type=t,this.currentLoop=s,this.totalLoops=e,this.direction=i<0?-1:1}function N(t,e,s){this.type=t,this.firstFrame=e,this.totalFrames=s}function O(t,e){this.type=t,this.target=e}function B(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function q(t){this.type="configError",this.nativeError=t}var j=(J=0,function(){return J+=1,S+"__lottie_element_"+J});function W(t,e,s){var i,a,r,n,o,h,l,p;switch(n=Math.floor(6*t),o=6*t-n,h=s*(1-e),l=s*(1-o*e),p=s*(1-(1-o)*e),n%6){case 0:i=s,a=p,r=h;break;case 1:i=l,a=s,r=h;break;case 2:i=h,a=s,r=p;break;case 3:i=h,a=l,r=s;break;case 4:i=p,a=h,r=s;break;case 5:i=s,a=h,r=l}return[i,a,r]}function X(t,e,s){var i,a=Math.max(t,e,s),r=Math.min(t,e,s),n=a-r;switch(a){case r:i=0;break;case t:i=(e-s+6*(e<s)*n)/(6*n);break;case e:i=(s-t+2*n)/(6*n);break;case s:i=(t-e+4*n)/(6*n)}return[i,0===a?0:n/a,a/255]}function H(t,e){var s=X(255*t[0],255*t[1],255*t[2]);return s[1]+=e,s[1]>1?s[1]=1:s[1]<=0&&(s[1]=0),W(s[0],s[1],s[2])}function Y(t,e){var s=X(255*t[0],255*t[1],255*t[2]);return s[2]+=e,s[2]>1?s[2]=1:s[2]<0&&(s[2]=0),W(s[0],s[1],s[2])}function G(t,e){var s=X(255*t[0],255*t[1],255*t[2]);return s[0]+=e/360,s[0]>1?s[0]-=1:s[0]<0&&(s[0]+=1),W(s[0],s[1],s[2])}var J,K,U,Z=[];for(K=0;K<256;K+=1)U=K.toString(16),Z[K]=1===U.length?"0"+U:U;var Q=function(t){P=!!t},$=function(t){A=t},tt=function(){return A},te=function(){return null},ts=function(t){I=t},ti=function(){return I},ta=function(t){S=t};function tr(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function tn(t){return(tn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var to=function(){var t,e,s=1,i=[],a={onmessage:function(){},postMessage:function(e){t({data:e})}},r={postMessage:function(t){a.onmessage({data:t})}};function n(){e||((e=function(e){if(window.Worker&&window.Blob&&d){var s=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"});return new Worker(URL.createObjectURL(s))}return t=e,a}(function(t){if(r.dataManager||(r.dataManager=function(){function t(a,r){var n,o,h,l,p,f,d=a.length;for(o=0;o<d;o+=1)if("ks"in(n=a[o])&&!n.completed){if(n.completed=!0,n.hasMask){var m,c=n.masksProperties;for(h=0,l=c.length;h<l;h+=1)if(c[h].pt.k.i)i(c[h].pt.k);else for(p=0,f=c[h].pt.k.length;p<f;p+=1)c[h].pt.k[p].s&&i(c[h].pt.k[p].s[0]),c[h].pt.k[p].e&&i(c[h].pt.k[p].e[0])}0===n.ty?(n.layers=e(n.refId,r),t(n.layers,r)):4===n.ty?s(n.shapes):5===n.ty&&0===(m=n).t.a.length&&m.t.p}}function e(t,e){var s=function(t,e){for(var s=0,i=e.length;s<i;){if(e[s].id===t)return e[s];s+=1}return null}(t,e);return s?s.layers.__used?JSON.parse(JSON.stringify(s.layers)):(s.layers.__used=!0,s.layers):null}function s(t){var e,a,r;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=0,r=t[e].ks.k.length;a<r;a+=1)t[e].ks.k[a].s&&i(t[e].ks.k[a].s[0]),t[e].ks.k[a].e&&i(t[e].ks.k[a].e[0]);else"gr"===t[e].ty&&s(t[e].it)}function i(t){var e,s=t.i.length;for(e=0;e<s;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function a(t,e){var s=e?e.split("."):[100,100,100];return t[0]>s[0]||!(s[0]>t[0])&&(t[1]>s[1]||!(s[1]>t[1])&&(t[2]>s[2]||!(s[2]>t[2])&&null))}var r,n=function(){var t=[4,4,14];function e(t){var e,s=t.length;for(e=0;e<s;e+=1)5===t[e].ty&&function(t){var e=t.t.d;t.t.d={k:[{s:e,t:0}]}}(t[e])}return function(s){if(a(t,s.v)&&(e(s.layers),s.assets)){var i,r=s.assets.length;for(i=0;i<r;i+=1)s.assets[i].layers&&e(s.assets[i].layers)}}}(),o=(r=[4,7,99],function(t){if(t.chars&&!a(r,t.v)){var e,i=t.chars.length;for(e=0;e<i;e+=1){var n=t.chars[e];n.data&&n.data.shapes&&(s(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}},t.chars[e].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"})))}}}),h=function(){var t=[5,7,15];function e(t){var e,s=t.length;for(e=0;e<s;e+=1)5===t[e].ty&&function(t){var e=t.t.p;"number"==typeof e.a&&(e.a={a:0,k:e.a}),"number"==typeof e.p&&(e.p={a:0,k:e.p}),"number"==typeof e.r&&(e.r={a:0,k:e.r})}(t[e])}return function(s){if(a(t,s.v)&&(e(s.layers),s.assets)){var i,r=s.assets.length;for(i=0;i<r;i+=1)s.assets[i].layers&&e(s.assets[i].layers)}}}(),l=function(){var t=[4,1,9];function e(t){var e,s=t.length;for(e=0;e<s;e+=1)4===t[e].ty&&function t(e){var s,i,a,r=e.length;for(s=0;s<r;s+=1)if("gr"===e[s].ty)t(e[s].it);else if("fl"===e[s].ty||"st"===e[s].ty)if(e[s].c.k&&e[s].c.k[0].i)for(i=0,a=e[s].c.k.length;i<a;i+=1)e[s].c.k[i].s&&(e[s].c.k[i].s[0]/=255,e[s].c.k[i].s[1]/=255,e[s].c.k[i].s[2]/=255,e[s].c.k[i].s[3]/=255),e[s].c.k[i].e&&(e[s].c.k[i].e[0]/=255,e[s].c.k[i].e[1]/=255,e[s].c.k[i].e[2]/=255,e[s].c.k[i].e[3]/=255);else e[s].c.k[0]/=255,e[s].c.k[1]/=255,e[s].c.k[2]/=255,e[s].c.k[3]/=255}(t[e].shapes)}return function(s){if(a(t,s.v)&&(e(s.layers),s.assets)){var i,r=s.assets.length;for(i=0;i<r;i+=1)s.assets[i].layers&&e(s.assets[i].layers)}}}(),p=function(){var t=[4,4,18];function e(t){var e,s,i,a,r,n,o=t.length;for(s=0;s<o;s+=1){if((e=t[s]).hasMask){var h=e.masksProperties;for(i=0,a=h.length;i<a;i+=1)if(h[i].pt.k.i)h[i].pt.k.c=h[i].cl;else for(r=0,n=h[i].pt.k.length;r<n;r+=1)h[i].pt.k[r].s&&(h[i].pt.k[r].s[0].c=h[i].cl),h[i].pt.k[r].e&&(h[i].pt.k[r].e[0].c=h[i].cl)}4===e.ty&&function t(e){var s,i,a;for(s=e.length-1;s>=0;s-=1)if("sh"===e[s].ty)if(e[s].ks.k.i)e[s].ks.k.c=e[s].closed;else for(i=0,a=e[s].ks.k.length;i<a;i+=1)e[s].ks.k[i].s&&(e[s].ks.k[i].s[0].c=e[s].closed),e[s].ks.k[i].e&&(e[s].ks.k[i].e[0].c=e[s].closed);else"gr"===e[s].ty&&t(e[s].it)}(e.shapes)}}return function(s){if(a(t,s.v)&&(e(s.layers),s.assets)){var i,r=s.assets.length;for(i=0;i<r;i+=1)s.assets[i].layers&&e(s.assets[i].layers)}}}(),f={};return f.completeData=function(s){s.__complete||(l(s),n(s),o(s),h(s),p(s),t(s.layers,s.assets),function(s,i){if(s){var a=0,r=s.length;for(a=0;a<r;a+=1)1===s[a].t&&(s[a].data.layers=e(s[a].data.refId,i),t(s[a].data.layers,i))}}(s.chars,s.assets),s.__complete=!0)},f.checkColors=l,f.checkChars=o,f.checkPathProperties=h,f.checkShapes=p,f.completeLayers=t,f}()),r.assetLoader||(r.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===tn(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,s,i,a){var r,n=new XMLHttpRequest;try{n.responseType="json"}catch(t){}n.onreadystatechange=function(){if(4===n.readyState)if(200===n.status)i(r=t(n));else try{r=t(n),i(r)}catch(t){a&&a(t)}};try{n.open("GET",e,!0)}catch(t){n.open("GET",s+"/"+e,!0)}n.send()}}}()),"loadAnimation"===t.data.type)r.assetLoader.load(t.data.path,t.data.fullPath,function(e){r.dataManager.completeData(e),r.postMessage({id:t.data.id,payload:e,status:"success"})},function(){r.postMessage({id:t.data.id,status:"error"})});else if("complete"===t.data.type){var e=t.data.animation;r.dataManager.completeData(e),r.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&r.assetLoader.load(t.data.path,t.data.fullPath,function(e){r.postMessage({id:t.data.id,payload:e,status:"success"})},function(){r.postMessage({id:t.data.id,status:"error"})})})).onmessage=function(t){var e=t.data,s=e.id,a=i[s];i[s]=null,"success"===e.status?a.onComplete(e.payload):a.onError&&a.onError()})}function o(t,e){var a="processId_"+(s+=1);return i[a]={onComplete:t,onError:e},a}return{loadAnimation:function(t,s,i){n();var a=o(s,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:a})},loadData:function(t,s,i){n();var a=o(s,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:a})},completeAnimation:function(t,s,i){n();var a=o(s,i);e.postMessage({type:"complete",animation:t,id:a})}}}(),th=function(){var t,e,s=((t=u("canvas")).width=1,t.height=1,(e=t.getContext("2d")).fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t);function i(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t,e,s){var i="";if(t.e)i=t.p;else if(e){var a=t.p;-1!==a.indexOf("images/")&&(a=a.split("/")[1]),i=e+a}else i=s+(t.u?t.u:"")+t.p;return i}function n(t){var e=0,s=setInterval((function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(s)),e+=1}).bind(this),50)}function o(t){var e={assetData:t},s=r(t,this.assetsPath,this.path);return to.loadData(s,(function(t){e.img=t,this._footageLoaded()}).bind(this),(function(){e.img={},this._footageLoaded()}).bind(this)),e}function h(){this._imageLoaded=i.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return h.prototype={loadAssets:function(t,e){this.imagesLoadedCb=e;var s,i=t.length;for(s=0;s<i;s+=1)t[s].layers||(t[s].t&&"seq"!==t[s].t?3===t[s].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[s]))):(this.totalImages+=1,this.images.push(this._createImageData(t[s]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,s=this.images.length;e<s;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(t){var e=r(t,this.assetsPath,this.path),i=u("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",(function(){a.img=s,this._imageLoaded()}).bind(this),!1),i.src=e;var a={img:i,assetData:t};return a},createImageData:function(t){var e=r(t,this.assetsPath,this.path),i=tr("image");x?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",(function(){a.img=s,this._imageLoaded()}).bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var a={img:i,assetData:t};return a},imageLoaded:i,footageLoaded:a,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},h}();function tl(){}tl.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var s=this._cbs[t],i=0;i<s.length;i+=1)s[i](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){if(this._cbs[t]){for(var s=0,i=this._cbs[t].length;s<i;)this._cbs[t][s]===e&&(this._cbs[t].splice(s,1),s-=1,i-=1),s+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var tp=function(t){for(var e=[],s=0;s<t.length;s+=1){var i=t[s],a={time:i.tm,duration:i.dr};try{a.payload=JSON.parse(t[s].cm)}catch(e){try{a.payload=function(t){for(var e,s=t.split("\r\n"),i={},a=0,r=0;r<s.length;r+=1)2===(e=s[r].split(":")).length&&(i[e[0]]=e[1].trim(),a+=1);if(0===a)throw Error();return i}(t[s].cm)}catch(e){a.payload={name:t[s].cm}}}e.push(a)}return e},tf=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,s=this.compositions.length;e<s;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),td={};function tm(t){return(tm="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tc=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=j(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=P,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=tf(),this.imagePreloader=new th,this.audioController=y(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new V("drawnFrame",0,0,0),this.expressionsPlugin=tt()};g([tl],tc),tc.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),this.renderer=new td[e](this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?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")),to.loadAnimation(t.path,this.configAnimation,this.onSetupError))},tc.prototype.onSetupError=function(){this.trigger("data_failed")},tc.prototype.setupAnimation=function(t){to.completeAnimation(t,this.configAnimation)},tc.prototype.setData=function(t,e){e&&"object"!==tm(e)&&(e=JSON.parse(e));var s={wrapper:t,animationData:e},i=t.attributes;s.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",s.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:function(){if(td.canvas)return"canvas";for(var t in td)if(td[t])return t;return""}()||"canvas";var a=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===a?s.loop=!1:"true"===a?s.loop=!0:""!==a&&(s.loop=parseInt(a,10)),s.autoplay=(i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value)!=="false",s.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"",(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")==="false"&&(s.prerender=!1),s.path?this.setParams(s):this.trigger("destroy")},tc.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,s,i=this.animationData.layers,a=i.length,r=t.layers,n=r.length;for(s=0;s<n;s+=1)for(e=0;e<a;){if(i[e].id===r[s].id){i[e]=r[s];break}e+=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(e=0,a=t.assets.length;e<a;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,to.completeAnimation(this.animationData,this.onSegmentComplete)},tc.prototype.onSegmentComplete=function(t){this.animationData=t;var e=tt();e&&e.initExpressions(this),this.loadNextSegment()},tc.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}this.timeCompleted=t.shift().time*this.frameRate;var e=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,to.loadData(e,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},tc.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},tc.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},tc.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},tc.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=tp(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},tc.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},tc.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=tt();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},tc.prototype.resize=function(t,e){this.renderer.updateContainerSize("number"==typeof t?t:void 0,"number"==typeof e?e:void 0)},tc.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},tc.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")},tc.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},tc.prototype.play=function(t){(!t||this.name===t)&&!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},tc.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},tc.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},tc.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},tc.prototype.getMarkerData=function(t){for(var e,s=0;s<this.markers.length;s+=1)if((e=this.markers[s]).payload&&e.payload.name===t)return e;return null},tc.prototype.goToAndStop=function(t,e,s){if(!s||this.name===s){if(isNaN(Number(t))){var i=this.getMarkerData(t);i&&this.goToAndStop(i.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},tc.prototype.goToAndPlay=function(t,e,s){if(!s||this.name===s){var i=Number(t);if(isNaN(i)){var a=this.getMarkerData(t);a&&(a.duration?this.playSegments([a.time,a.time+a.duration],!0):this.goToAndStop(a.time,!0))}else this.goToAndStop(i,e,s);this.play()}},tc.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,s=!1;e>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?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):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(s=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&!0!==this.loop)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(s=!0,e=0)):this.setCurrentRawFrameValue(e),s&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},tc.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")},tc.prototype.setSegment=function(t,e){var s=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<t?s=t:this.currentRawFrame+this.firstFrame>e&&(s=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==s&&this.goToAndStop(s,!0)},tc.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===tm(t[0])){var s,i=t.length;for(s=0;s<i;s+=1)this.segments.push(t[s])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},tc.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},tc.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},tc.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)},tc.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},tc.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},tc.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},tc.prototype.setLoop=function(t){this.loop=t},tc.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},tc.prototype.getVolume=function(){return this.audioController.getVolume()},tc.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},tc.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},tc.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},tc.prototype.getPath=function(){return this.path},tc.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var s=t.p;-1!==s.indexOf("images/")&&(s=s.split("/")[1]),e=this.assetsPath+s}else e=this.path+(t.u?t.u:"")+t.p;return e},tc.prototype.getAssetData=function(t){for(var e=0,s=this.assets.length;e<s;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},tc.prototype.hide=function(){this.renderer.hide()},tc.prototype.show=function(){this.renderer.show()},tc.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},tc.prototype.updateDocumentData=function(t,e,s){try{this.renderer.getElementByPath(t).updateDocumentData(e,s)}catch(t){}},tc.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new V(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 z(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new R(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new N(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new O(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new V(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new z(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new R(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new N(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new O(t,this))},tc.prototype.triggerRenderFrameError=function(t){var e=new B(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},tc.prototype.triggerConfigError=function(t){var e=new q(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var tu=function(){var t={},e=[],s=0,i=0,a=0,r=!0,n=!1;function o(t){for(var s=0,a=t.target;s<i;)e[s].animation===a&&(e.splice(s,1),s-=1,i-=1,a.isPaused||p()),s+=1}function h(t,s){if(!t)return null;for(var a=0;a<i;){if(e[a].elem===t&&null!==e[a].elem)return e[a].animation;a+=1}var r=new tc;return f(r,t),r.setData(t,s),r}function l(){a+=1,c()}function p(){a-=1}function f(t,s){t.addEventListener("destroy",o),t.addEventListener("_active",l),t.addEventListener("_idle",p),e.push({elem:s,animation:t}),i+=1}function d(t){var o,h=t-s;for(o=0;o<i;o+=1)e[o].animation.advanceTime(h);s=t,a&&!n?window.requestAnimationFrame(d):r=!0}function m(t){s=t,window.requestAnimationFrame(d)}function c(){!n&&a&&r&&(window.requestAnimationFrame(m),r=!1)}return t.registerAnimation=h,t.loadAnimation=function(t){var e=new tc;return f(e,null),e.setParams(t),e},t.setSpeed=function(t,s){var a;for(a=0;a<i;a+=1)e[a].animation.setSpeed(t,s)},t.setDirection=function(t,s){var a;for(a=0;a<i;a+=1)e[a].animation.setDirection(t,s)},t.play=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.play(t)},t.pause=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.pause(t)},t.stop=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.stop(t)},t.togglePause=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.togglePause(t)},t.searchAnimations=function(t,e,s){var i,a=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),r=a.length;for(i=0;i<r;i+=1)s&&a[i].setAttribute("data-bm-type",s),h(a[i],t);if(e&&0===r){s||(s="svg");var n=document.getElementsByTagName("body")[0];n.innerText="";var o=u("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",s),n.appendChild(o),h(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,s,a){var r;for(r=0;r<i;r+=1)e[r].animation.goToAndStop(t,s,a)},t.destroy=function(t){var s;for(s=i-1;s>=0;s-=1)e[s].animation.destroy(t)},t.freeze=function(){n=!0},t.unfreeze=function(){n=!1,c()},t.setVolume=function(t,s){var a;for(a=0;a<i;a+=1)e[a].animation.setVolume(t,s)},t.mute=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.mute(t)},t.unmute=function(t){var s;for(s=0;s<i;s+=1)e[s].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,s=e.length,i=[];for(t=0;t<s;t+=1)i.push(e[t].animation);return i},t}(),tg=function(){var t={};t.getBezierEasing=function(t,s,i,a,n){var o=n||("bez_"+t+"_"+s+"_"+i+"_"+a).replace(/\./g,"p");if(e[o])return e[o];var h=new r([t,s,i,a]);return e[o]=h,h};var e={},s="function"==typeof Float32Array;function i(t,e,s){return(((1-3*s+3*e)*t+(3*s-6*e))*t+3*e)*t}function a(t,e,s){return 3*(1-3*s+3*e)*t*t+2*(3*s-6*e)*t+3*e}function r(t){this._p=t,this._mSampleValues=s?new Float32Array(11):Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return r.prototype={get:function(t){var e=this._p[0],s=this._p[1],a=this._p[2],r=this._p[3];return(this._precomputed||this._precompute(),e===s&&a===r)?t:0===t?0:1===t?1:i(this._getTForX(t),s,r)},_precompute:function(){var t=this._p[0],e=this._p[1],s=this._p[2],i=this._p[3];this._precomputed=!0,(t!==e||s!==i)&&this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],s=0;s<11;++s)this._mSampleValues[s]=i(.1*s,t,e)},_getTForX:function(t){for(var e=this._p[0],s=this._p[2],r=this._mSampleValues,n=0,o=1;10!==o&&r[o]<=t;++o)n+=.1;var h=n+(t-r[--o])/(r[o+1]-r[o])*.1,l=a(h,e,s);if(l>=.001){for(var p=h,f=0;f<4;++f){var d=a(p,e,s);if(0===d)break;var m=i(p,e,s)-t;p-=m/d}return p}return 0===l?h:function(t,e,s,a,r){var n,o,h=0;do(n=i(o=e+(s-e)/2,a,r)-t)>0?s=o:e=o;while(Math.abs(n)>1e-7&&++h<10);return o}(t,n,n+.1,e,s)}},t}(),ty=function(t){return t.concat(b(t.length))},tv=function(t,e,s){var i=0,a=t,r=b(a);return{newElement:function(){var t;return i?(i-=1,t=r[i]):t=e(),t},release:function(t){i===a&&(r=ty(r),a*=2),s&&s(t),r[i]=t,i+=1}}},tb=tv(8,function(){return{addedLength:0,percents:v("float32",ti()),lengths:v("float32",ti())}}),t_=tv(8,function(){return{lengths:[],totalLength:0}},function(t){var e,s=t.lengths.length;for(e=0;e<s;e+=1)tb.release(t.lengths[e]);t.lengths.length=0}),tk=function(){var t,e=Math;function s(t,e,s,i,a,r){var n=t*i+e*a+s*r-a*i-r*t-s*e;return n>-.001&&n<.001}var i=function(t,e,s,i){var a,r,n,o,h,l,p=ti(),f=0,d=[],m=[],c=tb.newElement();for(a=0,n=s.length;a<p;a+=1){for(r=0,h=a/(p-1),l=0;r<n;r+=1)o=w(1-h,3)*t[r]+3*w(1-h,2)*h*s[r]+3*(1-h)*w(h,2)*i[r]+w(h,3)*e[r],d[r]=o,null!==m[r]&&(l+=w(d[r]-m[r],2)),m[r]=d[r];l&&(f+=l=D(l)),c.percents[a]=h,c.lengths[a]=f}return c.addedLength=f,c};function a(t){this.segmentLength=0,this.points=Array(t)}function r(t,e){this.partialLength=t,this.point=e}var n=(t={},function(e,i,n,o){var h=(e[0]+"_"+e[1]+"_"+i[0]+"_"+i[1]+"_"+n[0]+"_"+n[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!t[h]){var l,p,f,d,m,c,u,g=ti(),y=0,v=null;2===e.length&&(e[0]!==i[0]||e[1]!==i[1])&&s(e[0],e[1],i[0],i[1],e[0]+n[0],e[1]+n[1])&&s(e[0],e[1],i[0],i[1],i[0]+o[0],i[1]+o[1])&&(g=2);var _=new a(g);for(l=0,f=n.length;l<g;l+=1){for(p=0,u=b(f),m=l/(g-1),c=0;p<f;p+=1)d=w(1-m,3)*e[p]+3*w(1-m,2)*m*(e[p]+n[p])+3*(1-m)*w(m,2)*(i[p]+o[p])+w(m,3)*i[p],u[p]=d,null!==v&&(c+=w(u[p]-v[p],2));y+=c=D(c),_.points[l]=new r(c,u),v=u}_.segmentLength=y,t[h]=_}return t[h]});function o(t,e){var s=e.percents,i=e.lengths,a=s.length,r=M((a-1)*t),n=t*e.addedLength,o=0;if(r===a-1||0===r||n===i[r])return s[r];for(var h=i[r]>n?-1:1,l=!0;l;)if(i[r]<=n&&i[r+1]>n?(o=(n-i[r])/(i[r+1]-i[r]),l=!1):r+=h,r<0||r>=a-1){if(r===a-1)return s[r];l=!1}return s[r]+(s[r+1]-s[r])*o}var h=v("float32",8);return{getSegmentsLength:function(t){var e,s=t_.newElement(),a=t.c,r=t.v,n=t.o,o=t.i,h=t._length,l=s.lengths,p=0;for(e=0;e<h-1;e+=1)l[e]=i(r[e],r[e+1],n[e],o[e+1]),p+=l[e].addedLength;return a&&h&&(l[e]=i(r[e],r[0],n[e],o[0]),p+=l[e].addedLength),s.totalLength=p,s},getNewSegment:function(t,s,i,a,r,n,l){r<0?r=0:r>1&&(r=1);var p,f=o(r,l),d=o(n=n>1?1:n,l),m=t.length,c=1-f,u=1-d,g=c*c*c,y=f*c*c*3,v=f*f*c*3,b=f*f*f,_=c*c*u,k=f*c*u+c*f*u+c*c*d,P=f*f*u+c*f*d+f*c*d,A=f*f*d,S=c*u*u,x=f*u*u+c*d*u+c*u*d,w=f*d*u+c*d*d+f*u*d,D=f*d*d,M=u*u*u,C=d*u*u+u*d*u+u*u*d,T=d*d*u+u*d*d+d*u*d,F=d*d*d;for(p=0;p<m;p+=1)h[4*p]=e.round((g*t[p]+y*i[p]+v*a[p]+b*s[p])*1e3)/1e3,h[4*p+1]=e.round((_*t[p]+k*i[p]+P*a[p]+A*s[p])*1e3)/1e3,h[4*p+2]=e.round((S*t[p]+x*i[p]+w*a[p]+D*s[p])*1e3)/1e3,h[4*p+3]=e.round((M*t[p]+C*i[p]+T*a[p]+F*s[p])*1e3)/1e3;return h},getPointInSegment:function(t,s,i,a,r,n){var h=o(r,n),l=1-h;return[e.round((l*l*l*t[0]+(h*l*l+l*h*l+l*l*h)*i[0]+(h*h*l+l*h*h+h*l*h)*a[0]+h*h*h*s[0])*1e3)/1e3,e.round((l*l*l*t[1]+(h*l*l+l*h*l+l*l*h)*i[1]+(h*h*l+l*h*h+h*l*h)*a[1]+h*h*h*s[1])*1e3)/1e3]},buildBezierData:n,pointOnLine2D:s,pointOnLine3D:function(t,i,a,r,n,o,h,l,p){if(0===a&&0===o&&0===p)return s(t,i,r,n,h,l);var f,d=e.sqrt(e.pow(r-t,2)+e.pow(n-i,2)+e.pow(o-a,2)),m=e.sqrt(e.pow(h-t,2)+e.pow(l-i,2)+e.pow(p-a,2)),c=e.sqrt(e.pow(h-r,2)+e.pow(l-n,2)+e.pow(p-o,2));return(f=d>m?d>c?d-m-c:c-m-d:c>m?c-m-d:m-d-c)>-1e-4&&f<1e-4}}}(),tP=Math.abs;function tA(t,e){var s=this.offsetTime;"multidimensional"===this.propType&&(f=v("float32",this.pv.length));for(var i=e.lastIndex,a=i,r=this.keyframes.length-1,n=!0;n;){if(d=this.keyframes[a],m=this.keyframes[a+1],a===r-1&&t>=m.t-s){d.h&&(d=m),i=0;break}if(m.t-s>t){i=a;break}a<r-1?a+=1:(i=0,n=!1)}c=this.keyframesMetadata[a]||{};var o=m.t-s,h=d.t-s;if(d.to){c.bezierData||(c.bezierData=tk.buildBezierData(d.s,m.s||d.e,d.to,d.ti));var l=c.bezierData;if(t>=o||t<h){var p=t>=o?l.points.length-1:0;for(u=0,g=l.points[p].point.length;u<g;u+=1)f[u]=l.points[p].point[u]}else{c.__fnct?_=c.__fnct:c.__fnct=_=tg.getBezierEasing(d.o.x,d.o.y,d.i.x,d.i.y,d.n).get;var f,d,m,c,u,g,y,b,_,k,P,A=_((t-h)/(o-h)),S=l.segmentLength*A,x=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastAddedLength:0;for(b=e.lastFrame<t&&e._lastKeyframeIndex===a?e._lastPoint:0,n=!0,y=l.points.length;n;){if(x+=l.points[b].partialLength,0===S||0===A||b===l.points.length-1){for(u=0,g=l.points[b].point.length;u<g;u+=1)f[u]=l.points[b].point[u];break}if(S>=x&&S<x+l.points[b+1].partialLength){for(u=0,P=(S-x)/l.points[b+1].partialLength,g=l.points[b].point.length;u<g;u+=1)f[u]=l.points[b].point[u]+(l.points[b+1].point[u]-l.points[b].point[u])*P;break}b<y-1?b+=1:n=!1}e._lastPoint=b,e._lastAddedLength=x-l.points[b].partialLength,e._lastKeyframeIndex=a}}else if(r=d.s.length,k=m.s||d.e,this.sh&&1!==d.h)if(t>=o)f[0]=k[0],f[1]=k[1],f[2]=k[2];else if(t<=h)f[0]=d.s[0],f[1]=d.s[1],f[2]=d.s[2];else{var w,D,M,C,T,F,E,I,V,R,z,N,O,B,q,j,W,X,H,Y,G,J,K,U,Z,Q,$,tt,te,ts,ti,ta=tS(d.s),tr=tS(k);X=f,Y=(H=(w=ta,D=tr,M=(t-h)/(o-h),V=[],R=w[0],z=w[1],N=w[2],O=w[3],B=D[0],q=D[1],j=D[2],(T=R*B+z*q+N*j+O*(W=D[3]))<0&&(T=-T,B=-B,q=-q,j=-j,W=-W),1-T>1e-6?(F=Math.sin(C=Math.acos(T)),E=Math.sin((1-M)*C)/F,I=Math.sin(M*C)/F):(E=1-M,I=M),V[0]=E*R+I*B,V[1]=E*z+I*q,V[2]=E*N+I*j,V[3]=E*O+I*W,V))[0],G=H[1],J=H[2],U=Math.atan2(2*G*(K=H[3])-2*Y*J,1-2*G*G-2*J*J),Z=Math.asin(2*Y*G+2*J*K),Q=Math.atan2(2*Y*K-2*G*J,1-2*Y*Y-2*J*J),X[0]=U/L,X[1]=Z/L,X[2]=Q/L}else for(a=0;a<r;a+=1)1!==d.h&&(t>=o?A=1:t<h?A=0:(d.o.x.constructor===Array?(c.__fnct||(c.__fnct=[]),c.__fnct[a]?_=c.__fnct[a]:($=void 0===d.o.x[a]?d.o.x[0]:d.o.x[a],tt=void 0===d.o.y[a]?d.o.y[0]:d.o.y[a],te=void 0===d.i.x[a]?d.i.x[0]:d.i.x[a],ts=void 0===d.i.y[a]?d.i.y[0]:d.i.y[a],_=tg.getBezierEasing($,tt,te,ts).get,c.__fnct[a]=_)):c.__fnct?_=c.__fnct:($=d.o.x,tt=d.o.y,te=d.i.x,ts=d.i.y,_=tg.getBezierEasing($,tt,te,ts).get,d.keyframeMetadata=_),A=_((t-h)/(o-h)))),k=m.s||d.e,ti=1===d.h?d.s[a]:d.s[a]+(k[a]-d.s[a])*A,"multidimensional"===this.propType?f[a]=ti:f=ti;return e.lastIndex=i,f}function tS(t){var e=t[0]*L,s=t[1]*L,i=t[2]*L,a=Math.cos(e/2),r=Math.cos(s/2),n=Math.cos(i/2),o=Math.sin(e/2),h=Math.sin(s/2),l=Math.sin(i/2);return[o*h*n+a*r*l,o*r*n+a*h*l,a*h*n-o*r*l,a*r*n-o*h*l]}function tx(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime;return t===this._caching.lastFrame||-999999!==this._caching.lastFrame&&(this._caching.lastFrame>=s&&t>=s||this._caching.lastFrame<e&&t<e)||(this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0),this.pv=this.interpolateValue(t,this._caching)),this._caching.lastFrame=t,this.pv}function tw(t){var e;if("unidimensional"===this.propType)e=t*this.mult,tP(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var s=0,i=this.v.length;s<i;)e=t[s]*this.mult,tP(this.v[s]-e)>1e-5&&(this.v[s]=e,this._mdf=!0),s+=1}function tD(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length){if(this.lock)return void this.setVValue(this.pv);this.lock=!0,this._mdf=this._isFirstFrame;var t,e=this.effectsSequence.length,s=this.kf?this.pv:this.data.k;for(t=0;t<e;t+=1)s=this.effectsSequence[t](s);this.setVValue(s),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function tM(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function tC(t,e,s,i){this.propType="unidimensional",this.mult=s||1,this.data=e,this.v=s?e.k*s:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=tD,this.setVValue=tw,this.addEffect=tM}function tT(t,e,s,i){this.propType="multidimensional",this.mult=s||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var a,r=e.k.length;for(a=0,this.v=v("float32",r),this.pv=v("float32",r),this.vel=v("float32",r);a<r;a+=1)this.v[a]=e.k[a]*this.mult,this.pv[a]=e.k[a];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=tD,this.setVValue=tw,this.addEffect=tM}function tF(t,e,s,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:-999999,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=s||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=-999999,this.pv=-999999,this._isFirstFrame=!0,this.getValue=tD,this.setVValue=tw,this.interpolateValue=tA,this.effectsSequence=[tx.bind(this)],this.addEffect=tM}function tE(t,e,s,i){this.propType="multidimensional";var a,r,n,o,h,l=e.k.length;for(a=0;a<l-1;a+=1)e.k[a].to&&e.k[a].s&&e.k[a+1]&&e.k[a+1].s&&(r=e.k[a].s,n=e.k[a+1].s,o=e.k[a].to,h=e.k[a].ti,(2===r.length&&(r[0]!==n[0]||r[1]!==n[1])&&tk.pointOnLine2D(r[0],r[1],n[0],n[1],r[0]+o[0],r[1]+o[1])&&tk.pointOnLine2D(r[0],r[1],n[0],n[1],n[0]+h[0],n[1]+h[1])||3===r.length&&(r[0]!==n[0]||r[1]!==n[1]||r[2]!==n[2])&&tk.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],r[0]+o[0],r[1]+o[1],r[2]+o[2])&&tk.pointOnLine3D(r[0],r[1],r[2],n[0],n[1],n[2],n[0]+h[0],n[1]+h[1],n[2]+h[2]))&&(e.k[a].to=null,e.k[a].ti=null),r[0]===n[0]&&r[1]===n[1]&&0===o[0]&&0===o[1]&&0===h[0]&&0===h[1]&&(2===r.length||r[2]===n[2]&&0===o[2]&&0===h[2])&&(e.k[a].to=null,e.k[a].ti=null));this.effectsSequence=[tx.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=s||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=tD,this.setVValue=tw,this.interpolateValue=tA,this.frameId=-1;var p=e.k[0].s.length;for(a=0,this.v=v("float32",p),this.pv=v("float32",p);a<p;a+=1)this.v[a]=-999999,this.pv[a]=-999999;this._caching={lastFrame:-999999,lastIndex:0,value:v("float32",p)},this.addEffect=tM}var tI={getProp:function(t,e,s,i,a){var r;if(e.sid&&(e=t.globalData.slotManager.getProp(e)),e.k.length)if("number"==typeof e.k[0])r=new tT(t,e,i,a);else switch(s){case 0:r=new tF(t,e,i,a);break;case 1:r=new tE(t,e,i,a)}else r=new tC(t,e,i,a);return r.effectsSequence.length&&a.addDynamicProperty(r),r}};function tL(){}tL.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(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 tV=tv(8,function(){return v("float32",2)});function tR(){this.c=!1,this._length=0,this._maxLength=8,this.v=b(this._maxLength),this.o=b(this._maxLength),this.i=b(this._maxLength)}tR.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var s=0;s<e;)this.v[s]=tV.newElement(),this.o[s]=tV.newElement(),this.i[s]=tV.newElement(),s+=1},tR.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},tR.prototype.doubleArrayLength=function(){this.v=this.v.concat(b(this._maxLength)),this.i=this.i.concat(b(this._maxLength)),this.o=this.o.concat(b(this._maxLength)),this._maxLength*=2},tR.prototype.setXYAt=function(t,e,s,i,a){var r;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),s){case"v":r=this.v;break;case"i":r=this.i;break;case"o":r=this.o;break;default:r=[]}r[i]&&(!r[i]||a)||(r[i]=tV.newElement()),r[i][0]=t,r[i][1]=e},tR.prototype.setTripleAt=function(t,e,s,i,a,r,n,o){this.setXYAt(t,e,"v",n,o),this.setXYAt(s,i,"o",n,o),this.setXYAt(a,r,"i",n,o)},tR.prototype.reverse=function(){var t,e=new tR;e.setPathData(this.c,this._length);var s=this.v,i=this.o,a=this.i,r=0;this.c&&(e.setTripleAt(s[0][0],s[0][1],a[0][0],a[0][1],i[0][0],i[0][1],0,!1),r=1);var n=this._length-1,o=this._length;for(t=r;t<o;t+=1)e.setTripleAt(s[n][0],s[n][1],a[n][0],a[n][1],i[n][0],i[n][1],t,!1),n-=1;return e},tR.prototype.length=function(){return this._length};var tz=((s=tv(4,function(){return new tR},function(t){var e,s=t._length;for(e=0;e<s;e+=1)tV.release(t.v[e]),tV.release(t.i[e]),tV.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})).clone=function(t){var e,i=s.newElement(),a=void 0===t._length?t.v.length:t._length;for(i.setLength(a),i.c=t.c,e=0;e<a;e+=1)i.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return i},s);function tN(){this._length=0,this._maxLength=4,this.shapes=b(this._maxLength)}tN.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(b(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},tN.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)tz.release(this.shapes[t]);this._length=0};var tO=(i=0,a=4,r=b(4),{newShapeCollection:function(){var t;return i?(i-=1,t=r[i]):t=new tN,t},release:function(t){var e,s=t._length;for(e=0;e<s;e+=1)tz.release(t.shapes[e]);t._length=0,i===a&&(r=ty(r),a*=2),r[i]=t,i+=1}}),tB=function(){function t(t,e,s){var i=s.lastIndex,a=this.keyframes;if(t<a[0].t-this.offsetTime)r=a[0].s[0],o=!0,i=0;else if(t>=a[a.length-1].t-this.offsetTime)r=a[a.length-1].s?a[a.length-1].s[0]:a[a.length-2].e[0],o=!0;else{for(var r,n,o,h,l,p,f,d,m,c,u,g,y,v=i,b=a.length-1,_=!0;_&&(c=a[v],!((u=a[v+1]).t-this.offsetTime>t));)v<b-1?v+=1:_=!1;g=this.keyframesMetadata[v]||{},o=1===c.h,i=v,o||(t>=u.t-this.offsetTime?d=1:t<c.t-this.offsetTime?d=0:(g.__fnct?y=g.__fnct:g.__fnct=y=tg.getBezierEasing(c.o.x,c.o.y,c.i.x,c.i.y).get,d=y((t-(c.t-this.offsetTime))/(u.t-this.offsetTime-(c.t-this.offsetTime)))),n=u.s?u.s[0]:c.e[0]),r=c.s[0]}for(h=0,p=e._length,f=r.i[0].length,s.lastIndex=i;h<p;h+=1)for(l=0;l<f;l+=1)m=o?r.i[h][l]:r.i[h][l]+(n.i[h][l]-r.i[h][l])*d,e.i[h][l]=m,m=o?r.o[h][l]:r.o[h][l]+(n.o[h][l]-r.o[h][l])*d,e.o[h][l]=m,m=o?r.v[h][l]:r.v[h][l]+(n.v[h][l]-r.v[h][l])*d,e.v[h][l]=m}function e(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,s=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return -999999!==i&&(i<e&&t<e||i>s&&t>s)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function s(){this.paths=this.localShapeCollection}function i(t){!function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var s,i=t._length;for(s=0;s<i;s+=1)if(t.v[s][0]!==e.v[s][0]||t.v[s][1]!==e.v[s][1]||t.o[s][0]!==e.o[s][0]||t.o[s][1]!==e.o[s][1]||t.i[s][0]!==e.i[s][0]||t.i[s][1]!==e.i[s][1])return!1;return!0}(this.v,t)&&(this.v=tz.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock)return void this.setVValue(this.pv);this.lock=!0,this._mdf=!1;var t,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,s=this.effectsSequence.length;for(t=0;t<s;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function r(t,e,i){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var a=3===i?e.pt.k:e.ks.k;this.v=tz.clone(a),this.pv=tz.clone(this.v),this.localShapeCollection=tO.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=s,this.effectsSequence=[]}function n(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function o(t,i,a){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===a?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var r=this.keyframes[0].s[0].i.length;this.v=tz.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,r),this.pv=tz.clone(this.v),this.localShapeCollection=tO.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=-999999,this.reset=s,this._caching={lastFrame:-999999,lastIndex:0},this.effectsSequence=[e.bind(this)]}r.prototype.interpolateShape=t,r.prototype.getValue=a,r.prototype.setVValue=i,r.prototype.addEffect=n,o.prototype.getValue=a,o.prototype.interpolateShape=t,o.prototype.setVValue=i,o.prototype.addEffect=n;var h=function(){function t(t,e){this.v=tz.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=tO.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=tI.getProp(t,e.p,1,0,this),this.s=tI.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.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 t=this.p.v[0],e=this.p.v[1],s=this.s.v[0]/2,i=this.s.v[1]/2,a=3!==this.d,r=this.v;r.v[0][0]=t,r.v[0][1]=e-i,r.v[1][0]=a?t+s:t-s,r.v[1][1]=e,r.v[2][0]=t,r.v[2][1]=e+i,r.v[3][0]=a?t-s:t+s,r.v[3][1]=e,r.i[0][0]=a?t-.5519*s:t+.5519*s,r.i[0][1]=e-i,r.i[1][0]=a?t+s:t-s,r.i[1][1]=e-.5519*i,r.i[2][0]=a?t+.5519*s:t-.5519*s,r.i[2][1]=e+i,r.i[3][0]=a?t-s:t+s,r.i[3][1]=e+.5519*i,r.o[0][0]=a?t+.5519*s:t-.5519*s,r.o[0][1]=e-i,r.o[1][0]=a?t+s:t-s,r.o[1][1]=e+.5519*i,r.o[2][0]=a?t-.5519*s:t+.5519*s,r.o[2][1]=e+i,r.o[3][0]=a?t-s:t+s,r.o[3][1]=e-.5519*i}},g([tL],t),t}(),l=function(){function t(t,e){this.v=tz.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=tI.getProp(t,e.ir,0,0,this),this.is=tI.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=tI.getProp(t,e.pt,0,0,this),this.p=tI.getProp(t,e.p,1,0,this),this.r=tI.getProp(t,e.r,0,L,this),this.or=tI.getProp(t,e.or,0,0,this),this.os=tI.getProp(t,e.os,0,.01,this),this.localShapeCollection=tO.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.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 t,e,s,i,a=2*Math.floor(this.pt.v),r=2*Math.PI/a,n=!0,o=this.or.v,h=this.ir.v,l=this.os.v,p=this.is.v,f=2*Math.PI*o/(2*a),d=2*Math.PI*h/(2*a),m=-Math.PI/2;m+=this.r.v;var c=3===this.data.d?-1:1;for(t=0,this.v._length=0;t<a;t+=1){e=n?o:h,s=n?l:p,i=n?f:d;var u=e*Math.cos(m),g=e*Math.sin(m),y=0===u&&0===g?0:g/Math.sqrt(u*u+g*g),v=0===u&&0===g?0:-u/Math.sqrt(u*u+g*g);u+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(u,g,u-y*i*s*c,g-v*i*s*c,u+y*i*s*c,g+v*i*s*c,t,!0),n=!n,m+=r*c}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),s=2*Math.PI/e,i=this.or.v,a=this.os.v,r=2*Math.PI*i/(4*e),n=-(.5*Math.PI),o=3===this.data.d?-1:1;for(n+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var h=i*Math.cos(n),l=i*Math.sin(n),p=0===h&&0===l?0:l/Math.sqrt(h*h+l*l),f=0===h&&0===l?0:-h/Math.sqrt(h*h+l*l);h+=+this.p.v[0],l+=+this.p.v[1],this.v.setTripleAt(h,l,h-p*r*a*o,l-f*r*a*o,h+p*r*a*o,l+f*r*a*o,t,!0),n+=s*o}this.paths.length=0,this.paths[0]=this.v}},g([tL],t),t}(),p=function(){function t(t,e){this.v=tz.newElement(),this.v.c=!0,this.localShapeCollection=tO.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=tI.getProp(t,e.p,1,0,this),this.s=tI.getProp(t,e.s,1,0,this),this.r=tI.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],s=this.s.v[0]/2,i=this.s.v[1]/2,a=C(s,i,this.r.v),r=.44810000000000005*a;this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+s,e-i+a,t+s,e-i+a,t+s,e-i+r,0,!0),this.v.setTripleAt(t+s,e+i-a,t+s,e+i-r,t+s,e+i-a,1,!0),0!==a?(this.v.setTripleAt(t+s-a,e+i,t+s-a,e+i,t+s-r,e+i,2,!0),this.v.setTripleAt(t-s+a,e+i,t-s+r,e+i,t-s+a,e+i,3,!0),this.v.setTripleAt(t-s,e+i-a,t-s,e+i-a,t-s,e+i-r,4,!0),this.v.setTripleAt(t-s,e-i+a,t-s,e-i+r,t-s,e-i+a,5,!0),this.v.setTripleAt(t-s+a,e-i,t-s+a,e-i,t-s+r,e-i,6,!0),this.v.setTripleAt(t+s-a,e-i,t+s-r,e-i,t+s-a,e-i,7,!0)):(this.v.setTripleAt(t-s,e+i,t-s+r,e+i,t-s,e+i,2),this.v.setTripleAt(t-s,e-i,t-s,e-i+r,t-s,e-i,3))):(this.v.setTripleAt(t+s,e-i+a,t+s,e-i+r,t+s,e-i+a,0,!0),0!==a?(this.v.setTripleAt(t+s-a,e-i,t+s-a,e-i,t+s-r,e-i,1,!0),this.v.setTripleAt(t-s+a,e-i,t-s+r,e-i,t-s+a,e-i,2,!0),this.v.setTripleAt(t-s,e-i+a,t-s,e-i+a,t-s,e-i+r,3,!0),this.v.setTripleAt(t-s,e+i-a,t-s,e+i-r,t-s,e+i-a,4,!0),this.v.setTripleAt(t-s+a,e+i,t-s+a,e+i,t-s+r,e+i,5,!0),this.v.setTripleAt(t+s-a,e+i,t+s-r,e+i,t+s-a,e+i,6,!0),this.v.setTripleAt(t+s,e+i-a,t+s,e+i-a,t+s,e+i-r,7,!0)):(this.v.setTripleAt(t-s,e-i,t-s+r,e-i,t-s,e-i,1,!0),this.v.setTripleAt(t-s,e+i,t-s,e+i-r,t-s,e+i,2,!0),this.v.setTripleAt(t+s,e+i,t+s-r,e+i,t+s,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:s},g([tL],t),t}(),f={};return f.getShapeProp=function(t,e,s){var i;return 3===s||4===s?i=(3===s?e.pt:e.ks).k.length?new o(t,e,s):new r(t,e,s):5===s?i=new p(t,e):6===s?i=new h(t,e):7===s&&(i=new l(t,e)),i.k&&t.addDynamicProperty(i),i},f.getConstructorFunction=function(){return r},f.getKeyframedConstructorFunction=function(){return o},f}(),tq=function(){var t=Math.cos,e=Math.sin,s=Math.tan,i=Math.round;function a(){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 r(s){if(0===s)return this;var i=t(s),a=e(s);return this._t(i,-a,0,0,a,i,0,0,0,0,1,0,0,0,0,1)}function n(s){if(0===s)return this;var i=t(s),a=e(s);return this._t(1,0,0,0,0,i,-a,0,0,a,i,0,0,0,0,1)}function o(s){if(0===s)return this;var i=t(s),a=e(s);return this._t(i,0,a,0,0,1,0,0,-a,0,i,0,0,0,0,1)}function h(s){if(0===s)return this;var i=t(s),a=e(s);return this._t(i,-a,0,0,a,i,0,0,0,0,1,0,0,0,0,1)}function l(t,e){return this._t(1,e,t,1,0,0)}function p(t,e){return this.shear(s(t),s(e))}function f(i,a){var r=t(a),n=e(a);return this._t(r,n,0,0,-n,r,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,s(i),1,0,0,0,0,1,0,0,0,0,1)._t(r,-n,0,0,n,r,0,0,0,0,1,0,0,0,0,1)}function d(t,e,s){return(s||0===s||(s=1),1===t&&1===e&&1===s)?this:this._t(t,0,0,0,0,e,0,0,0,0,s,0,0,0,0,1)}function m(t,e,s,i,a,r,n,o,h,l,p,f,d,m,c,u){return this.props[0]=t,this.props[1]=e,this.props[2]=s,this.props[3]=i,this.props[4]=a,this.props[5]=r,this.props[6]=n,this.props[7]=o,this.props[8]=h,this.props[9]=l,this.props[10]=p,this.props[11]=f,this.props[12]=d,this.props[13]=m,this.props[14]=c,this.props[15]=u,this}function c(t,e,s){return(s=s||0,0!==t||0!==e||0!==s)?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,s,1):this}function u(t,e,s,i,a,r,n,o,h,l,p,f,d,m,c,u){var g=this.props;if(1===t&&0===e&&0===s&&0===i&&0===a&&1===r&&0===n&&0===o&&0===h&&0===l&&1===p&&0===f)return g[12]=g[12]*t+g[15]*d,g[13]=g[13]*r+g[15]*m,g[14]=g[14]*p+g[15]*c,g[15]*=u,this._identityCalculated=!1,this;var y=g[0],v=g[1],b=g[2],_=g[3],k=g[4],P=g[5],A=g[6],S=g[7],x=g[8],w=g[9],D=g[10],M=g[11],C=g[12],T=g[13],F=g[14],E=g[15];return g[0]=y*t+v*a+b*h+_*d,g[1]=y*e+v*r+b*l+_*m,g[2]=y*s+v*n+b*p+_*c,g[3]=y*i+v*o+b*f+_*u,g[4]=k*t+P*a+A*h+S*d,g[5]=k*e+P*r+A*l+S*m,g[6]=k*s+P*n+A*p+S*c,g[7]=k*i+P*o+A*f+S*u,g[8]=x*t+w*a+D*h+M*d,g[9]=x*e+w*r+D*l+M*m,g[10]=x*s+w*n+D*p+M*c,g[11]=x*i+w*o+D*f+M*u,g[12]=C*t+T*a+F*h+E*d,g[13]=C*e+T*r+F*l+E*m,g[14]=C*s+T*n+F*p+E*c,g[15]=C*i+T*o+F*f+E*u,this._identityCalculated=!1,this}function g(t){var e=t.props;return this.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}function y(){return this._identityCalculated||(this._identity=1===this.props[0]&&0===this.props[1]&&0===this.props[2]&&0===this.props[3]&&0===this.props[4]&&1===this.props[5]&&0===this.props[6]&&0===this.props[7]&&0===this.props[8]&&0===this.props[9]&&1===this.props[10]&&0===this.props[11]&&0===this.props[12]&&0===this.props[13]&&0===this.props[14]&&1===this.props[15],this._identityCalculated=!0),this._identity}function b(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function _(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function k(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function P(t,e,s){return{x:t*this.props[0]+e*this.props[4]+s*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+s*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+s*this.props[10]+this.props[14]}}function A(t,e,s){return t*this.props[0]+e*this.props[4]+s*this.props[8]+this.props[12]}function S(t,e,s){return t*this.props[1]+e*this.props[5]+s*this.props[9]+this.props[13]}function x(t,e,s){return t*this.props[2]+e*this.props[6]+s*this.props[10]+this.props[14]}function w(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,s=-this.props[1]/t,i=-this.props[4]/t,a=this.props[0]/t,r=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,n=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new tq;return o.props[0]=e,o.props[1]=s,o.props[4]=i,o.props[5]=a,o.props[12]=r,o.props[13]=n,o}function D(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function M(t){var e,s=t.length,i=[];for(e=0;e<s;e+=1)i[e]=D(t[e]);return i}function C(t,e,s){var i=v("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=s[0],i[5]=s[1];else{var a=this.props[0],r=this.props[1],n=this.props[4],o=this.props[5],h=this.props[12],l=this.props[13];i[0]=t[0]*a+t[1]*n+h,i[1]=t[0]*r+t[1]*o+l,i[2]=e[0]*a+e[1]*n+h,i[3]=e[0]*r+e[1]*o+l,i[4]=s[0]*a+s[1]*n+h,i[5]=s[0]*r+s[1]*o+l}return i}function T(t,e,s){return this.isIdentity()?[t,e,s]:[t*this.props[0]+e*this.props[4]+s*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+s*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+s*this.props[10]+this.props[14]]}function F(t,e){if(this.isIdentity())return t+","+e;var s=this.props;return Math.round((t*s[0]+e*s[4]+s[12])*100)/100+","+Math.round((t*s[1]+e*s[5]+s[13])*100)/100}function E(){for(var t=0,e=this.props,s="matrix3d(";t<16;)s+=i(1e4*e[t])/1e4,s+=15===t?")":",",t+=1;return s}function I(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(1e4*t)/1e4:t}function L(){var t=this.props;return"matrix("+I(t[0])+","+I(t[1])+","+I(t[4])+","+I(t[5])+","+I(t[12])+","+I(t[13])+")"}return function(){this.reset=a,this.rotate=r,this.rotateX=n,this.rotateY=o,this.rotateZ=h,this.skew=p,this.skewFromAxis=f,this.shear=l,this.scale=d,this.setTransform=m,this.translate=c,this.transform=u,this.multiply=g,this.applyToPoint=P,this.applyToX=A,this.applyToY=S,this.applyToZ=x,this.applyToPointArray=T,this.applyToTriplePoints=C,this.applyToPointStringified=F,this.toCSS=E,this.to2dCSS=L,this.clone=_,this.cloneFromProps=k,this.equals=b,this.inversePoints=M,this.inversePoint=D,this.getInverseMatrix=w,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=v("float32",16),this.reset()}}();function tj(t){return(tj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var tW={},tX="__[STANDALONE]__",tH="__[ANIMATIONDATA]__",tY="";function tG(){!0===tX?tu.searchAnimations(tH,tX,tY):tu.searchAnimations()}tW.play=tu.play,tW.pause=tu.pause,tW.setLocationHref=function(t){m(t)},tW.togglePause=tu.togglePause,tW.setSpeed=tu.setSpeed,tW.setDirection=tu.setDirection,tW.stop=tu.stop,tW.searchAnimations=tG,tW.registerAnimation=tu.registerAnimation,tW.loadAnimation=function(t){return!0===tX&&(t.animationData=JSON.parse(tH)),tu.loadAnimation(t)},tW.setSubframeRendering=function(t){Q(t)},tW.resize=tu.resize,tW.goToAndStop=tu.goToAndStop,tW.destroy=tu.destroy,tW.setQuality=function(t){if("string"==typeof t)switch(t){case"high":ts(200);break;default:case"medium":ts(50);break;case"low":ts(10)}else!isNaN(t)&&t>1&&ts(t);ti()},tW.inBrowser=function(){return"u">typeof navigator},tW.installPlugin=function(t,e){"expressions"===t&&$(e)},tW.freeze=tu.freeze,tW.unfreeze=tu.unfreeze,tW.setVolume=tu.setVolume,tW.mute=tu.mute,tW.unmute=tu.unmute,tW.getRegisteredAnimations=tu.getRegisteredAnimations,tW.useWebWorker=function(t){d=!!t},tW.setIDPrefix=function(t){ta(t)},tW.__getFactory=function(t){switch(t){case"propertyFactory":return tI;case"shapePropertyFactory":return tB;case"matrix":return tq;default:return null}},tW.version="5.13.0";var tJ="";if(tX){var tK=document.getElementsByTagName("script"),tU=tK[tK.length-1]||{src:""};tJ=tU.src?tU.src.replace(/^[^\?]+\??/,""):"",tY=function(t){for(var e=tJ.split("&"),s=0;s<e.length;s+=1){var i=e[s].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}("renderer")}var tZ=setInterval(function(){"complete"===document.readyState&&(clearInterval(tZ),tG())},100);try{(void 0===t?"undefined":tj(t))==="object"&&void 0!==e||"function"==typeof define&&define.amd||(window.bodymovin=tW)}catch(t){}var tQ=(o={},(n={}).registerModifier=function(t,e){o[t]||(o[t]=e)},n.getModifier=function(t,e,s){return new o[t](e,s)},n);function t$(){}function t0(){}function t1(){}t$.prototype.initModifierProperties=function(){},t$.prototype.addShapeToModifier=function(){},t$.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:tO.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},t$.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=-999999,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},t$.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},g([tL],t$),g([t$],t0),t0.prototype.initModifierProperties=function(t,e){this.s=tI.getProp(t,e.s,0,.01,this),this.e=tI.getProp(t,e.e,0,.01,this),this.o=tI.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},t0.prototype.addShapeToModifier=function(t){t.pathsData=[]},t0.prototype.calculateShapeEdges=function(t,e,s,i,a){var r,n,o,h=[];e<=1?h.push({s:t,e}):t>=1?h.push({s:t-1,e:e-1}):(h.push({s:t,e:1}),h.push({s:0,e:e-1}));var l=[],p=h.length;for(r=0;r<p;r+=1)(n=h[r]).e*a<i||n.s*a>i+s||(o=n.s*a<=i?0:(n.s*a-i)/s,l.push([o,n.e*a>=i+s?1:(n.e*a-i)/s]));return l.length||l.push([0,0]),l},t0.prototype.releasePathsData=function(t){var e,s=t.length;for(e=0;e<s;e+=1)t_.release(t[e]);return t.length=0,t},t0.prototype.processShapes=function(t){if(this._mdf||t){var e=this.o.v%360/360;if(e<0&&(e+=1),(r=this.s.v>1?1+e:this.s.v<0?0+e:this.s.v+e)>(n=this.e.v>1?1+e:this.e.v<0?0+e:this.e.v+e)){var s=r;r=n,n=s}r=1e-4*Math.round(1e4*r),n=1e-4*Math.round(1e4*n),this.sValue=r,this.eValue=n}else r=this.sValue,n=this.eValue;var i=this.shapes.length,a=0;if(n===r)for(h=0;h<i;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((1!==n||0!==r)&&(0!==n||1!==r)){var r,n,o,h,l,p,f,d,m,c,u,g,y=[];for(h=0;h<i;h+=1)if((c=this.shapes[h]).shape._mdf||this._mdf||t||2===this.m){if(p=(o=c.shape.paths)._length,m=0,!c.shape._mdf&&c.pathsData.length)m=c.totalShapeLength;else{for(l=0,f=this.releasePathsData(c.pathsData);l<p;l+=1)d=tk.getSegmentsLength(o.shapes[l]),f.push(d),m+=d.totalLength;c.totalShapeLength=m,c.pathsData=f}a+=m,c.shape._mdf=!0}else c.shape.paths=c.localShapeCollection;var v=r,b=n,_=0;for(h=i-1;h>=0;h-=1)if((c=this.shapes[h]).shape._mdf){for((u=c.localShapeCollection).releaseShapes(),2===this.m&&i>1?(g=this.calculateShapeEdges(r,n,c.totalShapeLength,_,a),_+=c.totalShapeLength):g=[[v,b]],p=g.length,l=0;l<p;l+=1){v=g[l][0],b=g[l][1],y.length=0,b<=1?y.push({s:c.totalShapeLength*v,e:c.totalShapeLength*b}):v>=1?y.push({s:c.totalShapeLength*(v-1),e:c.totalShapeLength*(b-1)}):(y.push({s:c.totalShapeLength*v,e:c.totalShapeLength}),y.push({s:0,e:c.totalShapeLength*(b-1)}));var k=this.addShapes(c,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(c.shape.paths.shapes[c.shape.paths._length-1].c){var P=k.pop();this.addPaths(k,u),k=this.addShapes(c,y[1],P)}else this.addPaths(k,u),k=this.addShapes(c,y[1]);this.addPaths(k,u)}}c.shape.paths=u}}else if(this._mdf)for(h=0;h<i;h+=1)this.shapes[h].pathsData.length=0,this.shapes[h].shape._mdf=!0},t0.prototype.addPaths=function(t,e){var s,i=t.length;for(s=0;s<i;s+=1)e.addShape(t[s])},t0.prototype.addSegment=function(t,e,s,i,a,r,n){a.setXYAt(e[0],e[1],"o",r),a.setXYAt(s[0],s[1],"i",r+1),n&&a.setXYAt(t[0],t[1],"v",r),a.setXYAt(i[0],i[1],"v",r+1)},t0.prototype.addSegmentFromArray=function(t,e,s,i){e.setXYAt(t[1],t[5],"o",s),e.setXYAt(t[2],t[6],"i",s+1),i&&e.setXYAt(t[0],t[4],"v",s),e.setXYAt(t[3],t[7],"v",s+1)},t0.prototype.addShapes=function(t,e,s){var i,a,r,n,o,h,l,p,f=t.pathsData,d=t.shape.paths.shapes,m=t.shape.paths._length,c=0,u=[],g=!0;for(s?(o=s._length,p=s._length):(s=tz.newElement(),o=0,p=0),u.push(s),i=0;i<m;i+=1){for(a=1,h=f[i].lengths,s.c=d[i].c,r=d[i].c?h.length:h.length+1;a<r;a+=1)if(c+(n=h[a-1]).addedLength<e.s)c+=n.addedLength,s.c=!1;else if(c>e.e){s.c=!1;break}else e.s<=c&&e.e>=c+n.addedLength?(this.addSegment(d[i].v[a-1],d[i].o[a-1],d[i].i[a],d[i].v[a],s,o,g),g=!1):(l=tk.getNewSegment(d[i].v[a-1],d[i].v[a],d[i].o[a-1],d[i].i[a],(e.s-c)/n.addedLength,(e.e-c)/n.addedLength,h[a-1]),this.addSegmentFromArray(l,s,o,g),g=!1,s.c=!1),c+=n.addedLength,o+=1;if(d[i].c&&h.length){if(n=h[a-1],c<=e.e){var y=h[a-1].addedLength;e.s<=c&&e.e>=c+y?(this.addSegment(d[i].v[a-1],d[i].o[a-1],d[i].i[0],d[i].v[0],s,o,g),g=!1):(l=tk.getNewSegment(d[i].v[a-1],d[i].v[0],d[i].o[a-1],d[i].i[0],(e.s-c)/y,(e.e-c)/y,h[a-1]),this.addSegmentFromArray(l,s,o,g),g=!1,s.c=!1)}else s.c=!1;c+=n.addedLength,o+=1}if(s._length&&(s.setXYAt(s.v[p][0],s.v[p][1],"i",p),s.setXYAt(s.v[s._length-1][0],s.v[s._length-1][1],"o",s._length-1)),c>e.e)break;i<m-1&&(s=tz.newElement(),g=!0,u.push(s),o=0)}return u},g([t$],t1),t1.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=tI.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},t1.prototype.processPath=function(t,e){var s,i,a,r,n,o,h=e/100,l=[0,0],p=t._length,f=0;for(f=0;f<p;f+=1)l[0]+=t.v[f][0],l[1]+=t.v[f][1];l[0]/=p,l[1]/=p;var d=tz.newElement();for(f=0,d.c=t.c;f<p;f+=1)s=t.v[f][0]+(l[0]-t.v[f][0])*h,i=t.v[f][1]+(l[1]-t.v[f][1])*h,a=t.o[f][0]+-((l[0]-t.o[f][0])*h),r=t.o[f][1]+-((l[1]-t.o[f][1])*h),n=t.i[f][0]+-((l[0]-t.i[f][0])*h),o=t.i[f][1]+-((l[1]-t.i[f][1])*h),d.setTripleAt(s,i,a,r,n,o,f);return d},t1.prototype.processShapes=function(t){var e,s,i,a,r,n,o=this.shapes.length,h=this.amount.v;if(0!==h)for(s=0;s<o;s+=1){if(n=(r=this.shapes[s]).localShapeCollection,!(!r.shape._mdf&&!this._mdf&&!t))for(n.releaseShapes(),r.shape._mdf=!0,e=r.shape.paths.shapes,a=r.shape.paths._length,i=0;i<a;i+=1)n.addShape(this.processPath(e[i],h));r.shape.paths=r.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var t2=function(){var t=[0,0];function e(t,e,s){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new tq,this.pre=new tq,this.appliedTransformations=0,this.initDynamicPropertyContainer(s||t),e.p&&e.p.s?(this.px=tI.getProp(t,e.p.x,0,0,this),this.py=tI.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=tI.getProp(t,e.p.z,0,0,this))):this.p=tI.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=tI.getProp(t,e.rx,0,L,this),this.ry=tI.getProp(t,e.ry,0,L,this),this.rz=tI.getProp(t,e.rz,0,L,this),e.or.k[0].ti){var i,a=e.or.k.length;for(i=0;i<a;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=tI.getProp(t,e.or,1,L,this),this.or.sh=!0}else this.r=tI.getProp(t,e.r||{k:0},0,L,this);e.sk&&(this.sk=tI.getProp(t,e.sk,0,L,this),this.sa=tI.getProp(t,e.sa,0,L,this)),this.a=tI.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=tI.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=tI.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.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?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var s;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){if(s=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/s,0),a=this.p.getValueAtTime(this.p.keyframes[0].t/s,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/s,0),a=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/s,0)):(i=this.p.pv,a=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/s,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){var i=[],a=[],r=this.px,n=this.py;r._caching.lastFrame+r.offsetTime<=r.keyframes[0].t?(i[0]=r.getValueAtTime((r.keyframes[0].t+.01)/s,0),i[1]=n.getValueAtTime((n.keyframes[0].t+.01)/s,0),a[0]=r.getValueAtTime(r.keyframes[0].t/s,0),a[1]=n.getValueAtTime(n.keyframes[0].t/s,0)):r._caching.lastFrame+r.offsetTime>=r.keyframes[r.keyframes.length-1].t?(i[0]=r.getValueAtTime(r.keyframes[r.keyframes.length-1].t/s,0),i[1]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/s,0),a[0]=r.getValueAtTime((r.keyframes[r.keyframes.length-1].t-.01)/s,0),a[1]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/s,0)):(i=[r.pv,n.pv],a[0]=r.getValueAtTime((r._caching.lastFrame+r.offsetTime-.01)/s,r.offsetTime),a[1]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/s,n.offsetTime))}else i=a=t;this.v.rotate(-Math.atan2(i[1]-a[1],i[0]-a[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}},precalculateMatrix:function(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length){if(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk)if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;else this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;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)}}},autoOrient:function(){}},g([tL],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=tL.prototype.addDynamicProperty,{getTransformProperty:function(t,s,i){return new e(t,s,i)}}}();function t3(){}function t5(){}function t9(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function t4(t){return 1e-5>=Math.abs(t)}function t6(t,e,s){var i,a;return[(i=t[0],i*(1-s)+e[0]*s),(a=t[1],a*(1-s)+e[1]*s)]}function t8(t,e,s,i){return[-t+3*e-3*s+i,3*t-6*e+3*s,-3*t+3*e,t]}function t7(t){return new et(t,t,t,t,!1)}function et(t,e,s,i,a){a&&eh(t,e)&&(e=t6(t,i,1/3)),a&&eh(s,i)&&(s=t6(t,i,2/3));var r=t8(t[0],e[0],s[0],i[0]),n=t8(t[1],e[1],s[1],i[1]);this.a=[r[0],n[0]],this.b=[r[1],n[1]],this.c=[r[2],n[2]],this.d=[r[3],n[3]],this.points=[t,e,s,i]}function ee(t,e){var s=t.points[0][e],i=t.points[t.points.length-1][e];if(s>i){var a=i;i=s,s=a}for(var r=function(t,e,s){if(0===t)return[];var i=e*e-4*t*s;if(i<0)return[];var a=-e/(2*t);if(0===i)return[a];var r=Math.sqrt(i)/(2*t);return[a-r,a+r]}(3*t.a[e],2*t.b[e],t.c[e]),n=0;n<r.length;n+=1)if(r[n]>0&&r[n]<1){var o=t.point(r[n])[e];o<s?s=o:o>i&&(i=o)}return{min:s,max:i}}function es(t,e,s){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:t,t:(e+s)/2,t1:e,t2:s}}function ei(t){var e=t.bez.split(.5);return[es(e[0],t.t1,t.t),es(e[1],t.t,t.t2)]}function ea(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 er(t,e,s,i){var a=[t[0],t[1],1],r=[e[0],e[1],1],n=[s[0],s[1],1],o=[i[0],i[1],1],h=ea(ea(a,r),ea(n,o));return t4(h[2])?null:[h[0]/h[2],h[1]/h[2]]}function en(t,e,s){return[t[0]+Math.cos(e)*s,t[1]-Math.sin(e)*s]}function eo(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function eh(t,e){return t9(t[0],e[0])&&t9(t[1],e[1])}function el(){}function ep(t,e,s,i,a,r,n){var o=s-Math.PI/2,h=s+Math.PI/2,l=e[0]+Math.cos(s)*i*a,p=e[1]-Math.sin(s)*i*a;t.setTripleAt(l,p,l+Math.cos(o)*r,p-Math.sin(o)*r,l+Math.cos(h)*n,p-Math.sin(h)*n,t.length())}function ef(t,e,s,i,a,r,n){var o,h,l,p,f,d,m,c=(o=0===s?e.length()-1:s-1,h=(s+1)%e.length(),l=e.v[o],Math.atan2(0,1)-Math.atan2((f=[(p=e.v[h])[0]-l[0],p[1]-l[1]],m=[Math.cos(d=-(.5*Math.PI))*f[0]-Math.sin(d)*f[1],Math.sin(d)*f[0]+Math.cos(d)*f[1]])[1],m[0])),u=e.v[s%e._length],g=e.v[0===s?e._length-1:s-1],y=e.v[(s+1)%e._length],v=2===r?Math.sqrt(Math.pow(u[0]-g[0],2)+Math.pow(u[1]-g[1],2)):0,b=2===r?Math.sqrt(Math.pow(u[0]-y[0],2)+Math.pow(u[1]-y[1],2)):0;ep(t,e.v[s%e._length],c,n,i,b/((a+1)*2),v/((a+1)*2),r)}function ed(t,e,s){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[en(t,i,s),en(e,i,s)]}function em(t,e){var s,i,a,r,n,o,h=ed(t.points[0],t.points[1],e);s=h[0],i=h[1],a=(h=ed(t.points[1],t.points[2],e))[0],r=h[1],n=(h=ed(t.points[2],t.points[3],e))[0],o=h[1];var l=er(s,i,a,r);null===l&&(l=i);var p=er(n,o,a,r);return null===p&&(p=n),new et(s,l,p,o)}function ec(t,e,s,i,a){var r=e.points[3],n=s.points[0];if(3===i||eh(r,n))return r;if(2===i){var o=-e.tangentAngle(1),h=-s.tangentAngle(0)+Math.PI,l=er(r,en(r,o+Math.PI/2,100),n,en(n,o+Math.PI/2,100)),p=l?eo(l,r):eo(r,n)/2,f=en(r,o,2*p*.5519);return t.setXYAt(f[0],f[1],"o",t.length()-1),f=en(n,h,2*p*.5519),t.setTripleAt(n[0],n[1],n[0],n[1],f[0],f[1],t.length()),n}var d=er(eh(r,e.points[2])?e.points[0]:e.points[2],r,n,eh(n,s.points[1])?s.points[3]:s.points[1]);return d&&eo(d,r)<a?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):r}function eu(t,e){var s=t.intersections(e);return(s.length&&t9(s[0][0],1)&&s.shift(),s.length)?s[0]:null}function eg(t,e){var s=t.slice(),i=e.slice(),a=eu(t[t.length-1],e[0]);return(a&&(s[t.length-1]=t[t.length-1].split(a[0])[0],i[0]=e[0].split(a[1])[1]),t.length>1&&e.length>1&&(a=eu(t[0],e[e.length-1])))?[[t[0].split(a[0])[0]],[e[e.length-1].split(a[1])[1]]]:[s,i]}function ey(t,e){var s,i,a,r,n=t.inflectionPoints();if(0===n.length)return[em(t,e)];if(1===n.length||t9(n[1],1))return s=(a=t.split(n[0]))[0],i=a[1],[em(s,e),em(i,e)];s=(a=t.split(n[0]))[0];var o=(n[1]-n[0])/(1-n[0]);return r=(a=a[1].split(o))[0],i=a[1],[em(s,e),em(r,e),em(i,e)]}function ev(){}function eb(t){for(var e=t.fStyle?t.fStyle.split(" "):[],s="normal",i="normal",a=e.length,r=0;r<a;r+=1)switch(e[r].toLowerCase()){case"italic":i="italic";break;case"bold":s="700";break;case"black":s="900";break;case"medium":s="500";break;case"regular":case"normal":s="400";break;case"light":case"thin":s="200"}return{style:i,weight:t.fWeight||s}}g([t$],t3),t3.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=tI.getProp(t,e.c,0,null,this),this.o=tI.getProp(t,e.o,0,null,this),this.tr=t2.getTransformProperty(t,e.tr,this),this.so=tI.getProp(t,e.tr.so,0,.01,this),this.eo=tI.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 tq,this.rMatrix=new tq,this.sMatrix=new tq,this.tMatrix=new tq,this.matrix=new tq},t3.prototype.applyTransforms=function(t,e,s,i,a,r){var n=r?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-a),h=i.s.v[1]+(1-i.s.v[1])*(1-a);t.translate(i.p.v[0]*n*a,i.p.v[1]*n*a,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*n*a),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),s.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),s.scale(r?1/o:o,r?1/h:h),s.translate(i.a.v[0],i.a.v[1],i.a.v[2])},t3.prototype.init=function(t,e,s,i){for(this.elem=t,this.arr=e,this.pos=s,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[s]);s>0;)s-=1,this._elements.unshift(e[s]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},t3.prototype.resetElements=function(t){var e,s=t.length;for(e=0;e<s;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},t3.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},t3.prototype.changeGroupRender=function(t,e){var s,i=t.length;for(s=0;s<i;s+=1)t[s]._render=e,"gr"===t[s].ty&&this.changeGroupRender(t[s].it,e)},t3.prototype.processShapes=function(t){var e=!1;if(this._mdf||t){var s,i,a,r,n,o,h,l,p=Math.ceil(this.c.v);if(this._groups.length<p){for(;this._groups.length<p;){var f={it:this.cloneElements(this._elements),ty:"gr"};f.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,f),this._groups.splice(0,0,f),this._currentCopies+=1}this.elem.reloadShapes(),e=!0}for(a=0,n=0;a<=this._groups.length-1;a+=1){if(o=n<p,this._groups[a]._render=o,this.changeGroupRender(this._groups[a].it,o),!o){var d=this.elemsData[a].it,m=d[d.length-1];0!==m.transform.op.v?(m.transform.op._mdf=!0,m.transform.op.v=0):m.transform.op._mdf=!1}n+=1}this._currentCopies=p;var c=this.o.v,u=c%1,g=c>0?Math.floor(c):Math.ceil(c),y=this.pMatrix.props,v=this.rMatrix.props,b=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var _=0;if(c>0){for(;_<g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),_+=u)}else if(c<0){for(;_>g;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),_-=u)}for(a=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(l=(i=(s=this.elemsData[a].it)[s.length-1].transform.mProps.v.props).length,s[s.length-1].transform.mProps._mdf=!0,s[s.length-1].transform.op._mdf=!0,s[s.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(a/(this._currentCopies-1)),0!==_){for((0!==a&&1===r||a!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[15]),this.matrix.transform(b[0],b[1],b[2],b[3],b[4],b[5],b[6],b[7],b[8],b[9],b[10],b[11],b[12],b[13],b[14],b[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),h=0;h<l;h+=1)i[h]=this.matrix.props[h];this.matrix.reset()}else for(this.matrix.reset(),h=0;h<l;h+=1)i[h]=this.matrix.props[h];_+=1,n-=1,a+=r}}else for(n=this._currentCopies,a=0,r=1;n;)i=(s=this.elemsData[a].it)[s.length-1].transform.mProps.v.props,s[s.length-1].transform.mProps._mdf=!1,s[s.length-1].transform.op._mdf=!1,n-=1,a+=r;return e},t3.prototype.addShape=function(){},g([t$],t5),t5.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=tI.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},t5.prototype.processPath=function(t,e){var s,i,a,r,n,o,h,l,p,f,d,m,c,u=tz.newElement();u.c=t.c;var g=t._length,y=0;for(s=0;s<g;s+=1)i=t.v[s],r=t.o[s],a=t.i[s],i[0]===r[0]&&i[1]===r[1]&&i[0]===a[0]&&i[1]===a[1]?0!==s&&s!==g-1||t.c?(n=0===s?t.v[g-1]:t.v[s-1],h=(o=Math.sqrt(Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2)))?Math.min(o/2,e)/o:0,l=m=i[0]+(n[0]-i[0])*h,p=c=i[1]-(i[1]-n[1])*h,f=l-(l-i[0])*.5519,d=p-(p-i[1])*.5519,u.setTripleAt(l,p,f,d,m,c,y),y+=1,n=s===g-1?t.v[0]:t.v[s+1],h=(o=Math.sqrt(Math.pow(i[0]-n[0],2)+Math.pow(i[1]-n[1],2)))?Math.min(o/2,e)/o:0,l=f=i[0]+(n[0]-i[0])*h,p=d=i[1]+(n[1]-i[1])*h,m=l-(l-i[0])*.5519,c=p-(p-i[1])*.5519,u.setTripleAt(l,p,f,d,m,c,y)):u.setTripleAt(i[0],i[1],r[0],r[1],a[0],a[1],y):u.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],y),y+=1;return u},t5.prototype.processShapes=function(t){var e,s,i,a,r,n,o=this.shapes.length,h=this.rd.v;if(0!==h)for(s=0;s<o;s+=1){if(n=(r=this.shapes[s]).localShapeCollection,!(!r.shape._mdf&&!this._mdf&&!t))for(n.releaseShapes(),r.shape._mdf=!0,e=r.shape.paths.shapes,a=r.shape.paths._length,i=0;i<a;i+=1)n.addShape(this.processPath(e[i],h));r.shape.paths=r.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},et.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]]},et.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]]},et.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},et.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},et.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(t4(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,s=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(s<0)return[];var i=Math.sqrt(s);return t4(i)?i>0&&i<1?[e]:[]:[e-i,e+i].filter(function(t){return t>0&&t<1})},et.prototype.split=function(t){if(t<=0)return[t7(this.points[0]),this];if(t>=1)return[this,t7(this.points[this.points.length-1])];var e=t6(this.points[0],this.points[1],t),s=t6(this.points[1],this.points[2],t),i=t6(this.points[2],this.points[3],t),a=t6(e,s,t),r=t6(s,i,t),n=t6(a,r,t);return[new et(this.points[0],e,a,n,!0),new et(n,r,i,this.points[3],!0)]},et.prototype.bounds=function(){return{x:ee(this,0),y:ee(this,1)}},et.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}},et.prototype.intersections=function(t,e,s){void 0===e&&(e=2),void 0===s&&(s=7);var i=[];return!function t(e,s,i,a,r,n){if(2*Math.abs(e.cx-s.cx)<e.width+s.width&&2*Math.abs(e.cy-s.cy)<e.height+s.height){if(i>=n||e.width<=a&&e.height<=a&&s.width<=a&&s.height<=a)return void r.push([e.t,s.t]);var o=ei(e),h=ei(s);t(o[0],h[0],i+1,a,r,n),t(o[0],h[1],i+1,a,r,n),t(o[1],h[0],i+1,a,r,n),t(o[1],h[1],i+1,a,r,n)}}(es(this,0,1),es(t,0,1),0,e,i,s),i},et.shapeSegment=function(t,e){var s=(e+1)%t.length();return new et(t.v[e],t.o[e],t.i[s],t.v[s],!0)},et.shapeSegmentInverted=function(t,e){var s=(e+1)%t.length();return new et(t.v[s],t.i[s],t.o[e],t.v[e],!0)},g([t$],el),el.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=tI.getProp(t,e.s,0,null,this),this.frequency=tI.getProp(t,e.r,0,null,this),this.pointsType=tI.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},el.prototype.processPath=function(t,e,s,i){var a=t._length,r=tz.newElement();if(r.c=t.c,t.c||(a-=1),0===a)return r;var n=-1,o=et.shapeSegment(t,0);ef(r,t,0,e,s,i,n);for(var h=0;h<a;h+=1)n=function(t,e,s,i,a,r){for(var n=0;n<i;n+=1){var o=(n+1)/(i+1),h=2===a?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,l=e.normalAngle(o);ep(t,e.point(o),l,r,s,h/((i+1)*2),h/((i+1)*2),a),r=-r}return r}(r,o,e,s,i,-n),o=h!==a-1||t.c?et.shapeSegment(t,(h+1)%a):null,ef(r,t,h+1,e,s,i,n);return r},el.prototype.processShapes=function(t){var e,s,i,a,r,n,o=this.shapes.length,h=this.amplitude.v,l=Math.max(0,Math.round(this.frequency.v)),p=this.pointsType.v;if(0!==h)for(s=0;s<o;s+=1){if(n=(r=this.shapes[s]).localShapeCollection,!(!r.shape._mdf&&!this._mdf&&!t))for(n.releaseShapes(),r.shape._mdf=!0,e=r.shape.paths.shapes,a=r.shape.paths._length,i=0;i<a;i+=1)n.addShape(this.processPath(e[i],h,l,p));r.shape.paths=r.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},g([t$],ev),ev.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=tI.getProp(t,e.a,0,null,this),this.miterLimit=tI.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},ev.prototype.processPath=function(t,e,s,i){var a,r,n,o=tz.newElement();o.c=t.c;var h=t.length();t.c||(h-=1);var l=[];for(a=0;a<h;a+=1)n=et.shapeSegment(t,a),l.push(ey(n,e));if(!t.c)for(a=h-1;a>=0;a-=1)n=et.shapeSegmentInverted(t,a),l.push(ey(n,e));l=function(t){for(var e,s=1;s<t.length;s+=1)e=eg(t[s-1],t[s]),t[s-1]=e[0],t[s]=e[1];return t.length>1&&(e=eg(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}(l);var p=null,f=null;for(a=0;a<l.length;a+=1){var d=l[a];for(f&&(p=ec(o,f,d[0],s,i)),f=d[d.length-1],r=0;r<d.length;r+=1)n=d[r],p&&eh(n.points[0],p)?o.setXYAt(n.points[1][0],n.points[1][1],"o",o.length()-1):o.setTripleAt(n.points[0][0],n.points[0][1],n.points[1][0],n.points[1][1],n.points[0][0],n.points[0][1],o.length()),o.setTripleAt(n.points[3][0],n.points[3][1],n.points[3][0],n.points[3][1],n.points[2][0],n.points[2][1],o.length()),p=n.points[3]}return l.length&&ec(o,f,l[0][0],s,i),o},ev.prototype.processShapes=function(t){var e,s,i,a,r,n,o=this.shapes.length,h=this.amount.v,l=this.miterLimit.v,p=this.lineJoin;if(0!==h)for(s=0;s<o;s+=1){if(n=(r=this.shapes[s]).localShapeCollection,!(!r.shape._mdf&&!this._mdf&&!t))for(n.releaseShapes(),r.shape._mdf=!0,e=r.shape.paths.shapes,a=r.shape.paths._length,i=0;i<a;i+=1)n.addShape(this.processPath(e[i],h,p,l));r.shape.paths=r.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var e_=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.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=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function i(t,e){var s=u("span");s.setAttribute("aria-hidden",!0),s.style.fontFamily=e;var i=u("span");i.innerText="giItT1WQy@!-/#",s.style.position="absolute",s.style.left="-10000px",s.style.top="-10000px",s.style.fontSize="300px",s.style.fontVariant="normal",s.style.fontStyle="normal",s.style.fontWeight="normal",s.style.letterSpacing="0",s.appendChild(i),document.body.appendChild(s);var a=i.offsetWidth;return i.style.fontFamily=function(t){var e,s=t.split(","),i=s.length,a=[];for(e=0;e<i;e+=1)"sans-serif"!==s[e]&&"monospace"!==s[e]&&a.push(s[e]);return a.join(",")}(t)+", "+e,{node:i,w:a,parent:s}}function a(t,e){var s,i=document.body&&e?"svg":"canvas",a=eb(t);if("svg"===i){var r=tr("text");r.style.fontSize="100px",r.setAttribute("font-family",t.fFamily),r.setAttribute("font-style",a.style),r.setAttribute("font-weight",a.weight),r.textContent="1",t.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",t.fClass)):r.style.fontFamily=t.fFamily,e.appendChild(r),s=r}else{var n=new OffscreenCanvas(500,500).getContext("2d");n.font=a.style+" "+a.weight+" 100px "+t.fFamily,s=n}return{measureText:function(t){return"svg"===i?(s.textContent=t,s.getComputedTextLength()):s.measureText(t).width}}}function r(t){var e=0,s=t.charCodeAt(0);if(s>=55296&&s<=56319){var i=t.charCodeAt(1);i>=56320&&i<=57343&&(e=(s-55296)*1024+i-56320+65536)}return e}function n(t){var e=r(t);return!!(e>=127462)&&!!(e<=127487)}var o=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)};return o.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return -1!==s.indexOf(i)},o.isZeroWidthJoiner=function(t){return 8205===t},o.isFlagEmoji=function(t){return n(t.substr(0,2))&&n(t.substr(2,2))},o.isRegionalCode=n,o.isCombinedCharacter=function(t){return -1!==e.indexOf(t)},o.isRegionalFlag=function(t,e){var s=r(t.substr(e,2));if(127988!==s)return!1;var i=0;for(e+=2;i<5;){if((s=r(t.substr(e,2)))<917601||s>917626)return!1;i+=1,e+=2}return 917631===r(t.substr(e,2))},o.isVariationSelector=function(t){return 65039===t},o.BLACK_FLAG_CODE_POINT=127988,o.prototype={addChars:function(t){if(t){this.chars||(this.chars=[]);var e,s,i,a=t.length,r=this.chars.length;for(e=0;e<a;e+=1){for(s=0,i=!1;s<r;)this.chars[s].style===t[e].style&&this.chars[s].fFamily===t[e].fFamily&&this.chars[s].ch===t[e].ch&&(i=!0),s+=1;i||(this.chars.push(t[e]),r+=1)}}},addFonts:function(t,e){if(!t){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=t.list;return}if(!document.body){this.isLoaded=!0,t.list.forEach(function(t){t.helper=a(t),t.cache={}}),this.fonts=t.list;return}var s=t.list,r=s.length,n=r;for(o=0;o<r;o+=1){var o,h,l,p=!0;if(s[o].loaded=!1,s[o].monoCase=i(s[o].fFamily,"monospace"),s[o].sansCase=i(s[o].fFamily,"sans-serif"),s[o].fPath){if("p"===s[o].fOrigin||3===s[o].origin){if((h=document.querySelectorAll('style[f-forigin="p"][f-family="'+s[o].fFamily+'"], style[f-origin="3"][f-family="'+s[o].fFamily+'"]')).length>0&&(p=!1),p){var f=u("style");f.setAttribute("f-forigin",s[o].fOrigin),f.setAttribute("f-origin",s[o].origin),f.setAttribute("f-family",s[o].fFamily),f.type="text/css",f.innerText="@font-face {font-family: "+s[o].fFamily+"; font-style: normal; src: url('"+s[o].fPath+"');}",e.appendChild(f)}}else if("g"===s[o].fOrigin||1===s[o].origin){for(l=0,h=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]');l<h.length;l+=1)-1!==h[l].href.indexOf(s[o].fPath)&&(p=!1);if(p){var d=u("link");d.setAttribute("f-forigin",s[o].fOrigin),d.setAttribute("f-origin",s[o].origin),d.type="text/css",d.rel="stylesheet",d.href=s[o].fPath,document.body.appendChild(d)}}else if("t"===s[o].fOrigin||2===s[o].origin){for(l=0,h=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]');l<h.length;l+=1)s[o].fPath===h[l].src&&(p=!1);if(p){var m=u("link");m.setAttribute("f-forigin",s[o].fOrigin),m.setAttribute("f-origin",s[o].origin),m.setAttribute("rel","stylesheet"),m.setAttribute("href",s[o].fPath),e.appendChild(m)}}}else s[o].loaded=!0,n-=1;s[o].helper=a(s[o],e),s[o].cache={},this.fonts.push(s[o])}0===n?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)},getCharData:function(e,s,i){for(var a=0,r=this.chars.length;a<r;){if(this.chars[a].ch===e&&this.chars[a].style===s&&this.chars[a].fFamily===i)return this.chars[a];a+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,s,i)),t},getFontByName:function(t){for(var e=0,s=this.fonts.length;e<s;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,s){var i=this.getFontByName(e);if(!i.cache[t]){var a=i.helper;if(" "===t){var r=a.measureText("|"+t+"|"),n=a.measureText("||");i.cache[t]=(r-n)/100}else i.cache[t]=a.measureText(t)/100}return i.cache[t]*s},checkLoadedFonts:function(){var t,e,s,i=this.fonts.length,a=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?a-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,s=this.fonts[t].monoCase.w,e.offsetWidth!==s?(a-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,s=this.fonts[t].sansCase.w,e.offsetWidth!==s&&(a-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==a&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}},o}();function ek(t){this.animationData=t}function eP(){}ek.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t},eP.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&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?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(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 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var eA=(h={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"},function(t){return h[t]||""});function eS(t,e,s){this.p=tI.getProp(e,t.v,0,0,s)}function ex(t,e,s){this.p=tI.getProp(e,t.v,0,0,s)}function ew(t,e,s){this.p=tI.getProp(e,t.v,1,0,s)}function eD(t,e,s){this.p=tI.getProp(e,t.v,1,0,s)}function eM(t,e,s){this.p=tI.getProp(e,t.v,0,0,s)}function eC(t,e,s){this.p=tI.getProp(e,t.v,0,0,s)}function eT(t,e,s){this.p=tI.getProp(e,t.v,0,0,s)}function eF(){this.p={}}function eE(t,e){var s,i,a=t.ef||[];this.effectElements=[];var r=a.length;for(s=0;s<r;s+=1)i=new eI(a[s],e),this.effectElements.push(i)}function eI(t,e){this.init(t,e)}function eL(){}function eV(){}function eR(t,e,s){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,s)}function ez(t,e,s){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,s),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?tI.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=tI.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function eN(){}g([tL],eI),eI.prototype.getValue=eI.prototype.iterateDynamicProperties,eI.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var s,i,a=this.data.ef.length,r=this.data.ef;for(s=0;s<a;s+=1){switch(i=null,r[s].ty){case 0:i=new eS(r[s],e,this);break;case 1:i=new ex(r[s],e,this);break;case 2:i=new ew(r[s],e,this);break;case 3:i=new eD(r[s],e,this);break;case 4:case 7:i=new eT(r[s],e,this);break;case 10:i=new eM(r[s],e,this);break;case 11:i=new eC(r[s],e,this);break;case 5:i=new eE(r[s],e,this);break;default:i=new eF(r[s],e,this)}i&&this.effectElements.push(i)}},eL.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=te();if(t){var e=t("layer"),s=t("effects"),i=t("shape"),a=t("text"),r=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var n=s.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(n),0===this.data.ty||this.data.xt?this.compInterface=r(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=a(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=eA(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,s){this.globalData=e,this.comp=s,this.data=t,this.layerId=j(),this.data.sr||(this.data.sr=1),this.effectsManager=new eE(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},eV.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var s,i=this.dynamicProperties.length;for(s=0;s<i;s+=1)(e||this._isParent&&"transform"===this.dynamicProperties[s].propType)&&(this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},eR.prototype.prepareFrame=function(){},g([eP,eL,eV],eR),eR.prototype.getBaseElement=function(){return null},eR.prototype.renderFrame=function(){},eR.prototype.destroy=function(){},eR.prototype.initExpressions=function(){var t=te();t&&(this.layerInterface=t("footage")(this))},eR.prototype.getFootageData=function(){return this.footageData},ez.prototype.prepareFrame=function(t){this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder?this._currentTime=t/this.data.sr:this._currentTime=this.tm.v,this._volume=this.lv.v[0];var e=this._volume*this._volumeMultiplier;this._previousVolume!==e&&(this._previousVolume=e,this.audio.volume(e))},g([eP,eL,eV],ez),ez.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))},ez.prototype.show=function(){},ez.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},ez.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},ez.prototype.resume=function(){this._canPlay=!0},ez.prototype.setRate=function(t){this.audio.rate(t)},ez.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},ez.prototype.getBaseElement=function(){return null},ez.prototype.destroy=function(){},ez.prototype.sourceRectAtTime=function(){},ez.prototype.initExpressions=function(){},eN.prototype.checkLayers=function(t){var e,s,i=this.layers.length;for(this.completeLayers=!0,e=i-1;e>=0;e-=1)!this.elements[e]&&(s=this.layers[e]).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;this.checkPendingElements()},eN.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:default: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)}},eN.prototype.createCamera=function(){throw Error("You're using a 3d camera. Try the html renderer.")},eN.prototype.createAudio=function(t){return new ez(t,this.globalData,this)},eN.prototype.createFootage=function(t){return new eR(t,this.globalData,this)},eN.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},eN.prototype.includeLayers=function(t){this.completeLayers=!1;var e,s,i=t.length,a=this.layers.length;for(e=0;e<i;e+=1)for(s=0;s<a;){if(this.layers[s].id===t[e].id){this.layers[s]=t[e];break}s+=1}},eN.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},eN.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},eN.prototype.buildElementParenting=function(t,e,s){for(var i=this.elements,a=this.layers,r=0,n=a.length;r<n;)a[r].ind==e&&(i[r]&&!0!==i[r]?(s.push(i[r]),i[r].setAsParent(),void 0!==a[r].parent?this.buildElementParenting(t,a[r].parent,s):t.setHierarchy(s)):(this.buildItem(r),this.addPendingElement(t))),r+=1},eN.prototype.addPendingElement=function(t){this.pendingElements.push(t)},eN.prototype.searchExtraCompositions=function(t){var e,s=t.length;for(e=0;e<s;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},eN.prototype.getElementById=function(t){var e,s=this.elements.length;for(e=0;e<s;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},eN.prototype.getElementByPath=function(t){var e=t.shift();if("number"==typeof e)s=this.elements[e];else{var s,i,a=this.elements.length;for(i=0;i<a;i+=1)if(this.elements[i].data.nm===e){s=this.elements[i];break}}return 0===t.length?s:s.getElementByPath(t)},eN.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new e_,this.globalData.slotManager=new ek(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}};function eO(){}function eB(t,e,s){this.data=t,this.element=e,this.globalData=s,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=b(a),this.solidPath="";var r=this.masksProperties,n=0,o=[],h=j(),l="clipPath",p="clip-path";for(f=0;f<a;f+=1)if(("a"!==r[f].mode&&"n"!==r[f].mode||r[f].inv||100!==r[f].o.k||r[f].o.x)&&(l="mask",p="mask"),("s"===r[f].mode||"i"===r[f].mode)&&0===n?((u=tr("rect")).setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),o.push(u)):u=null,d=tr("path"),"n"===r[f].mode)this.viewData[f]={op:tI.getProp(this.element,r[f].o,0,.01,this.element),prop:tB.getShapeProp(this.element,r[f],3),elem:d,lastPath:""},i.appendChild(d);else{if(n+=1,d.setAttribute("fill","s"===r[f].mode?"#000000":"#ffffff"),d.setAttribute("clip-rule","nonzero"),0!==r[f].x.k?(l="mask",p="mask",v=tI.getProp(this.element,r[f].x,0,null,this.element),_=j(),(g=tr("filter")).setAttribute("id",_),(y=tr("feMorphology")).setAttribute("operator","erode"),y.setAttribute("in","SourceGraphic"),y.setAttribute("radius","0"),g.appendChild(y),i.appendChild(g),d.setAttribute("stroke","s"===r[f].mode?"#000000":"#ffffff")):(y=null,v=null),this.storedData[f]={elem:d,x:v,expan:y,lastPath:"",lastOperator:"",filterId:_,lastRadius:0},"i"===r[f].mode){var f,d,m,u,g,y,v,_,k=o.length,P=tr("g");for(m=0;m<k;m+=1)P.appendChild(o[m]);var A=tr("mask");A.setAttribute("mask-type","alpha"),A.setAttribute("id",h+"_"+n),A.appendChild(d),i.appendChild(A),P.setAttribute("mask","url("+c()+"#"+h+"_"+n+")"),o.length=0,o.push(P)}else o.push(d);r[f].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[f]={elem:d,lastPath:"",op:tI.getProp(this.element,r[f].o,0,.01,this.element),prop:tB.getShapeProp(this.element,r[f],3),invRect:u},this.viewData[f].prop.k||this.drawPath(r[f],this.viewData[f].prop.v,this.viewData[f])}for(f=0,this.maskElement=tr(l),a=o.length;f<a;f+=1)this.maskElement.appendChild(o[f]);n>0&&(this.maskElement.setAttribute("id",h),this.element.maskedElement.setAttribute(p,"url("+c()+"#"+h+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}eO.prototype={initTransform:function(){var t=new tq;this.finalTransform={mProp:this.data.ks?t2.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,s=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;s<i;){if(this.hierarchy[s].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}s+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),s=0;s<i;s+=1)e.multiply(this.hierarchy[s].finalTransform.mProp.v)}(!this.localTransforms||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 s=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(s),t=1;t<e;t+=1){var i=this.localTransforms[t].matrix;s.multiply(i)}s.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var a=this.finalTransform.localOpacity;for(t=0;t<e;t+=1)a*=.01*this.localTransforms[t].opacity;this.finalTransform.localOpacity=a}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var t=this.renderableEffectsManager.getEffects("transformEFfect");if(t.length){this.localTransforms=[],this.finalTransform.localMat=new tq;var e=0,s=t.length;for(e=0;e<s;e+=1)this.localTransforms.push(t[e])}}},globalToLocal:function(t){var e,s,i=[];i.push(this.finalTransform);for(var a=!0,r=this.comp;a;)r.finalTransform?(r.data.hasMask&&i.splice(0,0,r.finalTransform),r=r.comp):a=!1;var n=i.length;for(e=0;e<n;e+=1)s=i[e].mat.applyToPointArray(0,0,0),t=[t[0]-s[0],t[1]-s[1],0];return t},mHelper:new tq},eB.prototype.getMaskProperty=function(t){return this.viewData[t].prop},eB.prototype.renderFrame=function(t){var e,s=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",s.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var a=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+c()+"#"+this.storedData[e].filterId+")")),a.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},eB.prototype.getMaskelement=function(){return this.maskElement},eB.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+(" h"+this.globalData.compSize.w+" v"+this.globalData.compSize.h+" h-"+this.globalData.compSize.w+(" v-"+this.globalData.compSize.h)+" ")},eB.prototype.drawPath=function(t,e,s){var i,a=" M"+e.v[0][0]+","+e.v[0][1],r=e._length;for(i=1;i<r;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&r>1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),s.lastPath!==a){var n="";s.elem&&(e.c&&(n=t.inv?this.solidPath+a:a),s.elem.setAttribute("d",n)),s.lastPath=a}},eB.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var eq=((l={}).createFilter=function(t,e){var s=tr("filter");return s.setAttribute("id",t),!0!==e&&(s.setAttribute("filterUnits","objectBoundingBox"),s.setAttribute("x","0%"),s.setAttribute("y","0%"),s.setAttribute("width","100%"),s.setAttribute("height","100%")),s},l.createAlphaToLuminanceFilter=function(){var t=tr("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),t},l),ej=(p={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"u">typeof OffscreenCanvas},(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(p.maskType=!1),/firefox/i.test(navigator.userAgent)&&(p.svgLumaHidden=!1),p),eW={},eX="filter_result_";function eH(t){var e,s,i="SourceGraphic",a=t.data.ef?t.data.ef.length:0,r=j(),n=eq.createFilter(r,!0),o=0;for(e=0,this.filters=[];e<a;e+=1){s=null;var h=t.data.ef[e].ty;eW[h]&&(s=new eW[h].effect(n,t.effectsManager.effectElements[e],t,eX+o,i),i=eX+o,eW[h].countsAsEffect&&(o+=1)),s&&this.filters.push(s)}o&&(t.globalData.defs.appendChild(n),t.layerElement.setAttribute("filter","url("+c()+"#"+r+")")),this.filters.length&&t.addRenderableComponent(this)}function eY(){}function eG(){}function eJ(){}function eK(t,e,s){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,s),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function eU(t,e){this.elem=t,this.pos=e}function eZ(){}eH.prototype.renderFrame=function(t){var e,s=this.filters.length;for(e=0;e<s;e+=1)this.filters[e].renderFrame(t)},eH.prototype.getEffects=function(t){var e,s=this.filters.length,i=[];for(e=0;e<s;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i},eY.prototype={initRendererElement:function(){this.layerElement=tr("g")},createContainerElements:function(){this.matteElement=tr("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=tr("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),0===this.data.ty&&!this.data.hd){var s=tr("clipPath"),i=tr("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=j();if(s.setAttribute("id",a),s.appendChild(i),this.globalData.defs.appendChild(s),this.checkMasks()){var r=tr("g");r.setAttribute("clip-path","url("+c()+"#"+a+")"),r.appendChild(this.layerElement),this.transformedElement=r,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+c()+"#"+a+")")}0!==this.data.bm&&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 eB(this.data,this,this.globalData),this.renderableEffectsManager=new eH(this),this.searchEffectTransforms()},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,s,i,a,r=this.layerId+"_"+t;if(1===t||3===t){var n=tr("mask");n.setAttribute("id",r),n.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=tr("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),n.appendChild(i),this.globalData.defs.appendChild(n),ej.maskType||1!==t||(n.setAttribute("mask-type","luminance"),e=j(),s=eq.createFilter(e),this.globalData.defs.appendChild(s),s.appendChild(eq.createAlphaToLuminanceFilter()),(a=tr("g")).appendChild(i),n.appendChild(a),a.setAttribute("filter","url("+c()+"#"+e+")"))}else if(2===t){var o=tr("mask");o.setAttribute("id",r),o.setAttribute("mask-type","alpha");var h=tr("g");o.appendChild(h),e=j(),s=eq.createFilter(e);var l=tr("feComponentTransfer");l.setAttribute("in","SourceGraphic"),s.appendChild(l);var p=tr("feFuncA");p.setAttribute("type","table"),p.setAttribute("tableValues","1.0 0.0"),l.appendChild(p),this.globalData.defs.appendChild(s);var f=tr("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("opacity","0"),h.setAttribute("filter","url("+c()+"#"+e+")"),h.appendChild(f),(i=tr("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(i),ej.maskType||(o.setAttribute("mask-type","luminance"),s.appendChild(eq.createAlphaToLuminanceFilter()),a=tr("g"),h.appendChild(f),a.appendChild(this.layerElement),h.appendChild(a)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=r}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+c()+"#"+t+")")}},eG.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},g([eP,function(t){function e(){}return e.prototype=t,e}({initElement:function(t,e,s){this.initFrame(),this.initBaseData(t,e,s),this.initTransform(t,e,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).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(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],eJ),g([eL,eO,eY,eG,eV,eJ],eK),eK.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=tr("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)},eK.prototype.sourceRectAtTime=function(){return this.sourceRect},eZ.prototype={addShapeToModifiers:function(t){var e,s=this.shapeModifiers.length;for(e=0;e<s;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].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();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,s=0,i=e.length;s<i;){if(e[s].elem===t)return e[s].pos;s+=1}return 0},addProcessedElement:function(t,e){for(var s=this.processedElements,i=s.length;i;)if(s[i-=1].elem===t){s[i].pos=e;return}s.push(new eU(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var eQ={1:"butt",2:"round",3:"square"},e$={1:"miter",2:"round",3:"bevel"};function e0(t,e,s){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=s,this.lvl=e,this._isAnimated=!!s.k;for(var i=0,a=t.length;i<a;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function e1(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=tr("path"),this.msElem=null}function e2(t,e,s,i){this.elem=t,this.frameId=-1,this.dataProps=b(e.length),this.renderer=s,this.k=!1,this.dashStr="",this.dashArray=v("float32",e.length?e.length-1:0),this.dashoffset=v("float32",1),this.initDynamicPropertyContainer(i);var a,r,n=e.length||0;for(a=0;a<n;a+=1)r=tI.getProp(t,e[a].v,0,0,this),this.k=r.k||this.k,this.dataProps[a]={n:e[a].n,p:r};this.k||this.getValue(!0),this._isAnimated=this.k}function e3(t,e,s){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=tI.getProp(t,e.o,0,.01,this),this.w=tI.getProp(t,e.w,0,null,this),this.d=new e2(t,e.d||{},"svg",this),this.c=tI.getProp(t,e.c,1,255,this),this.style=s,this._isAnimated=!!this._isAnimated}function e5(t,e,s){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=tI.getProp(t,e.o,0,.01,this),this.c=tI.getProp(t,e.c,1,255,this),this.style=s}function e9(t,e,s){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=s}function e4(t,e,s){this.data=e,this.c=v("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=v("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(s),this.prop=tI.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function e6(t,e,s){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,s)}function e8(t,e,s){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=tI.getProp(t,e.w,0,null,this),this.d=new e2(t,e.d||{},"svg",this),this.initGradientData(t,e,s),this._isAnimated=!!this._isAnimated}function e7(){this.it=[],this.prevViewData=[],this.gr=tr("g")}function st(t,e,s){this.transform={mProps:t,op:e,container:s},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}e0.prototype.setAsAnimated=function(){this._isAnimated=!0},e1.prototype.reset=function(){this.d="",this._mdf=!1},e2.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,s=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<s;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},g([tL],e2),g([tL],e3),g([tL],e5),g([tL],e9),e4.prototype.comparePoints=function(t,e){for(var s=0,i=this.o.length/2;s<i;){if(Math.abs(t[4*s]-t[4*e+2*s])>.01)return!1;s+=1}return!0},e4.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},e4.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,s,i,a=4*this.data.p;for(e=0;e<a;e+=1)s=e%4==0?100:255,i=Math.round(this.prop.v[e]*s),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(a=this.prop.v.length,e=4*this.data.p;e<a;e+=1)s=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},g([tL],e4),e6.prototype.initGradientData=function(t,e,s){this.o=tI.getProp(t,e.o,0,.01,this),this.s=tI.getProp(t,e.s,1,null,this),this.e=tI.getProp(t,e.e,1,null,this),this.h=tI.getProp(t,e.h||{k:0},0,.01,this),this.a=tI.getProp(t,e.a||{k:0},0,L,this),this.g=new e4(t,e.g,this),this.style=s,this.stops=[],this.setGradientData(s.pElem,e),this.setGradientOpacity(e,s),this._isAnimated=!!this._isAnimated},e6.prototype.setGradientData=function(t,e){var s,i,a=j(),r=tr(1===e.t?"linearGradient":"radialGradient");r.setAttribute("id",a),r.setAttribute("spreadMethod","pad"),r.setAttribute("gradientUnits","userSpaceOnUse");var n=[],o=4*e.g.p;for(i=0;i<o;i+=4)s=tr("stop"),r.appendChild(s),n.push(s);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+c()+"#"+a+")"),this.gf=r,this.cst=n},e6.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var s,i,a,r=tr("mask"),n=tr("path");r.appendChild(n);var o=j(),h=j();r.setAttribute("id",h);var l=tr(1===t.t?"linearGradient":"radialGradient");l.setAttribute("id",o),l.setAttribute("spreadMethod","pad"),l.setAttribute("gradientUnits","userSpaceOnUse"),a=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var p=this.stops;for(i=4*t.g.p;i<a;i+=2)(s=tr("stop")).setAttribute("stop-color","rgb(255,255,255)"),l.appendChild(s),p.push(s);n.setAttribute("gf"===t.ty?"fill":"stroke","url("+c()+"#"+o+")"),"gs"===t.ty&&(n.setAttribute("stroke-linecap",eQ[t.lc||2]),n.setAttribute("stroke-linejoin",e$[t.lj||2]),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),this.of=l,this.ms=r,this.ost=p,this.maskId=h,e.msElem=n}},g([tL],e6),g([e6,tL],e8);var se=function(t,e,s,i){if(0===e)return"";var a,r=t.o,n=t.i,o=t.v,h=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(a=1;a<e;a+=1)h+=" C"+i.applyToPointStringified(r[a-1][0],r[a-1][1])+" "+i.applyToPointStringified(n[a][0],n[a][1])+" "+i.applyToPointStringified(o[a][0],o[a][1]);return s&&e&&(h+=" C"+i.applyToPointStringified(r[a-1][0],r[a-1][1])+" "+i.applyToPointStringified(n[0][0],n[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1])+"z"),h},ss=function(){var t=new tq,e=new tq;function s(t,e,s){(s||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(s||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function a(s,i,a){var r,n,o,h,l,p,f,d,m,c,u=i.styles.length,g=i.lvl;for(p=0;p<u;p+=1){if(h=i.sh._mdf||a,i.styles[p].lvl<g){for(d=e.reset(),m=g-i.styles[p].lvl,c=i.transformers.length-1;!h&&m>0;)h=i.transformers[c].mProps._mdf||h,m-=1,c-=1;if(h)for(m=g-i.styles[p].lvl,c=i.transformers.length-1;m>0;)d.multiply(i.transformers[c].mProps.v),m-=1,c-=1}else d=t;if(n=(f=i.sh.paths)._length,h){for(r=0,o="";r<n;r+=1)(l=f.shapes[r])&&l._length&&(o+=se(l,l._length,l.c,d));i.caches[p]=o}else o=i.caches[p];i.styles[p].d+=!0===s.hd?"":o,i.styles[p]._mdf=h||i.styles[p]._mdf}}function r(t,e,s){var i=e.style;(e.c._mdf||s)&&i.pElem.setAttribute("fill","rgb("+M(e.c.v[0])+","+M(e.c.v[1])+","+M(e.c.v[2])+")"),(e.o._mdf||s)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function n(t,e,s){o(t,e,s),h(t,e,s)}function o(t,e,s){var i,a,r,n,o,h=e.gf,l=e.g._hasOpacity,p=e.s.v,f=e.e.v;if(e.o._mdf||s){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||s){var m=1===t.t?"x1":"cx",c="x1"===m?"y1":"cy";h.setAttribute(m,p[0]),h.setAttribute(c,p[1]),l&&!e.g._collapsable&&(e.of.setAttribute(m,p[0]),e.of.setAttribute(c,p[1]))}if(e.g._cmdf||s){i=e.cst;var u=e.g.c;for(a=0,r=i.length;a<r;a+=1)(n=i[a]).setAttribute("offset",u[4*a]+"%"),n.setAttribute("stop-color","rgb("+u[4*a+1]+","+u[4*a+2]+","+u[4*a+3]+")")}if(l&&(e.g._omdf||s)){var g=e.g.o;for(a=0,r=(i=e.g._collapsable?e.cst:e.ost).length;a<r;a+=1)n=i[a],e.g._collapsable||n.setAttribute("offset",g[2*a]+"%"),n.setAttribute("stop-opacity",g[2*a+1])}if(1===t.t)(e.e._mdf||s)&&(h.setAttribute("x2",f[0]),h.setAttribute("y2",f[1]),l&&!e.g._collapsable&&(e.of.setAttribute("x2",f[0]),e.of.setAttribute("y2",f[1])));else if((e.s._mdf||e.e._mdf||s)&&(o=Math.sqrt(Math.pow(p[0]-f[0],2)+Math.pow(p[1]-f[1],2)),h.setAttribute("r",o),l&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.s._mdf||e.e._mdf||e.h._mdf||e.a._mdf||s){o||(o=Math.sqrt(Math.pow(p[0]-f[0],2)+Math.pow(p[1]-f[1],2)));var y=Math.atan2(f[1]-p[1],f[0]-p[0]),v=e.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=o*v,_=Math.cos(y+e.a.v)*b+p[0],k=Math.sin(y+e.a.v)*b+p[1];h.setAttribute("fx",_),h.setAttribute("fy",k),l&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",k))}}function h(t,e,s){var i=e.style,a=e.d;a&&(a._mdf||s)&&a.dashStr&&(i.pElem.setAttribute("stroke-dasharray",a.dashStr),i.pElem.setAttribute("stroke-dashoffset",a.dashoffset[0])),e.c&&(e.c._mdf||s)&&i.pElem.setAttribute("stroke","rgb("+M(e.c.v[0])+","+M(e.c.v[1])+","+M(e.c.v[2])+")"),(e.o._mdf||s)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||s)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return r;case"gf":return o;case"gs":return n;case"st":return h;case"sh":case"el":case"rc":case"sr":return a;case"tr":return s;case"no":return i;default:return null}}}}();function si(t,e,s){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,s),this.prevViewData=[]}function sa(t,e,s,i,a,r){this.o=t,this.sw=e,this.sc=s,this.fc=i,this.m=a,this.p=r,this._mdf={o:!0,sw:!!e,sc:!!s,fc:!!i,m:!0,p:!0}}function sr(t,e){this._frameId=-999999,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)}g([eL,eO,eY,eZ,eG,eV,eJ],si),si.prototype.initSecondaryElement=function(){},si.prototype.identityMatrix=new tq,si.prototype.buildExpressionInterface=function(){},si.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},si.prototype.filterUniqueShapes=function(){var t,e,s,i,a=this.shapes.length,r=this.stylesList.length,n=[],o=!1;for(s=0;s<r;s+=1){for(t=0,i=this.stylesList[s],o=!1,n.length=0;t<a;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(n.push(e),o=e._isAnimated||o);n.length>1&&o&&this.setShapesAsAnimated(n)}},si.prototype.setShapesAsAnimated=function(t){var e,s=t.length;for(e=0;e<s;e+=1)t[e].setAsAnimated()},si.prototype.createStyleElement=function(t,e){var s,i=new e1(t,e),a=i.pElem;return"st"===t.ty?s=new e3(this,t,i):"fl"===t.ty?s=new e5(this,t,i):"gf"===t.ty||"gs"===t.ty?(s=new("gf"===t.ty?e6:e8)(this,t,i),this.globalData.defs.appendChild(s.gf),s.maskId&&(this.globalData.defs.appendChild(s.ms),this.globalData.defs.appendChild(s.of),a.setAttribute("mask","url("+c()+"#"+s.maskId+")"))):"no"===t.ty&&(s=new e9(this,t,i)),("st"===t.ty||"gs"===t.ty)&&(a.setAttribute("stroke-linecap",eQ[t.lc||2]),a.setAttribute("stroke-linejoin",e$[t.lj||2]),a.setAttribute("fill-opacity","0"),1===t.lj&&a.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&a.setAttribute("fill-rule","evenodd"),t.ln&&a.setAttribute("id",t.ln),t.cl&&a.setAttribute("class",t.cl),t.bm&&(a.style["mix-blend-mode"]=eA(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,s),s},si.prototype.createGroupElement=function(t){var e=new e7;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"]=eA(t.bm)),e},si.prototype.createTransformElement=function(t,e){var s=t2.getTransformProperty(this,t,this),i=new st(s,s.o,e);return this.addToAnimatedContents(t,i),i},si.prototype.createShapeElement=function(t,e,s){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var a=new e0(e,s,tB.getShapeProp(this,t,i,this));return this.shapes.push(a),this.addShapeToModifiers(a),this.addToAnimatedContents(t,a),a},si.prototype.addToAnimatedContents=function(t,e){for(var s=0,i=this.animatedContents.length;s<i;){if(this.animatedContents[s].element===e)return;s+=1}this.animatedContents.push({fn:ss.createRenderFunction(t),element:e,data:t})},si.prototype.setElementStyles=function(t){var e,s=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)-1!==s.indexOf(this.stylesList[e])||this.stylesList[e].closed||s.push(this.stylesList[e])},si.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()},si.prototype.searchShapes=function(t,e,s,i,a,r,n){var o,h,l,p,f,d,m=[].concat(r),c=t.length-1,u=[],g=[];for(o=c;o>=0;o-=1){if((d=this.searchProcessedElement(t[o]))?e[o]=s[d-1]:t[o]._render=n,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)d?e[o].style.closed=t[o].hd:e[o]=this.createStyleElement(t[o],a),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),u.push(e[o].style);else if("gr"===t[o].ty){if(d)for(h=0,l=e[o].it.length;h<l;h+=1)e[o].prevViewData[h]=e[o].it[h];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,a+1,m,n),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(d||(e[o]=this.createTransformElement(t[o],i)),p=e[o].transform,m.push(p)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(d||(e[o]=this.createShapeElement(t[o],m,a)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(d?(f=e[o]).closed=!1:((f=tQ.getModifier(t[o].ty)).init(this,t[o]),e[o]=f,this.shapeModifiers.push(f)),g.push(f)):"rp"===t[o].ty&&(d?(f=e[o]).closed=!0:(f=tQ.getModifier(t[o].ty),e[o]=f,f.init(this,t,o,e),this.shapeModifiers.push(f),n=!1),g.push(f));this.addProcessedElement(t[o],o+1)}for(o=0,c=u.length;o<c;o+=1)u[o].closed=!0;for(o=0,c=g.length;o<c;o+=1)g[o].closed=!0},si.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"))},si.prototype.renderShape=function(){var t,e,s=this.animatedContents.length;for(t=0;t<s;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},si.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},sa.prototype.update=function(t,e,s,i,a,r){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var n=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,n=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,n=!0),this.sc!==s&&(this.sc=s,this._mdf.sc=!0,n=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,n=!0),this.m!==a&&(this.m=a,this._mdf.m=!0,n=!0),r.length&&(this.p[0]!==r[0]||this.p[1]!==r[1]||this.p[4]!==r[4]||this.p[5]!==r[5]||this.p[12]!==r[12]||this.p[13]!==r[13])&&(this.p=r,this._mdf.p=!0,n=!0),n},sr.prototype.defaultBoxWidth=[0,0],sr.prototype.copyData=function(t,e){for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s]);return t},sr.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},sr.prototype.searchProperty=function(){return this.searchKeyframes()},sr.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},sr.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},sr.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,s=this.currentData,i=this.keysIndex;if(this.lock)return void this.setCurrentData(this.currentData);this.lock=!0,this._mdf=!1;var a=this.effectsSequence.length,r=t||this.data.d.k[this.keysIndex].s;for(e=0;e<a;e+=1)r=i!==this.keysIndex?this.effectsSequence[e](r,r.t):this.effectsSequence[e](this.currentData,r.t);s!==r&&this.setCurrentData(r),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},sr.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,s=0,i=t.length;s<=i-1&&s!==i-1&&!(t[s+1].t>e);)s+=1;return this.keysIndex!==s&&(this.keysIndex=s),this.data.d.k[this.keysIndex].s},sr.prototype.buildFinalText=function(t){for(var e,s,i=[],a=0,r=t.length,n=!1,o=!1,h="";a<r;)n=o,o=!1,e=t.charCodeAt(a),h=t.charAt(a),e_.isCombinedCharacter(e)?n=!0:e>=55296&&e<=56319?e_.isRegionalFlag(t,a)?h=t.substr(a,14):(s=t.charCodeAt(a+1))>=56320&&s<=57343&&(e_.isModifier(e,s)?(h=t.substr(a,2),n=!0):h=e_.isFlagEmoji(t.substr(a,4))?t.substr(a,4):t.substr(a,2)):e>56319?(s=t.charCodeAt(a+1),e_.isVariationSelector(e)&&(n=!0)):e_.isZeroWidthJoiner(e)&&(n=!0,o=!0),n?(i[i.length-1]+=h,n=!1):i.push(h),a+=h.length;return i},sr.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,s=this.data,i=[],a=0,r=s.m.g,n=0,o=0,h=0,l=[],p=0,f=0,d=e.getFontByName(t.f),m=0,c=eb(d);t.fWeight=c.weight,t.fStyle=c.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),y=t.finalText.length,t.finalLineHeight=t.lh;var u=t.tr/1e3*t.finalSize;if(t.sz)for(var g,y,v,b,_,k,P,A,S,x,w=!0,D=t.sz[0],M=t.sz[1];w;){x=this.buildFinalText(t.t),S=0,p=0,y=x.length,u=t.tr/1e3*t.finalSize;var C=-1;for(g=0;g<y;g+=1)A=x[g].charCodeAt(0),v=!1," "===x[g]?C=g:(13===A||3===A)&&(p=0,v=!0,S+=t.finalLineHeight||1.2*t.finalSize),e.chars?(P=e.getCharData(x[g],d.fStyle,d.fFamily),m=v?0:P.w*t.finalSize/100):m=e.measureText(x[g],t.f,t.finalSize),p+m>D&&" "!==x[g]?(-1===C?y+=1:g=C,S+=t.finalLineHeight||1.2*t.finalSize,x.splice(g,+(C===g),"\r"),C=-1,p=0):(p+=m,p+=u);S+=d.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&M<S?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=x,y=t.finalText.length,w=!1)}p=-u,m=0;var T=0;for(g=0;g<y;g+=1)if(v=!1,13===(A=(I=t.finalText[g]).charCodeAt(0))||3===A?(T=0,l.push(p),f=p>f?p:f,p=-2*u,b="",v=!0,h+=1):b=I,e.chars?(P=e.getCharData(I,d.fStyle,e.getFontByName(t.f).fFamily),m=v?0:P.w*t.finalSize/100):m=e.measureText(b,t.f,t.finalSize)," "===I?T+=m+u:(p+=m+u+T,T=0),i.push({l:m,an:m,add:n,n:v,anIndexes:[],val:b,line:h,animatorJustifyOffset:0}),2==r){if(n+=m,""===b||" "===b||g===y-1){for((""===b||" "===b)&&(n-=m);o<=g;)i[o].an=n,i[o].ind=a,i[o].extra=m,o+=1;a+=1,n=0}}else if(3==r){if(n+=m,""===b||g===y-1){for(""===b&&(n-=m);o<=g;)i[o].an=n,i[o].ind=a,i[o].extra=m,o+=1;n=0,a+=1}}else i[a].ind=a,i[a].extra=0,a+=1;if(t.l=i,f=p>f?p:f,l.push(p),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=f,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=l;var F=s.a;k=F.length;var E=[];for(_=0;_<k;_+=1){for((L=F[_]).a.sc&&(t.strokeColorAnim=!0),L.a.sw&&(t.strokeWidthAnim=!0),(L.a.fc||L.a.fh||L.a.fs||L.a.fb)&&(t.fillColorAnim=!0),z=0,R=L.s.b,g=0;g<y;g+=1)(V=i[g]).anIndexes[_]=z,(1==R&&""!==V.val||2==R&&""!==V.val&&" "!==V.val||3==R&&(V.n||" "==V.val||g==y-1)||4==R&&(V.n||g==y-1))&&(1===L.s.rn&&E.push(z),z+=1);s.a[_].s.totalChars=z;var I,L,V,R,z,N,O=-1;if(1===L.s.rn)for(g=0;g<y;g+=1)O!=(V=i[g]).anIndexes[_]&&(O=V.anIndexes[_],N=E.splice(Math.floor(Math.random()*E.length),1)[0]),V.anIndexes[_]=N}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=d.ascent*t.finalSize/100},sr.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var s=this.copyData({},this.data.d.k[e].s);s=this.copyData(s,t),this.data.d.k[e].s=s,this.recalculate(e),this.setCurrentData(s),this.elem.addDynamicProperty(this)},sr.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},sr.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},sr.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var sn=function(){var t=Math.max,e=Math.min,s=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=tI.getProp(t,e.s||{k:0},0,0,this),"e"in e?this.e=tI.getProp(t,e.e,0,0,this):this.e={v:100},this.o=tI.getProp(t,e.o||{k:0},0,0,this),this.xe=tI.getProp(t,e.xe||{k:0},0,0,this),this.ne=tI.getProp(t,e.ne||{k:0},0,0,this),this.sm=tI.getProp(t,e.sm||{k:100},0,0,this),this.a=tI.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var a=0,r=0,n=1,o=1;this.ne.v>0?a=this.ne.v/100:r=-this.ne.v/100,this.xe.v>0?n=1-this.xe.v/100:o=1+this.xe.v/100;var h=tg.getBezierEasing(a,r,n,o).get,l=0,p=this.finalS,f=this.finalE,d=this.data.sh;if(2===d)l=h(l=f===p?+(i>=f):t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(3===d)l=h(l=f===p?i>=f?0:1:1-t(0,e(.5/(f-p)+(i-p)/(f-p),1)));else if(4===d)f===p?l=0:(l=t(0,e(.5/(f-p)+(i-p)/(f-p),1)))<.5?l*=2:l=1-2*(l-.5),l=h(l);else if(5===d){if(f===p)l=0;else{var m=f-p,c=-m/2+(i=e(t(0,i+.5-p),f-p)),u=m/2;l=Math.sqrt(1-c*c/(u*u))}l=h(l)}else 6===d?l=h(l=f===p?0:(1+Math.cos(Math.PI+2*Math.PI*(i=e(t(0,i+.5-p),f-p))/(f-p)))/2):(i>=s(p)&&(l=i-p<0?t(0,e(e(f,1)-(p-i),1)):t(0,e(f-i,1))),l=h(l));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var y=.5-.5*g;l<y?l=0:(l=(l-y)/g)>1&&(l=1)}return l*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,s=this.o.v/e,i=this.s.v/e+s,a=this.e.v/e+s;if(i>a){var r=i;i=a,a=r}this.finalS=i,this.finalE=a}},g([tL],i),{getTextSelectorProp:function(t,e,s){return new i(t,e,s)}}}();function so(t,e,s){var i={propType:!1},a=tI.getProp,r=e.a;this.a={r:r.r?a(t,r.r,0,L,s):i,rx:r.rx?a(t,r.rx,0,L,s):i,ry:r.ry?a(t,r.ry,0,L,s):i,sk:r.sk?a(t,r.sk,0,L,s):i,sa:r.sa?a(t,r.sa,0,L,s):i,s:r.s?a(t,r.s,1,.01,s):i,a:r.a?a(t,r.a,1,0,s):i,o:r.o?a(t,r.o,0,.01,s):i,p:r.p?a(t,r.p,1,0,s):i,sw:r.sw?a(t,r.sw,0,0,s):i,sc:r.sc?a(t,r.sc,1,0,s):i,fc:r.fc?a(t,r.fc,1,0,s):i,fh:r.fh?a(t,r.fh,0,0,s):i,fs:r.fs?a(t,r.fs,0,.01,s):i,fb:r.fb?a(t,r.fb,0,.01,s):i,t:r.t?a(t,r.t,0,0,s):i},this.s=sn.getTextSelectorProp(t,e.s,s),this.s.t=e.s.t}function sh(t,e,s){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=s,this._animatorsData=b(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(s)}function sl(){}sh.prototype.searchProperties=function(){var t,e,s=this._textData.a.length,i=tI.getProp;for(t=0;t<s;t+=1)e=this._textData.a[t],this._animatorsData[t]=new so(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(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=i(this._elem,this._textData.m.a,1,0,this)},sh.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var s,i,a,r,n,o,h,l,p,f,d,m,c,u,g,y,v,b=this._moreOptions.alignment.v,_=this._animatorsData,k=this._textData,P=this.mHelper,A=this._renderType,S=this.renderedLetters.length,x=t.l;if(this._hasMaskedPath){if(X=this._pathData.m,!this._pathData.n||this._pathData._mdf){var w,D,M,C,T,F,E,I,L,V,R,z,N,O,B,q,j,W,X,J,K=X.v;for(this._pathData.r.v&&(K=K.reverse()),T={tLength:0,segments:[]},C=K._length-1,q=0,M=0;M<C;M+=1)J=tk.buildBezierData(K.v[M],K.v[M+1],[K.o[M][0]-K.v[M][0],K.o[M][1]-K.v[M][1]],[K.i[M+1][0]-K.v[M+1][0],K.i[M+1][1]-K.v[M+1][1]]),T.tLength+=J.segmentLength,T.segments.push(J),q+=J.segmentLength;M=C,X.v.c&&(J=tk.buildBezierData(K.v[M],K.v[0],[K.o[M][0]-K.v[M][0],K.o[M][1]-K.v[M][1]],[K.i[0][0]-K.v[0][0],K.i[0][1]-K.v[0][1]]),T.tLength+=J.segmentLength,T.segments.push(J),q+=J.segmentLength),this._pathData.pi=T}if(T=this._pathData.pi,F=this._pathData.f.v,R=0,V=1,I=0,L=!0,O=T.segments,F<0&&X.v.c)for(T.tLength<Math.abs(F)&&(F=-Math.abs(F)%T.tLength),R=O.length-1,V=(N=O[R].points).length-1;F<0;)F+=N[V].partialLength,(V-=1)<0&&(R-=1,V=(N=O[R].points).length-1);z=(N=O[R].points)[V-1],B=(E=N[V]).partialLength}C=x.length,w=0,D=0;var U=1.2*t.finalSize*.714,Z=!0;a=_.length;var Q=-1,$=F,tt=R,te=V,ts=-1,ti="",ta=this.defaultPropsArray;if(2===t.j||1===t.j){var tr=0,tn=0,to=2===t.j?-.5:-1,th=0,tl=!0;for(M=0;M<C;M+=1)if(x[M].n){for(tr&&(tr+=tn);th<M;)x[th].animatorJustifyOffset=tr,th+=1;tr=0,tl=!0}else{for(i=0;i<a;i+=1)(s=_[i].a).t.propType&&(tl&&2===t.j&&(tn+=s.t.v*to),(n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars)).length?tr+=s.t.v*n[0]*to:tr+=s.t.v*n*to);tl=!1}for(tr&&(tr+=tn);th<M;)x[th].animatorJustifyOffset=tr,th+=1}for(M=0;M<C;M+=1){if(P.reset(),p=1,x[M].n)w=0,D+=t.yOffset,D+=+!!Z,F=$,Z=!1,this._hasMaskedPath&&(R=tt,V=te,z=(N=O[R].points)[V-1],B=(E=N[V]).partialLength,I=0),ti="",y="",u="",v="",ta=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ts!==x[M].line){switch(t.j){case 1:F+=q-t.lineWidths[x[M].line];break;case 2:F+=(q-t.lineWidths[x[M].line])/2}ts=x[M].line}Q!==x[M].ind&&(x[Q]&&(F+=x[Q].extra),F+=x[M].an/2,Q=x[M].ind),F+=b[0]*x[M].an*.005;var tp=0;for(i=0;i<a;i+=1)(s=_[i].a).p.propType&&((n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars)).length?tp+=s.p.v[0]*n[0]:tp+=s.p.v[0]*n),s.a.propType&&((n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars)).length?tp+=s.a.v[0]*n[0]:tp+=s.a.v[0]*n);for(L=!0,this._pathData.a.v&&(F=.5*x[0].an+(q-this._pathData.f.v-.5*x[0].an-.5*x[x.length-1].an)*Q/(C-1)+this._pathData.f.v);L;)I+B>=F+tp||!N?(j=(F+tp-I)/E.partialLength,h=z.point[0]+(E.point[0]-z.point[0])*j,l=z.point[1]+(E.point[1]-z.point[1])*j,P.translate(-b[0]*x[M].an*.005,-(.01*(b[1]*U))),L=!1):N&&(I+=E.partialLength,(V+=1)>=N.length&&(V=0,O[R+=1]?N=O[R].points:X.v.c?(V=0,N=O[R=0].points):(I-=E.partialLength,N=null)),N&&(z=E,B=(E=N[V]).partialLength));o=x[M].an/2-x[M].add,P.translate(-o,0,0)}else o=x[M].an/2-x[M].add,P.translate(-o,0,0),P.translate(-b[0]*x[M].an*.005,-b[1]*U*.01,0);for(i=0;i<a;i+=1)(s=_[i].a).t.propType&&(n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars),(0!==w||0!==t.j)&&(this._hasMaskedPath?n.length?F+=s.t.v*n[0]:F+=s.t.v*n:n.length?w+=s.t.v*n[0]:w+=s.t.v*n));for(t.strokeWidthAnim&&(d=t.sw||0),t.strokeColorAnim&&(f=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(m=[t.fc[0],t.fc[1],t.fc[2]]),i=0;i<a;i+=1)(s=_[i].a).a.propType&&((n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars)).length?P.translate(-s.a.v[0]*n[0],-s.a.v[1]*n[1],s.a.v[2]*n[2]):P.translate(-s.a.v[0]*n,-s.a.v[1]*n,s.a.v[2]*n));for(i=0;i<a;i+=1)(s=_[i].a).s.propType&&((n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars)).length?P.scale(1+(s.s.v[0]-1)*n[0],1+(s.s.v[1]-1)*n[1],1):P.scale(1+(s.s.v[0]-1)*n,1+(s.s.v[1]-1)*n,1));for(i=0;i<a;i+=1){if(s=_[i].a,n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars),s.sk.propType&&(n.length?P.skewFromAxis(-s.sk.v*n[0],s.sa.v*n[1]):P.skewFromAxis(-s.sk.v*n,s.sa.v*n)),s.r.propType&&(n.length?P.rotateZ(-s.r.v*n[2]):P.rotateZ(-s.r.v*n)),s.ry.propType&&(n.length?P.rotateY(s.ry.v*n[1]):P.rotateY(s.ry.v*n)),s.rx.propType&&(n.length?P.rotateX(s.rx.v*n[0]):P.rotateX(s.rx.v*n)),s.o.propType&&(n.length?p+=(s.o.v*n[0]-p)*n[0]:p+=(s.o.v*n-p)*n),t.strokeWidthAnim&&s.sw.propType&&(n.length?d+=s.sw.v*n[0]:d+=s.sw.v*n),t.strokeColorAnim&&s.sc.propType)for(c=0;c<3;c+=1)n.length?f[c]+=(s.sc.v[c]-f[c])*n[0]:f[c]+=(s.sc.v[c]-f[c])*n;if(t.fillColorAnim&&t.fc){if(s.fc.propType)for(c=0;c<3;c+=1)n.length?m[c]+=(s.fc.v[c]-m[c])*n[0]:m[c]+=(s.fc.v[c]-m[c])*n;s.fh.propType&&(m=n.length?G(m,s.fh.v*n[0]):G(m,s.fh.v*n)),s.fs.propType&&(m=n.length?H(m,s.fs.v*n[0]):H(m,s.fs.v*n)),s.fb.propType&&(m=n.length?Y(m,s.fb.v*n[0]):Y(m,s.fb.v*n))}}for(i=0;i<a;i+=1)(s=_[i].a).p.propType&&(n=_[i].s.getMult(x[M].anIndexes[i],k.a[i].s.totalChars),this._hasMaskedPath?n.length?P.translate(0,s.p.v[1]*n[0],-s.p.v[2]*n[1]):P.translate(0,s.p.v[1]*n,-s.p.v[2]*n):n.length?P.translate(s.p.v[0]*n[0],s.p.v[1]*n[1],-s.p.v[2]*n[2]):P.translate(s.p.v[0]*n,s.p.v[1]*n,-s.p.v[2]*n));if(t.strokeWidthAnim&&(u=d<0?0:d),t.strokeColorAnim&&(g="rgb("+Math.round(255*f[0])+","+Math.round(255*f[1])+","+Math.round(255*f[2])+")"),t.fillColorAnim&&t.fc&&(y="rgb("+Math.round(255*m[0])+","+Math.round(255*m[1])+","+Math.round(255*m[2])+")"),this._hasMaskedPath){if(P.translate(0,-t.ls),P.translate(0,b[1]*U*.01+D,0),this._pathData.p.v){var tf=180*Math.atan(W=(E.point[1]-z.point[1])/(E.point[0]-z.point[0]))/Math.PI;E.point[0]<z.point[0]&&(tf+=180),P.rotate(-tf*Math.PI/180)}P.translate(h,l,0),F-=b[0]*x[M].an*.005,x[M+1]&&Q!==x[M+1].ind&&(F+=x[M].an/2,F+=.001*t.tr*t.finalSize)}else{switch(P.translate(w,D,0),t.ps&&P.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:P.translate(x[M].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[x[M].line]),0,0);break;case 2:P.translate(x[M].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[x[M].line])/2,0,0)}P.translate(0,-t.ls),P.translate(o,0,0),P.translate(b[0]*x[M].an*.005,b[1]*U*.01,0),w+=x[M].l+.001*t.tr*t.finalSize}"html"===A?ti=P.toCSS():"svg"===A?ti=P.to2dCSS():ta=[P.props[0],P.props[1],P.props[2],P.props[3],P.props[4],P.props[5],P.props[6],P.props[7],P.props[8],P.props[9],P.props[10],P.props[11],P.props[12],P.props[13],P.props[14],P.props[15]],v=p}S<=M?(r=new sa(v,u,g,y,ti,ta),this.renderedLetters.push(r),S+=1,this.lettersChangedFlag=!0):(r=this.renderedLetters[M],this.lettersChangedFlag=r.update(v,u,g,y,ti,ta)||this.lettersChangedFlag)}}},sh.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},sh.prototype.mHelper=new tq,sh.prototype.defaultPropsArray=[],g([tL],sh),sl.prototype.initElement=function(t,e,s){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,s),this.textProperty=new sr(this,t.t,this.dynamicProperties),this.textAnimator=new sh(t.t,this.renderType,this),this.initTransform(t,e,s),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},sl.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)},sl.prototype.createPathShape=function(t,e){var s,i,a=e.length,r="";for(s=0;s<a;s+=1)"sh"===e[s].ty&&(r+=se(i=e[s].ks.k,i.i.length,!0,t));return r},sl.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},sl.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},sl.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},sl.prototype.applyTextPropertiesToMatrix=function(t,e,s,i,a){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[s]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[s])/2,0,0)}e.translate(i,a,0)},sl.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},sl.prototype.emptyProp=new sa,sl.prototype.destroy=function(){},sl.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var sp={shapes:[]};function sf(t,e,s){this.textSpans=[],this.renderType="svg",this.initElement(t,e,s)}function sd(t,e,s){this.initElement(t,e,s)}function sm(t,e,s){this.initFrame(),this.initBaseData(t,e,s),this.initFrame(),this.initTransform(t,e,s),this.initHierarchy()}function sc(){}function su(){}function sg(t,e,s){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?b(this.layers.length):[],this.initElement(t,e,s),this.tm=t.tm?tI.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function sy(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=tr("svg");var s="";if(e&&e.title){var i=tr("title"),a=j();i.setAttribute("id",a),i.textContent=e.title,this.svgElement.appendChild(i),s+=a}if(e&&e.description){var r=tr("desc"),n=j();r.setAttribute("id",n),r.textContent=e.description,this.svgElement.appendChild(r),s+=" "+n}s&&this.svgElement.setAttribute("aria-labelledby",s);var o=tr("defs");this.svgElement.appendChild(o);var h=tr("g");this.svgElement.appendChild(h),this.layerElement=h,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),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||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}return g([eL,eO,eY,eG,eV,eJ,sl],sf),sf.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=tr("text"))},sf.prototype.buildTextContents=function(t){for(var e=0,s=t.length,i=[],a="";e<s;)"\r"===t[e]||"\x03"===t[e]?(i.push(a),a=""):a+=t[e],e+=1;return i.push(a),i},sf.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var s=t.shapes[0];if(s.it){var i=s.it[s.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},sf.prototype.buildNewText=function(){this.addDynamicProperty(this);var t=this.textProperty.currentData;this.renderedLetters=b(t?t.l.length:0),t.fc?this.layerElement.setAttribute("fill",this.buildColor(t.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),t.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(t.sc)),this.layerElement.setAttribute("stroke-width",t.sw)),this.layerElement.setAttribute("font-size",t.finalSize);var e=this.globalData.fontManager.getFontByName(t.f);if(e.fClass)this.layerElement.setAttribute("class",e.fClass);else{this.layerElement.setAttribute("font-family",e.fFamily);var s=t.fWeight,i=t.fStyle;this.layerElement.setAttribute("font-style",i),this.layerElement.setAttribute("font-weight",s)}this.layerElement.setAttribute("aria-label",t.t);var a=t.l||[],r=!!this.globalData.fontManager.chars;u=a.length;var n=this.mHelper,o=this.data.singleShape,h=0,l=0,p=!0,f=.001*t.tr*t.finalSize;if(!o||r||t.sz){var d=this.textSpans.length;for(c=0;c<u;c+=1){if(this.textSpans[c]||(this.textSpans[c]={span:null,childSpan:null,glyph:null}),!r||!o||0===c){if(g=d>c?this.textSpans[c].span:tr(r?"g":"text"),d<=c){if(g.setAttribute("stroke-linecap","butt"),g.setAttribute("stroke-linejoin","round"),g.setAttribute("stroke-miterlimit","4"),this.textSpans[c].span=g,r){var m=tr("g");g.appendChild(m),this.textSpans[c].childSpan=m}this.textSpans[c].span=g,this.layerElement.appendChild(g)}g.style.display="inherit"}if(n.reset(),o&&(a[c].n&&(h=-f,l+=t.yOffset,l+=+!!p,p=!1),this.applyTextPropertiesToMatrix(t,n,a[c].line,h,l),h+=a[c].l||0,h+=f),r){if(1===(y=this.globalData.fontManager.getCharData(t.finalText[c],e.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily)).t)v=new sg(y.data,this.globalData,this);else{var c,u,g,y,v,_=sp;y.data&&y.data.shapes&&(_=this.buildShapeData(y.data,t.finalSize)),v=new si(_,this.globalData,this)}if(this.textSpans[c].glyph){var k=this.textSpans[c].glyph;this.textSpans[c].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[c].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[c].childSpan.appendChild(v.layerElement),1===y.t&&this.textSpans[c].childSpan.setAttribute("transform","scale("+t.finalSize/100+","+t.finalSize/100+")")}else o&&g.setAttribute("transform","translate("+n.props[12]+","+n.props[13]+")"),g.textContent=a[c].val,g.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}o&&g&&g.setAttribute("d","")}else{var P=this.textContainer,A="start";switch(t.j){case 1:A="end";break;case 2:A="middle";break;default:A="start"}P.setAttribute("text-anchor",A),P.setAttribute("letter-spacing",f);var S=this.buildTextContents(t.finalText);for(c=0,u=S.length,l=t.ps?t.ps[1]+t.ascent:0;c<u;c+=1)(g=this.textSpans[c].span||tr("tspan")).textContent=S[c],g.setAttribute("x",0),g.setAttribute("y",l),g.style.display="inherit",P.appendChild(g),this.textSpans[c]||(this.textSpans[c]={span:null,glyph:null}),this.textSpans[c].span=g,l+=t.finalLineHeight;this.layerElement.appendChild(P)}for(;c<this.textSpans.length;)this.textSpans[c].span.style.display="none",c+=1;this._sizeChanged=!0},sf.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},sf.prototype.getValue=function(){var t,e,s=this.textSpans.length;for(t=0,this.renderedFrame=this.comp.renderedFrame;t<s;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},sf.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,s,i,a,r=this.textAnimator.renderedLetters,n=this.textProperty.currentData.l;for(t=0,e=n.length;t<e;t+=1)!n[t].n&&(s=r[t],i=this.textSpans[t].span,(a=this.textSpans[t].glyph)&&a.renderFrame(),s._mdf.m&&i.setAttribute("transform",s.m),s._mdf.o&&i.setAttribute("opacity",s.o),s._mdf.sw&&i.setAttribute("stroke-width",s.sw),s._mdf.sc&&i.setAttribute("stroke",s.sc),s._mdf.fc&&i.setAttribute("fill",s.fc))}},g([eK],sd),sd.prototype.createContent=function(){var t=tr("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},sm.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},sm.prototype.renderFrame=function(){},sm.prototype.getBaseElement=function(){return null},sm.prototype.destroy=function(){},sm.prototype.sourceRectAtTime=function(){},sm.prototype.hide=function(){},g([eL,eO,eG,eV],sm),g([eN],sc),sc.prototype.createNull=function(t){return new sm(t,this.globalData,this)},sc.prototype.createShape=function(t){return new si(t,this.globalData,this)},sc.prototype.createText=function(t){return new sf(t,this.globalData,this)},sc.prototype.createImage=function(t){return new eK(t,this.globalData,this)},sc.prototype.createSolid=function(t){return new sd(t,this.globalData,this)},sc.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),void 0!==this.renderConfig.focusable&&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 s=tr("clipPath"),i=tr("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var a=j();s.setAttribute("id",a),s.appendChild(i),this.layerElement.setAttribute("clip-path","url("+c()+"#"+a+")"),e.appendChild(s),this.layers=t.layers,this.elements=b(t.layers.length)},sc.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},sc.prototype.updateContainerSize=function(){},sc.prototype.findIndexByInd=function(t){var e=0,s=this.layers.length;for(e=0;e<s;e+=1)if(this.layers[e].ind===t)return e;return -1},sc.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var s=this.createItem(this.layers[t]);if(e[t]=s,tt()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(s),s.initExpressions()),this.appendElementInPos(s,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var a=e[i].getMatte(this.layers[t].tt);s.setMatte(a)}else this.buildItem(i),this.addPendingElement(s)}}},sc.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,s=this.elements.length;e<s;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,a=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(a);break}e+=1}}},sc.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){null===t?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,s=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=s-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<s;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},sc.prototype.appendElementInPos=function(t,e){var s,i=t.getBaseElement();if(i){for(var a=0;a<e;)this.elements[a]&&!0!==this.elements[a]&&this.elements[a].getBaseElement()&&(s=this.elements[a].getBaseElement()),a+=1;s?this.layerElement.insertBefore(i,s):this.layerElement.appendChild(i)}},sc.prototype.hide=function(){this.layerElement.style.display="none"},sc.prototype.show=function(){this.layerElement.style.display="block"},g([eL,eO,eG,eV,eJ],su),su.prototype.initElement=function(t,e,s){this.initFrame(),this.initBaseData(t,e,s),this.initTransform(t,e,s),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!e.progressiveLoad)&&this.buildAllItems(),this.hide()},su.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,s=this.tm.v;s===this.data.op&&(s=this.data.op-1),this.renderedFrame=s}var i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&(this.elements[e].prepareFrame(this.renderedFrame-this.layers[e].st),this.elements[e]._mdf&&(this._mdf=!0))}},su.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()},su.prototype.setElements=function(t){this.elements=t},su.prototype.getElements=function(){return this.elements},su.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},su.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},g([sc,su,eY],sg),sg.prototype.createComp=function(t){return new sg(t,this.globalData,this)},g([sc],sy),sy.prototype.createComp=function(t){return new sg(t,this.globalData,this)},td.svg=sy,tQ.registerModifier("tm",t0),tQ.registerModifier("pb",t1),tQ.registerModifier("rp",t3),tQ.registerModifier("rd",t5),tQ.registerModifier("zz",el),tQ.registerModifier("op",ev),tW},"object"==typeof t&&void 0!==e?e.exports=i():"function"==typeof define&&define.amd?define(i):(s="u">typeof globalThis?globalThis:s||self).lottie=i())})()}