From 8a2920d14b304420df6752c001632be370deca62 Mon Sep 17 00:00:00 2001 From: Santiago Pravisani Date: Tue, 20 Feb 2024 20:51:13 -0300 Subject: [PATCH] Updates --- asset-manifest.json | 6 +++--- index.html | 2 +- .../js/{main.e9d45052.js => main.03e6325d.js} | 6 +++--- ...CENSE.txt => main.03e6325d.js.LICENSE.txt} | 0 ...n.e9d45052.js.map => main.03e6325d.js.map} | 2 +- static/media/cover.6396d73722aa584e3ce0.png | Bin 0 -> 1114909 bytes static/media/cover.a5f2eace202d33e8baf3.png | Bin 336462 -> 0 bytes 7 files changed, 8 insertions(+), 8 deletions(-) rename static/js/{main.e9d45052.js => main.03e6325d.js} (99%) rename static/js/{main.e9d45052.js.LICENSE.txt => main.03e6325d.js.LICENSE.txt} (100%) rename static/js/{main.e9d45052.js.map => main.03e6325d.js.map} (99%) create mode 100644 static/media/cover.6396d73722aa584e3ce0.png delete mode 100644 static/media/cover.a5f2eace202d33e8baf3.png diff --git a/asset-manifest.json b/asset-manifest.json index 3ebdae5..cecc776 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,7 +1,7 @@ { "files": { "main.css": "/static/css/main.0f1f13bf.css", - "main.js": "/static/js/main.e9d45052.js", + "main.js": "/static/js/main.03e6325d.js", "static/js/377.7b18055d.chunk.js": "/static/js/377.7b18055d.chunk.js", "static/media/element-1.png": "/static/media/element-1.20c2f54fce5ce0f8d5b6.png", "static/media/element-6.png": "/static/media/element-6.6fe669698b37669a51ca.png", @@ -29,11 +29,11 @@ "static/media/logo.svg": "/static/media/logo.3584e9e32c5c45d2136b18d7a9887899.svg", "index.html": "/index.html", "main.0f1f13bf.css.map": "/static/css/main.0f1f13bf.css.map", - "main.e9d45052.js.map": "/static/js/main.e9d45052.js.map", + "main.03e6325d.js.map": "/static/js/main.03e6325d.js.map", "377.7b18055d.chunk.js.map": "/static/js/377.7b18055d.chunk.js.map" }, "entrypoints": [ "static/css/main.0f1f13bf.css", - "static/js/main.e9d45052.js" + "static/js/main.03e6325d.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index fd2412c..073327d 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -SANA Company | We make your ideas true
\ No newline at end of file +SANA Company | We make your ideas true
\ No newline at end of file diff --git a/static/js/main.e9d45052.js b/static/js/main.03e6325d.js similarity index 99% rename from static/js/main.e9d45052.js rename to static/js/main.03e6325d.js index 72748a2..e095fca 100644 --- a/static/js/main.e9d45052.js +++ b/static/js/main.03e6325d.js @@ -1,3 +1,3 @@ -/*! For license information please see main.e9d45052.js.LICENSE.txt */ -(()=>{var __webpack_modules__={2110:(A,t,e)=>{"use strict";var i=e(7441),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function o(A){return i.isMemo(A)?a:s[A.$$typeof]||r}s[i.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[i.Memo]=a;var l=Object.defineProperty,h=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,g=Object.prototype;A.exports=function A(t,e,i){if("string"!==typeof e){if(g){var r=f(e);r&&r!==g&&A(t,r,i)}var a=h(e);c&&(a=a.concat(c(e)));for(var s=o(t),d=o(e),p=0;p=0||(r[e]=A[e]);return r}function c(A,t){if(null==A)return{};var e,i,r=h(A,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(A,e)&&(r[e]=A[e])}return r}function u(A,t){return f(A)||a(A,t)||g(A,t)||p()}function f(A){if(Array.isArray(A))return A}function g(A,t){if(A){if("string"===typeof A)return d(A,t);var e=Object.prototype.toString.call(A).slice(8,-1);return"Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e?Array.from(A):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?d(A,t):void 0}}function d(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,i=new Array(t);e0&&void 0!==arguments[0]?arguments[0]:{};if(R.current){null===(t=Q.current)||void 0===t||t.destroy();var i=o(o(o({},A),e),{},{container:R.current});return Q.current=r.default.loadAnimation(i),x(!!Q.current),function(){var A;null===(A=Q.current)||void 0===A||A.destroy(),Q.current=void 0}}};return e.useEffect((function(){var A=H();return function(){return null===A||void 0===A?void 0:A()}}),[i,a]),e.useEffect((function(){Q.current&&(Q.current.autoplay=!!s)}),[s]),e.useEffect((function(){Q.current&&(l?Array.isArray(l)&&l.length&&((Q.current.currentRawFramel[1])&&(Q.current.currentRawFrame=l[0]),Q.current.setSegment(l[0],l[1])):Q.current.resetSegments(!0))}),[l]),e.useEffect((function(){var A=[{name:"complete",handler:h},{name:"loopComplete",handler:f},{name:"enterFrame",handler:g},{name:"segmentStart",handler:d},{name:"config_ready",handler:p},{name:"data_ready",handler:E},{name:"data_failed",handler:m},{name:"loaded_images",handler:I},{name:"DOMLoaded",handler:v},{name:"destroy",handler:w}].filter((function(A){return null!=A.handler}));if(A.length){var t=A.map((function(A){var t;return null===(t=Q.current)||void 0===t||t.addEventListener(A.name,A.handler),function(){var t;null===(t=Q.current)||void 0===t||t.removeEventListener(A.name,A.handler)}}));return function(){t.forEach((function(A){return A()}))}}}),[h,f,g,d,p,E,m,I,v,w]),{View:n.default.createElement("div",o({style:t,ref:R},B)),play:D,stop:b,pause:L,setSpeed:Y,goToAndStop:G,goToAndPlay:M,setDirection:P,playSegments:X,setSubframe:O,getDuration:S,destroy:W,animationContainerRef:R,animationLoaded:F,animationItem:Q.current}};function v(A){var t=A.getBoundingClientRect(),e=t.top,i=t.height;return(window.innerHeight-e)/(window.innerHeight+i)}function w(A,t,e){var i=A.getBoundingClientRect(),r=i.top;return{x:(t-i.left)/i.width,y:(e-r)/i.height}}var B=function(A){var t=A.wrapperRef,i=A.animationItem,r=A.mode,n=A.actions;e.useEffect((function(){var A=t.current;if(A&&i&&n.length){i.stop();var e=function(){var t=null,e=function(){var e=v(A),r=n.find((function(A){var t=A.visibility;return t&&e>=t[0]&&e<=t[1]}));if(r){if("seek"===r.type&&r.visibility&&2===r.frames.length){var a=r.frames[0]+Math.ceil((e-r.visibility[0])/(r.visibility[1]-r.visibility[0])*r.frames[1]);i.goToAndStop(a-i.firstFrame-1,!0)}"loop"===r.type&&(null===t||t!==r.frames||i.isPaused)&&(i.playSegments(r.frames,!0),t=r.frames),"play"===r.type&&i.isPaused&&(i.resetSegments(!0),i.play()),"stop"===r.type&&i.goToAndStop(r.frames[0]-i.firstFrame-1,!0)}};return document.addEventListener("scroll",e),function(){document.removeEventListener("scroll",e)}},a=function(){var t=function(t,e){var r=t,a=e;if(-1!==r&&-1!==a){var s=w(A,r,a);r=s.x,a=s.y}var o=n.find((function(A){var t=A.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?r>=t.x[0]&&r<=t.x[1]&&a>=t.y[0]&&a<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&r===t.x&&a===t.y}));if(o){if("seek"===o.type&&o.position&&Array.isArray(o.position.x)&&Array.isArray(o.position.y)&&2===o.frames.length){var l=(r-o.position.x[0])/(o.position.x[1]-o.position.x[0]),h=(a-o.position.y[0])/(o.position.y[1]-o.position.y[0]);i.playSegments(o.frames,!0),i.goToAndStop(Math.ceil((l+h)/2*(o.frames[1]-o.frames[0])),!0)}"loop"===o.type&&i.playSegments(o.frames,!0),"play"===o.type&&(i.isPaused&&i.resetSegments(!1),i.playSegments(o.frames)),"stop"===o.type&&i.goToAndStop(o.frames[0],!0)}},e=function(A){t(A.clientX,A.clientY)},r=function(){t(-1,-1)};return A.addEventListener("mousemove",e),A.addEventListener("mouseout",r),function(){A.removeEventListener("mousemove",e),A.removeEventListener("mouseout",r)}};switch(r){case"scroll":return e();case"cursor":return a()}}}),[r,i])},y=function(A){var t=A.actions,e=A.mode,i=A.lottieObj,r=i.animationItem,n=i.View,a=i.animationContainerRef;return B({actions:t,animationItem:r,mode:e,wrapperRef:a}),n},F=["style","interactivity"],x=function(A){var t,i,r,n=A.style,a=A.interactivity,s=c(A,F),o=I(s,n),l=o.View,h=o.play,u=o.stop,f=o.pause,g=o.setSpeed,d=o.goToAndStop,p=o.goToAndPlay,E=o.setDirection,m=o.playSegments,C=o.setSubframe,v=o.getDuration,w=o.destroy,B=o.animationContainerRef,x=o.animationLoaded,Q=o.animationItem;return e.useEffect((function(){A.lottieRef&&(A.lottieRef.current={play:h,stop:u,pause:f,setSpeed:g,goToAndPlay:p,goToAndStop:d,setDirection:E,playSegments:m,setSubframe:C,getDuration:v,destroy:w,animationContainerRef:B,animationLoaded:x,animationItem:Q})}),[null===(t=A.lottieRef)||void 0===t?void 0:t.current]),y({lottieObj:{View:l,play:h,stop:u,pause:f,setSpeed:g,goToAndStop:d,goToAndPlay:p,setDirection:E,playSegments:m,setSubframe:C,getDuration:v,destroy:w,animationContainerRef:B,animationLoaded:x,animationItem:Q},actions:null!==(i=null===a||void 0===a?void 0:a.actions)&&void 0!==i?i:[],mode:null!==(r=null===a||void 0===a?void 0:a.mode)&&void 0!==r?r:"scroll"})};Object.defineProperty(A,"LottiePlayer",{enumerable:!0,get:function(){return r.default}}),A.default=x,A.useLottie=I,A.useLottieInteractivity=y,Object.defineProperty(A,"__esModule",{value:!0})}(t,e(7625),e(2791))},7625:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(A){_useWebWorker=!!A},getWebWorker=function(){return _useWebWorker},setLocationHref=function(A){locationHref=A},getLocationHref=function(){return locationHref};function createTag(A){return document.createElement(A)}function extendPrototype(A,t){var e,i,r=A.length;for(e=0;e1?e[1]=1:e[1]<=0&&(e[1]=0),HSVtoRGB(e[0],e[1],e[2])}function addBrightnessToRGB(A,t){var e=RGBtoHSV(255*A[0],255*A[1],255*A[2]);return e[2]+=t,e[2]>1?e[2]=1:e[2]<0&&(e[2]=0),HSVtoRGB(e[0],e[1],e[2])}function addHueToRGB(A,t){var e=RGBtoHSV(255*A[0],255*A[1],255*A[2]);return e[0]+=t/360,e[0]>1?e[0]-=1:e[0]<0&&(e[0]+=1),HSVtoRGB(e[0],e[1],e[2])}var rgbToHex=function(){var A,t,e=[];for(A=0;A<256;A+=1)t=A.toString(16),e[A]=1===t.length?"0"+t:t;return function(A,t,i){return A<0&&(A=0),t<0&&(t=0),i<0&&(i=0),"#"+e[A]+e[t]+e[i]}}(),setSubframeEnabled=function(A){subframeEnabled=!!A},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(A){expressionsPlugin=A},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(A){expressionsInterfaces=A},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(A){defaultCurveSegments=A},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(A){idPrefix$1=A},getIdPrefix=function(){return idPrefix$1};function createNS(A){return document.createElementNS(svgNS,A)}function _typeof$5(A){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"===typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},_typeof$5(A)}var dataManager=function(){var A,t,e=1,i=[],r={onmessage:function(){},postMessage:function(t){A({data:t})}},n={postMessage:function(A){r.onmessage({data:A})}};function a(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var e=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),i=URL.createObjectURL(e);return new Worker(i)}return A=t,r}((function(A){if(n.dataManager||(n.dataManager=function(){function A(r,n){var a,s,o,l,c,u,f=r.length;for(s=0;s=0;t-=1)if("sh"===A[t].ty)if(A[t].ks.k.i)i(A[t].ks.k);else for(n=A[t].ks.k.length,r=0;re[0]||!(e[0]>A[0])&&(A[1]>e[1]||!(e[1]>A[1])&&(A[2]>e[2]||!(e[2]>A[2])&&null))}var n=function(){var A=[4,4,14];function t(A){var t=A.t.d;A.t.d={k:[{s:t,t:0}]}}function e(A){var e,i=A.length;for(e=0;e=0;e-=1)if("sh"===A[e].ty)if(A[e].ks.k.i)A[e].ks.k.c=A[e].closed;else for(r=A[e].ks.k.length,i=0;i500)&&(this._imageLoaded(),clearInterval(e)),t+=1}.bind(this),50)}function n(A){var t={assetData:A},e=i(A,this.assetsPath,this.path);return dataManager.loadData(e,function(A){t.img=A,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=e.bind(this),this.testImageLoaded=r.bind(this),this.createFootageData=n.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(A,t){var e;this.imagesLoadedCb=t;var i=A.length;for(e=0;ethis.animationData.op&&(this.animationData.op=A.op,this.totalFrames=Math.floor(A.op-this.animationData.ip));var t,e,i=this.animationData.layers,r=i.length,n=A.layers,a=n.length;for(e=0;ethis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(A){this.triggerRenderFrameError(A)}},AnimationItem.prototype.play=function(A){A&&this.name!==A||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(A){A&&this.name!==A||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(A){A&&this.name!==A||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(A){A&&this.name!==A||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(A){for(var t,e=0;e=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(e=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(e=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),e&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(A,t){this.playCount=0,A[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=A[0]-A[1],this.timeCompleted=this.totalFrames,this.firstFrame=A[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):A[1]>A[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=A[1]-A[0],this.timeCompleted=this.totalFrames,this.firstFrame=A[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(A,t){var e=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(e=t-A)),this.firstFrame=A,this.totalFrames=t-A,this.timeCompleted=this.totalFrames,-1!==e&&this.goToAndStop(e,!0)},AnimationItem.prototype.playSegments=function(A,t){if(t&&(this.segments.length=0),"object"===_typeof$4(A[0])){var e,i=A.length;for(e=0;e=0;e-=1)t[e].animation.destroy(A)},A.freeze=function(){a=!0},A.unfreeze=function(){a=!1,g()},A.setVolume=function(A,e){var r;for(r=0;r=.001?function(A,t,e,i){for(var r=0;r<4;++r){var n=l(t,e,i);if(0===n)return t;t-=(o(t,e,i)-A)/n}return t}(A,c,t,r):0===u?c:function(A,t,e,i,r){var n,a,s=0;do{(n=o(a=t+(e-t)/2,i,r)-A)>0?e=a:t=a}while(Math.abs(n)>1e-7&&++s<10);return a}(A,a,a+i,t,r)}},A}(),pooling={double:function(A){return A.concat(createSizedArray(A.length))}},poolFactory=function(A,t,e){var i=0,r=A,n=createSizedArray(r);return{newElement:function(){return i?n[i-=1]:t()},release:function(A){i===r&&(n=pooling.double(n),r*=2),e&&e(A),n[i]=A,i+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(A){var t,e=A.lengths.length;for(t=0;t-.001&&a<.001}var e=function(A,t,e,i){var r,n,a,s,o,l,h=getDefaultCurveSegments(),c=0,u=[],f=[],g=bezierLengthPool.newElement();for(a=e.length,r=0;ra?-1:1,l=!0;l;)if(i[n]<=a&&i[n+1]>a?(s=(a-i[n])/(i[n+1]-i[n]),l=!1):n+=o,n<0||n>=r-1){if(n===r-1)return e[n];l=!1}return e[n]+(e[n+1]-e[n])*s}var s=createTypedArray("float32",8);return{getSegmentsLength:function(A){var t,i=segmentsLengthPool.newElement(),r=A.c,n=A.v,a=A.o,s=A.i,o=A._length,l=i.lengths,h=0;for(t=0;t1&&(n=1);var h,c=a(n,l),u=a(o=o>1?1:o,l),f=t.length,g=1-c,d=1-u,p=g*g*g,E=c*g*g*3,m=c*c*g*3,C=c*c*c,I=g*g*d,v=c*g*d+g*c*d+g*g*u,w=c*c*d+g*c*u+c*g*u,B=c*c*u,y=g*d*d,F=c*d*d+g*u*d+g*d*u,x=c*u*d+g*u*u+c*d*u,Q=c*u*u,R=d*d*d,D=u*d*d+d*u*d+d*d*u,b=u*u*d+d*u*u+u*d*u,L=u*u*u;for(h=0;hf?u>g?u-f-g:g-f-u:g>f?g-f-u:f-u-g)>-1e-4&&c<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(A,t){var e,i=this.offsetTime;"multidimensional"===this.propType&&(e=createTypedArray("float32",this.pv.length));for(var r,n,a,s,o,l,h,c,u,f=t.lastIndex,g=f,d=this.keyframes.length-1,p=!0;p;){if(r=this.keyframes[g],n=this.keyframes[g+1],g===d-1&&A>=n.t-i){r.h&&(r=n),f=0;break}if(n.t-i>A){f=g;break}g=m||A=m?I.points.length-1:0;for(o=I.points[v].point.length,s=0;s=y&&B=m?(e[0]=E[0],e[1]=E[1],e[2]=E[2]):A<=C?(e[0]=r.s[0],e[1]=r.s[1],e[2]=r.s[2]):quaternionToEuler(e,slerp(createQuaternion(r.s),createQuaternion(E),(A-C)/(m-C)));else for(g=0;g=m?l=1:A1e-6?(i=Math.acos(r),n=Math.sin(i),a=Math.sin((1-e)*i)/n,s=Math.sin(e*i)/n):(a=1-e,s=e),o[0]=a*l+s*f,o[1]=a*h+s*g,o[2]=a*c+s*d,o[3]=a*u+s*p,o}function quaternionToEuler(A,t){var e=t[0],i=t[1],r=t[2],n=t[3],a=Math.atan2(2*i*n-2*e*r,1-2*i*i-2*r*r),s=Math.asin(2*e*i+2*r*n),o=Math.atan2(2*e*n-2*i*r,1-2*e*e-2*r*r);A[0]=a/degToRads,A[1]=s/degToRads,A[2]=o/degToRads}function createQuaternion(A){var t=A[0]*degToRads,e=A[1]*degToRads,i=A[2]*degToRads,r=Math.cos(t/2),n=Math.cos(e/2),a=Math.cos(i/2),s=Math.sin(t/2),o=Math.sin(e/2),l=Math.sin(i/2);return[s*o*a+r*n*l,s*n*a+r*o*l,r*o*a-s*n*l,r*n*a-s*o*l]}function getValueAtCurrentTime(){var A=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,e=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(A===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=e&&A>=e||this._caching.lastFrame=A&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(A,this._caching);this.pv=i}return this._caching.lastFrame=A,this.pv}function setVValue(A){var t;if("unidimensional"===this.propType)t=A*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var e=0,i=this.v.length;e1e-5&&(this.v[e]=t,this._mdf=!0),e+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var A;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,e=this.kf?this.pv:this.data.k;for(A=0;A=this._maxLength&&this.doubleArrayLength(),e){case"v":n=this.v;break;case"i":n=this.i;break;case"o":n=this.o;break;default:n=[]}(!n[i]||n[i]&&!r)&&(n[i]=pointPool.newElement()),n[i][0]=A,n[i][1]=t},ShapePath.prototype.setTripleAt=function(A,t,e,i,r,n,a,s){this.setXYAt(A,t,"v",a,s),this.setXYAt(e,i,"o",a,s),this.setXYAt(r,n,"i",a,s)},ShapePath.prototype.reverse=function(){var A=new ShapePath;A.setPathData(this.c,this._length);var t=this.v,e=this.o,i=this.i,r=0;this.c&&(A.setTripleAt(t[0][0],t[0][1],i[0][0],i[0][1],e[0][0],e[0][1],0,!1),r=1);var n,a=this._length-1,s=this._length;for(n=r;n=f[f.length-1].t-this.offsetTime)i=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],n=!0;else{for(var g,d,p,E=u,m=f.length-1,C=!0;C&&(g=f[E],!((d=f[E+1]).t-this.offsetTime>A));)E=d.t-this.offsetTime)h=1;else if(Ai&&t>i)||(this._caching.lastIndex=r0||A>-1e-6&&A<0?i(1e4*A)/1e4:A}function M(){var A=this.props;return"matrix("+Y(A[0])+","+Y(A[1])+","+Y(A[4])+","+Y(A[5])+","+Y(A[12])+","+Y(A[13])+")"}return function(){this.reset=r,this.rotate=n,this.rotateX=a,this.rotateY=s,this.rotateZ=o,this.skew=h,this.skewFromAxis=c,this.shear=l,this.scale=u,this.setTransform=f,this.translate=g,this.transform=d,this.multiply=p,this.applyToPoint=v,this.applyToX=w,this.applyToY=B,this.applyToZ=y,this.applyToPointArray=D,this.applyToTriplePoints=R,this.applyToPointStringified=b,this.toCSS=L,this.to2dCSS=M,this.clone=C,this.cloneFromProps=I,this.equals=m,this.inversePoints=Q,this.inversePoint=x,this.getInverseMatrix=F,this._t=this.transform,this.isIdentity=E,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(A){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"===typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},_typeof$3(A)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(A){setLocationHref(A)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(A){setSubframeEnabled(A)}function setPrefix(A){setIdPrefix(A)}function loadAnimation(A){return!0===standalone&&(A.animationData=JSON.parse(animationData)),animationManager.loadAnimation(A)}function setQuality(A){if("string"===typeof A)switch(A){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(A)&&A>1&&setDefaultCurveSegments(A);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(A,t){"expressions"===A&&setExpressionsPlugin(t)}function getFactory(A){switch(A){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(A){for(var t=queryString.split("&"),e=0;e=1?n.push({s:A-1,e:t-1}):(n.push({s:A,e:1}),n.push({s:0,e:t-1}));var a,s,o=[],l=n.length;for(a=0;ai+e||(h=s.s*r<=i?0:(s.s*r-i)/e,c=s.e*r>=i+e?1:(s.e*r-i)/e,o.push([h,c]))}return o.length||o.push([0,0]),o},TrimModifier.prototype.releasePathsData=function(A){var t,e=A.length;for(t=0;t1?1+n:this.s.v<0?0+n:this.s.v+n)>(e=this.e.v>1?1+n:this.e.v<0?0+n:this.e.v+n)){var a=t;t=e,e=a}t=1e-4*Math.round(1e4*t),e=1e-4*Math.round(1e4*e),this.sValue=t,this.eValue=e}else t=this.sValue,e=this.eValue;var s,o,l,h,c,u=this.shapes.length,f=0;if(e===t)for(r=0;r=0;r-=1)if((g=this.shapes[r]).shape._mdf){for((d=g.localShapeCollection).releaseShapes(),2===this.m&&u>1?(E=this.calculateShapeEdges(t,e,g.totalShapeLength,I,f),I+=g.totalShapeLength):E=[[m,C]],o=E.length,s=0;s=1?p.push({s:g.totalShapeLength*(m-1),e:g.totalShapeLength*(C-1)}):(p.push({s:g.totalShapeLength*m,e:g.totalShapeLength}),p.push({s:0,e:g.totalShapeLength*(C-1)}));var v=this.addShapes(g,p[0]);if(p[0].s!==p[0].e){if(p.length>1)if(g.shape.paths.shapes[g.shape.paths._length-1].c){var w=v.pop();this.addPaths(v,d),v=this.addShapes(g,p[1],w)}else this.addPaths(v,d),v=this.addShapes(g,p[1]);this.addPaths(v,d)}}g.shape.paths=d}}},TrimModifier.prototype.addPaths=function(A,t){var e,i=A.length;for(e=0;et.e){e.c=!1;break}t.s<=g&&t.e>=g+a.addedLength?(this.addSegment(u[i].v[r-1],u[i].o[r-1],u[i].i[r],u[i].v[r],e,s,p),p=!1):(l=bez.getNewSegment(u[i].v[r-1],u[i].v[r],u[i].o[r-1],u[i].i[r],(t.s-g)/a.addedLength,(t.e-g)/a.addedLength,o[r-1]),this.addSegmentFromArray(l,e,s,p),p=!1,e.c=!1),g+=a.addedLength,s+=1}if(u[i].c&&o.length){if(a=o[r-1],g<=t.e){var E=o[r-1].addedLength;t.s<=g&&t.e>=g+E?(this.addSegment(u[i].v[r-1],u[i].o[r-1],u[i].i[0],u[i].v[0],e,s,p),p=!1):(l=bez.getNewSegment(u[i].v[r-1],u[i].v[0],u[i].o[r-1],u[i].i[0],(t.s-g)/E,(t.e-g)/E,o[r-1]),this.addSegmentFromArray(l,e,s,p),p=!1,e.c=!1)}else e.c=!1;g+=a.addedLength,s+=1}if(e._length&&(e.setXYAt(e.v[h][0],e.v[h][1],"i",h),e.setXYAt(e.v[e._length-1][0],e.v[e._length-1][1],"o",e._length-1)),g>t.e)break;i=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/e,0),r=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/e,0)):(i=this.p.pv,r=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/e,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){i=[],r=[];var n=this.px,a=this.py;n._caching.lastFrame+n.offsetTime<=n.keyframes[0].t?(i[0]=n.getValueAtTime((n.keyframes[0].t+.01)/e,0),i[1]=a.getValueAtTime((a.keyframes[0].t+.01)/e,0),r[0]=n.getValueAtTime(n.keyframes[0].t/e,0),r[1]=a.getValueAtTime(a.keyframes[0].t/e,0)):n._caching.lastFrame+n.offsetTime>=n.keyframes[n.keyframes.length-1].t?(i[0]=n.getValueAtTime(n.keyframes[n.keyframes.length-1].t/e,0),i[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/e,0),r[0]=n.getValueAtTime((n.keyframes[n.keyframes.length-1].t-.01)/e,0),r[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/e,0)):(i=[n.pv,a.pv],r[0]=n.getValueAtTime((n._caching.lastFrame+n.offsetTime-.01)/e,n.offsetTime),r[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/e,a.offsetTime))}else i=r=A;this.v.rotate(-Math.atan2(i[1]-r[1],i[0]-r[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&&(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;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(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(A){this._addDynamicProperty(A),this.elem.addDynamicProperty(A),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(A,e,i){return new t(A,e,i)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(A,t){return 1e5*Math.abs(A-t)<=Math.min(Math.abs(A),Math.abs(t))}function floatZero(A){return Math.abs(A)<=1e-5}function lerp(A,t,e){return A*(1-e)+t*e}function lerpPoint(A,t,e){return[lerp(A[0],t[0],e),lerp(A[1],t[1],e)]}function quadRoots(A,t,e){if(0===A)return[];var i=t*t-4*A*e;if(i<0)return[];var r=-t/(2*A);if(0===i)return[r];var n=Math.sqrt(i)/(2*A);return[r-n,r+n]}function polynomialCoefficients(A,t,e,i){return[3*t-A-3*e+i,3*A-6*t+3*e,-3*A+3*t,A]}function singlePoint(A){return new PolynomialBezier(A,A,A,A,!1)}function PolynomialBezier(A,t,e,i,r){r&&pointEqual(A,t)&&(t=lerpPoint(A,i,1/3)),r&&pointEqual(e,i)&&(e=lerpPoint(A,i,2/3));var n=polynomialCoefficients(A[0],t[0],e[0],i[0]),a=polynomialCoefficients(A[1],t[1],e[1],i[1]);this.a=[n[0],a[0]],this.b=[n[1],a[1]],this.c=[n[2],a[2]],this.d=[n[3],a[3]],this.points=[A,t,e,i]}function extrema(A,t){var e=A.points[0][t],i=A.points[A.points.length-1][t];if(e>i){var r=i;i=e,e=r}for(var n=quadRoots(3*A.a[t],2*A.b[t],A.c[t]),a=0;a0&&n[a]<1){var s=A.point(n[a])[t];si&&(i=s)}return{min:e,max:i}}function intersectData(A,t,e){var i=A.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.height,bez:A,t:(t+e)/2,t1:t,t2:e}}function splitData(A){var t=A.bez.split(.5);return[intersectData(t[0],A.t1,A.t),intersectData(t[1],A.t,A.t2)]}function boxIntersect(A,t){return 2*Math.abs(A.cx-t.cx)=n||A.width<=i&&A.height<=i&&t.width<=i&&t.height<=i)r.push([A.t,t.t]);else{var a=splitData(A),s=splitData(t);intersectsImpl(a[0],s[0],e+1,i,r,n),intersectsImpl(a[0],s[1],e+1,i,r,n),intersectsImpl(a[1],s[0],e+1,i,r,n),intersectsImpl(a[1],s[1],e+1,i,r,n)}}function crossProduct(A,t){return[A[1]*t[2]-A[2]*t[1],A[2]*t[0]-A[0]*t[2],A[0]*t[1]-A[1]*t[0]]}function lineIntersection(A,t,e,i){var r=[A[0],A[1],1],n=[t[0],t[1],1],a=[e[0],e[1],1],s=[i[0],i[1],1],o=crossProduct(crossProduct(r,n),crossProduct(a,s));return floatZero(o[2])?null:[o[0]/o[2],o[1]/o[2]]}function polarOffset(A,t,e){return[A[0]+Math.cos(t)*e,A[1]-Math.sin(t)*e]}function pointDistance(A,t){return Math.hypot(A[0]-t[0],A[1]-t[1])}function pointEqual(A,t){return floatEqual(A[0],t[0])&&floatEqual(A[1],t[1])}function ZigZagModifier(){}function setPoint(A,t,e,i,r,n,a){var s=e-Math.PI/2,o=e+Math.PI/2,l=t[0]+Math.cos(e)*i*r,h=t[1]-Math.sin(e)*i*r;A.setTripleAt(l,h,l+Math.cos(s)*n,h-Math.sin(s)*n,l+Math.cos(o)*a,h-Math.sin(o)*a,A.length())}function getPerpendicularVector(A,t){var e=[t[0]-A[0],t[1]-A[1]],i=.5*-Math.PI;return[Math.cos(i)*e[0]-Math.sin(i)*e[1],Math.sin(i)*e[0]+Math.cos(i)*e[1]]}function getProjectingAngle(A,t){var e=0===t?A.length()-1:t-1,i=(t+1)%A.length(),r=getPerpendicularVector(A.v[e],A.v[i]);return Math.atan2(0,1)-Math.atan2(r[1],r[0])}function zigZagCorner(A,t,e,i,r,n,a){var s=getProjectingAngle(t,e),o=t.v[e%t._length],l=t.v[0===e?t._length-1:e-1],h=t.v[(e+1)%t._length],c=2===n?Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)):0,u=2===n?Math.sqrt(Math.pow(o[0]-h[0],2)+Math.pow(o[1]-h[1],2)):0;setPoint(A,t.v[e%t._length],s,a,i,u/(2*(r+1)),c/(2*(r+1)),n)}function zigZagSegment(A,t,e,i,r,n){for(var a=0;a1&&t.length>1&&(r=getIntersection(A[0],t[t.length-1]))?[[A[0].split(r[0])[0]],[t[t.length-1].split(r[1])[1]]]:[e,i]}function pruneIntersections(A){for(var t,e=1;e1&&(t=pruneSegmentIntersection(A[A.length-1],A[0]),A[A.length-1]=t[0],A[0]=t[1]),A}function offsetSegmentSplit(A,t){var e,i,r,n,a=A.inflectionPoints();if(0===a.length)return[offsetSegment(A,t)];if(1===a.length||floatEqual(a[1],1))return e=(r=A.split(a[0]))[0],i=r[1],[offsetSegment(e,t),offsetSegment(i,t)];e=(r=A.split(a[0]))[0];var s=(a[1]-a[0])/(1-a[0]);return n=(r=r[1].split(s))[0],i=r[1],[offsetSegment(e,t),offsetSegment(n,t),offsetSegment(i,t)]}function OffsetPathModifier(){}function getFontProperties(A){for(var t=A.fStyle?A.fStyle.split(" "):[],e="normal",i="normal",r=t.length,n=0;n0;)e-=1,this._elements.unshift(t[e]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(A){var t,e=A.length;for(t=0;t0?Math.floor(u):Math.ceil(u),d=this.pMatrix.props,p=this.rMatrix.props,E=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,C,I=0;if(u>0){for(;Ig;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),I-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),I-=f)}for(i=1===this.data.m?0:this._currentCopies-1,r=1===this.data.m?1:-1,n=this._currentCopies;n;){if(C=(e=(t=this.elemsData[i].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),0!==I){for((0!==i&&1===r||i!==this._currentCopies-1&&-1===r)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),this.matrix.transform(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]),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),m=0;m0&&i<1?[t]:[]:[t-i,t+i].filter((function(A){return A>0&&A<1}))},PolynomialBezier.prototype.split=function(A){if(A<=0)return[singlePoint(this.points[0]),this];if(A>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],A),e=lerpPoint(this.points[1],this.points[2],A),i=lerpPoint(this.points[2],this.points[3],A),r=lerpPoint(t,e,A),n=lerpPoint(e,i,A),a=lerpPoint(r,n,A);return[new PolynomialBezier(this.points[0],t,r,a,!0),new PolynomialBezier(a,n,i,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var A=this.bounds();return{left:A.x.min,right:A.x.max,top:A.y.min,bottom:A.y.max,width:A.x.max-A.x.min,height:A.y.max-A.y.min,cx:(A.x.max+A.x.min)/2,cy:(A.y.max+A.y.min)/2}},PolynomialBezier.prototype.intersections=function(A,t,e){void 0===t&&(t=2),void 0===e&&(e=7);var i=[];return intersectsImpl(intersectData(this,0,1),intersectData(A,0,1),0,t,i,e),i},PolynomialBezier.shapeSegment=function(A,t){var e=(t+1)%A.length();return new PolynomialBezier(A.v[t],A.o[t],A.i[e],A.v[e],!0)},PolynomialBezier.shapeSegmentInverted=function(A,t){var e=(t+1)%A.length();return new PolynomialBezier(A.v[e],A.i[e],A.o[t],A.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(A,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(A,t.s,0,null,this),this.frequency=PropertyFactory.getProp(A,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(A,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(A,t,e,i){var r=A._length,n=shapePool.newElement();if(n.c=A.c,A.c||(r-=1),0===r)return n;var a=-1,s=PolynomialBezier.shapeSegment(A,0);zigZagCorner(n,A,0,t,e,i,a);for(var o=0;o=0;n-=1)s=PolynomialBezier.shapeSegmentInverted(A,n),l.push(offsetSegmentSplit(s,t));l=pruneIntersections(l);var h=null,c=null;for(n=0;n=55296&&e<=56319){var i=A.charCodeAt(1);i>=56320&&i<=57343&&(t=1024*(e-55296)+i-56320+65536)}return t}function l(A){var t=o(A);return t>=i&&t<=r}var h=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)};h.isModifier=function(A,t){var e=A.toString(16)+t.toString(16);return-1!==n.indexOf(e)},h.isZeroWidthJoiner=function(A){return 8205===A},h.isFlagEmoji=function(A){return l(A.substr(0,2))&&l(A.substr(2,2))},h.isRegionalCode=l,h.isCombinedCharacter=function(A){return-1!==t.indexOf(A)},h.isRegionalFlag=function(A,t){var i=o(A.substr(t,2));if(i!==e)return!1;var r=0;for(t+=2;r<5;){if((i=o(A.substr(t,2)))<917601||i>917626)return!1;r+=1,t+=2}return 917631===o(A.substr(t,2))},h.isVariationSelector=function(A){return 65039===A},h.BLACK_FLAG_CODE_POINT=e;var c={addChars:function(A){if(A){var t;this.chars||(this.chars=[]);var e,i,r=A.length,n=this.chars.length;for(t=0;t0&&(h=!1),h){var c=createTag("style");c.setAttribute("f-forigin",i[e].fOrigin),c.setAttribute("f-origin",i[e].origin),c.setAttribute("f-family",i[e].fFamily),c.type="text/css",c.innerText="@font-face {font-family: "+i[e].fFamily+"; font-style: normal; src: url('"+i[e].fPath+"');}",t.appendChild(c)}}else if("g"===i[e].fOrigin||1===i[e].origin){for(o=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),l=0;lA?!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 A,t=this.renderableComponents.length;for(A=0;A.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(A){this.audio.rate(A)},AudioElement.prototype.volume=function(A){this._volumeMultiplier=A,this._previousVolume=A*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(A){var t,e,i=this.layers.length;for(this.completeLayers=!0,t=i-1;t>=0;t-=1)this.elements[t]||(e=this.layers[t]).ip-e.st<=A-this.layers[t].st&&e.op-e.st>A-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(A){switch(A.ty){case 2:return this.createImage(A);case 0:return this.createComp(A);case 1:return this.createSolid(A);case 3:default:return this.createNull(A);case 4:return this.createShape(A);case 5:return this.createText(A);case 6:return this.createAudio(A);case 13:return this.createCamera(A);case 15:return this.createFootage(A)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(A){return new AudioElement(A,this.globalData,this)},BaseRenderer.prototype.createFootage=function(A){return new FootageElement(A,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var A,t=this.layers.length;for(A=0;A0&&(this.maskElement.setAttribute("id",p),this.element.maskedElement.setAttribute(m,"url("+getLocationHref()+"#"+p+")"),n.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var A=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:A,localMat:A,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 A,t=this.finalTransform.mat,e=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;e1&&(n+=" C"+t.o[i-1][0]+","+t.o[i-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),e.lastPath!==n){var a="";e.elem&&(t.c&&(a=A.inv?this.solidPath+n:n),e.elem.setAttribute("d",a)),e.lastPath=n}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var A={createFilter:function(A,t){var e=createNS("filter");return e.setAttribute("id",A),!0!==t&&(e.setAttribute("filterUnits","objectBoundingBox"),e.setAttribute("x","0%"),e.setAttribute("y","0%"),e.setAttribute("width","100%"),e.setAttribute("height","100%")),e},createAlphaToLuminanceFilter:function(){var A=createNS("feColorMatrix");return A.setAttribute("type","matrix"),A.setAttribute("color-interpolation-filters","sRGB"),A.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),A}};return A}(),featureSupport=function(){var A={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(A.maskType=!1),/firefox/i.test(navigator.userAgent)&&(A.svgLumaHidden=!1),A}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(A){var t,e,i="SourceGraphic",r=A.data.ef?A.data.ef.length:0,n=createElementID(),a=filtersFactory.createFilter(n,!0),s=0;for(this.filters=[],t=0;t=0&&!this.shapeModifiers[A].processShapes(this._isFirstFrame);A-=1);}},searchProcessedElement:function(A){for(var t=this.processedElements,e=0,i=t.length;e.01)return!1;e+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var A=0,t=this.data.k.k.length;A0;)o=i.transformers[g].mProps._mdf||o,f-=1,g-=1;if(o)for(f=p-i.styles[h].lvl,g=i.transformers.length-1;f>0;)u.multiply(i.transformers[g].mProps.v),f-=1,g-=1}else u=A;if(a=(c=i.sh.paths)._length,o){for(s="",n=0;n=1?m=.99:m<=-1&&(m=-.99);var C=s*m,I=Math.cos(E+t.a.v)*C+h[0],v=Math.sin(E+t.a.v)*C+h[1];o.setAttribute("fx",I),o.setAttribute("fy",v),l&&!t.g._collapsable&&(t.of.setAttribute("fx",I),t.of.setAttribute("fy",v))}}function o(A,t,e){var i=t.style,r=t.d;r&&(r._mdf||e)&&r.dashStr&&(i.pElem.setAttribute("stroke-dasharray",r.dashStr),i.pElem.setAttribute("stroke-dashoffset",r.dashoffset[0])),t.c&&(t.c._mdf||e)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||e)&&i.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||e)&&(i.pElem.setAttribute("stroke-width",t.w.v),i.msElem&&i.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(A){switch(A.ty){case"fl":return n;case"gf":return s;case"gs":return a;case"st":return o;case"sh":case"el":case"rc":case"sr":return r;case"tr":return e;case"no":return i;default:return null}}}}();function SVGShapeElement(A,t,e){this.shapes=[],this.shapesData=A.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(A,t,e),this.prevViewData=[]}function LetterProps(A,t,e,i,r,n){this.o=A,this.sw=t,this.sc=e,this.fc=i,this.m=r,this.p=n,this._mdf={o:!0,sw:!!t,sc:!!e,fc:!!i,m:!0,p:!0}}function TextProperty(A,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=A.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=A,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)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var A,t,e,i,r=this.shapes.length,n=this.stylesList.length,a=[],s=!1;for(e=0;e1&&s&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(A){var t,e=A.length;for(t=0;t=0;s-=1){if((u=this.searchProcessedElement(A[s]))?t[s]=e[u-1]:A[s]._render=a,"fl"===A[s].ty||"st"===A[s].ty||"gf"===A[s].ty||"gs"===A[s].ty||"no"===A[s].ty)u?t[s].style.closed=!1:t[s]=this.createStyleElement(A[s],r),A[s]._render&&t[s].style.pElem.parentNode!==i&&i.appendChild(t[s].style.pElem),d.push(t[s].style);else if("gr"===A[s].ty){if(u)for(l=t[s].it.length,o=0;o1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(A){this.effectsSequence.push(A),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(A){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||A){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,e=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var i;this.lock=!0,this._mdf=!1;var r=this.effectsSequence.length,n=A||this.data.d.k[this.keysIndex].s;for(i=0;it);)e+=1;return this.keysIndex!==e&&(this.keysIndex=e),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(A){for(var t,e,i=[],r=0,n=A.length,a=!1,s=!1,o="";r=55296&&t<=56319?FontManager.isRegionalFlag(A,r)?o=A.substr(r,14):(e=A.charCodeAt(r+1))>=56320&&e<=57343&&(FontManager.isModifier(t,e)?(o=A.substr(r,2),a=!0):o=FontManager.isFlagEmoji(A.substr(r,4))?A.substr(r,4):A.substr(r,2)):t>56319?(e=A.charCodeAt(r+1),FontManager.isVariationSelector(t)&&(a=!0)):FontManager.isZeroWidthJoiner(t)&&(a=!0,s=!0),a?(i[i.length-1]+=o,a=!1):i.push(o),r+=o.length;return i},TextProperty.prototype.completeTextData=function(A){A.__complete=!0;var t,e,i,r,n,a,s,o=this.elem.globalData.fontManager,l=this.data,h=[],c=0,u=l.m.g,f=0,g=0,d=0,p=[],E=0,m=0,C=o.getFontByName(A.f),I=0,v=getFontProperties(C);A.fWeight=v.weight,A.fStyle=v.style,A.finalSize=A.s,A.finalText=this.buildFinalText(A.t),e=A.finalText.length,A.finalLineHeight=A.lh;var w,B=A.tr/1e3*A.finalSize;if(A.sz)for(var y,F,x=!0,Q=A.sz[0],R=A.sz[1];x;){y=0,E=0,e=(F=this.buildFinalText(A.t)).length,B=A.tr/1e3*A.finalSize;var D=-1;for(t=0;tQ&&" "!==F[t]?(-1===D?e+=1:t=D,y+=A.finalLineHeight||1.2*A.finalSize,F.splice(t,D===t?1:0,"\r"),D=-1,E=0):(E+=I,E+=B);y+=C.ascent*A.finalSize/100,this.canResize&&A.finalSize>this.minimumFontSize&&Rm?E:m,E=-2*B,r="",i=!0,d+=1):r=b,o.chars?(s=o.getCharData(b,C.fStyle,o.getFontByName(A.f).fFamily),I=i?0:s.w*A.finalSize/100):I=o.measureText(r,A.f,A.finalSize)," "===b?L+=I+B:(E+=I+B+L,L=0),h.push({l:I,an:I,add:f,n:i,anIndexes:[],val:r,line:d,animatorJustifyOffset:0}),2==u){if(f+=I,""===r||" "===r||t===e-1){for(""!==r&&" "!==r||(f-=I);g<=t;)h[g].an=f,h[g].ind=c,h[g].extra=I,g+=1;c+=1,f=0}}else if(3==u){if(f+=I,""===r||t===e-1){for(""===r&&(f-=I);g<=t;)h[g].an=f,h[g].ind=c,h[g].extra=I,g+=1;f=0,c+=1}}else h[c].ind=c,h[c].extra=0,c+=1;if(A.l=h,m=E>m?E:m,p.push(E),A.sz)A.boxWidth=A.sz[0],A.justifyOffset=0;else switch(A.boxWidth=m,A.j){case 1:A.justifyOffset=-A.boxWidth;break;case 2:A.justifyOffset=-A.boxWidth/2;break;default:A.justifyOffset=0}A.lineWidths=p;var Y,M,G,P,X=l.a;a=X.length;var O=[];for(n=0;n0?r=this.ne.v/100:n=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:s=1+this.xe.v/100;var o=BezierFactory.getBezierEasing(r,n,a,s).get,l=0,h=this.finalS,c=this.finalE,u=this.data.sh;if(2===u)l=o(l=c===h?i>=c?1:0:A(0,t(.5/(c-h)+(i-h)/(c-h),1)));else if(3===u)l=o(l=c===h?i>=c?0:1:1-A(0,t(.5/(c-h)+(i-h)/(c-h),1)));else if(4===u)c===h?l=0:(l=A(0,t(.5/(c-h)+(i-h)/(c-h),1)))<.5?l*=2:l=1-2*(l-.5),l=o(l);else if(5===u){if(c===h)l=0;else{var f=c-h,g=-f/2+(i=t(A(0,i+.5-h),c-h)),d=f/2;l=Math.sqrt(1-g*g/(d*d))}l=o(l)}else 6===u?(c===h?l=0:(i=t(A(0,i+.5-h),c-h),l=(1+Math.cos(Math.PI+2*Math.PI*i/(c-h)))/2),l=o(l)):(i>=e(h)&&(l=A(0,t(i-h<0?t(c,1)-(h-i):c-i,1))),l=o(l));if(100!==this.sm.v){var p=.01*this.sm.v;0===p&&(p=1e-8);var E=.5-.5*p;l1&&(l=1)}return l*this.a.v},getValue:function(A){this.iterateDynamicProperties(),this._mdf=A||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,A&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,e=this.o.v/t,i=this.s.v/t+e,r=this.e.v/t+e;if(i>r){var n=i;i=r,r=n}this.finalS=i,this.finalE=r}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(A,t,e){return new i(A,t,e)}}}();function TextAnimatorDataProperty(A,t,e){var i={propType:!1},r=PropertyFactory.getProp,n=t.a;this.a={r:n.r?r(A,n.r,0,degToRads,e):i,rx:n.rx?r(A,n.rx,0,degToRads,e):i,ry:n.ry?r(A,n.ry,0,degToRads,e):i,sk:n.sk?r(A,n.sk,0,degToRads,e):i,sa:n.sa?r(A,n.sa,0,degToRads,e):i,s:n.s?r(A,n.s,1,.01,e):i,a:n.a?r(A,n.a,1,0,e):i,o:n.o?r(A,n.o,0,.01,e):i,p:n.p?r(A,n.p,1,0,e):i,sw:n.sw?r(A,n.sw,0,0,e):i,sc:n.sc?r(A,n.sc,1,0,e):i,fc:n.fc?r(A,n.fc,1,0,e):i,fh:n.fh?r(A,n.fh,0,0,e):i,fs:n.fs?r(A,n.fs,0,.01,e):i,fb:n.fb?r(A,n.fb,0,.01,e):i,t:n.t?r(A,n.t,0,0,e):i},this.s=TextSelectorProp.getTextSelectorProp(A,t.s,e),this.s.t=t.s.t}function TextAnimatorProperty(A,t,e){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=A,this._renderType=t,this._elem=e,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(e)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var A,t,e=this._textData.a.length,i=PropertyFactory.getProp;for(A=0;A=s+sA||!g?(m=(s+sA-l)/o.partialLength,S=f.point[0]+(o.point[0]-f.point[0])*m,W=f.point[1]+(o.point[1]-f.point[1])*m,y.translate(-v[0]*Q[r].an*.005,-v[1]*P*.01),h=!1):g&&(l+=o.partialLength,(c+=1)>=g.length&&(c=0,d[u+=1]?g=d[u].points:I.v.c?(c=0,g=d[u=0].points):(l-=o.partialLength,g=null)),g&&(f=o,p=(o=g[c]).partialLength));O=Q[r].an/2-Q[r].add,y.translate(-O,0,0)}else O=Q[r].an/2-Q[r].add,y.translate(-O,0,0),y.translate(-v[0]*Q[r].an*.005,-v[1]*P*.01,0);for(L=0;LA?this.textSpans[A].span:createNS(o?"g":"text"),p<=A){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[A].span=a,o){var E=createNS("g");a.appendChild(E),this.textSpans[A].childSpan=E}this.textSpans[A].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(l.reset(),h&&(s[A].n&&(c=-g,u+=e.yOffset,u+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(e,l,s[A].line,c,u),c+=s[A].l||0,c+=g),o){var m;if(1===(d=this.globalData.fontManager.getCharData(e.finalText[A],i.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily)).t)m=new SVGCompElement(d.data,this.globalData,this);else{var C=emptyShapeData;d.data&&d.data.shapes&&(C=this.buildShapeData(d.data,e.finalSize)),m=new SVGShapeElement(C,this.globalData,this)}if(this.textSpans[A].glyph){var I=this.textSpans[A].glyph;this.textSpans[A].childSpan.removeChild(I.layerElement),I.destroy()}this.textSpans[A].glyph=m,m._debug=!0,m.prepareFrame(0),m.renderFrame(),this.textSpans[A].childSpan.appendChild(m.layerElement),1===d.t&&this.textSpans[A].childSpan.setAttribute("transform","scale("+e.finalSize/100+","+e.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+l.props[12]+","+l.props[13]+")"),a.textContent=s[A].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d","")}else{var v=this.textContainer,w="start";switch(e.j){case 1:w="end";break;case 2:w="middle";break;default:w="start"}v.setAttribute("text-anchor",w),v.setAttribute("letter-spacing",g);var B=this.buildTextContents(e.finalText);for(t=B.length,u=e.ps?e.ps[1]+e.ascent:0,A=0;A=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(A-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=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))}},ICompElement.prototype.renderInnerContent=function(){var A,t=this.layers.length;for(A=0;A=0;e-=1)A.finalTransform.multiply(A.transforms[e].transform.mProps.v);A._mdf=r},processSequences:function(A){var t,e=this.sequenceList.length;for(t=0;t=1){this.buffers=[];var A=this.globalData.canvasContext,t=assetLoader.createCanvas(A.canvas.width,A.canvas.height);this.buffers.push(t);var e=assetLoader.createCanvas(A.canvas.width,A.canvas.height);this.buffers.push(e),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var A=this.globalData;if(A.blendMode!==this.data.bm){A.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);A.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(A){A.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var A=this.buffers[0].getContext("2d");this.clearCanvas(A),A.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var A=this.buffers[1],t=A.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var e=assetLoader.getLumaCanvas(this.canvasContext.canvas);e.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(e,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(A,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(A){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||A)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(A,t){var e={data:A,type:A.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===A.hd},i={};if("fl"===A.ty||"st"===A.ty?(i.c=PropertyFactory.getProp(this,A.c,1,255,this),i.c.k||(e.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==A.ty&&"gs"!==A.ty||(i.s=PropertyFactory.getProp(this,A.s,1,null,this),i.e=PropertyFactory.getProp(this,A.e,1,null,this),i.h=PropertyFactory.getProp(this,A.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,A.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,A.g,this)),i.o=PropertyFactory.getProp(this,A.o,0,.01,this),"st"===A.ty||"gs"===A.ty){if(e.lc=lineCapEnum[A.lc||2],e.lj=lineJoinEnum[A.lj||2],1==A.lj&&(e.ml=A.ml),i.w=PropertyFactory.getProp(this,A.w,0,null,this),i.w.k||(e.wi=i.w.v),A.d){var r=new DashProperty(this,A.d,"canvas",this);i.d=r,i.d.k||(e.da=i.d.dashArray,e.do=i.d.dashoffset[0])}}else e.r=2===A.r?"evenodd":"nonzero";return this.stylesList.push(e),i.style=e,i},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(A){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,A.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,A,this)}}},CVShapeElement.prototype.createShapeElement=function(A){var t=new CVShapeData(this,A,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var A;this._isFirstFrame=!0;var t=this.itemsData.length;for(A=0;A=0;n-=1){if((o=this.searchProcessedElement(A[n]))?t[n]=e[o-1]:A[n]._shouldRender=i,"fl"===A[n].ty||"st"===A[n].ty||"gf"===A[n].ty||"gs"===A[n].ty)o?t[n].style.closed=!1:t[n]=this.createStyleElement(A[n],g),u.push(t[n].style);else if("gr"===A[n].ty){if(o)for(s=t[n].it.length,a=0;a=0;r-=1)"tr"===t[r].ty?(n=e[r].transform,this.renderShapeTransform(A,n)):"sh"===t[r].ty||"el"===t[r].ty||"rc"===t[r].ty||"sr"===t[r].ty?this.renderPath(t[r],e[r]):"fl"===t[r].ty?this.renderFill(t[r],e[r],n):"st"===t[r].ty?this.renderStroke(t[r],e[r],n):"gf"===t[r].ty||"gs"===t[r].ty?this.renderGradientFill(t[r],e[r],n):"gr"===t[r].ty?this.renderShape(n,t[r].it,e[r].it):t[r].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(A,t){if(this._isFirstFrame||t._mdf||A.transforms._mdf){var e,i,r,n=A.trNodes,a=t.paths,s=a._length;n.length=0;var o=A.transforms.finalTransform;for(r=0;r=1?c=.99:c<=-1&&(c=-.99);var u=l*c,f=Math.cos(h+t.a.v)*u+s[0],g=Math.sin(h+t.a.v)*u+s[1];i=a.createRadialGradient(f,g,0,s[0],s[1],l)}var d=A.g.p,p=t.g.c,E=1;for(n=0;ns&&"xMidYMid slice"===o||ar&&"meet"===s||nr&&"slice"===s)?(e-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===l&&(nr&&"slice"===s)?(e-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(n>r&&"meet"===s||nr&&"meet"===s||n=0;A-=1)this.elements[A]&&this.elements[A].destroy&&this.elements[A].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(A,t){if((this.renderedFrame!==A||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==A){var e;this.renderedFrame=A,this.globalData.frameNum=A-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=A;var i=this.layers.length;for(this.completeLayers||this.checkLayers(A),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(A-this.layers[e].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),e=i-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(A){var t=this.elements;if(!t[A]&&99!==this.layers[A].ty){var e=this.createItem(this.layers[A],this,this.globalData);t[A]=e,e.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var A=2*this._length,t=0;for(t=this._length;t=0;A-=1)(this.completeLayers||this.elements[A])&&this.elements[A].renderFrame()},CVCompElement.prototype.destroy=function(){var A;for(A=this.layers.length-1;A>=0;A-=1)this.elements[A]&&this.elements[A].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(A){return new CVCompElement(A,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(A){return new CVCompElement(A,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var A=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();A.transform=t,A.webkitTransform=t}this.finalTransform._opMdf&&(A.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var A;this.data.hasMask?((A=createNS("rect")).setAttribute("width",this.data.sw),A.setAttribute("height",this.data.sh),A.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((A=createTag("div")).style.width=this.data.sw+"px",A.style.height=this.data.sh+"px",A.style.backgroundColor=this.data.sc),this.layerElement.appendChild(A)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var A;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),A=this.svgElement;else{A=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;A.setAttribute("width",t.w),A.setAttribute("height",t.h),A.appendChild(this.shapesContainer),this.layerElement.appendChild(A)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=A},HShapeElement.prototype.getTransformedPoint=function(A,t){var e,i=A.length;for(e=0;e0&&s<1&&c[u].push(this.calculateF(s,A,t,e,i,u)):(o=n*n-4*a*r)>=0&&((l=(-n+bmSqrt(o))/(2*r))>0&&l<1&&c[u].push(this.calculateF(l,A,t,e,i,u)),(h=(-n-bmSqrt(o))/(2*r))>0&&h<1&&c[u].push(this.calculateF(h,A,t,e,i,u))));this.shapeBoundingBox.left=bmMin.apply(null,c[0]),this.shapeBoundingBox.top=bmMin.apply(null,c[1]),this.shapeBoundingBox.right=bmMax.apply(null,c[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,c[1])},HShapeElement.prototype.calculateF=function(A,t,e,i,r,n){return bmPow(1-A,3)*t[n]+3*bmPow(1-A,2)*A*e[n]+3*(1-A)*bmPow(A,2)*i[n]+bmPow(A,3)*r[n]},HShapeElement.prototype.calculateBoundingBox=function(A,t){var e,i=A.length;for(e=0;ee&&(e=r)}e*=A.mult}else e=A.v*A.mult;t.x-=e,t.xMax+=e,t.y-=e,t.yMax+=e},HShapeElement.prototype.currentBoxContains=function(A){return this.currentBBox.x<=A.x&&this.currentBBox.y<=A.y&&this.currentBBox.width+this.currentBBox.x>=A.x+A.width&&this.currentBBox.height+this.currentBBox.y>=A.y+A.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var A=this.tempBoundingBox,t=999999;if(A.x=t,A.xMax=-t,A.y=t,A.yMax=-t,this.calculateBoundingBox(this.itemsData,A),A.width=A.xMax=0;A-=1){var i=this.hierarchy[A].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var r;r=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var n=Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2)+Math.pow(r[2],2)),a=[r[0]/n,r[1]/n,r[2]/n],s=Math.sqrt(a[2]*a[2]+a[0]*a[0]),o=Math.atan2(a[1],s),l=Math.atan2(a[0],-a[2]);this.mat.rotateY(l).rotateX(-o)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var h=!this._prevMat.equals(this.mat);if((h||this.pe._mdf)&&this.comp.threeDElements){var c,u,f;for(t=this.comp.threeDElements.length,A=0;A=A)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(A,t){var e,i,r=createTag("div");styleDiv(r);var n=createTag("div");if(styleDiv(n),"3d"===t){(e=r.style).width=this.globalData.compSize.w+"px",e.height=this.globalData.compSize.h+"px";var a="50% 50%";e.webkitTransformOrigin=a,e.mozTransformOrigin=a,e.transformOrigin=a;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=n.style).transform=s,i.webkitTransform=s}r.appendChild(n);var o={container:n,perspectiveElem:r,startPos:A,endPos:A,type:t};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var A,t,e=this.layers.length,i="";for(A=0;A=0;A-=1)this.resizerElem.appendChild(this.threeDElements[A].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(A,t){for(var e=0,i=this.threeDElements.length;ea?(A=r/this.globalData.compSize.w,t=r/this.globalData.compSize.w,e=0,i=(n-this.globalData.compSize.h*(r/this.globalData.compSize.w))/2):(A=n/this.globalData.compSize.h,t=n/this.globalData.compSize.h,e=(r-this.globalData.compSize.w*(n/this.globalData.compSize.h))/2,i=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+A+",0,0,0,0,"+t+",0,0,0,0,1,0,"+e+","+i+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var A,t=this.globalData.compSize.w,e=this.globalData.compSize.h,i=this.threeDElements.length;for(A=0;A=o;)A/=2,t/=2,e>>>=1;return(A+e)/t};return I.int32=function(){return 0|C.g(4)},I.quick=function(){return C.g(4)/4294967296},I.double=I,f(g(C.S),A),(d.pass||p||function(A,e,i,r){return r&&(r.S&&c(r,C),A.state=function(){return c(C,{})}),i?(t[n]=A,e):A})(I,m,"global"in d?d.global:this==t,d.state)},f(t.random(),A)}function initialize$2(A){seedRandom([],A)}var propTypes={SHAPE:"shape"};function _typeof$1(A){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"===typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},_typeof$1(A)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(A){return A.constructor===Array||A.constructor===Float32Array}function isNumerable(A,t){return"number"===A||t instanceof Number||"boolean"===A||"string"===A}function $bm_neg(A){var t=_typeof$1(A);if("number"===t||A instanceof Number||"boolean"===t)return-A;if($bm_isInstanceOfArray(A)){var e,i=A.length,r=[];for(e=0;ee){var i=e;e=t,t=i}return Math.min(Math.max(A,t),e)}function radiansToDegrees(A){return A/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(A){return A*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(A,t){if("number"===typeof A||A instanceof Number)return t=t||0,Math.abs(A-t);var e;t||(t=helperLengthArray);var i=Math.min(A.length,t.length),r=0;for(e=0;e.5?l/(2-a-s):l/(a+s),a){case i:t=(r-n)/l+(r1&&(e-=1),e<1/6?A+6*(t-A)*e:e<.5?t:e<2/3?A+(t-A)*(2/3-e)*6:A}function hslToRgb(A){var t,e,i,r=A[0],n=A[1],a=A[2];if(0===n)t=a,i=a,e=a;else{var s=a<.5?a*(1+n):a+n-a*n,o=2*a-s;t=hue2rgb(o,s,r+1/3),e=hue2rgb(o,s,r),i=hue2rgb(o,s,r-1/3)}return[t,e,i,A[3]]}function linear(A,t,e,i,r){if(void 0!==i&&void 0!==r||(i=t,r=e,t=0,e=1),e=e)return r;var a,s=e===t?0:(A-t)/(e-t);if(!i.length)return i+(r-i)*s;var o=i.length,l=createTypedArray("float32",o);for(a=0;a1){for(i=0;i1?t=1:t<0&&(t=0);var a=A(t);if($bm_isInstanceOfArray(r)){var s,o=r.length,l=createTypedArray("float32",o);for(s=0;sdata.k[t].t&&Adata.k[t+1].t-A?(e=t+2,i=data.k[t+1].t):(e=t+1,i=data.k[t].t);break}}-1===e&&(e=t+1,i=data.k[t].t)}else e=0,i=0;var n={};return n.index=e,n.time=i/elem.comp.globalData.frameRate,n}function key(A){var t,e,i;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+A);A-=1,t={time:data.k[A].t/elem.comp.globalData.frameRate,value:[]};var r=Object.prototype.hasOwnProperty.call(data.k[A],"s")?data.k[A].s:data.k[A-1].e;for(i=r.length,e=0;el.length-1)&&(t=l.length-1),i=h-(r=l[l.length-1-t].t)),"pingpong"===A){if(Math.floor((o-r)/i)%2!==0)return this.getValueAtTime((i-(o-r)%i+r)/this.comp.globalData.frameRate,0)}else{if("offset"===A){var c=this.getValueAtTime(r/this.comp.globalData.frameRate,0),u=this.getValueAtTime(h/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((o-r)%i+r)/this.comp.globalData.frameRate,0),g=Math.floor((o-r)/i);if(this.pv.length){for(a=(s=new Array(c.length)).length,n=0;n=h)return this.pv;if(e?r=h+(i=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-h)):((!t||t>l.length-1)&&(t=l.length-1),i=(r=l[t].t)-h),"pingpong"===A){if(Math.floor((h-o)/i)%2===0)return this.getValueAtTime(((h-o)%i+h)/this.comp.globalData.frameRate,0)}else{if("offset"===A){var c=this.getValueAtTime(h/this.comp.globalData.frameRate,0),u=this.getValueAtTime(r/this.comp.globalData.frameRate,0),f=this.getValueAtTime((i-(h-o)%i+h)/this.comp.globalData.frameRate,0),g=Math.floor((h-o)/i)+1;if(this.pv.length){for(a=(s=new Array(c.length)).length,n=0;n1?(r+A-n)/(t-1):1,s=0,o=0;for(e=this.pv.length?createTypedArray("float32",this.pv.length):0;sa){var h=s,c=e.c&&s===o-1?0:s+1,u=(a-l)/n[s].addedLength;i=bez.getPointInSegment(e.v[h],e.v[c],e.o[h],e.i[c],u,n[s]);break}l+=n[s].addedLength,s+=1}return i||(i=e.c?[e.v[0][0],e.v[0][1]]:[e.v[e._length-1][0],e.v[e._length-1][1]]),i},vectorOnPath:function(A,t,e){1==A?A=this.v.c:0==A&&(A=.999);var i=this.pointOnPath(A,t),r=this.pointOnPath(A+.001,t),n=r[0]-i[0],a=r[1]-i[1],s=Math.sqrt(Math.pow(n,2)+Math.pow(a,2));return 0===s?[0,0]:"tangent"===e?[n/s,a/s]:[-a/s,n/s]},tangentOnPath:function(A,t){return this.vectorOnPath(A,t,"tangent")},normalOnPath:function(A,t){return this.vectorOnPath(A,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([l],s),extendPrototype([l],o),o.prototype.getValueAtTime=function(A){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),A*=this.elem.globalData.frameRate,(A-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=l?f<0?i:r:i+u*Math.pow((n-A)/f,1/e),h[c]=a,c+=1,s+=256/255;return h.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(A){if(A||this.filterManager._mdf){var t,e=this.filterManager.effectElements;this.feFuncRComposed&&(A||e[3].p._mdf||e[4].p._mdf||e[5].p._mdf||e[6].p._mdf||e[7].p._mdf)&&(t=this.getTableValue(e[3].p.v,e[4].p.v,e[5].p.v,e[6].p.v,e[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(A||e[10].p._mdf||e[11].p._mdf||e[12].p._mdf||e[13].p._mdf||e[14].p._mdf)&&(t=this.getTableValue(e[10].p.v,e[11].p.v,e[12].p.v,e[13].p.v,e[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(A||e[17].p._mdf||e[18].p._mdf||e[19].p._mdf||e[20].p._mdf||e[21].p._mdf)&&(t=this.getTableValue(e[17].p.v,e[18].p.v,e[19].p.v,e[20].p.v,e[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(A||e[24].p._mdf||e[25].p._mdf||e[26].p._mdf||e[27].p._mdf||e[28].p._mdf)&&(t=this.getTableValue(e[24].p.v,e[25].p.v,e[26].p.v,e[27].p.v,e[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(A||e[31].p._mdf||e[32].p._mdf||e[33].p._mdf||e[34].p._mdf||e[35].p._mdf)&&(t=this.getTableValue(e[31].p.v,e[32].p.v,e[33].p.v,e[34].p.v,e[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(A){if(A||this.filterManager._mdf){if((A||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),A||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((A||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),A||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var e=this.filterManager.effectElements[3].p.v,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,r=e*Math.cos(i),n=e*Math.sin(i);this.feOffset.setAttribute("dx",r),this.feOffset.setAttribute("dy",n)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(A,t,e){this.initialized=!1,this.filterManager=t,this.filterElem=A,this.elem=e,e.matteElement=createNS("g"),e.matteElement.appendChild(e.layerElement),e.matteElement.appendChild(e.transformedElement),e.baseElement=e.matteElement}function SVGGaussianBlurEffect(A,t,e,i){A.setAttribute("x","-100%"),A.setAttribute("y","-100%"),A.setAttribute("width","300%"),A.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");r.setAttribute("result",i),A.appendChild(r),this.feGaussianBlur=r}function TransformEffect(){}function SVGTransformEffect(A,t){this.init(t)}function CVTransformEffect(A){this.init(A)}return SVGMatte3Effect.prototype.findSymbol=function(A){for(var t=0,e=_svgMatteSymbols.length;t{"use strict";var t=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;A.exports=function(){try{if(!Object.assign)return!1;var A=new String("abc");if(A[5]="de","5"===Object.getOwnPropertyNames(A)[0])return!1;for(var t={},e=0;e<10;e++)t["_"+String.fromCharCode(e)]=e;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(A){return t[A]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(A){i[A]=A})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(r){return!1}}()?Object.assign:function(A,r){for(var n,a,s=function(A){if(null===A||void 0===A)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(A)}(A),o=1;o{var i=e(2878);A.exports=f,A.exports.parse=n,A.exports.compile=function(A,t){return s(n(A,t),t)},A.exports.tokensToFunction=s,A.exports.tokensToRegExp=u;var r=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function n(A,t){for(var e,i=[],n=0,a=0,s="",h=t&&t.delimiter||"/";null!=(e=r.exec(A));){var c=e[0],u=e[1],f=e.index;if(s+=A.slice(a,f),a=f+c.length,u)s+=u[1];else{var g=A[a],d=e[2],p=e[3],E=e[4],m=e[5],C=e[6],I=e[7];s&&(i.push(s),s="");var v=null!=d&&null!=g&&g!==d,w="+"===C||"*"===C,B="?"===C||"*"===C,y=e[2]||h,F=E||m;i.push({name:p||n++,prefix:d||"",delimiter:y,optional:B,repeat:w,partial:v,asterisk:!!I,pattern:F?l(F):I?".*":"[^"+o(y)+"]+?"})}}return a{A.exports=Array.isArray||function(A){return"[object Array]"==Object.prototype.toString.call(A)}},888:(A,t,e)=>{"use strict";var i=e(9047);function r(){}function n(){}n.resetWarningCache=r,A.exports=function(){function A(A,t,e,r,n,a){if(a!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return A}A.isRequired=A;var e={array:A,bigint:A,bool:A,func:A,number:A,object:A,string:A,symbol:A,any:A,arrayOf:t,element:A,elementType:A,instanceOf:t,node:A,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:n,resetWarningCache:r};return e.PropTypes=e,e}},2007:(A,t,e)=>{A.exports=e(888)()},9047:A=>{"use strict";A.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4463:(A,t,e)=>{"use strict";var i=e(2791),r=e(1725),n=e(5296);function a(A){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+A,e=1;e